summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmisc.c
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2013-03-22 14:31:01 +0200
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2013-08-02 08:56:03 +0300
commit0de013b61930505bbeaf094d079b566df18a0cf7 (patch)
treeba33b8c3b80932b4d42f297db0a117507d879589 /src/egl/main/eglmisc.c
parent674dedc87a860f7aea41d5a37d8fd842e196dfdd (diff)
downloadexternal_mesa3d-0de013b61930505bbeaf094d079b566df18a0cf7.zip
external_mesa3d-0de013b61930505bbeaf094d079b566df18a0cf7.tar.gz
external_mesa3d-0de013b61930505bbeaf094d079b566df18a0cf7.tar.bz2
egl: definitions for EXT_image_dma_buf_import
As specified in: http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt Checking for the valid fourcc values is left for drivers avoiding dependency to drm header files here. v2: enforce EGL_NO_CONTEXT v3: declare the extension as EGL (not GLES) v4: do not update eglext.h manually but rely on update from Khronos instead v5: (Eric) report invalid context as EGL_BAD_PARAMETER instead of as EGL_BAD_CONTEXT v6: (Chad) fix the checking for valid hints. Before all values were rejected. v7: (Chad) comment style change from /** * Multi- * line into /* Multi- * line Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/egl/main/eglmisc.c')
-rw-r--r--src/egl/main/eglmisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c
index a843ce7..2decc1b 100644
--- a/src/egl/main/eglmisc.c
+++ b/src/egl/main/eglmisc.c
@@ -118,6 +118,7 @@ _eglUpdateExtensionsString(_EGLDisplay *dpy)
_EGL_CHECK_EXTENSION(EXT_create_context_robustness);
_EGL_CHECK_EXTENSION(EXT_buffer_age);
_EGL_CHECK_EXTENSION(EXT_swap_buffers_with_damage);
+ _EGL_CHECK_EXTENSION(EXT_image_dma_buf_import);
_EGL_CHECK_EXTENSION(NV_post_sub_buffer);
#undef _EGL_CHECK_EXTENSION