summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmisc.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-06-17 17:09:01 +0800
committerChia-I Wu <[email protected]>2010-06-23 15:14:59 +0800
commit78d70ddbbd41d73b7f6040f392eb87758c39dc37 (patch)
tree9f0e271860c6f922c4a671d836fa402b3d10bdac /src/egl/main/eglmisc.c
parentf22665df95406567193dee0089f4830664ff4101 (diff)
egl: Add support for EGL_MESA_drm_display.
The extension defines eglGetDRMDisplay that creates an EGLDisplay from a DRM fd. Calling eglCreateWindowSurace or eglCreatePixmapSurface with such displays will generate EGL_BAD_NATIVE_WINDOW or EGL_BAD_NATIVE_PIXMAP.
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 4652969659b..281138c7523 100644
--- a/src/egl/main/eglmisc.c
+++ b/src/egl/main/eglmisc.c
@@ -84,6 +84,7 @@ _eglUpdateExtensionsString(_EGLDisplay *dpy)
_EGL_CHECK_EXTENSION(MESA_screen_surface);
_EGL_CHECK_EXTENSION(MESA_copy_context);
+ _EGL_CHECK_EXTENSION(MESA_drm_display);
_EGL_CHECK_EXTENSION(KHR_image_base);
_EGL_CHECK_EXTENSION(KHR_image_pixmap);