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" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 CCCompletionEvent* m_textureAcquisitionCompletionEventOnImplThread; | 165 CCCompletionEvent* m_textureAcquisitionCompletionEventOnImplThread; |
166 | 166 |
167 scoped_ptr<CCTextureUpdateController> m_currentTextureUpdateControllerOnImpl
Thread; | 167 scoped_ptr<CCTextureUpdateController> m_currentTextureUpdateControllerOnImpl
Thread; |
168 | 168 |
169 // Set when the next draw should post didCommitAndDrawFrame to the main thre
ad. | 169 // Set when the next draw should post didCommitAndDrawFrame to the main thre
ad. |
170 bool m_nextFrameIsNewlyCommittedFrameOnImplThread; | 170 bool m_nextFrameIsNewlyCommittedFrameOnImplThread; |
171 | 171 |
172 bool m_renderVSyncEnabled; | 172 bool m_renderVSyncEnabled; |
173 | 173 |
174 base::TimeDelta m_totalCommitTime; | 174 base::TimeDelta m_totalCommitTime; |
175 size_t m_totalCommitCount; | 175 int64_t m_totalCommitCount; |
176 }; | 176 }; |
177 | 177 |
178 } | 178 } |
179 | 179 |
180 #endif | 180 #endif |
OLD | NEW |