Bug 1144321 - Enable the vsync refresh driver on OS X. r=kats
authorMason Chang <mchang@mozilla.com>
Fri, 20 Mar 2015 11:54:40 -0700
changeset 252094 657c26d7d5d22a2bc6036d566b7b821b1218d680
parent 252093 9de12709279d7e0a5bda0ac253c00100a4f4e0e4
child 252095 fbe012eea2e65eed38d068849ada6609b96ade30
push id1174
push usernsm.nikhil@gmail.com
push dateSun, 22 Mar 2015 01:24:25 +0000
reviewerskats
bugs1144321
milestone39.0a1
Bug 1144321 - Enable the vsync refresh driver on OS X. r=kats
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4626,15 +4626,20 @@ 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