Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

why opengl needs directdraw on windows

4: Adsense

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
4 replies to this topic

#1 tcige   Members   

206
Like
0Likes
Like

Posted 13 April 2013 - 12:50 PM

i use dependency walker to discover that

 

so how opengl implements gpu-acceleration on windows



#2 SimonForsman   Members   

7633
Like
0Likes
Like

Posted 13 April 2013 - 01:32 PM

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).
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!

#3 Nercury   Members   

812
Like
0Likes
Like

Posted 13 April 2013 - 01:55 PM

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.



#4 swiftcoder   Senior Moderators   

18213
Like
0Likes
Like

Posted 13 April 2013 - 02:54 PM

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 - Software Engineer @ Amazon - [swiftcoding] [GitHub]


#5 Sik_the_hedgehog   Members   

3002
Like
0Likes
Like

Posted 13 April 2013 - 06:05 PM

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.




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.