summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | vulkan_device: Fix formatting of constantsGravatar ReinUsesLisp2021-02-131-10/+6
| | | | | | | |
* | | | | | | | vulkan_wrapper: Add interop functionsGravatar ReinUsesLisp2021-02-132-1/+41
| | | | | | | |
* | | | | | | | vulkan_instance: Initialize Vulkan instance in a separate threadGravatar ReinUsesLisp2021-02-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Workaround an issue on Nvidia where creating a Vulkan instance from an active OpenGL thread disables threaded optimization on the driver. This optimization is important to have good performance on Nvidia OpenGL.
* | | | | | | | vulkan_wrapper: Pull Windows symbolsGravatar ReinUsesLisp2021-02-132-0/+14
| | | | | | | |
* | | | | | | | gpu: Report renderer errors with exceptionsGravatar ReinUsesLisp2021-02-1327-232/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using a two step initialization to report errors, initialize the GPU renderer and rasterizer on the constructor and report errors through std::runtime_error.
* | | | | | | | tests/buffer_base: Add cached CPU writes testsGravatar ReinUsesLisp2021-02-131-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure the behavior of the previous commit in tests.
* | | | | | | | buffer_base: Add support for cached CPU writesGravatar ReinUsesLisp2021-02-131-61/+145
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some games usually write memory pages currently used by the GPU, causing rendering issues (e.g. flashing geometry and shadows on Link's Awakening). To workaround this issue, Guest CPU writes are delayed until the command buffer finishes processing, but the pages are updated immediately. The overall behavior is: - CPU writes are cached until they are flushed, they update the page state, but don't change the modification state. Cached writes stop pages from being flushed, in case games have meaningful data in it. - Command processing writes (e.g. push constants) update the page state and are marked to the command processor as dirty. They don't remove the state of cached writes.
* | | | | | | kernel: More accurately reserve and release resourcesGravatar ameerj2021-02-126-14/+42
| | | | | | |
* | | | | | | kernel: KScopedReservation implementationGravatar ameerj2021-02-126-26/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
* | | | | | | kernel: Unify result codes (#5890)Gravatar Chloe2021-02-1221-256/+223
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results
* | | | | | Merge pull request #5902 from lioncash/core-warnGravatar bunnei2021-02-113-4/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | core: Silence various warnings on Clang 12
| * | | | | | bsd: Remove usage of optional emplace() with no argumentsGravatar Lioncash2021-02-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 12 currently falls over in the face of this.
| * | | | | | am/controller: Remove [[fallthrough]] from unreachable pathGravatar Lioncash2021-02-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
| * | | | | | nfp: Correct uninitialized size being used within GetTagInfo()Gravatar Lioncash2021-02-091-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | We were previously the name of the object being initialized within its own initializer, which results in uninitialized data being read.
* | | | | | Merge pull request #5869 from german77/mousePanningGravatar bunnei2021-02-1111-38/+149
|\ \ \ \ \ \ | | | | | | | | | | | | | | input_common: Add mouse panning
| * | | | | | Add mouse panningGravatar german2021-02-0711-38/+149
| | | | | | |
* | | | | | | software_keyboard: Implement Finalize request commandGravatar Morph2021-02-101-0/+4
| | | | | | |
* | | | | | | Merge pull request #5893 from lioncash/inputGravatar bunnei2021-02-102-113/+131
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | configure_input_player_widget: Minor cleanup
| * | | | | | | configure_input_player_widget: Reduce duplication of array accessors where ↵Gravatar Lioncash2021-02-091-108/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | applicable Reduces the amount of code to read in expressions a little bit by separating constituents out a little.
| * | | | | | | configure_input_player_widget: Avoid nontrivial copies where applicableGravatar Lioncash2021-02-092-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a function was copying an array of 20 std::string instances by value.
* | | | | | | | Merge pull request #5904 from lat9nq/common-sized-deallocGravatar LC2021-02-091-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | common: Add -fsized-deallocation as a Clang flag
| * | | | | | | | common: Add -fsized-deallocation as a Clang flagGravatar lat9nq2021-02-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents an operator delete error when compiling with Clang 11.
* | | | | | | | | Merge pull request #5905 from lat9nq/core-sized-deallocGravatar LC2021-02-091-0/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | core: Add -fsized-dealloction as a Clang flag
| * | | | | | | | | core: Add -fsized-dealloction as a Clang flagGravatar lat9nq2021-02-091-0/+2
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents a operator delete error when compiling with Clang 11.
* / / / / / / / / configure_input_player_widget: Silence unused variable warningsGravatar lat9nq2021-02-091-7/+0
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents clang 11 from throwing an error since these variables are unused.
* | | | | | | | Merge pull request #5901 from lioncash/input-warnGravatar Ameer J2021-02-093-2/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | udp: Silence warnings on Clang 12
| * | | | | | | | udp: Silence unused member variable warningsGravatar Lioncash2021-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply mark them as unused for now.
| * | | | | | | | udp/client: Define ClientData constructor/destructor in cpp fileGravatar Lioncash2021-02-092-0/+7
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
* | | | | | | | Merge pull request #5900 from lioncash/unused-funcGravatar bunnei2021-02-092-37/+0
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | video_core: Remove unused functions and variables
| * | | | | | | gl_rasterizer: Remove unused variablesGravatar Lioncash2021-02-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves warnings on clang 12
| * | | | | | | texture_cache/util: Remove unused functionsGravatar Lioncash2021-02-091-34/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Silences a few warnings on clang 12.
* | | / / / / Settings: Add depth to Joysticks on Pro Controller preview (#5894)Gravatar Jatoxo2021-02-082-6/+30
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some depth to ProJoysticks * address comments * clang * address nits * fix wrong inner_offset when offset.x was 0
* | | | | | Merge pull request #5880 from lat9nq/ffmpeg-externalGravatar Ameer J2021-02-081-6/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | cmake: FFmpeg linking rework
| * | | | | | Address reviewer commentsGravatar lat9nq2021-02-051-1/+1
| | | | | | |
| * | | | | | CMake: Port citra-emu/citra FindFFmpeg.cmakeGravatar lat9nq2021-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also renames related CMake variables to match both the Find*FFmpeg* and variables defined within the file. Fixes odd errors produced by the old FindFFmpeg. Citra's FindFFmpeg is slightly modified here: adds Citra's copyright at the beginning, renames FFmpeg_INCLUDES to FFmpeg_INCLUDE_DIR, disables a few components in _FFmpeg_ALL_COMPONENTS, and adds the missing avutil component to the comment above.
| * | | | | | CMake: Implement YUZU_USE_BUNDLED_FFMPEGGravatar lat9nq2021-02-052-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Linux, instructs CMake to use the FFmpeg submodule in externals. This is HEAVILY based on our usage of the late Unicorn. Minimal change to MSVC as it uses the yuzu-emu/ext-windows-bin. MinGW now targets the same ext-windows-bin libraries as MSVC for FFmpeg. Adds FFMPEG_LIBRARIES to WIN32 and simplifies video_core/CMakeLists.txt a bit.
* | | | | | | Merge pull request #5892 from german77/backupGravatar bunnei2021-02-081-1/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | olsc: Stub GetSaveDataBackupSetting
| * | | | | | | olsc: Stub GetSaveDataBackupSettingGravatar german2021-02-071-1/+12
| | | | | | | |
* | | | | | | | Merge pull request #5868 from german77/HandheldFixGravatar bunnei2021-02-082-1/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Prevent over scheduling audio events and add motion update unschedule event
| * | | | | | | | Prevent over scheduling audio events and terminate properly the motion ↵Gravatar german2021-02-022-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update event
* | | | | | | | | string_util: Remove MSVC workaround for converting between UTF8/UTF16Gravatar Morph2021-02-081-14/+0
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | This has been fixed as of Visual Studio 2019 Version 16.2
* | | | | | | | Merge pull request #5339 from german77/interactiveGravatar bunnei2021-02-0715-75/+3143
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Settings: Make settings controller image change with controller input
| * | | | | | | Add GC controller animationGravatar german2021-02-072-52/+429
| | | | | | | |
| * | | | | | | Refresh debug controller settingsGravatar german2021-02-064-10/+18
| | | | | | | |
| * | | | | | | Refresh controller only when necessaryGravatar german2021-02-062-15/+37
| | | | | | | |
| * | | | | | | Add SL SR vectors, change dual joycon view, add missing raw data from ↵Gravatar german2021-02-064-178/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyboard/mouse
| * | | | | | | Add controller window and single joycon top viewGravatar german2021-02-067-29/+391
| | | | | | | |
| * | | | | | | Replace text with vectorsGravatar german2021-02-062-77/+306
| | | | | | | |
| * | | | | | | Make settings controller image change with controller inputGravatar german2021-02-069-75/+2076
| | | | | | | |
* | | | | | | | Merge pull request #5872 from lioncash/svc-errorGravatar Chloe2021-02-081-59/+188
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | svc: Provide more detailed error logs for svc functions