| 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 CC_SCHEDULER_STATE_MACHINE_H_ |
| 6 #define CCSchedulerStateMachine_h | 6 #define CC_SCHEDULER_STATE_MACHINE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
| 12 | 12 |
| 13 namespace cc { | 13 namespace cc { |
| 14 | 14 |
| 15 // The SchedulerStateMachine decides how to coordinate main thread activites | 15 // The SchedulerStateMachine decides how to coordinate main thread activites |
| 16 // like painting/running javascript with rendering and input activities on the | 16 // like painting/running javascript with rendering and input activities on the |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool m_canDraw; | 152 bool m_canDraw; |
| 153 bool m_drawIfPossibleFailed; | 153 bool m_drawIfPossibleFailed; |
| 154 TextureState m_textureState; | 154 TextureState m_textureState; |
| 155 ContextState m_contextState; | 155 ContextState m_contextState; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); | 157 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } | 160 } |
| 161 | 161 |
| 162 #endif // CCSchedulerStateMachine_h | 162 #endif // CC_SCHEDULER_STATE_MACHINE_H_ |
| OLD | NEW |