Re: GLCanvas/GLJPanel problems
Posted by
mikaelhc on
Nov 14, 2012; 8:12am
URL: https://forum.jogamp.org/GLCanvas-GLJPanel-problems-tp4026923p4026937.html
Hi,
Thanks a lot for the quick feedback and information!
I've created a small program that reproduces the behaviour:
http://pastebin.com/Ys62kjKcAnd enabled the debug logging (creates a lot of exceptions):
Log at program startup:
http://pastebin.com/DCzbtRT8Log when resizing (and crashing):
http://pastebin.com/Z1kcyGZAIf it is necessary, I can create an unit test, and go hunting for the exact revision of the regression.
But I'm new to Java, so it will take quite some time for me to set up.
I'm not even sure it is a bug: looking at the unit test you suggested, I can see some warnings about mixing hw/lw components. And I guess that is exactly what I do in the JSplitPane. It did work under RC10, though.
Also, I'm not familar with the threading model under Java and JOGL yet. I guess the FPSAnimator runs in its own thread, but it is supposed to automatically invoke the display() calls on the OpenGL thread, I guess?
Regards, Mikael.