Login  Register

Re: GL_FRAMEBUFFER_SRGB and GLJPanel

Posted by Sven Gothel on Oct 22, 2013; 8:45pm
URL: https://forum.jogamp.org/GL-FRAMEBUFFER-SRGB-and-GLJPanel-tp4030329p4030330.html

On 10/22/2013 10:24 PM, Christopher Bruns [via jogamp] wrote:
> I just upgraded from jogl version 2.0 (2.0-b58-20120620) to version 2.1
> (2.1-b1111-20131010) and experienced an issue with using
> glEnable(GL_FRAMEBUFFER_SRGB) on both Mac and Windows. GLJPanel used to
> respect this setting and no longer does (though GLCanvas does respect it in
> both versions).

Have a look at 'Warning' remark:
  <https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/javax/media/opengl/awt/GLJPanel.html#fboGLSLVerticalFlip>

You need to enable/disable states at GLEventListener display
to not influence the FBO composition impl. in GLJPanel,
which is 'special'.

~Sven



signature.asc (911 bytes) Download Attachment