Fillrates

BlitzPlus Forums/BlitzPlus Programming/Fillrates

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello,

I am experiencing something strange. I put together this little benchmark thing:

; Drawimage Fillrate Test
; Set GFX
Graphics 640,480,16,1

; Set temporary image
gfxBenchImage=CreateImage (640,480)
SetBuffer ImageBuffer(gfxBenchImage)
For t=1 To 1000
	Color Rand(255), Rand(255), Rand(255)
	Oval Rand(600), Rand (440), Rand(40), Rand(40),1
Next

; Do the fillrate test
SetBuffer BackBuffer()
L_Timer#=MilliSecs()
For t=1 To 20000
	DrawImage gfxBenchImage,0,0	
Next
L_Time#=MilliSecs() - L_Timer#

; Print result
Cls
Result# = (((2000*64*48) / L_Time#))
Text 10,10,"DrawImage: " + Result# + " million pixels per second"
Flip
WaitKey()


And my results are:
P4 2.6GHz, Radeon 9700Pro, WinXP: 2117 mpix / s
P4 2.53GHz, GeForce4, WinXP: 2282 mpix / s
AMD 1.1GHz, GeForce2, WinXP: 1084 mpix / s
P3 333MHz, TNT2, Win2K Server: 16340 mpix / s (<-- here is a problem??)

As you can see, the P3 is flipping out, but I don't know why yet. Those of you who want, please run this code on your PC's and report "Processor, GFX Card: <result>". I am hoping to find a pattern. Maybe it's the OS...