[Webkit-unassigned] [Bug 90019] [chromium] Add time spent painting to GPU benchmarking renderingStats() API.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 17:42:30 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90019





--- Comment #5 from James Robinson <jamesr at chromium.org>  2012-06-26 17:42:29 PST ---
(From update of attachment 149624)
View in context: https://bugs.webkit.org/attachment.cgi?id=149624&action=review

> Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp:471
>      updateLayers(rootLayer(), updater);
> +
> +    m_timeSpentPainting = monotonicallyIncreasingTime() - updateBeginTime;

updateLayers() covers more than just painting.  for instance, a canvas 2d layer will do a flush here, image layers will prepare texture uploads, WebGL layers will issue multisample resolves etc

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list