Login  Register

Re: Renderer.updateTexture2DSubImage...

Posted by gouessej on Feb 19, 2018; 4:32pm
URL: https://forum.jogamp.org/Renderer-updateTexture2DSubImage-tp4038649p4038654.html

The canvas or window uses GLAutoDrawable.invoke(true, GLRunnable) in its method draw(CountDownLatch) to ensure that the drawing occurs on the thread on which the OpenGL context is current.

You don't need to put your callable into both queues. The stuffs of the update queue are treated before those of the render queue.
Julien Gouesse | Personal blog | Website