Build 1.0_r1(from source)

android.opengl
Class GLErrorWrapper

java.lang.Object
  extended by android.opengl.GLWrapperBase
      extended by android.opengl.GLErrorWrapper
All Implemented Interfaces:
GL, GL10, GL10Ext, GL11, GL11Ext

 class GLErrorWrapper
extends GLWrapperBase

Implement an error checking wrapper. The wrapper will automatically call glError after each GL operation, and throw a GLException if an error occurs. (By design, calling glError itself will not cause an exception to be thrown.) Enabling error checking is an alternative to manually calling glError after every GL operation.


Field Summary
(package private)  boolean mCheckError
           
(package private)  boolean mCheckThread
           
(package private)  Thread mOurThread
           
 
Fields inherited from class android.opengl.GLWrapperBase
mgl, mgl10Ext, mgl11, mgl11Ext, mgl11ExtensionPack
 
Fields inherited from interface javax.microedition.khronos.opengles.GL11
GL_ACTIVE_TEXTURE, GL_ADD_SIGNED, GL_ALPHA_SCALE, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_REF, GL_ARRAY_BUFFER, GL_ARRAY_BUFFER_BINDING, GL_BLEND_DST, GL_BLEND_SRC, GL_BUFFER_ACCESS, GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_CLIENT_ACTIVE_TEXTURE, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY_BUFFER_BINDING, GL_COLOR_ARRAY_POINTER, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_CLEAR_VALUE, GL_COLOR_WRITEMASK, GL_COMBINE, GL_COMBINE_ALPHA, GL_COMBINE_RGB, GL_CONSTANT, GL_COORD_REPLACE_OES, GL_CULL_FACE_MODE, GL_CURRENT_COLOR, GL_CURRENT_NORMAL, GL_CURRENT_TEXTURE_COORDS, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_WRITEMASK, GL_DOT3_RGB, GL_DOT3_RGBA, GL_DYNAMIC_DRAW, GL_ELEMENT_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_FRONT_FACE, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_HINT, GL_INTERPOLATE, GL_LINE_WIDTH, GL_LOGIC_OP_MODE, GL_MATRIX_MODE, GL_MAX_CLIP_PLANES, GL_MODELVIEW_MATRIX, GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES, GL_MODELVIEW_STACK_DEPTH, GL_NORMAL_ARRAY_BUFFER_BINDING, GL_NORMAL_ARRAY_POINTER, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_OPERAND0_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_ALPHA, GL_OPERAND1_RGB, GL_OPERAND2_ALPHA, GL_OPERAND2_RGB, GL_POINT_DISTANCE_ATTENUATION, GL_POINT_FADE_THRESHOLD_SIZE, GL_POINT_SIZE, GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES, GL_POINT_SIZE_ARRAY_OES, GL_POINT_SIZE_ARRAY_POINTER_OES, GL_POINT_SIZE_ARRAY_STRIDE_OES, GL_POINT_SIZE_ARRAY_TYPE_OES, GL_POINT_SIZE_MAX, GL_POINT_SIZE_MIN, GL_POINT_SPRITE_OES, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_UNITS, GL_PREVIOUS, GL_PRIMARY_COLOR, GL_PROJECTION_MATRIX, GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES, GL_PROJECTION_STACK_DEPTH, GL_RGB_SCALE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLES, GL_SCISSOR_BOX, GL_SHADE_MODEL, GL_SRC0_ALPHA, GL_SRC0_RGB, GL_SRC1_ALPHA, GL_SRC1_RGB, GL_SRC2_ALPHA, GL_SRC2_RGB, GL_STATIC_DRAW, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_SUBTRACT, GL_TEXTURE_BINDING_2D, GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING, GL_TEXTURE_COORD_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_MATRIX, GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES, GL_TEXTURE_STACK_DEPTH, GL_VERTEX_ARRAY_BUFFER_BINDING, GL_VERTEX_ARRAY_POINTER, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VIEWPORT, GL_WRITE_ONLY
 
Fields inherited from interface javax.microedition.khronos.opengles.GL10
GL_ADD, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA, GL_ALPHA_BITS, GL_ALPHA_TEST, GL_ALWAYS, GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_BACK, GL_BLEND, GL_BLUE_BITS, GL_BYTE, GL_CCW, GL_CLAMP_TO_EDGE, GL_CLEAR, GL_COLOR_ARRAY, GL_COLOR_BUFFER_BIT, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COMPRESSED_TEXTURE_FORMATS, GL_CONSTANT_ATTENUATION, GL_COPY, GL_COPY_INVERTED, GL_CULL_FACE, GL_CW, GL_DECAL, GL_DECR, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_TEST, GL_DIFFUSE, GL_DITHER, GL_DONT_CARE, GL_DST_ALPHA, GL_DST_COLOR, GL_EMISSION, GL_EQUAL, GL_EQUIV, GL_EXP, GL_EXP2, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FIXED, GL_FLAT, GL_FLOAT, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_HINT, GL_FOG_MODE, GL_FOG_START, GL_FRONT, GL_FRONT_AND_BACK, GL_GEQUAL, GL_GREATER, GL_GREEN_BITS, GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, GL_INCR, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LINE_LOOP, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STRIP, GL_LINEAR, GL_LINEAR_ATTENUATION, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_MAX_LIGHTS, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_TEXTURE_UNITS, GL_MAX_VIEWPORT_DIMS, GL_MODELVIEW, GL_MODULATE, GL_MULTISAMPLE, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NOOP, GL_NOR, GL_NORMAL_ARRAY, GL_NORMALIZE, GL_NOTEQUAL, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGBA8_OES, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, GL_POLYGON_OFFSET_FILL, GL_POLYGON_SMOOTH_HINT, GL_POSITION, GL_PROJECTION, GL_QUADRATIC_ATTENUATION, GL_RED_BITS, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RESCALE_NORMAL, GL_RGB, GL_RGBA, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SCISSOR_TEST, GL_SET, GL_SHININESS, GL_SHORT, GL_SMOOTH, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPECULAR, GL_SPOT_CUTOFF, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_TEST, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_XOR, GL_ZERO
 
Fields inherited from interface javax.microedition.khronos.opengles.GL11Ext
GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES, GL_MATRIX_INDEX_ARRAY_OES, GL_MATRIX_INDEX_ARRAY_POINTER_OES, GL_MATRIX_INDEX_ARRAY_SIZE_OES, GL_MATRIX_INDEX_ARRAY_STRIDE_OES, GL_MATRIX_INDEX_ARRAY_TYPE_OES, GL_MATRIX_PALETTE_OES, GL_MAX_PALETTE_MATRICES_OES, GL_MAX_VERTEX_UNITS_OES, GL_TEXTURE_CROP_RECT_OES, GL_WEIGHT_ARRAY_BUFFER_BINDING_OES, GL_WEIGHT_ARRAY_OES, GL_WEIGHT_ARRAY_POINTER_OES, GL_WEIGHT_ARRAY_SIZE_OES, GL_WEIGHT_ARRAY_STRIDE_OES, GL_WEIGHT_ARRAY_TYPE_OES
 
Constructor Summary
GLErrorWrapper(GL gl, int configFlags)
           
 
Method Summary
 void glActiveTexture(int texture)
           
 void glAlphaFunc(int func, float ref)
           
 void glAlphaFuncx(int func, int ref)
           
 void glBindTexture(int target, int texture)
           
 void glBlendFunc(int sfactor, int dfactor)
           
 void glClear(int mask)
           
 void glClearColor(float red, float green, float blue, float alpha)
           
 void glClearColorx(int red, int green, int blue, int alpha)
           
 void glClearDepthf(float depth)
           
 void glClearDepthx(int depth)
           
 void glClearStencil(int s)
           
 void glClientActiveTexture(int texture)
           
 void glClipPlanef(int plane, float[] equation, int offset)
           
 void glClipPlanef(int plane, FloatBuffer equation)
           
 void glClipPlanex(int plane, int[] equation, int offset)
           
 void glClipPlanex(int plane, IntBuffer equation)
           
 void glColor4f(float red, float green, float blue, float alpha)
           
 void glColor4x(int red, int green, int blue, int alpha)
           
 void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
           
 void glColorPointer(int size, int type, int stride, Buffer pointer)
           
 void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
           
 void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
           
 void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
           
 void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
           
 void glCullFace(int mode)
           
 void glDeleteTextures(int n, int[] textures, int offset)
           
 void glDeleteTextures(int n, IntBuffer textures)
           
 void glDepthFunc(int func)
           
 void glDepthMask(boolean flag)
           
 void glDepthRangef(float near, float far)
           
 void glDepthRangex(int near, int far)
           
 void glDisable(int cap)
           
 void glDisableClientState(int array)
           
 void glDrawArrays(int mode, int first, int count)
           
 void glDrawElements(int mode, int count, int type, Buffer indices)
           
 void glDrawTexfOES(float x, float y, float z, float width, float height)
           
 void glDrawTexfvOES(float[] coords, int offset)
           
 void glDrawTexfvOES(FloatBuffer coords)
           
 void glDrawTexiOES(int x, int y, int z, int width, int height)
           
 void glDrawTexivOES(int[] coords, int offset)
           
 void glDrawTexivOES(IntBuffer coords)
           
 void glDrawTexsOES(short x, short y, short z, short width, short height)
           
 void glDrawTexsvOES(short[] coords, int offset)
           
 void glDrawTexsvOES(ShortBuffer coords)
           
 void glDrawTexxOES(int x, int y, int z, int width, int height)
           
 void glDrawTexxvOES(int[] coords, int offset)
           
 void glDrawTexxvOES(IntBuffer coords)
           
 void glEnable(int cap)
           
 void glEnableClientState(int array)
           
 void glFinish()
           
 void glFlush()
           
 void glFogf(int pname, float param)
           
 void glFogfv(int pname, float[] params, int offset)
           
 void glFogfv(int pname, FloatBuffer params)
           
 void glFogx(int pname, int param)
           
 void glFogxv(int pname, int[] params, int offset)
           
 void glFogxv(int pname, IntBuffer params)
           
 void glFrontFace(int mode)
           
 void glFrustumf(float left, float right, float bottom, float top, float near, float far)
           
 void glFrustumx(int left, int right, int bottom, int top, int near, int far)
           
 void glGenTextures(int n, int[] textures, int offset)
           
 void glGenTextures(int n, IntBuffer textures)
           
 int glGetError()
           
 void glGetIntegerv(int pname, int[] params, int offset)
           
 void glGetIntegerv(int pname, IntBuffer params)
           
 String glGetString(int name)
           
 void glHint(int target, int mode)
           
 void glLightf(int light, int pname, float param)
           
 void glLightfv(int light, int pname, float[] params, int offset)
           
 void glLightfv(int light, int pname, FloatBuffer params)
           
 void glLightModelf(int pname, float param)
           
 void glLightModelfv(int pname, float[] params, int offset)
           
 void glLightModelfv(int pname, FloatBuffer params)
           
 void glLightModelx(int pname, int param)
           
 void glLightModelxv(int pname, int[] params, int offset)
           
 void glLightModelxv(int pname, IntBuffer params)
           
 void glLightx(int light, int pname, int param)
           
 void glLightxv(int light, int pname, int[] params, int offset)
           
 void glLightxv(int light, int pname, IntBuffer params)
           
 void glLineWidth(float width)
           
 void glLineWidthx(int width)
           
 void glLoadIdentity()
           
 void glLoadMatrixf(float[] m, int offset)
           
 void glLoadMatrixf(FloatBuffer m)
           
 void glLoadMatrixx(int[] m, int offset)
           
 void glLoadMatrixx(IntBuffer m)
           
 void glLogicOp(int opcode)
           
 void glMaterialf(int face, int pname, float param)
           
 void glMaterialfv(int face, int pname, float[] params, int offset)
           
 void glMaterialfv(int face, int pname, FloatBuffer params)
           
 void glMaterialx(int face, int pname, int param)
           
 void glMaterialxv(int face, int pname, int[] params, int offset)
           
 void glMaterialxv(int face, int pname, IntBuffer params)
           
 void glMatrixMode(int mode)
           
 void glMultiTexCoord4f(int target, float s, float t, float r, float q)
           
 void glMultiTexCoord4x(int target, int s, int t, int r, int q)
           
 void glMultMatrixf(float[] m, int offset)
           
 void glMultMatrixf(FloatBuffer m)
           
 void glMultMatrixx(int[] m, int offset)
           
 void glMultMatrixx(IntBuffer m)
           
 void glNormal3f(float nx, float ny, float nz)
           
 void glNormal3x(int nx, int ny, int nz)
           
 void glNormalPointer(int type, int stride, Buffer pointer)
           
 void glOrthof(float left, float right, float bottom, float top, float near, float far)
           
 void glOrthox(int left, int right, int bottom, int top, int near, int far)
           
 void glPixelStorei(int pname, int param)
           
 void glPointSize(float size)
           
 void glPointSizex(int size)
           
 void glPolygonOffset(float factor, float units)
           
 void glPolygonOffsetx(int factor, int units)
           
 void glPopMatrix()
           
 void glPushMatrix()
           
 int glQueryMatrixxOES(int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset)
           
 int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent)
           
 void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
           
 void glRotatef(float angle, float x, float y, float z)
           
 void glRotatex(int angle, int x, int y, int z)
           
 void glSampleCoverage(float value, boolean invert)
           
 void glSampleCoveragex(int value, boolean invert)
           
 void glScalef(float x, float y, float z)
           
 void glScalex(int x, int y, int z)
           
 void glScissor(int x, int y, int width, int height)
           
 void glShadeModel(int mode)
           
 void glStencilFunc(int func, int ref, int mask)
           
 void glStencilMask(int mask)
           
 void glStencilOp(int fail, int zfail, int zpass)
           
 void glTexCoordPointer(int size, int type, int stride, Buffer pointer)
           
 void glTexEnvf(int target, int pname, float param)
           
 void glTexEnvfv(int target, int pname, float[] params, int offset)
           
 void glTexEnvfv(int target, int pname, FloatBuffer params)
           
 void glTexEnvx(int target, int pname, int param)
           
 void glTexEnvxv(int target, int pname, int[] params, int offset)
           
 void glTexEnvxv(int target, int pname, IntBuffer params)
           
 void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
           
 void glTexParameterf(int target, int pname, float param)
           
 void glTexParameteriv(int target, int pname, int[] params, int offset)
           
 void glTexParameteriv(int target, int pname, IntBuffer params)
           
 void glTexParameterx(int target, int pname, int param)
           
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
           
 void glTranslatef(float x, float y, float z)
           
 void glTranslatex(int x, int y, int z)
           
 void glVertexPointer(int size, int type, int stride, Buffer pointer)
           
 void glViewport(int x, int y, int width, int height)
           
 
Methods inherited from class android.opengl.GLWrapperBase
glBindBuffer, glBindFramebufferOES, glBindRenderbufferOES, glBlendEquation, glBlendEquationSeparate, glBlendFuncSeparate, glBufferData, glBufferSubData, glCheckFramebufferStatusOES, glColor4ub, glColorPointer, glCompressedTexImage2D, glCurrentPaletteMatrixOES, glDeleteBuffers, glDeleteBuffers, glDeleteFramebuffersOES, glDeleteFramebuffersOES, glDeleteRenderbuffersOES, glDeleteRenderbuffersOES, glDrawElements, glFramebufferRenderbufferOES, glFramebufferTexture2DOES, glGenBuffers, glGenBuffers, glGenerateMipmapOES, glGenFramebuffersOES, glGenFramebuffersOES, glGenRenderbuffersOES, glGenRenderbuffersOES, glGetBooleanv, glGetBooleanv, glGetBufferParameteriv, glGetBufferParameteriv, glGetClipPlanef, glGetClipPlanef, glGetClipPlanex, glGetClipPlanex, glGetFixedv, glGetFixedv, glGetFloatv, glGetFloatv, glGetFramebufferAttachmentParameterivOES, glGetFramebufferAttachmentParameterivOES, glGetLightfv, glGetLightfv, glGetLightxv, glGetLightxv, glGetMaterialfv, glGetMaterialfv, glGetMaterialxv, glGetMaterialxv, glGetPointerv, glGetRenderbufferParameterivOES, glGetRenderbufferParameterivOES, glGetTexEnviv, glGetTexEnviv, glGetTexEnvxv, glGetTexEnvxv, glGetTexGenfv, glGetTexGenfv, glGetTexGeniv, glGetTexGeniv, glGetTexGenxv, glGetTexGenxv, glGetTexParameterfv, glGetTexParameterfv, glGetTexParameteriv, glGetTexParameteriv, glGetTexParameterxv, glGetTexParameterxv, glIsBuffer, glIsEnabled, glIsFramebufferOES, glIsRenderbufferOES, glIsTexture, glLoadPaletteFromModelViewMatrixOES, glMatrixIndexPointerOES, glMatrixIndexPointerOES, glNormalPointer, glPointParameterf, glPointParameterfv, glPointParameterfv, glPointParameterx, glPointParameterxv, glPointParameterxv, glPointSizePointerOES, glRenderbufferStorageOES, glTexCoordPointer, glTexEnvi, glTexEnviv, glTexEnviv, glTexGenf, glTexGenfv, glTexGenfv, glTexGeni, glTexGeniv, glTexGeniv, glTexGenx, glTexGenxv, glTexGenxv, glTexParameterfv, glTexParameterfv, glTexParameteri, glTexParameterxv, glTexParameterxv, glVertexPointer, glWeightPointerOES, glWeightPointerOES
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mCheckError

boolean mCheckError

mCheckThread

boolean mCheckThread

mOurThread

Thread mOurThread
Constructor Detail

GLErrorWrapper

public GLErrorWrapper(GL gl,
                      int configFlags)
Method Detail

glActiveTexture

public void glActiveTexture(int texture)

glAlphaFunc

public void glAlphaFunc(int func,
                        float ref)

glAlphaFuncx

public void glAlphaFuncx(int func,
                         int ref)

glBindTexture

public void glBindTexture(int target,
                          int texture)

glBlendFunc

public void glBlendFunc(int sfactor,
                        int dfactor)

glClear

public void glClear(int mask)

glClearColor

public void glClearColor(float red,
                         float green,
                         float blue,
                         float alpha)

glClearColorx

public void glClearColorx(int red,
                          int green,
                          int blue,
                          int alpha)

glClearDepthf

public void glClearDepthf(float depth)

glClearDepthx

public void glClearDepthx(int depth)

glClearStencil

public void glClearStencil(int s)

glClientActiveTexture

public void glClientActiveTexture(int texture)

glColor4f

public void glColor4f(float red,
                      float green,
                      float blue,
                      float alpha)

glColor4x

public void glColor4x(int red,
                      int green,
                      int blue,
                      int alpha)

glColorMask

public void glColorMask(boolean red,
                        boolean green,
                        boolean blue,
                        boolean alpha)

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           Buffer pointer)

glCompressedTexImage2D

public void glCompressedTexImage2D(int target,
                                   int level,
                                   int internalformat,
                                   int width,
                                   int height,
                                   int border,
                                   int imageSize,
                                   Buffer data)

glCompressedTexSubImage2D

public void glCompressedTexSubImage2D(int target,
                                      int level,
                                      int xoffset,
                                      int yoffset,
                                      int width,
                                      int height,
                                      int format,
                                      int imageSize,
                                      Buffer data)

glCopyTexImage2D

public void glCopyTexImage2D(int target,
                             int level,
                             int internalformat,
                             int x,
                             int y,
                             int width,
                             int height,
                             int border)

glCopyTexSubImage2D

public void glCopyTexSubImage2D(int target,
                                int level,
                                int xoffset,
                                int yoffset,
                                int x,
                                int y,
                                int width,
                                int height)

glCullFace

public void glCullFace(int mode)

glDeleteTextures

public void glDeleteTextures(int n,
                             int[] textures,
                             int offset)

glDeleteTextures

public void glDeleteTextures(int n,
                             IntBuffer textures)

glDepthFunc

public void glDepthFunc(int func)

glDepthMask

public void glDepthMask(boolean flag)

glDepthRangef

public void glDepthRangef(float near,
                          float far)

glDepthRangex

public void glDepthRangex(int near,
                          int far)

glDisable

public void glDisable(int cap)

glDisableClientState

public void glDisableClientState(int array)

glDrawArrays

public void glDrawArrays(int mode,
                         int first,
                         int count)

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           Buffer indices)

glEnable

public void glEnable(int cap)

glEnableClientState

public void glEnableClientState(int array)

glFinish

public void glFinish()

glFlush

public void glFlush()

glFogf

public void glFogf(int pname,
                   float param)

glFogfv

public void glFogfv(int pname,
                    float[] params,
                    int offset)

glFogfv

public void glFogfv(int pname,
                    FloatBuffer params)

glFogx

public void glFogx(int pname,
                   int param)

glFogxv

public void glFogxv(int pname,
                    int[] params,
                    int offset)

glFogxv

public void glFogxv(int pname,
                    IntBuffer params)

glFrontFace

public void glFrontFace(int mode)

glFrustumf

public void glFrustumf(float left,
                       float right,
                       float bottom,
                       float top,
                       float near,
                       float far)

glFrustumx

public void glFrustumx(int left,
                       int right,
                       int bottom,
                       int top,
                       int near,
                       int far)

glGenTextures

public void glGenTextures(int n,
                          int[] textures,
                          int offset)

glGenTextures

public void glGenTextures(int n,
                          IntBuffer textures)

glGetError

public int glGetError()

glGetIntegerv

public void glGetIntegerv(int pname,
                          int[] params,
                          int offset)

glGetIntegerv

public void glGetIntegerv(int pname,
                          IntBuffer params)

glGetString

public String glGetString(int name)

glHint

public void glHint(int target,
                   int mode)

glLightModelf

public void glLightModelf(int pname,
                          float param)

glLightModelfv

public void glLightModelfv(int pname,
                           float[] params,
                           int offset)

glLightModelfv

public void glLightModelfv(int pname,
                           FloatBuffer params)

glLightModelx

public void glLightModelx(int pname,
                          int param)

glLightModelxv

public void glLightModelxv(int pname,
                           int[] params,
                           int offset)

glLightModelxv

public void glLightModelxv(int pname,
                           IntBuffer params)

glLightf

public void glLightf(int light,
                     int pname,
                     float param)

glLightfv

public void glLightfv(int light,
                      int pname,
                      float[] params,
                      int offset)

glLightfv

public void glLightfv(int light,
                      int pname,
                      FloatBuffer params)

glLightx

public void glLightx(int light,
                     int pname,
                     int param)

glLightxv

public void glLightxv(int light,
                      int pname,
                      int[] params,
                      int offset)

glLightxv

public void glLightxv(int light,
                      int pname,
                      IntBuffer params)

glLineWidth

public void glLineWidth(float width)

glLineWidthx

public void glLineWidthx(int width)

glLoadIdentity

public void glLoadIdentity()

glLoadMatrixf

public void glLoadMatrixf(float[] m,
                          int offset)

glLoadMatrixf

public void glLoadMatrixf(FloatBuffer m)

glLoadMatrixx

public void glLoadMatrixx(int[] m,
                          int offset)

glLoadMatrixx

public void glLoadMatrixx(IntBuffer m)

glLogicOp

public void glLogicOp(int opcode)

glMaterialf

public void glMaterialf(int face,
                        int pname,
                        float param)

glMaterialfv

public void glMaterialfv(int face,
                         int pname,
                         float[] params,
                         int offset)

glMaterialfv

public void glMaterialfv(int face,
                         int pname,
                         FloatBuffer params)

glMaterialx

public void glMaterialx(int face,
                        int pname,
                        int param)

glMaterialxv

public void glMaterialxv(int face,
                         int pname,
                         int[] params,
                         int offset)

glMaterialxv

public void glMaterialxv(int face,
                         int pname,
                         IntBuffer params)

glMatrixMode

public void glMatrixMode(int mode)

glMultMatrixf

public void glMultMatrixf(float[] m,
                          int offset)

glMultMatrixf

public void glMultMatrixf(FloatBuffer m)

glMultMatrixx

public void glMultMatrixx(int[] m,
                          int offset)

glMultMatrixx

public void glMultMatrixx(IntBuffer m)

glMultiTexCoord4f

public void glMultiTexCoord4f(int target,
                              float s,
                              float t,
                              float r,
                              float q)

glMultiTexCoord4x

public void glMultiTexCoord4x(int target,
                              int s,
                              int t,
                              int r,
                              int q)

glNormal3f

public void glNormal3f(float nx,
                       float ny,
                       float nz)

glNormal3x

public void glNormal3x(int nx,
                       int ny,
                       int nz)

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            Buffer pointer)

glOrthof

public void glOrthof(float left,
                     float right,
                     float bottom,
                     float top,
                     float near,
                     float far)

glOrthox

public void glOrthox(int left,
                     int right,
                     int bottom,
                     int top,
                     int near,
                     int far)

glPixelStorei

public void glPixelStorei(int pname,
                          int param)

glPointSize

public void glPointSize(float size)

glPointSizex

public void glPointSizex(int size)

glPolygonOffset

public void glPolygonOffset(float factor,
                            float units)

glPolygonOffsetx

public void glPolygonOffsetx(int factor,
                             int units)

glPopMatrix

public void glPopMatrix()

glPushMatrix

public void glPushMatrix()

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         Buffer pixels)

glRotatef

public void glRotatef(float angle,
                      float x,
                      float y,
                      float z)

glRotatex

public void glRotatex(int angle,
                      int x,
                      int y,
                      int z)

glSampleCoverage

public void glSampleCoverage(float value,
                             boolean invert)

glSampleCoveragex

public void glSampleCoveragex(int value,
                              boolean invert)

glScalef

public void glScalef(float x,
                     float y,
                     float z)

glScalex

public void glScalex(int x,
                     int y,
                     int z)

glScissor

public void glScissor(int x,
                      int y,
                      int width,
                      int height)

glShadeModel

public void glShadeModel(int mode)

glStencilFunc

public void glStencilFunc(int func,
                          int ref,
                          int mask)

glStencilMask

public void glStencilMask(int mask)

glStencilOp

public void glStencilOp(int fail,
                        int zfail,
                        int zpass)

glTexCoordPointer

public void glTexCoordPointer(int size,
                              int type,
                              int stride,
                              Buffer pointer)

glTexEnvf

public void glTexEnvf(int target,
                      int pname,
                      float param)

glTexEnvfv

public void glTexEnvfv(int target,
                       int pname,
                       float[] params,
                       int offset)

glTexEnvfv

public void glTexEnvfv(int target,
                       int pname,
                       FloatBuffer params)

glTexEnvx

public void glTexEnvx(int target,
                      int pname,
                      int param)

glTexEnvxv

public void glTexEnvxv(int target,
                       int pname,
                       int[] params,
                       int offset)

glTexEnvxv

public void glTexEnvxv(int target,
                       int pname,
                       IntBuffer params)

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int internalformat,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         Buffer pixels)

glTexParameterf

public void glTexParameterf(int target,
                            int pname,
                            float param)

glTexParameterx

public void glTexParameterx(int target,
                            int pname,
                            int param)

glTexParameteriv

public void glTexParameteriv(int target,
                             int pname,
                             int[] params,
                             int offset)

glTexParameteriv

public void glTexParameteriv(int target,
                             int pname,
                             IntBuffer params)

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            Buffer pixels)

glTranslatef

public void glTranslatef(float x,
                         float y,
                         float z)

glTranslatex

public void glTranslatex(int x,
                         int y,
                         int z)

glVertexPointer

public void glVertexPointer(int size,
                            int type,
                            int stride,
                            Buffer pointer)

glViewport

public void glViewport(int x,
                       int y,
                       int width,
                       int height)

glClipPlanef

public void glClipPlanef(int plane,
                         float[] equation,
                         int offset)

glClipPlanef

public void glClipPlanef(int plane,
                         FloatBuffer equation)

glClipPlanex

public void glClipPlanex(int plane,
                         int[] equation,
                         int offset)

glClipPlanex

public void glClipPlanex(int plane,
                         IntBuffer equation)

glDrawTexfOES

public void glDrawTexfOES(float x,
                          float y,
                          float z,
                          float width,
                          float height)

glDrawTexfvOES

public void glDrawTexfvOES(float[] coords,
                           int offset)

glDrawTexfvOES

public void glDrawTexfvOES(FloatBuffer coords)

glDrawTexiOES

public void glDrawTexiOES(int x,
                          int y,
                          int z,
                          int width,
                          int height)

glDrawTexivOES

public void glDrawTexivOES(int[] coords,
                           int offset)

glDrawTexivOES

public void glDrawTexivOES(IntBuffer coords)

glDrawTexsOES

public void glDrawTexsOES(short x,
                          short y,
                          short z,
                          short width,
                          short height)

glDrawTexsvOES

public void glDrawTexsvOES(short[] coords,
                           int offset)

glDrawTexsvOES

public void glDrawTexsvOES(ShortBuffer coords)

glDrawTexxOES

public void glDrawTexxOES(int x,
                          int y,
                          int z,
                          int width,
                          int height)

glDrawTexxvOES

public void glDrawTexxvOES(int[] coords,
                           int offset)

glDrawTexxvOES

public void glDrawTexxvOES(IntBuffer coords)

glQueryMatrixxOES

public int glQueryMatrixxOES(int[] mantissa,
                             int mantissaOffset,
                             int[] exponent,
                             int exponentOffset)

glQueryMatrixxOES

public int glQueryMatrixxOES(IntBuffer mantissa,
                             IntBuffer exponent)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature