Re: Renderer.updateTexture2DSubImage...
Posted by ThomasR on Feb 19, 2018; 9:05pm
URL: https://forum.jogamp.org/Renderer-updateTexture2DSubImage-tp4038649p4038659.html
Hi there,
Callable() {
JoglCanvasRenderer.makeContextCurrent()
updateTexture
JoglCanvasRenderer.releaseCurrrentContext()
}
Works! Thank you for the tip! I need to work with this for a more general approach in our system.
However, contextDropAndReclaimOnDrawEnabled=false does NOT work. Looking at the code a bit, I think this boolean is not checked in time, ie. updateTexture wants to know the context is current before the draw() method is called. Not sure.
Tom