| 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 gfx.mojom; | 5 module gfx.mojom; |
| 6 | 6 |
| 7 // gfx::BufferFormat | 7 // gfx::BufferFormat |
| 8 enum BufferFormat { | 8 enum BufferFormat { |
| 9 ATC, | 9 ATC, |
| 10 ATCIA, | 10 ATCIA, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // gfx::BufferUsage | 28 // gfx::BufferUsage |
| 29 enum BufferUsage { | 29 enum BufferUsage { |
| 30 GPU_READ, | 30 GPU_READ, |
| 31 SCANOUT, | 31 SCANOUT, |
| 32 GPU_READ_CPU_READ_WRITE, | 32 GPU_READ_CPU_READ_WRITE, |
| 33 GPU_READ_CPU_READ_WRITE_PERSISTENT, | 33 GPU_READ_CPU_READ_WRITE_PERSISTENT, |
| 34 | 34 |
| 35 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT | 35 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT |
| 36 }; | 36 }; |
| 37 |
| 38 // gfx::GpuMemoryBufferType |
| 39 enum GpuMemoryBufferType { |
| 40 EMPTY_BUFFER, |
| 41 SHARED_MEMORY_BUFFER, |
| 42 IO_SURFACE_BUFFER, |
| 43 SURFACE_TEXTURE_BUFFER, |
| 44 OZONE_NATIVE_PIXMAP, |
| 45 LAST = OZONE_NATIVE_PIXMAP |
| 46 }; |
| 47 |
| 48 // gfx::GpuMemoryBufferId |
| 49 struct GpuMemoryBufferId { |
| 50 int32 id; |
| 51 }; |
| OLD | NEW |