I ended up subclassing VertexList, and fixed the garbage collection issue. I 
also added a vertex_index attribute to it, so during should be faster.

There are only two things left, which are:
1. Migration. The code is there, but I don't think it's accurate.
2. Handling of drawing OrderedVertexDomains with a primsize that is not equal 
to 1. 

Number 2 is important, since drawing breaks if you delete vertex lists from the 
middle (or migrated, if that worked). I haven't had time to figure out 
glMultiDrawElements yet, which is what we need to use I think. Maybe a 
different type of index list is needed.

Feedback is appreciated. I'm thinking that maybe it would be a good idea to 
benchmark this implementation before spending time finishing it up. 

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to