| OLD | NEW |
| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 message ClipPathDisplayItem { | 63 message ClipPathDisplayItem { |
| 64 optional cc.proto.SkRegion.Op clip_op = 1; | 64 optional cc.proto.SkRegion.Op clip_op = 1; |
| 65 optional bool antialias = 2; | 65 optional bool antialias = 2; |
| 66 optional bytes clip_path = 3; /* SkPath */ | 66 optional bytes clip_path = 3; /* SkPath */ |
| 67 } | 67 } |
| 68 | 68 |
| 69 message CompositingDisplayItem { | 69 message CompositingDisplayItem { |
| 70 optional uint32 alpha = 1; | 70 optional uint32 alpha = 1; |
| 71 | |
| 72 optional cc.proto.SkXfermode.Mode mode = 2; | 71 optional cc.proto.SkXfermode.Mode mode = 2; |
| 73 optional cc.proto.RectF bounds = 3; | 72 optional cc.proto.RectF bounds = 3; |
| 74 optional bytes color_filter = 4; /* SkColorFilter */ | 73 optional bytes color_filter = 4; /* SkColorFilter */ |
| 74 optional bool lcd_text_requires_opaque_layer = 5; |
| 75 } | 75 } |
| 76 | 76 |
| 77 message DrawingDisplayItem { | 77 message DrawingDisplayItem { |
| 78 optional bytes picture = 1; /* SkPicture */ | 78 optional bytes picture = 1; /* SkPicture */ |
| 79 } | 79 } |
| 80 | 80 |
| 81 message FilterDisplayItem { | 81 message FilterDisplayItem { |
| 82 optional cc.proto.RectF bounds = 1; | 82 optional cc.proto.RectF bounds = 1; |
| 83 | 83 |
| 84 // TODO(dtrainor): Support FilterOperations. | 84 // TODO(dtrainor): Support FilterOperations. |
| 85 } | 85 } |
| 86 | 86 |
| 87 message FloatClipDisplayItem { | 87 message FloatClipDisplayItem { |
| 88 optional cc.proto.RectF clip_rect = 1; | 88 optional cc.proto.RectF clip_rect = 1; |
| 89 } | 89 } |
| 90 | 90 |
| 91 message TransformDisplayItem { | 91 message TransformDisplayItem { |
| 92 optional cc.proto.Transform transform = 1; | 92 optional cc.proto.Transform transform = 1; |
| 93 } | 93 } |
| OLD | NEW |