[SDL] SDL performance over OpenGL performance.
neil at cloudsprinter.com
neil at cloudsprinter.com
Sun Jun 3 02:01:36 PDT 2007
I have ported many SDL things to 'slower' systems, and the ammount of
bloatware
programming style sometimes is hurrendous, even a supposed port or remake of a
zx spectrum game end up a big pile of steaming blits.
If you want to keep SDL fast as ryan says keep all the surfaces the
same format,
and crucially think about what on the screen actually needs to be re-drawn, if
you dont have to redraw the whole screen with SDL_Flip( then dont be
lazy, only
redraw the screen where and when it is neccesary. This can be complicated to
implement but the speed increases are worth it, especially if you want to run
your program on older or less powerful systems.
Dont rely on gzimmerwhammer GFX card systems to hide lazy programming!
More information about the SDL
mailing list