summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_drm.c
diff options
context:
space:
mode:
authorAndreas Pokorny <andreas.pokorny@canonical.com>2014-09-03 22:43:41 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-23 00:25:45 +0100
commit53b614bfd3c12368347b2953121e815add68d90b (patch)
treea48970220eeaa7deafa08a183cb9d664a718f517 /src/egl/drivers/dri2/platform_drm.c
parent6addb7f42baf84c1a3cca2b281a444006baa6058 (diff)
downloadexternal_mesa3d-53b614bfd3c12368347b2953121e815add68d90b.zip
external_mesa3d-53b614bfd3c12368347b2953121e815add68d90b.tar.gz
external_mesa3d-53b614bfd3c12368347b2953121e815add68d90b.tar.bz2
egl/drm: expose KHR_image_pixmap extension
This changes enables EGL_KHR_image_pixmap in the egl drm platform, which is implemented there but has not been advertised yet. Cc: 10.2 10.3 <mesa-stable@lists.freedesktop.org> Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'src/egl/drivers/dri2/platform_drm.c')
-rw-r--r--src/egl/drivers/dri2/platform_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c
index 70bd7d4..ab71f4b 100644
--- a/src/egl/drivers/dri2/platform_drm.c
+++ b/src/egl/drivers/dri2/platform_drm.c
@@ -681,6 +681,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp)
i + 1, EGL_WINDOW_BIT, attr_list, NULL);
}
+ disp->Extensions.KHR_image_pixmap = EGL_TRUE;
if (dri2_dpy->dri2)
disp->Extensions.EXT_buffer_age = EGL_TRUE;