diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 00cad70a8..b52d93c19 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -1922,6 +1922,15 @@ clutter_actor_real_allocate (ClutterActor *self, clutter_actor_box_set_origin (&children_box, 0, 0); clutter_actor_box_set_size (&children_box, width, height); + CLUTTER_NOTE (LAYOUT, + "Allocating children of %s at { %.2f, %.2f - %.2f x %.2f } using %s", + _clutter_actor_get_debug_name (self), + priv->allocation.x1, + priv->allocation.y1, + width, + height, + G_OBJECT_TYPE_NAME (priv->layout_manager)); + clutter_layout_manager_allocate (priv->layout_manager, container, &children_box, @@ -2864,6 +2873,13 @@ clutter_actor_real_paint (ClutterActor *actor) iter != NULL; iter = iter->priv->next_sibling) { + CLUTTER_NOTE (PAINT, "Painting %s at { %.2f, %.2f - %.2f x %.2f }", + _clutter_actor_get_debug_name (iter), + iter->priv->allocation.x1, + iter->priv->allocation.y1, + iter->priv->allocation.x2 - iter->priv->allocation.x1, + iter->priv->allocation.y2 - iter->priv->allocation.y1); + clutter_actor_paint (iter); } }