| Index: ppapi/proxy/ppb_graphics_3d_proxy.cc
|
| ===================================================================
|
| --- ppapi/proxy/ppb_graphics_3d_proxy.cc (revision 93725)
|
| +++ ppapi/proxy/ppb_graphics_3d_proxy.cc (working copy)
|
| @@ -35,6 +35,7 @@
|
| virtual bool Initialize(base::SharedMemory* buffer, int32 size);
|
| virtual gpu::Buffer GetRingBuffer();
|
| virtual State GetState();
|
| + virtual State GetLastState();
|
| virtual void Flush(int32 put_offset);
|
| virtual State FlushSync(int32 put_offset, int32 last_known_get);
|
| virtual void SetGetOffset(int32 get_offset);
|
| @@ -132,6 +133,10 @@
|
| return last_state_;
|
| }
|
|
|
| +gpu::CommandBuffer::State CommandBuffer::GetLastState() {
|
| + return last_state_;
|
| +}
|
| +
|
| void CommandBuffer::Flush(int32 put_offset) {
|
| if (last_state_.error != gpu::error::kNoError)
|
| return;
|
|
|