Index: gpu/command_buffer/client/cmd_buffer_helper.h |
=================================================================== |
--- gpu/command_buffer/client/cmd_buffer_helper.h (revision 37414) |
+++ gpu/command_buffer/client/cmd_buffer_helper.h (working copy) |
@@ -146,7 +146,7 @@ |
return *reinterpret_cast<T*>(data); |
} |
- parse_error::ParseError GetParseError(); |
+ parse_error::ParseError GetError(); |
// Common Commands |
void Noop(uint32 skip_count) { |
@@ -170,6 +170,9 @@ |
return (get_ - put_ - 1 + entry_count_) % entry_count_; |
} |
+ // Synchronize with current service state. |
+ void SynchronizeState(CommandBuffer::State state); |
+ |
CommandBuffer* command_buffer_; |
Buffer ring_buffer_; |
CommandBufferEntry *entries_; |