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 "cc/ipc/render_pass_id.mojom"; | 7 import "cc/ipc/render_pass_id.mojom"; |
8 import "cc/ipc/quads.mojom"; | 8 import "cc/ipc/quads.mojom"; |
9 import "cc/ipc/shared_quad_state.mojom"; | |
10 import "ui/gfx/geometry/mojo/geometry.mojom"; | 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
11 import "ui/gfx/mojo/transform.mojom"; | 10 import "ui/gfx/mojo/transform.mojom"; |
12 | 11 |
13 // See cc/quads/render_pass.h. | 12 // See cc/quads/render_pass.h. |
14 struct RenderPass { | 13 struct RenderPass { |
15 RenderPassId id; | 14 RenderPassId id; |
16 gfx.mojom.Rect output_rect; | 15 gfx.mojom.Rect output_rect; |
17 gfx.mojom.Rect damage_rect; | 16 gfx.mojom.Rect damage_rect; |
18 gfx.mojom.Transform transform_to_root_target; | 17 gfx.mojom.Transform transform_to_root_target; |
19 bool has_transparent_background; | 18 bool has_transparent_background; |
20 QuadList quad_list; | 19 array<DrawQuad> quad_list; |
21 array<uint32> shared_quad_state_references; | |
22 SharedQuadStateList shared_quad_state_list; | |
23 }; | 20 }; |
OLD | NEW |