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

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

Issue 15841002: gpu: Fix corrupted state due to virtual MakeCurrent race. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reland patch. Created 7 years, 7 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 aba3b1db32964a9c9e292f05eb01021f8c16ad54..032bf7251867059477a30c649d4324d863360af4 100644
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h
@@ -23,6 +23,7 @@ class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer {
explicit GLStateRestorerImpl(base::WeakPtr<gles2::GLES2Decoder> decoder);
virtual ~GLStateRestorerImpl();
+ virtual bool IsInitialized() OVERRIDE;
virtual void RestoreState() OVERRIDE;
virtual void RestoreAllTextureUnitBindings() OVERRIDE;
virtual void RestoreFramebufferBindings() OVERRIDE;
« no previous file with comments | « gpu/command_buffer/service/gl_context_virtual.cc ('k') | gpu/command_buffer/service/gl_state_restorer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698