protocol: document surface synchronization requirements

This clarification, in conjunction with [egl] and [vulkan], informs
clients about synchronization requirements in multi-threaded
applications.

[egl]: https://github.com/KhronosGroup/EGL-Registry/pull/205
[vulkan]: https://docs.vulkan.org/spec/latest/chapters/VK_KHR_surface/wsi.html#platformCreateSurface_wayland

Signed-off-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
Julian Orth 2024-09-10 12:31:12 +02:00
parent 7c6259e9ad
commit aabd666864

View file

@ -1679,6 +1679,11 @@
to affect double-buffered state.
Other interfaces may add further double-buffered surface state.
Clients must ensure that the double-buffered state is consistent when
making this request. The consistency requirements are documented by
requests that manipulate the state. Therefore, clients must use external
synchronization whenever they manipulate or commit the state.
</description>
</request>