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 "components/view_manager/public/interfaces/gpu_capabilities.mojom"; | 7 import "components/mus/public/interfaces/gpu_capabilities.mojom"; |
8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/mojo/geometry/geometry.mojom"; |
9 | 9 |
10 struct CommandBufferState { | 10 struct CommandBufferState { |
11 int32 num_entries; | 11 int32 num_entries; |
12 int32 get_offset; | 12 int32 get_offset; |
13 int32 put_offset; | 13 int32 put_offset; |
14 int32 token; | 14 int32 token; |
15 int32 error; // TODO(piman): enum | 15 int32 error; // TODO(piman): enum |
16 int32 context_lost_reason; // TODO(piman): enum | 16 int32 context_lost_reason; // TODO(piman): enum |
17 uint32 generation; | 17 uint32 generation; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 Echo() => (); | 56 Echo() => (); |
57 | 57 |
58 CreateImage(int32 id, | 58 CreateImage(int32 id, |
59 handle memory_handle, | 59 handle memory_handle, |
60 int32 type, | 60 int32 type, |
61 Size size, | 61 Size size, |
62 int32 format, | 62 int32 format, |
63 int32 internal_format); | 63 int32 internal_format); |
64 DestroyImage(int32 id); | 64 DestroyImage(int32 id); |
65 }; | 65 }; |
OLD | NEW |