Skip to content
Commit 921d0548 authored by Simon Ser's avatar Simon Ser Committed by Derek Foreman
Browse files

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: default avatarSimon Ser <contact@emersion.fr>
Acked-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarDerek Foreman <derek.foreman.samsung@gmail.com>
parent 905c0a34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment