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

Side by Side Diff: cc/trees/thread_proxy.cc

Issue 1111743002: cc: Adding DidFinishImplFrame to LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing surfaces_scheduler. Created 5 years, 7 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 | « cc/trees/thread_proxy.h ('k') | components/surfaces/surfaces_scheduler.h » ('j') | no next file with comments »
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 "cc/trees/thread_proxy.h" 5 #include "cc/trees/thread_proxy.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 } 1155 }
1156 1156
1157 base::TimeDelta ThreadProxy::BeginMainFrameToCommitDurationEstimate() { 1157 base::TimeDelta ThreadProxy::BeginMainFrameToCommitDurationEstimate() {
1158 return impl().timing_history.BeginMainFrameToCommitDurationEstimate(); 1158 return impl().timing_history.BeginMainFrameToCommitDurationEstimate();
1159 } 1159 }
1160 1160
1161 base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() { 1161 base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() {
1162 return impl().timing_history.CommitToActivateDurationEstimate(); 1162 return impl().timing_history.CommitToActivateDurationEstimate();
1163 } 1163 }
1164 1164
1165 void ThreadProxy::DidBeginImplFrameDeadline() { 1165 void ThreadProxy::DidFinishImplFrame() {
1166 impl().layer_tree_host_impl->ResetCurrentBeginFrameArgsForNextFrame(); 1166 impl().layer_tree_host_impl->DidFinishImplFrame();
1167 } 1167 }
1168 1168
1169 void ThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { 1169 void ThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
1170 NOTREACHED() << "Only used by SingleThreadProxy"; 1170 NOTREACHED() << "Only used by SingleThreadProxy";
1171 } 1171 }
1172 1172
1173 void ThreadProxy::SetAuthoritativeVSyncInterval( 1173 void ThreadProxy::SetAuthoritativeVSyncInterval(
1174 const base::TimeDelta& interval) { 1174 const base::TimeDelta& interval) {
1175 NOTREACHED() << "Only used by SingleThreadProxy"; 1175 NOTREACHED() << "Only used by SingleThreadProxy";
1176 } 1176 }
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 FROM_HERE, base::Bind(&ThreadProxy::DidCompletePageScaleAnimation, 1407 FROM_HERE, base::Bind(&ThreadProxy::DidCompletePageScaleAnimation,
1408 main_thread_weak_ptr_)); 1408 main_thread_weak_ptr_));
1409 } 1409 }
1410 1410
1411 void ThreadProxy::OnDrawForOutputSurface() { 1411 void ThreadProxy::OnDrawForOutputSurface() {
1412 DCHECK(IsImplThread()); 1412 DCHECK(IsImplThread());
1413 impl().scheduler->OnDrawForOutputSurface(); 1413 impl().scheduler->OnDrawForOutputSurface();
1414 } 1414 }
1415 1415
1416 } // namespace cc 1416 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | components/surfaces/surfaces_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698