[SDL] faster way?

Frank Ramsay fjramsay at erols.com
Sat Aug 14 11:11:40 PDT 1999

Thanks, I just put this in it helps a bit, I got the fps up to 18.51.
I think I should be able to get it up to 30fps by optimising the 
isometic engine itself. I'l like to get it up to 50 but I don't think
that's going to be possible for a (windowed)640x480 display. 


John Garrison wrote:
> You might want to try using SDL_Flip() instead of your own double buffer. I
> have found that SDL_UpdateRect is pretty slow comparted to whatever same
> does for SDL_Flip().  In fact the ex2 demo in my PowerDraw lib went up from
> 10-27 fps just getting rid of all the update rects and adding SDL_Flip() as
> the double buffer.  The SDL_Flip optimization alone took it from 21fps to
> 27fps, so that might be what you are looking for.

More information about the SDL mailing list