Bug 922007 - Enable new textures on fennec. r=mattwoodrow
☠☠ backed out by f07fd38a6902 ☠ ☠
authorNicolas Silva <nical@mozilla.com>
Tue, 01 Oct 2013 01:22:26 +0200
changeset 149391 0b568f6afca0bae9e284be1d8dfd6c0fc01d735f
parent 149390 ff2b4ebb4053b5ce8d280003de59bd42e253ba9c
child 149392 4f64e01f2e98df3579d6b312c80c80e7b9c8dc06
push id25386
push useremorley@mozilla.com
push dateTue, 01 Oct 2013 09:29:22 +0000
treeherdermozilla-central@6856c45f3688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs922007
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 922007 - Enable new textures on fennec. r=mattwoodrow
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -4134,27 +4134,29 @@ pref("layers.acceleration.draw-fps", fal
 
 pref("layers.draw-borders", false);
 pref("layers.draw-tile-borders", false);
 pref("layers.draw-bigimage-borders", false);
 pref("layers.frame-counter", false);
 // Max number of layers per container. See Overwrite in mobile prefs.
 pref("layers.max-active", -1);
 
-// Whether to use the deprecated texture architecture rather than the new one.
 #ifdef XP_MACOSX
 pref("layers.offmainthreadcomposition.enabled", true);
-pref("layers.use-deprecated-textures", false);
+#endif
+
+#ifdef MOZ_WIDGET_GONK
+pref("layers.offmainthreadcomposition.enabled", true);
+#endif
+
+// Whether to use the deprecated texture architecture rather than the new one.
+#ifdef XP_WIN
+pref("layers.use-deprecated-textures", true);
 #else
-#ifdef MOZ_WIDGET_GONK
 pref("layers.use-deprecated-textures", false);
-#else
-pref("layers.offmainthreadcomposition.enabled", false);
-pref("layers.use-deprecated-textures", true);
-#endif
 #endif
 
 // same effect as layers.offmainthreadcomposition.enabled, but specifically for
 // use with tests.
 pref("layers.offmainthreadcomposition.testing.enabled", false);
 
 // whether to allow use of the basic compositor
 pref("layers.offmainthreadcomposition.force-basic", false);