Bug 1123762. Enable the vsync aligned refresh driver on b2g. r=kats
authorMason Chang <mchang@mozilla.com>
Fri, 13 Feb 2015 14:53:29 -0800
changeset 229063 0e2e7780755bc00fc5b83d832175f46d0f697a58
parent 229062 2ae1fcb56411035f38428a4d4676182ca09fb4ad
child 229064 fa6ae9d07394fd52184603dfe174f8b33cd166e2
push id28281
push usercbook@mozilla.com
push dateMon, 16 Feb 2015 14:56:26 +0000
treeherdermozilla-central@dfc80e670462 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1123762
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1123762. Enable the vsync aligned refresh driver on b2g. r=kats
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -1109,13 +1109,15 @@ pref("dom.requestSync.enabled", true);
 
 // Only enable for kit kat and above devices
 // kit kat == 19, L = 21, 20 is kit-kat for wearables
 // 15 is for the ICS emulators which will fallback to software vsync
 #if ANDROID_VERSION == 19 || ANDROID_VERSION == 21 || ANDROID_VERSION == 15
 pref("gfx.vsync.hw-vsync.enabled", true);
 pref("gfx.vsync.compositor", true);
 pref("gfx.touch.resample", true);
+pref("gfx.vsync.refreshdriver", true);
 #else
 pref("gfx.vsync.hw-vsync.enabled", false);
 pref("gfx.vsync.compositor", false);
 pref("gfx.touch.resample", false);
+pref("gfx.vsync.refreshdriver", false);
 #endif