Which library allows you to open multiple gl windowes

I need to open multiple opengl windowes under X (Linux).

SDL is nice, but it only supports one window.

I think fltk at least supports this… any others?

And then… Is is possible to share same textures between different gl contexts (windowes) ?

Thanks.

I need to open multiple opengl windowes under X (Linux).
You can do this directly with Motif/X.

Is is possible to share same textures between different gl contexts (windowes) ?
Yes. See glXCreateNewContext and p663 of OpenGL redbook.

Alternatively, you can glScissor() to split your one window up into multiple (user-controlled) sub-windows. If you want to go full-screen, you’ll need to do this anyway.

You can also do a new glViewport() for each one if you like.

Thanks for the replies. Time to do some testing…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.