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

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

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/gl_state_restorer_impl.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_state_restorer_impl.cc
diff --git a/gpu/command_buffer/service/gl_state_restorer_impl.cc b/gpu/command_buffer/service/gl_state_restorer_impl.cc
index fe761453af6af610546a794f0ed32c4dfbbddfac..f6509031c4e95db1025b459c8753977ffd233f93 100644
--- a/gpu/command_buffer/service/gl_state_restorer_impl.cc
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.cc
@@ -31,9 +31,9 @@ void GLStateRestorerImpl::RestoreState(const gl::GLStateRestorer* prev_state) {
restorer_impl ? restorer_impl->GetContextState() : NULL);
}
-void GLStateRestorerImpl::RestoreAllTextureUnitBindings() {
+void GLStateRestorerImpl::RestoreAllTextureUnitAndSamplerBindings() {
DCHECK(decoder_.get());
- decoder_->RestoreAllTextureUnitBindings(NULL);
+ decoder_->RestoreAllTextureUnitAndSamplerBindings(NULL);
}
void GLStateRestorerImpl::RestoreActiveTexture() {
« no previous file with comments | « gpu/command_buffer/service/gl_state_restorer_impl.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698