summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-10-18 17:37:43 -0700
committerRomain Guy <romainguy@google.com>2012-10-18 17:37:43 -0700
commit025cafcfa153fe0f8dab2bfe07c392ff5403d326 (patch)
tree47266f73010b443bcf6b639f7808a3d41543405d /res/values
parent7a1c4cdfae66e8b110de3988e65586871a969c04 (diff)
downloadpackages_apps_settings-025cafcfa153fe0f8dab2bfe07c392ff5403d326.zip
packages_apps_settings-025cafcfa153fe0f8dab2bfe07c392ff5403d326.tar.gz
packages_apps_settings-025cafcfa153fe0f8dab2bfe07c392ff5403d326.tar.bz2
Control OpenGL traces from Developer Options in Settings
This change adds a new entry to the developer options screen in settings that lets you choose what OpenGL traces you want. Change-Id: Ie789fa20dbbabee1e509b697106072464e9f9d2b
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml16
-rw-r--r--res/values/strings.xml3
2 files changed, 19 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 6b1c3f9..14e1fc8 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -670,6 +670,22 @@
<item>1280x720/213;1920x1080/320</item>
</string-array>
+ <!-- Titles for OpenGL traces preference. [CHAR LIMIT=35] -->
+ <string-array name="enable_opengl_traces_entries">
+ <item>None</item>
+ <item>Logcat</item>
+ <item>Systrace (Graphics)</item>
+ <item>Call stack on glGetError</item>
+ </string-array>
+
+ <!-- Values for OpenGL traces preference. -->
+ <string-array name="enable_opengl_traces_values" translatable="false" >
+ <item>0</item>
+ <item>1</item>
+ <item>systrace</item>
+ <item>error</item>
+ </string-array>
+
<!-- Titles for app process limit preference. [CHAR LIMIT=35] -->
<string-array name="app_process_limit_entries">
<item>Standard limit</item>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index abdc521..8d35035 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3952,6 +3952,9 @@
<!-- UI debug setting: enable low-level traces, all enabled summary [CHAR LIMIT=NONE] -->
<string name="enable_traces_summary_all">All traces currently enabled</string>
+ <!-- UI debug setting: enable various types of OpenGL traces [CHAR LIMIT=25] -->
+ <string name="enable_opengl_traces_title">Enable OpenGL traces</string>
+
<!-- UI debug setting: show layout bounds information [CHAR LIMIT=25] -->
<string name="debug_layout">Show layout bounds</string>
<!-- UI debug setting: show layout bounds information summary [CHAR LIMIT=50] -->