| 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.
|
|
|