Bug 975033 - Drop the APZ repaint interval down to 16ms on B2G. r=vingtetun
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 27 Feb 2014 08:43:02 -0500
changeset 171396 0c5652734ad51ec72c8d6b3e1d74857eabbd7cde
parent 171395 580f0a28f2a673b1dcb1dbf2c160d8fdd047f88f
child 171397 2ee4792677d317a561f84f8943ab5ccec5297559
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersvingtetun
bugs975033
milestone30.0a1
Bug 975033 - Drop the APZ repaint interval down to 16ms on B2G. r=vingtetun
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -865,17 +865,17 @@ pref("osfile.reset_worker_delay", 5000);
 // The URL of the Firefox Accounts auth server backend
 pref("identity.fxaccounts.auth.uri", "https://api-accounts.dev.lcip.org/v1");
 
 // APZC preferences.
 //
 // Gaia relies heavily on scroll events for now, so lets fire them
 // more often than the default value (100).
 pref("apz.asyncscroll.throttle", 40);
-pref("apz.pan_repaint_interval", 40);
+pref("apz.pan_repaint_interval", 16);
 
 // Maximum fling velocity in px/ms.  Slower devices may need to reduce this
 // to avoid checkerboarding.  Note, float value must be set as a string.
 pref("apz.max_velocity_pixels_per_ms", "6.0");
 
 // This preference allows FirefoxOS apps (and content, I think) to force
 // the use of software (instead of hardware accelerated) 2D canvases by
 // creating a context like this: