| 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 mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "surfaces/public/interfaces/surface_id.mojom"; | 7 import "surfaces/public/interfaces/surface_id.mojom"; |
| 8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/mojo/geometry/geometry.mojom"; |
| 9 | 9 |
| 10 struct Color { | 10 struct Color { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 SurfaceId surface; | 56 SurfaceId surface; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 struct TextureQuadState { | 59 struct TextureQuadState { |
| 60 uint32 resource_id; | 60 uint32 resource_id; |
| 61 bool premultiplied_alpha; | 61 bool premultiplied_alpha; |
| 62 PointF uv_top_left; | 62 PointF uv_top_left; |
| 63 PointF uv_bottom_right; | 63 PointF uv_bottom_right; |
| 64 Color background_color; | 64 Color background_color; |
| 65 array<float, 4> vertex_opacity; | 65 array<float, 4> vertex_opacity; |
| 66 bool flipped; | 66 bool y_flipped; |
| 67 bool nearest_neighbor; | 67 bool nearest_neighbor; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 struct TileQuadState { | 70 struct TileQuadState { |
| 71 RectF tex_coord_rect; | 71 RectF tex_coord_rect; |
| 72 Size texture_size; | 72 Size texture_size; |
| 73 bool swizzle_contents; | 73 bool swizzle_contents; |
| 74 uint32 resource_id; | 74 uint32 resource_id; |
| 75 bool nearest_neighbor; | 75 bool nearest_neighbor; |
| 76 }; | 76 }; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 struct Pass { | 204 struct Pass { |
| 205 RenderPassId id; | 205 RenderPassId id; |
| 206 Rect output_rect; | 206 Rect output_rect; |
| 207 Rect damage_rect; | 207 Rect damage_rect; |
| 208 Transform transform_to_root_target; | 208 Transform transform_to_root_target; |
| 209 bool has_transparent_background; | 209 bool has_transparent_background; |
| 210 array<Quad> quads; | 210 array<Quad> quads; |
| 211 array<SharedQuadState> shared_quad_states; | 211 array<SharedQuadState> shared_quad_states; |
| 212 }; | 212 }; |
| OLD | NEW |