R: Re: SDL very slow (benchmark)

Juan Comesaña jcomesana at gmail.com
Tue May 18 12:54:34 EDT 2010


Hi,

I've tried your benchmark in a GP2X Wiz, that is a handheld videogame
console with Linux, and here are the results for 8 bpp and 16 bpp (the
other modes are unsupported):

root at wiz:/mnt/sd/game/Tests/sdl-bench# ./sdl-bench 8 20

 init = 201.486,
 imgLoad = 1079.76,
 setVideoMode = 8.91089,
 zoomSurface = 368,
 fillRect = 0.920251,
 blit = 29.4877,
 flip = 0.0121948,
 freeSurface = 0.0624023,
 total = 9259.81


root at wiz:/mnt/sd/game/Tests/sdl-bench# ./sdl-bench 16 20

 init = 241.395,
 imgLoad = 1078.4,
 setVideoMode = 1.59106,
 zoomSurface = 368.561,
 fillRect = 2.72301,
 blit = 40.3509,
 flip = 0.0123901,
 freeSurface = 0.846326,
 total = 9571.27

Cheers,

Juan




More information about the discussion mailing list


interactive