shaped-texture: Fix screenshots and window animations when scaled
Make shaped-texture
take surface coordinates for the clip in meta_shaped_texture_get_image
, handle scaling of the clip in meta_window_actor_get_image
.
Tested:
- all three cases in meta_shaped_texture_get_image()
- fast path meta_shaped_texture_get_image
- fast path get_image_via_offscreen
- 'slow' path
- with and without
scale-monitor-framebuffer
- with scaled (GTK) und undscaled (XWayland) clients
- for window animation and screenshots
Together with gnome-shell!728 (merged) fixes #775 (closed) and, unintentionally, fixes gnome-shell#1421 (closed)
Edited by Robert Mader