| Index: gpu/command_buffer/common/gpu_control.h
|
| diff --git a/gpu/command_buffer/common/gpu_control.h b/gpu/command_buffer/common/gpu_control.h
|
| index e15d5e6b11938b4ae176dbd89b34029f47271da0..4a192a26d117f28f23ffe1d861bd492f9e29407d 100644
|
| --- a/gpu/command_buffer/common/gpu_control.h
|
| +++ b/gpu/command_buffer/common/gpu_control.h
|
| @@ -30,11 +30,11 @@ class GPU_EXPORT GpuControl {
|
|
|
| // Create a gpu memory buffer of the given dimensions and format. Returns
|
| // its ID or -1 on error.
|
| - virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(
|
| - size_t width,
|
| - size_t height,
|
| - unsigned internalformat,
|
| - int32* id) = 0;
|
| + virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(size_t width,
|
| + size_t height,
|
| + unsigned internalformat,
|
| + unsigned usage,
|
| + int32* id) = 0;
|
|
|
| // Destroy a gpu memory buffer. The ID must be positive.
|
| virtual void DestroyGpuMemoryBuffer(int32 id) = 0;
|
|
|