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

Unified Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 1916303003: Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lost-share-group: disconnect-channel Created 4 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/client/client_test_helper.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index 3cdeb0147a2551b890c49fb5498be1bdb77ac10b..489bf7d82820a6a687a4ea53856ca0b536ec5405 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -413,6 +413,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// GpuControlClient implementation.
void OnGpuControlLostContext() final;
+ void OnGpuControlLostContextMaybeReentrant() final;
void OnGpuControlErrorMessage(const char* message, int32_t id) final;
void* GetResultBuffer();
@@ -817,9 +818,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation
base::Callback<void(const char*, int32_t)> error_message_callback_;
base::Closure lost_context_callback_;
-#if DCHECK_IS_ON()
- bool lost_context_ = false;
-#endif
+ bool lost_context_callback_run_ = false;
int current_trace_stack_;
« no previous file with comments | « gpu/command_buffer/client/client_test_helper.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698