wayland/protocol
Simon Ser 921d054803 protocol: prefer wl_surface.damage_buffer
This commit makes wl_surface.damage_buffer preferred over wl_surface.damage.
wl_surface.damage can be implemented in a non-optimal way by the compositor
(e.g. by always damaging the whole buffer).

Having two requests makes it complicated for the compositor to handle damage,
making it necessary to transform one into the other's coordinates.

Moreover, integration with wp_viewporter is tricky.

Signed-off-by: Simon Ser <contact@emersion.fr>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Derek Foreman <derek.foreman.samsung@gmail.com>
2018-11-30 09:25:14 -06:00
..
.gitignore Update .gitignore for protocol/ 2013-11-19 13:26:04 -08:00
tests.xml tests: Check for wrong fd delivery with zombie objects 2018-01-09 15:20:00 +00:00
wayland.dtd protocol: add the new bitfields to the dtd 2015-11-17 14:36:21 +02:00
wayland.xml protocol: prefer wl_surface.damage_buffer 2018-11-30 09:25:14 -06:00