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

Unified Diff: cc/test/test_gles2_interface.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
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | gpu/command_buffer/client/gles2_interface.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_gles2_interface.h
diff --git a/cc/test/test_gles2_interface.h b/cc/test/test_gles2_interface.h
index 0d9c10aa83cab107c9bae8fe9c27a8efa204c228..f2036832acef03b4b5487b7ba1ff655282109f99 100644
--- a/cc/test/test_gles2_interface.h
+++ b/cc/test/test_gles2_interface.h
@@ -177,6 +177,7 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override;
void LoseContextCHROMIUM(GLenum current, GLenum other) override;
+ GLboolean IsContextLost() override;
private:
TestWebGraphicsContext3D* test_context_;
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | gpu/command_buffer/client/gles2_interface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698