mutter/clutter
Carlos Garnacho ba8f5a1178 clutter: Use g_signal_handler_disconnect to disconnect frequent signal
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
2019-04-30 13:12:53 +00:00
..
clutter clutter: Use g_signal_handler_disconnect to disconnect frequent signal 2019-04-30 13:12:53 +00:00
tests cogl: Remove unused cogl_texture_new_from_foreign 2019-04-18 12:53:09 -04:00
.gitignore clutter: Remove clutter specific version 2018-11-06 17:17:36 +01:00
meson.build build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00