Bug 917791 - Increase prefered pan/fling redraw rates for metrofx. r=kats
authorJim Mathies <jmathies@mozilla.com>
Tue, 24 Sep 2013 16:17:25 -0500
changeset 148498 7ec69b142816744544fb7e792b4ce6bb0e11d9a2
parent 148497 00ee597a7cdc6fc01137b141ef0ce6f33936258c
child 148499 24f0b00634f5d0d295424d96e81fdfdd1cac4f60
push id25343
push userkwierso@gmail.com
push dateWed, 25 Sep 2013 02:43:37 +0000
treeherdermozilla-central@ce5bc913350a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs917791
milestone27.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 917791 - Increase prefered pan/fling redraw rates for metrofx. r=kats
browser/metro/profile/metro.js
--- a/browser/metro/profile/metro.js
+++ b/browser/metro/profile/metro.js
@@ -32,16 +32,18 @@ pref("metro.debug.selection.dumpEvents",
 pref("prompts.tab_modal.enabled", true);
 
 
 // Enable off main thread compositing
 pref("layers.offmainthreadcomposition.enabled", true);
 pref("layers.async-pan-zoom.enabled", true);
 pref("layers.componentalpha.enabled", false);
 pref("gfx.azpc.touch_start_tolerance", "0.1"); // dpi * tolerance = pixel threshold
+pref("gfx.azpc.pan_repaint_interval", "50");   // prefer 20 fps
+pref("gfx.azpc.fling_repaint_interval", "50"); // prefer 20 fps
 pref("gfx.axis.fling_friction", "0.002");
 
 // Enable Microsoft TSF support by default for imes.
 pref("intl.enable_tsf_support", true);
 
 pref("general.autoScroll", true);
 pref("general.smoothScroll", true);
 pref("general.smoothScroll.durationToIntervalRatio", 200);