Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: cc/CCLayerTreeHost.cpp

Issue 10914304: Add average commit time to perf tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/CCProxy.h » ('j') | cc/CCProxy.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCLayerTreeHost.h" 7 #include "CCLayerTreeHost.h"
8 8
9 #include "CCFontAtlas.h" 9 #include "CCFontAtlas.h"
10 #include "CCGraphicsContext.h" 10 #include "CCGraphicsContext.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 void CCLayerTreeHost::finishAllRendering() 297 void CCLayerTreeHost::finishAllRendering()
298 { 298 {
299 if (!m_rendererInitialized) 299 if (!m_rendererInitialized)
300 return; 300 return;
301 m_proxy->finishAllRendering(); 301 m_proxy->finishAllRendering();
302 } 302 }
303 303
304 void CCLayerTreeHost::renderingStats(CCRenderingStats& stats) const 304 void CCLayerTreeHost::renderingStats(CCRenderingStats& stats) const
305 { 305 {
306 stats = m_renderingStats; 306 stats = m_renderingStats;
307 m_proxy->implSideRenderingStats(stats); 307 m_proxy->renderingStats(stats);
308 } 308 }
309 309
310 const RendererCapabilities& CCLayerTreeHost::rendererCapabilities() const 310 const RendererCapabilities& CCLayerTreeHost::rendererCapabilities() const
311 { 311 {
312 return m_proxy->rendererCapabilities(); 312 return m_proxy->rendererCapabilities();
313 } 313 }
314 314
315 void CCLayerTreeHost::setNeedsAnimate() 315 void CCLayerTreeHost::setNeedsAnimate()
316 { 316 {
317 ASSERT(CCProxy::hasImplThread()); 317 ASSERT(CCProxy::hasImplThread());
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 else 779 else
780 layer->notifyAnimationFinished(wallClockTime); 780 layer->notifyAnimationFinished(wallClockTime);
781 } 781 }
782 } 782 }
783 783
784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
786 } 786 }
787 787
788 } // namespace WebCore 788 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | cc/CCProxy.h » ('j') | cc/CCProxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698