Bug 1144317 - Enable vsync refresh driver on Windows. r=kats
authorMason Chang <mchang@mozilla.com>
Tue, 24 Mar 2015 18:41:31 -0700
changeset 265783 43e18ef6680757fef26449194ad309ca9ad7616c
parent 265782 43ef69c1f6b544f98cb8b7b6082fb6b0ce9308d2
child 265784 b1d39f9d8c13d9817428e8c133b81fbd338558dd
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1144317
milestone39.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 1144317 - Enable vsync refresh driver on Windows. r=kats
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4634,20 +4634,15 @@ pref("reader.toolbar.vertical", true);
 pref("media.gmp.insecure.allow", false);
 #endif
 
 // Use vsync aligned rendering. b2g prefs are in b2g.js
 // Only supported on windows, os x, and b2g
 #if defined(XP_MACOSX) || defined(XP_WIN)
 pref("gfx.vsync.hw-vsync.enabled", true);
 pref("gfx.vsync.compositor", true);
-#endif
-
-#if defined(XP_MACOSX)
 pref("gfx.vsync.refreshdriver", true);
-#else
-pref("gfx.vsync.refreshdriver", false);
 #endif
 
 // Secure Element API
 #ifdef MOZ_SECUREELEMENT
 pref("dom.secureelement.enabled", false);
 #endif