diff options
author | Derek Sollenberger <djsollen@google.com> | 2010-11-16 14:19:01 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2010-11-16 15:41:13 -0500 |
commit | ffa561e00d3934de9451bf599a2d4f355a33041b (patch) | |
tree | 76cc8a2a5947678f0b6d6e5e275cd9f954602ae0 /res | |
parent | e5e8175d73f3e6e0176d84117797ac0165c54b0c (diff) | |
download | packages_apps_Browser-ffa561e00d3934de9451bf599a2d4f355a33041b.zip packages_apps_Browser-ffa561e00d3934de9451bf599a2d4f355a33041b.tar.gz packages_apps_Browser-ffa561e00d3934de9451bf599a2d4f355a33041b.tar.bz2 |
Allow HW accleration to be activated on demand.
This CL adds a debugging preference that allows developers to
enable/disable Open GL rendering on demand. The setting change
does not take effect until the browser is restarted.
bug: 3185844
Change-Id: Ifcf5a7b7d4ddbf02a649a28c4f462e2da3f34bb6
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/xml/debug_preferences.xml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index a6ad15e..d724085 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -520,6 +520,8 @@ <!-- Do not tranlsate. Development option --> <string name="pref_development_nav_dump" translatable="false">Enable nav cache dump</string> <!-- Do not tranlsate. Development option --> + <string name="pref_development_hardware_accel" translatable="false">Enable OpenGL Rendering</string> + <!-- Do not tranlsate. Development option --> <string name="js_engine_flags" translatable="false">Set JS flags</string> <!-- Do not tranlsate. Development option --> <string name="pref_development_uastring" translatable="false">UAString</string> diff --git a/res/xml/debug_preferences.xml b/res/xml/debug_preferences.xml index 54b2bd5..2ff4e79 100644 --- a/res/xml/debug_preferences.xml +++ b/res/xml/debug_preferences.xml @@ -54,6 +54,11 @@ android:defaultValue="false" android:title="@string/pref_development_nav_dump" /> + <CheckBoxPreference + android:key="enable_hardware_accel" + android:defaultValue="false" + android:title="@string/pref_development_hardware_accel" /> + <EditTextPreference android:key="js_engine_flags" android:title="@string/js_engine_flags" |