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

Unified Diff: cc/picture_layer_impl.cc

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont expose to extension yet Created 7 years, 10 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/math_util.cc ('k') | cc/picture_layer_tiling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl.cc
diff --git a/cc/picture_layer_impl.cc b/cc/picture_layer_impl.cc
index 1af6e686db1d85c56ae6195651e1455c3944c5f3..25b84bfa77620b576619ac43e82626b1f7a579a7 100644
--- a/cc/picture_layer_impl.cc
+++ b/cc/picture_layer_impl.cc
@@ -225,6 +225,8 @@ void PictureLayerImpl::updateTilePriorities() {
}
WhichTree tree = layerTreeImpl()->IsActiveTree() ? ACTIVE_TREE : PENDING_TREE;
+ bool store_screen_space_quads_on_tiles =
+ layerTreeImpl()->debug_state().traceAllRenderedFrames;
tilings_->UpdateTilePriorities(
tree,
layerTreeImpl()->device_viewport_size(),
@@ -238,7 +240,8 @@ void PictureLayerImpl::updateTilePriorities() {
last_screen_space_transform_,
current_screen_space_transform,
current_source_frame_number,
- current_frame_time);
+ current_frame_time,
+ store_screen_space_quads_on_tiles);
last_screen_space_transform_ = current_screen_space_transform;
last_bounds_ = bounds();
« no previous file with comments | « cc/math_util.cc ('k') | cc/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698