| Index: content/renderer/gpu/command_buffer_proxy.h
|
| ===================================================================
|
| --- content/renderer/gpu/command_buffer_proxy.h (revision 93137)
|
| +++ content/renderer/gpu/command_buffer_proxy.h (working copy)
|
| @@ -49,7 +49,6 @@
|
| 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);
|
| @@ -98,6 +97,11 @@
|
| virtual void SetWindowSize(const gfx::Size& size);
|
| #endif
|
|
|
| + // Get the last state received from the service without synchronizing.
|
| + State GetLastState() {
|
| + return last_state_;
|
| + }
|
| +
|
| private:
|
|
|
| // Send an IPC message over the GPU channel. This is private to fully
|
|
|