Hi Emil,

On 7 December 2017 at 18:45, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> The KHR_image_pixmap extension lists the following as dependency:
>
>     The EGL implementation must define an EGLNativePixmapType (although it
>     is not required either to export any EGLConfigs supporting rendering to
>     native pixmaps, or to support eglCreatePixmapSurface).
>
> At the same time 'implementations' define the type even ones that lack
> native pixmaps - Wayland, GBM, ...
>
> (A) If one is to ignore that 'detail' we could simply toggle all of
> KHR_image_pixmap across the board and simplify things a bit.
> (B) if native pixmaps is a must - we have a bug in GBM as it
> advertises KHR_image_pixmap.

GBM supports struct gbm_bo * as a native pixmap for EGLImage import.
See src/egl/drivers/dri2/platform_drm.c:dri2_drm_create_image_khr_pixmap().

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to