[Mesa-dev] [PATCH 0/8] add support for EGL_EXT_device_{base, query, enumeration}

Emil Velikov emil.l.velikov at gmail.com
Mon Aug 24 07:46:40 PDT 2015

Hi all,

On 24 July 2015 at 15:19, Jonny Lamb <jonny.lamb at collabora.co.uk> wrote:
> Here is an initial patchset implementing EGL_EXT_device_base (in
> practice nothing to do), device_enumeration (for listing devices), and
> device_query (for querying information about a device).
> I worked on this because I want to then move onto adding an attribute
> for eglGetPlatformDisplay so one can get an EGLDisplay for a given
> EGLDeviceEXT.
Can we get a pair of eyes looking this direction. Imho it's a very
worthy idea if we can finally get into a standardised way (and yes I'm
not talking about environment variables) of handling multiple devices
with EGL.

> Thanks,
> Jonny Lamb (8):
>   egl: add initial boilerplate for
>     EGL_EXT_device_{base,query,enumeration}
>   egldevice: use _EGLDevice struct and keep a list of them in globals

>   egldevice: copy udev dlopen code in from loader.c
>   egldevice: implement eglQueryDevicesEXT using udev
Recently we landed a libdrm helper which should help you with making
this work libudev agnostic and dropping most of these two. There
hasn't been a libdrm release with it, so we can still tweak the API :)


More information about the mesa-dev mailing list