Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Unified Diff: gpu/command_buffer/service/gl_state_restorer_impl.h

Issue 2762833003: gpu: Use decoder state restoration for scoped_binders (Closed)
Patch Set: Fixed MediaColorTest failures on macOS Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 187dcec188dd61958ed0a9abb1fc403da4f39d1d..0827aa5032a32bb9277307ac41e0cc94986b4f84 100644
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h
@@ -28,9 +28,13 @@ class GPU_EXPORT GLStateRestorerImpl : public gl::GLStateRestorer {
bool IsInitialized() override;
void RestoreState(const gl::GLStateRestorer* prev_state) override;
void RestoreAllTextureUnitBindings() override;
+ void RestoreActiveTexture() override;
void RestoreActiveTextureUnitBinding(unsigned int target) override;
void RestoreAllExternalTextureBindingsIfNeeded() override;
void RestoreFramebufferBindings() override;
+ void RestoreProgramBindings() override;
+ void RestoreBufferBinding(unsigned int target) override;
+ void RestoreVertexAttribArray(unsigned int index) override;
void PauseQueries() override;
void ResumeQueries() override;

Powered by Google App Engine
This is Rietveld 408576698