| Index: content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
|
| index c48415bedd3dbe078ddee6b7afa5c6c308808524..61c568c24c2eb3cd494eb063209aa6b81a04bcd4 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
|
| @@ -15,12 +15,14 @@ namespace content {
|
| // Implementation of GPU memory buffer based on IO surfaces.
|
| class GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl {
|
| public:
|
| - static void Create(const gfx::Size& size,
|
| + static void Create(gfx::GpuMemoryBufferId id,
|
| + const gfx::Size& size,
|
| Format format,
|
| int client_id,
|
| const CreationCallback& callback);
|
|
|
| - static void AllocateForChildProcess(const gfx::Size& size,
|
| + static void AllocateForChildProcess(gfx::GpuMemoryBufferId id,
|
| + const gfx::Size& size,
|
| Format format,
|
| int child_client_id,
|
| const AllocationCallback& callback);
|
| @@ -43,7 +45,8 @@ class GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl {
|
| gfx::GpuMemoryBufferHandle GetHandle() const override;
|
|
|
| private:
|
| - GpuMemoryBufferImplIOSurface(const gfx::Size& size,
|
| + GpuMemoryBufferImplIOSurface(gfx::GpuMemoryBufferId id,
|
| + const gfx::Size& size,
|
| Format format,
|
| const DestructionCallback& callback,
|
| IOSurfaceRef io_surface);
|
|
|