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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Undid a change on an if condition in exo::Surface::CommitSurfaceHierarchy() 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();
+
// 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();
};
// MojoCompositorFrameSinkPrivate is used by the display compositor host to set

Powered by Google App Engine
This is Rietveld 408576698