summaryrefslogtreecommitdiff
path: root/src
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-27 16:04:03 +0100
commitb4584d9eed4acd24cb4a323c2c64d98de1e847a6 (patch)
tree03705da3a2c1a916bacec86aa38f7c45b08bf9bd /src
parent08923a1029522f5015f09205e997c4cef4461d99 (diff)
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> (cherry picked from commit 53b614bfd3c12368347b2953121e815add68d90b) Conflicts: src/egl/drivers/dri2/platform_drm.c
Diffstat (limited to 'src')
-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 9a7633a070a..4a60f1f0763 100644
--- a/src/egl/drivers/dri2/platform_drm.c
+++ b/src/egl/drivers/dri2/platform_drm.c
@@ -572,6 +572,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp)
}
disp->Extensions.EXT_buffer_age = EGL_TRUE;
+ disp->Extensions.KHR_image_pixmap = EGL_TRUE;
#ifdef HAVE_WAYLAND_PLATFORM
disp->Extensions.WL_bind_wayland_display = EGL_TRUE;