why opengl needs directdraw on windows

Started by
3 comments, last by Sik_the_hedgehog 11 years ago

i use dependency walker to discover that

so how opengl implements gpu-acceleration on windows

Advertisement

i use dependency walker to discover that

so how opengl implements gpu-acceleration on windows

It shouldn't need directdraw.

OpenGL is implemented by the hardware manufacturer (in the driver).
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

DirectDraw is not the DirectX. DirectDraw is a 2D API which allows direct access to video memory and is probably used for accelerating final image output (rendered with OpenGL) to the window or full screen.

Even though OpenGL rendering is performed on the GPU, the result still needs to composited with the window manager (especially when not in fullscreen mode). Interacting with DirectDraw for some part of this is entirely plausible.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Beware that it's Direct3D the accelerated one, DirectDraw is supposed to be the software renderer... But yeah, completely clueless, unless it's going through the software OpenGL implementation from Microsoft. Then again I have absolutely no idea how OpenGL is implemented internally, so who knows.

Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.

This topic is closed to new replies.

Advertisement