Index: gpu/command_buffer/common/command_buffer.h |
diff --git a/gpu/command_buffer/common/command_buffer.h b/gpu/command_buffer/common/command_buffer.h |
index 61b91428f6848b7f013195584d4fe1dd41462ee4..d846ec11a634c1f7bade9440d0a830c1327ce21f 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 |