Check if the output passed to drm_output_prepare_overlay_surface() does actually contain the surface and fail if it doesn't. Also fail if a surface spans multiple outputs since clearing the damage will cause the portion that is not in an overlay to not be updated at all.
parent
57e0ce1d2a
commit
d450b1901f
Loading…
Reference in new issue