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

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

Issue 1055743002: Revert of cc: Make scheduling be driven by vsync for android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('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 #ifndef CC_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 scoped_ptr<AnimationEventsVector> queue) override; 204 scoped_ptr<AnimationEventsVector> queue) override;
205 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 205 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
206 int priority_cutoff) override; 206 int priority_cutoff) override;
207 bool IsInsideDraw() override; 207 bool IsInsideDraw() override;
208 void RenewTreePriority() override; 208 void RenewTreePriority() override;
209 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 209 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
210 base::TimeDelta delay) override; 210 base::TimeDelta delay) override;
211 void DidActivateSyncTree() override; 211 void DidActivateSyncTree() override;
212 void DidPrepareTiles() override; 212 void DidPrepareTiles() override;
213 void DidCompletePageScaleAnimationOnImplThread() override; 213 void DidCompletePageScaleAnimationOnImplThread() override;
214 void OnDrawForOutputSurface() override;
215 214
216 // SchedulerClient implementation 215 // SchedulerClient implementation
217 void WillBeginImplFrame(const BeginFrameArgs& args) override; 216 void WillBeginImplFrame(const BeginFrameArgs& args) override;
218 void ScheduledActionSendBeginMainFrame() override; 217 void ScheduledActionSendBeginMainFrame() override;
219 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 218 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
220 DrawResult ScheduledActionDrawAndSwapForced() override; 219 DrawResult ScheduledActionDrawAndSwapForced() override;
221 void ScheduledActionAnimate() override; 220 void ScheduledActionAnimate() override;
222 void ScheduledActionCommit() override; 221 void ScheduledActionCommit() override;
223 void ScheduledActionActivateSyncTree() override; 222 void ScheduledActionActivateSyncTree() override;
224 void ScheduledActionBeginOutputSurfaceCreation() override; 223 void ScheduledActionBeginOutputSurfaceCreation() override;
225 void ScheduledActionPrepareTiles() override; 224 void ScheduledActionPrepareTiles() override;
226 void ScheduledActionInvalidateOutputSurface() override;
227 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override; 225 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
228 base::TimeDelta DrawDurationEstimate() override; 226 base::TimeDelta DrawDurationEstimate() override;
229 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override; 227 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
230 base::TimeDelta CommitToActivateDurationEstimate() override; 228 base::TimeDelta CommitToActivateDurationEstimate() override;
231 void DidBeginImplFrameDeadline() override; 229 void DidBeginImplFrameDeadline() override;
232 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; 230 void SendBeginFramesToChildren(const BeginFrameArgs& args) override;
233 void SendBeginMainFrameNotExpectedSoon() override; 231 void SendBeginMainFrameNotExpectedSoon() override;
234 232
235 // ResourceUpdateControllerClient implementation 233 // ResourceUpdateControllerClient implementation
236 void ReadyToFinalizeTextureUpdates() override; 234 void ReadyToFinalizeTextureUpdates() override;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 303
306 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 304 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
307 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 305 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
308 306
309 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 307 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
310 }; 308 };
311 309
312 } // namespace cc 310 } // namespace cc
313 311
314 #endif // CC_TREES_THREAD_PROXY_H_ 312 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698