[chromium] Remove TRACE_EVENT from CCQuadCuller::cullOccludedQuads.
authorwjmaclean@chromium.org <wjmaclean@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Mar 2012 20:34:42 +0000 (20:34 +0000)
committerwjmaclean@chromium.org <wjmaclean@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Mar 2012 20:34:42 +0000 (20:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=80174

Reviewed by James Robinson.

Covered by existing chromium unit tests.

Firing TRACE_EVENT once per draw quad is overwhelming.

* platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::cullOccludedQuads):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCQuadCuller.cpp

index f460c01..e9194f8 100644 (file)
@@ -1,3 +1,17 @@
+2012-03-02  W. James MacLean  <wjmaclean@chromium.org>
+
+        [chromium] Remove TRACE_EVENT from CCQuadCuller::cullOccludedQuads.
+        https://bugs.webkit.org/show_bug.cgi?id=80174
+
+        Reviewed by James Robinson.
+
+        Covered by existing chromium unit tests.
+
+        Firing TRACE_EVENT once per draw quad is overwhelming.
+
+        * platform/graphics/chromium/cc/CCQuadCuller.cpp:
+        (WebCore::CCQuadCuller::cullOccludedQuads):
+
 2012-03-02  Erik Arvidsson  <arv@chromium.org>
 
         [V8] Make inline event attributes use evt for SVG and event otherwise
index 7536af2..1c4a499 100644 (file)
@@ -131,7 +131,6 @@ void CCQuadCuller::cullOccludedQuads(CCQuadList& quadList, bool haveDamageRect,
         }
 
         if (overdrawMetrics) {
-            TRACE_EVENT("CCQuadCuller::cullOccludedQuads_OverdrawMetrics", 0, 0);
             // We compute the area of the transformed quad, as this should be in pixels.
             float area = quadArea(drawQuad->quadTransform().mapQuad(FloatQuad(drawQuad->quadRect())));
             if (keepQuad) {