|
I am trying to detect whether stereo is available using JoGL so that I can use it if it exists, but not use it if its unavailable.
The idea is to set the GLCapabilities.setStereo() to true, then try to evaluate whether stereo is working.
On OSX with hardware stereo not available, both gl.glGetBooleanv(GL2.GL_STEREO,...) and gLDrawable.getChosenGLCapabilities().getStereo() return true, which is not what I am expecting.
On Linux-x86 64bit when hardware stereo is not available, calling setStereo(true) on the capabilities passed to GLCanvas, I am getting a flickering effect (similar, but not the same as when I remove the -Dsun.awt.noerasebackground=true argument).
I am more concerned with the OSX problem, since I am using a relatively old graphics card on Linux-x86 64bit.
Thanks for your response in advance,
Blaine Bell
|