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 CCLayerTreeHostImpl_h | 5 #ifndef CCLayerTreeHostImpl_h |
6 #define CCLayerTreeHostImpl_h | 6 #define CCLayerTreeHostImpl_h |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 340 |
341 // List of visible layers for the most recently prepared frame. Used for | 341 // List of visible layers for the most recently prepared frame. Used for |
342 // rendering and input event hit testing. | 342 // rendering and input event hit testing. |
343 CCLayerList m_renderSurfaceLayerList; | 343 CCLayerList m_renderSurfaceLayerList; |
344 | 344 |
345 CCPinchZoomViewport m_pinchZoomViewport; | 345 CCPinchZoomViewport m_pinchZoomViewport; |
346 | 346 |
347 scoped_ptr<CCFrameRateCounter> m_fpsCounter; | 347 scoped_ptr<CCFrameRateCounter> m_fpsCounter; |
348 scoped_ptr<CCDebugRectHistory> m_debugRectHistory; | 348 scoped_ptr<CCDebugRectHistory> m_debugRectHistory; |
349 | 349 |
350 size_t m_numImplThreadScrolls; | 350 int64_t m_animationFrameCount; |
351 size_t m_numMainThreadScrolls; | 351 int64_t m_implThreadScrollCount; |
| 352 int64_t m_mainThreadScrollCount; |
352 | 353 |
353 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); | 354 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); |
354 }; | 355 }; |
355 | 356 |
356 } // namespace cc | 357 } // namespace cc |
357 | 358 |
358 #endif | 359 #endif |
OLD | NEW |