Add EGL xcb platform
authorYuxuan Shui <yshuiv7@gmail.com>
Wed, 26 Aug 2020 18:01:53 +0000 (19:01 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Nov 2020 16:39:47 +0000 (16:39 +0000)
commit53660e4c4ed315d4b2fe5d921861fbfebf2bbe42
tree2ad34a130fb1b7b1abe1dcc4bcd8783315565768
parent8bb1a75b4f0af2d27d92c14ae94dd03c78e98960
Add EGL xcb platform

This enables GL applications to be written without any involvement of
Xlib.

EGL X11 platform is actually already xcb-only underneath, so this commit
just add the necessary interface changes so eglDisplay can be created
from a xcb_connection_t.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6474>
docs/relnotes/new_features.txt
include/EGL/eglext.h
meson.build
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/platform_x11.c
src/egl/generate/egl.xml
src/egl/main/eglapi.c
src/egl/main/egldisplay.c
src/egl/main/egldisplay.h
src/egl/main/eglglobals.c