EGL: sync headers with Khronos
authorSimon Ser <contact@emersion.fr>
Thu, 7 May 2020 19:49:25 +0000 (21:49 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 14:06:38 +0000 (14:06 +0000)
commit9a74746bd1f3bd28d4c4c7cba75e3245e1d25530
tree653a2f10873995d9137399d6e1b2306695a7f06d
parent045267d1e6238e45eb98f286332ee233dec53312
EGL: sync headers with Khronos

Taken from EGL-Registry commit 90b78b0662e2f0548cfd1926fb77bf628933541b.

With this update EGL_WL_bind_wayland_display and
EGL_WL_create_wayland_buffer_from_image are now in the registry, so we
don't need to define them in eglmesaext.h anymore.

The eglSwapBufferWithDamage* functions now take a const rects argument.
The eglapi.c function signature is updated accordingly.

Signed-off-by: Simon Ser <contact@emersion.fr>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4953>
include/EGL/egl.h
include/EGL/eglext.h
include/EGL/eglmesaext.h
src/egl/generate/egl.xml
src/egl/main/eglapi.c