summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_graphics.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-01 20:31:22 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-02 21:52:43 -0400
commit952b2710920fdeef705a357762a7925483d27d20 (patch)
tree91cb395a879e6101b2a4f9c7a556629483afc1f5 /src/yuzu/configuration/configure_graphics.cpp
parenta090a380be674ae001aea47434e1a2f008574a48 (diff)
vk_swapchain: Use certain modes for unlocked
Uses mailbox, then immediate for unlocked framerate depending on support for either. Also adds support for FIFO_RELAXED. This function now assumes vsync_mode was originially configured to a value that the driver supports. vk_swapchain: ChooseSwapPresentMode determines updates Simplifies swapchain a bit and allows us to change the present mode during guest runtime. vk_swapchain: Fix MSVC error vk_swapchain: Enforce available present modes Some frontends don't check the value of vsync_mode before comitting it. Just as well, since a driver update or misconfiguration could problems in the swap chain. vk_swapchain: Silence warnings Silences GCC warnings implicit-fallthrough and shadow, which apparently are not enabled on clang.
Diffstat (limited to 'src/yuzu/configuration/configure_graphics.cpp')
0 files changed, 0 insertions, 0 deletions