Login  Register

Re: invisible rendering

Posted by Sven Gothel on Jun 17, 2014; 2:24pm
URL: https://forum.jogamp.org/invisible-rendering-tp4032432p4032454.html

On 06/17/2014 11:31 AM, slajar [via jogamp] wrote:
> Okay, I see. It is okay that all canvases are beeing destroyed as long as I
> can have an invisible canvas somewhere where my shaders can still render. How
> about GLDrawableFactory.createOffscreenDrawable ? Can this render somehow with
> a valid GL context?
>

yes.

also looks at shared unit tests, i.e.
  find jogl/src/test -name \*Shared\*

You probably like to have an offscreen GLAD .. however,
they all work.

> (I am using setSharedAutoDrawable for all my contextes)

err .. GLSharedContextSetter.setSharedAutoDrawable(..) ,
yes .. exists to sync shared context creation w/ GLAD.

~Sven


signature.asc (894 bytes) Download Attachment