From e99e83e941ee73edccbaea5ec8313734dd71fe53 Mon Sep 17 00:00:00 2001 From: jaydasika Date: Fri, 29 Jan 2016 11:35:40 -0800 Subject: 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} --- cc/proto/property_tree.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/proto') 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; -- cgit v1.1