| 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"; |
| 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 Loading... |
| 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 } |
| OLD | NEW |