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

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

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/resources/tile_manager_perftest.cc ('k') | 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 28 matching lines...) Expand all
39 virtual void ScheduledActionAnimate() = 0; 39 virtual void ScheduledActionAnimate() = 0;
40 virtual void ScheduledActionCommit() = 0; 40 virtual void ScheduledActionCommit() = 0;
41 virtual void ScheduledActionActivateSyncTree() = 0; 41 virtual void ScheduledActionActivateSyncTree() = 0;
42 virtual void ScheduledActionBeginOutputSurfaceCreation() = 0; 42 virtual void ScheduledActionBeginOutputSurfaceCreation() = 0;
43 virtual void ScheduledActionPrepareTiles() = 0; 43 virtual void ScheduledActionPrepareTiles() = 0;
44 virtual void ScheduledActionInvalidateOutputSurface() = 0; 44 virtual void ScheduledActionInvalidateOutputSurface() = 0;
45 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) = 0; 45 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) = 0;
46 virtual base::TimeDelta DrawDurationEstimate() = 0; 46 virtual base::TimeDelta DrawDurationEstimate() = 0;
47 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() = 0; 47 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() = 0;
48 virtual base::TimeDelta CommitToActivateDurationEstimate() = 0; 48 virtual base::TimeDelta CommitToActivateDurationEstimate() = 0;
49 // TODO(sunnyps): Rename DidBeginImplFrameDeadline to DidFinishImplFrame. 49 virtual void DidFinishImplFrame() = 0;
50 virtual void DidBeginImplFrameDeadline() = 0;
51 virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) = 0; 50 virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) = 0;
52 virtual void SendBeginMainFrameNotExpectedSoon() = 0; 51 virtual void SendBeginMainFrameNotExpectedSoon() = 0;
53 52
54 protected: 53 protected:
55 virtual ~SchedulerClient() {} 54 virtual ~SchedulerClient() {}
56 }; 55 };
57 56
58 class Scheduler; 57 class Scheduler;
59 // This class exists to allow tests to override the frame source construction. 58 // This class exists to allow tests to override the frame source construction.
60 // A virtual method can't be used as this needs to happen in the constructor 59 // A virtual method can't be used as this needs to happen in the constructor
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 252
254 friend class SchedulerFrameSourcesConstructor; 253 friend class SchedulerFrameSourcesConstructor;
255 friend class TestSchedulerFrameSourcesConstructor; 254 friend class TestSchedulerFrameSourcesConstructor;
256 255
257 DISALLOW_COPY_AND_ASSIGN(Scheduler); 256 DISALLOW_COPY_AND_ASSIGN(Scheduler);
258 }; 257 };
259 258
260 } // namespace cc 259 } // namespace cc
261 260
262 #endif // CC_SCHEDULER_SCHEDULER_H_ 261 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/resources/tile_manager_perftest.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698