Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Chas 100

Hardware acceleration for OpenGL

This topic is 5936 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi: I am brand new to using OpenGL. I am coding in Visual C++. My boss really, really wants to see my plots in 3D. So I am converting from plain moveto, lineto 2D code to OpenGL 3D calls. My question is: How do I make sure that a graphics card that supports OpenGL hardware acceleration is actually using the hardware? Do I have to link a certain way, or do anything else in the code? Or will the hardware get used automatically because of the graphics cards drivers? Also, anyone know of a good OpenGL card for a laptop? I want to make sure we get fast OpenGL accelerated graphics for our demo program when we show off. Thanks in advance

Share this post

Link to post
Share on other sites
it''s all taken care of auto-magically by the graphics card drivers. the card should accelerate everything that it can. if you''re worried throw in the following MessageBox call (assuming windows, otherwise use whatever messaging system you like)

MessageBox(NULL, (char *)glGetString(GL_VENDOR), "GL_VENDOR", MB_OK);

if the vendor name is Microsoft, then it''s not accelerated (those are the default windows video drivers). if it''s Nvidia or some other hardware brand then it is accelerated. if it DOES say microsoft, make sure you have a 3D card and then reinstall the drivers for it.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!