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/color_space.mojom"; |
11 import "ui/gfx/mojo/transform.mojom"; | 11 import "ui/gfx/mojo/transform.mojom"; |
12 | 12 |
13 // See cc/quads/render_pass.h. | 13 // See cc/quads/render_pass.h. |
14 struct RenderPass { | 14 struct RenderPass { |
15 int32 id; | 15 int32 id; |
16 gfx.mojom.Rect output_rect; | 16 gfx.mojom.Rect output_rect; |
17 gfx.mojom.Rect damage_rect; | 17 gfx.mojom.Rect damage_rect; |
18 gfx.mojom.Transform transform_to_root_target; | 18 gfx.mojom.Transform transform_to_root_target; |
19 cc.mojom.FilterOperations filters; | 19 cc.mojom.FilterOperations filters; |
20 cc.mojom.FilterOperations background_filters; | 20 cc.mojom.FilterOperations background_filters; |
21 gfx.mojom.ColorSpace color_space; | 21 gfx.mojom.ColorSpace color_space; |
22 bool has_transparent_background; | 22 bool has_transparent_background; |
| 23 bool force_render_surface = false; |
| 24 bool has_property_change_on_contributing_render_surface = false; |
| 25 bool has_damage_on_surface_quad = false; |
23 array<DrawQuad> quad_list; | 26 array<DrawQuad> quad_list; |
24 }; | 27 }; |
OLD | NEW |