Skip to content

windowManager: Use MetaWindowActor.paint_to_content() for window effects

Robert Mader requested to merge rmader/gnome-shell:window_actor_get_content into main

Previously we used get_image(), which returned cairo_surface, in order to create a ClutterContent with a screenshot of the MetaWindowActor. This added a roundtrip from GPU to CPU memory.

Instead, use the new paint_to_content() API which lets us use a CoglTexture directly as source of our ClutterContent.


Requires and should be merged together with mutter!1893 (merged)

Edited by Robert Mader

Merge request reports