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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 1019353002: cc: Add priority rects to tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling.cc
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
index b52ba9cdf13fbe5b37f85047ebf71b138d48357e..f304a60e30c13e1b884b3ab9bc1129f987e60769 100644
--- a/cc/resources/picture_layer_tiling.cc
+++ b/cc/resources/picture_layer_tiling.cc
@@ -884,6 +884,11 @@ void PictureLayerTiling::AsValueInto(
base::trace_event::TracedValue* state) const {
state->SetInteger("num_tiles", tiles_.size());
state->SetDouble("content_scale", contents_scale_);
+ MathUtil::AddToTracedValue("visible_rect", current_visible_rect_, state);
+ MathUtil::AddToTracedValue("skewport_rect", current_skewport_rect_, state);
+ MathUtil::AddToTracedValue("soon_rect", current_soon_border_rect_, state);
+ MathUtil::AddToTracedValue("eventually_rect", current_eventually_rect_,
+ state);
MathUtil::AddToTracedValue("tiling_size", tiling_size(), state);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698