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

Side by Side Diff: cc/scheduler/scheduler.h

Issue 1415763008: cc: Remove ThreadProxy dependency on LTHI::CurrentBeginFrameArgs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CompositorTimingHistory2
Patch Set: 80 chars Created 5 years, 1 month 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/scheduler/scheduler.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_SCHEDULER_SCHEDULER_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_H_
6 #define CC_SCHEDULER_SCHEDULER_H_ 6 #define CC_SCHEDULER_SCHEDULER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 class SingleThreadTaskRunner; 28 class SingleThreadTaskRunner;
29 } 29 }
30 30
31 namespace cc { 31 namespace cc {
32 32
33 class CompositorTimingHistory; 33 class CompositorTimingHistory;
34 34
35 class SchedulerClient { 35 class SchedulerClient {
36 public: 36 public:
37 virtual void WillBeginImplFrame(const BeginFrameArgs& args) = 0; 37 virtual void WillBeginImplFrame(const BeginFrameArgs& args) = 0;
38 virtual void ScheduledActionSendBeginMainFrame() = 0; 38 virtual void ScheduledActionSendBeginMainFrame(
39 const BeginFrameArgs& args) = 0;
39 virtual DrawResult ScheduledActionDrawAndSwapIfPossible() = 0; 40 virtual DrawResult ScheduledActionDrawAndSwapIfPossible() = 0;
40 virtual DrawResult ScheduledActionDrawAndSwapForced() = 0; 41 virtual DrawResult ScheduledActionDrawAndSwapForced() = 0;
41 virtual void ScheduledActionAnimate() = 0; 42 virtual void ScheduledActionAnimate() = 0;
42 virtual void ScheduledActionCommit() = 0; 43 virtual void ScheduledActionCommit() = 0;
43 virtual void ScheduledActionActivateSyncTree() = 0; 44 virtual void ScheduledActionActivateSyncTree() = 0;
44 virtual void ScheduledActionBeginOutputSurfaceCreation() = 0; 45 virtual void ScheduledActionBeginOutputSurfaceCreation() = 0;
45 virtual void ScheduledActionPrepareTiles() = 0; 46 virtual void ScheduledActionPrepareTiles() = 0;
46 virtual void ScheduledActionInvalidateOutputSurface() = 0; 47 virtual void ScheduledActionInvalidateOutputSurface() = 0;
47 virtual void DidFinishImplFrame() = 0; 48 virtual void DidFinishImplFrame() = 0;
48 virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) = 0; 49 virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) = 0;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 231 }
231 232
232 base::WeakPtrFactory<Scheduler> weak_factory_; 233 base::WeakPtrFactory<Scheduler> weak_factory_;
233 234
234 DISALLOW_COPY_AND_ASSIGN(Scheduler); 235 DISALLOW_COPY_AND_ASSIGN(Scheduler);
235 }; 236 };
236 237
237 } // namespace cc 238 } // namespace cc
238 239
239 #endif // CC_SCHEDULER_SCHEDULER_H_ 240 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698