Re: [Plib-devel] Vertex arrays optimization patch
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2002-12-15 17:28:45
|
Darrell Walisser writes: > > This patch has been discussed in the past, but hasn't made it into CVS > yet. I'll summarize briefly our past discussion. Currently, ssg is > calling glPushClientAttrib()/glPopClientAttrib() around > glDrawElements(). These calls are very expensive and should not be > used. I just tried your patch on my win2k geforce2 GTS machine and I get approx a 10% slowdown with this pathch compared to the original code What would be really neat is if all the leafs were sorted by their respective state requirements as they were loaded then we could introduce push/pop state nodes to potentially control many leafs at once unfortunately I can't really think of an easy way todo this Norman |