mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 06:42:28 +00:00
5794871977
The most annoying aspect of ClutterOffscreenEffect right now, and the reason for all its subclasses to override pre-paint, is that the pipeline creation isn't under subclasses' control. That means all subclasses must ask ClutterOffscreenEffect to run pre-paint and create the pipeline, then they all create their own pipelines to paint. To reduce this complexity, add a new create_pipeline() vfunc to ClutterOffscreenEffect. Next commits will port effects to use this new vfunc. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1355>