Login  Register

Re: Multithready between AWT and JOGL

Posted by millerni456 on Sep 23, 2011; 3:01am
URL: https://forum.jogamp.org/Multithready-between-AWT-and-JOGL-tp3356928p3360766.html

I wonder if there is anything I can do with the following line:

GLContext context = GLDrawableFactory.getFactory().createExternalGLContext();

I would have to make the context available throughout my program, and I can call

context.makeCurrent();
context.release();

to control the OpenGL thread.