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

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Jul 24 07:19:54 PDT 2015


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.

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



More information about the mesa-dev mailing list