[SDL] SDL 1.3 on Mac OS X speed hit
slouken at devolution.com
Tue Aug 14 08:15:56 PDT 2007
> > Performance notes coming shortly.
Wow, good stuff there. I can handle the high level stuff (avoiding glGet
calls, eliminating duplicate set calls, etc.) The lower level things
(set up matrix transforms, eliminating glBegin/glEnd, etc.) are things
that would take me a fair amount of time to do since I'm not really an
expert at OpenGL. Is that something you'd be interested in doing when
you have time? Or is there someone else with Mac OS X and OpenGL
experience who'd like to take a look at these? :)
Also, did you look at testsprite's performance with your patch? I'm
curious how an extra copy from system memory to a pbo and then an async
transfer in the GL driver stacks up against direct DMA from system memory.
BTW, thanks so much for looking at this. I'd been wrestling for a few
days trying to get streaming textures on the fast OpenGL path for good
SDL 1.2 compatibility performance.
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
More information about the SDL