Bug 581212 - turn on Direct3D accelerated layers on Windows. r=vlad a=blocking2.0:beta6+
authorJoe Drew <joe@drew.ca>
Fri, 03 Sep 2010 23:27:07 -0400
changeset 52000 2fd612733112dd5a4a774299a14931200c3927e9
parent 51999 fe37508e02cae8dcec31e852ccdfd3cd6bd60c0f
child 52002 7a8d7c53fe8eaae096341a7a2bcae84476631509
child 52003 ebbe004c5bb81e761fd196b6a48ee58e00be58a8
push id15494
push userjdrew@mozilla.com
push dateSat, 04 Sep 2010 03:29:53 +0000
treeherdermozilla-central@2fd612733112 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvlad, blocking2
bugs581212
milestone2.0b6pre
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 581212 - turn on Direct3D accelerated layers on Windows. r=vlad a=blocking2.0:beta6+
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -3177,17 +3177,21 @@ pref("network.tcp.sendbuffer", 131072);
 pref("mozilla.widget.disable-native-theme", true);
 pref("gfx.color_management.mode", 0);
 #endif
 
 // Initialize default render-mode.
 pref("mozilla.widget.render-mode", -1);
 
 // Default value of acceleration for all widgets.
+#ifdef XP_WIN
+pref("layers.accelerate-all", true);
+#else
 pref("layers.accelerate-all", false);
+#endif
 
 // Whether to allow acceleration on layers at all.
 pref("layers.accelerate-none", false);
 
 #ifdef XP_WIN
 #ifndef WINCE
 // Whether to disable the automatic detection and use of direct2d.
 pref("gfx.direct2d.disabled", false);