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

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

Issue 1484163002: Raster display item lists via a visual rect RTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head and flip for LayoutInline. Created 4 years, 6 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 "skregion.proto"; 7 import "skregion.proto";
8 import "skrrect.proto"; 8 import "skrrect.proto";
9 import "skxfermode.proto"; 9 import "skxfermode.proto";
10 import "rect.proto"; 10 import "rect.proto";
11 import "rectf.proto"; 11 import "rectf.proto";
12 import "transform.proto"; 12 import "transform.proto";
13 13
14 option optimize_for = LITE_RUNTIME; 14 option optimize_for = LITE_RUNTIME;
15 15
16 package cc.proto; 16 package cc.proto;
17 17
18 message DisplayItemListSettings { 18 message DisplayItemListSettings {
19 optional bool use_cached_picture = 1; 19 optional bool use_cached_picture = 1;
20 } 20 }
21 21
22 message DisplayItemList { 22 message DisplayItemList {
23 repeated DisplayItem items = 1; 23 repeated DisplayItem items = 1;
24 // Deprecated.
vmpstr 2016/06/22 20:14:07 I think at this point in time, we're free to remov
nyquist 2016/06/24 18:31:00 I think that right now it's fine to remove this fi
wkorman 2016/06/24 19:57:14 OK, removed. There are varying opinions on best pr
vmpstr 2016/06/24 20:15:33 I agree with deprecating fields in live code, sinc
24 optional cc.proto.Rect layer_rect = 2; 25 optional cc.proto.Rect layer_rect = 2;
25 optional DisplayItemListSettings settings = 3; 26 optional DisplayItemListSettings settings = 3;
27 repeated cc.proto.Rect visual_rects = 4;
26 } 28 }
27 29
28 message DisplayItem { 30 message DisplayItem {
29 enum Type { 31 enum Type {
30 Type_Clip = 1; 32 Type_Clip = 1;
31 Type_EndClip = 2; 33 Type_EndClip = 2;
32 Type_ClipPath = 3; 34 Type_ClipPath = 3;
33 Type_EndClipPath = 4; 35 Type_EndClipPath = 4;
34 Type_Compositing = 5; 36 Type_Compositing = 5;
35 Type_EndCompositing = 6; 37 Type_EndCompositing = 6;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // TODO(dtrainor): Support FilterOperations. 86 // TODO(dtrainor): Support FilterOperations.
85 } 87 }
86 88
87 message FloatClipDisplayItem { 89 message FloatClipDisplayItem {
88 optional cc.proto.RectF clip_rect = 1; 90 optional cc.proto.RectF clip_rect = 1;
89 } 91 }
90 92
91 message TransformDisplayItem { 93 message TransformDisplayItem {
92 optional cc.proto.Transform transform = 1; 94 optional cc.proto.Transform transform = 1;
93 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698