Issue 480 in pyglet: [PATCH] VertexBufferObjectRegion.invalidate is too slow

2 views
Skip to first unread message

codesite...@google.com

unread,
Apr 28, 2010, 9:47:10 PM4/28/10
to pyglet...@googlegroups.com
Status: New
Owner: ----

New issue 480 by joe.wreschnig: [PATCH] VertexBufferObjectRegion.invalidate
is too slow
http://code.google.com/p/pyglet/issues/detail?id=480

VertexBufferObjectRegion.invalidate uses min and max, which are extremely
slow compared to a single comparison because they support a huge number of
argument conventions, none of which are relevant to this function's use.

http://code.google.com/r/joewreschnig-sprites/source/detail?r=c5514d55e5928e2b07b9ad79ef62039fb2dba5aab
fixes the function to use a single comparison.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "pyglet-issues" group.
To post to this group, send email to pyglet...@googlegroups.com.
To unsubscribe from this group, send email to pyglet-issue...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyglet-issues?hl=en.

Reply all
Reply to author
Forward
0 new messages