Jonas Dreßler 7f99655067 iconGrid: Only animate items when we actually need it
Animating items of the iconGrid involves calling a few more C functions,
which is quite slow. Especially calling ClutterActor.set_easing_delay()
is slow because we override that function in JS to adjust for the
animation slow-down factor. So add a small class variable to make sure
we only animate the icons of the grid when we actually need it.

This makes the average time spent in vfunc_allocate() of the iconGrid go
down to about 0.7 ms.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1713>
2021-03-03 17:59:16 +00:00
..
2021-02-26 12:28:21 +00:00
2021-02-24 09:52:45 +00:00
2021-03-02 15:36:26 +01:00
2021-03-02 23:14:07 +00:00
2021-02-13 08:58:20 +00:00
2021-03-03 15:08:17 +00:00