| Index: content/common/gpu/client/gpu_memory_buffer_impl.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.h b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| index ee85f0f7b57ee02d73e5bca5e74ab26cf8cf77c6..8baf3c22e7a450561a7c55787141396dfd60c4af 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| @@ -17,7 +17,8 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
|
| static scoped_ptr<GpuMemoryBufferImpl> Create(
|
| gfx::GpuMemoryBufferHandle handle,
|
| gfx::Size size,
|
| - unsigned internalformat);
|
| + unsigned internalformat,
|
| + gfx::GpuMemoryBuffer::Usage usage);
|
|
|
| virtual ~GpuMemoryBufferImpl();
|
|
|
| @@ -29,10 +30,13 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
|
| virtual uint32 GetStride() const OVERRIDE;
|
|
|
| protected:
|
| - GpuMemoryBufferImpl(gfx::Size size, unsigned internalformat);
|
| + GpuMemoryBufferImpl(gfx::Size size,
|
| + unsigned internalformat,
|
| + gfx::GpuMemoryBuffer::Usage usage);
|
|
|
| const gfx::Size size_;
|
| unsigned internalformat_;
|
| + gfx::GpuMemoryBuffer::Usage usage_;
|
| bool mapped_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl);
|
|
|