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 int64 num_copy_requests_in_subtree = 4; | 84 optional bool contributes_to_copy_request = 4; |
85 optional int64 transform_id = 5; | 85 optional int64 num_copy_requests_in_subtree = 5; |
86 optional int64 clip_id = 6; | 86 optional int64 transform_id = 6; |
| 87 optional int64 clip_id = 7; |
87 } | 88 } |
88 | 89 |
89 // This defines the proto used for all types of struct TreeNode. | 90 // This defines the proto used for all types of struct TreeNode. |
90 message TreeNode { | 91 message TreeNode { |
91 // The following fields are the base TreeNode properties. This list | 92 // The following fields are the base TreeNode properties. This list |
92 // corresponds to the data members from struct TreeNode. | 93 // corresponds to the data members from struct TreeNode. |
93 optional int64 id = 1; | 94 optional int64 id = 1; |
94 optional int64 parent_id = 2; | 95 optional int64 parent_id = 2; |
95 optional int64 owner_id = 3; | 96 optional int64 owner_id = 3; |
96 | 97 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // Proto for class PropertyTrees. | 141 // Proto for class PropertyTrees. |
141 message PropertyTrees { | 142 message PropertyTrees { |
142 optional PropertyTree transform_tree = 1; | 143 optional PropertyTree transform_tree = 1; |
143 optional PropertyTree effect_tree = 2; | 144 optional PropertyTree effect_tree = 2; |
144 optional PropertyTree clip_tree = 3; | 145 optional PropertyTree clip_tree = 3; |
145 | 146 |
146 optional bool needs_rebuild = 4; | 147 optional bool needs_rebuild = 4; |
147 optional bool non_root_surfaces_enabled = 5; | 148 optional bool non_root_surfaces_enabled = 5; |
148 optional int64 sequence_number = 6; | 149 optional int64 sequence_number = 6; |
149 } | 150 } |
OLD | NEW |