Re: GLJPanel in Lion
Posted by
Wade Walker on
Aug 13, 2011; 2:52am
URL: https://forum.jogamp.org/GLJPanel-in-Lion-tp3250682p3250862.html
Hmm, not sure what else to try. There are some vendor-specific code paths in the GLJPanel code, but those would be the same in Lion as they were in Snow Leopard. No warning or error messages show up in the log, which is good.
The fact that GL_QUADs work normally, while the fragment-shaded points don't, makes me a bit suspicious that it's a GL bug introduced with Lion (since Lion did upgrade their OGL level to 3.2). If there was really something wrong with GLJPanel's compositing, I'd expect everything to be flipped, not just the points.
If it were me, I'd probably try rendering more different types of objects in the GLJPanel to see if there's some pattern to what's flipped and by how much -- that might give some clue as to what's happening here. You could also compile JOGL (it's surprisingly easy, directions on wiki at
http://jogamp.org/wiki/index.php/How_to_Contribute) and trace through GLJPanel a bit to see what's going on. That code's got a lot of warts on it due to workarounds for various driver bugs, so it may be going through an odd path that doesn't make sense on Lion.