Bug 1137905. Enable the vsync compositor on OS X. r=kats

This commit is contained in:
Mason Chang 2015-03-11 11:41:14 -07:00
parent 22535546bc
commit 37603700dc

View File

@ -4620,7 +4620,11 @@ pref("media.gmp.insecure.allow", false);
// Use vsync aligned rendering. b2g prefs are in b2g.js
// Only supported on windows, os x, and b2g
#if defined(XP_WIN) || defined(XP_MACOSX)
#if defined(XP_MACOSX)
pref("gfx.vsync.hw-vsync.enabled", true);
pref("gfx.vsync.compositor", true);
pref("gfx.vsync.refreshdriver", false);
#elif defined(XP_WIN)
pref("gfx.vsync.hw-vsync.enabled", false);
pref("gfx.vsync.compositor", false);
pref("gfx.vsync.refreshdriver", false);