| 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"; |
| 11 import "skxfermode.proto"; |
| 11 import "synced_property.proto"; | 12 import "synced_property.proto"; |
| 12 import "transform.proto"; | 13 import "transform.proto"; |
| 13 import "vector2df.proto"; | 14 import "vector2df.proto"; |
| 14 | 15 |
| 15 option optimize_for = LITE_RUNTIME; | 16 option optimize_for = LITE_RUNTIME; |
| 16 | 17 |
| 17 package cc.proto; | 18 package cc.proto; |
| 18 | 19 |
| 19 // The messages declared in this file correspond to the classes declared in | 20 // The messages declared in this file correspond to the classes declared in |
| 20 // cc/trees/property_tree.h | 21 // cc/trees/property_tree.h |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 optional int64 target_effect_id = 12; | 80 optional int64 target_effect_id = 12; |
| 80 optional bool applies_local_clip = 6; | 81 optional bool applies_local_clip = 6; |
| 81 optional bool layer_clipping_uses_only_local_clip = 7; | 82 optional bool layer_clipping_uses_only_local_clip = 7; |
| 82 optional bool target_is_clipped = 8; | 83 optional bool target_is_clipped = 8; |
| 83 optional bool layers_are_clipped = 9; | 84 optional bool layers_are_clipped = 9; |
| 84 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 85 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
| 85 optional bool resets_clip = 11; | 86 optional bool resets_clip = 11; |
| 86 } | 87 } |
| 87 | 88 |
| 88 // Proto for struct EffectNodeData. | 89 // Proto for struct EffectNodeData. |
| 89 // NEXT ID: 25 | 90 // NEXT ID: 26 |
| 90 message EffectNodeData { | 91 message EffectNodeData { |
| 91 optional float opacity = 1; | 92 optional float opacity = 1; |
| 92 optional float screen_space_opacity = 2; | 93 optional float screen_space_opacity = 2; |
| 94 optional SkXfermode.Mode blend_mode = 25; |
| 93 optional bool has_render_surface = 3; | 95 optional bool has_render_surface = 3; |
| 94 optional bool has_copy_request = 4; | 96 optional bool has_copy_request = 4; |
| 95 optional bool hidden_by_backface_visibility = 14; | 97 optional bool hidden_by_backface_visibility = 14; |
| 96 optional bool double_sided = 13; | 98 optional bool double_sided = 13; |
| 97 optional bool is_drawn = 6; | 99 optional bool is_drawn = 6; |
| 98 optional bool subtree_hidden = 15; | 100 optional bool subtree_hidden = 15; |
| 99 optional bool has_potential_filter_animation = 21; | 101 optional bool has_potential_filter_animation = 21; |
| 100 optional bool has_potential_opacity_animation = 7; | 102 optional bool has_potential_opacity_animation = 7; |
| 101 optional bool is_currently_animating_filter = 22; | 103 optional bool is_currently_animating_filter = 22; |
| 102 optional bool is_currently_animating_opacity = 16; | 104 optional bool is_currently_animating_opacity = 16; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 optional int64 sequence_number = 6; | 220 optional int64 sequence_number = 6; |
| 219 optional bool is_main_thread = 13; | 221 optional bool is_main_thread = 13; |
| 220 optional bool is_active = 14; | 222 optional bool is_active = 14; |
| 221 optional bool verify_transform_tree_calculations = 16; | 223 optional bool verify_transform_tree_calculations = 16; |
| 222 | 224 |
| 223 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 225 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 224 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 226 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 225 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 227 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 226 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 228 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 227 } | 229 } |
| OLD | NEW |