| Index: content/common/gpu/client/gpu_memory_buffer_factory_host.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_factory_host.h b/content/common/gpu/client/gpu_memory_buffer_factory_host.h
|
| index 9e616e27e650ada5805626dc1ea8d94d54c73fb7..cf16c4b9151f53351a9cd23e68945d5b07ed6bc9 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_factory_host.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_factory_host.h
|
| @@ -28,6 +28,14 @@ class CONTENT_EXPORT GpuMemoryBufferFactoryHost {
|
| unsigned internalformat,
|
| unsigned usage,
|
| const CreateGpuMemoryBufferCallback& callback) = 0;
|
| + // This function is to be called only for images allocated from the
|
| + // browser process command buffer. Allocations originating from the renderers
|
| + // should use the async version of the function.
|
| + virtual gfx::GpuMemoryBufferHandle CreateGpuMemoryBufferSync(
|
| + const gfx::GpuMemoryBufferHandle& handle,
|
| + const gfx::Size& size,
|
| + unsigned internalformat,
|
| + unsigned usage) = 0;
|
| virtual void DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferHandle& handle,
|
| int32 sync_point) = 0;
|
|
|
|
|