actor: Annotate signals to enable some optimization
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 14 Mar 2012 11:33:55 +0000 (11:33 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 14 Mar 2012 11:35:33 +0000 (11:35 +0000)
commit708d385866645a9c7d6b90d477aff7b693879bb2
treec78b377762e602dcf7ec456daf46d49112bf5cd7
parent5d26aeca34c83589cac6be0d7754316e16d045fd
actor: Annotate signals to enable some optimization

The ::paint, ::queue-redraw, and ::queue-relayout signals should be
marked as no-recurse and no-hooks; these signals are emitted *a lot*
during each frame, and since GLib has a bunch of optimizations for
signals with no closures, we should try and squeeze every single CPU
cycle we can.
clutter/clutter-actor.c