Jump to content
  • Advertisement

Archived

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

BlueGrass

OpenGL OpenGL task switching

This topic is 5673 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 need to know the proper way how to handle task switching under OpenGL in a fullscreen program. I''ve searched FlipCode and various other sites, but I haven''t been able to find a completely satisfactory answer. Here''s some specific questions: 1) Should you completely release the device context when switching focus? If not, should you at least make the rendering context not current? 2) Do you need to recreate textures and reset OpenGL states when you get the focus back? 3) I''m planning to handle the WM_ACTIVATE message to get task-switches/top-level-window changes. This is a fine way to do it right? 4) I''m currently using WS_EX_TOPMOST. I''ve noticed multilingual support in WinXP uses this little floating tool-box. Will it get covered up by my topmost window? I think that''s all. Any other recommendations are welcome.

Share this post


Link to post
Share on other sites
Advertisement

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