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 mus.mojom; | 5 module mus.mojom; |
6 | 6 |
7 enum BufferFormat { | 7 enum BufferFormat { |
8 ATC, | 8 ATC, |
9 ATCIA, | 9 ATCIA, |
10 DXT1, | 10 DXT1, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 struct GpuMemoryBufferHandle { | 55 struct GpuMemoryBufferHandle { |
56 GpuMemoryBufferType type; | 56 GpuMemoryBufferType type; |
57 GpuMemoryBufferId id; | 57 GpuMemoryBufferId id; |
58 handle buffer_handle; | 58 handle buffer_handle; |
59 uint32 offset; | 59 uint32 offset; |
60 int32 stride; | 60 int32 stride; |
61 NativePixmapHandle? native_pixmap_handle; | 61 NativePixmapHandle? native_pixmap_handle; |
62 // TODO(fsamuel): Add support for Machports. | 62 // TODO(fsamuel): Add support for Machports. |
63 }; | 63 }; |
OLD | NEW |