[SDL] Testing BillyTheKid for Linux...

ANOQ of the Sun anoq at HardcoreProcessing.com
Tue Aug 31 06:53:58 PDT 1999


Why are windowed displays on linux so slow?  I have never done any
graphics programming on linux but from my mac background these framerates
seem very low.  I am just curious.

Sean

On Sat, 14 Aug 1999, Frank Ramsay wrote:

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