| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |