Title: [114557] trunk/Source/WebCore
Revision
114557
Author
[email protected]
Date
2012-04-18 13:53:44 -0700 (Wed, 18 Apr 2012)

Log Message

[chromium] Rename overdraw histograms so we can use field trials in histograms.xml
https://bugs.webkit.org/show_bug.cgi?id=83500

Reviewed by James Robinson.

* platform/graphics/chromium/cc/CCOverdrawMetrics.cpp:
(WebCore::CCOverdrawMetrics::recordMetricsInternal):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114556 => 114557)


--- trunk/Source/WebCore/ChangeLog	2012-04-18 20:52:28 UTC (rev 114556)
+++ trunk/Source/WebCore/ChangeLog	2012-04-18 20:53:44 UTC (rev 114557)
@@ -1,3 +1,13 @@
+2012-04-18  Dana Jansens  <[email protected]>
+
+        [chromium] Rename overdraw histograms so we can use field trials in histograms.xml
+        https://bugs.webkit.org/show_bug.cgi?id=83500
+
+        Reviewed by James Robinson.
+
+        * platform/graphics/chromium/cc/CCOverdrawMetrics.cpp:
+        (WebCore::CCOverdrawMetrics::recordMetricsInternal):
+
 2012-04-18  David Reveman  <[email protected]>
 
         [Chromium] Solid color shader should use premultiplied alpha.

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCOverdrawMetrics.cpp (114556 => 114557)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCOverdrawMetrics.cpp	2012-04-18 20:52:28 UTC (rev 114556)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCOverdrawMetrics.cpp	2012-04-18 20:53:44 UTC (rev 114557)
@@ -135,9 +135,9 @@
 
     switch (metricsType) {
     case DrawingToScreen:
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.drawPixelCountOpaque", static_cast<int>(normalization * m_pixelsDrawnOpaque), 100, 1000000, 50);
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.drawPixelCountTranslucent", static_cast<int>(normalization * m_pixelsDrawnTranslucent), 100, 1000000, 50);
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.drawPixelCountCulled", static_cast<int>(normalization * m_pixelsCulledForDrawing), 100, 1000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountOpaque_Draw", static_cast<int>(normalization * m_pixelsDrawnOpaque), 100, 1000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountTranslucent_Draw", static_cast<int>(normalization * m_pixelsDrawnTranslucent), 100, 1000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountCulled_Draw", static_cast<int>(normalization * m_pixelsCulledForDrawing), 100, 1000000, 50);
 
         {
             TRACE_COUNTER_ID1("webkit", "DrawPixelsCulled", layerTreeHost, m_pixelsCulledForDrawing);
@@ -146,9 +146,9 @@
         break;
     case UpdateAndCommit:
         WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountPainted", static_cast<int>(normalization * m_pixelsPainted), 100, 1000000, 50);
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.uploadPixelCountOpaque", static_cast<int>(normalization * m_pixelsUploadedOpaque), 100, 1000000, 50);
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.uploadPixelCountTranslucent", static_cast<int>(normalization * m_pixelsUploadedTranslucent), 100, 1000000, 50);
-        WebKit::Platform::current()->histogramCustomCounts("Renderer4.uploadTileCountCulled", static_cast<int>(tileNormalization * m_tilesCulledForUpload), 100, 10000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountOpaque_Upload", static_cast<int>(normalization * m_pixelsUploadedOpaque), 100, 1000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.pixelCountTranslucent_Upload", static_cast<int>(normalization * m_pixelsUploadedTranslucent), 100, 1000000, 50);
+        WebKit::Platform::current()->histogramCustomCounts("Renderer4.tileCountCulled_Upload", static_cast<int>(tileNormalization * m_tilesCulledForUpload), 100, 10000000, 50);
 
         {
             TRACE_COUNTER_ID1("webkit", "UploadTilesCulled", layerTreeHost, m_tilesCulledForUpload);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to