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

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

Issue 672283003: cc: ReadyToDraw notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Match trace event formatting with existing code Created 6 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
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 void CommitVSyncParameters(base::TimeTicks timebase, 101 void CommitVSyncParameters(base::TimeTicks timebase,
102 base::TimeDelta interval); 102 base::TimeDelta interval);
103 void SetEstimatedParentDrawTime(base::TimeDelta draw_time); 103 void SetEstimatedParentDrawTime(base::TimeDelta draw_time);
104 104
105 void SetCanStart(); 105 void SetCanStart();
106 106
107 void SetVisible(bool visible); 107 void SetVisible(bool visible);
108 void SetCanDraw(bool can_draw); 108 void SetCanDraw(bool can_draw);
109 void NotifyReadyToActivate(); 109 void NotifyReadyToActivate();
110 void NotifyReadyToDraw();
110 111
111 void SetNeedsCommit(); 112 void SetNeedsCommit();
112 113
113 void SetNeedsRedraw(); 114 void SetNeedsRedraw();
114 115
115 void SetNeedsAnimate(); 116 void SetNeedsAnimate();
116 117
117 void SetNeedsManageTiles(); 118 void SetNeedsManageTiles();
118 119
119 void SetMaxSwapsPending(int max); 120 void SetMaxSwapsPending(int max);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 250
250 friend class SchedulerFrameSourcesConstructor; 251 friend class SchedulerFrameSourcesConstructor;
251 friend class TestSchedulerFrameSourcesConstructor; 252 friend class TestSchedulerFrameSourcesConstructor;
252 253
253 DISALLOW_COPY_AND_ASSIGN(Scheduler); 254 DISALLOW_COPY_AND_ASSIGN(Scheduler);
254 }; 255 };
255 256
256 } // namespace cc 257 } // namespace cc
257 258
258 #endif // CC_SCHEDULER_SCHEDULER_H_ 259 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698