I’m new to graphics programming and I’m wondering why I would ever prefer GDI over the hardware accelerated graphics of DirectX/OpenGL?
Are there still good reasons to use GDI?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It ultimately comes down to what you need. If you just need non-real time 2D graphics, GDI will do exactly what you need.
On the other hand, DirectX and OpenGL take much more work to use and manage (and typically use more system resources), although they allow faster drawing, and 3D.
Remember, keep it simple, you don’t need a full 3D system to draw a couple of circles!