Jump to content
  • Advertisement
Sign in to follow this  
markgame66

OpenGL Hardward Acclerating OpenGL view on a Dialogue Box

This topic is 3172 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, Does anyone know if it is possible to use hardware accleration on a part of a dialogue box which displays and OpenGL scene? I have a basic MFC PictureControl hooked into an OpenGL back end effectively to draw me the view. It's killing the CPU and would be nice if I can somehow tell the system to use hardware if avaliable. Thanks Mark

Share this post


Link to post
Share on other sites
Advertisement
I don't know how to interact with MFC, but there's nothing different from making a new window with borders and a window attached to a parent window. Use CreateWindow (when using the raw Win32 API), pass the parent window handle as the parent parameter, and set up OpenGL as normal. Nothing else is different as far as setting up OpenGL goes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!