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 "components/view_manager/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 { |
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 185 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 |