wayland/protocol
Julian Orth eac3fd97e9 protocol: remove note discouraging use of wl_surface.damage
If a client tracks damage in surface coordinates, there is no reason for
it to use the damage_buffer request.

The message of the commit that originally added this note says that the
compositor might implement wl_surface.damage inefficiently and that it
is complicated to implement correctly. Having the logic replicated in
every client that tracks damage in surface coordinates does not make it
more efficient or more correct. The conversion between surface and
buffer damage can be implemented as a matrix multiplication but it's not
easy to get right and it is more likely that compositors will have a
correct and fast implementation.

Reverts: 921d054803
Signed-off-by: Julian Orth <ju.orth@gmail.com>
2025-12-11 22:57:07 +01: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: remove note discouraging use of wl_surface.damage 2025-12-11 22:57:07 +01:00