| 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; |
| 6 |
| 5 import "mojo/services/public/interfaces/geometry/geometry.mojom"; | 7 import "mojo/services/public/interfaces/geometry/geometry.mojom"; |
| 6 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; | 8 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; |
| 7 | 9 |
| 8 module mojo { | |
| 9 | |
| 10 struct Color { | 10 struct Color { |
| 11 uint32 rgba; | 11 uint32 rgba; |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 // TODO(jamesr): Populate subtype fields. | 14 // TODO(jamesr): Populate subtype fields. |
| 15 struct CheckerboardQuadState {}; | 15 struct CheckerboardQuadState {}; |
| 16 | 16 |
| 17 struct DebugBorderQuadState {}; | 17 struct DebugBorderQuadState {}; |
| 18 | 18 |
| 19 struct IoSurfaceContentQuadState {}; | 19 struct IoSurfaceContentQuadState {}; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 200 |
| 201 struct Pass { | 201 struct Pass { |
| 202 int32 id; | 202 int32 id; |
| 203 Rect output_rect; | 203 Rect output_rect; |
| 204 Rect damage_rect; | 204 Rect damage_rect; |
| 205 Transform transform_to_root_target; | 205 Transform transform_to_root_target; |
| 206 bool has_transparent_background; | 206 bool has_transparent_background; |
| 207 array<Quad> quads; | 207 array<Quad> quads; |
| 208 array<SharedQuadState> shared_quad_states; | 208 array<SharedQuadState> shared_quad_states; |
| 209 }; | 209 }; |
| 210 | |
| 211 } | |
| OLD | NEW |