| 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 CCScheduler_h | 5 #ifndef CCScheduler_h |
| 6 #define CCScheduler_h | 6 #define CCScheduler_h |
| 7 | 7 |
| 8 #include "CCFrameRateController.h" | 8 #include "CCFrameRateController.h" |
| 9 #include "CCSchedulerStateMachine.h" | 9 #include "CCSchedulerStateMachine.h" |
| 10 | 10 |
| 11 #include <wtf/Noncopyable.h> | 11 #include <wtf/Noncopyable.h> |
| 12 #include <wtf/PassOwnPtr.h> | 12 #include <wtf/PassOwnPtr.h> |
| 13 | 13 |
| 14 namespace WebCore { | 14 namespace cc { |
| 15 | 15 |
| 16 class CCThread; | 16 class CCThread; |
| 17 | 17 |
| 18 struct CCScheduledActionDrawAndSwapResult { | 18 struct CCScheduledActionDrawAndSwapResult { |
| 19 CCScheduledActionDrawAndSwapResult() | 19 CCScheduledActionDrawAndSwapResult() |
| 20 : didDraw(false) | 20 : didDraw(false) |
| 21 , didSwap(false) | 21 , didSwap(false) |
| 22 { | 22 { |
| 23 } | 23 } |
| 24 CCScheduledActionDrawAndSwapResult(bool didDraw, bool didSwap) | 24 CCScheduledActionDrawAndSwapResult(bool didDraw, bool didSwap) |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 CCSchedulerClient* m_client; | 99 CCSchedulerClient* m_client; |
| 100 OwnPtr<CCFrameRateController> m_frameRateController; | 100 OwnPtr<CCFrameRateController> m_frameRateController; |
| 101 CCSchedulerStateMachine m_stateMachine; | 101 CCSchedulerStateMachine m_stateMachine; |
| 102 bool m_hasMoreResourceUpdates; | 102 bool m_hasMoreResourceUpdates; |
| 103 bool m_updateMoreResourcesPending; | 103 bool m_updateMoreResourcesPending; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } | 106 } |
| 107 | 107 |
| 108 #endif // CCScheduler_h | 108 #endif // CCScheduler_h |
| OLD | NEW |