mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
6fcc8c5bce
ClutterX11TexturePixmap calls get_allocation_box() when queueing a clipped redraw. If the allocation is not valid, and if we queue a lot of redraws in response to a series of damage events, the net result is that we spend all our time in a re-layout. We can short-circuit this by checking if the actor has a valid allocation, and if not, just queue a redraw - the actor will be allocated by the time it is going to be painted. Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com> |
||
---|---|---|
.. | ||
clutter-backend-x11-private.h | ||
clutter-backend-x11.c | ||
clutter-backend-x11.h | ||
clutter-device-manager-x11.c | ||
clutter-device-manager-x11.h | ||
clutter-event-x11.c | ||
clutter-input-device-x11.c | ||
clutter-input-device-x11.h | ||
clutter-stage-x11.c | ||
clutter-stage-x11.h | ||
clutter-x11-enum-types.c.in | ||
clutter-x11-enum-types.h.in | ||
clutter-x11-texture-pixmap.c | ||
clutter-x11-texture-pixmap.h | ||
clutter-x11.h | ||
clutter-x11.pc.in | ||
Makefile.am |