First of all, I would like to thank Boyan for his work here. I rebased his patch series, fixed minor issues here and there and reviewed it. You can check the changes in every patch but the biggest changes are related to the build system.
Speaking about the build system it seems like scons is not building the EGL X11 platform, so I did not bother adding support for the X11 DRI3 there. I tested the code using GLES apps and ran a full piglit/cts run on all the platforms. Nothing display-related failed. Finally, I added a patch that improves the reporting of which DRI version is being used. I tested that the reporting was accurate by checking which node was being used by running the application with ezbench's env_dump (/utils/env_dump). I intend to push that series at the end of next week unless someone opposes. Boyan Ding (6): loader: Add dri3 helper glx/dri3: Convert to use dri3 helper in loader library egl_dri2: Add a function to let platform code return dri drawable from _EGLSurface egl/x11: Implement dri3 support with loader's dri3 helper loader/dri3: Expose function to create __DRIimage from pixmap egl/x11_dri3: Implement EGL_KHR_image_pixmap Martin Peres (1): egl: make it clear which platform x11 backend is being used (dri2 or 3) configure.ac | 13 +- src/egl/Makefile.am | 9 +- src/egl/drivers/dri2/egl_dri2.c | 118 ++- src/egl/drivers/dri2/egl_dri2.h | 19 +- src/egl/drivers/dri2/platform_android.c | 1 + src/egl/drivers/dri2/platform_drm.c | 1 + src/egl/drivers/dri2/platform_wayland.c | 2 + src/egl/drivers/dri2/platform_x11.c | 112 ++- src/egl/drivers/dri2/platform_x11_dri3.c | 591 ++++++++++++ src/egl/drivers/dri2/platform_x11_dri3.h | 44 + src/glx/dri3_glx.c | 1446 ++++-------------------------- src/glx/dri3_priv.h | 96 +- src/loader/Makefile.am | 9 + src/loader/loader_dri3_helper.c | 1421 +++++++++++++++++++++++++++++ src/loader/loader_dri3_helper.h | 235 +++++ 15 files changed, 2713 insertions(+), 1404 deletions(-) create mode 100644 src/egl/drivers/dri2/platform_x11_dri3.c create mode 100644 src/egl/drivers/dri2/platform_x11_dri3.h create mode 100644 src/loader/loader_dri3_helper.c create mode 100644 src/loader/loader_dri3_helper.h -- 2.6.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev