| Index: gpu/command_buffer/common/command_buffer.h
|
| ===================================================================
|
| --- gpu/command_buffer/common/command_buffer.h (revision 75655)
|
| +++ gpu/command_buffer/common/command_buffer.h (working copy)
|
| @@ -80,6 +80,12 @@
|
| // identifies it or -1 on error.
|
| virtual int32 CreateTransferBuffer(size_t size) = 0;
|
|
|
| + // Register an existing shared memory object and get an ID that can be used
|
| + // to identify it in the command buffer. Callee dups the handle until
|
| + // DestroyTransferBuffer is called.
|
| + virtual int32 RegisterTransferBuffer(base::SharedMemory* shared_memory,
|
| + size_t size) = 0;
|
| +
|
| // Destroy a transfer buffer and recycle the handle.
|
| virtual void DestroyTransferBuffer(int32 id) = 0;
|
|
|
|
|