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

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

Issue 2550833002: Mus: Delete services/ui/public/interfaces/gpu (Closed)
Patch Set: 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: 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
deleted file mode 100644
index a97377091409ab01defb991cb69104c71aef8bc1..0000000000000000000000000000000000000000
--- a/services/ui/public/interfaces/gpu/display_compositor.mojom
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module ui.gpu.mojom;
-
-import "cc/ipc/compositor_frame.mojom";
-import "cc/ipc/returned_resource.mojom";
-
-// A CompositorFrameSinkFactory represents a single Display client.
-// The client (a process) can use this interface to create
-// CompositorFrameSinks.
-// TODO(fsamuel): This needs a better name.
-interface CompositorFrameSinkFactory {
- // Requests a CompositorFrameSink interface from the display compositor.
- // A CompositorFrameSink has an associated ID consisting of three components:
- // 1. Namespace picked by the service associated with this
- // CompositorFrameSinkFactory.
- // 2. |local_id| which is a monotonically increasing ID allocated by the
- // client.
- // 3. |nonce| is a cryptographically secure random number making this Sink
- // unguessable by other clients.
- CreateCompositorFrameSink(uint32 local_id,
- uint64 nonce,
- CompositorFrameSink& sink,
- CompositorFrameSinkClient client);
-};
-
-// This is a public interface implemented by Display clients.
-// Each client implements a single instance of the DisplayClient interface.
-interface DisplayClient {
- // Clients can register CompositorFrameSinks via the provided |factory|.
- OnClientCreated(uint32 client_id, CompositorFrameSinkFactory factory);
-
- // TODO(fsamuel): OnBeginFrame needs to take a BeginFrameArgs instance per
- // cc/output/begin_frame_args.h.
- OnBeginFrame();
-};
« no previous file with comments | « services/ui/public/interfaces/gpu/OWNERS ('k') | services/ui/public/interfaces/gpu/display_compositor_host.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698