Bug 900133 - Enable new textures on OSX. r=nical
authorNicolas Silva <nical@mozilla.com>
Tue, 30 Jul 2013 19:37:13 +0200
changeset 143166 252dbb41d6099a7e1cb30afc9c1642c1c1b44df8
parent 143165 b8ce320d6574b5f65e83cdf55bc2ed8c5ba8bcf4
child 143167 2a179cae2cfc609913af084b64b5599a60fa5f69
push id32642
push usermwoodrow@mozilla.com
push dateMon, 19 Aug 2013 23:40:06 +0000
treeherdermozilla-inbound@252dbb41d609 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs900133
milestone26.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 900133 - Enable new textures on OSX. r=nical
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -4063,19 +4063,16 @@ pref("network.tcp.sendbuffer", 131072);
 
 // Asynchonous video compositing using the ImageBridge IPDL protocol.
 // requires off-main-thread compositing.
 pref("layers.async-video.enabled",false);
 
 // Whether to disable acceleration for all widgets.
 pref("layers.acceleration.disabled", false);
 
-// Whether to use the deprecated texture architecture rather than the new one.
-pref("layers.use-deprecated-textures", true);
-
 // Whether to force acceleration on, ignoring blacklists.
 #ifdef ANDROID
 // bug 838603 -- on Android, accidentally blacklisting OpenGL layers
 // means a startup crash for everyone.
 pref("layers.acceleration.force-enabled", true);
 #else
 pref("layers.acceleration.force-enabled", false);
 #endif
@@ -4086,18 +4083,21 @@ 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);
 
 #ifdef XP_MACOSX
 pref("layers.offmainthreadcomposition.enabled", true);
+// Whether to use the deprecated texture architecture rather than the new one.
+pref("layers.use-deprecated-textures", false);
 #else
 pref("layers.offmainthreadcomposition.enabled", false);
+pref("layers.use-deprecated-textures", true);
 #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);