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

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

Issue 2225563002: Reland "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. Created 4 years, 4 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/playback/recording_source.cc ('k') | cc/test/fake_content_layer_client.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 "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 optional cc.proto.Rect layer_rect = 2;
25 optional DisplayItemListSettings settings = 3; 24 optional DisplayItemListSettings settings = 3;
25 repeated cc.proto.Rect visual_rects = 4;
26 } 26 }
27 27
28 message DisplayItem { 28 message DisplayItem {
29 enum Type { 29 enum Type {
30 Type_Clip = 1; 30 Type_Clip = 1;
31 Type_EndClip = 2; 31 Type_EndClip = 2;
32 Type_ClipPath = 3; 32 Type_ClipPath = 3;
33 Type_EndClipPath = 4; 33 Type_EndClipPath = 4;
34 Type_Compositing = 5; 34 Type_Compositing = 5;
35 Type_EndCompositing = 6; 35 Type_EndCompositing = 6;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // TODO(dtrainor): Support FilterOperations. 88 // TODO(dtrainor): Support FilterOperations.
89 } 89 }
90 90
91 message FloatClipDisplayItem { 91 message FloatClipDisplayItem {
92 optional cc.proto.RectF clip_rect = 1; 92 optional cc.proto.RectF clip_rect = 1;
93 } 93 }
94 94
95 message TransformDisplayItem { 95 message TransformDisplayItem {
96 optional cc.proto.Transform transform = 1; 96 optional cc.proto.Transform transform = 1;
97 } 97 }
OLDNEW
« no previous file with comments | « cc/playback/recording_source.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698