| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module cc.mojom; | 5 module cc.mojom; |
| 6 | 6 |
| 7 import "ui/gfx/geometry/mojo/geometry.mojom"; | 7 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 8 import "ui/gfx/mojo/transform.mojom"; | 8 import "ui/gfx/mojo/transform.mojom"; |
| 9 | 9 |
| 10 struct SharedQuadState { | 10 struct SharedQuadState { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 // This rect lives in the target content space. | 21 // This rect lives in the target content space. |
| 22 gfx.mojom.Rect clip_rect; | 22 gfx.mojom.Rect clip_rect; |
| 23 | 23 |
| 24 bool is_clipped; | 24 bool is_clipped; |
| 25 float opacity; | 25 float opacity; |
| 26 // TODO(fsamuel): Change this to an SkXfermode enum once native enums are | 26 // TODO(fsamuel): Change this to an SkXfermode enum once native enums are |
| 27 // supported. | 27 // supported. |
| 28 uint32 blend_mode; | 28 uint32 blend_mode; |
| 29 int32 sorting_context_id; | 29 int32 sorting_context_id; |
| 30 }; | 30 }; |
| 31 | |
| 32 struct SharedQuadStateList { | |
| 33 array<SharedQuadState> shared_quad_states; | |
| 34 }; | |
| OLD | NEW |