OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 import "element_id.proto"; | 7 import "element_id.proto"; |
8 import "rectf.proto"; | 8 import "rectf.proto"; |
9 import "scroll_offset.proto"; | 9 import "scroll_offset.proto"; |
10 import "size.proto"; | 10 import "size.proto"; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 optional int64 target_effect_id = 12; | 79 optional int64 target_effect_id = 12; |
80 optional bool applies_local_clip = 6; | 80 optional bool applies_local_clip = 6; |
81 optional bool layer_clipping_uses_only_local_clip = 7; | 81 optional bool layer_clipping_uses_only_local_clip = 7; |
82 optional bool target_is_clipped = 8; | 82 optional bool target_is_clipped = 8; |
83 optional bool layers_are_clipped = 9; | 83 optional bool layers_are_clipped = 9; |
84 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 84 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
85 optional bool resets_clip = 11; | 85 optional bool resets_clip = 11; |
86 } | 86 } |
87 | 87 |
88 // Proto for struct EffectNodeData. | 88 // Proto for struct EffectNodeData. |
89 // NEXT ID: 21 | 89 // NEXT ID: 23 |
90 message EffectNodeData { | 90 message EffectNodeData { |
91 optional float opacity = 1; | 91 optional float opacity = 1; |
92 optional float screen_space_opacity = 2; | 92 optional float screen_space_opacity = 2; |
93 optional bool has_render_surface = 3; | 93 optional bool has_render_surface = 3; |
94 optional bool has_copy_request = 4; | 94 optional bool has_copy_request = 4; |
95 optional bool hidden_by_backface_visibility = 14; | 95 optional bool hidden_by_backface_visibility = 14; |
96 optional bool double_sided = 13; | 96 optional bool double_sided = 13; |
97 optional bool is_drawn = 6; | 97 optional bool is_drawn = 6; |
98 optional bool subtree_hidden = 15; | 98 optional bool subtree_hidden = 15; |
99 optional bool has_potential_filter_animation = 21; | |
99 optional bool has_potential_opacity_animation = 7; | 100 optional bool has_potential_opacity_animation = 7; |
101 optional bool is_currently_animating_filter = 22; | |
jaydasika
2016/07/20 21:00:36
Since filters and background filters are no longer
ajuma
2016/07/21 16:42:18
Copied the TODO. I think the one in layer.proto is
| |
100 optional bool is_currently_animating_opacity = 16; | 102 optional bool is_currently_animating_opacity = 16; |
101 optional bool effect_changed = 11; | 103 optional bool effect_changed = 11; |
102 optional int64 num_copy_requests_in_subtree = 8; | 104 optional int64 num_copy_requests_in_subtree = 8; |
103 optional int64 transform_id = 9; | 105 optional int64 transform_id = 9; |
104 optional int64 clip_id = 10; | 106 optional int64 clip_id = 10; |
105 optional int64 target_id = 12; | 107 optional int64 target_id = 12; |
106 optional int64 mask_layer_id = 17; | 108 optional int64 mask_layer_id = 17; |
107 optional int64 replica_layer_id = 18; | 109 optional int64 replica_layer_id = 18; |
108 optional int64 replica_mask_layer_id = 19; | 110 optional int64 replica_mask_layer_id = 19; |
109 optional Vector2dF surface_contents_scale = 20; | 111 optional Vector2dF surface_contents_scale = 20; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
212 optional bool full_tree_damaged = 12; | 214 optional bool full_tree_damaged = 12; |
213 optional int64 sequence_number = 6; | 215 optional int64 sequence_number = 6; |
214 optional bool is_main_thread = 13; | 216 optional bool is_main_thread = 13; |
215 optional bool is_active = 14; | 217 optional bool is_active = 14; |
216 | 218 |
217 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 219 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
218 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 220 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
219 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 221 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
220 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 222 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
221 } | 223 } |
OLD | NEW |