mesa/include
Sylvain Munaut 0fa85b983f mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat
In commit 1396dc1c a new output field was added as a parameter, but this
is a problem since the signature of the function are not versionned.

The flush function didn't have a versionned output struct. So what I'm
proposing here is that if the version of the input argument is new enough
(bumped to 2 here), then we re-use the existing argument, which until now
was directly a pointer to GLsync, and instead use it as a pointer to a
versioned struct.

We're just changing one pointer type to another, so in C, this should
be fine AFAIK.

Fixes: 1396dc1c

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26315>
2023-11-21 23:15:32 +00:00
..
CL include: Update the OpenCL headers 2022-11-18 22:22:58 +00:00
D3D9
EGL EGL: sync headers with Khronos 2022-10-12 19:26:01 +00:00
GL mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
GLES Update OpenGL headers 2023-06-07 20:47:03 +00:00
GLES2 Update OpenGL headers 2023-06-07 20:47:03 +00:00
GLES3 Update OpenGL headers 2023-06-07 20:47:03 +00:00
KHR EGL: sync headers with Khronos 2022-10-12 19:26:01 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
d3dadapter
drm-uapi intel: Sync xe_drm.h 2023-11-20 17:57:34 +00:00
pci_ids intel/dev: Rename mtl-p to mtl-h 2023-11-07 06:37:00 +00:00
vk_video vulkan: update video headers 2023-11-03 22:59:36 +00:00
vulkan vulkan: bump headers/registry to 1.3.267 2023-10-11 11:32:47 +00:00
winddk
c99_alloca.h
c99_compat.h c99_compat.h: assume c99 support 2022-06-14 15:08:37 +00:00
kopper_interface.h kopper: pass modifier availability to drawable creation 2023-07-27 19:18:21 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00
no_extern_c.h