mutter/clutter/x11
Robert Bragg 18e3273fb1 x11-tfp: Implement get_paint_volume virtual
One of the later changes made on the paint volume branch before merging
with master was to make paint volumes opt in only since we couldn't make
any safe assumptions about how custom actors may constrain their
painting. We added very conservative implementations for the existing
Clutter actors - including for ClutterTexture which
ClutterX11TexturePixmap is a sub-class of - but we were conservative to
the extent of explicitly checking the GType of the actor so we would
avoid making any assumptions about sub-classes. The upshot was that we
neglected to implement the get_paint_volume vfunc for
ClutterX11TexturePixmap.

This patch provides an implementation that simply reports the actor's
allocation as its paint volume. Also unlike for other core actors it
doesn't explicitly check the GType so we are assuming that all existing
sub-classes of ClutterX11TexturePixmap constrain their drawing to the
actor's transformed allocation. If anyone does want to draw outside the
allocation in future sub-classes, then they should also provide an
updated get_paint_volume implementation.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2349
2010-09-30 11:44:12 +01:00
..
xsettings x11: Add the XSETTINGS machinery 2010-06-21 15:55:36 +01:00
clutter-backend-x11-private.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
clutter-backend-x11.c build: Start moving to a non-recursive layout 2010-09-29 14:40:15 +01:00
clutter-backend-x11.h x11: Use XKB detectable auto-repeat 2010-07-13 08:27:48 +01:00
clutter-device-manager-x11.c Conditionally use g_object_notify_by_pspec 2010-08-10 17:12:06 +01:00
clutter-device-manager-x11.h device: Impose per-backend DeviceManager 2010-02-17 17:46:48 +00:00
clutter-event-x11.c x11: minimize nasty artefacts when resizing windows 2010-09-29 15:12:59 +01:00
clutter-input-device-x11.c Conditionally use g_object_notify_by_pspec 2010-08-10 17:12:06 +01:00
clutter-input-device-x11.h device: Make InputDevice an object and subclass it for X11 2010-01-20 00:38:08 +00:00
clutter-keymap-x11.c Conditionally use g_object_notify_by_pspec 2010-08-10 17:12:06 +01:00
clutter-keymap-x11.h x11: Use XKB to translate keycodes into key symbols 2010-07-13 11:54:44 +01:00
clutter-settings-x11.h x11: Add the XSETTINGS machinery 2010-06-21 15:55:36 +01:00
clutter-stage-x11.c Try to clean up how we handle actor transformations 2010-09-13 18:18:34 +01:00
clutter-stage-x11.h x11: minimize nasty artefacts when resizing windows 2010-09-29 15:12:59 +01:00
clutter-x11-texture-pixmap.c x11-tfp: Implement get_paint_volume virtual 2010-09-30 11:44:12 +01:00
clutter-x11-texture-pixmap.h x11: Clean up TexturePixmap header and private data structure 2010-07-21 15:14:36 +01:00
clutter-x11.h build: Start moving to a non-recursive layout 2010-09-29 14:40:15 +01:00