All things everywhere, except this one case, assume weston_plane::damage is in global coordinates. Document it. view_accumulate_damage() is wrong in converting damage to plane coordinates (similar to global coordinate except translated). Fix this by removing the unwanted translation, and use only global coordinates. We have not seen this bug manifest in real life because we get lucky: the origin of the primary plane is always at 0, 0. We do not use non-primary planes, except cursor plane on DRM backend where the actual damage coordinates are ignored. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>dev
parent
c7d7fdfd11
commit
502f5e06a2
Loading…
Reference in new issue