From b2e55186e42f4e8e07a53d410c12d55bcc926d5f Mon Sep 17 00:00:00 2001 From: sotaro Date: Mon, 18 Dec 2017 17:06:52 -0800 Subject: [PATCH] Bug 1425791 - Update WebRenderDebugPref r=jrmuizel --- gfx/thebes/gfxPlatform.cpp | 2 ++ modules/libpref/init/all.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp index 548f8fbea96e..8b906c5d55df 100644 --- a/gfx/thebes/gfxPlatform.cpp +++ b/gfx/thebes/gfxPlatform.cpp @@ -611,6 +611,8 @@ WebRenderDebugPrefChangeCallback(const char* aPrefName, void*) GFX_WEBRENDER_DEBUG(".gpu-time-queries", 1 << 4) GFX_WEBRENDER_DEBUG(".gpu-sample-queries", 1 << 5) GFX_WEBRENDER_DEBUG(".disable-batching", 1 << 6) + GFX_WEBRENDER_DEBUG(".epochs", 1 << 7) + GFX_WEBRENDER_DEBUG(".compact-profiler", 1 << 8) #undef GFX_WEBRENDER_DEBUG gfx::gfxVars::SetWebRenderDebugFlags(flags); diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 74008448ab5d..6404095e567e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -887,6 +887,8 @@ pref("gfx.webrender.debug.profiler", false); pref("gfx.webrender.debug.gpu-time-queries", false); pref("gfx.webrender.debug.gpu-sample-queries", false); pref("gfx.webrender.debug.disable-batching", false); +pref("gfx.webrender.debug.epochs", false); +pref("gfx.webrender.debug.compact-profiler", false); pref("accessibility.browsewithcaret", false); pref("accessibility.warn_on_browsewithcaret", true);