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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2541683004: Add/remove surface references via MojoCompositorFrameSink. (Closed)
Patch Set: Cleanup. Created 4 years 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: cc/ipc/mojo_compositor_frame_sink.mojom
diff --git a/cc/ipc/mojo_compositor_frame_sink.mojom b/cc/ipc/mojo_compositor_frame_sink.mojom
index 5c6d77e38e494c907a98115ce8aa65301b3db908..284a470fc6319434cedcb0da1640d530648d16d7 100644
--- a/cc/ipc/mojo_compositor_frame_sink.mojom
+++ b/cc/ipc/mojo_compositor_frame_sink.mojom
@@ -8,6 +8,7 @@ import "cc/ipc/begin_frame_args.mojom";
import "cc/ipc/compositor_frame.mojom";
import "cc/ipc/frame_sink_id.mojom";
import "cc/ipc/local_frame_id.mojom";
+import "cc/ipc/surface_reference.mojom";
import "cc/ipc/returned_resource.mojom";
// A MojoCompositorFrameSink is an interface for receiving CompositorFrame
@@ -31,6 +32,12 @@ interface MojoCompositorFrameSink {
SubmitCompositorFrame(cc.mojom.LocalFrameId local_frame_id,
cc.mojom.CompositorFrame frame);
+ // Adds surface references.
+ AddSurfaceReferences(array<SurfaceReference> references);
+
+ // Removes surface references.
+ RemoveSurfaceReferences(array<SurfaceReference> references);
+
// Notify that the surface is no longer in use (and is okay to be evicted) so
// that its resources gets returned in time.
EvictFrame();
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698