1
0
Fork 0
mutter-performance-source/clutter
Daniel van Vugt 85f173d0d7 clutter: Pass 'radius' to public blur APIs instead of 'sigma'
Although they're in the same units, `radius` is easier to understand than
`sigma` and makes the public API independent of the blur algorithm used
behind the scenes. We now only keep the `sigma` terminology where the
implementation is Gaussian-specific.

The assumption that `sigma = radius / 2.0` is actually not new here. We
just move it from `_st_create_shadow_pipeline` (gnome-shell!1905) into
`clutter_blur_new`.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1908>
2023-12-14 18:12:55 +00:00
..
clutter clutter: Pass 'radius' to public blur APIs instead of 'sigma' 2023-12-14 18:12:55 +00:00
.gitignore build: One config file to rule them all 2023-11-15 12:00:19 +00:00
meson.build cleanup: Stop allowing deprecated Cogl API usage 2023-11-15 13:13:00 +01:00