Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ GUI

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Tue Jun 09, 2009 1:56 am    Post subject: C++ GUI Reply with quote

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
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Jun 09, 2009 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Tue Jun 09, 2009 6:59 pm    Post subject: Reply with quote

Thank you, buddy. It looks like GDI is the winner :]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites