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

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

Issue 1808373002: cc : Make tree synchronization independent of layer tree hierarchy (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_unittest.cc ('k') | cc/proto/layer_tree_host.proto » ('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 "display_list_recording_source.proto"; 7 import "display_list_recording_source.proto";
8 import "layer_position_constraint.proto"; 8 import "layer_position_constraint.proto";
9 import "point3f.proto"; 9 import "point3f.proto";
10 import "pointf.proto"; 10 import "pointf.proto";
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // A container for a list of dirty layers. 47 // A container for a list of dirty layers.
48 message LayerUpdate { 48 message LayerUpdate {
49 // A list of dirty layers. 49 // A list of dirty layers.
50 repeated LayerProperties layers = 1; 50 repeated LayerProperties layers = 1;
51 } 51 }
52 52
53 message LayerProperties { 53 message LayerProperties {
54 // required 54 // required
55 optional int32 id = 1; 55 optional int32 id = 1;
56 // required
57 optional bool needs_push_properties = 3;
58 // required
59 optional int32 num_dependents_need_push_properties = 4;
60 56
61 // The properties below are only read if |needs_push_properties| is set. 57 // The properties below are only read if |needs_push_properties| is set.
62 // The Layer base class and each descendant have different proto messages 58 // The Layer base class and each descendant have different proto messages
63 // for their specific properties. 59 // for their specific properties.
64 optional BaseLayerProperties base = 5; 60 optional BaseLayerProperties base = 5;
65 61
66 // Only one of these fields may be set per LayerProperties. 62 // Only one of these fields may be set per LayerProperties.
67 // TODO(dtrainor): use a 'oneof' union when it's supported in Chromium. See 63 // TODO(dtrainor): use a 'oneof' union when it's supported in Chromium. See
68 // crbug.com/570371. 64 // crbug.com/570371.
69 optional PictureLayerProperties picture = 6; 65 optional PictureLayerProperties picture = 6;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 131
136 message PictureLayerProperties { 132 message PictureLayerProperties {
137 optional DisplayListRecordingSource recording_source = 1; 133 optional DisplayListRecordingSource recording_source = 1;
138 optional Region invalidation = 2; 134 optional Region invalidation = 2;
139 optional Rect last_updated_visible_layer_rect = 3; 135 optional Rect last_updated_visible_layer_rect = 3;
140 optional bool is_mask = 4; 136 optional bool is_mask = 4;
141 optional bool nearest_neighbor = 5; 137 optional bool nearest_neighbor = 5;
142 138
143 optional int64 update_source_frame_number = 6; 139 optional int64 update_source_frame_number = 6;
144 } 140 }
OLDNEW
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698