| Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
|
| index bb26debc7d48e705a3509b0a4030e1d80c9e94c7..fedeae774ba5650c8a8f37c9b7484000308df404 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
|
| @@ -17,24 +17,25 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl {
|
| static scoped_ptr<GpuMemoryBufferImpl> Create(
|
| gfx::GpuMemoryBufferId id,
|
| const gfx::Size& size,
|
| - Format format,
|
| + gfx::BufferFormat format,
|
| const DestructionCallback& callback);
|
|
|
| static gfx::GpuMemoryBufferHandle AllocateForChildProcess(
|
| gfx::GpuMemoryBufferId id,
|
| const gfx::Size& size,
|
| - Format format,
|
| + gfx::BufferFormat format,
|
| base::ProcessHandle child_process);
|
|
|
| static scoped_ptr<GpuMemoryBufferImpl> CreateFromHandle(
|
| const gfx::GpuMemoryBufferHandle& handle,
|
| const gfx::Size& size,
|
| - Format format,
|
| + gfx::BufferFormat format,
|
| const DestructionCallback& callback);
|
|
|
| - static bool IsFormatSupported(Format format);
|
| - static bool IsUsageSupported(Usage usage);
|
| - static bool IsSizeValidForFormat(const gfx::Size& size, Format format);
|
| + static bool IsFormatSupported(gfx::BufferFormat format);
|
| + static bool IsUsageSupported(gfx::BufferUsage usage);
|
| + static bool IsSizeValidForFormat(const gfx::Size& size,
|
| + gfx::BufferFormat format);
|
|
|
| // Overridden from gfx::GpuMemoryBuffer:
|
| bool Map(void** data) override;
|
| @@ -45,7 +46,7 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl {
|
| private:
|
| GpuMemoryBufferImplSharedMemory(gfx::GpuMemoryBufferId id,
|
| const gfx::Size& size,
|
| - Format format,
|
| + gfx::BufferFormat format,
|
| const DestructionCallback& callback,
|
| scoped_ptr<base::SharedMemory> shared_memory);
|
|
|
|
|