OpenGL with split window

Hi! Could anybody tell me how to draw in
several contexts at the same time if it’s possible, and how to realize OpenGL with split window



I’m not sure about having multiple contexts. If you’re talking in windows, I believe you can only have one rendering context, but perhaps that’s only per thread or window.

As far as a split screen, you can set up two different viewports, one for the top of the window and one for the bottom(if you want it split vertically). Say your window was 400x400. You can do the following:


<render top image>


<render bottom image>

Hope that’s what you were looking for…