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