| 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/filter_operations.mojom"; |
| 8 import "cc/ipc/quads.mojom"; | 8 import "cc/ipc/quads.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 import "ui/gfx/mojo/color_space.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 int32 id; | 15 int32 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; |
| 18 cc.mojom.FilterOperations filters; | 19 cc.mojom.FilterOperations filters; |
| 19 cc.mojom.FilterOperations background_filters; | 20 cc.mojom.FilterOperations background_filters; |
| 21 gfx.mojom.ColorSpace color_space; |
| 20 bool has_transparent_background; | 22 bool has_transparent_background; |
| 21 array<DrawQuad> quad_list; | 23 array<DrawQuad> quad_list; |
| 22 }; | 24 }; |
| OLD | NEW |