Title: [126954] trunk/Source/WebCore
Revision
126954
Author
[email protected]
Date
2012-08-28 20:55:44 -0700 (Tue, 28 Aug 2012)

Log Message

[Chromium] Update some compositor trace events
https://bugs.webkit.org/show_bug.cgi?id=95275

Patch by John Bates <[email protected]> on 2012-08-28
Reviewed by James Robinson.

* platform/graphics/chromium/cc/CCFrameRateController.cpp:
(WebCore::CCFrameRateController::setActive):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::onVSyncParametersChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (126953 => 126954)


--- trunk/Source/WebCore/ChangeLog	2012-08-29 03:53:53 UTC (rev 126953)
+++ trunk/Source/WebCore/ChangeLog	2012-08-29 03:55:44 UTC (rev 126954)
@@ -1,3 +1,15 @@
+2012-08-28  John Bates  <[email protected]>
+
+        [Chromium] Update some compositor trace events
+        https://bugs.webkit.org/show_bug.cgi?id=95275
+
+        Reviewed by James Robinson.
+
+        * platform/graphics/chromium/cc/CCFrameRateController.cpp:
+        (WebCore::CCFrameRateController::setActive):
+        * platform/graphics/chromium/cc/CCThreadProxy.cpp:
+        (WebCore::CCThreadProxy::onVSyncParametersChanged):
+
 2012-08-28  Adam Barth  <[email protected]>
 
         crypto.getRandomValues should throw an exception when given a big array

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCFrameRateController.cpp (126953 => 126954)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCFrameRateController.cpp	2012-08-29 03:53:53 UTC (rev 126953)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCFrameRateController.cpp	2012-08-29 03:55:44 UTC (rev 126954)
@@ -79,9 +79,9 @@
 
 void CCFrameRateController::setActive(bool active)
 {
-    TRACE_EVENT1("cc", "CCFrameRateController::setActive", "active", active);
     if (m_active == active)
         return;
+    TRACE_EVENT1("cc", "CCFrameRateController::setActive", "active", active);
     m_active = active;
 
     if (m_isTimeSourceThrottling)

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp (126953 => 126954)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp	2012-08-29 03:53:53 UTC (rev 126953)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp	2012-08-29 03:55:44 UTC (rev 126954)
@@ -329,7 +329,7 @@
 void CCThreadProxy::onVSyncParametersChanged(double monotonicTimebase, double intervalInSeconds)
 {
     ASSERT(isImplThread());
-    TRACE_EVENT0("cc", "CCThreadProxy::onVSyncParametersChanged");
+    TRACE_EVENT2("cc", "CCThreadProxy::onVSyncParametersChanged", "monotonicTimebase", monotonicTimebase, "intervalInSeconds", intervalInSeconds);
     m_schedulerOnImplThread->setTimebaseAndInterval(monotonicTimebase, intervalInSeconds);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to