DrawDibDraw - Draw into back buffer instead of on screen
I use DrawDibDraw to display graphics. Beforehand, I used my own piece of code that copies contents of an image to get smoother scrolling, but even just a 800x600 image and a 512x384 image on top of it. It was using a monstrous 45% of the CPU and going much beyond 3 more images of the 512x384 size would would be too much for the CPU. In my other tool, I had 40 times more detail than I currently do and it only uses 3% or so of the CPU (if I recall correctly). DrawDibDraw seems to use no CPU whatsoever (it barely registers any CPU usage in Windows Task Manager, about 0.2% on average). What DrawDib-related function do I use to get it to "draw" into a buffer without the high CPU usage? I'm just saying so so I can have it render into a back buffer and BitBlt the two buffers for each frame.