| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "components/mus/public/interfaces/surface_id.mojom"; | 7 import "components/mus/public/interfaces/surface_id.mojom"; |
| 8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/mojo/geometry/geometry.mojom"; |
| 9 | 9 |
| 10 struct Color { | 10 struct Color { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 uint32 u_plane_resource_id; | 105 uint32 u_plane_resource_id; |
| 106 uint32 v_plane_resource_id; | 106 uint32 v_plane_resource_id; |
| 107 uint32 a_plane_resource_id; | 107 uint32 a_plane_resource_id; |
| 108 YUVColorSpace color_space; | 108 YUVColorSpace color_space; |
| 109 float resource_offset; | 109 float resource_offset; |
| 110 float resource_multiplier; | 110 float resource_multiplier; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 enum Material { | 113 enum Material { |
| 114 DEBUG_BORDER = 1, | 114 DEBUG_BORDER = 1, |
| 115 IO_SURFACE_CONTENT, | |
| 116 PICTURE_CONTENT, | 115 PICTURE_CONTENT, |
| 117 RENDER_PASS, | 116 RENDER_PASS, |
| 118 SOLID_COLOR, | 117 SOLID_COLOR, |
| 119 STREAM_VIDEO_CONTENT, | 118 STREAM_VIDEO_CONTENT, |
| 120 SURFACE_CONTENT, | 119 SURFACE_CONTENT, |
| 121 TEXTURE_CONTENT, | 120 TEXTURE_CONTENT, |
| 122 TILED_CONTENT, | 121 TILED_CONTENT, |
| 123 YUV_VIDEO_CONTENT, | 122 YUV_VIDEO_CONTENT, |
| 124 }; | 123 }; |
| 125 | 124 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 220 |
| 222 struct Pass { | 221 struct Pass { |
| 223 RenderPassId id; | 222 RenderPassId id; |
| 224 mojo.Rect output_rect; | 223 mojo.Rect output_rect; |
| 225 mojo.Rect damage_rect; | 224 mojo.Rect damage_rect; |
| 226 mojo.Transform transform_to_root_target; | 225 mojo.Transform transform_to_root_target; |
| 227 bool has_transparent_background; | 226 bool has_transparent_background; |
| 228 array<Quad> quads; | 227 array<Quad> quads; |
| 229 array<SharedQuadState> shared_quad_states; | 228 array<SharedQuadState> shared_quad_states; |
| 230 }; | 229 }; |
| OLD | NEW |