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 CC_SCHEDULER_STATE_MACHINE_H_ | 5 #ifndef CC_SCHEDULER_STATE_MACHINE_H_ |
6 #define CC_SCHEDULER_STATE_MACHINE_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/base/cc_export.h" |
12 #include "cc/scheduler_settings.h" | 12 #include "cc/scheduler_settings.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 // The SchedulerStateMachine decides how to coordinate main thread activites | 16 // The SchedulerStateMachine decides how to coordinate main thread activites |
17 // like painting/running javascript with rendering and input activities on the | 17 // like painting/running javascript with rendering and input activities on the |
18 // impl thread. | 18 // impl thread. |
19 // | 19 // |
20 // The state machine tracks internal state but is also influenced by external st
ate. | 20 // The state machine tracks internal state but is also influenced by external st
ate. |
21 // Internal state includes things like whether a frame has been requested, while | 21 // Internal state includes things like whether a frame has been requested, while |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 bool m_drawIfPossibleFailed; | 184 bool m_drawIfPossibleFailed; |
185 TextureState m_textureState; | 185 TextureState m_textureState; |
186 OutputSurfaceState m_outputSurfaceState; | 186 OutputSurfaceState m_outputSurfaceState; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); | 188 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); |
189 }; | 189 }; |
190 | 190 |
191 } | 191 } |
192 | 192 |
193 #endif // CC_SCHEDULER_STATE_MACHINE_H_ | 193 #endif // CC_SCHEDULER_STATE_MACHINE_H_ |
OLD | NEW |