summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/res
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-03-16 23:10:22 +1000
committerStenzek <stenzek@gmail.com>2018-03-26 01:57:41 +1000
commit2f1a7cbee1ffecdd25ebc206ceab55ef934b7256 (patch)
tree1cbf78b64fbf293ede3a9bd47e586a0d4bb03a6b /Source/Android/app/src/main/res
parent5c83e18fbd3606587e71a7f1cc54e4cf6473609f (diff)
Implement "Skip" ubershader mode
Skip ubershader mode works the same as hybrid ubershaders in that the shaders are compiled asynchronously. However, instead of using the ubershader to draw the object, it skips it entirely until the specialized shader is made available. This mode will likely result in broken effects where a game creates an EFB copy, and does not redraw it every frame. Therefore, it is not a recommended option, however, it may result in better performance on low-end systems.
Diffstat (limited to 'Source/Android/app/src/main/res')
-rw-r--r--Source/Android/app/src/main/res/values/arrays.xml12
-rw-r--r--Source/Android/app/src/main/res/values/strings.xml5
2 files changed, 10 insertions, 7 deletions
diff --git a/Source/Android/app/src/main/res/values/arrays.xml b/Source/Android/app/src/main/res/values/arrays.xml
index ce9c4a542c..c9d6f9a414 100644
--- a/Source/Android/app/src/main/res/values/arrays.xml
+++ b/Source/Android/app/src/main/res/values/arrays.xml
@@ -92,15 +92,17 @@
</integer-array>
<!-- Ubershader Mode Preference -->
- <string-array name="uberShaderModeEntries" translatable="false">
- <item>Disabled</item>
- <item>Hybrid</item>
- <item>Exclusive</item>
+ <string-array name="shaderCompilationModeEntries" translatable="false">
+ <item>Synchronous</item>
+ <item>Synchronous (Ubershaders)</item>
+ <item>Asynchronous (Ubershaders)</item>
+ <item>Asynchronous (Skip Drawing)</item>
</string-array>
- <integer-array name="uberShaderModeValues" translatable="false">
+ <integer-array name="shaderCompilationModeValues" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
+ <item>3</item>
</integer-array>
<!-- Internal Resolution Preference -->
diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml
index c975edad91..ea7edcfbcd 100644
--- a/Source/Android/app/src/main/res/values/strings.xml
+++ b/Source/Android/app/src/main/res/values/strings.xml
@@ -184,8 +184,9 @@
<string name="fast_depth_calculation_descrip">Uses a less accurate algorithm to calculate depth values.</string>
<string name="aspect_ratio">Aspect Ratio</string>
<string name="aspect_ratio_descrip">Select what aspect ratio to use when rendering</string>
- <string name="ubershader_mode">Ubershader Mode</string>
- <string name="ubershader_mode_descrip">Specifies when to use Ubershaders. Disabled - Never, Hybrid - Use ubershaders while compiling specialized shaders. Exclusive - Use only ubershaders, largest performance impact.</string>
+ <string name="shader_compilation_mode">Shader Compilation Mode</string>
+ <string name="shader_compilation_mode_descrip">Specifies when to use Ubershaders. Disabled - Never, Hybrid - Use ubershaders while compiling specialized shaders. Exclusive - Use only ubershaders, largest performance impact. Skip Drawing - Do not draw objects while shaders are compiling, will cause broken effects.</string>
+ <string name="wait_for_shaders">Compile Shaders Before Starting</string>
<!-- Miscellaneous -->
<string name="yes">Yes</string>