Bug 1507333 - Clear evicted cache entries when using the debug display. r=gw,jrmuizel
authorBobby Holley <bobbyholley@gmail.com>
Wed, 14 Nov 2018 15:58:00 -0800
changeset 503523 def3a4c1f23be5a622cf2ec132cc8c385ce4b60e
parent 503522 73e025041c50a4ccc3078dd97971d119269f3e0e
child 503524 f1b5651ca4544a45e5ab400bcfbdf63d46ca79d1
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgw, jrmuizel
bugs1507333
milestone65.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 1507333 - Clear evicted cache entries when using the debug display. r=gw,jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D11959
gfx/thebes/gfxPlatform.cpp
modules/libpref/init/all.js
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -602,16 +602,17 @@ WebRenderDebugPrefChangeCallback(const c
   GFX_WEBRENDER_DEBUG(".disable-batching",   1 << 5)
   GFX_WEBRENDER_DEBUG(".epochs",             1 << 6)
   GFX_WEBRENDER_DEBUG(".compact-profiler",   1 << 7)
   GFX_WEBRENDER_DEBUG(".echo-driver-messages", 1 << 8)
   GFX_WEBRENDER_DEBUG(".new-frame-indicator", 1 << 9)
   GFX_WEBRENDER_DEBUG(".new-scene-indicator", 1 << 10)
   GFX_WEBRENDER_DEBUG(".show-overdraw", 1 << 11)
   GFX_WEBRENDER_DEBUG(".slow-frame-indicator", 1 << 13)
+  GFX_WEBRENDER_DEBUG(".texture-cache.clear-evicted", 1 << 14)
 #undef GFX_WEBRENDER_DEBUG
 
   gfx::gfxVars::SetWebRenderDebugFlags(flags);
 }
 
 
 #if defined(USE_SKIA)
 static uint32_t GetSkiaGlyphCacheSize()
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -934,16 +934,17 @@ pref("gfx.compositor.glcontext.opaque", 
 
 pref("gfx.webrender.highlight-painted-layers", false);
 pref("gfx.webrender.blob-images", true);
 pref("gfx.webrender.blob.invalidation", true);
 pref("gfx.webrender.blob.paint-flashing", false);
 
 // WebRender debugging utilities.
 pref("gfx.webrender.debug.texture-cache", false);
+pref("gfx.webrender.debug.texture-cache.clear-evicted", true);
 pref("gfx.webrender.debug.render-targets", false);
 pref("gfx.webrender.debug.alpha-primitives", false);
 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);