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

Dave Airlie airlied at gmail.com
Wed Jan 27 13:39:06 PST 2016


On 25 July 2015 at 00: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.

Do we have any piglit or any mesa-demos code at all using this, would be nice
to have something to help review.

Dave.
>
> 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
>   egldevice: add EGLDevice checking helper function
>   egldevice: implement eglQueryDeviceStringEXT
>   egldevice: add simple eglQueryDeviceAttribEXT implementation
>   egldevice: implement eglQueryDisplayAttribEXT
>
>  src/egl/drivers/dri2/egl_dri2.c |   9 +
>  src/egl/main/Makefile.sources   |   2 +
>  src/egl/main/eglapi.c           |  83 ++++++++
>  src/egl/main/egldevice.c        | 450 ++++++++++++++++++++++++++++++++++++++++
>  src/egl/main/egldevice.h        |  70 +++++++
>  src/egl/main/egldriver.h        |   2 +
>  src/egl/main/eglglobals.c       |  12 +-
>  src/egl/main/eglglobals.h       |   2 +
>  src/egl/main/egltypedefs.h      |   2 +
>  9 files changed, 630 insertions(+), 2 deletions(-)
>  create mode 100644 src/egl/main/egldevice.c
>  create mode 100644 src/egl/main/egldevice.h
>
> --
> 2.4.6
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list