-
2 Attachment(s)
GDI benchmark
Hello.
Here is a small benchmark tool to compare the GDI and Picturebox drawing methods and speeds. Also you can compare some GDI initialization and usage modes.
Any improvement in the mdraw.bas (that is a basic GDI frontend ATM) is welcome!
Also some tips to fix the flickering in direct gdi draw (vsync/vblank) would be nice!
hope you enjoy.
--------------------------------------------------------------------------
there we go, a big upgrade in gdibench11 ^^
added some nice features you may find useful (eg. text output, pen and brush pre-buffering), also found a way to fix the flickering in gdi direct drawing (it just happened :ehh:). it doesnt flickers on me, please report asap if you get any.
outstanding performance (+100% by comparing picturebox's methods) while drawing small amount of objects (less than 1000), by using the direct gdi mode (no blt'ing)
-
Re: GDI benchmark
read the comments to learn how to use this module. its quite simple btw
pls report any issues or memleaks etc...
a class version is on the way
have fun!