| Index: gpu/command_buffer/service/gpu_processor.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gpu_processor.cc (revision 37239)
|
| +++ gpu/command_buffer/service/gpu_processor.cc (working copy)
|
| @@ -80,4 +80,16 @@
|
| command_buffer_->SetToken(token);
|
| }
|
|
|
| +bool GPUProcessor::SetGetOffset(int32 offset) {
|
| + if (parser_->set_get(offset)) {
|
| + command_buffer_->SetGetOffset(static_cast<int32>(parser_->get()));
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +int32 GPUProcessor::GetGetOffset() {
|
| + return parser_->get();
|
| +}
|
| +
|
| } // namespace gpu
|
|
|