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

Unified Diff: services/ui/public/interfaces/gpu/display_compositor.mojom

Issue 2344183002: Move part of display_compositor's interface to cc/ipc (Closed)
Patch Set: nits Created 4 years, 3 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 | « services/ui/gpu/display_compositor/compositor_frame_sink_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/gpu/display_compositor.mojom
diff --git a/services/ui/public/interfaces/gpu/display_compositor.mojom b/services/ui/public/interfaces/gpu/display_compositor.mojom
index 03001f5c2b2fb57881c87bcdd2e0a79b17811730..a97377091409ab01defb991cb69104c71aef8bc1 100644
--- a/services/ui/public/interfaces/gpu/display_compositor.mojom
+++ b/services/ui/public/interfaces/gpu/display_compositor.mojom
@@ -26,29 +26,6 @@ interface CompositorFrameSinkFactory {
CompositorFrameSinkClient client);
};
-// A CompositorFrameSink is an interface for receiving CompositorFrame structs.
-// A CompositorFrame contains the complete output meant for display. Each time a
-// client has a graphical update, and receives an OnBeginFrame, it is
-// responsible for creating a CompositorFrame to update its portion of the
-// screen.
-interface CompositorFrameSink {
- // After the submitted frame is either drawn for the first time by the display
- // compositor or discarded, the callback will be called. Clients should use
- // this acknowledgement to ratelimit frame submissions.
- // TODO(fsamuel): We should support identifying the CF in the callback.
- SubmitCompositorFrame(cc.mojom.CompositorFrame frame) => ();
-
- // Lets the display compositor know that the client wishes to receive the next
- // BeginFrame event.
- SetNeedsBeginFrame(bool needs_begin_frame);
-
- // TODO(fsamuel): ReadbackBitmap API would be useful here.
-};
-
-interface CompositorFrameSinkClient {
- ReturnResources(array<cc.mojom.ReturnedResource> resources);
-};
-
// This is a public interface implemented by Display clients.
// Each client implements a single instance of the DisplayClient interface.
interface DisplayClient {
« no previous file with comments | « services/ui/gpu/display_compositor/compositor_frame_sink_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698