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 gpu.mojom; | 5 module gpu.mojom; |
6 | 6 |
| 7 import "gpu/ipc/common/dx_diag_node.mojom"; |
7 import "gpu/ipc/common/gpu_info.mojom"; | 8 import "gpu/ipc/common/gpu_info.mojom"; |
8 import "gpu/ipc/common/mailbox.mojom"; | 9 import "gpu/ipc/common/mailbox.mojom"; |
9 import "gpu/ipc/common/mailbox_holder.mojom"; | 10 import "gpu/ipc/common/mailbox_holder.mojom"; |
10 import "gpu/ipc/common/sync_token.mojom"; | 11 import "gpu/ipc/common/sync_token.mojom"; |
11 | 12 |
12 // All functions on this interface echo their arguments to test StructTraits | 13 // All functions on this interface echo their arguments to test StructTraits |
13 // serialization and deserialization. | 14 // serialization and deserialization. |
14 interface TraitsTestService { | 15 interface TraitsTestService { |
15 | 16 |
16 [Sync] | 17 [Sync] |
| 18 EchoDxDiagNode(DxDiagNode d) => (DxDiagNode pass); |
| 19 |
| 20 [Sync] |
17 EchoGpuDevice(GpuDevice g) => (GpuDevice pass); | 21 EchoGpuDevice(GpuDevice g) => (GpuDevice pass); |
18 | 22 |
19 [Sync] | 23 [Sync] |
20 EchoMailbox(Mailbox m) => (Mailbox pass); | 24 EchoMailbox(Mailbox m) => (Mailbox pass); |
21 | 25 |
22 [Sync] | 26 [Sync] |
23 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); | 27 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); |
24 | 28 |
25 [Sync] | 29 [Sync] |
26 EchoSyncToken(SyncToken s) => (SyncToken pass); | 30 EchoSyncToken(SyncToken s) => (SyncToken pass); |
| 31 |
| 32 [Sync] |
| 33 EchoVideoDecodeAcceleratorSupportedProfile( |
| 34 VideoDecodeAcceleratorSupportedProfile v) => |
| 35 (VideoDecodeAcceleratorSupportedProfile pass); |
| 36 |
| 37 [Sync] |
| 38 EchoVideoDecodeAcceleratorCapabilities( |
| 39 VideoDecodeAcceleratorCapabilities v) => |
| 40 (VideoDecodeAcceleratorCapabilities pass); |
| 41 |
| 42 [Sync] |
| 43 EchoVideoEncodeAcceleratorSupportedProfile( |
| 44 VideoEncodeAcceleratorSupportedProfile v) => |
| 45 (VideoEncodeAcceleratorSupportedProfile pass); |
27 }; | 46 }; |
OLD | NEW |