shaped-texture: Reset pipelines after setting a texture with new size
Attaching a new buffer with a different size than the old one means that the viewport needs to be recalculated. Not doing this caused the viewport to be incorrectly applied when viewport_src_rect remained the same after attaching such buffer. Pipeline reset usually happens when applying a new viewport, but it doesn't happen when the viewport values remain the same. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2689> (cherry picked from commit e331e38a)
parent
86bc1827
Please register or sign in to comment