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

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

Issue 1160863007: DCHECK if shader compilation fails that it's due to context loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: glhelperlost: gles2interface? Created 5 years, 6 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/client/gles2_trace_implementation.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation.h b/gpu/command_buffer/client/gles2_trace_implementation.h
index 780a6087e2e31457352b03d4dc6e45ef9211f05e..2b9b403ed082032f75104ae73d1c73f5e3d3684e 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation.h
@@ -24,6 +24,8 @@ class GLES2_IMPL_EXPORT GLES2TraceImplementation
// this file instead of having to edit some template or the code generator.
#include "gpu/command_buffer/client/gles2_trace_implementation_autogen.h"
+ GLboolean IsContextLost() override;
+
private:
GLES2Interface* gl_;
};

Powered by Google App Engine
This is Rietveld 408576698