| Index: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
|
| index 283f44fd3fbbfc1ceee33532d161aca99c5891df..bcdc58b4b8edab0535123fc4f6cbde304a779f7b 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
|
| @@ -16,15 +16,17 @@ class GpuMemoryBufferImplOzoneNativeBuffer : public GpuMemoryBufferImpl {
|
| unsigned internalformat);
|
| virtual ~GpuMemoryBufferImplOzoneNativeBuffer();
|
|
|
| + // Create an ozone native buffer backed GPU memory buffer with |size| and
|
| + // |internalformat| for |usage| by current process using |client_id|.
|
| static void Create(const gfx::Size& size,
|
| unsigned internalformat,
|
| unsigned usage,
|
| int client_id,
|
| const CreationCallback& callback);
|
|
|
| - // Allocates an Ozone native buffer backed GPU memory buffer with |size| and
|
| - // |internalformat| with usage |usage| for use by |child_id|.
|
| - static void AllocateOzoneNativeBufferForChildId(
|
| + // Allocate an ozone native buffer backed GPU memory buffer with |size| and
|
| + // |internalformat| for |usage| by a child process using |child_client_id|.
|
| + static void AllocateOzoneNativeBufferForChildProcess(
|
| const gfx::Size& size,
|
| unsigned internalformat,
|
| unsigned usage,
|
| @@ -44,10 +46,6 @@ class GpuMemoryBufferImplOzoneNativeBuffer : public GpuMemoryBufferImpl {
|
| virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE;
|
|
|
| private:
|
| - static void OnGpuMemoryBufferCreated(
|
| - const AllocationCallback& callback,
|
| - const gfx::GpuMemoryBufferHandle& handle);
|
| -
|
| gfx::GpuMemoryBufferId id_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplOzoneNativeBuffer);
|
|
|