| 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 mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "components/mus/public/interfaces/surface_id.mojom"; | 7 import "components/mus/public/interfaces/surface_id.mojom"; |
| 8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 | 9 |
| 10 struct Color { | 10 struct Color { |
| 11 uint32 rgba; | 11 uint32 rgba; |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 struct CheckerboardQuadState { | 14 struct CheckerboardQuadState { |
| 15 // Checkerboard color. | 15 // Checkerboard color. |
| 16 Color color; | 16 Color color; |
| 17 | 17 |
| 18 // The scale factor of checkers. Chromium uses device scale factor for | 18 // The scale factor of checkers. Chromium uses device scale factor for |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 struct Pass { | 222 struct Pass { |
| 223 RenderPassId id; | 223 RenderPassId id; |
| 224 mojo.Rect output_rect; | 224 mojo.Rect output_rect; |
| 225 mojo.Rect damage_rect; | 225 mojo.Rect damage_rect; |
| 226 mojo.Transform transform_to_root_target; | 226 mojo.Transform transform_to_root_target; |
| 227 bool has_transparent_background; | 227 bool has_transparent_background; |
| 228 array<Quad> quads; | 228 array<Quad> quads; |
| 229 array<SharedQuadState> shared_quad_states; | 229 array<SharedQuadState> shared_quad_states; |
| 230 }; | 230 }; |
| OLD | NEW |