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

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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 has_copy_request = 4;
85 optional int64 transform_id = 5; 85 optional bool has_background_filters = 5;
86 optional int64 clip_id = 6; 86 optional bool is_drawn = 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;
87 } 91 }
88 92
89 // This defines the proto used for all types of struct TreeNode. 93 // This defines the proto used for all types of struct TreeNode.
90 message TreeNode { 94 message TreeNode {
91 // The following fields are the base TreeNode properties. This list 95 // The following fields are the base TreeNode properties. This list
92 // corresponds to the data members from struct TreeNode. 96 // corresponds to the data members from struct TreeNode.
93 optional int64 id = 1; 97 optional int64 id = 1;
94 optional int64 parent_id = 2; 98 optional int64 parent_id = 2;
95 optional int64 owner_id = 3; 99 optional int64 owner_id = 3;
96 100
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Proto for class PropertyTrees. 144 // Proto for class PropertyTrees.
141 message PropertyTrees { 145 message PropertyTrees {
142 optional PropertyTree transform_tree = 1; 146 optional PropertyTree transform_tree = 1;
143 optional PropertyTree effect_tree = 2; 147 optional PropertyTree effect_tree = 2;
144 optional PropertyTree clip_tree = 3; 148 optional PropertyTree clip_tree = 3;
145 149
146 optional bool needs_rebuild = 4; 150 optional bool needs_rebuild = 4;
147 optional bool non_root_surfaces_enabled = 5; 151 optional bool non_root_surfaces_enabled = 5;
148 optional int64 sequence_number = 6; 152 optional int64 sequence_number = 6;
149 } 153 }
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698