diff options
Diffstat (limited to 'gpu/command_buffer/client/cmd_buffer_helper.h')
-rw-r--r-- | gpu/command_buffer/client/cmd_buffer_helper.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/cmd_buffer_helper.h b/gpu/command_buffer/client/cmd_buffer_helper.h index af18226..cc93057 100644 --- a/gpu/command_buffer/client/cmd_buffer_helper.h +++ b/gpu/command_buffer/client/cmd_buffer_helper.h @@ -36,7 +36,11 @@ class CommandBufferHelper { explicit CommandBufferHelper(CommandBuffer* command_buffer); virtual ~CommandBufferHelper(); - bool Initialize(); + // Initializes the CommandBufferHelper. + // Parameters: + // ring_buffer_size: The size of the ring buffer portion of the command + // buffer. + bool Initialize(int32 ring_buffer_size); // Flushes the commands, setting the put pointer to let the buffer interface // know that new commands have been added. After a flush returns, the command |