This article describes how to use OpenGL to let your application render in xinerama stereo mode. I am also calling this mode: passive stereo mode, because it renders both views of the scene (for left and right eye) on the screen without at the same time. The description use native OpenGL function calls and provide also at the end a camera class, which can be used for this purpose.

There are some examples how it will looks like in real time (rendered with OpenGL in widescreen mode 16:9)