Re: Hangs and Freezes (JOGL 2.2.4 & 2.3.0, MacOS X Yosemite, JDK 6, 7 & 8, SWT 3.8.2 & 4.4.2)
Posted by Alexis Drogoul on Apr 01, 2015; 10:05am
URL: https://forum.jogamp.org/Hangs-and-Freezes-JOGL-2-2-4-2-3-0-MacOS-X-Yosemite-JDK-6-7-8-SWT-3-8-2-4-4-2-tp4034199p4034221.html
Jerome, Sven,
thanks a lot for your e-mails. They allowed me to clarify a bit the priorities and proceed (more or less) step by step. First of all, I definitely gave up on trying to use the SWT_AWT bridge again for this port. It seems that most of the threading problem were caused by the additions of OpenGL animator threads to the already complicated interaction between SWT and AWT threads. Too much for my small brain. Second, I took a look at several test units, and I think it gave me a good idea on how to correctly proceed — if I did not have a simulation platform to code, I would probably try to help you by giving a hand to the documentation, since the richness of the tests is underexploited in that respect.
Moving to SWT-only views simplified a lot of things, although I'm still struggling with awkward problems, but I will post them in separate threads in this forum. The good news is that, besides these (small) problems of refresh, interactions between views, resizing, everything works quite well with version 2.2.4 of JOGL. I've not yet made the move to the recent 2.3.1, mainly because textures were not working as expected on 2.3.0, and I wanted to tackle one problem at a time. I will do it later.
Regarding contributing a bit more efficiently to JOGL (beside documentation), it's true that I now have a number of case studies — and possibly some suggestions as well for the SWT port. Nothing formalized yet, but I will of course try to contribute.
Thanks again for your support — it has been excessively useful in this transition !
Cheers
Alexis