Re: jogl and jre8 on macosx
Posted by slajar on Jul 24, 2014; 8:40am
URL: https://forum.jogamp.org/jogl-and-jre8-on-macosx-tp4032589p4032652.html
The major drawback of Swingnode is that they capture the swing-UI and draw it in JFX. That takes a lot of time and CPU.
I am sure it woll work a bit better than swing node. Basically the idea consist of two things
1. GLCanvas is created in an undecorated JFrame
2. a blind node (Probably a label or so) is created in the Stage.
The JFrame is beeing positioned whenever the "blind node" is moved or resized. These movement and resizing events have to be pushed to the JFrame. The "blind node" is nothing more than a proxy to receive all events.
This procedure allows us to use JavaFX in default settings and still having Jogl power in small portios of the UI. We know this is not a real integration but it will be felt like that. I stil hope we can integrate JOGL directly in the JFX drawing so we could share textures and so on.