Bug 1358437 - enable WebRender OMTA by default, r?kats draft
authorpeter chang <pchang@mozilla.com>
Wed, 19 Apr 2017 21:54:11 +0800
changeset 570182 7e7bf08a91dede8813408bfa8cff4c6c0733ff87
parent 570181 5b604860e0d32009d88290222db18b1b294e675b
child 626425 02b2bc5f00fb4c6fd3f0b7d9b900c8b2e3ee627e
push id56417
push userbmo:howareyou322@gmail.com
push dateFri, 28 Apr 2017 13:34:36 +0000
reviewerskats
bugs1358437
milestone55.0a1
Bug 1358437 - enable WebRender OMTA by default, r?kats MozReview-Commit-ID: DG2eK8lMTBi
gfx/thebes/gfxPrefs.h
--- a/gfx/thebes/gfxPrefs.h
+++ b/gfx/thebes/gfxPrefs.h
@@ -452,17 +452,17 @@ private:
   DECL_GFX_PREF(Once, "gfx.touch.resample.delay-threshold",    TouchResampleVsyncDelayThreshold, int32_t, 20);
   DECL_GFX_PREF(Once, "gfx.touch.resample.max-predict",        TouchResampleMaxPredict, int32_t, 8);
   DECL_GFX_PREF(Once, "gfx.touch.resample.min-delta",          TouchResampleMinDelta, int32_t, 2);
   DECL_GFX_PREF(Once, "gfx.touch.resample.old-touch-threshold",TouchResampleOldTouchThreshold, int32_t, 17);
   DECL_GFX_PREF(Once, "gfx.touch.resample.vsync-adjust",       TouchVsyncSampleAdjust, int32_t, 5);
 
   DECL_GFX_PREF(Live, "gfx.vsync.collect-scroll-transforms",   CollectScrollTransforms, bool, false);
   DECL_GFX_PREF(Once, "gfx.vsync.compositor.unobserve-count",  CompositorUnobserveCount, int32_t, 10);
-  DECL_GFX_PREF(Live, "gfx.webrender.omta.enabled",            WebRenderOMTAEnabled, bool, false);
+  DECL_GFX_PREF(Live, "gfx.webrender.omta.enabled",            WebRenderOMTAEnabled, bool, gfxPrefs::OverrideBase_WebRender());
   DECL_GFX_PREF(Live, "gfx.webrender.profiler.enable",         WebRenderProfilerEnabled, bool, false);
   // Use vsync events generated by hardware
   DECL_GFX_PREF(Once, "gfx.work-around-driver-bugs",           WorkAroundDriverBugs, bool, true);
   DECL_GFX_PREF(Once, "gfx.screen-mirroring.enabled",          ScreenMirroringEnabled, bool, false);
 
   DECL_GFX_PREF(Live, "gl.ignore-dx-interop2-blacklist",       IgnoreDXInterop2Blacklist, bool, false);
   DECL_GFX_PREF(Live, "gl.msaa-level",                         MSAALevel, uint32_t, 2);
 #if defined(XP_MACOSX)