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

Unified Diff: cc/scheduler_state_machine.h

Issue 11362054: Use message passing for BeginFrameAndCommitState and clean up forced commit logic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows signed/unsigned warning Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler_state_machine.h
diff --git a/cc/scheduler_state_machine.h b/cc/scheduler_state_machine.h
index a3947761ffa940e246bc4c3a9829472e41041290..1ac14ec9ba9c411416be597c918bc4024fb7cc0f 100644
--- a/cc/scheduler_state_machine.h
+++ b/cc/scheduler_state_machine.h
@@ -94,6 +94,8 @@ public:
// As setNeedsCommit(), but ensures the beginFrame will definitely happen even if
// we are not visible.
+ // After this call we expect to go through the forced commit flow and then return
+ // to waiting for a non-forced beginFrame to finish.
void setNeedsForcedCommit();
// Call this only in response to receiving an ACTION_BEGIN_FRAME
@@ -145,6 +147,7 @@ protected:
bool m_needsForcedRedrawAfterNextCommit;
bool m_needsCommit;
bool m_needsForcedCommit;
+ bool m_expectImmediateBeginFrame;
bool m_mainThreadNeedsLayerTextures;
bool m_insideVSync;
bool m_visible;
« no previous file with comments | « cc/scheduler.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698