summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cc/layers/layer_impl.cc2
-rw-r--r--cc/layers/picture_layer_impl.cc8
2 files changed, 10 insertions, 0 deletions
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 1af7727..5b39eb0 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -1415,6 +1415,8 @@ void LayerImpl::AsValueInto(base::debug::TracedValue* state) const {
MathUtil::AddToTracedValue(bounds_, state);
state->EndDictionary();
+ state->SetDouble("opacity", opacity());
+
state->BeginArray("position");
MathUtil::AddToTracedValue(position_, state);
state->EndArray();
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 9dfb054..f14bdc6 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -1409,6 +1409,14 @@ void PictureLayerImpl::AsValueInto(base::debug::TracedValue* state) const {
tilings_->AsValueInto(state);
state->EndArray();
+ state->BeginArray("tile_priority_rect");
+ MathUtil::AddToTracedValue(GetViewportForTilePriorityInContentSpace(), state);
+ state->EndArray();
+
+ state->BeginArray("visible_rect");
+ MathUtil::AddToTracedValue(visible_content_rect(), state);
+ state->EndArray();
+
state->BeginArray("pictures");
pile_->AsValueInto(state);
state->EndArray();