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

Side by Side Diff: cc/CCThreadProxy.cpp

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
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 "CCThreadProxy.h" 7 #include "CCThreadProxy.h"
8 8
9 #include "CCDelayBasedTimeSource.h" 9 #include "CCDelayBasedTimeSource.h"
10 #include "CCDrawQuad.h" 10 #include "CCDrawQuad.h"
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 *capabilities = m_layerTreeHostImpl->rendererCapabilities(); 945 *capabilities = m_layerTreeHostImpl->rendererCapabilities();
946 m_schedulerOnImplThread->didRecreateContext(); 946 m_schedulerOnImplThread->didRecreateContext();
947 } 947 }
948 completion->signal(); 948 completion->signal();
949 } 949 }
950 950
951 void CCThreadProxy::renderingStatsOnImplThread(CCCompletionEvent* completion, CC RenderingStats* stats) 951 void CCThreadProxy::renderingStatsOnImplThread(CCCompletionEvent* completion, CC RenderingStats* stats)
952 { 952 {
953 ASSERT(isImplThread()); 953 ASSERT(isImplThread());
954 m_layerTreeHostImpl->renderingStats(stats); 954 m_layerTreeHostImpl->renderingStats(stats);
955 m_schedulerOnImplThread->renderingStats(stats);
955 completion->signal(); 956 completion->signal();
956 } 957 }
957 958
958 CCThreadProxy::BeginFrameAndCommitState::BeginFrameAndCommitState() 959 CCThreadProxy::BeginFrameAndCommitState::BeginFrameAndCommitState()
959 : monotonicFrameBeginTime(0) 960 : monotonicFrameBeginTime(0)
960 { 961 {
961 } 962 }
962 963
963 CCThreadProxy::BeginFrameAndCommitState::~BeginFrameAndCommitState() 964 CCThreadProxy::BeginFrameAndCommitState::~BeginFrameAndCommitState()
964 { 965 {
965 } 966 }
966 967
967 } // namespace cc 968 } // namespace cc
OLDNEW
« cc/CCRenderingStats.h ('K') | « cc/CCScheduler.cpp ('k') | cc/CCTimeSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698