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

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

Issue 1626513003: Add ScrollTree builder and unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the protobuf indices 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 "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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 optional PictureLayerProperties picture = 6; 69 optional PictureLayerProperties picture = 6;
70 } 70 }
71 71
72 message BaseLayerProperties { 72 message BaseLayerProperties {
73 optional Point3F transform_origin = 1; 73 optional Point3F transform_origin = 1;
74 optional uint32 background_color = 2; 74 optional uint32 background_color = 2;
75 optional Size bounds = 3; 75 optional Size bounds = 3;
76 optional int64 transform_free_index = 4; 76 optional int64 transform_free_index = 4;
77 optional int64 effect_tree_index = 5; 77 optional int64 effect_tree_index = 5;
78 optional int64 clip_tree_index = 6; 78 optional int64 clip_tree_index = 6;
79 // NEXT ID: 51
David Trainor- moved to gerrit 2016/01/26 16:34:56 Ah sorry! Can you put this up top?
sunxd 2016/01/26 16:39:43 My bad :), move it to the top now. Thanks for poin
80 optional int64 scroll_tree_index = 50;
79 optional Vector2dF offset_to_transform_parent = 7; 81 optional Vector2dF offset_to_transform_parent = 7;
80 optional bool double_sided = 8; 82 optional bool double_sided = 8;
81 optional bool draws_content = 9; 83 optional bool draws_content = 9;
82 optional bool hide_layer_and_subtree = 10; 84 optional bool hide_layer_and_subtree = 10;
83 optional bool has_render_surface = 11; 85 optional bool has_render_surface = 11;
84 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321. 86 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321.
85 // repeated FilterOperation filters = 12; 87 // repeated FilterOperation filters = 12;
86 // repeated FilterOperation background_filters = 13; 88 // repeated FilterOperation background_filters = 13;
87 optional bool masks_to_bounds = 14; 89 optional bool masks_to_bounds = 14;
88 optional uint32 main_thread_scrolling_reasons = 15; 90 optional uint32 main_thread_scrolling_reasons = 15;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 135
134 message PictureLayerProperties { 136 message PictureLayerProperties {
135 optional DisplayListRecordingSource recording_source = 1; 137 optional DisplayListRecordingSource recording_source = 1;
136 optional Region invalidation = 2; 138 optional Region invalidation = 2;
137 optional Rect last_updated_visible_layer_rect = 3; 139 optional Rect last_updated_visible_layer_rect = 3;
138 optional bool is_mask = 4; 140 optional bool is_mask = 4;
139 optional bool nearest_neighbor = 5; 141 optional bool nearest_neighbor = 5;
140 142
141 optional int64 update_source_frame_number = 6; 143 optional int64 update_source_frame_number = 6;
142 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698