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

Unified Diff: ui/gl/gl_state_restorer.h

Issue 2837213003: Restore samplers' state across virtualized GL contexts. (Closed)
Patch Set: Add unit tests covering restoration of sampler state. 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_state_restorer.h
diff --git a/ui/gl/gl_state_restorer.h b/ui/gl/gl_state_restorer.h
index 93c281d815cecc1116cfa8cd1fe526dcd39aef5f..3b26d0090fa5d056408f46cdef5238181b284a7c 100644
--- a/ui/gl/gl_state_restorer.h
+++ b/ui/gl/gl_state_restorer.h
@@ -25,7 +25,7 @@ class GL_EXPORT GLStateRestorer {
virtual bool IsInitialized() = 0;
virtual void RestoreState(const GLStateRestorer* prev_state) = 0;
- virtual void RestoreAllTextureUnitBindings() = 0;
+ virtual void RestoreAllTextureUnitAndSamplerBindings() = 0;
virtual void RestoreActiveTexture() = 0;
virtual void RestoreActiveTextureUnitBinding(unsigned int target) = 0;
virtual void RestoreAllExternalTextureBindingsIfNeeded() = 0;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698