From: Andreas Pokorny Date: Wed, 3 Sep 2014 20:43:41 +0000 (+0200) Subject: egl/drm: expose KHR_image_pixmap extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53b614bfd3c12368347b2953121e815add68d90b;p=mesa.git 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 Signed-off-by: Andreas Pokorny Reviewed-by: Daniel Stone --- diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index 70bd7d4827c..ab71f4b242a 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;