On 10/15/2014 08:46 PM, ericg [via jogamp] wrote:
> Those test look similar to what I am doing with likely the same effect:
>
> drawable.setGL(new DebugGL4(drawable.getGL().getGL4()));
>
> This gives me great error/stacktrace output with line numbers etc.
Well, the debug pipeline alone just does the glGetError() checking
for each call.
Using sys property via cmdline '-Djogl.debug.DebugGL'
additionally enables the OpenGL debug context w/ default listener.
The demo code I have referenced additionally actually
injects debug messages and a hooks up a custom debug listener.
~Sven