mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-13 04:28:02 -05:00
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:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| generate-shm-formats.py | ||
| tests.xml | ||
| wayland.dtd | ||
| wayland.xml | ||