diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 04:59:30 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 04:59:30 +0000 |
commit | 706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475 (patch) | |
tree | b12f93344422fdee94772c06065f5accf42bdbae /third_party/khronos/EGL | |
parent | bb0bdeb6cd05396316d1a026481e86997253f762 (diff) | |
download | chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.zip chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.tar.gz chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.tar.bz2 |
Use EXT_robustness where available on GLES2 platforms to detect and respond to resets of the graphics card.
BUG=138162
TEST=ran https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/extra/slow-shader-example.html on Windows with ANGLE and verified that new code path was taken
Review URL: https://chromiumcodereview.appspot.com/10822029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/khronos/EGL')
-rw-r--r-- | third_party/khronos/EGL/eglext.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/khronos/EGL/eglext.h b/third_party/khronos/EGL/eglext.h index 5e52a34..a91582b 100644 --- a/third_party/khronos/EGL/eglext.h +++ b/third_party/khronos/EGL/eglext.h @@ -328,6 +328,14 @@ typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); #endif #endif +#ifndef EGL_EXT_create_context_robustness +#define EGL_EXT_create_context_robustness 1 +#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF +#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 +#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE +#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF +#endif + #ifdef __cplusplus } #endif |