Index: ui/gl/gl_state_restorer.h |
diff --git a/ui/gl/gl_state_restorer.h b/ui/gl/gl_state_restorer.h |
index bac532a33aebb8619cced594427c7c6dd051ca26..93c281d815cecc1116cfa8cd1fe526dcd39aef5f 100644 |
--- a/ui/gl/gl_state_restorer.h |
+++ b/ui/gl/gl_state_restorer.h |
@@ -26,9 +26,13 @@ class GL_EXPORT GLStateRestorer { |
virtual bool IsInitialized() = 0; |
virtual void RestoreState(const GLStateRestorer* prev_state) = 0; |
virtual void RestoreAllTextureUnitBindings() = 0; |
+ virtual void RestoreActiveTexture() = 0; |
virtual void RestoreActiveTextureUnitBinding(unsigned int target) = 0; |
virtual void RestoreAllExternalTextureBindingsIfNeeded() = 0; |
virtual void RestoreFramebufferBindings() = 0; |
+ virtual void RestoreProgramBindings() = 0; |
+ virtual void RestoreBufferBinding(unsigned int target) = 0; |
+ virtual void RestoreVertexAttribArray(unsigned int index) = 0; |
virtual void PauseQueries() = 0; |
virtual void ResumeQueries() = 0; |