Jump to content
  • Advertisement
Sign in to follow this  
bcsenteri

Capture OpenGL surface?

This topic is 3822 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'm not OpenGL expert so please excuse me if my question will be a dumb one. I need to send an OpenGL draw aplication to a small LCD which means I have to capture it. I can do this capturing the whole desktop but when something overlaps the OpenGL window, the overlapped content is captured. Is there any way to capture an OpenGL drawn window directly to have his content no matter of the window's Z order? regards, B.

Share this post


Link to post
Share on other sites
Advertisement
The standard explicitely defines the content of occluded areas as undefined. If you need reliable buffers, you need to use an offscreen rendering buffer such as pbuffers or framebuffer objects.

Share this post


Link to post
Share on other sites
The window what has to be captured can be any OpenGL window - it's not my aplicaton. So I cannot use double buffer or anything else since the aplication already exists.

I was afraid from Your answer ... So it seems that is no way to capture the content of an OpenGL aplication if that one is not visible ...

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!