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 "rectf.proto"; | 7 import "rectf.proto"; |
8 import "scroll_offset.proto"; | 8 import "scroll_offset.proto"; |
9 import "transform.proto"; | 9 import "transform.proto"; |
10 import "vector2df.proto"; | 10 import "vector2df.proto"; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 optional bool layers_are_clipped = 9; | 74 optional bool layers_are_clipped = 9; |
75 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 75 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
76 optional bool resets_clip = 11; | 76 optional bool resets_clip = 11; |
77 } | 77 } |
78 | 78 |
79 // Proto for struct EffectNodeData. | 79 // Proto for struct EffectNodeData. |
80 message EffectNodeData { | 80 message EffectNodeData { |
81 optional float opacity = 1; | 81 optional float opacity = 1; |
82 optional float screen_space_opacity = 2; | 82 optional float screen_space_opacity = 2; |
83 optional bool has_render_surface = 3; | 83 optional bool has_render_surface = 3; |
84 optional bool has_copy_request = 4; | 84 optional int64 num_copy_requests_in_subtree = 4; |
85 optional bool has_background_filters = 5; | 85 optional int64 transform_id = 5; |
86 optional bool is_drawn = 6; | 86 optional int64 clip_id = 6; |
87 optional bool screen_space_opacity_is_animating = 7; | |
88 optional int64 num_copy_requests_in_subtree = 8; | |
89 optional int64 transform_id = 9; | |
90 optional int64 clip_id = 10; | |
91 } | 87 } |
92 | 88 |
93 message ScrollNodeData { | 89 message ScrollNodeData { |
94 optional bool scrollable = 1; | 90 optional bool scrollable = 1; |
95 optional bool should_scroll_on_main_thread = 2; | 91 optional bool should_scroll_on_main_thread = 2; |
96 optional int32 scroll_blocks_on = 3; | 92 optional int32 scroll_blocks_on = 3; |
97 optional bool contains_non_fast_scrollable_region = 4; | 93 optional bool contains_non_fast_scrollable_region = 4; |
98 optional int64 transform_id = 5; | 94 optional int64 transform_id = 5; |
99 } | 95 } |
100 | 96 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 message PropertyTrees { | 151 message PropertyTrees { |
156 optional PropertyTree transform_tree = 1; | 152 optional PropertyTree transform_tree = 1; |
157 optional PropertyTree effect_tree = 2; | 153 optional PropertyTree effect_tree = 2; |
158 optional PropertyTree clip_tree = 3; | 154 optional PropertyTree clip_tree = 3; |
159 optional PropertyTree scroll_tree = 4; | 155 optional PropertyTree scroll_tree = 4; |
160 | 156 |
161 optional bool needs_rebuild = 5; | 157 optional bool needs_rebuild = 5; |
162 optional bool non_root_surfaces_enabled = 6; | 158 optional bool non_root_surfaces_enabled = 6; |
163 optional int64 sequence_number = 7; | 159 optional int64 sequence_number = 7; |
164 } | 160 } |
OLD | NEW |