wayland/protocol
Julian Orth 44b1f98c4a protocol: buffer storage must not be destroyed while in use
wl_surface.attach already specifies that this causes the contents of
surfaces using the buffer to become undefined.

However, if the underlying storage is destroyed (e.g. by truncating a
memfd which leads to SIGBUS in the compostior), then it is desirable
that the compositor can treat this as a fatal client error.

This also addresses the case where a client destroys a GBM BO while the
compositor is using it. A client that is aware of this paragraph knows
that it can destroy the wl_buffer but must keep the BO alive while the
compositor is using it.

Signed-off-by: Julian Orth <ju.orth@gmail.com>
2024-05-31 15:05:57 +02:00
..
.gitignore Update .gitignore for protocol/ 2013-11-19 13:26:04 -08:00
generate-shm-formats.py Add an automated script to update wl_shm.format 2019-09-06 12:09:22 +00:00
tests.xml Replace initial 8 spaces with a tab for all xml files 2020-04-29 12:21:33 +00:00
wayland.dtd Add support for the deprecated-since XML attribute 2024-04-24 16:18:28 +00:00
wayland.xml protocol: buffer storage must not be destroyed while in use 2024-05-31 15:05:57 +02:00