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

Unified Diff: gpu/command_buffer/client/gles2_implementation.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: . Created 5 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/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 7708bc129c7aec036cc6186e7ab3d128beec0a79..de284b5ac93da521321e23458a6b64de25729fce 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -5371,6 +5371,10 @@ void GLES2Implementation::RetireSyncPointCHROMIUM(GLuint sync_point) {
gpu_control_->RetireSyncPoint(sync_point);
}
+bool GLES2Implementation::IsContextLost() {
+ return helper_->IsContextLost();
Ken Russell (switch to Gerrit) 2015/05/29 17:47:05 Per piman's comment -- WebGraphicsContext3DCommand
+}
+
namespace {
bool ValidImageFormat(GLenum internalformat,

Powered by Google App Engine
This is Rietveld 408576698