Defines |
| #define | MA_GL_TEX_IMAGE_2D_OK 0 |
| #define | MA_GL_TEX_IMAGE_2D_INVALID_IMAGE -2 |
| #define | MA_GL_API_GL2 0 |
| #define | MA_GL_API_GL1 1 |
| #define | MA_GL_INIT_RES_OK 0 |
| #define | MA_GL_INIT_RES_UNAVAILABLE_API -2 |
| #define | MA_GL_INIT_RES_ERROR -3 |
Typedefs |
| typedef signed char | khronos_int8_t |
| typedef unsigned char | khronos_uint8_t |
| typedef short int | khronos_int16_t |
| typedef short unsigned int | khronos_uint16_t |
| typedef long int | khronos_intptr_t |
| typedef long unsigned int | khronos_uintptr_t |
| typedef long int | khronos_ssize_t |
| typedef long unsigned int | khronos_usize_t |
| typedef int | khronos_int32_t |
| typedef unsigned int | khronos_uint32_t |
| typedef long long int | khronos_int64_t |
| typedef long long unsigned int | khronos_uint64_t |
| typedef float | khronos_float_t |
| typedef khronos_uint64_t | khronos_utime_nanoseconds_t |
| typedef khronos_int64_t | khronos_stime_nanoseconds_t |
| typedef void | GLvoid |
| typedef char | GLchar |
| typedef unsigned int | GLenum |
| typedef unsigned char | GLboolean |
| typedef unsigned int | GLbitfield |
| typedef khronos_int8_t | GLbyte |
| typedef short int | GLshort |
| typedef int | GLint |
| typedef int | GLsizei |
| typedef khronos_uint8_t | GLubyte |
| typedef short unsigned int | GLushort |
| typedef unsigned int | GLuint |
| typedef khronos_int32_t | GLclampx |
| typedef khronos_float_t | GLfloat |
| typedef khronos_float_t | GLclampf |
| typedef khronos_int32_t | GLfixed |
| typedef khronos_intptr_t | GLintptr |
| typedef khronos_ssize_t | GLsizeiptr |
Functions |
| void | glAlphaFunc (GLenum func, GLclampf ref) |
| void | glClipPlanef (GLenum plane, const GLfloat *equation) |
| void | glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| void | glFogf (GLenum pname, GLfloat param) |
| void | glFogfv (GLenum pname, const GLfloat *params) |
| void | glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| void | glGetClipPlanef (GLenum pname, GLfloat *eqn) |
| void | glGetLightfv (GLenum light, GLenum pname, GLfloat *params) |
| void | glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params) |
| void | glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params) |
| void | glLightModelf (GLenum pname, GLfloat param) |
| void | glLightModelfv (GLenum pname, const GLfloat *params) |
| void | glLightf (GLenum light, GLenum pname, GLfloat param) |
| void | glLightfv (GLenum light, GLenum pname, const GLfloat *params) |
| void | glLoadMatrixf (const GLfloat *m) |
| void | glMaterialf (GLenum face, GLenum pname, GLfloat param) |
| void | glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) |
| void | glMultMatrixf (const GLfloat *m) |
| void | glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| void | glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz) |
| void | glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| void | glPointParameterf (GLenum pname, GLfloat param) |
| void | glPointParameterfv (GLenum pname, const GLfloat *params) |
| void | glPointSize (GLfloat size) |
| void | glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| void | glScalef (GLfloat x, GLfloat y, GLfloat z) |
| void | glTexEnvf (GLenum target, GLenum pname, GLfloat param) |
| void | glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params) |
| void | glTranslatef (GLfloat x, GLfloat y, GLfloat z) |
| void | glAlphaFuncx (GLenum func, GLclampx ref) |
| void | glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) |
| void | glClearDepthx (GLclampx depth) |
| void | glClientActiveTexture (GLenum texture) |
| void | glClipPlanex (GLenum plane, const GLfixed *equation) |
| void | glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| void | glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| void | glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer) |
| void | glDepthRangex (GLclampx zNear, GLclampx zFar) |
| void | glDisableClientState (GLenum array) |
| void | glEnableClientState (GLenum array) |
| void | glFogx (GLenum pname, GLfixed param) |
| void | glFogxv (GLenum pname, const GLfixed *params) |
| void | glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) |
| void | glGetClipPlanex (GLenum pname, GLfixed *eqn) |
| void | glGetFixedv (GLenum pname, GLfixed *params) |
| void | glGetLightxv (GLenum light, GLenum pname, GLfixed *params) |
| void | glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params) |
| void | glGetPointerv (GLenum pname, void *params) |
| void | glGetTexEnviv (GLenum env, GLenum pname, GLint *params) |
| void | glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params) |
| void | glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params) |
| void | glLightModelx (GLenum pname, GLfixed param) |
| void | glLightModelxv (GLenum pname, const GLfixed *params) |
| void | glLightx (GLenum light, GLenum pname, GLfixed param) |
| void | glLightxv (GLenum light, GLenum pname, const GLfixed *params) |
| void | glLineWidthx (GLfixed width) |
| void | glLoadIdentity (void) |
| void | glLoadMatrixx (const GLfixed *m) |
| void | glLogicOp (GLenum opcode) |
| void | glMaterialx (GLenum face, GLenum pname, GLfixed param) |
| void | glMaterialxv (GLenum face, GLenum pname, const GLfixed *params) |
| void | glMatrixMode (GLenum mode) |
| void | glMultMatrixx (const GLfixed *m) |
| void | glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) |
| void | glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz) |
| void | glNormalPointer (GLenum type, GLsizei stride, const void *pointer) |
| void | glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) |
| void | glPointParameterx (GLenum pname, GLfixed param) |
| void | glPointParameterxv (GLenum pname, const GLfixed *params) |
| void | glPointSizex (GLfixed size) |
| void | glPolygonOffsetx (GLfixed factor, GLfixed units) |
| void | glPopMatrix (void) |
| void | glPushMatrix (void) |
| void | glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z) |
| void | glSampleCoveragex (GLclampx value, GLboolean invert) |
| void | glScalex (GLfixed x, GLfixed y, GLfixed z) |
| void | glShadeModel (GLenum mode) |
| void | glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer) |
| void | glTexEnvi (GLenum target, GLenum pname, GLint param) |
| void | glTexEnvx (GLenum target, GLenum pname, GLfixed param) |
| void | glTexEnviv (GLenum target, GLenum pname, const GLint *params) |
| void | glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params) |
| void | glTexParameterx (GLenum target, GLenum pname, GLfixed param) |
| void | glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params) |
| void | glTranslatex (GLfixed x, GLfixed y, GLfixed z) |
| void | glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer) |
| void | glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer) |
| void | glAttachShader (GLuint program, GLuint shader) |
| void | glBindAttribLocation (GLuint program, GLuint index, const GLchar *name) |
| void | glBindFramebuffer (GLenum target, GLuint framebuffer) |
| void | glBindRenderbuffer (GLenum target, GLuint renderbuffer) |
| void | glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| void | glBlendEquation (GLenum mode) |
| void | glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) |
| void | glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
| GLenum | glCheckFramebufferStatus (GLenum target) |
| void | glCompileShader (GLuint shader) |
| GLuint | glCreateProgram (void) |
| GLuint | glCreateShader (GLenum type) |
| void | glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) |
| void | glDeleteProgram (GLuint program) |
| void | glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) |
| void | glDeleteShader (GLuint shader) |
| void | glDetachShader (GLuint program, GLuint shader) |
| void | glDisableVertexAttribArray (GLuint index) |
| void | glEnableVertexAttribArray (GLuint index) |
| void | glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| void | glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| void | glGenerateMipmap (GLenum target) |
| void | glGenFramebuffers (GLsizei n, GLuint *framebuffers) |
| void | glGenRenderbuffers (GLsizei n, GLuint *renderbuffers) |
| void | glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| void | glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| void | glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders) |
| int | glGetAttribLocation (GLuint program, const GLchar *name) |
| void | glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| void | glGetProgramiv (GLuint program, GLenum pname, GLint *params) |
| void | glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, GLchar *infolog) |
| void | glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) |
| void | glGetShaderiv (GLuint shader, GLenum pname, GLint *params) |
| void | glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *infolog) |
| void | glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
| void | glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source) |
| void | glGetUniformfv (GLuint program, GLint location, GLfloat *params) |
| void | glGetUniformiv (GLuint program, GLint location, GLint *params) |
| int | glGetUniformLocation (GLuint program, const GLchar *name) |
| void | glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) |
| void | glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) |
| void | glGetVertexAttribPointerv (GLuint index, GLenum pname, void *pointer) |
| GLboolean | glIsFramebuffer (GLuint framebuffer) |
| GLboolean | glIsProgram (GLuint program) |
| GLboolean | glIsRenderbuffer (GLuint renderbuffer) |
| GLboolean | glIsShader (GLuint shader) |
| void | glLinkProgram (GLuint program) |
| void | glReleaseShaderCompiler (void) |
| void | glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| void | glShaderBinary (GLsizei n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length) |
| void | glShaderSource (GLuint shader, GLsizei count, void *string, const GLint *length) |
| void | glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) |
| void | glStencilMaskSeparate (GLenum face, GLuint mask) |
| void | glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass) |
| void | glUniform1f (GLint location, GLfloat x) |
| void | glUniform1fv (GLint location, GLsizei count, const GLfloat *v) |
| void | glUniform1i (GLint location, GLint x) |
| void | glUniform1iv (GLint location, GLsizei count, const GLint *v) |
| void | glUniform2f (GLint location, GLfloat x, GLfloat y) |
| void | glUniform2fv (GLint location, GLsizei count, const GLfloat *v) |
| void | glUniform2i (GLint location, GLint x, GLint y) |
| void | glUniform2iv (GLint location, GLsizei count, const GLint *v) |
| void | glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z) |
| void | glUniform3fv (GLint location, GLsizei count, const GLfloat *v) |
| void | glUniform3i (GLint location, GLint x, GLint y, GLint z) |
| void | glUniform3iv (GLint location, GLsizei count, const GLint *v) |
| void | glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| void | glUniform4fv (GLint location, GLsizei count, const GLfloat *v) |
| void | glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w) |
| void | glUniform4iv (GLint location, GLsizei count, const GLint *v) |
| void | glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| void | glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| void | glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| void | glUseProgram (GLuint program) |
| void | glValidateProgram (GLuint program) |
| void | glVertexAttrib1f (GLuint indx, GLfloat x) |
| void | glVertexAttrib1fv (GLuint indx, const GLfloat *values) |
| void | glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y) |
| void | glVertexAttrib2fv (GLuint indx, const GLfloat *values) |
| void | glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z) |
| void | glVertexAttrib3fv (GLuint indx, const GLfloat *values) |
| void | glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| void | glVertexAttrib4fv (GLuint indx, const GLfloat *values) |
| void | glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr) |
| GLboolean | glIsRenderbufferOES (GLuint renderbuffer) |
| GLvoid | glBindRenderbufferOES (GLenum target, GLuint renderbuffer) |
| GLvoid | glDeleteRenderbuffersOES (GLsizei n, const GLuint *renderbuffers) |
| GLvoid | glGenRenderbuffersOES (GLsizei n, GLuint *renderbuffers) |
| GLvoid | glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| GLvoid | glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint *params) |
| GLboolean | glIsFramebufferOES (GLuint framebuffer) |
| GLvoid | glBindFramebufferOES (GLenum target, GLuint framebuffer) |
| GLvoid | glDeleteFramebuffersOES (GLsizei n, const GLuint *framebuffers) |
| GLvoid | glGenFramebuffersOES (GLsizei n, GLuint *framebuffers) |
| GLenum | glCheckFramebufferStatusOES (GLenum target) |
| GLvoid | glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| GLvoid | glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| GLvoid | glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| GLvoid | glGenerateMipmapOES (GLenum target) |
| int | maOpenGLInitFullscreen (int glApi) |
| int | maOpenGLCloseFullscreen (void) |
| int | maOpenGLTexImage2D (MAHandle image) |
| int | maOpenGLTexSubImage2D (MAHandle image) |
| void | glActiveTexture (GLenum texture) |
| void | glBindBuffer (GLenum target, GLuint buffer) |
| void | glBindTexture (GLenum target, GLuint texture) |
| void | glBlendFunc (GLenum sfactor, GLenum dfactor) |
| void | glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage) |
| void | glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data) |
| void | glClear (GLbitfield mask) |
| void | glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| void | glClearDepthf (GLclampf depth) |
| void | glClearStencil (GLint s) |
| void | glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| void | glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data) |
| void | glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) |
| void | glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| void | glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| void | glCullFace (GLenum mode) |
| void | glDeleteBuffers (GLsizei n, const GLuint *buffers) |
| void | glDeleteTextures (GLsizei n, const GLuint *textures) |
| void | glDepthFunc (GLenum func) |
| void | glDepthMask (GLboolean flag) |
| void | glDepthRangef (GLclampf zNear, GLclampf zFar) |
| void | glDisable (GLenum cap) |
| void | glDrawArrays (GLenum mode, GLint first, GLsizei count) |
| void | glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices) |
| void | glEnable (GLenum cap) |
| void | glFinish (void) |
| void | glFlush (void) |
| void | glFrontFace (GLenum mode) |
| void | glGenBuffers (GLsizei n, GLuint *buffers) |
| void | glGenTextures (GLsizei n, GLuint *textures) |
| void | glGetBooleanv (GLenum pname, GLboolean *params) |
| void | glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) |
| GLenum | glGetError (void) |
| void | glGetFloatv (GLenum pname, GLfloat *params) |
| void | glGetIntegerv (GLenum pname, GLint *params) |
| MAHandle | glGetStringHandle (GLenum name) |
| void | glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) |
| void | glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) |
| void | glHint (GLenum target, GLenum mode) |
| GLboolean | glIsBuffer (GLuint buffer) |
| GLboolean | glIsEnabled (GLenum cap) |
| GLboolean | glIsTexture (GLuint texture) |
| void | glLineWidth (GLfloat width) |
| void | glPixelStorei (GLenum pname, GLint param) |
| void | glPolygonOffset (GLfloat factor, GLfloat units) |
| void | glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels) |
| void | glSampleCoverage (GLclampf value, GLboolean invert) |
| void | glScissor (GLint x, GLint y, GLsizei width, GLsizei height) |
| void | glStencilFunc (GLenum func, GLint ref, GLuint mask) |
| void | glStencilMask (GLuint mask) |
| void | glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) |
| void | glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) |
| void | glTexParameterf (GLenum target, GLenum pname, GLfloat param) |
| void | glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) |
| void | glTexParameteri (GLenum target, GLenum pname, GLint param) |
| void | glTexParameteriv (GLenum target, GLenum pname, const GLint *params) |
| void | glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) |
| void | glViewport (GLint x, GLint y, GLsizei width, GLsizei height) |