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

Unified Diff: cc/scheduler/scheduler.h

Issue 536123002: cc: Use Scheduler::BeginFrame() in SingleThreadProxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to private Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index ce3fed783bf8de1012ee2aa40795227f5769b63e..c0fa0bcd60aef12b8c287cac54ab535c43bbff21 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -124,28 +124,11 @@ class CC_EXPORT Scheduler {
void NotifyBeginMainFrameStarted();
base::TimeTicks LastBeginImplFrameTime();
- base::TimeDelta VSyncInterval() { return vsync_interval_; }
- base::TimeDelta EstimatedParentDrawTime() {
- return estimated_parent_draw_time_;
- }
void BeginFrame(const BeginFrameArgs& args);
- void PostBeginRetroFrame();
- void BeginRetroFrame();
- void BeginUnthrottledFrame();
-
- void BeginImplFrame(const BeginFrameArgs& args);
- void OnBeginImplFrameDeadline();
- void PollForAnticipatedDrawTriggers();
- void PollToAdvanceCommitState();
scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const;
- bool IsInsideAction(SchedulerStateMachine::Action action) {
- return inside_action_ == action;
- }
-
- bool IsBeginMainFrameSent() const;
void SetContinuousPainting(bool continuous_painting) {
state_machine_.SetContinuousPainting(continuous_painting);
}
@@ -231,6 +214,22 @@ class CC_EXPORT Scheduler {
void AdvanceCommitStateIfPossible();
bool IsBeginMainFrameSentOrStarted() const;
void SetupSyntheticBeginFrames();
+ void BeginRetroFrame();
+ void BeginUnthrottledFrame();
+ void BeginImplFrame(const BeginFrameArgs& args);
+ void OnBeginImplFrameDeadline();
+ void PollForAnticipatedDrawTriggers();
+ void PollToAdvanceCommitState();
+
+ base::TimeDelta VSyncInterval() { return vsync_interval_; }
+
+ base::TimeDelta EstimatedParentDrawTime() {
+ return estimated_parent_draw_time_;
+ }
+
+ bool IsInsideAction(SchedulerStateMachine::Action action) {
+ return inside_action_ == action;
+ }
base::WeakPtrFactory<Scheduler> weak_factory_;
« 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