Results 1 to 2 of 2

Thread: GDI benchmark

  1. #1

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Lightbulb 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 ). 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)
    Attached Files Attached Files
    Last edited by Jim Davis; Nov 10th, 2008 at 07:08 PM. Reason: upgrade

  2. #2

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width