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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase. Created 3 years, 10 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
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f2b9e44a3019fa73fc0731d19a6c0173fe95f2c1..96aff284e98f3a286dd797b8165e697b60795e1e 100644
--- a/cc/ipc/mojo_compositor_frame_sink.mojom
+++ b/cc/ipc/mojo_compositor_frame_sink.mojom
@@ -9,7 +9,7 @@ import "cc/ipc/compositor_frame.mojom";
import "cc/ipc/copy_output_request.mojom";
import "cc/ipc/frame_sink_id.mojom";
import "cc/ipc/local_surface_id.mojom";
-import "cc/ipc/surface_reference.mojom";
+import "cc/ipc/surface_id.mojom";
import "cc/ipc/returned_resource.mojom";
import "cc/ipc/surface_sequence.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
@@ -64,6 +64,10 @@ interface MojoCompositorFrameSinkClient {
// perform privilieged operations on a CompositorFrameSink such as
// CopyOutputRequests.
interface MojoCompositorFrameSinkPrivate {
+ // Claims this FrameSinkId will embed |surface_id| so it should own the
+ // temporary reference to |surface_id|.
+ ClaimTemporaryReference(SurfaceId surface_id);
+
// Requests that the renderer send back a copy of the surface that this
// CompositorFrameSink submits to. The result can be in form of a bitmap
// or a texture. See cc::CopyOutputRequest.
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698