mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 09:05:47 -04:00
GPU/HW: Add an option to use software renderer for readbacks
This commit is contained in:
@ -1983,11 +1983,6 @@ void DrawSettingsWindow()
|
||||
OpenChoiceDialog(ICON_FA_TV " Fullscreen Resolution", false, std::move(options), std::move(callback));
|
||||
}
|
||||
|
||||
settings_changed |=
|
||||
ToggleButton("Enable VSync",
|
||||
"Synchronizes presentation of the console's frames to the host. Enable for smoother animations.",
|
||||
&s_settings_copy.video_sync_enabled);
|
||||
|
||||
switch (s_settings_copy.gpu_renderer)
|
||||
{
|
||||
#ifdef WIN32
|
||||
@ -2024,6 +2019,20 @@ void DrawSettingsWindow()
|
||||
break;
|
||||
}
|
||||
|
||||
if (!s_settings_copy.IsUsingSoftwareRenderer())
|
||||
{
|
||||
settings_changed |=
|
||||
ToggleButton("Use Software Renderer For Readbacks",
|
||||
"Runs the software renderer in parallel for VRAM readbacks. On some systems, this may result "
|
||||
"in greater performance.",
|
||||
&s_settings_copy.gpu_use_software_renderer_for_readbacks);
|
||||
}
|
||||
|
||||
settings_changed |=
|
||||
ToggleButton("Enable VSync",
|
||||
"Synchronizes presentation of the console's frames to the host. Enable for smoother animations.",
|
||||
&s_settings_copy.video_sync_enabled);
|
||||
|
||||
settings_changed |= ToggleButton("Optimal Frame Pacing",
|
||||
"Ensures every frame generated is displayed for optimal pacing. Disable if "
|
||||
"you are having speed or sound issues.",
|
||||
|
Reference in New Issue
Block a user