Login  Register

Re: Updating glext.h confuses gluegen with function pointer GLDEBUGPROCARB

Posted by Sven Gothel on Feb 25, 2013; 2:36pm
URL: https://forum.jogamp.org/Updating-glext-h-confuses-gluegen-with-function-pointer-GLDEBUGPROCARB-tp4028327p4028362.html

On 02/25/2013 04:21 AM, kotloft [via jogamp] wrote:
> ARB_texture_view is already subsumed into GL4.3. So, following your
> guidelines, i shall not put it in, but waiting for you to publish GL4.3
> support.  
> I can try to add other non-subsumed extensions though. Hope I dont get the
> weird GLDEBUGPROCARB bug this time.

BTW .. we support both ARB_debug_output and AMD_debug_output
for a long time via jogamp.opengl.GLDebugMessageHandler internally,
which invokes
  javax.media.opengl.GLDebugListener.messageSent(GLDebugMessage event);

GL debugging can be controlled by GLContext's:
  - enableGLDebugMessage(boolean enable)
  - addGLDebugListener(GLDebugListener listener);
  - removeGLDebugListener(GLDebugListener listener);
  - glDebugMessageControl(..)
  - glDebugMessageInsert(..)

Read the API docs and have a look at unit tests:
  com.jogamp.opengl.test.junit.jogl.acore.TestGLDebug00NEWT
  com.jogamp.opengl.test.junit.jogl.acore.TestGLDebug01NEWT

~Sven


signature.asc (911 bytes) Download Attachment