Debug OpenGL renderer?

Started by Peter M Ashford, July 04, 2004, 09:43:18

Previous topic - Next topic

Peter M Ashford

Hi All,

A feature I really like from Jogl is the composable openGL pipelines which offers you the ability to wrap OpenGL error checking around all your calls for debugging purposes.

Is there anything similar in LWJGL?

TIA

princec

Look in org.lwjgl.util - there's a GL interface in there, and an implementation of that interface that calls our binding. Shouldn't be hard to extend that implementation to call Util.checkGLError() after every relevant call. And if you do it, please donate the code back to the Util package ;)

Cas :)

Peter M Ashford

Is that in lwjgl.jar?  I don't seem to have an org.lwjgl.util class in my distribution (0.9)

cfmdobbie

No, it's in lwjgl_util.jar.  Note that the util package didn't exist in the 0.9 release, so if you with to use it you'll either need the semi-official interim release or the current CVS.
ellomynameis Charlie Dobbie.

princec

Always best to grab stuff from CVS.
Except Elias has just done big, big things to Display :)

Cas :)

cfmdobbie

Excellent, strangely enough I'm actually pleased to hear that! :D  Any idea on a timeline for next official release?
ellomynameis Charlie Dobbie.