Bug 1150223 - Disable vsync compositor on Windows on Gecko 39. r=kats, a=lizzard
authorMason Chang <mchang@mozilla.com>
Wed, 01 Apr 2015 14:35:00 -0400
changeset 265425 e6c47797b6d3376a3fcbb436f210eb7ceaa19c44
parent 265424 79a7935d16aac71d5e648f6279fd3b3d6c230447
child 265426 3d0d39c0b228883ee92828473601afb0c6976a8b
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats, lizzard
bugs1150223
milestone39.0a2
Bug 1150223 - Disable vsync compositor on Windows on Gecko 39. r=kats, a=lizzard
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4636,23 +4636,24 @@ pref("reader.toolbar.vertical", true);
 // Whether to allow, on a Linux system that doesn't support the necessary sandboxing
 // features, loading Gecko Media Plugins unsandboxed.  However, EME CDMs will not be
 // loaded without sandboxing even if this pref is changed.
 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)
+#if defined(XP_MACOSX)
 pref("gfx.vsync.hw-vsync.enabled", true);
 pref("gfx.vsync.compositor", true);
+pref("gfx.vsync.refreshdriver", true);
 #endif
 
-#if defined(XP_MACOSX)
-pref("gfx.vsync.refreshdriver", true);
-#else
+#if defined(XP_WIN)
+pref("gfx.vsync.hw-vsync.enabled", false);
+pref("gfx.vsync.compositor", false);
 pref("gfx.vsync.refreshdriver", false);
 #endif
 
 // Secure Element API
 #ifdef MOZ_SECUREELEMENT
 pref("dom.secureelement.enabled", false);
 #endif