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 ui.mojom; | 5 module ui.mojom; |
6 | 6 |
7 import "gpu/ipc/common/gpu_info.mojom"; | 7 import "gpu/ipc/common/gpu_info.mojom"; |
8 | 8 |
9 interface GpuServiceInternal { | 9 interface GpuServiceInternal { |
10 Initialize() => (gpu.mojom.GpuInfo gpu_info); | 10 Initialize() => (gpu.mojom.GpuInfo gpu_info); |
11 | 11 |
12 // Tells the GPU service to create a new channel for communication with a | 12 // Tells the GPU service to create a new channel for communication with a |
13 // client. The GPU service responds with an IPC handle. | 13 // client. The GPU service responds with an IPC handle. |
14 EstablishGpuChannel(int32 client_id, uint64 client_tracing_id) | 14 EstablishGpuChannel(int32 client_id, |
| 15 uint64 client_tracing_id, |
| 16 bool is_gpu_host) |
15 => (handle<message_pipe> channel_handle); | 17 => (handle<message_pipe> channel_handle); |
16 }; | 18 }; |
OLD | NEW |