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

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

Issue 2837213003: Restore samplers' state across virtualized GL contexts. (Closed)
Patch Set: Created 3 years, 8 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 0827aa5032a32bb9277307ac41e0cc94986b4f84..e1a786f5aea25c9d5660956c3bd0c4235c0d23b3 100644
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h
@@ -27,7 +27,7 @@ class GPU_EXPORT GLStateRestorerImpl : public gl::GLStateRestorer {
bool IsInitialized() override;
void RestoreState(const gl::GLStateRestorer* prev_state) override;
- void RestoreAllTextureUnitBindings() override;
+ void RestoreAllTextureUnitAndSamplerBindings() override;
void RestoreActiveTexture() override;
void RestoreActiveTextureUnitBinding(unsigned int target) override;
void RestoreAllExternalTextureBindingsIfNeeded() override;

Powered by Google App Engine
This is Rietveld 408576698