summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorbrianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 00:36:36 +0000
committerbrianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 00:36:36 +0000
commit8b9af6bb0a2e0b46f361bd0ffdc4d5d0dc76544e (patch)
tree902f655942afdf95101f59b9a16e2e0828c24cfe /webkit
parent3bc6eb3534c0744f6829c31773d2a2cbe533711f (diff)
downloadchromium_src-8b9af6bb0a2e0b46f361bd0ffdc4d5d0dc76544e.zip
chromium_src-8b9af6bb0a2e0b46f361bd0ffdc4d5d0dc76544e.tar.gz
chromium_src-8b9af6bb0a2e0b46f361bd0ffdc4d5d0dc76544e.tar.bz2
Add average commit time to texture upload scrolling tests
BUG=151456 Review URL: https://chromiumcodereview.appspot.com/10914304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/compositor_bindings/WebLayerTreeViewImpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
index ceae7da..c71d5fc 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
@@ -168,13 +168,15 @@ void WebLayerTreeViewImpl::finishAllRendering()
void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
{
CCRenderingStats ccStats;
- m_layerTreeHost->renderingStats(ccStats);
+ m_layerTreeHost->renderingStats(&ccStats);
stats.numAnimationFrames = ccStats.numAnimationFrames;
stats.numFramesSentToScreen = ccStats.numFramesSentToScreen;
stats.droppedFrameCount = ccStats.droppedFrameCount;
stats.totalPaintTimeInSeconds = ccStats.totalPaintTimeInSeconds;
stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds;
+ stats.totalCommitTimeInSeconds = ccStats.totalCommitTimeInSeconds;
+ stats.totalCommitCount = ccStats.totalCommitCount;
}
void WebLayerTreeViewImpl::setFontAtlas(SkBitmap bitmap, WebRect asciiToWebRectTable[128], int fontHeight)