| Index: gpu/command_buffer/client/transfer_buffer.h
|
| diff --git a/gpu/command_buffer/client/transfer_buffer.h b/gpu/command_buffer/client/transfer_buffer.h
|
| index 5f6623e05124e28dbb8f3985d9c3c0972367ee11..2e8bb66f94d93918e7b716b3c22dc4b2738485f3 100644
|
| --- a/gpu/command_buffer/client/transfer_buffer.h
|
| +++ b/gpu/command_buffer/client/transfer_buffer.h
|
| @@ -59,6 +59,8 @@ class GPU_EXPORT TransferBufferInterface {
|
| virtual unsigned int GetSize() const = 0;
|
|
|
| virtual unsigned int GetFreeSize() const = 0;
|
| +
|
| + virtual bool is_shared() const = 0;
|
| };
|
|
|
| // Class that manages the transfer buffer.
|
| @@ -86,6 +88,7 @@ class GPU_EXPORT TransferBuffer : public TransferBufferInterface {
|
| void FreePendingToken(void* p, unsigned int token) override;
|
| unsigned int GetSize() const override;
|
| unsigned int GetFreeSize() const override;
|
| + bool is_shared() const override;
|
|
|
| // These are for testing.
|
| unsigned int GetCurrentMaxAllocationWithoutRealloc() const;
|
|
|