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 "mojo/services/public/interfaces/geometry/geometry.mojom"; | 7 import "mojo/services/geometry/public/interfaces/geometry.mojom"; |
8 import "mojo/services/surfaces/public/interfaces/surface_id.mojom"; | 8 import "mojo/services/surfaces/public/interfaces/surface_id.mojom"; |
9 | 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 {}; |
(...skipping 183 matching lines...) Loading... |
201 | 201 |
202 struct Pass { | 202 struct Pass { |
203 int32 id; | 203 int32 id; |
204 Rect output_rect; | 204 Rect output_rect; |
205 Rect damage_rect; | 205 Rect damage_rect; |
206 Transform transform_to_root_target; | 206 Transform transform_to_root_target; |
207 bool has_transparent_background; | 207 bool has_transparent_background; |
208 array<Quad> quads; | 208 array<Quad> quads; |
209 array<SharedQuadState> shared_quad_states; | 209 array<SharedQuadState> shared_quad_states; |
210 }; | 210 }; |
OLD | NEW |