Hey guys I'm trying to make a directdraw program to output certain statistics but it's not drawing fast enough. Does anyone know how to increase ddraw update speeds?
Thanks in advance!
Hey guys I'm trying to make a directdraw program to output certain statistics but it's not drawing fast enough. Does anyone know how to increase ddraw update speeds?
Thanks in advance!
If the program truly must stay on DirectDraw (as says), the fastest wins come from three things: run exclusive fullscreen, use page-flipping with video-memory back buffers, and avoid per-pixel or per-frame surface locks. 's suggestion to consider other APIs is valid — modern APIs remove many of these headaches — but the checklist below focuses on squeezing maximum speed from DirectDraw itself.
Practical checklist:
Troubleshooting tips:
If after this the updates are still too slow, consider rendering your 2D UI via a Direct3D path (or Direct2D) while keeping any legacy DirectDraw parts — that hybrid is a common real-world compromise.
Jump to Post— Ancient Dragon 5,243Maybe you are doing it wrong.
DirectDraw is used to render graphics in applications where top performance is important
I don't use DirectDraw so I don't know if that's really true or not.
Maybe you are doing it wrong.
DirectDraw is used to render graphics in applications where top performance is important
I don't use DirectDraw so I don't know if that's really true or not. Here's the source of that quote.
I'm doing it correct. It's known that the update rate of ddraw is slow.
Then maybe you should be using something else. OpenGL maybe? But I don't know if it will be any faster.
Has to be ddraw :(
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.