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/command_buffer/common/capabilities.mojom"; | 7 import "gpu/command_buffer/common/capabilities.mojom"; |
8 import "gpu/command_buffer/common/command_buffer.mojom"; | 8 import "gpu/command_buffer/common/command_buffer.mojom"; |
9 import "gpu/command_buffer/common/mailbox.mojom"; | 9 import "gpu/command_buffer/common/mailbox.mojom"; |
10 import "gpu/command_buffer/common/sync_token.mojom"; | 10 import "gpu/command_buffer/common/sync_token.mojom"; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 mojo.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 ProduceFrontBuffer(gpu.mojom.Mailbox mailbox); |
55 ReturnFrontBuffer(gpu.mojom.Mailbox mailbox, bool is_lost); | |
56 SignalQuery(uint32 query, uint32 signal_id); | 55 SignalQuery(uint32 query, uint32 signal_id); |
57 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id); | 56 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id); |
58 WaitForGetOffsetInRange(int32 start, int32 end) | 57 WaitForGetOffsetInRange(int32 start, int32 end) |
59 => (gpu.mojom.CommandBufferState state); | 58 => (gpu.mojom.CommandBufferState state); |
60 WaitForTokenInRange(int32 start, int32 end) | 59 WaitForTokenInRange(int32 start, int32 end) |
61 => (gpu.mojom.CommandBufferState state); | 60 => (gpu.mojom.CommandBufferState state); |
62 }; | 61 }; |
OLD | NEW |