Class DebugGLES2

java.lang.Object
com.jogamp.opengl.DebugGLES3
com.jogamp.opengl.DebugGLES2
All Implemented Interfaces:
GL, GL2ES2, GL2ES3, GL3ES3, GL4ES3, GLBase, GLES2, GLES3

public class DebugGLES2 extends DebugGLES3

Composable pipeline which wraps an underlying GL implementation, providing error checking after each OpenGL method call. If an error occurs, causes a GLException to be thrown at exactly the point of failure.

Sample code which installs this pipeline, manual:

     gl = drawable.setGL(new DebugGL(drawable.getGL()));
 
For automatic instantiation see GLPipelineFactory.create(String, Class, GL, Object[]).

  • Constructor Details

    • DebugGLES2

      public DebugGLES2(GLES2 downstream)