mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-25 06:46:34 -04:00
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:
parent
7c6259e9ad
commit
aabd666864
1 changed files with 5 additions and 0 deletions
|
|
@ -1679,6 +1679,11 @@
|
||||||
to affect double-buffered state.
|
to affect double-buffered state.
|
||||||
|
|
||||||
Other interfaces may add further double-buffered surface 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>
|
</description>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue