| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mus.gpu.mojom; | 5 module mus.gpu.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/compositor_frame.mojom"; | 7 import "cc/ipc/compositor_frame.mojom"; |
| 8 import "cc/ipc/returned_resource.mojom"; | 8 import "cc/ipc/returned_resource.mojom"; |
| 9 | 9 |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // This is a public interface implemented by Display clients. | 63 // This is a public interface implemented by Display clients. |
| 64 // Each client implements a single instance of the DisplayClient interface. | 64 // Each client implements a single instance of the DisplayClient interface. |
| 65 interface DisplayClient { | 65 interface DisplayClient { |
| 66 // Clients can register CompositorFrameSinks via the provided |factory|. | 66 // Clients can register CompositorFrameSinks via the provided |factory|. |
| 67 OnClientCreated(uint32 client_id, CompositorFrameSinkFactory factory); | 67 OnClientCreated(uint32 client_id, CompositorFrameSinkFactory factory); |
| 68 | 68 |
| 69 // TODO(fsamuel): OnBeginFrame needs to take a BeginFrameArgs instance per | 69 // TODO(fsamuel): OnBeginFrame needs to take a BeginFrameArgs instance per |
| 70 // cc/output/begin_frame_args.h. | 70 // cc/output/begin_frame_args.h. |
| 71 OnBeginFrame(); | 71 OnBeginFrame(); |
| 72 }; | 72 }; |
| OLD | NEW |