summaryrefslogtreecommitdiffstats
path: root/cc/proto
diff options
context:
space:
mode:
authorjaydasika <jaydasika@chromium.org>2016-01-29 11:35:40 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-29 19:37:39 +0000
commite99e83e941ee73edccbaea5ec8313734dd71fe53 (patch)
treee929aa6fcb2fd7c37a6416876769be48f0518c73 /cc/proto
parentd9e62efae7f7f8e42ffe7e6046759f0b7bc73cd1 (diff)
downloadchromium_src-e99e83e941ee73edccbaea5ec8313734dd71fe53.zip
chromium_src-e99e83e941ee73edccbaea5ec8313734dd71fe53.tar.gz
chromium_src-e99e83e941ee73edccbaea5ec8313734dd71fe53.tar.bz2
cc:: Layer with animating opacity should contribute to drawn surface
Right now, layer with animating opacity and opacity 0 draws but does not contribute to drawn surface. This patch also replaces screen_space_opacity_is_aniamting on the effect tree with has_animated_opacity. We don't need to know screen space opacity animation because even if some ancestor has animating opacity, the current layer need not draw if has opacity 0 and itself doesn't animate opacity. BUG=580940, 582021 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1649783004 Cr-Commit-Position: refs/heads/master@{#372397}
Diffstat (limited to 'cc/proto')
-rw-r--r--cc/proto/property_tree.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index f70c8bd..713c60a 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -85,7 +85,7 @@ message EffectNodeData {
optional bool has_copy_request = 4;
optional bool has_background_filters = 5;
optional bool is_drawn = 6;
- optional bool screen_space_opacity_is_animating = 7;
+ optional bool has_animated_opacity = 7;
optional int64 num_copy_requests_in_subtree = 8;
optional int64 transform_id = 9;
optional int64 clip_id = 10;