| 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 d2249386dec1c6e4a72789bdc17306e88518e775..90e389246072d5e875c4925aa84c984cf62c18d5 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,13 +15,21 @@ namespace content {
|
| // Implementation of GPU memory buffer based on IO surfaces.
|
| class GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl {
|
| public:
|
| - static scoped_ptr<GpuMemoryBufferImpl> CreateFromHandle(
|
| + static scoped_ptr<GpuMemoryBufferImplIOSurface> CreateFromHandle(
|
| const gfx::GpuMemoryBufferHandle& handle,
|
| const gfx::Size& size,
|
| gfx::BufferFormat format,
|
| gfx::BufferUsage usage,
|
| const DestructionCallback& callback);
|
|
|
| + static bool IsConfigurationSupported(gfx::BufferFormat format,
|
| + gfx::BufferUsage usage);
|
| +
|
| + static base::Closure AllocateForTesting(const gfx::Size& size,
|
| + gfx::BufferFormat format,
|
| + gfx::BufferUsage usage,
|
| + gfx::GpuMemoryBufferHandle* handle);
|
| +
|
| // Overridden from gfx::GpuMemoryBuffer:
|
| bool Map(void** data) override;
|
| void Unmap() override;
|
|
|