Allows retrieving the current matrix even if the current OpenGL ES driver does not support retrieving the current matrix. More...
Public Member Functions | |
MatrixTrackingGL (GL gl) | |
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 | 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 | 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 | 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 | 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 | 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 | glMultMatrixf (float[] m, int offset) |
void | glMultMatrixf (FloatBuffer m) |
void | glMultMatrixx (int[] m, int offset) |
void | glMultMatrixx (IntBuffer m) |
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 | 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 () |
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 | glTexParameterx (int target, int pname, int param) |
void | glTexParameteriv (int target, int pname, int[] params, int offset) |
void | glTexParameteriv (int target, int pname, IntBuffer params) |
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) |
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 | 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) |
int | glQueryMatrixxOES (int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset) |
int | glQueryMatrixxOES (IntBuffer mantissa, IntBuffer exponent) |
void | glBindBuffer (int target, int buffer) |
void | glBufferData (int target, int size, Buffer data, int usage) |
void | glBufferSubData (int target, int offset, int size, Buffer data) |
void | glColor4ub (byte red, byte green, byte blue, byte alpha) |
void | glDeleteBuffers (int n, int[] buffers, int offset) |
void | glDeleteBuffers (int n, IntBuffer buffers) |
void | glGenBuffers (int n, int[] buffers, int offset) |
void | glGenBuffers (int n, IntBuffer buffers) |
void | glGetBooleanv (int pname, boolean[] params, int offset) |
void | glGetBooleanv (int pname, IntBuffer params) |
void | glGetBufferParameteriv (int target, int pname, int[] params, int offset) |
void | glGetBufferParameteriv (int target, int pname, IntBuffer params) |
void | glGetClipPlanef (int pname, float[] eqn, int offset) |
void | glGetClipPlanef (int pname, FloatBuffer eqn) |
void | glGetClipPlanex (int pname, int[] eqn, int offset) |
void | glGetClipPlanex (int pname, IntBuffer eqn) |
void | glGetFixedv (int pname, int[] params, int offset) |
void | glGetFixedv (int pname, IntBuffer params) |
void | glGetFloatv (int pname, float[] params, int offset) |
void | glGetFloatv (int pname, FloatBuffer params) |
void | glGetLightfv (int light, int pname, float[] params, int offset) |
void | glGetLightfv (int light, int pname, FloatBuffer params) |
void | glGetLightxv (int light, int pname, int[] params, int offset) |
void | glGetLightxv (int light, int pname, IntBuffer params) |
void | glGetMaterialfv (int face, int pname, float[] params, int offset) |
void | glGetMaterialfv (int face, int pname, FloatBuffer params) |
void | glGetMaterialxv (int face, int pname, int[] params, int offset) |
void | glGetMaterialxv (int face, int pname, IntBuffer params) |
void | glGetTexEnviv (int env, int pname, int[] params, int offset) |
void | glGetTexEnviv (int env, int pname, IntBuffer params) |
void | glGetTexEnvxv (int env, int pname, int[] params, int offset) |
void | glGetTexEnvxv (int env, int pname, IntBuffer params) |
void | glGetTexParameterfv (int target, int pname, float[] params, int offset) |
void | glGetTexParameterfv (int target, int pname, FloatBuffer params) |
void | glGetTexParameteriv (int target, int pname, int[] params, int offset) |
void | glGetTexParameteriv (int target, int pname, IntBuffer params) |
void | glGetTexParameterxv (int target, int pname, int[] params, int offset) |
void | glGetTexParameterxv (int target, int pname, IntBuffer params) |
boolean | glIsBuffer (int buffer) |
boolean | glIsEnabled (int cap) |
boolean | glIsTexture (int texture) |
void | glPointParameterf (int pname, float param) |
void | glPointParameterfv (int pname, float[] params, int offset) |
void | glPointParameterfv (int pname, FloatBuffer params) |
void | glPointParameterx (int pname, int param) |
void | glPointParameterxv (int pname, int[] params, int offset) |
void | glPointParameterxv (int pname, IntBuffer params) |
void | glPointSizePointerOES (int type, int stride, Buffer pointer) |
void | glTexEnvi (int target, int pname, int param) |
void | glTexEnviv (int target, int pname, int[] params, int offset) |
void | glTexEnviv (int target, int pname, IntBuffer params) |
void | glTexParameterfv (int target, int pname, float[] params, int offset) |
void | glTexParameterfv (int target, int pname, FloatBuffer params) |
void | glTexParameteri (int target, int pname, int param) |
void | glTexParameterxv (int target, int pname, int[] params, int offset) |
void | glTexParameterxv (int target, int pname, IntBuffer params) |
void | glColorPointer (int size, int type, int stride, int offset) |
void | glDrawElements (int mode, int count, int type, int offset) |
void | glGetPointerv (int pname, Buffer[] params) |
void | glNormalPointer (int type, int stride, int offset) |
void | glTexCoordPointer (int size, int type, int stride, int offset) |
void | glVertexPointer (int size, int type, int stride, int offset) |
void | glCurrentPaletteMatrixOES (int matrixpaletteindex) |
void | glLoadPaletteFromModelViewMatrixOES () |
void | glMatrixIndexPointerOES (int size, int type, int stride, Buffer pointer) |
void | glMatrixIndexPointerOES (int size, int type, int stride, int offset) |
void | glWeightPointerOES (int size, int type, int stride, Buffer pointer) |
void | glWeightPointerOES (int size, int type, int stride, int offset) |
void | getMatrix (float[] m, int offset) |
Get the current matrix. | |
int | getMatrixMode () |
Get the current matrix mode. | |
Allows retrieving the current matrix even if the current OpenGL ES driver does not support retrieving the current matrix.
Note: the actual matrix may differ from the retrieved matrix, due to differences in the way the math is implemented by GLMatrixWrapper as compared to the way the math is implemented by the OpenGL ES driver.