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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 397443002: [not for review] Add Draw entries to window Performance Timeline Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use damage rect not viewport rect Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64e20993ca10a46e7c92eb6d087680bb854c9d79..e23b65244d37423f4c25124c22112e5440601586 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"
@@ -56,6 +57,7 @@ class RenderPassDrawQuad;
class RenderingStatsInstrumentation;
class ResourcePool;
class ScrollbarLayerImplBase;
+class SmoothnessTimingTracker;
class TextureMailboxDeleter;
class TopControlsManager;
class UIResourceBitmap;
@@ -366,6 +368,9 @@ class CC_EXPORT LayerTreeHostImpl
FrameRateCounter* fps_counter() {
return fps_counter_.get();
}
+ SmoothnessTimingTracker* smoothness_tracker() {
+ return smoothness_tracker_.get();
+ }
PaintTimeCounter* paint_time_counter() {
return paint_time_counter_.get();
}
@@ -637,10 +642,13 @@ class CC_EXPORT LayerTreeHostImpl
scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_;
scoped_ptr<FrameRateCounter> fps_counter_;
+ scoped_ptr<SmoothnessTimingTracker> smoothness_tracker_;
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_composite_ids_;
+
scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
// The maximum memory that would be used by the prioritized resource
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698