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/render_pass_id.mojom"; | 8 import "cc/ipc/render_pass_id.mojom"; |
9 import "cc/ipc/shared_quad_state.mojom"; | |
10 import "cc/ipc/surface_id.mojom"; | 9 import "cc/ipc/surface_id.mojom"; |
11 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
12 import "ui/gfx/mojo/transform.mojom"; | |
13 | 11 |
14 struct DebugBorderQuadState { | 12 struct DebugBorderQuadState { |
15 // Debug border color. | 13 // Debug border color. |
16 uint32 color; | 14 uint32 color; |
17 | 15 |
18 // Debug border width. | 16 // Debug border width. |
19 int32 width; | 17 int32 width; |
20 }; | 18 }; |
21 | 19 |
22 struct RenderPassQuadState { | 20 struct RenderPassQuadState { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 TileQuadState? tile_quad_state; | 135 TileQuadState? tile_quad_state; |
138 StreamVideoQuadState? stream_video_quad_state; | 136 StreamVideoQuadState? stream_video_quad_state; |
139 YUVVideoQuadState? yuv_video_quad_state; | 137 YUVVideoQuadState? yuv_video_quad_state; |
140 }; | 138 }; |
141 | 139 |
142 struct QuadList { | 140 struct QuadList { |
143 array<Material> quad_types; | 141 array<Material> quad_types; |
144 array<DrawQuad> quads; | 142 array<DrawQuad> quads; |
145 }; | 143 }; |
146 | 144 |
147 struct RenderPass { | |
148 cc.mojom.RenderPassId id; | |
149 gfx.mojom.Rect output_rect; | |
150 gfx.mojom.Rect damage_rect; | |
151 gfx.mojom.Transform transform_to_root_target; | |
152 bool has_transparent_background; | |
153 array<DrawQuad> quads; | |
154 cc.mojom.SharedQuadStateList shared_quad_states; | |
155 }; | |
OLD | NEW |