Bug 1140723 - Enable vsync compositor on Windows. r=kats

This commit is contained in:
Mason Chang 2015-03-17 20:46:29 -07:00
parent ab3c49600c
commit a2557d4164

View File

@ -4628,14 +4628,10 @@ 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_MACOSX)
#if defined(XP_MACOSX) || defined(XP_WIN)
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);
#endif
// Secure Element API