mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
ba8f5a1178
Clutter does the nicety of connecting just created PangoContexts to ClutterBackend signals in order to update it on resolution/font changes. However the way the signals are disconnected (automatically via g_signal_connect_object() auto-disconnect feature) may incur into performance issues with a high enough number of ClutterActors with a PangoContext (eg. ClutterText) as the lookup by closure is linear across all signals and handlers. Keep the handler IDs around, and disconnect them specifically on dispose so it is more O(1)-ish. Related: https://gitlab.gnome.org/GNOME/mutter/issues/556 |
||
---|---|---|
.. | ||
clutter | ||
tests | ||
.gitignore | ||
meson.build |