[SDL] slooow

Mattias Blomqvist Mattias.Blomqvist at nokia.com
Mon Apr 10 11:17:53 PDT 2000

> >I tried using a 32 bpp image and it is faster now.
> >SDL_BlitSurface takes 50 ms and the SDL_UpdateRects takes
> >another 30 ms. Still not fast enough though.
> >x11perf -shmput500 says it takes 22.9 ms to put a 500x500 image.
> This would translate to about (720*576)/(500*500) * 22.9 = 38 ms in your
> case, so with 30ms, you are lucky. What do you really need SDL_BlitSurface
> for? Can't you blast your bits directly into the screen buffer, run
> SDL_UpdateRects and be done with it? (Be sure to check the RGB masks first,
> though.)

Hmmm.... Never thought of that. I'll try it tomorrow. Even if I get it
down to 30 ms its still too slow. What do i have to use to get hw
accelerated blits? Something else than X11 i presume, but what?


More information about the SDL mailing list