1 // Generated Code - DO NOT EDIT !! 2 // generated by 'emugen' 3 #ifndef __gles1_wrapper_context_t_h 4 #define __gles1_wrapper_context_t_h 5 6 #include "gles1_server_proc.h" 7 8 #include "gles1_types.h" 9 10 11 struct gles1_wrapper_context_t { 12 13 glAlphaFunc_wrapper_proc_t glAlphaFunc; 14 glClearColor_wrapper_proc_t glClearColor; 15 glClearDepthf_wrapper_proc_t glClearDepthf; 16 glClipPlanef_wrapper_proc_t glClipPlanef; 17 glColor4f_wrapper_proc_t glColor4f; 18 glDepthRangef_wrapper_proc_t glDepthRangef; 19 glFogf_wrapper_proc_t glFogf; 20 glFogfv_wrapper_proc_t glFogfv; 21 glFrustumf_wrapper_proc_t glFrustumf; 22 glGetClipPlanef_wrapper_proc_t glGetClipPlanef; 23 glGetFloatv_wrapper_proc_t glGetFloatv; 24 glGetLightfv_wrapper_proc_t glGetLightfv; 25 glGetMaterialfv_wrapper_proc_t glGetMaterialfv; 26 glGetTexEnvfv_wrapper_proc_t glGetTexEnvfv; 27 glGetTexParameterfv_wrapper_proc_t glGetTexParameterfv; 28 glLightModelf_wrapper_proc_t glLightModelf; 29 glLightModelfv_wrapper_proc_t glLightModelfv; 30 glLightf_wrapper_proc_t glLightf; 31 glLightfv_wrapper_proc_t glLightfv; 32 glLineWidth_wrapper_proc_t glLineWidth; 33 glLoadMatrixf_wrapper_proc_t glLoadMatrixf; 34 glMaterialf_wrapper_proc_t glMaterialf; 35 glMaterialfv_wrapper_proc_t glMaterialfv; 36 glMultMatrixf_wrapper_proc_t glMultMatrixf; 37 glMultiTexCoord4f_wrapper_proc_t glMultiTexCoord4f; 38 glNormal3f_wrapper_proc_t glNormal3f; 39 glOrthof_wrapper_proc_t glOrthof; 40 glPointParameterf_wrapper_proc_t glPointParameterf; 41 glPointParameterfv_wrapper_proc_t glPointParameterfv; 42 glPointSize_wrapper_proc_t glPointSize; 43 glPolygonOffset_wrapper_proc_t glPolygonOffset; 44 glRotatef_wrapper_proc_t glRotatef; 45 glScalef_wrapper_proc_t glScalef; 46 glTexEnvf_wrapper_proc_t glTexEnvf; 47 glTexEnvfv_wrapper_proc_t glTexEnvfv; 48 glTexParameterf_wrapper_proc_t glTexParameterf; 49 glTexParameterfv_wrapper_proc_t glTexParameterfv; 50 glTranslatef_wrapper_proc_t glTranslatef; 51 glActiveTexture_wrapper_proc_t glActiveTexture; 52 glAlphaFuncx_wrapper_proc_t glAlphaFuncx; 53 glBindBuffer_wrapper_proc_t glBindBuffer; 54 glBindTexture_wrapper_proc_t glBindTexture; 55 glBlendFunc_wrapper_proc_t glBlendFunc; 56 glBufferData_wrapper_proc_t glBufferData; 57 glBufferSubData_wrapper_proc_t glBufferSubData; 58 glClear_wrapper_proc_t glClear; 59 glClearColorx_wrapper_proc_t glClearColorx; 60 glClearDepthx_wrapper_proc_t glClearDepthx; 61 glClearStencil_wrapper_proc_t glClearStencil; 62 glClientActiveTexture_wrapper_proc_t glClientActiveTexture; 63 glColor4ub_wrapper_proc_t glColor4ub; 64 glColor4x_wrapper_proc_t glColor4x; 65 glColorMask_wrapper_proc_t glColorMask; 66 glColorPointer_wrapper_proc_t glColorPointer; 67 glCompressedTexImage2D_wrapper_proc_t glCompressedTexImage2D; 68 glCompressedTexSubImage2D_wrapper_proc_t glCompressedTexSubImage2D; 69 glCopyTexImage2D_wrapper_proc_t glCopyTexImage2D; 70 glCopyTexSubImage2D_wrapper_proc_t glCopyTexSubImage2D; 71 glCullFace_wrapper_proc_t glCullFace; 72 glDeleteBuffers_wrapper_proc_t glDeleteBuffers; 73 glDeleteTextures_wrapper_proc_t glDeleteTextures; 74 glDepthFunc_wrapper_proc_t glDepthFunc; 75 glDepthMask_wrapper_proc_t glDepthMask; 76 glDepthRangex_wrapper_proc_t glDepthRangex; 77 glDisable_wrapper_proc_t glDisable; 78 glDisableClientState_wrapper_proc_t glDisableClientState; 79 glDrawArrays_wrapper_proc_t glDrawArrays; 80 glDrawElements_wrapper_proc_t glDrawElements; 81 glEnable_wrapper_proc_t glEnable; 82 glEnableClientState_wrapper_proc_t glEnableClientState; 83 glFinish_wrapper_proc_t glFinish; 84 glFlush_wrapper_proc_t glFlush; 85 glFogx_wrapper_proc_t glFogx; 86 glFogxv_wrapper_proc_t glFogxv; 87 glFrontFace_wrapper_proc_t glFrontFace; 88 glFrustumx_wrapper_proc_t glFrustumx; 89 glGetBooleanv_wrapper_proc_t glGetBooleanv; 90 glGetBufferParameteriv_wrapper_proc_t glGetBufferParameteriv; 91 glClipPlanex_wrapper_proc_t glClipPlanex; 92 glGenBuffers_wrapper_proc_t glGenBuffers; 93 glGenTextures_wrapper_proc_t glGenTextures; 94 glGetError_wrapper_proc_t glGetError; 95 glGetFixedv_wrapper_proc_t glGetFixedv; 96 glGetIntegerv_wrapper_proc_t glGetIntegerv; 97 glGetLightxv_wrapper_proc_t glGetLightxv; 98 glGetMaterialxv_wrapper_proc_t glGetMaterialxv; 99 glGetPointerv_wrapper_proc_t glGetPointerv; 100 glGetString_wrapper_proc_t glGetString; 101 glGetTexEnviv_wrapper_proc_t glGetTexEnviv; 102 glGetTexEnvxv_wrapper_proc_t glGetTexEnvxv; 103 glGetTexParameteriv_wrapper_proc_t glGetTexParameteriv; 104 glGetTexParameterxv_wrapper_proc_t glGetTexParameterxv; 105 glHint_wrapper_proc_t glHint; 106 glIsBuffer_wrapper_proc_t glIsBuffer; 107 glIsEnabled_wrapper_proc_t glIsEnabled; 108 glIsTexture_wrapper_proc_t glIsTexture; 109 glLightModelx_wrapper_proc_t glLightModelx; 110 glLightModelxv_wrapper_proc_t glLightModelxv; 111 glLightx_wrapper_proc_t glLightx; 112 glLightxv_wrapper_proc_t glLightxv; 113 glLineWidthx_wrapper_proc_t glLineWidthx; 114 glLoadIdentity_wrapper_proc_t glLoadIdentity; 115 glLoadMatrixx_wrapper_proc_t glLoadMatrixx; 116 glLogicOp_wrapper_proc_t glLogicOp; 117 glMaterialx_wrapper_proc_t glMaterialx; 118 glMaterialxv_wrapper_proc_t glMaterialxv; 119 glMatrixMode_wrapper_proc_t glMatrixMode; 120 glMultMatrixx_wrapper_proc_t glMultMatrixx; 121 glMultiTexCoord4x_wrapper_proc_t glMultiTexCoord4x; 122 glNormal3x_wrapper_proc_t glNormal3x; 123 glNormalPointer_wrapper_proc_t glNormalPointer; 124 glOrthox_wrapper_proc_t glOrthox; 125 glPixelStorei_wrapper_proc_t glPixelStorei; 126 glPointParameterx_wrapper_proc_t glPointParameterx; 127 glPointParameterxv_wrapper_proc_t glPointParameterxv; 128 glPointSizex_wrapper_proc_t glPointSizex; 129 glPolygonOffsetx_wrapper_proc_t glPolygonOffsetx; 130 glPopMatrix_wrapper_proc_t glPopMatrix; 131 glPushMatrix_wrapper_proc_t glPushMatrix; 132 glReadPixels_wrapper_proc_t glReadPixels; 133 glRotatex_wrapper_proc_t glRotatex; 134 glSampleCoverage_wrapper_proc_t glSampleCoverage; 135 glSampleCoveragex_wrapper_proc_t glSampleCoveragex; 136 glScalex_wrapper_proc_t glScalex; 137 glScissor_wrapper_proc_t glScissor; 138 glShadeModel_wrapper_proc_t glShadeModel; 139 glStencilFunc_wrapper_proc_t glStencilFunc; 140 glStencilMask_wrapper_proc_t glStencilMask; 141 glStencilOp_wrapper_proc_t glStencilOp; 142 glTexCoordPointer_wrapper_proc_t glTexCoordPointer; 143 glTexEnvi_wrapper_proc_t glTexEnvi; 144 glTexEnvx_wrapper_proc_t glTexEnvx; 145 glTexEnviv_wrapper_proc_t glTexEnviv; 146 glTexEnvxv_wrapper_proc_t glTexEnvxv; 147 glTexImage2D_wrapper_proc_t glTexImage2D; 148 glTexParameteri_wrapper_proc_t glTexParameteri; 149 glTexParameterx_wrapper_proc_t glTexParameterx; 150 glTexParameteriv_wrapper_proc_t glTexParameteriv; 151 glTexParameterxv_wrapper_proc_t glTexParameterxv; 152 glTexSubImage2D_wrapper_proc_t glTexSubImage2D; 153 glTranslatex_wrapper_proc_t glTranslatex; 154 glVertexPointer_wrapper_proc_t glVertexPointer; 155 glViewport_wrapper_proc_t glViewport; 156 glPointSizePointerOES_wrapper_proc_t glPointSizePointerOES; 157 glVertexPointerOffset_wrapper_proc_t glVertexPointerOffset; 158 glColorPointerOffset_wrapper_proc_t glColorPointerOffset; 159 glNormalPointerOffset_wrapper_proc_t glNormalPointerOffset; 160 glPointSizePointerOffset_wrapper_proc_t glPointSizePointerOffset; 161 glTexCoordPointerOffset_wrapper_proc_t glTexCoordPointerOffset; 162 glWeightPointerOffset_wrapper_proc_t glWeightPointerOffset; 163 glMatrixIndexPointerOffset_wrapper_proc_t glMatrixIndexPointerOffset; 164 glVertexPointerData_wrapper_proc_t glVertexPointerData; 165 glColorPointerData_wrapper_proc_t glColorPointerData; 166 glNormalPointerData_wrapper_proc_t glNormalPointerData; 167 glTexCoordPointerData_wrapper_proc_t glTexCoordPointerData; 168 glPointSizePointerData_wrapper_proc_t glPointSizePointerData; 169 glWeightPointerData_wrapper_proc_t glWeightPointerData; 170 glMatrixIndexPointerData_wrapper_proc_t glMatrixIndexPointerData; 171 glDrawElementsOffset_wrapper_proc_t glDrawElementsOffset; 172 glDrawElementsData_wrapper_proc_t glDrawElementsData; 173 glGetCompressedTextureFormats_wrapper_proc_t glGetCompressedTextureFormats; 174 glFinishRoundTrip_wrapper_proc_t glFinishRoundTrip; 175 glBlendEquationSeparateOES_wrapper_proc_t glBlendEquationSeparateOES; 176 glBlendFuncSeparateOES_wrapper_proc_t glBlendFuncSeparateOES; 177 glBlendEquationOES_wrapper_proc_t glBlendEquationOES; 178 glDrawTexsOES_wrapper_proc_t glDrawTexsOES; 179 glDrawTexiOES_wrapper_proc_t glDrawTexiOES; 180 glDrawTexxOES_wrapper_proc_t glDrawTexxOES; 181 glDrawTexsvOES_wrapper_proc_t glDrawTexsvOES; 182 glDrawTexivOES_wrapper_proc_t glDrawTexivOES; 183 glDrawTexxvOES_wrapper_proc_t glDrawTexxvOES; 184 glDrawTexfOES_wrapper_proc_t glDrawTexfOES; 185 glDrawTexfvOES_wrapper_proc_t glDrawTexfvOES; 186 glEGLImageTargetTexture2DOES_wrapper_proc_t glEGLImageTargetTexture2DOES; 187 glEGLImageTargetRenderbufferStorageOES_wrapper_proc_t glEGLImageTargetRenderbufferStorageOES; 188 glAlphaFuncxOES_wrapper_proc_t glAlphaFuncxOES; 189 glClearColorxOES_wrapper_proc_t glClearColorxOES; 190 glClearDepthxOES_wrapper_proc_t glClearDepthxOES; 191 glClipPlanexOES_wrapper_proc_t glClipPlanexOES; 192 glClipPlanexIMG_wrapper_proc_t glClipPlanexIMG; 193 glColor4xOES_wrapper_proc_t glColor4xOES; 194 glDepthRangexOES_wrapper_proc_t glDepthRangexOES; 195 glFogxOES_wrapper_proc_t glFogxOES; 196 glFogxvOES_wrapper_proc_t glFogxvOES; 197 glFrustumxOES_wrapper_proc_t glFrustumxOES; 198 glGetClipPlanexOES_wrapper_proc_t glGetClipPlanexOES; 199 glGetClipPlanex_wrapper_proc_t glGetClipPlanex; 200 glGetFixedvOES_wrapper_proc_t glGetFixedvOES; 201 glGetLightxvOES_wrapper_proc_t glGetLightxvOES; 202 glGetMaterialxvOES_wrapper_proc_t glGetMaterialxvOES; 203 glGetTexEnvxvOES_wrapper_proc_t glGetTexEnvxvOES; 204 glGetTexParameterxvOES_wrapper_proc_t glGetTexParameterxvOES; 205 glLightModelxOES_wrapper_proc_t glLightModelxOES; 206 glLightModelxvOES_wrapper_proc_t glLightModelxvOES; 207 glLightxOES_wrapper_proc_t glLightxOES; 208 glLightxvOES_wrapper_proc_t glLightxvOES; 209 glLineWidthxOES_wrapper_proc_t glLineWidthxOES; 210 glLoadMatrixxOES_wrapper_proc_t glLoadMatrixxOES; 211 glMaterialxOES_wrapper_proc_t glMaterialxOES; 212 glMaterialxvOES_wrapper_proc_t glMaterialxvOES; 213 glMultMatrixxOES_wrapper_proc_t glMultMatrixxOES; 214 glMultiTexCoord4xOES_wrapper_proc_t glMultiTexCoord4xOES; 215 glNormal3xOES_wrapper_proc_t glNormal3xOES; 216 glOrthoxOES_wrapper_proc_t glOrthoxOES; 217 glPointParameterxOES_wrapper_proc_t glPointParameterxOES; 218 glPointParameterxvOES_wrapper_proc_t glPointParameterxvOES; 219 glPointSizexOES_wrapper_proc_t glPointSizexOES; 220 glPolygonOffsetxOES_wrapper_proc_t glPolygonOffsetxOES; 221 glRotatexOES_wrapper_proc_t glRotatexOES; 222 glSampleCoveragexOES_wrapper_proc_t glSampleCoveragexOES; 223 glScalexOES_wrapper_proc_t glScalexOES; 224 glTexEnvxOES_wrapper_proc_t glTexEnvxOES; 225 glTexEnvxvOES_wrapper_proc_t glTexEnvxvOES; 226 glTexParameterxOES_wrapper_proc_t glTexParameterxOES; 227 glTexParameterxvOES_wrapper_proc_t glTexParameterxvOES; 228 glTranslatexOES_wrapper_proc_t glTranslatexOES; 229 glIsRenderbufferOES_wrapper_proc_t glIsRenderbufferOES; 230 glBindRenderbufferOES_wrapper_proc_t glBindRenderbufferOES; 231 glDeleteRenderbuffersOES_wrapper_proc_t glDeleteRenderbuffersOES; 232 glGenRenderbuffersOES_wrapper_proc_t glGenRenderbuffersOES; 233 glRenderbufferStorageOES_wrapper_proc_t glRenderbufferStorageOES; 234 glGetRenderbufferParameterivOES_wrapper_proc_t glGetRenderbufferParameterivOES; 235 glIsFramebufferOES_wrapper_proc_t glIsFramebufferOES; 236 glBindFramebufferOES_wrapper_proc_t glBindFramebufferOES; 237 glDeleteFramebuffersOES_wrapper_proc_t glDeleteFramebuffersOES; 238 glGenFramebuffersOES_wrapper_proc_t glGenFramebuffersOES; 239 glCheckFramebufferStatusOES_wrapper_proc_t glCheckFramebufferStatusOES; 240 glFramebufferRenderbufferOES_wrapper_proc_t glFramebufferRenderbufferOES; 241 glFramebufferTexture2DOES_wrapper_proc_t glFramebufferTexture2DOES; 242 glGetFramebufferAttachmentParameterivOES_wrapper_proc_t glGetFramebufferAttachmentParameterivOES; 243 glGenerateMipmapOES_wrapper_proc_t glGenerateMipmapOES; 244 glMapBufferOES_wrapper_proc_t glMapBufferOES; 245 glUnmapBufferOES_wrapper_proc_t glUnmapBufferOES; 246 glGetBufferPointervOES_wrapper_proc_t glGetBufferPointervOES; 247 glCurrentPaletteMatrixOES_wrapper_proc_t glCurrentPaletteMatrixOES; 248 glLoadPaletteFromModelViewMatrixOES_wrapper_proc_t glLoadPaletteFromModelViewMatrixOES; 249 glMatrixIndexPointerOES_wrapper_proc_t glMatrixIndexPointerOES; 250 glWeightPointerOES_wrapper_proc_t glWeightPointerOES; 251 glQueryMatrixxOES_wrapper_proc_t glQueryMatrixxOES; 252 glDepthRangefOES_wrapper_proc_t glDepthRangefOES; 253 glFrustumfOES_wrapper_proc_t glFrustumfOES; 254 glOrthofOES_wrapper_proc_t glOrthofOES; 255 glClipPlanefOES_wrapper_proc_t glClipPlanefOES; 256 glClipPlanefIMG_wrapper_proc_t glClipPlanefIMG; 257 glGetClipPlanefOES_wrapper_proc_t glGetClipPlanefOES; 258 glClearDepthfOES_wrapper_proc_t glClearDepthfOES; 259 glTexGenfOES_wrapper_proc_t glTexGenfOES; 260 glTexGenfvOES_wrapper_proc_t glTexGenfvOES; 261 glTexGeniOES_wrapper_proc_t glTexGeniOES; 262 glTexGenivOES_wrapper_proc_t glTexGenivOES; 263 glTexGenxOES_wrapper_proc_t glTexGenxOES; 264 glTexGenxvOES_wrapper_proc_t glTexGenxvOES; 265 glGetTexGenfvOES_wrapper_proc_t glGetTexGenfvOES; 266 glGetTexGenivOES_wrapper_proc_t glGetTexGenivOES; 267 glGetTexGenxvOES_wrapper_proc_t glGetTexGenxvOES; 268 glBindVertexArrayOES_wrapper_proc_t glBindVertexArrayOES; 269 glDeleteVertexArraysOES_wrapper_proc_t glDeleteVertexArraysOES; 270 glGenVertexArraysOES_wrapper_proc_t glGenVertexArraysOES; 271 glIsVertexArrayOES_wrapper_proc_t glIsVertexArrayOES; 272 glDiscardFramebufferEXT_wrapper_proc_t glDiscardFramebufferEXT; 273 glMultiDrawArraysEXT_wrapper_proc_t glMultiDrawArraysEXT; 274 glMultiDrawElementsEXT_wrapper_proc_t glMultiDrawElementsEXT; 275 glMultiDrawArraysSUN_wrapper_proc_t glMultiDrawArraysSUN; 276 glMultiDrawElementsSUN_wrapper_proc_t glMultiDrawElementsSUN; 277 glRenderbufferStorageMultisampleIMG_wrapper_proc_t glRenderbufferStorageMultisampleIMG; 278 glFramebufferTexture2DMultisampleIMG_wrapper_proc_t glFramebufferTexture2DMultisampleIMG; 279 glDeleteFencesNV_wrapper_proc_t glDeleteFencesNV; 280 glGenFencesNV_wrapper_proc_t glGenFencesNV; 281 glIsFenceNV_wrapper_proc_t glIsFenceNV; 282 glTestFenceNV_wrapper_proc_t glTestFenceNV; 283 glGetFenceivNV_wrapper_proc_t glGetFenceivNV; 284 glFinishFenceNV_wrapper_proc_t glFinishFenceNV; 285 glSetFenceNV_wrapper_proc_t glSetFenceNV; 286 glGetDriverControlsQCOM_wrapper_proc_t glGetDriverControlsQCOM; 287 glGetDriverControlStringQCOM_wrapper_proc_t glGetDriverControlStringQCOM; 288 glEnableDriverControlQCOM_wrapper_proc_t glEnableDriverControlQCOM; 289 glDisableDriverControlQCOM_wrapper_proc_t glDisableDriverControlQCOM; 290 glExtGetTexturesQCOM_wrapper_proc_t glExtGetTexturesQCOM; 291 glExtGetBuffersQCOM_wrapper_proc_t glExtGetBuffersQCOM; 292 glExtGetRenderbuffersQCOM_wrapper_proc_t glExtGetRenderbuffersQCOM; 293 glExtGetFramebuffersQCOM_wrapper_proc_t glExtGetFramebuffersQCOM; 294 glExtGetTexLevelParameterivQCOM_wrapper_proc_t glExtGetTexLevelParameterivQCOM; 295 glExtTexObjectStateOverrideiQCOM_wrapper_proc_t glExtTexObjectStateOverrideiQCOM; 296 glExtGetTexSubImageQCOM_wrapper_proc_t glExtGetTexSubImageQCOM; 297 glExtGetBufferPointervQCOM_wrapper_proc_t glExtGetBufferPointervQCOM; 298 glExtGetShadersQCOM_wrapper_proc_t glExtGetShadersQCOM; 299 glExtGetProgramsQCOM_wrapper_proc_t glExtGetProgramsQCOM; 300 glExtIsProgramBinaryQCOM_wrapper_proc_t glExtIsProgramBinaryQCOM; 301 glExtGetProgramBinarySourceQCOM_wrapper_proc_t glExtGetProgramBinarySourceQCOM; 302 glStartTilingQCOM_wrapper_proc_t glStartTilingQCOM; 303 glEndTilingQCOM_wrapper_proc_t glEndTilingQCOM; ~gles1_wrapper_context_tgles1_wrapper_context_t304 virtual ~gles1_wrapper_context_t() {} 305 306 typedef gles1_wrapper_context_t *CONTEXT_ACCESSOR_TYPE(void); 307 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f); 308 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); 309 }; 310 311 #endif 312