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 [Native] | 7 // See gpu/command_buffer/common/constants.h |
8 struct SyncToken; | 8 enum CommandBufferNamespace { |
| 9 INVALID = -1, |
| 10 |
| 11 GPU_IO, |
| 12 IN_PROCESS, |
| 13 MOJO, |
| 14 MOJO_LOCAL, |
| 15 |
| 16 NUM_COMMAND_BUFFER_NAMESPACES |
| 17 }; |
| 18 |
| 19 // See gpu/command_buffer/common/sync_token.h |
| 20 struct SyncToken { |
| 21 bool verified_flush; |
| 22 CommandBufferNamespace namespace_id; |
| 23 int32 extra_data_field; |
| 24 uint64 command_buffer_id; |
| 25 uint64 release_count; |
| 26 }; |
OLD | NEW |