GLOffscreenAutoDrawable implementations

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GLOffscreenAutoDrawable implementations

gouessej
Administrator
Hi

Currently, there is only one implementation of GLOffscreenAutoDrawable as far as I know, it is based on FBO. Is there a plan to add some other implementations in case FBO are slow or not available?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: GLOffscreenAutoDrawable implementations

Sven Gothel
Administrator
On 01/23/2013 05:25 PM, gouessej [via jogamp] wrote:
> Hi
>
> Currently, there is only one implementation of GLOffscreenAutoDrawable as far
> as I know, it is based on FBO. Is there a plan to add some other
> implementations in case FBO are slow or not available?

GLOffscreenAutoDrawableImpl is being used for _any_ offscreen drawable,
i.e. FBO, pbuffer and bitmap.

See unit test 'TestGLAutoDrawableFactoryOffscrnCapsNEWT',
which uses
  GLOffscreenAutoDrawable GLDrawableFactory.createOffscreenAutoDrawable(..)

to create all these variations.

Note: Due to this, GLPbuffer is deprecated.

~Sven



signature.asc (911 bytes) Download Attachment