EGL: sync headers with Khronos
authorSimon Zeni <simon@bl4ckb0ne.ca>
Wed, 28 Sep 2022 10:23:01 +0000 (06:23 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Oct 2022 19:26:01 +0000 (19:26 +0000)
commit96894e6746c199cb8a5b8356f75c2ee8f28e68b1
tree31034a974d9154af1b9e1743b1073f3141b45771
parent1fc7f0f084d2a12f52acf7c294bdb954aa87a09f
EGL: sync headers with Khronos

Since [1], EGL removed the inclusion of the Xlib headers by default.
The logic is now reversed, and the call has to define USE_X11 to include the
Xlib headers instead of EGL_NO_X11_HEADERS to prevent the inclusion.

[1]: https://github.com/KhronosGroup/EGL-Registry/pull/130/commits/3670d645f4a26a0a9e87e7f3a8608e7cc1d53b5b

Signed-off-by: Simon Zeni <simon@bl4ckb0ne.ca>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18848>
include/EGL/egl.h
include/EGL/eglext.h
include/EGL/eglext_angle.h
include/EGL/eglplatform.h
include/KHR/khrplatform.h
src/egl/generate/egl.xml