Login  Register

Re: Issues with JOGL under OS X

Posted by agggile on Oct 28, 2015; 9:46am
URL: https://forum.jogamp.org/Issues-with-JOGL-under-OS-X-tp4035608p4035627.html

elect wrote
agggile wrote
It's very hard for me to "make a very small self contained example showing the problem" when I don't know what the problem is.
I know, but you should take in account that it is even harder for other people finding the error by just looking at one small piece of code.

Of course unless a very rare intuition, but that happens once on 100 times :p

Sorry but there is no other way than going down to a test scenario..

Anyway, I find naming classes/methods like "Class3_Sub13_Sub34.method331" very counter-productive and harmful, you should find a name that reflects its scope

The code is deobsfucated, no sane person would use naming conventions like that, obviously. It's up to the deobsfucator to come up with the names, and I've only refactored a fraction of what's in there.

Anyway, I assumed the debug would point out the issue as to why it occurs since I can't see why I couldn't deploy identical code on OS X and Windows when the issue doesn't exist on Windows (for whatever reason that is).

gouessej wrote
There is no other solution, we can't fix a bug that we can't reproduce. Your example doesn't show method1840, method1829 and Class3_Sub13_Sub34.method331. Please provide a SSCCE.
Please check the original post. As this is probably not a bug but some sort of misconfiguration from my end instead, I originally assumed that the issue would be clear from the debug. You even thought it was Apple's JVM that caused this, so don't expect for me to know it any better since you're the more advanced user here (I'm honestly clueless ).

but I assume there's some sort of information hidden in that log. I will provide code from the project when necessary.

Nevertheless, the referenced line numbers from TextureRenderer's method1835 are:

var5 = aGLContext1800.makeCurrent();
mainGlObj = aGLContext1800.getGL().getGL2();
GLUgl2.createGLU(aGLContext1800.getGL());

The methods don't make GL calls!