------------------
Drago
DirectDraw pixel plotting
Started by drago, Aug 19 1999 09:27 AM
2 replies to this topic
#1 Members - Reputation: 150
Posted 19 August 1999 - 09:27 AM
Is it faster to pixelplot using a lock/unlock approach, or using the DDBLT_FILLCOLOR approach for a point? I would assume that the DDBLT_FILLCOLOR approach would be faster if supported by the HAL, but what about the HEL?
Ad:
#2 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 19 August 1999 - 03:24 AM
Drago -
I'm assumming you want to plot more then one pixel, right? Calling the Lock/UnLock pair yourself and plotting all needed pixels between this single pair of lock statements will be fastest.
DirectDraw will call Lock/UnLock internally so if you plot each pixel with Blt/BltFast you will incure the overhead of the lock statements on each pixel.
John Hebert






