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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Code clean up 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 cedd96615e4edc5190470ac314d472cb60c4fd94..f1bad770eedbd41b79585767712b72e51979861c 100644
--- a/cc/ipc/mojo_compositor_frame_sink.mojom
+++ b/cc/ipc/mojo_compositor_frame_sink.mojom
@@ -31,6 +31,8 @@ interface MojoCompositorFrameSink {
SubmitCompositorFrame(cc.mojom.LocalFrameId local_frame_id,
cc.mojom.CompositorFrame frame);
+ EvictFrame();
Fady Samuel 2016/12/01 20:38:46 Add a comment explaining what this does.
Alex Z. 2016/12/06 20:10:40 This is done is the separate CL.
+
// TODO(fsamuel): ReadbackBitmap API would be useful here.
};
@@ -49,6 +51,8 @@ interface MojoCompositorFrameSinkClient {
// Returns resources sent to SubmitCompositorFrame to be reused or freed.
ReclaimResources(ReturnedResourceArray resources);
+
+ WillDrawSurface();
Fady Samuel 2016/12/01 20:38:46 Add a comment explaining when this is called.
Alex Z. 2016/12/06 20:10:41 This is done is the separate CL.
};
// MojoCompositorFrameSinkPrivate is used by the display compositor host to set

Powered by Google App Engine
This is Rietveld 408576698