USEASBMP unuseably slow

Previous topic - Next topic

PeeJay

I manage to get around 2 frames per second here if I include USEASBMP in my code. I know my video card is hardly earth shattering (a NVidia FX5500) but that can't be right, surely?
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Kitty Hello

Should not be. What screen resolution? Fullscreen or windowed? Can you post an example?

PeeJay

Sure. In this code:

Code (glbasic) Select
// --------------------------------- //
// USEASBMP bug
// --------------------------------- //

SETSCREEN 640,480,1

WHILE KEY(01)=FALSE

FOR loop=1 TO 100
SETPIXEL RND(640),RND(480),RGB(200,0,0)
NEXT

time1=GETTIMERALL()
USEASBMP
time=GETTIMERALL()-time1

PRINT "TIME TAKEN : "+time,0,460

SHOWSCREEN

WEND
I'm averaging around 1700ms for the USEASBMP command to work. Windowed makes no difference. Changing to 320x240 speeds it up to around 1680ms
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

D2O

15 ms in fullscreen
and
11 ms in windowed

If your GL Driver OK ?
I7 2600K; 8 GB RAM ; Win10 Pro x64 | NVidia GTX 750 TI 2048MB ; Realtec OnBoard Sound;
Lenovo ThinkPad T400: XP Pro
GLB Premium-immer Aktuell

Kitty Hello

Fixed in next update. Surface grabbes was max texture size (which is 8000x8000 or so....)

PeeJay

Thanks Gernot - works a treat - down to 5ms now :)

D²O - your video card is obviously a tad better than mine! :D
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity