Speedup flipping?

on NT4, creating a 640x480 video surface and updating the whole
surface runs in about .027 seconds (37fps)

NT4 needs to use the GDI driver for graphics, which doesn’t
support anything like SDL_HWSURFACE and SDL_DOUBLEBUF.

this would seem to be the best possible framerate i can
get for anything running on a similar setup? are there any
other flags or initialization methods i can use to speed
this up? this isn’t too bad, but i just want to make sure
i’m not missing out on anything that can get this rate up?

i’ve tried different combinations of fullscreen, doublebuf,
flipping instead of updating. in all cases i end up with the
exact same speed, .027 seconds for SDL_UpdateRects

on NT4, creating a 640x480 video surface and updating the whole
surface runs in about .027 seconds (37fps)

NT4 needs to use the GDI driver for graphics, which doesn’t
support anything like SDL_HWSURFACE and SDL_DOUBLEBUF.

this would seem to be the best possible framerate i can
get for anything running on a similar setup? are there any
other flags or initialization methods i can use to speed
this up? this isn’t too bad, but i just want to make sure
i’m not missing out on anything that can get this rate up?

i’ve tried different combinations of fullscreen, doublebuf,
flipping instead of updating. in all cases i end up with the
exact same speed, .027 seconds for SDL_UpdateRects

Yep, that’s pretty much what you’ll get. It would be an interesting
exercise to see what framerate you get under X11 on the same machine.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software