I’ve tried to speed up my side scroller (scrolling background). I
couldn’t find slow block in my code. I also couldn’t make Gprof to work
properly (I use g++ with -pg and also use SDL timer in the program) this
always said “no time accumulated”.
Under Win32 in windowed mode FPS=10, but in fullscreen FPS=120!!!
Under X Window FPS=14 (full screen or not). So, when I set
SDL_VIDEODRIVER environ variable to “dga”, FPS was 80! But using DGA
extension sometimes (in other programs) leads to abnormally behavior.

My question is: can I use the same functions (SDL_BlitSurface,
SDL_LoadBMP, IMG_Load and so on) with OpenGL surface to get better

Thank you very much.