On Tue, Jun 2, 2009 at 1:28 PM, Lynx <[email protected]> wrote: > > > Ive never profiled code doing stuff like this. Does this make a huge > > difference? Whats with the migration of the group? Something specific > > to simplui, right? Isn't group and batch migrations expensive > > operations, as i recall from the documentation. Not sure why this > > would need to be done. > > No, simplui doesn't yet use batches and groups. That's a Pyglet thing > that allows you to move a vertex list from one batch/group to > another. It's not frequently used... There's a pending bug in > respect to migration: > > http://code.google.com/p/pyglet/issues/detail?id=381 > > There's a workaround for it of course. Hopefully this will get fixed > and released at some point. > > However, it works pretty well to just delete the vertex list and > recreate it as needed.
Ja, batching is a bit of a thorny issue with GUI code, especially since the programmer should be able to reorder elements at will, and connect them to different dialogues, etc. -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
