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