Skip to content
Permalink
Browse files

Android: Default backendMultithreading to false on android

  • Loading branch information...
zackhow committed Jan 25, 2019
1 parent b14e540 commit 8a1eb34c38f38f2df71f128d92dfe7c9408e0022
Showing with 12 additions and 0 deletions.
  1. +7 −0 Source/Core/Core/Config/GraphicsSettings.cpp
  2. +5 −0 Source/Core/VideoCommon/VideoConfig.cpp
@@ -71,8 +71,15 @@ const ConfigInfo<bool> GFX_BORDERLESS_FULLSCREEN{{System::GFX, "Settings", "Bord
false};
const ConfigInfo<bool> GFX_ENABLE_VALIDATION_LAYER{
{System::GFX, "Settings", "EnableValidationLayer"}, false};

#if defined(ANDROID)
const ConfigInfo<bool> GFX_BACKEND_MULTITHREADING{
{System::GFX, "Settings", "BackendMultithreading"}, false};
#else
const ConfigInfo<bool> GFX_BACKEND_MULTITHREADING{
{System::GFX, "Settings", "BackendMultithreading"}, true};
#endif

const ConfigInfo<int> GFX_COMMAND_BUFFER_EXECUTE_INTERVAL{
{System::GFX, "Settings", "CommandBufferExecuteInterval"}, 100};
const ConfigInfo<bool> GFX_SHADER_CACHE{{System::GFX, "Settings", "ShaderCache"}, true};
@@ -41,7 +41,12 @@ VideoConfig::VideoConfig()
backend_info.bSupportsBPTCTextures = false;

bEnableValidationLayer = false;

#if defined(ANDROID)
bBackendMultithreading = false;
#else
bBackendMultithreading = true;
#endif
}

void VideoConfig::Refresh()

0 comments on commit 8a1eb34

Please sign in to comment.
You can’t perform that action at this time.