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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 11418250: [cc] Track the rendering & painting cost of impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | cc/picture.cc » ('j') | cc/picture.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 2426e01cfdc335e0f63345611f9a2d1923f1c985..0b478cf813341b79cff67235dac8745799297fac 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -1614,6 +1614,9 @@ void LayerTreeHostImpl::renderingStats(RenderingStats* stats) const
stats->numImplThreadScrolls = m_numImplThreadScrolls;
stats->numMainThreadScrolls = m_numMainThreadScrolls;
stats->numLayersInLayerTree = m_cumulativeNumLayersInLayerTree;
+
+ if (m_tileManager)
+ m_tileManager->renderingStats(stats);
}
void LayerTreeHostImpl::animateScrollbars(base::TimeTicks time)
« no previous file with comments | « no previous file | cc/picture.cc » ('j') | cc/picture.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698