Emmanuele Bassi 9424e995fa actor: Improve conditions for skipping implicit transitions
The "should this implicit transition be skipped" check should live into
its own function, where we can actually explain what it does and which
conditions should be respected.

Instead of just blindly skipping actors that are unmapped, or haven't
been painted yet, we should add a couple of escape hatches.

First of all, we don't want :allocation to be implicitly animated until
we have been painted (thus allocated) once; this avoids actors "flying
in" into their allocation.

We also want to allow implicit transitions on the opacity even if we
haven't been painted yet; the internal optimization that we employ in
clutter_actor_paint() and skips painting fully transparent actors is
exactly that: an internal optimization. Caller code should not be aware
of this change, and it should not influence code outside of ClutterActor
itself.

The rest of the conditions are the same: if the easing state's duration
is zero, or if the actor is both unmapped and not in a cloned branch of
the scene graph, then implicit transitions are pointless, as they won't
be painted.

https://bugzilla.gnome.org/show_bug.cgi?id=698766
2013-05-06 10:04:22 -07:00
..
2011-11-10 19:05:39 +01:00
2013-02-13 09:27:17 -05:00
2012-02-23 12:01:11 +00:00
2013-04-04 11:53:39 +01:00
2012-04-27 12:30:48 +01:00
2012-04-27 12:28:49 +01:00
2013-03-13 15:05:28 -03:00
2011-10-19 15:23:55 +01:00
2012-04-27 12:30:48 +01:00
2012-06-05 12:28:25 +02:00
2012-01-16 23:35:16 +00:00
2012-06-11 13:47:29 +01:00
2012-04-30 17:17:41 +01:00
2012-12-02 14:50:53 -05:00
2011-06-07 16:06:24 +01:00
2012-04-27 12:30:48 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-04-27 12:30:50 +01:00
2013-05-06 10:04:21 -07:00
2013-04-04 11:53:39 +01:00
2012-04-27 12:30:48 +01:00
2012-09-03 20:54:43 +01:00
2012-08-20 18:28:22 +01:00
2013-05-06 10:04:21 -07:00