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

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: Rebasing onto master. 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
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 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 1157
1158 base::TimeDelta ThreadProxy::BeginMainFrameToCommitDurationEstimate() { 1158 base::TimeDelta ThreadProxy::BeginMainFrameToCommitDurationEstimate() {
1159 return impl().timing_history.BeginMainFrameToCommitDurationEstimate(); 1159 return impl().timing_history.BeginMainFrameToCommitDurationEstimate();
1160 } 1160 }
1161 1161
1162 base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() { 1162 base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() {
1163 return impl().timing_history.CommitToActivateDurationEstimate(); 1163 return impl().timing_history.CommitToActivateDurationEstimate();
1164 } 1164 }
1165 1165
1166 void ThreadProxy::DidBeginImplFrameDeadline() { 1166 void ThreadProxy::DidBeginImplFrameDeadline() {
1167 impl().layer_tree_host_impl->ResetCurrentBeginFrameArgsForNextFrame(); 1167 impl().layer_tree_host_impl->DidBeginImplFrameDeadline();
1168 } 1168 }
1169 1169
1170 void ThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { 1170 void ThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
1171 NOTREACHED() << "Only used by SingleThreadProxy"; 1171 NOTREACHED() << "Only used by SingleThreadProxy";
1172 } 1172 }
1173 1173
1174 void ThreadProxy::SetAuthoritativeVSyncInterval( 1174 void ThreadProxy::SetAuthoritativeVSyncInterval(
1175 const base::TimeDelta& interval) { 1175 const base::TimeDelta& interval) {
1176 NOTREACHED() << "Only used by SingleThreadProxy"; 1176 NOTREACHED() << "Only used by SingleThreadProxy";
1177 } 1177 }
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 FROM_HERE, base::Bind(&ThreadProxy::DidCompletePageScaleAnimation, 1408 FROM_HERE, base::Bind(&ThreadProxy::DidCompletePageScaleAnimation,
1409 main_thread_weak_ptr_)); 1409 main_thread_weak_ptr_));
1410 } 1410 }
1411 1411
1412 void ThreadProxy::OnDrawForOutputSurface() { 1412 void ThreadProxy::OnDrawForOutputSurface() {
1413 DCHECK(IsImplThread()); 1413 DCHECK(IsImplThread());
1414 impl().scheduler->OnDrawForOutputSurface(); 1414 impl().scheduler->OnDrawForOutputSurface();
1415 } 1415 }
1416 1416
1417 } // namespace cc 1417 } // namespace cc
OLDNEW
« cc/trees/single_thread_proxy.cc ('K') | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698