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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CCSchedulerStateMachine_h 5 #ifndef CCSchedulerStateMachine_h
6 #define CCSchedulerStateMachine_h 6 #define CCSchedulerStateMachine_h
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 int m_currentFrameNumber; 138 int m_currentFrameNumber;
139 int m_lastFrameNumberWhereDrawWasCalled; 139 int m_lastFrameNumberWhereDrawWasCalled;
140 int m_consecutiveFailedDraws; 140 int m_consecutiveFailedDraws;
141 int m_maximumNumberOfFailedDrawsBeforeDrawIsForced; 141 int m_maximumNumberOfFailedDrawsBeforeDrawIsForced;
142 bool m_needsRedraw; 142 bool m_needsRedraw;
143 bool m_needsForcedRedraw; 143 bool m_needsForcedRedraw;
144 bool m_needsForcedRedrawAfterNextCommit; 144 bool m_needsForcedRedrawAfterNextCommit;
145 bool m_needsCommit; 145 bool m_needsCommit;
146 bool m_needsForcedCommit; 146 bool m_needsForcedCommit;
147 bool m_expectImmediateBeginFrame;
147 bool m_mainThreadNeedsLayerTextures; 148 bool m_mainThreadNeedsLayerTextures;
148 bool m_insideVSync; 149 bool m_insideVSync;
149 bool m_visible; 150 bool m_visible;
150 bool m_canBeginFrame; 151 bool m_canBeginFrame;
151 bool m_canDraw; 152 bool m_canDraw;
152 bool m_drawIfPossibleFailed; 153 bool m_drawIfPossibleFailed;
153 TextureState m_textureState; 154 TextureState m_textureState;
154 ContextState m_contextState; 155 ContextState m_contextState;
155 156
156 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); 157 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
157 }; 158 };
158 159
159 } 160 }
160 161
161 #endif // CCSchedulerStateMachine_h 162 #endif // CCSchedulerStateMachine_h
OLDNEW
« no previous file with comments | « cc/scheduler.cc ('k') | cc/scheduler_state_machine.cc » ('j') | cc/scheduler_state_machine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698