Fix damage tracking for surfaces with transforms
Created by: arandomhuman
Fixes bugs with running weston-simple-damage --transform=90
(for example) and weston-fullscreen
(use 't' to get a non-zero transform, then resize/scale/move mouse around). Both clients are now working (mostly) perfectly.
Caveat: weston-simple-damage --rotating-transform
leads to a very dirty buffer. Damage tracking is correct though (check in rootston). Weston also behaves the same way. No idea how to fix this. It's a bug with weston-simple-damage
: it damages the previous location incorrectly when the transformation changes.