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

Unified Diff: cc/CCSchedulerStateMachine.h

Issue 10913261: cc: Remove awareness of incremental updates from state machine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « cc/CCScheduler.cpp ('k') | cc/CCSchedulerStateMachine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSchedulerStateMachine.h
diff --git a/cc/CCSchedulerStateMachine.h b/cc/CCSchedulerStateMachine.h
index 330b480ce1d3671280c93be666ac8d3493b56047..6592b80da956b56e19c2f14fe445ec74d67ac5d1 100644
--- a/cc/CCSchedulerStateMachine.h
+++ b/cc/CCSchedulerStateMachine.h
@@ -54,7 +54,7 @@ public:
enum Action {
ACTION_NONE,
ACTION_BEGIN_FRAME,
- ACTION_BEGIN_UPDATE_MORE_RESOURCES,
+ ACTION_BEGIN_UPDATE_RESOURCES,
ACTION_COMMIT,
ACTION_DRAW_IF_POSSIBLE,
ACTION_DRAW_FORCED,
@@ -99,15 +99,15 @@ public:
// Call this only in response to receiving an ACTION_BEGIN_FRAME
// from nextState. Indicates that all painting is complete and that
// updating of compositor resources can begin.
- void beginFrameComplete();
+ void beginFrameComplete(bool hasResourceUpdates);
// Call this only in response to receiving an ACTION_BEGIN_FRAME
// from nextState if the client rejects the beginFrame message.
void beginFrameAborted();
- // Call this only in response to receiving an ACTION_UPDATE_MORE_RESOURCES
- // from nextState. Indicates that the specific update request completed.
- void beginUpdateMoreResourcesComplete(bool morePending);
+ // Call this only in response to receiving an ACTION_BEGIN_UPDATE_RESOURCES
+ // from nextState. Indicates that all resource updates completed.
+ void updateResourcesComplete();
// Request exclusive access to the textures that back single buffered
// layers on behalf of the main thread. Upon acqusition,
@@ -151,7 +151,7 @@ protected:
bool m_needsCommit;
bool m_needsForcedCommit;
bool m_mainThreadNeedsLayerTextures;
- bool m_updateMoreResourcesPending;
+ bool m_updateResourcesCompletePending;
bool m_insideVSync;
bool m_visible;
bool m_canBeginFrame;
« no previous file with comments | « cc/CCScheduler.cpp ('k') | cc/CCSchedulerStateMachine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698