| 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"; |
| 11 import "ui/mojo/geometry/geometry.mojom"; | 11 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 12 | 12 |
| 13 struct CommandBufferInitializeResult { | 13 struct CommandBufferInitializeResult { |
| 14 int32 command_buffer_namespace; | 14 int32 command_buffer_namespace; |
| 15 uint64 command_buffer_id; | 15 uint64 command_buffer_id; |
| 16 gpu.mojom.Capabilities capabilities; | 16 gpu.mojom.Capabilities capabilities; |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 interface CommandBufferClient { | 19 interface CommandBufferClient { |
| 20 Destroyed(int32 context_lost_reason, | 20 Destroyed(int32 context_lost_reason, |
| 21 int32 error); | 21 int32 error); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |