Chromium Code Reviews| Index: ui/gfx/mojo/buffer_types.mojom |
| diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom |
| index 057831195cb1a521bbf6ddcbf35e4a2eb6fcb131..3ccaa9dfe06c5f60ad19b260dafcb017b2db939e 100644 |
| --- a/ui/gfx/mojo/buffer_types.mojom |
| +++ b/ui/gfx/mojo/buffer_types.mojom |
| @@ -44,7 +44,8 @@ enum GpuMemoryBufferType { |
| SHARED_MEMORY_BUFFER, |
| IO_SURFACE_BUFFER, |
| NATIVE_PIXMAP, |
| - LAST = NATIVE_PIXMAP |
| + DXGI_HANDLE, |
|
dcheng
2017/07/12 08:46:19
Do you mind adding a TODO to make these Windows on
|
| + LAST = DXGI_HANDLE |
| }; |
| // gfx::GpuMemoryBufferId |
| @@ -77,4 +78,6 @@ struct GpuMemoryBufferHandle { |
| uint32 stride; |
| NativePixmapHandle? native_pixmap_handle; |
| handle? mach_port; |
| + handle? win32_handle; |
| + uint32 array_level; |
| }; |