-#ifndef USE_GLES2
-static dllfunction_t opengl110funcs[] =
-{
- {"glClearColor", (void **) &qglClearColor},
- {"glClear", (void **) &qglClear},
- {"glAlphaFunc", (void **) &qglAlphaFunc},
- {"glBlendFunc", (void **) &qglBlendFunc},
- {"glCullFace", (void **) &qglCullFace},
- {"glDrawBuffer", (void **) &qglDrawBuffer},
- {"glReadBuffer", (void **) &qglReadBuffer},
- {"glEnable", (void **) &qglEnable},
- {"glDisable", (void **) &qglDisable},
- {"glIsEnabled", (void **) &qglIsEnabled},
- {"glEnableClientState", (void **) &qglEnableClientState},
- {"glDisableClientState", (void **) &qglDisableClientState},
- {"glGetBooleanv", (void **) &qglGetBooleanv},
- {"glGetDoublev", (void **) &qglGetDoublev},
- {"glGetFloatv", (void **) &qglGetFloatv},
- {"glGetIntegerv", (void **) &qglGetIntegerv},
- {"glGetError", (void **) &qglGetError},
- {"glGetString", (void **) &qglGetString},
- {"glFinish", (void **) &qglFinish},
- {"glFlush", (void **) &qglFlush},
- {"glClearDepth", (void **) &qglClearDepth},
- {"glDepthFunc", (void **) &qglDepthFunc},
- {"glDepthMask", (void **) &qglDepthMask},
- {"glDepthRange", (void **) &qglDepthRange},
- {"glDrawElements", (void **) &qglDrawElements},
- {"glDrawArrays", (void **) &qglDrawArrays},
- {"glColorMask", (void **) &qglColorMask},
- {"glVertexPointer", (void **) &qglVertexPointer},
- {"glNormalPointer", (void **) &qglNormalPointer},
- {"glColorPointer", (void **) &qglColorPointer},
- {"glTexCoordPointer", (void **) &qglTexCoordPointer},
- {"glArrayElement", (void **) &qglArrayElement},
- {"glColor4ub", (void **) &qglColor4ub},
- {"glColor4f", (void **) &qglColor4f},
- {"glTexCoord1f", (void **) &qglTexCoord1f},
- {"glTexCoord2f", (void **) &qglTexCoord2f},
- {"glTexCoord3f", (void **) &qglTexCoord3f},
- {"glTexCoord4f", (void **) &qglTexCoord4f},
- {"glVertex2f", (void **) &qglVertex2f},
- {"glVertex3f", (void **) &qglVertex3f},
- {"glVertex4f", (void **) &qglVertex4f},
- {"glBegin", (void **) &qglBegin},
- {"glEnd", (void **) &qglEnd},
-//[515]: added on 29.07.2005
- {"glLineWidth", (void**) &qglLineWidth},
- {"glPointSize", (void**) &qglPointSize},
-//
- {"glMatrixMode", (void **) &qglMatrixMode},
-// {"glOrtho", (void **) &qglOrtho},
-// {"glFrustum", (void **) &qglFrustum},
- {"glViewport", (void **) &qglViewport},
-// {"glPushMatrix", (void **) &qglPushMatrix},
-// {"glPopMatrix", (void **) &qglPopMatrix},
- {"glLoadIdentity", (void **) &qglLoadIdentity},
-// {"glLoadMatrixd", (void **) &qglLoadMatrixd},
- {"glLoadMatrixf", (void **) &qglLoadMatrixf},
-// {"glMultMatrixd", (void **) &qglMultMatrixd},
-// {"glMultMatrixf", (void **) &qglMultMatrixf},
-// {"glRotated", (void **) &qglRotated},
-// {"glRotatef", (void **) &qglRotatef},
-// {"glScaled", (void **) &qglScaled},
-// {"glScalef", (void **) &qglScalef},
-// {"glTranslated", (void **) &qglTranslated},
-// {"glTranslatef", (void **) &qglTranslatef},
- {"glReadPixels", (void **) &qglReadPixels},
- {"glStencilFunc", (void **) &qglStencilFunc},
- {"glStencilMask", (void **) &qglStencilMask},
- {"glStencilOp", (void **) &qglStencilOp},
- {"glClearStencil", (void **) &qglClearStencil},
- {"glTexEnvf", (void **) &qglTexEnvf},
- {"glTexEnvfv", (void **) &qglTexEnvfv},
- {"glTexEnvi", (void **) &qglTexEnvi},
- {"glTexParameterf", (void **) &qglTexParameterf},
- {"glTexParameterfv", (void **) &qglTexParameterfv},
- {"glTexParameteri", (void **) &qglTexParameteri},
- {"glGetTexImage", (void **) &qglGetTexImage},
- {"glGetTexParameterfv", (void **) &qglGetTexParameterfv},
- {"glGetTexParameteriv", (void **) &qglGetTexParameteriv},
- {"glGetTexLevelParameterfv", (void **) &qglGetTexLevelParameterfv},
- {"glGetTexLevelParameteriv", (void **) &qglGetTexLevelParameteriv},
- {"glHint", (void **) &qglHint},
-// {"glPixelStoref", (void **) &qglPixelStoref},
- {"glPixelStorei", (void **) &qglPixelStorei},
- {"glGenTextures", (void **) &qglGenTextures},
- {"glDeleteTextures", (void **) &qglDeleteTextures},
- {"glBindTexture", (void **) &qglBindTexture},
-// {"glPrioritizeTextures", (void **) &qglPrioritizeTextures},
-// {"glAreTexturesResident", (void **) &qglAreTexturesResident},
-// {"glIsTexture", (void **) &qglIsTexture},
-// {"glTexImage1D", (void **) &qglTexImage1D},
- {"glTexImage2D", (void **) &qglTexImage2D},
-// {"glTexSubImage1D", (void **) &qglTexSubImage1D},
- {"glTexSubImage2D", (void **) &qglTexSubImage2D},
-// {"glCopyTexImage1D", (void **) &qglCopyTexImage1D},
- {"glCopyTexImage2D", (void **) &qglCopyTexImage2D},
-// {"glCopyTexSubImage1D", (void **) &qglCopyTexSubImage1D},
- {"glCopyTexSubImage2D", (void **) &qglCopyTexSubImage2D},
- {"glScissor", (void **) &qglScissor},
- {"glPolygonOffset", (void **) &qglPolygonOffset},
- {"glPolygonMode", (void **) &qglPolygonMode},
- {"glPolygonStipple", (void **) &qglPolygonStipple},
-// {"glClipPlane", (void **) &qglClipPlane},
-// {"glGetClipPlane", (void **) &qglGetClipPlane},
- {NULL, NULL}
-};
-
-static dllfunction_t drawrangeelementsfuncs[] =
-{
- {"glDrawRangeElements", (void **) &qglDrawRangeElements},
- {NULL, NULL}
-};
-
-static dllfunction_t drawrangeelementsextfuncs[] =
-{
- {"glDrawRangeElementsEXT", (void **) &qglDrawRangeElementsEXT},
- {NULL, NULL}
-};
-
-static dllfunction_t multitexturefuncs[] =
-{
- {"glMultiTexCoord1fARB", (void **) &qglMultiTexCoord1f},
- {"glMultiTexCoord2fARB", (void **) &qglMultiTexCoord2f},
- {"glMultiTexCoord3fARB", (void **) &qglMultiTexCoord3f},
- {"glMultiTexCoord4fARB", (void **) &qglMultiTexCoord4f},
- {"glActiveTextureARB", (void **) &qglActiveTexture},
- {"glClientActiveTextureARB", (void **) &qglClientActiveTexture},
- {NULL, NULL}
-};
-
-static dllfunction_t texture3dextfuncs[] =
-{
- {"glTexImage3DEXT", (void **) &qglTexImage3D},
- {"glTexSubImage3DEXT", (void **) &qglTexSubImage3D},
- {"glCopyTexSubImage3DEXT", (void **) &qglCopyTexSubImage3D},
- {NULL, NULL}
-};
-
-static dllfunction_t atiseparatestencilfuncs[] =
-{
- {"glStencilOpSeparateATI", (void **) &qglStencilOpSeparate},
- {"glStencilFuncSeparateATI", (void **) &qglStencilFuncSeparate},
- {NULL, NULL}
-};
-
-static dllfunction_t gl2separatestencilfuncs[] =
-{
- {"glStencilOpSeparate", (void **) &qglStencilOpSeparate},
- {"glStencilFuncSeparate", (void **) &qglStencilFuncSeparate},
- {NULL, NULL}
-};
-
-static dllfunction_t stenciltwosidefuncs[] =
-{
- {"glActiveStencilFaceEXT", (void **) &qglActiveStencilFaceEXT},
- {NULL, NULL}
-};
-
-static dllfunction_t blendequationfuncs[] =
-{
- {"glBlendEquationEXT", (void **) &qglBlendEquationEXT},
- {NULL, NULL}
-};
-
-static dllfunction_t gl20shaderfuncs[] =
-{
- {"glDeleteShader", (void **) &qglDeleteShader},
- {"glDeleteProgram", (void **) &qglDeleteProgram},
-// {"glGetHandle", (void **) &qglGetHandle},
- {"glDetachShader", (void **) &qglDetachShader},
- {"glCreateShader", (void **) &qglCreateShader},
- {"glShaderSource", (void **) &qglShaderSource},
- {"glCompileShader", (void **) &qglCompileShader},
- {"glCreateProgram", (void **) &qglCreateProgram},
- {"glAttachShader", (void **) &qglAttachShader},
- {"glLinkProgram", (void **) &qglLinkProgram},
- {"glUseProgram", (void **) &qglUseProgram},
- {"glValidateProgram", (void **) &qglValidateProgram},
- {"glUniform1f", (void **) &qglUniform1f},
- {"glUniform2f", (void **) &qglUniform2f},
- {"glUniform3f", (void **) &qglUniform3f},
- {"glUniform4f", (void **) &qglUniform4f},
- {"glUniform1i", (void **) &qglUniform1i},
- {"glUniform2i", (void **) &qglUniform2i},
- {"glUniform3i", (void **) &qglUniform3i},
- {"glUniform4i", (void **) &qglUniform4i},
- {"glUniform1fv", (void **) &qglUniform1fv},
- {"glUniform2fv", (void **) &qglUniform2fv},
- {"glUniform3fv", (void **) &qglUniform3fv},
- {"glUniform4fv", (void **) &qglUniform4fv},
- {"glUniform1iv", (void **) &qglUniform1iv},
- {"glUniform2iv", (void **) &qglUniform2iv},
- {"glUniform3iv", (void **) &qglUniform3iv},
- {"glUniform4iv", (void **) &qglUniform4iv},
- {"glUniformMatrix2fv", (void **) &qglUniformMatrix2fv},
- {"glUniformMatrix3fv", (void **) &qglUniformMatrix3fv},
- {"glUniformMatrix4fv", (void **) &qglUniformMatrix4fv},
- {"glGetShaderiv", (void **) &qglGetShaderiv},
- {"glGetProgramiv", (void **) &qglGetProgramiv},
- {"glGetShaderInfoLog", (void **) &qglGetShaderInfoLog},
- {"glGetProgramInfoLog", (void **) &qglGetProgramInfoLog},
- {"glGetAttachedShaders", (void **) &qglGetAttachedShaders},
- {"glGetUniformLocation", (void **) &qglGetUniformLocation},
- {"glGetActiveUniform", (void **) &qglGetActiveUniform},
- {"glGetUniformfv", (void **) &qglGetUniformfv},
- {"glGetUniformiv", (void **) &qglGetUniformiv},
- {"glGetShaderSource", (void **) &qglGetShaderSource},
- {"glVertexAttrib1f", (void **) &qglVertexAttrib1f},
- {"glVertexAttrib1s", (void **) &qglVertexAttrib1s},
- {"glVertexAttrib1d", (void **) &qglVertexAttrib1d},
- {"glVertexAttrib2f", (void **) &qglVertexAttrib2f},
- {"glVertexAttrib2s", (void **) &qglVertexAttrib2s},
- {"glVertexAttrib2d", (void **) &qglVertexAttrib2d},
- {"glVertexAttrib3f", (void **) &qglVertexAttrib3f},
- {"glVertexAttrib3s", (void **) &qglVertexAttrib3s},
- {"glVertexAttrib3d", (void **) &qglVertexAttrib3d},
- {"glVertexAttrib4f", (void **) &qglVertexAttrib4f},
- {"glVertexAttrib4s", (void **) &qglVertexAttrib4s},
- {"glVertexAttrib4d", (void **) &qglVertexAttrib4d},
- {"glVertexAttrib4Nub", (void **) &qglVertexAttrib4Nub},
- {"glVertexAttrib1fv", (void **) &qglVertexAttrib1fv},
- {"glVertexAttrib1sv", (void **) &qglVertexAttrib1sv},
- {"glVertexAttrib1dv", (void **) &qglVertexAttrib1dv},
- {"glVertexAttrib2fv", (void **) &qglVertexAttrib1fv},
- {"glVertexAttrib2sv", (void **) &qglVertexAttrib1sv},
- {"glVertexAttrib2dv", (void **) &qglVertexAttrib1dv},
- {"glVertexAttrib3fv", (void **) &qglVertexAttrib1fv},
- {"glVertexAttrib3sv", (void **) &qglVertexAttrib1sv},
- {"glVertexAttrib3dv", (void **) &qglVertexAttrib1dv},
- {"glVertexAttrib4fv", (void **) &qglVertexAttrib1fv},
- {"glVertexAttrib4sv", (void **) &qglVertexAttrib1sv},
- {"glVertexAttrib4dv", (void **) &qglVertexAttrib1dv},
-// {"glVertexAttrib4iv", (void **) &qglVertexAttrib1iv},
-// {"glVertexAttrib4bv", (void **) &qglVertexAttrib1bv},
-// {"glVertexAttrib4ubv", (void **) &qglVertexAttrib1ubv},
-// {"glVertexAttrib4usv", (void **) &qglVertexAttrib1usv},
-// {"glVertexAttrib4uiv", (void **) &qglVertexAttrib1uiv},
-// {"glVertexAttrib4Nbv", (void **) &qglVertexAttrib1Nbv},
-// {"glVertexAttrib4Nsv", (void **) &qglVertexAttrib1Nsv},
-// {"glVertexAttrib4Niv", (void **) &qglVertexAttrib1Niv},
-// {"glVertexAttrib4Nubv", (void **) &qglVertexAttrib1Nubv},
-// {"glVertexAttrib4Nusv", (void **) &qglVertexAttrib1Nusv},
-// {"glVertexAttrib4Nuiv", (void **) &qglVertexAttrib1Nuiv},
- {"glVertexAttribPointer", (void **) &qglVertexAttribPointer},
- {"glEnableVertexAttribArray", (void **) &qglEnableVertexAttribArray},
- {"glDisableVertexAttribArray", (void **) &qglDisableVertexAttribArray},
- {"glBindAttribLocation", (void **) &qglBindAttribLocation},
- {"glGetActiveAttrib", (void **) &qglGetActiveAttrib},
- {"glGetAttribLocation", (void **) &qglGetAttribLocation},
- {"glGetVertexAttribdv", (void **) &qglGetVertexAttribdv},
- {"glGetVertexAttribfv", (void **) &qglGetVertexAttribfv},
- {"glGetVertexAttribiv", (void **) &qglGetVertexAttribiv},
- {"glGetVertexAttribPointerv", (void **) &qglGetVertexAttribPointerv},
- {NULL, NULL}
-};
-
-static dllfunction_t glsl130funcs[] =
-{
- {"glBindFragDataLocation", (void **) &qglBindFragDataLocation},
- {NULL, NULL}
-};
-
-static dllfunction_t vbofuncs[] =
-{
- {"glBindBufferARB" , (void **) &qglBindBufferARB},
- {"glDeleteBuffersARB" , (void **) &qglDeleteBuffersARB},
- {"glGenBuffersARB" , (void **) &qglGenBuffersARB},
- {"glIsBufferARB" , (void **) &qglIsBufferARB},
- {"glMapBufferARB" , (void **) &qglMapBufferARB},
- {"glUnmapBufferARB" , (void **) &qglUnmapBufferARB},
- {"glBufferDataARB" , (void **) &qglBufferDataARB},
- {"glBufferSubDataARB" , (void **) &qglBufferSubDataARB},
- {NULL, NULL}
-};
-
-static dllfunction_t arbfbofuncs[] =
-{
- {"glIsRenderbuffer" , (void **) &qglIsRenderbuffer},
- {"glBindRenderbuffer" , (void **) &qglBindRenderbuffer},
- {"glDeleteRenderbuffers" , (void **) &qglDeleteRenderbuffers},
- {"glGenRenderbuffers" , (void **) &qglGenRenderbuffers},
- {"glRenderbufferStorage" , (void **) &qglRenderbufferStorage},
- {"glRenderbufferStorageMultisample" , (void **) &qglRenderbufferStorageMultisample}, // not in GL_EXT_framebuffer_object
- {"glGetRenderbufferParameteriv" , (void **) &qglGetRenderbufferParameteriv},
- {"glIsFramebuffer" , (void **) &qglIsFramebuffer},
- {"glBindFramebuffer" , (void **) &qglBindFramebuffer},
- {"glDeleteFramebuffers" , (void **) &qglDeleteFramebuffers},
- {"glGenFramebuffers" , (void **) &qglGenFramebuffers},
- {"glCheckFramebufferStatus" , (void **) &qglCheckFramebufferStatus},
- {"glFramebufferTexture1D" , (void **) &qglFramebufferTexture1D},
- {"glFramebufferTexture2D" , (void **) &qglFramebufferTexture2D},
- {"glFramebufferTexture3D" , (void **) &qglFramebufferTexture3D},
- {"glFramebufferTextureLayer" , (void **) &qglFramebufferTextureLayer}, // not in GL_EXT_framebuffer_object
- {"glFramebufferRenderbuffer" , (void **) &qglFramebufferRenderbuffer},
- {"glGetFramebufferAttachmentParameteriv" , (void **) &qglGetFramebufferAttachmentParameteriv},
- {"glBlitFramebuffer" , (void **) &qglBlitFramebuffer}, // not in GL_EXT_framebuffer_object
- {"glGenerateMipmap" , (void **) &qglGenerateMipmap},
- {NULL, NULL}
-};
-
-static dllfunction_t extfbofuncs[] =
-{
- {"glIsRenderbufferEXT" , (void **) &qglIsRenderbuffer},
- {"glBindRenderbufferEXT" , (void **) &qglBindRenderbuffer},
- {"glDeleteRenderbuffersEXT" , (void **) &qglDeleteRenderbuffers},
- {"glGenRenderbuffersEXT" , (void **) &qglGenRenderbuffers},
- {"glRenderbufferStorageEXT" , (void **) &qglRenderbufferStorage},
- {"glGetRenderbufferParameterivEXT" , (void **) &qglGetRenderbufferParameteriv},
- {"glIsFramebufferEXT" , (void **) &qglIsFramebuffer},
- {"glBindFramebufferEXT" , (void **) &qglBindFramebuffer},
- {"glDeleteFramebuffersEXT" , (void **) &qglDeleteFramebuffers},
- {"glGenFramebuffersEXT" , (void **) &qglGenFramebuffers},
- {"glCheckFramebufferStatusEXT" , (void **) &qglCheckFramebufferStatus},
- {"glFramebufferTexture1DEXT" , (void **) &qglFramebufferTexture1D},
- {"glFramebufferTexture2DEXT" , (void **) &qglFramebufferTexture2D},
- {"glFramebufferTexture3DEXT" , (void **) &qglFramebufferTexture3D},
- {"glFramebufferRenderbufferEXT" , (void **) &qglFramebufferRenderbuffer},
- {"glGetFramebufferAttachmentParameterivEXT" , (void **) &qglGetFramebufferAttachmentParameteriv},
- {"glGenerateMipmapEXT" , (void **) &qglGenerateMipmap},
- {NULL, NULL}
-};
-
-static dllfunction_t texturecompressionfuncs[] =
-{
- {"glCompressedTexImage3DARB", (void **) &qglCompressedTexImage3DARB},
- {"glCompressedTexImage2DARB", (void **) &qglCompressedTexImage2DARB},
-// {"glCompressedTexImage1DARB", (void **) &qglCompressedTexImage1DARB},
- {"glCompressedTexSubImage3DARB", (void **) &qglCompressedTexSubImage3DARB},
- {"glCompressedTexSubImage2DARB", (void **) &qglCompressedTexSubImage2DARB},
-// {"glCompressedTexSubImage1DARB", (void **) &qglCompressedTexSubImage1DARB},
- {"glGetCompressedTexImageARB", (void **) &qglGetCompressedTexImageARB},
- {NULL, NULL}
-};
-
-static dllfunction_t occlusionqueryfuncs[] =
-{
- {"glGenQueriesARB", (void **) &qglGenQueriesARB},
- {"glDeleteQueriesARB", (void **) &qglDeleteQueriesARB},
- {"glIsQueryARB", (void **) &qglIsQueryARB},
- {"glBeginQueryARB", (void **) &qglBeginQueryARB},
- {"glEndQueryARB", (void **) &qglEndQueryARB},
- {"glGetQueryivARB", (void **) &qglGetQueryivARB},
- {"glGetQueryObjectivARB", (void **) &qglGetQueryObjectivARB},
- {"glGetQueryObjectuivARB", (void **) &qglGetQueryObjectuivARB},
- {NULL, NULL}
-};
-
-static dllfunction_t drawbuffersfuncs[] =
-{
- {"glDrawBuffersARB", (void **) &qglDrawBuffersARB},
- {NULL, NULL}
-};
-
-static dllfunction_t multisamplefuncs[] =
-{
- {"glSampleCoverageARB", (void **) &qglSampleCoverageARB},
- {NULL, NULL}
-};
-#endif
-