| 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 mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "ui/mojo/geometry/geometry.mojom"; | 7 import "ui/mojo/geometry/geometry.mojom"; |
| 8 import "components/view_manager/public/interfaces/quads.mojom"; | 8 import "components/mus/public/interfaces/quads.mojom"; |
| 9 | 9 |
| 10 enum ResourceFormat { | 10 enum ResourceFormat { |
| 11 RGBA_8888, | 11 RGBA_8888, |
| 12 RGBA_4444, | 12 RGBA_4444, |
| 13 BGRA_8888, | 13 BGRA_8888, |
| 14 ALPHA_8, | 14 ALPHA_8, |
| 15 LUMINANCE_8, | 15 LUMINANCE_8, |
| 16 RGB_565, | 16 RGB_565, |
| 17 ETC1, | 17 ETC1, |
| 18 }; | 18 }; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 interface Surface { | 71 interface Surface { |
| 72 // After the submitted frame is drawn for the first time, the receiver will | 72 // After the submitted frame is drawn for the first time, the receiver will |
| 73 // respond to the SubmitFrame message. Clients should use this acknowledgement | 73 // respond to the SubmitFrame message. Clients should use this acknowledgement |
| 74 // to ratelimit frame submissions. | 74 // to ratelimit frame submissions. |
| 75 SubmitCompositorFrame(CompositorFrame frame) => (); | 75 SubmitCompositorFrame(CompositorFrame frame) => (); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 interface SurfaceClient { | 78 interface SurfaceClient { |
| 79 ReturnResources(array<ReturnedResource> resources); | 79 ReturnResources(array<ReturnedResource> resources); |
| 80 }; | 80 }; |
| OLD | NEW |