OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/quads.mojom"; | 7 import "components/mus/public/interfaces/quads.mojom"; |
8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
9 import "gpu/ipc/common/mailbox_holder.mojom"; | 9 import "gpu/ipc/common/mailbox_holder.mojom"; |
10 import "gpu/ipc/common/sync_token.mojom"; | 10 import "gpu/ipc/common/sync_token.mojom"; |
11 | 11 |
12 enum ResourceFormat { | 12 enum ResourceFormat { |
13 RGBA_8888, | 13 RGBA_8888, |
14 RGBA_4444, | 14 RGBA_4444, |
15 BGRA_8888, | 15 BGRA_8888, |
16 ALPHA_8, | 16 ALPHA_8, |
17 LUMINANCE_8, | 17 LUMINANCE_8, |
18 RGB_565, | 18 RGB_565, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 interface Surface { | 62 interface Surface { |
63 // After the submitted frame is drawn for the first time, the receiver will | 63 // After the submitted frame is drawn for the first time, the receiver will |
64 // respond to the SubmitFrame message. Clients should use this acknowledgement | 64 // respond to the SubmitFrame message. Clients should use this acknowledgement |
65 // to ratelimit frame submissions. | 65 // to ratelimit frame submissions. |
66 SubmitCompositorFrame(CompositorFrame frame) => (); | 66 SubmitCompositorFrame(CompositorFrame frame) => (); |
67 }; | 67 }; |
68 | 68 |
69 interface SurfaceClient { | 69 interface SurfaceClient { |
70 ReturnResources(array<ReturnedResource> resources); | 70 ReturnResources(array<ReturnedResource> resources); |
71 }; | 71 }; |
OLD | NEW |