Jump to content

  • Log In with Google      Sign In   
  • Create Account


DirectDraw pixel plotting


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 drago   Members   -  Reputation: 150

Like
Likes
Like

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?

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


Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

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


#3 FlyFire   Members   -  Reputation: 122

Like
Likes
Like

Posted 19 August 1999 - 09:27 AM

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?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS