Bug 1462961 - Dump the WebRenderScrollData as well when DUMP_LISTS is defined. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 23 May 2018 16:08:18 -0400
changeset 419608 55136cd0a8eb0f5f619b1b9c57106fa158213576
parent 419607 a882645f3abc222dc10bf11fc939347b3cc1c00a
child 419609 6c722b22ef5eb4f86968991dcf7a7d51fa3eff37
push id34040
push userebalazs@mozilla.com
push dateThu, 24 May 2018 09:37:05 +0000
treeherdermozilla-central@c411ccb6bb4a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1462961
milestone62.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 1462961 - Dump the WebRenderScrollData as well when DUMP_LISTS is defined. r=jrmuizel MozReview-Commit-ID: 181OoWNkWBs
gfx/layers/wr/WebRenderLayerManager.cpp
--- a/gfx/layers/wr/WebRenderLayerManager.cpp
+++ b/gfx/layers/wr/WebRenderLayerManager.cpp
@@ -274,16 +274,19 @@ WebRenderLayerManager::EndTransactionWit
                                                   contentSize,
                                                   aFilters);
 
   DiscardCompositorAnimations();
 
   mWidget->AddWindowOverlayWebRenderCommands(WrBridge(), builder, resourceUpdates);
   mWindowOverlayChanged = false;
 
+#if DUMP_LISTS
+  if (XRE_IsContentProcess()) mScrollData.Dump();
+#endif
   if (AsyncPanZoomEnabled()) {
     mScrollData.SetFocusTarget(mFocusTarget);
     mFocusTarget = FocusTarget();
 
     if (mIsFirstPaint) {
       mScrollData.SetIsFirstPaint();
       mIsFirstPaint = false;
     }