mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1137905. Enable the vsync compositor on OS X. r=kats
This commit is contained in:
parent
22535546bc
commit
37603700dc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user