Re: [clutter] Performance problems when adding actors to groups

2009-04-01 Thread Emmanuele Bassi
On Tue, 2009-03-31 at 15:41 -0700, Patrick Walton wrote: Emmanuele Bassi wrote: writing your own container actor. :-) So it's not considered a bug if ClutterGroups don't scale? don't scale to 2000 items? no. a Group is a simple, fixed size layout manager; usually, when people require some

Re: [clutter] Performance problems when adding actors to groups

2009-03-31 Thread Emmanuele Bassi
On Tue, 2009-03-31 at 15:16 -0700, Patrick Walton wrote: I'm writing an app that adds over 2000 actors to a ClutterGroup. The redraw speed is fine, but there's a very unpleasant lag when adding the actors. I traced it down to the clutter_group_sort_depth_order() in clutter_group_real_add().

Re: [clutter] Performance problems when adding actors to groups

2009-03-31 Thread Patrick Walton
Emmanuele Bassi wrote: writing your own container actor. :-) So it's not considered a bug if ClutterGroups don't scale? Maybe I'm misunderstanding the design, but I'm not sure what the benefit is to using g_list_append() and sorting the whole list every time an actor is added instead of