Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: components/mus/public/interfaces/surface.mojom

Issue 2080383002: cc/ipc: Move CompositorFrame mojoms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « components/mus/public/interfaces/gpu/display_compositor.mojom ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698