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

Unified Diff: cc/scheduler_state_machine.h

Issue 11416043: Merge 167537 - Use message passing for BeginFrameAndCommitState and clean up forced commit logic (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1312/src/
Patch Set: 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
===================================================================
--- cc/scheduler_state_machine.h (revision 168251)
+++ cc/scheduler_state_machine.h (working copy)
@@ -93,6 +93,8 @@
// 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
@@ -144,6 +146,7 @@
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