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

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: Make it work in single tread mode. Get rid of active concept. 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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698