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

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: 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..83901fe50ecd8c680ab35cfc088a5e93b987e0e4 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.
@@ -46,8 +37,7 @@ interface CompositorFrameSink {
// submitted frame. 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.

Powered by Google App Engine
This is Rietveld 408576698