aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/configure_graphics.ui
diff options
context:
space:
mode:
authorlat9nq <[email protected]>2023-05-01 20:36:23 -0400
committerlat9nq <[email protected]>2023-05-02 21:52:43 -0400
commita546ecbb1241a28b808d3a9ebe1a55f001c267ed (patch)
treeee8cb17be8f5ec44b38785259d5921c9feca4667 /src/yuzu/configuration/configure_graphics.ui
parent952b2710920fdeef705a357762a7925483d27d20 (diff)
downloadyuzu-android-a546ecbb1241a28b808d3a9ebe1a55f001c267ed.tar.gz
yuzu-android-a546ecbb1241a28b808d3a9ebe1a55f001c267ed.zip
configure_graphics: Actively find present modes
When Vulkan devices are enumerated, this also determines the available present modes for each device, maps them to a vector, and gives those options to the user. OpenGL options are limited to On/Off. Required creating a VkSurfaceKHR during device enumeration, which may or may not be desireable. For the sake of a less confusing UI. Also fixes a bug where if a graphics device disappears on the host, we don't try and select the non-existant devices. configure_graphics: Remove vsync runtime lock for Vulkan configure_graphics: Recommend Mailbox present mode configure_graphics: Fix type-limits warning configure_graphics: Clean up includes configure_graphics: Add tooltip
Diffstat (limited to 'src/yuzu/configuration/configure_graphics.ui')
-rw-r--r--src/yuzu/configuration/configure_graphics.ui23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui
index 9ad1c88a7..94eba6c7e 100644
--- a/src/yuzu/configuration/configure_graphics.ui
+++ b/src/yuzu/configuration/configure_graphics.ui
@@ -212,24 +212,15 @@
</item>
<item>
<widget class="QComboBox" name="vsync_mode_combobox">
+ <property name="toolTip">
+ <string>FIFO (V-Sync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
+FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
+Mailbox can have lower latency than FIFO and does not tear but may drop frames.
+Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</string>
+ </property>
<property name="currentText">
- <string>Off (Immediate)</string>
+ <string/>
</property>
- <item>
- <property name="text">
- <string>Off (Immediate)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Double Buffering (FIFO)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Triple Buffering (Mailbox)</string>
- </property>
- </item>
</widget>
</item>
</layout>