Bug 1246676 - Adjust the displayport expiry timeout on different platforms to observe the effect on checkerboarding. r?botond draft
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 08 Feb 2016 11:43:14 -0500
changeset 329572 e88f46a3ffc875c429e1668d3a8e879aa33e3bcc
parent 329566 815d689a6e1e7187b10238f2f840d49201d67c2b
child 513981 ba4bca997adcf706e19c284f519c9d769efa9f76
push id10549
push userkgupta@mozilla.com
push dateMon, 08 Feb 2016 16:44:43 +0000
reviewersbotond
bugs1246676
milestone47.0a1
Bug 1246676 - Adjust the displayport expiry timeout on different platforms to observe the effect on checkerboarding. r?botond
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -562,17 +562,26 @@ pref("apz.axis_lock.mode", 0);
 pref("apz.axis_lock.lock_angle", "0.5235987");        // PI / 6 (30 degrees)
 pref("apz.axis_lock.breakout_threshold", "0.03125");  // 1/32 inches
 pref("apz.axis_lock.breakout_angle", "0.3926991");    // PI / 8 (22.5 degrees)
 pref("apz.axis_lock.direct_pan_angle", "1.047197");   // PI / 3 (60 degrees)
 pref("apz.content_response_timeout", 300);
 pref("apz.drag.enabled", false);
 pref("apz.danger_zone_x", 50);
 pref("apz.danger_zone_y", 100);
+
+// See bug 1246676, we're experimenting to see what's best
+#if defined(XP_WIN)
+pref("apz.displayport_expiry_ms", 0);
+#elif defined(XP_MACOSX)
+pref("apz.displayport_expiry_ms", 30000);
+#else
 pref("apz.displayport_expiry_ms", 15000);
+#endif
+
 pref("apz.enlarge_displayport_when_clipped", false);
 pref("apz.fling_accel_base_mult", "1.0");
 pref("apz.fling_accel_interval_ms", 500);
 pref("apz.fling_accel_supplemental_mult", "1.0");
 pref("apz.fling_curve_function_x1", "0.0");
 pref("apz.fling_curve_function_y1", "0.0");
 pref("apz.fling_curve_function_x2", "1.0");
 pref("apz.fling_curve_function_y2", "1.0");