Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 5a62ea353a456b9092e0a27ce82c5965ad3a47a6..207f5344d7c9d6b4742dff118aa29007c619ef7e 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -8,6 +8,7 @@ |
#include <list> |
#include <set> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/basictypes.h" |
@@ -48,6 +49,7 @@ class LayerTreeImpl; |
class MemoryHistory; |
class PageScaleAnimation; |
class PaintTimeCounter; |
+class PerformanceDrawTimingCounter; |
class PictureLayerImpl; |
class RasterWorkerPool; |
class RenderPassDrawQuad; |
@@ -358,6 +360,9 @@ class CC_EXPORT LayerTreeHostImpl |
FrameRateCounter* fps_counter() { |
return fps_counter_.get(); |
} |
+ PerformanceDrawTimingCounter* draw_counter() { |
+ return draw_counter_.get(); |
+ } |
PaintTimeCounter* paint_time_counter() { |
return paint_time_counter_.get(); |
} |
@@ -620,10 +625,13 @@ class CC_EXPORT LayerTreeHostImpl |
scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; |
scoped_ptr<FrameRateCounter> fps_counter_; |
+ scoped_ptr<PerformanceDrawTimingCounter> draw_counter_; |
scoped_ptr<PaintTimeCounter> paint_time_counter_; |
scoped_ptr<MemoryHistory> memory_history_; |
scoped_ptr<DebugRectHistory> debug_rect_history_; |
+ std::vector <std::pair<int, int64_t> > uncommitted_draw_frame_ids_; |
+ |
scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; |
// The maximum memory that would be used by the prioritized resource |