egl/drm: expose KHR_image_pixmap extension
authorAndreas Pokorny <andreas.pokorny@canonical.com>
Wed, 3 Sep 2014 20:43:41 +0000 (22:43 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 22 Sep 2014 23:25:45 +0000 (00:25 +0100)
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>
src/egl/drivers/dri2/platform_drm.c

index 70bd7d4827c2f8a77e58b2f0ba4d01e0e84b0d6b..ab71f4b242a7269c321818f887bd9d852f2f570d 100644 (file)
@@ -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;