Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use uint64_t and rename variables to *Count Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/time.h" 9 #include "base/time.h"
10 #include "CCAnimationEvents.h" 10 #include "CCAnimationEvents.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 // This is used for ticking animations slowly when hidden. 285 // This is used for ticking animations slowly when hidden.
286 OwnPtr<CCLayerTreeHostImplTimeSourceAdapter> m_timeSourceClientAdapter; 286 OwnPtr<CCLayerTreeHostImplTimeSourceAdapter> m_timeSourceClientAdapter;
287 287
288 CCLayerSorter m_layerSorter; 288 CCLayerSorter m_layerSorter;
289 289
290 // List of visible layers for the most recently prepared frame. Used for 290 // List of visible layers for the most recently prepared frame. Used for
291 // rendering and input event hit testing. 291 // rendering and input event hit testing.
292 CCLayerList m_renderSurfaceLayerList; 292 CCLayerList m_renderSurfaceLayerList;
293 293
294 uint64_t m_animationFrameCount;
294 OwnPtr<CCFrameRateCounter> m_fpsCounter; 295 OwnPtr<CCFrameRateCounter> m_fpsCounter;
295 OwnPtr<CCDebugRectHistory> m_debugRectHistory; 296 OwnPtr<CCDebugRectHistory> m_debugRectHistory;
296 297
297 size_t m_numImplThreadScrolls; 298 uint64_t m_implThreadScrollCount;
298 size_t m_numMainThreadScrolls; 299 uint64_t m_mainThreadScrollCount;
299 300
300 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); 301 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl);
301 }; 302 };
302 303
303 }; 304 };
304 305
305 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698