mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 08:50:57 +01:00
android: config: Enable asynchronous presentation by default on Android.
This commit is contained in:
parent
ca4bf3844e
commit
570c4a2c1b
2 changed files with 8 additions and 0 deletions
|
@ -230,6 +230,10 @@ void Config::ReadValues() {
|
||||||
Settings::values.renderer_force_max_clock =
|
Settings::values.renderer_force_max_clock =
|
||||||
config->GetBoolean("Renderer", "force_max_clock", true);
|
config->GetBoolean("Renderer", "force_max_clock", true);
|
||||||
|
|
||||||
|
// Enable asynchronous presentation by default on Android
|
||||||
|
Settings::values.async_presentation =
|
||||||
|
config->GetBoolean("Renderer", "async_presentation", true);
|
||||||
|
|
||||||
// Audio
|
// Audio
|
||||||
ReadSetting("Audio", Settings::values.sink_id);
|
ReadSetting("Audio", Settings::values.sink_id);
|
||||||
ReadSetting("Audio", Settings::values.audio_output_device_id);
|
ReadSetting("Audio", Settings::values.audio_output_device_id);
|
||||||
|
|
|
@ -247,6 +247,10 @@ cpuopt_unsafe_ignore_global_monitor =
|
||||||
# 0: OpenGL (unsupported), 1 (default): Vulkan, 2: Null
|
# 0: OpenGL (unsupported), 1 (default): Vulkan, 2: Null
|
||||||
backend =
|
backend =
|
||||||
|
|
||||||
|
# Whether to enable asynchronous presentation (Vulkan only)
|
||||||
|
# 0: Off, 1 (default): On
|
||||||
|
async_presentation =
|
||||||
|
|
||||||
# Enable graphics API debugging mode.
|
# Enable graphics API debugging mode.
|
||||||
# 0 (default): Disabled, 1: Enabled
|
# 0 (default): Disabled, 1: Enabled
|
||||||
force_max_clock =
|
force_max_clock =
|
||||||
|
|
Loading…
Reference in a new issue