diff options
author | Ian Romanick <[email protected]> | 2012-07-19 16:04:01 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-14 15:41:03 -0700 |
commit | 7b4b4f8e68ba7a6109cc508de10314e966e56f5f (patch) | |
tree | 181c353739acdc333f491a716b35dbc2bacb6ad7 /src/egl/drivers/dri2/egl_dri2.h | |
parent | f171571bfc897921cee63cbba3b71fd9b64174c9 (diff) |
egl_dri2: Add support for EGL_KHR_create_context and EGL_EXT_create_context_robustness
Just like in GLX, EGL_KHR_create_context requires DRI2 version >= 3, and
EGL_EXT_create_context_robustness requires both DRI2 version >= 3 and the
__DRI2_ROBUSTNESS extension.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index c30e2305d83..81c1354b794 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -99,6 +99,7 @@ struct dri2_egl_display __DRI2flushExtension *flush; __DRItexBufferExtension *tex_buffer; __DRIimageExtension *image; + __DRIrobustnessExtension *robustness; int fd; int own_device; |