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

Unified Diff: cc/scheduler/scheduler.h

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « cc/resources/tiling_set_raster_queue.cc ('k') | 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 ef52ccf9f7b780a74ebe2b2119d7da451b28110b..1175d7365892e5c53a172f39a5e0e7e3e4887c8c 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -205,6 +205,8 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn,
bool begin_retro_frame_posted_;
std::deque<BeginFrameArgs> begin_retro_frame_args_;
BeginFrameArgs begin_impl_frame_args_;
+ SchedulerStateMachine::BeginImplFrameDeadlineMode
+ begin_impl_frame_deadline_mode_;
base::Closure begin_retro_frame_closure_;
base::Closure begin_unthrottled_frame_closure_;
@@ -221,10 +223,8 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn,
SchedulerStateMachine::Action inside_action_;
private:
- base::TimeTicks AdjustedBeginImplFrameDeadline(
- const BeginFrameArgs& args,
- base::TimeDelta draw_duration_estimate) const;
- void ScheduleBeginImplFrameDeadline(base::TimeTicks deadline);
+ void ScheduleBeginImplFrameDeadline();
+ void RescheduleBeginImplFrameDeadlineIfNeeded();
void SetupNextBeginFrameIfNeeded();
void PostBeginRetroFrameIfNeeded();
void SetupPollingMechanisms(bool needs_begin_frame);
« no previous file with comments | « cc/resources/tiling_set_raster_queue.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698