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

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

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp 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
« no previous file with comments | « cc/playback/transform_display_item.cc ('k') | cc/proto/image_serialization_processor.h » ('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";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 message CompositingDisplayItem { 69 message CompositingDisplayItem {
70 optional uint32 alpha = 1; 70 optional uint32 alpha = 1;
71 optional cc.proto.SkXfermode.Mode mode = 2; 71 optional cc.proto.SkXfermode.Mode mode = 2;
72 optional cc.proto.RectF bounds = 3; 72 optional cc.proto.RectF bounds = 3;
73 optional bytes color_filter = 4; /* SkColorFilter */ 73 optional bytes color_filter = 4; /* SkColorFilter */
74 optional bool lcd_text_requires_opaque_layer = 5; 74 optional bool lcd_text_requires_opaque_layer = 5;
75 } 75 }
76 76
77 message SkPictureID {
78 optional uint32 unique_id = 1;
79 }
80
77 message DrawingDisplayItem { 81 message DrawingDisplayItem {
78 optional bytes picture = 1; /* SkPicture */ 82 optional SkPictureID id = 1;
79 } 83 }
80 84
81 message FilterDisplayItem { 85 message FilterDisplayItem {
82 optional cc.proto.RectF bounds = 1; 86 optional cc.proto.RectF bounds = 1;
83 87
84 // TODO(dtrainor): Support FilterOperations. 88 // TODO(dtrainor): Support FilterOperations.
85 } 89 }
86 90
87 message FloatClipDisplayItem { 91 message FloatClipDisplayItem {
88 optional cc.proto.RectF clip_rect = 1; 92 optional cc.proto.RectF clip_rect = 1;
89 } 93 }
90 94
91 message TransformDisplayItem { 95 message TransformDisplayItem {
92 optional cc.proto.Transform transform = 1; 96 optional cc.proto.Transform transform = 1;
93 } 97 }
OLDNEW
« no previous file with comments | « cc/playback/transform_display_item.cc ('k') | cc/proto/image_serialization_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698