Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1201)

Side by Side Diff: cc/proto/property_tree.proto

Issue 1588093004: Compute if a layer is drawn without LayerTree hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698