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

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

Issue 2167713002: cc: Delete SurfaceDrawStatus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Scott's comments Created 4 years, 5 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
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 94c48d5772d2fe3fe8367636f59281db53a8d408..03001f5c2b2fb57881c87bcdd2e0a79b17811730 100644
--- a/services/ui/public/interfaces/gpu/display_compositor.mojom
+++ b/services/ui/public/interfaces/gpu/display_compositor.mojom
@@ -7,15 +7,6 @@ module ui.gpu.mojom;
import "cc/ipc/compositor_frame.mojom";
import "cc/ipc/returned_resource.mojom";
-
-// Indicates whether the submitted CompositorFrame has been drawn to the display
-// or has been skipped (e.g. another frame may have been submitted before
-// vblank).
-enum CompositorFrameDrawStatus {
- DRAW_SKIPPED,
- DRAWN
-};
-
// A CompositorFrameSinkFactory represents a single Display client.
// The client (a process) can use this interface to create
// CompositorFrameSinks.
@@ -42,12 +33,10 @@ interface CompositorFrameSinkFactory {
// 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 with the status of the
- // submitted frame. Clients should use this acknowledgement to ratelimit frame
- // submissions.
+ // 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) =>
- (CompositorFrameDrawStatus status);
+ SubmitCompositorFrame(cc.mojom.CompositorFrame frame) => ();
// Lets the display compositor know that the client wishes to receive the next
// BeginFrame event.
« no previous file with comments | « services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698