1 // Generated Code - DO NOT EDIT !! 2 // generated by 'emugen' 3 #ifndef __gl2_client_ftable_t_h 4 #define __gl2_client_ftable_t_h 5 6 7 static const struct _gl2_funcs_by_name { 8 const char *name; 9 void *proc; 10 } gl2_funcs_by_name[] = { 11 {"glActiveTexture", (void*)glActiveTexture}, 12 {"glAttachShader", (void*)glAttachShader}, 13 {"glBindAttribLocation", (void*)glBindAttribLocation}, 14 {"glBindBuffer", (void*)glBindBuffer}, 15 {"glBindFramebuffer", (void*)glBindFramebuffer}, 16 {"glBindRenderbuffer", (void*)glBindRenderbuffer}, 17 {"glBindTexture", (void*)glBindTexture}, 18 {"glBlendColor", (void*)glBlendColor}, 19 {"glBlendEquation", (void*)glBlendEquation}, 20 {"glBlendEquationSeparate", (void*)glBlendEquationSeparate}, 21 {"glBlendFunc", (void*)glBlendFunc}, 22 {"glBlendFuncSeparate", (void*)glBlendFuncSeparate}, 23 {"glBufferData", (void*)glBufferData}, 24 {"glBufferSubData", (void*)glBufferSubData}, 25 {"glCheckFramebufferStatus", (void*)glCheckFramebufferStatus}, 26 {"glClear", (void*)glClear}, 27 {"glClearColor", (void*)glClearColor}, 28 {"glClearDepthf", (void*)glClearDepthf}, 29 {"glClearStencil", (void*)glClearStencil}, 30 {"glColorMask", (void*)glColorMask}, 31 {"glCompileShader", (void*)glCompileShader}, 32 {"glCompressedTexImage2D", (void*)glCompressedTexImage2D}, 33 {"glCompressedTexSubImage2D", (void*)glCompressedTexSubImage2D}, 34 {"glCopyTexImage2D", (void*)glCopyTexImage2D}, 35 {"glCopyTexSubImage2D", (void*)glCopyTexSubImage2D}, 36 {"glCreateProgram", (void*)glCreateProgram}, 37 {"glCreateShader", (void*)glCreateShader}, 38 {"glCullFace", (void*)glCullFace}, 39 {"glDeleteBuffers", (void*)glDeleteBuffers}, 40 {"glDeleteFramebuffers", (void*)glDeleteFramebuffers}, 41 {"glDeleteProgram", (void*)glDeleteProgram}, 42 {"glDeleteRenderbuffers", (void*)glDeleteRenderbuffers}, 43 {"glDeleteShader", (void*)glDeleteShader}, 44 {"glDeleteTextures", (void*)glDeleteTextures}, 45 {"glDepthFunc", (void*)glDepthFunc}, 46 {"glDepthMask", (void*)glDepthMask}, 47 {"glDepthRangef", (void*)glDepthRangef}, 48 {"glDetachShader", (void*)glDetachShader}, 49 {"glDisable", (void*)glDisable}, 50 {"glDisableVertexAttribArray", (void*)glDisableVertexAttribArray}, 51 {"glDrawArrays", (void*)glDrawArrays}, 52 {"glDrawElements", (void*)glDrawElements}, 53 {"glEnable", (void*)glEnable}, 54 {"glEnableVertexAttribArray", (void*)glEnableVertexAttribArray}, 55 {"glFinish", (void*)glFinish}, 56 {"glFlush", (void*)glFlush}, 57 {"glFramebufferRenderbuffer", (void*)glFramebufferRenderbuffer}, 58 {"glFramebufferTexture2D", (void*)glFramebufferTexture2D}, 59 {"glFrontFace", (void*)glFrontFace}, 60 {"glGenBuffers", (void*)glGenBuffers}, 61 {"glGenerateMipmap", (void*)glGenerateMipmap}, 62 {"glGenFramebuffers", (void*)glGenFramebuffers}, 63 {"glGenRenderbuffers", (void*)glGenRenderbuffers}, 64 {"glGenTextures", (void*)glGenTextures}, 65 {"glGetActiveAttrib", (void*)glGetActiveAttrib}, 66 {"glGetActiveUniform", (void*)glGetActiveUniform}, 67 {"glGetAttachedShaders", (void*)glGetAttachedShaders}, 68 {"glGetAttribLocation", (void*)glGetAttribLocation}, 69 {"glGetBooleanv", (void*)glGetBooleanv}, 70 {"glGetBufferParameteriv", (void*)glGetBufferParameteriv}, 71 {"glGetError", (void*)glGetError}, 72 {"glGetFloatv", (void*)glGetFloatv}, 73 {"glGetFramebufferAttachmentParameteriv", (void*)glGetFramebufferAttachmentParameteriv}, 74 {"glGetIntegerv", (void*)glGetIntegerv}, 75 {"glGetProgramiv", (void*)glGetProgramiv}, 76 {"glGetProgramInfoLog", (void*)glGetProgramInfoLog}, 77 {"glGetRenderbufferParameteriv", (void*)glGetRenderbufferParameteriv}, 78 {"glGetShaderiv", (void*)glGetShaderiv}, 79 {"glGetShaderInfoLog", (void*)glGetShaderInfoLog}, 80 {"glGetShaderPrecisionFormat", (void*)glGetShaderPrecisionFormat}, 81 {"glGetShaderSource", (void*)glGetShaderSource}, 82 {"glGetString", (void*)glGetString}, 83 {"glGetTexParameterfv", (void*)glGetTexParameterfv}, 84 {"glGetTexParameteriv", (void*)glGetTexParameteriv}, 85 {"glGetUniformfv", (void*)glGetUniformfv}, 86 {"glGetUniformiv", (void*)glGetUniformiv}, 87 {"glGetUniformLocation", (void*)glGetUniformLocation}, 88 {"glGetVertexAttribfv", (void*)glGetVertexAttribfv}, 89 {"glGetVertexAttribiv", (void*)glGetVertexAttribiv}, 90 {"glGetVertexAttribPointerv", (void*)glGetVertexAttribPointerv}, 91 {"glHint", (void*)glHint}, 92 {"glIsBuffer", (void*)glIsBuffer}, 93 {"glIsEnabled", (void*)glIsEnabled}, 94 {"glIsFramebuffer", (void*)glIsFramebuffer}, 95 {"glIsProgram", (void*)glIsProgram}, 96 {"glIsRenderbuffer", (void*)glIsRenderbuffer}, 97 {"glIsShader", (void*)glIsShader}, 98 {"glIsTexture", (void*)glIsTexture}, 99 {"glLineWidth", (void*)glLineWidth}, 100 {"glLinkProgram", (void*)glLinkProgram}, 101 {"glPixelStorei", (void*)glPixelStorei}, 102 {"glPolygonOffset", (void*)glPolygonOffset}, 103 {"glReadPixels", (void*)glReadPixels}, 104 {"glReleaseShaderCompiler", (void*)glReleaseShaderCompiler}, 105 {"glRenderbufferStorage", (void*)glRenderbufferStorage}, 106 {"glSampleCoverage", (void*)glSampleCoverage}, 107 {"glScissor", (void*)glScissor}, 108 {"glShaderBinary", (void*)glShaderBinary}, 109 {"glShaderSource", (void*)glShaderSource}, 110 {"glStencilFunc", (void*)glStencilFunc}, 111 {"glStencilFuncSeparate", (void*)glStencilFuncSeparate}, 112 {"glStencilMask", (void*)glStencilMask}, 113 {"glStencilMaskSeparate", (void*)glStencilMaskSeparate}, 114 {"glStencilOp", (void*)glStencilOp}, 115 {"glStencilOpSeparate", (void*)glStencilOpSeparate}, 116 {"glTexImage2D", (void*)glTexImage2D}, 117 {"glTexParameterf", (void*)glTexParameterf}, 118 {"glTexParameterfv", (void*)glTexParameterfv}, 119 {"glTexParameteri", (void*)glTexParameteri}, 120 {"glTexParameteriv", (void*)glTexParameteriv}, 121 {"glTexSubImage2D", (void*)glTexSubImage2D}, 122 {"glUniform1f", (void*)glUniform1f}, 123 {"glUniform1fv", (void*)glUniform1fv}, 124 {"glUniform1i", (void*)glUniform1i}, 125 {"glUniform1iv", (void*)glUniform1iv}, 126 {"glUniform2f", (void*)glUniform2f}, 127 {"glUniform2fv", (void*)glUniform2fv}, 128 {"glUniform2i", (void*)glUniform2i}, 129 {"glUniform2iv", (void*)glUniform2iv}, 130 {"glUniform3f", (void*)glUniform3f}, 131 {"glUniform3fv", (void*)glUniform3fv}, 132 {"glUniform3i", (void*)glUniform3i}, 133 {"glUniform3iv", (void*)glUniform3iv}, 134 {"glUniform4f", (void*)glUniform4f}, 135 {"glUniform4fv", (void*)glUniform4fv}, 136 {"glUniform4i", (void*)glUniform4i}, 137 {"glUniform4iv", (void*)glUniform4iv}, 138 {"glUniformMatrix2fv", (void*)glUniformMatrix2fv}, 139 {"glUniformMatrix3fv", (void*)glUniformMatrix3fv}, 140 {"glUniformMatrix4fv", (void*)glUniformMatrix4fv}, 141 {"glUseProgram", (void*)glUseProgram}, 142 {"glValidateProgram", (void*)glValidateProgram}, 143 {"glVertexAttrib1f", (void*)glVertexAttrib1f}, 144 {"glVertexAttrib1fv", (void*)glVertexAttrib1fv}, 145 {"glVertexAttrib2f", (void*)glVertexAttrib2f}, 146 {"glVertexAttrib2fv", (void*)glVertexAttrib2fv}, 147 {"glVertexAttrib3f", (void*)glVertexAttrib3f}, 148 {"glVertexAttrib3fv", (void*)glVertexAttrib3fv}, 149 {"glVertexAttrib4f", (void*)glVertexAttrib4f}, 150 {"glVertexAttrib4fv", (void*)glVertexAttrib4fv}, 151 {"glVertexAttribPointer", (void*)glVertexAttribPointer}, 152 {"glViewport", (void*)glViewport}, 153 {"glEGLImageTargetTexture2DOES", (void*)glEGLImageTargetTexture2DOES}, 154 {"glEGLImageTargetRenderbufferStorageOES", (void*)glEGLImageTargetRenderbufferStorageOES}, 155 {"glGetProgramBinaryOES", (void*)glGetProgramBinaryOES}, 156 {"glProgramBinaryOES", (void*)glProgramBinaryOES}, 157 {"glMapBufferOES", (void*)glMapBufferOES}, 158 {"glUnmapBufferOES", (void*)glUnmapBufferOES}, 159 {"glTexImage3DOES", (void*)glTexImage3DOES}, 160 {"glTexSubImage3DOES", (void*)glTexSubImage3DOES}, 161 {"glCopyTexSubImage3DOES", (void*)glCopyTexSubImage3DOES}, 162 {"glCompressedTexImage3DOES", (void*)glCompressedTexImage3DOES}, 163 {"glCompressedTexSubImage3DOES", (void*)glCompressedTexSubImage3DOES}, 164 {"glFramebufferTexture3DOES", (void*)glFramebufferTexture3DOES}, 165 {"glBindVertexArrayOES", (void*)glBindVertexArrayOES}, 166 {"glDeleteVertexArraysOES", (void*)glDeleteVertexArraysOES}, 167 {"glGenVertexArraysOES", (void*)glGenVertexArraysOES}, 168 {"glIsVertexArrayOES", (void*)glIsVertexArrayOES}, 169 {"glDiscardFramebufferEXT", (void*)glDiscardFramebufferEXT}, 170 {"glMultiDrawArraysEXT", (void*)glMultiDrawArraysEXT}, 171 {"glMultiDrawElementsEXT", (void*)glMultiDrawElementsEXT}, 172 {"glGetPerfMonitorGroupsAMD", (void*)glGetPerfMonitorGroupsAMD}, 173 {"glGetPerfMonitorCountersAMD", (void*)glGetPerfMonitorCountersAMD}, 174 {"glGetPerfMonitorGroupStringAMD", (void*)glGetPerfMonitorGroupStringAMD}, 175 {"glGetPerfMonitorCounterStringAMD", (void*)glGetPerfMonitorCounterStringAMD}, 176 {"glGetPerfMonitorCounterInfoAMD", (void*)glGetPerfMonitorCounterInfoAMD}, 177 {"glGenPerfMonitorsAMD", (void*)glGenPerfMonitorsAMD}, 178 {"glDeletePerfMonitorsAMD", (void*)glDeletePerfMonitorsAMD}, 179 {"glSelectPerfMonitorCountersAMD", (void*)glSelectPerfMonitorCountersAMD}, 180 {"glBeginPerfMonitorAMD", (void*)glBeginPerfMonitorAMD}, 181 {"glEndPerfMonitorAMD", (void*)glEndPerfMonitorAMD}, 182 {"glGetPerfMonitorCounterDataAMD", (void*)glGetPerfMonitorCounterDataAMD}, 183 {"glRenderbufferStorageMultisampleIMG", (void*)glRenderbufferStorageMultisampleIMG}, 184 {"glFramebufferTexture2DMultisampleIMG", (void*)glFramebufferTexture2DMultisampleIMG}, 185 {"glDeleteFencesNV", (void*)glDeleteFencesNV}, 186 {"glGenFencesNV", (void*)glGenFencesNV}, 187 {"glIsFenceNV", (void*)glIsFenceNV}, 188 {"glTestFenceNV", (void*)glTestFenceNV}, 189 {"glGetFenceivNV", (void*)glGetFenceivNV}, 190 {"glFinishFenceNV", (void*)glFinishFenceNV}, 191 {"glSetFenceNV", (void*)glSetFenceNV}, 192 {"glCoverageMaskNV", (void*)glCoverageMaskNV}, 193 {"glCoverageOperationNV", (void*)glCoverageOperationNV}, 194 {"glGetDriverControlsQCOM", (void*)glGetDriverControlsQCOM}, 195 {"glGetDriverControlStringQCOM", (void*)glGetDriverControlStringQCOM}, 196 {"glEnableDriverControlQCOM", (void*)glEnableDriverControlQCOM}, 197 {"glDisableDriverControlQCOM", (void*)glDisableDriverControlQCOM}, 198 {"glExtGetTexturesQCOM", (void*)glExtGetTexturesQCOM}, 199 {"glExtGetBuffersQCOM", (void*)glExtGetBuffersQCOM}, 200 {"glExtGetRenderbuffersQCOM", (void*)glExtGetRenderbuffersQCOM}, 201 {"glExtGetFramebuffersQCOM", (void*)glExtGetFramebuffersQCOM}, 202 {"glExtGetTexLevelParameterivQCOM", (void*)glExtGetTexLevelParameterivQCOM}, 203 {"glExtTexObjectStateOverrideiQCOM", (void*)glExtTexObjectStateOverrideiQCOM}, 204 {"glExtGetTexSubImageQCOM", (void*)glExtGetTexSubImageQCOM}, 205 {"glExtGetBufferPointervQCOM", (void*)glExtGetBufferPointervQCOM}, 206 {"glExtGetShadersQCOM", (void*)glExtGetShadersQCOM}, 207 {"glExtGetProgramsQCOM", (void*)glExtGetProgramsQCOM}, 208 {"glExtIsProgramBinaryQCOM", (void*)glExtIsProgramBinaryQCOM}, 209 {"glExtGetProgramBinarySourceQCOM", (void*)glExtGetProgramBinarySourceQCOM}, 210 {"glStartTilingQCOM", (void*)glStartTilingQCOM}, 211 {"glEndTilingQCOM", (void*)glEndTilingQCOM}, 212 }; 213 static const int gl2_num_funcs = sizeof(gl2_funcs_by_name) / sizeof(struct _gl2_funcs_by_name); 214 215 216 #endif 217