Chromium Code Reviews| Index: services/ui/gpu/interfaces/gpu_service_internal.mojom |
| diff --git a/services/ui/gpu/interfaces/gpu_service_internal.mojom b/services/ui/gpu/interfaces/gpu_service_internal.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3e97be71f41102656cb61056938c3fd05e645eba |
| --- /dev/null |
| +++ b/services/ui/gpu/interfaces/gpu_service_internal.mojom |
| @@ -0,0 +1,17 @@ |
| +// 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.mojom; |
| + |
| +import "gpu/ipc/common/gpu_info.mojom"; |
| + |
| +interface GpuServiceInternal { |
| + Initialize() => (gpu.mojom.GpuInfo gpu_info); |
| + |
| + // Tells the GPU service to create a new channel for communication with a |
| + // client. The GPU service responds with client ID, IPC handle and |
| + // GPUInfo. |
|
sky
2016/08/24 20:36:56
Update this as GpuInfo comes from Initialize. Is t
sadrul
2016/08/24 21:17:40
Updated the doc.
EstablishGpuChannel() is called
|
| + EstablishGpuChannel() => (int32 client_id, |
| + handle<message_pipe> channel_handle); |
| +}; |