1 /* 2 * Copyright (C) 2011 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #ifndef _GLES_DISPATCH_H 17 #define _GLES_DISPATCH_H 18 19 #include "gles_proc.h" 20 21 22 struct gles_dispatch { 23 glAlphaFunc_t glAlphaFunc; 24 glClearColor_t glClearColor; 25 glClearDepthf_t glClearDepthf; 26 glClipPlanef_t glClipPlanef; 27 glColor4f_t glColor4f; 28 glDepthRangef_t glDepthRangef; 29 glFogf_t glFogf; 30 glFogfv_t glFogfv; 31 glFrustumf_t glFrustumf; 32 glGetClipPlanef_t glGetClipPlanef; 33 glGetFloatv_t glGetFloatv; 34 glGetLightfv_t glGetLightfv; 35 glGetMaterialfv_t glGetMaterialfv; 36 glGetTexEnvfv_t glGetTexEnvfv; 37 glGetTexParameterfv_t glGetTexParameterfv; 38 glLightModelf_t glLightModelf; 39 glLightModelfv_t glLightModelfv; 40 glLightf_t glLightf; 41 glLightfv_t glLightfv; 42 glLineWidth_t glLineWidth; 43 glLoadMatrixf_t glLoadMatrixf; 44 glMaterialf_t glMaterialf; 45 glMaterialfv_t glMaterialfv; 46 glMultMatrixf_t glMultMatrixf; 47 glMultiTexCoord4f_t glMultiTexCoord4f; 48 glNormal3f_t glNormal3f; 49 glOrthof_t glOrthof; 50 glPointParameterf_t glPointParameterf; 51 glPointParameterfv_t glPointParameterfv; 52 glPointSize_t glPointSize; 53 glPolygonOffset_t glPolygonOffset; 54 glRotatef_t glRotatef; 55 glScalef_t glScalef; 56 glTexEnvf_t glTexEnvf; 57 glTexEnvfv_t glTexEnvfv; 58 glTexParameterf_t glTexParameterf; 59 glTexParameterfv_t glTexParameterfv; 60 glTranslatef_t glTranslatef; 61 glActiveTexture_t glActiveTexture; 62 glAlphaFuncx_t glAlphaFuncx; 63 glBindBuffer_t glBindBuffer; 64 glBindTexture_t glBindTexture; 65 glBlendFunc_t glBlendFunc; 66 glBufferData_t glBufferData; 67 glBufferSubData_t glBufferSubData; 68 glClear_t glClear; 69 glClearColorx_t glClearColorx; 70 glClearDepthx_t glClearDepthx; 71 glClearStencil_t glClearStencil; 72 glClientActiveTexture_t glClientActiveTexture; 73 glClipPlanex_t glClipPlanex; 74 glColor4ub_t glColor4ub; 75 glColor4x_t glColor4x; 76 glColorMask_t glColorMask; 77 glColorPointer_t glColorPointer; 78 glCompressedTexImage2D_t glCompressedTexImage2D; 79 glCompressedTexSubImage2D_t glCompressedTexSubImage2D; 80 glCopyTexImage2D_t glCopyTexImage2D; 81 glCopyTexSubImage2D_t glCopyTexSubImage2D; 82 glCullFace_t glCullFace; 83 glDeleteBuffers_t glDeleteBuffers; 84 glDeleteTextures_t glDeleteTextures; 85 glDepthFunc_t glDepthFunc; 86 glDepthMask_t glDepthMask; 87 glDepthRangex_t glDepthRangex; 88 glDisable_t glDisable; 89 glDisableClientState_t glDisableClientState; 90 glDrawArrays_t glDrawArrays; 91 glDrawElements_t glDrawElements; 92 glEnable_t glEnable; 93 glEnableClientState_t glEnableClientState; 94 glFinish_t glFinish; 95 glFlush_t glFlush; 96 glFogx_t glFogx; 97 glFogxv_t glFogxv; 98 glFrontFace_t glFrontFace; 99 glFrustumx_t glFrustumx; 100 glGetBooleanv_t glGetBooleanv; 101 glGetBufferParameteriv_t glGetBufferParameteriv; 102 glGetClipPlanex_t glGetClipPlanex; 103 glGenBuffers_t glGenBuffers; 104 glGenTextures_t glGenTextures; 105 glGetError_t glGetError; 106 glGetFixedv_t glGetFixedv; 107 glGetIntegerv_t glGetIntegerv; 108 glGetLightxv_t glGetLightxv; 109 glGetMaterialxv_t glGetMaterialxv; 110 glGetPointerv_t glGetPointerv; 111 glGetString_t glGetString; 112 glGetTexEnviv_t glGetTexEnviv; 113 glGetTexEnvxv_t glGetTexEnvxv; 114 glGetTexParameteriv_t glGetTexParameteriv; 115 glGetTexParameterxv_t glGetTexParameterxv; 116 glHint_t glHint; 117 glIsBuffer_t glIsBuffer; 118 glIsEnabled_t glIsEnabled; 119 glIsTexture_t glIsTexture; 120 glLightModelx_t glLightModelx; 121 glLightModelxv_t glLightModelxv; 122 glLightx_t glLightx; 123 glLightxv_t glLightxv; 124 glLineWidthx_t glLineWidthx; 125 glLoadIdentity_t glLoadIdentity; 126 glLoadMatrixx_t glLoadMatrixx; 127 glLogicOp_t glLogicOp; 128 glMaterialx_t glMaterialx; 129 glMaterialxv_t glMaterialxv; 130 glMatrixMode_t glMatrixMode; 131 glMultMatrixx_t glMultMatrixx; 132 glMultiTexCoord4x_t glMultiTexCoord4x; 133 glNormal3x_t glNormal3x; 134 glNormalPointer_t glNormalPointer; 135 glOrthox_t glOrthox; 136 glPixelStorei_t glPixelStorei; 137 glPointParameterx_t glPointParameterx; 138 glPointParameterxv_t glPointParameterxv; 139 glPointSizex_t glPointSizex; 140 glPolygonOffsetx_t glPolygonOffsetx; 141 glPopMatrix_t glPopMatrix; 142 glPushMatrix_t glPushMatrix; 143 glReadPixels_t glReadPixels; 144 glRotatex_t glRotatex; 145 glSampleCoverage_t glSampleCoverage; 146 glSampleCoveragex_t glSampleCoveragex; 147 glScalex_t glScalex; 148 glScissor_t glScissor; 149 glShadeModel_t glShadeModel; 150 glStencilFunc_t glStencilFunc; 151 glStencilMask_t glStencilMask; 152 glStencilOp_t glStencilOp; 153 glTexCoordPointer_t glTexCoordPointer; 154 glTexEnvi_t glTexEnvi; 155 glTexEnvx_t glTexEnvx; 156 glTexEnviv_t glTexEnviv; 157 glTexEnvxv_t glTexEnvxv; 158 glTexImage2D_t glTexImage2D; 159 glTexParameteri_t glTexParameteri; 160 glTexParameterx_t glTexParameterx; 161 glTexParameteriv_t glTexParameteriv; 162 glTexParameterxv_t glTexParameterxv; 163 glTexSubImage2D_t glTexSubImage2D; 164 glTranslatex_t glTranslatex; 165 glVertexPointer_t glVertexPointer; 166 glViewport_t glViewport; 167 glPointSizePointerOES_t glPointSizePointerOES; 168 glBlendEquationSeparateOES_t glBlendEquationSeparateOES; 169 glBlendFuncSeparateOES_t glBlendFuncSeparateOES; 170 glBlendEquationOES_t glBlendEquationOES; 171 glDrawTexsOES_t glDrawTexsOES; 172 glDrawTexiOES_t glDrawTexiOES; 173 glDrawTexxOES_t glDrawTexxOES; 174 glDrawTexsvOES_t glDrawTexsvOES; 175 glDrawTexivOES_t glDrawTexivOES; 176 glDrawTexxvOES_t glDrawTexxvOES; 177 glDrawTexfOES_t glDrawTexfOES; 178 glDrawTexfvOES_t glDrawTexfvOES; 179 glEGLImageTargetTexture2DOES_t glEGLImageTargetTexture2DOES; 180 glEGLImageTargetRenderbufferStorageOES_t glEGLImageTargetRenderbufferStorageOES; 181 glAlphaFuncxOES_t glAlphaFuncxOES; 182 glClearColorxOES_t glClearColorxOES; 183 glClearDepthxOES_t glClearDepthxOES; 184 glClipPlanexOES_t glClipPlanexOES; 185 glColor4xOES_t glColor4xOES; 186 glDepthRangexOES_t glDepthRangexOES; 187 glFogxOES_t glFogxOES; 188 glFogxvOES_t glFogxvOES; 189 glFrustumxOES_t glFrustumxOES; 190 glGetClipPlanexOES_t glGetClipPlanexOES; 191 glGetFixedvOES_t glGetFixedvOES; 192 glGetLightxvOES_t glGetLightxvOES; 193 glGetMaterialxvOES_t glGetMaterialxvOES; 194 glGetTexEnvxvOES_t glGetTexEnvxvOES; 195 glGetTexParameterxvOES_t glGetTexParameterxvOES; 196 glLightModelxOES_t glLightModelxOES; 197 glLightModelxvOES_t glLightModelxvOES; 198 glLightxOES_t glLightxOES; 199 glLightxvOES_t glLightxvOES; 200 glLineWidthxOES_t glLineWidthxOES; 201 glLoadMatrixxOES_t glLoadMatrixxOES; 202 glMaterialxOES_t glMaterialxOES; 203 glMaterialxvOES_t glMaterialxvOES; 204 glMultMatrixxOES_t glMultMatrixxOES; 205 glMultiTexCoord4xOES_t glMultiTexCoord4xOES; 206 glNormal3xOES_t glNormal3xOES; 207 glOrthoxOES_t glOrthoxOES; 208 glPointParameterxOES_t glPointParameterxOES; 209 glPointParameterxvOES_t glPointParameterxvOES; 210 glPointSizexOES_t glPointSizexOES; 211 glPolygonOffsetxOES_t glPolygonOffsetxOES; 212 glRotatexOES_t glRotatexOES; 213 glSampleCoveragexOES_t glSampleCoveragexOES; 214 glScalexOES_t glScalexOES; 215 glTexEnvxOES_t glTexEnvxOES; 216 glTexEnvxvOES_t glTexEnvxvOES; 217 glTexParameterxOES_t glTexParameterxOES; 218 glTexParameterxvOES_t glTexParameterxvOES; 219 glTranslatexOES_t glTranslatexOES; 220 glIsRenderbufferOES_t glIsRenderbufferOES; 221 glBindRenderbufferOES_t glBindRenderbufferOES; 222 glDeleteRenderbuffersOES_t glDeleteRenderbuffersOES; 223 glGenRenderbuffersOES_t glGenRenderbuffersOES; 224 glRenderbufferStorageOES_t glRenderbufferStorageOES; 225 glGetRenderbufferParameterivOES_t glGetRenderbufferParameterivOES; 226 glIsFramebufferOES_t glIsFramebufferOES; 227 glBindFramebufferOES_t glBindFramebufferOES; 228 glDeleteFramebuffersOES_t glDeleteFramebuffersOES; 229 glGenFramebuffersOES_t glGenFramebuffersOES; 230 glCheckFramebufferStatusOES_t glCheckFramebufferStatusOES; 231 glFramebufferRenderbufferOES_t glFramebufferRenderbufferOES; 232 glFramebufferTexture2DOES_t glFramebufferTexture2DOES; 233 glGetFramebufferAttachmentParameterivOES_t glGetFramebufferAttachmentParameterivOES; 234 glGenerateMipmapOES_t glGenerateMipmapOES; 235 glMapBufferOES_t glMapBufferOES; 236 glUnmapBufferOES_t glUnmapBufferOES; 237 glGetBufferPointervOES_t glGetBufferPointervOES; 238 glCurrentPaletteMatrixOES_t glCurrentPaletteMatrixOES; 239 glLoadPaletteFromModelViewMatrixOES_t glLoadPaletteFromModelViewMatrixOES; 240 glMatrixIndexPointerOES_t glMatrixIndexPointerOES; 241 glWeightPointerOES_t glWeightPointerOES; 242 glQueryMatrixxOES_t glQueryMatrixxOES; 243 glDepthRangefOES_t glDepthRangefOES; 244 glFrustumfOES_t glFrustumfOES; 245 glOrthofOES_t glOrthofOES; 246 glClipPlanefOES_t glClipPlanefOES; 247 glGetClipPlanefOES_t glGetClipPlanefOES; 248 glClearDepthfOES_t glClearDepthfOES; 249 glTexGenfOES_t glTexGenfOES; 250 glTexGenfvOES_t glTexGenfvOES; 251 glTexGeniOES_t glTexGeniOES; 252 glTexGenivOES_t glTexGenivOES; 253 glTexGenxOES_t glTexGenxOES; 254 glTexGenxvOES_t glTexGenxvOES; 255 glGetTexGenfvOES_t glGetTexGenfvOES; 256 glGetTexGenivOES_t glGetTexGenivOES; 257 glGetTexGenxvOES_t glGetTexGenxvOES; 258 glBindVertexArrayOES_t glBindVertexArrayOES; 259 glDeleteVertexArraysOES_t glDeleteVertexArraysOES; 260 glGenVertexArraysOES_t glGenVertexArraysOES; 261 glIsVertexArrayOES_t glIsVertexArrayOES; 262 glDiscardFramebufferEXT_t glDiscardFramebufferEXT; 263 glMultiDrawArraysEXT_t glMultiDrawArraysEXT; 264 glMultiDrawElementsEXT_t glMultiDrawElementsEXT; 265 glClipPlanefIMG_t glClipPlanefIMG; 266 glClipPlanexIMG_t glClipPlanexIMG; 267 glRenderbufferStorageMultisampleIMG_t glRenderbufferStorageMultisampleIMG; 268 glFramebufferTexture2DMultisampleIMG_t glFramebufferTexture2DMultisampleIMG; 269 glDeleteFencesNV_t glDeleteFencesNV; 270 glGenFencesNV_t glGenFencesNV; 271 glIsFenceNV_t glIsFenceNV; 272 glTestFenceNV_t glTestFenceNV; 273 glGetFenceivNV_t glGetFenceivNV; 274 glFinishFenceNV_t glFinishFenceNV; 275 glSetFenceNV_t glSetFenceNV; 276 glGetDriverControlsQCOM_t glGetDriverControlsQCOM; 277 glGetDriverControlStringQCOM_t glGetDriverControlStringQCOM; 278 glEnableDriverControlQCOM_t glEnableDriverControlQCOM; 279 glDisableDriverControlQCOM_t glDisableDriverControlQCOM; 280 glExtGetTexturesQCOM_t glExtGetTexturesQCOM; 281 glExtGetBuffersQCOM_t glExtGetBuffersQCOM; 282 glExtGetRenderbuffersQCOM_t glExtGetRenderbuffersQCOM; 283 glExtGetFramebuffersQCOM_t glExtGetFramebuffersQCOM; 284 glExtGetTexLevelParameterivQCOM_t glExtGetTexLevelParameterivQCOM; 285 glExtTexObjectStateOverrideiQCOM_t glExtTexObjectStateOverrideiQCOM; 286 glExtGetTexSubImageQCOM_t glExtGetTexSubImageQCOM; 287 glExtGetBufferPointervQCOM_t glExtGetBufferPointervQCOM; 288 glExtGetShadersQCOM_t glExtGetShadersQCOM; 289 glExtGetProgramsQCOM_t glExtGetProgramsQCOM; 290 glExtIsProgramBinaryQCOM_t glExtIsProgramBinaryQCOM; 291 glExtGetProgramBinarySourceQCOM_t glExtGetProgramBinarySourceQCOM; 292 glStartTilingQCOM_t glStartTilingQCOM; 293 glEndTilingQCOM_t glEndTilingQCOM; 294 //Accessors set_glAlphaFuncgles_dispatch295 glAlphaFunc_t set_glAlphaFunc(glAlphaFunc_t f) { glAlphaFunc_t retval = glAlphaFunc; glAlphaFunc = f; return retval;} set_glClearColorgles_dispatch296 glClearColor_t set_glClearColor(glClearColor_t f) { glClearColor_t retval = glClearColor; glClearColor = f; return retval;} set_glClearDepthfgles_dispatch297 glClearDepthf_t set_glClearDepthf(glClearDepthf_t f) { glClearDepthf_t retval = glClearDepthf; glClearDepthf = f; return retval;} set_glClipPlanefgles_dispatch298 glClipPlanef_t set_glClipPlanef(glClipPlanef_t f) { glClipPlanef_t retval = glClipPlanef; glClipPlanef = f; return retval;} set_glColor4fgles_dispatch299 glColor4f_t set_glColor4f(glColor4f_t f) { glColor4f_t retval = glColor4f; glColor4f = f; return retval;} set_glDepthRangefgles_dispatch300 glDepthRangef_t set_glDepthRangef(glDepthRangef_t f) { glDepthRangef_t retval = glDepthRangef; glDepthRangef = f; return retval;} set_glFogfgles_dispatch301 glFogf_t set_glFogf(glFogf_t f) { glFogf_t retval = glFogf; glFogf = f; return retval;} set_glFogfvgles_dispatch302 glFogfv_t set_glFogfv(glFogfv_t f) { glFogfv_t retval = glFogfv; glFogfv = f; return retval;} set_glFrustumfgles_dispatch303 glFrustumf_t set_glFrustumf(glFrustumf_t f) { glFrustumf_t retval = glFrustumf; glFrustumf = f; return retval;} set_glGetClipPlanefgles_dispatch304 glGetClipPlanef_t set_glGetClipPlanef(glGetClipPlanef_t f) { glGetClipPlanef_t retval = glGetClipPlanef; glGetClipPlanef = f; return retval;} set_glGetFloatvgles_dispatch305 glGetFloatv_t set_glGetFloatv(glGetFloatv_t f) { glGetFloatv_t retval = glGetFloatv; glGetFloatv = f; return retval;} set_glGetLightfvgles_dispatch306 glGetLightfv_t set_glGetLightfv(glGetLightfv_t f) { glGetLightfv_t retval = glGetLightfv; glGetLightfv = f; return retval;} set_glGetMaterialfvgles_dispatch307 glGetMaterialfv_t set_glGetMaterialfv(glGetMaterialfv_t f) { glGetMaterialfv_t retval = glGetMaterialfv; glGetMaterialfv = f; return retval;} set_glGetTexEnvfvgles_dispatch308 glGetTexEnvfv_t set_glGetTexEnvfv(glGetTexEnvfv_t f) { glGetTexEnvfv_t retval = glGetTexEnvfv; glGetTexEnvfv = f; return retval;} set_glGetTexParameterfvgles_dispatch309 glGetTexParameterfv_t set_glGetTexParameterfv(glGetTexParameterfv_t f) { glGetTexParameterfv_t retval = glGetTexParameterfv; glGetTexParameterfv = f; return retval;} set_glLightModelfgles_dispatch310 glLightModelf_t set_glLightModelf(glLightModelf_t f) { glLightModelf_t retval = glLightModelf; glLightModelf = f; return retval;} set_glLightModelfvgles_dispatch311 glLightModelfv_t set_glLightModelfv(glLightModelfv_t f) { glLightModelfv_t retval = glLightModelfv; glLightModelfv = f; return retval;} set_glLightfgles_dispatch312 glLightf_t set_glLightf(glLightf_t f) { glLightf_t retval = glLightf; glLightf = f; return retval;} set_glLightfvgles_dispatch313 glLightfv_t set_glLightfv(glLightfv_t f) { glLightfv_t retval = glLightfv; glLightfv = f; return retval;} set_glLineWidthgles_dispatch314 glLineWidth_t set_glLineWidth(glLineWidth_t f) { glLineWidth_t retval = glLineWidth; glLineWidth = f; return retval;} set_glLoadMatrixfgles_dispatch315 glLoadMatrixf_t set_glLoadMatrixf(glLoadMatrixf_t f) { glLoadMatrixf_t retval = glLoadMatrixf; glLoadMatrixf = f; return retval;} set_glMaterialfgles_dispatch316 glMaterialf_t set_glMaterialf(glMaterialf_t f) { glMaterialf_t retval = glMaterialf; glMaterialf = f; return retval;} set_glMaterialfvgles_dispatch317 glMaterialfv_t set_glMaterialfv(glMaterialfv_t f) { glMaterialfv_t retval = glMaterialfv; glMaterialfv = f; return retval;} set_glMultMatrixfgles_dispatch318 glMultMatrixf_t set_glMultMatrixf(glMultMatrixf_t f) { glMultMatrixf_t retval = glMultMatrixf; glMultMatrixf = f; return retval;} set_glMultiTexCoord4fgles_dispatch319 glMultiTexCoord4f_t set_glMultiTexCoord4f(glMultiTexCoord4f_t f) { glMultiTexCoord4f_t retval = glMultiTexCoord4f; glMultiTexCoord4f = f; return retval;} set_glNormal3fgles_dispatch320 glNormal3f_t set_glNormal3f(glNormal3f_t f) { glNormal3f_t retval = glNormal3f; glNormal3f = f; return retval;} set_glOrthofgles_dispatch321 glOrthof_t set_glOrthof(glOrthof_t f) { glOrthof_t retval = glOrthof; glOrthof = f; return retval;} set_glPointParameterfgles_dispatch322 glPointParameterf_t set_glPointParameterf(glPointParameterf_t f) { glPointParameterf_t retval = glPointParameterf; glPointParameterf = f; return retval;} set_glPointParameterfvgles_dispatch323 glPointParameterfv_t set_glPointParameterfv(glPointParameterfv_t f) { glPointParameterfv_t retval = glPointParameterfv; glPointParameterfv = f; return retval;} set_glPointSizegles_dispatch324 glPointSize_t set_glPointSize(glPointSize_t f) { glPointSize_t retval = glPointSize; glPointSize = f; return retval;} set_glPolygonOffsetgles_dispatch325 glPolygonOffset_t set_glPolygonOffset(glPolygonOffset_t f) { glPolygonOffset_t retval = glPolygonOffset; glPolygonOffset = f; return retval;} set_glRotatefgles_dispatch326 glRotatef_t set_glRotatef(glRotatef_t f) { glRotatef_t retval = glRotatef; glRotatef = f; return retval;} set_glScalefgles_dispatch327 glScalef_t set_glScalef(glScalef_t f) { glScalef_t retval = glScalef; glScalef = f; return retval;} set_glTexEnvfgles_dispatch328 glTexEnvf_t set_glTexEnvf(glTexEnvf_t f) { glTexEnvf_t retval = glTexEnvf; glTexEnvf = f; return retval;} set_glTexEnvfvgles_dispatch329 glTexEnvfv_t set_glTexEnvfv(glTexEnvfv_t f) { glTexEnvfv_t retval = glTexEnvfv; glTexEnvfv = f; return retval;} set_glTexParameterfgles_dispatch330 glTexParameterf_t set_glTexParameterf(glTexParameterf_t f) { glTexParameterf_t retval = glTexParameterf; glTexParameterf = f; return retval;} set_glTexParameterfvgles_dispatch331 glTexParameterfv_t set_glTexParameterfv(glTexParameterfv_t f) { glTexParameterfv_t retval = glTexParameterfv; glTexParameterfv = f; return retval;} set_glTranslatefgles_dispatch332 glTranslatef_t set_glTranslatef(glTranslatef_t f) { glTranslatef_t retval = glTranslatef; glTranslatef = f; return retval;} set_glActiveTexturegles_dispatch333 glActiveTexture_t set_glActiveTexture(glActiveTexture_t f) { glActiveTexture_t retval = glActiveTexture; glActiveTexture = f; return retval;} set_glAlphaFuncxgles_dispatch334 glAlphaFuncx_t set_glAlphaFuncx(glAlphaFuncx_t f) { glAlphaFuncx_t retval = glAlphaFuncx; glAlphaFuncx = f; return retval;} set_glBindBuffergles_dispatch335 glBindBuffer_t set_glBindBuffer(glBindBuffer_t f) { glBindBuffer_t retval = glBindBuffer; glBindBuffer = f; return retval;} set_glBindTexturegles_dispatch336 glBindTexture_t set_glBindTexture(glBindTexture_t f) { glBindTexture_t retval = glBindTexture; glBindTexture = f; return retval;} set_glBlendFuncgles_dispatch337 glBlendFunc_t set_glBlendFunc(glBlendFunc_t f) { glBlendFunc_t retval = glBlendFunc; glBlendFunc = f; return retval;} set_glBufferDatagles_dispatch338 glBufferData_t set_glBufferData(glBufferData_t f) { glBufferData_t retval = glBufferData; glBufferData = f; return retval;} set_glBufferSubDatagles_dispatch339 glBufferSubData_t set_glBufferSubData(glBufferSubData_t f) { glBufferSubData_t retval = glBufferSubData; glBufferSubData = f; return retval;} set_glCleargles_dispatch340 glClear_t set_glClear(glClear_t f) { glClear_t retval = glClear; glClear = f; return retval;} set_glClearColorxgles_dispatch341 glClearColorx_t set_glClearColorx(glClearColorx_t f) { glClearColorx_t retval = glClearColorx; glClearColorx = f; return retval;} set_glClearDepthxgles_dispatch342 glClearDepthx_t set_glClearDepthx(glClearDepthx_t f) { glClearDepthx_t retval = glClearDepthx; glClearDepthx = f; return retval;} set_glClearStencilgles_dispatch343 glClearStencil_t set_glClearStencil(glClearStencil_t f) { glClearStencil_t retval = glClearStencil; glClearStencil = f; return retval;} set_glClientActiveTexturegles_dispatch344 glClientActiveTexture_t set_glClientActiveTexture(glClientActiveTexture_t f) { glClientActiveTexture_t retval = glClientActiveTexture; glClientActiveTexture = f; return retval;} set_glClipPlanexgles_dispatch345 glClipPlanex_t set_glClipPlanex(glClipPlanex_t f) { glClipPlanex_t retval = glClipPlanex; glClipPlanex = f; return retval;} set_glColor4ubgles_dispatch346 glColor4ub_t set_glColor4ub(glColor4ub_t f) { glColor4ub_t retval = glColor4ub; glColor4ub = f; return retval;} set_glColor4xgles_dispatch347 glColor4x_t set_glColor4x(glColor4x_t f) { glColor4x_t retval = glColor4x; glColor4x = f; return retval;} set_glColorMaskgles_dispatch348 glColorMask_t set_glColorMask(glColorMask_t f) { glColorMask_t retval = glColorMask; glColorMask = f; return retval;} set_glColorPointergles_dispatch349 glColorPointer_t set_glColorPointer(glColorPointer_t f) { glColorPointer_t retval = glColorPointer; glColorPointer = f; return retval;} set_glCompressedTexImage2Dgles_dispatch350 glCompressedTexImage2D_t set_glCompressedTexImage2D(glCompressedTexImage2D_t f) { glCompressedTexImage2D_t retval = glCompressedTexImage2D; glCompressedTexImage2D = f; return retval;} set_glCompressedTexSubImage2Dgles_dispatch351 glCompressedTexSubImage2D_t set_glCompressedTexSubImage2D(glCompressedTexSubImage2D_t f) { glCompressedTexSubImage2D_t retval = glCompressedTexSubImage2D; glCompressedTexSubImage2D = f; return retval;} set_glCopyTexImage2Dgles_dispatch352 glCopyTexImage2D_t set_glCopyTexImage2D(glCopyTexImage2D_t f) { glCopyTexImage2D_t retval = glCopyTexImage2D; glCopyTexImage2D = f; return retval;} set_glCopyTexSubImage2Dgles_dispatch353 glCopyTexSubImage2D_t set_glCopyTexSubImage2D(glCopyTexSubImage2D_t f) { glCopyTexSubImage2D_t retval = glCopyTexSubImage2D; glCopyTexSubImage2D = f; return retval;} set_glCullFacegles_dispatch354 glCullFace_t set_glCullFace(glCullFace_t f) { glCullFace_t retval = glCullFace; glCullFace = f; return retval;} set_glDeleteBuffersgles_dispatch355 glDeleteBuffers_t set_glDeleteBuffers(glDeleteBuffers_t f) { glDeleteBuffers_t retval = glDeleteBuffers; glDeleteBuffers = f; return retval;} set_glDeleteTexturesgles_dispatch356 glDeleteTextures_t set_glDeleteTextures(glDeleteTextures_t f) { glDeleteTextures_t retval = glDeleteTextures; glDeleteTextures = f; return retval;} set_glDepthFuncgles_dispatch357 glDepthFunc_t set_glDepthFunc(glDepthFunc_t f) { glDepthFunc_t retval = glDepthFunc; glDepthFunc = f; return retval;} set_glDepthMaskgles_dispatch358 glDepthMask_t set_glDepthMask(glDepthMask_t f) { glDepthMask_t retval = glDepthMask; glDepthMask = f; return retval;} set_glDepthRangexgles_dispatch359 glDepthRangex_t set_glDepthRangex(glDepthRangex_t f) { glDepthRangex_t retval = glDepthRangex; glDepthRangex = f; return retval;} set_glDisablegles_dispatch360 glDisable_t set_glDisable(glDisable_t f) { glDisable_t retval = glDisable; glDisable = f; return retval;} set_glDisableClientStategles_dispatch361 glDisableClientState_t set_glDisableClientState(glDisableClientState_t f) { glDisableClientState_t retval = glDisableClientState; glDisableClientState = f; return retval;} set_glDrawArraysgles_dispatch362 glDrawArrays_t set_glDrawArrays(glDrawArrays_t f) { glDrawArrays_t retval = glDrawArrays; glDrawArrays = f; return retval;} set_glDrawElementsgles_dispatch363 glDrawElements_t set_glDrawElements(glDrawElements_t f) { glDrawElements_t retval = glDrawElements; glDrawElements = f; return retval;} set_glEnablegles_dispatch364 glEnable_t set_glEnable(glEnable_t f) { glEnable_t retval = glEnable; glEnable = f; return retval;} set_glEnableClientStategles_dispatch365 glEnableClientState_t set_glEnableClientState(glEnableClientState_t f) { glEnableClientState_t retval = glEnableClientState; glEnableClientState = f; return retval;} set_glFinishgles_dispatch366 glFinish_t set_glFinish(glFinish_t f) { glFinish_t retval = glFinish; glFinish = f; return retval;} set_glFlushgles_dispatch367 glFlush_t set_glFlush(glFlush_t f) { glFlush_t retval = glFlush; glFlush = f; return retval;} set_glFogxgles_dispatch368 glFogx_t set_glFogx(glFogx_t f) { glFogx_t retval = glFogx; glFogx = f; return retval;} set_glFogxvgles_dispatch369 glFogxv_t set_glFogxv(glFogxv_t f) { glFogxv_t retval = glFogxv; glFogxv = f; return retval;} set_glFrontFacegles_dispatch370 glFrontFace_t set_glFrontFace(glFrontFace_t f) { glFrontFace_t retval = glFrontFace; glFrontFace = f; return retval;} set_glFrustumxgles_dispatch371 glFrustumx_t set_glFrustumx(glFrustumx_t f) { glFrustumx_t retval = glFrustumx; glFrustumx = f; return retval;} set_glGetBooleanvgles_dispatch372 glGetBooleanv_t set_glGetBooleanv(glGetBooleanv_t f) { glGetBooleanv_t retval = glGetBooleanv; glGetBooleanv = f; return retval;} set_glGetBufferParameterivgles_dispatch373 glGetBufferParameteriv_t set_glGetBufferParameteriv(glGetBufferParameteriv_t f) { glGetBufferParameteriv_t retval = glGetBufferParameteriv; glGetBufferParameteriv = f; return retval;} set_glGetClipPlanexgles_dispatch374 glGetClipPlanex_t set_glGetClipPlanex(glGetClipPlanex_t f) { glGetClipPlanex_t retval = glGetClipPlanex; glGetClipPlanex = f; return retval;} set_glGenBuffersgles_dispatch375 glGenBuffers_t set_glGenBuffers(glGenBuffers_t f) { glGenBuffers_t retval = glGenBuffers; glGenBuffers = f; return retval;} set_glGenTexturesgles_dispatch376 glGenTextures_t set_glGenTextures(glGenTextures_t f) { glGenTextures_t retval = glGenTextures; glGenTextures = f; return retval;} set_glGetErrorgles_dispatch377 glGetError_t set_glGetError(glGetError_t f) { glGetError_t retval = glGetError; glGetError = f; return retval;} set_glGetFixedvgles_dispatch378 glGetFixedv_t set_glGetFixedv(glGetFixedv_t f) { glGetFixedv_t retval = glGetFixedv; glGetFixedv = f; return retval;} set_glGetIntegervgles_dispatch379 glGetIntegerv_t set_glGetIntegerv(glGetIntegerv_t f) { glGetIntegerv_t retval = glGetIntegerv; glGetIntegerv = f; return retval;} set_glGetLightxvgles_dispatch380 glGetLightxv_t set_glGetLightxv(glGetLightxv_t f) { glGetLightxv_t retval = glGetLightxv; glGetLightxv = f; return retval;} set_glGetMaterialxvgles_dispatch381 glGetMaterialxv_t set_glGetMaterialxv(glGetMaterialxv_t f) { glGetMaterialxv_t retval = glGetMaterialxv; glGetMaterialxv = f; return retval;} set_glGetPointervgles_dispatch382 glGetPointerv_t set_glGetPointerv(glGetPointerv_t f) { glGetPointerv_t retval = glGetPointerv; glGetPointerv = f; return retval;} set_glGetStringgles_dispatch383 glGetString_t set_glGetString(glGetString_t f) { glGetString_t retval = glGetString; glGetString = f; return retval;} set_glGetTexEnvivgles_dispatch384 glGetTexEnviv_t set_glGetTexEnviv(glGetTexEnviv_t f) { glGetTexEnviv_t retval = glGetTexEnviv; glGetTexEnviv = f; return retval;} set_glGetTexEnvxvgles_dispatch385 glGetTexEnvxv_t set_glGetTexEnvxv(glGetTexEnvxv_t f) { glGetTexEnvxv_t retval = glGetTexEnvxv; glGetTexEnvxv = f; return retval;} set_glGetTexParameterivgles_dispatch386 glGetTexParameteriv_t set_glGetTexParameteriv(glGetTexParameteriv_t f) { glGetTexParameteriv_t retval = glGetTexParameteriv; glGetTexParameteriv = f; return retval;} set_glGetTexParameterxvgles_dispatch387 glGetTexParameterxv_t set_glGetTexParameterxv(glGetTexParameterxv_t f) { glGetTexParameterxv_t retval = glGetTexParameterxv; glGetTexParameterxv = f; return retval;} set_glHintgles_dispatch388 glHint_t set_glHint(glHint_t f) { glHint_t retval = glHint; glHint = f; return retval;} set_glIsBuffergles_dispatch389 glIsBuffer_t set_glIsBuffer(glIsBuffer_t f) { glIsBuffer_t retval = glIsBuffer; glIsBuffer = f; return retval;} set_glIsEnabledgles_dispatch390 glIsEnabled_t set_glIsEnabled(glIsEnabled_t f) { glIsEnabled_t retval = glIsEnabled; glIsEnabled = f; return retval;} set_glIsTexturegles_dispatch391 glIsTexture_t set_glIsTexture(glIsTexture_t f) { glIsTexture_t retval = glIsTexture; glIsTexture = f; return retval;} set_glLightModelxgles_dispatch392 glLightModelx_t set_glLightModelx(glLightModelx_t f) { glLightModelx_t retval = glLightModelx; glLightModelx = f; return retval;} set_glLightModelxvgles_dispatch393 glLightModelxv_t set_glLightModelxv(glLightModelxv_t f) { glLightModelxv_t retval = glLightModelxv; glLightModelxv = f; return retval;} set_glLightxgles_dispatch394 glLightx_t set_glLightx(glLightx_t f) { glLightx_t retval = glLightx; glLightx = f; return retval;} set_glLightxvgles_dispatch395 glLightxv_t set_glLightxv(glLightxv_t f) { glLightxv_t retval = glLightxv; glLightxv = f; return retval;} set_glLineWidthxgles_dispatch396 glLineWidthx_t set_glLineWidthx(glLineWidthx_t f) { glLineWidthx_t retval = glLineWidthx; glLineWidthx = f; return retval;} set_glLoadIdentitygles_dispatch397 glLoadIdentity_t set_glLoadIdentity(glLoadIdentity_t f) { glLoadIdentity_t retval = glLoadIdentity; glLoadIdentity = f; return retval;} set_glLoadMatrixxgles_dispatch398 glLoadMatrixx_t set_glLoadMatrixx(glLoadMatrixx_t f) { glLoadMatrixx_t retval = glLoadMatrixx; glLoadMatrixx = f; return retval;} set_glLogicOpgles_dispatch399 glLogicOp_t set_glLogicOp(glLogicOp_t f) { glLogicOp_t retval = glLogicOp; glLogicOp = f; return retval;} set_glMaterialxgles_dispatch400 glMaterialx_t set_glMaterialx(glMaterialx_t f) { glMaterialx_t retval = glMaterialx; glMaterialx = f; return retval;} set_glMaterialxvgles_dispatch401 glMaterialxv_t set_glMaterialxv(glMaterialxv_t f) { glMaterialxv_t retval = glMaterialxv; glMaterialxv = f; return retval;} set_glMatrixModegles_dispatch402 glMatrixMode_t set_glMatrixMode(glMatrixMode_t f) { glMatrixMode_t retval = glMatrixMode; glMatrixMode = f; return retval;} set_glMultMatrixxgles_dispatch403 glMultMatrixx_t set_glMultMatrixx(glMultMatrixx_t f) { glMultMatrixx_t retval = glMultMatrixx; glMultMatrixx = f; return retval;} set_glMultiTexCoord4xgles_dispatch404 glMultiTexCoord4x_t set_glMultiTexCoord4x(glMultiTexCoord4x_t f) { glMultiTexCoord4x_t retval = glMultiTexCoord4x; glMultiTexCoord4x = f; return retval;} set_glNormal3xgles_dispatch405 glNormal3x_t set_glNormal3x(glNormal3x_t f) { glNormal3x_t retval = glNormal3x; glNormal3x = f; return retval;} set_glNormalPointergles_dispatch406 glNormalPointer_t set_glNormalPointer(glNormalPointer_t f) { glNormalPointer_t retval = glNormalPointer; glNormalPointer = f; return retval;} set_glOrthoxgles_dispatch407 glOrthox_t set_glOrthox(glOrthox_t f) { glOrthox_t retval = glOrthox; glOrthox = f; return retval;} set_glPixelStoreigles_dispatch408 glPixelStorei_t set_glPixelStorei(glPixelStorei_t f) { glPixelStorei_t retval = glPixelStorei; glPixelStorei = f; return retval;} set_glPointParameterxgles_dispatch409 glPointParameterx_t set_glPointParameterx(glPointParameterx_t f) { glPointParameterx_t retval = glPointParameterx; glPointParameterx = f; return retval;} set_glPointParameterxvgles_dispatch410 glPointParameterxv_t set_glPointParameterxv(glPointParameterxv_t f) { glPointParameterxv_t retval = glPointParameterxv; glPointParameterxv = f; return retval;} set_glPointSizexgles_dispatch411 glPointSizex_t set_glPointSizex(glPointSizex_t f) { glPointSizex_t retval = glPointSizex; glPointSizex = f; return retval;} set_glPolygonOffsetxgles_dispatch412 glPolygonOffsetx_t set_glPolygonOffsetx(glPolygonOffsetx_t f) { glPolygonOffsetx_t retval = glPolygonOffsetx; glPolygonOffsetx = f; return retval;} set_glPopMatrixgles_dispatch413 glPopMatrix_t set_glPopMatrix(glPopMatrix_t f) { glPopMatrix_t retval = glPopMatrix; glPopMatrix = f; return retval;} set_glPushMatrixgles_dispatch414 glPushMatrix_t set_glPushMatrix(glPushMatrix_t f) { glPushMatrix_t retval = glPushMatrix; glPushMatrix = f; return retval;} set_glReadPixelsgles_dispatch415 glReadPixels_t set_glReadPixels(glReadPixels_t f) { glReadPixels_t retval = glReadPixels; glReadPixels = f; return retval;} set_glRotatexgles_dispatch416 glRotatex_t set_glRotatex(glRotatex_t f) { glRotatex_t retval = glRotatex; glRotatex = f; return retval;} set_glSampleCoveragegles_dispatch417 glSampleCoverage_t set_glSampleCoverage(glSampleCoverage_t f) { glSampleCoverage_t retval = glSampleCoverage; glSampleCoverage = f; return retval;} set_glSampleCoveragexgles_dispatch418 glSampleCoveragex_t set_glSampleCoveragex(glSampleCoveragex_t f) { glSampleCoveragex_t retval = glSampleCoveragex; glSampleCoveragex = f; return retval;} set_glScalexgles_dispatch419 glScalex_t set_glScalex(glScalex_t f) { glScalex_t retval = glScalex; glScalex = f; return retval;} set_glScissorgles_dispatch420 glScissor_t set_glScissor(glScissor_t f) { glScissor_t retval = glScissor; glScissor = f; return retval;} set_glShadeModelgles_dispatch421 glShadeModel_t set_glShadeModel(glShadeModel_t f) { glShadeModel_t retval = glShadeModel; glShadeModel = f; return retval;} set_glStencilFuncgles_dispatch422 glStencilFunc_t set_glStencilFunc(glStencilFunc_t f) { glStencilFunc_t retval = glStencilFunc; glStencilFunc = f; return retval;} set_glStencilMaskgles_dispatch423 glStencilMask_t set_glStencilMask(glStencilMask_t f) { glStencilMask_t retval = glStencilMask; glStencilMask = f; return retval;} set_glStencilOpgles_dispatch424 glStencilOp_t set_glStencilOp(glStencilOp_t f) { glStencilOp_t retval = glStencilOp; glStencilOp = f; return retval;} set_glTexCoordPointergles_dispatch425 glTexCoordPointer_t set_glTexCoordPointer(glTexCoordPointer_t f) { glTexCoordPointer_t retval = glTexCoordPointer; glTexCoordPointer = f; return retval;} set_glTexEnvigles_dispatch426 glTexEnvi_t set_glTexEnvi(glTexEnvi_t f) { glTexEnvi_t retval = glTexEnvi; glTexEnvi = f; return retval;} set_glTexEnvxgles_dispatch427 glTexEnvx_t set_glTexEnvx(glTexEnvx_t f) { glTexEnvx_t retval = glTexEnvx; glTexEnvx = f; return retval;} set_glTexEnvivgles_dispatch428 glTexEnviv_t set_glTexEnviv(glTexEnviv_t f) { glTexEnviv_t retval = glTexEnviv; glTexEnviv = f; return retval;} set_glTexEnvxvgles_dispatch429 glTexEnvxv_t set_glTexEnvxv(glTexEnvxv_t f) { glTexEnvxv_t retval = glTexEnvxv; glTexEnvxv = f; return retval;} set_glTexImage2Dgles_dispatch430 glTexImage2D_t set_glTexImage2D(glTexImage2D_t f) { glTexImage2D_t retval = glTexImage2D; glTexImage2D = f; return retval;} set_glTexParameterigles_dispatch431 glTexParameteri_t set_glTexParameteri(glTexParameteri_t f) { glTexParameteri_t retval = glTexParameteri; glTexParameteri = f; return retval;} set_glTexParameterxgles_dispatch432 glTexParameterx_t set_glTexParameterx(glTexParameterx_t f) { glTexParameterx_t retval = glTexParameterx; glTexParameterx = f; return retval;} set_glTexParameterivgles_dispatch433 glTexParameteriv_t set_glTexParameteriv(glTexParameteriv_t f) { glTexParameteriv_t retval = glTexParameteriv; glTexParameteriv = f; return retval;} set_glTexParameterxvgles_dispatch434 glTexParameterxv_t set_glTexParameterxv(glTexParameterxv_t f) { glTexParameterxv_t retval = glTexParameterxv; glTexParameterxv = f; return retval;} set_glTexSubImage2Dgles_dispatch435 glTexSubImage2D_t set_glTexSubImage2D(glTexSubImage2D_t f) { glTexSubImage2D_t retval = glTexSubImage2D; glTexSubImage2D = f; return retval;} set_glTranslatexgles_dispatch436 glTranslatex_t set_glTranslatex(glTranslatex_t f) { glTranslatex_t retval = glTranslatex; glTranslatex = f; return retval;} set_glVertexPointergles_dispatch437 glVertexPointer_t set_glVertexPointer(glVertexPointer_t f) { glVertexPointer_t retval = glVertexPointer; glVertexPointer = f; return retval;} set_glViewportgles_dispatch438 glViewport_t set_glViewport(glViewport_t f) { glViewport_t retval = glViewport; glViewport = f; return retval;} set_glPointSizePointerOESgles_dispatch439 glPointSizePointerOES_t set_glPointSizePointerOES(glPointSizePointerOES_t f) { glPointSizePointerOES_t retval = glPointSizePointerOES; glPointSizePointerOES = f; return retval;} set_glBlendEquationSeparateOESgles_dispatch440 glBlendEquationSeparateOES_t set_glBlendEquationSeparateOES(glBlendEquationSeparateOES_t f) { glBlendEquationSeparateOES_t retval = glBlendEquationSeparateOES; glBlendEquationSeparateOES = f; return retval;} set_glBlendFuncSeparateOESgles_dispatch441 glBlendFuncSeparateOES_t set_glBlendFuncSeparateOES(glBlendFuncSeparateOES_t f) { glBlendFuncSeparateOES_t retval = glBlendFuncSeparateOES; glBlendFuncSeparateOES = f; return retval;} set_glBlendEquationOESgles_dispatch442 glBlendEquationOES_t set_glBlendEquationOES(glBlendEquationOES_t f) { glBlendEquationOES_t retval = glBlendEquationOES; glBlendEquationOES = f; return retval;} set_glDrawTexsOESgles_dispatch443 glDrawTexsOES_t set_glDrawTexsOES(glDrawTexsOES_t f) { glDrawTexsOES_t retval = glDrawTexsOES; glDrawTexsOES = f; return retval;} set_glDrawTexiOESgles_dispatch444 glDrawTexiOES_t set_glDrawTexiOES(glDrawTexiOES_t f) { glDrawTexiOES_t retval = glDrawTexiOES; glDrawTexiOES = f; return retval;} set_glDrawTexxOESgles_dispatch445 glDrawTexxOES_t set_glDrawTexxOES(glDrawTexxOES_t f) { glDrawTexxOES_t retval = glDrawTexxOES; glDrawTexxOES = f; return retval;} set_glDrawTexsvOESgles_dispatch446 glDrawTexsvOES_t set_glDrawTexsvOES(glDrawTexsvOES_t f) { glDrawTexsvOES_t retval = glDrawTexsvOES; glDrawTexsvOES = f; return retval;} set_glDrawTexivOESgles_dispatch447 glDrawTexivOES_t set_glDrawTexivOES(glDrawTexivOES_t f) { glDrawTexivOES_t retval = glDrawTexivOES; glDrawTexivOES = f; return retval;} set_glDrawTexxvOESgles_dispatch448 glDrawTexxvOES_t set_glDrawTexxvOES(glDrawTexxvOES_t f) { glDrawTexxvOES_t retval = glDrawTexxvOES; glDrawTexxvOES = f; return retval;} set_glDrawTexfOESgles_dispatch449 glDrawTexfOES_t set_glDrawTexfOES(glDrawTexfOES_t f) { glDrawTexfOES_t retval = glDrawTexfOES; glDrawTexfOES = f; return retval;} set_glDrawTexfvOESgles_dispatch450 glDrawTexfvOES_t set_glDrawTexfvOES(glDrawTexfvOES_t f) { glDrawTexfvOES_t retval = glDrawTexfvOES; glDrawTexfvOES = f; return retval;} set_glEGLImageTargetTexture2DOESgles_dispatch451 glEGLImageTargetTexture2DOES_t set_glEGLImageTargetTexture2DOES(glEGLImageTargetTexture2DOES_t f) { glEGLImageTargetTexture2DOES_t retval = glEGLImageTargetTexture2DOES; glEGLImageTargetTexture2DOES = f; return retval;} set_glEGLImageTargetRenderbufferStorageOESgles_dispatch452 glEGLImageTargetRenderbufferStorageOES_t set_glEGLImageTargetRenderbufferStorageOES(glEGLImageTargetRenderbufferStorageOES_t f) { glEGLImageTargetRenderbufferStorageOES_t retval = glEGLImageTargetRenderbufferStorageOES; glEGLImageTargetRenderbufferStorageOES = f; return retval;} set_glAlphaFuncxOESgles_dispatch453 glAlphaFuncxOES_t set_glAlphaFuncxOES(glAlphaFuncxOES_t f) { glAlphaFuncxOES_t retval = glAlphaFuncxOES; glAlphaFuncxOES = f; return retval;} set_glClearColorxOESgles_dispatch454 glClearColorxOES_t set_glClearColorxOES(glClearColorxOES_t f) { glClearColorxOES_t retval = glClearColorxOES; glClearColorxOES = f; return retval;} set_glClearDepthxOESgles_dispatch455 glClearDepthxOES_t set_glClearDepthxOES(glClearDepthxOES_t f) { glClearDepthxOES_t retval = glClearDepthxOES; glClearDepthxOES = f; return retval;} set_glClipPlanexOESgles_dispatch456 glClipPlanexOES_t set_glClipPlanexOES(glClipPlanexOES_t f) { glClipPlanexOES_t retval = glClipPlanexOES; glClipPlanexOES = f; return retval;} set_glColor4xOESgles_dispatch457 glColor4xOES_t set_glColor4xOES(glColor4xOES_t f) { glColor4xOES_t retval = glColor4xOES; glColor4xOES = f; return retval;} set_glDepthRangexOESgles_dispatch458 glDepthRangexOES_t set_glDepthRangexOES(glDepthRangexOES_t f) { glDepthRangexOES_t retval = glDepthRangexOES; glDepthRangexOES = f; return retval;} set_glFogxOESgles_dispatch459 glFogxOES_t set_glFogxOES(glFogxOES_t f) { glFogxOES_t retval = glFogxOES; glFogxOES = f; return retval;} set_glFogxvOESgles_dispatch460 glFogxvOES_t set_glFogxvOES(glFogxvOES_t f) { glFogxvOES_t retval = glFogxvOES; glFogxvOES = f; return retval;} set_glFrustumxOESgles_dispatch461 glFrustumxOES_t set_glFrustumxOES(glFrustumxOES_t f) { glFrustumxOES_t retval = glFrustumxOES; glFrustumxOES = f; return retval;} set_glGetClipPlanexOESgles_dispatch462 glGetClipPlanexOES_t set_glGetClipPlanexOES(glGetClipPlanexOES_t f) { glGetClipPlanexOES_t retval = glGetClipPlanexOES; glGetClipPlanexOES = f; return retval;} set_glGetFixedvOESgles_dispatch463 glGetFixedvOES_t set_glGetFixedvOES(glGetFixedvOES_t f) { glGetFixedvOES_t retval = glGetFixedvOES; glGetFixedvOES = f; return retval;} set_glGetLightxvOESgles_dispatch464 glGetLightxvOES_t set_glGetLightxvOES(glGetLightxvOES_t f) { glGetLightxvOES_t retval = glGetLightxvOES; glGetLightxvOES = f; return retval;} set_glGetMaterialxvOESgles_dispatch465 glGetMaterialxvOES_t set_glGetMaterialxvOES(glGetMaterialxvOES_t f) { glGetMaterialxvOES_t retval = glGetMaterialxvOES; glGetMaterialxvOES = f; return retval;} set_glGetTexEnvxvOESgles_dispatch466 glGetTexEnvxvOES_t set_glGetTexEnvxvOES(glGetTexEnvxvOES_t f) { glGetTexEnvxvOES_t retval = glGetTexEnvxvOES; glGetTexEnvxvOES = f; return retval;} set_glGetTexParameterxvOESgles_dispatch467 glGetTexParameterxvOES_t set_glGetTexParameterxvOES(glGetTexParameterxvOES_t f) { glGetTexParameterxvOES_t retval = glGetTexParameterxvOES; glGetTexParameterxvOES = f; return retval;} set_glLightModelxOESgles_dispatch468 glLightModelxOES_t set_glLightModelxOES(glLightModelxOES_t f) { glLightModelxOES_t retval = glLightModelxOES; glLightModelxOES = f; return retval;} set_glLightModelxvOESgles_dispatch469 glLightModelxvOES_t set_glLightModelxvOES(glLightModelxvOES_t f) { glLightModelxvOES_t retval = glLightModelxvOES; glLightModelxvOES = f; return retval;} set_glLightxOESgles_dispatch470 glLightxOES_t set_glLightxOES(glLightxOES_t f) { glLightxOES_t retval = glLightxOES; glLightxOES = f; return retval;} set_glLightxvOESgles_dispatch471 glLightxvOES_t set_glLightxvOES(glLightxvOES_t f) { glLightxvOES_t retval = glLightxvOES; glLightxvOES = f; return retval;} set_glLineWidthxOESgles_dispatch472 glLineWidthxOES_t set_glLineWidthxOES(glLineWidthxOES_t f) { glLineWidthxOES_t retval = glLineWidthxOES; glLineWidthxOES = f; return retval;} set_glLoadMatrixxOESgles_dispatch473 glLoadMatrixxOES_t set_glLoadMatrixxOES(glLoadMatrixxOES_t f) { glLoadMatrixxOES_t retval = glLoadMatrixxOES; glLoadMatrixxOES = f; return retval;} set_glMaterialxOESgles_dispatch474 glMaterialxOES_t set_glMaterialxOES(glMaterialxOES_t f) { glMaterialxOES_t retval = glMaterialxOES; glMaterialxOES = f; return retval;} set_glMaterialxvOESgles_dispatch475 glMaterialxvOES_t set_glMaterialxvOES(glMaterialxvOES_t f) { glMaterialxvOES_t retval = glMaterialxvOES; glMaterialxvOES = f; return retval;} set_glMultMatrixxOESgles_dispatch476 glMultMatrixxOES_t set_glMultMatrixxOES(glMultMatrixxOES_t f) { glMultMatrixxOES_t retval = glMultMatrixxOES; glMultMatrixxOES = f; return retval;} set_glMultiTexCoord4xOESgles_dispatch477 glMultiTexCoord4xOES_t set_glMultiTexCoord4xOES(glMultiTexCoord4xOES_t f) { glMultiTexCoord4xOES_t retval = glMultiTexCoord4xOES; glMultiTexCoord4xOES = f; return retval;} set_glNormal3xOESgles_dispatch478 glNormal3xOES_t set_glNormal3xOES(glNormal3xOES_t f) { glNormal3xOES_t retval = glNormal3xOES; glNormal3xOES = f; return retval;} set_glOrthoxOESgles_dispatch479 glOrthoxOES_t set_glOrthoxOES(glOrthoxOES_t f) { glOrthoxOES_t retval = glOrthoxOES; glOrthoxOES = f; return retval;} set_glPointParameterxOESgles_dispatch480 glPointParameterxOES_t set_glPointParameterxOES(glPointParameterxOES_t f) { glPointParameterxOES_t retval = glPointParameterxOES; glPointParameterxOES = f; return retval;} set_glPointParameterxvOESgles_dispatch481 glPointParameterxvOES_t set_glPointParameterxvOES(glPointParameterxvOES_t f) { glPointParameterxvOES_t retval = glPointParameterxvOES; glPointParameterxvOES = f; return retval;} set_glPointSizexOESgles_dispatch482 glPointSizexOES_t set_glPointSizexOES(glPointSizexOES_t f) { glPointSizexOES_t retval = glPointSizexOES; glPointSizexOES = f; return retval;} set_glPolygonOffsetxOESgles_dispatch483 glPolygonOffsetxOES_t set_glPolygonOffsetxOES(glPolygonOffsetxOES_t f) { glPolygonOffsetxOES_t retval = glPolygonOffsetxOES; glPolygonOffsetxOES = f; return retval;} set_glRotatexOESgles_dispatch484 glRotatexOES_t set_glRotatexOES(glRotatexOES_t f) { glRotatexOES_t retval = glRotatexOES; glRotatexOES = f; return retval;} set_glSampleCoveragexOESgles_dispatch485 glSampleCoveragexOES_t set_glSampleCoveragexOES(glSampleCoveragexOES_t f) { glSampleCoveragexOES_t retval = glSampleCoveragexOES; glSampleCoveragexOES = f; return retval;} set_glScalexOESgles_dispatch486 glScalexOES_t set_glScalexOES(glScalexOES_t f) { glScalexOES_t retval = glScalexOES; glScalexOES = f; return retval;} set_glTexEnvxOESgles_dispatch487 glTexEnvxOES_t set_glTexEnvxOES(glTexEnvxOES_t f) { glTexEnvxOES_t retval = glTexEnvxOES; glTexEnvxOES = f; return retval;} set_glTexEnvxvOESgles_dispatch488 glTexEnvxvOES_t set_glTexEnvxvOES(glTexEnvxvOES_t f) { glTexEnvxvOES_t retval = glTexEnvxvOES; glTexEnvxvOES = f; return retval;} set_glTexParameterxOESgles_dispatch489 glTexParameterxOES_t set_glTexParameterxOES(glTexParameterxOES_t f) { glTexParameterxOES_t retval = glTexParameterxOES; glTexParameterxOES = f; return retval;} set_glTexParameterxvOESgles_dispatch490 glTexParameterxvOES_t set_glTexParameterxvOES(glTexParameterxvOES_t f) { glTexParameterxvOES_t retval = glTexParameterxvOES; glTexParameterxvOES = f; return retval;} set_glTranslatexOESgles_dispatch491 glTranslatexOES_t set_glTranslatexOES(glTranslatexOES_t f) { glTranslatexOES_t retval = glTranslatexOES; glTranslatexOES = f; return retval;} set_glIsRenderbufferOESgles_dispatch492 glIsRenderbufferOES_t set_glIsRenderbufferOES(glIsRenderbufferOES_t f) { glIsRenderbufferOES_t retval = glIsRenderbufferOES; glIsRenderbufferOES = f; return retval;} set_glBindRenderbufferOESgles_dispatch493 glBindRenderbufferOES_t set_glBindRenderbufferOES(glBindRenderbufferOES_t f) { glBindRenderbufferOES_t retval = glBindRenderbufferOES; glBindRenderbufferOES = f; return retval;} set_glDeleteRenderbuffersOESgles_dispatch494 glDeleteRenderbuffersOES_t set_glDeleteRenderbuffersOES(glDeleteRenderbuffersOES_t f) { glDeleteRenderbuffersOES_t retval = glDeleteRenderbuffersOES; glDeleteRenderbuffersOES = f; return retval;} set_glGenRenderbuffersOESgles_dispatch495 glGenRenderbuffersOES_t set_glGenRenderbuffersOES(glGenRenderbuffersOES_t f) { glGenRenderbuffersOES_t retval = glGenRenderbuffersOES; glGenRenderbuffersOES = f; return retval;} set_glRenderbufferStorageOESgles_dispatch496 glRenderbufferStorageOES_t set_glRenderbufferStorageOES(glRenderbufferStorageOES_t f) { glRenderbufferStorageOES_t retval = glRenderbufferStorageOES; glRenderbufferStorageOES = f; return retval;} set_glGetRenderbufferParameterivOESgles_dispatch497 glGetRenderbufferParameterivOES_t set_glGetRenderbufferParameterivOES(glGetRenderbufferParameterivOES_t f) { glGetRenderbufferParameterivOES_t retval = glGetRenderbufferParameterivOES; glGetRenderbufferParameterivOES = f; return retval;} set_glIsFramebufferOESgles_dispatch498 glIsFramebufferOES_t set_glIsFramebufferOES(glIsFramebufferOES_t f) { glIsFramebufferOES_t retval = glIsFramebufferOES; glIsFramebufferOES = f; return retval;} set_glBindFramebufferOESgles_dispatch499 glBindFramebufferOES_t set_glBindFramebufferOES(glBindFramebufferOES_t f) { glBindFramebufferOES_t retval = glBindFramebufferOES; glBindFramebufferOES = f; return retval;} set_glDeleteFramebuffersOESgles_dispatch500 glDeleteFramebuffersOES_t set_glDeleteFramebuffersOES(glDeleteFramebuffersOES_t f) { glDeleteFramebuffersOES_t retval = glDeleteFramebuffersOES; glDeleteFramebuffersOES = f; return retval;} set_glGenFramebuffersOESgles_dispatch501 glGenFramebuffersOES_t set_glGenFramebuffersOES(glGenFramebuffersOES_t f) { glGenFramebuffersOES_t retval = glGenFramebuffersOES; glGenFramebuffersOES = f; return retval;} set_glCheckFramebufferStatusOESgles_dispatch502 glCheckFramebufferStatusOES_t set_glCheckFramebufferStatusOES(glCheckFramebufferStatusOES_t f) { glCheckFramebufferStatusOES_t retval = glCheckFramebufferStatusOES; glCheckFramebufferStatusOES = f; return retval;} set_glFramebufferRenderbufferOESgles_dispatch503 glFramebufferRenderbufferOES_t set_glFramebufferRenderbufferOES(glFramebufferRenderbufferOES_t f) { glFramebufferRenderbufferOES_t retval = glFramebufferRenderbufferOES; glFramebufferRenderbufferOES = f; return retval;} set_glFramebufferTexture2DOESgles_dispatch504 glFramebufferTexture2DOES_t set_glFramebufferTexture2DOES(glFramebufferTexture2DOES_t f) { glFramebufferTexture2DOES_t retval = glFramebufferTexture2DOES; glFramebufferTexture2DOES = f; return retval;} set_glGetFramebufferAttachmentParameterivOESgles_dispatch505 glGetFramebufferAttachmentParameterivOES_t set_glGetFramebufferAttachmentParameterivOES(glGetFramebufferAttachmentParameterivOES_t f) { glGetFramebufferAttachmentParameterivOES_t retval = glGetFramebufferAttachmentParameterivOES; glGetFramebufferAttachmentParameterivOES = f; return retval;} set_glGenerateMipmapOESgles_dispatch506 glGenerateMipmapOES_t set_glGenerateMipmapOES(glGenerateMipmapOES_t f) { glGenerateMipmapOES_t retval = glGenerateMipmapOES; glGenerateMipmapOES = f; return retval;} set_glMapBufferOESgles_dispatch507 glMapBufferOES_t set_glMapBufferOES(glMapBufferOES_t f) { glMapBufferOES_t retval = glMapBufferOES; glMapBufferOES = f; return retval;} set_glUnmapBufferOESgles_dispatch508 glUnmapBufferOES_t set_glUnmapBufferOES(glUnmapBufferOES_t f) { glUnmapBufferOES_t retval = glUnmapBufferOES; glUnmapBufferOES = f; return retval;} set_glGetBufferPointervOESgles_dispatch509 glGetBufferPointervOES_t set_glGetBufferPointervOES(glGetBufferPointervOES_t f) { glGetBufferPointervOES_t retval = glGetBufferPointervOES; glGetBufferPointervOES = f; return retval;} set_glCurrentPaletteMatrixOESgles_dispatch510 glCurrentPaletteMatrixOES_t set_glCurrentPaletteMatrixOES(glCurrentPaletteMatrixOES_t f) { glCurrentPaletteMatrixOES_t retval = glCurrentPaletteMatrixOES; glCurrentPaletteMatrixOES = f; return retval;} set_glLoadPaletteFromModelViewMatrixOESgles_dispatch511 glLoadPaletteFromModelViewMatrixOES_t set_glLoadPaletteFromModelViewMatrixOES(glLoadPaletteFromModelViewMatrixOES_t f) { glLoadPaletteFromModelViewMatrixOES_t retval = glLoadPaletteFromModelViewMatrixOES; glLoadPaletteFromModelViewMatrixOES = f; return retval;} set_glMatrixIndexPointerOESgles_dispatch512 glMatrixIndexPointerOES_t set_glMatrixIndexPointerOES(glMatrixIndexPointerOES_t f) { glMatrixIndexPointerOES_t retval = glMatrixIndexPointerOES; glMatrixIndexPointerOES = f; return retval;} set_glWeightPointerOESgles_dispatch513 glWeightPointerOES_t set_glWeightPointerOES(glWeightPointerOES_t f) { glWeightPointerOES_t retval = glWeightPointerOES; glWeightPointerOES = f; return retval;} set_glQueryMatrixxOESgles_dispatch514 glQueryMatrixxOES_t set_glQueryMatrixxOES(glQueryMatrixxOES_t f) { glQueryMatrixxOES_t retval = glQueryMatrixxOES; glQueryMatrixxOES = f; return retval;} set_glDepthRangefOESgles_dispatch515 glDepthRangefOES_t set_glDepthRangefOES(glDepthRangefOES_t f) { glDepthRangefOES_t retval = glDepthRangefOES; glDepthRangefOES = f; return retval;} set_glFrustumfOESgles_dispatch516 glFrustumfOES_t set_glFrustumfOES(glFrustumfOES_t f) { glFrustumfOES_t retval = glFrustumfOES; glFrustumfOES = f; return retval;} set_glOrthofOESgles_dispatch517 glOrthofOES_t set_glOrthofOES(glOrthofOES_t f) { glOrthofOES_t retval = glOrthofOES; glOrthofOES = f; return retval;} set_glClipPlanefOESgles_dispatch518 glClipPlanefOES_t set_glClipPlanefOES(glClipPlanefOES_t f) { glClipPlanefOES_t retval = glClipPlanefOES; glClipPlanefOES = f; return retval;} set_glGetClipPlanefOESgles_dispatch519 glGetClipPlanefOES_t set_glGetClipPlanefOES(glGetClipPlanefOES_t f) { glGetClipPlanefOES_t retval = glGetClipPlanefOES; glGetClipPlanefOES = f; return retval;} set_glClearDepthfOESgles_dispatch520 glClearDepthfOES_t set_glClearDepthfOES(glClearDepthfOES_t f) { glClearDepthfOES_t retval = glClearDepthfOES; glClearDepthfOES = f; return retval;} set_glTexGenfOESgles_dispatch521 glTexGenfOES_t set_glTexGenfOES(glTexGenfOES_t f) { glTexGenfOES_t retval = glTexGenfOES; glTexGenfOES = f; return retval;} set_glTexGenfvOESgles_dispatch522 glTexGenfvOES_t set_glTexGenfvOES(glTexGenfvOES_t f) { glTexGenfvOES_t retval = glTexGenfvOES; glTexGenfvOES = f; return retval;} set_glTexGeniOESgles_dispatch523 glTexGeniOES_t set_glTexGeniOES(glTexGeniOES_t f) { glTexGeniOES_t retval = glTexGeniOES; glTexGeniOES = f; return retval;} set_glTexGenivOESgles_dispatch524 glTexGenivOES_t set_glTexGenivOES(glTexGenivOES_t f) { glTexGenivOES_t retval = glTexGenivOES; glTexGenivOES = f; return retval;} set_glTexGenxOESgles_dispatch525 glTexGenxOES_t set_glTexGenxOES(glTexGenxOES_t f) { glTexGenxOES_t retval = glTexGenxOES; glTexGenxOES = f; return retval;} set_glTexGenxvOESgles_dispatch526 glTexGenxvOES_t set_glTexGenxvOES(glTexGenxvOES_t f) { glTexGenxvOES_t retval = glTexGenxvOES; glTexGenxvOES = f; return retval;} set_glGetTexGenfvOESgles_dispatch527 glGetTexGenfvOES_t set_glGetTexGenfvOES(glGetTexGenfvOES_t f) { glGetTexGenfvOES_t retval = glGetTexGenfvOES; glGetTexGenfvOES = f; return retval;} set_glGetTexGenivOESgles_dispatch528 glGetTexGenivOES_t set_glGetTexGenivOES(glGetTexGenivOES_t f) { glGetTexGenivOES_t retval = glGetTexGenivOES; glGetTexGenivOES = f; return retval;} set_glGetTexGenxvOESgles_dispatch529 glGetTexGenxvOES_t set_glGetTexGenxvOES(glGetTexGenxvOES_t f) { glGetTexGenxvOES_t retval = glGetTexGenxvOES; glGetTexGenxvOES = f; return retval;} set_glBindVertexArrayOESgles_dispatch530 glBindVertexArrayOES_t set_glBindVertexArrayOES(glBindVertexArrayOES_t f) { glBindVertexArrayOES_t retval = glBindVertexArrayOES; glBindVertexArrayOES = f; return retval;} set_glDeleteVertexArraysOESgles_dispatch531 glDeleteVertexArraysOES_t set_glDeleteVertexArraysOES(glDeleteVertexArraysOES_t f) { glDeleteVertexArraysOES_t retval = glDeleteVertexArraysOES; glDeleteVertexArraysOES = f; return retval;} set_glGenVertexArraysOESgles_dispatch532 glGenVertexArraysOES_t set_glGenVertexArraysOES(glGenVertexArraysOES_t f) { glGenVertexArraysOES_t retval = glGenVertexArraysOES; glGenVertexArraysOES = f; return retval;} set_glIsVertexArrayOESgles_dispatch533 glIsVertexArrayOES_t set_glIsVertexArrayOES(glIsVertexArrayOES_t f) { glIsVertexArrayOES_t retval = glIsVertexArrayOES; glIsVertexArrayOES = f; return retval;} set_glDiscardFramebufferEXTgles_dispatch534 glDiscardFramebufferEXT_t set_glDiscardFramebufferEXT(glDiscardFramebufferEXT_t f) { glDiscardFramebufferEXT_t retval = glDiscardFramebufferEXT; glDiscardFramebufferEXT = f; return retval;} set_glMultiDrawArraysEXTgles_dispatch535 glMultiDrawArraysEXT_t set_glMultiDrawArraysEXT(glMultiDrawArraysEXT_t f) { glMultiDrawArraysEXT_t retval = glMultiDrawArraysEXT; glMultiDrawArraysEXT = f; return retval;} set_glMultiDrawElementsEXTgles_dispatch536 glMultiDrawElementsEXT_t set_glMultiDrawElementsEXT(glMultiDrawElementsEXT_t f) { glMultiDrawElementsEXT_t retval = glMultiDrawElementsEXT; glMultiDrawElementsEXT = f; return retval;} set_glClipPlanefIMGgles_dispatch537 glClipPlanefIMG_t set_glClipPlanefIMG(glClipPlanefIMG_t f) { glClipPlanefIMG_t retval = glClipPlanefIMG; glClipPlanefIMG = f; return retval;} set_glClipPlanexIMGgles_dispatch538 glClipPlanexIMG_t set_glClipPlanexIMG(glClipPlanexIMG_t f) { glClipPlanexIMG_t retval = glClipPlanexIMG; glClipPlanexIMG = f; return retval;} set_glRenderbufferStorageMultisampleIMGgles_dispatch539 glRenderbufferStorageMultisampleIMG_t set_glRenderbufferStorageMultisampleIMG(glRenderbufferStorageMultisampleIMG_t f) { glRenderbufferStorageMultisampleIMG_t retval = glRenderbufferStorageMultisampleIMG; glRenderbufferStorageMultisampleIMG = f; return retval;} set_glFramebufferTexture2DMultisampleIMGgles_dispatch540 glFramebufferTexture2DMultisampleIMG_t set_glFramebufferTexture2DMultisampleIMG(glFramebufferTexture2DMultisampleIMG_t f) { glFramebufferTexture2DMultisampleIMG_t retval = glFramebufferTexture2DMultisampleIMG; glFramebufferTexture2DMultisampleIMG = f; return retval;} set_glDeleteFencesNVgles_dispatch541 glDeleteFencesNV_t set_glDeleteFencesNV(glDeleteFencesNV_t f) { glDeleteFencesNV_t retval = glDeleteFencesNV; glDeleteFencesNV = f; return retval;} set_glGenFencesNVgles_dispatch542 glGenFencesNV_t set_glGenFencesNV(glGenFencesNV_t f) { glGenFencesNV_t retval = glGenFencesNV; glGenFencesNV = f; return retval;} set_glIsFenceNVgles_dispatch543 glIsFenceNV_t set_glIsFenceNV(glIsFenceNV_t f) { glIsFenceNV_t retval = glIsFenceNV; glIsFenceNV = f; return retval;} set_glTestFenceNVgles_dispatch544