configure_graphics: No there isn't a hyphen in VSync
Most sources seem to suggest VSync and not V-Sync
This commit is contained in:
parent
d82cad3fb3
commit
35e7f36a39
|
@ -272,7 +272,7 @@ void ConfigureGraphics::SetConfiguration() {
|
||||||
PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout
|
PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout
|
||||||
SetFSRIndicatorText(ui->fsr_sharpening_slider->sliderPosition());
|
SetFSRIndicatorText(ui->fsr_sharpening_slider->sliderPosition());
|
||||||
|
|
||||||
// V-Sync setting needs to be determined after populating the V-Sync combobox
|
// VSync setting needs to be determined after populating the VSync combobox
|
||||||
if (Settings::IsConfiguringGlobal()) {
|
if (Settings::IsConfiguringGlobal()) {
|
||||||
const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue();
|
const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue();
|
||||||
const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting);
|
const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting);
|
||||||
|
@ -300,13 +300,13 @@ const QString ConfigureGraphics::TranslateVSyncMode(VkPresentModeKHR mode,
|
||||||
case VK_PRESENT_MODE_IMMEDIATE_KHR:
|
case VK_PRESENT_MODE_IMMEDIATE_KHR:
|
||||||
return backend == Settings::RendererBackend::OpenGL
|
return backend == Settings::RendererBackend::OpenGL
|
||||||
? tr("Off")
|
? tr("Off")
|
||||||
: QStringLiteral("Immediate (%1)").arg(tr("V-Sync Off"));
|
: QStringLiteral("Immediate (%1)").arg(tr("VSync Off"));
|
||||||
case VK_PRESENT_MODE_MAILBOX_KHR:
|
case VK_PRESENT_MODE_MAILBOX_KHR:
|
||||||
return QStringLiteral("Mailbox (%1)").arg(tr("Recommended"));
|
return QStringLiteral("Mailbox (%1)").arg(tr("Recommended"));
|
||||||
case VK_PRESENT_MODE_FIFO_KHR:
|
case VK_PRESENT_MODE_FIFO_KHR:
|
||||||
return backend == Settings::RendererBackend::OpenGL
|
return backend == Settings::RendererBackend::OpenGL
|
||||||
? tr("On")
|
? tr("On")
|
||||||
: QStringLiteral("FIFO (%1)").arg(tr("V-Sync On"));
|
: QStringLiteral("FIFO (%1)").arg(tr("VSync On"));
|
||||||
case VK_PRESENT_MODE_FIFO_RELAXED_KHR:
|
case VK_PRESENT_MODE_FIFO_RELAXED_KHR:
|
||||||
return QStringLiteral("FIFO Relaxed");
|
return QStringLiteral("FIFO Relaxed");
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -206,14 +206,14 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="vsync_mode_label">
|
<widget class="QLabel" name="vsync_mode_label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>V-Sync Mode:</string>
|
<string>VSync Mode:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="vsync_mode_combobox">
|
<widget class="QComboBox" name="vsync_mode_combobox">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>FIFO (V-Sync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
|
<string>FIFO (VSync) 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.
|
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.
|
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>
|
Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</string>
|
||||||
|
|
Reference in New Issue