Re: Binding textures without showing the GLCanvas
Posted by Michael Bien on Jul 12, 2010; 3:29pm
URL: https://forum.jogamp.org/Binding-textures-without-showing-the-GLCanvas-tp960145p960634.html
On 07/12/2010 02:50 PM, Firecow [via jogamp] wrote:
> I found the answer my self.
>
> You create a GLPBuffer and add a GLEventListener to it.
...
> GLCanvas canvas = new GLCanvas(caps, null, pBuffer.getContext(), null);
> This lets your GLCanvas use the textures you've precreated in the pBuffer.
yeah, its context sharing + kind of offscreen rendering :)
good that it works for you. We should add this question to the FAQ... it
re-appears from time to time.
best regards,
michael