Looking at the clutter_group_paint function, isn't it completely
unnecessary that we push and pop the matrix there? We don't change the
matrix at all in that function and each child actor will push and pop
the matrix itself before applying the transformation in
clutter_actor_paint. Getting rid of that would effectively double the
stack depth right?
- Neil
On Thu, 2008-07-17 at 14:27 +0900, 이주성 wrote:
> static void clutter_group_paint (ClutterActor *actor)
> {
> ClutterGroupPrivate *priv = CLUTTER_GROUP (actor)->priv;
> GList *child_item;
>
> cogl_push_matrix ();
> for (child_item = priv->children;
> child_item != NULL;
> child_item = child_item->next)
> {
> ClutterActor *child = child_item->data;
> g_assert (child != NULL);
> if (CLUTTER_ACTOR_IS_VISIBLE (child))
> clutter_actor_paint (child);
> }
> cogl_pop_matrix ();
> CLUTTER_NOTE (PAINT, "ClutterGroup paint leave");
> }
--
To unsubscribe send a mail to [EMAIL PROTECTED]