On Thu Jul 6 08:34:38 2023 +0000, Rémi Bernon wrote:
If you tell the compositor about the damaged regions, do you still actually need to copy the data outside of it from the previous buffer?
Sadly, yes, the whole buffer we commit needs to be fully valid/up-to-date, as the compositor is free to read from outside of the damage region as needed. Wayland surface damage is only an optimization hint for the compositor.