| 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 cc.mojom; | 5 module cc.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/filter_operations.mojom"; | 7 import "cc/ipc/filter_operations.mojom"; |
| 8 import "cc/ipc/shared_quad_state.mojom"; | 8 import "cc/ipc/shared_quad_state.mojom"; |
| 9 import "cc/ipc/surface_id.mojom"; | 9 import "cc/ipc/surface_id.mojom"; |
| 10 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 gfx.mojom.Size uv_tex_size; | 97 gfx.mojom.Size uv_tex_size; |
| 98 uint32 y_plane_resource_id; | 98 uint32 y_plane_resource_id; |
| 99 uint32 u_plane_resource_id; | 99 uint32 u_plane_resource_id; |
| 100 uint32 v_plane_resource_id; | 100 uint32 v_plane_resource_id; |
| 101 uint32 a_plane_resource_id; | 101 uint32 a_plane_resource_id; |
| 102 YUVColorSpace color_space; | 102 YUVColorSpace color_space; |
| 103 float resource_offset; | 103 float resource_offset; |
| 104 float resource_multiplier; | 104 float resource_multiplier; |
| 105 uint32 bits_per_channel; | 105 uint32 bits_per_channel; |
| 106 gfx.mojom.ColorSpace video_color_space; | 106 gfx.mojom.ColorSpace video_color_space; |
| 107 bool require_overlay; |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 union DrawQuadState { | 110 union DrawQuadState { |
| 110 DebugBorderQuadState debug_border_quad_state; | 111 DebugBorderQuadState debug_border_quad_state; |
| 111 RenderPassQuadState render_pass_quad_state; | 112 RenderPassQuadState render_pass_quad_state; |
| 112 SolidColorQuadState solid_color_quad_state; | 113 SolidColorQuadState solid_color_quad_state; |
| 113 StreamVideoQuadState stream_video_quad_state; | 114 StreamVideoQuadState stream_video_quad_state; |
| 114 SurfaceQuadState surface_quad_state; | 115 SurfaceQuadState surface_quad_state; |
| 115 TextureQuadState texture_quad_state; | 116 TextureQuadState texture_quad_state; |
| 116 TileQuadState tile_quad_state; | 117 TileQuadState tile_quad_state; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 133 // Allows changing the rect that gets drawn to make it smaller. This value | 134 // Allows changing the rect that gets drawn to make it smaller. This value |
| 134 // should be clipped to |rect|. This rect lives in content space. | 135 // should be clipped to |rect|. This rect lives in content space. |
| 135 bool needs_blending; | 136 bool needs_blending; |
| 136 | 137 |
| 137 // Optionally holds a SharedQuadState (transforms etc) shared by multiple | 138 // Optionally holds a SharedQuadState (transforms etc) shared by multiple |
| 138 // quads. | 139 // quads. |
| 139 SharedQuadState? sqs; | 140 SharedQuadState? sqs; |
| 140 | 141 |
| 141 DrawQuadState draw_quad_state; | 142 DrawQuadState draw_quad_state; |
| 142 }; | 143 }; |
| OLD | NEW |