mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
b20e9b78e5
The ClutterActor:depth property has always been a bit of a misnomer: actors are 2D flat surfaces, so they cannot have "depth"; the property defines the position on the Z axis. Another side effect of the :depth property is that it decides the default paint and allocation order on insertion, and that setting it will call the ClutterContainer.sort_depth_order() method. This has proven to be a fairly bad design decision that we strung along from the 0.x days, as it gives a false impression of being able to change the paint and allocation order simply by changing the position on the Z axis — something that, in reality, requires depth testing to be enabled during the paint sequence of an actor's parent. For 2.0 we need a clean break from the side effects, and a better defined interface. ClutterActor:z-position is essentially what ClutterActor:depth is, but doesn't call into ClutterContainer, and has a more apt name. https://bugzilla.gnome.org/show_bug.cgi?id=679465 |
||
---|---|---|
.. | ||
clutter-actor-deprecated.c | ||
clutter-actor.h | ||
clutter-alpha.c | ||
clutter-alpha.h | ||
clutter-animatable.h | ||
clutter-animation.c | ||
clutter-animation.h | ||
clutter-animator.c | ||
clutter-animator.h | ||
clutter-backend.h | ||
clutter-behaviour-depth.c | ||
clutter-behaviour-depth.h | ||
clutter-behaviour-ellipse.c | ||
clutter-behaviour-ellipse.h | ||
clutter-behaviour-opacity.c | ||
clutter-behaviour-opacity.h | ||
clutter-behaviour-path.c | ||
clutter-behaviour-path.h | ||
clutter-behaviour-rotate.c | ||
clutter-behaviour-rotate.h | ||
clutter-behaviour-scale.c | ||
clutter-behaviour-scale.h | ||
clutter-behaviour.c | ||
clutter-behaviour.h | ||
clutter-bin-layout.h | ||
clutter-box.c | ||
clutter-box.h | ||
clutter-cairo-texture.c | ||
clutter-cairo-texture.h | ||
clutter-container.h | ||
clutter-fixed.c | ||
clutter-fixed.h | ||
clutter-frame-source.c | ||
clutter-frame-source.h | ||
clutter-group.c | ||
clutter-group.h | ||
clutter-keysyms.h | ||
clutter-main.h | ||
clutter-media.c | ||
clutter-media.h | ||
clutter-rectangle.c | ||
clutter-rectangle.h | ||
clutter-score.c | ||
clutter-score.h | ||
clutter-shader.c | ||
clutter-shader.h | ||
clutter-stage-manager.h | ||
clutter-stage.h | ||
clutter-state.c | ||
clutter-state.h | ||
clutter-texture.h | ||
clutter-timeline.h | ||
clutter-timeout-interval.c | ||
clutter-timeout-interval.h | ||
clutter-timeout-pool.c | ||
clutter-timeout-pool.h | ||
clutter-util.h |