Title: [171282] trunk/Source/WebCore
Revision
171282
Author
[email protected]
Date
2014-07-20 11:00:52 -0700 (Sun, 20 Jul 2014)

Log Message

Print layerIDs in GraphicsLayer dumps
https://bugs.webkit.org/show_bug.cgi?id=135100

Reviewed by Darin Adler.

When calling showGraphicsLayerTree() from the debugger, it's useful to show
layerIDs so they can be correlated with remote layer tree transactions. So
when dumping with debug info, dump the primary layer ID.

* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::dumpProperties):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (171281 => 171282)


--- trunk/Source/WebCore/ChangeLog	2014-07-20 16:49:40 UTC (rev 171281)
+++ trunk/Source/WebCore/ChangeLog	2014-07-20 18:00:52 UTC (rev 171282)
@@ -1,3 +1,17 @@
+2014-07-20  Simon Fraser  <[email protected]>
+
+        Print layerIDs in GraphicsLayer dumps
+        https://bugs.webkit.org/show_bug.cgi?id=135100
+
+        Reviewed by Darin Adler.
+
+        When calling showGraphicsLayerTree() from the debugger, it's useful to show
+        layerIDs so they can be correlated with remote layer tree transactions. So
+        when dumping with debug info, dump the primary layer ID.
+
+        * platform/graphics/GraphicsLayer.cpp:
+        (WebCore::GraphicsLayer::dumpProperties):
+
 2014-07-20  Eric Carlson  <[email protected]>
 
         [iOS] ignore requests to set volume

Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp (171281 => 171282)


--- trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp	2014-07-20 16:49:40 UTC (rev 171281)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp	2014-07-20 18:00:52 UTC (rev 171282)
@@ -682,6 +682,8 @@
 
     if (behavior & LayerTreeAsTextDebug) {
         writeIndent(ts, indent + 1);
+        ts << "(primary-layer-id " << primaryLayerID() << ")\n";
+        writeIndent(ts, indent + 1);
         ts << "(client " << static_cast<void*>(&m_client) << ")\n";
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to