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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_
6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_
7 7
8 #include "gpu/command_buffer/client/gles2_interface_stub.h" 8 #include "gpu/command_buffer/client/gles2_interface_stub.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 170 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
171 void ProduceTextureDirectCHROMIUM(GLuint texture, 171 void ProduceTextureDirectCHROMIUM(GLuint texture,
172 GLenum target, 172 GLenum target,
173 const GLbyte* mailbox) override; 173 const GLbyte* mailbox) override;
174 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 174 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
175 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, 175 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
176 const GLbyte* mailbox) override; 176 const GLbyte* mailbox) override;
177 177
178 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; 178 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override;
179 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 179 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
180 GLboolean IsContextLost() override;
180 181
181 private: 182 private:
182 TestWebGraphicsContext3D* test_context_; 183 TestWebGraphicsContext3D* test_context_;
183 }; 184 };
184 185
185 } // namespace cc 186 } // namespace cc
186 187
187 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 188 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« 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