Sign in to follow this  

Capture OpenGL surface?

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

This topic is 3577 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this