| 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 CCThreadProxy_h | 5 #ifndef CCThreadProxy_h |
| 6 #define CCThreadProxy_h | 6 #define CCThreadProxy_h |
| 7 | 7 |
| 8 #include "CCAnimationEvents.h" | 8 #include "CCAnimationEvents.h" |
| 9 #include "CCCompletionEvent.h" | 9 #include "CCCompletionEvent.h" |
| 10 #include "CCLayerTreeHostImpl.h" | 10 #include "CCLayerTreeHostImpl.h" |
| 11 #include "CCProxy.h" | 11 #include "CCProxy.h" |
| 12 #include "CCScheduler.h" | 12 #include "CCScheduler.h" |
| 13 #include "CCTextureUpdateController.h" | 13 #include "CCTextureUpdateController.h" |
| 14 #include <wtf/OwnPtr.h> | 14 #include <wtf/OwnPtr.h> |
| 15 | 15 |
| 16 namespace WebCore { | 16 namespace cc { |
| 17 | 17 |
| 18 class CCInputHandler; | 18 class CCInputHandler; |
| 19 class CCLayerTreeHost; | 19 class CCLayerTreeHost; |
| 20 class CCScheduler; | 20 class CCScheduler; |
| 21 class CCScopedThreadProxy; | 21 class CCScopedThreadProxy; |
| 22 class CCTextureUpdateQueue; | 22 class CCTextureUpdateQueue; |
| 23 class CCThread; | 23 class CCThread; |
| 24 class CCThreadProxyContextRecreationTimer; | 24 class CCThreadProxyContextRecreationTimer; |
| 25 | 25 |
| 26 class CCThreadProxy : public CCProxy, CCLayerTreeHostImplClient, CCSchedulerClie
nt, CCTextureUpdateControllerClient { | 26 class CCThreadProxy : public CCProxy, CCLayerTreeHostImplClient, CCSchedulerClie
nt, CCTextureUpdateControllerClient { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 // Set when the next draw should post didCommitAndDrawFrame to the main thre
ad. | 173 // Set when the next draw should post didCommitAndDrawFrame to the main thre
ad. |
| 174 bool m_nextFrameIsNewlyCommittedFrameOnImplThread; | 174 bool m_nextFrameIsNewlyCommittedFrameOnImplThread; |
| 175 | 175 |
| 176 bool m_renderVSyncEnabled; | 176 bool m_renderVSyncEnabled; |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } | 179 } |
| 180 | 180 |
| 181 #endif | 181 #endif |
| OLD | NEW |