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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 190697 Created 7 years, 9 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 CC_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 scoped_ptr<PageScaleAnimation> page_scale_animation_; 433 scoped_ptr<PageScaleAnimation> page_scale_animation_;
434 434
435 // This is used for ticking animations slowly when hidden. 435 // This is used for ticking animations slowly when hidden.
436 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; 436 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_;
437 437
438 scoped_ptr<FrameRateCounter> fps_counter_; 438 scoped_ptr<FrameRateCounter> fps_counter_;
439 scoped_ptr<PaintTimeCounter> paint_time_counter_; 439 scoped_ptr<PaintTimeCounter> paint_time_counter_;
440 scoped_ptr<MemoryHistory> memory_history_; 440 scoped_ptr<MemoryHistory> memory_history_;
441 scoped_ptr<DebugRectHistory> debug_rect_history_; 441 scoped_ptr<DebugRectHistory> debug_rect_history_;
442 442
443 int64 num_impl_thread_scrolls_;
444 int64 num_main_thread_scrolls_;
445
446 int64 cumulative_num_layers_drawn_;
447
448 int64 cumulative_num_missing_tiles_;
449
450 size_t last_sent_memory_visible_bytes_; 443 size_t last_sent_memory_visible_bytes_;
451 size_t last_sent_memory_visible_and_nearby_bytes_; 444 size_t last_sent_memory_visible_and_nearby_bytes_;
452 size_t last_sent_memory_use_bytes_; 445 size_t last_sent_memory_use_bytes_;
453 446
454 base::TimeTicks current_frame_time_; 447 base::TimeTicks current_frame_time_;
455 448
456 scoped_ptr<AnimationRegistrar> animation_registrar_; 449 scoped_ptr<AnimationRegistrar> animation_registrar_;
457 450
458 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 451 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
459 452
460 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 453 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
461 }; 454 };
462 455
463 } // namespace cc 456 } // namespace cc
464 457
465 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 458 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698