[chromium] Add some useful text to existing debug dump
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Nov 2011 00:14:49 +0000 (00:14 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Nov 2011 00:14:49 +0000 (00:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=72576

Patch by Shawn Singh <shawnsingh@chromium.org> on 2011-11-18
Reviewed by James Robinson.

No new tests needed.

* platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::dumpLayerProperties):
* platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::dumpSurface):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100823 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.cpp
Source/WebCore/platform/graphics/chromium/cc/CCRenderSurface.cpp

index e3bf909d66961c590c318ca6486e3bf8f38333f1..9ca93b67c1c0cb2984a0cd016c6b7917651fffb8 100644 (file)
@@ -1,3 +1,17 @@
+2011-11-18  Shawn Singh  <shawnsingh@chromium.org>
+
+        [chromium] Add some useful text to existing debug dump
+        https://bugs.webkit.org/show_bug.cgi?id=72576
+
+        Reviewed by James Robinson.
+
+        No new tests needed.
+
+        * platform/graphics/chromium/cc/CCLayerImpl.cpp:
+        (WebCore::CCLayerImpl::dumpLayerProperties):
+        * platform/graphics/chromium/cc/CCRenderSurface.cpp:
+        (WebCore::CCRenderSurface::dumpSurface):
+
 2011-11-18  Xiaomei Ji  <xji@chromium.org>
 
         REGRESSION: rtl horizontal scrollbar / resize bug - Body shifts on resize when scrolled all the way to the left
index a7f6e836804ab45a59624a370d628325a879fcd1..12d22e2a241122cb57b99edbdf463ff9cb28824e 100644 (file)
@@ -189,9 +189,9 @@ void CCLayerImpl::dumpLayerProperties(TextStream& ts, int indent) const
 
     writeIndent(ts, indent);
     ts << "drawTransform: ";
-    ts << m_drawTransform.m11() << ", " << m_drawTransform.m12() << ", " << m_drawTransform.m13() << ", " << m_drawTransform.m14() << ", ";
-    ts << m_drawTransform.m21() << ", " << m_drawTransform.m22() << ", " << m_drawTransform.m23() << ", " << m_drawTransform.m24() << ", ";
-    ts << m_drawTransform.m31() << ", " << m_drawTransform.m32() << ", " << m_drawTransform.m33() << ", " << m_drawTransform.m34() << ", ";
+    ts << m_drawTransform.m11() << ", " << m_drawTransform.m12() << ", " << m_drawTransform.m13() << ", " << m_drawTransform.m14() << "  //  ";
+    ts << m_drawTransform.m21() << ", " << m_drawTransform.m22() << ", " << m_drawTransform.m23() << ", " << m_drawTransform.m24() << "  //  ";
+    ts << m_drawTransform.m31() << ", " << m_drawTransform.m32() << ", " << m_drawTransform.m33() << ", " << m_drawTransform.m34() << "  //  ";
     ts << m_drawTransform.m41() << ", " << m_drawTransform.m42() << ", " << m_drawTransform.m43() << ", " << m_drawTransform.m44() << "\n";
 }
 
index cb38fa860ce7b7c8aa2fc1b71892850e5dac51bd..dd1ab633f9b07d065e11466359ec1d3555b96d66 100644 (file)
@@ -229,6 +229,13 @@ void CCRenderSurface::dumpSurface(TextStream& ts, int indent) const
 
     writeIndent(ts, indent+1);
     ts << "contentRect: (" << m_contentRect.x() << ", " << m_contentRect.y() << ", " << m_contentRect.width() << ", " << m_contentRect.height() << "\n";
+
+    writeIndent(ts, indent+1);
+    ts << "drawTransform: ";
+    ts << m_drawTransform.m11() << ", " << m_drawTransform.m12() << ", " << m_drawTransform.m13() << ", " << m_drawTransform.m14() << "  //  ";
+    ts << m_drawTransform.m21() << ", " << m_drawTransform.m22() << ", " << m_drawTransform.m23() << ", " << m_drawTransform.m24() << "  //  ";
+    ts << m_drawTransform.m31() << ", " << m_drawTransform.m32() << ", " << m_drawTransform.m33() << ", " << m_drawTransform.m34() << "  //  ";
+    ts << m_drawTransform.m41() << ", " << m_drawTransform.m42() << ", " << m_drawTransform.m43() << ", " << m_drawTransform.m44() << "\n";
 }
 
 int CCRenderSurface::owningLayerId() const