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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments 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
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698