• Advertisement

Archived

This topic is now archived and is closed to further replies.

DirectDraw pixel plotting

This topic is 6733 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
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

Share this post


Link to post
Share on other sites
Advertisement
My question is off topic and i really dubt in DirectX programming, but i'm interested for what surface needed to be locked or unlocked?

Share this post


Link to post
Share on other sites
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?

------------------
Drago

Share this post


Link to post
Share on other sites

  • Advertisement