I was messing around with creating a basic GUI and started to mess around 
but noticed big performance differences when I started to create Labels 
(duplicate labels as well for text shadowing).

I tested the performance difference between using: 1 group + 1 batch, 1 
batch, and draw loop and noticed some big differences.

So for instance if I just batch 50 labels together, the application doesn't 
have any issue and runs ridiculously fast (high 4 digit FPS).

However, I will need ordering, so, if I add all of those to even just one 
group, the FPS tanks (double digits, low triple digits).

I then just looped all of the draw calls of the labels without even 
batching and get the same performance as group + batch.

Am I missing something or is batching not used when groups are involved? I 
tried looking over the examples and docs but didn't see any explanation. 
Could someone shed some light on this? Thanks.

-- 
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