| Index: ui/gfx/gpu_memory_buffer.h
|
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
|
| index 6b769c8e9ef96f2074002f64cb736c31f8cff796..ee1de2bd424c161b34bb2b811cc3a9a628b702d3 100644
|
| --- a/ui/gfx/gpu_memory_buffer.h
|
| +++ b/ui/gfx/gpu_memory_buffer.h
|
| @@ -18,6 +18,8 @@
|
|
|
| #if defined(USE_OZONE)
|
| #include "ui/gfx/native_pixmap_handle_ozone.h"
|
| +#elif defined(OS_MACOSX)
|
| +#include "ui/gfx/mac/io_surface.h"
|
| #endif
|
|
|
| extern "C" typedef struct _ClientBuffer* ClientBuffer;
|
| @@ -37,6 +39,7 @@ using GpuMemoryBufferId = GenericSharedMemoryId;
|
|
|
| struct GFX_EXPORT GpuMemoryBufferHandle {
|
| GpuMemoryBufferHandle();
|
| + ~GpuMemoryBufferHandle();
|
| bool is_null() const { return type == EMPTY_BUFFER; }
|
| GpuMemoryBufferType type;
|
| GpuMemoryBufferId id;
|
| @@ -45,6 +48,8 @@ struct GFX_EXPORT GpuMemoryBufferHandle {
|
| int32_t stride;
|
| #if defined(USE_OZONE)
|
| NativePixmapHandle native_pixmap_handle;
|
| +#elif defined(OS_MACOSX)
|
| + ScopedRefCountedIOSurfaceMachPort mach_port;
|
| #endif
|
| };
|
|
|
|
|