java.lang.Object | |
↳ | android.opengl.GLDebugHelper |
A helper class for debugging OpenGL ES applications. Wraps the supplied GL interface with a new GL interface that adds support for error checking and logging.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CONFIG_CHECK_GL_ERROR | Check glError() after every call. | |||||||||
int | CONFIG_CHECK_THREAD | Check if all calls are on the same thread. | |||||||||
int | CONFIG_LOG_ARGUMENT_NAMES | Print argument names when logging GL Calls. | |||||||||
int | ERROR_WRONG_THREAD | The Error number used in the GLException that is thrown if CONFIG_CHECK_THREAD is enabled and you call OpenGL ES on the a different thread. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Wrap an existing EGL interface in a new EGL interface that adds
support for error checking and/or logging.
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Check glError() after every call.
Check if all calls are on the same thread.
Print argument names when logging GL Calls.
The Error number used in the GLException that is thrown if CONFIG_CHECK_THREAD is enabled and you call OpenGL ES on the a different thread.
Wrap an existing EGL interface in a new EGL interface that adds support for error checking and/or logging.
egl | the existing GL interface. Must implement EGL and EGL10. May optionally implement EGL11 as well. |
---|---|
configFlags | A bitmask of error checking flags. |
log | - null to disable logging, non-null to enable logging. |