Login  Register

Re: JOGL - without GLEventListener (GLCanvas or GLJPanel)

Posted by gouessej on Apr 28, 2018; 8:03am
URL: https://forum.jogamp.org/JOGL-without-GLEventListener-GLCanvas-or-GLJPanel-tp4038837p4038842.html

You can use GLAutoDrawable.invoke() to push your runnables, they will be executed when the OpenGL context is current. If you prefer creating the context in the C++ code, you can create an external context in JOGL bound to the OpenGL context created in C++.
Julien Gouesse | Personal blog | Website