// GL_ENTRY( int, eglChooseConfig, int dpy, const int *attrib_list, int *configs, int config_size, int *num_config ) GL_ENTRY( int, eglCopyBuffers, int dpy, int surface, void *target ) GL_ENTRY( int, eglCreateContext, int dpy, int config, int share_list, const int *attrib_list ) GL_ENTRY( int, eglCreatePbufferSurface, int dpy, int config, const int *attrib_list ) GL_ENTRY( int, eglCreatePixmapSurface, int dpy, int config, void *pixmap, const int *attrib_list ) GL_ENTRY( int, eglCreateWindowSurface, int dpy, int config, void *window, const int *attrib_list ) GL_ENTRY( int, eglDestroyContext, int dpy, int ctx ) GL_ENTRY( int, eglDestroySurface, int dpy, int surface ) GL_ENTRY( int, eglGetConfigAttrib, int dpy, int config, int attribute, int *value ) GL_ENTRY( int, eglGetConfigs, int dpy, int *configs, int config_size, int *num_config ) GL_ENTRY( int, eglGetCurrentContext, void ) GL_ENTRY( int, eglGetCurrentDisplay, void ) GL_ENTRY( int, eglGetCurrentSurface, int readdraw ) GL_ENTRY( int, eglGetDisplay, int display ) GL_ENTRY( int, eglGetError, void ) GL_ENTRY( void, eglGetProcAddress, const char *procname ) GL_ENTRY( int, eglInitialize, int dpy, int *major, int *minor ) GL_ENTRY( int, eglMakeCurrent, int dpy, int draw, int read, int ctx ) GL_ENTRY( int, eglQueryContext, int dpy, int ctx, int attribute, int *value ) GL_ENTRY( const char *, eglQueryString, int dpy, int name ) GL_ENTRY( int, eglQuerySurface, int dpy, int surface, int attribute, int *value ) GL_ENTRY( int, eglSwapBuffers, int dpy, int draw ) GL_ENTRY( int, eglTerminate, int dpy ) GL_ENTRY( int, eglWaitGL, void ) GL_ENTRY( int, eglWaitNative, int engine ) // GL GL_ENTRY( void, glActiveTexture, unsigned int texture ) GL_ENTRY( void, glAlphaFunc, unsigned int func, float ref ) GL_ENTRY( void, glAlphaFuncx, unsigned int func, int ref ) GL_ENTRY( void, glBindTexture, unsigned int target, unsigned int texture ) GL_ENTRY( void, glBlendFunc, unsigned int sfactor, unsigned int dfactor ) GL_ENTRY( void, glClear, unsigned int mask ) GL_ENTRY( void, glClearColor, float red, float green, float blue, float alpha ) GL_ENTRY( void, glClearColorx, int red, int green, int blue, int alpha ) GL_ENTRY( void, glClearDepthf, float depth ) GL_ENTRY( void, glClearDepthx, int depth ) GL_ENTRY( void, glClearStencil, int s ) GL_ENTRY( void, glClientActiveTexture, unsigned int texture ) GL_ENTRY( void, glColor4f, float red, float green, float blue, float alpha ) GL_ENTRY( void, glColor4x, int red, int green, int blue, int alpha ) GL_ENTRY( void, glColorMask, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha ) GL_ENTRY( void, glColorPointer, int size, unsigned int type, int stride, const void *pointer ) GL_ENTRY( void, glCompressedTexImage2D, unsigned int target, int level, unsigned int internalformat, int width, int height, int border, int imageSize, const void *data ) GL_ENTRY( void, glCompressedTexSubImage2D, unsigned int target, int level, int xoffset, int yoffset, int width, int height, unsigned int format, int imageSize, const void *data ) GL_ENTRY( void, glCopyTexImage2D, unsigned int target, int level, unsigned int internalformat, int x, int y, int width, int height, int border ) GL_ENTRY( void, glCopyTexSubImage2D, unsigned int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) GL_ENTRY( void, glCullFace, unsigned int mode ) GL_ENTRY( void, glDeleteTextures, int n, const unsigned int *textures ) GL_ENTRY( void, glDepthFunc, unsigned int func ) GL_ENTRY( void, glDepthMask, unsigned char flag ) GL_ENTRY( void, glDepthRangef, float zNear, float zFar ) GL_ENTRY( void, glDepthRangex, int zNear, int zFar ) GL_ENTRY( void, glDisable, unsigned int cap ) GL_ENTRY( void, glDisableClientState, unsigned int array ) GL_ENTRY( void, glDrawArrays, unsigned int mode, int first, int count ) GL_ENTRY( void, glDrawElements, unsigned int mode, int count, unsigned int type, const void *indices ) GL_ENTRY( void, glEnable, unsigned int cap ) GL_ENTRY( void, glEnableClientState, unsigned int array ) GL_ENTRY( void, glFinish, void ) GL_ENTRY( void, glFlush, void ) GL_ENTRY( void, glFogf, unsigned int pname, float param ) GL_ENTRY( void, glFogfv, unsigned int pname, const float *params ) GL_ENTRY( void, glFogx, unsigned int pname, int param ) GL_ENTRY( void, glFogxv, unsigned int pname, const int *params ) GL_ENTRY( void, glFrontFace, unsigned int mode ) GL_ENTRY( void, glFrustumf, float left, float right, float bottom, float top, float zNear, float zFar ) GL_ENTRY( void, glFrustumx, int left, int right, int bottom, int top, int zNear, int zFar ) GL_ENTRY( void, glGenTextures, int n, unsigned int *textures ) GL_ENTRY( unsigned int, glGetError, void ) GL_ENTRY( void, glGetIntegerv, unsigned int pname, int *params ) GL_ENTRY( const unsigned char *, glGetString, unsigned int name ) GL_ENTRY( void, glHint, unsigned int target, unsigned int mode ) GL_ENTRY( void, glLightModelf, unsigned int pname, float param ) GL_ENTRY( void, glLightModelfv, unsigned int pname, const float *params ) GL_ENTRY( void, glLightModelx, unsigned int pname, int param ) GL_ENTRY( void, glLightModelxv, unsigned int pname, const int *params ) GL_ENTRY( void, glLightf, unsigned int light, unsigned int pname, float param ) GL_ENTRY( void, glLightfv, unsigned int light, unsigned int pname, const float *params ) GL_ENTRY( void, glLightx, unsigned int light, unsigned int pname, int param ) GL_ENTRY( void, glLightxv, unsigned int light, unsigned int pname, const int *params ) GL_ENTRY( void, glLineWidth, float width ) GL_ENTRY( void, glLineWidthx, int width ) GL_ENTRY( void, glLoadIdentity, void ) GL_ENTRY( void, glLoadMatrixf, const float *m ) GL_ENTRY( void, glLoadMatrixx, const int *m ) GL_ENTRY( void, glLogicOp, unsigned int opcode ) GL_ENTRY( void, glMaterialf, unsigned int face, unsigned int pname, float param ) GL_ENTRY( void, glMaterialfv, unsigned int face, unsigned int pname, const float *params ) GL_ENTRY( void, glMaterialx, unsigned int face, unsigned int pname, int param ) GL_ENTRY( void, glMaterialxv, unsigned int face, unsigned int pname, const int *params ) GL_ENTRY( void, glMatrixMode, unsigned int mode ) GL_ENTRY( void, glMultMatrixf, const float *m ) GL_ENTRY( void, glMultMatrixx, const int *m ) GL_ENTRY( void, glMultiTexCoord4f, unsigned int target, float s, float t, float r, float q ) GL_ENTRY( void, glMultiTexCoord4x, unsigned int target, int s, int t, int r, int q ) GL_ENTRY( void, glNormal3f, float nx, float ny, float nz ) GL_ENTRY( void, glNormal3x, int nx, int ny, int nz ) GL_ENTRY( void, glNormalPointer, unsigned int type, int stride, const void *pointer ) GL_ENTRY( void, glOrthof, float left, float right, float bottom, float top, float zNear, float zFar ) GL_ENTRY( void, glOrthox, int left, int right, int bottom, int top, int zNear, int zFar ) GL_ENTRY( void, glPixelStorei, unsigned int pname, int param ) GL_ENTRY( void, glPointSize, float size ) GL_ENTRY( void, glPointSizex, int size ) GL_ENTRY( void, glPolygonOffset, float factor, float units ) GL_ENTRY( void, glPolygonOffsetx, int factor, int units ) GL_ENTRY( void, glPopMatrix, void ) GL_ENTRY( void, glPushMatrix, void ) GL_ENTRY( unsigned int, glQueryMatrixxOES, int mantissa[16], int exponent[16] ) GL_ENTRY( void, glReadPixels, int x, int y, int width, int height, unsigned int format, unsigned int type, void *pixels ) GL_ENTRY( void, glRotatef, float angle, float x, float y, float z ) GL_ENTRY( void, glRotatex, int angle, int x, int y, int z ) GL_ENTRY( void, glSampleCoverage, float value, unsigned char invert ) GL_ENTRY( void, glSampleCoveragex, int value, unsigned char invert ) GL_ENTRY( void, glScalef, float x, float y, float z ) GL_ENTRY( void, glScalex, int x, int y, int z ) GL_ENTRY( void, glScissor, int x, int y, int width, int height ) GL_ENTRY( void, glShadeModel, unsigned int mode ) GL_ENTRY( void, glStencilFunc, unsigned int func, int ref, unsigned int mask ) GL_ENTRY( void, glStencilMask, unsigned int mask ) GL_ENTRY( void, glStencilOp, unsigned int fail, unsigned int zfail, unsigned int zpass ) GL_ENTRY( void, glTexCoordPointer, int size, unsigned int type, int stride, const void *pointer ) GL_ENTRY( void, glTexEnvf, unsigned int target, unsigned int pname, float param ) GL_ENTRY( void, glTexEnvfv, unsigned int target, unsigned int pname, const float *params ) GL_ENTRY( void, glTexEnvx, unsigned int target, unsigned int pname, int param ) GL_ENTRY( void, glTexEnvxv, unsigned int target, unsigned int pname, const int *params ) GL_ENTRY( void, glTexImage2D, unsigned int target, int level, int internalformat, int width, int height, int border, unsigned int format, unsigned int type, const void *pixels ) GL_ENTRY( void, glTexParameterf, unsigned int target, unsigned int pname, float param ) GL_ENTRY( void, glTexParameterx, unsigned int target, unsigned int pname, int param ) GL_ENTRY( void, glTexSubImage2D, unsigned int target, int level, int xoffset, int yoffset, int width, int height, unsigned int format, unsigned int type, const void *pixels ) GL_ENTRY( void, glTranslatef, float x, float y, float z ) GL_ENTRY( void, glTranslatex, int x, int y, int z ) GL_ENTRY( void, glVertexPointer, int size, unsigned int type, int stride, const void *pointer ) GL_ENTRY( void, glViewport, int x, int y, int width, int height ) GL_ENTRY( int, eglSwapInterval, int dpy, int interval ) GL_ENTRY( void, glBindBuffer, unsigned int target, unsigned int buffer ) GL_ENTRY( void, glBufferData, unsigned int target, int size, const void *data, unsigned int usage ) GL_ENTRY( void, glBufferSubData, unsigned int target, int offset, int size, const void *data ) GL_ENTRY( void, glClipPlanef, unsigned int plane, const float *equation ) GL_ENTRY( void, glClipPlanex, unsigned int plane, const int *equation ) GL_ENTRY( void, glColor4ub, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha ) GL_ENTRY( void, glDeleteBuffers, int n, const unsigned int *buffers ) GL_ENTRY( void, glGenBuffers, int n, unsigned int *buffers ) GL_ENTRY( void, glGetBooleanv, unsigned int pname, unsigned char *params ) GL_ENTRY( void, glGetBufferParameteriv, unsigned int target, unsigned int pname, int *params ) GL_ENTRY( void, glGetClipPlanef, unsigned int pname, float eqn[4] ) GL_ENTRY( void, glGetClipPlanex, unsigned int pname, int eqn[4] ) GL_ENTRY( void, glGetFixedv, unsigned int pname, int *params ) GL_ENTRY( void, glGetFloatv, unsigned int pname, float *params ) GL_ENTRY( void, glGetLightfv, unsigned int light, unsigned int pname, float *params ) GL_ENTRY( void, glGetLightxv, unsigned int light, unsigned int pname, int *params ) GL_ENTRY( void, glGetMaterialfv, unsigned int face, unsigned int pname, float *params ) GL_ENTRY( void, glGetMaterialxv, unsigned int face, unsigned int pname, int *params ) GL_ENTRY( void, glGetPointerv, unsigned int pname, void **params ) GL_ENTRY( void, glGetTexEnvfv, unsigned int env, unsigned int pname, float *params ) GL_ENTRY( void, glGetTexEnviv, unsigned int env, unsigned int pname, int *params ) GL_ENTRY( void, glGetTexEnvxv, unsigned int env, unsigned int pname, int *params ) GL_ENTRY( void, glGetTexParameterfv, unsigned int target, unsigned int pname, float *params ) GL_ENTRY( void, glGetTexParameteriv, unsigned int target, unsigned int pname, int *params ) GL_ENTRY( void, glGetTexParameterxv, unsigned int target, unsigned int pname, int *params ) GL_ENTRY( unsigned char, glIsBuffer, unsigned int buffer ) GL_ENTRY( unsigned char, glIsEnabled, unsigned int cap ) GL_ENTRY( unsigned char, glIsTexture, unsigned int texture ) GL_ENTRY( void, glPointParameterf, unsigned int pname, float param ) GL_ENTRY( void, glPointParameterfv, unsigned int pname, const float *params ) GL_ENTRY( void, glPointParameterx, unsigned int pname, int param ) GL_ENTRY( void, glPointParameterxv, unsigned int pname, const int *params ) GL_ENTRY( void, glPointSizePointerOES, unsigned int type, int stride, const void *pointer ) GL_ENTRY( void, glTexEnvi, unsigned int target, unsigned int pname, int param ) GL_ENTRY( void, glTexEnviv, unsigned int target, unsigned int pname, const int *params ) GL_ENTRY( void, glTexParameterfv, unsigned int target, unsigned int pname, const float *params ) GL_ENTRY( void, glTexParameteri, unsigned int target, unsigned int pname, int param ) GL_ENTRY( void, glTexParameteriv, unsigned int target, unsigned int pname, const int *params ) GL_ENTRY( void, glTexParameterxv, unsigned int target, unsigned int pname, const int *params ) // EGL EXT GL_ENTRY( int, eglBindTexImage, int dpy, int surface, int buffer ) GL_ENTRY( int, eglReleaseTexImage, int dpy, int surface, int buffer ) GL_ENTRY( int, eglSurfaceAttrib, int dpy, int surface, int attribute, int value ) #ifdef USE_CORE_PROFILE GL_ENTRY( void, glOrtho, double left, double right, double bottom, double top, double zNear, double zFar ) GL_ENTRY( void, glDepthRange, double zNear, double zFar ) #endif // Rikku2000: Light GL_ENTRY( void, glColorMaterial, GLenum face, GLenum mode ) // fbo GL_ENTRY( void, glGenFramebuffersOES, GLsizei n, GLuint *framebuffers ) GL_ENTRY( void, glGenRenderbuffersOES, GLsizei n, GLuint *renderbuffers ) GL_ENTRY( void, glRenderbufferStorageOES, GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) GL_ENTRY( void, glBindFramebufferOES, GLenum target, GLuint framebuffer ) GL_ENTRY( void, glBindRenderbufferOES, GLenum target, GLuint renderbuffer ) GL_ENTRY( void, glFramebufferTexture2DOES, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) GL_ENTRY( void, glDeleteRenderbuffersOES, GLsizei n, const GLuint *renderbuffers ) GL_ENTRY( void, glDeleteFramebuffersOES, GLsizei n, const GLuint *framebuffers ) GL_ENTRY( void, glFramebufferRenderbufferOES, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) GL_ENTRY( GLboolean, glIsEnabled, GLenum cap )