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

Unified Diff: cc/scheduler/scheduler.h

Issue 1131633003: cc: Use multiple PrepareTiles approaches Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 13daf008cc338935212784a6e4b188215ce54b2e..dbd9dca36a3bf61746fef6145f5d798cd7405fa9 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -108,6 +108,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn {
void SetCanDraw(bool can_draw);
void NotifyReadyToActivate();
void NotifyReadyToDraw();
+ void SetRequiresHighResToDraw(bool required);
void SetThrottleFrameProduction(bool throttle);
void SetNeedsCommit();
@@ -116,7 +117,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn {
void SetNeedsAnimate();
- void SetNeedsPrepareTiles();
+ void SetNeedsPrepareTiles(bool for_commit);
void SetWaitForReadyToDraw();
@@ -129,7 +130,6 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn {
void NotifyReadyToCommit();
void BeginMainFrameAborted(CommitEarlyOutReason reason);
- void DidPrepareTiles();
void DidLoseOutputSurface();
void DidCreateAndInitializeOutputSurface();
@@ -228,6 +228,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn {
void PostBeginRetroFrameIfNeeded();
void SetupPollingMechanisms();
void DrawAndSwapIfPossible();
+ void DrawAndSwapForced();
void ProcessScheduledActions();
bool CanCommitAndActivateBeforeDeadline() const;
void AdvanceCommitStateIfPossible();

Powered by Google App Engine
This is Rietveld 408576698