mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 13:52:15 +00:00
18e3273fb1
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 |
||
---|---|---|
.. | ||
xsettings | ||
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-keymap-x11.c | ||
clutter-keymap-x11.h | ||
clutter-settings-x11.h | ||
clutter-stage-x11.c | ||
clutter-stage-x11.h | ||
clutter-x11-texture-pixmap.c | ||
clutter-x11-texture-pixmap.h | ||
clutter-x11.h |