Skip to content
Library to 'emulate' an OpenGL Quad-Buffer configuration.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
include
src
tests
Makefile
README

README

This projects aims to provide Quad-Buffer "emulation" for any OpenGL application.
As you may know OpenGL is able to do Quad-Buffer Stereo for many years.
But it only works with proffessionnal graphic cards, like Nvidia Quadro.

The goal of this project is to provide Quad-Buffer Stereo supports on non-Quad-buffered video cards.


* * COMPILATION * *

Compile the wrapper:
$ make

You can compile in debug mode:
$ make debug


* * USAGE * *

You need to use LD_PRELOAD :
$ LD_PRELOAD=/location/glQuadBufferEmu.so YourQuadBufferedApplication

Example :
$ LD_PRELOAD=./glQuadBufferEmu.so glxgears -stereo

You may want to make the lib available from any directory :
$ cp glQuadBufferEmu.so /usr/lib

Then you may use it just like that :
$ LD_PRELOAD=glQuadBufferEmu.so glxgears -stereo


* * CONFIGURATION * *

EDIT ~/.config/glQuadBufferEmu/glQuadBufferEmu.conf

Modes available :
- Monoscopic (Left or Right) [MONOSCOPIC],
- Anaglyph (any color) [ANAGLYPH],
- Side-by-side (Left/Right; Top/bottom; Frame-packing) [SIDEBYSIDE],
- Frame-sequential (software page-flipping) [FRAMESEQUENTIAL].

Modes in progress :
- Interlaced [INTERLACED]
You can’t perform that action at this time.