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 mojo; | 5 module mojo; |
6 | 6 |
7 import "components/view_manager/public/interfaces/surface_id.mojom"; | 7 import "components/view_manager/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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 Size ya_tex_size; | 102 Size ya_tex_size; |
103 Size uv_tex_size; | 103 Size uv_tex_size; |
104 uint32 y_plane_resource_id; | 104 uint32 y_plane_resource_id; |
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 }; | 109 }; |
110 | 110 |
111 enum Material { | 111 enum Material { |
112 CHECKERBOARD = 1, | 112 DEBUG_BORDER = 1, |
113 DEBUG_BORDER, | |
114 IO_SURFACE_CONTENT, | 113 IO_SURFACE_CONTENT, |
115 PICTURE_CONTENT, | 114 PICTURE_CONTENT, |
116 RENDER_PASS, | 115 RENDER_PASS, |
117 SOLID_COLOR, | 116 SOLID_COLOR, |
118 STREAM_VIDEO_CONTENT, | 117 STREAM_VIDEO_CONTENT, |
119 SURFACE_CONTENT, | 118 SURFACE_CONTENT, |
120 TEXTURE_CONTENT, | 119 TEXTURE_CONTENT, |
121 TILED_CONTENT, | 120 TILED_CONTENT, |
122 YUV_VIDEO_CONTENT, | 121 YUV_VIDEO_CONTENT, |
123 }; | 122 }; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 219 |
221 struct Pass { | 220 struct Pass { |
222 RenderPassId id; | 221 RenderPassId id; |
223 Rect output_rect; | 222 Rect output_rect; |
224 Rect damage_rect; | 223 Rect damage_rect; |
225 Transform transform_to_root_target; | 224 Transform transform_to_root_target; |
226 bool has_transparent_background; | 225 bool has_transparent_background; |
227 array<Quad> quads; | 226 array<Quad> quads; |
228 array<SharedQuadState> shared_quad_states; | 227 array<SharedQuadState> shared_quad_states; |
229 }; | 228 }; |
OLD | NEW |