| Index: components/mus/public/interfaces/surface.mojom
|
| diff --git a/components/mus/public/interfaces/compositor_frame.mojom b/components/mus/public/interfaces/surface.mojom
|
| similarity index 58%
|
| rename from components/mus/public/interfaces/compositor_frame.mojom
|
| rename to components/mus/public/interfaces/surface.mojom
|
| index d01f82915726116b316f07e02f8cb82b3c6f54e0..2c531d3729c76a079b05a17c58370d4cb254cba7 100644
|
| --- a/components/mus/public/interfaces/compositor_frame.mojom
|
| +++ b/components/mus/public/interfaces/surface.mojom
|
| @@ -4,20 +4,8 @@
|
|
|
| module mus.mojom;
|
|
|
| -import "cc/ipc/compositor_frame_metadata.mojom";
|
| -import "cc/ipc/quads.mojom";
|
| +import "cc/ipc/compositor_frame.mojom";
|
| import "cc/ipc/returned_resource.mojom";
|
| -import "cc/ipc/transferable_resource.mojom";
|
| -import "ui/gfx/geometry/mojo/geometry.mojom";
|
| -import "gpu/ipc/common/mailbox_holder.mojom";
|
| -import "gpu/ipc/common/sync_token.mojom";
|
| -
|
| -// See src/cc/output/compositor_frame.h.
|
| -struct CompositorFrame {
|
| - cc.mojom.CompositorFrameMetadata metadata;
|
| - array<cc.mojom.TransferableResource> resources;
|
| - array<cc.mojom.RenderPass> passes;
|
| -};
|
|
|
| // A Surface is an interface for receiving CompositorFrame structs. This is a
|
| // separate interface to allow CompositorFrames to be delivered from
|
| @@ -26,7 +14,7 @@ interface Surface {
|
| // After the submitted frame is drawn for the first time, the receiver will
|
| // respond to the SubmitFrame message. Clients should use this acknowledgement
|
| // to ratelimit frame submissions.
|
| - SubmitCompositorFrame(CompositorFrame frame) => ();
|
| + SubmitCompositorFrame(cc.mojom.CompositorFrame frame) => ();
|
| };
|
|
|
| interface SurfaceClient {
|
|
|