[SDL] Crossplatform screensavers

fmunoz at geocities.com fmunoz at geocities.com
Sat Apr 22 08:35:56 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.
> 
> That seems very wrong.  What depth is your display set to?
> SDL_BlitSurface() shouldn't take 50 ms for even a 1024x768 blit, since
> it's using inline assembly version of memcpy(), unless it's doing a 
> complicated unoptimized conversion blit (which almost never happens)

Depth is 32.

> What is the output of the testvidinfo program in the test 
> subdirectory?

A window manager is available
Current display: 32 bits-per-pixel
	Red Mask = 0x00ff0000
	Green Mask = 0x0000ff00
	Blue Mask = 0x000000ff
No special fullscreen video modes

> What's the output of cat /proc/cpuinfo?

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 5
model name	: Pentium II (Deschutes)
stepping	: 2
cpu MHz	: 397.956046
cache size	: 512 KB
fdiv_bug	: no
hlt_bug	: no
sep_bug	: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception : yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips	: 397.31



/Mattias



More information about the SDL mailing list