Title: [149083] trunk/Source/WebCore
Revision
149083
Author
[email protected]
Date
2013-04-24 18:27:13 -0700 (Wed, 24 Apr 2013)

Log Message

Dump layer opaqueness in the Compositing log output
https://bugs.webkit.org/show_bug.cgi?id=115132

Reviewed by Tim Horton.

It's useful to see whether we consider layers to be opaque in the Compositing
log channel output, so dump it.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::logLayerInfo):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (149082 => 149083)


--- trunk/Source/WebCore/ChangeLog	2013-04-25 01:26:35 UTC (rev 149082)
+++ trunk/Source/WebCore/ChangeLog	2013-04-25 01:27:13 UTC (rev 149083)
@@ -1,3 +1,16 @@
+2013-04-24  Simon Fraser  <[email protected]>
+
+        Dump layer opaqueness in the Compositing log output
+        https://bugs.webkit.org/show_bug.cgi?id=115132
+
+        Reviewed by Tim Horton.
+
+        It's useful to see whether we consider layers to be opaque in the Compositing
+        log channel output, so dump it.
+
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::logLayerInfo):
+
 2013-04-24  Seokju Kwon  <[email protected]>
 
         Add efl to JSInspectorFrontendHost::port()

Modified: trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp (149082 => 149083)


--- trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2013-04-25 01:26:35 UTC (rev 149082)
+++ trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2013-04-25 01:27:13 UTC (rev 149083)
@@ -626,8 +626,9 @@
         m_secondaryBackingStoreBytes += backing->backingStoreMemoryEstimate();
     }
 
-    LOG(Compositing, "%*p %dx%d %.2fKB (%s) %s\n", 12 + depth * 2, layer, backing->compositedBounds().width(), backing->compositedBounds().height(),
+    LOG(Compositing, "%*p %dx%d %.2fKB %s(%s) %s\n", 12 + depth * 2, layer, backing->compositedBounds().width(), backing->compositedBounds().height(),
         backing->backingStoreMemoryEstimate() / 1024,
+        backing->graphicsLayer()->contentsOpaque() ? "opaque " : "",
         logReasonsForCompositing(layer), layer->name().utf8().data());
 }
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to