SDL very slow

Fernando Carello fcarello at libero.it
Fri May 14 04:03:54 EDT 2010


Hi!

> I can sure that soft-float enabled by default.

> just want know, how to test SDL speed?

Actually I just observed a slow execution of these functions (no individual timing):

SDL_FillRect()	
SDL_BlitSurface()
SDL_Flip()

which I call consecutively; and an extremely slow (we are talking about some seconds for a 1024x768 image) execution of

zoomSurface() 

(from SDL_gfx)

but you raise an interesting point: I should really write a real benchmark, with appropriate granularity to isolate the various SDL functions.
I'll do that and report back. 

Fernando





More information about the discussion mailing list


interactive