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 mojo; | 5 module mojo; |
6 | 6 |
7 import "gpu/public/interfaces/gpu_capabilities.mojom"; | 7 import "gpu/public/interfaces/gpu_capabilities.mojom"; |
8 | 8 |
9 struct CommandBufferState { | 9 struct CommandBufferState { |
10 int32 num_entries; | 10 int32 num_entries; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 RetireSyncPoint(uint32 sync_point); | 44 RetireSyncPoint(uint32 sync_point); |
45 Echo() => (); | 45 Echo() => (); |
46 | 46 |
47 // TODO(piman): sync points | 47 // TODO(piman): sync points |
48 }; | 48 }; |
49 | 49 |
50 interface CommandBufferClient { | 50 interface CommandBufferClient { |
51 DidDestroy(); | 51 DidDestroy(); |
52 LostContext(int32 lost_reason); // TODO(piman): enum | 52 LostContext(int32 lost_reason); // TODO(piman): enum |
53 }; | 53 }; |
OLD | NEW |