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
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"