egl/x11: Support DRI3 v1.1
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
Fri, 7 Jul 2017 06:54:26 +0000 (02:54 -0400)
committerDaniel Stone <daniels@collabora.com>
Fri, 9 Mar 2018 17:47:14 +0000 (17:47 +0000)
commit069fdd5f9facbd72fb6a289696c7b74e3237e70f
tree1a019e8325ed0d9799d710e6131b38a0cc28721d
parent61309c2a727d52d543207d6ae79fcb3e68b5cff3
egl/x11: Support DRI3 v1.1

Add support for DRI3 v1.1, which allows pixmaps to be backed by
multi-planar buffers, or those with format modifiers. This is both
for allocating render buffers, as well as EGLImage imports from a
native pixmap (EGL_NATIVE_PIXMAP_KHR).

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/dri3_glx.c
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h
src/loader/meson.build