The opaque region is in surface coordinates, which we compare to the output region, which is in compositor coordinates. For non-primary outputs, that means that the output region is not located at 0,0 but something like 1920,0 instead. That means that the output region isn't contained in the surface opaque region and then we decide we can't scan out from it. Instead, compare the surface opaque region to the output region translated to 0,0. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7348i5dev
parent
e61d2f4812
commit
1be87e3c81
Loading…
Reference in new issue