Neil Roberts
87d55ffcfa
actor: Don't use propagated_one_redraw to determine effect dirty state
...
Previously ClutterActor was using priv->propagated_one_redraw to
determine whether to pass CLUTTER_EFFECT_PAINT_ACTOR_DIRTY to the
paint method of the effect. This isn't a good idea because the
propagated_one_redraw flag is cleared whenever clutter_actor_paint is
called, even if the actor isn't actually painted because of the zero
opacity shortcut. Instead of this, ClutterActor now has a separate
flag called is_dirty that gets set whenever queue_redraw_full is
called or whenever the queue redraw signal is bubbled up from a child
actor. The flag is only cleared in clutter_actor_paint if the effects
are actually run. Therefore it will stay set even if the opacity is
zero or if the parent actor decides not to paint the child.
Previously there were two places set propagated_one_redraw to FALSE -
once if the opacity is zero and once just before we emit the paint
signal. Now that propagated_one_redraw is only used to determine
whether to pass on the queue redraw signal it seems to make sense to
just clear it in one place right at the start of clutter_actor_paint.
https://bugzilla.gnome.org/show_bug.cgi?id=651784
2011-06-17 18:06:51 +01:00
..
2011-06-07 16:06:24 +01:00
2011-06-17 12:03:21 +01:00
2011-04-18 16:24:27 +01:00
2011-06-07 14:39:01 +01:00
2011-05-06 15:44:08 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2010-05-26 14:09:24 +01:00
2010-05-20 11:19:51 +01:00
2010-10-25 23:44:53 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-17 18:06:51 +01:00
2011-06-07 16:06:24 +01:00
2011-04-01 15:36:22 +01:00
2011-01-20 16:35:26 +00:00
2011-03-03 11:47:49 +00:00
2010-10-18 11:26:44 +01:00
2010-07-31 10:56:09 +01:00
2011-04-16 10:22:01 +01:00
2010-09-10 11:18:53 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-04-11 17:54:36 +01:00
2011-06-14 15:55:06 +01:00
2011-06-07 16:06:24 +01:00
2011-01-20 13:29:37 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2010-06-01 12:08:18 +01:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-25 11:14:37 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-01-20 16:35:26 +00:00
2011-01-20 16:35:26 +00:00
2011-06-07 14:43:52 +01:00
2010-03-25 09:41:54 +00:00
2011-03-08 19:27:07 +00:00
2010-03-02 11:12:32 +00:00
2011-05-06 15:06:06 +01:00
2011-05-06 15:06:06 +01:00
2011-03-03 11:47:49 +00:00
2011-06-09 15:12:41 +01:00
2011-06-09 15:12:41 +01:00
2011-05-13 01:46:32 +01:00
2010-11-11 13:14:23 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-03-03 11:47:49 +00:00
2011-02-16 14:11:59 +00:00
2011-01-19 14:33:27 +00:00
2011-03-01 19:04:31 +00:00
2010-09-17 12:17:50 +01:00
2011-02-15 12:40:12 +00:00
2011-02-11 16:45:45 +00:00
2011-06-17 12:15:19 +01:00
2011-03-03 11:47:49 +00:00
2010-11-18 18:23:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-01-28 18:19:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-21 10:25:43 +00:00
2011-03-21 12:41:40 +00:00
2011-03-09 14:21:01 +00:00
2011-06-13 16:00:45 +01:00
2011-06-13 16:00:45 +01:00
2011-06-13 16:00:45 +01:00
2011-02-28 14:16:23 +00:00
2011-01-21 10:25:43 +00:00
2011-01-21 10:25:43 +00:00
2011-06-07 16:06:24 +01:00
2011-06-09 15:40:26 +01:00
2010-10-21 12:22:17 +01:00
2010-02-15 19:03:37 +00:00
2010-06-07 22:40:34 +01:00
2011-06-13 13:47:09 +01:00
2010-12-10 17:15:39 +00:00
2011-05-13 01:46:32 +01:00
2011-05-13 01:46:32 +01:00
2011-03-03 11:47:49 +00:00
2010-11-17 16:19:10 +00:00
2011-01-20 13:29:37 +00:00
2011-06-10 15:15:15 +01:00
2011-06-13 15:36:07 +01:00
2011-06-17 17:23:32 +01:00
2011-05-26 08:48:13 -04:00
2011-02-18 15:53:27 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-17 12:14:15 +01:00
2011-02-28 14:16:24 +00:00
2010-09-10 17:54:52 +01:00
2011-06-17 12:14:15 +01:00
2010-10-18 11:26:45 +01:00
2010-12-09 12:36:50 +00:00
2010-08-10 17:12:06 +01:00
2011-01-10 21:22:22 +00:00
2011-06-17 16:58:36 +01:00
2011-02-28 14:10:05 +00:00
2011-06-10 15:15:15 +01:00
2010-11-17 16:19:10 +00:00
2011-06-02 22:16:45 +02:00
2010-05-19 16:10:05 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-02-28 14:34:36 +00:00
2011-06-13 16:00:45 +01:00
2011-02-28 14:34:36 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-03-07 13:26:20 +00:00
2011-06-17 17:44:16 +01:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2010-10-21 12:22:17 +01:00
2011-06-07 16:06:24 +01:00
2010-09-14 12:43:16 +01:00
2010-09-14 12:43:16 +01:00
2011-05-13 01:46:32 +01:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-06-13 13:47:09 +01:00
2011-06-13 13:47:09 +01:00
2011-06-13 13:47:09 +01:00
2011-06-13 13:47:08 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-09 14:43:34 +01:00
2011-01-20 16:35:26 +00:00
2011-06-07 14:09:53 +01:00
2011-06-07 14:09:53 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2010-10-21 13:13:00 +01:00
2010-10-21 11:30:19 +01:00
2010-05-19 16:10:05 +01:00
2011-05-06 17:47:41 +01:00
2011-06-15 15:46:38 +01:00
2011-04-11 15:28:53 +01:00
2011-06-15 18:17:06 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-10 15:15:15 +01:00
2011-06-10 15:15:15 +01:00
2011-02-19 16:47:20 +00:00
2010-09-23 15:17:58 +01:00
2011-06-13 16:15:22 +01:00
2011-06-13 16:15:22 +01:00
2011-06-17 17:44:16 +01:00
2010-11-18 18:23:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-24 11:52:47 +00:00
2010-11-17 16:19:10 +00:00
2010-11-17 16:19:10 +00:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-06-14 00:05:33 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2010-02-06 10:49:33 +00:00
2010-03-02 11:12:32 +00:00
2011-06-10 14:02:17 +01:00
2010-09-29 14:40:15 +01:00
2011-06-14 20:35:18 +01:00