| View previous topic :: View next topic |
| Author |
Message |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Tue Jun 09, 2009 1:56 am Post subject: C++ GUI |
|
|
| What is the difference between DirectX, GDI, and OpenGL? I'm planning on learning something that allows me to draw on my screen and maybe on other processs. |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Jun 09, 2009 3:31 am Post subject: |
|
|
The differences are huge and practically innumerable if you really want a list.
I guess this is good enough if you want the 'gist' of it.
http://en.wikipedia.org/wiki/Comparison_of_OpenGL_and_Direct3D
GDI is certainly the simpler of the bunch and is a good foundation for starting, but lacks hardware acceleration. Well, actually, your drivers probably accelerate blits and some other things, but performance isn't even comparable in the end.
You will undoubtedly get your ass kicked hard if you just try to jump into OpenGL or DirectX, it's much simpler to just get something up and drawn on the screen in GDI.
Here's something I wrote, which will probably be useful as an example for fast drawing in GDI.
http://forum.cheatengine.org/viewtopic.php?t=426190 |
|
| Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Tue Jun 09, 2009 6:59 pm Post subject: |
|
|
| Thank you, buddy. It looks like GDI is the winner :] |
|
| Back to top |
|
 |
|