Chromium Code Reviews| Index: ui/gfx/gpu_memory_buffer.h |
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h |
| index 6d23c84ddc76074fc8bd5f13af1460e6b3c70531..56477d5eeaa8186e1fa226f734ac3bdecc12c7b8 100644 |
| --- a/ui/gfx/gpu_memory_buffer.h |
| +++ b/ui/gfx/gpu_memory_buffer.h |
| @@ -33,7 +33,8 @@ enum GpuMemoryBufferType { |
| SHARED_MEMORY_BUFFER, |
| IO_SURFACE_BUFFER, |
| NATIVE_PIXMAP, |
| - GPU_MEMORY_BUFFER_TYPE_LAST = NATIVE_PIXMAP |
| + DXGI_HANDLE, |
|
reveman
2017/07/12 15:04:14
DXGI_BUFFER? as this should represent the storage
|
| + GPU_MEMORY_BUFFER_TYPE_LAST = DXGI_HANDLE |
| }; |
| using GpuMemoryBufferId = GenericSharedMemoryId; |
| @@ -52,6 +53,8 @@ struct GFX_EXPORT GpuMemoryBufferHandle { |
| NativePixmapHandle native_pixmap_handle; |
| #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| ScopedRefCountedIOSurfaceMachPort mach_port; |
| +#elif defined(OS_WIN) |
| + uint32_t array_level = 0; |
| #endif |
| }; |