clandrew / setpixelsperf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance Experiment- Comparing GDI SetPixels and SetDIBits

This is a very simple, minimalistic benchmark program for comparing

  • SetPixel, plotting each pixel of a window sequentially one by one, against
  • SetDIBits, where all pixels of a window are set from memory at once.

On each draw, the plots use a different color so that you know the clear is happening.

Example image

Nothing too fancy.

About

License:MIT License


Languages

Language:C++ 88.6%Language:C 11.4%