diff options
Diffstat (limited to 'gpu/command_buffer/common/command_buffer.h')
-rw-r--r-- | gpu/command_buffer/common/command_buffer.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gpu/command_buffer/common/command_buffer.h b/gpu/command_buffer/common/command_buffer.h index 61b91428f6..d846ec11a6 100644 --- a/gpu/command_buffer/common/command_buffer.h +++ b/gpu/command_buffer/common/command_buffer.h @@ -20,24 +20,16 @@ class GPU_EXPORT CommandBuffer { public: struct State { State() - : num_entries(0), - get_offset(0), - put_offset(0), + : get_offset(0), token(-1), error(error::kNoError), context_lost_reason(error::kUnknown), generation(0) { } - // Size of the command buffer in command buffer entries. - int32 num_entries; - // The offset (in entries) from which the reader is reading. int32 get_offset; - // The offset (in entries) at which the writer is writing. - int32 put_offset; - // The current token value. This is used by the writer to defer // changes to shared memory objects until the reader has reached a certain // point in the command buffer. The reader is responsible for updating the |