1
0
Fork 0
forked from suyu/suyu

android: config: Enable asynchronous presentation by default on Android.

This commit is contained in:
bunnei 2023-05-03 17:19:27 -07:00
parent ca4bf3844e
commit 570c4a2c1b
2 changed files with 8 additions and 0 deletions

View file

@ -230,6 +230,10 @@ void Config::ReadValues() {
Settings::values.renderer_force_max_clock =
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
ReadSetting("Audio", Settings::values.sink_id);
ReadSetting("Audio", Settings::values.audio_output_device_id);

View file

@ -247,6 +247,10 @@ cpuopt_unsafe_ignore_global_monitor =
# 0: OpenGL (unsupported), 1 (default): Vulkan, 2: Null
backend =
# Whether to enable asynchronous presentation (Vulkan only)
# 0: Off, 1 (default): On
async_presentation =
# Enable graphics API debugging mode.
# 0 (default): Disabled, 1: Enabled
force_max_clock =