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

Unified Diff: gpu/command_buffer/client/gles2_interface_stub.cc

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_interface_stub.cc
diff --git a/gpu/command_buffer/client/gles2_interface_stub.cc b/gpu/command_buffer/client/gles2_interface_stub.cc
index 3f4d7baf044315fe2fee610c44317e9f5d60e932..21bcff85d000a712c585b735c80f9b7fff8c6dc5 100644
--- a/gpu/command_buffer/client/gles2_interface_stub.cc
+++ b/gpu/command_buffer/client/gles2_interface_stub.cc
@@ -18,6 +18,10 @@ GLES2InterfaceStub::~GLES2InterfaceStub() {
// this file instead of having to edit some template or the code generator.
#include "gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h"
+GLboolean GLES2InterfaceStub::IsContextLost() {
+ return false;
+}
+
} // namespace gles2
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698