Index: gpu/command_buffer/service/gl_state_restorer_impl.h |
diff --git a/gpu/command_buffer/service/gl_state_restorer_impl.h b/gpu/command_buffer/service/gl_state_restorer_impl.h |
index 032bf7251867059477a30c649d4324d863360af4..7fa03830345f12091c2cdf878e7cc65e0626feed 100644 |
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h |
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h |
@@ -14,6 +14,7 @@ |
namespace gpu { |
namespace gles2 { |
+class ContextState; |
class GLES2Decoder; |
} |
@@ -24,9 +25,10 @@ class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer { |
virtual ~GLStateRestorerImpl(); |
virtual bool IsInitialized() OVERRIDE; |
- virtual void RestoreState() OVERRIDE; |
+ virtual void RestoreState(gfx::GLStateRestorer* prev_state) OVERRIDE; |
virtual void RestoreAllTextureUnitBindings() OVERRIDE; |
virtual void RestoreFramebufferBindings() OVERRIDE; |
+ const gles2::ContextState* GetContextState(); |
private: |
base::WeakPtr<gles2::GLES2Decoder> decoder_; |