Jump to content
  • Advertisement

Archived

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

pango99

OpenGL Can I use OpenGL without specifying a window

This topic is 5535 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

I want to write a video transition program using OpenGL,and there is no need a window to show the image rendered by OpenGL,so is it possible to initializing a OpenGL working environment without specifying a window?If it is,how to implement it?

Share this post


Link to post
Share on other sites
Advertisement
this is just a shot in the dark as i''m not sure 100% how you set these up, but try looking into a pbuffer as these are offscreen buffers.
I dunno if you need to have an active context to make one however.

Share this post


Link to post
Share on other sites
Take a look at the dwFlags fields in the PIXELFORMATDESCRIPTOR structure (more specifically, the PFD_DRAW_TO_BITMAP bit flag).

theNestruo

Syntax error in 2410
Ok

Share this post


Link to post
Share on other sites
Yes, you need a window if you want hardware accelerated OpenGL. You can create a window and then just not display it on the screen and just use pbuffers for all your rendering.

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!