summaryrefslogtreecommitdiffstats
path: root/cc/proto
diff options
context:
space:
mode:
authorjaydasika <jaydasika@chromium.org>2016-02-29 16:28:35 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-01 00:29:38 +0000
commit16515f5e0e83c7b091f635333e708bde23ab3bdb (patch)
tree70d9a7e20efeb86d9df279b7030f5e4c35ae6b6d /cc/proto
parent46e95bb6168b76d8664d3dc9bd971d06be4a2fc0 (diff)
downloadchromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.zip
chromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.tar.gz
chromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.tar.bz2
cc : Track opacity changes for damage rect without layer tree hierarchy
Matches the behavior without this CL expect in one case. This patch sets layer property changed even when there is impl only opacity animation and animation changes on main thread. BUG=584512 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1711763004 Cr-Commit-Position: refs/heads/master@{#378341}
Diffstat (limited to 'cc/proto')
-rw-r--r--cc/proto/property_tree.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index bae0efa..77f30f2 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -82,7 +82,7 @@ message ClipNodeData {
}
// Proto for struct EffectNodeData.
-// NEXT ID: 11
+// NEXT ID: 12
message EffectNodeData {
optional float opacity = 1;
optional float screen_space_opacity = 2;
@@ -91,6 +91,7 @@ message EffectNodeData {
optional bool has_background_filters = 5;
optional bool is_drawn = 6;
optional bool has_animated_opacity = 7;
+ optional bool opacity_changed = 11;
optional int64 num_copy_requests_in_subtree = 8;
optional int64 transform_id = 9;
optional int64 clip_id = 10;
@@ -173,7 +174,7 @@ message TransformTreeData {
}
// Proto for class PropertyTrees.
-// NEXT ID: 11
+// NEXT ID: 12
message PropertyTrees {
optional PropertyTree transform_tree = 1;
optional PropertyTree effect_tree = 2;
@@ -182,6 +183,7 @@ message PropertyTrees {
optional bool needs_rebuild = 4;
optional bool non_root_surfaces_enabled = 5;
+ optional bool changed = 11;
optional int64 sequence_number = 6;
optional Vector2dF inner_viewport_container_bounds_delta = 8;