OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.mojom; | 5 module mus.mojom; |
6 | 6 |
7 import "gpu/ipc/common/capabilities.mojom"; | 7 import "gpu/ipc/common/capabilities.mojom"; |
8 import "gpu/ipc/common/command_buffer.mojom"; | 8 import "gpu/ipc/common/command_buffer.mojom"; |
9 import "gpu/ipc/common/mailbox.mojom"; | 9 import "gpu/ipc/common/mailbox.mojom"; |
10 import "gpu/ipc/common/sync_token.mojom"; | 10 import "gpu/ipc/common/sync_token.mojom"; |
(...skipping 27 matching lines...) Expand all Loading... |
38 array<int32> attribs) => (CommandBufferInitializeResult? result); | 38 array<int32> attribs) => (CommandBufferInitializeResult? result); |
39 SetGetBuffer(int32 buffer); | 39 SetGetBuffer(int32 buffer); |
40 Flush(int32 put_offset); | 40 Flush(int32 put_offset); |
41 MakeProgress(int32 last_get_offset) => (gpu.mojom.CommandBufferState state); | 41 MakeProgress(int32 last_get_offset) => (gpu.mojom.CommandBufferState state); |
42 RegisterTransferBuffer( | 42 RegisterTransferBuffer( |
43 int32 id, handle<shared_buffer> transfer_buffer, uint32 size); | 43 int32 id, handle<shared_buffer> transfer_buffer, uint32 size); |
44 DestroyTransferBuffer(int32 id); | 44 DestroyTransferBuffer(int32 id); |
45 CreateImage(int32 id, | 45 CreateImage(int32 id, |
46 handle memory_handle, | 46 handle memory_handle, |
47 int32 type, | 47 int32 type, |
48 mojo.Size size, | 48 gfx.mojom.Size size, |
49 int32 format, | 49 int32 format, |
50 int32 internal_format); | 50 int32 internal_format); |
51 DestroyImage(int32 id); | 51 DestroyImage(int32 id); |
52 CreateStreamTexture(uint32 client_texture_id) | 52 CreateStreamTexture(uint32 client_texture_id) |
53 => (int32 stream_id, bool succeeded); | 53 => (int32 stream_id, bool succeeded); |
54 TakeFrontBuffer(gpu.mojom.Mailbox mailbox); | 54 TakeFrontBuffer(gpu.mojom.Mailbox mailbox); |
55 ReturnFrontBuffer(gpu.mojom.Mailbox mailbox, bool is_lost); | 55 ReturnFrontBuffer(gpu.mojom.Mailbox mailbox, bool is_lost); |
56 SignalQuery(uint32 query, uint32 signal_id); | 56 SignalQuery(uint32 query, uint32 signal_id); |
57 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id); | 57 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id); |
58 WaitForGetOffsetInRange(int32 start, int32 end) | 58 WaitForGetOffsetInRange(int32 start, int32 end) |
59 => (gpu.mojom.CommandBufferState state); | 59 => (gpu.mojom.CommandBufferState state); |
60 WaitForTokenInRange(int32 start, int32 end) | 60 WaitForTokenInRange(int32 start, int32 end) |
61 => (gpu.mojom.CommandBufferState state); | 61 => (gpu.mojom.CommandBufferState state); |
62 }; | 62 }; |
OLD | NEW |