Login  Register

Re: JOGL/JavaFX integration and the future

Posted by Dejay on Feb 25, 2013; 8:49pm
URL: https://forum.jogamp.org/JOGL-JavaFX-integration-and-the-future-tp4028263p4028374.html

Awesome, thank you very much for your help. I can glClear something :D

Btw Javafx is already multi threaded, e.g. render thread, animation thread, and application thread (all events get dispatched there). So doing stuff in response to events would not block rendering.

I've used the createProxySurface / createGLDrawable similar to swt.GLCanvas. The example greatly helped. Now I have to figure out how to render stuff :D

BTW if one only uses GLES2 for rendering, does the same code work on PC / android? (within capabilities)

And do any gl commands get dispatched into another thread if I only use makeCurrent and glCommands in a single rendering thread?

Cheers,
Dejay