diff options
Diffstat (limited to 'xorg-server/glx')
41 files changed, 39060 insertions, 45997 deletions
diff --git a/xorg-server/glx/dispatch.h b/xorg-server/glx/dispatch.h index 720865304..ae665b763 100644 --- a/xorg-server/glx/dispatch.h +++ b/xorg-server/glx/dispatch.h @@ -1,19816 +1,13720 @@ -/* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */ - -/* - * (C) Copyright IBM Corporation 2005 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#if !defined( _DISPATCH_H_ ) -#define _DISPATCH_H_ - -/** - * \file main/dispatch.h - * Macros for handling GL dispatch tables. - * - * For each known GL function, there are 3 macros in this file. The first - * macro is named CALL_FuncName and is used to call that GL function using - * the specified dispatch table. The other 2 macros, called GET_FuncName - * can SET_FuncName, are used to get and set the dispatch pointer for the - * named function in the specified dispatch table. - */ - -/* GLXEXT is defined when building the GLX extension in the xserver. - */ -#if !defined(GLXEXT) -#include "main/mfeatures.h" -#endif - -#define CALL_by_offset(disp, cast, offset, parameters) \ - (*(cast (GET_by_offset(disp, offset)))) parameters -#define GET_by_offset(disp, offset) \ - (offset >= 0) ? (((_glapi_proc *)(disp))[offset]) : NULL -#define SET_by_offset(disp, offset, fn) \ - do { \ - if ( (offset) < 0 ) { \ - /* fprintf( stderr, "[%s:%u] SET_by_offset(%p, %d, %s)!\n", */ \ - /* __func__, __LINE__, disp, offset, # fn); */ \ - /* abort(); */ \ - } \ - else { \ - ( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \ - } \ - } while(0) - -/* total number of offsets below */ -#define _gloffset_COUNT 973 - -#define _gloffset_NewList 0 -#define _gloffset_EndList 1 -#define _gloffset_CallList 2 -#define _gloffset_CallLists 3 -#define _gloffset_DeleteLists 4 -#define _gloffset_GenLists 5 -#define _gloffset_ListBase 6 -#define _gloffset_Begin 7 -#define _gloffset_Bitmap 8 -#define _gloffset_Color3b 9 -#define _gloffset_Color3bv 10 -#define _gloffset_Color3d 11 -#define _gloffset_Color3dv 12 -#define _gloffset_Color3f 13 -#define _gloffset_Color3fv 14 -#define _gloffset_Color3i 15 -#define _gloffset_Color3iv 16 -#define _gloffset_Color3s 17 -#define _gloffset_Color3sv 18 -#define _gloffset_Color3ub 19 -#define _gloffset_Color3ubv 20 -#define _gloffset_Color3ui 21 -#define _gloffset_Color3uiv 22 -#define _gloffset_Color3us 23 -#define _gloffset_Color3usv 24 -#define _gloffset_Color4b 25 -#define _gloffset_Color4bv 26 -#define _gloffset_Color4d 27 -#define _gloffset_Color4dv 28 -#define _gloffset_Color4f 29 -#define _gloffset_Color4fv 30 -#define _gloffset_Color4i 31 -#define _gloffset_Color4iv 32 -#define _gloffset_Color4s 33 -#define _gloffset_Color4sv 34 -#define _gloffset_Color4ub 35 -#define _gloffset_Color4ubv 36 -#define _gloffset_Color4ui 37 -#define _gloffset_Color4uiv 38 -#define _gloffset_Color4us 39 -#define _gloffset_Color4usv 40 -#define _gloffset_EdgeFlag 41 -#define _gloffset_EdgeFlagv 42 -#define _gloffset_End 43 -#define _gloffset_Indexd 44 -#define _gloffset_Indexdv 45 -#define _gloffset_Indexf 46 -#define _gloffset_Indexfv 47 -#define _gloffset_Indexi 48 -#define _gloffset_Indexiv 49 -#define _gloffset_Indexs 50 -#define _gloffset_Indexsv 51 -#define _gloffset_Normal3b 52 -#define _gloffset_Normal3bv 53 -#define _gloffset_Normal3d 54 -#define _gloffset_Normal3dv 55 -#define _gloffset_Normal3f 56 -#define _gloffset_Normal3fv 57 -#define _gloffset_Normal3i 58 -#define _gloffset_Normal3iv 59 -#define _gloffset_Normal3s 60 -#define _gloffset_Normal3sv 61 -#define _gloffset_RasterPos2d 62 -#define _gloffset_RasterPos2dv 63 -#define _gloffset_RasterPos2f 64 -#define _gloffset_RasterPos2fv 65 -#define _gloffset_RasterPos2i 66 -#define _gloffset_RasterPos2iv 67 -#define _gloffset_RasterPos2s 68 -#define _gloffset_RasterPos2sv 69 -#define _gloffset_RasterPos3d 70 -#define _gloffset_RasterPos3dv 71 -#define _gloffset_RasterPos3f 72 -#define _gloffset_RasterPos3fv 73 -#define _gloffset_RasterPos3i 74 -#define _gloffset_RasterPos3iv 75 -#define _gloffset_RasterPos3s 76 -#define _gloffset_RasterPos3sv 77 -#define _gloffset_RasterPos4d 78 -#define _gloffset_RasterPos4dv 79 -#define _gloffset_RasterPos4f 80 -#define _gloffset_RasterPos4fv 81 -#define _gloffset_RasterPos4i 82 -#define _gloffset_RasterPos4iv 83 -#define _gloffset_RasterPos4s 84 -#define _gloffset_RasterPos4sv 85 -#define _gloffset_Rectd 86 -#define _gloffset_Rectdv 87 -#define _gloffset_Rectf 88 -#define _gloffset_Rectfv 89 -#define _gloffset_Recti 90 -#define _gloffset_Rectiv 91 -#define _gloffset_Rects 92 -#define _gloffset_Rectsv 93 -#define _gloffset_TexCoord1d 94 -#define _gloffset_TexCoord1dv 95 -#define _gloffset_TexCoord1f 96 -#define _gloffset_TexCoord1fv 97 -#define _gloffset_TexCoord1i 98 -#define _gloffset_TexCoord1iv 99 -#define _gloffset_TexCoord1s 100 -#define _gloffset_TexCoord1sv 101 -#define _gloffset_TexCoord2d 102 -#define _gloffset_TexCoord2dv 103 -#define _gloffset_TexCoord2f 104 -#define _gloffset_TexCoord2fv 105 -#define _gloffset_TexCoord2i 106 -#define _gloffset_TexCoord2iv 107 -#define _gloffset_TexCoord2s 108 -#define _gloffset_TexCoord2sv 109 -#define _gloffset_TexCoord3d 110 -#define _gloffset_TexCoord3dv 111 -#define _gloffset_TexCoord3f 112 -#define _gloffset_TexCoord3fv 113 -#define _gloffset_TexCoord3i 114 -#define _gloffset_TexCoord3iv 115 -#define _gloffset_TexCoord3s 116 -#define _gloffset_TexCoord3sv 117 -#define _gloffset_TexCoord4d 118 -#define _gloffset_TexCoord4dv 119 -#define _gloffset_TexCoord4f 120 -#define _gloffset_TexCoord4fv 121 -#define _gloffset_TexCoord4i 122 -#define _gloffset_TexCoord4iv 123 -#define _gloffset_TexCoord4s 124 -#define _gloffset_TexCoord4sv 125 -#define _gloffset_Vertex2d 126 -#define _gloffset_Vertex2dv 127 -#define _gloffset_Vertex2f 128 -#define _gloffset_Vertex2fv 129 -#define _gloffset_Vertex2i 130 -#define _gloffset_Vertex2iv 131 -#define _gloffset_Vertex2s 132 -#define _gloffset_Vertex2sv 133 -#define _gloffset_Vertex3d 134 -#define _gloffset_Vertex3dv 135 -#define _gloffset_Vertex3f 136 -#define _gloffset_Vertex3fv 137 -#define _gloffset_Vertex3i 138 -#define _gloffset_Vertex3iv 139 -#define _gloffset_Vertex3s 140 -#define _gloffset_Vertex3sv 141 -#define _gloffset_Vertex4d 142 -#define _gloffset_Vertex4dv 143 -#define _gloffset_Vertex4f 144 -#define _gloffset_Vertex4fv 145 -#define _gloffset_Vertex4i 146 -#define _gloffset_Vertex4iv 147 -#define _gloffset_Vertex4s 148 -#define _gloffset_Vertex4sv 149 -#define _gloffset_ClipPlane 150 -#define _gloffset_ColorMaterial 151 -#define _gloffset_CullFace 152 -#define _gloffset_Fogf 153 -#define _gloffset_Fogfv 154 -#define _gloffset_Fogi 155 -#define _gloffset_Fogiv 156 -#define _gloffset_FrontFace 157 -#define _gloffset_Hint 158 -#define _gloffset_Lightf 159 -#define _gloffset_Lightfv 160 -#define _gloffset_Lighti 161 -#define _gloffset_Lightiv 162 -#define _gloffset_LightModelf 163 -#define _gloffset_LightModelfv 164 -#define _gloffset_LightModeli 165 -#define _gloffset_LightModeliv 166 -#define _gloffset_LineStipple 167 -#define _gloffset_LineWidth 168 -#define _gloffset_Materialf 169 -#define _gloffset_Materialfv 170 -#define _gloffset_Materiali 171 -#define _gloffset_Materialiv 172 -#define _gloffset_PointSize 173 -#define _gloffset_PolygonMode 174 -#define _gloffset_PolygonStipple 175 -#define _gloffset_Scissor 176 -#define _gloffset_ShadeModel 177 -#define _gloffset_TexParameterf 178 -#define _gloffset_TexParameterfv 179 -#define _gloffset_TexParameteri 180 -#define _gloffset_TexParameteriv 181 -#define _gloffset_TexImage1D 182 -#define _gloffset_TexImage2D 183 -#define _gloffset_TexEnvf 184 -#define _gloffset_TexEnvfv 185 -#define _gloffset_TexEnvi 186 -#define _gloffset_TexEnviv 187 -#define _gloffset_TexGend 188 -#define _gloffset_TexGendv 189 -#define _gloffset_TexGenf 190 -#define _gloffset_TexGenfv 191 -#define _gloffset_TexGeni 192 -#define _gloffset_TexGeniv 193 -#define _gloffset_FeedbackBuffer 194 -#define _gloffset_SelectBuffer 195 -#define _gloffset_RenderMode 196 -#define _gloffset_InitNames 197 -#define _gloffset_LoadName 198 -#define _gloffset_PassThrough 199 -#define _gloffset_PopName 200 -#define _gloffset_PushName 201 -#define _gloffset_DrawBuffer 202 -#define _gloffset_Clear 203 -#define _gloffset_ClearAccum 204 -#define _gloffset_ClearIndex 205 -#define _gloffset_ClearColor 206 -#define _gloffset_ClearStencil 207 -#define _gloffset_ClearDepth 208 -#define _gloffset_StencilMask 209 -#define _gloffset_ColorMask 210 -#define _gloffset_DepthMask 211 -#define _gloffset_IndexMask 212 -#define _gloffset_Accum 213 -#define _gloffset_Disable 214 -#define _gloffset_Enable 215 -#define _gloffset_Finish 216 -#define _gloffset_Flush 217 -#define _gloffset_PopAttrib 218 -#define _gloffset_PushAttrib 219 -#define _gloffset_Map1d 220 -#define _gloffset_Map1f 221 -#define _gloffset_Map2d 222 -#define _gloffset_Map2f 223 -#define _gloffset_MapGrid1d 224 -#define _gloffset_MapGrid1f 225 -#define _gloffset_MapGrid2d 226 -#define _gloffset_MapGrid2f 227 -#define _gloffset_EvalCoord1d 228 -#define _gloffset_EvalCoord1dv 229 -#define _gloffset_EvalCoord1f 230 -#define _gloffset_EvalCoord1fv 231 -#define _gloffset_EvalCoord2d 232 -#define _gloffset_EvalCoord2dv 233 -#define _gloffset_EvalCoord2f 234 -#define _gloffset_EvalCoord2fv 235 -#define _gloffset_EvalMesh1 236 -#define _gloffset_EvalPoint1 237 -#define _gloffset_EvalMesh2 238 -#define _gloffset_EvalPoint2 239 -#define _gloffset_AlphaFunc 240 -#define _gloffset_BlendFunc 241 -#define _gloffset_LogicOp 242 -#define _gloffset_StencilFunc 243 -#define _gloffset_StencilOp 244 -#define _gloffset_DepthFunc 245 -#define _gloffset_PixelZoom 246 -#define _gloffset_PixelTransferf 247 -#define _gloffset_PixelTransferi 248 -#define _gloffset_PixelStoref 249 -#define _gloffset_PixelStorei 250 -#define _gloffset_PixelMapfv 251 -#define _gloffset_PixelMapuiv 252 -#define _gloffset_PixelMapusv 253 -#define _gloffset_ReadBuffer 254 -#define _gloffset_CopyPixels 255 -#define _gloffset_ReadPixels 256 -#define _gloffset_DrawPixels 257 -#define _gloffset_GetBooleanv 258 -#define _gloffset_GetClipPlane 259 -#define _gloffset_GetDoublev 260 -#define _gloffset_GetError 261 -#define _gloffset_GetFloatv 262 -#define _gloffset_GetIntegerv 263 -#define _gloffset_GetLightfv 264 -#define _gloffset_GetLightiv 265 -#define _gloffset_GetMapdv 266 -#define _gloffset_GetMapfv 267 -#define _gloffset_GetMapiv 268 -#define _gloffset_GetMaterialfv 269 -#define _gloffset_GetMaterialiv 270 -#define _gloffset_GetPixelMapfv 271 -#define _gloffset_GetPixelMapuiv 272 -#define _gloffset_GetPixelMapusv 273 -#define _gloffset_GetPolygonStipple 274 -#define _gloffset_GetString 275 -#define _gloffset_GetTexEnvfv 276 -#define _gloffset_GetTexEnviv 277 -#define _gloffset_GetTexGendv 278 -#define _gloffset_GetTexGenfv 279 -#define _gloffset_GetTexGeniv 280 -#define _gloffset_GetTexImage 281 -#define _gloffset_GetTexParameterfv 282 -#define _gloffset_GetTexParameteriv 283 -#define _gloffset_GetTexLevelParameterfv 284 -#define _gloffset_GetTexLevelParameteriv 285 -#define _gloffset_IsEnabled 286 -#define _gloffset_IsList 287 -#define _gloffset_DepthRange 288 -#define _gloffset_Frustum 289 -#define _gloffset_LoadIdentity 290 -#define _gloffset_LoadMatrixf 291 -#define _gloffset_LoadMatrixd 292 -#define _gloffset_MatrixMode 293 -#define _gloffset_MultMatrixf 294 -#define _gloffset_MultMatrixd 295 -#define _gloffset_Ortho 296 -#define _gloffset_PopMatrix 297 -#define _gloffset_PushMatrix 298 -#define _gloffset_Rotated 299 -#define _gloffset_Rotatef 300 -#define _gloffset_Scaled 301 -#define _gloffset_Scalef 302 -#define _gloffset_Translated 303 -#define _gloffset_Translatef 304 -#define _gloffset_Viewport 305 -#define _gloffset_ArrayElement 306 -#define _gloffset_BindTexture 307 -#define _gloffset_ColorPointer 308 -#define _gloffset_DisableClientState 309 -#define _gloffset_DrawArrays 310 -#define _gloffset_DrawElements 311 -#define _gloffset_EdgeFlagPointer 312 -#define _gloffset_EnableClientState 313 -#define _gloffset_IndexPointer 314 -#define _gloffset_Indexub 315 -#define _gloffset_Indexubv 316 -#define _gloffset_InterleavedArrays 317 -#define _gloffset_NormalPointer 318 -#define _gloffset_PolygonOffset 319 -#define _gloffset_TexCoordPointer 320 -#define _gloffset_VertexPointer 321 -#define _gloffset_AreTexturesResident 322 -#define _gloffset_CopyTexImage1D 323 -#define _gloffset_CopyTexImage2D 324 -#define _gloffset_CopyTexSubImage1D 325 -#define _gloffset_CopyTexSubImage2D 326 -#define _gloffset_DeleteTextures 327 -#define _gloffset_GenTextures 328 -#define _gloffset_GetPointerv 329 -#define _gloffset_IsTexture 330 -#define _gloffset_PrioritizeTextures 331 -#define _gloffset_TexSubImage1D 332 -#define _gloffset_TexSubImage2D 333 -#define _gloffset_PopClientAttrib 334 -#define _gloffset_PushClientAttrib 335 -#define _gloffset_BlendColor 336 -#define _gloffset_BlendEquation 337 -#define _gloffset_DrawRangeElements 338 -#define _gloffset_ColorTable 339 -#define _gloffset_ColorTableParameterfv 340 -#define _gloffset_ColorTableParameteriv 341 -#define _gloffset_CopyColorTable 342 -#define _gloffset_GetColorTable 343 -#define _gloffset_GetColorTableParameterfv 344 -#define _gloffset_GetColorTableParameteriv 345 -#define _gloffset_ColorSubTable 346 -#define _gloffset_CopyColorSubTable 347 -#define _gloffset_ConvolutionFilter1D 348 -#define _gloffset_ConvolutionFilter2D 349 -#define _gloffset_ConvolutionParameterf 350 -#define _gloffset_ConvolutionParameterfv 351 -#define _gloffset_ConvolutionParameteri 352 -#define _gloffset_ConvolutionParameteriv 353 -#define _gloffset_CopyConvolutionFilter1D 354 -#define _gloffset_CopyConvolutionFilter2D 355 -#define _gloffset_GetConvolutionFilter 356 -#define _gloffset_GetConvolutionParameterfv 357 -#define _gloffset_GetConvolutionParameteriv 358 -#define _gloffset_GetSeparableFilter 359 -#define _gloffset_SeparableFilter2D 360 -#define _gloffset_GetHistogram 361 -#define _gloffset_GetHistogramParameterfv 362 -#define _gloffset_GetHistogramParameteriv 363 -#define _gloffset_GetMinmax 364 -#define _gloffset_GetMinmaxParameterfv 365 -#define _gloffset_GetMinmaxParameteriv 366 -#define _gloffset_Histogram 367 -#define _gloffset_Minmax 368 -#define _gloffset_ResetHistogram 369 -#define _gloffset_ResetMinmax 370 -#define _gloffset_TexImage3D 371 -#define _gloffset_TexSubImage3D 372 -#define _gloffset_CopyTexSubImage3D 373 -#define _gloffset_ActiveTextureARB 374 -#define _gloffset_ClientActiveTextureARB 375 -#define _gloffset_MultiTexCoord1dARB 376 -#define _gloffset_MultiTexCoord1dvARB 377 -#define _gloffset_MultiTexCoord1fARB 378 -#define _gloffset_MultiTexCoord1fvARB 379 -#define _gloffset_MultiTexCoord1iARB 380 -#define _gloffset_MultiTexCoord1ivARB 381 -#define _gloffset_MultiTexCoord1sARB 382 -#define _gloffset_MultiTexCoord1svARB 383 -#define _gloffset_MultiTexCoord2dARB 384 -#define _gloffset_MultiTexCoord2dvARB 385 -#define _gloffset_MultiTexCoord2fARB 386 -#define _gloffset_MultiTexCoord2fvARB 387 -#define _gloffset_MultiTexCoord2iARB 388 -#define _gloffset_MultiTexCoord2ivARB 389 -#define _gloffset_MultiTexCoord2sARB 390 -#define _gloffset_MultiTexCoord2svARB 391 -#define _gloffset_MultiTexCoord3dARB 392 -#define _gloffset_MultiTexCoord3dvARB 393 -#define _gloffset_MultiTexCoord3fARB 394 -#define _gloffset_MultiTexCoord3fvARB 395 -#define _gloffset_MultiTexCoord3iARB 396 -#define _gloffset_MultiTexCoord3ivARB 397 -#define _gloffset_MultiTexCoord3sARB 398 -#define _gloffset_MultiTexCoord3svARB 399 -#define _gloffset_MultiTexCoord4dARB 400 -#define _gloffset_MultiTexCoord4dvARB 401 -#define _gloffset_MultiTexCoord4fARB 402 -#define _gloffset_MultiTexCoord4fvARB 403 -#define _gloffset_MultiTexCoord4iARB 404 -#define _gloffset_MultiTexCoord4ivARB 405 -#define _gloffset_MultiTexCoord4sARB 406 -#define _gloffset_MultiTexCoord4svARB 407 - -#if !FEATURE_remap_table - -#define _gloffset_AttachShader 408 -#define _gloffset_CreateProgram 409 -#define _gloffset_CreateShader 410 -#define _gloffset_DeleteProgram 411 -#define _gloffset_DeleteShader 412 -#define _gloffset_DetachShader 413 -#define _gloffset_GetAttachedShaders 414 -#define _gloffset_GetProgramInfoLog 415 -#define _gloffset_GetProgramiv 416 -#define _gloffset_GetShaderInfoLog 417 -#define _gloffset_GetShaderiv 418 -#define _gloffset_IsProgram 419 -#define _gloffset_IsShader 420 -#define _gloffset_StencilFuncSeparate 421 -#define _gloffset_StencilMaskSeparate 422 -#define _gloffset_StencilOpSeparate 423 -#define _gloffset_UniformMatrix2x3fv 424 -#define _gloffset_UniformMatrix2x4fv 425 -#define _gloffset_UniformMatrix3x2fv 426 -#define _gloffset_UniformMatrix3x4fv 427 -#define _gloffset_UniformMatrix4x2fv 428 -#define _gloffset_UniformMatrix4x3fv 429 -#define _gloffset_ClampColor 430 -#define _gloffset_ClearBufferfi 431 -#define _gloffset_ClearBufferfv 432 -#define _gloffset_ClearBufferiv 433 -#define _gloffset_ClearBufferuiv 434 -#define _gloffset_GetStringi 435 -#define _gloffset_TexBuffer 436 -#define _gloffset_FramebufferTexture 437 -#define _gloffset_GetBufferParameteri64v 438 -#define _gloffset_GetInteger64i_v 439 -#define _gloffset_VertexAttribDivisor 440 -#define _gloffset_LoadTransposeMatrixdARB 441 -#define _gloffset_LoadTransposeMatrixfARB 442 -#define _gloffset_MultTransposeMatrixdARB 443 -#define _gloffset_MultTransposeMatrixfARB 444 -#define _gloffset_SampleCoverageARB 445 -#define _gloffset_CompressedTexImage1DARB 446 -#define _gloffset_CompressedTexImage2DARB 447 -#define _gloffset_CompressedTexImage3DARB 448 -#define _gloffset_CompressedTexSubImage1DARB 449 -#define _gloffset_CompressedTexSubImage2DARB 450 -#define _gloffset_CompressedTexSubImage3DARB 451 -#define _gloffset_GetCompressedTexImageARB 452 -#define _gloffset_DisableVertexAttribArrayARB 453 -#define _gloffset_EnableVertexAttribArrayARB 454 -#define _gloffset_GetProgramEnvParameterdvARB 455 -#define _gloffset_GetProgramEnvParameterfvARB 456 -#define _gloffset_GetProgramLocalParameterdvARB 457 -#define _gloffset_GetProgramLocalParameterfvARB 458 -#define _gloffset_GetProgramStringARB 459 -#define _gloffset_GetProgramivARB 460 -#define _gloffset_GetVertexAttribdvARB 461 -#define _gloffset_GetVertexAttribfvARB 462 -#define _gloffset_GetVertexAttribivARB 463 -#define _gloffset_ProgramEnvParameter4dARB 464 -#define _gloffset_ProgramEnvParameter4dvARB 465 -#define _gloffset_ProgramEnvParameter4fARB 466 -#define _gloffset_ProgramEnvParameter4fvARB 467 -#define _gloffset_ProgramLocalParameter4dARB 468 -#define _gloffset_ProgramLocalParameter4dvARB 469 -#define _gloffset_ProgramLocalParameter4fARB 470 -#define _gloffset_ProgramLocalParameter4fvARB 471 -#define _gloffset_ProgramStringARB 472 -#define _gloffset_VertexAttrib1dARB 473 -#define _gloffset_VertexAttrib1dvARB 474 -#define _gloffset_VertexAttrib1fARB 475 -#define _gloffset_VertexAttrib1fvARB 476 -#define _gloffset_VertexAttrib1sARB 477 -#define _gloffset_VertexAttrib1svARB 478 -#define _gloffset_VertexAttrib2dARB 479 -#define _gloffset_VertexAttrib2dvARB 480 -#define _gloffset_VertexAttrib2fARB 481 -#define _gloffset_VertexAttrib2fvARB 482 -#define _gloffset_VertexAttrib2sARB 483 -#define _gloffset_VertexAttrib2svARB 484 -#define _gloffset_VertexAttrib3dARB 485 -#define _gloffset_VertexAttrib3dvARB 486 -#define _gloffset_VertexAttrib3fARB 487 -#define _gloffset_VertexAttrib3fvARB 488 -#define _gloffset_VertexAttrib3sARB 489 -#define _gloffset_VertexAttrib3svARB 490 -#define _gloffset_VertexAttrib4NbvARB 491 -#define _gloffset_VertexAttrib4NivARB 492 -#define _gloffset_VertexAttrib4NsvARB 493 -#define _gloffset_VertexAttrib4NubARB 494 -#define _gloffset_VertexAttrib4NubvARB 495 -#define _gloffset_VertexAttrib4NuivARB 496 -#define _gloffset_VertexAttrib4NusvARB 497 -#define _gloffset_VertexAttrib4bvARB 498 -#define _gloffset_VertexAttrib4dARB 499 -#define _gloffset_VertexAttrib4dvARB 500 -#define _gloffset_VertexAttrib4fARB 501 -#define _gloffset_VertexAttrib4fvARB 502 -#define _gloffset_VertexAttrib4ivARB 503 -#define _gloffset_VertexAttrib4sARB 504 -#define _gloffset_VertexAttrib4svARB 505 -#define _gloffset_VertexAttrib4ubvARB 506 -#define _gloffset_VertexAttrib4uivARB 507 -#define _gloffset_VertexAttrib4usvARB 508 -#define _gloffset_VertexAttribPointerARB 509 -#define _gloffset_BindBufferARB 510 -#define _gloffset_BufferDataARB 511 -#define _gloffset_BufferSubDataARB 512 -#define _gloffset_DeleteBuffersARB 513 -#define _gloffset_GenBuffersARB 514 -#define _gloffset_GetBufferParameterivARB 515 -#define _gloffset_GetBufferPointervARB 516 -#define _gloffset_GetBufferSubDataARB 517 -#define _gloffset_IsBufferARB 518 -#define _gloffset_MapBufferARB 519 -#define _gloffset_UnmapBufferARB 520 -#define _gloffset_BeginQueryARB 521 -#define _gloffset_DeleteQueriesARB 522 -#define _gloffset_EndQueryARB 523 -#define _gloffset_GenQueriesARB 524 -#define _gloffset_GetQueryObjectivARB 525 -#define _gloffset_GetQueryObjectuivARB 526 -#define _gloffset_GetQueryivARB 527 -#define _gloffset_IsQueryARB 528 -#define _gloffset_AttachObjectARB 529 -#define _gloffset_CompileShaderARB 530 -#define _gloffset_CreateProgramObjectARB 531 -#define _gloffset_CreateShaderObjectARB 532 -#define _gloffset_DeleteObjectARB 533 -#define _gloffset_DetachObjectARB 534 -#define _gloffset_GetActiveUniformARB 535 -#define _gloffset_GetAttachedObjectsARB 536 -#define _gloffset_GetHandleARB 537 -#define _gloffset_GetInfoLogARB 538 -#define _gloffset_GetObjectParameterfvARB 539 -#define _gloffset_GetObjectParameterivARB 540 -#define _gloffset_GetShaderSourceARB 541 -#define _gloffset_GetUniformLocationARB 542 -#define _gloffset_GetUniformfvARB 543 -#define _gloffset_GetUniformivARB 544 -#define _gloffset_LinkProgramARB 545 -#define _gloffset_ShaderSourceARB 546 -#define _gloffset_Uniform1fARB 547 -#define _gloffset_Uniform1fvARB 548 -#define _gloffset_Uniform1iARB 549 -#define _gloffset_Uniform1ivARB 550 -#define _gloffset_Uniform2fARB 551 -#define _gloffset_Uniform2fvARB 552 -#define _gloffset_Uniform2iARB 553 -#define _gloffset_Uniform2ivARB 554 -#define _gloffset_Uniform3fARB 555 -#define _gloffset_Uniform3fvARB 556 -#define _gloffset_Uniform3iARB 557 -#define _gloffset_Uniform3ivARB 558 -#define _gloffset_Uniform4fARB 559 -#define _gloffset_Uniform4fvARB 560 -#define _gloffset_Uniform4iARB 561 -#define _gloffset_Uniform4ivARB 562 -#define _gloffset_UniformMatrix2fvARB 563 -#define _gloffset_UniformMatrix3fvARB 564 -#define _gloffset_UniformMatrix4fvARB 565 -#define _gloffset_UseProgramObjectARB 566 -#define _gloffset_ValidateProgramARB 567 -#define _gloffset_BindAttribLocationARB 568 -#define _gloffset_GetActiveAttribARB 569 -#define _gloffset_GetAttribLocationARB 570 -#define _gloffset_DrawBuffersARB 571 -#define _gloffset_ClampColorARB 572 -#define _gloffset_DrawArraysInstancedARB 573 -#define _gloffset_DrawElementsInstancedARB 574 -#define _gloffset_RenderbufferStorageMultisample 575 -#define _gloffset_FramebufferTextureARB 576 -#define _gloffset_FramebufferTextureFaceARB 577 -#define _gloffset_ProgramParameteriARB 578 -#define _gloffset_VertexAttribDivisorARB 579 -#define _gloffset_FlushMappedBufferRange 580 -#define _gloffset_MapBufferRange 581 -#define _gloffset_TexBufferARB 582 -#define _gloffset_BindVertexArray 583 -#define _gloffset_GenVertexArrays 584 -#define _gloffset_CopyBufferSubData 585 -#define _gloffset_ClientWaitSync 586 -#define _gloffset_DeleteSync 587 -#define _gloffset_FenceSync 588 -#define _gloffset_GetInteger64v 589 -#define _gloffset_GetSynciv 590 -#define _gloffset_IsSync 591 -#define _gloffset_WaitSync 592 -#define _gloffset_DrawElementsBaseVertex 593 -#define _gloffset_DrawElementsInstancedBaseVertex 594 -#define _gloffset_DrawRangeElementsBaseVertex 595 -#define _gloffset_MultiDrawElementsBaseVertex 596 -#define _gloffset_BlendEquationSeparateiARB 597 -#define _gloffset_BlendEquationiARB 598 -#define _gloffset_BlendFuncSeparateiARB 599 -#define _gloffset_BlendFunciARB 600 -#define _gloffset_BindSampler 601 -#define _gloffset_DeleteSamplers 602 -#define _gloffset_GenSamplers 603 -#define _gloffset_GetSamplerParameterIiv 604 -#define _gloffset_GetSamplerParameterIuiv 605 -#define _gloffset_GetSamplerParameterfv 606 -#define _gloffset_GetSamplerParameteriv 607 -#define _gloffset_IsSampler 608 -#define _gloffset_SamplerParameterIiv 609 -#define _gloffset_SamplerParameterIuiv 610 -#define _gloffset_SamplerParameterf 611 -#define _gloffset_SamplerParameterfv 612 -#define _gloffset_SamplerParameteri 613 -#define _gloffset_SamplerParameteriv 614 -#define _gloffset_ColorP3ui 615 -#define _gloffset_ColorP3uiv 616 -#define _gloffset_ColorP4ui 617 -#define _gloffset_ColorP4uiv 618 -#define _gloffset_MultiTexCoordP1ui 619 -#define _gloffset_MultiTexCoordP1uiv 620 -#define _gloffset_MultiTexCoordP2ui 621 -#define _gloffset_MultiTexCoordP2uiv 622 -#define _gloffset_MultiTexCoordP3ui 623 -#define _gloffset_MultiTexCoordP3uiv 624 -#define _gloffset_MultiTexCoordP4ui 625 -#define _gloffset_MultiTexCoordP4uiv 626 -#define _gloffset_NormalP3ui 627 -#define _gloffset_NormalP3uiv 628 -#define _gloffset_SecondaryColorP3ui 629 -#define _gloffset_SecondaryColorP3uiv 630 -#define _gloffset_TexCoordP1ui 631 -#define _gloffset_TexCoordP1uiv 632 -#define _gloffset_TexCoordP2ui 633 -#define _gloffset_TexCoordP2uiv 634 -#define _gloffset_TexCoordP3ui 635 -#define _gloffset_TexCoordP3uiv 636 -#define _gloffset_TexCoordP4ui 637 -#define _gloffset_TexCoordP4uiv 638 -#define _gloffset_VertexAttribP1ui 639 -#define _gloffset_VertexAttribP1uiv 640 -#define _gloffset_VertexAttribP2ui 641 -#define _gloffset_VertexAttribP2uiv 642 -#define _gloffset_VertexAttribP3ui 643 -#define _gloffset_VertexAttribP3uiv 644 -#define _gloffset_VertexAttribP4ui 645 -#define _gloffset_VertexAttribP4uiv 646 -#define _gloffset_VertexP2ui 647 -#define _gloffset_VertexP2uiv 648 -#define _gloffset_VertexP3ui 649 -#define _gloffset_VertexP3uiv 650 -#define _gloffset_VertexP4ui 651 -#define _gloffset_VertexP4uiv 652 -#define _gloffset_BindTransformFeedback 653 -#define _gloffset_DeleteTransformFeedbacks 654 -#define _gloffset_DrawTransformFeedback 655 -#define _gloffset_GenTransformFeedbacks 656 -#define _gloffset_IsTransformFeedback 657 -#define _gloffset_PauseTransformFeedback 658 -#define _gloffset_ResumeTransformFeedback 659 -#define _gloffset_ClearDepthf 660 -#define _gloffset_DepthRangef 661 -#define _gloffset_GetShaderPrecisionFormat 662 -#define _gloffset_ReleaseShaderCompiler 663 -#define _gloffset_ShaderBinary 664 -#define _gloffset_GetGraphicsResetStatusARB 665 -#define _gloffset_GetnColorTableARB 666 -#define _gloffset_GetnCompressedTexImageARB 667 -#define _gloffset_GetnConvolutionFilterARB 668 -#define _gloffset_GetnHistogramARB 669 -#define _gloffset_GetnMapdvARB 670 -#define _gloffset_GetnMapfvARB 671 -#define _gloffset_GetnMapivARB 672 -#define _gloffset_GetnMinmaxARB 673 -#define _gloffset_GetnPixelMapfvARB 674 -#define _gloffset_GetnPixelMapuivARB 675 -#define _gloffset_GetnPixelMapusvARB 676 -#define _gloffset_GetnPolygonStippleARB 677 -#define _gloffset_GetnSeparableFilterARB 678 -#define _gloffset_GetnTexImageARB 679 -#define _gloffset_GetnUniformdvARB 680 -#define _gloffset_GetnUniformfvARB 681 -#define _gloffset_GetnUniformivARB 682 -#define _gloffset_GetnUniformuivARB 683 -#define _gloffset_ReadnPixelsARB 684 -#define _gloffset_TexStorage1D 685 -#define _gloffset_TexStorage2D 686 -#define _gloffset_TexStorage3D 687 -#define _gloffset_TextureStorage1DEXT 688 -#define _gloffset_TextureStorage2DEXT 689 -#define _gloffset_TextureStorage3DEXT 690 -#define _gloffset_PolygonOffsetEXT 691 -#define _gloffset_GetPixelTexGenParameterfvSGIS 692 -#define _gloffset_GetPixelTexGenParameterivSGIS 693 -#define _gloffset_PixelTexGenParameterfSGIS 694 -#define _gloffset_PixelTexGenParameterfvSGIS 695 -#define _gloffset_PixelTexGenParameteriSGIS 696 -#define _gloffset_PixelTexGenParameterivSGIS 697 -#define _gloffset_SampleMaskSGIS 698 -#define _gloffset_SamplePatternSGIS 699 -#define _gloffset_ColorPointerEXT 700 -#define _gloffset_EdgeFlagPointerEXT 701 -#define _gloffset_IndexPointerEXT 702 -#define _gloffset_NormalPointerEXT 703 -#define _gloffset_TexCoordPointerEXT 704 -#define _gloffset_VertexPointerEXT 705 -#define _gloffset_PointParameterfEXT 706 -#define _gloffset_PointParameterfvEXT 707 -#define _gloffset_LockArraysEXT 708 -#define _gloffset_UnlockArraysEXT 709 -#define _gloffset_SecondaryColor3bEXT 710 -#define _gloffset_SecondaryColor3bvEXT 711 -#define _gloffset_SecondaryColor3dEXT 712 -#define _gloffset_SecondaryColor3dvEXT 713 -#define _gloffset_SecondaryColor3fEXT 714 -#define _gloffset_SecondaryColor3fvEXT 715 -#define _gloffset_SecondaryColor3iEXT 716 -#define _gloffset_SecondaryColor3ivEXT 717 -#define _gloffset_SecondaryColor3sEXT 718 -#define _gloffset_SecondaryColor3svEXT 719 -#define _gloffset_SecondaryColor3ubEXT 720 -#define _gloffset_SecondaryColor3ubvEXT 721 -#define _gloffset_SecondaryColor3uiEXT 722 -#define _gloffset_SecondaryColor3uivEXT 723 -#define _gloffset_SecondaryColor3usEXT 724 -#define _gloffset_SecondaryColor3usvEXT 725 -#define _gloffset_SecondaryColorPointerEXT 726 -#define _gloffset_MultiDrawArraysEXT 727 -#define _gloffset_MultiDrawElementsEXT 728 -#define _gloffset_FogCoordPointerEXT 729 -#define _gloffset_FogCoorddEXT 730 -#define _gloffset_FogCoorddvEXT 731 -#define _gloffset_FogCoordfEXT 732 -#define _gloffset_FogCoordfvEXT 733 -#define _gloffset_PixelTexGenSGIX 734 -#define _gloffset_BlendFuncSeparateEXT 735 -#define _gloffset_FlushVertexArrayRangeNV 736 -#define _gloffset_VertexArrayRangeNV 737 -#define _gloffset_CombinerInputNV 738 -#define _gloffset_CombinerOutputNV 739 -#define _gloffset_CombinerParameterfNV 740 -#define _gloffset_CombinerParameterfvNV 741 -#define _gloffset_CombinerParameteriNV 742 -#define _gloffset_CombinerParameterivNV 743 -#define _gloffset_FinalCombinerInputNV 744 -#define _gloffset_GetCombinerInputParameterfvNV 745 -#define _gloffset_GetCombinerInputParameterivNV 746 -#define _gloffset_GetCombinerOutputParameterfvNV 747 -#define _gloffset_GetCombinerOutputParameterivNV 748 -#define _gloffset_GetFinalCombinerInputParameterfvNV 749 -#define _gloffset_GetFinalCombinerInputParameterivNV 750 -#define _gloffset_ResizeBuffersMESA 751 -#define _gloffset_WindowPos2dMESA 752 -#define _gloffset_WindowPos2dvMESA 753 -#define _gloffset_WindowPos2fMESA 754 -#define _gloffset_WindowPos2fvMESA 755 -#define _gloffset_WindowPos2iMESA 756 -#define _gloffset_WindowPos2ivMESA 757 -#define _gloffset_WindowPos2sMESA 758 -#define _gloffset_WindowPos2svMESA 759 -#define _gloffset_WindowPos3dMESA 760 -#define _gloffset_WindowPos3dvMESA 761 -#define _gloffset_WindowPos3fMESA 762 -#define _gloffset_WindowPos3fvMESA 763 -#define _gloffset_WindowPos3iMESA 764 -#define _gloffset_WindowPos3ivMESA 765 -#define _gloffset_WindowPos3sMESA 766 -#define _gloffset_WindowPos3svMESA 767 -#define _gloffset_WindowPos4dMESA 768 -#define _gloffset_WindowPos4dvMESA 769 -#define _gloffset_WindowPos4fMESA 770 -#define _gloffset_WindowPos4fvMESA 771 -#define _gloffset_WindowPos4iMESA 772 -#define _gloffset_WindowPos4ivMESA 773 -#define _gloffset_WindowPos4sMESA 774 -#define _gloffset_WindowPos4svMESA 775 -#define _gloffset_MultiModeDrawArraysIBM 776 -#define _gloffset_MultiModeDrawElementsIBM 777 -#define _gloffset_DeleteFencesNV 778 -#define _gloffset_FinishFenceNV 779 -#define _gloffset_GenFencesNV 780 -#define _gloffset_GetFenceivNV 781 -#define _gloffset_IsFenceNV 782 -#define _gloffset_SetFenceNV 783 -#define _gloffset_TestFenceNV 784 -#define _gloffset_AreProgramsResidentNV 785 -#define _gloffset_BindProgramNV 786 -#define _gloffset_DeleteProgramsNV 787 -#define _gloffset_ExecuteProgramNV 788 -#define _gloffset_GenProgramsNV 789 -#define _gloffset_GetProgramParameterdvNV 790 -#define _gloffset_GetProgramParameterfvNV 791 -#define _gloffset_GetProgramStringNV 792 -#define _gloffset_GetProgramivNV 793 -#define _gloffset_GetTrackMatrixivNV 794 -#define _gloffset_GetVertexAttribPointervNV 795 -#define _gloffset_GetVertexAttribdvNV 796 -#define _gloffset_GetVertexAttribfvNV 797 -#define _gloffset_GetVertexAttribivNV 798 -#define _gloffset_IsProgramNV 799 -#define _gloffset_LoadProgramNV 800 -#define _gloffset_ProgramParameters4dvNV 801 -#define _gloffset_ProgramParameters4fvNV 802 -#define _gloffset_RequestResidentProgramsNV 803 -#define _gloffset_TrackMatrixNV 804 -#define _gloffset_VertexAttrib1dNV 805 -#define _gloffset_VertexAttrib1dvNV 806 -#define _gloffset_VertexAttrib1fNV 807 -#define _gloffset_VertexAttrib1fvNV 808 -#define _gloffset_VertexAttrib1sNV 809 -#define _gloffset_VertexAttrib1svNV 810 -#define _gloffset_VertexAttrib2dNV 811 -#define _gloffset_VertexAttrib2dvNV 812 -#define _gloffset_VertexAttrib2fNV 813 -#define _gloffset_VertexAttrib2fvNV 814 -#define _gloffset_VertexAttrib2sNV 815 -#define _gloffset_VertexAttrib2svNV 816 -#define _gloffset_VertexAttrib3dNV 817 -#define _gloffset_VertexAttrib3dvNV 818 -#define _gloffset_VertexAttrib3fNV 819 -#define _gloffset_VertexAttrib3fvNV 820 -#define _gloffset_VertexAttrib3sNV 821 -#define _gloffset_VertexAttrib3svNV 822 -#define _gloffset_VertexAttrib4dNV 823 -#define _gloffset_VertexAttrib4dvNV 824 -#define _gloffset_VertexAttrib4fNV 825 -#define _gloffset_VertexAttrib4fvNV 826 -#define _gloffset_VertexAttrib4sNV 827 -#define _gloffset_VertexAttrib4svNV 828 -#define _gloffset_VertexAttrib4ubNV 829 -#define _gloffset_VertexAttrib4ubvNV 830 -#define _gloffset_VertexAttribPointerNV 831 -#define _gloffset_VertexAttribs1dvNV 832 -#define _gloffset_VertexAttribs1fvNV 833 -#define _gloffset_VertexAttribs1svNV 834 -#define _gloffset_VertexAttribs2dvNV 835 -#define _gloffset_VertexAttribs2fvNV 836 -#define _gloffset_VertexAttribs2svNV 837 -#define _gloffset_VertexAttribs3dvNV 838 -#define _gloffset_VertexAttribs3fvNV 839 -#define _gloffset_VertexAttribs3svNV 840 -#define _gloffset_VertexAttribs4dvNV 841 -#define _gloffset_VertexAttribs4fvNV 842 -#define _gloffset_VertexAttribs4svNV 843 -#define _gloffset_VertexAttribs4ubvNV 844 -#define _gloffset_GetTexBumpParameterfvATI 845 -#define _gloffset_GetTexBumpParameterivATI 846 -#define _gloffset_TexBumpParameterfvATI 847 -#define _gloffset_TexBumpParameterivATI 848 -#define _gloffset_AlphaFragmentOp1ATI 849 -#define _gloffset_AlphaFragmentOp2ATI 850 -#define _gloffset_AlphaFragmentOp3ATI 851 -#define _gloffset_BeginFragmentShaderATI 852 -#define _gloffset_BindFragmentShaderATI 853 -#define _gloffset_ColorFragmentOp1ATI 854 -#define _gloffset_ColorFragmentOp2ATI 855 -#define _gloffset_ColorFragmentOp3ATI 856 -#define _gloffset_DeleteFragmentShaderATI 857 -#define _gloffset_EndFragmentShaderATI 858 -#define _gloffset_GenFragmentShadersATI 859 -#define _gloffset_PassTexCoordATI 860 -#define _gloffset_SampleMapATI 861 -#define _gloffset_SetFragmentShaderConstantATI 862 -#define _gloffset_PointParameteriNV 863 -#define _gloffset_PointParameterivNV 864 -#define _gloffset_ActiveStencilFaceEXT 865 -#define _gloffset_BindVertexArrayAPPLE 866 -#define _gloffset_DeleteVertexArraysAPPLE 867 -#define _gloffset_GenVertexArraysAPPLE 868 -#define _gloffset_IsVertexArrayAPPLE 869 -#define _gloffset_GetProgramNamedParameterdvNV 870 -#define _gloffset_GetProgramNamedParameterfvNV 871 -#define _gloffset_ProgramNamedParameter4dNV 872 -#define _gloffset_ProgramNamedParameter4dvNV 873 -#define _gloffset_ProgramNamedParameter4fNV 874 -#define _gloffset_ProgramNamedParameter4fvNV 875 -#define _gloffset_PrimitiveRestartIndexNV 876 -#define _gloffset_PrimitiveRestartNV 877 -#define _gloffset_DepthBoundsEXT 878 -#define _gloffset_BlendEquationSeparateEXT 879 -#define _gloffset_BindFramebufferEXT 880 -#define _gloffset_BindRenderbufferEXT 881 -#define _gloffset_CheckFramebufferStatusEXT 882 -#define _gloffset_DeleteFramebuffersEXT 883 -#define _gloffset_DeleteRenderbuffersEXT 884 -#define _gloffset_FramebufferRenderbufferEXT 885 -#define _gloffset_FramebufferTexture1DEXT 886 -#define _gloffset_FramebufferTexture2DEXT 887 -#define _gloffset_FramebufferTexture3DEXT 888 -#define _gloffset_GenFramebuffersEXT 889 -#define _gloffset_GenRenderbuffersEXT 890 -#define _gloffset_GenerateMipmapEXT 891 -#define _gloffset_GetFramebufferAttachmentParameterivEXT 892 -#define _gloffset_GetRenderbufferParameterivEXT 893 -#define _gloffset_IsFramebufferEXT 894 -#define _gloffset_IsRenderbufferEXT 895 -#define _gloffset_RenderbufferStorageEXT 896 -#define _gloffset_BlitFramebufferEXT 897 -#define _gloffset_BufferParameteriAPPLE 898 -#define _gloffset_FlushMappedBufferRangeAPPLE 899 -#define _gloffset_BindFragDataLocationEXT 900 -#define _gloffset_GetFragDataLocationEXT 901 -#define _gloffset_GetUniformuivEXT 902 -#define _gloffset_GetVertexAttribIivEXT 903 -#define _gloffset_GetVertexAttribIuivEXT 904 -#define _gloffset_Uniform1uiEXT 905 -#define _gloffset_Uniform1uivEXT 906 -#define _gloffset_Uniform2uiEXT 907 -#define _gloffset_Uniform2uivEXT 908 -#define _gloffset_Uniform3uiEXT 909 -#define _gloffset_Uniform3uivEXT 910 -#define _gloffset_Uniform4uiEXT 911 -#define _gloffset_Uniform4uivEXT 912 -#define _gloffset_VertexAttribI1iEXT 913 -#define _gloffset_VertexAttribI1ivEXT 914 -#define _gloffset_VertexAttribI1uiEXT 915 -#define _gloffset_VertexAttribI1uivEXT 916 -#define _gloffset_VertexAttribI2iEXT 917 -#define _gloffset_VertexAttribI2ivEXT 918 -#define _gloffset_VertexAttribI2uiEXT 919 -#define _gloffset_VertexAttribI2uivEXT 920 -#define _gloffset_VertexAttribI3iEXT 921 -#define _gloffset_VertexAttribI3ivEXT 922 -#define _gloffset_VertexAttribI3uiEXT 923 -#define _gloffset_VertexAttribI3uivEXT 924 -#define _gloffset_VertexAttribI4bvEXT 925 -#define _gloffset_VertexAttribI4iEXT 926 -#define _gloffset_VertexAttribI4ivEXT 927 -#define _gloffset_VertexAttribI4svEXT 928 -#define _gloffset_VertexAttribI4ubvEXT 929 -#define _gloffset_VertexAttribI4uiEXT 930 -#define _gloffset_VertexAttribI4uivEXT 931 -#define _gloffset_VertexAttribI4usvEXT 932 -#define _gloffset_VertexAttribIPointerEXT 933 -#define _gloffset_FramebufferTextureLayerEXT 934 -#define _gloffset_ColorMaskIndexedEXT 935 -#define _gloffset_DisableIndexedEXT 936 -#define _gloffset_EnableIndexedEXT 937 -#define _gloffset_GetBooleanIndexedvEXT 938 -#define _gloffset_GetIntegerIndexedvEXT 939 -#define _gloffset_IsEnabledIndexedEXT 940 -#define _gloffset_ClearColorIiEXT 941 -#define _gloffset_ClearColorIuiEXT 942 -#define _gloffset_GetTexParameterIivEXT 943 -#define _gloffset_GetTexParameterIuivEXT 944 -#define _gloffset_TexParameterIivEXT 945 -#define _gloffset_TexParameterIuivEXT 946 -#define _gloffset_BeginConditionalRenderNV 947 -#define _gloffset_EndConditionalRenderNV 948 -#define _gloffset_BeginTransformFeedbackEXT 949 -#define _gloffset_BindBufferBaseEXT 950 -#define _gloffset_BindBufferOffsetEXT 951 -#define _gloffset_BindBufferRangeEXT 952 -#define _gloffset_EndTransformFeedbackEXT 953 -#define _gloffset_GetTransformFeedbackVaryingEXT 954 -#define _gloffset_TransformFeedbackVaryingsEXT 955 -#define _gloffset_ProvokingVertexEXT 956 -#define _gloffset_GetTexParameterPointervAPPLE 957 -#define _gloffset_TextureRangeAPPLE 958 -#define _gloffset_GetObjectParameterivAPPLE 959 -#define _gloffset_ObjectPurgeableAPPLE 960 -#define _gloffset_ObjectUnpurgeableAPPLE 961 -#define _gloffset_ActiveProgramEXT 962 -#define _gloffset_CreateShaderProgramEXT 963 -#define _gloffset_UseShaderProgramEXT 964 -#define _gloffset_TextureBarrierNV 965 -#define _gloffset_StencilFuncSeparateATI 966 -#define _gloffset_ProgramEnvParameters4fvEXT 967 -#define _gloffset_ProgramLocalParameters4fvEXT 968 -#define _gloffset_GetQueryObjecti64vEXT 969 -#define _gloffset_GetQueryObjectui64vEXT 970 -#define _gloffset_EGLImageTargetRenderbufferStorageOES 971 -#define _gloffset_EGLImageTargetTexture2DOES 972 - -#else /* !FEATURE_remap_table */ - -#define driDispatchRemapTable_size 565 -extern int driDispatchRemapTable[driDispatchRemapTable_size]; - -#define AttachShader_remap_index 0 -#define CreateProgram_remap_index 1 -#define CreateShader_remap_index 2 -#define DeleteProgram_remap_index 3 -#define DeleteShader_remap_index 4 -#define DetachShader_remap_index 5 -#define GetAttachedShaders_remap_index 6 -#define GetProgramInfoLog_remap_index 7 -#define GetProgramiv_remap_index 8 -#define GetShaderInfoLog_remap_index 9 -#define GetShaderiv_remap_index 10 -#define IsProgram_remap_index 11 -#define IsShader_remap_index 12 -#define StencilFuncSeparate_remap_index 13 -#define StencilMaskSeparate_remap_index 14 -#define StencilOpSeparate_remap_index 15 -#define UniformMatrix2x3fv_remap_index 16 -#define UniformMatrix2x4fv_remap_index 17 -#define UniformMatrix3x2fv_remap_index 18 -#define UniformMatrix3x4fv_remap_index 19 -#define UniformMatrix4x2fv_remap_index 20 -#define UniformMatrix4x3fv_remap_index 21 -#define ClampColor_remap_index 22 -#define ClearBufferfi_remap_index 23 -#define ClearBufferfv_remap_index 24 -#define ClearBufferiv_remap_index 25 -#define ClearBufferuiv_remap_index 26 -#define GetStringi_remap_index 27 -#define TexBuffer_remap_index 28 -#define FramebufferTexture_remap_index 29 -#define GetBufferParameteri64v_remap_index 30 -#define GetInteger64i_v_remap_index 31 -#define VertexAttribDivisor_remap_index 32 -#define LoadTransposeMatrixdARB_remap_index 33 -#define LoadTransposeMatrixfARB_remap_index 34 -#define MultTransposeMatrixdARB_remap_index 35 -#define MultTransposeMatrixfARB_remap_index 36 -#define SampleCoverageARB_remap_index 37 -#define CompressedTexImage1DARB_remap_index 38 -#define CompressedTexImage2DARB_remap_index 39 -#define CompressedTexImage3DARB_remap_index 40 -#define CompressedTexSubImage1DARB_remap_index 41 -#define CompressedTexSubImage2DARB_remap_index 42 -#define CompressedTexSubImage3DARB_remap_index 43 -#define GetCompressedTexImageARB_remap_index 44 -#define DisableVertexAttribArrayARB_remap_index 45 -#define EnableVertexAttribArrayARB_remap_index 46 -#define GetProgramEnvParameterdvARB_remap_index 47 -#define GetProgramEnvParameterfvARB_remap_index 48 -#define GetProgramLocalParameterdvARB_remap_index 49 -#define GetProgramLocalParameterfvARB_remap_index 50 -#define GetProgramStringARB_remap_index 51 -#define GetProgramivARB_remap_index 52 -#define GetVertexAttribdvARB_remap_index 53 -#define GetVertexAttribfvARB_remap_index 54 -#define GetVertexAttribivARB_remap_index 55 -#define ProgramEnvParameter4dARB_remap_index 56 -#define ProgramEnvParameter4dvARB_remap_index 57 -#define ProgramEnvParameter4fARB_remap_index 58 -#define ProgramEnvParameter4fvARB_remap_index 59 -#define ProgramLocalParameter4dARB_remap_index 60 -#define ProgramLocalParameter4dvARB_remap_index 61 -#define ProgramLocalParameter4fARB_remap_index 62 -#define ProgramLocalParameter4fvARB_remap_index 63 -#define ProgramStringARB_remap_index 64 -#define VertexAttrib1dARB_remap_index 65 -#define VertexAttrib1dvARB_remap_index 66 -#define VertexAttrib1fARB_remap_index 67 -#define VertexAttrib1fvARB_remap_index 68 -#define VertexAttrib1sARB_remap_index 69 -#define VertexAttrib1svARB_remap_index 70 -#define VertexAttrib2dARB_remap_index 71 -#define VertexAttrib2dvARB_remap_index 72 -#define VertexAttrib2fARB_remap_index 73 -#define VertexAttrib2fvARB_remap_index 74 -#define VertexAttrib2sARB_remap_index 75 -#define VertexAttrib2svARB_remap_index 76 -#define VertexAttrib3dARB_remap_index 77 -#define VertexAttrib3dvARB_remap_index 78 -#define VertexAttrib3fARB_remap_index 79 -#define VertexAttrib3fvARB_remap_index 80 -#define VertexAttrib3sARB_remap_index 81 -#define VertexAttrib3svARB_remap_index 82 -#define VertexAttrib4NbvARB_remap_index 83 -#define VertexAttrib4NivARB_remap_index 84 -#define VertexAttrib4NsvARB_remap_index 85 -#define VertexAttrib4NubARB_remap_index 86 -#define VertexAttrib4NubvARB_remap_index 87 -#define VertexAttrib4NuivARB_remap_index 88 -#define VertexAttrib4NusvARB_remap_index 89 -#define VertexAttrib4bvARB_remap_index 90 -#define VertexAttrib4dARB_remap_index 91 -#define VertexAttrib4dvARB_remap_index 92 -#define VertexAttrib4fARB_remap_index 93 -#define VertexAttrib4fvARB_remap_index 94 -#define VertexAttrib4ivARB_remap_index 95 -#define VertexAttrib4sARB_remap_index 96 -#define VertexAttrib4svARB_remap_index 97 -#define VertexAttrib4ubvARB_remap_index 98 -#define VertexAttrib4uivARB_remap_index 99 -#define VertexAttrib4usvARB_remap_index 100 -#define VertexAttribPointerARB_remap_index 101 -#define BindBufferARB_remap_index 102 -#define BufferDataARB_remap_index 103 -#define BufferSubDataARB_remap_index 104 -#define DeleteBuffersARB_remap_index 105 -#define GenBuffersARB_remap_index 106 -#define GetBufferParameterivARB_remap_index 107 -#define GetBufferPointervARB_remap_index 108 -#define GetBufferSubDataARB_remap_index 109 -#define IsBufferARB_remap_index 110 -#define MapBufferARB_remap_index 111 -#define UnmapBufferARB_remap_index 112 -#define BeginQueryARB_remap_index 113 -#define DeleteQueriesARB_remap_index 114 -#define EndQueryARB_remap_index 115 -#define GenQueriesARB_remap_index 116 -#define GetQueryObjectivARB_remap_index 117 -#define GetQueryObjectuivARB_remap_index 118 -#define GetQueryivARB_remap_index 119 -#define IsQueryARB_remap_index 120 -#define AttachObjectARB_remap_index 121 -#define CompileShaderARB_remap_index 122 -#define CreateProgramObjectARB_remap_index 123 -#define CreateShaderObjectARB_remap_index 124 -#define DeleteObjectARB_remap_index 125 -#define DetachObjectARB_remap_index 126 -#define GetActiveUniformARB_remap_index 127 -#define GetAttachedObjectsARB_remap_index 128 -#define GetHandleARB_remap_index 129 -#define GetInfoLogARB_remap_index 130 -#define GetObjectParameterfvARB_remap_index 131 -#define GetObjectParameterivARB_remap_index 132 -#define GetShaderSourceARB_remap_index 133 -#define GetUniformLocationARB_remap_index 134 -#define GetUniformfvARB_remap_index 135 -#define GetUniformivARB_remap_index 136 -#define LinkProgramARB_remap_index 137 -#define ShaderSourceARB_remap_index 138 -#define Uniform1fARB_remap_index 139 -#define Uniform1fvARB_remap_index 140 -#define Uniform1iARB_remap_index 141 -#define Uniform1ivARB_remap_index 142 -#define Uniform2fARB_remap_index 143 -#define Uniform2fvARB_remap_index 144 -#define Uniform2iARB_remap_index 145 -#define Uniform2ivARB_remap_index 146 -#define Uniform3fARB_remap_index 147 -#define Uniform3fvARB_remap_index 148 -#define Uniform3iARB_remap_index 149 -#define Uniform3ivARB_remap_index 150 -#define Uniform4fARB_remap_index 151 -#define Uniform4fvARB_remap_index 152 -#define Uniform4iARB_remap_index 153 -#define Uniform4ivARB_remap_index 154 -#define UniformMatrix2fvARB_remap_index 155 -#define UniformMatrix3fvARB_remap_index 156 -#define UniformMatrix4fvARB_remap_index 157 -#define UseProgramObjectARB_remap_index 158 -#define ValidateProgramARB_remap_index 159 -#define BindAttribLocationARB_remap_index 160 -#define GetActiveAttribARB_remap_index 161 -#define GetAttribLocationARB_remap_index 162 -#define DrawBuffersARB_remap_index 163 -#define ClampColorARB_remap_index 164 -#define DrawArraysInstancedARB_remap_index 165 -#define DrawElementsInstancedARB_remap_index 166 -#define RenderbufferStorageMultisample_remap_index 167 -#define FramebufferTextureARB_remap_index 168 -#define FramebufferTextureFaceARB_remap_index 169 -#define ProgramParameteriARB_remap_index 170 -#define VertexAttribDivisorARB_remap_index 171 -#define FlushMappedBufferRange_remap_index 172 -#define MapBufferRange_remap_index 173 -#define TexBufferARB_remap_index 174 -#define BindVertexArray_remap_index 175 -#define GenVertexArrays_remap_index 176 -#define CopyBufferSubData_remap_index 177 -#define ClientWaitSync_remap_index 178 -#define DeleteSync_remap_index 179 -#define FenceSync_remap_index 180 -#define GetInteger64v_remap_index 181 -#define GetSynciv_remap_index 182 -#define IsSync_remap_index 183 -#define WaitSync_remap_index 184 -#define DrawElementsBaseVertex_remap_index 185 -#define DrawElementsInstancedBaseVertex_remap_index 186 -#define DrawRangeElementsBaseVertex_remap_index 187 -#define MultiDrawElementsBaseVertex_remap_index 188 -#define BlendEquationSeparateiARB_remap_index 189 -#define BlendEquationiARB_remap_index 190 -#define BlendFuncSeparateiARB_remap_index 191 -#define BlendFunciARB_remap_index 192 -#define BindSampler_remap_index 193 -#define DeleteSamplers_remap_index 194 -#define GenSamplers_remap_index 195 -#define GetSamplerParameterIiv_remap_index 196 -#define GetSamplerParameterIuiv_remap_index 197 -#define GetSamplerParameterfv_remap_index 198 -#define GetSamplerParameteriv_remap_index 199 -#define IsSampler_remap_index 200 -#define SamplerParameterIiv_remap_index 201 -#define SamplerParameterIuiv_remap_index 202 -#define SamplerParameterf_remap_index 203 -#define SamplerParameterfv_remap_index 204 -#define SamplerParameteri_remap_index 205 -#define SamplerParameteriv_remap_index 206 -#define ColorP3ui_remap_index 207 -#define ColorP3uiv_remap_index 208 -#define ColorP4ui_remap_index 209 -#define ColorP4uiv_remap_index 210 -#define MultiTexCoordP1ui_remap_index 211 -#define MultiTexCoordP1uiv_remap_index 212 -#define MultiTexCoordP2ui_remap_index 213 -#define MultiTexCoordP2uiv_remap_index 214 -#define MultiTexCoordP3ui_remap_index 215 -#define MultiTexCoordP3uiv_remap_index 216 -#define MultiTexCoordP4ui_remap_index 217 -#define MultiTexCoordP4uiv_remap_index 218 -#define NormalP3ui_remap_index 219 -#define NormalP3uiv_remap_index 220 -#define SecondaryColorP3ui_remap_index 221 -#define SecondaryColorP3uiv_remap_index 222 -#define TexCoordP1ui_remap_index 223 -#define TexCoordP1uiv_remap_index 224 -#define TexCoordP2ui_remap_index 225 -#define TexCoordP2uiv_remap_index 226 -#define TexCoordP3ui_remap_index 227 -#define TexCoordP3uiv_remap_index 228 -#define TexCoordP4ui_remap_index 229 -#define TexCoordP4uiv_remap_index 230 -#define VertexAttribP1ui_remap_index 231 -#define VertexAttribP1uiv_remap_index 232 -#define VertexAttribP2ui_remap_index 233 -#define VertexAttribP2uiv_remap_index 234 -#define VertexAttribP3ui_remap_index 235 -#define VertexAttribP3uiv_remap_index 236 -#define VertexAttribP4ui_remap_index 237 -#define VertexAttribP4uiv_remap_index 238 -#define VertexP2ui_remap_index 239 -#define VertexP2uiv_remap_index 240 -#define VertexP3ui_remap_index 241 -#define VertexP3uiv_remap_index 242 -#define VertexP4ui_remap_index 243 -#define VertexP4uiv_remap_index 244 -#define BindTransformFeedback_remap_index 245 -#define DeleteTransformFeedbacks_remap_index 246 -#define DrawTransformFeedback_remap_index 247 -#define GenTransformFeedbacks_remap_index 248 -#define IsTransformFeedback_remap_index 249 -#define PauseTransformFeedback_remap_index 250 -#define ResumeTransformFeedback_remap_index 251 -#define ClearDepthf_remap_index 252 -#define DepthRangef_remap_index 253 -#define GetShaderPrecisionFormat_remap_index 254 -#define ReleaseShaderCompiler_remap_index 255 -#define ShaderBinary_remap_index 256 -#define GetGraphicsResetStatusARB_remap_index 257 -#define GetnColorTableARB_remap_index 258 -#define GetnCompressedTexImageARB_remap_index 259 -#define GetnConvolutionFilterARB_remap_index 260 -#define GetnHistogramARB_remap_index 261 -#define GetnMapdvARB_remap_index 262 -#define GetnMapfvARB_remap_index 263 -#define GetnMapivARB_remap_index 264 -#define GetnMinmaxARB_remap_index 265 -#define GetnPixelMapfvARB_remap_index 266 -#define GetnPixelMapuivARB_remap_index 267 -#define GetnPixelMapusvARB_remap_index 268 -#define GetnPolygonStippleARB_remap_index 269 -#define GetnSeparableFilterARB_remap_index 270 -#define GetnTexImageARB_remap_index 271 -#define GetnUniformdvARB_remap_index 272 -#define GetnUniformfvARB_remap_index 273 -#define GetnUniformivARB_remap_index 274 -#define GetnUniformuivARB_remap_index 275 -#define ReadnPixelsARB_remap_index 276 -#define TexStorage1D_remap_index 277 -#define TexStorage2D_remap_index 278 -#define TexStorage3D_remap_index 279 -#define TextureStorage1DEXT_remap_index 280 -#define TextureStorage2DEXT_remap_index 281 -#define TextureStorage3DEXT_remap_index 282 -#define PolygonOffsetEXT_remap_index 283 -#define GetPixelTexGenParameterfvSGIS_remap_index 284 -#define GetPixelTexGenParameterivSGIS_remap_index 285 -#define PixelTexGenParameterfSGIS_remap_index 286 -#define PixelTexGenParameterfvSGIS_remap_index 287 -#define PixelTexGenParameteriSGIS_remap_index 288 -#define PixelTexGenParameterivSGIS_remap_index 289 -#define SampleMaskSGIS_remap_index 290 -#define SamplePatternSGIS_remap_index 291 -#define ColorPointerEXT_remap_index 292 -#define EdgeFlagPointerEXT_remap_index 293 -#define IndexPointerEXT_remap_index 294 -#define NormalPointerEXT_remap_index 295 -#define TexCoordPointerEXT_remap_index 296 -#define VertexPointerEXT_remap_index 297 -#define PointParameterfEXT_remap_index 298 -#define PointParameterfvEXT_remap_index 299 -#define LockArraysEXT_remap_index 300 -#define UnlockArraysEXT_remap_index 301 -#define SecondaryColor3bEXT_remap_index 302 -#define SecondaryColor3bvEXT_remap_index 303 -#define SecondaryColor3dEXT_remap_index 304 -#define SecondaryColor3dvEXT_remap_index 305 -#define SecondaryColor3fEXT_remap_index 306 -#define SecondaryColor3fvEXT_remap_index 307 -#define SecondaryColor3iEXT_remap_index 308 -#define SecondaryColor3ivEXT_remap_index 309 -#define SecondaryColor3sEXT_remap_index 310 -#define SecondaryColor3svEXT_remap_index 311 -#define SecondaryColor3ubEXT_remap_index 312 -#define SecondaryColor3ubvEXT_remap_index 313 -#define SecondaryColor3uiEXT_remap_index 314 -#define SecondaryColor3uivEXT_remap_index 315 -#define SecondaryColor3usEXT_remap_index 316 -#define SecondaryColor3usvEXT_remap_index 317 -#define SecondaryColorPointerEXT_remap_index 318 -#define MultiDrawArraysEXT_remap_index 319 -#define MultiDrawElementsEXT_remap_index 320 -#define FogCoordPointerEXT_remap_index 321 -#define FogCoorddEXT_remap_index 322 -#define FogCoorddvEXT_remap_index 323 -#define FogCoordfEXT_remap_index 324 -#define FogCoordfvEXT_remap_index 325 -#define PixelTexGenSGIX_remap_index 326 -#define BlendFuncSeparateEXT_remap_index 327 -#define FlushVertexArrayRangeNV_remap_index 328 -#define VertexArrayRangeNV_remap_index 329 -#define CombinerInputNV_remap_index 330 -#define CombinerOutputNV_remap_index 331 -#define CombinerParameterfNV_remap_index 332 -#define CombinerParameterfvNV_remap_index 333 -#define CombinerParameteriNV_remap_index 334 -#define CombinerParameterivNV_remap_index 335 -#define FinalCombinerInputNV_remap_index 336 -#define GetCombinerInputParameterfvNV_remap_index 337 -#define GetCombinerInputParameterivNV_remap_index 338 -#define GetCombinerOutputParameterfvNV_remap_index 339 -#define GetCombinerOutputParameterivNV_remap_index 340 -#define GetFinalCombinerInputParameterfvNV_remap_index 341 -#define GetFinalCombinerInputParameterivNV_remap_index 342 -#define ResizeBuffersMESA_remap_index 343 -#define WindowPos2dMESA_remap_index 344 -#define WindowPos2dvMESA_remap_index 345 -#define WindowPos2fMESA_remap_index 346 -#define WindowPos2fvMESA_remap_index 347 -#define WindowPos2iMESA_remap_index 348 -#define WindowPos2ivMESA_remap_index 349 -#define WindowPos2sMESA_remap_index 350 -#define WindowPos2svMESA_remap_index 351 -#define WindowPos3dMESA_remap_index 352 -#define WindowPos3dvMESA_remap_index 353 -#define WindowPos3fMESA_remap_index 354 -#define WindowPos3fvMESA_remap_index 355 -#define WindowPos3iMESA_remap_index 356 -#define WindowPos3ivMESA_remap_index 357 -#define WindowPos3sMESA_remap_index 358 -#define WindowPos3svMESA_remap_index 359 -#define WindowPos4dMESA_remap_index 360 -#define WindowPos4dvMESA_remap_index 361 -#define WindowPos4fMESA_remap_index 362 -#define WindowPos4fvMESA_remap_index 363 -#define WindowPos4iMESA_remap_index 364 -#define WindowPos4ivMESA_remap_index 365 -#define WindowPos4sMESA_remap_index 366 -#define WindowPos4svMESA_remap_index 367 -#define MultiModeDrawArraysIBM_remap_index 368 -#define MultiModeDrawElementsIBM_remap_index 369 -#define DeleteFencesNV_remap_index 370 -#define FinishFenceNV_remap_index 371 -#define GenFencesNV_remap_index 372 -#define GetFenceivNV_remap_index 373 -#define IsFenceNV_remap_index 374 -#define SetFenceNV_remap_index 375 -#define TestFenceNV_remap_index 376 -#define AreProgramsResidentNV_remap_index 377 -#define BindProgramNV_remap_index 378 -#define DeleteProgramsNV_remap_index 379 -#define ExecuteProgramNV_remap_index 380 -#define GenProgramsNV_remap_index 381 -#define GetProgramParameterdvNV_remap_index 382 -#define GetProgramParameterfvNV_remap_index 383 -#define GetProgramStringNV_remap_index 384 -#define GetProgramivNV_remap_index 385 -#define GetTrackMatrixivNV_remap_index 386 -#define GetVertexAttribPointervNV_remap_index 387 -#define GetVertexAttribdvNV_remap_index 388 -#define GetVertexAttribfvNV_remap_index 389 -#define GetVertexAttribivNV_remap_index 390 -#define IsProgramNV_remap_index 391 -#define LoadProgramNV_remap_index 392 -#define ProgramParameters4dvNV_remap_index 393 -#define ProgramParameters4fvNV_remap_index 394 -#define RequestResidentProgramsNV_remap_index 395 -#define TrackMatrixNV_remap_index 396 -#define VertexAttrib1dNV_remap_index 397 -#define VertexAttrib1dvNV_remap_index 398 -#define VertexAttrib1fNV_remap_index 399 -#define VertexAttrib1fvNV_remap_index 400 -#define VertexAttrib1sNV_remap_index 401 -#define VertexAttrib1svNV_remap_index 402 -#define VertexAttrib2dNV_remap_index 403 -#define VertexAttrib2dvNV_remap_index 404 -#define VertexAttrib2fNV_remap_index 405 -#define VertexAttrib2fvNV_remap_index 406 -#define VertexAttrib2sNV_remap_index 407 -#define VertexAttrib2svNV_remap_index 408 -#define VertexAttrib3dNV_remap_index 409 -#define VertexAttrib3dvNV_remap_index 410 -#define VertexAttrib3fNV_remap_index 411 -#define VertexAttrib3fvNV_remap_index 412 -#define VertexAttrib3sNV_remap_index 413 -#define VertexAttrib3svNV_remap_index 414 -#define VertexAttrib4dNV_remap_index 415 -#define VertexAttrib4dvNV_remap_index 416 -#define VertexAttrib4fNV_remap_index 417 -#define VertexAttrib4fvNV_remap_index 418 -#define VertexAttrib4sNV_remap_index 419 -#define VertexAttrib4svNV_remap_index 420 -#define VertexAttrib4ubNV_remap_index 421 -#define VertexAttrib4ubvNV_remap_index 422 -#define VertexAttribPointerNV_remap_index 423 -#define VertexAttribs1dvNV_remap_index 424 -#define VertexAttribs1fvNV_remap_index 425 -#define VertexAttribs1svNV_remap_index 426 -#define VertexAttribs2dvNV_remap_index 427 -#define VertexAttribs2fvNV_remap_index 428 -#define VertexAttribs2svNV_remap_index 429 -#define VertexAttribs3dvNV_remap_index 430 -#define VertexAttribs3fvNV_remap_index 431 -#define VertexAttribs3svNV_remap_index 432 -#define VertexAttribs4dvNV_remap_index 433 -#define VertexAttribs4fvNV_remap_index 434 -#define VertexAttribs4svNV_remap_index 435 -#define VertexAttribs4ubvNV_remap_index 436 -#define GetTexBumpParameterfvATI_remap_index 437 -#define GetTexBumpParameterivATI_remap_index 438 -#define TexBumpParameterfvATI_remap_index 439 -#define TexBumpParameterivATI_remap_index 440 -#define AlphaFragmentOp1ATI_remap_index 441 -#define AlphaFragmentOp2ATI_remap_index 442 -#define AlphaFragmentOp3ATI_remap_index 443 -#define BeginFragmentShaderATI_remap_index 444 -#define BindFragmentShaderATI_remap_index 445 -#define ColorFragmentOp1ATI_remap_index 446 -#define ColorFragmentOp2ATI_remap_index 447 -#define ColorFragmentOp3ATI_remap_index 448 -#define DeleteFragmentShaderATI_remap_index 449 -#define EndFragmentShaderATI_remap_index 450 -#define GenFragmentShadersATI_remap_index 451 -#define PassTexCoordATI_remap_index 452 -#define SampleMapATI_remap_index 453 -#define SetFragmentShaderConstantATI_remap_index 454 -#define PointParameteriNV_remap_index 455 -#define PointParameterivNV_remap_index 456 -#define ActiveStencilFaceEXT_remap_index 457 -#define BindVertexArrayAPPLE_remap_index 458 -#define DeleteVertexArraysAPPLE_remap_index 459 -#define GenVertexArraysAPPLE_remap_index 460 -#define IsVertexArrayAPPLE_remap_index 461 -#define GetProgramNamedParameterdvNV_remap_index 462 -#define GetProgramNamedParameterfvNV_remap_index 463 -#define ProgramNamedParameter4dNV_remap_index 464 -#define ProgramNamedParameter4dvNV_remap_index 465 -#define ProgramNamedParameter4fNV_remap_index 466 -#define ProgramNamedParameter4fvNV_remap_index 467 -#define PrimitiveRestartIndexNV_remap_index 468 -#define PrimitiveRestartNV_remap_index 469 -#define DepthBoundsEXT_remap_index 470 -#define BlendEquationSeparateEXT_remap_index 471 -#define BindFramebufferEXT_remap_index 472 -#define BindRenderbufferEXT_remap_index 473 -#define CheckFramebufferStatusEXT_remap_index 474 -#define DeleteFramebuffersEXT_remap_index 475 -#define DeleteRenderbuffersEXT_remap_index 476 -#define FramebufferRenderbufferEXT_remap_index 477 -#define FramebufferTexture1DEXT_remap_index 478 -#define FramebufferTexture2DEXT_remap_index 479 -#define FramebufferTexture3DEXT_remap_index 480 -#define GenFramebuffersEXT_remap_index 481 -#define GenRenderbuffersEXT_remap_index 482 -#define GenerateMipmapEXT_remap_index 483 -#define GetFramebufferAttachmentParameterivEXT_remap_index 484 -#define GetRenderbufferParameterivEXT_remap_index 485 -#define IsFramebufferEXT_remap_index 486 -#define IsRenderbufferEXT_remap_index 487 -#define RenderbufferStorageEXT_remap_index 488 -#define BlitFramebufferEXT_remap_index 489 -#define BufferParameteriAPPLE_remap_index 490 -#define FlushMappedBufferRangeAPPLE_remap_index 491 -#define BindFragDataLocationEXT_remap_index 492 -#define GetFragDataLocationEXT_remap_index 493 -#define GetUniformuivEXT_remap_index 494 -#define GetVertexAttribIivEXT_remap_index 495 -#define GetVertexAttribIuivEXT_remap_index 496 -#define Uniform1uiEXT_remap_index 497 -#define Uniform1uivEXT_remap_index 498 -#define Uniform2uiEXT_remap_index 499 -#define Uniform2uivEXT_remap_index 500 -#define Uniform3uiEXT_remap_index 501 -#define Uniform3uivEXT_remap_index 502 -#define Uniform4uiEXT_remap_index 503 -#define Uniform4uivEXT_remap_index 504 -#define VertexAttribI1iEXT_remap_index 505 -#define VertexAttribI1ivEXT_remap_index 506 -#define VertexAttribI1uiEXT_remap_index 507 -#define VertexAttribI1uivEXT_remap_index 508 -#define VertexAttribI2iEXT_remap_index 509 -#define VertexAttribI2ivEXT_remap_index 510 -#define VertexAttribI2uiEXT_remap_index 511 -#define VertexAttribI2uivEXT_remap_index 512 -#define VertexAttribI3iEXT_remap_index 513 -#define VertexAttribI3ivEXT_remap_index 514 -#define VertexAttribI3uiEXT_remap_index 515 -#define VertexAttribI3uivEXT_remap_index 516 -#define VertexAttribI4bvEXT_remap_index 517 -#define VertexAttribI4iEXT_remap_index 518 -#define VertexAttribI4ivEXT_remap_index 519 -#define VertexAttribI4svEXT_remap_index 520 -#define VertexAttribI4ubvEXT_remap_index 521 -#define VertexAttribI4uiEXT_remap_index 522 -#define VertexAttribI4uivEXT_remap_index 523 -#define VertexAttribI4usvEXT_remap_index 524 -#define VertexAttribIPointerEXT_remap_index 525 -#define FramebufferTextureLayerEXT_remap_index 526 -#define ColorMaskIndexedEXT_remap_index 527 -#define DisableIndexedEXT_remap_index 528 -#define EnableIndexedEXT_remap_index 529 -#define GetBooleanIndexedvEXT_remap_index 530 -#define GetIntegerIndexedvEXT_remap_index 531 -#define IsEnabledIndexedEXT_remap_index 532 -#define ClearColorIiEXT_remap_index 533 -#define ClearColorIuiEXT_remap_index 534 -#define GetTexParameterIivEXT_remap_index 535 -#define GetTexParameterIuivEXT_remap_index 536 -#define TexParameterIivEXT_remap_index 537 -#define TexParameterIuivEXT_remap_index 538 -#define BeginConditionalRenderNV_remap_index 539 -#define EndConditionalRenderNV_remap_index 540 -#define BeginTransformFeedbackEXT_remap_index 541 -#define BindBufferBaseEXT_remap_index 542 -#define BindBufferOffsetEXT_remap_index 543 -#define BindBufferRangeEXT_remap_index 544 -#define EndTransformFeedbackEXT_remap_index 545 -#define GetTransformFeedbackVaryingEXT_remap_index 546 -#define TransformFeedbackVaryingsEXT_remap_index 547 -#define ProvokingVertexEXT_remap_index 548 -#define GetTexParameterPointervAPPLE_remap_index 549 -#define TextureRangeAPPLE_remap_index 550 -#define GetObjectParameterivAPPLE_remap_index 551 -#define ObjectPurgeableAPPLE_remap_index 552 -#define ObjectUnpurgeableAPPLE_remap_index 553 -#define ActiveProgramEXT_remap_index 554 -#define CreateShaderProgramEXT_remap_index 555 -#define UseShaderProgramEXT_remap_index 556 -#define TextureBarrierNV_remap_index 557 -#define StencilFuncSeparateATI_remap_index 558 -#define ProgramEnvParameters4fvEXT_remap_index 559 -#define ProgramLocalParameters4fvEXT_remap_index 560 -#define GetQueryObjecti64vEXT_remap_index 561 -#define GetQueryObjectui64vEXT_remap_index 562 -#define EGLImageTargetRenderbufferStorageOES_remap_index 563 -#define EGLImageTargetTexture2DOES_remap_index 564 - -#define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index] -#define _gloffset_CreateProgram driDispatchRemapTable[CreateProgram_remap_index] -#define _gloffset_CreateShader driDispatchRemapTable[CreateShader_remap_index] -#define _gloffset_DeleteProgram driDispatchRemapTable[DeleteProgram_remap_index] -#define _gloffset_DeleteShader driDispatchRemapTable[DeleteShader_remap_index] -#define _gloffset_DetachShader driDispatchRemapTable[DetachShader_remap_index] -#define _gloffset_GetAttachedShaders driDispatchRemapTable[GetAttachedShaders_remap_index] -#define _gloffset_GetProgramInfoLog driDispatchRemapTable[GetProgramInfoLog_remap_index] -#define _gloffset_GetProgramiv driDispatchRemapTable[GetProgramiv_remap_index] -#define _gloffset_GetShaderInfoLog driDispatchRemapTable[GetShaderInfoLog_remap_index] -#define _gloffset_GetShaderiv driDispatchRemapTable[GetShaderiv_remap_index] -#define _gloffset_IsProgram driDispatchRemapTable[IsProgram_remap_index] -#define _gloffset_IsShader driDispatchRemapTable[IsShader_remap_index] -#define _gloffset_StencilFuncSeparate driDispatchRemapTable[StencilFuncSeparate_remap_index] -#define _gloffset_StencilMaskSeparate driDispatchRemapTable[StencilMaskSeparate_remap_index] -#define _gloffset_StencilOpSeparate driDispatchRemapTable[StencilOpSeparate_remap_index] -#define _gloffset_UniformMatrix2x3fv driDispatchRemapTable[UniformMatrix2x3fv_remap_index] -#define _gloffset_UniformMatrix2x4fv driDispatchRemapTable[UniformMatrix2x4fv_remap_index] -#define _gloffset_UniformMatrix3x2fv driDispatchRemapTable[UniformMatrix3x2fv_remap_index] -#define _gloffset_UniformMatrix3x4fv driDispatchRemapTable[UniformMatrix3x4fv_remap_index] -#define _gloffset_UniformMatrix4x2fv driDispatchRemapTable[UniformMatrix4x2fv_remap_index] -#define _gloffset_UniformMatrix4x3fv driDispatchRemapTable[UniformMatrix4x3fv_remap_index] -#define _gloffset_ClampColor driDispatchRemapTable[ClampColor_remap_index] -#define _gloffset_ClearBufferfi driDispatchRemapTable[ClearBufferfi_remap_index] -#define _gloffset_ClearBufferfv driDispatchRemapTable[ClearBufferfv_remap_index] -#define _gloffset_ClearBufferiv driDispatchRemapTable[ClearBufferiv_remap_index] -#define _gloffset_ClearBufferuiv driDispatchRemapTable[ClearBufferuiv_remap_index] -#define _gloffset_GetStringi driDispatchRemapTable[GetStringi_remap_index] -#define _gloffset_TexBuffer driDispatchRemapTable[TexBuffer_remap_index] -#define _gloffset_FramebufferTexture driDispatchRemapTable[FramebufferTexture_remap_index] -#define _gloffset_GetBufferParameteri64v driDispatchRemapTable[GetBufferParameteri64v_remap_index] -#define _gloffset_GetInteger64i_v driDispatchRemapTable[GetInteger64i_v_remap_index] -#define _gloffset_VertexAttribDivisor driDispatchRemapTable[VertexAttribDivisor_remap_index] -#define _gloffset_LoadTransposeMatrixdARB driDispatchRemapTable[LoadTransposeMatrixdARB_remap_index] -#define _gloffset_LoadTransposeMatrixfARB driDispatchRemapTable[LoadTransposeMatrixfARB_remap_index] -#define _gloffset_MultTransposeMatrixdARB driDispatchRemapTable[MultTransposeMatrixdARB_remap_index] -#define _gloffset_MultTransposeMatrixfARB driDispatchRemapTable[MultTransposeMatrixfARB_remap_index] -#define _gloffset_SampleCoverageARB driDispatchRemapTable[SampleCoverageARB_remap_index] -#define _gloffset_CompressedTexImage1DARB driDispatchRemapTable[CompressedTexImage1DARB_remap_index] -#define _gloffset_CompressedTexImage2DARB driDispatchRemapTable[CompressedTexImage2DARB_remap_index] -#define _gloffset_CompressedTexImage3DARB driDispatchRemapTable[CompressedTexImage3DARB_remap_index] -#define _gloffset_CompressedTexSubImage1DARB driDispatchRemapTable[CompressedTexSubImage1DARB_remap_index] -#define _gloffset_CompressedTexSubImage2DARB driDispatchRemapTable[CompressedTexSubImage2DARB_remap_index] -#define _gloffset_CompressedTexSubImage3DARB driDispatchRemapTable[CompressedTexSubImage3DARB_remap_index] -#define _gloffset_GetCompressedTexImageARB driDispatchRemapTable[GetCompressedTexImageARB_remap_index] -#define _gloffset_DisableVertexAttribArrayARB driDispatchRemapTable[DisableVertexAttribArrayARB_remap_index] -#define _gloffset_EnableVertexAttribArrayARB driDispatchRemapTable[EnableVertexAttribArrayARB_remap_index] -#define _gloffset_GetProgramEnvParameterdvARB driDispatchRemapTable[GetProgramEnvParameterdvARB_remap_index] -#define _gloffset_GetProgramEnvParameterfvARB driDispatchRemapTable[GetProgramEnvParameterfvARB_remap_index] -#define _gloffset_GetProgramLocalParameterdvARB driDispatchRemapTable[GetProgramLocalParameterdvARB_remap_index] -#define _gloffset_GetProgramLocalParameterfvARB driDispatchRemapTable[GetProgramLocalParameterfvARB_remap_index] -#define _gloffset_GetProgramStringARB driDispatchRemapTable[GetProgramStringARB_remap_index] -#define _gloffset_GetProgramivARB driDispatchRemapTable[GetProgramivARB_remap_index] -#define _gloffset_GetVertexAttribdvARB driDispatchRemapTable[GetVertexAttribdvARB_remap_index] -#define _gloffset_GetVertexAttribfvARB driDispatchRemapTable[GetVertexAttribfvARB_remap_index] -#define _gloffset_GetVertexAttribivARB driDispatchRemapTable[GetVertexAttribivARB_remap_index] -#define _gloffset_ProgramEnvParameter4dARB driDispatchRemapTable[ProgramEnvParameter4dARB_remap_index] -#define _gloffset_ProgramEnvParameter4dvARB driDispatchRemapTable[ProgramEnvParameter4dvARB_remap_index] -#define _gloffset_ProgramEnvParameter4fARB driDispatchRemapTable[ProgramEnvParameter4fARB_remap_index] -#define _gloffset_ProgramEnvParameter4fvARB driDispatchRemapTable[ProgramEnvParameter4fvARB_remap_index] -#define _gloffset_ProgramLocalParameter4dARB driDispatchRemapTable[ProgramLocalParameter4dARB_remap_index] -#define _gloffset_ProgramLocalParameter4dvARB driDispatchRemapTable[ProgramLocalParameter4dvARB_remap_index] -#define _gloffset_ProgramLocalParameter4fARB driDispatchRemapTable[ProgramLocalParameter4fARB_remap_index] -#define _gloffset_ProgramLocalParameter4fvARB driDispatchRemapTable[ProgramLocalParameter4fvARB_remap_index] -#define _gloffset_ProgramStringARB driDispatchRemapTable[ProgramStringARB_remap_index] -#define _gloffset_VertexAttrib1dARB driDispatchRemapTable[VertexAttrib1dARB_remap_index] -#define _gloffset_VertexAttrib1dvARB driDispatchRemapTable[VertexAttrib1dvARB_remap_index] -#define _gloffset_VertexAttrib1fARB driDispatchRemapTable[VertexAttrib1fARB_remap_index] -#define _gloffset_VertexAttrib1fvARB driDispatchRemapTable[VertexAttrib1fvARB_remap_index] -#define _gloffset_VertexAttrib1sARB driDispatchRemapTable[VertexAttrib1sARB_remap_index] -#define _gloffset_VertexAttrib1svARB driDispatchRemapTable[VertexAttrib1svARB_remap_index] -#define _gloffset_VertexAttrib2dARB driDispatchRemapTable[VertexAttrib2dARB_remap_index] -#define _gloffset_VertexAttrib2dvARB driDispatchRemapTable[VertexAttrib2dvARB_remap_index] -#define _gloffset_VertexAttrib2fARB driDispatchRemapTable[VertexAttrib2fARB_remap_index] -#define _gloffset_VertexAttrib2fvARB driDispatchRemapTable[VertexAttrib2fvARB_remap_index] -#define _gloffset_VertexAttrib2sARB driDispatchRemapTable[VertexAttrib2sARB_remap_index] -#define _gloffset_VertexAttrib2svARB driDispatchRemapTable[VertexAttrib2svARB_remap_index] -#define _gloffset_VertexAttrib3dARB driDispatchRemapTable[VertexAttrib3dARB_remap_index] -#define _gloffset_VertexAttrib3dvARB driDispatchRemapTable[VertexAttrib3dvARB_remap_index] -#define _gloffset_VertexAttrib3fARB driDispatchRemapTable[VertexAttrib3fARB_remap_index] -#define _gloffset_VertexAttrib3fvARB driDispatchRemapTable[VertexAttrib3fvARB_remap_index] -#define _gloffset_VertexAttrib3sARB driDispatchRemapTable[VertexAttrib3sARB_remap_index] -#define _gloffset_VertexAttrib3svARB driDispatchRemapTable[VertexAttrib3svARB_remap_index] -#define _gloffset_VertexAttrib4NbvARB driDispatchRemapTable[VertexAttrib4NbvARB_remap_index] -#define _gloffset_VertexAttrib4NivARB driDispatchRemapTable[VertexAttrib4NivARB_remap_index] -#define _gloffset_VertexAttrib4NsvARB driDispatchRemapTable[VertexAttrib4NsvARB_remap_index] -#define _gloffset_VertexAttrib4NubARB driDispatchRemapTable[VertexAttrib4NubARB_remap_index] -#define _gloffset_VertexAttrib4NubvARB driDispatchRemapTable[VertexAttrib4NubvARB_remap_index] -#define _gloffset_VertexAttrib4NuivARB driDispatchRemapTable[VertexAttrib4NuivARB_remap_index] -#define _gloffset_VertexAttrib4NusvARB driDispatchRemapTable[VertexAttrib4NusvARB_remap_index] -#define _gloffset_VertexAttrib4bvARB driDispatchRemapTable[VertexAttrib4bvARB_remap_index] -#define _gloffset_VertexAttrib4dARB driDispatchRemapTable[VertexAttrib4dARB_remap_index] -#define _gloffset_VertexAttrib4dvARB driDispatchRemapTable[VertexAttrib4dvARB_remap_index] -#define _gloffset_VertexAttrib4fARB driDispatchRemapTable[VertexAttrib4fARB_remap_index] -#define _gloffset_VertexAttrib4fvARB driDispatchRemapTable[VertexAttrib4fvARB_remap_index] -#define _gloffset_VertexAttrib4ivARB driDispatchRemapTable[VertexAttrib4ivARB_remap_index] -#define _gloffset_VertexAttrib4sARB driDispatchRemapTable[VertexAttrib4sARB_remap_index] -#define _gloffset_VertexAttrib4svARB driDispatchRemapTable[VertexAttrib4svARB_remap_index] -#define _gloffset_VertexAttrib4ubvARB driDispatchRemapTable[VertexAttrib4ubvARB_remap_index] -#define _gloffset_VertexAttrib4uivARB driDispatchRemapTable[VertexAttrib4uivARB_remap_index] -#define _gloffset_VertexAttrib4usvARB driDispatchRemapTable[VertexAttrib4usvARB_remap_index] -#define _gloffset_VertexAttribPointerARB driDispatchRemapTable[VertexAttribPointerARB_remap_index] -#define _gloffset_BindBufferARB driDispatchRemapTable[BindBufferARB_remap_index] -#define _gloffset_BufferDataARB driDispatchRemapTable[BufferDataARB_remap_index] -#define _gloffset_BufferSubDataARB driDispatchRemapTable[BufferSubDataARB_remap_index] -#define _gloffset_DeleteBuffersARB driDispatchRemapTable[DeleteBuffersARB_remap_index] -#define _gloffset_GenBuffersARB driDispatchRemapTable[GenBuffersARB_remap_index] -#define _gloffset_GetBufferParameterivARB driDispatchRemapTable[GetBufferParameterivARB_remap_index] -#define _gloffset_GetBufferPointervARB driDispatchRemapTable[GetBufferPointervARB_remap_index] -#define _gloffset_GetBufferSubDataARB driDispatchRemapTable[GetBufferSubDataARB_remap_index] -#define _gloffset_IsBufferARB driDispatchRemapTable[IsBufferARB_remap_index] -#define _gloffset_MapBufferARB driDispatchRemapTable[MapBufferARB_remap_index] -#define _gloffset_UnmapBufferARB driDispatchRemapTable[UnmapBufferARB_remap_index] -#define _gloffset_BeginQueryARB driDispatchRemapTable[BeginQueryARB_remap_index] -#define _gloffset_DeleteQueriesARB driDispatchRemapTable[DeleteQueriesARB_remap_index] -#define _gloffset_EndQueryARB driDispatchRemapTable[EndQueryARB_remap_index] -#define _gloffset_GenQueriesARB driDispatchRemapTable[GenQueriesARB_remap_index] -#define _gloffset_GetQueryObjectivARB driDispatchRemapTable[GetQueryObjectivARB_remap_index] -#define _gloffset_GetQueryObjectuivARB driDispatchRemapTable[GetQueryObjectuivARB_remap_index] -#define _gloffset_GetQueryivARB driDispatchRemapTable[GetQueryivARB_remap_index] -#define _gloffset_IsQueryARB driDispatchRemapTable[IsQueryARB_remap_index] -#define _gloffset_AttachObjectARB driDispatchRemapTable[AttachObjectARB_remap_index] -#define _gloffset_CompileShaderARB driDispatchRemapTable[CompileShaderARB_remap_index] -#define _gloffset_CreateProgramObjectARB driDispatchRemapTable[CreateProgramObjectARB_remap_index] -#define _gloffset_CreateShaderObjectARB driDispatchRemapTable[CreateShaderObjectARB_remap_index] -#define _gloffset_DeleteObjectARB driDispatchRemapTable[DeleteObjectARB_remap_index] -#define _gloffset_DetachObjectARB driDispatchRemapTable[DetachObjectARB_remap_index] -#define _gloffset_GetActiveUniformARB driDispatchRemapTable[GetActiveUniformARB_remap_index] -#define _gloffset_GetAttachedObjectsARB driDispatchRemapTable[GetAttachedObjectsARB_remap_index] -#define _gloffset_GetHandleARB driDispatchRemapTable[GetHandleARB_remap_index] -#define _gloffset_GetInfoLogARB driDispatchRemapTable[GetInfoLogARB_remap_index] -#define _gloffset_GetObjectParameterfvARB driDispatchRemapTable[GetObjectParameterfvARB_remap_index] -#define _gloffset_GetObjectParameterivARB driDispatchRemapTable[GetObjectParameterivARB_remap_index] -#define _gloffset_GetShaderSourceARB driDispatchRemapTable[GetShaderSourceARB_remap_index] -#define _gloffset_GetUniformLocationARB driDispatchRemapTable[GetUniformLocationARB_remap_index] -#define _gloffset_GetUniformfvARB driDispatchRemapTable[GetUniformfvARB_remap_index] -#define _gloffset_GetUniformivARB driDispatchRemapTable[GetUniformivARB_remap_index] -#define _gloffset_LinkProgramARB driDispatchRemapTable[LinkProgramARB_remap_index] -#define _gloffset_ShaderSourceARB driDispatchRemapTable[ShaderSourceARB_remap_index] -#define _gloffset_Uniform1fARB driDispatchRemapTable[Uniform1fARB_remap_index] -#define _gloffset_Uniform1fvARB driDispatchRemapTable[Uniform1fvARB_remap_index] -#define _gloffset_Uniform1iARB driDispatchRemapTable[Uniform1iARB_remap_index] -#define _gloffset_Uniform1ivARB driDispatchRemapTable[Uniform1ivARB_remap_index] -#define _gloffset_Uniform2fARB driDispatchRemapTable[Uniform2fARB_remap_index] -#define _gloffset_Uniform2fvARB driDispatchRemapTable[Uniform2fvARB_remap_index] -#define _gloffset_Uniform2iARB driDispatchRemapTable[Uniform2iARB_remap_index] -#define _gloffset_Uniform2ivARB driDispatchRemapTable[Uniform2ivARB_remap_index] -#define _gloffset_Uniform3fARB driDispatchRemapTable[Uniform3fARB_remap_index] -#define _gloffset_Uniform3fvARB driDispatchRemapTable[Uniform3fvARB_remap_index] -#define _gloffset_Uniform3iARB driDispatchRemapTable[Uniform3iARB_remap_index] -#define _gloffset_Uniform3ivARB driDispatchRemapTable[Uniform3ivARB_remap_index] -#define _gloffset_Uniform4fARB driDispatchRemapTable[Uniform4fARB_remap_index] -#define _gloffset_Uniform4fvARB driDispatchRemapTable[Uniform4fvARB_remap_index] -#define _gloffset_Uniform4iARB driDispatchRemapTable[Uniform4iARB_remap_index] -#define _gloffset_Uniform4ivARB driDispatchRemapTable[Uniform4ivARB_remap_index] -#define _gloffset_UniformMatrix2fvARB driDispatchRemapTable[UniformMatrix2fvARB_remap_index] -#define _gloffset_UniformMatrix3fvARB driDispatchRemapTable[UniformMatrix3fvARB_remap_index] -#define _gloffset_UniformMatrix4fvARB driDispatchRemapTable[UniformMatrix4fvARB_remap_index] -#define _gloffset_UseProgramObjectARB driDispatchRemapTable[UseProgramObjectARB_remap_index] -#define _gloffset_ValidateProgramARB driDispatchRemapTable[ValidateProgramARB_remap_index] -#define _gloffset_BindAttribLocationARB driDispatchRemapTable[BindAttribLocationARB_remap_index] -#define _gloffset_GetActiveAttribARB driDispatchRemapTable[GetActiveAttribARB_remap_index] -#define _gloffset_GetAttribLocationARB driDispatchRemapTable[GetAttribLocationARB_remap_index] -#define _gloffset_DrawBuffersARB driDispatchRemapTable[DrawBuffersARB_remap_index] -#define _gloffset_ClampColorARB driDispatchRemapTable[ClampColorARB_remap_index] -#define _gloffset_DrawArraysInstancedARB driDispatchRemapTable[DrawArraysInstancedARB_remap_index] -#define _gloffset_DrawElementsInstancedARB driDispatchRemapTable[DrawElementsInstancedARB_remap_index] -#define _gloffset_RenderbufferStorageMultisample driDispatchRemapTable[RenderbufferStorageMultisample_remap_index] -#define _gloffset_FramebufferTextureARB driDispatchRemapTable[FramebufferTextureARB_remap_index] -#define _gloffset_FramebufferTextureFaceARB driDispatchRemapTable[FramebufferTextureFaceARB_remap_index] -#define _gloffset_ProgramParameteriARB driDispatchRemapTable[ProgramParameteriARB_remap_index] -#define _gloffset_VertexAttribDivisorARB driDispatchRemapTable[VertexAttribDivisorARB_remap_index] -#define _gloffset_FlushMappedBufferRange driDispatchRemapTable[FlushMappedBufferRange_remap_index] -#define _gloffset_MapBufferRange driDispatchRemapTable[MapBufferRange_remap_index] -#define _gloffset_TexBufferARB driDispatchRemapTable[TexBufferARB_remap_index] -#define _gloffset_BindVertexArray driDispatchRemapTable[BindVertexArray_remap_index] -#define _gloffset_GenVertexArrays driDispatchRemapTable[GenVertexArrays_remap_index] -#define _gloffset_CopyBufferSubData driDispatchRemapTable[CopyBufferSubData_remap_index] -#define _gloffset_ClientWaitSync driDispatchRemapTable[ClientWaitSync_remap_index] -#define _gloffset_DeleteSync driDispatchRemapTable[DeleteSync_remap_index] -#define _gloffset_FenceSync driDispatchRemapTable[FenceSync_remap_index] -#define _gloffset_GetInteger64v driDispatchRemapTable[GetInteger64v_remap_index] -#define _gloffset_GetSynciv driDispatchRemapTable[GetSynciv_remap_index] -#define _gloffset_IsSync driDispatchRemapTable[IsSync_remap_index] -#define _gloffset_WaitSync driDispatchRemapTable[WaitSync_remap_index] -#define _gloffset_DrawElementsBaseVertex driDispatchRemapTable[DrawElementsBaseVertex_remap_index] -#define _gloffset_DrawElementsInstancedBaseVertex driDispatchRemapTable[DrawElementsInstancedBaseVertex_remap_index] -#define _gloffset_DrawRangeElementsBaseVertex driDispatchRemapTable[DrawRangeElementsBaseVertex_remap_index] -#define _gloffset_MultiDrawElementsBaseVertex driDispatchRemapTable[MultiDrawElementsBaseVertex_remap_index] -#define _gloffset_BlendEquationSeparateiARB driDispatchRemapTable[BlendEquationSeparateiARB_remap_index] -#define _gloffset_BlendEquationiARB driDispatchRemapTable[BlendEquationiARB_remap_index] -#define _gloffset_BlendFuncSeparateiARB driDispatchRemapTable[BlendFuncSeparateiARB_remap_index] -#define _gloffset_BlendFunciARB driDispatchRemapTable[BlendFunciARB_remap_index] -#define _gloffset_BindSampler driDispatchRemapTable[BindSampler_remap_index] -#define _gloffset_DeleteSamplers driDispatchRemapTable[DeleteSamplers_remap_index] -#define _gloffset_GenSamplers driDispatchRemapTable[GenSamplers_remap_index] -#define _gloffset_GetSamplerParameterIiv driDispatchRemapTable[GetSamplerParameterIiv_remap_index] -#define _gloffset_GetSamplerParameterIuiv driDispatchRemapTable[GetSamplerParameterIuiv_remap_index] -#define _gloffset_GetSamplerParameterfv driDispatchRemapTable[GetSamplerParameterfv_remap_index] -#define _gloffset_GetSamplerParameteriv driDispatchRemapTable[GetSamplerParameteriv_remap_index] -#define _gloffset_IsSampler driDispatchRemapTable[IsSampler_remap_index] -#define _gloffset_SamplerParameterIiv driDispatchRemapTable[SamplerParameterIiv_remap_index] -#define _gloffset_SamplerParameterIuiv driDispatchRemapTable[SamplerParameterIuiv_remap_index] -#define _gloffset_SamplerParameterf driDispatchRemapTable[SamplerParameterf_remap_index] -#define _gloffset_SamplerParameterfv driDispatchRemapTable[SamplerParameterfv_remap_index] -#define _gloffset_SamplerParameteri driDispatchRemapTable[SamplerParameteri_remap_index] -#define _gloffset_SamplerParameteriv driDispatchRemapTable[SamplerParameteriv_remap_index] -#define _gloffset_ColorP3ui driDispatchRemapTable[ColorP3ui_remap_index] -#define _gloffset_ColorP3uiv driDispatchRemapTable[ColorP3uiv_remap_index] -#define _gloffset_ColorP4ui driDispatchRemapTable[ColorP4ui_remap_index] -#define _gloffset_ColorP4uiv driDispatchRemapTable[ColorP4uiv_remap_index] -#define _gloffset_MultiTexCoordP1ui driDispatchRemapTable[MultiTexCoordP1ui_remap_index] -#define _gloffset_MultiTexCoordP1uiv driDispatchRemapTable[MultiTexCoordP1uiv_remap_index] -#define _gloffset_MultiTexCoordP2ui driDispatchRemapTable[MultiTexCoordP2ui_remap_index] -#define _gloffset_MultiTexCoordP2uiv driDispatchRemapTable[MultiTexCoordP2uiv_remap_index] -#define _gloffset_MultiTexCoordP3ui driDispatchRemapTable[MultiTexCoordP3ui_remap_index] -#define _gloffset_MultiTexCoordP3uiv driDispatchRemapTable[MultiTexCoordP3uiv_remap_index] -#define _gloffset_MultiTexCoordP4ui driDispatchRemapTable[MultiTexCoordP4ui_remap_index] -#define _gloffset_MultiTexCoordP4uiv driDispatchRemapTable[MultiTexCoordP4uiv_remap_index] -#define _gloffset_NormalP3ui driDispatchRemapTable[NormalP3ui_remap_index] -#define _gloffset_NormalP3uiv driDispatchRemapTable[NormalP3uiv_remap_index] -#define _gloffset_SecondaryColorP3ui driDispatchRemapTable[SecondaryColorP3ui_remap_index] -#define _gloffset_SecondaryColorP3uiv driDispatchRemapTable[SecondaryColorP3uiv_remap_index] -#define _gloffset_TexCoordP1ui driDispatchRemapTable[TexCoordP1ui_remap_index] -#define _gloffset_TexCoordP1uiv driDispatchRemapTable[TexCoordP1uiv_remap_index] -#define _gloffset_TexCoordP2ui driDispatchRemapTable[TexCoordP2ui_remap_index] -#define _gloffset_TexCoordP2uiv driDispatchRemapTable[TexCoordP2uiv_remap_index] -#define _gloffset_TexCoordP3ui driDispatchRemapTable[TexCoordP3ui_remap_index] -#define _gloffset_TexCoordP3uiv driDispatchRemapTable[TexCoordP3uiv_remap_index] -#define _gloffset_TexCoordP4ui driDispatchRemapTable[TexCoordP4ui_remap_index] -#define _gloffset_TexCoordP4uiv driDispatchRemapTable[TexCoordP4uiv_remap_index] -#define _gloffset_VertexAttribP1ui driDispatchRemapTable[VertexAttribP1ui_remap_index] -#define _gloffset_VertexAttribP1uiv driDispatchRemapTable[VertexAttribP1uiv_remap_index] -#define _gloffset_VertexAttribP2ui driDispatchRemapTable[VertexAttribP2ui_remap_index] -#define _gloffset_VertexAttribP2uiv driDispatchRemapTable[VertexAttribP2uiv_remap_index] -#define _gloffset_VertexAttribP3ui driDispatchRemapTable[VertexAttribP3ui_remap_index] -#define _gloffset_VertexAttribP3uiv driDispatchRemapTable[VertexAttribP3uiv_remap_index] -#define _gloffset_VertexAttribP4ui driDispatchRemapTable[VertexAttribP4ui_remap_index] -#define _gloffset_VertexAttribP4uiv driDispatchRemapTable[VertexAttribP4uiv_remap_index] -#define _gloffset_VertexP2ui driDispatchRemapTable[VertexP2ui_remap_index] -#define _gloffset_VertexP2uiv driDispatchRemapTable[VertexP2uiv_remap_index] -#define _gloffset_VertexP3ui driDispatchRemapTable[VertexP3ui_remap_index] -#define _gloffset_VertexP3uiv driDispatchRemapTable[VertexP3uiv_remap_index] -#define _gloffset_VertexP4ui driDispatchRemapTable[VertexP4ui_remap_index] -#define _gloffset_VertexP4uiv driDispatchRemapTable[VertexP4uiv_remap_index] -#define _gloffset_BindTransformFeedback driDispatchRemapTable[BindTransformFeedback_remap_index] -#define _gloffset_DeleteTransformFeedbacks driDispatchRemapTable[DeleteTransformFeedbacks_remap_index] -#define _gloffset_DrawTransformFeedback driDispatchRemapTable[DrawTransformFeedback_remap_index] -#define _gloffset_GenTransformFeedbacks driDispatchRemapTable[GenTransformFeedbacks_remap_index] -#define _gloffset_IsTransformFeedback driDispatchRemapTable[IsTransformFeedback_remap_index] -#define _gloffset_PauseTransformFeedback driDispatchRemapTable[PauseTransformFeedback_remap_index] -#define _gloffset_ResumeTransformFeedback driDispatchRemapTable[ResumeTransformFeedback_remap_index] -#define _gloffset_ClearDepthf driDispatchRemapTable[ClearDepthf_remap_index] -#define _gloffset_DepthRangef driDispatchRemapTable[DepthRangef_remap_index] -#define _gloffset_GetShaderPrecisionFormat driDispatchRemapTable[GetShaderPrecisionFormat_remap_index] -#define _gloffset_ReleaseShaderCompiler driDispatchRemapTable[ReleaseShaderCompiler_remap_index] -#define _gloffset_ShaderBinary driDispatchRemapTable[ShaderBinary_remap_index] -#define _gloffset_GetGraphicsResetStatusARB driDispatchRemapTable[GetGraphicsResetStatusARB_remap_index] -#define _gloffset_GetnColorTableARB driDispatchRemapTable[GetnColorTableARB_remap_index] -#define _gloffset_GetnCompressedTexImageARB driDispatchRemapTable[GetnCompressedTexImageARB_remap_index] -#define _gloffset_GetnConvolutionFilterARB driDispatchRemapTable[GetnConvolutionFilterARB_remap_index] -#define _gloffset_GetnHistogramARB driDispatchRemapTable[GetnHistogramARB_remap_index] -#define _gloffset_GetnMapdvARB driDispatchRemapTable[GetnMapdvARB_remap_index] -#define _gloffset_GetnMapfvARB driDispatchRemapTable[GetnMapfvARB_remap_index] -#define _gloffset_GetnMapivARB driDispatchRemapTable[GetnMapivARB_remap_index] -#define _gloffset_GetnMinmaxARB driDispatchRemapTable[GetnMinmaxARB_remap_index] -#define _gloffset_GetnPixelMapfvARB driDispatchRemapTable[GetnPixelMapfvARB_remap_index] -#define _gloffset_GetnPixelMapuivARB driDispatchRemapTable[GetnPixelMapuivARB_remap_index] -#define _gloffset_GetnPixelMapusvARB driDispatchRemapTable[GetnPixelMapusvARB_remap_index] -#define _gloffset_GetnPolygonStippleARB driDispatchRemapTable[GetnPolygonStippleARB_remap_index] -#define _gloffset_GetnSeparableFilterARB driDispatchRemapTable[GetnSeparableFilterARB_remap_index] -#define _gloffset_GetnTexImageARB driDispatchRemapTable[GetnTexImageARB_remap_index] -#define _gloffset_GetnUniformdvARB driDispatchRemapTable[GetnUniformdvARB_remap_index] -#define _gloffset_GetnUniformfvARB driDispatchRemapTable[GetnUniformfvARB_remap_index] -#define _gloffset_GetnUniformivARB driDispatchRemapTable[GetnUniformivARB_remap_index] -#define _gloffset_GetnUniformuivARB driDispatchRemapTable[GetnUniformuivARB_remap_index] -#define _gloffset_ReadnPixelsARB driDispatchRemapTable[ReadnPixelsARB_remap_index] -#define _gloffset_TexStorage1D driDispatchRemapTable[TexStorage1D_remap_index] -#define _gloffset_TexStorage2D driDispatchRemapTable[TexStorage2D_remap_index] -#define _gloffset_TexStorage3D driDispatchRemapTable[TexStorage3D_remap_index] -#define _gloffset_TextureStorage1DEXT driDispatchRemapTable[TextureStorage1DEXT_remap_index] -#define _gloffset_TextureStorage2DEXT driDispatchRemapTable[TextureStorage2DEXT_remap_index] -#define _gloffset_TextureStorage3DEXT driDispatchRemapTable[TextureStorage3DEXT_remap_index] -#define _gloffset_PolygonOffsetEXT driDispatchRemapTable[PolygonOffsetEXT_remap_index] -#define _gloffset_GetPixelTexGenParameterfvSGIS driDispatchRemapTable[GetPixelTexGenParameterfvSGIS_remap_index] -#define _gloffset_GetPixelTexGenParameterivSGIS driDispatchRemapTable[GetPixelTexGenParameterivSGIS_remap_index] -#define _gloffset_PixelTexGenParameterfSGIS driDispatchRemapTable[PixelTexGenParameterfSGIS_remap_index] -#define _gloffset_PixelTexGenParameterfvSGIS driDispatchRemapTable[PixelTexGenParameterfvSGIS_remap_index] -#define _gloffset_PixelTexGenParameteriSGIS driDispatchRemapTable[PixelTexGenParameteriSGIS_remap_index] -#define _gloffset_PixelTexGenParameterivSGIS driDispatchRemapTable[PixelTexGenParameterivSGIS_remap_index] -#define _gloffset_SampleMaskSGIS driDispatchRemapTable[SampleMaskSGIS_remap_index] -#define _gloffset_SamplePatternSGIS driDispatchRemapTable[SamplePatternSGIS_remap_index] -#define _gloffset_ColorPointerEXT driDispatchRemapTable[ColorPointerEXT_remap_index] -#define _gloffset_EdgeFlagPointerEXT driDispatchRemapTable[EdgeFlagPointerEXT_remap_index] -#define _gloffset_IndexPointerEXT driDispatchRemapTable[IndexPointerEXT_remap_index] -#define _gloffset_NormalPointerEXT driDispatchRemapTable[NormalPointerEXT_remap_index] -#define _gloffset_TexCoordPointerEXT driDispatchRemapTable[TexCoordPointerEXT_remap_index] -#define _gloffset_VertexPointerEXT driDispatchRemapTable[VertexPointerEXT_remap_index] -#define _gloffset_PointParameterfEXT driDispatchRemapTable[PointParameterfEXT_remap_index] -#define _gloffset_PointParameterfvEXT driDispatchRemapTable[PointParameterfvEXT_remap_index] -#define _gloffset_LockArraysEXT driDispatchRemapTable[LockArraysEXT_remap_index] -#define _gloffset_UnlockArraysEXT driDispatchRemapTable[UnlockArraysEXT_remap_index] -#define _gloffset_SecondaryColor3bEXT driDispatchRemapTable[SecondaryColor3bEXT_remap_index] -#define _gloffset_SecondaryColor3bvEXT driDispatchRemapTable[SecondaryColor3bvEXT_remap_index] -#define _gloffset_SecondaryColor3dEXT driDispatchRemapTable[SecondaryColor3dEXT_remap_index] -#define _gloffset_SecondaryColor3dvEXT driDispatchRemapTable[SecondaryColor3dvEXT_remap_index] -#define _gloffset_SecondaryColor3fEXT driDispatchRemapTable[SecondaryColor3fEXT_remap_index] -#define _gloffset_SecondaryColor3fvEXT driDispatchRemapTable[SecondaryColor3fvEXT_remap_index] -#define _gloffset_SecondaryColor3iEXT driDispatchRemapTable[SecondaryColor3iEXT_remap_index] -#define _gloffset_SecondaryColor3ivEXT driDispatchRemapTable[SecondaryColor3ivEXT_remap_index] -#define _gloffset_SecondaryColor3sEXT driDispatchRemapTable[SecondaryColor3sEXT_remap_index] -#define _gloffset_SecondaryColor3svEXT driDispatchRemapTable[SecondaryColor3svEXT_remap_index] -#define _gloffset_SecondaryColor3ubEXT driDispatchRemapTable[SecondaryColor3ubEXT_remap_index] -#define _gloffset_SecondaryColor3ubvEXT driDispatchRemapTable[SecondaryColor3ubvEXT_remap_index] -#define _gloffset_SecondaryColor3uiEXT driDispatchRemapTable[SecondaryColor3uiEXT_remap_index] -#define _gloffset_SecondaryColor3uivEXT driDispatchRemapTable[SecondaryColor3uivEXT_remap_index] -#define _gloffset_SecondaryColor3usEXT driDispatchRemapTable[SecondaryColor3usEXT_remap_index] -#define _gloffset_SecondaryColor3usvEXT driDispatchRemapTable[SecondaryColor3usvEXT_remap_index] -#define _gloffset_SecondaryColorPointerEXT driDispatchRemapTable[SecondaryColorPointerEXT_remap_index] -#define _gloffset_MultiDrawArraysEXT driDispatchRemapTable[MultiDrawArraysEXT_remap_index] -#define _gloffset_MultiDrawElementsEXT driDispatchRemapTable[MultiDrawElementsEXT_remap_index] -#define _gloffset_FogCoordPointerEXT driDispatchRemapTable[FogCoordPointerEXT_remap_index] -#define _gloffset_FogCoorddEXT driDispatchRemapTable[FogCoorddEXT_remap_index] -#define _gloffset_FogCoorddvEXT driDispatchRemapTable[FogCoorddvEXT_remap_index] -#define _gloffset_FogCoordfEXT driDispatchRemapTable[FogCoordfEXT_remap_index] -#define _gloffset_FogCoordfvEXT driDispatchRemapTable[FogCoordfvEXT_remap_index] -#define _gloffset_PixelTexGenSGIX driDispatchRemapTable[PixelTexGenSGIX_remap_index] -#define _gloffset_BlendFuncSeparateEXT driDispatchRemapTable[BlendFuncSeparateEXT_remap_index] -#define _gloffset_FlushVertexArrayRangeNV driDispatchRemapTable[FlushVertexArrayRangeNV_remap_index] -#define _gloffset_VertexArrayRangeNV driDispatchRemapTable[VertexArrayRangeNV_remap_index] -#define _gloffset_CombinerInputNV driDispatchRemapTable[CombinerInputNV_remap_index] -#define _gloffset_CombinerOutputNV driDispatchRemapTable[CombinerOutputNV_remap_index] -#define _gloffset_CombinerParameterfNV driDispatchRemapTable[CombinerParameterfNV_remap_index] -#define _gloffset_CombinerParameterfvNV driDispatchRemapTable[CombinerParameterfvNV_remap_index] -#define _gloffset_CombinerParameteriNV driDispatchRemapTable[CombinerParameteriNV_remap_index] -#define _gloffset_CombinerParameterivNV driDispatchRemapTable[CombinerParameterivNV_remap_index] -#define _gloffset_FinalCombinerInputNV driDispatchRemapTable[FinalCombinerInputNV_remap_index] -#define _gloffset_GetCombinerInputParameterfvNV driDispatchRemapTable[GetCombinerInputParameterfvNV_remap_index] -#define _gloffset_GetCombinerInputParameterivNV driDispatchRemapTable[GetCombinerInputParameterivNV_remap_index] -#define _gloffset_GetCombinerOutputParameterfvNV driDispatchRemapTable[GetCombinerOutputParameterfvNV_remap_index] -#define _gloffset_GetCombinerOutputParameterivNV driDispatchRemapTable[GetCombinerOutputParameterivNV_remap_index] -#define _gloffset_GetFinalCombinerInputParameterfvNV driDispatchRemapTable[GetFinalCombinerInputParameterfvNV_remap_index] -#define _gloffset_GetFinalCombinerInputParameterivNV driDispatchRemapTable[GetFinalCombinerInputParameterivNV_remap_index] -#define _gloffset_ResizeBuffersMESA driDispatchRemapTable[ResizeBuffersMESA_remap_index] -#define _gloffset_WindowPos2dMESA driDispatchRemapTable[WindowPos2dMESA_remap_index] -#define _gloffset_WindowPos2dvMESA driDispatchRemapTable[WindowPos2dvMESA_remap_index] -#define _gloffset_WindowPos2fMESA driDispatchRemapTable[WindowPos2fMESA_remap_index] -#define _gloffset_WindowPos2fvMESA driDispatchRemapTable[WindowPos2fvMESA_remap_index] -#define _gloffset_WindowPos2iMESA driDispatchRemapTable[WindowPos2iMESA_remap_index] -#define _gloffset_WindowPos2ivMESA driDispatchRemapTable[WindowPos2ivMESA_remap_index] -#define _gloffset_WindowPos2sMESA driDispatchRemapTable[WindowPos2sMESA_remap_index] -#define _gloffset_WindowPos2svMESA driDispatchRemapTable[WindowPos2svMESA_remap_index] -#define _gloffset_WindowPos3dMESA driDispatchRemapTable[WindowPos3dMESA_remap_index] -#define _gloffset_WindowPos3dvMESA driDispatchRemapTable[WindowPos3dvMESA_remap_index] -#define _gloffset_WindowPos3fMESA driDispatchRemapTable[WindowPos3fMESA_remap_index] -#define _gloffset_WindowPos3fvMESA driDispatchRemapTable[WindowPos3fvMESA_remap_index] -#define _gloffset_WindowPos3iMESA driDispatchRemapTable[WindowPos3iMESA_remap_index] -#define _gloffset_WindowPos3ivMESA driDispatchRemapTable[WindowPos3ivMESA_remap_index] -#define _gloffset_WindowPos3sMESA driDispatchRemapTable[WindowPos3sMESA_remap_index] -#define _gloffset_WindowPos3svMESA driDispatchRemapTable[WindowPos3svMESA_remap_index] -#define _gloffset_WindowPos4dMESA driDispatchRemapTable[WindowPos4dMESA_remap_index] -#define _gloffset_WindowPos4dvMESA driDispatchRemapTable[WindowPos4dvMESA_remap_index] -#define _gloffset_WindowPos4fMESA driDispatchRemapTable[WindowPos4fMESA_remap_index] -#define _gloffset_WindowPos4fvMESA driDispatchRemapTable[WindowPos4fvMESA_remap_index] -#define _gloffset_WindowPos4iMESA driDispatchRemapTable[WindowPos4iMESA_remap_index] -#define _gloffset_WindowPos4ivMESA driDispatchRemapTable[WindowPos4ivMESA_remap_index] -#define _gloffset_WindowPos4sMESA driDispatchRemapTable[WindowPos4sMESA_remap_index] -#define _gloffset_WindowPos4svMESA driDispatchRemapTable[WindowPos4svMESA_remap_index] -#define _gloffset_MultiModeDrawArraysIBM driDispatchRemapTable[MultiModeDrawArraysIBM_remap_index] -#define _gloffset_MultiModeDrawElementsIBM driDispatchRemapTable[MultiModeDrawElementsIBM_remap_index] -#define _gloffset_DeleteFencesNV driDispatchRemapTable[DeleteFencesNV_remap_index] -#define _gloffset_FinishFenceNV driDispatchRemapTable[FinishFenceNV_remap_index] -#define _gloffset_GenFencesNV driDispatchRemapTable[GenFencesNV_remap_index] -#define _gloffset_GetFenceivNV driDispatchRemapTable[GetFenceivNV_remap_index] -#define _gloffset_IsFenceNV driDispatchRemapTable[IsFenceNV_remap_index] -#define _gloffset_SetFenceNV driDispatchRemapTable[SetFenceNV_remap_index] -#define _gloffset_TestFenceNV driDispatchRemapTable[TestFenceNV_remap_index] -#define _gloffset_AreProgramsResidentNV driDispatchRemapTable[AreProgramsResidentNV_remap_index] -#define _gloffset_BindProgramNV driDispatchRemapTable[BindProgramNV_remap_index] -#define _gloffset_DeleteProgramsNV driDispatchRemapTable[DeleteProgramsNV_remap_index] -#define _gloffset_ExecuteProgramNV driDispatchRemapTable[ExecuteProgramNV_remap_index] -#define _gloffset_GenProgramsNV driDispatchRemapTable[GenProgramsNV_remap_index] -#define _gloffset_GetProgramParameterdvNV driDispatchRemapTable[GetProgramParameterdvNV_remap_index] -#define _gloffset_GetProgramParameterfvNV driDispatchRemapTable[GetProgramParameterfvNV_remap_index] -#define _gloffset_GetProgramStringNV driDispatchRemapTable[GetProgramStringNV_remap_index] -#define _gloffset_GetProgramivNV driDispatchRemapTable[GetProgramivNV_remap_index] -#define _gloffset_GetTrackMatrixivNV driDispatchRemapTable[GetTrackMatrixivNV_remap_index] -#define _gloffset_GetVertexAttribPointervNV driDispatchRemapTable[GetVertexAttribPointervNV_remap_index] -#define _gloffset_GetVertexAttribdvNV driDispatchRemapTable[GetVertexAttribdvNV_remap_index] -#define _gloffset_GetVertexAttribfvNV driDispatchRemapTable[GetVertexAttribfvNV_remap_index] -#define _gloffset_GetVertexAttribivNV driDispatchRemapTable[GetVertexAttribivNV_remap_index] -#define _gloffset_IsProgramNV driDispatchRemapTable[IsProgramNV_remap_index] -#define _gloffset_LoadProgramNV driDispatchRemapTable[LoadProgramNV_remap_index] -#define _gloffset_ProgramParameters4dvNV driDispatchRemapTable[ProgramParameters4dvNV_remap_index] -#define _gloffset_ProgramParameters4fvNV driDispatchRemapTable[ProgramParameters4fvNV_remap_index] -#define _gloffset_RequestResidentProgramsNV driDispatchRemapTable[RequestResidentProgramsNV_remap_index] -#define _gloffset_TrackMatrixNV driDispatchRemapTable[TrackMatrixNV_remap_index] -#define _gloffset_VertexAttrib1dNV driDispatchRemapTable[VertexAttrib1dNV_remap_index] -#define _gloffset_VertexAttrib1dvNV driDispatchRemapTable[VertexAttrib1dvNV_remap_index] -#define _gloffset_VertexAttrib1fNV driDispatchRemapTable[VertexAttrib1fNV_remap_index] -#define _gloffset_VertexAttrib1fvNV driDispatchRemapTable[VertexAttrib1fvNV_remap_index] -#define _gloffset_VertexAttrib1sNV driDispatchRemapTable[VertexAttrib1sNV_remap_index] -#define _gloffset_VertexAttrib1svNV driDispatchRemapTable[VertexAttrib1svNV_remap_index] -#define _gloffset_VertexAttrib2dNV driDispatchRemapTable[VertexAttrib2dNV_remap_index] -#define _gloffset_VertexAttrib2dvNV driDispatchRemapTable[VertexAttrib2dvNV_remap_index] -#define _gloffset_VertexAttrib2fNV driDispatchRemapTable[VertexAttrib2fNV_remap_index] -#define _gloffset_VertexAttrib2fvNV driDispatchRemapTable[VertexAttrib2fvNV_remap_index] -#define _gloffset_VertexAttrib2sNV driDispatchRemapTable[VertexAttrib2sNV_remap_index] -#define _gloffset_VertexAttrib2svNV driDispatchRemapTable[VertexAttrib2svNV_remap_index] -#define _gloffset_VertexAttrib3dNV driDispatchRemapTable[VertexAttrib3dNV_remap_index] -#define _gloffset_VertexAttrib3dvNV driDispatchRemapTable[VertexAttrib3dvNV_remap_index] -#define _gloffset_VertexAttrib3fNV driDispatchRemapTable[VertexAttrib3fNV_remap_index] -#define _gloffset_VertexAttrib3fvNV driDispatchRemapTable[VertexAttrib3fvNV_remap_index] -#define _gloffset_VertexAttrib3sNV driDispatchRemapTable[VertexAttrib3sNV_remap_index] -#define _gloffset_VertexAttrib3svNV driDispatchRemapTable[VertexAttrib3svNV_remap_index] -#define _gloffset_VertexAttrib4dNV driDispatchRemapTable[VertexAttrib4dNV_remap_index] -#define _gloffset_VertexAttrib4dvNV driDispatchRemapTable[VertexAttrib4dvNV_remap_index] -#define _gloffset_VertexAttrib4fNV driDispatchRemapTable[VertexAttrib4fNV_remap_index] -#define _gloffset_VertexAttrib4fvNV driDispatchRemapTable[VertexAttrib4fvNV_remap_index] -#define _gloffset_VertexAttrib4sNV driDispatchRemapTable[VertexAttrib4sNV_remap_index] -#define _gloffset_VertexAttrib4svNV driDispatchRemapTable[VertexAttrib4svNV_remap_index] -#define _gloffset_VertexAttrib4ubNV driDispatchRemapTable[VertexAttrib4ubNV_remap_index] -#define _gloffset_VertexAttrib4ubvNV driDispatchRemapTable[VertexAttrib4ubvNV_remap_index] -#define _gloffset_VertexAttribPointerNV driDispatchRemapTable[VertexAttribPointerNV_remap_index] -#define _gloffset_VertexAttribs1dvNV driDispatchRemapTable[VertexAttribs1dvNV_remap_index] -#define _gloffset_VertexAttribs1fvNV driDispatchRemapTable[VertexAttribs1fvNV_remap_index] -#define _gloffset_VertexAttribs1svNV driDispatchRemapTable[VertexAttribs1svNV_remap_index] -#define _gloffset_VertexAttribs2dvNV driDispatchRemapTable[VertexAttribs2dvNV_remap_index] -#define _gloffset_VertexAttribs2fvNV driDispatchRemapTable[VertexAttribs2fvNV_remap_index] -#define _gloffset_VertexAttribs2svNV driDispatchRemapTable[VertexAttribs2svNV_remap_index] -#define _gloffset_VertexAttribs3dvNV driDispatchRemapTable[VertexAttribs3dvNV_remap_index] -#define _gloffset_VertexAttribs3fvNV driDispatchRemapTable[VertexAttribs3fvNV_remap_index] -#define _gloffset_VertexAttribs3svNV driDispatchRemapTable[VertexAttribs3svNV_remap_index] -#define _gloffset_VertexAttribs4dvNV driDispatchRemapTable[VertexAttribs4dvNV_remap_index] -#define _gloffset_VertexAttribs4fvNV driDispatchRemapTable[VertexAttribs4fvNV_remap_index] -#define _gloffset_VertexAttribs4svNV driDispatchRemapTable[VertexAttribs4svNV_remap_index] -#define _gloffset_VertexAttribs4ubvNV driDispatchRemapTable[VertexAttribs4ubvNV_remap_index] -#define _gloffset_GetTexBumpParameterfvATI driDispatchRemapTable[GetTexBumpParameterfvATI_remap_index] -#define _gloffset_GetTexBumpParameterivATI driDispatchRemapTable[GetTexBumpParameterivATI_remap_index] -#define _gloffset_TexBumpParameterfvATI driDispatchRemapTable[TexBumpParameterfvATI_remap_index] -#define _gloffset_TexBumpParameterivATI driDispatchRemapTable[TexBumpParameterivATI_remap_index] -#define _gloffset_AlphaFragmentOp1ATI driDispatchRemapTable[AlphaFragmentOp1ATI_remap_index] -#define _gloffset_AlphaFragmentOp2ATI driDispatchRemapTable[AlphaFragmentOp2ATI_remap_index] -#define _gloffset_AlphaFragmentOp3ATI driDispatchRemapTable[AlphaFragmentOp3ATI_remap_index] -#define _gloffset_BeginFragmentShaderATI driDispatchRemapTable[BeginFragmentShaderATI_remap_index] -#define _gloffset_BindFragmentShaderATI driDispatchRemapTable[BindFragmentShaderATI_remap_index] -#define _gloffset_ColorFragmentOp1ATI driDispatchRemapTable[ColorFragmentOp1ATI_remap_index] -#define _gloffset_ColorFragmentOp2ATI driDispatchRemapTable[ColorFragmentOp2ATI_remap_index] -#define _gloffset_ColorFragmentOp3ATI driDispatchRemapTable[ColorFragmentOp3ATI_remap_index] -#define _gloffset_DeleteFragmentShaderATI driDispatchRemapTable[DeleteFragmentShaderATI_remap_index] -#define _gloffset_EndFragmentShaderATI driDispatchRemapTable[EndFragmentShaderATI_remap_index] -#define _gloffset_GenFragmentShadersATI driDispatchRemapTable[GenFragmentShadersATI_remap_index] -#define _gloffset_PassTexCoordATI driDispatchRemapTable[PassTexCoordATI_remap_index] -#define _gloffset_SampleMapATI driDispatchRemapTable[SampleMapATI_remap_index] -#define _gloffset_SetFragmentShaderConstantATI driDispatchRemapTable[SetFragmentShaderConstantATI_remap_index] -#define _gloffset_PointParameteriNV driDispatchRemapTable[PointParameteriNV_remap_index] -#define _gloffset_PointParameterivNV driDispatchRemapTable[PointParameterivNV_remap_index] -#define _gloffset_ActiveStencilFaceEXT driDispatchRemapTable[ActiveStencilFaceEXT_remap_index] -#define _gloffset_BindVertexArrayAPPLE driDispatchRemapTable[BindVertexArrayAPPLE_remap_index] -#define _gloffset_DeleteVertexArraysAPPLE driDispatchRemapTable[DeleteVertexArraysAPPLE_remap_index] -#define _gloffset_GenVertexArraysAPPLE driDispatchRemapTable[GenVertexArraysAPPLE_remap_index] -#define _gloffset_IsVertexArrayAPPLE driDispatchRemapTable[IsVertexArrayAPPLE_remap_index] -#define _gloffset_GetProgramNamedParameterdvNV driDispatchRemapTable[GetProgramNamedParameterdvNV_remap_index] -#define _gloffset_GetProgramNamedParameterfvNV driDispatchRemapTable[GetProgramNamedParameterfvNV_remap_index] -#define _gloffset_ProgramNamedParameter4dNV driDispatchRemapTable[ProgramNamedParameter4dNV_remap_index] -#define _gloffset_ProgramNamedParameter4dvNV driDispatchRemapTable[ProgramNamedParameter4dvNV_remap_index] -#define _gloffset_ProgramNamedParameter4fNV driDispatchRemapTable[ProgramNamedParameter4fNV_remap_index] -#define _gloffset_ProgramNamedParameter4fvNV driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index] -#define _gloffset_PrimitiveRestartIndexNV driDispatchRemapTable[PrimitiveRestartIndexNV_remap_index] -#define _gloffset_PrimitiveRestartNV driDispatchRemapTable[PrimitiveRestartNV_remap_index] -#define _gloffset_DepthBoundsEXT driDispatchRemapTable[DepthBoundsEXT_remap_index] -#define _gloffset_BlendEquationSeparateEXT driDispatchRemapTable[BlendEquationSeparateEXT_remap_index] -#define _gloffset_BindFramebufferEXT driDispatchRemapTable[BindFramebufferEXT_remap_index] -#define _gloffset_BindRenderbufferEXT driDispatchRemapTable[BindRenderbufferEXT_remap_index] -#define _gloffset_CheckFramebufferStatusEXT driDispatchRemapTable[CheckFramebufferStatusEXT_remap_index] -#define _gloffset_DeleteFramebuffersEXT driDispatchRemapTable[DeleteFramebuffersEXT_remap_index] -#define _gloffset_DeleteRenderbuffersEXT driDispatchRemapTable[DeleteRenderbuffersEXT_remap_index] -#define _gloffset_FramebufferRenderbufferEXT driDispatchRemapTable[FramebufferRenderbufferEXT_remap_index] -#define _gloffset_FramebufferTexture1DEXT driDispatchRemapTable[FramebufferTexture1DEXT_remap_index] -#define _gloffset_FramebufferTexture2DEXT driDispatchRemapTable[FramebufferTexture2DEXT_remap_index] -#define _gloffset_FramebufferTexture3DEXT driDispatchRemapTable[FramebufferTexture3DEXT_remap_index] -#define _gloffset_GenFramebuffersEXT driDispatchRemapTable[GenFramebuffersEXT_remap_index] -#define _gloffset_GenRenderbuffersEXT driDispatchRemapTable[GenRenderbuffersEXT_remap_index] -#define _gloffset_GenerateMipmapEXT driDispatchRemapTable[GenerateMipmapEXT_remap_index] -#define _gloffset_GetFramebufferAttachmentParameterivEXT driDispatchRemapTable[GetFramebufferAttachmentParameterivEXT_remap_index] -#define _gloffset_GetRenderbufferParameterivEXT driDispatchRemapTable[GetRenderbufferParameterivEXT_remap_index] -#define _gloffset_IsFramebufferEXT driDispatchRemapTable[IsFramebufferEXT_remap_index] -#define _gloffset_IsRenderbufferEXT driDispatchRemapTable[IsRenderbufferEXT_remap_index] -#define _gloffset_RenderbufferStorageEXT driDispatchRemapTable[RenderbufferStorageEXT_remap_index] -#define _gloffset_BlitFramebufferEXT driDispatchRemapTable[BlitFramebufferEXT_remap_index] -#define _gloffset_BufferParameteriAPPLE driDispatchRemapTable[BufferParameteriAPPLE_remap_index] -#define _gloffset_FlushMappedBufferRangeAPPLE driDispatchRemapTable[FlushMappedBufferRangeAPPLE_remap_index] -#define _gloffset_BindFragDataLocationEXT driDispatchRemapTable[BindFragDataLocationEXT_remap_index] -#define _gloffset_GetFragDataLocationEXT driDispatchRemapTable[GetFragDataLocationEXT_remap_index] -#define _gloffset_GetUniformuivEXT driDispatchRemapTable[GetUniformuivEXT_remap_index] -#define _gloffset_GetVertexAttribIivEXT driDispatchRemapTable[GetVertexAttribIivEXT_remap_index] -#define _gloffset_GetVertexAttribIuivEXT driDispatchRemapTable[GetVertexAttribIuivEXT_remap_index] -#define _gloffset_Uniform1uiEXT driDispatchRemapTable[Uniform1uiEXT_remap_index] -#define _gloffset_Uniform1uivEXT driDispatchRemapTable[Uniform1uivEXT_remap_index] -#define _gloffset_Uniform2uiEXT driDispatchRemapTable[Uniform2uiEXT_remap_index] -#define _gloffset_Uniform2uivEXT driDispatchRemapTable[Uniform2uivEXT_remap_index] -#define _gloffset_Uniform3uiEXT driDispatchRemapTable[Uniform3uiEXT_remap_index] -#define _gloffset_Uniform3uivEXT driDispatchRemapTable[Uniform3uivEXT_remap_index] -#define _gloffset_Uniform4uiEXT driDispatchRemapTable[Uniform4uiEXT_remap_index] -#define _gloffset_Uniform4uivEXT driDispatchRemapTable[Uniform4uivEXT_remap_index] -#define _gloffset_VertexAttribI1iEXT driDispatchRemapTable[VertexAttribI1iEXT_remap_index] -#define _gloffset_VertexAttribI1ivEXT driDispatchRemapTable[VertexAttribI1ivEXT_remap_index] -#define _gloffset_VertexAttribI1uiEXT driDispatchRemapTable[VertexAttribI1uiEXT_remap_index] -#define _gloffset_VertexAttribI1uivEXT driDispatchRemapTable[VertexAttribI1uivEXT_remap_index] -#define _gloffset_VertexAttribI2iEXT driDispatchRemapTable[VertexAttribI2iEXT_remap_index] -#define _gloffset_VertexAttribI2ivEXT driDispatchRemapTable[VertexAttribI2ivEXT_remap_index] -#define _gloffset_VertexAttribI2uiEXT driDispatchRemapTable[VertexAttribI2uiEXT_remap_index] -#define _gloffset_VertexAttribI2uivEXT driDispatchRemapTable[VertexAttribI2uivEXT_remap_index] -#define _gloffset_VertexAttribI3iEXT driDispatchRemapTable[VertexAttribI3iEXT_remap_index] -#define _gloffset_VertexAttribI3ivEXT driDispatchRemapTable[VertexAttribI3ivEXT_remap_index] -#define _gloffset_VertexAttribI3uiEXT driDispatchRemapTable[VertexAttribI3uiEXT_remap_index] -#define _gloffset_VertexAttribI3uivEXT driDispatchRemapTable[VertexAttribI3uivEXT_remap_index] -#define _gloffset_VertexAttribI4bvEXT driDispatchRemapTable[VertexAttribI4bvEXT_remap_index] -#define _gloffset_VertexAttribI4iEXT driDispatchRemapTable[VertexAttribI4iEXT_remap_index] -#define _gloffset_VertexAttribI4ivEXT driDispatchRemapTable[VertexAttribI4ivEXT_remap_index] -#define _gloffset_VertexAttribI4svEXT driDispatchRemapTable[VertexAttribI4svEXT_remap_index] -#define _gloffset_VertexAttribI4ubvEXT driDispatchRemapTable[VertexAttribI4ubvEXT_remap_index] -#define _gloffset_VertexAttribI4uiEXT driDispatchRemapTable[VertexAttribI4uiEXT_remap_index] -#define _gloffset_VertexAttribI4uivEXT driDispatchRemapTable[VertexAttribI4uivEXT_remap_index] -#define _gloffset_VertexAttribI4usvEXT driDispatchRemapTable[VertexAttribI4usvEXT_remap_index] -#define _gloffset_VertexAttribIPointerEXT driDispatchRemapTable[VertexAttribIPointerEXT_remap_index] -#define _gloffset_FramebufferTextureLayerEXT driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index] -#define _gloffset_ColorMaskIndexedEXT driDispatchRemapTable[ColorMaskIndexedEXT_remap_index] -#define _gloffset_DisableIndexedEXT driDispatchRemapTable[DisableIndexedEXT_remap_index] -#define _gloffset_EnableIndexedEXT driDispatchRemapTable[EnableIndexedEXT_remap_index] -#define _gloffset_GetBooleanIndexedvEXT driDispatchRemapTable[GetBooleanIndexedvEXT_remap_index] -#define _gloffset_GetIntegerIndexedvEXT driDispatchRemapTable[GetIntegerIndexedvEXT_remap_index] -#define _gloffset_IsEnabledIndexedEXT driDispatchRemapTable[IsEnabledIndexedEXT_remap_index] -#define _gloffset_ClearColorIiEXT driDispatchRemapTable[ClearColorIiEXT_remap_index] -#define _gloffset_ClearColorIuiEXT driDispatchRemapTable[ClearColorIuiEXT_remap_index] -#define _gloffset_GetTexParameterIivEXT driDispatchRemapTable[GetTexParameterIivEXT_remap_index] -#define _gloffset_GetTexParameterIuivEXT driDispatchRemapTable[GetTexParameterIuivEXT_remap_index] -#define _gloffset_TexParameterIivEXT driDispatchRemapTable[TexParameterIivEXT_remap_index] -#define _gloffset_TexParameterIuivEXT driDispatchRemapTable[TexParameterIuivEXT_remap_index] -#define _gloffset_BeginConditionalRenderNV driDispatchRemapTable[BeginConditionalRenderNV_remap_index] -#define _gloffset_EndConditionalRenderNV driDispatchRemapTable[EndConditionalRenderNV_remap_index] -#define _gloffset_BeginTransformFeedbackEXT driDispatchRemapTable[BeginTransformFeedbackEXT_remap_index] -#define _gloffset_BindBufferBaseEXT driDispatchRemapTable[BindBufferBaseEXT_remap_index] -#define _gloffset_BindBufferOffsetEXT driDispatchRemapTable[BindBufferOffsetEXT_remap_index] -#define _gloffset_BindBufferRangeEXT driDispatchRemapTable[BindBufferRangeEXT_remap_index] -#define _gloffset_EndTransformFeedbackEXT driDispatchRemapTable[EndTransformFeedbackEXT_remap_index] -#define _gloffset_GetTransformFeedbackVaryingEXT driDispatchRemapTable[GetTransformFeedbackVaryingEXT_remap_index] -#define _gloffset_TransformFeedbackVaryingsEXT driDispatchRemapTable[TransformFeedbackVaryingsEXT_remap_index] -#define _gloffset_ProvokingVertexEXT driDispatchRemapTable[ProvokingVertexEXT_remap_index] -#define _gloffset_GetTexParameterPointervAPPLE driDispatchRemapTable[GetTexParameterPointervAPPLE_remap_index] -#define _gloffset_TextureRangeAPPLE driDispatchRemapTable[TextureRangeAPPLE_remap_index] -#define _gloffset_GetObjectParameterivAPPLE driDispatchRemapTable[GetObjectParameterivAPPLE_remap_index] -#define _gloffset_ObjectPurgeableAPPLE driDispatchRemapTable[ObjectPurgeableAPPLE_remap_index] -#define _gloffset_ObjectUnpurgeableAPPLE driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index] -#define _gloffset_ActiveProgramEXT driDispatchRemapTable[ActiveProgramEXT_remap_index] -#define _gloffset_CreateShaderProgramEXT driDispatchRemapTable[CreateShaderProgramEXT_remap_index] -#define _gloffset_UseShaderProgramEXT driDispatchRemapTable[UseShaderProgramEXT_remap_index] -#define _gloffset_TextureBarrierNV driDispatchRemapTable[TextureBarrierNV_remap_index] -#define _gloffset_StencilFuncSeparateATI driDispatchRemapTable[StencilFuncSeparateATI_remap_index] -#define _gloffset_ProgramEnvParameters4fvEXT driDispatchRemapTable[ProgramEnvParameters4fvEXT_remap_index] -#define _gloffset_ProgramLocalParameters4fvEXT driDispatchRemapTable[ProgramLocalParameters4fvEXT_remap_index] -#define _gloffset_GetQueryObjecti64vEXT driDispatchRemapTable[GetQueryObjecti64vEXT_remap_index] -#define _gloffset_GetQueryObjectui64vEXT driDispatchRemapTable[GetQueryObjectui64vEXT_remap_index] -#define _gloffset_EGLImageTargetRenderbufferStorageOES driDispatchRemapTable[EGLImageTargetRenderbufferStorageOES_remap_index] -#define _gloffset_EGLImageTargetTexture2DOES driDispatchRemapTable[EGLImageTargetTexture2DOES_remap_index] - -#endif /* !FEATURE_remap_table */ - -typedef void (GLAPIENTRYP _glptr_NewList) (GLuint, GLenum); - -#define CALL_NewList(disp, parameters) \ - (* GET_NewList(disp)) parameters -static inline _glptr_NewList -GET_NewList(struct _glapi_table *disp) -{ - return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList)); -} - -static inline void -SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_NewList, fn); -} - -typedef void (GLAPIENTRYP _glptr_EndList) (void); - -#define CALL_EndList(disp, parameters) \ - (* GET_EndList(disp)) parameters -static inline _glptr_EndList -GET_EndList(struct _glapi_table *disp) -{ - return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList)); -} - -static inline void -SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_EndList, fn); -} - -typedef void (GLAPIENTRYP _glptr_CallList) (GLuint); - -#define CALL_CallList(disp, parameters) \ - (* GET_CallList(disp)) parameters -static inline _glptr_CallList -GET_CallList(struct _glapi_table *disp) -{ - return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList)); -} - -static inline void -SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_CallList, fn); -} - -typedef void (GLAPIENTRYP _glptr_CallLists) (GLsizei, GLenum, const GLvoid *); - -#define CALL_CallLists(disp, parameters) \ - (* GET_CallLists(disp)) parameters -static inline _glptr_CallLists -GET_CallLists(struct _glapi_table *disp) -{ - return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists)); -} - -static inline void -SET_CallLists(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CallLists, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteLists) (GLuint, GLsizei); - -#define CALL_DeleteLists(disp, parameters) \ - (* GET_DeleteLists(disp)) parameters -static inline _glptr_DeleteLists -GET_DeleteLists(struct _glapi_table *disp) -{ - return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists)); -} - -static inline void -SET_DeleteLists(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei)) -{ - SET_by_offset(disp, _gloffset_DeleteLists, fn); -} - -typedef GLuint(GLAPIENTRYP _glptr_GenLists) (GLsizei); - -#define CALL_GenLists(disp, parameters) \ - (* GET_GenLists(disp)) parameters -static inline _glptr_GenLists -GET_GenLists(struct _glapi_table *disp) -{ - return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists)); -} - -static inline void -SET_GenLists(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (GLsizei)) -{ - SET_by_offset(disp, _gloffset_GenLists, fn); -} - -typedef void (GLAPIENTRYP _glptr_ListBase) (GLuint); - -#define CALL_ListBase(disp, parameters) \ - (* GET_ListBase(disp)) parameters -static inline _glptr_ListBase -GET_ListBase(struct _glapi_table *disp) -{ - return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase)); -} - -static inline void -SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_ListBase, fn); -} - -typedef void (GLAPIENTRYP _glptr_Begin) (GLenum); - -#define CALL_Begin(disp, parameters) \ - (* GET_Begin(disp)) parameters -static inline _glptr_Begin -GET_Begin(struct _glapi_table *disp) -{ - return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin)); -} - -static inline void -SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_Begin, fn); -} - -typedef void (GLAPIENTRYP _glptr_Bitmap) (GLsizei, GLsizei, GLfloat, GLfloat, - GLfloat, GLfloat, const GLubyte *); -#define CALL_Bitmap(disp, parameters) \ - (* GET_Bitmap(disp)) parameters -static inline _glptr_Bitmap -GET_Bitmap(struct _glapi_table *disp) -{ - return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap)); -} - -static inline void -SET_Bitmap(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, - GLfloat, const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_Bitmap, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3b) (GLbyte, GLbyte, GLbyte); - -#define CALL_Color3b(disp, parameters) \ - (* GET_Color3b(disp)) parameters -static inline _glptr_Color3b -GET_Color3b(struct _glapi_table *disp) -{ - return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b)); -} - -static inline void -SET_Color3b(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte)) -{ - SET_by_offset(disp, _gloffset_Color3b, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3bv) (const GLbyte *); - -#define CALL_Color3bv(disp, parameters) \ - (* GET_Color3bv(disp)) parameters -static inline _glptr_Color3bv -GET_Color3bv(struct _glapi_table *disp) -{ - return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv)); -} - -static inline void -SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_Color3bv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3d) (GLdouble, GLdouble, GLdouble); - -#define CALL_Color3d(disp, parameters) \ - (* GET_Color3d(disp)) parameters -static inline _glptr_Color3d -GET_Color3d(struct _glapi_table *disp) -{ - return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d)); -} - -static inline void -SET_Color3d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Color3d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3dv) (const GLdouble *); - -#define CALL_Color3dv(disp, parameters) \ - (* GET_Color3dv(disp)) parameters -static inline _glptr_Color3dv -GET_Color3dv(struct _glapi_table *disp) -{ - return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv)); -} - -static inline void -SET_Color3dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Color3dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3f) (GLfloat, GLfloat, GLfloat); - -#define CALL_Color3f(disp, parameters) \ - (* GET_Color3f(disp)) parameters -static inline _glptr_Color3f -GET_Color3f(struct _glapi_table *disp) -{ - return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f)); -} - -static inline void -SET_Color3f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Color3f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3fv) (const GLfloat *); - -#define CALL_Color3fv(disp, parameters) \ - (* GET_Color3fv(disp)) parameters -static inline _glptr_Color3fv -GET_Color3fv(struct _glapi_table *disp) -{ - return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv)); -} - -static inline void -SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Color3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3i) (GLint, GLint, GLint); - -#define CALL_Color3i(disp, parameters) \ - (* GET_Color3i(disp)) parameters -static inline _glptr_Color3i -GET_Color3i(struct _glapi_table *disp) -{ - return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i)); -} - -static inline void -SET_Color3i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Color3i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3iv) (const GLint *); - -#define CALL_Color3iv(disp, parameters) \ - (* GET_Color3iv(disp)) parameters -static inline _glptr_Color3iv -GET_Color3iv(struct _glapi_table *disp) -{ - return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv)); -} - -static inline void -SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Color3iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3s) (GLshort, GLshort, GLshort); - -#define CALL_Color3s(disp, parameters) \ - (* GET_Color3s(disp)) parameters -static inline _glptr_Color3s -GET_Color3s(struct _glapi_table *disp) -{ - return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s)); -} - -static inline void -SET_Color3s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Color3s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3sv) (const GLshort *); - -#define CALL_Color3sv(disp, parameters) \ - (* GET_Color3sv(disp)) parameters -static inline _glptr_Color3sv -GET_Color3sv(struct _glapi_table *disp) -{ - return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv)); -} - -static inline void -SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Color3sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3ub) (GLubyte, GLubyte, GLubyte); - -#define CALL_Color3ub(disp, parameters) \ - (* GET_Color3ub(disp)) parameters -static inline _glptr_Color3ub -GET_Color3ub(struct _glapi_table *disp) -{ - return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub)); -} - -static inline void -SET_Color3ub(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte)) -{ - SET_by_offset(disp, _gloffset_Color3ub, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3ubv) (const GLubyte *); - -#define CALL_Color3ubv(disp, parameters) \ - (* GET_Color3ubv(disp)) parameters -static inline _glptr_Color3ubv -GET_Color3ubv(struct _glapi_table *disp) -{ - return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv)); -} - -static inline void -SET_Color3ubv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_Color3ubv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3ui) (GLuint, GLuint, GLuint); - -#define CALL_Color3ui(disp, parameters) \ - (* GET_Color3ui(disp)) parameters -static inline _glptr_Color3ui -GET_Color3ui(struct _glapi_table *disp) -{ - return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui)); -} - -static inline void -SET_Color3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Color3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3uiv) (const GLuint *); - -#define CALL_Color3uiv(disp, parameters) \ - (* GET_Color3uiv(disp)) parameters -static inline _glptr_Color3uiv -GET_Color3uiv(struct _glapi_table *disp) -{ - return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv)); -} - -static inline void -SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Color3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3us) (GLushort, GLushort, GLushort); - -#define CALL_Color3us(disp, parameters) \ - (* GET_Color3us(disp)) parameters -static inline _glptr_Color3us -GET_Color3us(struct _glapi_table *disp) -{ - return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us)); -} - -static inline void -SET_Color3us(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort)) -{ - SET_by_offset(disp, _gloffset_Color3us, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color3usv) (const GLushort *); - -#define CALL_Color3usv(disp, parameters) \ - (* GET_Color3usv(disp)) parameters -static inline _glptr_Color3usv -GET_Color3usv(struct _glapi_table *disp) -{ - return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv)); -} - -static inline void -SET_Color3usv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLushort *)) -{ - SET_by_offset(disp, _gloffset_Color3usv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4b) (GLbyte, GLbyte, GLbyte, GLbyte); - -#define CALL_Color4b(disp, parameters) \ - (* GET_Color4b(disp)) parameters -static inline _glptr_Color4b -GET_Color4b(struct _glapi_table *disp) -{ - return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b)); -} - -static inline void -SET_Color4b(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte, GLbyte)) -{ - SET_by_offset(disp, _gloffset_Color4b, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4bv) (const GLbyte *); - -#define CALL_Color4bv(disp, parameters) \ - (* GET_Color4bv(disp)) parameters -static inline _glptr_Color4bv -GET_Color4bv(struct _glapi_table *disp) -{ - return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv)); -} - -static inline void -SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_Color4bv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4d) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_Color4d(disp, parameters) \ - (* GET_Color4d(disp)) parameters -static inline _glptr_Color4d -GET_Color4d(struct _glapi_table *disp) -{ - return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d)); -} - -static inline void -SET_Color4d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Color4d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4dv) (const GLdouble *); - -#define CALL_Color4dv(disp, parameters) \ - (* GET_Color4dv(disp)) parameters -static inline _glptr_Color4dv -GET_Color4dv(struct _glapi_table *disp) -{ - return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv)); -} - -static inline void -SET_Color4dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Color4dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4f) (GLfloat, GLfloat, GLfloat, GLfloat); - -#define CALL_Color4f(disp, parameters) \ - (* GET_Color4f(disp)) parameters -static inline _glptr_Color4f -GET_Color4f(struct _glapi_table *disp) -{ - return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f)); -} - -static inline void -SET_Color4f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Color4f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4fv) (const GLfloat *); - -#define CALL_Color4fv(disp, parameters) \ - (* GET_Color4fv(disp)) parameters -static inline _glptr_Color4fv -GET_Color4fv(struct _glapi_table *disp) -{ - return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv)); -} - -static inline void -SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Color4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4i) (GLint, GLint, GLint, GLint); - -#define CALL_Color4i(disp, parameters) \ - (* GET_Color4i(disp)) parameters -static inline _glptr_Color4i -GET_Color4i(struct _glapi_table *disp) -{ - return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i)); -} - -static inline void -SET_Color4i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Color4i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4iv) (const GLint *); - -#define CALL_Color4iv(disp, parameters) \ - (* GET_Color4iv(disp)) parameters -static inline _glptr_Color4iv -GET_Color4iv(struct _glapi_table *disp) -{ - return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv)); -} - -static inline void -SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Color4iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4s) (GLshort, GLshort, GLshort, GLshort); - -#define CALL_Color4s(disp, parameters) \ - (* GET_Color4s(disp)) parameters -static inline _glptr_Color4s -GET_Color4s(struct _glapi_table *disp) -{ - return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s)); -} - -static inline void -SET_Color4s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Color4s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4sv) (const GLshort *); - -#define CALL_Color4sv(disp, parameters) \ - (* GET_Color4sv(disp)) parameters -static inline _glptr_Color4sv -GET_Color4sv(struct _glapi_table *disp) -{ - return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv)); -} - -static inline void -SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Color4sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4ub) (GLubyte, GLubyte, GLubyte, GLubyte); - -#define CALL_Color4ub(disp, parameters) \ - (* GET_Color4ub(disp)) parameters -static inline _glptr_Color4ub -GET_Color4ub(struct _glapi_table *disp) -{ - return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub)); -} - -static inline void -SET_Color4ub(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte, GLubyte)) -{ - SET_by_offset(disp, _gloffset_Color4ub, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4ubv) (const GLubyte *); - -#define CALL_Color4ubv(disp, parameters) \ - (* GET_Color4ubv(disp)) parameters -static inline _glptr_Color4ubv -GET_Color4ubv(struct _glapi_table *disp) -{ - return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv)); -} - -static inline void -SET_Color4ubv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_Color4ubv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4ui) (GLuint, GLuint, GLuint, GLuint); - -#define CALL_Color4ui(disp, parameters) \ - (* GET_Color4ui(disp)) parameters -static inline _glptr_Color4ui -GET_Color4ui(struct _glapi_table *disp) -{ - return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui)); -} - -static inline void -SET_Color4ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Color4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4uiv) (const GLuint *); - -#define CALL_Color4uiv(disp, parameters) \ - (* GET_Color4uiv(disp)) parameters -static inline _glptr_Color4uiv -GET_Color4uiv(struct _glapi_table *disp) -{ - return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv)); -} - -static inline void -SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Color4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4us) (GLushort, GLushort, GLushort, - GLushort); -#define CALL_Color4us(disp, parameters) \ - (* GET_Color4us(disp)) parameters -static inline _glptr_Color4us -GET_Color4us(struct _glapi_table *disp) -{ - return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us)); -} - -static inline void -SET_Color4us(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort, GLushort)) -{ - SET_by_offset(disp, _gloffset_Color4us, fn); -} - -typedef void (GLAPIENTRYP _glptr_Color4usv) (const GLushort *); - -#define CALL_Color4usv(disp, parameters) \ - (* GET_Color4usv(disp)) parameters -static inline _glptr_Color4usv -GET_Color4usv(struct _glapi_table *disp) -{ - return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv)); -} - -static inline void -SET_Color4usv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLushort *)) -{ - SET_by_offset(disp, _gloffset_Color4usv, fn); -} - -typedef void (GLAPIENTRYP _glptr_EdgeFlag) (GLboolean); - -#define CALL_EdgeFlag(disp, parameters) \ - (* GET_EdgeFlag(disp)) parameters -static inline _glptr_EdgeFlag -GET_EdgeFlag(struct _glapi_table *disp) -{ - return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag)); -} - -static inline void -SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLboolean)) -{ - SET_by_offset(disp, _gloffset_EdgeFlag, fn); -} - -typedef void (GLAPIENTRYP _glptr_EdgeFlagv) (const GLboolean *); - -#define CALL_EdgeFlagv(disp, parameters) \ - (* GET_EdgeFlagv(disp)) parameters -static inline _glptr_EdgeFlagv -GET_EdgeFlagv(struct _glapi_table *disp) -{ - return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv)); -} - -static inline void -SET_EdgeFlagv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLboolean *)) -{ - SET_by_offset(disp, _gloffset_EdgeFlagv, fn); -} - -typedef void (GLAPIENTRYP _glptr_End) (void); - -#define CALL_End(disp, parameters) \ - (* GET_End(disp)) parameters -static inline _glptr_End -GET_End(struct _glapi_table *disp) -{ - return (_glptr_End) (GET_by_offset(disp, _gloffset_End)); -} - -static inline void -SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_End, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexd) (GLdouble); - -#define CALL_Indexd(disp, parameters) \ - (* GET_Indexd(disp)) parameters -static inline _glptr_Indexd -GET_Indexd(struct _glapi_table *disp) -{ - return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd)); -} - -static inline void -SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble)) -{ - SET_by_offset(disp, _gloffset_Indexd, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexdv) (const GLdouble *); - -#define CALL_Indexdv(disp, parameters) \ - (* GET_Indexdv(disp)) parameters -static inline _glptr_Indexdv -GET_Indexdv(struct _glapi_table *disp) -{ - return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv)); -} - -static inline void -SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Indexdv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexf) (GLfloat); - -#define CALL_Indexf(disp, parameters) \ - (* GET_Indexf(disp)) parameters -static inline _glptr_Indexf -GET_Indexf(struct _glapi_table *disp) -{ - return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf)); -} - -static inline void -SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_Indexf, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexfv) (const GLfloat *); - -#define CALL_Indexfv(disp, parameters) \ - (* GET_Indexfv(disp)) parameters -static inline _glptr_Indexfv -GET_Indexfv(struct _glapi_table *disp) -{ - return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv)); -} - -static inline void -SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Indexfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexi) (GLint); - -#define CALL_Indexi(disp, parameters) \ - (* GET_Indexi(disp)) parameters -static inline _glptr_Indexi -GET_Indexi(struct _glapi_table *disp) -{ - return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi)); -} - -static inline void -SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint)) -{ - SET_by_offset(disp, _gloffset_Indexi, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexiv) (const GLint *); - -#define CALL_Indexiv(disp, parameters) \ - (* GET_Indexiv(disp)) parameters -static inline _glptr_Indexiv -GET_Indexiv(struct _glapi_table *disp) -{ - return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv)); -} - -static inline void -SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Indexiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexs) (GLshort); - -#define CALL_Indexs(disp, parameters) \ - (* GET_Indexs(disp)) parameters -static inline _glptr_Indexs -GET_Indexs(struct _glapi_table *disp) -{ - return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs)); -} - -static inline void -SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLshort)) -{ - SET_by_offset(disp, _gloffset_Indexs, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexsv) (const GLshort *); - -#define CALL_Indexsv(disp, parameters) \ - (* GET_Indexsv(disp)) parameters -static inline _glptr_Indexsv -GET_Indexsv(struct _glapi_table *disp) -{ - return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv)); -} - -static inline void -SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Indexsv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3b) (GLbyte, GLbyte, GLbyte); - -#define CALL_Normal3b(disp, parameters) \ - (* GET_Normal3b(disp)) parameters -static inline _glptr_Normal3b -GET_Normal3b(struct _glapi_table *disp) -{ - return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b)); -} - -static inline void -SET_Normal3b(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte)) -{ - SET_by_offset(disp, _gloffset_Normal3b, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3bv) (const GLbyte *); - -#define CALL_Normal3bv(disp, parameters) \ - (* GET_Normal3bv(disp)) parameters -static inline _glptr_Normal3bv -GET_Normal3bv(struct _glapi_table *disp) -{ - return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv)); -} - -static inline void -SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_Normal3bv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3d) (GLdouble, GLdouble, GLdouble); - -#define CALL_Normal3d(disp, parameters) \ - (* GET_Normal3d(disp)) parameters -static inline _glptr_Normal3d -GET_Normal3d(struct _glapi_table *disp) -{ - return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d)); -} - -static inline void -SET_Normal3d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Normal3d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3dv) (const GLdouble *); - -#define CALL_Normal3dv(disp, parameters) \ - (* GET_Normal3dv(disp)) parameters -static inline _glptr_Normal3dv -GET_Normal3dv(struct _glapi_table *disp) -{ - return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv)); -} - -static inline void -SET_Normal3dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Normal3dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3f) (GLfloat, GLfloat, GLfloat); - -#define CALL_Normal3f(disp, parameters) \ - (* GET_Normal3f(disp)) parameters -static inline _glptr_Normal3f -GET_Normal3f(struct _glapi_table *disp) -{ - return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f)); -} - -static inline void -SET_Normal3f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Normal3f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3fv) (const GLfloat *); - -#define CALL_Normal3fv(disp, parameters) \ - (* GET_Normal3fv(disp)) parameters -static inline _glptr_Normal3fv -GET_Normal3fv(struct _glapi_table *disp) -{ - return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv)); -} - -static inline void -SET_Normal3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Normal3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3i) (GLint, GLint, GLint); - -#define CALL_Normal3i(disp, parameters) \ - (* GET_Normal3i(disp)) parameters -static inline _glptr_Normal3i -GET_Normal3i(struct _glapi_table *disp) -{ - return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i)); -} - -static inline void -SET_Normal3i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Normal3i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3iv) (const GLint *); - -#define CALL_Normal3iv(disp, parameters) \ - (* GET_Normal3iv(disp)) parameters -static inline _glptr_Normal3iv -GET_Normal3iv(struct _glapi_table *disp) -{ - return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv)); -} - -static inline void -SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Normal3iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3s) (GLshort, GLshort, GLshort); - -#define CALL_Normal3s(disp, parameters) \ - (* GET_Normal3s(disp)) parameters -static inline _glptr_Normal3s -GET_Normal3s(struct _glapi_table *disp) -{ - return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s)); -} - -static inline void -SET_Normal3s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Normal3s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Normal3sv) (const GLshort *); - -#define CALL_Normal3sv(disp, parameters) \ - (* GET_Normal3sv(disp)) parameters -static inline _glptr_Normal3sv -GET_Normal3sv(struct _glapi_table *disp) -{ - return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv)); -} - -static inline void -SET_Normal3sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Normal3sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2d) (GLdouble, GLdouble); - -#define CALL_RasterPos2d(disp, parameters) \ - (* GET_RasterPos2d(disp)) parameters -static inline _glptr_RasterPos2d -GET_RasterPos2d(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d)); -} - -static inline void -SET_RasterPos2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_RasterPos2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2dv) (const GLdouble *); - -#define CALL_RasterPos2dv(disp, parameters) \ - (* GET_RasterPos2dv(disp)) parameters -static inline _glptr_RasterPos2dv -GET_RasterPos2dv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv)); -} - -static inline void -SET_RasterPos2dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_RasterPos2dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2f) (GLfloat, GLfloat); - -#define CALL_RasterPos2f(disp, parameters) \ - (* GET_RasterPos2f(disp)) parameters -static inline _glptr_RasterPos2f -GET_RasterPos2f(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f)); -} - -static inline void -SET_RasterPos2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_RasterPos2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2fv) (const GLfloat *); - -#define CALL_RasterPos2fv(disp, parameters) \ - (* GET_RasterPos2fv(disp)) parameters -static inline _glptr_RasterPos2fv -GET_RasterPos2fv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv)); -} - -static inline void -SET_RasterPos2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_RasterPos2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2i) (GLint, GLint); - -#define CALL_RasterPos2i(disp, parameters) \ - (* GET_RasterPos2i(disp)) parameters -static inline _glptr_RasterPos2i -GET_RasterPos2i(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i)); -} - -static inline void -SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_RasterPos2i, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2iv) (const GLint *); - -#define CALL_RasterPos2iv(disp, parameters) \ - (* GET_RasterPos2iv(disp)) parameters -static inline _glptr_RasterPos2iv -GET_RasterPos2iv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv)); -} - -static inline void -SET_RasterPos2iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_RasterPos2iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2s) (GLshort, GLshort); - -#define CALL_RasterPos2s(disp, parameters) \ - (* GET_RasterPos2s(disp)) parameters -static inline _glptr_RasterPos2s -GET_RasterPos2s(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s)); -} - -static inline void -SET_RasterPos2s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_RasterPos2s, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos2sv) (const GLshort *); - -#define CALL_RasterPos2sv(disp, parameters) \ - (* GET_RasterPos2sv(disp)) parameters -static inline _glptr_RasterPos2sv -GET_RasterPos2sv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv)); -} - -static inline void -SET_RasterPos2sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_RasterPos2sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3d) (GLdouble, GLdouble, GLdouble); - -#define CALL_RasterPos3d(disp, parameters) \ - (* GET_RasterPos3d(disp)) parameters -static inline _glptr_RasterPos3d -GET_RasterPos3d(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d)); -} - -static inline void -SET_RasterPos3d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_RasterPos3d, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3dv) (const GLdouble *); - -#define CALL_RasterPos3dv(disp, parameters) \ - (* GET_RasterPos3dv(disp)) parameters -static inline _glptr_RasterPos3dv -GET_RasterPos3dv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv)); -} - -static inline void -SET_RasterPos3dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_RasterPos3dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3f) (GLfloat, GLfloat, GLfloat); - -#define CALL_RasterPos3f(disp, parameters) \ - (* GET_RasterPos3f(disp)) parameters -static inline _glptr_RasterPos3f -GET_RasterPos3f(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f)); -} - -static inline void -SET_RasterPos3f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_RasterPos3f, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3fv) (const GLfloat *); - -#define CALL_RasterPos3fv(disp, parameters) \ - (* GET_RasterPos3fv(disp)) parameters -static inline _glptr_RasterPos3fv -GET_RasterPos3fv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv)); -} - -static inline void -SET_RasterPos3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_RasterPos3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3i) (GLint, GLint, GLint); - -#define CALL_RasterPos3i(disp, parameters) \ - (* GET_RasterPos3i(disp)) parameters -static inline _glptr_RasterPos3i -GET_RasterPos3i(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i)); -} - -static inline void -SET_RasterPos3i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_RasterPos3i, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3iv) (const GLint *); - -#define CALL_RasterPos3iv(disp, parameters) \ - (* GET_RasterPos3iv(disp)) parameters -static inline _glptr_RasterPos3iv -GET_RasterPos3iv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv)); -} - -static inline void -SET_RasterPos3iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_RasterPos3iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3s) (GLshort, GLshort, GLshort); - -#define CALL_RasterPos3s(disp, parameters) \ - (* GET_RasterPos3s(disp)) parameters -static inline _glptr_RasterPos3s -GET_RasterPos3s(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s)); -} - -static inline void -SET_RasterPos3s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_RasterPos3s, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos3sv) (const GLshort *); - -#define CALL_RasterPos3sv(disp, parameters) \ - (* GET_RasterPos3sv(disp)) parameters -static inline _glptr_RasterPos3sv -GET_RasterPos3sv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv)); -} - -static inline void -SET_RasterPos3sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_RasterPos3sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4d) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_RasterPos4d(disp, parameters) \ - (* GET_RasterPos4d(disp)) parameters -static inline _glptr_RasterPos4d -GET_RasterPos4d(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d)); -} - -static inline void -SET_RasterPos4d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_RasterPos4d, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4dv) (const GLdouble *); - -#define CALL_RasterPos4dv(disp, parameters) \ - (* GET_RasterPos4dv(disp)) parameters -static inline _glptr_RasterPos4dv -GET_RasterPos4dv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv)); -} - -static inline void -SET_RasterPos4dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_RasterPos4dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4f) (GLfloat, GLfloat, GLfloat, - GLfloat); -#define CALL_RasterPos4f(disp, parameters) \ - (* GET_RasterPos4f(disp)) parameters -static inline _glptr_RasterPos4f -GET_RasterPos4f(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f)); -} - -static inline void -SET_RasterPos4f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_RasterPos4f, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4fv) (const GLfloat *); - -#define CALL_RasterPos4fv(disp, parameters) \ - (* GET_RasterPos4fv(disp)) parameters -static inline _glptr_RasterPos4fv -GET_RasterPos4fv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv)); -} - -static inline void -SET_RasterPos4fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_RasterPos4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4i) (GLint, GLint, GLint, GLint); - -#define CALL_RasterPos4i(disp, parameters) \ - (* GET_RasterPos4i(disp)) parameters -static inline _glptr_RasterPos4i -GET_RasterPos4i(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i)); -} - -static inline void -SET_RasterPos4i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_RasterPos4i, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4iv) (const GLint *); - -#define CALL_RasterPos4iv(disp, parameters) \ - (* GET_RasterPos4iv(disp)) parameters -static inline _glptr_RasterPos4iv -GET_RasterPos4iv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv)); -} - -static inline void -SET_RasterPos4iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_RasterPos4iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4s) (GLshort, GLshort, GLshort, - GLshort); -#define CALL_RasterPos4s(disp, parameters) \ - (* GET_RasterPos4s(disp)) parameters -static inline _glptr_RasterPos4s -GET_RasterPos4s(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s)); -} - -static inline void -SET_RasterPos4s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_RasterPos4s, fn); -} - -typedef void (GLAPIENTRYP _glptr_RasterPos4sv) (const GLshort *); - -#define CALL_RasterPos4sv(disp, parameters) \ - (* GET_RasterPos4sv(disp)) parameters -static inline _glptr_RasterPos4sv -GET_RasterPos4sv(struct _glapi_table *disp) -{ - return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv)); -} - -static inline void -SET_RasterPos4sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_RasterPos4sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectd) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_Rectd(disp, parameters) \ - (* GET_Rectd(disp)) parameters -static inline _glptr_Rectd -GET_Rectd(struct _glapi_table *disp) -{ - return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd)); -} - -static inline void -SET_Rectd(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Rectd, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectdv) (const GLdouble *, const GLdouble *); - -#define CALL_Rectdv(disp, parameters) \ - (* GET_Rectdv(disp)) parameters -static inline _glptr_Rectdv -GET_Rectdv(struct _glapi_table *disp) -{ - return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv)); -} - -static inline void -SET_Rectdv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Rectdv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectf) (GLfloat, GLfloat, GLfloat, GLfloat); - -#define CALL_Rectf(disp, parameters) \ - (* GET_Rectf(disp)) parameters -static inline _glptr_Rectf -GET_Rectf(struct _glapi_table *disp) -{ - return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf)); -} - -static inline void -SET_Rectf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Rectf, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectfv) (const GLfloat *, const GLfloat *); - -#define CALL_Rectfv(disp, parameters) \ - (* GET_Rectfv(disp)) parameters -static inline _glptr_Rectfv -GET_Rectfv(struct _glapi_table *disp) -{ - return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv)); -} - -static inline void -SET_Rectfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Rectfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Recti) (GLint, GLint, GLint, GLint); - -#define CALL_Recti(disp, parameters) \ - (* GET_Recti(disp)) parameters -static inline _glptr_Recti -GET_Recti(struct _glapi_table *disp) -{ - return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti)); -} - -static inline void -SET_Recti(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Recti, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectiv) (const GLint *, const GLint *); - -#define CALL_Rectiv(disp, parameters) \ - (* GET_Rectiv(disp)) parameters -static inline _glptr_Rectiv -GET_Rectiv(struct _glapi_table *disp) -{ - return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv)); -} - -static inline void -SET_Rectiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Rectiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rects) (GLshort, GLshort, GLshort, GLshort); - -#define CALL_Rects(disp, parameters) \ - (* GET_Rects(disp)) parameters -static inline _glptr_Rects -GET_Rects(struct _glapi_table *disp) -{ - return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects)); -} - -static inline void -SET_Rects(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Rects, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rectsv) (const GLshort *, const GLshort *); - -#define CALL_Rectsv(disp, parameters) \ - (* GET_Rectsv(disp)) parameters -static inline _glptr_Rectsv -GET_Rectsv(struct _glapi_table *disp) -{ - return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv)); -} - -static inline void -SET_Rectsv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Rectsv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1d) (GLdouble); - -#define CALL_TexCoord1d(disp, parameters) \ - (* GET_TexCoord1d(disp)) parameters -static inline _glptr_TexCoord1d -GET_TexCoord1d(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d)); -} - -static inline void -SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble)) -{ - SET_by_offset(disp, _gloffset_TexCoord1d, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1dv) (const GLdouble *); - -#define CALL_TexCoord1dv(disp, parameters) \ - (* GET_TexCoord1dv(disp)) parameters -static inline _glptr_TexCoord1dv -GET_TexCoord1dv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv)); -} - -static inline void -SET_TexCoord1dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_TexCoord1dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1f) (GLfloat); - -#define CALL_TexCoord1f(disp, parameters) \ - (* GET_TexCoord1f(disp)) parameters -static inline _glptr_TexCoord1f -GET_TexCoord1f(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f)); -} - -static inline void -SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexCoord1f, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1fv) (const GLfloat *); - -#define CALL_TexCoord1fv(disp, parameters) \ - (* GET_TexCoord1fv(disp)) parameters -static inline _glptr_TexCoord1fv -GET_TexCoord1fv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv)); -} - -static inline void -SET_TexCoord1fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexCoord1fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1i) (GLint); - -#define CALL_TexCoord1i(disp, parameters) \ - (* GET_TexCoord1i(disp)) parameters -static inline _glptr_TexCoord1i -GET_TexCoord1i(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i)); -} - -static inline void -SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint)) -{ - SET_by_offset(disp, _gloffset_TexCoord1i, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1iv) (const GLint *); - -#define CALL_TexCoord1iv(disp, parameters) \ - (* GET_TexCoord1iv(disp)) parameters -static inline _glptr_TexCoord1iv -GET_TexCoord1iv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv)); -} - -static inline void -SET_TexCoord1iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexCoord1iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1s) (GLshort); - -#define CALL_TexCoord1s(disp, parameters) \ - (* GET_TexCoord1s(disp)) parameters -static inline _glptr_TexCoord1s -GET_TexCoord1s(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s)); -} - -static inline void -SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLshort)) -{ - SET_by_offset(disp, _gloffset_TexCoord1s, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord1sv) (const GLshort *); - -#define CALL_TexCoord1sv(disp, parameters) \ - (* GET_TexCoord1sv(disp)) parameters -static inline _glptr_TexCoord1sv -GET_TexCoord1sv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv)); -} - -static inline void -SET_TexCoord1sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_TexCoord1sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2d) (GLdouble, GLdouble); - -#define CALL_TexCoord2d(disp, parameters) \ - (* GET_TexCoord2d(disp)) parameters -static inline _glptr_TexCoord2d -GET_TexCoord2d(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d)); -} - -static inline void -SET_TexCoord2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_TexCoord2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2dv) (const GLdouble *); - -#define CALL_TexCoord2dv(disp, parameters) \ - (* GET_TexCoord2dv(disp)) parameters -static inline _glptr_TexCoord2dv -GET_TexCoord2dv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv)); -} - -static inline void -SET_TexCoord2dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_TexCoord2dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2f) (GLfloat, GLfloat); - -#define CALL_TexCoord2f(disp, parameters) \ - (* GET_TexCoord2f(disp)) parameters -static inline _glptr_TexCoord2f -GET_TexCoord2f(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f)); -} - -static inline void -SET_TexCoord2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexCoord2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2fv) (const GLfloat *); - -#define CALL_TexCoord2fv(disp, parameters) \ - (* GET_TexCoord2fv(disp)) parameters -static inline _glptr_TexCoord2fv -GET_TexCoord2fv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv)); -} - -static inline void -SET_TexCoord2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexCoord2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2i) (GLint, GLint); - -#define CALL_TexCoord2i(disp, parameters) \ - (* GET_TexCoord2i(disp)) parameters -static inline _glptr_TexCoord2i -GET_TexCoord2i(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i)); -} - -static inline void -SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_TexCoord2i, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2iv) (const GLint *); - -#define CALL_TexCoord2iv(disp, parameters) \ - (* GET_TexCoord2iv(disp)) parameters -static inline _glptr_TexCoord2iv -GET_TexCoord2iv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv)); -} - -static inline void -SET_TexCoord2iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexCoord2iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2s) (GLshort, GLshort); - -#define CALL_TexCoord2s(disp, parameters) \ - (* GET_TexCoord2s(disp)) parameters -static inline _glptr_TexCoord2s -GET_TexCoord2s(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s)); -} - -static inline void -SET_TexCoord2s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_TexCoord2s, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord2sv) (const GLshort *); - -#define CALL_TexCoord2sv(disp, parameters) \ - (* GET_TexCoord2sv(disp)) parameters -static inline _glptr_TexCoord2sv -GET_TexCoord2sv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv)); -} - -static inline void -SET_TexCoord2sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_TexCoord2sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3d) (GLdouble, GLdouble, GLdouble); - -#define CALL_TexCoord3d(disp, parameters) \ - (* GET_TexCoord3d(disp)) parameters -static inline _glptr_TexCoord3d -GET_TexCoord3d(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d)); -} - -static inline void -SET_TexCoord3d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_TexCoord3d, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3dv) (const GLdouble *); - -#define CALL_TexCoord3dv(disp, parameters) \ - (* GET_TexCoord3dv(disp)) parameters -static inline _glptr_TexCoord3dv -GET_TexCoord3dv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv)); -} - -static inline void -SET_TexCoord3dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_TexCoord3dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3f) (GLfloat, GLfloat, GLfloat); - -#define CALL_TexCoord3f(disp, parameters) \ - (* GET_TexCoord3f(disp)) parameters -static inline _glptr_TexCoord3f -GET_TexCoord3f(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f)); -} - -static inline void -SET_TexCoord3f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexCoord3f, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3fv) (const GLfloat *); - -#define CALL_TexCoord3fv(disp, parameters) \ - (* GET_TexCoord3fv(disp)) parameters -static inline _glptr_TexCoord3fv -GET_TexCoord3fv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv)); -} - -static inline void -SET_TexCoord3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexCoord3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3i) (GLint, GLint, GLint); - -#define CALL_TexCoord3i(disp, parameters) \ - (* GET_TexCoord3i(disp)) parameters -static inline _glptr_TexCoord3i -GET_TexCoord3i(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i)); -} - -static inline void -SET_TexCoord3i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_TexCoord3i, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3iv) (const GLint *); - -#define CALL_TexCoord3iv(disp, parameters) \ - (* GET_TexCoord3iv(disp)) parameters -static inline _glptr_TexCoord3iv -GET_TexCoord3iv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv)); -} - -static inline void -SET_TexCoord3iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexCoord3iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3s) (GLshort, GLshort, GLshort); - -#define CALL_TexCoord3s(disp, parameters) \ - (* GET_TexCoord3s(disp)) parameters -static inline _glptr_TexCoord3s -GET_TexCoord3s(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s)); -} - -static inline void -SET_TexCoord3s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_TexCoord3s, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord3sv) (const GLshort *); - -#define CALL_TexCoord3sv(disp, parameters) \ - (* GET_TexCoord3sv(disp)) parameters -static inline _glptr_TexCoord3sv -GET_TexCoord3sv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv)); -} - -static inline void -SET_TexCoord3sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_TexCoord3sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4d) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_TexCoord4d(disp, parameters) \ - (* GET_TexCoord4d(disp)) parameters -static inline _glptr_TexCoord4d -GET_TexCoord4d(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d)); -} - -static inline void -SET_TexCoord4d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_TexCoord4d, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4dv) (const GLdouble *); - -#define CALL_TexCoord4dv(disp, parameters) \ - (* GET_TexCoord4dv(disp)) parameters -static inline _glptr_TexCoord4dv -GET_TexCoord4dv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv)); -} - -static inline void -SET_TexCoord4dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_TexCoord4dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4f) (GLfloat, GLfloat, GLfloat, - GLfloat); -#define CALL_TexCoord4f(disp, parameters) \ - (* GET_TexCoord4f(disp)) parameters -static inline _glptr_TexCoord4f -GET_TexCoord4f(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f)); -} - -static inline void -SET_TexCoord4f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexCoord4f, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4fv) (const GLfloat *); - -#define CALL_TexCoord4fv(disp, parameters) \ - (* GET_TexCoord4fv(disp)) parameters -static inline _glptr_TexCoord4fv -GET_TexCoord4fv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv)); -} - -static inline void -SET_TexCoord4fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexCoord4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4i) (GLint, GLint, GLint, GLint); - -#define CALL_TexCoord4i(disp, parameters) \ - (* GET_TexCoord4i(disp)) parameters -static inline _glptr_TexCoord4i -GET_TexCoord4i(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i)); -} - -static inline void -SET_TexCoord4i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_TexCoord4i, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4iv) (const GLint *); - -#define CALL_TexCoord4iv(disp, parameters) \ - (* GET_TexCoord4iv(disp)) parameters -static inline _glptr_TexCoord4iv -GET_TexCoord4iv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv)); -} - -static inline void -SET_TexCoord4iv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexCoord4iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4s) (GLshort, GLshort, GLshort, - GLshort); -#define CALL_TexCoord4s(disp, parameters) \ - (* GET_TexCoord4s(disp)) parameters -static inline _glptr_TexCoord4s -GET_TexCoord4s(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s)); -} - -static inline void -SET_TexCoord4s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_TexCoord4s, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoord4sv) (const GLshort *); - -#define CALL_TexCoord4sv(disp, parameters) \ - (* GET_TexCoord4sv(disp)) parameters -static inline _glptr_TexCoord4sv -GET_TexCoord4sv(struct _glapi_table *disp) -{ - return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv)); -} - -static inline void -SET_TexCoord4sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_TexCoord4sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2d) (GLdouble, GLdouble); - -#define CALL_Vertex2d(disp, parameters) \ - (* GET_Vertex2d(disp)) parameters -static inline _glptr_Vertex2d -GET_Vertex2d(struct _glapi_table *disp) -{ - return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d)); -} - -static inline void -SET_Vertex2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Vertex2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2dv) (const GLdouble *); - -#define CALL_Vertex2dv(disp, parameters) \ - (* GET_Vertex2dv(disp)) parameters -static inline _glptr_Vertex2dv -GET_Vertex2dv(struct _glapi_table *disp) -{ - return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv)); -} - -static inline void -SET_Vertex2dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Vertex2dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2f) (GLfloat, GLfloat); - -#define CALL_Vertex2f(disp, parameters) \ - (* GET_Vertex2f(disp)) parameters -static inline _glptr_Vertex2f -GET_Vertex2f(struct _glapi_table *disp) -{ - return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f)); -} - -static inline void -SET_Vertex2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Vertex2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2fv) (const GLfloat *); - -#define CALL_Vertex2fv(disp, parameters) \ - (* GET_Vertex2fv(disp)) parameters -static inline _glptr_Vertex2fv -GET_Vertex2fv(struct _glapi_table *disp) -{ - return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv)); -} - -static inline void -SET_Vertex2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Vertex2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2i) (GLint, GLint); - -#define CALL_Vertex2i(disp, parameters) \ - (* GET_Vertex2i(disp)) parameters -static inline _glptr_Vertex2i -GET_Vertex2i(struct _glapi_table *disp) -{ - return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i)); -} - -static inline void -SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Vertex2i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2iv) (const GLint *); - -#define CALL_Vertex2iv(disp, parameters) \ - (* GET_Vertex2iv(disp)) parameters -static inline _glptr_Vertex2iv -GET_Vertex2iv(struct _glapi_table *disp) -{ - return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv)); -} - -static inline void -SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Vertex2iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2s) (GLshort, GLshort); - -#define CALL_Vertex2s(disp, parameters) \ - (* GET_Vertex2s(disp)) parameters -static inline _glptr_Vertex2s -GET_Vertex2s(struct _glapi_table *disp) -{ - return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s)); -} - -static inline void -SET_Vertex2s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Vertex2s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex2sv) (const GLshort *); - -#define CALL_Vertex2sv(disp, parameters) \ - (* GET_Vertex2sv(disp)) parameters -static inline _glptr_Vertex2sv -GET_Vertex2sv(struct _glapi_table *disp) -{ - return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv)); -} - -static inline void -SET_Vertex2sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Vertex2sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3d) (GLdouble, GLdouble, GLdouble); - -#define CALL_Vertex3d(disp, parameters) \ - (* GET_Vertex3d(disp)) parameters -static inline _glptr_Vertex3d -GET_Vertex3d(struct _glapi_table *disp) -{ - return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d)); -} - -static inline void -SET_Vertex3d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Vertex3d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3dv) (const GLdouble *); - -#define CALL_Vertex3dv(disp, parameters) \ - (* GET_Vertex3dv(disp)) parameters -static inline _glptr_Vertex3dv -GET_Vertex3dv(struct _glapi_table *disp) -{ - return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv)); -} - -static inline void -SET_Vertex3dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Vertex3dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3f) (GLfloat, GLfloat, GLfloat); - -#define CALL_Vertex3f(disp, parameters) \ - (* GET_Vertex3f(disp)) parameters -static inline _glptr_Vertex3f -GET_Vertex3f(struct _glapi_table *disp) -{ - return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f)); -} - -static inline void -SET_Vertex3f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Vertex3f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3fv) (const GLfloat *); - -#define CALL_Vertex3fv(disp, parameters) \ - (* GET_Vertex3fv(disp)) parameters -static inline _glptr_Vertex3fv -GET_Vertex3fv(struct _glapi_table *disp) -{ - return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv)); -} - -static inline void -SET_Vertex3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Vertex3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3i) (GLint, GLint, GLint); - -#define CALL_Vertex3i(disp, parameters) \ - (* GET_Vertex3i(disp)) parameters -static inline _glptr_Vertex3i -GET_Vertex3i(struct _glapi_table *disp) -{ - return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i)); -} - -static inline void -SET_Vertex3i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Vertex3i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3iv) (const GLint *); - -#define CALL_Vertex3iv(disp, parameters) \ - (* GET_Vertex3iv(disp)) parameters -static inline _glptr_Vertex3iv -GET_Vertex3iv(struct _glapi_table *disp) -{ - return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv)); -} - -static inline void -SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Vertex3iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3s) (GLshort, GLshort, GLshort); - -#define CALL_Vertex3s(disp, parameters) \ - (* GET_Vertex3s(disp)) parameters -static inline _glptr_Vertex3s -GET_Vertex3s(struct _glapi_table *disp) -{ - return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s)); -} - -static inline void -SET_Vertex3s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Vertex3s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex3sv) (const GLshort *); - -#define CALL_Vertex3sv(disp, parameters) \ - (* GET_Vertex3sv(disp)) parameters -static inline _glptr_Vertex3sv -GET_Vertex3sv(struct _glapi_table *disp) -{ - return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv)); -} - -static inline void -SET_Vertex3sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Vertex3sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4d) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_Vertex4d(disp, parameters) \ - (* GET_Vertex4d(disp)) parameters -static inline _glptr_Vertex4d -GET_Vertex4d(struct _glapi_table *disp) -{ - return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d)); -} - -static inline void -SET_Vertex4d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Vertex4d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4dv) (const GLdouble *); - -#define CALL_Vertex4dv(disp, parameters) \ - (* GET_Vertex4dv(disp)) parameters -static inline _glptr_Vertex4dv -GET_Vertex4dv(struct _glapi_table *disp) -{ - return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv)); -} - -static inline void -SET_Vertex4dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Vertex4dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4f) (GLfloat, GLfloat, GLfloat, GLfloat); - -#define CALL_Vertex4f(disp, parameters) \ - (* GET_Vertex4f(disp)) parameters -static inline _glptr_Vertex4f -GET_Vertex4f(struct _glapi_table *disp) -{ - return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f)); -} - -static inline void -SET_Vertex4f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Vertex4f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4fv) (const GLfloat *); - -#define CALL_Vertex4fv(disp, parameters) \ - (* GET_Vertex4fv(disp)) parameters -static inline _glptr_Vertex4fv -GET_Vertex4fv(struct _glapi_table *disp) -{ - return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv)); -} - -static inline void -SET_Vertex4fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Vertex4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4i) (GLint, GLint, GLint, GLint); - -#define CALL_Vertex4i(disp, parameters) \ - (* GET_Vertex4i(disp)) parameters -static inline _glptr_Vertex4i -GET_Vertex4i(struct _glapi_table *disp) -{ - return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i)); -} - -static inline void -SET_Vertex4i(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Vertex4i, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4iv) (const GLint *); - -#define CALL_Vertex4iv(disp, parameters) \ - (* GET_Vertex4iv(disp)) parameters -static inline _glptr_Vertex4iv -GET_Vertex4iv(struct _glapi_table *disp) -{ - return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv)); -} - -static inline void -SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_Vertex4iv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4s) (GLshort, GLshort, GLshort, GLshort); - -#define CALL_Vertex4s(disp, parameters) \ - (* GET_Vertex4s(disp)) parameters -static inline _glptr_Vertex4s -GET_Vertex4s(struct _glapi_table *disp) -{ - return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s)); -} - -static inline void -SET_Vertex4s(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_Vertex4s, fn); -} - -typedef void (GLAPIENTRYP _glptr_Vertex4sv) (const GLshort *); - -#define CALL_Vertex4sv(disp, parameters) \ - (* GET_Vertex4sv(disp)) parameters -static inline _glptr_Vertex4sv -GET_Vertex4sv(struct _glapi_table *disp) -{ - return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv)); -} - -static inline void -SET_Vertex4sv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_Vertex4sv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClipPlane) (GLenum, const GLdouble *); - -#define CALL_ClipPlane(disp, parameters) \ - (* GET_ClipPlane(disp)) parameters -static inline _glptr_ClipPlane -GET_ClipPlane(struct _glapi_table *disp) -{ - return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane)); -} - -static inline void -SET_ClipPlane(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_ClipPlane, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorMaterial) (GLenum, GLenum); - -#define CALL_ColorMaterial(disp, parameters) \ - (* GET_ColorMaterial(disp)) parameters -static inline _glptr_ColorMaterial -GET_ColorMaterial(struct _glapi_table *disp) -{ - return (_glptr_ColorMaterial) (GET_by_offset - (disp, _gloffset_ColorMaterial)); -} - -static inline void -SET_ColorMaterial(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_ColorMaterial, fn); -} - -typedef void (GLAPIENTRYP _glptr_CullFace) (GLenum); - -#define CALL_CullFace(disp, parameters) \ - (* GET_CullFace(disp)) parameters -static inline _glptr_CullFace -GET_CullFace(struct _glapi_table *disp) -{ - return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace)); -} - -static inline void -SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_CullFace, fn); -} - -typedef void (GLAPIENTRYP _glptr_Fogf) (GLenum, GLfloat); - -#define CALL_Fogf(disp, parameters) \ - (* GET_Fogf(disp)) parameters -static inline _glptr_Fogf -GET_Fogf(struct _glapi_table *disp) -{ - return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf)); -} - -static inline void -SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Fogf, fn); -} - -typedef void (GLAPIENTRYP _glptr_Fogfv) (GLenum, const GLfloat *); - -#define CALL_Fogfv(disp, parameters) \ - (* GET_Fogfv(disp)) parameters -static inline _glptr_Fogfv -GET_Fogfv(struct _glapi_table *disp) -{ - return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv)); -} - -static inline void -SET_Fogfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Fogfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Fogi) (GLenum, GLint); - -#define CALL_Fogi(disp, parameters) \ - (* GET_Fogi(disp)) parameters -static inline _glptr_Fogi -GET_Fogi(struct _glapi_table *disp) -{ - return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi)); -} - -static inline void -SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_Fogi, fn); -} - -typedef void (GLAPIENTRYP _glptr_Fogiv) (GLenum, const GLint *); - -#define CALL_Fogiv(disp, parameters) \ - (* GET_Fogiv(disp)) parameters -static inline _glptr_Fogiv -GET_Fogiv(struct _glapi_table *disp) -{ - return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv)); -} - -static inline void -SET_Fogiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Fogiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_FrontFace) (GLenum); - -#define CALL_FrontFace(disp, parameters) \ - (* GET_FrontFace(disp)) parameters -static inline _glptr_FrontFace -GET_FrontFace(struct _glapi_table *disp) -{ - return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace)); -} - -static inline void -SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_FrontFace, fn); -} - -typedef void (GLAPIENTRYP _glptr_Hint) (GLenum, GLenum); - -#define CALL_Hint(disp, parameters) \ - (* GET_Hint(disp)) parameters -static inline _glptr_Hint -GET_Hint(struct _glapi_table *disp) -{ - return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint)); -} - -static inline void -SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_Hint, fn); -} - -typedef void (GLAPIENTRYP _glptr_Lightf) (GLenum, GLenum, GLfloat); - -#define CALL_Lightf(disp, parameters) \ - (* GET_Lightf(disp)) parameters -static inline _glptr_Lightf -GET_Lightf(struct _glapi_table *disp) -{ - return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf)); -} - -static inline void -SET_Lightf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Lightf, fn); -} - -typedef void (GLAPIENTRYP _glptr_Lightfv) (GLenum, GLenum, const GLfloat *); - -#define CALL_Lightfv(disp, parameters) \ - (* GET_Lightfv(disp)) parameters -static inline _glptr_Lightfv -GET_Lightfv(struct _glapi_table *disp) -{ - return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv)); -} - -static inline void -SET_Lightfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Lightfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Lighti) (GLenum, GLenum, GLint); - -#define CALL_Lighti(disp, parameters) \ - (* GET_Lighti(disp)) parameters -static inline _glptr_Lighti -GET_Lighti(struct _glapi_table *disp) -{ - return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti)); -} - -static inline void -SET_Lighti(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_Lighti, fn); -} - -typedef void (GLAPIENTRYP _glptr_Lightiv) (GLenum, GLenum, const GLint *); - -#define CALL_Lightiv(disp, parameters) \ - (* GET_Lightiv(disp)) parameters -static inline _glptr_Lightiv -GET_Lightiv(struct _glapi_table *disp) -{ - return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv)); -} - -static inline void -SET_Lightiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Lightiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_LightModelf) (GLenum, GLfloat); - -#define CALL_LightModelf(disp, parameters) \ - (* GET_LightModelf(disp)) parameters -static inline _glptr_LightModelf -GET_LightModelf(struct _glapi_table *disp) -{ - return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf)); -} - -static inline void -SET_LightModelf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_LightModelf, fn); -} - -typedef void (GLAPIENTRYP _glptr_LightModelfv) (GLenum, const GLfloat *); - -#define CALL_LightModelfv(disp, parameters) \ - (* GET_LightModelfv(disp)) parameters -static inline _glptr_LightModelfv -GET_LightModelfv(struct _glapi_table *disp) -{ - return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv)); -} - -static inline void -SET_LightModelfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_LightModelfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_LightModeli) (GLenum, GLint); - -#define CALL_LightModeli(disp, parameters) \ - (* GET_LightModeli(disp)) parameters -static inline _glptr_LightModeli -GET_LightModeli(struct _glapi_table *disp) -{ - return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli)); -} - -static inline void -SET_LightModeli(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_LightModeli, fn); -} - -typedef void (GLAPIENTRYP _glptr_LightModeliv) (GLenum, const GLint *); - -#define CALL_LightModeliv(disp, parameters) \ - (* GET_LightModeliv(disp)) parameters -static inline _glptr_LightModeliv -GET_LightModeliv(struct _glapi_table *disp) -{ - return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv)); -} - -static inline void -SET_LightModeliv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_LightModeliv, fn); -} - -typedef void (GLAPIENTRYP _glptr_LineStipple) (GLint, GLushort); - -#define CALL_LineStipple(disp, parameters) \ - (* GET_LineStipple(disp)) parameters -static inline _glptr_LineStipple -GET_LineStipple(struct _glapi_table *disp) -{ - return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple)); -} - -static inline void -SET_LineStipple(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLushort)) -{ - SET_by_offset(disp, _gloffset_LineStipple, fn); -} - -typedef void (GLAPIENTRYP _glptr_LineWidth) (GLfloat); - -#define CALL_LineWidth(disp, parameters) \ - (* GET_LineWidth(disp)) parameters -static inline _glptr_LineWidth -GET_LineWidth(struct _glapi_table *disp) -{ - return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth)); -} - -static inline void -SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_LineWidth, fn); -} - -typedef void (GLAPIENTRYP _glptr_Materialf) (GLenum, GLenum, GLfloat); - -#define CALL_Materialf(disp, parameters) \ - (* GET_Materialf(disp)) parameters -static inline _glptr_Materialf -GET_Materialf(struct _glapi_table *disp) -{ - return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf)); -} - -static inline void -SET_Materialf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Materialf, fn); -} - -typedef void (GLAPIENTRYP _glptr_Materialfv) (GLenum, GLenum, const GLfloat *); - -#define CALL_Materialfv(disp, parameters) \ - (* GET_Materialfv(disp)) parameters -static inline _glptr_Materialfv -GET_Materialfv(struct _glapi_table *disp) -{ - return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv)); -} - -static inline void -SET_Materialfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Materialfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Materiali) (GLenum, GLenum, GLint); - -#define CALL_Materiali(disp, parameters) \ - (* GET_Materiali(disp)) parameters -static inline _glptr_Materiali -GET_Materiali(struct _glapi_table *disp) -{ - return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali)); -} - -static inline void -SET_Materiali(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_Materiali, fn); -} - -typedef void (GLAPIENTRYP _glptr_Materialiv) (GLenum, GLenum, const GLint *); - -#define CALL_Materialiv(disp, parameters) \ - (* GET_Materialiv(disp)) parameters -static inline _glptr_Materialiv -GET_Materialiv(struct _glapi_table *disp) -{ - return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv)); -} - -static inline void -SET_Materialiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Materialiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_PointSize) (GLfloat); - -#define CALL_PointSize(disp, parameters) \ - (* GET_PointSize(disp)) parameters -static inline _glptr_PointSize -GET_PointSize(struct _glapi_table *disp) -{ - return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize)); -} - -static inline void -SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_PointSize, fn); -} - -typedef void (GLAPIENTRYP _glptr_PolygonMode) (GLenum, GLenum); - -#define CALL_PolygonMode(disp, parameters) \ - (* GET_PolygonMode(disp)) parameters -static inline _glptr_PolygonMode -GET_PolygonMode(struct _glapi_table *disp) -{ - return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode)); -} - -static inline void -SET_PolygonMode(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_PolygonMode, fn); -} - -typedef void (GLAPIENTRYP _glptr_PolygonStipple) (const GLubyte *); - -#define CALL_PolygonStipple(disp, parameters) \ - (* GET_PolygonStipple(disp)) parameters -static inline _glptr_PolygonStipple -GET_PolygonStipple(struct _glapi_table *disp) -{ - return (_glptr_PolygonStipple) (GET_by_offset - (disp, _gloffset_PolygonStipple)); -} - -static inline void -SET_PolygonStipple(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_PolygonStipple, fn); -} - -typedef void (GLAPIENTRYP _glptr_Scissor) (GLint, GLint, GLsizei, GLsizei); - -#define CALL_Scissor(disp, parameters) \ - (* GET_Scissor(disp)) parameters -static inline _glptr_Scissor -GET_Scissor(struct _glapi_table *disp) -{ - return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor)); -} - -static inline void -SET_Scissor(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_Scissor, fn); -} - -typedef void (GLAPIENTRYP _glptr_ShadeModel) (GLenum); - -#define CALL_ShadeModel(disp, parameters) \ - (* GET_ShadeModel(disp)) parameters -static inline _glptr_ShadeModel -GET_ShadeModel(struct _glapi_table *disp) -{ - return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel)); -} - -static inline void -SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ShadeModel, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameterf) (GLenum, GLenum, GLfloat); - -#define CALL_TexParameterf(disp, parameters) \ - (* GET_TexParameterf(disp)) parameters -static inline _glptr_TexParameterf -GET_TexParameterf(struct _glapi_table *disp) -{ - return (_glptr_TexParameterf) (GET_by_offset - (disp, _gloffset_TexParameterf)); -} - -static inline void -SET_TexParameterf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexParameterf, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameterfv) (GLenum, GLenum, - const GLfloat *); -#define CALL_TexParameterfv(disp, parameters) \ - (* GET_TexParameterfv(disp)) parameters -static inline _glptr_TexParameterfv -GET_TexParameterfv(struct _glapi_table *disp) -{ - return (_glptr_TexParameterfv) (GET_by_offset - (disp, _gloffset_TexParameterfv)); -} - -static inline void -SET_TexParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameteri) (GLenum, GLenum, GLint); - -#define CALL_TexParameteri(disp, parameters) \ - (* GET_TexParameteri(disp)) parameters -static inline _glptr_TexParameteri -GET_TexParameteri(struct _glapi_table *disp) -{ - return (_glptr_TexParameteri) (GET_by_offset - (disp, _gloffset_TexParameteri)); -} - -static inline void -SET_TexParameteri(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_TexParameteri, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameteriv) (GLenum, GLenum, - const GLint *); -#define CALL_TexParameteriv(disp, parameters) \ - (* GET_TexParameteriv(disp)) parameters -static inline _glptr_TexParameteriv -GET_TexParameteriv(struct _glapi_table *disp) -{ - return (_glptr_TexParameteriv) (GET_by_offset - (disp, _gloffset_TexParameteriv)); -} - -static inline void -SET_TexParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexImage1D) (GLenum, GLint, GLint, GLsizei, - GLint, GLenum, GLenum, - const GLvoid *); -#define CALL_TexImage1D(disp, parameters) \ - (* GET_TexImage1D(disp)) parameters -static inline _glptr_TexImage1D -GET_TexImage1D(struct _glapi_table *disp) -{ - return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D)); -} - -static inline void -SET_TexImage1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLint, - GLenum, GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexImage1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexImage2D) (GLenum, GLint, GLint, GLsizei, - GLsizei, GLint, GLenum, GLenum, - const GLvoid *); -#define CALL_TexImage2D(disp, parameters) \ - (* GET_TexImage2D(disp)) parameters -static inline _glptr_TexImage2D -GET_TexImage2D(struct _glapi_table *disp) -{ - return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D)); -} - -static inline void -SET_TexImage2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLsizei, - GLint, GLenum, GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexImage2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexEnvf) (GLenum, GLenum, GLfloat); - -#define CALL_TexEnvf(disp, parameters) \ - (* GET_TexEnvf(disp)) parameters -static inline _glptr_TexEnvf -GET_TexEnvf(struct _glapi_table *disp) -{ - return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf)); -} - -static inline void -SET_TexEnvf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexEnvf, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexEnvfv) (GLenum, GLenum, const GLfloat *); - -#define CALL_TexEnvfv(disp, parameters) \ - (* GET_TexEnvfv(disp)) parameters -static inline _glptr_TexEnvfv -GET_TexEnvfv(struct _glapi_table *disp) -{ - return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv)); -} - -static inline void -SET_TexEnvfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexEnvfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexEnvi) (GLenum, GLenum, GLint); - -#define CALL_TexEnvi(disp, parameters) \ - (* GET_TexEnvi(disp)) parameters -static inline _glptr_TexEnvi -GET_TexEnvi(struct _glapi_table *disp) -{ - return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi)); -} - -static inline void -SET_TexEnvi(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_TexEnvi, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexEnviv) (GLenum, GLenum, const GLint *); - -#define CALL_TexEnviv(disp, parameters) \ - (* GET_TexEnviv(disp)) parameters -static inline _glptr_TexEnviv -GET_TexEnviv(struct _glapi_table *disp) -{ - return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv)); -} - -static inline void -SET_TexEnviv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexEnviv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGend) (GLenum, GLenum, GLdouble); - -#define CALL_TexGend(disp, parameters) \ - (* GET_TexGend(disp)) parameters -static inline _glptr_TexGend -GET_TexGend(struct _glapi_table *disp) -{ - return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend)); -} - -static inline void -SET_TexGend(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble)) -{ - SET_by_offset(disp, _gloffset_TexGend, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGendv) (GLenum, GLenum, const GLdouble *); - -#define CALL_TexGendv(disp, parameters) \ - (* GET_TexGendv(disp)) parameters -static inline _glptr_TexGendv -GET_TexGendv(struct _glapi_table *disp) -{ - return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv)); -} - -static inline void -SET_TexGendv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_TexGendv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGenf) (GLenum, GLenum, GLfloat); - -#define CALL_TexGenf(disp, parameters) \ - (* GET_TexGenf(disp)) parameters -static inline _glptr_TexGenf -GET_TexGenf(struct _glapi_table *disp) -{ - return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf)); -} - -static inline void -SET_TexGenf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_TexGenf, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGenfv) (GLenum, GLenum, const GLfloat *); - -#define CALL_TexGenfv(disp, parameters) \ - (* GET_TexGenfv(disp)) parameters -static inline _glptr_TexGenfv -GET_TexGenfv(struct _glapi_table *disp) -{ - return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv)); -} - -static inline void -SET_TexGenfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexGenfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGeni) (GLenum, GLenum, GLint); - -#define CALL_TexGeni(disp, parameters) \ - (* GET_TexGeni(disp)) parameters -static inline _glptr_TexGeni -GET_TexGeni(struct _glapi_table *disp) -{ - return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni)); -} - -static inline void -SET_TexGeni(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_TexGeni, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexGeniv) (GLenum, GLenum, const GLint *); - -#define CALL_TexGeniv(disp, parameters) \ - (* GET_TexGeniv(disp)) parameters -static inline _glptr_TexGeniv -GET_TexGeniv(struct _glapi_table *disp) -{ - return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv)); -} - -static inline void -SET_TexGeniv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexGeniv, fn); -} - -typedef void (GLAPIENTRYP _glptr_FeedbackBuffer) (GLsizei, GLenum, GLfloat *); - -#define CALL_FeedbackBuffer(disp, parameters) \ - (* GET_FeedbackBuffer(disp)) parameters -static inline _glptr_FeedbackBuffer -GET_FeedbackBuffer(struct _glapi_table *disp) -{ - return (_glptr_FeedbackBuffer) (GET_by_offset - (disp, _gloffset_FeedbackBuffer)); -} - -static inline void -SET_FeedbackBuffer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_FeedbackBuffer, fn); -} - -typedef void (GLAPIENTRYP _glptr_SelectBuffer) (GLsizei, GLuint *); - -#define CALL_SelectBuffer(disp, parameters) \ - (* GET_SelectBuffer(disp)) parameters -static inline _glptr_SelectBuffer -GET_SelectBuffer(struct _glapi_table *disp) -{ - return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer)); -} - -static inline void -SET_SelectBuffer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_SelectBuffer, fn); -} - -typedef GLint(GLAPIENTRYP _glptr_RenderMode) (GLenum); - -#define CALL_RenderMode(disp, parameters) \ - (* GET_RenderMode(disp)) parameters -static inline _glptr_RenderMode -GET_RenderMode(struct _glapi_table *disp) -{ - return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode)); -} - -static inline void -SET_RenderMode(struct _glapi_table *disp, GLint(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_RenderMode, fn); -} - -typedef void (GLAPIENTRYP _glptr_InitNames) (void); - -#define CALL_InitNames(disp, parameters) \ - (* GET_InitNames(disp)) parameters -static inline _glptr_InitNames -GET_InitNames(struct _glapi_table *disp) -{ - return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames)); -} - -static inline void -SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_InitNames, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadName) (GLuint); - -#define CALL_LoadName(disp, parameters) \ - (* GET_LoadName(disp)) parameters -static inline _glptr_LoadName -GET_LoadName(struct _glapi_table *disp) -{ - return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName)); -} - -static inline void -SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_LoadName, fn); -} - -typedef void (GLAPIENTRYP _glptr_PassThrough) (GLfloat); - -#define CALL_PassThrough(disp, parameters) \ - (* GET_PassThrough(disp)) parameters -static inline _glptr_PassThrough -GET_PassThrough(struct _glapi_table *disp) -{ - return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough)); -} - -static inline void -SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_PassThrough, fn); -} - -typedef void (GLAPIENTRYP _glptr_PopName) (void); - -#define CALL_PopName(disp, parameters) \ - (* GET_PopName(disp)) parameters -static inline _glptr_PopName -GET_PopName(struct _glapi_table *disp) -{ - return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName)); -} - -static inline void -SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PopName, fn); -} - -typedef void (GLAPIENTRYP _glptr_PushName) (GLuint); - -#define CALL_PushName(disp, parameters) \ - (* GET_PushName(disp)) parameters -static inline _glptr_PushName -GET_PushName(struct _glapi_table *disp) -{ - return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName)); -} - -static inline void -SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_PushName, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawBuffer) (GLenum); - -#define CALL_DrawBuffer(disp, parameters) \ - (* GET_DrawBuffer(disp)) parameters -static inline _glptr_DrawBuffer -GET_DrawBuffer(struct _glapi_table *disp) -{ - return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer)); -} - -static inline void -SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_DrawBuffer, fn); -} - -typedef void (GLAPIENTRYP _glptr_Clear) (GLbitfield); - -#define CALL_Clear(disp, parameters) \ - (* GET_Clear(disp)) parameters -static inline _glptr_Clear -GET_Clear(struct _glapi_table *disp) -{ - return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear)); -} - -static inline void -SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLbitfield)) -{ - SET_by_offset(disp, _gloffset_Clear, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearAccum) (GLfloat, GLfloat, GLfloat, - GLfloat); -#define CALL_ClearAccum(disp, parameters) \ - (* GET_ClearAccum(disp)) parameters -static inline _glptr_ClearAccum -GET_ClearAccum(struct _glapi_table *disp) -{ - return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum)); -} - -static inline void -SET_ClearAccum(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_ClearAccum, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearIndex) (GLfloat); - -#define CALL_ClearIndex(disp, parameters) \ - (* GET_ClearIndex(disp)) parameters -static inline _glptr_ClearIndex -GET_ClearIndex(struct _glapi_table *disp) -{ - return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex)); -} - -static inline void -SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_ClearIndex, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearColor) (GLclampf, GLclampf, GLclampf, - GLclampf); -#define CALL_ClearColor(disp, parameters) \ - (* GET_ClearColor(disp)) parameters -static inline _glptr_ClearColor -GET_ClearColor(struct _glapi_table *disp) -{ - return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor)); -} - -static inline void -SET_ClearColor(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampf, GLclampf, GLclampf, GLclampf)) -{ - SET_by_offset(disp, _gloffset_ClearColor, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearStencil) (GLint); - -#define CALL_ClearStencil(disp, parameters) \ - (* GET_ClearStencil(disp)) parameters -static inline _glptr_ClearStencil -GET_ClearStencil(struct _glapi_table *disp) -{ - return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil)); -} - -static inline void -SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint)) -{ - SET_by_offset(disp, _gloffset_ClearStencil, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearDepth) (GLclampd); - -#define CALL_ClearDepth(disp, parameters) \ - (* GET_ClearDepth(disp)) parameters -static inline _glptr_ClearDepth -GET_ClearDepth(struct _glapi_table *disp) -{ - return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth)); -} - -static inline void -SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLclampd)) -{ - SET_by_offset(disp, _gloffset_ClearDepth, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilMask) (GLuint); - -#define CALL_StencilMask(disp, parameters) \ - (* GET_StencilMask(disp)) parameters -static inline _glptr_StencilMask -GET_StencilMask(struct _glapi_table *disp) -{ - return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask)); -} - -static inline void -SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_StencilMask, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorMask) (GLboolean, GLboolean, GLboolean, - GLboolean); -#define CALL_ColorMask(disp, parameters) \ - (* GET_ColorMask(disp)) parameters -static inline _glptr_ColorMask -GET_ColorMask(struct _glapi_table *disp) -{ - return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask)); -} - -static inline void -SET_ColorMask(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLboolean, GLboolean, GLboolean, - GLboolean)) -{ - SET_by_offset(disp, _gloffset_ColorMask, fn); -} - -typedef void (GLAPIENTRYP _glptr_DepthMask) (GLboolean); - -#define CALL_DepthMask(disp, parameters) \ - (* GET_DepthMask(disp)) parameters -static inline _glptr_DepthMask -GET_DepthMask(struct _glapi_table *disp) -{ - return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask)); -} - -static inline void -SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLboolean)) -{ - SET_by_offset(disp, _gloffset_DepthMask, fn); -} - -typedef void (GLAPIENTRYP _glptr_IndexMask) (GLuint); - -#define CALL_IndexMask(disp, parameters) \ - (* GET_IndexMask(disp)) parameters -static inline _glptr_IndexMask -GET_IndexMask(struct _glapi_table *disp) -{ - return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask)); -} - -static inline void -SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IndexMask, fn); -} - -typedef void (GLAPIENTRYP _glptr_Accum) (GLenum, GLfloat); - -#define CALL_Accum(disp, parameters) \ - (* GET_Accum(disp)) parameters -static inline _glptr_Accum -GET_Accum(struct _glapi_table *disp) -{ - return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum)); -} - -static inline void -SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Accum, fn); -} - -typedef void (GLAPIENTRYP _glptr_Disable) (GLenum); - -#define CALL_Disable(disp, parameters) \ - (* GET_Disable(disp)) parameters -static inline _glptr_Disable -GET_Disable(struct _glapi_table *disp) -{ - return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable)); -} - -static inline void -SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_Disable, fn); -} - -typedef void (GLAPIENTRYP _glptr_Enable) (GLenum); - -#define CALL_Enable(disp, parameters) \ - (* GET_Enable(disp)) parameters -static inline _glptr_Enable -GET_Enable(struct _glapi_table *disp) -{ - return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable)); -} - -static inline void -SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_Enable, fn); -} - -typedef void (GLAPIENTRYP _glptr_Finish) (void); - -#define CALL_Finish(disp, parameters) \ - (* GET_Finish(disp)) parameters -static inline _glptr_Finish -GET_Finish(struct _glapi_table *disp) -{ - return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish)); -} - -static inline void -SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_Finish, fn); -} - -typedef void (GLAPIENTRYP _glptr_Flush) (void); - -#define CALL_Flush(disp, parameters) \ - (* GET_Flush(disp)) parameters -static inline _glptr_Flush -GET_Flush(struct _glapi_table *disp) -{ - return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush)); -} - -static inline void -SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_Flush, fn); -} - -typedef void (GLAPIENTRYP _glptr_PopAttrib) (void); - -#define CALL_PopAttrib(disp, parameters) \ - (* GET_PopAttrib(disp)) parameters -static inline _glptr_PopAttrib -GET_PopAttrib(struct _glapi_table *disp) -{ - return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib)); -} - -static inline void -SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PopAttrib, fn); -} - -typedef void (GLAPIENTRYP _glptr_PushAttrib) (GLbitfield); - -#define CALL_PushAttrib(disp, parameters) \ - (* GET_PushAttrib(disp)) parameters -static inline _glptr_PushAttrib -GET_PushAttrib(struct _glapi_table *disp) -{ - return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib)); -} - -static inline void -SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLbitfield)) -{ - SET_by_offset(disp, _gloffset_PushAttrib, fn); -} - -typedef void (GLAPIENTRYP _glptr_Map1d) (GLenum, GLdouble, GLdouble, GLint, - GLint, const GLdouble *); -#define CALL_Map1d(disp, parameters) \ - (* GET_Map1d(disp)) parameters -static inline _glptr_Map1d -GET_Map1d(struct _glapi_table *disp) -{ - return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d)); -} - -static inline void -SET_Map1d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, GLint, GLint, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Map1d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Map1f) (GLenum, GLfloat, GLfloat, GLint, GLint, - const GLfloat *); -#define CALL_Map1f(disp, parameters) \ - (* GET_Map1f(disp)) parameters -static inline _glptr_Map1f -GET_Map1f(struct _glapi_table *disp) -{ - return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f)); -} - -static inline void -SET_Map1f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLint, GLint, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Map1f, fn); -} - -typedef void (GLAPIENTRYP _glptr_Map2d) (GLenum, GLdouble, GLdouble, GLint, - GLint, GLdouble, GLdouble, GLint, - GLint, const GLdouble *); -#define CALL_Map2d(disp, parameters) \ - (* GET_Map2d(disp)) parameters -static inline _glptr_Map2d -GET_Map2d(struct _glapi_table *disp) -{ - return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d)); -} - -static inline void -SET_Map2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, GLint, GLint, - GLdouble, GLdouble, GLint, GLint, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_Map2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_Map2f) (GLenum, GLfloat, GLfloat, GLint, GLint, - GLfloat, GLfloat, GLint, GLint, - const GLfloat *); -#define CALL_Map2f(disp, parameters) \ - (* GET_Map2f(disp)) parameters -static inline _glptr_Map2f -GET_Map2f(struct _glapi_table *disp) -{ - return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f)); -} - -static inline void -SET_Map2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLint, GLint, - GLfloat, GLfloat, GLint, GLint, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Map2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_MapGrid1d) (GLint, GLdouble, GLdouble); - -#define CALL_MapGrid1d(disp, parameters) \ - (* GET_MapGrid1d(disp)) parameters -static inline _glptr_MapGrid1d -GET_MapGrid1d(struct _glapi_table *disp) -{ - return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d)); -} - -static inline void -SET_MapGrid1d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_MapGrid1d, fn); -} - -typedef void (GLAPIENTRYP _glptr_MapGrid1f) (GLint, GLfloat, GLfloat); - -#define CALL_MapGrid1f(disp, parameters) \ - (* GET_MapGrid1f(disp)) parameters -static inline _glptr_MapGrid1f -GET_MapGrid1f(struct _glapi_table *disp) -{ - return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f)); -} - -static inline void -SET_MapGrid1f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_MapGrid1f, fn); -} - -typedef void (GLAPIENTRYP _glptr_MapGrid2d) (GLint, GLdouble, GLdouble, GLint, - GLdouble, GLdouble); -#define CALL_MapGrid2d(disp, parameters) \ - (* GET_MapGrid2d(disp)) parameters -static inline _glptr_MapGrid2d -GET_MapGrid2d(struct _glapi_table *disp) -{ - return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d)); -} - -static inline void -SET_MapGrid2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLdouble, GLdouble, GLint, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_MapGrid2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_MapGrid2f) (GLint, GLfloat, GLfloat, GLint, - GLfloat, GLfloat); -#define CALL_MapGrid2f(disp, parameters) \ - (* GET_MapGrid2f(disp)) parameters -static inline _glptr_MapGrid2f -GET_MapGrid2f(struct _glapi_table *disp) -{ - return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f)); -} - -static inline void -SET_MapGrid2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLint, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_MapGrid2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord1d) (GLdouble); - -#define CALL_EvalCoord1d(disp, parameters) \ - (* GET_EvalCoord1d(disp)) parameters -static inline _glptr_EvalCoord1d -GET_EvalCoord1d(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d)); -} - -static inline void -SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble)) -{ - SET_by_offset(disp, _gloffset_EvalCoord1d, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord1dv) (const GLdouble *); - -#define CALL_EvalCoord1dv(disp, parameters) \ - (* GET_EvalCoord1dv(disp)) parameters -static inline _glptr_EvalCoord1dv -GET_EvalCoord1dv(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv)); -} - -static inline void -SET_EvalCoord1dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_EvalCoord1dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord1f) (GLfloat); - -#define CALL_EvalCoord1f(disp, parameters) \ - (* GET_EvalCoord1f(disp)) parameters -static inline _glptr_EvalCoord1f -GET_EvalCoord1f(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f)); -} - -static inline void -SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_EvalCoord1f, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord1fv) (const GLfloat *); - -#define CALL_EvalCoord1fv(disp, parameters) \ - (* GET_EvalCoord1fv(disp)) parameters -static inline _glptr_EvalCoord1fv -GET_EvalCoord1fv(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv)); -} - -static inline void -SET_EvalCoord1fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_EvalCoord1fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord2d) (GLdouble, GLdouble); - -#define CALL_EvalCoord2d(disp, parameters) \ - (* GET_EvalCoord2d(disp)) parameters -static inline _glptr_EvalCoord2d -GET_EvalCoord2d(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d)); -} - -static inline void -SET_EvalCoord2d(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_EvalCoord2d, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord2dv) (const GLdouble *); - -#define CALL_EvalCoord2dv(disp, parameters) \ - (* GET_EvalCoord2dv(disp)) parameters -static inline _glptr_EvalCoord2dv -GET_EvalCoord2dv(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv)); -} - -static inline void -SET_EvalCoord2dv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_EvalCoord2dv, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord2f) (GLfloat, GLfloat); - -#define CALL_EvalCoord2f(disp, parameters) \ - (* GET_EvalCoord2f(disp)) parameters -static inline _glptr_EvalCoord2f -GET_EvalCoord2f(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f)); -} - -static inline void -SET_EvalCoord2f(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_EvalCoord2f, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalCoord2fv) (const GLfloat *); - -#define CALL_EvalCoord2fv(disp, parameters) \ - (* GET_EvalCoord2fv(disp)) parameters -static inline _glptr_EvalCoord2fv -GET_EvalCoord2fv(struct _glapi_table *disp) -{ - return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv)); -} - -static inline void -SET_EvalCoord2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_EvalCoord2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalMesh1) (GLenum, GLint, GLint); - -#define CALL_EvalMesh1(disp, parameters) \ - (* GET_EvalMesh1(disp)) parameters -static inline _glptr_EvalMesh1 -GET_EvalMesh1(struct _glapi_table *disp) -{ - return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1)); -} - -static inline void -SET_EvalMesh1(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_EvalMesh1, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalPoint1) (GLint); - -#define CALL_EvalPoint1(disp, parameters) \ - (* GET_EvalPoint1(disp)) parameters -static inline _glptr_EvalPoint1 -GET_EvalPoint1(struct _glapi_table *disp) -{ - return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1)); -} - -static inline void -SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint)) -{ - SET_by_offset(disp, _gloffset_EvalPoint1, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalMesh2) (GLenum, GLint, GLint, GLint, - GLint); -#define CALL_EvalMesh2(disp, parameters) \ - (* GET_EvalMesh2(disp)) parameters -static inline _glptr_EvalMesh2 -GET_EvalMesh2(struct _glapi_table *disp) -{ - return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2)); -} - -static inline void -SET_EvalMesh2(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_EvalMesh2, fn); -} - -typedef void (GLAPIENTRYP _glptr_EvalPoint2) (GLint, GLint); - -#define CALL_EvalPoint2(disp, parameters) \ - (* GET_EvalPoint2(disp)) parameters -static inline _glptr_EvalPoint2 -GET_EvalPoint2(struct _glapi_table *disp) -{ - return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2)); -} - -static inline void -SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_EvalPoint2, fn); -} - -typedef void (GLAPIENTRYP _glptr_AlphaFunc) (GLenum, GLclampf); - -#define CALL_AlphaFunc(disp, parameters) \ - (* GET_AlphaFunc(disp)) parameters -static inline _glptr_AlphaFunc -GET_AlphaFunc(struct _glapi_table *disp) -{ - return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc)); -} - -static inline void -SET_AlphaFunc(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLclampf)) -{ - SET_by_offset(disp, _gloffset_AlphaFunc, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendFunc) (GLenum, GLenum); - -#define CALL_BlendFunc(disp, parameters) \ - (* GET_BlendFunc(disp)) parameters -static inline _glptr_BlendFunc -GET_BlendFunc(struct _glapi_table *disp) -{ - return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc)); -} - -static inline void -SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendFunc, fn); -} - -typedef void (GLAPIENTRYP _glptr_LogicOp) (GLenum); - -#define CALL_LogicOp(disp, parameters) \ - (* GET_LogicOp(disp)) parameters -static inline _glptr_LogicOp -GET_LogicOp(struct _glapi_table *disp) -{ - return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp)); -} - -static inline void -SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_LogicOp, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilFunc) (GLenum, GLint, GLuint); - -#define CALL_StencilFunc(disp, parameters) \ - (* GET_StencilFunc(disp)) parameters -static inline _glptr_StencilFunc -GET_StencilFunc(struct _glapi_table *disp) -{ - return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc)); -} - -static inline void -SET_StencilFunc(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLuint)) -{ - SET_by_offset(disp, _gloffset_StencilFunc, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilOp) (GLenum, GLenum, GLenum); - -#define CALL_StencilOp(disp, parameters) \ - (* GET_StencilOp(disp)) parameters -static inline _glptr_StencilOp -GET_StencilOp(struct _glapi_table *disp) -{ - return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp)); -} - -static inline void -SET_StencilOp(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_StencilOp, fn); -} - -typedef void (GLAPIENTRYP _glptr_DepthFunc) (GLenum); - -#define CALL_DepthFunc(disp, parameters) \ - (* GET_DepthFunc(disp)) parameters -static inline _glptr_DepthFunc -GET_DepthFunc(struct _glapi_table *disp) -{ - return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc)); -} - -static inline void -SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_DepthFunc, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelZoom) (GLfloat, GLfloat); - -#define CALL_PixelZoom(disp, parameters) \ - (* GET_PixelZoom(disp)) parameters -static inline _glptr_PixelZoom -GET_PixelZoom(struct _glapi_table *disp) -{ - return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom)); -} - -static inline void -SET_PixelZoom(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PixelZoom, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTransferf) (GLenum, GLfloat); - -#define CALL_PixelTransferf(disp, parameters) \ - (* GET_PixelTransferf(disp)) parameters -static inline _glptr_PixelTransferf -GET_PixelTransferf(struct _glapi_table *disp) -{ - return (_glptr_PixelTransferf) (GET_by_offset - (disp, _gloffset_PixelTransferf)); -} - -static inline void -SET_PixelTransferf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PixelTransferf, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTransferi) (GLenum, GLint); - -#define CALL_PixelTransferi(disp, parameters) \ - (* GET_PixelTransferi(disp)) parameters -static inline _glptr_PixelTransferi -GET_PixelTransferi(struct _glapi_table *disp) -{ - return (_glptr_PixelTransferi) (GET_by_offset - (disp, _gloffset_PixelTransferi)); -} - -static inline void -SET_PixelTransferi(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_PixelTransferi, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelStoref) (GLenum, GLfloat); - -#define CALL_PixelStoref(disp, parameters) \ - (* GET_PixelStoref(disp)) parameters -static inline _glptr_PixelStoref -GET_PixelStoref(struct _glapi_table *disp) -{ - return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref)); -} - -static inline void -SET_PixelStoref(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PixelStoref, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelStorei) (GLenum, GLint); - -#define CALL_PixelStorei(disp, parameters) \ - (* GET_PixelStorei(disp)) parameters -static inline _glptr_PixelStorei -GET_PixelStorei(struct _glapi_table *disp) -{ - return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei)); -} - -static inline void -SET_PixelStorei(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_PixelStorei, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelMapfv) (GLenum, GLsizei, const GLfloat *); - -#define CALL_PixelMapfv(disp, parameters) \ - (* GET_PixelMapfv(disp)) parameters -static inline _glptr_PixelMapfv -GET_PixelMapfv(struct _glapi_table *disp) -{ - return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv)); -} - -static inline void -SET_PixelMapfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_PixelMapfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelMapuiv) (GLenum, GLsizei, const GLuint *); - -#define CALL_PixelMapuiv(disp, parameters) \ - (* GET_PixelMapuiv(disp)) parameters -static inline _glptr_PixelMapuiv -GET_PixelMapuiv(struct _glapi_table *disp) -{ - return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv)); -} - -static inline void -SET_PixelMapuiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_PixelMapuiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelMapusv) (GLenum, GLsizei, - const GLushort *); -#define CALL_PixelMapusv(disp, parameters) \ - (* GET_PixelMapusv(disp)) parameters -static inline _glptr_PixelMapusv -GET_PixelMapusv(struct _glapi_table *disp) -{ - return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv)); -} - -static inline void -SET_PixelMapusv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLushort *)) -{ - SET_by_offset(disp, _gloffset_PixelMapusv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ReadBuffer) (GLenum); - -#define CALL_ReadBuffer(disp, parameters) \ - (* GET_ReadBuffer(disp)) parameters -static inline _glptr_ReadBuffer -GET_ReadBuffer(struct _glapi_table *disp) -{ - return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer)); -} - -static inline void -SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ReadBuffer, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyPixels) (GLint, GLint, GLsizei, GLsizei, - GLenum); -#define CALL_CopyPixels(disp, parameters) \ - (* GET_CopyPixels(disp)) parameters -static inline _glptr_CopyPixels -GET_CopyPixels(struct _glapi_table *disp) -{ - return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels)); -} - -static inline void -SET_CopyPixels(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei, GLenum)) -{ - SET_by_offset(disp, _gloffset_CopyPixels, fn); -} - -typedef void (GLAPIENTRYP _glptr_ReadPixels) (GLint, GLint, GLsizei, GLsizei, - GLenum, GLenum, GLvoid *); -#define CALL_ReadPixels(disp, parameters) \ - (* GET_ReadPixels(disp)) parameters -static inline _glptr_ReadPixels -GET_ReadPixels(struct _glapi_table *disp) -{ - return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels)); -} - -static inline void -SET_ReadPixels(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei, GLenum, - GLenum, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ReadPixels, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawPixels) (GLsizei, GLsizei, GLenum, GLenum, - const GLvoid *); -#define CALL_DrawPixels(disp, parameters) \ - (* GET_DrawPixels(disp)) parameters -static inline _glptr_DrawPixels -GET_DrawPixels(struct _glapi_table *disp) -{ - return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels)); -} - -static inline void -SET_DrawPixels(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLsizei, GLenum, GLenum, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_DrawPixels, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBooleanv) (GLenum, GLboolean *); - -#define CALL_GetBooleanv(disp, parameters) \ - (* GET_GetBooleanv(disp)) parameters -static inline _glptr_GetBooleanv -GET_GetBooleanv(struct _glapi_table *disp) -{ - return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv)); -} - -static inline void -SET_GetBooleanv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLboolean *)) -{ - SET_by_offset(disp, _gloffset_GetBooleanv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetClipPlane) (GLenum, GLdouble *); - -#define CALL_GetClipPlane(disp, parameters) \ - (* GET_GetClipPlane(disp)) parameters -static inline _glptr_GetClipPlane -GET_GetClipPlane(struct _glapi_table *disp) -{ - return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane)); -} - -static inline void -SET_GetClipPlane(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetClipPlane, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetDoublev) (GLenum, GLdouble *); - -#define CALL_GetDoublev(disp, parameters) \ - (* GET_GetDoublev(disp)) parameters -static inline _glptr_GetDoublev -GET_GetDoublev(struct _glapi_table *disp) -{ - return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev)); -} - -static inline void -SET_GetDoublev(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetDoublev, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_GetError) (void); - -#define CALL_GetError(disp, parameters) \ - (* GET_GetError(disp)) parameters -static inline _glptr_GetError -GET_GetError(struct _glapi_table *disp) -{ - return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError)); -} - -static inline void -SET_GetError(struct _glapi_table *disp, GLenum(GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_GetError, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetFloatv) (GLenum, GLfloat *); - -#define CALL_GetFloatv(disp, parameters) \ - (* GET_GetFloatv(disp)) parameters -static inline _glptr_GetFloatv -GET_GetFloatv(struct _glapi_table *disp) -{ - return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv)); -} - -static inline void -SET_GetFloatv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetFloatv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetIntegerv) (GLenum, GLint *); - -#define CALL_GetIntegerv(disp, parameters) \ - (* GET_GetIntegerv(disp)) parameters -static inline _glptr_GetIntegerv -GET_GetIntegerv(struct _glapi_table *disp) -{ - return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv)); -} - -static inline void -SET_GetIntegerv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetIntegerv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetLightfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetLightfv(disp, parameters) \ - (* GET_GetLightfv(disp)) parameters -static inline _glptr_GetLightfv -GET_GetLightfv(struct _glapi_table *disp) -{ - return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv)); -} - -static inline void -SET_GetLightfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetLightfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetLightiv) (GLenum, GLenum, GLint *); - -#define CALL_GetLightiv(disp, parameters) \ - (* GET_GetLightiv(disp)) parameters -static inline _glptr_GetLightiv -GET_GetLightiv(struct _glapi_table *disp) -{ - return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv)); -} - -static inline void -SET_GetLightiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetLightiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMapdv) (GLenum, GLenum, GLdouble *); - -#define CALL_GetMapdv(disp, parameters) \ - (* GET_GetMapdv(disp)) parameters -static inline _glptr_GetMapdv -GET_GetMapdv(struct _glapi_table *disp) -{ - return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv)); -} - -static inline void -SET_GetMapdv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetMapdv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMapfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetMapfv(disp, parameters) \ - (* GET_GetMapfv(disp)) parameters -static inline _glptr_GetMapfv -GET_GetMapfv(struct _glapi_table *disp) -{ - return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv)); -} - -static inline void -SET_GetMapfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetMapfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMapiv) (GLenum, GLenum, GLint *); - -#define CALL_GetMapiv(disp, parameters) \ - (* GET_GetMapiv(disp)) parameters -static inline _glptr_GetMapiv -GET_GetMapiv(struct _glapi_table *disp) -{ - return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv)); -} - -static inline void -SET_GetMapiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetMapiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMaterialfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetMaterialfv(disp, parameters) \ - (* GET_GetMaterialfv(disp)) parameters -static inline _glptr_GetMaterialfv -GET_GetMaterialfv(struct _glapi_table *disp) -{ - return (_glptr_GetMaterialfv) (GET_by_offset - (disp, _gloffset_GetMaterialfv)); -} - -static inline void -SET_GetMaterialfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetMaterialfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMaterialiv) (GLenum, GLenum, GLint *); - -#define CALL_GetMaterialiv(disp, parameters) \ - (* GET_GetMaterialiv(disp)) parameters -static inline _glptr_GetMaterialiv -GET_GetMaterialiv(struct _glapi_table *disp) -{ - return (_glptr_GetMaterialiv) (GET_by_offset - (disp, _gloffset_GetMaterialiv)); -} - -static inline void -SET_GetMaterialiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetMaterialiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPixelMapfv) (GLenum, GLfloat *); - -#define CALL_GetPixelMapfv(disp, parameters) \ - (* GET_GetPixelMapfv(disp)) parameters -static inline _glptr_GetPixelMapfv -GET_GetPixelMapfv(struct _glapi_table *disp) -{ - return (_glptr_GetPixelMapfv) (GET_by_offset - (disp, _gloffset_GetPixelMapfv)); -} - -static inline void -SET_GetPixelMapfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetPixelMapfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv) (GLenum, GLuint *); - -#define CALL_GetPixelMapuiv(disp, parameters) \ - (* GET_GetPixelMapuiv(disp)) parameters -static inline _glptr_GetPixelMapuiv -GET_GetPixelMapuiv(struct _glapi_table *disp) -{ - return (_glptr_GetPixelMapuiv) (GET_by_offset - (disp, _gloffset_GetPixelMapuiv)); -} - -static inline void -SET_GetPixelMapuiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPixelMapusv) (GLenum, GLushort *); - -#define CALL_GetPixelMapusv(disp, parameters) \ - (* GET_GetPixelMapusv(disp)) parameters -static inline _glptr_GetPixelMapusv -GET_GetPixelMapusv(struct _glapi_table *disp) -{ - return (_glptr_GetPixelMapusv) (GET_by_offset - (disp, _gloffset_GetPixelMapusv)); -} - -static inline void -SET_GetPixelMapusv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLushort *)) -{ - SET_by_offset(disp, _gloffset_GetPixelMapusv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPolygonStipple) (GLubyte *); - -#define CALL_GetPolygonStipple(disp, parameters) \ - (* GET_GetPolygonStipple(disp)) parameters -static inline _glptr_GetPolygonStipple -GET_GetPolygonStipple(struct _glapi_table *disp) -{ - return (_glptr_GetPolygonStipple) (GET_by_offset - (disp, _gloffset_GetPolygonStipple)); -} - -static inline void -SET_GetPolygonStipple(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLubyte *)) -{ - SET_by_offset(disp, _gloffset_GetPolygonStipple, fn); -} - -typedef const GLubyte *(GLAPIENTRYP _glptr_GetString) (GLenum); - -#define CALL_GetString(disp, parameters) \ - (* GET_GetString(disp)) parameters -static inline _glptr_GetString -GET_GetString(struct _glapi_table *disp) -{ - return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString)); -} - -static inline void -SET_GetString(struct _glapi_table *disp, - const GLubyte * (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_GetString, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexEnvfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetTexEnvfv(disp, parameters) \ - (* GET_GetTexEnvfv(disp)) parameters -static inline _glptr_GetTexEnvfv -GET_GetTexEnvfv(struct _glapi_table *disp) -{ - return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv)); -} - -static inline void -SET_GetTexEnvfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetTexEnvfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexEnviv) (GLenum, GLenum, GLint *); - -#define CALL_GetTexEnviv(disp, parameters) \ - (* GET_GetTexEnviv(disp)) parameters -static inline _glptr_GetTexEnviv -GET_GetTexEnviv(struct _glapi_table *disp) -{ - return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv)); -} - -static inline void -SET_GetTexEnviv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexEnviv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexGendv) (GLenum, GLenum, GLdouble *); - -#define CALL_GetTexGendv(disp, parameters) \ - (* GET_GetTexGendv(disp)) parameters -static inline _glptr_GetTexGendv -GET_GetTexGendv(struct _glapi_table *disp) -{ - return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv)); -} - -static inline void -SET_GetTexGendv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetTexGendv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexGenfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetTexGenfv(disp, parameters) \ - (* GET_GetTexGenfv(disp)) parameters -static inline _glptr_GetTexGenfv -GET_GetTexGenfv(struct _glapi_table *disp) -{ - return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv)); -} - -static inline void -SET_GetTexGenfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetTexGenfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexGeniv) (GLenum, GLenum, GLint *); - -#define CALL_GetTexGeniv(disp, parameters) \ - (* GET_GetTexGeniv(disp)) parameters -static inline _glptr_GetTexGeniv -GET_GetTexGeniv(struct _glapi_table *disp) -{ - return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv)); -} - -static inline void -SET_GetTexGeniv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexGeniv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexImage) (GLenum, GLint, GLenum, GLenum, - GLvoid *); -#define CALL_GetTexImage(disp, parameters) \ - (* GET_GetTexImage(disp)) parameters -static inline _glptr_GetTexImage -GET_GetTexImage(struct _glapi_table *disp) -{ - return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage)); -} - -static inline void -SET_GetTexImage(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLenum, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetTexImage, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexParameterfv) (GLenum, GLenum, GLfloat *); - -#define CALL_GetTexParameterfv(disp, parameters) \ - (* GET_GetTexParameterfv(disp)) parameters -static inline _glptr_GetTexParameterfv -GET_GetTexParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetTexParameterfv) (GET_by_offset - (disp, _gloffset_GetTexParameterfv)); -} - -static inline void -SET_GetTexParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetTexParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexParameteriv) (GLenum, GLenum, GLint *); - -#define CALL_GetTexParameteriv(disp, parameters) \ - (* GET_GetTexParameteriv(disp)) parameters -static inline _glptr_GetTexParameteriv -GET_GetTexParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetTexParameteriv) (GET_by_offset - (disp, _gloffset_GetTexParameteriv)); -} - -static inline void -SET_GetTexParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv) (GLenum, GLint, GLenum, - GLfloat *); -#define CALL_GetTexLevelParameterfv(disp, parameters) \ - (* GET_GetTexLevelParameterfv(disp)) parameters -static inline _glptr_GetTexLevelParameterfv -GET_GetTexLevelParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetTexLevelParameterfv) (GET_by_offset - (disp, - _gloffset_GetTexLevelParameterfv)); -} - -static inline void -SET_GetTexLevelParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv) (GLenum, GLint, GLenum, - GLint *); -#define CALL_GetTexLevelParameteriv(disp, parameters) \ - (* GET_GetTexLevelParameteriv(disp)) parameters -static inline _glptr_GetTexLevelParameteriv -GET_GetTexLevelParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetTexLevelParameteriv) (GET_by_offset - (disp, - _gloffset_GetTexLevelParameteriv)); -} - -static inline void -SET_GetTexLevelParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsEnabled) (GLenum); - -#define CALL_IsEnabled(disp, parameters) \ - (* GET_IsEnabled(disp)) parameters -static inline _glptr_IsEnabled -GET_IsEnabled(struct _glapi_table *disp) -{ - return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled)); -} - -static inline void -SET_IsEnabled(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_IsEnabled, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsList) (GLuint); - -#define CALL_IsList(disp, parameters) \ - (* GET_IsList(disp)) parameters -static inline _glptr_IsList -GET_IsList(struct _glapi_table *disp) -{ - return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList)); -} - -static inline void -SET_IsList(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsList, fn); -} - -typedef void (GLAPIENTRYP _glptr_DepthRange) (GLclampd, GLclampd); - -#define CALL_DepthRange(disp, parameters) \ - (* GET_DepthRange(disp)) parameters -static inline _glptr_DepthRange -GET_DepthRange(struct _glapi_table *disp) -{ - return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange)); -} - -static inline void -SET_DepthRange(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampd, GLclampd)) -{ - SET_by_offset(disp, _gloffset_DepthRange, fn); -} - -typedef void (GLAPIENTRYP _glptr_Frustum) (GLdouble, GLdouble, GLdouble, - GLdouble, GLdouble, GLdouble); -#define CALL_Frustum(disp, parameters) \ - (* GET_Frustum(disp)) parameters -static inline _glptr_Frustum -GET_Frustum(struct _glapi_table *disp) -{ - return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum)); -} - -static inline void -SET_Frustum(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble, - GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Frustum, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadIdentity) (void); - -#define CALL_LoadIdentity(disp, parameters) \ - (* GET_LoadIdentity(disp)) parameters -static inline _glptr_LoadIdentity -GET_LoadIdentity(struct _glapi_table *disp) -{ - return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity)); -} - -static inline void -SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_LoadIdentity, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadMatrixf) (const GLfloat *); - -#define CALL_LoadMatrixf(disp, parameters) \ - (* GET_LoadMatrixf(disp)) parameters -static inline _glptr_LoadMatrixf -GET_LoadMatrixf(struct _glapi_table *disp) -{ - return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf)); -} - -static inline void -SET_LoadMatrixf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_LoadMatrixf, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadMatrixd) (const GLdouble *); - -#define CALL_LoadMatrixd(disp, parameters) \ - (* GET_LoadMatrixd(disp)) parameters -static inline _glptr_LoadMatrixd -GET_LoadMatrixd(struct _glapi_table *disp) -{ - return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd)); -} - -static inline void -SET_LoadMatrixd(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_LoadMatrixd, fn); -} - -typedef void (GLAPIENTRYP _glptr_MatrixMode) (GLenum); - -#define CALL_MatrixMode(disp, parameters) \ - (* GET_MatrixMode(disp)) parameters -static inline _glptr_MatrixMode -GET_MatrixMode(struct _glapi_table *disp) -{ - return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode)); -} - -static inline void -SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_MatrixMode, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultMatrixf) (const GLfloat *); - -#define CALL_MultMatrixf(disp, parameters) \ - (* GET_MultMatrixf(disp)) parameters -static inline _glptr_MultMatrixf -GET_MultMatrixf(struct _glapi_table *disp) -{ - return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf)); -} - -static inline void -SET_MultMatrixf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultMatrixf, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultMatrixd) (const GLdouble *); - -#define CALL_MultMatrixd(disp, parameters) \ - (* GET_MultMatrixd(disp)) parameters -static inline _glptr_MultMatrixd -GET_MultMatrixd(struct _glapi_table *disp) -{ - return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd)); -} - -static inline void -SET_MultMatrixd(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultMatrixd, fn); -} - -typedef void (GLAPIENTRYP _glptr_Ortho) (GLdouble, GLdouble, GLdouble, GLdouble, - GLdouble, GLdouble); -#define CALL_Ortho(disp, parameters) \ - (* GET_Ortho(disp)) parameters -static inline _glptr_Ortho -GET_Ortho(struct _glapi_table *disp) -{ - return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho)); -} - -static inline void -SET_Ortho(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble, - GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Ortho, fn); -} - -typedef void (GLAPIENTRYP _glptr_PopMatrix) (void); - -#define CALL_PopMatrix(disp, parameters) \ - (* GET_PopMatrix(disp)) parameters -static inline _glptr_PopMatrix -GET_PopMatrix(struct _glapi_table *disp) -{ - return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix)); -} - -static inline void -SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PopMatrix, fn); -} - -typedef void (GLAPIENTRYP _glptr_PushMatrix) (void); - -#define CALL_PushMatrix(disp, parameters) \ - (* GET_PushMatrix(disp)) parameters -static inline _glptr_PushMatrix -GET_PushMatrix(struct _glapi_table *disp) -{ - return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix)); -} - -static inline void -SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PushMatrix, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rotated) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_Rotated(disp, parameters) \ - (* GET_Rotated(disp)) parameters -static inline _glptr_Rotated -GET_Rotated(struct _glapi_table *disp) -{ - return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated)); -} - -static inline void -SET_Rotated(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Rotated, fn); -} - -typedef void (GLAPIENTRYP _glptr_Rotatef) (GLfloat, GLfloat, GLfloat, GLfloat); - -#define CALL_Rotatef(disp, parameters) \ - (* GET_Rotatef(disp)) parameters -static inline _glptr_Rotatef -GET_Rotatef(struct _glapi_table *disp) -{ - return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef)); -} - -static inline void -SET_Rotatef(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Rotatef, fn); -} - -typedef void (GLAPIENTRYP _glptr_Scaled) (GLdouble, GLdouble, GLdouble); - -#define CALL_Scaled(disp, parameters) \ - (* GET_Scaled(disp)) parameters -static inline _glptr_Scaled -GET_Scaled(struct _glapi_table *disp) -{ - return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled)); -} - -static inline void -SET_Scaled(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Scaled, fn); -} - -typedef void (GLAPIENTRYP _glptr_Scalef) (GLfloat, GLfloat, GLfloat); - -#define CALL_Scalef(disp, parameters) \ - (* GET_Scalef(disp)) parameters -static inline _glptr_Scalef -GET_Scalef(struct _glapi_table *disp) -{ - return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef)); -} - -static inline void -SET_Scalef(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Scalef, fn); -} - -typedef void (GLAPIENTRYP _glptr_Translated) (GLdouble, GLdouble, GLdouble); - -#define CALL_Translated(disp, parameters) \ - (* GET_Translated(disp)) parameters -static inline _glptr_Translated -GET_Translated(struct _glapi_table *disp) -{ - return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated)); -} - -static inline void -SET_Translated(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_Translated, fn); -} - -typedef void (GLAPIENTRYP _glptr_Translatef) (GLfloat, GLfloat, GLfloat); - -#define CALL_Translatef(disp, parameters) \ - (* GET_Translatef(disp)) parameters -static inline _glptr_Translatef -GET_Translatef(struct _glapi_table *disp) -{ - return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef)); -} - -static inline void -SET_Translatef(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Translatef, fn); -} - -typedef void (GLAPIENTRYP _glptr_Viewport) (GLint, GLint, GLsizei, GLsizei); - -#define CALL_Viewport(disp, parameters) \ - (* GET_Viewport(disp)) parameters -static inline _glptr_Viewport -GET_Viewport(struct _glapi_table *disp) -{ - return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport)); -} - -static inline void -SET_Viewport(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_Viewport, fn); -} - -typedef void (GLAPIENTRYP _glptr_ArrayElement) (GLint); - -#define CALL_ArrayElement(disp, parameters) \ - (* GET_ArrayElement(disp)) parameters -static inline _glptr_ArrayElement -GET_ArrayElement(struct _glapi_table *disp) -{ - return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement)); -} - -static inline void -SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint)) -{ - SET_by_offset(disp, _gloffset_ArrayElement, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindTexture) (GLenum, GLuint); - -#define CALL_BindTexture(disp, parameters) \ - (* GET_BindTexture(disp)) parameters -static inline _glptr_BindTexture -GET_BindTexture(struct _glapi_table *disp) -{ - return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture)); -} - -static inline void -SET_BindTexture(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindTexture, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorPointer) (GLint, GLenum, GLsizei, - const GLvoid *); -#define CALL_ColorPointer(disp, parameters) \ - (* GET_ColorPointer(disp)) parameters -static inline _glptr_ColorPointer -GET_ColorPointer(struct _glapi_table *disp) -{ - return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer)); -} - -static inline void -SET_ColorPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ColorPointer, fn); -} - -typedef void (GLAPIENTRYP _glptr_DisableClientState) (GLenum); - -#define CALL_DisableClientState(disp, parameters) \ - (* GET_DisableClientState(disp)) parameters -static inline _glptr_DisableClientState -GET_DisableClientState(struct _glapi_table *disp) -{ - return (_glptr_DisableClientState) (GET_by_offset - (disp, _gloffset_DisableClientState)); -} - -static inline void -SET_DisableClientState(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_DisableClientState, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawArrays) (GLenum, GLint, GLsizei); - -#define CALL_DrawArrays(disp, parameters) \ - (* GET_DrawArrays(disp)) parameters -static inline _glptr_DrawArrays -GET_DrawArrays(struct _glapi_table *disp) -{ - return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays)); -} - -static inline void -SET_DrawArrays(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei)) -{ - SET_by_offset(disp, _gloffset_DrawArrays, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawElements) (GLenum, GLsizei, GLenum, - const GLvoid *); -#define CALL_DrawElements(disp, parameters) \ - (* GET_DrawElements(disp)) parameters -static inline _glptr_DrawElements -GET_DrawElements(struct _glapi_table *disp) -{ - return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements)); -} - -static inline void -SET_DrawElements(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_DrawElements, fn); -} - -typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer) (GLsizei, const GLvoid *); - -#define CALL_EdgeFlagPointer(disp, parameters) \ - (* GET_EdgeFlagPointer(disp)) parameters -static inline _glptr_EdgeFlagPointer -GET_EdgeFlagPointer(struct _glapi_table *disp) -{ - return (_glptr_EdgeFlagPointer) (GET_by_offset - (disp, _gloffset_EdgeFlagPointer)); -} - -static inline void -SET_EdgeFlagPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn); -} - -typedef void (GLAPIENTRYP _glptr_EnableClientState) (GLenum); - -#define CALL_EnableClientState(disp, parameters) \ - (* GET_EnableClientState(disp)) parameters -static inline _glptr_EnableClientState -GET_EnableClientState(struct _glapi_table *disp) -{ - return (_glptr_EnableClientState) (GET_by_offset - (disp, _gloffset_EnableClientState)); -} - -static inline void -SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_EnableClientState, fn); -} - -typedef void (GLAPIENTRYP _glptr_IndexPointer) (GLenum, GLsizei, - const GLvoid *); -#define CALL_IndexPointer(disp, parameters) \ - (* GET_IndexPointer(disp)) parameters -static inline _glptr_IndexPointer -GET_IndexPointer(struct _glapi_table *disp) -{ - return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer)); -} - -static inline void -SET_IndexPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_IndexPointer, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexub) (GLubyte); - -#define CALL_Indexub(disp, parameters) \ - (* GET_Indexub(disp)) parameters -static inline _glptr_Indexub -GET_Indexub(struct _glapi_table *disp) -{ - return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub)); -} - -static inline void -SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLubyte)) -{ - SET_by_offset(disp, _gloffset_Indexub, fn); -} - -typedef void (GLAPIENTRYP _glptr_Indexubv) (const GLubyte *); - -#define CALL_Indexubv(disp, parameters) \ - (* GET_Indexubv(disp)) parameters -static inline _glptr_Indexubv -GET_Indexubv(struct _glapi_table *disp) -{ - return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv)); -} - -static inline void -SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_Indexubv, fn); -} - -typedef void (GLAPIENTRYP _glptr_InterleavedArrays) (GLenum, GLsizei, - const GLvoid *); -#define CALL_InterleavedArrays(disp, parameters) \ - (* GET_InterleavedArrays(disp)) parameters -static inline _glptr_InterleavedArrays -GET_InterleavedArrays(struct _glapi_table *disp) -{ - return (_glptr_InterleavedArrays) (GET_by_offset - (disp, _gloffset_InterleavedArrays)); -} - -static inline void -SET_InterleavedArrays(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_InterleavedArrays, fn); -} - -typedef void (GLAPIENTRYP _glptr_NormalPointer) (GLenum, GLsizei, - const GLvoid *); -#define CALL_NormalPointer(disp, parameters) \ - (* GET_NormalPointer(disp)) parameters -static inline _glptr_NormalPointer -GET_NormalPointer(struct _glapi_table *disp) -{ - return (_glptr_NormalPointer) (GET_by_offset - (disp, _gloffset_NormalPointer)); -} - -static inline void -SET_NormalPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_NormalPointer, fn); -} - -typedef void (GLAPIENTRYP _glptr_PolygonOffset) (GLfloat, GLfloat); - -#define CALL_PolygonOffset(disp, parameters) \ - (* GET_PolygonOffset(disp)) parameters -static inline _glptr_PolygonOffset -GET_PolygonOffset(struct _glapi_table *disp) -{ - return (_glptr_PolygonOffset) (GET_by_offset - (disp, _gloffset_PolygonOffset)); -} - -static inline void -SET_PolygonOffset(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PolygonOffset, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordPointer) (GLint, GLenum, GLsizei, - const GLvoid *); -#define CALL_TexCoordPointer(disp, parameters) \ - (* GET_TexCoordPointer(disp)) parameters -static inline _glptr_TexCoordPointer -GET_TexCoordPointer(struct _glapi_table *disp) -{ - return (_glptr_TexCoordPointer) (GET_by_offset - (disp, _gloffset_TexCoordPointer)); -} - -static inline void -SET_TexCoordPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexCoordPointer, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexPointer) (GLint, GLenum, GLsizei, - const GLvoid *); -#define CALL_VertexPointer(disp, parameters) \ - (* GET_VertexPointer(disp)) parameters -static inline _glptr_VertexPointer -GET_VertexPointer(struct _glapi_table *disp) -{ - return (_glptr_VertexPointer) (GET_by_offset - (disp, _gloffset_VertexPointer)); -} - -static inline void -SET_VertexPointer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexPointer, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_AreTexturesResident) (GLsizei, - const GLuint *, - GLboolean *); -#define CALL_AreTexturesResident(disp, parameters) \ - (* GET_AreTexturesResident(disp)) parameters -static inline _glptr_AreTexturesResident -GET_AreTexturesResident(struct _glapi_table *disp) -{ - return (_glptr_AreTexturesResident) (GET_by_offset - (disp, _gloffset_AreTexturesResident)); -} - -static inline void -SET_AreTexturesResident(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLsizei, const GLuint *, - GLboolean *)) -{ - SET_by_offset(disp, _gloffset_AreTexturesResident, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyTexImage1D) (GLenum, GLint, GLenum, GLint, - GLint, GLsizei, GLint); -#define CALL_CopyTexImage1D(disp, parameters) \ - (* GET_CopyTexImage1D(disp)) parameters -static inline _glptr_CopyTexImage1D -GET_CopyTexImage1D(struct _glapi_table *disp) -{ - return (_glptr_CopyTexImage1D) (GET_by_offset - (disp, _gloffset_CopyTexImage1D)); -} - -static inline void -SET_CopyTexImage1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLint, GLint, - GLsizei, GLint)) -{ - SET_by_offset(disp, _gloffset_CopyTexImage1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyTexImage2D) (GLenum, GLint, GLenum, GLint, - GLint, GLsizei, GLsizei, - GLint); -#define CALL_CopyTexImage2D(disp, parameters) \ - (* GET_CopyTexImage2D(disp)) parameters -static inline _glptr_CopyTexImage2D -GET_CopyTexImage2D(struct _glapi_table *disp) -{ - return (_glptr_CopyTexImage2D) (GET_by_offset - (disp, _gloffset_CopyTexImage2D)); -} - -static inline void -SET_CopyTexImage2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLint, GLint, - GLsizei, GLsizei, GLint)) -{ - SET_by_offset(disp, _gloffset_CopyTexImage2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D) (GLenum, GLint, GLint, - GLint, GLint, GLsizei); -#define CALL_CopyTexSubImage1D(disp, parameters) \ - (* GET_CopyTexSubImage1D(disp)) parameters -static inline _glptr_CopyTexSubImage1D -GET_CopyTexSubImage1D(struct _glapi_table *disp) -{ - return (_glptr_CopyTexSubImage1D) (GET_by_offset - (disp, _gloffset_CopyTexSubImage1D)); -} - -static inline void -SET_CopyTexSubImage1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D) (GLenum, GLint, GLint, - GLint, GLint, GLint, - GLsizei, GLsizei); -#define CALL_CopyTexSubImage2D(disp, parameters) \ - (* GET_CopyTexSubImage2D(disp)) parameters -static inline _glptr_CopyTexSubImage2D -GET_CopyTexSubImage2D(struct _glapi_table *disp) -{ - return (_glptr_CopyTexSubImage2D) (GET_by_offset - (disp, _gloffset_CopyTexSubImage2D)); -} - -static inline void -SET_CopyTexSubImage2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint, - GLint, GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteTextures) (GLsizei, const GLuint *); - -#define CALL_DeleteTextures(disp, parameters) \ - (* GET_DeleteTextures(disp)) parameters -static inline _glptr_DeleteTextures -GET_DeleteTextures(struct _glapi_table *disp) -{ - return (_glptr_DeleteTextures) (GET_by_offset - (disp, _gloffset_DeleteTextures)); -} - -static inline void -SET_DeleteTextures(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteTextures, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenTextures) (GLsizei, GLuint *); - -#define CALL_GenTextures(disp, parameters) \ - (* GET_GenTextures(disp)) parameters -static inline _glptr_GenTextures -GET_GenTextures(struct _glapi_table *disp) -{ - return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures)); -} - -static inline void -SET_GenTextures(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenTextures, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPointerv) (GLenum, GLvoid **); - -#define CALL_GetPointerv(disp, parameters) \ - (* GET_GetPointerv(disp)) parameters -static inline _glptr_GetPointerv -GET_GetPointerv(struct _glapi_table *disp) -{ - return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv)); -} - -static inline void -SET_GetPointerv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLvoid **)) -{ - SET_by_offset(disp, _gloffset_GetPointerv, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsTexture) (GLuint); - -#define CALL_IsTexture(disp, parameters) \ - (* GET_IsTexture(disp)) parameters -static inline _glptr_IsTexture -GET_IsTexture(struct _glapi_table *disp) -{ - return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture)); -} - -static inline void -SET_IsTexture(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsTexture, fn); -} - -typedef void (GLAPIENTRYP _glptr_PrioritizeTextures) (GLsizei, const GLuint *, - const GLclampf *); -#define CALL_PrioritizeTextures(disp, parameters) \ - (* GET_PrioritizeTextures(disp)) parameters -static inline _glptr_PrioritizeTextures -GET_PrioritizeTextures(struct _glapi_table *disp) -{ - return (_glptr_PrioritizeTextures) (GET_by_offset - (disp, _gloffset_PrioritizeTextures)); -} - -static inline void -SET_PrioritizeTextures(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *, - const GLclampf *)) -{ - SET_by_offset(disp, _gloffset_PrioritizeTextures, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexSubImage1D) (GLenum, GLint, GLint, GLsizei, - GLenum, GLenum, - const GLvoid *); -#define CALL_TexSubImage1D(disp, parameters) \ - (* GET_TexSubImage1D(disp)) parameters -static inline _glptr_TexSubImage1D -GET_TexSubImage1D(struct _glapi_table *disp) -{ - return (_glptr_TexSubImage1D) (GET_by_offset - (disp, _gloffset_TexSubImage1D)); -} - -static inline void -SET_TexSubImage1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLenum, - GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexSubImage1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexSubImage2D) (GLenum, GLint, GLint, GLint, - GLsizei, GLsizei, GLenum, - GLenum, const GLvoid *); -#define CALL_TexSubImage2D(disp, parameters) \ - (* GET_TexSubImage2D(disp)) parameters -static inline _glptr_TexSubImage2D -GET_TexSubImage2D(struct _glapi_table *disp) -{ - return (_glptr_TexSubImage2D) (GET_by_offset - (disp, _gloffset_TexSubImage2D)); -} - -static inline void -SET_TexSubImage2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLsizei, - GLsizei, GLenum, GLenum, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexSubImage2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_PopClientAttrib) (void); - -#define CALL_PopClientAttrib(disp, parameters) \ - (* GET_PopClientAttrib(disp)) parameters -static inline _glptr_PopClientAttrib -GET_PopClientAttrib(struct _glapi_table *disp) -{ - return (_glptr_PopClientAttrib) (GET_by_offset - (disp, _gloffset_PopClientAttrib)); -} - -static inline void -SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PopClientAttrib, fn); -} - -typedef void (GLAPIENTRYP _glptr_PushClientAttrib) (GLbitfield); - -#define CALL_PushClientAttrib(disp, parameters) \ - (* GET_PushClientAttrib(disp)) parameters -static inline _glptr_PushClientAttrib -GET_PushClientAttrib(struct _glapi_table *disp) -{ - return (_glptr_PushClientAttrib) (GET_by_offset - (disp, _gloffset_PushClientAttrib)); -} - -static inline void -SET_PushClientAttrib(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLbitfield)) -{ - SET_by_offset(disp, _gloffset_PushClientAttrib, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendColor) (GLclampf, GLclampf, GLclampf, - GLclampf); -#define CALL_BlendColor(disp, parameters) \ - (* GET_BlendColor(disp)) parameters -static inline _glptr_BlendColor -GET_BlendColor(struct _glapi_table *disp) -{ - return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor)); -} - -static inline void -SET_BlendColor(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampf, GLclampf, GLclampf, GLclampf)) -{ - SET_by_offset(disp, _gloffset_BlendColor, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendEquation) (GLenum); - -#define CALL_BlendEquation(disp, parameters) \ - (* GET_BlendEquation(disp)) parameters -static inline _glptr_BlendEquation -GET_BlendEquation(struct _glapi_table *disp) -{ - return (_glptr_BlendEquation) (GET_by_offset - (disp, _gloffset_BlendEquation)); -} - -static inline void -SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendEquation, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawRangeElements) (GLenum, GLuint, GLuint, - GLsizei, GLenum, - const GLvoid *); -#define CALL_DrawRangeElements(disp, parameters) \ - (* GET_DrawRangeElements(disp)) parameters -static inline _glptr_DrawRangeElements -GET_DrawRangeElements(struct _glapi_table *disp) -{ - return (_glptr_DrawRangeElements) (GET_by_offset - (disp, _gloffset_DrawRangeElements)); -} - -static inline void -SET_DrawRangeElements(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLsizei, - GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_DrawRangeElements, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorTable) (GLenum, GLenum, GLsizei, GLenum, - GLenum, const GLvoid *); -#define CALL_ColorTable(disp, parameters) \ - (* GET_ColorTable(disp)) parameters -static inline _glptr_ColorTable -GET_ColorTable(struct _glapi_table *disp) -{ - return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable)); -} - -static inline void -SET_ColorTable(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLenum, GLenum, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ColorTable, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv) (GLenum, GLenum, - const GLfloat *); -#define CALL_ColorTableParameterfv(disp, parameters) \ - (* GET_ColorTableParameterfv(disp)) parameters -static inline _glptr_ColorTableParameterfv -GET_ColorTableParameterfv(struct _glapi_table *disp) -{ - return (_glptr_ColorTableParameterfv) (GET_by_offset - (disp, - _gloffset_ColorTableParameterfv)); -} - -static inline void -SET_ColorTableParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv) (GLenum, GLenum, - const GLint *); -#define CALL_ColorTableParameteriv(disp, parameters) \ - (* GET_ColorTableParameteriv(disp)) parameters -static inline _glptr_ColorTableParameteriv -GET_ColorTableParameteriv(struct _glapi_table *disp) -{ - return (_glptr_ColorTableParameteriv) (GET_by_offset - (disp, - _gloffset_ColorTableParameteriv)); -} - -static inline void -SET_ColorTableParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyColorTable) (GLenum, GLenum, GLint, GLint, - GLsizei); -#define CALL_CopyColorTable(disp, parameters) \ - (* GET_CopyColorTable(disp)) parameters -static inline _glptr_CopyColorTable -GET_CopyColorTable(struct _glapi_table *disp) -{ - return (_glptr_CopyColorTable) (GET_by_offset - (disp, _gloffset_CopyColorTable)); -} - -static inline void -SET_CopyColorTable(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyColorTable, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetColorTable) (GLenum, GLenum, GLenum, - GLvoid *); -#define CALL_GetColorTable(disp, parameters) \ - (* GET_GetColorTable(disp)) parameters -static inline _glptr_GetColorTable -GET_GetColorTable(struct _glapi_table *disp) -{ - return (_glptr_GetColorTable) (GET_by_offset - (disp, _gloffset_GetColorTable)); -} - -static inline void -SET_GetColorTable(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetColorTable, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv) (GLenum, GLenum, - GLfloat *); -#define CALL_GetColorTableParameterfv(disp, parameters) \ - (* GET_GetColorTableParameterfv(disp)) parameters -static inline _glptr_GetColorTableParameterfv -GET_GetColorTableParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetColorTableParameterfv) (GET_by_offset - (disp, - _gloffset_GetColorTableParameterfv)); -} - -static inline void -SET_GetColorTableParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv) (GLenum, GLenum, - GLint *); -#define CALL_GetColorTableParameteriv(disp, parameters) \ - (* GET_GetColorTableParameteriv(disp)) parameters -static inline _glptr_GetColorTableParameteriv -GET_GetColorTableParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetColorTableParameteriv) (GET_by_offset - (disp, - _gloffset_GetColorTableParameteriv)); -} - -static inline void -SET_GetColorTableParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorSubTable) (GLenum, GLsizei, GLsizei, - GLenum, GLenum, - const GLvoid *); -#define CALL_ColorSubTable(disp, parameters) \ - (* GET_ColorSubTable(disp)) parameters -static inline _glptr_ColorSubTable -GET_ColorSubTable(struct _glapi_table *disp) -{ - return (_glptr_ColorSubTable) (GET_by_offset - (disp, _gloffset_ColorSubTable)); -} - -static inline void -SET_ColorSubTable(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei, GLenum, - GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ColorSubTable, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyColorSubTable) (GLenum, GLsizei, GLint, - GLint, GLsizei); -#define CALL_CopyColorSubTable(disp, parameters) \ - (* GET_CopyColorSubTable(disp)) parameters -static inline _glptr_CopyColorSubTable -GET_CopyColorSubTable(struct _glapi_table *disp) -{ - return (_glptr_CopyColorSubTable) (GET_by_offset - (disp, _gloffset_CopyColorSubTable)); -} - -static inline void -SET_CopyColorSubTable(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLint, GLint, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyColorSubTable, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D) (GLenum, GLenum, GLsizei, - GLenum, GLenum, - const GLvoid *); -#define CALL_ConvolutionFilter1D(disp, parameters) \ - (* GET_ConvolutionFilter1D(disp)) parameters -static inline _glptr_ConvolutionFilter1D -GET_ConvolutionFilter1D(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionFilter1D) (GET_by_offset - (disp, _gloffset_ConvolutionFilter1D)); -} - -static inline void -SET_ConvolutionFilter1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLenum, - GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D) (GLenum, GLenum, GLsizei, - GLsizei, GLenum, GLenum, - const GLvoid *); -#define CALL_ConvolutionFilter2D(disp, parameters) \ - (* GET_ConvolutionFilter2D(disp)) parameters -static inline _glptr_ConvolutionFilter2D -GET_ConvolutionFilter2D(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionFilter2D) (GET_by_offset - (disp, _gloffset_ConvolutionFilter2D)); -} - -static inline void -SET_ConvolutionFilter2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLsizei, - GLenum, GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf) (GLenum, GLenum, - GLfloat); -#define CALL_ConvolutionParameterf(disp, parameters) \ - (* GET_ConvolutionParameterf(disp)) parameters -static inline _glptr_ConvolutionParameterf -GET_ConvolutionParameterf(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionParameterf) (GET_by_offset - (disp, - _gloffset_ConvolutionParameterf)); -} - -static inline void -SET_ConvolutionParameterf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv) (GLenum, GLenum, - const GLfloat *); -#define CALL_ConvolutionParameterfv(disp, parameters) \ - (* GET_ConvolutionParameterfv(disp)) parameters -static inline _glptr_ConvolutionParameterfv -GET_ConvolutionParameterfv(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionParameterfv) (GET_by_offset - (disp, - _gloffset_ConvolutionParameterfv)); -} - -static inline void -SET_ConvolutionParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri) (GLenum, GLenum, GLint); - -#define CALL_ConvolutionParameteri(disp, parameters) \ - (* GET_ConvolutionParameteri(disp)) parameters -static inline _glptr_ConvolutionParameteri -GET_ConvolutionParameteri(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionParameteri) (GET_by_offset - (disp, - _gloffset_ConvolutionParameteri)); -} - -static inline void -SET_ConvolutionParameteri(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn); -} - -typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv) (GLenum, GLenum, - const GLint *); -#define CALL_ConvolutionParameteriv(disp, parameters) \ - (* GET_ConvolutionParameteriv(disp)) parameters -static inline _glptr_ConvolutionParameteriv -GET_ConvolutionParameteriv(struct _glapi_table *disp) -{ - return (_glptr_ConvolutionParameteriv) (GET_by_offset - (disp, - _gloffset_ConvolutionParameteriv)); -} - -static inline void -SET_ConvolutionParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - const GLint *)) -{ - SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D) (GLenum, GLenum, - GLint, GLint, - GLsizei); -#define CALL_CopyConvolutionFilter1D(disp, parameters) \ - (* GET_CopyConvolutionFilter1D(disp)) parameters -static inline _glptr_CopyConvolutionFilter1D -GET_CopyConvolutionFilter1D(struct _glapi_table *disp) -{ - return (_glptr_CopyConvolutionFilter1D) (GET_by_offset - (disp, - _gloffset_CopyConvolutionFilter1D)); -} - -static inline void -SET_CopyConvolutionFilter1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D) (GLenum, GLenum, - GLint, GLint, - GLsizei, GLsizei); -#define CALL_CopyConvolutionFilter2D(disp, parameters) \ - (* GET_CopyConvolutionFilter2D(disp)) parameters -static inline _glptr_CopyConvolutionFilter2D -GET_CopyConvolutionFilter2D(struct _glapi_table *disp) -{ - return (_glptr_CopyConvolutionFilter2D) (GET_by_offset - (disp, - _gloffset_CopyConvolutionFilter2D)); -} - -static inline void -SET_CopyConvolutionFilter2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint, - GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter) (GLenum, GLenum, GLenum, - GLvoid *); -#define CALL_GetConvolutionFilter(disp, parameters) \ - (* GET_GetConvolutionFilter(disp)) parameters -static inline _glptr_GetConvolutionFilter -GET_GetConvolutionFilter(struct _glapi_table *disp) -{ - return (_glptr_GetConvolutionFilter) (GET_by_offset - (disp, - _gloffset_GetConvolutionFilter)); -} - -static inline void -SET_GetConvolutionFilter(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv) (GLenum, GLenum, - GLfloat *); -#define CALL_GetConvolutionParameterfv(disp, parameters) \ - (* GET_GetConvolutionParameterfv(disp)) parameters -static inline _glptr_GetConvolutionParameterfv -GET_GetConvolutionParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetConvolutionParameterfv) (GET_by_offset - (disp, - _gloffset_GetConvolutionParameterfv)); -} - -static inline void -SET_GetConvolutionParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv) (GLenum, GLenum, - GLint *); -#define CALL_GetConvolutionParameteriv(disp, parameters) \ - (* GET_GetConvolutionParameteriv(disp)) parameters -static inline _glptr_GetConvolutionParameteriv -GET_GetConvolutionParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetConvolutionParameteriv) (GET_by_offset - (disp, - _gloffset_GetConvolutionParameteriv)); -} - -static inline void -SET_GetConvolutionParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSeparableFilter) (GLenum, GLenum, GLenum, - GLvoid *, GLvoid *, - GLvoid *); -#define CALL_GetSeparableFilter(disp, parameters) \ - (* GET_GetSeparableFilter(disp)) parameters -static inline _glptr_GetSeparableFilter -GET_GetSeparableFilter(struct _glapi_table *disp) -{ - return (_glptr_GetSeparableFilter) (GET_by_offset - (disp, _gloffset_GetSeparableFilter)); -} - -static inline void -SET_GetSeparableFilter(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLvoid *, - GLvoid *, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetSeparableFilter, fn); -} - -typedef void (GLAPIENTRYP _glptr_SeparableFilter2D) (GLenum, GLenum, GLsizei, - GLsizei, GLenum, GLenum, - const GLvoid *, - const GLvoid *); -#define CALL_SeparableFilter2D(disp, parameters) \ - (* GET_SeparableFilter2D(disp)) parameters -static inline _glptr_SeparableFilter2D -GET_SeparableFilter2D(struct _glapi_table *disp) -{ - return (_glptr_SeparableFilter2D) (GET_by_offset - (disp, _gloffset_SeparableFilter2D)); -} - -static inline void -SET_SeparableFilter2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLsizei, - GLenum, GLenum, const GLvoid *, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_SeparableFilter2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetHistogram) (GLenum, GLboolean, GLenum, - GLenum, GLvoid *); -#define CALL_GetHistogram(disp, parameters) \ - (* GET_GetHistogram(disp)) parameters -static inline _glptr_GetHistogram -GET_GetHistogram(struct _glapi_table *disp) -{ - return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram)); -} - -static inline void -SET_GetHistogram(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetHistogram, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv) (GLenum, GLenum, - GLfloat *); -#define CALL_GetHistogramParameterfv(disp, parameters) \ - (* GET_GetHistogramParameterfv(disp)) parameters -static inline _glptr_GetHistogramParameterfv -GET_GetHistogramParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetHistogramParameterfv) (GET_by_offset - (disp, - _gloffset_GetHistogramParameterfv)); -} - -static inline void -SET_GetHistogramParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv) (GLenum, GLenum, - GLint *); -#define CALL_GetHistogramParameteriv(disp, parameters) \ - (* GET_GetHistogramParameteriv(disp)) parameters -static inline _glptr_GetHistogramParameteriv -GET_GetHistogramParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetHistogramParameteriv) (GET_by_offset - (disp, - _gloffset_GetHistogramParameteriv)); -} - -static inline void -SET_GetHistogramParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMinmax) (GLenum, GLboolean, GLenum, GLenum, - GLvoid *); -#define CALL_GetMinmax(disp, parameters) \ - (* GET_GetMinmax(disp)) parameters -static inline _glptr_GetMinmax -GET_GetMinmax(struct _glapi_table *disp) -{ - return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax)); -} - -static inline void -SET_GetMinmax(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetMinmax, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv) (GLenum, GLenum, - GLfloat *); -#define CALL_GetMinmaxParameterfv(disp, parameters) \ - (* GET_GetMinmaxParameterfv(disp)) parameters -static inline _glptr_GetMinmaxParameterfv -GET_GetMinmaxParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetMinmaxParameterfv) (GET_by_offset - (disp, - _gloffset_GetMinmaxParameterfv)); -} - -static inline void -SET_GetMinmaxParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv) (GLenum, GLenum, - GLint *); -#define CALL_GetMinmaxParameteriv(disp, parameters) \ - (* GET_GetMinmaxParameteriv(disp)) parameters -static inline _glptr_GetMinmaxParameteriv -GET_GetMinmaxParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetMinmaxParameteriv) (GET_by_offset - (disp, - _gloffset_GetMinmaxParameteriv)); -} - -static inline void -SET_GetMinmaxParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_Histogram) (GLenum, GLsizei, GLenum, - GLboolean); -#define CALL_Histogram(disp, parameters) \ - (* GET_Histogram(disp)) parameters -static inline _glptr_Histogram -GET_Histogram(struct _glapi_table *disp) -{ - return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram)); -} - -static inline void -SET_Histogram(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLboolean)) -{ - SET_by_offset(disp, _gloffset_Histogram, fn); -} - -typedef void (GLAPIENTRYP _glptr_Minmax) (GLenum, GLenum, GLboolean); - -#define CALL_Minmax(disp, parameters) \ - (* GET_Minmax(disp)) parameters -static inline _glptr_Minmax -GET_Minmax(struct _glapi_table *disp) -{ - return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax)); -} - -static inline void -SET_Minmax(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLboolean)) -{ - SET_by_offset(disp, _gloffset_Minmax, fn); -} - -typedef void (GLAPIENTRYP _glptr_ResetHistogram) (GLenum); - -#define CALL_ResetHistogram(disp, parameters) \ - (* GET_ResetHistogram(disp)) parameters -static inline _glptr_ResetHistogram -GET_ResetHistogram(struct _glapi_table *disp) -{ - return (_glptr_ResetHistogram) (GET_by_offset - (disp, _gloffset_ResetHistogram)); -} - -static inline void -SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ResetHistogram, fn); -} - -typedef void (GLAPIENTRYP _glptr_ResetMinmax) (GLenum); - -#define CALL_ResetMinmax(disp, parameters) \ - (* GET_ResetMinmax(disp)) parameters -static inline _glptr_ResetMinmax -GET_ResetMinmax(struct _glapi_table *disp) -{ - return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax)); -} - -static inline void -SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ResetMinmax, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexImage3D) (GLenum, GLint, GLint, GLsizei, - GLsizei, GLsizei, GLint, GLenum, - GLenum, const GLvoid *); -#define CALL_TexImage3D(disp, parameters) \ - (* GET_TexImage3D(disp)) parameters -static inline _glptr_TexImage3D -GET_TexImage3D(struct _glapi_table *disp) -{ - return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D)); -} - -static inline void -SET_TexImage3D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLsizei, - GLsizei, GLint, GLenum, GLenum, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexImage3D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexSubImage3D) (GLenum, GLint, GLint, GLint, - GLint, GLsizei, GLsizei, - GLsizei, GLenum, GLenum, - const GLvoid *); -#define CALL_TexSubImage3D(disp, parameters) \ - (* GET_TexSubImage3D(disp)) parameters -static inline _glptr_TexSubImage3D -GET_TexSubImage3D(struct _glapi_table *disp) -{ - return (_glptr_TexSubImage3D) (GET_by_offset - (disp, _gloffset_TexSubImage3D)); -} - -static inline void -SET_TexSubImage3D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint, - GLsizei, GLsizei, GLsizei, GLenum, - GLenum, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexSubImage3D, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D) (GLenum, GLint, GLint, - GLint, GLint, GLint, GLint, - GLsizei, GLsizei); -#define CALL_CopyTexSubImage3D(disp, parameters) \ - (* GET_CopyTexSubImage3D(disp)) parameters -static inline _glptr_CopyTexSubImage3D -GET_CopyTexSubImage3D(struct _glapi_table *disp) -{ - return (_glptr_CopyTexSubImage3D) (GET_by_offset - (disp, _gloffset_CopyTexSubImage3D)); -} - -static inline void -SET_CopyTexSubImage3D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint, - GLint, GLint, GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn); -} - -typedef void (GLAPIENTRYP _glptr_ActiveTextureARB) (GLenum); - -#define CALL_ActiveTextureARB(disp, parameters) \ - (* GET_ActiveTextureARB(disp)) parameters -static inline _glptr_ActiveTextureARB -GET_ActiveTextureARB(struct _glapi_table *disp) -{ - return (_glptr_ActiveTextureARB) (GET_by_offset - (disp, _gloffset_ActiveTextureARB)); -} - -static inline void -SET_ActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ActiveTextureARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClientActiveTextureARB) (GLenum); - -#define CALL_ClientActiveTextureARB(disp, parameters) \ - (* GET_ClientActiveTextureARB(disp)) parameters -static inline _glptr_ClientActiveTextureARB -GET_ClientActiveTextureARB(struct _glapi_table *disp) -{ - return (_glptr_ClientActiveTextureARB) (GET_by_offset - (disp, - _gloffset_ClientActiveTextureARB)); -} - -static inline void -SET_ClientActiveTextureARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ClientActiveTextureARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dARB) (GLenum, GLdouble); - -#define CALL_MultiTexCoord1dARB(disp, parameters) \ - (* GET_MultiTexCoord1dARB(disp)) parameters -static inline _glptr_MultiTexCoord1dARB -GET_MultiTexCoord1dARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1dARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1dARB)); -} - -static inline void -SET_MultiTexCoord1dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dvARB) (GLenum, - const GLdouble *); -#define CALL_MultiTexCoord1dvARB(disp, parameters) \ - (* GET_MultiTexCoord1dvARB(disp)) parameters -static inline _glptr_MultiTexCoord1dvARB -GET_MultiTexCoord1dvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1dvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1dvARB)); -} - -static inline void -SET_MultiTexCoord1dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB) (GLenum, GLfloat); - -#define CALL_MultiTexCoord1fARB(disp, parameters) \ - (* GET_MultiTexCoord1fARB(disp)) parameters -static inline _glptr_MultiTexCoord1fARB -GET_MultiTexCoord1fARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1fARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1fARB)); -} - -static inline void -SET_MultiTexCoord1fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB) (GLenum, const GLfloat *); - -#define CALL_MultiTexCoord1fvARB(disp, parameters) \ - (* GET_MultiTexCoord1fvARB(disp)) parameters -static inline _glptr_MultiTexCoord1fvARB -GET_MultiTexCoord1fvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1fvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1fvARB)); -} - -static inline void -SET_MultiTexCoord1fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iARB) (GLenum, GLint); - -#define CALL_MultiTexCoord1iARB(disp, parameters) \ - (* GET_MultiTexCoord1iARB(disp)) parameters -static inline _glptr_MultiTexCoord1iARB -GET_MultiTexCoord1iARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1iARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1iARB)); -} - -static inline void -SET_MultiTexCoord1iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1ivARB) (GLenum, const GLint *); - -#define CALL_MultiTexCoord1ivARB(disp, parameters) \ - (* GET_MultiTexCoord1ivARB(disp)) parameters -static inline _glptr_MultiTexCoord1ivARB -GET_MultiTexCoord1ivARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1ivARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1ivARB)); -} - -static inline void -SET_MultiTexCoord1ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sARB) (GLenum, GLshort); - -#define CALL_MultiTexCoord1sARB(disp, parameters) \ - (* GET_MultiTexCoord1sARB(disp)) parameters -static inline _glptr_MultiTexCoord1sARB -GET_MultiTexCoord1sARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1sARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1sARB)); -} - -static inline void -SET_MultiTexCoord1sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLshort)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord1svARB) (GLenum, const GLshort *); - -#define CALL_MultiTexCoord1svARB(disp, parameters) \ - (* GET_MultiTexCoord1svARB(disp)) parameters -static inline _glptr_MultiTexCoord1svARB -GET_MultiTexCoord1svARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord1svARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord1svARB)); -} - -static inline void -SET_MultiTexCoord1svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord1svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dARB) (GLenum, GLdouble, - GLdouble); -#define CALL_MultiTexCoord2dARB(disp, parameters) \ - (* GET_MultiTexCoord2dARB(disp)) parameters -static inline _glptr_MultiTexCoord2dARB -GET_MultiTexCoord2dARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2dARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2dARB)); -} - -static inline void -SET_MultiTexCoord2dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dvARB) (GLenum, - const GLdouble *); -#define CALL_MultiTexCoord2dvARB(disp, parameters) \ - (* GET_MultiTexCoord2dvARB(disp)) parameters -static inline _glptr_MultiTexCoord2dvARB -GET_MultiTexCoord2dvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2dvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2dvARB)); -} - -static inline void -SET_MultiTexCoord2dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB) (GLenum, GLfloat, GLfloat); - -#define CALL_MultiTexCoord2fARB(disp, parameters) \ - (* GET_MultiTexCoord2fARB(disp)) parameters -static inline _glptr_MultiTexCoord2fARB -GET_MultiTexCoord2fARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2fARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2fARB)); -} - -static inline void -SET_MultiTexCoord2fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB) (GLenum, const GLfloat *); - -#define CALL_MultiTexCoord2fvARB(disp, parameters) \ - (* GET_MultiTexCoord2fvARB(disp)) parameters -static inline _glptr_MultiTexCoord2fvARB -GET_MultiTexCoord2fvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2fvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2fvARB)); -} - -static inline void -SET_MultiTexCoord2fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iARB) (GLenum, GLint, GLint); - -#define CALL_MultiTexCoord2iARB(disp, parameters) \ - (* GET_MultiTexCoord2iARB(disp)) parameters -static inline _glptr_MultiTexCoord2iARB -GET_MultiTexCoord2iARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2iARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2iARB)); -} - -static inline void -SET_MultiTexCoord2iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2ivARB) (GLenum, const GLint *); - -#define CALL_MultiTexCoord2ivARB(disp, parameters) \ - (* GET_MultiTexCoord2ivARB(disp)) parameters -static inline _glptr_MultiTexCoord2ivARB -GET_MultiTexCoord2ivARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2ivARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2ivARB)); -} - -static inline void -SET_MultiTexCoord2ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sARB) (GLenum, GLshort, GLshort); - -#define CALL_MultiTexCoord2sARB(disp, parameters) \ - (* GET_MultiTexCoord2sARB(disp)) parameters -static inline _glptr_MultiTexCoord2sARB -GET_MultiTexCoord2sARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2sARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2sARB)); -} - -static inline void -SET_MultiTexCoord2sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord2svARB) (GLenum, const GLshort *); - -#define CALL_MultiTexCoord2svARB(disp, parameters) \ - (* GET_MultiTexCoord2svARB(disp)) parameters -static inline _glptr_MultiTexCoord2svARB -GET_MultiTexCoord2svARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord2svARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord2svARB)); -} - -static inline void -SET_MultiTexCoord2svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord2svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dARB) (GLenum, GLdouble, - GLdouble, GLdouble); -#define CALL_MultiTexCoord3dARB(disp, parameters) \ - (* GET_MultiTexCoord3dARB(disp)) parameters -static inline _glptr_MultiTexCoord3dARB -GET_MultiTexCoord3dARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3dARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3dARB)); -} - -static inline void -SET_MultiTexCoord3dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dvARB) (GLenum, - const GLdouble *); -#define CALL_MultiTexCoord3dvARB(disp, parameters) \ - (* GET_MultiTexCoord3dvARB(disp)) parameters -static inline _glptr_MultiTexCoord3dvARB -GET_MultiTexCoord3dvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3dvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3dvARB)); -} - -static inline void -SET_MultiTexCoord3dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB) (GLenum, GLfloat, GLfloat, - GLfloat); -#define CALL_MultiTexCoord3fARB(disp, parameters) \ - (* GET_MultiTexCoord3fARB(disp)) parameters -static inline _glptr_MultiTexCoord3fARB -GET_MultiTexCoord3fARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3fARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3fARB)); -} - -static inline void -SET_MultiTexCoord3fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB) (GLenum, const GLfloat *); - -#define CALL_MultiTexCoord3fvARB(disp, parameters) \ - (* GET_MultiTexCoord3fvARB(disp)) parameters -static inline _glptr_MultiTexCoord3fvARB -GET_MultiTexCoord3fvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3fvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3fvARB)); -} - -static inline void -SET_MultiTexCoord3fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iARB) (GLenum, GLint, GLint, - GLint); -#define CALL_MultiTexCoord3iARB(disp, parameters) \ - (* GET_MultiTexCoord3iARB(disp)) parameters -static inline _glptr_MultiTexCoord3iARB -GET_MultiTexCoord3iARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3iARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3iARB)); -} - -static inline void -SET_MultiTexCoord3iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3ivARB) (GLenum, const GLint *); - -#define CALL_MultiTexCoord3ivARB(disp, parameters) \ - (* GET_MultiTexCoord3ivARB(disp)) parameters -static inline _glptr_MultiTexCoord3ivARB -GET_MultiTexCoord3ivARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3ivARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3ivARB)); -} - -static inline void -SET_MultiTexCoord3ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sARB) (GLenum, GLshort, GLshort, - GLshort); -#define CALL_MultiTexCoord3sARB(disp, parameters) \ - (* GET_MultiTexCoord3sARB(disp)) parameters -static inline _glptr_MultiTexCoord3sARB -GET_MultiTexCoord3sARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3sARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3sARB)); -} - -static inline void -SET_MultiTexCoord3sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort, - GLshort)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord3svARB) (GLenum, const GLshort *); - -#define CALL_MultiTexCoord3svARB(disp, parameters) \ - (* GET_MultiTexCoord3svARB(disp)) parameters -static inline _glptr_MultiTexCoord3svARB -GET_MultiTexCoord3svARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord3svARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord3svARB)); -} - -static inline void -SET_MultiTexCoord3svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord3svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dARB) (GLenum, GLdouble, - GLdouble, GLdouble, - GLdouble); -#define CALL_MultiTexCoord4dARB(disp, parameters) \ - (* GET_MultiTexCoord4dARB(disp)) parameters -static inline _glptr_MultiTexCoord4dARB -GET_MultiTexCoord4dARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4dARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4dARB)); -} - -static inline void -SET_MultiTexCoord4dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, - GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dvARB) (GLenum, - const GLdouble *); -#define CALL_MultiTexCoord4dvARB(disp, parameters) \ - (* GET_MultiTexCoord4dvARB(disp)) parameters -static inline _glptr_MultiTexCoord4dvARB -GET_MultiTexCoord4dvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4dvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4dvARB)); -} - -static inline void -SET_MultiTexCoord4dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB) (GLenum, GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_MultiTexCoord4fARB(disp, parameters) \ - (* GET_MultiTexCoord4fARB(disp)) parameters -static inline _glptr_MultiTexCoord4fARB -GET_MultiTexCoord4fARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4fARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4fARB)); -} - -static inline void -SET_MultiTexCoord4fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB) (GLenum, const GLfloat *); - -#define CALL_MultiTexCoord4fvARB(disp, parameters) \ - (* GET_MultiTexCoord4fvARB(disp)) parameters -static inline _glptr_MultiTexCoord4fvARB -GET_MultiTexCoord4fvARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4fvARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4fvARB)); -} - -static inline void -SET_MultiTexCoord4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iARB) (GLenum, GLint, GLint, - GLint, GLint); -#define CALL_MultiTexCoord4iARB(disp, parameters) \ - (* GET_MultiTexCoord4iARB(disp)) parameters -static inline _glptr_MultiTexCoord4iARB -GET_MultiTexCoord4iARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4iARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4iARB)); -} - -static inline void -SET_MultiTexCoord4iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, - GLint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4ivARB) (GLenum, const GLint *); - -#define CALL_MultiTexCoord4ivARB(disp, parameters) \ - (* GET_MultiTexCoord4ivARB(disp)) parameters -static inline _glptr_MultiTexCoord4ivARB -GET_MultiTexCoord4ivARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4ivARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4ivARB)); -} - -static inline void -SET_MultiTexCoord4ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sARB) (GLenum, GLshort, GLshort, - GLshort, GLshort); -#define CALL_MultiTexCoord4sARB(disp, parameters) \ - (* GET_MultiTexCoord4sARB(disp)) parameters -static inline _glptr_MultiTexCoord4sARB -GET_MultiTexCoord4sARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4sARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4sARB)); -} - -static inline void -SET_MultiTexCoord4sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort, GLshort, - GLshort)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoord4svARB) (GLenum, const GLshort *); - -#define CALL_MultiTexCoord4svARB(disp, parameters) \ - (* GET_MultiTexCoord4svARB(disp)) parameters -static inline _glptr_MultiTexCoord4svARB -GET_MultiTexCoord4svARB(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoord4svARB) (GET_by_offset - (disp, _gloffset_MultiTexCoord4svARB)); -} - -static inline void -SET_MultiTexCoord4svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoord4svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_AttachShader) (GLuint, GLuint); - -#define CALL_AttachShader(disp, parameters) \ - (* GET_AttachShader(disp)) parameters -static inline _glptr_AttachShader -GET_AttachShader(struct _glapi_table *disp) -{ - return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader)); -} - -static inline void -SET_AttachShader(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_AttachShader, fn); -} - -typedef GLuint(GLAPIENTRYP _glptr_CreateProgram) (void); - -#define CALL_CreateProgram(disp, parameters) \ - (* GET_CreateProgram(disp)) parameters -static inline _glptr_CreateProgram -GET_CreateProgram(struct _glapi_table *disp) -{ - return (_glptr_CreateProgram) (GET_by_offset - (disp, _gloffset_CreateProgram)); -} - -static inline void -SET_CreateProgram(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_CreateProgram, fn); -} - -typedef GLuint(GLAPIENTRYP _glptr_CreateShader) (GLenum); - -#define CALL_CreateShader(disp, parameters) \ - (* GET_CreateShader(disp)) parameters -static inline _glptr_CreateShader -GET_CreateShader(struct _glapi_table *disp) -{ - return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader)); -} - -static inline void -SET_CreateShader(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_CreateShader, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteProgram) (GLuint); - -#define CALL_DeleteProgram(disp, parameters) \ - (* GET_DeleteProgram(disp)) parameters -static inline _glptr_DeleteProgram -GET_DeleteProgram(struct _glapi_table *disp) -{ - return (_glptr_DeleteProgram) (GET_by_offset - (disp, _gloffset_DeleteProgram)); -} - -static inline void -SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_DeleteProgram, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteShader) (GLuint); - -#define CALL_DeleteShader(disp, parameters) \ - (* GET_DeleteShader(disp)) parameters -static inline _glptr_DeleteShader -GET_DeleteShader(struct _glapi_table *disp) -{ - return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader)); -} - -static inline void -SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_DeleteShader, fn); -} - -typedef void (GLAPIENTRYP _glptr_DetachShader) (GLuint, GLuint); - -#define CALL_DetachShader(disp, parameters) \ - (* GET_DetachShader(disp)) parameters -static inline _glptr_DetachShader -GET_DetachShader(struct _glapi_table *disp) -{ - return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader)); -} - -static inline void -SET_DetachShader(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_DetachShader, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetAttachedShaders) (GLuint, GLsizei, - GLsizei *, GLuint *); -#define CALL_GetAttachedShaders(disp, parameters) \ - (* GET_GetAttachedShaders(disp)) parameters -static inline _glptr_GetAttachedShaders -GET_GetAttachedShaders(struct _glapi_table *disp) -{ - return (_glptr_GetAttachedShaders) (GET_by_offset - (disp, _gloffset_GetAttachedShaders)); -} - -static inline void -SET_GetAttachedShaders(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *, - GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetAttachedShaders, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog) (GLuint, GLsizei, GLsizei *, - GLchar *); -#define CALL_GetProgramInfoLog(disp, parameters) \ - (* GET_GetProgramInfoLog(disp)) parameters -static inline _glptr_GetProgramInfoLog -GET_GetProgramInfoLog(struct _glapi_table *disp) -{ - return (_glptr_GetProgramInfoLog) (GET_by_offset - (disp, _gloffset_GetProgramInfoLog)); -} - -static inline void -SET_GetProgramInfoLog(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *, - GLchar *)) -{ - SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramiv) (GLuint, GLenum, GLint *); - -#define CALL_GetProgramiv(disp, parameters) \ - (* GET_GetProgramiv(disp)) parameters -static inline _glptr_GetProgramiv -GET_GetProgramiv(struct _glapi_table *disp) -{ - return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv)); -} - -static inline void -SET_GetProgramiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetProgramiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog) (GLuint, GLsizei, GLsizei *, - GLchar *); -#define CALL_GetShaderInfoLog(disp, parameters) \ - (* GET_GetShaderInfoLog(disp)) parameters -static inline _glptr_GetShaderInfoLog -GET_GetShaderInfoLog(struct _glapi_table *disp) -{ - return (_glptr_GetShaderInfoLog) (GET_by_offset - (disp, _gloffset_GetShaderInfoLog)); -} - -static inline void -SET_GetShaderInfoLog(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *, - GLchar *)) -{ - SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetShaderiv) (GLuint, GLenum, GLint *); - -#define CALL_GetShaderiv(disp, parameters) \ - (* GET_GetShaderiv(disp)) parameters -static inline _glptr_GetShaderiv -GET_GetShaderiv(struct _glapi_table *disp) -{ - return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv)); -} - -static inline void -SET_GetShaderiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetShaderiv, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsProgram) (GLuint); - -#define CALL_IsProgram(disp, parameters) \ - (* GET_IsProgram(disp)) parameters -static inline _glptr_IsProgram -GET_IsProgram(struct _glapi_table *disp) -{ - return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram)); -} - -static inline void -SET_IsProgram(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsProgram, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsShader) (GLuint); - -#define CALL_IsShader(disp, parameters) \ - (* GET_IsShader(disp)) parameters -static inline _glptr_IsShader -GET_IsShader(struct _glapi_table *disp) -{ - return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader)); -} - -static inline void -SET_IsShader(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsShader, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate) (GLenum, GLenum, GLint, - GLuint); -#define CALL_StencilFuncSeparate(disp, parameters) \ - (* GET_StencilFuncSeparate(disp)) parameters -static inline _glptr_StencilFuncSeparate -GET_StencilFuncSeparate(struct _glapi_table *disp) -{ - return (_glptr_StencilFuncSeparate) (GET_by_offset - (disp, _gloffset_StencilFuncSeparate)); -} - -static inline void -SET_StencilFuncSeparate(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLuint)) -{ - SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate) (GLenum, GLuint); - -#define CALL_StencilMaskSeparate(disp, parameters) \ - (* GET_StencilMaskSeparate(disp)) parameters -static inline _glptr_StencilMaskSeparate -GET_StencilMaskSeparate(struct _glapi_table *disp) -{ - return (_glptr_StencilMaskSeparate) (GET_by_offset - (disp, _gloffset_StencilMaskSeparate)); -} - -static inline void -SET_StencilMaskSeparate(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilOpSeparate) (GLenum, GLenum, GLenum, - GLenum); -#define CALL_StencilOpSeparate(disp, parameters) \ - (* GET_StencilOpSeparate(disp)) parameters -static inline _glptr_StencilOpSeparate -GET_StencilOpSeparate(struct _glapi_table *disp) -{ - return (_glptr_StencilOpSeparate) (GET_by_offset - (disp, _gloffset_StencilOpSeparate)); -} - -static inline void -SET_StencilOpSeparate(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_StencilOpSeparate, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix2x3fv(disp, parameters) \ - (* GET_UniformMatrix2x3fv(disp)) parameters -static inline _glptr_UniformMatrix2x3fv -GET_UniformMatrix2x3fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix2x3fv) (GET_by_offset - (disp, _gloffset_UniformMatrix2x3fv)); -} - -static inline void -SET_UniformMatrix2x3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix2x4fv(disp, parameters) \ - (* GET_UniformMatrix2x4fv(disp)) parameters -static inline _glptr_UniformMatrix2x4fv -GET_UniformMatrix2x4fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix2x4fv) (GET_by_offset - (disp, _gloffset_UniformMatrix2x4fv)); -} - -static inline void -SET_UniformMatrix2x4fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix3x2fv(disp, parameters) \ - (* GET_UniformMatrix3x2fv(disp)) parameters -static inline _glptr_UniformMatrix3x2fv -GET_UniformMatrix3x2fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix3x2fv) (GET_by_offset - (disp, _gloffset_UniformMatrix3x2fv)); -} - -static inline void -SET_UniformMatrix3x2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix3x4fv(disp, parameters) \ - (* GET_UniformMatrix3x4fv(disp)) parameters -static inline _glptr_UniformMatrix3x4fv -GET_UniformMatrix3x4fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix3x4fv) (GET_by_offset - (disp, _gloffset_UniformMatrix3x4fv)); -} - -static inline void -SET_UniformMatrix3x4fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix4x2fv(disp, parameters) \ - (* GET_UniformMatrix4x2fv(disp)) parameters -static inline _glptr_UniformMatrix4x2fv -GET_UniformMatrix4x2fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix4x2fv) (GET_by_offset - (disp, _gloffset_UniformMatrix4x2fv)); -} - -static inline void -SET_UniformMatrix4x2fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv) (GLint, GLsizei, GLboolean, - const GLfloat *); -#define CALL_UniformMatrix4x3fv(disp, parameters) \ - (* GET_UniformMatrix4x3fv(disp)) parameters -static inline _glptr_UniformMatrix4x3fv -GET_UniformMatrix4x3fv(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix4x3fv) (GET_by_offset - (disp, _gloffset_UniformMatrix4x3fv)); -} - -static inline void -SET_UniformMatrix4x3fv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClampColor) (GLenum, GLenum); - -#define CALL_ClampColor(disp, parameters) \ - (* GET_ClampColor(disp)) parameters -static inline _glptr_ClampColor -GET_ClampColor(struct _glapi_table *disp) -{ - return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor)); -} - -static inline void -SET_ClampColor(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_ClampColor, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearBufferfi) (GLenum, GLint, GLfloat, GLint); - -#define CALL_ClearBufferfi(disp, parameters) \ - (* GET_ClearBufferfi(disp)) parameters -static inline _glptr_ClearBufferfi -GET_ClearBufferfi(struct _glapi_table *disp) -{ - return (_glptr_ClearBufferfi) (GET_by_offset - (disp, _gloffset_ClearBufferfi)); -} - -static inline void -SET_ClearBufferfi(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLfloat, GLint)) -{ - SET_by_offset(disp, _gloffset_ClearBufferfi, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearBufferfv) (GLenum, GLint, - const GLfloat *); -#define CALL_ClearBufferfv(disp, parameters) \ - (* GET_ClearBufferfv(disp)) parameters -static inline _glptr_ClearBufferfv -GET_ClearBufferfv(struct _glapi_table *disp) -{ - return (_glptr_ClearBufferfv) (GET_by_offset - (disp, _gloffset_ClearBufferfv)); -} - -static inline void -SET_ClearBufferfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ClearBufferfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearBufferiv) (GLenum, GLint, const GLint *); - -#define CALL_ClearBufferiv(disp, parameters) \ - (* GET_ClearBufferiv(disp)) parameters -static inline _glptr_ClearBufferiv -GET_ClearBufferiv(struct _glapi_table *disp) -{ - return (_glptr_ClearBufferiv) (GET_by_offset - (disp, _gloffset_ClearBufferiv)); -} - -static inline void -SET_ClearBufferiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_ClearBufferiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearBufferuiv) (GLenum, GLint, - const GLuint *); -#define CALL_ClearBufferuiv(disp, parameters) \ - (* GET_ClearBufferuiv(disp)) parameters -static inline _glptr_ClearBufferuiv -GET_ClearBufferuiv(struct _glapi_table *disp) -{ - return (_glptr_ClearBufferuiv) (GET_by_offset - (disp, _gloffset_ClearBufferuiv)); -} - -static inline void -SET_ClearBufferuiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_ClearBufferuiv, fn); -} - -typedef const GLubyte *(GLAPIENTRYP _glptr_GetStringi) (GLenum, GLuint); - -#define CALL_GetStringi(disp, parameters) \ - (* GET_GetStringi(disp)) parameters -static inline _glptr_GetStringi -GET_GetStringi(struct _glapi_table *disp) -{ - return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi)); -} - -static inline void -SET_GetStringi(struct _glapi_table *disp, - const GLubyte * (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_GetStringi, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexBuffer) (GLenum, GLenum, GLuint); - -#define CALL_TexBuffer(disp, parameters) \ - (* GET_TexBuffer(disp)) parameters -static inline _glptr_TexBuffer -GET_TexBuffer(struct _glapi_table *disp) -{ - return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer)); -} - -static inline void -SET_TexBuffer(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexBuffer, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTexture) (GLenum, GLenum, GLuint, - GLint); -#define CALL_FramebufferTexture(disp, parameters) \ - (* GET_FramebufferTexture(disp)) parameters -static inline _glptr_FramebufferTexture -GET_FramebufferTexture(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTexture) (GET_by_offset - (disp, _gloffset_FramebufferTexture)); -} - -static inline void -SET_FramebufferTexture(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTexture, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v) (GLenum, GLenum, - GLint64 *); -#define CALL_GetBufferParameteri64v(disp, parameters) \ - (* GET_GetBufferParameteri64v(disp)) parameters -static inline _glptr_GetBufferParameteri64v -GET_GetBufferParameteri64v(struct _glapi_table *disp) -{ - return (_glptr_GetBufferParameteri64v) (GET_by_offset - (disp, - _gloffset_GetBufferParameteri64v)); -} - -static inline void -SET_GetBufferParameteri64v(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint64 *)) -{ - SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetInteger64i_v) (GLenum, GLuint, GLint64 *); - -#define CALL_GetInteger64i_v(disp, parameters) \ - (* GET_GetInteger64i_v(disp)) parameters -static inline _glptr_GetInteger64i_v -GET_GetInteger64i_v(struct _glapi_table *disp) -{ - return (_glptr_GetInteger64i_v) (GET_by_offset - (disp, _gloffset_GetInteger64i_v)); -} - -static inline void -SET_GetInteger64i_v(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLint64 *)) -{ - SET_by_offset(disp, _gloffset_GetInteger64i_v, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor) (GLuint, GLuint); - -#define CALL_VertexAttribDivisor(disp, parameters) \ - (* GET_VertexAttribDivisor(disp)) parameters -static inline _glptr_VertexAttribDivisor -GET_VertexAttribDivisor(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribDivisor) (GET_by_offset - (disp, _gloffset_VertexAttribDivisor)); -} - -static inline void -SET_VertexAttribDivisor(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixdARB) (const GLdouble *); - -#define CALL_LoadTransposeMatrixdARB(disp, parameters) \ - (* GET_LoadTransposeMatrixdARB(disp)) parameters -static inline _glptr_LoadTransposeMatrixdARB -GET_LoadTransposeMatrixdARB(struct _glapi_table *disp) -{ - return (_glptr_LoadTransposeMatrixdARB) (GET_by_offset - (disp, - _gloffset_LoadTransposeMatrixdARB)); -} - -static inline void -SET_LoadTransposeMatrixdARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixfARB) (const GLfloat *); - -#define CALL_LoadTransposeMatrixfARB(disp, parameters) \ - (* GET_LoadTransposeMatrixfARB(disp)) parameters -static inline _glptr_LoadTransposeMatrixfARB -GET_LoadTransposeMatrixfARB(struct _glapi_table *disp) -{ - return (_glptr_LoadTransposeMatrixfARB) (GET_by_offset - (disp, - _gloffset_LoadTransposeMatrixfARB)); -} - -static inline void -SET_LoadTransposeMatrixfARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixdARB) (const GLdouble *); - -#define CALL_MultTransposeMatrixdARB(disp, parameters) \ - (* GET_MultTransposeMatrixdARB(disp)) parameters -static inline _glptr_MultTransposeMatrixdARB -GET_MultTransposeMatrixdARB(struct _glapi_table *disp) -{ - return (_glptr_MultTransposeMatrixdARB) (GET_by_offset - (disp, - _gloffset_MultTransposeMatrixdARB)); -} - -static inline void -SET_MultTransposeMatrixdARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_MultTransposeMatrixdARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixfARB) (const GLfloat *); - -#define CALL_MultTransposeMatrixfARB(disp, parameters) \ - (* GET_MultTransposeMatrixfARB(disp)) parameters -static inline _glptr_MultTransposeMatrixfARB -GET_MultTransposeMatrixfARB(struct _glapi_table *disp) -{ - return (_glptr_MultTransposeMatrixfARB) (GET_by_offset - (disp, - _gloffset_MultTransposeMatrixfARB)); -} - -static inline void -SET_MultTransposeMatrixfARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_MultTransposeMatrixfARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_SampleCoverageARB) (GLclampf, GLboolean); - -#define CALL_SampleCoverageARB(disp, parameters) \ - (* GET_SampleCoverageARB(disp)) parameters -static inline _glptr_SampleCoverageARB -GET_SampleCoverageARB(struct _glapi_table *disp) -{ - return (_glptr_SampleCoverageARB) (GET_by_offset - (disp, _gloffset_SampleCoverageARB)); -} - -static inline void -SET_SampleCoverageARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampf, GLboolean)) -{ - SET_by_offset(disp, _gloffset_SampleCoverageARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexImage1DARB) (GLenum, GLint, - GLenum, GLsizei, - GLint, GLsizei, - const GLvoid *); -#define CALL_CompressedTexImage1DARB(disp, parameters) \ - (* GET_CompressedTexImage1DARB(disp)) parameters -static inline _glptr_CompressedTexImage1DARB -GET_CompressedTexImage1DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexImage1DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexImage1DARB)); -} - -static inline void -SET_CompressedTexImage1DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, - GLsizei, GLint, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexImage1DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexImage2DARB) (GLenum, GLint, - GLenum, GLsizei, - GLsizei, GLint, - GLsizei, - const GLvoid *); -#define CALL_CompressedTexImage2DARB(disp, parameters) \ - (* GET_CompressedTexImage2DARB(disp)) parameters -static inline _glptr_CompressedTexImage2DARB -GET_CompressedTexImage2DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexImage2DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexImage2DARB)); -} - -static inline void -SET_CompressedTexImage2DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, - GLsizei, GLsizei, GLint, - GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexImage2DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexImage3DARB) (GLenum, GLint, - GLenum, GLsizei, - GLsizei, GLsizei, - GLint, GLsizei, - const GLvoid *); -#define CALL_CompressedTexImage3DARB(disp, parameters) \ - (* GET_CompressedTexImage3DARB(disp)) parameters -static inline _glptr_CompressedTexImage3DARB -GET_CompressedTexImage3DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexImage3DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexImage3DARB)); -} - -static inline void -SET_CompressedTexImage3DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, - GLsizei, GLsizei, GLsizei, - GLint, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexImage3DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1DARB) (GLenum, GLint, - GLint, GLsizei, - GLenum, GLsizei, - const GLvoid *); -#define CALL_CompressedTexSubImage1DARB(disp, parameters) \ - (* GET_CompressedTexSubImage1DARB(disp)) parameters -static inline _glptr_CompressedTexSubImage1DARB -GET_CompressedTexSubImage1DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexSubImage1DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexSubImage1DARB)); -} - -static inline void -SET_CompressedTexSubImage1DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, - GLsizei, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2DARB) (GLenum, GLint, - GLint, GLint, - GLsizei, GLsizei, - GLenum, GLsizei, - const GLvoid *); -#define CALL_CompressedTexSubImage2DARB(disp, parameters) \ - (* GET_CompressedTexSubImage2DARB(disp)) parameters -static inline _glptr_CompressedTexSubImage2DARB -GET_CompressedTexSubImage2DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexSubImage2DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexSubImage2DARB)); -} - -static inline void -SET_CompressedTexSubImage2DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, - GLint, GLsizei, GLsizei, - GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3DARB) (GLenum, GLint, - GLint, GLint, - GLint, GLsizei, - GLsizei, GLsizei, - GLenum, GLsizei, - const GLvoid *); -#define CALL_CompressedTexSubImage3DARB(disp, parameters) \ - (* GET_CompressedTexSubImage3DARB(disp)) parameters -static inline _glptr_CompressedTexSubImage3DARB -GET_CompressedTexSubImage3DARB(struct _glapi_table *disp) -{ - return (_glptr_CompressedTexSubImage3DARB) (GET_by_offset - (disp, - _gloffset_CompressedTexSubImage3DARB)); -} - -static inline void -SET_CompressedTexSubImage3DARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLint, - GLint, GLint, GLsizei, - GLsizei, GLsizei, GLenum, - GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetCompressedTexImageARB) (GLenum, GLint, - GLvoid *); -#define CALL_GetCompressedTexImageARB(disp, parameters) \ - (* GET_GetCompressedTexImageARB(disp)) parameters -static inline _glptr_GetCompressedTexImageARB -GET_GetCompressedTexImageARB(struct _glapi_table *disp) -{ - return (_glptr_GetCompressedTexImageARB) (GET_by_offset - (disp, - _gloffset_GetCompressedTexImageARB)); -} - -static inline void -SET_GetCompressedTexImageARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetCompressedTexImageARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArrayARB) (GLuint); - -#define CALL_DisableVertexAttribArrayARB(disp, parameters) \ - (* GET_DisableVertexAttribArrayARB(disp)) parameters -static inline _glptr_DisableVertexAttribArrayARB -GET_DisableVertexAttribArrayARB(struct _glapi_table *disp) -{ - return (_glptr_DisableVertexAttribArrayARB) (GET_by_offset - (disp, - _gloffset_DisableVertexAttribArrayARB)); -} - -static inline void -SET_DisableVertexAttribArrayARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArrayARB) (GLuint); - -#define CALL_EnableVertexAttribArrayARB(disp, parameters) \ - (* GET_EnableVertexAttribArrayARB(disp)) parameters -static inline _glptr_EnableVertexAttribArrayARB -GET_EnableVertexAttribArrayARB(struct _glapi_table *disp) -{ - return (_glptr_EnableVertexAttribArrayARB) (GET_by_offset - (disp, - _gloffset_EnableVertexAttribArrayARB)); -} - -static inline void -SET_EnableVertexAttribArrayARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB) (GLenum, GLuint, - GLdouble *); -#define CALL_GetProgramEnvParameterdvARB(disp, parameters) \ - (* GET_GetProgramEnvParameterdvARB(disp)) parameters -static inline _glptr_GetProgramEnvParameterdvARB -GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset - (disp, - _gloffset_GetProgramEnvParameterdvARB)); -} - -static inline void -SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB) (GLenum, GLuint, - GLfloat *); -#define CALL_GetProgramEnvParameterfvARB(disp, parameters) \ - (* GET_GetProgramEnvParameterfvARB(disp)) parameters -static inline _glptr_GetProgramEnvParameterfvARB -GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset - (disp, - _gloffset_GetProgramEnvParameterfvARB)); -} - -static inline void -SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB) (GLenum, GLuint, - GLdouble *); -#define CALL_GetProgramLocalParameterdvARB(disp, parameters) \ - (* GET_GetProgramLocalParameterdvARB(disp)) parameters -static inline _glptr_GetProgramLocalParameterdvARB -GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset - (disp, - _gloffset_GetProgramLocalParameterdvARB)); -} - -static inline void -SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB) (GLenum, GLuint, - GLfloat *); -#define CALL_GetProgramLocalParameterfvARB(disp, parameters) \ - (* GET_GetProgramLocalParameterfvARB(disp)) parameters -static inline _glptr_GetProgramLocalParameterfvARB -GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset - (disp, - _gloffset_GetProgramLocalParameterfvARB)); -} - -static inline void -SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramStringARB) (GLenum, GLenum, - GLvoid *); -#define CALL_GetProgramStringARB(disp, parameters) \ - (* GET_GetProgramStringARB(disp)) parameters -static inline _glptr_GetProgramStringARB -GET_GetProgramStringARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramStringARB) (GET_by_offset - (disp, _gloffset_GetProgramStringARB)); -} - -static inline void -SET_GetProgramStringARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetProgramStringARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramivARB) (GLenum, GLenum, GLint *); - -#define CALL_GetProgramivARB(disp, parameters) \ - (* GET_GetProgramivARB(disp)) parameters -static inline _glptr_GetProgramivARB -GET_GetProgramivARB(struct _glapi_table *disp) -{ - return (_glptr_GetProgramivARB) (GET_by_offset - (disp, _gloffset_GetProgramivARB)); -} - -static inline void -SET_GetProgramivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetProgramivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvARB) (GLuint, GLenum, - GLdouble *); -#define CALL_GetVertexAttribdvARB(disp, parameters) \ - (* GET_GetVertexAttribdvARB(disp)) parameters -static inline _glptr_GetVertexAttribdvARB -GET_GetVertexAttribdvARB(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribdvARB) (GET_by_offset - (disp, - _gloffset_GetVertexAttribdvARB)); -} - -static inline void -SET_GetVertexAttribdvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribdvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvARB) (GLuint, GLenum, - GLfloat *); -#define CALL_GetVertexAttribfvARB(disp, parameters) \ - (* GET_GetVertexAttribfvARB(disp)) parameters -static inline _glptr_GetVertexAttribfvARB -GET_GetVertexAttribfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribfvARB) (GET_by_offset - (disp, - _gloffset_GetVertexAttribfvARB)); -} - -static inline void -SET_GetVertexAttribfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribivARB) (GLuint, GLenum, - GLint *); -#define CALL_GetVertexAttribivARB(disp, parameters) \ - (* GET_GetVertexAttribivARB(disp)) parameters -static inline _glptr_GetVertexAttribivARB -GET_GetVertexAttribivARB(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribivARB) (GET_by_offset - (disp, - _gloffset_GetVertexAttribivARB)); -} - -static inline void -SET_GetVertexAttribivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB) (GLenum, GLuint, - GLdouble, GLdouble, - GLdouble, GLdouble); -#define CALL_ProgramEnvParameter4dARB(disp, parameters) \ - (* GET_ProgramEnvParameter4dARB(disp)) parameters -static inline _glptr_ProgramEnvParameter4dARB -GET_ProgramEnvParameter4dARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset - (disp, - _gloffset_ProgramEnvParameter4dARB)); -} - -static inline void -SET_ProgramEnvParameter4dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLdouble, - GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB) (GLenum, GLuint, - const GLdouble *); -#define CALL_ProgramEnvParameter4dvARB(disp, parameters) \ - (* GET_ProgramEnvParameter4dvARB(disp)) parameters -static inline _glptr_ProgramEnvParameter4dvARB -GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset - (disp, - _gloffset_ProgramEnvParameter4dvARB)); -} - -static inline void -SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB) (GLenum, GLuint, - GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_ProgramEnvParameter4fARB(disp, parameters) \ - (* GET_ProgramEnvParameter4fARB(disp)) parameters -static inline _glptr_ProgramEnvParameter4fARB -GET_ProgramEnvParameter4fARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset - (disp, - _gloffset_ProgramEnvParameter4fARB)); -} - -static inline void -SET_ProgramEnvParameter4fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLfloat, - GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB) (GLenum, GLuint, - const GLfloat *); -#define CALL_ProgramEnvParameter4fvARB(disp, parameters) \ - (* GET_ProgramEnvParameter4fvARB(disp)) parameters -static inline _glptr_ProgramEnvParameter4fvARB -GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset - (disp, - _gloffset_ProgramEnvParameter4fvARB)); -} - -static inline void -SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB) (GLenum, GLuint, - GLdouble, - GLdouble, - GLdouble, - GLdouble); -#define CALL_ProgramLocalParameter4dARB(disp, parameters) \ - (* GET_ProgramLocalParameter4dARB(disp)) parameters -static inline _glptr_ProgramLocalParameter4dARB -GET_ProgramLocalParameter4dARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset - (disp, - _gloffset_ProgramLocalParameter4dARB)); -} - -static inline void -SET_ProgramLocalParameter4dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLdouble, - GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB) (GLenum, GLuint, - const GLdouble - *); -#define CALL_ProgramLocalParameter4dvARB(disp, parameters) \ - (* GET_ProgramLocalParameter4dvARB(disp)) parameters -static inline _glptr_ProgramLocalParameter4dvARB -GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset - (disp, - _gloffset_ProgramLocalParameter4dvARB)); -} - -static inline void -SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB) (GLenum, GLuint, - GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_ProgramLocalParameter4fARB(disp, parameters) \ - (* GET_ProgramLocalParameter4fARB(disp)) parameters -static inline _glptr_ProgramLocalParameter4fARB -GET_ProgramLocalParameter4fARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset - (disp, - _gloffset_ProgramLocalParameter4fARB)); -} - -static inline void -SET_ProgramLocalParameter4fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLfloat, - GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB) (GLenum, GLuint, - const GLfloat *); -#define CALL_ProgramLocalParameter4fvARB(disp, parameters) \ - (* GET_ProgramLocalParameter4fvARB(disp)) parameters -static inline _glptr_ProgramLocalParameter4fvARB -GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset - (disp, - _gloffset_ProgramLocalParameter4fvARB)); -} - -static inline void -SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramStringARB) (GLenum, GLenum, GLsizei, - const GLvoid *); -#define CALL_ProgramStringARB(disp, parameters) \ - (* GET_ProgramStringARB(disp)) parameters -static inline _glptr_ProgramStringARB -GET_ProgramStringARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramStringARB) (GET_by_offset - (disp, _gloffset_ProgramStringARB)); -} - -static inline void -SET_ProgramStringARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ProgramStringARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1dARB) (GLuint, GLdouble); - -#define CALL_VertexAttrib1dARB(disp, parameters) \ - (* GET_VertexAttrib1dARB(disp)) parameters -static inline _glptr_VertexAttrib1dARB -GET_VertexAttrib1dARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1dARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1dARB)); -} - -static inline void -SET_VertexAttrib1dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvARB) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib1dvARB(disp, parameters) \ - (* GET_VertexAttrib1dvARB(disp)) parameters -static inline _glptr_VertexAttrib1dvARB -GET_VertexAttrib1dvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1dvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1dvARB)); -} - -static inline void -SET_VertexAttrib1dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB) (GLuint, GLfloat); - -#define CALL_VertexAttrib1fARB(disp, parameters) \ - (* GET_VertexAttrib1fARB(disp)) parameters -static inline _glptr_VertexAttrib1fARB -GET_VertexAttrib1fARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1fARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1fARB)); -} - -static inline void -SET_VertexAttrib1fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib1fvARB(disp, parameters) \ - (* GET_VertexAttrib1fvARB(disp)) parameters -static inline _glptr_VertexAttrib1fvARB -GET_VertexAttrib1fvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1fvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1fvARB)); -} - -static inline void -SET_VertexAttrib1fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1sARB) (GLuint, GLshort); - -#define CALL_VertexAttrib1sARB(disp, parameters) \ - (* GET_VertexAttrib1sARB(disp)) parameters -static inline _glptr_VertexAttrib1sARB -GET_VertexAttrib1sARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1sARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1sARB)); -} - -static inline void -SET_VertexAttrib1sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1svARB) (GLuint, const GLshort *); - -#define CALL_VertexAttrib1svARB(disp, parameters) \ - (* GET_VertexAttrib1svARB(disp)) parameters -static inline _glptr_VertexAttrib1svARB -GET_VertexAttrib1svARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1svARB) (GET_by_offset - (disp, _gloffset_VertexAttrib1svARB)); -} - -static inline void -SET_VertexAttrib1svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2dARB) (GLuint, GLdouble, - GLdouble); -#define CALL_VertexAttrib2dARB(disp, parameters) \ - (* GET_VertexAttrib2dARB(disp)) parameters -static inline _glptr_VertexAttrib2dARB -GET_VertexAttrib2dARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2dARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2dARB)); -} - -static inline void -SET_VertexAttrib2dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvARB) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib2dvARB(disp, parameters) \ - (* GET_VertexAttrib2dvARB(disp)) parameters -static inline _glptr_VertexAttrib2dvARB -GET_VertexAttrib2dvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2dvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2dvARB)); -} - -static inline void -SET_VertexAttrib2dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB) (GLuint, GLfloat, GLfloat); - -#define CALL_VertexAttrib2fARB(disp, parameters) \ - (* GET_VertexAttrib2fARB(disp)) parameters -static inline _glptr_VertexAttrib2fARB -GET_VertexAttrib2fARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2fARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2fARB)); -} - -static inline void -SET_VertexAttrib2fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib2fvARB(disp, parameters) \ - (* GET_VertexAttrib2fvARB(disp)) parameters -static inline _glptr_VertexAttrib2fvARB -GET_VertexAttrib2fvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2fvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2fvARB)); -} - -static inline void -SET_VertexAttrib2fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2sARB) (GLuint, GLshort, GLshort); - -#define CALL_VertexAttrib2sARB(disp, parameters) \ - (* GET_VertexAttrib2sARB(disp)) parameters -static inline _glptr_VertexAttrib2sARB -GET_VertexAttrib2sARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2sARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2sARB)); -} - -static inline void -SET_VertexAttrib2sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2svARB) (GLuint, const GLshort *); - -#define CALL_VertexAttrib2svARB(disp, parameters) \ - (* GET_VertexAttrib2svARB(disp)) parameters -static inline _glptr_VertexAttrib2svARB -GET_VertexAttrib2svARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2svARB) (GET_by_offset - (disp, _gloffset_VertexAttrib2svARB)); -} - -static inline void -SET_VertexAttrib2svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3dARB) (GLuint, GLdouble, GLdouble, - GLdouble); -#define CALL_VertexAttrib3dARB(disp, parameters) \ - (* GET_VertexAttrib3dARB(disp)) parameters -static inline _glptr_VertexAttrib3dARB -GET_VertexAttrib3dARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3dARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3dARB)); -} - -static inline void -SET_VertexAttrib3dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvARB) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib3dvARB(disp, parameters) \ - (* GET_VertexAttrib3dvARB(disp)) parameters -static inline _glptr_VertexAttrib3dvARB -GET_VertexAttrib3dvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3dvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3dvARB)); -} - -static inline void -SET_VertexAttrib3dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB) (GLuint, GLfloat, GLfloat, - GLfloat); -#define CALL_VertexAttrib3fARB(disp, parameters) \ - (* GET_VertexAttrib3fARB(disp)) parameters -static inline _glptr_VertexAttrib3fARB -GET_VertexAttrib3fARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3fARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3fARB)); -} - -static inline void -SET_VertexAttrib3fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib3fvARB(disp, parameters) \ - (* GET_VertexAttrib3fvARB(disp)) parameters -static inline _glptr_VertexAttrib3fvARB -GET_VertexAttrib3fvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3fvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3fvARB)); -} - -static inline void -SET_VertexAttrib3fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3sARB) (GLuint, GLshort, GLshort, - GLshort); -#define CALL_VertexAttrib3sARB(disp, parameters) \ - (* GET_VertexAttrib3sARB(disp)) parameters -static inline _glptr_VertexAttrib3sARB -GET_VertexAttrib3sARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3sARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3sARB)); -} - -static inline void -SET_VertexAttrib3sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3svARB) (GLuint, const GLshort *); - -#define CALL_VertexAttrib3svARB(disp, parameters) \ - (* GET_VertexAttrib3svARB(disp)) parameters -static inline _glptr_VertexAttrib3svARB -GET_VertexAttrib3svARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3svARB) (GET_by_offset - (disp, _gloffset_VertexAttrib3svARB)); -} - -static inline void -SET_VertexAttrib3svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NbvARB) (GLuint, const GLbyte *); - -#define CALL_VertexAttrib4NbvARB(disp, parameters) \ - (* GET_VertexAttrib4NbvARB(disp)) parameters -static inline _glptr_VertexAttrib4NbvARB -GET_VertexAttrib4NbvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NbvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4NbvARB)); -} - -static inline void -SET_VertexAttrib4NbvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NbvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NivARB) (GLuint, const GLint *); - -#define CALL_VertexAttrib4NivARB(disp, parameters) \ - (* GET_VertexAttrib4NivARB(disp)) parameters -static inline _glptr_VertexAttrib4NivARB -GET_VertexAttrib4NivARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NivARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4NivARB)); -} - -static inline void -SET_VertexAttrib4NivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NsvARB) (GLuint, const GLshort *); - -#define CALL_VertexAttrib4NsvARB(disp, parameters) \ - (* GET_VertexAttrib4NsvARB(disp)) parameters -static inline _glptr_VertexAttrib4NsvARB -GET_VertexAttrib4NsvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NsvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4NsvARB)); -} - -static inline void -SET_VertexAttrib4NsvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NsvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubARB) (GLuint, GLubyte, GLubyte, - GLubyte, GLubyte); -#define CALL_VertexAttrib4NubARB(disp, parameters) \ - (* GET_VertexAttrib4NubARB(disp)) parameters -static inline _glptr_VertexAttrib4NubARB -GET_VertexAttrib4NubARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NubARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4NubARB)); -} - -static inline void -SET_VertexAttrib4NubARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLubyte, GLubyte, - GLubyte, GLubyte)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NubARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubvARB) (GLuint, - const GLubyte *); -#define CALL_VertexAttrib4NubvARB(disp, parameters) \ - (* GET_VertexAttrib4NubvARB(disp)) parameters -static inline _glptr_VertexAttrib4NubvARB -GET_VertexAttrib4NubvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NubvARB) (GET_by_offset - (disp, - _gloffset_VertexAttrib4NubvARB)); -} - -static inline void -SET_VertexAttrib4NubvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NubvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NuivARB) (GLuint, const GLuint *); - -#define CALL_VertexAttrib4NuivARB(disp, parameters) \ - (* GET_VertexAttrib4NuivARB(disp)) parameters -static inline _glptr_VertexAttrib4NuivARB -GET_VertexAttrib4NuivARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NuivARB) (GET_by_offset - (disp, - _gloffset_VertexAttrib4NuivARB)); -} - -static inline void -SET_VertexAttrib4NuivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NuivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4NusvARB) (GLuint, - const GLushort *); -#define CALL_VertexAttrib4NusvARB(disp, parameters) \ - (* GET_VertexAttrib4NusvARB(disp)) parameters -static inline _glptr_VertexAttrib4NusvARB -GET_VertexAttrib4NusvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4NusvARB) (GET_by_offset - (disp, - _gloffset_VertexAttrib4NusvARB)); -} - -static inline void -SET_VertexAttrib4NusvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLushort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4NusvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4bvARB) (GLuint, const GLbyte *); - -#define CALL_VertexAttrib4bvARB(disp, parameters) \ - (* GET_VertexAttrib4bvARB(disp)) parameters -static inline _glptr_VertexAttrib4bvARB -GET_VertexAttrib4bvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4bvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4bvARB)); -} - -static inline void -SET_VertexAttrib4bvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4bvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4dARB) (GLuint, GLdouble, GLdouble, - GLdouble, GLdouble); -#define CALL_VertexAttrib4dARB(disp, parameters) \ - (* GET_VertexAttrib4dARB(disp)) parameters -static inline _glptr_VertexAttrib4dARB -GET_VertexAttrib4dARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4dARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4dARB)); -} - -static inline void -SET_VertexAttrib4dARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble, - GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4dARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvARB) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib4dvARB(disp, parameters) \ - (* GET_VertexAttrib4dvARB(disp)) parameters -static inline _glptr_VertexAttrib4dvARB -GET_VertexAttrib4dvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4dvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4dvARB)); -} - -static inline void -SET_VertexAttrib4dvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4dvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB) (GLuint, GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_VertexAttrib4fARB(disp, parameters) \ - (* GET_VertexAttrib4fARB(disp)) parameters -static inline _glptr_VertexAttrib4fARB -GET_VertexAttrib4fARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4fARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4fARB)); -} - -static inline void -SET_VertexAttrib4fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib4fvARB(disp, parameters) \ - (* GET_VertexAttrib4fvARB(disp)) parameters -static inline _glptr_VertexAttrib4fvARB -GET_VertexAttrib4fvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4fvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4fvARB)); -} - -static inline void -SET_VertexAttrib4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4ivARB) (GLuint, const GLint *); - -#define CALL_VertexAttrib4ivARB(disp, parameters) \ - (* GET_VertexAttrib4ivARB(disp)) parameters -static inline _glptr_VertexAttrib4ivARB -GET_VertexAttrib4ivARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4ivARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4ivARB)); -} - -static inline void -SET_VertexAttrib4ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4sARB) (GLuint, GLshort, GLshort, - GLshort, GLshort); -#define CALL_VertexAttrib4sARB(disp, parameters) \ - (* GET_VertexAttrib4sARB(disp)) parameters -static inline _glptr_VertexAttrib4sARB -GET_VertexAttrib4sARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4sARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4sARB)); -} - -static inline void -SET_VertexAttrib4sARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort, - GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4sARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4svARB) (GLuint, const GLshort *); - -#define CALL_VertexAttrib4svARB(disp, parameters) \ - (* GET_VertexAttrib4svARB(disp)) parameters -static inline _glptr_VertexAttrib4svARB -GET_VertexAttrib4svARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4svARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4svARB)); -} - -static inline void -SET_VertexAttrib4svARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4svARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvARB) (GLuint, const GLubyte *); - -#define CALL_VertexAttrib4ubvARB(disp, parameters) \ - (* GET_VertexAttrib4ubvARB(disp)) parameters -static inline _glptr_VertexAttrib4ubvARB -GET_VertexAttrib4ubvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4ubvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4ubvARB)); -} - -static inline void -SET_VertexAttrib4ubvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4ubvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4uivARB) (GLuint, const GLuint *); - -#define CALL_VertexAttrib4uivARB(disp, parameters) \ - (* GET_VertexAttrib4uivARB(disp)) parameters -static inline _glptr_VertexAttrib4uivARB -GET_VertexAttrib4uivARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4uivARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4uivARB)); -} - -static inline void -SET_VertexAttrib4uivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4uivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4usvARB) (GLuint, - const GLushort *); -#define CALL_VertexAttrib4usvARB(disp, parameters) \ - (* GET_VertexAttrib4usvARB(disp)) parameters -static inline _glptr_VertexAttrib4usvARB -GET_VertexAttrib4usvARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4usvARB) (GET_by_offset - (disp, _gloffset_VertexAttrib4usvARB)); -} - -static inline void -SET_VertexAttrib4usvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLushort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4usvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribPointerARB) (GLuint, GLint, GLenum, - GLboolean, GLsizei, - const GLvoid *); -#define CALL_VertexAttribPointerARB(disp, parameters) \ - (* GET_VertexAttribPointerARB(disp)) parameters -static inline _glptr_VertexAttribPointerARB -GET_VertexAttribPointerARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribPointerARB) (GET_by_offset - (disp, - _gloffset_VertexAttribPointerARB)); -} - -static inline void -SET_VertexAttribPointerARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLenum, - GLboolean, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribPointerARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindBufferARB) (GLenum, GLuint); - -#define CALL_BindBufferARB(disp, parameters) \ - (* GET_BindBufferARB(disp)) parameters -static inline _glptr_BindBufferARB -GET_BindBufferARB(struct _glapi_table *disp) -{ - return (_glptr_BindBufferARB) (GET_by_offset - (disp, _gloffset_BindBufferARB)); -} - -static inline void -SET_BindBufferARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindBufferARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BufferDataARB) (GLenum, GLsizeiptrARB, - const GLvoid *, GLenum); -#define CALL_BufferDataARB(disp, parameters) \ - (* GET_BufferDataARB(disp)) parameters -static inline _glptr_BufferDataARB -GET_BufferDataARB(struct _glapi_table *disp) -{ - return (_glptr_BufferDataARB) (GET_by_offset - (disp, _gloffset_BufferDataARB)); -} - -static inline void -SET_BufferDataARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizeiptrARB, const GLvoid *, - GLenum)) -{ - SET_by_offset(disp, _gloffset_BufferDataARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BufferSubDataARB) (GLenum, GLintptrARB, - GLsizeiptrARB, - const GLvoid *); -#define CALL_BufferSubDataARB(disp, parameters) \ - (* GET_BufferSubDataARB(disp)) parameters -static inline _glptr_BufferSubDataARB -GET_BufferSubDataARB(struct _glapi_table *disp) -{ - return (_glptr_BufferSubDataARB) (GET_by_offset - (disp, _gloffset_BufferSubDataARB)); -} - -static inline void -SET_BufferSubDataARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLintptrARB, GLsizeiptrARB, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_BufferSubDataARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteBuffersARB) (GLsizei, const GLuint *); - -#define CALL_DeleteBuffersARB(disp, parameters) \ - (* GET_DeleteBuffersARB(disp)) parameters -static inline _glptr_DeleteBuffersARB -GET_DeleteBuffersARB(struct _glapi_table *disp) -{ - return (_glptr_DeleteBuffersARB) (GET_by_offset - (disp, _gloffset_DeleteBuffersARB)); -} - -static inline void -SET_DeleteBuffersARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteBuffersARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenBuffersARB) (GLsizei, GLuint *); - -#define CALL_GenBuffersARB(disp, parameters) \ - (* GET_GenBuffersARB(disp)) parameters -static inline _glptr_GenBuffersARB -GET_GenBuffersARB(struct _glapi_table *disp) -{ - return (_glptr_GenBuffersARB) (GET_by_offset - (disp, _gloffset_GenBuffersARB)); -} - -static inline void -SET_GenBuffersARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenBuffersARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBufferParameterivARB) (GLenum, GLenum, - GLint *); -#define CALL_GetBufferParameterivARB(disp, parameters) \ - (* GET_GetBufferParameterivARB(disp)) parameters -static inline _glptr_GetBufferParameterivARB -GET_GetBufferParameterivARB(struct _glapi_table *disp) -{ - return (_glptr_GetBufferParameterivARB) (GET_by_offset - (disp, - _gloffset_GetBufferParameterivARB)); -} - -static inline void -SET_GetBufferParameterivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetBufferParameterivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBufferPointervARB) (GLenum, GLenum, - GLvoid **); -#define CALL_GetBufferPointervARB(disp, parameters) \ - (* GET_GetBufferPointervARB(disp)) parameters -static inline _glptr_GetBufferPointervARB -GET_GetBufferPointervARB(struct _glapi_table *disp) -{ - return (_glptr_GetBufferPointervARB) (GET_by_offset - (disp, - _gloffset_GetBufferPointervARB)); -} - -static inline void -SET_GetBufferPointervARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLvoid **)) -{ - SET_by_offset(disp, _gloffset_GetBufferPointervARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBufferSubDataARB) (GLenum, GLintptrARB, - GLsizeiptrARB, GLvoid *); -#define CALL_GetBufferSubDataARB(disp, parameters) \ - (* GET_GetBufferSubDataARB(disp)) parameters -static inline _glptr_GetBufferSubDataARB -GET_GetBufferSubDataARB(struct _glapi_table *disp) -{ - return (_glptr_GetBufferSubDataARB) (GET_by_offset - (disp, _gloffset_GetBufferSubDataARB)); -} - -static inline void -SET_GetBufferSubDataARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLintptrARB, - GLsizeiptrARB, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetBufferSubDataARB, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsBufferARB) (GLuint); - -#define CALL_IsBufferARB(disp, parameters) \ - (* GET_IsBufferARB(disp)) parameters -static inline _glptr_IsBufferARB -GET_IsBufferARB(struct _glapi_table *disp) -{ - return (_glptr_IsBufferARB) (GET_by_offset(disp, _gloffset_IsBufferARB)); -} - -static inline void -SET_IsBufferARB(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsBufferARB, fn); -} - -typedef GLvoid *(GLAPIENTRYP _glptr_MapBufferARB) (GLenum, GLenum); - -#define CALL_MapBufferARB(disp, parameters) \ - (* GET_MapBufferARB(disp)) parameters -static inline _glptr_MapBufferARB -GET_MapBufferARB(struct _glapi_table *disp) -{ - return (_glptr_MapBufferARB) (GET_by_offset(disp, _gloffset_MapBufferARB)); -} - -static inline void -SET_MapBufferARB(struct _glapi_table *disp, - GLvoid * (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_MapBufferARB, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_UnmapBufferARB) (GLenum); - -#define CALL_UnmapBufferARB(disp, parameters) \ - (* GET_UnmapBufferARB(disp)) parameters -static inline _glptr_UnmapBufferARB -GET_UnmapBufferARB(struct _glapi_table *disp) -{ - return (_glptr_UnmapBufferARB) (GET_by_offset - (disp, _gloffset_UnmapBufferARB)); -} - -static inline void -SET_UnmapBufferARB(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_UnmapBufferARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BeginQueryARB) (GLenum, GLuint); - -#define CALL_BeginQueryARB(disp, parameters) \ - (* GET_BeginQueryARB(disp)) parameters -static inline _glptr_BeginQueryARB -GET_BeginQueryARB(struct _glapi_table *disp) -{ - return (_glptr_BeginQueryARB) (GET_by_offset - (disp, _gloffset_BeginQueryARB)); -} - -static inline void -SET_BeginQueryARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BeginQueryARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteQueriesARB) (GLsizei, const GLuint *); - -#define CALL_DeleteQueriesARB(disp, parameters) \ - (* GET_DeleteQueriesARB(disp)) parameters -static inline _glptr_DeleteQueriesARB -GET_DeleteQueriesARB(struct _glapi_table *disp) -{ - return (_glptr_DeleteQueriesARB) (GET_by_offset - (disp, _gloffset_DeleteQueriesARB)); -} - -static inline void -SET_DeleteQueriesARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteQueriesARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_EndQueryARB) (GLenum); - -#define CALL_EndQueryARB(disp, parameters) \ - (* GET_EndQueryARB(disp)) parameters -static inline _glptr_EndQueryARB -GET_EndQueryARB(struct _glapi_table *disp) -{ - return (_glptr_EndQueryARB) (GET_by_offset(disp, _gloffset_EndQueryARB)); -} - -static inline void -SET_EndQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_EndQueryARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenQueriesARB) (GLsizei, GLuint *); - -#define CALL_GenQueriesARB(disp, parameters) \ - (* GET_GenQueriesARB(disp)) parameters -static inline _glptr_GenQueriesARB -GET_GenQueriesARB(struct _glapi_table *disp) -{ - return (_glptr_GenQueriesARB) (GET_by_offset - (disp, _gloffset_GenQueriesARB)); -} - -static inline void -SET_GenQueriesARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenQueriesARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetQueryObjectivARB) (GLuint, GLenum, GLint *); - -#define CALL_GetQueryObjectivARB(disp, parameters) \ - (* GET_GetQueryObjectivARB(disp)) parameters -static inline _glptr_GetQueryObjectivARB -GET_GetQueryObjectivARB(struct _glapi_table *disp) -{ - return (_glptr_GetQueryObjectivARB) (GET_by_offset - (disp, _gloffset_GetQueryObjectivARB)); -} - -static inline void -SET_GetQueryObjectivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetQueryObjectivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetQueryObjectuivARB) (GLuint, GLenum, - GLuint *); -#define CALL_GetQueryObjectuivARB(disp, parameters) \ - (* GET_GetQueryObjectuivARB(disp)) parameters -static inline _glptr_GetQueryObjectuivARB -GET_GetQueryObjectuivARB(struct _glapi_table *disp) -{ - return (_glptr_GetQueryObjectuivARB) (GET_by_offset - (disp, - _gloffset_GetQueryObjectuivARB)); -} - -static inline void -SET_GetQueryObjectuivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetQueryObjectuivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetQueryivARB) (GLenum, GLenum, GLint *); - -#define CALL_GetQueryivARB(disp, parameters) \ - (* GET_GetQueryivARB(disp)) parameters -static inline _glptr_GetQueryivARB -GET_GetQueryivARB(struct _glapi_table *disp) -{ - return (_glptr_GetQueryivARB) (GET_by_offset - (disp, _gloffset_GetQueryivARB)); -} - -static inline void -SET_GetQueryivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetQueryivARB, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsQueryARB) (GLuint); - -#define CALL_IsQueryARB(disp, parameters) \ - (* GET_IsQueryARB(disp)) parameters -static inline _glptr_IsQueryARB -GET_IsQueryARB(struct _glapi_table *disp) -{ - return (_glptr_IsQueryARB) (GET_by_offset(disp, _gloffset_IsQueryARB)); -} - -static inline void -SET_IsQueryARB(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsQueryARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_AttachObjectARB) (GLhandleARB, GLhandleARB); - -#define CALL_AttachObjectARB(disp, parameters) \ - (* GET_AttachObjectARB(disp)) parameters -static inline _glptr_AttachObjectARB -GET_AttachObjectARB(struct _glapi_table *disp) -{ - return (_glptr_AttachObjectARB) (GET_by_offset - (disp, _gloffset_AttachObjectARB)); -} - -static inline void -SET_AttachObjectARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_AttachObjectARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_CompileShaderARB) (GLhandleARB); - -#define CALL_CompileShaderARB(disp, parameters) \ - (* GET_CompileShaderARB(disp)) parameters -static inline _glptr_CompileShaderARB -GET_CompileShaderARB(struct _glapi_table *disp) -{ - return (_glptr_CompileShaderARB) (GET_by_offset - (disp, _gloffset_CompileShaderARB)); -} - -static inline void -SET_CompileShaderARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_CompileShaderARB, fn); -} - -typedef GLhandleARB(GLAPIENTRYP _glptr_CreateProgramObjectARB) (void); - -#define CALL_CreateProgramObjectARB(disp, parameters) \ - (* GET_CreateProgramObjectARB(disp)) parameters -static inline _glptr_CreateProgramObjectARB -GET_CreateProgramObjectARB(struct _glapi_table *disp) -{ - return (_glptr_CreateProgramObjectARB) (GET_by_offset - (disp, - _gloffset_CreateProgramObjectARB)); -} - -static inline void -SET_CreateProgramObjectARB(struct _glapi_table *disp, - GLhandleARB(GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn); -} - -typedef GLhandleARB(GLAPIENTRYP _glptr_CreateShaderObjectARB) (GLenum); - -#define CALL_CreateShaderObjectARB(disp, parameters) \ - (* GET_CreateShaderObjectARB(disp)) parameters -static inline _glptr_CreateShaderObjectARB -GET_CreateShaderObjectARB(struct _glapi_table *disp) -{ - return (_glptr_CreateShaderObjectARB) (GET_by_offset - (disp, - _gloffset_CreateShaderObjectARB)); -} - -static inline void -SET_CreateShaderObjectARB(struct _glapi_table *disp, - GLhandleARB(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteObjectARB) (GLhandleARB); - -#define CALL_DeleteObjectARB(disp, parameters) \ - (* GET_DeleteObjectARB(disp)) parameters -static inline _glptr_DeleteObjectARB -GET_DeleteObjectARB(struct _glapi_table *disp) -{ - return (_glptr_DeleteObjectARB) (GET_by_offset - (disp, _gloffset_DeleteObjectARB)); -} - -static inline void -SET_DeleteObjectARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_DeleteObjectARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DetachObjectARB) (GLhandleARB, GLhandleARB); - -#define CALL_DetachObjectARB(disp, parameters) \ - (* GET_DetachObjectARB(disp)) parameters -static inline _glptr_DetachObjectARB -GET_DetachObjectARB(struct _glapi_table *disp) -{ - return (_glptr_DetachObjectARB) (GET_by_offset - (disp, _gloffset_DetachObjectARB)); -} - -static inline void -SET_DetachObjectARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_DetachObjectARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetActiveUniformARB) (GLhandleARB, GLuint, - GLsizei, GLsizei *, - GLint *, GLenum *, - GLcharARB *); -#define CALL_GetActiveUniformARB(disp, parameters) \ - (* GET_GetActiveUniformARB(disp)) parameters -static inline _glptr_GetActiveUniformARB -GET_GetActiveUniformARB(struct _glapi_table *disp) -{ - return (_glptr_GetActiveUniformARB) (GET_by_offset - (disp, _gloffset_GetActiveUniformARB)); -} - -static inline void -SET_GetActiveUniformARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLuint, GLsizei, - GLsizei *, GLint *, GLenum *, - GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetActiveUniformARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB) (GLhandleARB, GLsizei, - GLsizei *, - GLhandleARB *); -#define CALL_GetAttachedObjectsARB(disp, parameters) \ - (* GET_GetAttachedObjectsARB(disp)) parameters -static inline _glptr_GetAttachedObjectsARB -GET_GetAttachedObjectsARB(struct _glapi_table *disp) -{ - return (_glptr_GetAttachedObjectsARB) (GET_by_offset - (disp, - _gloffset_GetAttachedObjectsARB)); -} - -static inline void -SET_GetAttachedObjectsARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, - GLsizei *, GLhandleARB *)) -{ - SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn); -} - -typedef GLhandleARB(GLAPIENTRYP _glptr_GetHandleARB) (GLenum); - -#define CALL_GetHandleARB(disp, parameters) \ - (* GET_GetHandleARB(disp)) parameters -static inline _glptr_GetHandleARB -GET_GetHandleARB(struct _glapi_table *disp) -{ - return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB)); -} - -static inline void -SET_GetHandleARB(struct _glapi_table *disp, - GLhandleARB(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_GetHandleARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetInfoLogARB) (GLhandleARB, GLsizei, - GLsizei *, GLcharARB *); -#define CALL_GetInfoLogARB(disp, parameters) \ - (* GET_GetInfoLogARB(disp)) parameters -static inline _glptr_GetInfoLogARB -GET_GetInfoLogARB(struct _glapi_table *disp) -{ - return (_glptr_GetInfoLogARB) (GET_by_offset - (disp, _gloffset_GetInfoLogARB)); -} - -static inline void -SET_GetInfoLogARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, GLsizei *, - GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetInfoLogARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB) (GLhandleARB, GLenum, - GLfloat *); -#define CALL_GetObjectParameterfvARB(disp, parameters) \ - (* GET_GetObjectParameterfvARB(disp)) parameters -static inline _glptr_GetObjectParameterfvARB -GET_GetObjectParameterfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetObjectParameterfvARB) (GET_by_offset - (disp, - _gloffset_GetObjectParameterfvARB)); -} - -static inline void -SET_GetObjectParameterfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLenum, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB) (GLhandleARB, GLenum, - GLint *); -#define CALL_GetObjectParameterivARB(disp, parameters) \ - (* GET_GetObjectParameterivARB(disp)) parameters -static inline _glptr_GetObjectParameterivARB -GET_GetObjectParameterivARB(struct _glapi_table *disp) -{ - return (_glptr_GetObjectParameterivARB) (GET_by_offset - (disp, - _gloffset_GetObjectParameterivARB)); -} - -static inline void -SET_GetObjectParameterivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetShaderSourceARB) (GLhandleARB, GLsizei, - GLsizei *, GLcharARB *); -#define CALL_GetShaderSourceARB(disp, parameters) \ - (* GET_GetShaderSourceARB(disp)) parameters -static inline _glptr_GetShaderSourceARB -GET_GetShaderSourceARB(struct _glapi_table *disp) -{ - return (_glptr_GetShaderSourceARB) (GET_by_offset - (disp, _gloffset_GetShaderSourceARB)); -} - -static inline void -SET_GetShaderSourceARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, GLsizei *, - GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetShaderSourceARB, fn); -} - -typedef GLint(GLAPIENTRYP _glptr_GetUniformLocationARB) (GLhandleARB, - const GLcharARB *); -#define CALL_GetUniformLocationARB(disp, parameters) \ - (* GET_GetUniformLocationARB(disp)) parameters -static inline _glptr_GetUniformLocationARB -GET_GetUniformLocationARB(struct _glapi_table *disp) -{ - return (_glptr_GetUniformLocationARB) (GET_by_offset - (disp, - _gloffset_GetUniformLocationARB)); -} - -static inline void -SET_GetUniformLocationARB(struct _glapi_table *disp, - GLint(GLAPIENTRYP fn) (GLhandleARB, - const GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetUniformLocationARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetUniformfvARB) (GLhandleARB, GLint, - GLfloat *); -#define CALL_GetUniformfvARB(disp, parameters) \ - (* GET_GetUniformfvARB(disp)) parameters -static inline _glptr_GetUniformfvARB -GET_GetUniformfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetUniformfvARB) (GET_by_offset - (disp, _gloffset_GetUniformfvARB)); -} - -static inline void -SET_GetUniformfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetUniformfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetUniformivARB) (GLhandleARB, GLint, GLint *); - -#define CALL_GetUniformivARB(disp, parameters) \ - (* GET_GetUniformivARB(disp)) parameters -static inline _glptr_GetUniformivARB -GET_GetUniformivARB(struct _glapi_table *disp) -{ - return (_glptr_GetUniformivARB) (GET_by_offset - (disp, _gloffset_GetUniformivARB)); -} - -static inline void -SET_GetUniformivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetUniformivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_LinkProgramARB) (GLhandleARB); - -#define CALL_LinkProgramARB(disp, parameters) \ - (* GET_LinkProgramARB(disp)) parameters -static inline _glptr_LinkProgramARB -GET_LinkProgramARB(struct _glapi_table *disp) -{ - return (_glptr_LinkProgramARB) (GET_by_offset - (disp, _gloffset_LinkProgramARB)); -} - -static inline void -SET_LinkProgramARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_LinkProgramARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ShaderSourceARB) (GLhandleARB, GLsizei, - const GLcharARB **, - const GLint *); -#define CALL_ShaderSourceARB(disp, parameters) \ - (* GET_ShaderSourceARB(disp)) parameters -static inline _glptr_ShaderSourceARB -GET_ShaderSourceARB(struct _glapi_table *disp) -{ - return (_glptr_ShaderSourceARB) (GET_by_offset - (disp, _gloffset_ShaderSourceARB)); -} - -static inline void -SET_ShaderSourceARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, - const GLcharARB **, const GLint *)) -{ - SET_by_offset(disp, _gloffset_ShaderSourceARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1fARB) (GLint, GLfloat); - -#define CALL_Uniform1fARB(disp, parameters) \ - (* GET_Uniform1fARB(disp)) parameters -static inline _glptr_Uniform1fARB -GET_Uniform1fARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform1fARB) (GET_by_offset(disp, _gloffset_Uniform1fARB)); -} - -static inline void -SET_Uniform1fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Uniform1fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1fvARB) (GLint, GLsizei, - const GLfloat *); -#define CALL_Uniform1fvARB(disp, parameters) \ - (* GET_Uniform1fvARB(disp)) parameters -static inline _glptr_Uniform1fvARB -GET_Uniform1fvARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform1fvARB) (GET_by_offset - (disp, _gloffset_Uniform1fvARB)); -} - -static inline void -SET_Uniform1fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Uniform1fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1iARB) (GLint, GLint); - -#define CALL_Uniform1iARB(disp, parameters) \ - (* GET_Uniform1iARB(disp)) parameters -static inline _glptr_Uniform1iARB -GET_Uniform1iARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform1iARB) (GET_by_offset(disp, _gloffset_Uniform1iARB)); -} - -static inline void -SET_Uniform1iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Uniform1iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1ivARB) (GLint, GLsizei, const GLint *); - -#define CALL_Uniform1ivARB(disp, parameters) \ - (* GET_Uniform1ivARB(disp)) parameters -static inline _glptr_Uniform1ivARB -GET_Uniform1ivARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform1ivARB) (GET_by_offset - (disp, _gloffset_Uniform1ivARB)); -} - -static inline void -SET_Uniform1ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Uniform1ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2fARB) (GLint, GLfloat, GLfloat); - -#define CALL_Uniform2fARB(disp, parameters) \ - (* GET_Uniform2fARB(disp)) parameters -static inline _glptr_Uniform2fARB -GET_Uniform2fARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform2fARB) (GET_by_offset(disp, _gloffset_Uniform2fARB)); -} - -static inline void -SET_Uniform2fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Uniform2fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2fvARB) (GLint, GLsizei, - const GLfloat *); -#define CALL_Uniform2fvARB(disp, parameters) \ - (* GET_Uniform2fvARB(disp)) parameters -static inline _glptr_Uniform2fvARB -GET_Uniform2fvARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform2fvARB) (GET_by_offset - (disp, _gloffset_Uniform2fvARB)); -} - -static inline void -SET_Uniform2fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Uniform2fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2iARB) (GLint, GLint, GLint); - -#define CALL_Uniform2iARB(disp, parameters) \ - (* GET_Uniform2iARB(disp)) parameters -static inline _glptr_Uniform2iARB -GET_Uniform2iARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform2iARB) (GET_by_offset(disp, _gloffset_Uniform2iARB)); -} - -static inline void -SET_Uniform2iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Uniform2iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2ivARB) (GLint, GLsizei, const GLint *); - -#define CALL_Uniform2ivARB(disp, parameters) \ - (* GET_Uniform2ivARB(disp)) parameters -static inline _glptr_Uniform2ivARB -GET_Uniform2ivARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform2ivARB) (GET_by_offset - (disp, _gloffset_Uniform2ivARB)); -} - -static inline void -SET_Uniform2ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Uniform2ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3fARB) (GLint, GLfloat, GLfloat, - GLfloat); -#define CALL_Uniform3fARB(disp, parameters) \ - (* GET_Uniform3fARB(disp)) parameters -static inline _glptr_Uniform3fARB -GET_Uniform3fARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform3fARB) (GET_by_offset(disp, _gloffset_Uniform3fARB)); -} - -static inline void -SET_Uniform3fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_Uniform3fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3fvARB) (GLint, GLsizei, - const GLfloat *); -#define CALL_Uniform3fvARB(disp, parameters) \ - (* GET_Uniform3fvARB(disp)) parameters -static inline _glptr_Uniform3fvARB -GET_Uniform3fvARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform3fvARB) (GET_by_offset - (disp, _gloffset_Uniform3fvARB)); -} - -static inline void -SET_Uniform3fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Uniform3fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3iARB) (GLint, GLint, GLint, GLint); - -#define CALL_Uniform3iARB(disp, parameters) \ - (* GET_Uniform3iARB(disp)) parameters -static inline _glptr_Uniform3iARB -GET_Uniform3iARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform3iARB) (GET_by_offset(disp, _gloffset_Uniform3iARB)); -} - -static inline void -SET_Uniform3iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Uniform3iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3ivARB) (GLint, GLsizei, const GLint *); - -#define CALL_Uniform3ivARB(disp, parameters) \ - (* GET_Uniform3ivARB(disp)) parameters -static inline _glptr_Uniform3ivARB -GET_Uniform3ivARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform3ivARB) (GET_by_offset - (disp, _gloffset_Uniform3ivARB)); -} - -static inline void -SET_Uniform3ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Uniform3ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4fARB) (GLint, GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_Uniform4fARB(disp, parameters) \ - (* GET_Uniform4fARB(disp)) parameters -static inline _glptr_Uniform4fARB -GET_Uniform4fARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform4fARB) (GET_by_offset(disp, _gloffset_Uniform4fARB)); -} - -static inline void -SET_Uniform4fARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_Uniform4fARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4fvARB) (GLint, GLsizei, - const GLfloat *); -#define CALL_Uniform4fvARB(disp, parameters) \ - (* GET_Uniform4fvARB(disp)) parameters -static inline _glptr_Uniform4fvARB -GET_Uniform4fvARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform4fvARB) (GET_by_offset - (disp, _gloffset_Uniform4fvARB)); -} - -static inline void -SET_Uniform4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_Uniform4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4iARB) (GLint, GLint, GLint, GLint, - GLint); -#define CALL_Uniform4iARB(disp, parameters) \ - (* GET_Uniform4iARB(disp)) parameters -static inline _glptr_Uniform4iARB -GET_Uniform4iARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform4iARB) (GET_by_offset(disp, _gloffset_Uniform4iARB)); -} - -static inline void -SET_Uniform4iARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_Uniform4iARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4ivARB) (GLint, GLsizei, const GLint *); - -#define CALL_Uniform4ivARB(disp, parameters) \ - (* GET_Uniform4ivARB(disp)) parameters -static inline _glptr_Uniform4ivARB -GET_Uniform4ivARB(struct _glapi_table *disp) -{ - return (_glptr_Uniform4ivARB) (GET_by_offset - (disp, _gloffset_Uniform4ivARB)); -} - -static inline void -SET_Uniform4ivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *)) -{ - SET_by_offset(disp, _gloffset_Uniform4ivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix2fvARB) (GLint, GLsizei, - GLboolean, - const GLfloat *); -#define CALL_UniformMatrix2fvARB(disp, parameters) \ - (* GET_UniformMatrix2fvARB(disp)) parameters -static inline _glptr_UniformMatrix2fvARB -GET_UniformMatrix2fvARB(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix2fvARB) (GET_by_offset - (disp, _gloffset_UniformMatrix2fvARB)); -} - -static inline void -SET_UniformMatrix2fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix2fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix3fvARB) (GLint, GLsizei, - GLboolean, - const GLfloat *); -#define CALL_UniformMatrix3fvARB(disp, parameters) \ - (* GET_UniformMatrix3fvARB(disp)) parameters -static inline _glptr_UniformMatrix3fvARB -GET_UniformMatrix3fvARB(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix3fvARB) (GET_by_offset - (disp, _gloffset_UniformMatrix3fvARB)); -} - -static inline void -SET_UniformMatrix3fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix3fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_UniformMatrix4fvARB) (GLint, GLsizei, - GLboolean, - const GLfloat *); -#define CALL_UniformMatrix4fvARB(disp, parameters) \ - (* GET_UniformMatrix4fvARB(disp)) parameters -static inline _glptr_UniformMatrix4fvARB -GET_UniformMatrix4fvARB(struct _glapi_table *disp) -{ - return (_glptr_UniformMatrix4fvARB) (GET_by_offset - (disp, _gloffset_UniformMatrix4fvARB)); -} - -static inline void -SET_UniformMatrix4fvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_UniformMatrix4fvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_UseProgramObjectARB) (GLhandleARB); - -#define CALL_UseProgramObjectARB(disp, parameters) \ - (* GET_UseProgramObjectARB(disp)) parameters -static inline _glptr_UseProgramObjectARB -GET_UseProgramObjectARB(struct _glapi_table *disp) -{ - return (_glptr_UseProgramObjectARB) (GET_by_offset - (disp, _gloffset_UseProgramObjectARB)); -} - -static inline void -SET_UseProgramObjectARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_UseProgramObjectARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ValidateProgramARB) (GLhandleARB); - -#define CALL_ValidateProgramARB(disp, parameters) \ - (* GET_ValidateProgramARB(disp)) parameters -static inline _glptr_ValidateProgramARB -GET_ValidateProgramARB(struct _glapi_table *disp) -{ - return (_glptr_ValidateProgramARB) (GET_by_offset - (disp, _gloffset_ValidateProgramARB)); -} - -static inline void -SET_ValidateProgramARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB)) -{ - SET_by_offset(disp, _gloffset_ValidateProgramARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindAttribLocationARB) (GLhandleARB, GLuint, - const GLcharARB *); -#define CALL_BindAttribLocationARB(disp, parameters) \ - (* GET_BindAttribLocationARB(disp)) parameters -static inline _glptr_BindAttribLocationARB -GET_BindAttribLocationARB(struct _glapi_table *disp) -{ - return (_glptr_BindAttribLocationARB) (GET_by_offset - (disp, - _gloffset_BindAttribLocationARB)); -} - -static inline void -SET_BindAttribLocationARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLuint, - const GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_BindAttribLocationARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetActiveAttribARB) (GLhandleARB, GLuint, - GLsizei, GLsizei *, - GLint *, GLenum *, - GLcharARB *); -#define CALL_GetActiveAttribARB(disp, parameters) \ - (* GET_GetActiveAttribARB(disp)) parameters -static inline _glptr_GetActiveAttribARB -GET_GetActiveAttribARB(struct _glapi_table *disp) -{ - return (_glptr_GetActiveAttribARB) (GET_by_offset - (disp, _gloffset_GetActiveAttribARB)); -} - -static inline void -SET_GetActiveAttribARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLuint, GLsizei, - GLsizei *, GLint *, GLenum *, - GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetActiveAttribARB, fn); -} - -typedef GLint(GLAPIENTRYP _glptr_GetAttribLocationARB) (GLhandleARB, - const GLcharARB *); -#define CALL_GetAttribLocationARB(disp, parameters) \ - (* GET_GetAttribLocationARB(disp)) parameters -static inline _glptr_GetAttribLocationARB -GET_GetAttribLocationARB(struct _glapi_table *disp) -{ - return (_glptr_GetAttribLocationARB) (GET_by_offset - (disp, - _gloffset_GetAttribLocationARB)); -} - -static inline void -SET_GetAttribLocationARB(struct _glapi_table *disp, - GLint(GLAPIENTRYP fn) (GLhandleARB, const GLcharARB *)) -{ - SET_by_offset(disp, _gloffset_GetAttribLocationARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawBuffersARB) (GLsizei, const GLenum *); - -#define CALL_DrawBuffersARB(disp, parameters) \ - (* GET_DrawBuffersARB(disp)) parameters -static inline _glptr_DrawBuffersARB -GET_DrawBuffersARB(struct _glapi_table *disp) -{ - return (_glptr_DrawBuffersARB) (GET_by_offset - (disp, _gloffset_DrawBuffersARB)); -} - -static inline void -SET_DrawBuffersARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLenum *)) -{ - SET_by_offset(disp, _gloffset_DrawBuffersARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClampColorARB) (GLenum, GLenum); - -#define CALL_ClampColorARB(disp, parameters) \ - (* GET_ClampColorARB(disp)) parameters -static inline _glptr_ClampColorARB -GET_ClampColorARB(struct _glapi_table *disp) -{ - return (_glptr_ClampColorARB) (GET_by_offset - (disp, _gloffset_ClampColorARB)); -} - -static inline void -SET_ClampColorARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_ClampColorARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB) (GLenum, GLint, - GLsizei, GLsizei); -#define CALL_DrawArraysInstancedARB(disp, parameters) \ - (* GET_DrawArraysInstancedARB(disp)) parameters -static inline _glptr_DrawArraysInstancedARB -GET_DrawArraysInstancedARB(struct _glapi_table *disp) -{ - return (_glptr_DrawArraysInstancedARB) (GET_by_offset - (disp, - _gloffset_DrawArraysInstancedARB)); -} - -static inline void -SET_DrawArraysInstancedARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB) (GLenum, GLsizei, - GLenum, - const GLvoid *, - GLsizei); -#define CALL_DrawElementsInstancedARB(disp, parameters) \ - (* GET_DrawElementsInstancedARB(disp)) parameters -static inline _glptr_DrawElementsInstancedARB -GET_DrawElementsInstancedARB(struct _glapi_table *disp) -{ - return (_glptr_DrawElementsInstancedARB) (GET_by_offset - (disp, - _gloffset_DrawElementsInstancedARB)); -} - -static inline void -SET_DrawElementsInstancedARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, - const GLvoid *, GLsizei)) -{ - SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample) (GLenum, - GLsizei, - GLenum, - GLsizei, - GLsizei); -#define CALL_RenderbufferStorageMultisample(disp, parameters) \ - (* GET_RenderbufferStorageMultisample(disp)) parameters -static inline _glptr_RenderbufferStorageMultisample -GET_RenderbufferStorageMultisample(struct _glapi_table *disp) -{ - return (_glptr_RenderbufferStorageMultisample) (GET_by_offset - (disp, - _gloffset_RenderbufferStorageMultisample)); -} - -static inline void -SET_RenderbufferStorageMultisample(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, - GLenum, GLsizei, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTextureARB) (GLenum, GLenum, GLuint, - GLint); -#define CALL_FramebufferTextureARB(disp, parameters) \ - (* GET_FramebufferTextureARB(disp)) parameters -static inline _glptr_FramebufferTextureARB -GET_FramebufferTextureARB(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTextureARB) (GET_by_offset - (disp, - _gloffset_FramebufferTextureARB)); -} - -static inline void -SET_FramebufferTextureARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTextureARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB) (GLenum, GLenum, - GLuint, GLint, - GLenum); -#define CALL_FramebufferTextureFaceARB(disp, parameters) \ - (* GET_FramebufferTextureFaceARB(disp)) parameters -static inline _glptr_FramebufferTextureFaceARB -GET_FramebufferTextureFaceARB(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTextureFaceARB) (GET_by_offset - (disp, - _gloffset_FramebufferTextureFaceARB)); -} - -static inline void -SET_FramebufferTextureFaceARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, - GLint, GLenum)) -{ - SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramParameteriARB) (GLuint, GLenum, GLint); - -#define CALL_ProgramParameteriARB(disp, parameters) \ - (* GET_ProgramParameteriARB(disp)) parameters -static inline _glptr_ProgramParameteriARB -GET_ProgramParameteriARB(struct _glapi_table *disp) -{ - return (_glptr_ProgramParameteriARB) (GET_by_offset - (disp, - _gloffset_ProgramParameteriARB)); -} - -static inline void -SET_ProgramParameteriARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_ProgramParameteriARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribDivisorARB) (GLuint, GLuint); - -#define CALL_VertexAttribDivisorARB(disp, parameters) \ - (* GET_VertexAttribDivisorARB(disp)) parameters -static inline _glptr_VertexAttribDivisorARB -GET_VertexAttribDivisorARB(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribDivisorARB) (GET_by_offset - (disp, - _gloffset_VertexAttribDivisorARB)); -} - -static inline void -SET_VertexAttribDivisorARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribDivisorARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange) (GLenum, GLintptr, - GLsizeiptr); -#define CALL_FlushMappedBufferRange(disp, parameters) \ - (* GET_FlushMappedBufferRange(disp)) parameters -static inline _glptr_FlushMappedBufferRange -GET_FlushMappedBufferRange(struct _glapi_table *disp) -{ - return (_glptr_FlushMappedBufferRange) (GET_by_offset - (disp, - _gloffset_FlushMappedBufferRange)); -} - -static inline void -SET_FlushMappedBufferRange(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLintptr, GLsizeiptr)) -{ - SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn); -} - -typedef GLvoid *(GLAPIENTRYP _glptr_MapBufferRange) (GLenum, GLintptr, - GLsizeiptr, GLbitfield); -#define CALL_MapBufferRange(disp, parameters) \ - (* GET_MapBufferRange(disp)) parameters -static inline _glptr_MapBufferRange -GET_MapBufferRange(struct _glapi_table *disp) -{ - return (_glptr_MapBufferRange) (GET_by_offset - (disp, _gloffset_MapBufferRange)); -} - -static inline void -SET_MapBufferRange(struct _glapi_table *disp, - GLvoid * (GLAPIENTRYP fn) (GLenum, GLintptr, GLsizeiptr, - GLbitfield)) -{ - SET_by_offset(disp, _gloffset_MapBufferRange, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexBufferARB) (GLenum, GLenum, GLuint); - -#define CALL_TexBufferARB(disp, parameters) \ - (* GET_TexBufferARB(disp)) parameters -static inline _glptr_TexBufferARB -GET_TexBufferARB(struct _glapi_table *disp) -{ - return (_glptr_TexBufferARB) (GET_by_offset(disp, _gloffset_TexBufferARB)); -} - -static inline void -SET_TexBufferARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexBufferARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindVertexArray) (GLuint); - -#define CALL_BindVertexArray(disp, parameters) \ - (* GET_BindVertexArray(disp)) parameters -static inline _glptr_BindVertexArray -GET_BindVertexArray(struct _glapi_table *disp) -{ - return (_glptr_BindVertexArray) (GET_by_offset - (disp, _gloffset_BindVertexArray)); -} - -static inline void -SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_BindVertexArray, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenVertexArrays) (GLsizei, GLuint *); - -#define CALL_GenVertexArrays(disp, parameters) \ - (* GET_GenVertexArrays(disp)) parameters -static inline _glptr_GenVertexArrays -GET_GenVertexArrays(struct _glapi_table *disp) -{ - return (_glptr_GenVertexArrays) (GET_by_offset - (disp, _gloffset_GenVertexArrays)); -} - -static inline void -SET_GenVertexArrays(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenVertexArrays, fn); -} - -typedef void (GLAPIENTRYP _glptr_CopyBufferSubData) (GLenum, GLenum, GLintptr, - GLintptr, GLsizeiptr); -#define CALL_CopyBufferSubData(disp, parameters) \ - (* GET_CopyBufferSubData(disp)) parameters -static inline _glptr_CopyBufferSubData -GET_CopyBufferSubData(struct _glapi_table *disp) -{ - return (_glptr_CopyBufferSubData) (GET_by_offset - (disp, _gloffset_CopyBufferSubData)); -} - -static inline void -SET_CopyBufferSubData(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLintptr, GLintptr, - GLsizeiptr)) -{ - SET_by_offset(disp, _gloffset_CopyBufferSubData, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_ClientWaitSync) (GLsync, GLbitfield, - GLuint64); -#define CALL_ClientWaitSync(disp, parameters) \ - (* GET_ClientWaitSync(disp)) parameters -static inline _glptr_ClientWaitSync -GET_ClientWaitSync(struct _glapi_table *disp) -{ - return (_glptr_ClientWaitSync) (GET_by_offset - (disp, _gloffset_ClientWaitSync)); -} - -static inline void -SET_ClientWaitSync(struct _glapi_table *disp, - GLenum(GLAPIENTRYP fn) (GLsync, GLbitfield, GLuint64)) -{ - SET_by_offset(disp, _gloffset_ClientWaitSync, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteSync) (GLsync); - -#define CALL_DeleteSync(disp, parameters) \ - (* GET_DeleteSync(disp)) parameters -static inline _glptr_DeleteSync -GET_DeleteSync(struct _glapi_table *disp) -{ - return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync)); -} - -static inline void -SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLsync)) -{ - SET_by_offset(disp, _gloffset_DeleteSync, fn); -} - -typedef GLsync(GLAPIENTRYP _glptr_FenceSync) (GLenum, GLbitfield); - -#define CALL_FenceSync(disp, parameters) \ - (* GET_FenceSync(disp)) parameters -static inline _glptr_FenceSync -GET_FenceSync(struct _glapi_table *disp) -{ - return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync)); -} - -static inline void -SET_FenceSync(struct _glapi_table *disp, - GLsync(GLAPIENTRYP fn) (GLenum, GLbitfield)) -{ - SET_by_offset(disp, _gloffset_FenceSync, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetInteger64v) (GLenum, GLint64 *); - -#define CALL_GetInteger64v(disp, parameters) \ - (* GET_GetInteger64v(disp)) parameters -static inline _glptr_GetInteger64v -GET_GetInteger64v(struct _glapi_table *disp) -{ - return (_glptr_GetInteger64v) (GET_by_offset - (disp, _gloffset_GetInteger64v)); -} - -static inline void -SET_GetInteger64v(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint64 *)) -{ - SET_by_offset(disp, _gloffset_GetInteger64v, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSynciv) (GLsync, GLenum, GLsizei, GLsizei *, - GLint *); -#define CALL_GetSynciv(disp, parameters) \ - (* GET_GetSynciv(disp)) parameters -static inline _glptr_GetSynciv -GET_GetSynciv(struct _glapi_table *disp) -{ - return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv)); -} - -static inline void -SET_GetSynciv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsync, GLenum, GLsizei, GLsizei *, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetSynciv, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsSync) (GLsync); - -#define CALL_IsSync(disp, parameters) \ - (* GET_IsSync(disp)) parameters -static inline _glptr_IsSync -GET_IsSync(struct _glapi_table *disp) -{ - return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync)); -} - -static inline void -SET_IsSync(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLsync)) -{ - SET_by_offset(disp, _gloffset_IsSync, fn); -} - -typedef void (GLAPIENTRYP _glptr_WaitSync) (GLsync, GLbitfield, GLuint64); - -#define CALL_WaitSync(disp, parameters) \ - (* GET_WaitSync(disp)) parameters -static inline _glptr_WaitSync -GET_WaitSync(struct _glapi_table *disp) -{ - return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync)); -} - -static inline void -SET_WaitSync(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsync, GLbitfield, GLuint64)) -{ - SET_by_offset(disp, _gloffset_WaitSync, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex) (GLenum, GLsizei, - GLenum, - const GLvoid *, - GLint); -#define CALL_DrawElementsBaseVertex(disp, parameters) \ - (* GET_DrawElementsBaseVertex(disp)) parameters -static inline _glptr_DrawElementsBaseVertex -GET_DrawElementsBaseVertex(struct _glapi_table *disp) -{ - return (_glptr_DrawElementsBaseVertex) (GET_by_offset - (disp, - _gloffset_DrawElementsBaseVertex)); -} - -static inline void -SET_DrawElementsBaseVertex(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, - const GLvoid *, GLint)) -{ - SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex) (GLenum, - GLsizei, - GLenum, - const GLvoid - *, GLsizei, - GLint); -#define CALL_DrawElementsInstancedBaseVertex(disp, parameters) \ - (* GET_DrawElementsInstancedBaseVertex(disp)) parameters -static inline _glptr_DrawElementsInstancedBaseVertex -GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp) -{ - return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset - (disp, - _gloffset_DrawElementsInstancedBaseVertex)); -} - -static inline void -SET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, - GLenum, - const GLvoid *, - GLsizei, GLint)) -{ - SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex) (GLenum, GLuint, - GLuint, GLsizei, - GLenum, - const GLvoid *, - GLint); -#define CALL_DrawRangeElementsBaseVertex(disp, parameters) \ - (* GET_DrawRangeElementsBaseVertex(disp)) parameters -static inline _glptr_DrawRangeElementsBaseVertex -GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp) -{ - return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset - (disp, - _gloffset_DrawRangeElementsBaseVertex)); -} - -static inline void -SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, - GLsizei, GLenum, - const GLvoid *, GLint)) -{ - SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex) (GLenum, - const GLsizei *, - GLenum, - const GLvoid **, - GLsizei, - const GLint *); -#define CALL_MultiDrawElementsBaseVertex(disp, parameters) \ - (* GET_MultiDrawElementsBaseVertex(disp)) parameters -static inline _glptr_MultiDrawElementsBaseVertex -GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp) -{ - return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset - (disp, - _gloffset_MultiDrawElementsBaseVertex)); -} - -static inline void -SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLsizei *, - GLenum, const GLvoid **, - GLsizei, const GLint *)) -{ - SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB) (GLuint, GLenum, - GLenum); -#define CALL_BlendEquationSeparateiARB(disp, parameters) \ - (* GET_BlendEquationSeparateiARB(disp)) parameters -static inline _glptr_BlendEquationSeparateiARB -GET_BlendEquationSeparateiARB(struct _glapi_table *disp) -{ - return (_glptr_BlendEquationSeparateiARB) (GET_by_offset - (disp, - _gloffset_BlendEquationSeparateiARB)); -} - -static inline void -SET_BlendEquationSeparateiARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendEquationiARB) (GLuint, GLenum); - -#define CALL_BlendEquationiARB(disp, parameters) \ - (* GET_BlendEquationiARB(disp)) parameters -static inline _glptr_BlendEquationiARB -GET_BlendEquationiARB(struct _glapi_table *disp) -{ - return (_glptr_BlendEquationiARB) (GET_by_offset - (disp, _gloffset_BlendEquationiARB)); -} - -static inline void -SET_BlendEquationiARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendEquationiARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB) (GLuint, GLenum, GLenum, - GLenum, GLenum); -#define CALL_BlendFuncSeparateiARB(disp, parameters) \ - (* GET_BlendFuncSeparateiARB(disp)) parameters -static inline _glptr_BlendFuncSeparateiARB -GET_BlendFuncSeparateiARB(struct _glapi_table *disp) -{ - return (_glptr_BlendFuncSeparateiARB) (GET_by_offset - (disp, - _gloffset_BlendFuncSeparateiARB)); -} - -static inline void -SET_BlendFuncSeparateiARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum, GLenum, - GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendFunciARB) (GLuint, GLenum, GLenum); - -#define CALL_BlendFunciARB(disp, parameters) \ - (* GET_BlendFunciARB(disp)) parameters -static inline _glptr_BlendFunciARB -GET_BlendFunciARB(struct _glapi_table *disp) -{ - return (_glptr_BlendFunciARB) (GET_by_offset - (disp, _gloffset_BlendFunciARB)); -} - -static inline void -SET_BlendFunciARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendFunciARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindSampler) (GLuint, GLuint); - -#define CALL_BindSampler(disp, parameters) \ - (* GET_BindSampler(disp)) parameters -static inline _glptr_BindSampler -GET_BindSampler(struct _glapi_table *disp) -{ - return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler)); -} - -static inline void -SET_BindSampler(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindSampler, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteSamplers) (GLsizei, const GLuint *); - -#define CALL_DeleteSamplers(disp, parameters) \ - (* GET_DeleteSamplers(disp)) parameters -static inline _glptr_DeleteSamplers -GET_DeleteSamplers(struct _glapi_table *disp) -{ - return (_glptr_DeleteSamplers) (GET_by_offset - (disp, _gloffset_DeleteSamplers)); -} - -static inline void -SET_DeleteSamplers(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteSamplers, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenSamplers) (GLsizei, GLuint *); - -#define CALL_GenSamplers(disp, parameters) \ - (* GET_GenSamplers(disp)) parameters -static inline _glptr_GenSamplers -GET_GenSamplers(struct _glapi_table *disp) -{ - return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers)); -} - -static inline void -SET_GenSamplers(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenSamplers, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv) (GLuint, GLenum, - GLint *); -#define CALL_GetSamplerParameterIiv(disp, parameters) \ - (* GET_GetSamplerParameterIiv(disp)) parameters -static inline _glptr_GetSamplerParameterIiv -GET_GetSamplerParameterIiv(struct _glapi_table *disp) -{ - return (_glptr_GetSamplerParameterIiv) (GET_by_offset - (disp, - _gloffset_GetSamplerParameterIiv)); -} - -static inline void -SET_GetSamplerParameterIiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv) (GLuint, GLenum, - GLuint *); -#define CALL_GetSamplerParameterIuiv(disp, parameters) \ - (* GET_GetSamplerParameterIuiv(disp)) parameters -static inline _glptr_GetSamplerParameterIuiv -GET_GetSamplerParameterIuiv(struct _glapi_table *disp) -{ - return (_glptr_GetSamplerParameterIuiv) (GET_by_offset - (disp, - _gloffset_GetSamplerParameterIuiv)); -} - -static inline void -SET_GetSamplerParameterIuiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv) (GLuint, GLenum, - GLfloat *); -#define CALL_GetSamplerParameterfv(disp, parameters) \ - (* GET_GetSamplerParameterfv(disp)) parameters -static inline _glptr_GetSamplerParameterfv -GET_GetSamplerParameterfv(struct _glapi_table *disp) -{ - return (_glptr_GetSamplerParameterfv) (GET_by_offset - (disp, - _gloffset_GetSamplerParameterfv)); -} - -static inline void -SET_GetSamplerParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv) (GLuint, GLenum, - GLint *); -#define CALL_GetSamplerParameteriv(disp, parameters) \ - (* GET_GetSamplerParameteriv(disp)) parameters -static inline _glptr_GetSamplerParameteriv -GET_GetSamplerParameteriv(struct _glapi_table *disp) -{ - return (_glptr_GetSamplerParameteriv) (GET_by_offset - (disp, - _gloffset_GetSamplerParameteriv)); -} - -static inline void -SET_GetSamplerParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsSampler) (GLuint); - -#define CALL_IsSampler(disp, parameters) \ - (* GET_IsSampler(disp)) parameters -static inline _glptr_IsSampler -GET_IsSampler(struct _glapi_table *disp) -{ - return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler)); -} - -static inline void -SET_IsSampler(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsSampler, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv) (GLuint, GLenum, - const GLint *); -#define CALL_SamplerParameterIiv(disp, parameters) \ - (* GET_SamplerParameterIiv(disp)) parameters -static inline _glptr_SamplerParameterIiv -GET_SamplerParameterIiv(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameterIiv) (GET_by_offset - (disp, _gloffset_SamplerParameterIiv)); -} - -static inline void -SET_SamplerParameterIiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv) (GLuint, GLenum, - const GLuint *); -#define CALL_SamplerParameterIuiv(disp, parameters) \ - (* GET_SamplerParameterIuiv(disp)) parameters -static inline _glptr_SamplerParameterIuiv -GET_SamplerParameterIuiv(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameterIuiv) (GET_by_offset - (disp, - _gloffset_SamplerParameterIuiv)); -} - -static inline void -SET_SamplerParameterIuiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameterf) (GLuint, GLenum, GLfloat); - -#define CALL_SamplerParameterf(disp, parameters) \ - (* GET_SamplerParameterf(disp)) parameters -static inline _glptr_SamplerParameterf -GET_SamplerParameterf(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameterf) (GET_by_offset - (disp, _gloffset_SamplerParameterf)); -} - -static inline void -SET_SamplerParameterf(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_SamplerParameterf, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameterfv) (GLuint, GLenum, - const GLfloat *); -#define CALL_SamplerParameterfv(disp, parameters) \ - (* GET_SamplerParameterfv(disp)) parameters -static inline _glptr_SamplerParameterfv -GET_SamplerParameterfv(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameterfv) (GET_by_offset - (disp, _gloffset_SamplerParameterfv)); -} - -static inline void -SET_SamplerParameterfv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_SamplerParameterfv, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameteri) (GLuint, GLenum, GLint); - -#define CALL_SamplerParameteri(disp, parameters) \ - (* GET_SamplerParameteri(disp)) parameters -static inline _glptr_SamplerParameteri -GET_SamplerParameteri(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameteri) (GET_by_offset - (disp, _gloffset_SamplerParameteri)); -} - -static inline void -SET_SamplerParameteri(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_SamplerParameteri, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplerParameteriv) (GLuint, GLenum, - const GLint *); -#define CALL_SamplerParameteriv(disp, parameters) \ - (* GET_SamplerParameteriv(disp)) parameters -static inline _glptr_SamplerParameteriv -GET_SamplerParameteriv(struct _glapi_table *disp) -{ - return (_glptr_SamplerParameteriv) (GET_by_offset - (disp, _gloffset_SamplerParameteriv)); -} - -static inline void -SET_SamplerParameteriv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_SamplerParameteriv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorP3ui) (GLenum, GLuint); - -#define CALL_ColorP3ui(disp, parameters) \ - (* GET_ColorP3ui(disp)) parameters -static inline _glptr_ColorP3ui -GET_ColorP3ui(struct _glapi_table *disp) -{ - return (_glptr_ColorP3ui) (GET_by_offset(disp, _gloffset_ColorP3ui)); -} - -static inline void -SET_ColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_ColorP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorP3uiv) (GLenum, const GLuint *); - -#define CALL_ColorP3uiv(disp, parameters) \ - (* GET_ColorP3uiv(disp)) parameters -static inline _glptr_ColorP3uiv -GET_ColorP3uiv(struct _glapi_table *disp) -{ - return (_glptr_ColorP3uiv) (GET_by_offset(disp, _gloffset_ColorP3uiv)); -} - -static inline void -SET_ColorP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_ColorP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorP4ui) (GLenum, GLuint); - -#define CALL_ColorP4ui(disp, parameters) \ - (* GET_ColorP4ui(disp)) parameters -static inline _glptr_ColorP4ui -GET_ColorP4ui(struct _glapi_table *disp) -{ - return (_glptr_ColorP4ui) (GET_by_offset(disp, _gloffset_ColorP4ui)); -} - -static inline void -SET_ColorP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_ColorP4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorP4uiv) (GLenum, const GLuint *); - -#define CALL_ColorP4uiv(disp, parameters) \ - (* GET_ColorP4uiv(disp)) parameters -static inline _glptr_ColorP4uiv -GET_ColorP4uiv(struct _glapi_table *disp) -{ - return (_glptr_ColorP4uiv) (GET_by_offset(disp, _gloffset_ColorP4uiv)); -} - -static inline void -SET_ColorP4uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_ColorP4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1ui) (GLenum, GLenum, GLuint); - -#define CALL_MultiTexCoordP1ui(disp, parameters) \ - (* GET_MultiTexCoordP1ui(disp)) parameters -static inline _glptr_MultiTexCoordP1ui -GET_MultiTexCoordP1ui(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP1ui) (GET_by_offset - (disp, _gloffset_MultiTexCoordP1ui)); -} - -static inline void -SET_MultiTexCoordP1ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP1ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1uiv) (GLenum, GLenum, - const GLuint *); -#define CALL_MultiTexCoordP1uiv(disp, parameters) \ - (* GET_MultiTexCoordP1uiv(disp)) parameters -static inline _glptr_MultiTexCoordP1uiv -GET_MultiTexCoordP1uiv(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP1uiv) (GET_by_offset - (disp, _gloffset_MultiTexCoordP1uiv)); -} - -static inline void -SET_MultiTexCoordP1uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP1uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2ui) (GLenum, GLenum, GLuint); - -#define CALL_MultiTexCoordP2ui(disp, parameters) \ - (* GET_MultiTexCoordP2ui(disp)) parameters -static inline _glptr_MultiTexCoordP2ui -GET_MultiTexCoordP2ui(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP2ui) (GET_by_offset - (disp, _gloffset_MultiTexCoordP2ui)); -} - -static inline void -SET_MultiTexCoordP2ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP2ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2uiv) (GLenum, GLenum, - const GLuint *); -#define CALL_MultiTexCoordP2uiv(disp, parameters) \ - (* GET_MultiTexCoordP2uiv(disp)) parameters -static inline _glptr_MultiTexCoordP2uiv -GET_MultiTexCoordP2uiv(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP2uiv) (GET_by_offset - (disp, _gloffset_MultiTexCoordP2uiv)); -} - -static inline void -SET_MultiTexCoordP2uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP2uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3ui) (GLenum, GLenum, GLuint); - -#define CALL_MultiTexCoordP3ui(disp, parameters) \ - (* GET_MultiTexCoordP3ui(disp)) parameters -static inline _glptr_MultiTexCoordP3ui -GET_MultiTexCoordP3ui(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP3ui) (GET_by_offset - (disp, _gloffset_MultiTexCoordP3ui)); -} - -static inline void -SET_MultiTexCoordP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3uiv) (GLenum, GLenum, - const GLuint *); -#define CALL_MultiTexCoordP3uiv(disp, parameters) \ - (* GET_MultiTexCoordP3uiv(disp)) parameters -static inline _glptr_MultiTexCoordP3uiv -GET_MultiTexCoordP3uiv(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP3uiv) (GET_by_offset - (disp, _gloffset_MultiTexCoordP3uiv)); -} - -static inline void -SET_MultiTexCoordP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4ui) (GLenum, GLenum, GLuint); - -#define CALL_MultiTexCoordP4ui(disp, parameters) \ - (* GET_MultiTexCoordP4ui(disp)) parameters -static inline _glptr_MultiTexCoordP4ui -GET_MultiTexCoordP4ui(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP4ui) (GET_by_offset - (disp, _gloffset_MultiTexCoordP4ui)); -} - -static inline void -SET_MultiTexCoordP4ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4uiv) (GLenum, GLenum, - const GLuint *); -#define CALL_MultiTexCoordP4uiv(disp, parameters) \ - (* GET_MultiTexCoordP4uiv(disp)) parameters -static inline _glptr_MultiTexCoordP4uiv -GET_MultiTexCoordP4uiv(struct _glapi_table *disp) -{ - return (_glptr_MultiTexCoordP4uiv) (GET_by_offset - (disp, _gloffset_MultiTexCoordP4uiv)); -} - -static inline void -SET_MultiTexCoordP4uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_MultiTexCoordP4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_NormalP3ui) (GLenum, GLuint); - -#define CALL_NormalP3ui(disp, parameters) \ - (* GET_NormalP3ui(disp)) parameters -static inline _glptr_NormalP3ui -GET_NormalP3ui(struct _glapi_table *disp) -{ - return (_glptr_NormalP3ui) (GET_by_offset(disp, _gloffset_NormalP3ui)); -} - -static inline void -SET_NormalP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_NormalP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_NormalP3uiv) (GLenum, const GLuint *); - -#define CALL_NormalP3uiv(disp, parameters) \ - (* GET_NormalP3uiv(disp)) parameters -static inline _glptr_NormalP3uiv -GET_NormalP3uiv(struct _glapi_table *disp) -{ - return (_glptr_NormalP3uiv) (GET_by_offset(disp, _gloffset_NormalP3uiv)); -} - -static inline void -SET_NormalP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_NormalP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColorP3ui) (GLenum, GLuint); - -#define CALL_SecondaryColorP3ui(disp, parameters) \ - (* GET_SecondaryColorP3ui(disp)) parameters -static inline _glptr_SecondaryColorP3ui -GET_SecondaryColorP3ui(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColorP3ui) (GET_by_offset - (disp, _gloffset_SecondaryColorP3ui)); -} - -static inline void -SET_SecondaryColorP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_SecondaryColorP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColorP3uiv) (GLenum, const GLuint *); - -#define CALL_SecondaryColorP3uiv(disp, parameters) \ - (* GET_SecondaryColorP3uiv(disp)) parameters -static inline _glptr_SecondaryColorP3uiv -GET_SecondaryColorP3uiv(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColorP3uiv) (GET_by_offset - (disp, _gloffset_SecondaryColorP3uiv)); -} - -static inline void -SET_SecondaryColorP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColorP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP1ui) (GLenum, GLuint); - -#define CALL_TexCoordP1ui(disp, parameters) \ - (* GET_TexCoordP1ui(disp)) parameters -static inline _glptr_TexCoordP1ui -GET_TexCoordP1ui(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP1ui) (GET_by_offset(disp, _gloffset_TexCoordP1ui)); -} - -static inline void -SET_TexCoordP1ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexCoordP1ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP1uiv) (GLenum, const GLuint *); - -#define CALL_TexCoordP1uiv(disp, parameters) \ - (* GET_TexCoordP1uiv(disp)) parameters -static inline _glptr_TexCoordP1uiv -GET_TexCoordP1uiv(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP1uiv) (GET_by_offset - (disp, _gloffset_TexCoordP1uiv)); -} - -static inline void -SET_TexCoordP1uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_TexCoordP1uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP2ui) (GLenum, GLuint); - -#define CALL_TexCoordP2ui(disp, parameters) \ - (* GET_TexCoordP2ui(disp)) parameters -static inline _glptr_TexCoordP2ui -GET_TexCoordP2ui(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP2ui) (GET_by_offset(disp, _gloffset_TexCoordP2ui)); -} - -static inline void -SET_TexCoordP2ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexCoordP2ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP2uiv) (GLenum, const GLuint *); - -#define CALL_TexCoordP2uiv(disp, parameters) \ - (* GET_TexCoordP2uiv(disp)) parameters -static inline _glptr_TexCoordP2uiv -GET_TexCoordP2uiv(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP2uiv) (GET_by_offset - (disp, _gloffset_TexCoordP2uiv)); -} - -static inline void -SET_TexCoordP2uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_TexCoordP2uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP3ui) (GLenum, GLuint); - -#define CALL_TexCoordP3ui(disp, parameters) \ - (* GET_TexCoordP3ui(disp)) parameters -static inline _glptr_TexCoordP3ui -GET_TexCoordP3ui(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP3ui) (GET_by_offset(disp, _gloffset_TexCoordP3ui)); -} - -static inline void -SET_TexCoordP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexCoordP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP3uiv) (GLenum, const GLuint *); - -#define CALL_TexCoordP3uiv(disp, parameters) \ - (* GET_TexCoordP3uiv(disp)) parameters -static inline _glptr_TexCoordP3uiv -GET_TexCoordP3uiv(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP3uiv) (GET_by_offset - (disp, _gloffset_TexCoordP3uiv)); -} - -static inline void -SET_TexCoordP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_TexCoordP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP4ui) (GLenum, GLuint); - -#define CALL_TexCoordP4ui(disp, parameters) \ - (* GET_TexCoordP4ui(disp)) parameters -static inline _glptr_TexCoordP4ui -GET_TexCoordP4ui(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP4ui) (GET_by_offset(disp, _gloffset_TexCoordP4ui)); -} - -static inline void -SET_TexCoordP4ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_TexCoordP4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordP4uiv) (GLenum, const GLuint *); - -#define CALL_TexCoordP4uiv(disp, parameters) \ - (* GET_TexCoordP4uiv(disp)) parameters -static inline _glptr_TexCoordP4uiv -GET_TexCoordP4uiv(struct _glapi_table *disp) -{ - return (_glptr_TexCoordP4uiv) (GET_by_offset - (disp, _gloffset_TexCoordP4uiv)); -} - -static inline void -SET_TexCoordP4uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_TexCoordP4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP1ui) (GLuint, GLenum, GLboolean, - GLuint); -#define CALL_VertexAttribP1ui(disp, parameters) \ - (* GET_VertexAttribP1ui(disp)) parameters -static inline _glptr_VertexAttribP1ui -GET_VertexAttribP1ui(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP1ui) (GET_by_offset - (disp, _gloffset_VertexAttribP1ui)); -} - -static inline void -SET_VertexAttribP1ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP1ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP1uiv) (GLuint, GLenum, GLboolean, - const GLuint *); -#define CALL_VertexAttribP1uiv(disp, parameters) \ - (* GET_VertexAttribP1uiv(disp)) parameters -static inline _glptr_VertexAttribP1uiv -GET_VertexAttribP1uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP1uiv) (GET_by_offset - (disp, _gloffset_VertexAttribP1uiv)); -} - -static inline void -SET_VertexAttribP1uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, - const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP1uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP2ui) (GLuint, GLenum, GLboolean, - GLuint); -#define CALL_VertexAttribP2ui(disp, parameters) \ - (* GET_VertexAttribP2ui(disp)) parameters -static inline _glptr_VertexAttribP2ui -GET_VertexAttribP2ui(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP2ui) (GET_by_offset - (disp, _gloffset_VertexAttribP2ui)); -} - -static inline void -SET_VertexAttribP2ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP2ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP2uiv) (GLuint, GLenum, GLboolean, - const GLuint *); -#define CALL_VertexAttribP2uiv(disp, parameters) \ - (* GET_VertexAttribP2uiv(disp)) parameters -static inline _glptr_VertexAttribP2uiv -GET_VertexAttribP2uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP2uiv) (GET_by_offset - (disp, _gloffset_VertexAttribP2uiv)); -} - -static inline void -SET_VertexAttribP2uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, - const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP2uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP3ui) (GLuint, GLenum, GLboolean, - GLuint); -#define CALL_VertexAttribP3ui(disp, parameters) \ - (* GET_VertexAttribP3ui(disp)) parameters -static inline _glptr_VertexAttribP3ui -GET_VertexAttribP3ui(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP3ui) (GET_by_offset - (disp, _gloffset_VertexAttribP3ui)); -} - -static inline void -SET_VertexAttribP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP3uiv) (GLuint, GLenum, GLboolean, - const GLuint *); -#define CALL_VertexAttribP3uiv(disp, parameters) \ - (* GET_VertexAttribP3uiv(disp)) parameters -static inline _glptr_VertexAttribP3uiv -GET_VertexAttribP3uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP3uiv) (GET_by_offset - (disp, _gloffset_VertexAttribP3uiv)); -} - -static inline void -SET_VertexAttribP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, - const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP4ui) (GLuint, GLenum, GLboolean, - GLuint); -#define CALL_VertexAttribP4ui(disp, parameters) \ - (* GET_VertexAttribP4ui(disp)) parameters -static inline _glptr_VertexAttribP4ui -GET_VertexAttribP4ui(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP4ui) (GET_by_offset - (disp, _gloffset_VertexAttribP4ui)); -} - -static inline void -SET_VertexAttribP4ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribP4uiv) (GLuint, GLenum, GLboolean, - const GLuint *); -#define CALL_VertexAttribP4uiv(disp, parameters) \ - (* GET_VertexAttribP4uiv(disp)) parameters -static inline _glptr_VertexAttribP4uiv -GET_VertexAttribP4uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribP4uiv) (GET_by_offset - (disp, _gloffset_VertexAttribP4uiv)); -} - -static inline void -SET_VertexAttribP4uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, - const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribP4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP2ui) (GLenum, GLuint); - -#define CALL_VertexP2ui(disp, parameters) \ - (* GET_VertexP2ui(disp)) parameters -static inline _glptr_VertexP2ui -GET_VertexP2ui(struct _glapi_table *disp) -{ - return (_glptr_VertexP2ui) (GET_by_offset(disp, _gloffset_VertexP2ui)); -} - -static inline void -SET_VertexP2ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexP2ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP2uiv) (GLenum, const GLuint *); - -#define CALL_VertexP2uiv(disp, parameters) \ - (* GET_VertexP2uiv(disp)) parameters -static inline _glptr_VertexP2uiv -GET_VertexP2uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexP2uiv) (GET_by_offset(disp, _gloffset_VertexP2uiv)); -} - -static inline void -SET_VertexP2uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexP2uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP3ui) (GLenum, GLuint); - -#define CALL_VertexP3ui(disp, parameters) \ - (* GET_VertexP3ui(disp)) parameters -static inline _glptr_VertexP3ui -GET_VertexP3ui(struct _glapi_table *disp) -{ - return (_glptr_VertexP3ui) (GET_by_offset(disp, _gloffset_VertexP3ui)); -} - -static inline void -SET_VertexP3ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexP3ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP3uiv) (GLenum, const GLuint *); - -#define CALL_VertexP3uiv(disp, parameters) \ - (* GET_VertexP3uiv(disp)) parameters -static inline _glptr_VertexP3uiv -GET_VertexP3uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexP3uiv) (GET_by_offset(disp, _gloffset_VertexP3uiv)); -} - -static inline void -SET_VertexP3uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexP3uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP4ui) (GLenum, GLuint); - -#define CALL_VertexP4ui(disp, parameters) \ - (* GET_VertexP4ui(disp)) parameters -static inline _glptr_VertexP4ui -GET_VertexP4ui(struct _glapi_table *disp) -{ - return (_glptr_VertexP4ui) (GET_by_offset(disp, _gloffset_VertexP4ui)); -} - -static inline void -SET_VertexP4ui(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexP4ui, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexP4uiv) (GLenum, const GLuint *); - -#define CALL_VertexP4uiv(disp, parameters) \ - (* GET_VertexP4uiv(disp)) parameters -static inline _glptr_VertexP4uiv -GET_VertexP4uiv(struct _glapi_table *disp) -{ - return (_glptr_VertexP4uiv) (GET_by_offset(disp, _gloffset_VertexP4uiv)); -} - -static inline void -SET_VertexP4uiv(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexP4uiv, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindTransformFeedback) (GLenum, GLuint); - -#define CALL_BindTransformFeedback(disp, parameters) \ - (* GET_BindTransformFeedback(disp)) parameters -static inline _glptr_BindTransformFeedback -GET_BindTransformFeedback(struct _glapi_table *disp) -{ - return (_glptr_BindTransformFeedback) (GET_by_offset - (disp, - _gloffset_BindTransformFeedback)); -} - -static inline void -SET_BindTransformFeedback(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindTransformFeedback, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks) (GLsizei, - const GLuint *); -#define CALL_DeleteTransformFeedbacks(disp, parameters) \ - (* GET_DeleteTransformFeedbacks(disp)) parameters -static inline _glptr_DeleteTransformFeedbacks -GET_DeleteTransformFeedbacks(struct _glapi_table *disp) -{ - return (_glptr_DeleteTransformFeedbacks) (GET_by_offset - (disp, - _gloffset_DeleteTransformFeedbacks)); -} - -static inline void -SET_DeleteTransformFeedbacks(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn); -} - -typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback) (GLenum, GLuint); - -#define CALL_DrawTransformFeedback(disp, parameters) \ - (* GET_DrawTransformFeedback(disp)) parameters -static inline _glptr_DrawTransformFeedback -GET_DrawTransformFeedback(struct _glapi_table *disp) -{ - return (_glptr_DrawTransformFeedback) (GET_by_offset - (disp, - _gloffset_DrawTransformFeedback)); -} - -static inline void -SET_DrawTransformFeedback(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks) (GLsizei, GLuint *); - -#define CALL_GenTransformFeedbacks(disp, parameters) \ - (* GET_GenTransformFeedbacks(disp)) parameters -static inline _glptr_GenTransformFeedbacks -GET_GenTransformFeedbacks(struct _glapi_table *disp) -{ - return (_glptr_GenTransformFeedbacks) (GET_by_offset - (disp, - _gloffset_GenTransformFeedbacks)); -} - -static inline void -SET_GenTransformFeedbacks(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsTransformFeedback) (GLuint); - -#define CALL_IsTransformFeedback(disp, parameters) \ - (* GET_IsTransformFeedback(disp)) parameters -static inline _glptr_IsTransformFeedback -GET_IsTransformFeedback(struct _glapi_table *disp) -{ - return (_glptr_IsTransformFeedback) (GET_by_offset - (disp, _gloffset_IsTransformFeedback)); -} - -static inline void -SET_IsTransformFeedback(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsTransformFeedback, fn); -} - -typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback) (void); - -#define CALL_PauseTransformFeedback(disp, parameters) \ - (* GET_PauseTransformFeedback(disp)) parameters -static inline _glptr_PauseTransformFeedback -GET_PauseTransformFeedback(struct _glapi_table *disp) -{ - return (_glptr_PauseTransformFeedback) (GET_by_offset - (disp, - _gloffset_PauseTransformFeedback)); -} - -static inline void -SET_PauseTransformFeedback(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn); -} - -typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback) (void); - -#define CALL_ResumeTransformFeedback(disp, parameters) \ - (* GET_ResumeTransformFeedback(disp)) parameters -static inline _glptr_ResumeTransformFeedback -GET_ResumeTransformFeedback(struct _glapi_table *disp) -{ - return (_glptr_ResumeTransformFeedback) (GET_by_offset - (disp, - _gloffset_ResumeTransformFeedback)); -} - -static inline void -SET_ResumeTransformFeedback(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearDepthf) (GLclampf); - -#define CALL_ClearDepthf(disp, parameters) \ - (* GET_ClearDepthf(disp)) parameters -static inline _glptr_ClearDepthf -GET_ClearDepthf(struct _glapi_table *disp) -{ - return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf)); -} - -static inline void -SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLclampf)) -{ - SET_by_offset(disp, _gloffset_ClearDepthf, fn); -} - -typedef void (GLAPIENTRYP _glptr_DepthRangef) (GLclampf, GLclampf); - -#define CALL_DepthRangef(disp, parameters) \ - (* GET_DepthRangef(disp)) parameters -static inline _glptr_DepthRangef -GET_DepthRangef(struct _glapi_table *disp) -{ - return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef)); -} - -static inline void -SET_DepthRangef(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampf, GLclampf)) -{ - SET_by_offset(disp, _gloffset_DepthRangef, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat) (GLenum, GLenum, - GLint *, GLint *); -#define CALL_GetShaderPrecisionFormat(disp, parameters) \ - (* GET_GetShaderPrecisionFormat(disp)) parameters -static inline _glptr_GetShaderPrecisionFormat -GET_GetShaderPrecisionFormat(struct _glapi_table *disp) -{ - return (_glptr_GetShaderPrecisionFormat) (GET_by_offset - (disp, - _gloffset_GetShaderPrecisionFormat)); -} - -static inline void -SET_GetShaderPrecisionFormat(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn); -} - -typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler) (void); - -#define CALL_ReleaseShaderCompiler(disp, parameters) \ - (* GET_ReleaseShaderCompiler(disp)) parameters -static inline _glptr_ReleaseShaderCompiler -GET_ReleaseShaderCompiler(struct _glapi_table *disp) -{ - return (_glptr_ReleaseShaderCompiler) (GET_by_offset - (disp, - _gloffset_ReleaseShaderCompiler)); -} - -static inline void -SET_ReleaseShaderCompiler(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn); -} - -typedef void (GLAPIENTRYP _glptr_ShaderBinary) (GLsizei, const GLuint *, GLenum, - const GLvoid *, GLsizei); -#define CALL_ShaderBinary(disp, parameters) \ - (* GET_ShaderBinary(disp)) parameters -static inline _glptr_ShaderBinary -GET_ShaderBinary(struct _glapi_table *disp) -{ - return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary)); -} - -static inline void -SET_ShaderBinary(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *, GLenum, - const GLvoid *, GLsizei)) -{ - SET_by_offset(disp, _gloffset_ShaderBinary, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_GetGraphicsResetStatusARB) (void); - -#define CALL_GetGraphicsResetStatusARB(disp, parameters) \ - (* GET_GetGraphicsResetStatusARB(disp)) parameters -static inline _glptr_GetGraphicsResetStatusARB -GET_GetGraphicsResetStatusARB(struct _glapi_table *disp) -{ - return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset - (disp, - _gloffset_GetGraphicsResetStatusARB)); -} - -static inline void -SET_GetGraphicsResetStatusARB(struct _glapi_table *disp, - GLenum(GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnColorTableARB) (GLenum, GLenum, GLenum, - GLsizei, GLvoid *); -#define CALL_GetnColorTableARB(disp, parameters) \ - (* GET_GetnColorTableARB(disp)) parameters -static inline _glptr_GetnColorTableARB -GET_GetnColorTableARB(struct _glapi_table *disp) -{ - return (_glptr_GetnColorTableARB) (GET_by_offset - (disp, _gloffset_GetnColorTableARB)); -} - -static inline void -SET_GetnColorTableARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLsizei, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnColorTableARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB) (GLenum, GLint, - GLsizei, GLvoid *); -#define CALL_GetnCompressedTexImageARB(disp, parameters) \ - (* GET_GetnCompressedTexImageARB(disp)) parameters -static inline _glptr_GetnCompressedTexImageARB -GET_GetnCompressedTexImageARB(struct _glapi_table *disp) -{ - return (_glptr_GetnCompressedTexImageARB) (GET_by_offset - (disp, - _gloffset_GetnCompressedTexImageARB)); -} - -static inline void -SET_GetnCompressedTexImageARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB) (GLenum, GLenum, - GLenum, GLsizei, - GLvoid *); -#define CALL_GetnConvolutionFilterARB(disp, parameters) \ - (* GET_GetnConvolutionFilterARB(disp)) parameters -static inline _glptr_GetnConvolutionFilterARB -GET_GetnConvolutionFilterARB(struct _glapi_table *disp) -{ - return (_glptr_GetnConvolutionFilterARB) (GET_by_offset - (disp, - _gloffset_GetnConvolutionFilterARB)); -} - -static inline void -SET_GetnConvolutionFilterARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnHistogramARB) (GLenum, GLboolean, GLenum, - GLenum, GLsizei, GLvoid *); -#define CALL_GetnHistogramARB(disp, parameters) \ - (* GET_GetnHistogramARB(disp)) parameters -static inline _glptr_GetnHistogramARB -GET_GetnHistogramARB(struct _glapi_table *disp) -{ - return (_glptr_GetnHistogramARB) (GET_by_offset - (disp, _gloffset_GetnHistogramARB)); -} - -static inline void -SET_GetnHistogramARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum, - GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnHistogramARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnMapdvARB) (GLenum, GLenum, GLsizei, - GLdouble *); -#define CALL_GetnMapdvARB(disp, parameters) \ - (* GET_GetnMapdvARB(disp)) parameters -static inline _glptr_GetnMapdvARB -GET_GetnMapdvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB)); -} - -static inline void -SET_GetnMapdvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetnMapdvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnMapfvARB) (GLenum, GLenum, GLsizei, - GLfloat *); -#define CALL_GetnMapfvARB(disp, parameters) \ - (* GET_GetnMapfvARB(disp)) parameters -static inline _glptr_GetnMapfvARB -GET_GetnMapfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB)); -} - -static inline void -SET_GetnMapfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetnMapfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnMapivARB) (GLenum, GLenum, GLsizei, - GLint *); -#define CALL_GetnMapivARB(disp, parameters) \ - (* GET_GetnMapivARB(disp)) parameters -static inline _glptr_GetnMapivARB -GET_GetnMapivARB(struct _glapi_table *disp) -{ - return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB)); -} - -static inline void -SET_GetnMapivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetnMapivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB) (GLenum, GLboolean, GLenum, - GLenum, GLsizei, GLvoid *); -#define CALL_GetnMinmaxARB(disp, parameters) \ - (* GET_GetnMinmaxARB(disp)) parameters -static inline _glptr_GetnMinmaxARB -GET_GetnMinmaxARB(struct _glapi_table *disp) -{ - return (_glptr_GetnMinmaxARB) (GET_by_offset - (disp, _gloffset_GetnMinmaxARB)); -} - -static inline void -SET_GetnMinmaxARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum, - GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB) (GLenum, GLsizei, - GLfloat *); -#define CALL_GetnPixelMapfvARB(disp, parameters) \ - (* GET_GetnPixelMapfvARB(disp)) parameters -static inline _glptr_GetnPixelMapfvARB -GET_GetnPixelMapfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnPixelMapfvARB) (GET_by_offset - (disp, _gloffset_GetnPixelMapfvARB)); -} - -static inline void -SET_GetnPixelMapfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB) (GLenum, GLsizei, - GLuint *); -#define CALL_GetnPixelMapuivARB(disp, parameters) \ - (* GET_GetnPixelMapuivARB(disp)) parameters -static inline _glptr_GetnPixelMapuivARB -GET_GetnPixelMapuivARB(struct _glapi_table *disp) -{ - return (_glptr_GetnPixelMapuivARB) (GET_by_offset - (disp, _gloffset_GetnPixelMapuivARB)); -} - -static inline void -SET_GetnPixelMapuivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB) (GLenum, GLsizei, - GLushort *); -#define CALL_GetnPixelMapusvARB(disp, parameters) \ - (* GET_GetnPixelMapusvARB(disp)) parameters -static inline _glptr_GetnPixelMapusvARB -GET_GetnPixelMapusvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnPixelMapusvARB) (GET_by_offset - (disp, _gloffset_GetnPixelMapusvARB)); -} - -static inline void -SET_GetnPixelMapusvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLushort *)) -{ - SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB) (GLsizei, GLubyte *); - -#define CALL_GetnPolygonStippleARB(disp, parameters) \ - (* GET_GetnPolygonStippleARB(disp)) parameters -static inline _glptr_GetnPolygonStippleARB -GET_GetnPolygonStippleARB(struct _glapi_table *disp) -{ - return (_glptr_GetnPolygonStippleARB) (GET_by_offset - (disp, - _gloffset_GetnPolygonStippleARB)); -} - -static inline void -SET_GetnPolygonStippleARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLubyte *)) -{ - SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB) (GLenum, GLenum, - GLenum, GLsizei, - GLvoid *, GLsizei, - GLvoid *, GLvoid *); -#define CALL_GetnSeparableFilterARB(disp, parameters) \ - (* GET_GetnSeparableFilterARB(disp)) parameters -static inline _glptr_GetnSeparableFilterARB -GET_GetnSeparableFilterARB(struct _glapi_table *disp) -{ - return (_glptr_GetnSeparableFilterARB) (GET_by_offset - (disp, - _gloffset_GetnSeparableFilterARB)); -} - -static inline void -SET_GetnSeparableFilterARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLsizei, GLvoid *, GLsizei, - GLvoid *, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnTexImageARB) (GLenum, GLint, GLenum, - GLenum, GLsizei, GLvoid *); -#define CALL_GetnTexImageARB(disp, parameters) \ - (* GET_GetnTexImageARB(disp)) parameters -static inline _glptr_GetnTexImageARB -GET_GetnTexImageARB(struct _glapi_table *disp) -{ - return (_glptr_GetnTexImageARB) (GET_by_offset - (disp, _gloffset_GetnTexImageARB)); -} - -static inline void -SET_GetnTexImageARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLenum, - GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_GetnTexImageARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB) (GLhandleARB, GLint, GLsizei, - GLdouble *); -#define CALL_GetnUniformdvARB(disp, parameters) \ - (* GET_GetnUniformdvARB(disp)) parameters -static inline _glptr_GetnUniformdvARB -GET_GetnUniformdvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnUniformdvARB) (GET_by_offset - (disp, _gloffset_GetnUniformdvARB)); -} - -static inline void -SET_GetnUniformdvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei, - GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB) (GLhandleARB, GLint, GLsizei, - GLfloat *); -#define CALL_GetnUniformfvARB(disp, parameters) \ - (* GET_GetnUniformfvARB(disp)) parameters -static inline _glptr_GetnUniformfvARB -GET_GetnUniformfvARB(struct _glapi_table *disp) -{ - return (_glptr_GetnUniformfvARB) (GET_by_offset - (disp, _gloffset_GetnUniformfvARB)); -} - -static inline void -SET_GetnUniformfvARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnUniformivARB) (GLhandleARB, GLint, GLsizei, - GLint *); -#define CALL_GetnUniformivARB(disp, parameters) \ - (* GET_GetnUniformivARB(disp)) parameters -static inline _glptr_GetnUniformivARB -GET_GetnUniformivARB(struct _glapi_table *disp) -{ - return (_glptr_GetnUniformivARB) (GET_by_offset - (disp, _gloffset_GetnUniformivARB)); -} - -static inline void -SET_GetnUniformivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetnUniformivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB) (GLhandleARB, GLint, - GLsizei, GLuint *); -#define CALL_GetnUniformuivARB(disp, parameters) \ - (* GET_GetnUniformuivARB(disp)) parameters -static inline _glptr_GetnUniformuivARB -GET_GetnUniformuivARB(struct _glapi_table *disp) -{ - return (_glptr_GetnUniformuivARB) (GET_by_offset - (disp, _gloffset_GetnUniformuivARB)); -} - -static inline void -SET_GetnUniformuivARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei, - GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB) (GLint, GLint, GLsizei, - GLsizei, GLenum, GLenum, - GLsizei, GLvoid *); -#define CALL_ReadnPixelsARB(disp, parameters) \ - (* GET_ReadnPixelsARB(disp)) parameters -static inline _glptr_ReadnPixelsARB -GET_ReadnPixelsARB(struct _glapi_table *disp) -{ - return (_glptr_ReadnPixelsARB) (GET_by_offset - (disp, _gloffset_ReadnPixelsARB)); -} - -static inline void -SET_ReadnPixelsARB(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei, - GLenum, GLenum, GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexStorage1D) (GLenum, GLsizei, GLenum, - GLsizei); -#define CALL_TexStorage1D(disp, parameters) \ - (* GET_TexStorage1D(disp)) parameters -static inline _glptr_TexStorage1D -GET_TexStorage1D(struct _glapi_table *disp) -{ - return (_glptr_TexStorage1D) (GET_by_offset(disp, _gloffset_TexStorage1D)); -} - -static inline void -SET_TexStorage1D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei)) -{ - SET_by_offset(disp, _gloffset_TexStorage1D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexStorage2D) (GLenum, GLsizei, GLenum, - GLsizei, GLsizei); -#define CALL_TexStorage2D(disp, parameters) \ - (* GET_TexStorage2D(disp)) parameters -static inline _glptr_TexStorage2D -GET_TexStorage2D(struct _glapi_table *disp) -{ - return (_glptr_TexStorage2D) (GET_by_offset(disp, _gloffset_TexStorage2D)); -} - -static inline void -SET_TexStorage2D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_TexStorage2D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexStorage3D) (GLenum, GLsizei, GLenum, - GLsizei, GLsizei, GLsizei); -#define CALL_TexStorage3D(disp, parameters) \ - (* GET_TexStorage3D(disp)) parameters -static inline _glptr_TexStorage3D -GET_TexStorage3D(struct _glapi_table *disp) -{ - return (_glptr_TexStorage3D) (GET_by_offset(disp, _gloffset_TexStorage3D)); -} - -static inline void -SET_TexStorage3D(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei, - GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_TexStorage3D, fn); -} - -typedef void (GLAPIENTRYP _glptr_TextureStorage1DEXT) (GLuint, GLenum, GLsizei, - GLenum, GLsizei); -#define CALL_TextureStorage1DEXT(disp, parameters) \ - (* GET_TextureStorage1DEXT(disp)) parameters -static inline _glptr_TextureStorage1DEXT -GET_TextureStorage1DEXT(struct _glapi_table *disp) -{ - return (_glptr_TextureStorage1DEXT) (GET_by_offset - (disp, _gloffset_TextureStorage1DEXT)); -} - -static inline void -SET_TextureStorage1DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_TextureStorage1DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TextureStorage2DEXT) (GLuint, GLenum, GLsizei, - GLenum, GLsizei, - GLsizei); -#define CALL_TextureStorage2DEXT(disp, parameters) \ - (* GET_TextureStorage2DEXT(disp)) parameters -static inline _glptr_TextureStorage2DEXT -GET_TextureStorage2DEXT(struct _glapi_table *disp) -{ - return (_glptr_TextureStorage2DEXT) (GET_by_offset - (disp, _gloffset_TextureStorage2DEXT)); -} - -static inline void -SET_TextureStorage2DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum, - GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_TextureStorage2DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TextureStorage3DEXT) (GLuint, GLenum, GLsizei, - GLenum, GLsizei, GLsizei, - GLsizei); -#define CALL_TextureStorage3DEXT(disp, parameters) \ - (* GET_TextureStorage3DEXT(disp)) parameters -static inline _glptr_TextureStorage3DEXT -GET_TextureStorage3DEXT(struct _glapi_table *disp) -{ - return (_glptr_TextureStorage3DEXT) (GET_by_offset - (disp, _gloffset_TextureStorage3DEXT)); -} - -static inline void -SET_TextureStorage3DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum, - GLsizei, GLsizei, GLsizei)) -{ - SET_by_offset(disp, _gloffset_TextureStorage3DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT) (GLfloat, GLfloat); - -#define CALL_PolygonOffsetEXT(disp, parameters) \ - (* GET_PolygonOffsetEXT(disp)) parameters -static inline _glptr_PolygonOffsetEXT -GET_PolygonOffsetEXT(struct _glapi_table *disp) -{ - return (_glptr_PolygonOffsetEXT) (GET_by_offset - (disp, _gloffset_PolygonOffsetEXT)); -} - -static inline void -SET_PolygonOffsetEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterfvSGIS) (GLenum, - GLfloat *); -#define CALL_GetPixelTexGenParameterfvSGIS(disp, parameters) \ - (* GET_GetPixelTexGenParameterfvSGIS(disp)) parameters -static inline _glptr_GetPixelTexGenParameterfvSGIS -GET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp) -{ - return (_glptr_GetPixelTexGenParameterfvSGIS) (GET_by_offset - (disp, - _gloffset_GetPixelTexGenParameterfvSGIS)); -} - -static inline void -SET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterivSGIS) (GLenum, - GLint *); -#define CALL_GetPixelTexGenParameterivSGIS(disp, parameters) \ - (* GET_GetPixelTexGenParameterivSGIS(disp)) parameters -static inline _glptr_GetPixelTexGenParameterivSGIS -GET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp) -{ - return (_glptr_GetPixelTexGenParameterivSGIS) (GET_by_offset - (disp, - _gloffset_GetPixelTexGenParameterivSGIS)); -} - -static inline void -SET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfSGIS) (GLenum, GLfloat); - -#define CALL_PixelTexGenParameterfSGIS(disp, parameters) \ - (* GET_PixelTexGenParameterfSGIS(disp)) parameters -static inline _glptr_PixelTexGenParameterfSGIS -GET_PixelTexGenParameterfSGIS(struct _glapi_table *disp) -{ - return (_glptr_PixelTexGenParameterfSGIS) (GET_by_offset - (disp, - _gloffset_PixelTexGenParameterfSGIS)); -} - -static inline void -SET_PixelTexGenParameterfSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfvSGIS) (GLenum, - const GLfloat *); -#define CALL_PixelTexGenParameterfvSGIS(disp, parameters) \ - (* GET_PixelTexGenParameterfvSGIS(disp)) parameters -static inline _glptr_PixelTexGenParameterfvSGIS -GET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp) -{ - return (_glptr_PixelTexGenParameterfvSGIS) (GET_by_offset - (disp, - _gloffset_PixelTexGenParameterfvSGIS)); -} - -static inline void -SET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTexGenParameteriSGIS) (GLenum, GLint); - -#define CALL_PixelTexGenParameteriSGIS(disp, parameters) \ - (* GET_PixelTexGenParameteriSGIS(disp)) parameters -static inline _glptr_PixelTexGenParameteriSGIS -GET_PixelTexGenParameteriSGIS(struct _glapi_table *disp) -{ - return (_glptr_PixelTexGenParameteriSGIS) (GET_by_offset - (disp, - _gloffset_PixelTexGenParameteriSGIS)); -} - -static inline void -SET_PixelTexGenParameteriSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterivSGIS) (GLenum, - const GLint *); -#define CALL_PixelTexGenParameterivSGIS(disp, parameters) \ - (* GET_PixelTexGenParameterivSGIS(disp)) parameters -static inline _glptr_PixelTexGenParameterivSGIS -GET_PixelTexGenParameterivSGIS(struct _glapi_table *disp) -{ - return (_glptr_PixelTexGenParameterivSGIS) (GET_by_offset - (disp, - _gloffset_PixelTexGenParameterivSGIS)); -} - -static inline void -SET_PixelTexGenParameterivSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS) (GLclampf, GLboolean); - -#define CALL_SampleMaskSGIS(disp, parameters) \ - (* GET_SampleMaskSGIS(disp)) parameters -static inline _glptr_SampleMaskSGIS -GET_SampleMaskSGIS(struct _glapi_table *disp) -{ - return (_glptr_SampleMaskSGIS) (GET_by_offset - (disp, _gloffset_SampleMaskSGIS)); -} - -static inline void -SET_SampleMaskSGIS(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampf, GLboolean)) -{ - SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS) (GLenum); - -#define CALL_SamplePatternSGIS(disp, parameters) \ - (* GET_SamplePatternSGIS(disp)) parameters -static inline _glptr_SamplePatternSGIS -GET_SamplePatternSGIS(struct _glapi_table *disp) -{ - return (_glptr_SamplePatternSGIS) (GET_by_offset - (disp, _gloffset_SamplePatternSGIS)); -} - -static inline void -SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorPointerEXT) (GLint, GLenum, GLsizei, - GLsizei, const GLvoid *); -#define CALL_ColorPointerEXT(disp, parameters) \ - (* GET_ColorPointerEXT(disp)) parameters -static inline _glptr_ColorPointerEXT -GET_ColorPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_ColorPointerEXT) (GET_by_offset - (disp, _gloffset_ColorPointerEXT)); -} - -static inline void -SET_ColorPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_ColorPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT) (GLsizei, GLsizei, - const GLboolean *); -#define CALL_EdgeFlagPointerEXT(disp, parameters) \ - (* GET_EdgeFlagPointerEXT(disp)) parameters -static inline _glptr_EdgeFlagPointerEXT -GET_EdgeFlagPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_EdgeFlagPointerEXT) (GET_by_offset - (disp, _gloffset_EdgeFlagPointerEXT)); -} - -static inline void -SET_EdgeFlagPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLsizei, - const GLboolean *)) -{ - SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_IndexPointerEXT) (GLenum, GLsizei, GLsizei, - const GLvoid *); -#define CALL_IndexPointerEXT(disp, parameters) \ - (* GET_IndexPointerEXT(disp)) parameters -static inline _glptr_IndexPointerEXT -GET_IndexPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_IndexPointerEXT) (GET_by_offset - (disp, _gloffset_IndexPointerEXT)); -} - -static inline void -SET_IndexPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_IndexPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_NormalPointerEXT) (GLenum, GLsizei, GLsizei, - const GLvoid *); -#define CALL_NormalPointerEXT(disp, parameters) \ - (* GET_NormalPointerEXT(disp)) parameters -static inline _glptr_NormalPointerEXT -GET_NormalPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_NormalPointerEXT) (GET_by_offset - (disp, _gloffset_NormalPointerEXT)); -} - -static inline void -SET_NormalPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_NormalPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT) (GLint, GLenum, GLsizei, - GLsizei, const GLvoid *); -#define CALL_TexCoordPointerEXT(disp, parameters) \ - (* GET_TexCoordPointerEXT(disp)) parameters -static inline _glptr_TexCoordPointerEXT -GET_TexCoordPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_TexCoordPointerEXT) (GET_by_offset - (disp, _gloffset_TexCoordPointerEXT)); -} - -static inline void -SET_TexCoordPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexPointerEXT) (GLint, GLenum, GLsizei, - GLsizei, const GLvoid *); -#define CALL_VertexPointerEXT(disp, parameters) \ - (* GET_VertexPointerEXT(disp)) parameters -static inline _glptr_VertexPointerEXT -GET_VertexPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexPointerEXT) (GET_by_offset - (disp, _gloffset_VertexPointerEXT)); -} - -static inline void -SET_VertexPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_PointParameterfEXT) (GLenum, GLfloat); - -#define CALL_PointParameterfEXT(disp, parameters) \ - (* GET_PointParameterfEXT(disp)) parameters -static inline _glptr_PointParameterfEXT -GET_PointParameterfEXT(struct _glapi_table *disp) -{ - return (_glptr_PointParameterfEXT) (GET_by_offset - (disp, _gloffset_PointParameterfEXT)); -} - -static inline void -SET_PointParameterfEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_PointParameterfEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_PointParameterfvEXT) (GLenum, const GLfloat *); - -#define CALL_PointParameterfvEXT(disp, parameters) \ - (* GET_PointParameterfvEXT(disp)) parameters -static inline _glptr_PointParameterfvEXT -GET_PointParameterfvEXT(struct _glapi_table *disp) -{ - return (_glptr_PointParameterfvEXT) (GET_by_offset - (disp, _gloffset_PointParameterfvEXT)); -} - -static inline void -SET_PointParameterfvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_PointParameterfvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_LockArraysEXT) (GLint, GLsizei); - -#define CALL_LockArraysEXT(disp, parameters) \ - (* GET_LockArraysEXT(disp)) parameters -static inline _glptr_LockArraysEXT -GET_LockArraysEXT(struct _glapi_table *disp) -{ - return (_glptr_LockArraysEXT) (GET_by_offset - (disp, _gloffset_LockArraysEXT)); -} - -static inline void -SET_LockArraysEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei)) -{ - SET_by_offset(disp, _gloffset_LockArraysEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT) (void); - -#define CALL_UnlockArraysEXT(disp, parameters) \ - (* GET_UnlockArraysEXT(disp)) parameters -static inline _glptr_UnlockArraysEXT -GET_UnlockArraysEXT(struct _glapi_table *disp) -{ - return (_glptr_UnlockArraysEXT) (GET_by_offset - (disp, _gloffset_UnlockArraysEXT)); -} - -static inline void -SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3bEXT) (GLbyte, GLbyte, GLbyte); - -#define CALL_SecondaryColor3bEXT(disp, parameters) \ - (* GET_SecondaryColor3bEXT(disp)) parameters -static inline _glptr_SecondaryColor3bEXT -GET_SecondaryColor3bEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3bEXT) (GET_by_offset - (disp, _gloffset_SecondaryColor3bEXT)); -} - -static inline void -SET_SecondaryColor3bEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3bEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3bvEXT) (const GLbyte *); - -#define CALL_SecondaryColor3bvEXT(disp, parameters) \ - (* GET_SecondaryColor3bvEXT(disp)) parameters -static inline _glptr_SecondaryColor3bvEXT -GET_SecondaryColor3bvEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3bvEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3bvEXT)); -} - -static inline void -SET_SecondaryColor3bvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3bvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3dEXT) (GLdouble, GLdouble, - GLdouble); -#define CALL_SecondaryColor3dEXT(disp, parameters) \ - (* GET_SecondaryColor3dEXT(disp)) parameters -static inline _glptr_SecondaryColor3dEXT -GET_SecondaryColor3dEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3dEXT) (GET_by_offset - (disp, _gloffset_SecondaryColor3dEXT)); -} - -static inline void -SET_SecondaryColor3dEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3dEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3dvEXT) (const GLdouble *); - -#define CALL_SecondaryColor3dvEXT(disp, parameters) \ - (* GET_SecondaryColor3dvEXT(disp)) parameters -static inline _glptr_SecondaryColor3dvEXT -GET_SecondaryColor3dvEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3dvEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3dvEXT)); -} - -static inline void -SET_SecondaryColor3dvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3dvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT) (GLfloat, GLfloat, - GLfloat); -#define CALL_SecondaryColor3fEXT(disp, parameters) \ - (* GET_SecondaryColor3fEXT(disp)) parameters -static inline _glptr_SecondaryColor3fEXT -GET_SecondaryColor3fEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3fEXT) (GET_by_offset - (disp, _gloffset_SecondaryColor3fEXT)); -} - -static inline void -SET_SecondaryColor3fEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT) (const GLfloat *); - -#define CALL_SecondaryColor3fvEXT(disp, parameters) \ - (* GET_SecondaryColor3fvEXT(disp)) parameters -static inline _glptr_SecondaryColor3fvEXT -GET_SecondaryColor3fvEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3fvEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3fvEXT)); -} - -static inline void -SET_SecondaryColor3fvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3iEXT) (GLint, GLint, GLint); - -#define CALL_SecondaryColor3iEXT(disp, parameters) \ - (* GET_SecondaryColor3iEXT(disp)) parameters -static inline _glptr_SecondaryColor3iEXT -GET_SecondaryColor3iEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3iEXT) (GET_by_offset - (disp, _gloffset_SecondaryColor3iEXT)); -} - -static inline void -SET_SecondaryColor3iEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3iEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3ivEXT) (const GLint *); - -#define CALL_SecondaryColor3ivEXT(disp, parameters) \ - (* GET_SecondaryColor3ivEXT(disp)) parameters -static inline _glptr_SecondaryColor3ivEXT -GET_SecondaryColor3ivEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3ivEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3ivEXT)); -} - -static inline void -SET_SecondaryColor3ivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3ivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3sEXT) (GLshort, GLshort, - GLshort); -#define CALL_SecondaryColor3sEXT(disp, parameters) \ - (* GET_SecondaryColor3sEXT(disp)) parameters -static inline _glptr_SecondaryColor3sEXT -GET_SecondaryColor3sEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3sEXT) (GET_by_offset - (disp, _gloffset_SecondaryColor3sEXT)); -} - -static inline void -SET_SecondaryColor3sEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3sEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3svEXT) (const GLshort *); - -#define CALL_SecondaryColor3svEXT(disp, parameters) \ - (* GET_SecondaryColor3svEXT(disp)) parameters -static inline _glptr_SecondaryColor3svEXT -GET_SecondaryColor3svEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3svEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3svEXT)); -} - -static inline void -SET_SecondaryColor3svEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3svEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubEXT) (GLubyte, GLubyte, - GLubyte); -#define CALL_SecondaryColor3ubEXT(disp, parameters) \ - (* GET_SecondaryColor3ubEXT(disp)) parameters -static inline _glptr_SecondaryColor3ubEXT -GET_SecondaryColor3ubEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3ubEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3ubEXT)); -} - -static inline void -SET_SecondaryColor3ubEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3ubEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubvEXT) (const GLubyte *); - -#define CALL_SecondaryColor3ubvEXT(disp, parameters) \ - (* GET_SecondaryColor3ubvEXT(disp)) parameters -static inline _glptr_SecondaryColor3ubvEXT -GET_SecondaryColor3ubvEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3ubvEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3ubvEXT)); -} - -static inline void -SET_SecondaryColor3ubvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiEXT) (GLuint, GLuint, GLuint); - -#define CALL_SecondaryColor3uiEXT(disp, parameters) \ - (* GET_SecondaryColor3uiEXT(disp)) parameters -static inline _glptr_SecondaryColor3uiEXT -GET_SecondaryColor3uiEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3uiEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3uiEXT)); -} - -static inline void -SET_SecondaryColor3uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3uivEXT) (const GLuint *); - -#define CALL_SecondaryColor3uivEXT(disp, parameters) \ - (* GET_SecondaryColor3uivEXT(disp)) parameters -static inline _glptr_SecondaryColor3uivEXT -GET_SecondaryColor3uivEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3uivEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3uivEXT)); -} - -static inline void -SET_SecondaryColor3uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLuint *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3usEXT) (GLushort, GLushort, - GLushort); -#define CALL_SecondaryColor3usEXT(disp, parameters) \ - (* GET_SecondaryColor3usEXT(disp)) parameters -static inline _glptr_SecondaryColor3usEXT -GET_SecondaryColor3usEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3usEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3usEXT)); -} - -static inline void -SET_SecondaryColor3usEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3usEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColor3usvEXT) (const GLushort *); - -#define CALL_SecondaryColor3usvEXT(disp, parameters) \ - (* GET_SecondaryColor3usvEXT(disp)) parameters -static inline _glptr_SecondaryColor3usvEXT -GET_SecondaryColor3usvEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColor3usvEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColor3usvEXT)); -} - -static inline void -SET_SecondaryColor3usvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLushort *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColor3usvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_SecondaryColorPointerEXT) (GLint, GLenum, - GLsizei, - const GLvoid *); -#define CALL_SecondaryColorPointerEXT(disp, parameters) \ - (* GET_SecondaryColorPointerEXT(disp)) parameters -static inline _glptr_SecondaryColorPointerEXT -GET_SecondaryColorPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_SecondaryColorPointerEXT) (GET_by_offset - (disp, - _gloffset_SecondaryColorPointerEXT)); -} - -static inline void -SET_SecondaryColorPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_SecondaryColorPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT) (GLenum, const GLint *, - const GLsizei *, GLsizei); -#define CALL_MultiDrawArraysEXT(disp, parameters) \ - (* GET_MultiDrawArraysEXT(disp)) parameters -static inline _glptr_MultiDrawArraysEXT -GET_MultiDrawArraysEXT(struct _glapi_table *disp) -{ - return (_glptr_MultiDrawArraysEXT) (GET_by_offset - (disp, _gloffset_MultiDrawArraysEXT)); -} - -static inline void -SET_MultiDrawArraysEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *, - const GLsizei *, GLsizei)) -{ - SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT) (GLenum, const GLsizei *, - GLenum, const GLvoid **, - GLsizei); -#define CALL_MultiDrawElementsEXT(disp, parameters) \ - (* GET_MultiDrawElementsEXT(disp)) parameters -static inline _glptr_MultiDrawElementsEXT -GET_MultiDrawElementsEXT(struct _glapi_table *disp) -{ - return (_glptr_MultiDrawElementsEXT) (GET_by_offset - (disp, - _gloffset_MultiDrawElementsEXT)); -} - -static inline void -SET_MultiDrawElementsEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLsizei *, GLenum, - const GLvoid **, GLsizei)) -{ - SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FogCoordPointerEXT) (GLenum, GLsizei, - const GLvoid *); -#define CALL_FogCoordPointerEXT(disp, parameters) \ - (* GET_FogCoordPointerEXT(disp)) parameters -static inline _glptr_FogCoordPointerEXT -GET_FogCoordPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_FogCoordPointerEXT) (GET_by_offset - (disp, _gloffset_FogCoordPointerEXT)); -} - -static inline void -SET_FogCoordPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_FogCoordPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FogCoorddEXT) (GLdouble); - -#define CALL_FogCoorddEXT(disp, parameters) \ - (* GET_FogCoorddEXT(disp)) parameters -static inline _glptr_FogCoorddEXT -GET_FogCoorddEXT(struct _glapi_table *disp) -{ - return (_glptr_FogCoorddEXT) (GET_by_offset(disp, _gloffset_FogCoorddEXT)); -} - -static inline void -SET_FogCoorddEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble)) -{ - SET_by_offset(disp, _gloffset_FogCoorddEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FogCoorddvEXT) (const GLdouble *); - -#define CALL_FogCoorddvEXT(disp, parameters) \ - (* GET_FogCoorddvEXT(disp)) parameters -static inline _glptr_FogCoorddvEXT -GET_FogCoorddvEXT(struct _glapi_table *disp) -{ - return (_glptr_FogCoorddvEXT) (GET_by_offset - (disp, _gloffset_FogCoorddvEXT)); -} - -static inline void -SET_FogCoorddvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_FogCoorddvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FogCoordfEXT) (GLfloat); - -#define CALL_FogCoordfEXT(disp, parameters) \ - (* GET_FogCoordfEXT(disp)) parameters -static inline _glptr_FogCoordfEXT -GET_FogCoordfEXT(struct _glapi_table *disp) -{ - return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT)); -} - -static inline void -SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat)) -{ - SET_by_offset(disp, _gloffset_FogCoordfEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT) (const GLfloat *); - -#define CALL_FogCoordfvEXT(disp, parameters) \ - (* GET_FogCoordfvEXT(disp)) parameters -static inline _glptr_FogCoordfvEXT -GET_FogCoordfvEXT(struct _glapi_table *disp) -{ - return (_glptr_FogCoordfvEXT) (GET_by_offset - (disp, _gloffset_FogCoordfvEXT)); -} - -static inline void -SET_FogCoordfvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_PixelTexGenSGIX) (GLenum); - -#define CALL_PixelTexGenSGIX(disp, parameters) \ - (* GET_PixelTexGenSGIX(disp)) parameters -static inline _glptr_PixelTexGenSGIX -GET_PixelTexGenSGIX(struct _glapi_table *disp) -{ - return (_glptr_PixelTexGenSGIX) (GET_by_offset - (disp, _gloffset_PixelTexGenSGIX)); -} - -static inline void -SET_PixelTexGenSGIX(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_PixelTexGenSGIX, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateEXT) (GLenum, GLenum, GLenum, - GLenum); -#define CALL_BlendFuncSeparateEXT(disp, parameters) \ - (* GET_BlendFuncSeparateEXT(disp)) parameters -static inline _glptr_BlendFuncSeparateEXT -GET_BlendFuncSeparateEXT(struct _glapi_table *disp) -{ - return (_glptr_BlendFuncSeparateEXT) (GET_by_offset - (disp, - _gloffset_BlendFuncSeparateEXT)); -} - -static inline void -SET_BlendFuncSeparateEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendFuncSeparateEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FlushVertexArrayRangeNV) (void); - -#define CALL_FlushVertexArrayRangeNV(disp, parameters) \ - (* GET_FlushVertexArrayRangeNV(disp)) parameters -static inline _glptr_FlushVertexArrayRangeNV -GET_FlushVertexArrayRangeNV(struct _glapi_table *disp) -{ - return (_glptr_FlushVertexArrayRangeNV) (GET_by_offset - (disp, - _gloffset_FlushVertexArrayRangeNV)); -} - -static inline void -SET_FlushVertexArrayRangeNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexArrayRangeNV) (GLsizei, const GLvoid *); - -#define CALL_VertexArrayRangeNV(disp, parameters) \ - (* GET_VertexArrayRangeNV(disp)) parameters -static inline _glptr_VertexArrayRangeNV -GET_VertexArrayRangeNV(struct _glapi_table *disp) -{ - return (_glptr_VertexArrayRangeNV) (GET_by_offset - (disp, _gloffset_VertexArrayRangeNV)); -} - -static inline void -SET_VertexArrayRangeNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexArrayRangeNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerInputNV) (GLenum, GLenum, GLenum, - GLenum, GLenum, GLenum); -#define CALL_CombinerInputNV(disp, parameters) \ - (* GET_CombinerInputNV(disp)) parameters -static inline _glptr_CombinerInputNV -GET_CombinerInputNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerInputNV) (GET_by_offset - (disp, _gloffset_CombinerInputNV)); -} - -static inline void -SET_CombinerInputNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum, - GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_CombinerInputNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerOutputNV) (GLenum, GLenum, GLenum, - GLenum, GLenum, GLenum, - GLenum, GLboolean, - GLboolean, GLboolean); -#define CALL_CombinerOutputNV(disp, parameters) \ - (* GET_CombinerOutputNV(disp)) parameters -static inline _glptr_CombinerOutputNV -GET_CombinerOutputNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerOutputNV) (GET_by_offset - (disp, _gloffset_CombinerOutputNV)); -} - -static inline void -SET_CombinerOutputNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum, - GLenum, GLenum, GLenum, GLboolean, - GLboolean, GLboolean)) -{ - SET_by_offset(disp, _gloffset_CombinerOutputNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerParameterfNV) (GLenum, GLfloat); - -#define CALL_CombinerParameterfNV(disp, parameters) \ - (* GET_CombinerParameterfNV(disp)) parameters -static inline _glptr_CombinerParameterfNV -GET_CombinerParameterfNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerParameterfNV) (GET_by_offset - (disp, - _gloffset_CombinerParameterfNV)); -} - -static inline void -SET_CombinerParameterfNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat)) -{ - SET_by_offset(disp, _gloffset_CombinerParameterfNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerParameterfvNV) (GLenum, - const GLfloat *); -#define CALL_CombinerParameterfvNV(disp, parameters) \ - (* GET_CombinerParameterfvNV(disp)) parameters -static inline _glptr_CombinerParameterfvNV -GET_CombinerParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerParameterfvNV) (GET_by_offset - (disp, - _gloffset_CombinerParameterfvNV)); -} - -static inline void -SET_CombinerParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_CombinerParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerParameteriNV) (GLenum, GLint); - -#define CALL_CombinerParameteriNV(disp, parameters) \ - (* GET_CombinerParameteriNV(disp)) parameters -static inline _glptr_CombinerParameteriNV -GET_CombinerParameteriNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerParameteriNV) (GET_by_offset - (disp, - _gloffset_CombinerParameteriNV)); -} - -static inline void -SET_CombinerParameteriNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_CombinerParameteriNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_CombinerParameterivNV) (GLenum, const GLint *); - -#define CALL_CombinerParameterivNV(disp, parameters) \ - (* GET_CombinerParameterivNV(disp)) parameters -static inline _glptr_CombinerParameterivNV -GET_CombinerParameterivNV(struct _glapi_table *disp) -{ - return (_glptr_CombinerParameterivNV) (GET_by_offset - (disp, - _gloffset_CombinerParameterivNV)); -} - -static inline void -SET_CombinerParameterivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_CombinerParameterivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_FinalCombinerInputNV) (GLenum, GLenum, GLenum, - GLenum); -#define CALL_FinalCombinerInputNV(disp, parameters) \ - (* GET_FinalCombinerInputNV(disp)) parameters -static inline _glptr_FinalCombinerInputNV -GET_FinalCombinerInputNV(struct _glapi_table *disp) -{ - return (_glptr_FinalCombinerInputNV) (GET_by_offset - (disp, - _gloffset_FinalCombinerInputNV)); -} - -static inline void -SET_FinalCombinerInputNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_FinalCombinerInputNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterfvNV) (GLenum, GLenum, - GLenum, GLenum, - GLfloat *); -#define CALL_GetCombinerInputParameterfvNV(disp, parameters) \ - (* GET_GetCombinerInputParameterfvNV(disp)) parameters -static inline _glptr_GetCombinerInputParameterfvNV -GET_GetCombinerInputParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetCombinerInputParameterfvNV) (GET_by_offset - (disp, - _gloffset_GetCombinerInputParameterfvNV)); -} - -static inline void -SET_GetCombinerInputParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterivNV) (GLenum, GLenum, - GLenum, GLenum, - GLint *); -#define CALL_GetCombinerInputParameterivNV(disp, parameters) \ - (* GET_GetCombinerInputParameterivNV(disp)) parameters -static inline _glptr_GetCombinerInputParameterivNV -GET_GetCombinerInputParameterivNV(struct _glapi_table *disp) -{ - return (_glptr_GetCombinerInputParameterivNV) (GET_by_offset - (disp, - _gloffset_GetCombinerInputParameterivNV)); -} - -static inline void -SET_GetCombinerInputParameterivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterfvNV) (GLenum, - GLenum, - GLenum, - GLfloat *); -#define CALL_GetCombinerOutputParameterfvNV(disp, parameters) \ - (* GET_GetCombinerOutputParameterfvNV(disp)) parameters -static inline _glptr_GetCombinerOutputParameterfvNV -GET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetCombinerOutputParameterfvNV) (GET_by_offset - (disp, - _gloffset_GetCombinerOutputParameterfvNV)); -} - -static inline void -SET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterivNV) (GLenum, - GLenum, - GLenum, - GLint *); -#define CALL_GetCombinerOutputParameterivNV(disp, parameters) \ - (* GET_GetCombinerOutputParameterivNV(disp)) parameters -static inline _glptr_GetCombinerOutputParameterivNV -GET_GetCombinerOutputParameterivNV(struct _glapi_table *disp) -{ - return (_glptr_GetCombinerOutputParameterivNV) (GET_by_offset - (disp, - _gloffset_GetCombinerOutputParameterivNV)); -} - -static inline void -SET_GetCombinerOutputParameterivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterfvNV) (GLenum, - GLenum, - GLfloat - *); -#define CALL_GetFinalCombinerInputParameterfvNV(disp, parameters) \ - (* GET_GetFinalCombinerInputParameterfvNV(disp)) parameters -static inline _glptr_GetFinalCombinerInputParameterfvNV -GET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetFinalCombinerInputParameterfvNV) (GET_by_offset - (disp, - _gloffset_GetFinalCombinerInputParameterfvNV)); -} - -static inline void -SET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterivNV) (GLenum, - GLenum, - GLint *); -#define CALL_GetFinalCombinerInputParameterivNV(disp, parameters) \ - (* GET_GetFinalCombinerInputParameterivNV(disp)) parameters -static inline _glptr_GetFinalCombinerInputParameterivNV -GET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp) -{ - return (_glptr_GetFinalCombinerInputParameterivNV) (GET_by_offset - (disp, - _gloffset_GetFinalCombinerInputParameterivNV)); -} - -static inline void -SET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA) (void); - -#define CALL_ResizeBuffersMESA(disp, parameters) \ - (* GET_ResizeBuffersMESA(disp)) parameters -static inline _glptr_ResizeBuffersMESA -GET_ResizeBuffersMESA(struct _glapi_table *disp) -{ - return (_glptr_ResizeBuffersMESA) (GET_by_offset - (disp, _gloffset_ResizeBuffersMESA)); -} - -static inline void -SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2dMESA) (GLdouble, GLdouble); - -#define CALL_WindowPos2dMESA(disp, parameters) \ - (* GET_WindowPos2dMESA(disp)) parameters -static inline _glptr_WindowPos2dMESA -GET_WindowPos2dMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2dMESA) (GET_by_offset - (disp, _gloffset_WindowPos2dMESA)); -} - -static inline void -SET_WindowPos2dMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_WindowPos2dMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2dvMESA) (const GLdouble *); - -#define CALL_WindowPos2dvMESA(disp, parameters) \ - (* GET_WindowPos2dvMESA(disp)) parameters -static inline _glptr_WindowPos2dvMESA -GET_WindowPos2dvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2dvMESA) (GET_by_offset - (disp, _gloffset_WindowPos2dvMESA)); -} - -static inline void -SET_WindowPos2dvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_WindowPos2dvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2fMESA) (GLfloat, GLfloat); - -#define CALL_WindowPos2fMESA(disp, parameters) \ - (* GET_WindowPos2fMESA(disp)) parameters -static inline _glptr_WindowPos2fMESA -GET_WindowPos2fMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2fMESA) (GET_by_offset - (disp, _gloffset_WindowPos2fMESA)); -} - -static inline void -SET_WindowPos2fMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_WindowPos2fMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2fvMESA) (const GLfloat *); - -#define CALL_WindowPos2fvMESA(disp, parameters) \ - (* GET_WindowPos2fvMESA(disp)) parameters -static inline _glptr_WindowPos2fvMESA -GET_WindowPos2fvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2fvMESA) (GET_by_offset - (disp, _gloffset_WindowPos2fvMESA)); -} - -static inline void -SET_WindowPos2fvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_WindowPos2fvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2iMESA) (GLint, GLint); - -#define CALL_WindowPos2iMESA(disp, parameters) \ - (* GET_WindowPos2iMESA(disp)) parameters -static inline _glptr_WindowPos2iMESA -GET_WindowPos2iMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2iMESA) (GET_by_offset - (disp, _gloffset_WindowPos2iMESA)); -} - -static inline void -SET_WindowPos2iMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_WindowPos2iMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2ivMESA) (const GLint *); - -#define CALL_WindowPos2ivMESA(disp, parameters) \ - (* GET_WindowPos2ivMESA(disp)) parameters -static inline _glptr_WindowPos2ivMESA -GET_WindowPos2ivMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2ivMESA) (GET_by_offset - (disp, _gloffset_WindowPos2ivMESA)); -} - -static inline void -SET_WindowPos2ivMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_WindowPos2ivMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2sMESA) (GLshort, GLshort); - -#define CALL_WindowPos2sMESA(disp, parameters) \ - (* GET_WindowPos2sMESA(disp)) parameters -static inline _glptr_WindowPos2sMESA -GET_WindowPos2sMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2sMESA) (GET_by_offset - (disp, _gloffset_WindowPos2sMESA)); -} - -static inline void -SET_WindowPos2sMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_WindowPos2sMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos2svMESA) (const GLshort *); - -#define CALL_WindowPos2svMESA(disp, parameters) \ - (* GET_WindowPos2svMESA(disp)) parameters -static inline _glptr_WindowPos2svMESA -GET_WindowPos2svMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos2svMESA) (GET_by_offset - (disp, _gloffset_WindowPos2svMESA)); -} - -static inline void -SET_WindowPos2svMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_WindowPos2svMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3dMESA) (GLdouble, GLdouble, - GLdouble); -#define CALL_WindowPos3dMESA(disp, parameters) \ - (* GET_WindowPos3dMESA(disp)) parameters -static inline _glptr_WindowPos3dMESA -GET_WindowPos3dMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3dMESA) (GET_by_offset - (disp, _gloffset_WindowPos3dMESA)); -} - -static inline void -SET_WindowPos3dMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_WindowPos3dMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3dvMESA) (const GLdouble *); - -#define CALL_WindowPos3dvMESA(disp, parameters) \ - (* GET_WindowPos3dvMESA(disp)) parameters -static inline _glptr_WindowPos3dvMESA -GET_WindowPos3dvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3dvMESA) (GET_by_offset - (disp, _gloffset_WindowPos3dvMESA)); -} - -static inline void -SET_WindowPos3dvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_WindowPos3dvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3fMESA) (GLfloat, GLfloat, GLfloat); - -#define CALL_WindowPos3fMESA(disp, parameters) \ - (* GET_WindowPos3fMESA(disp)) parameters -static inline _glptr_WindowPos3fMESA -GET_WindowPos3fMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3fMESA) (GET_by_offset - (disp, _gloffset_WindowPos3fMESA)); -} - -static inline void -SET_WindowPos3fMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_WindowPos3fMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3fvMESA) (const GLfloat *); - -#define CALL_WindowPos3fvMESA(disp, parameters) \ - (* GET_WindowPos3fvMESA(disp)) parameters -static inline _glptr_WindowPos3fvMESA -GET_WindowPos3fvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3fvMESA) (GET_by_offset - (disp, _gloffset_WindowPos3fvMESA)); -} - -static inline void -SET_WindowPos3fvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_WindowPos3fvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3iMESA) (GLint, GLint, GLint); - -#define CALL_WindowPos3iMESA(disp, parameters) \ - (* GET_WindowPos3iMESA(disp)) parameters -static inline _glptr_WindowPos3iMESA -GET_WindowPos3iMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3iMESA) (GET_by_offset - (disp, _gloffset_WindowPos3iMESA)); -} - -static inline void -SET_WindowPos3iMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_WindowPos3iMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3ivMESA) (const GLint *); - -#define CALL_WindowPos3ivMESA(disp, parameters) \ - (* GET_WindowPos3ivMESA(disp)) parameters -static inline _glptr_WindowPos3ivMESA -GET_WindowPos3ivMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3ivMESA) (GET_by_offset - (disp, _gloffset_WindowPos3ivMESA)); -} - -static inline void -SET_WindowPos3ivMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_WindowPos3ivMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3sMESA) (GLshort, GLshort, GLshort); - -#define CALL_WindowPos3sMESA(disp, parameters) \ - (* GET_WindowPos3sMESA(disp)) parameters -static inline _glptr_WindowPos3sMESA -GET_WindowPos3sMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3sMESA) (GET_by_offset - (disp, _gloffset_WindowPos3sMESA)); -} - -static inline void -SET_WindowPos3sMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_WindowPos3sMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos3svMESA) (const GLshort *); - -#define CALL_WindowPos3svMESA(disp, parameters) \ - (* GET_WindowPos3svMESA(disp)) parameters -static inline _glptr_WindowPos3svMESA -GET_WindowPos3svMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos3svMESA) (GET_by_offset - (disp, _gloffset_WindowPos3svMESA)); -} - -static inline void -SET_WindowPos3svMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_WindowPos3svMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA) (GLdouble, GLdouble, GLdouble, - GLdouble); -#define CALL_WindowPos4dMESA(disp, parameters) \ - (* GET_WindowPos4dMESA(disp)) parameters -static inline _glptr_WindowPos4dMESA -GET_WindowPos4dMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4dMESA) (GET_by_offset - (disp, _gloffset_WindowPos4dMESA)); -} - -static inline void -SET_WindowPos4dMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA) (const GLdouble *); - -#define CALL_WindowPos4dvMESA(disp, parameters) \ - (* GET_WindowPos4dvMESA(disp)) parameters -static inline _glptr_WindowPos4dvMESA -GET_WindowPos4dvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4dvMESA) (GET_by_offset - (disp, _gloffset_WindowPos4dvMESA)); -} - -static inline void -SET_WindowPos4dvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA) (GLfloat, GLfloat, GLfloat, - GLfloat); -#define CALL_WindowPos4fMESA(disp, parameters) \ - (* GET_WindowPos4fMESA(disp)) parameters -static inline _glptr_WindowPos4fMESA -GET_WindowPos4fMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4fMESA) (GET_by_offset - (disp, _gloffset_WindowPos4fMESA)); -} - -static inline void -SET_WindowPos4fMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA) (const GLfloat *); - -#define CALL_WindowPos4fvMESA(disp, parameters) \ - (* GET_WindowPos4fvMESA(disp)) parameters -static inline _glptr_WindowPos4fvMESA -GET_WindowPos4fvMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4fvMESA) (GET_by_offset - (disp, _gloffset_WindowPos4fvMESA)); -} - -static inline void -SET_WindowPos4fvMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA) (GLint, GLint, GLint, GLint); - -#define CALL_WindowPos4iMESA(disp, parameters) \ - (* GET_WindowPos4iMESA(disp)) parameters -static inline _glptr_WindowPos4iMESA -GET_WindowPos4iMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4iMESA) (GET_by_offset - (disp, _gloffset_WindowPos4iMESA)); -} - -static inline void -SET_WindowPos4iMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA) (const GLint *); - -#define CALL_WindowPos4ivMESA(disp, parameters) \ - (* GET_WindowPos4ivMESA(disp)) parameters -static inline _glptr_WindowPos4ivMESA -GET_WindowPos4ivMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4ivMESA) (GET_by_offset - (disp, _gloffset_WindowPos4ivMESA)); -} - -static inline void -SET_WindowPos4ivMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLint *)) -{ - SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA) (GLshort, GLshort, GLshort, - GLshort); -#define CALL_WindowPos4sMESA(disp, parameters) \ - (* GET_WindowPos4sMESA(disp)) parameters -static inline _glptr_WindowPos4sMESA -GET_WindowPos4sMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4sMESA) (GET_by_offset - (disp, _gloffset_WindowPos4sMESA)); -} - -static inline void -SET_WindowPos4sMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA) (const GLshort *); - -#define CALL_WindowPos4svMESA(disp, parameters) \ - (* GET_WindowPos4svMESA(disp)) parameters -static inline _glptr_WindowPos4svMESA -GET_WindowPos4svMESA(struct _glapi_table *disp) -{ - return (_glptr_WindowPos4svMESA) (GET_by_offset - (disp, _gloffset_WindowPos4svMESA)); -} - -static inline void -SET_WindowPos4svMESA(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLshort *)) -{ - SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM) (const GLenum *, - const GLint *, - const GLsizei *, - GLsizei, GLint); -#define CALL_MultiModeDrawArraysIBM(disp, parameters) \ - (* GET_MultiModeDrawArraysIBM(disp)) parameters -static inline _glptr_MultiModeDrawArraysIBM -GET_MultiModeDrawArraysIBM(struct _glapi_table *disp) -{ - return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset - (disp, - _gloffset_MultiModeDrawArraysIBM)); -} - -static inline void -SET_MultiModeDrawArraysIBM(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLenum *, const GLint *, - const GLsizei *, GLsizei, - GLint)) -{ - SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn); -} - -typedef void (GLAPIENTRYP _glptr_MultiModeDrawElementsIBM) (const GLenum *, - const GLsizei *, - GLenum, - const GLvoid * - const *, GLsizei, - GLint); -#define CALL_MultiModeDrawElementsIBM(disp, parameters) \ - (* GET_MultiModeDrawElementsIBM(disp)) parameters -static inline _glptr_MultiModeDrawElementsIBM -GET_MultiModeDrawElementsIBM(struct _glapi_table *disp) -{ - return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset - (disp, - _gloffset_MultiModeDrawElementsIBM)); -} - -static inline void -SET_MultiModeDrawElementsIBM(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (const GLenum *, - const GLsizei *, GLenum, - const GLvoid * const *, - GLsizei, GLint)) -{ - SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteFencesNV) (GLsizei, const GLuint *); - -#define CALL_DeleteFencesNV(disp, parameters) \ - (* GET_DeleteFencesNV(disp)) parameters -static inline _glptr_DeleteFencesNV -GET_DeleteFencesNV(struct _glapi_table *disp) -{ - return (_glptr_DeleteFencesNV) (GET_by_offset - (disp, _gloffset_DeleteFencesNV)); -} - -static inline void -SET_DeleteFencesNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteFencesNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_FinishFenceNV) (GLuint); - -#define CALL_FinishFenceNV(disp, parameters) \ - (* GET_FinishFenceNV(disp)) parameters -static inline _glptr_FinishFenceNV -GET_FinishFenceNV(struct _glapi_table *disp) -{ - return (_glptr_FinishFenceNV) (GET_by_offset - (disp, _gloffset_FinishFenceNV)); -} - -static inline void -SET_FinishFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_FinishFenceNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenFencesNV) (GLsizei, GLuint *); - -#define CALL_GenFencesNV(disp, parameters) \ - (* GET_GenFencesNV(disp)) parameters -static inline _glptr_GenFencesNV -GET_GenFencesNV(struct _glapi_table *disp) -{ - return (_glptr_GenFencesNV) (GET_by_offset(disp, _gloffset_GenFencesNV)); -} - -static inline void -SET_GenFencesNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenFencesNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetFenceivNV) (GLuint, GLenum, GLint *); - -#define CALL_GetFenceivNV(disp, parameters) \ - (* GET_GetFenceivNV(disp)) parameters -static inline _glptr_GetFenceivNV -GET_GetFenceivNV(struct _glapi_table *disp) -{ - return (_glptr_GetFenceivNV) (GET_by_offset(disp, _gloffset_GetFenceivNV)); -} - -static inline void -SET_GetFenceivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetFenceivNV, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsFenceNV) (GLuint); - -#define CALL_IsFenceNV(disp, parameters) \ - (* GET_IsFenceNV(disp)) parameters -static inline _glptr_IsFenceNV -GET_IsFenceNV(struct _glapi_table *disp) -{ - return (_glptr_IsFenceNV) (GET_by_offset(disp, _gloffset_IsFenceNV)); -} - -static inline void -SET_IsFenceNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsFenceNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_SetFenceNV) (GLuint, GLenum); - -#define CALL_SetFenceNV(disp, parameters) \ - (* GET_SetFenceNV(disp)) parameters -static inline _glptr_SetFenceNV -GET_SetFenceNV(struct _glapi_table *disp) -{ - return (_glptr_SetFenceNV) (GET_by_offset(disp, _gloffset_SetFenceNV)); -} - -static inline void -SET_SetFenceNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_SetFenceNV, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_TestFenceNV) (GLuint); - -#define CALL_TestFenceNV(disp, parameters) \ - (* GET_TestFenceNV(disp)) parameters -static inline _glptr_TestFenceNV -GET_TestFenceNV(struct _glapi_table *disp) -{ - return (_glptr_TestFenceNV) (GET_by_offset(disp, _gloffset_TestFenceNV)); -} - -static inline void -SET_TestFenceNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_TestFenceNV, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_AreProgramsResidentNV) (GLsizei, - const GLuint *, - GLboolean *); -#define CALL_AreProgramsResidentNV(disp, parameters) \ - (* GET_AreProgramsResidentNV(disp)) parameters -static inline _glptr_AreProgramsResidentNV -GET_AreProgramsResidentNV(struct _glapi_table *disp) -{ - return (_glptr_AreProgramsResidentNV) (GET_by_offset - (disp, - _gloffset_AreProgramsResidentNV)); -} - -static inline void -SET_AreProgramsResidentNV(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLsizei, const GLuint *, - GLboolean *)) -{ - SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindProgramNV) (GLenum, GLuint); - -#define CALL_BindProgramNV(disp, parameters) \ - (* GET_BindProgramNV(disp)) parameters -static inline _glptr_BindProgramNV -GET_BindProgramNV(struct _glapi_table *disp) -{ - return (_glptr_BindProgramNV) (GET_by_offset - (disp, _gloffset_BindProgramNV)); -} - -static inline void -SET_BindProgramNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindProgramNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteProgramsNV) (GLsizei, const GLuint *); - -#define CALL_DeleteProgramsNV(disp, parameters) \ - (* GET_DeleteProgramsNV(disp)) parameters -static inline _glptr_DeleteProgramsNV -GET_DeleteProgramsNV(struct _glapi_table *disp) -{ - return (_glptr_DeleteProgramsNV) (GET_by_offset - (disp, _gloffset_DeleteProgramsNV)); -} - -static inline void -SET_DeleteProgramsNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteProgramsNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV) (GLenum, GLuint, - const GLfloat *); -#define CALL_ExecuteProgramNV(disp, parameters) \ - (* GET_ExecuteProgramNV(disp)) parameters -static inline _glptr_ExecuteProgramNV -GET_ExecuteProgramNV(struct _glapi_table *disp) -{ - return (_glptr_ExecuteProgramNV) (GET_by_offset - (disp, _gloffset_ExecuteProgramNV)); -} - -static inline void -SET_ExecuteProgramNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenProgramsNV) (GLsizei, GLuint *); - -#define CALL_GenProgramsNV(disp, parameters) \ - (* GET_GenProgramsNV(disp)) parameters -static inline _glptr_GenProgramsNV -GET_GenProgramsNV(struct _glapi_table *disp) -{ - return (_glptr_GenProgramsNV) (GET_by_offset - (disp, _gloffset_GenProgramsNV)); -} - -static inline void -SET_GenProgramsNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenProgramsNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV) (GLenum, GLuint, - GLenum, GLdouble *); -#define CALL_GetProgramParameterdvNV(disp, parameters) \ - (* GET_GetProgramParameterdvNV(disp)) parameters -static inline _glptr_GetProgramParameterdvNV -GET_GetProgramParameterdvNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramParameterdvNV) (GET_by_offset - (disp, - _gloffset_GetProgramParameterdvNV)); -} - -static inline void -SET_GetProgramParameterdvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, - GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV) (GLenum, GLuint, - GLenum, GLfloat *); -#define CALL_GetProgramParameterfvNV(disp, parameters) \ - (* GET_GetProgramParameterfvNV(disp)) parameters -static inline _glptr_GetProgramParameterfvNV -GET_GetProgramParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramParameterfvNV) (GET_by_offset - (disp, - _gloffset_GetProgramParameterfvNV)); -} - -static inline void -SET_GetProgramParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramStringNV) (GLuint, GLenum, - GLubyte *); -#define CALL_GetProgramStringNV(disp, parameters) \ - (* GET_GetProgramStringNV(disp)) parameters -static inline _glptr_GetProgramStringNV -GET_GetProgramStringNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramStringNV) (GET_by_offset - (disp, _gloffset_GetProgramStringNV)); -} - -static inline void -SET_GetProgramStringNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLubyte *)) -{ - SET_by_offset(disp, _gloffset_GetProgramStringNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramivNV) (GLuint, GLenum, GLint *); - -#define CALL_GetProgramivNV(disp, parameters) \ - (* GET_GetProgramivNV(disp)) parameters -static inline _glptr_GetProgramivNV -GET_GetProgramivNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramivNV) (GET_by_offset - (disp, _gloffset_GetProgramivNV)); -} - -static inline void -SET_GetProgramivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetProgramivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV) (GLenum, GLuint, GLenum, - GLint *); -#define CALL_GetTrackMatrixivNV(disp, parameters) \ - (* GET_GetTrackMatrixivNV(disp)) parameters -static inline _glptr_GetTrackMatrixivNV -GET_GetTrackMatrixivNV(struct _glapi_table *disp) -{ - return (_glptr_GetTrackMatrixivNV) (GET_by_offset - (disp, _gloffset_GetTrackMatrixivNV)); -} - -static inline void -SET_GetTrackMatrixivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointervNV) (GLuint, GLenum, - GLvoid **); -#define CALL_GetVertexAttribPointervNV(disp, parameters) \ - (* GET_GetVertexAttribPointervNV(disp)) parameters -static inline _glptr_GetVertexAttribPointervNV -GET_GetVertexAttribPointervNV(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribPointervNV) (GET_by_offset - (disp, - _gloffset_GetVertexAttribPointervNV)); -} - -static inline void -SET_GetVertexAttribPointervNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLvoid **)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribPointervNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV) (GLuint, GLenum, - GLdouble *); -#define CALL_GetVertexAttribdvNV(disp, parameters) \ - (* GET_GetVertexAttribdvNV(disp)) parameters -static inline _glptr_GetVertexAttribdvNV -GET_GetVertexAttribdvNV(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribdvNV) (GET_by_offset - (disp, _gloffset_GetVertexAttribdvNV)); -} - -static inline void -SET_GetVertexAttribdvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV) (GLuint, GLenum, - GLfloat *); -#define CALL_GetVertexAttribfvNV(disp, parameters) \ - (* GET_GetVertexAttribfvNV(disp)) parameters -static inline _glptr_GetVertexAttribfvNV -GET_GetVertexAttribfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribfvNV) (GET_by_offset - (disp, _gloffset_GetVertexAttribfvNV)); -} - -static inline void -SET_GetVertexAttribfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV) (GLuint, GLenum, GLint *); - -#define CALL_GetVertexAttribivNV(disp, parameters) \ - (* GET_GetVertexAttribivNV(disp)) parameters -static inline _glptr_GetVertexAttribivNV -GET_GetVertexAttribivNV(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribivNV) (GET_by_offset - (disp, _gloffset_GetVertexAttribivNV)); -} - -static inline void -SET_GetVertexAttribivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsProgramNV) (GLuint); - -#define CALL_IsProgramNV(disp, parameters) \ - (* GET_IsProgramNV(disp)) parameters -static inline _glptr_IsProgramNV -GET_IsProgramNV(struct _glapi_table *disp) -{ - return (_glptr_IsProgramNV) (GET_by_offset(disp, _gloffset_IsProgramNV)); -} - -static inline void -SET_IsProgramNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsProgramNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_LoadProgramNV) (GLenum, GLuint, GLsizei, - const GLubyte *); -#define CALL_LoadProgramNV(disp, parameters) \ - (* GET_LoadProgramNV(disp)) parameters -static inline _glptr_LoadProgramNV -GET_LoadProgramNV(struct _glapi_table *disp) -{ - return (_glptr_LoadProgramNV) (GET_by_offset - (disp, _gloffset_LoadProgramNV)); -} - -static inline void -SET_LoadProgramNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei, - const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_LoadProgramNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV) (GLenum, GLuint, - GLsizei, - const GLdouble *); -#define CALL_ProgramParameters4dvNV(disp, parameters) \ - (* GET_ProgramParameters4dvNV(disp)) parameters -static inline _glptr_ProgramParameters4dvNV -GET_ProgramParameters4dvNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramParameters4dvNV) (GET_by_offset - (disp, - _gloffset_ProgramParameters4dvNV)); -} - -static inline void -SET_ProgramParameters4dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV) (GLenum, GLuint, - GLsizei, - const GLfloat *); -#define CALL_ProgramParameters4fvNV(disp, parameters) \ - (* GET_ProgramParameters4fvNV(disp)) parameters -static inline _glptr_ProgramParameters4fvNV -GET_ProgramParameters4fvNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramParameters4fvNV) (GET_by_offset - (disp, - _gloffset_ProgramParameters4fvNV)); -} - -static inline void -SET_ProgramParameters4fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV) (GLsizei, - const GLuint *); -#define CALL_RequestResidentProgramsNV(disp, parameters) \ - (* GET_RequestResidentProgramsNV(disp)) parameters -static inline _glptr_RequestResidentProgramsNV -GET_RequestResidentProgramsNV(struct _glapi_table *disp) -{ - return (_glptr_RequestResidentProgramsNV) (GET_by_offset - (disp, - _gloffset_RequestResidentProgramsNV)); -} - -static inline void -SET_RequestResidentProgramsNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_TrackMatrixNV) (GLenum, GLuint, GLenum, - GLenum); -#define CALL_TrackMatrixNV(disp, parameters) \ - (* GET_TrackMatrixNV(disp)) parameters -static inline _glptr_TrackMatrixNV -GET_TrackMatrixNV(struct _glapi_table *disp) -{ - return (_glptr_TrackMatrixNV) (GET_by_offset - (disp, _gloffset_TrackMatrixNV)); -} - -static inline void -SET_TrackMatrixNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_TrackMatrixNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV) (GLuint, GLdouble); - -#define CALL_VertexAttrib1dNV(disp, parameters) \ - (* GET_VertexAttrib1dNV(disp)) parameters -static inline _glptr_VertexAttrib1dNV -GET_VertexAttrib1dNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1dNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1dNV)); -} - -static inline void -SET_VertexAttrib1dNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib1dvNV(disp, parameters) \ - (* GET_VertexAttrib1dvNV(disp)) parameters -static inline _glptr_VertexAttrib1dvNV -GET_VertexAttrib1dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1dvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1dvNV)); -} - -static inline void -SET_VertexAttrib1dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV) (GLuint, GLfloat); - -#define CALL_VertexAttrib1fNV(disp, parameters) \ - (* GET_VertexAttrib1fNV(disp)) parameters -static inline _glptr_VertexAttrib1fNV -GET_VertexAttrib1fNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1fNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1fNV)); -} - -static inline void -SET_VertexAttrib1fNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib1fvNV(disp, parameters) \ - (* GET_VertexAttrib1fvNV(disp)) parameters -static inline _glptr_VertexAttrib1fvNV -GET_VertexAttrib1fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1fvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1fvNV)); -} - -static inline void -SET_VertexAttrib1fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV) (GLuint, GLshort); - -#define CALL_VertexAttrib1sNV(disp, parameters) \ - (* GET_VertexAttrib1sNV(disp)) parameters -static inline _glptr_VertexAttrib1sNV -GET_VertexAttrib1sNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1sNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1sNV)); -} - -static inline void -SET_VertexAttrib1sNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV) (GLuint, const GLshort *); - -#define CALL_VertexAttrib1svNV(disp, parameters) \ - (* GET_VertexAttrib1svNV(disp)) parameters -static inline _glptr_VertexAttrib1svNV -GET_VertexAttrib1svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib1svNV) (GET_by_offset - (disp, _gloffset_VertexAttrib1svNV)); -} - -static inline void -SET_VertexAttrib1svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV) (GLuint, GLdouble, GLdouble); - -#define CALL_VertexAttrib2dNV(disp, parameters) \ - (* GET_VertexAttrib2dNV(disp)) parameters -static inline _glptr_VertexAttrib2dNV -GET_VertexAttrib2dNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2dNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2dNV)); -} - -static inline void -SET_VertexAttrib2dNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib2dvNV(disp, parameters) \ - (* GET_VertexAttrib2dvNV(disp)) parameters -static inline _glptr_VertexAttrib2dvNV -GET_VertexAttrib2dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2dvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2dvNV)); -} - -static inline void -SET_VertexAttrib2dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV) (GLuint, GLfloat, GLfloat); - -#define CALL_VertexAttrib2fNV(disp, parameters) \ - (* GET_VertexAttrib2fNV(disp)) parameters -static inline _glptr_VertexAttrib2fNV -GET_VertexAttrib2fNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2fNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2fNV)); -} - -static inline void -SET_VertexAttrib2fNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib2fvNV(disp, parameters) \ - (* GET_VertexAttrib2fvNV(disp)) parameters -static inline _glptr_VertexAttrib2fvNV -GET_VertexAttrib2fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2fvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2fvNV)); -} - -static inline void -SET_VertexAttrib2fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV) (GLuint, GLshort, GLshort); - -#define CALL_VertexAttrib2sNV(disp, parameters) \ - (* GET_VertexAttrib2sNV(disp)) parameters -static inline _glptr_VertexAttrib2sNV -GET_VertexAttrib2sNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2sNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2sNV)); -} - -static inline void -SET_VertexAttrib2sNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV) (GLuint, const GLshort *); - -#define CALL_VertexAttrib2svNV(disp, parameters) \ - (* GET_VertexAttrib2svNV(disp)) parameters -static inline _glptr_VertexAttrib2svNV -GET_VertexAttrib2svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib2svNV) (GET_by_offset - (disp, _gloffset_VertexAttrib2svNV)); -} - -static inline void -SET_VertexAttrib2svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV) (GLuint, GLdouble, GLdouble, - GLdouble); -#define CALL_VertexAttrib3dNV(disp, parameters) \ - (* GET_VertexAttrib3dNV(disp)) parameters -static inline _glptr_VertexAttrib3dNV -GET_VertexAttrib3dNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3dNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3dNV)); -} - -static inline void -SET_VertexAttrib3dNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib3dvNV(disp, parameters) \ - (* GET_VertexAttrib3dvNV(disp)) parameters -static inline _glptr_VertexAttrib3dvNV -GET_VertexAttrib3dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3dvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3dvNV)); -} - -static inline void -SET_VertexAttrib3dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV) (GLuint, GLfloat, GLfloat, - GLfloat); -#define CALL_VertexAttrib3fNV(disp, parameters) \ - (* GET_VertexAttrib3fNV(disp)) parameters -static inline _glptr_VertexAttrib3fNV -GET_VertexAttrib3fNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3fNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3fNV)); -} - -static inline void -SET_VertexAttrib3fNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib3fvNV(disp, parameters) \ - (* GET_VertexAttrib3fvNV(disp)) parameters -static inline _glptr_VertexAttrib3fvNV -GET_VertexAttrib3fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3fvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3fvNV)); -} - -static inline void -SET_VertexAttrib3fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV) (GLuint, GLshort, GLshort, - GLshort); -#define CALL_VertexAttrib3sNV(disp, parameters) \ - (* GET_VertexAttrib3sNV(disp)) parameters -static inline _glptr_VertexAttrib3sNV -GET_VertexAttrib3sNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3sNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3sNV)); -} - -static inline void -SET_VertexAttrib3sNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV) (GLuint, const GLshort *); - -#define CALL_VertexAttrib3svNV(disp, parameters) \ - (* GET_VertexAttrib3svNV(disp)) parameters -static inline _glptr_VertexAttrib3svNV -GET_VertexAttrib3svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib3svNV) (GET_by_offset - (disp, _gloffset_VertexAttrib3svNV)); -} - -static inline void -SET_VertexAttrib3svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV) (GLuint, GLdouble, GLdouble, - GLdouble, GLdouble); -#define CALL_VertexAttrib4dNV(disp, parameters) \ - (* GET_VertexAttrib4dNV(disp)) parameters -static inline _glptr_VertexAttrib4dNV -GET_VertexAttrib4dNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4dNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4dNV)); -} - -static inline void -SET_VertexAttrib4dNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble, - GLdouble, GLdouble)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV) (GLuint, const GLdouble *); - -#define CALL_VertexAttrib4dvNV(disp, parameters) \ - (* GET_VertexAttrib4dvNV(disp)) parameters -static inline _glptr_VertexAttrib4dvNV -GET_VertexAttrib4dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4dvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4dvNV)); -} - -static inline void -SET_VertexAttrib4dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV) (GLuint, GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_VertexAttrib4fNV(disp, parameters) \ - (* GET_VertexAttrib4fNV(disp)) parameters -static inline _glptr_VertexAttrib4fNV -GET_VertexAttrib4fNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4fNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4fNV)); -} - -static inline void -SET_VertexAttrib4fNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat, - GLfloat)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV) (GLuint, const GLfloat *); - -#define CALL_VertexAttrib4fvNV(disp, parameters) \ - (* GET_VertexAttrib4fvNV(disp)) parameters -static inline _glptr_VertexAttrib4fvNV -GET_VertexAttrib4fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4fvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4fvNV)); -} - -static inline void -SET_VertexAttrib4fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV) (GLuint, GLshort, GLshort, - GLshort, GLshort); -#define CALL_VertexAttrib4sNV(disp, parameters) \ - (* GET_VertexAttrib4sNV(disp)) parameters -static inline _glptr_VertexAttrib4sNV -GET_VertexAttrib4sNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4sNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4sNV)); -} - -static inline void -SET_VertexAttrib4sNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort, - GLshort)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV) (GLuint, const GLshort *); - -#define CALL_VertexAttrib4svNV(disp, parameters) \ - (* GET_VertexAttrib4svNV(disp)) parameters -static inline _glptr_VertexAttrib4svNV -GET_VertexAttrib4svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4svNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4svNV)); -} - -static inline void -SET_VertexAttrib4svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV) (GLuint, GLubyte, GLubyte, - GLubyte, GLubyte); -#define CALL_VertexAttrib4ubNV(disp, parameters) \ - (* GET_VertexAttrib4ubNV(disp)) parameters -static inline _glptr_VertexAttrib4ubNV -GET_VertexAttrib4ubNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4ubNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4ubNV)); -} - -static inline void -SET_VertexAttrib4ubNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLubyte, GLubyte, GLubyte, - GLubyte)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV) (GLuint, const GLubyte *); - -#define CALL_VertexAttrib4ubvNV(disp, parameters) \ - (* GET_VertexAttrib4ubvNV(disp)) parameters -static inline _glptr_VertexAttrib4ubvNV -GET_VertexAttrib4ubvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttrib4ubvNV) (GET_by_offset - (disp, _gloffset_VertexAttrib4ubvNV)); -} - -static inline void -SET_VertexAttrib4ubvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV) (GLuint, GLint, GLenum, - GLsizei, - const GLvoid *); -#define CALL_VertexAttribPointerNV(disp, parameters) \ - (* GET_VertexAttribPointerNV(disp)) parameters -static inline _glptr_VertexAttribPointerNV -GET_VertexAttribPointerNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribPointerNV) (GET_by_offset - (disp, - _gloffset_VertexAttribPointerNV)); -} - -static inline void -SET_VertexAttribPointerNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLenum, GLsizei, - const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV) (GLuint, GLsizei, - const GLdouble *); -#define CALL_VertexAttribs1dvNV(disp, parameters) \ - (* GET_VertexAttribs1dvNV(disp)) parameters -static inline _glptr_VertexAttribs1dvNV -GET_VertexAttribs1dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs1dvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs1dvNV)); -} - -static inline void -SET_VertexAttribs1dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV) (GLuint, GLsizei, - const GLfloat *); -#define CALL_VertexAttribs1fvNV(disp, parameters) \ - (* GET_VertexAttribs1fvNV(disp)) parameters -static inline _glptr_VertexAttribs1fvNV -GET_VertexAttribs1fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs1fvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs1fvNV)); -} - -static inline void -SET_VertexAttribs1fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV) (GLuint, GLsizei, - const GLshort *); -#define CALL_VertexAttribs1svNV(disp, parameters) \ - (* GET_VertexAttribs1svNV(disp)) parameters -static inline _glptr_VertexAttribs1svNV -GET_VertexAttribs1svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs1svNV) (GET_by_offset - (disp, _gloffset_VertexAttribs1svNV)); -} - -static inline void -SET_VertexAttribs1svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV) (GLuint, GLsizei, - const GLdouble *); -#define CALL_VertexAttribs2dvNV(disp, parameters) \ - (* GET_VertexAttribs2dvNV(disp)) parameters -static inline _glptr_VertexAttribs2dvNV -GET_VertexAttribs2dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs2dvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs2dvNV)); -} - -static inline void -SET_VertexAttribs2dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV) (GLuint, GLsizei, - const GLfloat *); -#define CALL_VertexAttribs2fvNV(disp, parameters) \ - (* GET_VertexAttribs2fvNV(disp)) parameters -static inline _glptr_VertexAttribs2fvNV -GET_VertexAttribs2fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs2fvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs2fvNV)); -} - -static inline void -SET_VertexAttribs2fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV) (GLuint, GLsizei, - const GLshort *); -#define CALL_VertexAttribs2svNV(disp, parameters) \ - (* GET_VertexAttribs2svNV(disp)) parameters -static inline _glptr_VertexAttribs2svNV -GET_VertexAttribs2svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs2svNV) (GET_by_offset - (disp, _gloffset_VertexAttribs2svNV)); -} - -static inline void -SET_VertexAttribs2svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV) (GLuint, GLsizei, - const GLdouble *); -#define CALL_VertexAttribs3dvNV(disp, parameters) \ - (* GET_VertexAttribs3dvNV(disp)) parameters -static inline _glptr_VertexAttribs3dvNV -GET_VertexAttribs3dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs3dvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs3dvNV)); -} - -static inline void -SET_VertexAttribs3dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV) (GLuint, GLsizei, - const GLfloat *); -#define CALL_VertexAttribs3fvNV(disp, parameters) \ - (* GET_VertexAttribs3fvNV(disp)) parameters -static inline _glptr_VertexAttribs3fvNV -GET_VertexAttribs3fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs3fvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs3fvNV)); -} - -static inline void -SET_VertexAttribs3fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV) (GLuint, GLsizei, - const GLshort *); -#define CALL_VertexAttribs3svNV(disp, parameters) \ - (* GET_VertexAttribs3svNV(disp)) parameters -static inline _glptr_VertexAttribs3svNV -GET_VertexAttribs3svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs3svNV) (GET_by_offset - (disp, _gloffset_VertexAttribs3svNV)); -} - -static inline void -SET_VertexAttribs3svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV) (GLuint, GLsizei, - const GLdouble *); -#define CALL_VertexAttribs4dvNV(disp, parameters) \ - (* GET_VertexAttribs4dvNV(disp)) parameters -static inline _glptr_VertexAttribs4dvNV -GET_VertexAttribs4dvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs4dvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs4dvNV)); -} - -static inline void -SET_VertexAttribs4dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV) (GLuint, GLsizei, - const GLfloat *); -#define CALL_VertexAttribs4fvNV(disp, parameters) \ - (* GET_VertexAttribs4fvNV(disp)) parameters -static inline _glptr_VertexAttribs4fvNV -GET_VertexAttribs4fvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs4fvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs4fvNV)); -} - -static inline void -SET_VertexAttribs4fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV) (GLuint, GLsizei, - const GLshort *); -#define CALL_VertexAttribs4svNV(disp, parameters) \ - (* GET_VertexAttribs4svNV(disp)) parameters -static inline _glptr_VertexAttribs4svNV -GET_VertexAttribs4svNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs4svNV) (GET_by_offset - (disp, _gloffset_VertexAttribs4svNV)); -} - -static inline void -SET_VertexAttribs4svNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV) (GLuint, GLsizei, - const GLubyte *); -#define CALL_VertexAttribs4ubvNV(disp, parameters) \ - (* GET_VertexAttribs4ubvNV(disp)) parameters -static inline _glptr_VertexAttribs4ubvNV -GET_VertexAttribs4ubvNV(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribs4ubvNV) (GET_by_offset - (disp, _gloffset_VertexAttribs4ubvNV)); -} - -static inline void -SET_VertexAttribs4ubvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI) (GLenum, GLfloat *); - -#define CALL_GetTexBumpParameterfvATI(disp, parameters) \ - (* GET_GetTexBumpParameterfvATI(disp)) parameters -static inline _glptr_GetTexBumpParameterfvATI -GET_GetTexBumpParameterfvATI(struct _glapi_table *disp) -{ - return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset - (disp, - _gloffset_GetTexBumpParameterfvATI)); -} - -static inline void -SET_GetTexBumpParameterfvATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI) (GLenum, GLint *); - -#define CALL_GetTexBumpParameterivATI(disp, parameters) \ - (* GET_GetTexBumpParameterivATI(disp)) parameters -static inline _glptr_GetTexBumpParameterivATI -GET_GetTexBumpParameterivATI(struct _glapi_table *disp) -{ - return (_glptr_GetTexBumpParameterivATI) (GET_by_offset - (disp, - _gloffset_GetTexBumpParameterivATI)); -} - -static inline void -SET_GetTexBumpParameterivATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI) (GLenum, - const GLfloat *); -#define CALL_TexBumpParameterfvATI(disp, parameters) \ - (* GET_TexBumpParameterfvATI(disp)) parameters -static inline _glptr_TexBumpParameterfvATI -GET_TexBumpParameterfvATI(struct _glapi_table *disp) -{ - return (_glptr_TexBumpParameterfvATI) (GET_by_offset - (disp, - _gloffset_TexBumpParameterfvATI)); -} - -static inline void -SET_TexBumpParameterfvATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI) (GLenum, const GLint *); - -#define CALL_TexBumpParameterivATI(disp, parameters) \ - (* GET_TexBumpParameterivATI(disp)) parameters -static inline _glptr_TexBumpParameterivATI -GET_TexBumpParameterivATI(struct _glapi_table *disp) -{ - return (_glptr_TexBumpParameterivATI) (GET_by_offset - (disp, - _gloffset_TexBumpParameterivATI)); -} - -static inline void -SET_TexBumpParameterivATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint); -#define CALL_AlphaFragmentOp1ATI(disp, parameters) \ - (* GET_AlphaFragmentOp1ATI(disp)) parameters -static inline _glptr_AlphaFragmentOp1ATI -GET_AlphaFragmentOp1ATI(struct _glapi_table *disp) -{ - return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset - (disp, _gloffset_AlphaFragmentOp1ATI)); -} - -static inline void -SET_AlphaFragmentOp1ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint); -#define CALL_AlphaFragmentOp2ATI(disp, parameters) \ - (* GET_AlphaFragmentOp2ATI(disp)) parameters -static inline _glptr_AlphaFragmentOp2ATI -GET_AlphaFragmentOp2ATI(struct _glapi_table *disp) -{ - return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset - (disp, _gloffset_AlphaFragmentOp2ATI)); -} - -static inline void -SET_AlphaFragmentOp2ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint, - GLuint)) -{ - SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint); -#define CALL_AlphaFragmentOp3ATI(disp, parameters) \ - (* GET_AlphaFragmentOp3ATI(disp)) parameters -static inline _glptr_AlphaFragmentOp3ATI -GET_AlphaFragmentOp3ATI(struct _glapi_table *disp) -{ - return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset - (disp, _gloffset_AlphaFragmentOp3ATI)); -} - -static inline void -SET_AlphaFragmentOp3ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI) (void); - -#define CALL_BeginFragmentShaderATI(disp, parameters) \ - (* GET_BeginFragmentShaderATI(disp)) parameters -static inline _glptr_BeginFragmentShaderATI -GET_BeginFragmentShaderATI(struct _glapi_table *disp) -{ - return (_glptr_BeginFragmentShaderATI) (GET_by_offset - (disp, - _gloffset_BeginFragmentShaderATI)); -} - -static inline void -SET_BeginFragmentShaderATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI) (GLuint); - -#define CALL_BindFragmentShaderATI(disp, parameters) \ - (* GET_BindFragmentShaderATI(disp)) parameters -static inline _glptr_BindFragmentShaderATI -GET_BindFragmentShaderATI(struct _glapi_table *disp) -{ - return (_glptr_BindFragmentShaderATI) (GET_by_offset - (disp, - _gloffset_BindFragmentShaderATI)); -} - -static inline void -SET_BindFragmentShaderATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint); -#define CALL_ColorFragmentOp1ATI(disp, parameters) \ - (* GET_ColorFragmentOp1ATI(disp)) parameters -static inline _glptr_ColorFragmentOp1ATI -GET_ColorFragmentOp1ATI(struct _glapi_table *disp) -{ - return (_glptr_ColorFragmentOp1ATI) (GET_by_offset - (disp, _gloffset_ColorFragmentOp1ATI)); -} - -static inline void -SET_ColorFragmentOp1ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint); -#define CALL_ColorFragmentOp2ATI(disp, parameters) \ - (* GET_ColorFragmentOp2ATI(disp)) parameters -static inline _glptr_ColorFragmentOp2ATI -GET_ColorFragmentOp2ATI(struct _glapi_table *disp) -{ - return (_glptr_ColorFragmentOp2ATI) (GET_by_offset - (disp, _gloffset_ColorFragmentOp2ATI)); -} - -static inline void -SET_ColorFragmentOp2ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint, - GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI) (GLenum, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, - GLuint); -#define CALL_ColorFragmentOp3ATI(disp, parameters) \ - (* GET_ColorFragmentOp3ATI(disp)) parameters -static inline _glptr_ColorFragmentOp3ATI -GET_ColorFragmentOp3ATI(struct _glapi_table *disp) -{ - return (_glptr_ColorFragmentOp3ATI) (GET_by_offset - (disp, _gloffset_ColorFragmentOp3ATI)); -} - -static inline void -SET_ColorFragmentOp3ATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint, - GLuint, GLuint, GLuint, GLuint, - GLuint)) -{ - SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI) (GLuint); - -#define CALL_DeleteFragmentShaderATI(disp, parameters) \ - (* GET_DeleteFragmentShaderATI(disp)) parameters -static inline _glptr_DeleteFragmentShaderATI -GET_DeleteFragmentShaderATI(struct _glapi_table *disp) -{ - return (_glptr_DeleteFragmentShaderATI) (GET_by_offset - (disp, - _gloffset_DeleteFragmentShaderATI)); -} - -static inline void -SET_DeleteFragmentShaderATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI) (void); - -#define CALL_EndFragmentShaderATI(disp, parameters) \ - (* GET_EndFragmentShaderATI(disp)) parameters -static inline _glptr_EndFragmentShaderATI -GET_EndFragmentShaderATI(struct _glapi_table *disp) -{ - return (_glptr_EndFragmentShaderATI) (GET_by_offset - (disp, - _gloffset_EndFragmentShaderATI)); -} - -static inline void -SET_EndFragmentShaderATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn); -} - -typedef GLuint(GLAPIENTRYP _glptr_GenFragmentShadersATI) (GLuint); - -#define CALL_GenFragmentShadersATI(disp, parameters) \ - (* GET_GenFragmentShadersATI(disp)) parameters -static inline _glptr_GenFragmentShadersATI -GET_GenFragmentShadersATI(struct _glapi_table *disp) -{ - return (_glptr_GenFragmentShadersATI) (GET_by_offset - (disp, - _gloffset_GenFragmentShadersATI)); -} - -static inline void -SET_GenFragmentShadersATI(struct _glapi_table *disp, - GLuint(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_PassTexCoordATI) (GLuint, GLuint, GLenum); - -#define CALL_PassTexCoordATI(disp, parameters) \ - (* GET_PassTexCoordATI(disp)) parameters -static inline _glptr_PassTexCoordATI -GET_PassTexCoordATI(struct _glapi_table *disp) -{ - return (_glptr_PassTexCoordATI) (GET_by_offset - (disp, _gloffset_PassTexCoordATI)); -} - -static inline void -SET_PassTexCoordATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_PassTexCoordATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_SampleMapATI) (GLuint, GLuint, GLenum); - -#define CALL_SampleMapATI(disp, parameters) \ - (* GET_SampleMapATI(disp)) parameters -static inline _glptr_SampleMapATI -GET_SampleMapATI(struct _glapi_table *disp) -{ - return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI)); -} - -static inline void -SET_SampleMapATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_SampleMapATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI) (GLuint, - const GLfloat - *); -#define CALL_SetFragmentShaderConstantATI(disp, parameters) \ - (* GET_SetFragmentShaderConstantATI(disp)) parameters -static inline _glptr_SetFragmentShaderConstantATI -GET_SetFragmentShaderConstantATI(struct _glapi_table *disp) -{ - return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset - (disp, - _gloffset_SetFragmentShaderConstantATI)); -} - -static inline void -SET_SetFragmentShaderConstantATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_PointParameteriNV) (GLenum, GLint); - -#define CALL_PointParameteriNV(disp, parameters) \ - (* GET_PointParameteriNV(disp)) parameters -static inline _glptr_PointParameteriNV -GET_PointParameteriNV(struct _glapi_table *disp) -{ - return (_glptr_PointParameteriNV) (GET_by_offset - (disp, _gloffset_PointParameteriNV)); -} - -static inline void -SET_PointParameteriNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_PointParameteriNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_PointParameterivNV) (GLenum, const GLint *); - -#define CALL_PointParameterivNV(disp, parameters) \ - (* GET_PointParameterivNV(disp)) parameters -static inline _glptr_PointParameterivNV -GET_PointParameterivNV(struct _glapi_table *disp) -{ - return (_glptr_PointParameterivNV) (GET_by_offset - (disp, _gloffset_PointParameterivNV)); -} - -static inline void -SET_PointParameterivNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_PointParameterivNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT) (GLenum); - -#define CALL_ActiveStencilFaceEXT(disp, parameters) \ - (* GET_ActiveStencilFaceEXT(disp)) parameters -static inline _glptr_ActiveStencilFaceEXT -GET_ActiveStencilFaceEXT(struct _glapi_table *disp) -{ - return (_glptr_ActiveStencilFaceEXT) (GET_by_offset - (disp, - _gloffset_ActiveStencilFaceEXT)); -} - -static inline void -SET_ActiveStencilFaceEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE) (GLuint); - -#define CALL_BindVertexArrayAPPLE(disp, parameters) \ - (* GET_BindVertexArrayAPPLE(disp)) parameters -static inline _glptr_BindVertexArrayAPPLE -GET_BindVertexArrayAPPLE(struct _glapi_table *disp) -{ - return (_glptr_BindVertexArrayAPPLE) (GET_by_offset - (disp, - _gloffset_BindVertexArrayAPPLE)); -} - -static inline void -SET_BindVertexArrayAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteVertexArraysAPPLE) (GLsizei, - const GLuint *); -#define CALL_DeleteVertexArraysAPPLE(disp, parameters) \ - (* GET_DeleteVertexArraysAPPLE(disp)) parameters -static inline _glptr_DeleteVertexArraysAPPLE -GET_DeleteVertexArraysAPPLE(struct _glapi_table *disp) -{ - return (_glptr_DeleteVertexArraysAPPLE) (GET_by_offset - (disp, - _gloffset_DeleteVertexArraysAPPLE)); -} - -static inline void -SET_DeleteVertexArraysAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE) (GLsizei, GLuint *); - -#define CALL_GenVertexArraysAPPLE(disp, parameters) \ - (* GET_GenVertexArraysAPPLE(disp)) parameters -static inline _glptr_GenVertexArraysAPPLE -GET_GenVertexArraysAPPLE(struct _glapi_table *disp) -{ - return (_glptr_GenVertexArraysAPPLE) (GET_by_offset - (disp, - _gloffset_GenVertexArraysAPPLE)); -} - -static inline void -SET_GenVertexArraysAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsVertexArrayAPPLE) (GLuint); - -#define CALL_IsVertexArrayAPPLE(disp, parameters) \ - (* GET_IsVertexArrayAPPLE(disp)) parameters -static inline _glptr_IsVertexArrayAPPLE -GET_IsVertexArrayAPPLE(struct _glapi_table *disp) -{ - return (_glptr_IsVertexArrayAPPLE) (GET_by_offset - (disp, _gloffset_IsVertexArrayAPPLE)); -} - -static inline void -SET_IsVertexArrayAPPLE(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsVertexArrayAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV) (GLuint, GLsizei, - const GLubyte *, - GLdouble *); -#define CALL_GetProgramNamedParameterdvNV(disp, parameters) \ - (* GET_GetProgramNamedParameterdvNV(disp)) parameters -static inline _glptr_GetProgramNamedParameterdvNV -GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset - (disp, - _gloffset_GetProgramNamedParameterdvNV)); -} - -static inline void -SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, - GLdouble *)) -{ - SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV) (GLuint, GLsizei, - const GLubyte *, - GLfloat *); -#define CALL_GetProgramNamedParameterfvNV(disp, parameters) \ - (* GET_GetProgramNamedParameterfvNV(disp)) parameters -static inline _glptr_GetProgramNamedParameterfvNV -GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp) -{ - return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset - (disp, - _gloffset_GetProgramNamedParameterfvNV)); -} - -static inline void -SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, - GLfloat *)) -{ - SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV) (GLuint, GLsizei, - const GLubyte *, - GLdouble, GLdouble, - GLdouble, - GLdouble); -#define CALL_ProgramNamedParameter4dNV(disp, parameters) \ - (* GET_ProgramNamedParameter4dNV(disp)) parameters -static inline _glptr_ProgramNamedParameter4dNV -GET_ProgramNamedParameter4dNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset - (disp, - _gloffset_ProgramNamedParameter4dNV)); -} - -static inline void -SET_ProgramNamedParameter4dNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, GLdouble, - GLdouble, GLdouble, - GLdouble)) -{ - SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV) (GLuint, GLsizei, - const GLubyte *, - const GLdouble *); -#define CALL_ProgramNamedParameter4dvNV(disp, parameters) \ - (* GET_ProgramNamedParameter4dvNV(disp)) parameters -static inline _glptr_ProgramNamedParameter4dvNV -GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset - (disp, - _gloffset_ProgramNamedParameter4dvNV)); -} - -static inline void -SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, - const GLdouble *)) -{ - SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV) (GLuint, GLsizei, - const GLubyte *, - GLfloat, GLfloat, - GLfloat, GLfloat); -#define CALL_ProgramNamedParameter4fNV(disp, parameters) \ - (* GET_ProgramNamedParameter4fNV(disp)) parameters -static inline _glptr_ProgramNamedParameter4fNV -GET_ProgramNamedParameter4fNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset - (disp, - _gloffset_ProgramNamedParameter4fNV)); -} - -static inline void -SET_ProgramNamedParameter4fNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, GLfloat, - GLfloat, GLfloat, GLfloat)) -{ - SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV) (GLuint, GLsizei, - const GLubyte *, - const GLfloat *); -#define CALL_ProgramNamedParameter4fvNV(disp, parameters) \ - (* GET_ProgramNamedParameter4fvNV(disp)) parameters -static inline _glptr_ProgramNamedParameter4fvNV -GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp) -{ - return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset - (disp, - _gloffset_ProgramNamedParameter4fvNV)); -} - -static inline void -SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const GLubyte *, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndexNV) (GLuint); - -#define CALL_PrimitiveRestartIndexNV(disp, parameters) \ - (* GET_PrimitiveRestartIndexNV(disp)) parameters -static inline _glptr_PrimitiveRestartIndexNV -GET_PrimitiveRestartIndexNV(struct _glapi_table *disp) -{ - return (_glptr_PrimitiveRestartIndexNV) (GET_by_offset - (disp, - _gloffset_PrimitiveRestartIndexNV)); -} - -static inline void -SET_PrimitiveRestartIndexNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV) (void); - -#define CALL_PrimitiveRestartNV(disp, parameters) \ - (* GET_PrimitiveRestartNV(disp)) parameters -static inline _glptr_PrimitiveRestartNV -GET_PrimitiveRestartNV(struct _glapi_table *disp) -{ - return (_glptr_PrimitiveRestartNV) (GET_by_offset - (disp, _gloffset_PrimitiveRestartNV)); -} - -static inline void -SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT) (GLclampd, GLclampd); - -#define CALL_DepthBoundsEXT(disp, parameters) \ - (* GET_DepthBoundsEXT(disp)) parameters -static inline _glptr_DepthBoundsEXT -GET_DepthBoundsEXT(struct _glapi_table *disp) -{ - return (_glptr_DepthBoundsEXT) (GET_by_offset - (disp, _gloffset_DepthBoundsEXT)); -} - -static inline void -SET_DepthBoundsEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLclampd, GLclampd)) -{ - SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateEXT) (GLenum, GLenum); - -#define CALL_BlendEquationSeparateEXT(disp, parameters) \ - (* GET_BlendEquationSeparateEXT(disp)) parameters -static inline _glptr_BlendEquationSeparateEXT -GET_BlendEquationSeparateEXT(struct _glapi_table *disp) -{ - return (_glptr_BlendEquationSeparateEXT) (GET_by_offset - (disp, - _gloffset_BlendEquationSeparateEXT)); -} - -static inline void -SET_BlendEquationSeparateEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum)) -{ - SET_by_offset(disp, _gloffset_BlendEquationSeparateEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT) (GLenum, GLuint); - -#define CALL_BindFramebufferEXT(disp, parameters) \ - (* GET_BindFramebufferEXT(disp)) parameters -static inline _glptr_BindFramebufferEXT -GET_BindFramebufferEXT(struct _glapi_table *disp) -{ - return (_glptr_BindFramebufferEXT) (GET_by_offset - (disp, _gloffset_BindFramebufferEXT)); -} - -static inline void -SET_BindFramebufferEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindFramebufferEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT) (GLenum, GLuint); - -#define CALL_BindRenderbufferEXT(disp, parameters) \ - (* GET_BindRenderbufferEXT(disp)) parameters -static inline _glptr_BindRenderbufferEXT -GET_BindRenderbufferEXT(struct _glapi_table *disp) -{ - return (_glptr_BindRenderbufferEXT) (GET_by_offset - (disp, _gloffset_BindRenderbufferEXT)); -} - -static inline void -SET_BindRenderbufferEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindRenderbufferEXT, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_CheckFramebufferStatusEXT) (GLenum); - -#define CALL_CheckFramebufferStatusEXT(disp, parameters) \ - (* GET_CheckFramebufferStatusEXT(disp)) parameters -static inline _glptr_CheckFramebufferStatusEXT -GET_CheckFramebufferStatusEXT(struct _glapi_table *disp) -{ - return (_glptr_CheckFramebufferStatusEXT) (GET_by_offset - (disp, - _gloffset_CheckFramebufferStatusEXT)); -} - -static inline void -SET_CheckFramebufferStatusEXT(struct _glapi_table *disp, - GLenum(GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersEXT) (GLsizei, - const GLuint *); -#define CALL_DeleteFramebuffersEXT(disp, parameters) \ - (* GET_DeleteFramebuffersEXT(disp)) parameters -static inline _glptr_DeleteFramebuffersEXT -GET_DeleteFramebuffersEXT(struct _glapi_table *disp) -{ - return (_glptr_DeleteFramebuffersEXT) (GET_by_offset - (disp, - _gloffset_DeleteFramebuffersEXT)); -} - -static inline void -SET_DeleteFramebuffersEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteFramebuffersEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersEXT) (GLsizei, - const GLuint *); -#define CALL_DeleteRenderbuffersEXT(disp, parameters) \ - (* GET_DeleteRenderbuffersEXT(disp)) parameters -static inline _glptr_DeleteRenderbuffersEXT -GET_DeleteRenderbuffersEXT(struct _glapi_table *disp) -{ - return (_glptr_DeleteRenderbuffersEXT) (GET_by_offset - (disp, - _gloffset_DeleteRenderbuffersEXT)); -} - -static inline void -SET_DeleteRenderbuffersEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferEXT) (GLenum, GLenum, - GLenum, GLuint); -#define CALL_FramebufferRenderbufferEXT(disp, parameters) \ - (* GET_FramebufferRenderbufferEXT(disp)) parameters -static inline _glptr_FramebufferRenderbufferEXT -GET_FramebufferRenderbufferEXT(struct _glapi_table *disp) -{ - return (_glptr_FramebufferRenderbufferEXT) (GET_by_offset - (disp, - _gloffset_FramebufferRenderbufferEXT)); -} - -static inline void -SET_FramebufferRenderbufferEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLuint)) -{ - SET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTexture1DEXT) (GLenum, GLenum, - GLenum, GLuint, - GLint); -#define CALL_FramebufferTexture1DEXT(disp, parameters) \ - (* GET_FramebufferTexture1DEXT(disp)) parameters -static inline _glptr_FramebufferTexture1DEXT -GET_FramebufferTexture1DEXT(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTexture1DEXT) (GET_by_offset - (disp, - _gloffset_FramebufferTexture1DEXT)); -} - -static inline void -SET_FramebufferTexture1DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLuint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTexture1DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DEXT) (GLenum, GLenum, - GLenum, GLuint, - GLint); -#define CALL_FramebufferTexture2DEXT(disp, parameters) \ - (* GET_FramebufferTexture2DEXT(disp)) parameters -static inline _glptr_FramebufferTexture2DEXT -GET_FramebufferTexture2DEXT(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTexture2DEXT) (GET_by_offset - (disp, - _gloffset_FramebufferTexture2DEXT)); -} - -static inline void -SET_FramebufferTexture2DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLuint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTexture2DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTexture3DEXT) (GLenum, GLenum, - GLenum, GLuint, - GLint, GLint); -#define CALL_FramebufferTexture3DEXT(disp, parameters) \ - (* GET_FramebufferTexture3DEXT(disp)) parameters -static inline _glptr_FramebufferTexture3DEXT -GET_FramebufferTexture3DEXT(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTexture3DEXT) (GET_by_offset - (disp, - _gloffset_FramebufferTexture3DEXT)); -} - -static inline void -SET_FramebufferTexture3DEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, - GLuint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTexture3DEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenFramebuffersEXT) (GLsizei, GLuint *); - -#define CALL_GenFramebuffersEXT(disp, parameters) \ - (* GET_GenFramebuffersEXT(disp)) parameters -static inline _glptr_GenFramebuffersEXT -GET_GenFramebuffersEXT(struct _glapi_table *disp) -{ - return (_glptr_GenFramebuffersEXT) (GET_by_offset - (disp, _gloffset_GenFramebuffersEXT)); -} - -static inline void -SET_GenFramebuffersEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenFramebuffersEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenRenderbuffersEXT) (GLsizei, GLuint *); - -#define CALL_GenRenderbuffersEXT(disp, parameters) \ - (* GET_GenRenderbuffersEXT(disp)) parameters -static inline _glptr_GenRenderbuffersEXT -GET_GenRenderbuffersEXT(struct _glapi_table *disp) -{ - return (_glptr_GenRenderbuffersEXT) (GET_by_offset - (disp, _gloffset_GenRenderbuffersEXT)); -} - -static inline void -SET_GenRenderbuffersEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLsizei, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GenRenderbuffersEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GenerateMipmapEXT) (GLenum); - -#define CALL_GenerateMipmapEXT(disp, parameters) \ - (* GET_GenerateMipmapEXT(disp)) parameters -static inline _glptr_GenerateMipmapEXT -GET_GenerateMipmapEXT(struct _glapi_table *disp) -{ - return (_glptr_GenerateMipmapEXT) (GET_by_offset - (disp, _gloffset_GenerateMipmapEXT)); -} - -static inline void -SET_GenerateMipmapEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_GenerateMipmapEXT, fn); -} - -typedef void (GLAPIENTRYP - _glptr_GetFramebufferAttachmentParameterivEXT) (GLenum, GLenum, - GLenum, GLint *); -#define CALL_GetFramebufferAttachmentParameterivEXT(disp, parameters) \ - (* GET_GetFramebufferAttachmentParameterivEXT(disp)) parameters -static inline _glptr_GetFramebufferAttachmentParameterivEXT -GET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetFramebufferAttachmentParameterivEXT) (GET_by_offset - (disp, - _gloffset_GetFramebufferAttachmentParameterivEXT)); -} - -static inline void -SET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, - GLenum, - GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivEXT) (GLenum, GLenum, - GLint *); -#define CALL_GetRenderbufferParameterivEXT(disp, parameters) \ - (* GET_GetRenderbufferParameterivEXT(disp)) parameters -static inline _glptr_GetRenderbufferParameterivEXT -GET_GetRenderbufferParameterivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetRenderbufferParameterivEXT) (GET_by_offset - (disp, - _gloffset_GetRenderbufferParameterivEXT)); -} - -static inline void -SET_GetRenderbufferParameterivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsFramebufferEXT) (GLuint); - -#define CALL_IsFramebufferEXT(disp, parameters) \ - (* GET_IsFramebufferEXT(disp)) parameters -static inline _glptr_IsFramebufferEXT -GET_IsFramebufferEXT(struct _glapi_table *disp) -{ - return (_glptr_IsFramebufferEXT) (GET_by_offset - (disp, _gloffset_IsFramebufferEXT)); -} - -static inline void -SET_IsFramebufferEXT(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsFramebufferEXT, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsRenderbufferEXT) (GLuint); - -#define CALL_IsRenderbufferEXT(disp, parameters) \ - (* GET_IsRenderbufferEXT(disp)) parameters -static inline _glptr_IsRenderbufferEXT -GET_IsRenderbufferEXT(struct _glapi_table *disp) -{ - return (_glptr_IsRenderbufferEXT) (GET_by_offset - (disp, _gloffset_IsRenderbufferEXT)); -} - -static inline void -SET_IsRenderbufferEXT(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_IsRenderbufferEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_RenderbufferStorageEXT) (GLenum, GLenum, - GLsizei, GLsizei); -#define CALL_RenderbufferStorageEXT(disp, parameters) \ - (* GET_RenderbufferStorageEXT(disp)) parameters -static inline _glptr_RenderbufferStorageEXT -GET_RenderbufferStorageEXT(struct _glapi_table *disp) -{ - return (_glptr_RenderbufferStorageEXT) (GET_by_offset - (disp, - _gloffset_RenderbufferStorageEXT)); -} - -static inline void -SET_RenderbufferStorageEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, - GLsizei)) -{ - SET_by_offset(disp, _gloffset_RenderbufferStorageEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BlitFramebufferEXT) (GLint, GLint, GLint, - GLint, GLint, GLint, - GLint, GLint, GLbitfield, - GLenum); -#define CALL_BlitFramebufferEXT(disp, parameters) \ - (* GET_BlitFramebufferEXT(disp)) parameters -static inline _glptr_BlitFramebufferEXT -GET_BlitFramebufferEXT(struct _glapi_table *disp) -{ - return (_glptr_BlitFramebufferEXT) (GET_by_offset - (disp, _gloffset_BlitFramebufferEXT)); -} - -static inline void -SET_BlitFramebufferEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint, GLint, - GLint, GLint, GLint, GLbitfield, - GLenum)) -{ - SET_by_offset(disp, _gloffset_BlitFramebufferEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE) (GLenum, GLenum, GLint); - -#define CALL_BufferParameteriAPPLE(disp, parameters) \ - (* GET_BufferParameteriAPPLE(disp)) parameters -static inline _glptr_BufferParameteriAPPLE -GET_BufferParameteriAPPLE(struct _glapi_table *disp) -{ - return (_glptr_BufferParameteriAPPLE) (GET_by_offset - (disp, - _gloffset_BufferParameteriAPPLE)); -} - -static inline void -SET_BufferParameteriAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint)) -{ - SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE) (GLenum, GLintptr, - GLsizeiptr); -#define CALL_FlushMappedBufferRangeAPPLE(disp, parameters) \ - (* GET_FlushMappedBufferRangeAPPLE(disp)) parameters -static inline _glptr_FlushMappedBufferRangeAPPLE -GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp) -{ - return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset - (disp, - _gloffset_FlushMappedBufferRangeAPPLE)); -} - -static inline void -SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLintptr, - GLsizeiptr)) -{ - SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindFragDataLocationEXT) (GLuint, GLuint, - const GLchar *); -#define CALL_BindFragDataLocationEXT(disp, parameters) \ - (* GET_BindFragDataLocationEXT(disp)) parameters -static inline _glptr_BindFragDataLocationEXT -GET_BindFragDataLocationEXT(struct _glapi_table *disp) -{ - return (_glptr_BindFragDataLocationEXT) (GET_by_offset - (disp, - _gloffset_BindFragDataLocationEXT)); -} - -static inline void -SET_BindFragDataLocationEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, - const GLchar *)) -{ - SET_by_offset(disp, _gloffset_BindFragDataLocationEXT, fn); -} - -typedef GLint(GLAPIENTRYP _glptr_GetFragDataLocationEXT) (GLuint, - const GLchar *); -#define CALL_GetFragDataLocationEXT(disp, parameters) \ - (* GET_GetFragDataLocationEXT(disp)) parameters -static inline _glptr_GetFragDataLocationEXT -GET_GetFragDataLocationEXT(struct _glapi_table *disp) -{ - return (_glptr_GetFragDataLocationEXT) (GET_by_offset - (disp, - _gloffset_GetFragDataLocationEXT)); -} - -static inline void -SET_GetFragDataLocationEXT(struct _glapi_table *disp, - GLint(GLAPIENTRYP fn) (GLuint, const GLchar *)) -{ - SET_by_offset(disp, _gloffset_GetFragDataLocationEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetUniformuivEXT) (GLuint, GLint, GLuint *); - -#define CALL_GetUniformuivEXT(disp, parameters) \ - (* GET_GetUniformuivEXT(disp)) parameters -static inline _glptr_GetUniformuivEXT -GET_GetUniformuivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetUniformuivEXT) (GET_by_offset - (disp, _gloffset_GetUniformuivEXT)); -} - -static inline void -SET_GetUniformuivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetUniformuivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribIivEXT) (GLuint, GLenum, - GLint *); -#define CALL_GetVertexAttribIivEXT(disp, parameters) \ - (* GET_GetVertexAttribIivEXT(disp)) parameters -static inline _glptr_GetVertexAttribIivEXT -GET_GetVertexAttribIivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribIivEXT) (GET_by_offset - (disp, - _gloffset_GetVertexAttribIivEXT)); -} - -static inline void -SET_GetVertexAttribIivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribIivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuivEXT) (GLuint, GLenum, - GLuint *); -#define CALL_GetVertexAttribIuivEXT(disp, parameters) \ - (* GET_GetVertexAttribIuivEXT(disp)) parameters -static inline _glptr_GetVertexAttribIuivEXT -GET_GetVertexAttribIuivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetVertexAttribIuivEXT) (GET_by_offset - (disp, - _gloffset_GetVertexAttribIuivEXT)); -} - -static inline void -SET_GetVertexAttribIuivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1uiEXT) (GLint, GLuint); - -#define CALL_Uniform1uiEXT(disp, parameters) \ - (* GET_Uniform1uiEXT(disp)) parameters -static inline _glptr_Uniform1uiEXT -GET_Uniform1uiEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform1uiEXT) (GET_by_offset - (disp, _gloffset_Uniform1uiEXT)); -} - -static inline void -SET_Uniform1uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Uniform1uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform1uivEXT) (GLint, GLsizei, - const GLuint *); -#define CALL_Uniform1uivEXT(disp, parameters) \ - (* GET_Uniform1uivEXT(disp)) parameters -static inline _glptr_Uniform1uivEXT -GET_Uniform1uivEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform1uivEXT) (GET_by_offset - (disp, _gloffset_Uniform1uivEXT)); -} - -static inline void -SET_Uniform1uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Uniform1uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2uiEXT) (GLint, GLuint, GLuint); - -#define CALL_Uniform2uiEXT(disp, parameters) \ - (* GET_Uniform2uiEXT(disp)) parameters -static inline _glptr_Uniform2uiEXT -GET_Uniform2uiEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform2uiEXT) (GET_by_offset - (disp, _gloffset_Uniform2uiEXT)); -} - -static inline void -SET_Uniform2uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Uniform2uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform2uivEXT) (GLint, GLsizei, - const GLuint *); -#define CALL_Uniform2uivEXT(disp, parameters) \ - (* GET_Uniform2uivEXT(disp)) parameters -static inline _glptr_Uniform2uivEXT -GET_Uniform2uivEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform2uivEXT) (GET_by_offset - (disp, _gloffset_Uniform2uivEXT)); -} - -static inline void -SET_Uniform2uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Uniform2uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3uiEXT) (GLint, GLuint, GLuint, GLuint); - -#define CALL_Uniform3uiEXT(disp, parameters) \ - (* GET_Uniform3uiEXT(disp)) parameters -static inline _glptr_Uniform3uiEXT -GET_Uniform3uiEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform3uiEXT) (GET_by_offset - (disp, _gloffset_Uniform3uiEXT)); -} - -static inline void -SET_Uniform3uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Uniform3uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform3uivEXT) (GLint, GLsizei, - const GLuint *); -#define CALL_Uniform3uivEXT(disp, parameters) \ - (* GET_Uniform3uivEXT(disp)) parameters -static inline _glptr_Uniform3uivEXT -GET_Uniform3uivEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform3uivEXT) (GET_by_offset - (disp, _gloffset_Uniform3uivEXT)); -} - -static inline void -SET_Uniform3uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Uniform3uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4uiEXT) (GLint, GLuint, GLuint, GLuint, - GLuint); -#define CALL_Uniform4uiEXT(disp, parameters) \ - (* GET_Uniform4uiEXT(disp)) parameters -static inline _glptr_Uniform4uiEXT -GET_Uniform4uiEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform4uiEXT) (GET_by_offset - (disp, _gloffset_Uniform4uiEXT)); -} - -static inline void -SET_Uniform4uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLuint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_Uniform4uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_Uniform4uivEXT) (GLint, GLsizei, - const GLuint *); -#define CALL_Uniform4uivEXT(disp, parameters) \ - (* GET_Uniform4uivEXT(disp)) parameters -static inline _glptr_Uniform4uivEXT -GET_Uniform4uivEXT(struct _glapi_table *disp) -{ - return (_glptr_Uniform4uivEXT) (GET_by_offset - (disp, _gloffset_Uniform4uivEXT)); -} - -static inline void -SET_Uniform4uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_Uniform4uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT) (GLuint, GLint); - -#define CALL_VertexAttribI1iEXT(disp, parameters) \ - (* GET_VertexAttribI1iEXT(disp)) parameters -static inline _glptr_VertexAttribI1iEXT -GET_VertexAttribI1iEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI1iEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI1iEXT)); -} - -static inline void -SET_VertexAttribI1iEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI1ivEXT) (GLuint, const GLint *); - -#define CALL_VertexAttribI1ivEXT(disp, parameters) \ - (* GET_VertexAttribI1ivEXT(disp)) parameters -static inline _glptr_VertexAttribI1ivEXT -GET_VertexAttribI1ivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI1ivEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI1ivEXT)); -} - -static inline void -SET_VertexAttribI1ivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI1ivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT) (GLuint, GLuint); - -#define CALL_VertexAttribI1uiEXT(disp, parameters) \ - (* GET_VertexAttribI1uiEXT(disp)) parameters -static inline _glptr_VertexAttribI1uiEXT -GET_VertexAttribI1uiEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI1uiEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI1uiEXT)); -} - -static inline void -SET_VertexAttribI1uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI1uivEXT) (GLuint, const GLuint *); - -#define CALL_VertexAttribI1uivEXT(disp, parameters) \ - (* GET_VertexAttribI1uivEXT(disp)) parameters -static inline _glptr_VertexAttribI1uivEXT -GET_VertexAttribI1uivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI1uivEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI1uivEXT)); -} - -static inline void -SET_VertexAttribI1uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI1uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT) (GLuint, GLint, GLint); - -#define CALL_VertexAttribI2iEXT(disp, parameters) \ - (* GET_VertexAttribI2iEXT(disp)) parameters -static inline _glptr_VertexAttribI2iEXT -GET_VertexAttribI2iEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI2iEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI2iEXT)); -} - -static inline void -SET_VertexAttribI2iEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT) (GLuint, const GLint *); - -#define CALL_VertexAttribI2ivEXT(disp, parameters) \ - (* GET_VertexAttribI2ivEXT(disp)) parameters -static inline _glptr_VertexAttribI2ivEXT -GET_VertexAttribI2ivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI2ivEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI2ivEXT)); -} - -static inline void -SET_VertexAttribI2ivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT) (GLuint, GLuint, GLuint); - -#define CALL_VertexAttribI2uiEXT(disp, parameters) \ - (* GET_VertexAttribI2uiEXT(disp)) parameters -static inline _glptr_VertexAttribI2uiEXT -GET_VertexAttribI2uiEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI2uiEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI2uiEXT)); -} - -static inline void -SET_VertexAttribI2uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT) (GLuint, const GLuint *); - -#define CALL_VertexAttribI2uivEXT(disp, parameters) \ - (* GET_VertexAttribI2uivEXT(disp)) parameters -static inline _glptr_VertexAttribI2uivEXT -GET_VertexAttribI2uivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI2uivEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI2uivEXT)); -} - -static inline void -SET_VertexAttribI2uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT) (GLuint, GLint, GLint, - GLint); -#define CALL_VertexAttribI3iEXT(disp, parameters) \ - (* GET_VertexAttribI3iEXT(disp)) parameters -static inline _glptr_VertexAttribI3iEXT -GET_VertexAttribI3iEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI3iEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI3iEXT)); -} - -static inline void -SET_VertexAttribI3iEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT) (GLuint, const GLint *); - -#define CALL_VertexAttribI3ivEXT(disp, parameters) \ - (* GET_VertexAttribI3ivEXT(disp)) parameters -static inline _glptr_VertexAttribI3ivEXT -GET_VertexAttribI3ivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI3ivEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI3ivEXT)); -} - -static inline void -SET_VertexAttribI3ivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT) (GLuint, GLuint, GLuint, - GLuint); -#define CALL_VertexAttribI3uiEXT(disp, parameters) \ - (* GET_VertexAttribI3uiEXT(disp)) parameters -static inline _glptr_VertexAttribI3uiEXT -GET_VertexAttribI3uiEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI3uiEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI3uiEXT)); -} - -static inline void -SET_VertexAttribI3uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT) (GLuint, const GLuint *); - -#define CALL_VertexAttribI3uivEXT(disp, parameters) \ - (* GET_VertexAttribI3uivEXT(disp)) parameters -static inline _glptr_VertexAttribI3uivEXT -GET_VertexAttribI3uivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI3uivEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI3uivEXT)); -} - -static inline void -SET_VertexAttribI3uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4bvEXT) (GLuint, const GLbyte *); - -#define CALL_VertexAttribI4bvEXT(disp, parameters) \ - (* GET_VertexAttribI4bvEXT(disp)) parameters -static inline _glptr_VertexAttribI4bvEXT -GET_VertexAttribI4bvEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4bvEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI4bvEXT)); -} - -static inline void -SET_VertexAttribI4bvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLbyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4bvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT) (GLuint, GLint, GLint, - GLint, GLint); -#define CALL_VertexAttribI4iEXT(disp, parameters) \ - (* GET_VertexAttribI4iEXT(disp)) parameters -static inline _glptr_VertexAttribI4iEXT -GET_VertexAttribI4iEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4iEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI4iEXT)); -} - -static inline void -SET_VertexAttribI4iEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLint, GLint, - GLint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT) (GLuint, const GLint *); - -#define CALL_VertexAttribI4ivEXT(disp, parameters) \ - (* GET_VertexAttribI4ivEXT(disp)) parameters -static inline _glptr_VertexAttribI4ivEXT -GET_VertexAttribI4ivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4ivEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI4ivEXT)); -} - -static inline void -SET_VertexAttribI4ivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4svEXT) (GLuint, const GLshort *); - -#define CALL_VertexAttribI4svEXT(disp, parameters) \ - (* GET_VertexAttribI4svEXT(disp)) parameters -static inline _glptr_VertexAttribI4svEXT -GET_VertexAttribI4svEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4svEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI4svEXT)); -} - -static inline void -SET_VertexAttribI4svEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLshort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4svEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubvEXT) (GLuint, - const GLubyte *); -#define CALL_VertexAttribI4ubvEXT(disp, parameters) \ - (* GET_VertexAttribI4ubvEXT(disp)) parameters -static inline _glptr_VertexAttribI4ubvEXT -GET_VertexAttribI4ubvEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4ubvEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI4ubvEXT)); -} - -static inline void -SET_VertexAttribI4ubvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLubyte *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT) (GLuint, GLuint, GLuint, - GLuint, GLuint); -#define CALL_VertexAttribI4uiEXT(disp, parameters) \ - (* GET_VertexAttribI4uiEXT(disp)) parameters -static inline _glptr_VertexAttribI4uiEXT -GET_VertexAttribI4uiEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4uiEXT) (GET_by_offset - (disp, _gloffset_VertexAttribI4uiEXT)); -} - -static inline void -SET_VertexAttribI4uiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint, - GLuint)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT) (GLuint, const GLuint *); - -#define CALL_VertexAttribI4uivEXT(disp, parameters) \ - (* GET_VertexAttribI4uivEXT(disp)) parameters -static inline _glptr_VertexAttribI4uivEXT -GET_VertexAttribI4uivEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4uivEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI4uivEXT)); -} - -static inline void -SET_VertexAttribI4uivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribI4usvEXT) (GLuint, - const GLushort *); -#define CALL_VertexAttribI4usvEXT(disp, parameters) \ - (* GET_VertexAttribI4usvEXT(disp)) parameters -static inline _glptr_VertexAttribI4usvEXT -GET_VertexAttribI4usvEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribI4usvEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribI4usvEXT)); -} - -static inline void -SET_VertexAttribI4usvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, const GLushort *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribI4usvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_VertexAttribIPointerEXT) (GLuint, GLint, - GLenum, GLsizei, - const GLvoid *); -#define CALL_VertexAttribIPointerEXT(disp, parameters) \ - (* GET_VertexAttribIPointerEXT(disp)) parameters -static inline _glptr_VertexAttribIPointerEXT -GET_VertexAttribIPointerEXT(struct _glapi_table *disp) -{ - return (_glptr_VertexAttribIPointerEXT) (GET_by_offset - (disp, - _gloffset_VertexAttribIPointerEXT)); -} - -static inline void -SET_VertexAttribIPointerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLint, GLenum, - GLsizei, const GLvoid *)) -{ - SET_by_offset(disp, _gloffset_VertexAttribIPointerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayerEXT) (GLenum, GLenum, - GLuint, GLint, - GLint); -#define CALL_FramebufferTextureLayerEXT(disp, parameters) \ - (* GET_FramebufferTextureLayerEXT(disp)) parameters -static inline _glptr_FramebufferTextureLayerEXT -GET_FramebufferTextureLayerEXT(struct _glapi_table *disp) -{ - return (_glptr_FramebufferTextureLayerEXT) (GET_by_offset - (disp, - _gloffset_FramebufferTextureLayerEXT)); -} - -static inline void -SET_FramebufferTextureLayerEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, - GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_ColorMaskIndexedEXT) (GLuint, GLboolean, - GLboolean, GLboolean, - GLboolean); -#define CALL_ColorMaskIndexedEXT(disp, parameters) \ - (* GET_ColorMaskIndexedEXT(disp)) parameters -static inline _glptr_ColorMaskIndexedEXT -GET_ColorMaskIndexedEXT(struct _glapi_table *disp) -{ - return (_glptr_ColorMaskIndexedEXT) (GET_by_offset - (disp, _gloffset_ColorMaskIndexedEXT)); -} - -static inline void -SET_ColorMaskIndexedEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLboolean, GLboolean, - GLboolean, GLboolean)) -{ - SET_by_offset(disp, _gloffset_ColorMaskIndexedEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_DisableIndexedEXT) (GLenum, GLuint); - -#define CALL_DisableIndexedEXT(disp, parameters) \ - (* GET_DisableIndexedEXT(disp)) parameters -static inline _glptr_DisableIndexedEXT -GET_DisableIndexedEXT(struct _glapi_table *disp) -{ - return (_glptr_DisableIndexedEXT) (GET_by_offset - (disp, _gloffset_DisableIndexedEXT)); -} - -static inline void -SET_DisableIndexedEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_DisableIndexedEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_EnableIndexedEXT) (GLenum, GLuint); - -#define CALL_EnableIndexedEXT(disp, parameters) \ - (* GET_EnableIndexedEXT(disp)) parameters -static inline _glptr_EnableIndexedEXT -GET_EnableIndexedEXT(struct _glapi_table *disp) -{ - return (_glptr_EnableIndexedEXT) (GET_by_offset - (disp, _gloffset_EnableIndexedEXT)); -} - -static inline void -SET_EnableIndexedEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_EnableIndexedEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetBooleanIndexedvEXT) (GLenum, GLuint, - GLboolean *); -#define CALL_GetBooleanIndexedvEXT(disp, parameters) \ - (* GET_GetBooleanIndexedvEXT(disp)) parameters -static inline _glptr_GetBooleanIndexedvEXT -GET_GetBooleanIndexedvEXT(struct _glapi_table *disp) -{ - return (_glptr_GetBooleanIndexedvEXT) (GET_by_offset - (disp, - _gloffset_GetBooleanIndexedvEXT)); -} - -static inline void -SET_GetBooleanIndexedvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLboolean *)) -{ - SET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetIntegerIndexedvEXT) (GLenum, GLuint, - GLint *); -#define CALL_GetIntegerIndexedvEXT(disp, parameters) \ - (* GET_GetIntegerIndexedvEXT(disp)) parameters -static inline _glptr_GetIntegerIndexedvEXT -GET_GetIntegerIndexedvEXT(struct _glapi_table *disp) -{ - return (_glptr_GetIntegerIndexedvEXT) (GET_by_offset - (disp, - _gloffset_GetIntegerIndexedvEXT)); -} - -static inline void -SET_GetIntegerIndexedvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT, fn); -} - -typedef GLboolean(GLAPIENTRYP _glptr_IsEnabledIndexedEXT) (GLenum, GLuint); - -#define CALL_IsEnabledIndexedEXT(disp, parameters) \ - (* GET_IsEnabledIndexedEXT(disp)) parameters -static inline _glptr_IsEnabledIndexedEXT -GET_IsEnabledIndexedEXT(struct _glapi_table *disp) -{ - return (_glptr_IsEnabledIndexedEXT) (GET_by_offset - (disp, _gloffset_IsEnabledIndexedEXT)); -} - -static inline void -SET_IsEnabledIndexedEXT(struct _glapi_table *disp, - GLboolean(GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_IsEnabledIndexedEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT) (GLint, GLint, GLint, GLint); - -#define CALL_ClearColorIiEXT(disp, parameters) \ - (* GET_ClearColorIiEXT(disp)) parameters -static inline _glptr_ClearColorIiEXT -GET_ClearColorIiEXT(struct _glapi_table *disp) -{ - return (_glptr_ClearColorIiEXT) (GET_by_offset - (disp, _gloffset_ClearColorIiEXT)); -} - -static inline void -SET_ClearColorIiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint)) -{ - SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT) (GLuint, GLuint, GLuint, - GLuint); -#define CALL_ClearColorIuiEXT(disp, parameters) \ - (* GET_ClearColorIuiEXT(disp)) parameters -static inline _glptr_ClearColorIuiEXT -GET_ClearColorIuiEXT(struct _glapi_table *disp) -{ - return (_glptr_ClearColorIuiEXT) (GET_by_offset - (disp, _gloffset_ClearColorIuiEXT)); -} - -static inline void -SET_ClearColorIuiEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexParameterIivEXT) (GLenum, GLenum, - GLint *); -#define CALL_GetTexParameterIivEXT(disp, parameters) \ - (* GET_GetTexParameterIivEXT(disp)) parameters -static inline _glptr_GetTexParameterIivEXT -GET_GetTexParameterIivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetTexParameterIivEXT) (GET_by_offset - (disp, - _gloffset_GetTexParameterIivEXT)); -} - -static inline void -SET_GetTexParameterIivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *)) -{ - SET_by_offset(disp, _gloffset_GetTexParameterIivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexParameterIuivEXT) (GLenum, GLenum, - GLuint *); -#define CALL_GetTexParameterIuivEXT(disp, parameters) \ - (* GET_GetTexParameterIuivEXT(disp)) parameters -static inline _glptr_GetTexParameterIuivEXT -GET_GetTexParameterIuivEXT(struct _glapi_table *disp) -{ - return (_glptr_GetTexParameterIuivEXT) (GET_by_offset - (disp, - _gloffset_GetTexParameterIuivEXT)); -} - -static inline void -SET_GetTexParameterIuivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint *)) -{ - SET_by_offset(disp, _gloffset_GetTexParameterIuivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameterIivEXT) (GLenum, GLenum, - const GLint *); -#define CALL_TexParameterIivEXT(disp, parameters) \ - (* GET_TexParameterIivEXT(disp)) parameters -static inline _glptr_TexParameterIivEXT -GET_TexParameterIivEXT(struct _glapi_table *disp) -{ - return (_glptr_TexParameterIivEXT) (GET_by_offset - (disp, _gloffset_TexParameterIivEXT)); -} - -static inline void -SET_TexParameterIivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *)) -{ - SET_by_offset(disp, _gloffset_TexParameterIivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TexParameterIuivEXT) (GLenum, GLenum, - const GLuint *); -#define CALL_TexParameterIuivEXT(disp, parameters) \ - (* GET_TexParameterIuivEXT(disp)) parameters -static inline _glptr_TexParameterIuivEXT -GET_TexParameterIuivEXT(struct _glapi_table *disp) -{ - return (_glptr_TexParameterIuivEXT) (GET_by_offset - (disp, _gloffset_TexParameterIuivEXT)); -} - -static inline void -SET_TexParameterIuivEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *)) -{ - SET_by_offset(disp, _gloffset_TexParameterIuivEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BeginConditionalRenderNV) (GLuint, GLenum); - -#define CALL_BeginConditionalRenderNV(disp, parameters) \ - (* GET_BeginConditionalRenderNV(disp)) parameters -static inline _glptr_BeginConditionalRenderNV -GET_BeginConditionalRenderNV(struct _glapi_table *disp) -{ - return (_glptr_BeginConditionalRenderNV) (GET_by_offset - (disp, - _gloffset_BeginConditionalRenderNV)); -} - -static inline void -SET_BeginConditionalRenderNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_BeginConditionalRenderNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_EndConditionalRenderNV) (void); - -#define CALL_EndConditionalRenderNV(disp, parameters) \ - (* GET_EndConditionalRenderNV(disp)) parameters -static inline _glptr_EndConditionalRenderNV -GET_EndConditionalRenderNV(struct _glapi_table *disp) -{ - return (_glptr_EndConditionalRenderNV) (GET_by_offset - (disp, - _gloffset_EndConditionalRenderNV)); -} - -static inline void -SET_EndConditionalRenderNV(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_EndConditionalRenderNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_BeginTransformFeedbackEXT) (GLenum); - -#define CALL_BeginTransformFeedbackEXT(disp, parameters) \ - (* GET_BeginTransformFeedbackEXT(disp)) parameters -static inline _glptr_BeginTransformFeedbackEXT -GET_BeginTransformFeedbackEXT(struct _glapi_table *disp) -{ - return (_glptr_BeginTransformFeedbackEXT) (GET_by_offset - (disp, - _gloffset_BeginTransformFeedbackEXT)); -} - -static inline void -SET_BeginTransformFeedbackEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindBufferBaseEXT) (GLenum, GLuint, GLuint); - -#define CALL_BindBufferBaseEXT(disp, parameters) \ - (* GET_BindBufferBaseEXT(disp)) parameters -static inline _glptr_BindBufferBaseEXT -GET_BindBufferBaseEXT(struct _glapi_table *disp) -{ - return (_glptr_BindBufferBaseEXT) (GET_by_offset - (disp, _gloffset_BindBufferBaseEXT)); -} - -static inline void -SET_BindBufferBaseEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint)) -{ - SET_by_offset(disp, _gloffset_BindBufferBaseEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT) (GLenum, GLuint, GLuint, - GLintptr); -#define CALL_BindBufferOffsetEXT(disp, parameters) \ - (* GET_BindBufferOffsetEXT(disp)) parameters -static inline _glptr_BindBufferOffsetEXT -GET_BindBufferOffsetEXT(struct _glapi_table *disp) -{ - return (_glptr_BindBufferOffsetEXT) (GET_by_offset - (disp, _gloffset_BindBufferOffsetEXT)); -} - -static inline void -SET_BindBufferOffsetEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, - GLintptr)) -{ - SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_BindBufferRangeEXT) (GLenum, GLuint, GLuint, - GLintptr, GLsizeiptr); -#define CALL_BindBufferRangeEXT(disp, parameters) \ - (* GET_BindBufferRangeEXT(disp)) parameters -static inline _glptr_BindBufferRangeEXT -GET_BindBufferRangeEXT(struct _glapi_table *disp) -{ - return (_glptr_BindBufferRangeEXT) (GET_by_offset - (disp, _gloffset_BindBufferRangeEXT)); -} - -static inline void -SET_BindBufferRangeEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLintptr, - GLsizeiptr)) -{ - SET_by_offset(disp, _gloffset_BindBufferRangeEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_EndTransformFeedbackEXT) (void); - -#define CALL_EndTransformFeedbackEXT(disp, parameters) \ - (* GET_EndTransformFeedbackEXT(disp)) parameters -static inline _glptr_EndTransformFeedbackEXT -GET_EndTransformFeedbackEXT(struct _glapi_table *disp) -{ - return (_glptr_EndTransformFeedbackEXT) (GET_by_offset - (disp, - _gloffset_EndTransformFeedbackEXT)); -} - -static inline void -SET_EndTransformFeedbackEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_EndTransformFeedbackEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVaryingEXT) (GLuint, - GLuint, - GLsizei, - GLsizei *, - GLsizei *, - GLenum *, - GLchar *); -#define CALL_GetTransformFeedbackVaryingEXT(disp, parameters) \ - (* GET_GetTransformFeedbackVaryingEXT(disp)) parameters -static inline _glptr_GetTransformFeedbackVaryingEXT -GET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp) -{ - return (_glptr_GetTransformFeedbackVaryingEXT) (GET_by_offset - (disp, - _gloffset_GetTransformFeedbackVaryingEXT)); -} - -static inline void -SET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLuint, - GLsizei, GLsizei *, - GLsizei *, GLenum *, - GLchar *)) -{ - SET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryingsEXT) (GLuint, GLsizei, - const char **, - GLenum); -#define CALL_TransformFeedbackVaryingsEXT(disp, parameters) \ - (* GET_TransformFeedbackVaryingsEXT(disp)) parameters -static inline _glptr_TransformFeedbackVaryingsEXT -GET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp) -{ - return (_glptr_TransformFeedbackVaryingsEXT) (GET_by_offset - (disp, - _gloffset_TransformFeedbackVaryingsEXT)); -} - -static inline void -SET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLsizei, - const char **, GLenum)) -{ - SET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProvokingVertexEXT) (GLenum); - -#define CALL_ProvokingVertexEXT(disp, parameters) \ - (* GET_ProvokingVertexEXT(disp)) parameters -static inline _glptr_ProvokingVertexEXT -GET_ProvokingVertexEXT(struct _glapi_table *disp) -{ - return (_glptr_ProvokingVertexEXT) (GET_by_offset - (disp, _gloffset_ProvokingVertexEXT)); -} - -static inline void -SET_ProvokingVertexEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum)) -{ - SET_by_offset(disp, _gloffset_ProvokingVertexEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetTexParameterPointervAPPLE) (GLenum, GLenum, - GLvoid **); -#define CALL_GetTexParameterPointervAPPLE(disp, parameters) \ - (* GET_GetTexParameterPointervAPPLE(disp)) parameters -static inline _glptr_GetTexParameterPointervAPPLE -GET_GetTexParameterPointervAPPLE(struct _glapi_table *disp) -{ - return (_glptr_GetTexParameterPointervAPPLE) (GET_by_offset - (disp, - _gloffset_GetTexParameterPointervAPPLE)); -} - -static inline void -SET_GetTexParameterPointervAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, - GLvoid **)) -{ - SET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_TextureRangeAPPLE) (GLenum, GLsizei, GLvoid *); - -#define CALL_TextureRangeAPPLE(disp, parameters) \ - (* GET_TextureRangeAPPLE(disp)) parameters -static inline _glptr_TextureRangeAPPLE -GET_TextureRangeAPPLE(struct _glapi_table *disp) -{ - return (_glptr_TextureRangeAPPLE) (GET_by_offset - (disp, _gloffset_TextureRangeAPPLE)); -} - -static inline void -SET_TextureRangeAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLsizei, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_TextureRangeAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE) (GLenum, GLuint, - GLenum, GLint *); -#define CALL_GetObjectParameterivAPPLE(disp, parameters) \ - (* GET_GetObjectParameterivAPPLE(disp)) parameters -static inline _glptr_GetObjectParameterivAPPLE -GET_GetObjectParameterivAPPLE(struct _glapi_table *disp) -{ - return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset - (disp, - _gloffset_GetObjectParameterivAPPLE)); -} - -static inline void -SET_GetObjectParameterivAPPLE(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, - GLint *)) -{ - SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_ObjectPurgeableAPPLE) (GLenum, GLuint, - GLenum); -#define CALL_ObjectPurgeableAPPLE(disp, parameters) \ - (* GET_ObjectPurgeableAPPLE(disp)) parameters -static inline _glptr_ObjectPurgeableAPPLE -GET_ObjectPurgeableAPPLE(struct _glapi_table *disp) -{ - return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset - (disp, - _gloffset_ObjectPurgeableAPPLE)); -} - -static inline void -SET_ObjectPurgeableAPPLE(struct _glapi_table *disp, - GLenum(GLAPIENTRYP fn) (GLenum, GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn); -} - -typedef GLenum(GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE) (GLenum, GLuint, - GLenum); -#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) \ - (* GET_ObjectUnpurgeableAPPLE(disp)) parameters -static inline _glptr_ObjectUnpurgeableAPPLE -GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp) -{ - return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset - (disp, - _gloffset_ObjectUnpurgeableAPPLE)); -} - -static inline void -SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp, - GLenum(GLAPIENTRYP fn) (GLenum, GLuint, GLenum)) -{ - SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn); -} - -typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT) (GLuint); - -#define CALL_ActiveProgramEXT(disp, parameters) \ - (* GET_ActiveProgramEXT(disp)) parameters -static inline _glptr_ActiveProgramEXT -GET_ActiveProgramEXT(struct _glapi_table *disp) -{ - return (_glptr_ActiveProgramEXT) (GET_by_offset - (disp, _gloffset_ActiveProgramEXT)); -} - -static inline void -SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint)) -{ - SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn); -} - -typedef GLuint(GLAPIENTRYP _glptr_CreateShaderProgramEXT) (GLenum, - const GLchar *); -#define CALL_CreateShaderProgramEXT(disp, parameters) \ - (* GET_CreateShaderProgramEXT(disp)) parameters -static inline _glptr_CreateShaderProgramEXT -GET_CreateShaderProgramEXT(struct _glapi_table *disp) -{ - return (_glptr_CreateShaderProgramEXT) (GET_by_offset - (disp, - _gloffset_CreateShaderProgramEXT)); -} - -static inline void -SET_CreateShaderProgramEXT(struct _glapi_table *disp, - GLuint(GLAPIENTRYP fn) (GLenum, const GLchar *)) -{ - SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT) (GLenum, GLuint); - -#define CALL_UseShaderProgramEXT(disp, parameters) \ - (* GET_UseShaderProgramEXT(disp)) parameters -static inline _glptr_UseShaderProgramEXT -GET_UseShaderProgramEXT(struct _glapi_table *disp) -{ - return (_glptr_UseShaderProgramEXT) (GET_by_offset - (disp, _gloffset_UseShaderProgramEXT)); -} - -static inline void -SET_UseShaderProgramEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint)) -{ - SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_TextureBarrierNV) (void); - -#define CALL_TextureBarrierNV(disp, parameters) \ - (* GET_TextureBarrierNV(disp)) parameters -static inline _glptr_TextureBarrierNV -GET_TextureBarrierNV(struct _glapi_table *disp) -{ - return (_glptr_TextureBarrierNV) (GET_by_offset - (disp, _gloffset_TextureBarrierNV)); -} - -static inline void -SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void)) -{ - SET_by_offset(disp, _gloffset_TextureBarrierNV, fn); -} - -typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI) (GLenum, GLenum, GLint, - GLuint); -#define CALL_StencilFuncSeparateATI(disp, parameters) \ - (* GET_StencilFuncSeparateATI(disp)) parameters -static inline _glptr_StencilFuncSeparateATI -GET_StencilFuncSeparateATI(struct _glapi_table *disp) -{ - return (_glptr_StencilFuncSeparateATI) (GET_by_offset - (disp, - _gloffset_StencilFuncSeparateATI)); -} - -static inline void -SET_StencilFuncSeparateATI(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, - GLuint)) -{ - SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT) (GLenum, GLuint, - GLsizei, - const GLfloat *); -#define CALL_ProgramEnvParameters4fvEXT(disp, parameters) \ - (* GET_ProgramEnvParameters4fvEXT(disp)) parameters -static inline _glptr_ProgramEnvParameters4fvEXT -GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp) -{ - return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset - (disp, - _gloffset_ProgramEnvParameters4fvEXT)); -} - -static inline void -SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT) (GLenum, GLuint, - GLsizei, - const GLfloat - *); -#define CALL_ProgramLocalParameters4fvEXT(disp, parameters) \ - (* GET_ProgramLocalParameters4fvEXT(disp)) parameters -static inline _glptr_ProgramLocalParameters4fvEXT -GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp) -{ - return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset - (disp, - _gloffset_ProgramLocalParameters4fvEXT)); -} - -static inline void -SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei, - const GLfloat *)) -{ - SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64vEXT) (GLuint, GLenum, - GLint64EXT *); -#define CALL_GetQueryObjecti64vEXT(disp, parameters) \ - (* GET_GetQueryObjecti64vEXT(disp)) parameters -static inline _glptr_GetQueryObjecti64vEXT -GET_GetQueryObjecti64vEXT(struct _glapi_table *disp) -{ - return (_glptr_GetQueryObjecti64vEXT) (GET_by_offset - (disp, - _gloffset_GetQueryObjecti64vEXT)); -} - -static inline void -SET_GetQueryObjecti64vEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, GLint64EXT *)) -{ - SET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64vEXT) (GLuint, GLenum, - GLuint64EXT *); -#define CALL_GetQueryObjectui64vEXT(disp, parameters) \ - (* GET_GetQueryObjectui64vEXT(disp)) parameters -static inline _glptr_GetQueryObjectui64vEXT -GET_GetQueryObjectui64vEXT(struct _glapi_table *disp) -{ - return (_glptr_GetQueryObjectui64vEXT) (GET_by_offset - (disp, - _gloffset_GetQueryObjectui64vEXT)); -} - -static inline void -SET_GetQueryObjectui64vEXT(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLuint, GLenum, - GLuint64EXT *)) -{ - SET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT, fn); -} - -typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES) (GLenum, - GLvoid - *); -#define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \ - (* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters -static inline _glptr_EGLImageTargetRenderbufferStorageOES -GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) -{ - return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset - (disp, - _gloffset_EGLImageTargetRenderbufferStorageOES)); -} - -static inline void -SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, - GLvoid *)) -{ - SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn); -} - -typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES) (GLenum, GLvoid *); - -#define CALL_EGLImageTargetTexture2DOES(disp, parameters) \ - (* GET_EGLImageTargetTexture2DOES(disp)) parameters -static inline _glptr_EGLImageTargetTexture2DOES -GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) -{ - return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset - (disp, - _gloffset_EGLImageTargetTexture2DOES)); -} - -static inline void -SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, - void (GLAPIENTRYP fn) (GLenum, GLvoid *)) -{ - SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn); -} - -#endif /* !defined( _DISPATCH_H_ ) */ +/* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */
+
+/*
+ * (C) Copyright IBM Corporation 2005
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#if !defined( _DISPATCH_H_ )
+# define _DISPATCH_H_
+
+
+#include "glapitable.h"
+/**
+ * \file main/dispatch.h
+ * Macros for handling GL dispatch tables.
+ *
+ * For each known GL function, there are 3 macros in this file. The first
+ * macro is named CALL_FuncName and is used to call that GL function using
+ * the specified dispatch table. The other 2 macros, called GET_FuncName
+ * can SET_FuncName, are used to get and set the dispatch pointer for the
+ * named function in the specified dispatch table.
+ */
+
+/* GLXEXT is defined when building the GLX extension in the xserver.
+ */
+#if !defined(GLXEXT)
+#include "main/mfeatures.h"
+#endif
+
+#ifdef _MSC_VER
+#ifndef INLINE
+#define INLINE __inline
+#endif
+#endif
+#define CALL_by_offset(disp, cast, offset, parameters) \
+ (*(cast (GET_by_offset(disp, offset)))) parameters
+#define GET_by_offset(disp, offset) \
+ (offset >= 0) ? (((_glapi_proc *)(disp))[offset]) : NULL
+#define SET_by_offset(disp, offset, fn) \
+ do { \
+ if ( (offset) < 0 ) { \
+ /* fprintf( stderr, "[%s:%u] SET_by_offset(%p, %d, %s)!\n", */ \
+ /* __func__, __LINE__, disp, offset, # fn); */ \
+ /* abort(); */ \
+ } \
+ else { \
+ ( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \
+ } \
+ } while(0)
+
+/* total number of offsets below */
+#define _gloffset_COUNT 1032
+
+#define _gloffset_NewList 0
+#define _gloffset_EndList 1
+#define _gloffset_CallList 2
+#define _gloffset_CallLists 3
+#define _gloffset_DeleteLists 4
+#define _gloffset_GenLists 5
+#define _gloffset_ListBase 6
+#define _gloffset_Begin 7
+#define _gloffset_Bitmap 8
+#define _gloffset_Color3b 9
+#define _gloffset_Color3bv 10
+#define _gloffset_Color3d 11
+#define _gloffset_Color3dv 12
+#define _gloffset_Color3f 13
+#define _gloffset_Color3fv 14
+#define _gloffset_Color3i 15
+#define _gloffset_Color3iv 16
+#define _gloffset_Color3s 17
+#define _gloffset_Color3sv 18
+#define _gloffset_Color3ub 19
+#define _gloffset_Color3ubv 20
+#define _gloffset_Color3ui 21
+#define _gloffset_Color3uiv 22
+#define _gloffset_Color3us 23
+#define _gloffset_Color3usv 24
+#define _gloffset_Color4b 25
+#define _gloffset_Color4bv 26
+#define _gloffset_Color4d 27
+#define _gloffset_Color4dv 28
+#define _gloffset_Color4f 29
+#define _gloffset_Color4fv 30
+#define _gloffset_Color4i 31
+#define _gloffset_Color4iv 32
+#define _gloffset_Color4s 33
+#define _gloffset_Color4sv 34
+#define _gloffset_Color4ub 35
+#define _gloffset_Color4ubv 36
+#define _gloffset_Color4ui 37
+#define _gloffset_Color4uiv 38
+#define _gloffset_Color4us 39
+#define _gloffset_Color4usv 40
+#define _gloffset_EdgeFlag 41
+#define _gloffset_EdgeFlagv 42
+#define _gloffset_End 43
+#define _gloffset_Indexd 44
+#define _gloffset_Indexdv 45
+#define _gloffset_Indexf 46
+#define _gloffset_Indexfv 47
+#define _gloffset_Indexi 48
+#define _gloffset_Indexiv 49
+#define _gloffset_Indexs 50
+#define _gloffset_Indexsv 51
+#define _gloffset_Normal3b 52
+#define _gloffset_Normal3bv 53
+#define _gloffset_Normal3d 54
+#define _gloffset_Normal3dv 55
+#define _gloffset_Normal3f 56
+#define _gloffset_Normal3fv 57
+#define _gloffset_Normal3i 58
+#define _gloffset_Normal3iv 59
+#define _gloffset_Normal3s 60
+#define _gloffset_Normal3sv 61
+#define _gloffset_RasterPos2d 62
+#define _gloffset_RasterPos2dv 63
+#define _gloffset_RasterPos2f 64
+#define _gloffset_RasterPos2fv 65
+#define _gloffset_RasterPos2i 66
+#define _gloffset_RasterPos2iv 67
+#define _gloffset_RasterPos2s 68
+#define _gloffset_RasterPos2sv 69
+#define _gloffset_RasterPos3d 70
+#define _gloffset_RasterPos3dv 71
+#define _gloffset_RasterPos3f 72
+#define _gloffset_RasterPos3fv 73
+#define _gloffset_RasterPos3i 74
+#define _gloffset_RasterPos3iv 75
+#define _gloffset_RasterPos3s 76
+#define _gloffset_RasterPos3sv 77
+#define _gloffset_RasterPos4d 78
+#define _gloffset_RasterPos4dv 79
+#define _gloffset_RasterPos4f 80
+#define _gloffset_RasterPos4fv 81
+#define _gloffset_RasterPos4i 82
+#define _gloffset_RasterPos4iv 83
+#define _gloffset_RasterPos4s 84
+#define _gloffset_RasterPos4sv 85
+#define _gloffset_Rectd 86
+#define _gloffset_Rectdv 87
+#define _gloffset_Rectf 88
+#define _gloffset_Rectfv 89
+#define _gloffset_Recti 90
+#define _gloffset_Rectiv 91
+#define _gloffset_Rects 92
+#define _gloffset_Rectsv 93
+#define _gloffset_TexCoord1d 94
+#define _gloffset_TexCoord1dv 95
+#define _gloffset_TexCoord1f 96
+#define _gloffset_TexCoord1fv 97
+#define _gloffset_TexCoord1i 98
+#define _gloffset_TexCoord1iv 99
+#define _gloffset_TexCoord1s 100
+#define _gloffset_TexCoord1sv 101
+#define _gloffset_TexCoord2d 102
+#define _gloffset_TexCoord2dv 103
+#define _gloffset_TexCoord2f 104
+#define _gloffset_TexCoord2fv 105
+#define _gloffset_TexCoord2i 106
+#define _gloffset_TexCoord2iv 107
+#define _gloffset_TexCoord2s 108
+#define _gloffset_TexCoord2sv 109
+#define _gloffset_TexCoord3d 110
+#define _gloffset_TexCoord3dv 111
+#define _gloffset_TexCoord3f 112
+#define _gloffset_TexCoord3fv 113
+#define _gloffset_TexCoord3i 114
+#define _gloffset_TexCoord3iv 115
+#define _gloffset_TexCoord3s 116
+#define _gloffset_TexCoord3sv 117
+#define _gloffset_TexCoord4d 118
+#define _gloffset_TexCoord4dv 119
+#define _gloffset_TexCoord4f 120
+#define _gloffset_TexCoord4fv 121
+#define _gloffset_TexCoord4i 122
+#define _gloffset_TexCoord4iv 123
+#define _gloffset_TexCoord4s 124
+#define _gloffset_TexCoord4sv 125
+#define _gloffset_Vertex2d 126
+#define _gloffset_Vertex2dv 127
+#define _gloffset_Vertex2f 128
+#define _gloffset_Vertex2fv 129
+#define _gloffset_Vertex2i 130
+#define _gloffset_Vertex2iv 131
+#define _gloffset_Vertex2s 132
+#define _gloffset_Vertex2sv 133
+#define _gloffset_Vertex3d 134
+#define _gloffset_Vertex3dv 135
+#define _gloffset_Vertex3f 136
+#define _gloffset_Vertex3fv 137
+#define _gloffset_Vertex3i 138
+#define _gloffset_Vertex3iv 139
+#define _gloffset_Vertex3s 140
+#define _gloffset_Vertex3sv 141
+#define _gloffset_Vertex4d 142
+#define _gloffset_Vertex4dv 143
+#define _gloffset_Vertex4f 144
+#define _gloffset_Vertex4fv 145
+#define _gloffset_Vertex4i 146
+#define _gloffset_Vertex4iv 147
+#define _gloffset_Vertex4s 148
+#define _gloffset_Vertex4sv 149
+#define _gloffset_ClipPlane 150
+#define _gloffset_ColorMaterial 151
+#define _gloffset_CullFace 152
+#define _gloffset_Fogf 153
+#define _gloffset_Fogfv 154
+#define _gloffset_Fogi 155
+#define _gloffset_Fogiv 156
+#define _gloffset_FrontFace 157
+#define _gloffset_Hint 158
+#define _gloffset_Lightf 159
+#define _gloffset_Lightfv 160
+#define _gloffset_Lighti 161
+#define _gloffset_Lightiv 162
+#define _gloffset_LightModelf 163
+#define _gloffset_LightModelfv 164
+#define _gloffset_LightModeli 165
+#define _gloffset_LightModeliv 166
+#define _gloffset_LineStipple 167
+#define _gloffset_LineWidth 168
+#define _gloffset_Materialf 169
+#define _gloffset_Materialfv 170
+#define _gloffset_Materiali 171
+#define _gloffset_Materialiv 172
+#define _gloffset_PointSize 173
+#define _gloffset_PolygonMode 174
+#define _gloffset_PolygonStipple 175
+#define _gloffset_Scissor 176
+#define _gloffset_ShadeModel 177
+#define _gloffset_TexParameterf 178
+#define _gloffset_TexParameterfv 179
+#define _gloffset_TexParameteri 180
+#define _gloffset_TexParameteriv 181
+#define _gloffset_TexImage1D 182
+#define _gloffset_TexImage2D 183
+#define _gloffset_TexEnvf 184
+#define _gloffset_TexEnvfv 185
+#define _gloffset_TexEnvi 186
+#define _gloffset_TexEnviv 187
+#define _gloffset_TexGend 188
+#define _gloffset_TexGendv 189
+#define _gloffset_TexGenf 190
+#define _gloffset_TexGenfv 191
+#define _gloffset_TexGeni 192
+#define _gloffset_TexGeniv 193
+#define _gloffset_FeedbackBuffer 194
+#define _gloffset_SelectBuffer 195
+#define _gloffset_RenderMode 196
+#define _gloffset_InitNames 197
+#define _gloffset_LoadName 198
+#define _gloffset_PassThrough 199
+#define _gloffset_PopName 200
+#define _gloffset_PushName 201
+#define _gloffset_DrawBuffer 202
+#define _gloffset_Clear 203
+#define _gloffset_ClearAccum 204
+#define _gloffset_ClearIndex 205
+#define _gloffset_ClearColor 206
+#define _gloffset_ClearStencil 207
+#define _gloffset_ClearDepth 208
+#define _gloffset_StencilMask 209
+#define _gloffset_ColorMask 210
+#define _gloffset_DepthMask 211
+#define _gloffset_IndexMask 212
+#define _gloffset_Accum 213
+#define _gloffset_Disable 214
+#define _gloffset_Enable 215
+#define _gloffset_Finish 216
+#define _gloffset_Flush 217
+#define _gloffset_PopAttrib 218
+#define _gloffset_PushAttrib 219
+#define _gloffset_Map1d 220
+#define _gloffset_Map1f 221
+#define _gloffset_Map2d 222
+#define _gloffset_Map2f 223
+#define _gloffset_MapGrid1d 224
+#define _gloffset_MapGrid1f 225
+#define _gloffset_MapGrid2d 226
+#define _gloffset_MapGrid2f 227
+#define _gloffset_EvalCoord1d 228
+#define _gloffset_EvalCoord1dv 229
+#define _gloffset_EvalCoord1f 230
+#define _gloffset_EvalCoord1fv 231
+#define _gloffset_EvalCoord2d 232
+#define _gloffset_EvalCoord2dv 233
+#define _gloffset_EvalCoord2f 234
+#define _gloffset_EvalCoord2fv 235
+#define _gloffset_EvalMesh1 236
+#define _gloffset_EvalPoint1 237
+#define _gloffset_EvalMesh2 238
+#define _gloffset_EvalPoint2 239
+#define _gloffset_AlphaFunc 240
+#define _gloffset_BlendFunc 241
+#define _gloffset_LogicOp 242
+#define _gloffset_StencilFunc 243
+#define _gloffset_StencilOp 244
+#define _gloffset_DepthFunc 245
+#define _gloffset_PixelZoom 246
+#define _gloffset_PixelTransferf 247
+#define _gloffset_PixelTransferi 248
+#define _gloffset_PixelStoref 249
+#define _gloffset_PixelStorei 250
+#define _gloffset_PixelMapfv 251
+#define _gloffset_PixelMapuiv 252
+#define _gloffset_PixelMapusv 253
+#define _gloffset_ReadBuffer 254
+#define _gloffset_CopyPixels 255
+#define _gloffset_ReadPixels 256
+#define _gloffset_DrawPixels 257
+#define _gloffset_GetBooleanv 258
+#define _gloffset_GetClipPlane 259
+#define _gloffset_GetDoublev 260
+#define _gloffset_GetError 261
+#define _gloffset_GetFloatv 262
+#define _gloffset_GetIntegerv 263
+#define _gloffset_GetLightfv 264
+#define _gloffset_GetLightiv 265
+#define _gloffset_GetMapdv 266
+#define _gloffset_GetMapfv 267
+#define _gloffset_GetMapiv 268
+#define _gloffset_GetMaterialfv 269
+#define _gloffset_GetMaterialiv 270
+#define _gloffset_GetPixelMapfv 271
+#define _gloffset_GetPixelMapuiv 272
+#define _gloffset_GetPixelMapusv 273
+#define _gloffset_GetPolygonStipple 274
+#define _gloffset_GetString 275
+#define _gloffset_GetTexEnvfv 276
+#define _gloffset_GetTexEnviv 277
+#define _gloffset_GetTexGendv 278
+#define _gloffset_GetTexGenfv 279
+#define _gloffset_GetTexGeniv 280
+#define _gloffset_GetTexImage 281
+#define _gloffset_GetTexParameterfv 282
+#define _gloffset_GetTexParameteriv 283
+#define _gloffset_GetTexLevelParameterfv 284
+#define _gloffset_GetTexLevelParameteriv 285
+#define _gloffset_IsEnabled 286
+#define _gloffset_IsList 287
+#define _gloffset_DepthRange 288
+#define _gloffset_Frustum 289
+#define _gloffset_LoadIdentity 290
+#define _gloffset_LoadMatrixf 291
+#define _gloffset_LoadMatrixd 292
+#define _gloffset_MatrixMode 293
+#define _gloffset_MultMatrixf 294
+#define _gloffset_MultMatrixd 295
+#define _gloffset_Ortho 296
+#define _gloffset_PopMatrix 297
+#define _gloffset_PushMatrix 298
+#define _gloffset_Rotated 299
+#define _gloffset_Rotatef 300
+#define _gloffset_Scaled 301
+#define _gloffset_Scalef 302
+#define _gloffset_Translated 303
+#define _gloffset_Translatef 304
+#define _gloffset_Viewport 305
+#define _gloffset_ArrayElement 306
+#define _gloffset_BindTexture 307
+#define _gloffset_ColorPointer 308
+#define _gloffset_DisableClientState 309
+#define _gloffset_DrawArrays 310
+#define _gloffset_DrawElements 311
+#define _gloffset_EdgeFlagPointer 312
+#define _gloffset_EnableClientState 313
+#define _gloffset_IndexPointer 314
+#define _gloffset_Indexub 315
+#define _gloffset_Indexubv 316
+#define _gloffset_InterleavedArrays 317
+#define _gloffset_NormalPointer 318
+#define _gloffset_PolygonOffset 319
+#define _gloffset_TexCoordPointer 320
+#define _gloffset_VertexPointer 321
+#define _gloffset_AreTexturesResident 322
+#define _gloffset_CopyTexImage1D 323
+#define _gloffset_CopyTexImage2D 324
+#define _gloffset_CopyTexSubImage1D 325
+#define _gloffset_CopyTexSubImage2D 326
+#define _gloffset_DeleteTextures 327
+#define _gloffset_GenTextures 328
+#define _gloffset_GetPointerv 329
+#define _gloffset_IsTexture 330
+#define _gloffset_PrioritizeTextures 331
+#define _gloffset_TexSubImage1D 332
+#define _gloffset_TexSubImage2D 333
+#define _gloffset_PopClientAttrib 334
+#define _gloffset_PushClientAttrib 335
+#define _gloffset_BlendColor 336
+#define _gloffset_BlendEquation 337
+#define _gloffset_DrawRangeElements 338
+#define _gloffset_ColorTable 339
+#define _gloffset_ColorTableParameterfv 340
+#define _gloffset_ColorTableParameteriv 341
+#define _gloffset_CopyColorTable 342
+#define _gloffset_GetColorTable 343
+#define _gloffset_GetColorTableParameterfv 344
+#define _gloffset_GetColorTableParameteriv 345
+#define _gloffset_ColorSubTable 346
+#define _gloffset_CopyColorSubTable 347
+#define _gloffset_ConvolutionFilter1D 348
+#define _gloffset_ConvolutionFilter2D 349
+#define _gloffset_ConvolutionParameterf 350
+#define _gloffset_ConvolutionParameterfv 351
+#define _gloffset_ConvolutionParameteri 352
+#define _gloffset_ConvolutionParameteriv 353
+#define _gloffset_CopyConvolutionFilter1D 354
+#define _gloffset_CopyConvolutionFilter2D 355
+#define _gloffset_GetConvolutionFilter 356
+#define _gloffset_GetConvolutionParameterfv 357
+#define _gloffset_GetConvolutionParameteriv 358
+#define _gloffset_GetSeparableFilter 359
+#define _gloffset_SeparableFilter2D 360
+#define _gloffset_GetHistogram 361
+#define _gloffset_GetHistogramParameterfv 362
+#define _gloffset_GetHistogramParameteriv 363
+#define _gloffset_GetMinmax 364
+#define _gloffset_GetMinmaxParameterfv 365
+#define _gloffset_GetMinmaxParameteriv 366
+#define _gloffset_Histogram 367
+#define _gloffset_Minmax 368
+#define _gloffset_ResetHistogram 369
+#define _gloffset_ResetMinmax 370
+#define _gloffset_TexImage3D 371
+#define _gloffset_TexSubImage3D 372
+#define _gloffset_CopyTexSubImage3D 373
+#define _gloffset_ActiveTexture 374
+#define _gloffset_ClientActiveTexture 375
+#define _gloffset_MultiTexCoord1d 376
+#define _gloffset_MultiTexCoord1dv 377
+#define _gloffset_MultiTexCoord1fARB 378
+#define _gloffset_MultiTexCoord1fvARB 379
+#define _gloffset_MultiTexCoord1i 380
+#define _gloffset_MultiTexCoord1iv 381
+#define _gloffset_MultiTexCoord1s 382
+#define _gloffset_MultiTexCoord1sv 383
+#define _gloffset_MultiTexCoord2d 384
+#define _gloffset_MultiTexCoord2dv 385
+#define _gloffset_MultiTexCoord2fARB 386
+#define _gloffset_MultiTexCoord2fvARB 387
+#define _gloffset_MultiTexCoord2i 388
+#define _gloffset_MultiTexCoord2iv 389
+#define _gloffset_MultiTexCoord2s 390
+#define _gloffset_MultiTexCoord2sv 391
+#define _gloffset_MultiTexCoord3d 392
+#define _gloffset_MultiTexCoord3dv 393
+#define _gloffset_MultiTexCoord3fARB 394
+#define _gloffset_MultiTexCoord3fvARB 395
+#define _gloffset_MultiTexCoord3i 396
+#define _gloffset_MultiTexCoord3iv 397
+#define _gloffset_MultiTexCoord3s 398
+#define _gloffset_MultiTexCoord3sv 399
+#define _gloffset_MultiTexCoord4d 400
+#define _gloffset_MultiTexCoord4dv 401
+#define _gloffset_MultiTexCoord4fARB 402
+#define _gloffset_MultiTexCoord4fvARB 403
+#define _gloffset_MultiTexCoord4i 404
+#define _gloffset_MultiTexCoord4iv 405
+#define _gloffset_MultiTexCoord4s 406
+#define _gloffset_MultiTexCoord4sv 407
+
+#if !FEATURE_remap_table
+
+#define _gloffset_CompressedTexImage1D 408
+#define _gloffset_CompressedTexImage2D 409
+#define _gloffset_CompressedTexImage3D 410
+#define _gloffset_CompressedTexSubImage1D 411
+#define _gloffset_CompressedTexSubImage2D 412
+#define _gloffset_CompressedTexSubImage3D 413
+#define _gloffset_GetCompressedTexImage 414
+#define _gloffset_LoadTransposeMatrixd 415
+#define _gloffset_LoadTransposeMatrixf 416
+#define _gloffset_MultTransposeMatrixd 417
+#define _gloffset_MultTransposeMatrixf 418
+#define _gloffset_SampleCoverage 419
+#define _gloffset_BlendFuncSeparate 420
+#define _gloffset_FogCoordPointer 421
+#define _gloffset_FogCoordd 422
+#define _gloffset_FogCoorddv 423
+#define _gloffset_MultiDrawArrays 424
+#define _gloffset_PointParameterf 425
+#define _gloffset_PointParameterfv 426
+#define _gloffset_PointParameteri 427
+#define _gloffset_PointParameteriv 428
+#define _gloffset_SecondaryColor3b 429
+#define _gloffset_SecondaryColor3bv 430
+#define _gloffset_SecondaryColor3d 431
+#define _gloffset_SecondaryColor3dv 432
+#define _gloffset_SecondaryColor3i 433
+#define _gloffset_SecondaryColor3iv 434
+#define _gloffset_SecondaryColor3s 435
+#define _gloffset_SecondaryColor3sv 436
+#define _gloffset_SecondaryColor3ub 437
+#define _gloffset_SecondaryColor3ubv 438
+#define _gloffset_SecondaryColor3ui 439
+#define _gloffset_SecondaryColor3uiv 440
+#define _gloffset_SecondaryColor3us 441
+#define _gloffset_SecondaryColor3usv 442
+#define _gloffset_SecondaryColorPointer 443
+#define _gloffset_WindowPos2d 444
+#define _gloffset_WindowPos2dv 445
+#define _gloffset_WindowPos2f 446
+#define _gloffset_WindowPos2fv 447
+#define _gloffset_WindowPos2i 448
+#define _gloffset_WindowPos2iv 449
+#define _gloffset_WindowPos2s 450
+#define _gloffset_WindowPos2sv 451
+#define _gloffset_WindowPos3d 452
+#define _gloffset_WindowPos3dv 453
+#define _gloffset_WindowPos3f 454
+#define _gloffset_WindowPos3fv 455
+#define _gloffset_WindowPos3i 456
+#define _gloffset_WindowPos3iv 457
+#define _gloffset_WindowPos3s 458
+#define _gloffset_WindowPos3sv 459
+#define _gloffset_BeginQuery 460
+#define _gloffset_BindBuffer 461
+#define _gloffset_BufferData 462
+#define _gloffset_BufferSubData 463
+#define _gloffset_DeleteBuffers 464
+#define _gloffset_DeleteQueries 465
+#define _gloffset_EndQuery 466
+#define _gloffset_GenBuffers 467
+#define _gloffset_GenQueries 468
+#define _gloffset_GetBufferParameteriv 469
+#define _gloffset_GetBufferPointerv 470
+#define _gloffset_GetBufferSubData 471
+#define _gloffset_GetQueryObjectiv 472
+#define _gloffset_GetQueryObjectuiv 473
+#define _gloffset_GetQueryiv 474
+#define _gloffset_IsBuffer 475
+#define _gloffset_IsQuery 476
+#define _gloffset_MapBuffer 477
+#define _gloffset_UnmapBuffer 478
+#define _gloffset_AttachShader 479
+#define _gloffset_BindAttribLocation 480
+#define _gloffset_BlendEquationSeparate 481
+#define _gloffset_CompileShader 482
+#define _gloffset_CreateProgram 483
+#define _gloffset_CreateShader 484
+#define _gloffset_DeleteProgram 485
+#define _gloffset_DeleteShader 486
+#define _gloffset_DetachShader 487
+#define _gloffset_DisableVertexAttribArray 488
+#define _gloffset_DrawBuffers 489
+#define _gloffset_EnableVertexAttribArray 490
+#define _gloffset_GetActiveAttrib 491
+#define _gloffset_GetActiveUniform 492
+#define _gloffset_GetAttachedShaders 493
+#define _gloffset_GetAttribLocation 494
+#define _gloffset_GetProgramInfoLog 495
+#define _gloffset_GetProgramiv 496
+#define _gloffset_GetShaderInfoLog 497
+#define _gloffset_GetShaderSource 498
+#define _gloffset_GetShaderiv 499
+#define _gloffset_GetUniformLocation 500
+#define _gloffset_GetUniformfv 501
+#define _gloffset_GetUniformiv 502
+#define _gloffset_GetVertexAttribPointerv 503
+#define _gloffset_GetVertexAttribdv 504
+#define _gloffset_GetVertexAttribfv 505
+#define _gloffset_GetVertexAttribiv 506
+#define _gloffset_IsProgram 507
+#define _gloffset_IsShader 508
+#define _gloffset_LinkProgram 509
+#define _gloffset_ShaderSource 510
+#define _gloffset_StencilFuncSeparate 511
+#define _gloffset_StencilMaskSeparate 512
+#define _gloffset_StencilOpSeparate 513
+#define _gloffset_Uniform1f 514
+#define _gloffset_Uniform1fv 515
+#define _gloffset_Uniform1i 516
+#define _gloffset_Uniform1iv 517
+#define _gloffset_Uniform2f 518
+#define _gloffset_Uniform2fv 519
+#define _gloffset_Uniform2i 520
+#define _gloffset_Uniform2iv 521
+#define _gloffset_Uniform3f 522
+#define _gloffset_Uniform3fv 523
+#define _gloffset_Uniform3i 524
+#define _gloffset_Uniform3iv 525
+#define _gloffset_Uniform4f 526
+#define _gloffset_Uniform4fv 527
+#define _gloffset_Uniform4i 528
+#define _gloffset_Uniform4iv 529
+#define _gloffset_UniformMatrix2fv 530
+#define _gloffset_UniformMatrix3fv 531
+#define _gloffset_UniformMatrix4fv 532
+#define _gloffset_UseProgram 533
+#define _gloffset_ValidateProgram 534
+#define _gloffset_VertexAttrib1d 535
+#define _gloffset_VertexAttrib1dv 536
+#define _gloffset_VertexAttrib1s 537
+#define _gloffset_VertexAttrib1sv 538
+#define _gloffset_VertexAttrib2d 539
+#define _gloffset_VertexAttrib2dv 540
+#define _gloffset_VertexAttrib2s 541
+#define _gloffset_VertexAttrib2sv 542
+#define _gloffset_VertexAttrib3d 543
+#define _gloffset_VertexAttrib3dv 544
+#define _gloffset_VertexAttrib3s 545
+#define _gloffset_VertexAttrib3sv 546
+#define _gloffset_VertexAttrib4Nbv 547
+#define _gloffset_VertexAttrib4Niv 548
+#define _gloffset_VertexAttrib4Nsv 549
+#define _gloffset_VertexAttrib4Nub 550
+#define _gloffset_VertexAttrib4Nubv 551
+#define _gloffset_VertexAttrib4Nuiv 552
+#define _gloffset_VertexAttrib4Nusv 553
+#define _gloffset_VertexAttrib4bv 554
+#define _gloffset_VertexAttrib4d 555
+#define _gloffset_VertexAttrib4dv 556
+#define _gloffset_VertexAttrib4iv 557
+#define _gloffset_VertexAttrib4s 558
+#define _gloffset_VertexAttrib4sv 559
+#define _gloffset_VertexAttrib4ubv 560
+#define _gloffset_VertexAttrib4uiv 561
+#define _gloffset_VertexAttrib4usv 562
+#define _gloffset_VertexAttribPointer 563
+#define _gloffset_UniformMatrix2x3fv 564
+#define _gloffset_UniformMatrix2x4fv 565
+#define _gloffset_UniformMatrix3x2fv 566
+#define _gloffset_UniformMatrix3x4fv 567
+#define _gloffset_UniformMatrix4x2fv 568
+#define _gloffset_UniformMatrix4x3fv 569
+#define _gloffset_BeginConditionalRender 570
+#define _gloffset_BeginTransformFeedback 571
+#define _gloffset_BindBufferBase 572
+#define _gloffset_BindBufferRange 573
+#define _gloffset_BindFragDataLocation 574
+#define _gloffset_ClampColor 575
+#define _gloffset_ClearBufferfi 576
+#define _gloffset_ClearBufferfv 577
+#define _gloffset_ClearBufferiv 578
+#define _gloffset_ClearBufferuiv 579
+#define _gloffset_ColorMaski 580
+#define _gloffset_Disablei 581
+#define _gloffset_Enablei 582
+#define _gloffset_EndConditionalRender 583
+#define _gloffset_EndTransformFeedback 584
+#define _gloffset_GetBooleani_v 585
+#define _gloffset_GetFragDataLocation 586
+#define _gloffset_GetIntegeri_v 587
+#define _gloffset_GetStringi 588
+#define _gloffset_GetTexParameterIiv 589
+#define _gloffset_GetTexParameterIuiv 590
+#define _gloffset_GetTransformFeedbackVarying 591
+#define _gloffset_GetUniformuiv 592
+#define _gloffset_GetVertexAttribIiv 593
+#define _gloffset_GetVertexAttribIuiv 594
+#define _gloffset_IsEnabledi 595
+#define _gloffset_TexParameterIiv 596
+#define _gloffset_TexParameterIuiv 597
+#define _gloffset_TransformFeedbackVaryings 598
+#define _gloffset_Uniform1ui 599
+#define _gloffset_Uniform1uiv 600
+#define _gloffset_Uniform2ui 601
+#define _gloffset_Uniform2uiv 602
+#define _gloffset_Uniform3ui 603
+#define _gloffset_Uniform3uiv 604
+#define _gloffset_Uniform4ui 605
+#define _gloffset_Uniform4uiv 606
+#define _gloffset_VertexAttribI1iv 607
+#define _gloffset_VertexAttribI1uiv 608
+#define _gloffset_VertexAttribI4bv 609
+#define _gloffset_VertexAttribI4sv 610
+#define _gloffset_VertexAttribI4ubv 611
+#define _gloffset_VertexAttribI4usv 612
+#define _gloffset_VertexAttribIPointer 613
+#define _gloffset_PrimitiveRestartIndex 614
+#define _gloffset_TexBuffer 615
+#define _gloffset_FramebufferTexture 616
+#define _gloffset_GetBufferParameteri64v 617
+#define _gloffset_GetInteger64i_v 618
+#define _gloffset_VertexAttribDivisor 619
+#define _gloffset_BindProgramARB 620
+#define _gloffset_DeleteProgramsARB 621
+#define _gloffset_GenProgramsARB 622
+#define _gloffset_GetProgramEnvParameterdvARB 623
+#define _gloffset_GetProgramEnvParameterfvARB 624
+#define _gloffset_GetProgramLocalParameterdvARB 625
+#define _gloffset_GetProgramLocalParameterfvARB 626
+#define _gloffset_GetProgramStringARB 627
+#define _gloffset_GetProgramivARB 628
+#define _gloffset_IsProgramARB 629
+#define _gloffset_ProgramEnvParameter4dARB 630
+#define _gloffset_ProgramEnvParameter4dvARB 631
+#define _gloffset_ProgramEnvParameter4fARB 632
+#define _gloffset_ProgramEnvParameter4fvARB 633
+#define _gloffset_ProgramLocalParameter4dARB 634
+#define _gloffset_ProgramLocalParameter4dvARB 635
+#define _gloffset_ProgramLocalParameter4fARB 636
+#define _gloffset_ProgramLocalParameter4fvARB 637
+#define _gloffset_ProgramStringARB 638
+#define _gloffset_VertexAttrib1fARB 639
+#define _gloffset_VertexAttrib1fvARB 640
+#define _gloffset_VertexAttrib2fARB 641
+#define _gloffset_VertexAttrib2fvARB 642
+#define _gloffset_VertexAttrib3fARB 643
+#define _gloffset_VertexAttrib3fvARB 644
+#define _gloffset_VertexAttrib4fARB 645
+#define _gloffset_VertexAttrib4fvARB 646
+#define _gloffset_AttachObjectARB 647
+#define _gloffset_CreateProgramObjectARB 648
+#define _gloffset_CreateShaderObjectARB 649
+#define _gloffset_DeleteObjectARB 650
+#define _gloffset_DetachObjectARB 651
+#define _gloffset_GetAttachedObjectsARB 652
+#define _gloffset_GetHandleARB 653
+#define _gloffset_GetInfoLogARB 654
+#define _gloffset_GetObjectParameterfvARB 655
+#define _gloffset_GetObjectParameterivARB 656
+#define _gloffset_DrawArraysInstancedARB 657
+#define _gloffset_DrawElementsInstancedARB 658
+#define _gloffset_BindFramebuffer 659
+#define _gloffset_BindRenderbuffer 660
+#define _gloffset_BlitFramebuffer 661
+#define _gloffset_CheckFramebufferStatus 662
+#define _gloffset_DeleteFramebuffers 663
+#define _gloffset_DeleteRenderbuffers 664
+#define _gloffset_FramebufferRenderbuffer 665
+#define _gloffset_FramebufferTexture1D 666
+#define _gloffset_FramebufferTexture2D 667
+#define _gloffset_FramebufferTexture3D 668
+#define _gloffset_FramebufferTextureLayer 669
+#define _gloffset_GenFramebuffers 670
+#define _gloffset_GenRenderbuffers 671
+#define _gloffset_GenerateMipmap 672
+#define _gloffset_GetFramebufferAttachmentParameteriv 673
+#define _gloffset_GetRenderbufferParameteriv 674
+#define _gloffset_IsFramebuffer 675
+#define _gloffset_IsRenderbuffer 676
+#define _gloffset_RenderbufferStorage 677
+#define _gloffset_RenderbufferStorageMultisample 678
+#define _gloffset_FramebufferTextureFaceARB 679
+#define _gloffset_FlushMappedBufferRange 680
+#define _gloffset_MapBufferRange 681
+#define _gloffset_BindVertexArray 682
+#define _gloffset_DeleteVertexArrays 683
+#define _gloffset_GenVertexArrays 684
+#define _gloffset_IsVertexArray 685
+#define _gloffset_GetActiveUniformBlockName 686
+#define _gloffset_GetActiveUniformBlockiv 687
+#define _gloffset_GetActiveUniformName 688
+#define _gloffset_GetActiveUniformsiv 689
+#define _gloffset_GetUniformBlockIndex 690
+#define _gloffset_GetUniformIndices 691
+#define _gloffset_UniformBlockBinding 692
+#define _gloffset_CopyBufferSubData 693
+#define _gloffset_ClientWaitSync 694
+#define _gloffset_DeleteSync 695
+#define _gloffset_FenceSync 696
+#define _gloffset_GetInteger64v 697
+#define _gloffset_GetSynciv 698
+#define _gloffset_IsSync 699
+#define _gloffset_WaitSync 700
+#define _gloffset_DrawElementsBaseVertex 701
+#define _gloffset_DrawElementsInstancedBaseVertex 702
+#define _gloffset_DrawRangeElementsBaseVertex 703
+#define _gloffset_MultiDrawElementsBaseVertex 704
+#define _gloffset_ProvokingVertex 705
+#define _gloffset_GetMultisamplefv 706
+#define _gloffset_SampleMaski 707
+#define _gloffset_TexImage2DMultisample 708
+#define _gloffset_TexImage3DMultisample 709
+#define _gloffset_BlendEquationSeparateiARB 710
+#define _gloffset_BlendEquationiARB 711
+#define _gloffset_BlendFuncSeparateiARB 712
+#define _gloffset_BlendFunciARB 713
+#define _gloffset_BindFragDataLocationIndexed 714
+#define _gloffset_GetFragDataIndex 715
+#define _gloffset_BindSampler 716
+#define _gloffset_DeleteSamplers 717
+#define _gloffset_GenSamplers 718
+#define _gloffset_GetSamplerParameterIiv 719
+#define _gloffset_GetSamplerParameterIuiv 720
+#define _gloffset_GetSamplerParameterfv 721
+#define _gloffset_GetSamplerParameteriv 722
+#define _gloffset_IsSampler 723
+#define _gloffset_SamplerParameterIiv 724
+#define _gloffset_SamplerParameterIuiv 725
+#define _gloffset_SamplerParameterf 726
+#define _gloffset_SamplerParameterfv 727
+#define _gloffset_SamplerParameteri 728
+#define _gloffset_SamplerParameteriv 729
+#define _gloffset_GetQueryObjecti64v 730
+#define _gloffset_GetQueryObjectui64v 731
+#define _gloffset_QueryCounter 732
+#define _gloffset_ColorP3ui 733
+#define _gloffset_ColorP3uiv 734
+#define _gloffset_ColorP4ui 735
+#define _gloffset_ColorP4uiv 736
+#define _gloffset_MultiTexCoordP1ui 737
+#define _gloffset_MultiTexCoordP1uiv 738
+#define _gloffset_MultiTexCoordP2ui 739
+#define _gloffset_MultiTexCoordP2uiv 740
+#define _gloffset_MultiTexCoordP3ui 741
+#define _gloffset_MultiTexCoordP3uiv 742
+#define _gloffset_MultiTexCoordP4ui 743
+#define _gloffset_MultiTexCoordP4uiv 744
+#define _gloffset_NormalP3ui 745
+#define _gloffset_NormalP3uiv 746
+#define _gloffset_SecondaryColorP3ui 747
+#define _gloffset_SecondaryColorP3uiv 748
+#define _gloffset_TexCoordP1ui 749
+#define _gloffset_TexCoordP1uiv 750
+#define _gloffset_TexCoordP2ui 751
+#define _gloffset_TexCoordP2uiv 752
+#define _gloffset_TexCoordP3ui 753
+#define _gloffset_TexCoordP3uiv 754
+#define _gloffset_TexCoordP4ui 755
+#define _gloffset_TexCoordP4uiv 756
+#define _gloffset_VertexAttribP1ui 757
+#define _gloffset_VertexAttribP1uiv 758
+#define _gloffset_VertexAttribP2ui 759
+#define _gloffset_VertexAttribP2uiv 760
+#define _gloffset_VertexAttribP3ui 761
+#define _gloffset_VertexAttribP3uiv 762
+#define _gloffset_VertexAttribP4ui 763
+#define _gloffset_VertexAttribP4uiv 764
+#define _gloffset_VertexP2ui 765
+#define _gloffset_VertexP2uiv 766
+#define _gloffset_VertexP3ui 767
+#define _gloffset_VertexP3uiv 768
+#define _gloffset_VertexP4ui 769
+#define _gloffset_VertexP4uiv 770
+#define _gloffset_BindTransformFeedback 771
+#define _gloffset_DeleteTransformFeedbacks 772
+#define _gloffset_DrawTransformFeedback 773
+#define _gloffset_GenTransformFeedbacks 774
+#define _gloffset_IsTransformFeedback 775
+#define _gloffset_PauseTransformFeedback 776
+#define _gloffset_ResumeTransformFeedback 777
+#define _gloffset_BeginQueryIndexed 778
+#define _gloffset_DrawTransformFeedbackStream 779
+#define _gloffset_EndQueryIndexed 780
+#define _gloffset_GetQueryIndexediv 781
+#define _gloffset_ClearDepthf 782
+#define _gloffset_DepthRangef 783
+#define _gloffset_GetShaderPrecisionFormat 784
+#define _gloffset_ReleaseShaderCompiler 785
+#define _gloffset_ShaderBinary 786
+#define _gloffset_GetProgramBinary 787
+#define _gloffset_ProgramBinary 788
+#define _gloffset_ProgramParameteri 789
+#define _gloffset_DebugMessageCallbackARB 790
+#define _gloffset_DebugMessageControlARB 791
+#define _gloffset_DebugMessageInsertARB 792
+#define _gloffset_GetDebugMessageLogARB 793
+#define _gloffset_GetGraphicsResetStatusARB 794
+#define _gloffset_GetnColorTableARB 795
+#define _gloffset_GetnCompressedTexImageARB 796
+#define _gloffset_GetnConvolutionFilterARB 797
+#define _gloffset_GetnHistogramARB 798
+#define _gloffset_GetnMapdvARB 799
+#define _gloffset_GetnMapfvARB 800
+#define _gloffset_GetnMapivARB 801
+#define _gloffset_GetnMinmaxARB 802
+#define _gloffset_GetnPixelMapfvARB 803
+#define _gloffset_GetnPixelMapuivARB 804
+#define _gloffset_GetnPixelMapusvARB 805
+#define _gloffset_GetnPolygonStippleARB 806
+#define _gloffset_GetnSeparableFilterARB 807
+#define _gloffset_GetnTexImageARB 808
+#define _gloffset_GetnUniformdvARB 809
+#define _gloffset_GetnUniformfvARB 810
+#define _gloffset_GetnUniformivARB 811
+#define _gloffset_GetnUniformuivARB 812
+#define _gloffset_ReadnPixelsARB 813
+#define _gloffset_DrawArraysInstancedBaseInstance 814
+#define _gloffset_DrawElementsInstancedBaseInstance 815
+#define _gloffset_DrawElementsInstancedBaseVertexBaseInstance 816
+#define _gloffset_DrawTransformFeedbackInstanced 817
+#define _gloffset_DrawTransformFeedbackStreamInstanced 818
+#define _gloffset_GetInternalformativ 819
+#define _gloffset_TexStorage1D 820
+#define _gloffset_TexStorage2D 821
+#define _gloffset_TexStorage3D 822
+#define _gloffset_TextureStorage1DEXT 823
+#define _gloffset_TextureStorage2DEXT 824
+#define _gloffset_TextureStorage3DEXT 825
+#define _gloffset_TexBufferRange 826
+#define _gloffset_InvalidateBufferData 827
+#define _gloffset_InvalidateBufferSubData 828
+#define _gloffset_InvalidateFramebuffer 829
+#define _gloffset_InvalidateSubFramebuffer 830
+#define _gloffset_InvalidateTexImage 831
+#define _gloffset_InvalidateTexSubImage 832
+#define _gloffset_PolygonOffsetEXT 833
+#define _gloffset_DrawTexfOES 834
+#define _gloffset_DrawTexfvOES 835
+#define _gloffset_DrawTexiOES 836
+#define _gloffset_DrawTexivOES 837
+#define _gloffset_DrawTexsOES 838
+#define _gloffset_DrawTexsvOES 839
+#define _gloffset_DrawTexxOES 840
+#define _gloffset_DrawTexxvOES 841
+#define _gloffset_PointSizePointerOES 842
+#define _gloffset_QueryMatrixxOES 843
+#define _gloffset_SampleMaskSGIS 844
+#define _gloffset_SamplePatternSGIS 845
+#define _gloffset_ColorPointerEXT 846
+#define _gloffset_EdgeFlagPointerEXT 847
+#define _gloffset_IndexPointerEXT 848
+#define _gloffset_NormalPointerEXT 849
+#define _gloffset_TexCoordPointerEXT 850
+#define _gloffset_VertexPointerEXT 851
+#define _gloffset_DiscardFramebufferEXT 852
+#define _gloffset_LockArraysEXT 853
+#define _gloffset_UnlockArraysEXT 854
+#define _gloffset_SecondaryColor3fEXT 855
+#define _gloffset_SecondaryColor3fvEXT 856
+#define _gloffset_MultiDrawElementsEXT 857
+#define _gloffset_FogCoordfEXT 858
+#define _gloffset_FogCoordfvEXT 859
+#define _gloffset_ResizeBuffersMESA 860
+#define _gloffset_WindowPos4dMESA 861
+#define _gloffset_WindowPos4dvMESA 862
+#define _gloffset_WindowPos4fMESA 863
+#define _gloffset_WindowPos4fvMESA 864
+#define _gloffset_WindowPos4iMESA 865
+#define _gloffset_WindowPos4ivMESA 866
+#define _gloffset_WindowPos4sMESA 867
+#define _gloffset_WindowPos4svMESA 868
+#define _gloffset_MultiModeDrawArraysIBM 869
+#define _gloffset_MultiModeDrawElementsIBM 870
+#define _gloffset_AreProgramsResidentNV 871
+#define _gloffset_ExecuteProgramNV 872
+#define _gloffset_GetProgramParameterdvNV 873
+#define _gloffset_GetProgramParameterfvNV 874
+#define _gloffset_GetProgramStringNV 875
+#define _gloffset_GetProgramivNV 876
+#define _gloffset_GetTrackMatrixivNV 877
+#define _gloffset_GetVertexAttribdvNV 878
+#define _gloffset_GetVertexAttribfvNV 879
+#define _gloffset_GetVertexAttribivNV 880
+#define _gloffset_LoadProgramNV 881
+#define _gloffset_ProgramParameters4dvNV 882
+#define _gloffset_ProgramParameters4fvNV 883
+#define _gloffset_RequestResidentProgramsNV 884
+#define _gloffset_TrackMatrixNV 885
+#define _gloffset_VertexAttrib1dNV 886
+#define _gloffset_VertexAttrib1dvNV 887
+#define _gloffset_VertexAttrib1fNV 888
+#define _gloffset_VertexAttrib1fvNV 889
+#define _gloffset_VertexAttrib1sNV 890
+#define _gloffset_VertexAttrib1svNV 891
+#define _gloffset_VertexAttrib2dNV 892
+#define _gloffset_VertexAttrib2dvNV 893
+#define _gloffset_VertexAttrib2fNV 894
+#define _gloffset_VertexAttrib2fvNV 895
+#define _gloffset_VertexAttrib2sNV 896
+#define _gloffset_VertexAttrib2svNV 897
+#define _gloffset_VertexAttrib3dNV 898
+#define _gloffset_VertexAttrib3dvNV 899
+#define _gloffset_VertexAttrib3fNV 900
+#define _gloffset_VertexAttrib3fvNV 901
+#define _gloffset_VertexAttrib3sNV 902
+#define _gloffset_VertexAttrib3svNV 903
+#define _gloffset_VertexAttrib4dNV 904
+#define _gloffset_VertexAttrib4dvNV 905
+#define _gloffset_VertexAttrib4fNV 906
+#define _gloffset_VertexAttrib4fvNV 907
+#define _gloffset_VertexAttrib4sNV 908
+#define _gloffset_VertexAttrib4svNV 909
+#define _gloffset_VertexAttrib4ubNV 910
+#define _gloffset_VertexAttrib4ubvNV 911
+#define _gloffset_VertexAttribPointerNV 912
+#define _gloffset_VertexAttribs1dvNV 913
+#define _gloffset_VertexAttribs1fvNV 914
+#define _gloffset_VertexAttribs1svNV 915
+#define _gloffset_VertexAttribs2dvNV 916
+#define _gloffset_VertexAttribs2fvNV 917
+#define _gloffset_VertexAttribs2svNV 918
+#define _gloffset_VertexAttribs3dvNV 919
+#define _gloffset_VertexAttribs3fvNV 920
+#define _gloffset_VertexAttribs3svNV 921
+#define _gloffset_VertexAttribs4dvNV 922
+#define _gloffset_VertexAttribs4fvNV 923
+#define _gloffset_VertexAttribs4svNV 924
+#define _gloffset_VertexAttribs4ubvNV 925
+#define _gloffset_GetTexBumpParameterfvATI 926
+#define _gloffset_GetTexBumpParameterivATI 927
+#define _gloffset_TexBumpParameterfvATI 928
+#define _gloffset_TexBumpParameterivATI 929
+#define _gloffset_AlphaFragmentOp1ATI 930
+#define _gloffset_AlphaFragmentOp2ATI 931
+#define _gloffset_AlphaFragmentOp3ATI 932
+#define _gloffset_BeginFragmentShaderATI 933
+#define _gloffset_BindFragmentShaderATI 934
+#define _gloffset_ColorFragmentOp1ATI 935
+#define _gloffset_ColorFragmentOp2ATI 936
+#define _gloffset_ColorFragmentOp3ATI 937
+#define _gloffset_DeleteFragmentShaderATI 938
+#define _gloffset_EndFragmentShaderATI 939
+#define _gloffset_GenFragmentShadersATI 940
+#define _gloffset_PassTexCoordATI 941
+#define _gloffset_SampleMapATI 942
+#define _gloffset_SetFragmentShaderConstantATI 943
+#define _gloffset_ActiveStencilFaceEXT 944
+#define _gloffset_BindVertexArrayAPPLE 945
+#define _gloffset_GenVertexArraysAPPLE 946
+#define _gloffset_GetProgramNamedParameterdvNV 947
+#define _gloffset_GetProgramNamedParameterfvNV 948
+#define _gloffset_ProgramNamedParameter4dNV 949
+#define _gloffset_ProgramNamedParameter4dvNV 950
+#define _gloffset_ProgramNamedParameter4fNV 951
+#define _gloffset_ProgramNamedParameter4fvNV 952
+#define _gloffset_PrimitiveRestartNV 953
+#define _gloffset_GetTexGenxvOES 954
+#define _gloffset_TexGenxOES 955
+#define _gloffset_TexGenxvOES 956
+#define _gloffset_DepthBoundsEXT 957
+#define _gloffset_BufferParameteriAPPLE 958
+#define _gloffset_FlushMappedBufferRangeAPPLE 959
+#define _gloffset_VertexAttribI1iEXT 960
+#define _gloffset_VertexAttribI1uiEXT 961
+#define _gloffset_VertexAttribI2iEXT 962
+#define _gloffset_VertexAttribI2ivEXT 963
+#define _gloffset_VertexAttribI2uiEXT 964
+#define _gloffset_VertexAttribI2uivEXT 965
+#define _gloffset_VertexAttribI3iEXT 966
+#define _gloffset_VertexAttribI3ivEXT 967
+#define _gloffset_VertexAttribI3uiEXT 968
+#define _gloffset_VertexAttribI3uivEXT 969
+#define _gloffset_VertexAttribI4iEXT 970
+#define _gloffset_VertexAttribI4ivEXT 971
+#define _gloffset_VertexAttribI4uiEXT 972
+#define _gloffset_VertexAttribI4uivEXT 973
+#define _gloffset_ClearColorIiEXT 974
+#define _gloffset_ClearColorIuiEXT 975
+#define _gloffset_BindBufferOffsetEXT 976
+#define _gloffset_GetObjectParameterivAPPLE 977
+#define _gloffset_ObjectPurgeableAPPLE 978
+#define _gloffset_ObjectUnpurgeableAPPLE 979
+#define _gloffset_ActiveProgramEXT 980
+#define _gloffset_CreateShaderProgramEXT 981
+#define _gloffset_UseShaderProgramEXT 982
+#define _gloffset_TextureBarrierNV 983
+#define _gloffset_StencilFuncSeparateATI 984
+#define _gloffset_ProgramEnvParameters4fvEXT 985
+#define _gloffset_ProgramLocalParameters4fvEXT 986
+#define _gloffset_EGLImageTargetRenderbufferStorageOES 987
+#define _gloffset_EGLImageTargetTexture2DOES 988
+#define _gloffset_AlphaFuncx 989
+#define _gloffset_ClearColorx 990
+#define _gloffset_ClearDepthx 991
+#define _gloffset_Color4x 992
+#define _gloffset_DepthRangex 993
+#define _gloffset_Fogx 994
+#define _gloffset_Fogxv 995
+#define _gloffset_Frustumf 996
+#define _gloffset_Frustumx 997
+#define _gloffset_LightModelx 998
+#define _gloffset_LightModelxv 999
+#define _gloffset_Lightx 1000
+#define _gloffset_Lightxv 1001
+#define _gloffset_LineWidthx 1002
+#define _gloffset_LoadMatrixx 1003
+#define _gloffset_Materialx 1004
+#define _gloffset_Materialxv 1005
+#define _gloffset_MultMatrixx 1006
+#define _gloffset_MultiTexCoord4x 1007
+#define _gloffset_Normal3x 1008
+#define _gloffset_Orthof 1009
+#define _gloffset_Orthox 1010
+#define _gloffset_PointSizex 1011
+#define _gloffset_PolygonOffsetx 1012
+#define _gloffset_Rotatex 1013
+#define _gloffset_SampleCoveragex 1014
+#define _gloffset_Scalex 1015
+#define _gloffset_TexEnvx 1016
+#define _gloffset_TexEnvxv 1017
+#define _gloffset_TexParameterx 1018
+#define _gloffset_Translatex 1019
+#define _gloffset_ClipPlanef 1020
+#define _gloffset_ClipPlanex 1021
+#define _gloffset_GetClipPlanef 1022
+#define _gloffset_GetClipPlanex 1023
+#define _gloffset_GetFixedv 1024
+#define _gloffset_GetLightxv 1025
+#define _gloffset_GetMaterialxv 1026
+#define _gloffset_GetTexEnvxv 1027
+#define _gloffset_GetTexParameterxv 1028
+#define _gloffset_PointParameterx 1029
+#define _gloffset_PointParameterxv 1030
+#define _gloffset_TexParameterxv 1031
+
+#else /* !FEATURE_remap_table */
+
+#define driDispatchRemapTable_size 624
+extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
+
+#define CompressedTexImage1D_remap_index 0
+#define CompressedTexImage2D_remap_index 1
+#define CompressedTexImage3D_remap_index 2
+#define CompressedTexSubImage1D_remap_index 3
+#define CompressedTexSubImage2D_remap_index 4
+#define CompressedTexSubImage3D_remap_index 5
+#define GetCompressedTexImage_remap_index 6
+#define LoadTransposeMatrixd_remap_index 7
+#define LoadTransposeMatrixf_remap_index 8
+#define MultTransposeMatrixd_remap_index 9
+#define MultTransposeMatrixf_remap_index 10
+#define SampleCoverage_remap_index 11
+#define BlendFuncSeparate_remap_index 12
+#define FogCoordPointer_remap_index 13
+#define FogCoordd_remap_index 14
+#define FogCoorddv_remap_index 15
+#define MultiDrawArrays_remap_index 16
+#define PointParameterf_remap_index 17
+#define PointParameterfv_remap_index 18
+#define PointParameteri_remap_index 19
+#define PointParameteriv_remap_index 20
+#define SecondaryColor3b_remap_index 21
+#define SecondaryColor3bv_remap_index 22
+#define SecondaryColor3d_remap_index 23
+#define SecondaryColor3dv_remap_index 24
+#define SecondaryColor3i_remap_index 25
+#define SecondaryColor3iv_remap_index 26
+#define SecondaryColor3s_remap_index 27
+#define SecondaryColor3sv_remap_index 28
+#define SecondaryColor3ub_remap_index 29
+#define SecondaryColor3ubv_remap_index 30
+#define SecondaryColor3ui_remap_index 31
+#define SecondaryColor3uiv_remap_index 32
+#define SecondaryColor3us_remap_index 33
+#define SecondaryColor3usv_remap_index 34
+#define SecondaryColorPointer_remap_index 35
+#define WindowPos2d_remap_index 36
+#define WindowPos2dv_remap_index 37
+#define WindowPos2f_remap_index 38
+#define WindowPos2fv_remap_index 39
+#define WindowPos2i_remap_index 40
+#define WindowPos2iv_remap_index 41
+#define WindowPos2s_remap_index 42
+#define WindowPos2sv_remap_index 43
+#define WindowPos3d_remap_index 44
+#define WindowPos3dv_remap_index 45
+#define WindowPos3f_remap_index 46
+#define WindowPos3fv_remap_index 47
+#define WindowPos3i_remap_index 48
+#define WindowPos3iv_remap_index 49
+#define WindowPos3s_remap_index 50
+#define WindowPos3sv_remap_index 51
+#define BeginQuery_remap_index 52
+#define BindBuffer_remap_index 53
+#define BufferData_remap_index 54
+#define BufferSubData_remap_index 55
+#define DeleteBuffers_remap_index 56
+#define DeleteQueries_remap_index 57
+#define EndQuery_remap_index 58
+#define GenBuffers_remap_index 59
+#define GenQueries_remap_index 60
+#define GetBufferParameteriv_remap_index 61
+#define GetBufferPointerv_remap_index 62
+#define GetBufferSubData_remap_index 63
+#define GetQueryObjectiv_remap_index 64
+#define GetQueryObjectuiv_remap_index 65
+#define GetQueryiv_remap_index 66
+#define IsBuffer_remap_index 67
+#define IsQuery_remap_index 68
+#define MapBuffer_remap_index 69
+#define UnmapBuffer_remap_index 70
+#define AttachShader_remap_index 71
+#define BindAttribLocation_remap_index 72
+#define BlendEquationSeparate_remap_index 73
+#define CompileShader_remap_index 74
+#define CreateProgram_remap_index 75
+#define CreateShader_remap_index 76
+#define DeleteProgram_remap_index 77
+#define DeleteShader_remap_index 78
+#define DetachShader_remap_index 79
+#define DisableVertexAttribArray_remap_index 80
+#define DrawBuffers_remap_index 81
+#define EnableVertexAttribArray_remap_index 82
+#define GetActiveAttrib_remap_index 83
+#define GetActiveUniform_remap_index 84
+#define GetAttachedShaders_remap_index 85
+#define GetAttribLocation_remap_index 86
+#define GetProgramInfoLog_remap_index 87
+#define GetProgramiv_remap_index 88
+#define GetShaderInfoLog_remap_index 89
+#define GetShaderSource_remap_index 90
+#define GetShaderiv_remap_index 91
+#define GetUniformLocation_remap_index 92
+#define GetUniformfv_remap_index 93
+#define GetUniformiv_remap_index 94
+#define GetVertexAttribPointerv_remap_index 95
+#define GetVertexAttribdv_remap_index 96
+#define GetVertexAttribfv_remap_index 97
+#define GetVertexAttribiv_remap_index 98
+#define IsProgram_remap_index 99
+#define IsShader_remap_index 100
+#define LinkProgram_remap_index 101
+#define ShaderSource_remap_index 102
+#define StencilFuncSeparate_remap_index 103
+#define StencilMaskSeparate_remap_index 104
+#define StencilOpSeparate_remap_index 105
+#define Uniform1f_remap_index 106
+#define Uniform1fv_remap_index 107
+#define Uniform1i_remap_index 108
+#define Uniform1iv_remap_index 109
+#define Uniform2f_remap_index 110
+#define Uniform2fv_remap_index 111
+#define Uniform2i_remap_index 112
+#define Uniform2iv_remap_index 113
+#define Uniform3f_remap_index 114
+#define Uniform3fv_remap_index 115
+#define Uniform3i_remap_index 116
+#define Uniform3iv_remap_index 117
+#define Uniform4f_remap_index 118
+#define Uniform4fv_remap_index 119
+#define Uniform4i_remap_index 120
+#define Uniform4iv_remap_index 121
+#define UniformMatrix2fv_remap_index 122
+#define UniformMatrix3fv_remap_index 123
+#define UniformMatrix4fv_remap_index 124
+#define UseProgram_remap_index 125
+#define ValidateProgram_remap_index 126
+#define VertexAttrib1d_remap_index 127
+#define VertexAttrib1dv_remap_index 128
+#define VertexAttrib1s_remap_index 129
+#define VertexAttrib1sv_remap_index 130
+#define VertexAttrib2d_remap_index 131
+#define VertexAttrib2dv_remap_index 132
+#define VertexAttrib2s_remap_index 133
+#define VertexAttrib2sv_remap_index 134
+#define VertexAttrib3d_remap_index 135
+#define VertexAttrib3dv_remap_index 136
+#define VertexAttrib3s_remap_index 137
+#define VertexAttrib3sv_remap_index 138
+#define VertexAttrib4Nbv_remap_index 139
+#define VertexAttrib4Niv_remap_index 140
+#define VertexAttrib4Nsv_remap_index 141
+#define VertexAttrib4Nub_remap_index 142
+#define VertexAttrib4Nubv_remap_index 143
+#define VertexAttrib4Nuiv_remap_index 144
+#define VertexAttrib4Nusv_remap_index 145
+#define VertexAttrib4bv_remap_index 146
+#define VertexAttrib4d_remap_index 147
+#define VertexAttrib4dv_remap_index 148
+#define VertexAttrib4iv_remap_index 149
+#define VertexAttrib4s_remap_index 150
+#define VertexAttrib4sv_remap_index 151
+#define VertexAttrib4ubv_remap_index 152
+#define VertexAttrib4uiv_remap_index 153
+#define VertexAttrib4usv_remap_index 154
+#define VertexAttribPointer_remap_index 155
+#define UniformMatrix2x3fv_remap_index 156
+#define UniformMatrix2x4fv_remap_index 157
+#define UniformMatrix3x2fv_remap_index 158
+#define UniformMatrix3x4fv_remap_index 159
+#define UniformMatrix4x2fv_remap_index 160
+#define UniformMatrix4x3fv_remap_index 161
+#define BeginConditionalRender_remap_index 162
+#define BeginTransformFeedback_remap_index 163
+#define BindBufferBase_remap_index 164
+#define BindBufferRange_remap_index 165
+#define BindFragDataLocation_remap_index 166
+#define ClampColor_remap_index 167
+#define ClearBufferfi_remap_index 168
+#define ClearBufferfv_remap_index 169
+#define ClearBufferiv_remap_index 170
+#define ClearBufferuiv_remap_index 171
+#define ColorMaski_remap_index 172
+#define Disablei_remap_index 173
+#define Enablei_remap_index 174
+#define EndConditionalRender_remap_index 175
+#define EndTransformFeedback_remap_index 176
+#define GetBooleani_v_remap_index 177
+#define GetFragDataLocation_remap_index 178
+#define GetIntegeri_v_remap_index 179
+#define GetStringi_remap_index 180
+#define GetTexParameterIiv_remap_index 181
+#define GetTexParameterIuiv_remap_index 182
+#define GetTransformFeedbackVarying_remap_index 183
+#define GetUniformuiv_remap_index 184
+#define GetVertexAttribIiv_remap_index 185
+#define GetVertexAttribIuiv_remap_index 186
+#define IsEnabledi_remap_index 187
+#define TexParameterIiv_remap_index 188
+#define TexParameterIuiv_remap_index 189
+#define TransformFeedbackVaryings_remap_index 190
+#define Uniform1ui_remap_index 191
+#define Uniform1uiv_remap_index 192
+#define Uniform2ui_remap_index 193
+#define Uniform2uiv_remap_index 194
+#define Uniform3ui_remap_index 195
+#define Uniform3uiv_remap_index 196
+#define Uniform4ui_remap_index 197
+#define Uniform4uiv_remap_index 198
+#define VertexAttribI1iv_remap_index 199
+#define VertexAttribI1uiv_remap_index 200
+#define VertexAttribI4bv_remap_index 201
+#define VertexAttribI4sv_remap_index 202
+#define VertexAttribI4ubv_remap_index 203
+#define VertexAttribI4usv_remap_index 204
+#define VertexAttribIPointer_remap_index 205
+#define PrimitiveRestartIndex_remap_index 206
+#define TexBuffer_remap_index 207
+#define FramebufferTexture_remap_index 208
+#define GetBufferParameteri64v_remap_index 209
+#define GetInteger64i_v_remap_index 210
+#define VertexAttribDivisor_remap_index 211
+#define BindProgramARB_remap_index 212
+#define DeleteProgramsARB_remap_index 213
+#define GenProgramsARB_remap_index 214
+#define GetProgramEnvParameterdvARB_remap_index 215
+#define GetProgramEnvParameterfvARB_remap_index 216
+#define GetProgramLocalParameterdvARB_remap_index 217
+#define GetProgramLocalParameterfvARB_remap_index 218
+#define GetProgramStringARB_remap_index 219
+#define GetProgramivARB_remap_index 220
+#define IsProgramARB_remap_index 221
+#define ProgramEnvParameter4dARB_remap_index 222
+#define ProgramEnvParameter4dvARB_remap_index 223
+#define ProgramEnvParameter4fARB_remap_index 224
+#define ProgramEnvParameter4fvARB_remap_index 225
+#define ProgramLocalParameter4dARB_remap_index 226
+#define ProgramLocalParameter4dvARB_remap_index 227
+#define ProgramLocalParameter4fARB_remap_index 228
+#define ProgramLocalParameter4fvARB_remap_index 229
+#define ProgramStringARB_remap_index 230
+#define VertexAttrib1fARB_remap_index 231
+#define VertexAttrib1fvARB_remap_index 232
+#define VertexAttrib2fARB_remap_index 233
+#define VertexAttrib2fvARB_remap_index 234
+#define VertexAttrib3fARB_remap_index 235
+#define VertexAttrib3fvARB_remap_index 236
+#define VertexAttrib4fARB_remap_index 237
+#define VertexAttrib4fvARB_remap_index 238
+#define AttachObjectARB_remap_index 239
+#define CreateProgramObjectARB_remap_index 240
+#define CreateShaderObjectARB_remap_index 241
+#define DeleteObjectARB_remap_index 242
+#define DetachObjectARB_remap_index 243
+#define GetAttachedObjectsARB_remap_index 244
+#define GetHandleARB_remap_index 245
+#define GetInfoLogARB_remap_index 246
+#define GetObjectParameterfvARB_remap_index 247
+#define GetObjectParameterivARB_remap_index 248
+#define DrawArraysInstancedARB_remap_index 249
+#define DrawElementsInstancedARB_remap_index 250
+#define BindFramebuffer_remap_index 251
+#define BindRenderbuffer_remap_index 252
+#define BlitFramebuffer_remap_index 253
+#define CheckFramebufferStatus_remap_index 254
+#define DeleteFramebuffers_remap_index 255
+#define DeleteRenderbuffers_remap_index 256
+#define FramebufferRenderbuffer_remap_index 257
+#define FramebufferTexture1D_remap_index 258
+#define FramebufferTexture2D_remap_index 259
+#define FramebufferTexture3D_remap_index 260
+#define FramebufferTextureLayer_remap_index 261
+#define GenFramebuffers_remap_index 262
+#define GenRenderbuffers_remap_index 263
+#define GenerateMipmap_remap_index 264
+#define GetFramebufferAttachmentParameteriv_remap_index 265
+#define GetRenderbufferParameteriv_remap_index 266
+#define IsFramebuffer_remap_index 267
+#define IsRenderbuffer_remap_index 268
+#define RenderbufferStorage_remap_index 269
+#define RenderbufferStorageMultisample_remap_index 270
+#define FramebufferTextureFaceARB_remap_index 271
+#define FlushMappedBufferRange_remap_index 272
+#define MapBufferRange_remap_index 273
+#define BindVertexArray_remap_index 274
+#define DeleteVertexArrays_remap_index 275
+#define GenVertexArrays_remap_index 276
+#define IsVertexArray_remap_index 277
+#define GetActiveUniformBlockName_remap_index 278
+#define GetActiveUniformBlockiv_remap_index 279
+#define GetActiveUniformName_remap_index 280
+#define GetActiveUniformsiv_remap_index 281
+#define GetUniformBlockIndex_remap_index 282
+#define GetUniformIndices_remap_index 283
+#define UniformBlockBinding_remap_index 284
+#define CopyBufferSubData_remap_index 285
+#define ClientWaitSync_remap_index 286
+#define DeleteSync_remap_index 287
+#define FenceSync_remap_index 288
+#define GetInteger64v_remap_index 289
+#define GetSynciv_remap_index 290
+#define IsSync_remap_index 291
+#define WaitSync_remap_index 292
+#define DrawElementsBaseVertex_remap_index 293
+#define DrawElementsInstancedBaseVertex_remap_index 294
+#define DrawRangeElementsBaseVertex_remap_index 295
+#define MultiDrawElementsBaseVertex_remap_index 296
+#define ProvokingVertex_remap_index 297
+#define GetMultisamplefv_remap_index 298
+#define SampleMaski_remap_index 299
+#define TexImage2DMultisample_remap_index 300
+#define TexImage3DMultisample_remap_index 301
+#define BlendEquationSeparateiARB_remap_index 302
+#define BlendEquationiARB_remap_index 303
+#define BlendFuncSeparateiARB_remap_index 304
+#define BlendFunciARB_remap_index 305
+#define BindFragDataLocationIndexed_remap_index 306
+#define GetFragDataIndex_remap_index 307
+#define BindSampler_remap_index 308
+#define DeleteSamplers_remap_index 309
+#define GenSamplers_remap_index 310
+#define GetSamplerParameterIiv_remap_index 311
+#define GetSamplerParameterIuiv_remap_index 312
+#define GetSamplerParameterfv_remap_index 313
+#define GetSamplerParameteriv_remap_index 314
+#define IsSampler_remap_index 315
+#define SamplerParameterIiv_remap_index 316
+#define SamplerParameterIuiv_remap_index 317
+#define SamplerParameterf_remap_index 318
+#define SamplerParameterfv_remap_index 319
+#define SamplerParameteri_remap_index 320
+#define SamplerParameteriv_remap_index 321
+#define GetQueryObjecti64v_remap_index 322
+#define GetQueryObjectui64v_remap_index 323
+#define QueryCounter_remap_index 324
+#define ColorP3ui_remap_index 325
+#define ColorP3uiv_remap_index 326
+#define ColorP4ui_remap_index 327
+#define ColorP4uiv_remap_index 328
+#define MultiTexCoordP1ui_remap_index 329
+#define MultiTexCoordP1uiv_remap_index 330
+#define MultiTexCoordP2ui_remap_index 331
+#define MultiTexCoordP2uiv_remap_index 332
+#define MultiTexCoordP3ui_remap_index 333
+#define MultiTexCoordP3uiv_remap_index 334
+#define MultiTexCoordP4ui_remap_index 335
+#define MultiTexCoordP4uiv_remap_index 336
+#define NormalP3ui_remap_index 337
+#define NormalP3uiv_remap_index 338
+#define SecondaryColorP3ui_remap_index 339
+#define SecondaryColorP3uiv_remap_index 340
+#define TexCoordP1ui_remap_index 341
+#define TexCoordP1uiv_remap_index 342
+#define TexCoordP2ui_remap_index 343
+#define TexCoordP2uiv_remap_index 344
+#define TexCoordP3ui_remap_index 345
+#define TexCoordP3uiv_remap_index 346
+#define TexCoordP4ui_remap_index 347
+#define TexCoordP4uiv_remap_index 348
+#define VertexAttribP1ui_remap_index 349
+#define VertexAttribP1uiv_remap_index 350
+#define VertexAttribP2ui_remap_index 351
+#define VertexAttribP2uiv_remap_index 352
+#define VertexAttribP3ui_remap_index 353
+#define VertexAttribP3uiv_remap_index 354
+#define VertexAttribP4ui_remap_index 355
+#define VertexAttribP4uiv_remap_index 356
+#define VertexP2ui_remap_index 357
+#define VertexP2uiv_remap_index 358
+#define VertexP3ui_remap_index 359
+#define VertexP3uiv_remap_index 360
+#define VertexP4ui_remap_index 361
+#define VertexP4uiv_remap_index 362
+#define BindTransformFeedback_remap_index 363
+#define DeleteTransformFeedbacks_remap_index 364
+#define DrawTransformFeedback_remap_index 365
+#define GenTransformFeedbacks_remap_index 366
+#define IsTransformFeedback_remap_index 367
+#define PauseTransformFeedback_remap_index 368
+#define ResumeTransformFeedback_remap_index 369
+#define BeginQueryIndexed_remap_index 370
+#define DrawTransformFeedbackStream_remap_index 371
+#define EndQueryIndexed_remap_index 372
+#define GetQueryIndexediv_remap_index 373
+#define ClearDepthf_remap_index 374
+#define DepthRangef_remap_index 375
+#define GetShaderPrecisionFormat_remap_index 376
+#define ReleaseShaderCompiler_remap_index 377
+#define ShaderBinary_remap_index 378
+#define GetProgramBinary_remap_index 379
+#define ProgramBinary_remap_index 380
+#define ProgramParameteri_remap_index 381
+#define DebugMessageCallbackARB_remap_index 382
+#define DebugMessageControlARB_remap_index 383
+#define DebugMessageInsertARB_remap_index 384
+#define GetDebugMessageLogARB_remap_index 385
+#define GetGraphicsResetStatusARB_remap_index 386
+#define GetnColorTableARB_remap_index 387
+#define GetnCompressedTexImageARB_remap_index 388
+#define GetnConvolutionFilterARB_remap_index 389
+#define GetnHistogramARB_remap_index 390
+#define GetnMapdvARB_remap_index 391
+#define GetnMapfvARB_remap_index 392
+#define GetnMapivARB_remap_index 393
+#define GetnMinmaxARB_remap_index 394
+#define GetnPixelMapfvARB_remap_index 395
+#define GetnPixelMapuivARB_remap_index 396
+#define GetnPixelMapusvARB_remap_index 397
+#define GetnPolygonStippleARB_remap_index 398
+#define GetnSeparableFilterARB_remap_index 399
+#define GetnTexImageARB_remap_index 400
+#define GetnUniformdvARB_remap_index 401
+#define GetnUniformfvARB_remap_index 402
+#define GetnUniformivARB_remap_index 403
+#define GetnUniformuivARB_remap_index 404
+#define ReadnPixelsARB_remap_index 405
+#define DrawArraysInstancedBaseInstance_remap_index 406
+#define DrawElementsInstancedBaseInstance_remap_index 407
+#define DrawElementsInstancedBaseVertexBaseInstance_remap_index 408
+#define DrawTransformFeedbackInstanced_remap_index 409
+#define DrawTransformFeedbackStreamInstanced_remap_index 410
+#define GetInternalformativ_remap_index 411
+#define TexStorage1D_remap_index 412
+#define TexStorage2D_remap_index 413
+#define TexStorage3D_remap_index 414
+#define TextureStorage1DEXT_remap_index 415
+#define TextureStorage2DEXT_remap_index 416
+#define TextureStorage3DEXT_remap_index 417
+#define TexBufferRange_remap_index 418
+#define InvalidateBufferData_remap_index 419
+#define InvalidateBufferSubData_remap_index 420
+#define InvalidateFramebuffer_remap_index 421
+#define InvalidateSubFramebuffer_remap_index 422
+#define InvalidateTexImage_remap_index 423
+#define InvalidateTexSubImage_remap_index 424
+#define PolygonOffsetEXT_remap_index 425
+#define DrawTexfOES_remap_index 426
+#define DrawTexfvOES_remap_index 427
+#define DrawTexiOES_remap_index 428
+#define DrawTexivOES_remap_index 429
+#define DrawTexsOES_remap_index 430
+#define DrawTexsvOES_remap_index 431
+#define DrawTexxOES_remap_index 432
+#define DrawTexxvOES_remap_index 433
+#define PointSizePointerOES_remap_index 434
+#define QueryMatrixxOES_remap_index 435
+#define SampleMaskSGIS_remap_index 436
+#define SamplePatternSGIS_remap_index 437
+#define ColorPointerEXT_remap_index 438
+#define EdgeFlagPointerEXT_remap_index 439
+#define IndexPointerEXT_remap_index 440
+#define NormalPointerEXT_remap_index 441
+#define TexCoordPointerEXT_remap_index 442
+#define VertexPointerEXT_remap_index 443
+#define DiscardFramebufferEXT_remap_index 444
+#define LockArraysEXT_remap_index 445
+#define UnlockArraysEXT_remap_index 446
+#define SecondaryColor3fEXT_remap_index 447
+#define SecondaryColor3fvEXT_remap_index 448
+#define MultiDrawElementsEXT_remap_index 449
+#define FogCoordfEXT_remap_index 450
+#define FogCoordfvEXT_remap_index 451
+#define ResizeBuffersMESA_remap_index 452
+#define WindowPos4dMESA_remap_index 453
+#define WindowPos4dvMESA_remap_index 454
+#define WindowPos4fMESA_remap_index 455
+#define WindowPos4fvMESA_remap_index 456
+#define WindowPos4iMESA_remap_index 457
+#define WindowPos4ivMESA_remap_index 458
+#define WindowPos4sMESA_remap_index 459
+#define WindowPos4svMESA_remap_index 460
+#define MultiModeDrawArraysIBM_remap_index 461
+#define MultiModeDrawElementsIBM_remap_index 462
+#define AreProgramsResidentNV_remap_index 463
+#define ExecuteProgramNV_remap_index 464
+#define GetProgramParameterdvNV_remap_index 465
+#define GetProgramParameterfvNV_remap_index 466
+#define GetProgramStringNV_remap_index 467
+#define GetProgramivNV_remap_index 468
+#define GetTrackMatrixivNV_remap_index 469
+#define GetVertexAttribdvNV_remap_index 470
+#define GetVertexAttribfvNV_remap_index 471
+#define GetVertexAttribivNV_remap_index 472
+#define LoadProgramNV_remap_index 473
+#define ProgramParameters4dvNV_remap_index 474
+#define ProgramParameters4fvNV_remap_index 475
+#define RequestResidentProgramsNV_remap_index 476
+#define TrackMatrixNV_remap_index 477
+#define VertexAttrib1dNV_remap_index 478
+#define VertexAttrib1dvNV_remap_index 479
+#define VertexAttrib1fNV_remap_index 480
+#define VertexAttrib1fvNV_remap_index 481
+#define VertexAttrib1sNV_remap_index 482
+#define VertexAttrib1svNV_remap_index 483
+#define VertexAttrib2dNV_remap_index 484
+#define VertexAttrib2dvNV_remap_index 485
+#define VertexAttrib2fNV_remap_index 486
+#define VertexAttrib2fvNV_remap_index 487
+#define VertexAttrib2sNV_remap_index 488
+#define VertexAttrib2svNV_remap_index 489
+#define VertexAttrib3dNV_remap_index 490
+#define VertexAttrib3dvNV_remap_index 491
+#define VertexAttrib3fNV_remap_index 492
+#define VertexAttrib3fvNV_remap_index 493
+#define VertexAttrib3sNV_remap_index 494
+#define VertexAttrib3svNV_remap_index 495
+#define VertexAttrib4dNV_remap_index 496
+#define VertexAttrib4dvNV_remap_index 497
+#define VertexAttrib4fNV_remap_index 498
+#define VertexAttrib4fvNV_remap_index 499
+#define VertexAttrib4sNV_remap_index 500
+#define VertexAttrib4svNV_remap_index 501
+#define VertexAttrib4ubNV_remap_index 502
+#define VertexAttrib4ubvNV_remap_index 503
+#define VertexAttribPointerNV_remap_index 504
+#define VertexAttribs1dvNV_remap_index 505
+#define VertexAttribs1fvNV_remap_index 506
+#define VertexAttribs1svNV_remap_index 507
+#define VertexAttribs2dvNV_remap_index 508
+#define VertexAttribs2fvNV_remap_index 509
+#define VertexAttribs2svNV_remap_index 510
+#define VertexAttribs3dvNV_remap_index 511
+#define VertexAttribs3fvNV_remap_index 512
+#define VertexAttribs3svNV_remap_index 513
+#define VertexAttribs4dvNV_remap_index 514
+#define VertexAttribs4fvNV_remap_index 515
+#define VertexAttribs4svNV_remap_index 516
+#define VertexAttribs4ubvNV_remap_index 517
+#define GetTexBumpParameterfvATI_remap_index 518
+#define GetTexBumpParameterivATI_remap_index 519
+#define TexBumpParameterfvATI_remap_index 520
+#define TexBumpParameterivATI_remap_index 521
+#define AlphaFragmentOp1ATI_remap_index 522
+#define AlphaFragmentOp2ATI_remap_index 523
+#define AlphaFragmentOp3ATI_remap_index 524
+#define BeginFragmentShaderATI_remap_index 525
+#define BindFragmentShaderATI_remap_index 526
+#define ColorFragmentOp1ATI_remap_index 527
+#define ColorFragmentOp2ATI_remap_index 528
+#define ColorFragmentOp3ATI_remap_index 529
+#define DeleteFragmentShaderATI_remap_index 530
+#define EndFragmentShaderATI_remap_index 531
+#define GenFragmentShadersATI_remap_index 532
+#define PassTexCoordATI_remap_index 533
+#define SampleMapATI_remap_index 534
+#define SetFragmentShaderConstantATI_remap_index 535
+#define ActiveStencilFaceEXT_remap_index 536
+#define BindVertexArrayAPPLE_remap_index 537
+#define GenVertexArraysAPPLE_remap_index 538
+#define GetProgramNamedParameterdvNV_remap_index 539
+#define GetProgramNamedParameterfvNV_remap_index 540
+#define ProgramNamedParameter4dNV_remap_index 541
+#define ProgramNamedParameter4dvNV_remap_index 542
+#define ProgramNamedParameter4fNV_remap_index 543
+#define ProgramNamedParameter4fvNV_remap_index 544
+#define PrimitiveRestartNV_remap_index 545
+#define GetTexGenxvOES_remap_index 546
+#define TexGenxOES_remap_index 547
+#define TexGenxvOES_remap_index 548
+#define DepthBoundsEXT_remap_index 549
+#define BufferParameteriAPPLE_remap_index 550
+#define FlushMappedBufferRangeAPPLE_remap_index 551
+#define VertexAttribI1iEXT_remap_index 552
+#define VertexAttribI1uiEXT_remap_index 553
+#define VertexAttribI2iEXT_remap_index 554
+#define VertexAttribI2ivEXT_remap_index 555
+#define VertexAttribI2uiEXT_remap_index 556
+#define VertexAttribI2uivEXT_remap_index 557
+#define VertexAttribI3iEXT_remap_index 558
+#define VertexAttribI3ivEXT_remap_index 559
+#define VertexAttribI3uiEXT_remap_index 560
+#define VertexAttribI3uivEXT_remap_index 561
+#define VertexAttribI4iEXT_remap_index 562
+#define VertexAttribI4ivEXT_remap_index 563
+#define VertexAttribI4uiEXT_remap_index 564
+#define VertexAttribI4uivEXT_remap_index 565
+#define ClearColorIiEXT_remap_index 566
+#define ClearColorIuiEXT_remap_index 567
+#define BindBufferOffsetEXT_remap_index 568
+#define GetObjectParameterivAPPLE_remap_index 569
+#define ObjectPurgeableAPPLE_remap_index 570
+#define ObjectUnpurgeableAPPLE_remap_index 571
+#define ActiveProgramEXT_remap_index 572
+#define CreateShaderProgramEXT_remap_index 573
+#define UseShaderProgramEXT_remap_index 574
+#define TextureBarrierNV_remap_index 575
+#define StencilFuncSeparateATI_remap_index 576
+#define ProgramEnvParameters4fvEXT_remap_index 577
+#define ProgramLocalParameters4fvEXT_remap_index 578
+#define EGLImageTargetRenderbufferStorageOES_remap_index 579
+#define EGLImageTargetTexture2DOES_remap_index 580
+#define AlphaFuncx_remap_index 581
+#define ClearColorx_remap_index 582
+#define ClearDepthx_remap_index 583
+#define Color4x_remap_index 584
+#define DepthRangex_remap_index 585
+#define Fogx_remap_index 586
+#define Fogxv_remap_index 587
+#define Frustumf_remap_index 588
+#define Frustumx_remap_index 589
+#define LightModelx_remap_index 590
+#define LightModelxv_remap_index 591
+#define Lightx_remap_index 592
+#define Lightxv_remap_index 593
+#define LineWidthx_remap_index 594
+#define LoadMatrixx_remap_index 595
+#define Materialx_remap_index 596
+#define Materialxv_remap_index 597
+#define MultMatrixx_remap_index 598
+#define MultiTexCoord4x_remap_index 599
+#define Normal3x_remap_index 600
+#define Orthof_remap_index 601
+#define Orthox_remap_index 602
+#define PointSizex_remap_index 603
+#define PolygonOffsetx_remap_index 604
+#define Rotatex_remap_index 605
+#define SampleCoveragex_remap_index 606
+#define Scalex_remap_index 607
+#define TexEnvx_remap_index 608
+#define TexEnvxv_remap_index 609
+#define TexParameterx_remap_index 610
+#define Translatex_remap_index 611
+#define ClipPlanef_remap_index 612
+#define ClipPlanex_remap_index 613
+#define GetClipPlanef_remap_index 614
+#define GetClipPlanex_remap_index 615
+#define GetFixedv_remap_index 616
+#define GetLightxv_remap_index 617
+#define GetMaterialxv_remap_index 618
+#define GetTexEnvxv_remap_index 619
+#define GetTexParameterxv_remap_index 620
+#define PointParameterx_remap_index 621
+#define PointParameterxv_remap_index 622
+#define TexParameterxv_remap_index 623
+
+#define _gloffset_CompressedTexImage1D driDispatchRemapTable[CompressedTexImage1D_remap_index]
+#define _gloffset_CompressedTexImage2D driDispatchRemapTable[CompressedTexImage2D_remap_index]
+#define _gloffset_CompressedTexImage3D driDispatchRemapTable[CompressedTexImage3D_remap_index]
+#define _gloffset_CompressedTexSubImage1D driDispatchRemapTable[CompressedTexSubImage1D_remap_index]
+#define _gloffset_CompressedTexSubImage2D driDispatchRemapTable[CompressedTexSubImage2D_remap_index]
+#define _gloffset_CompressedTexSubImage3D driDispatchRemapTable[CompressedTexSubImage3D_remap_index]
+#define _gloffset_GetCompressedTexImage driDispatchRemapTable[GetCompressedTexImage_remap_index]
+#define _gloffset_LoadTransposeMatrixd driDispatchRemapTable[LoadTransposeMatrixd_remap_index]
+#define _gloffset_LoadTransposeMatrixf driDispatchRemapTable[LoadTransposeMatrixf_remap_index]
+#define _gloffset_MultTransposeMatrixd driDispatchRemapTable[MultTransposeMatrixd_remap_index]
+#define _gloffset_MultTransposeMatrixf driDispatchRemapTable[MultTransposeMatrixf_remap_index]
+#define _gloffset_SampleCoverage driDispatchRemapTable[SampleCoverage_remap_index]
+#define _gloffset_BlendFuncSeparate driDispatchRemapTable[BlendFuncSeparate_remap_index]
+#define _gloffset_FogCoordPointer driDispatchRemapTable[FogCoordPointer_remap_index]
+#define _gloffset_FogCoordd driDispatchRemapTable[FogCoordd_remap_index]
+#define _gloffset_FogCoorddv driDispatchRemapTable[FogCoorddv_remap_index]
+#define _gloffset_MultiDrawArrays driDispatchRemapTable[MultiDrawArrays_remap_index]
+#define _gloffset_PointParameterf driDispatchRemapTable[PointParameterf_remap_index]
+#define _gloffset_PointParameterfv driDispatchRemapTable[PointParameterfv_remap_index]
+#define _gloffset_PointParameteri driDispatchRemapTable[PointParameteri_remap_index]
+#define _gloffset_PointParameteriv driDispatchRemapTable[PointParameteriv_remap_index]
+#define _gloffset_SecondaryColor3b driDispatchRemapTable[SecondaryColor3b_remap_index]
+#define _gloffset_SecondaryColor3bv driDispatchRemapTable[SecondaryColor3bv_remap_index]
+#define _gloffset_SecondaryColor3d driDispatchRemapTable[SecondaryColor3d_remap_index]
+#define _gloffset_SecondaryColor3dv driDispatchRemapTable[SecondaryColor3dv_remap_index]
+#define _gloffset_SecondaryColor3i driDispatchRemapTable[SecondaryColor3i_remap_index]
+#define _gloffset_SecondaryColor3iv driDispatchRemapTable[SecondaryColor3iv_remap_index]
+#define _gloffset_SecondaryColor3s driDispatchRemapTable[SecondaryColor3s_remap_index]
+#define _gloffset_SecondaryColor3sv driDispatchRemapTable[SecondaryColor3sv_remap_index]
+#define _gloffset_SecondaryColor3ub driDispatchRemapTable[SecondaryColor3ub_remap_index]
+#define _gloffset_SecondaryColor3ubv driDispatchRemapTable[SecondaryColor3ubv_remap_index]
+#define _gloffset_SecondaryColor3ui driDispatchRemapTable[SecondaryColor3ui_remap_index]
+#define _gloffset_SecondaryColor3uiv driDispatchRemapTable[SecondaryColor3uiv_remap_index]
+#define _gloffset_SecondaryColor3us driDispatchRemapTable[SecondaryColor3us_remap_index]
+#define _gloffset_SecondaryColor3usv driDispatchRemapTable[SecondaryColor3usv_remap_index]
+#define _gloffset_SecondaryColorPointer driDispatchRemapTable[SecondaryColorPointer_remap_index]
+#define _gloffset_WindowPos2d driDispatchRemapTable[WindowPos2d_remap_index]
+#define _gloffset_WindowPos2dv driDispatchRemapTable[WindowPos2dv_remap_index]
+#define _gloffset_WindowPos2f driDispatchRemapTable[WindowPos2f_remap_index]
+#define _gloffset_WindowPos2fv driDispatchRemapTable[WindowPos2fv_remap_index]
+#define _gloffset_WindowPos2i driDispatchRemapTable[WindowPos2i_remap_index]
+#define _gloffset_WindowPos2iv driDispatchRemapTable[WindowPos2iv_remap_index]
+#define _gloffset_WindowPos2s driDispatchRemapTable[WindowPos2s_remap_index]
+#define _gloffset_WindowPos2sv driDispatchRemapTable[WindowPos2sv_remap_index]
+#define _gloffset_WindowPos3d driDispatchRemapTable[WindowPos3d_remap_index]
+#define _gloffset_WindowPos3dv driDispatchRemapTable[WindowPos3dv_remap_index]
+#define _gloffset_WindowPos3f driDispatchRemapTable[WindowPos3f_remap_index]
+#define _gloffset_WindowPos3fv driDispatchRemapTable[WindowPos3fv_remap_index]
+#define _gloffset_WindowPos3i driDispatchRemapTable[WindowPos3i_remap_index]
+#define _gloffset_WindowPos3iv driDispatchRemapTable[WindowPos3iv_remap_index]
+#define _gloffset_WindowPos3s driDispatchRemapTable[WindowPos3s_remap_index]
+#define _gloffset_WindowPos3sv driDispatchRemapTable[WindowPos3sv_remap_index]
+#define _gloffset_BeginQuery driDispatchRemapTable[BeginQuery_remap_index]
+#define _gloffset_BindBuffer driDispatchRemapTable[BindBuffer_remap_index]
+#define _gloffset_BufferData driDispatchRemapTable[BufferData_remap_index]
+#define _gloffset_BufferSubData driDispatchRemapTable[BufferSubData_remap_index]
+#define _gloffset_DeleteBuffers driDispatchRemapTable[DeleteBuffers_remap_index]
+#define _gloffset_DeleteQueries driDispatchRemapTable[DeleteQueries_remap_index]
+#define _gloffset_EndQuery driDispatchRemapTable[EndQuery_remap_index]
+#define _gloffset_GenBuffers driDispatchRemapTable[GenBuffers_remap_index]
+#define _gloffset_GenQueries driDispatchRemapTable[GenQueries_remap_index]
+#define _gloffset_GetBufferParameteriv driDispatchRemapTable[GetBufferParameteriv_remap_index]
+#define _gloffset_GetBufferPointerv driDispatchRemapTable[GetBufferPointerv_remap_index]
+#define _gloffset_GetBufferSubData driDispatchRemapTable[GetBufferSubData_remap_index]
+#define _gloffset_GetQueryObjectiv driDispatchRemapTable[GetQueryObjectiv_remap_index]
+#define _gloffset_GetQueryObjectuiv driDispatchRemapTable[GetQueryObjectuiv_remap_index]
+#define _gloffset_GetQueryiv driDispatchRemapTable[GetQueryiv_remap_index]
+#define _gloffset_IsBuffer driDispatchRemapTable[IsBuffer_remap_index]
+#define _gloffset_IsQuery driDispatchRemapTable[IsQuery_remap_index]
+#define _gloffset_MapBuffer driDispatchRemapTable[MapBuffer_remap_index]
+#define _gloffset_UnmapBuffer driDispatchRemapTable[UnmapBuffer_remap_index]
+#define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index]
+#define _gloffset_BindAttribLocation driDispatchRemapTable[BindAttribLocation_remap_index]
+#define _gloffset_BlendEquationSeparate driDispatchRemapTable[BlendEquationSeparate_remap_index]
+#define _gloffset_CompileShader driDispatchRemapTable[CompileShader_remap_index]
+#define _gloffset_CreateProgram driDispatchRemapTable[CreateProgram_remap_index]
+#define _gloffset_CreateShader driDispatchRemapTable[CreateShader_remap_index]
+#define _gloffset_DeleteProgram driDispatchRemapTable[DeleteProgram_remap_index]
+#define _gloffset_DeleteShader driDispatchRemapTable[DeleteShader_remap_index]
+#define _gloffset_DetachShader driDispatchRemapTable[DetachShader_remap_index]
+#define _gloffset_DisableVertexAttribArray driDispatchRemapTable[DisableVertexAttribArray_remap_index]
+#define _gloffset_DrawBuffers driDispatchRemapTable[DrawBuffers_remap_index]
+#define _gloffset_EnableVertexAttribArray driDispatchRemapTable[EnableVertexAttribArray_remap_index]
+#define _gloffset_GetActiveAttrib driDispatchRemapTable[GetActiveAttrib_remap_index]
+#define _gloffset_GetActiveUniform driDispatchRemapTable[GetActiveUniform_remap_index]
+#define _gloffset_GetAttachedShaders driDispatchRemapTable[GetAttachedShaders_remap_index]
+#define _gloffset_GetAttribLocation driDispatchRemapTable[GetAttribLocation_remap_index]
+#define _gloffset_GetProgramInfoLog driDispatchRemapTable[GetProgramInfoLog_remap_index]
+#define _gloffset_GetProgramiv driDispatchRemapTable[GetProgramiv_remap_index]
+#define _gloffset_GetShaderInfoLog driDispatchRemapTable[GetShaderInfoLog_remap_index]
+#define _gloffset_GetShaderSource driDispatchRemapTable[GetShaderSource_remap_index]
+#define _gloffset_GetShaderiv driDispatchRemapTable[GetShaderiv_remap_index]
+#define _gloffset_GetUniformLocation driDispatchRemapTable[GetUniformLocation_remap_index]
+#define _gloffset_GetUniformfv driDispatchRemapTable[GetUniformfv_remap_index]
+#define _gloffset_GetUniformiv driDispatchRemapTable[GetUniformiv_remap_index]
+#define _gloffset_GetVertexAttribPointerv driDispatchRemapTable[GetVertexAttribPointerv_remap_index]
+#define _gloffset_GetVertexAttribdv driDispatchRemapTable[GetVertexAttribdv_remap_index]
+#define _gloffset_GetVertexAttribfv driDispatchRemapTable[GetVertexAttribfv_remap_index]
+#define _gloffset_GetVertexAttribiv driDispatchRemapTable[GetVertexAttribiv_remap_index]
+#define _gloffset_IsProgram driDispatchRemapTable[IsProgram_remap_index]
+#define _gloffset_IsShader driDispatchRemapTable[IsShader_remap_index]
+#define _gloffset_LinkProgram driDispatchRemapTable[LinkProgram_remap_index]
+#define _gloffset_ShaderSource driDispatchRemapTable[ShaderSource_remap_index]
+#define _gloffset_StencilFuncSeparate driDispatchRemapTable[StencilFuncSeparate_remap_index]
+#define _gloffset_StencilMaskSeparate driDispatchRemapTable[StencilMaskSeparate_remap_index]
+#define _gloffset_StencilOpSeparate driDispatchRemapTable[StencilOpSeparate_remap_index]
+#define _gloffset_Uniform1f driDispatchRemapTable[Uniform1f_remap_index]
+#define _gloffset_Uniform1fv driDispatchRemapTable[Uniform1fv_remap_index]
+#define _gloffset_Uniform1i driDispatchRemapTable[Uniform1i_remap_index]
+#define _gloffset_Uniform1iv driDispatchRemapTable[Uniform1iv_remap_index]
+#define _gloffset_Uniform2f driDispatchRemapTable[Uniform2f_remap_index]
+#define _gloffset_Uniform2fv driDispatchRemapTable[Uniform2fv_remap_index]
+#define _gloffset_Uniform2i driDispatchRemapTable[Uniform2i_remap_index]
+#define _gloffset_Uniform2iv driDispatchRemapTable[Uniform2iv_remap_index]
+#define _gloffset_Uniform3f driDispatchRemapTable[Uniform3f_remap_index]
+#define _gloffset_Uniform3fv driDispatchRemapTable[Uniform3fv_remap_index]
+#define _gloffset_Uniform3i driDispatchRemapTable[Uniform3i_remap_index]
+#define _gloffset_Uniform3iv driDispatchRemapTable[Uniform3iv_remap_index]
+#define _gloffset_Uniform4f driDispatchRemapTable[Uniform4f_remap_index]
+#define _gloffset_Uniform4fv driDispatchRemapTable[Uniform4fv_remap_index]
+#define _gloffset_Uniform4i driDispatchRemapTable[Uniform4i_remap_index]
+#define _gloffset_Uniform4iv driDispatchRemapTable[Uniform4iv_remap_index]
+#define _gloffset_UniformMatrix2fv driDispatchRemapTable[UniformMatrix2fv_remap_index]
+#define _gloffset_UniformMatrix3fv driDispatchRemapTable[UniformMatrix3fv_remap_index]
+#define _gloffset_UniformMatrix4fv driDispatchRemapTable[UniformMatrix4fv_remap_index]
+#define _gloffset_UseProgram driDispatchRemapTable[UseProgram_remap_index]
+#define _gloffset_ValidateProgram driDispatchRemapTable[ValidateProgram_remap_index]
+#define _gloffset_VertexAttrib1d driDispatchRemapTable[VertexAttrib1d_remap_index]
+#define _gloffset_VertexAttrib1dv driDispatchRemapTable[VertexAttrib1dv_remap_index]
+#define _gloffset_VertexAttrib1s driDispatchRemapTable[VertexAttrib1s_remap_index]
+#define _gloffset_VertexAttrib1sv driDispatchRemapTable[VertexAttrib1sv_remap_index]
+#define _gloffset_VertexAttrib2d driDispatchRemapTable[VertexAttrib2d_remap_index]
+#define _gloffset_VertexAttrib2dv driDispatchRemapTable[VertexAttrib2dv_remap_index]
+#define _gloffset_VertexAttrib2s driDispatchRemapTable[VertexAttrib2s_remap_index]
+#define _gloffset_VertexAttrib2sv driDispatchRemapTable[VertexAttrib2sv_remap_index]
+#define _gloffset_VertexAttrib3d driDispatchRemapTable[VertexAttrib3d_remap_index]
+#define _gloffset_VertexAttrib3dv driDispatchRemapTable[VertexAttrib3dv_remap_index]
+#define _gloffset_VertexAttrib3s driDispatchRemapTable[VertexAttrib3s_remap_index]
+#define _gloffset_VertexAttrib3sv driDispatchRemapTable[VertexAttrib3sv_remap_index]
+#define _gloffset_VertexAttrib4Nbv driDispatchRemapTable[VertexAttrib4Nbv_remap_index]
+#define _gloffset_VertexAttrib4Niv driDispatchRemapTable[VertexAttrib4Niv_remap_index]
+#define _gloffset_VertexAttrib4Nsv driDispatchRemapTable[VertexAttrib4Nsv_remap_index]
+#define _gloffset_VertexAttrib4Nub driDispatchRemapTable[VertexAttrib4Nub_remap_index]
+#define _gloffset_VertexAttrib4Nubv driDispatchRemapTable[VertexAttrib4Nubv_remap_index]
+#define _gloffset_VertexAttrib4Nuiv driDispatchRemapTable[VertexAttrib4Nuiv_remap_index]
+#define _gloffset_VertexAttrib4Nusv driDispatchRemapTable[VertexAttrib4Nusv_remap_index]
+#define _gloffset_VertexAttrib4bv driDispatchRemapTable[VertexAttrib4bv_remap_index]
+#define _gloffset_VertexAttrib4d driDispatchRemapTable[VertexAttrib4d_remap_index]
+#define _gloffset_VertexAttrib4dv driDispatchRemapTable[VertexAttrib4dv_remap_index]
+#define _gloffset_VertexAttrib4iv driDispatchRemapTable[VertexAttrib4iv_remap_index]
+#define _gloffset_VertexAttrib4s driDispatchRemapTable[VertexAttrib4s_remap_index]
+#define _gloffset_VertexAttrib4sv driDispatchRemapTable[VertexAttrib4sv_remap_index]
+#define _gloffset_VertexAttrib4ubv driDispatchRemapTable[VertexAttrib4ubv_remap_index]
+#define _gloffset_VertexAttrib4uiv driDispatchRemapTable[VertexAttrib4uiv_remap_index]
+#define _gloffset_VertexAttrib4usv driDispatchRemapTable[VertexAttrib4usv_remap_index]
+#define _gloffset_VertexAttribPointer driDispatchRemapTable[VertexAttribPointer_remap_index]
+#define _gloffset_UniformMatrix2x3fv driDispatchRemapTable[UniformMatrix2x3fv_remap_index]
+#define _gloffset_UniformMatrix2x4fv driDispatchRemapTable[UniformMatrix2x4fv_remap_index]
+#define _gloffset_UniformMatrix3x2fv driDispatchRemapTable[UniformMatrix3x2fv_remap_index]
+#define _gloffset_UniformMatrix3x4fv driDispatchRemapTable[UniformMatrix3x4fv_remap_index]
+#define _gloffset_UniformMatrix4x2fv driDispatchRemapTable[UniformMatrix4x2fv_remap_index]
+#define _gloffset_UniformMatrix4x3fv driDispatchRemapTable[UniformMatrix4x3fv_remap_index]
+#define _gloffset_BeginConditionalRender driDispatchRemapTable[BeginConditionalRender_remap_index]
+#define _gloffset_BeginTransformFeedback driDispatchRemapTable[BeginTransformFeedback_remap_index]
+#define _gloffset_BindBufferBase driDispatchRemapTable[BindBufferBase_remap_index]
+#define _gloffset_BindBufferRange driDispatchRemapTable[BindBufferRange_remap_index]
+#define _gloffset_BindFragDataLocation driDispatchRemapTable[BindFragDataLocation_remap_index]
+#define _gloffset_ClampColor driDispatchRemapTable[ClampColor_remap_index]
+#define _gloffset_ClearBufferfi driDispatchRemapTable[ClearBufferfi_remap_index]
+#define _gloffset_ClearBufferfv driDispatchRemapTable[ClearBufferfv_remap_index]
+#define _gloffset_ClearBufferiv driDispatchRemapTable[ClearBufferiv_remap_index]
+#define _gloffset_ClearBufferuiv driDispatchRemapTable[ClearBufferuiv_remap_index]
+#define _gloffset_ColorMaski driDispatchRemapTable[ColorMaski_remap_index]
+#define _gloffset_Disablei driDispatchRemapTable[Disablei_remap_index]
+#define _gloffset_Enablei driDispatchRemapTable[Enablei_remap_index]
+#define _gloffset_EndConditionalRender driDispatchRemapTable[EndConditionalRender_remap_index]
+#define _gloffset_EndTransformFeedback driDispatchRemapTable[EndTransformFeedback_remap_index]
+#define _gloffset_GetBooleani_v driDispatchRemapTable[GetBooleani_v_remap_index]
+#define _gloffset_GetFragDataLocation driDispatchRemapTable[GetFragDataLocation_remap_index]
+#define _gloffset_GetIntegeri_v driDispatchRemapTable[GetIntegeri_v_remap_index]
+#define _gloffset_GetStringi driDispatchRemapTable[GetStringi_remap_index]
+#define _gloffset_GetTexParameterIiv driDispatchRemapTable[GetTexParameterIiv_remap_index]
+#define _gloffset_GetTexParameterIuiv driDispatchRemapTable[GetTexParameterIuiv_remap_index]
+#define _gloffset_GetTransformFeedbackVarying driDispatchRemapTable[GetTransformFeedbackVarying_remap_index]
+#define _gloffset_GetUniformuiv driDispatchRemapTable[GetUniformuiv_remap_index]
+#define _gloffset_GetVertexAttribIiv driDispatchRemapTable[GetVertexAttribIiv_remap_index]
+#define _gloffset_GetVertexAttribIuiv driDispatchRemapTable[GetVertexAttribIuiv_remap_index]
+#define _gloffset_IsEnabledi driDispatchRemapTable[IsEnabledi_remap_index]
+#define _gloffset_TexParameterIiv driDispatchRemapTable[TexParameterIiv_remap_index]
+#define _gloffset_TexParameterIuiv driDispatchRemapTable[TexParameterIuiv_remap_index]
+#define _gloffset_TransformFeedbackVaryings driDispatchRemapTable[TransformFeedbackVaryings_remap_index]
+#define _gloffset_Uniform1ui driDispatchRemapTable[Uniform1ui_remap_index]
+#define _gloffset_Uniform1uiv driDispatchRemapTable[Uniform1uiv_remap_index]
+#define _gloffset_Uniform2ui driDispatchRemapTable[Uniform2ui_remap_index]
+#define _gloffset_Uniform2uiv driDispatchRemapTable[Uniform2uiv_remap_index]
+#define _gloffset_Uniform3ui driDispatchRemapTable[Uniform3ui_remap_index]
+#define _gloffset_Uniform3uiv driDispatchRemapTable[Uniform3uiv_remap_index]
+#define _gloffset_Uniform4ui driDispatchRemapTable[Uniform4ui_remap_index]
+#define _gloffset_Uniform4uiv driDispatchRemapTable[Uniform4uiv_remap_index]
+#define _gloffset_VertexAttribI1iv driDispatchRemapTable[VertexAttribI1iv_remap_index]
+#define _gloffset_VertexAttribI1uiv driDispatchRemapTable[VertexAttribI1uiv_remap_index]
+#define _gloffset_VertexAttribI4bv driDispatchRemapTable[VertexAttribI4bv_remap_index]
+#define _gloffset_VertexAttribI4sv driDispatchRemapTable[VertexAttribI4sv_remap_index]
+#define _gloffset_VertexAttribI4ubv driDispatchRemapTable[VertexAttribI4ubv_remap_index]
+#define _gloffset_VertexAttribI4usv driDispatchRemapTable[VertexAttribI4usv_remap_index]
+#define _gloffset_VertexAttribIPointer driDispatchRemapTable[VertexAttribIPointer_remap_index]
+#define _gloffset_PrimitiveRestartIndex driDispatchRemapTable[PrimitiveRestartIndex_remap_index]
+#define _gloffset_TexBuffer driDispatchRemapTable[TexBuffer_remap_index]
+#define _gloffset_FramebufferTexture driDispatchRemapTable[FramebufferTexture_remap_index]
+#define _gloffset_GetBufferParameteri64v driDispatchRemapTable[GetBufferParameteri64v_remap_index]
+#define _gloffset_GetInteger64i_v driDispatchRemapTable[GetInteger64i_v_remap_index]
+#define _gloffset_VertexAttribDivisor driDispatchRemapTable[VertexAttribDivisor_remap_index]
+#define _gloffset_BindProgramARB driDispatchRemapTable[BindProgramARB_remap_index]
+#define _gloffset_DeleteProgramsARB driDispatchRemapTable[DeleteProgramsARB_remap_index]
+#define _gloffset_GenProgramsARB driDispatchRemapTable[GenProgramsARB_remap_index]
+#define _gloffset_GetProgramEnvParameterdvARB driDispatchRemapTable[GetProgramEnvParameterdvARB_remap_index]
+#define _gloffset_GetProgramEnvParameterfvARB driDispatchRemapTable[GetProgramEnvParameterfvARB_remap_index]
+#define _gloffset_GetProgramLocalParameterdvARB driDispatchRemapTable[GetProgramLocalParameterdvARB_remap_index]
+#define _gloffset_GetProgramLocalParameterfvARB driDispatchRemapTable[GetProgramLocalParameterfvARB_remap_index]
+#define _gloffset_GetProgramStringARB driDispatchRemapTable[GetProgramStringARB_remap_index]
+#define _gloffset_GetProgramivARB driDispatchRemapTable[GetProgramivARB_remap_index]
+#define _gloffset_IsProgramARB driDispatchRemapTable[IsProgramARB_remap_index]
+#define _gloffset_ProgramEnvParameter4dARB driDispatchRemapTable[ProgramEnvParameter4dARB_remap_index]
+#define _gloffset_ProgramEnvParameter4dvARB driDispatchRemapTable[ProgramEnvParameter4dvARB_remap_index]
+#define _gloffset_ProgramEnvParameter4fARB driDispatchRemapTable[ProgramEnvParameter4fARB_remap_index]
+#define _gloffset_ProgramEnvParameter4fvARB driDispatchRemapTable[ProgramEnvParameter4fvARB_remap_index]
+#define _gloffset_ProgramLocalParameter4dARB driDispatchRemapTable[ProgramLocalParameter4dARB_remap_index]
+#define _gloffset_ProgramLocalParameter4dvARB driDispatchRemapTable[ProgramLocalParameter4dvARB_remap_index]
+#define _gloffset_ProgramLocalParameter4fARB driDispatchRemapTable[ProgramLocalParameter4fARB_remap_index]
+#define _gloffset_ProgramLocalParameter4fvARB driDispatchRemapTable[ProgramLocalParameter4fvARB_remap_index]
+#define _gloffset_ProgramStringARB driDispatchRemapTable[ProgramStringARB_remap_index]
+#define _gloffset_VertexAttrib1fARB driDispatchRemapTable[VertexAttrib1fARB_remap_index]
+#define _gloffset_VertexAttrib1fvARB driDispatchRemapTable[VertexAttrib1fvARB_remap_index]
+#define _gloffset_VertexAttrib2fARB driDispatchRemapTable[VertexAttrib2fARB_remap_index]
+#define _gloffset_VertexAttrib2fvARB driDispatchRemapTable[VertexAttrib2fvARB_remap_index]
+#define _gloffset_VertexAttrib3fARB driDispatchRemapTable[VertexAttrib3fARB_remap_index]
+#define _gloffset_VertexAttrib3fvARB driDispatchRemapTable[VertexAttrib3fvARB_remap_index]
+#define _gloffset_VertexAttrib4fARB driDispatchRemapTable[VertexAttrib4fARB_remap_index]
+#define _gloffset_VertexAttrib4fvARB driDispatchRemapTable[VertexAttrib4fvARB_remap_index]
+#define _gloffset_AttachObjectARB driDispatchRemapTable[AttachObjectARB_remap_index]
+#define _gloffset_CreateProgramObjectARB driDispatchRemapTable[CreateProgramObjectARB_remap_index]
+#define _gloffset_CreateShaderObjectARB driDispatchRemapTable[CreateShaderObjectARB_remap_index]
+#define _gloffset_DeleteObjectARB driDispatchRemapTable[DeleteObjectARB_remap_index]
+#define _gloffset_DetachObjectARB driDispatchRemapTable[DetachObjectARB_remap_index]
+#define _gloffset_GetAttachedObjectsARB driDispatchRemapTable[GetAttachedObjectsARB_remap_index]
+#define _gloffset_GetHandleARB driDispatchRemapTable[GetHandleARB_remap_index]
+#define _gloffset_GetInfoLogARB driDispatchRemapTable[GetInfoLogARB_remap_index]
+#define _gloffset_GetObjectParameterfvARB driDispatchRemapTable[GetObjectParameterfvARB_remap_index]
+#define _gloffset_GetObjectParameterivARB driDispatchRemapTable[GetObjectParameterivARB_remap_index]
+#define _gloffset_DrawArraysInstancedARB driDispatchRemapTable[DrawArraysInstancedARB_remap_index]
+#define _gloffset_DrawElementsInstancedARB driDispatchRemapTable[DrawElementsInstancedARB_remap_index]
+#define _gloffset_BindFramebuffer driDispatchRemapTable[BindFramebuffer_remap_index]
+#define _gloffset_BindRenderbuffer driDispatchRemapTable[BindRenderbuffer_remap_index]
+#define _gloffset_BlitFramebuffer driDispatchRemapTable[BlitFramebuffer_remap_index]
+#define _gloffset_CheckFramebufferStatus driDispatchRemapTable[CheckFramebufferStatus_remap_index]
+#define _gloffset_DeleteFramebuffers driDispatchRemapTable[DeleteFramebuffers_remap_index]
+#define _gloffset_DeleteRenderbuffers driDispatchRemapTable[DeleteRenderbuffers_remap_index]
+#define _gloffset_FramebufferRenderbuffer driDispatchRemapTable[FramebufferRenderbuffer_remap_index]
+#define _gloffset_FramebufferTexture1D driDispatchRemapTable[FramebufferTexture1D_remap_index]
+#define _gloffset_FramebufferTexture2D driDispatchRemapTable[FramebufferTexture2D_remap_index]
+#define _gloffset_FramebufferTexture3D driDispatchRemapTable[FramebufferTexture3D_remap_index]
+#define _gloffset_FramebufferTextureLayer driDispatchRemapTable[FramebufferTextureLayer_remap_index]
+#define _gloffset_GenFramebuffers driDispatchRemapTable[GenFramebuffers_remap_index]
+#define _gloffset_GenRenderbuffers driDispatchRemapTable[GenRenderbuffers_remap_index]
+#define _gloffset_GenerateMipmap driDispatchRemapTable[GenerateMipmap_remap_index]
+#define _gloffset_GetFramebufferAttachmentParameteriv driDispatchRemapTable[GetFramebufferAttachmentParameteriv_remap_index]
+#define _gloffset_GetRenderbufferParameteriv driDispatchRemapTable[GetRenderbufferParameteriv_remap_index]
+#define _gloffset_IsFramebuffer driDispatchRemapTable[IsFramebuffer_remap_index]
+#define _gloffset_IsRenderbuffer driDispatchRemapTable[IsRenderbuffer_remap_index]
+#define _gloffset_RenderbufferStorage driDispatchRemapTable[RenderbufferStorage_remap_index]
+#define _gloffset_RenderbufferStorageMultisample driDispatchRemapTable[RenderbufferStorageMultisample_remap_index]
+#define _gloffset_FramebufferTextureFaceARB driDispatchRemapTable[FramebufferTextureFaceARB_remap_index]
+#define _gloffset_FlushMappedBufferRange driDispatchRemapTable[FlushMappedBufferRange_remap_index]
+#define _gloffset_MapBufferRange driDispatchRemapTable[MapBufferRange_remap_index]
+#define _gloffset_BindVertexArray driDispatchRemapTable[BindVertexArray_remap_index]
+#define _gloffset_DeleteVertexArrays driDispatchRemapTable[DeleteVertexArrays_remap_index]
+#define _gloffset_GenVertexArrays driDispatchRemapTable[GenVertexArrays_remap_index]
+#define _gloffset_IsVertexArray driDispatchRemapTable[IsVertexArray_remap_index]
+#define _gloffset_GetActiveUniformBlockName driDispatchRemapTable[GetActiveUniformBlockName_remap_index]
+#define _gloffset_GetActiveUniformBlockiv driDispatchRemapTable[GetActiveUniformBlockiv_remap_index]
+#define _gloffset_GetActiveUniformName driDispatchRemapTable[GetActiveUniformName_remap_index]
+#define _gloffset_GetActiveUniformsiv driDispatchRemapTable[GetActiveUniformsiv_remap_index]
+#define _gloffset_GetUniformBlockIndex driDispatchRemapTable[GetUniformBlockIndex_remap_index]
+#define _gloffset_GetUniformIndices driDispatchRemapTable[GetUniformIndices_remap_index]
+#define _gloffset_UniformBlockBinding driDispatchRemapTable[UniformBlockBinding_remap_index]
+#define _gloffset_CopyBufferSubData driDispatchRemapTable[CopyBufferSubData_remap_index]
+#define _gloffset_ClientWaitSync driDispatchRemapTable[ClientWaitSync_remap_index]
+#define _gloffset_DeleteSync driDispatchRemapTable[DeleteSync_remap_index]
+#define _gloffset_FenceSync driDispatchRemapTable[FenceSync_remap_index]
+#define _gloffset_GetInteger64v driDispatchRemapTable[GetInteger64v_remap_index]
+#define _gloffset_GetSynciv driDispatchRemapTable[GetSynciv_remap_index]
+#define _gloffset_IsSync driDispatchRemapTable[IsSync_remap_index]
+#define _gloffset_WaitSync driDispatchRemapTable[WaitSync_remap_index]
+#define _gloffset_DrawElementsBaseVertex driDispatchRemapTable[DrawElementsBaseVertex_remap_index]
+#define _gloffset_DrawElementsInstancedBaseVertex driDispatchRemapTable[DrawElementsInstancedBaseVertex_remap_index]
+#define _gloffset_DrawRangeElementsBaseVertex driDispatchRemapTable[DrawRangeElementsBaseVertex_remap_index]
+#define _gloffset_MultiDrawElementsBaseVertex driDispatchRemapTable[MultiDrawElementsBaseVertex_remap_index]
+#define _gloffset_ProvokingVertex driDispatchRemapTable[ProvokingVertex_remap_index]
+#define _gloffset_GetMultisamplefv driDispatchRemapTable[GetMultisamplefv_remap_index]
+#define _gloffset_SampleMaski driDispatchRemapTable[SampleMaski_remap_index]
+#define _gloffset_TexImage2DMultisample driDispatchRemapTable[TexImage2DMultisample_remap_index]
+#define _gloffset_TexImage3DMultisample driDispatchRemapTable[TexImage3DMultisample_remap_index]
+#define _gloffset_BlendEquationSeparateiARB driDispatchRemapTable[BlendEquationSeparateiARB_remap_index]
+#define _gloffset_BlendEquationiARB driDispatchRemapTable[BlendEquationiARB_remap_index]
+#define _gloffset_BlendFuncSeparateiARB driDispatchRemapTable[BlendFuncSeparateiARB_remap_index]
+#define _gloffset_BlendFunciARB driDispatchRemapTable[BlendFunciARB_remap_index]
+#define _gloffset_BindFragDataLocationIndexed driDispatchRemapTable[BindFragDataLocationIndexed_remap_index]
+#define _gloffset_GetFragDataIndex driDispatchRemapTable[GetFragDataIndex_remap_index]
+#define _gloffset_BindSampler driDispatchRemapTable[BindSampler_remap_index]
+#define _gloffset_DeleteSamplers driDispatchRemapTable[DeleteSamplers_remap_index]
+#define _gloffset_GenSamplers driDispatchRemapTable[GenSamplers_remap_index]
+#define _gloffset_GetSamplerParameterIiv driDispatchRemapTable[GetSamplerParameterIiv_remap_index]
+#define _gloffset_GetSamplerParameterIuiv driDispatchRemapTable[GetSamplerParameterIuiv_remap_index]
+#define _gloffset_GetSamplerParameterfv driDispatchRemapTable[GetSamplerParameterfv_remap_index]
+#define _gloffset_GetSamplerParameteriv driDispatchRemapTable[GetSamplerParameteriv_remap_index]
+#define _gloffset_IsSampler driDispatchRemapTable[IsSampler_remap_index]
+#define _gloffset_SamplerParameterIiv driDispatchRemapTable[SamplerParameterIiv_remap_index]
+#define _gloffset_SamplerParameterIuiv driDispatchRemapTable[SamplerParameterIuiv_remap_index]
+#define _gloffset_SamplerParameterf driDispatchRemapTable[SamplerParameterf_remap_index]
+#define _gloffset_SamplerParameterfv driDispatchRemapTable[SamplerParameterfv_remap_index]
+#define _gloffset_SamplerParameteri driDispatchRemapTable[SamplerParameteri_remap_index]
+#define _gloffset_SamplerParameteriv driDispatchRemapTable[SamplerParameteriv_remap_index]
+#define _gloffset_GetQueryObjecti64v driDispatchRemapTable[GetQueryObjecti64v_remap_index]
+#define _gloffset_GetQueryObjectui64v driDispatchRemapTable[GetQueryObjectui64v_remap_index]
+#define _gloffset_QueryCounter driDispatchRemapTable[QueryCounter_remap_index]
+#define _gloffset_ColorP3ui driDispatchRemapTable[ColorP3ui_remap_index]
+#define _gloffset_ColorP3uiv driDispatchRemapTable[ColorP3uiv_remap_index]
+#define _gloffset_ColorP4ui driDispatchRemapTable[ColorP4ui_remap_index]
+#define _gloffset_ColorP4uiv driDispatchRemapTable[ColorP4uiv_remap_index]
+#define _gloffset_MultiTexCoordP1ui driDispatchRemapTable[MultiTexCoordP1ui_remap_index]
+#define _gloffset_MultiTexCoordP1uiv driDispatchRemapTable[MultiTexCoordP1uiv_remap_index]
+#define _gloffset_MultiTexCoordP2ui driDispatchRemapTable[MultiTexCoordP2ui_remap_index]
+#define _gloffset_MultiTexCoordP2uiv driDispatchRemapTable[MultiTexCoordP2uiv_remap_index]
+#define _gloffset_MultiTexCoordP3ui driDispatchRemapTable[MultiTexCoordP3ui_remap_index]
+#define _gloffset_MultiTexCoordP3uiv driDispatchRemapTable[MultiTexCoordP3uiv_remap_index]
+#define _gloffset_MultiTexCoordP4ui driDispatchRemapTable[MultiTexCoordP4ui_remap_index]
+#define _gloffset_MultiTexCoordP4uiv driDispatchRemapTable[MultiTexCoordP4uiv_remap_index]
+#define _gloffset_NormalP3ui driDispatchRemapTable[NormalP3ui_remap_index]
+#define _gloffset_NormalP3uiv driDispatchRemapTable[NormalP3uiv_remap_index]
+#define _gloffset_SecondaryColorP3ui driDispatchRemapTable[SecondaryColorP3ui_remap_index]
+#define _gloffset_SecondaryColorP3uiv driDispatchRemapTable[SecondaryColorP3uiv_remap_index]
+#define _gloffset_TexCoordP1ui driDispatchRemapTable[TexCoordP1ui_remap_index]
+#define _gloffset_TexCoordP1uiv driDispatchRemapTable[TexCoordP1uiv_remap_index]
+#define _gloffset_TexCoordP2ui driDispatchRemapTable[TexCoordP2ui_remap_index]
+#define _gloffset_TexCoordP2uiv driDispatchRemapTable[TexCoordP2uiv_remap_index]
+#define _gloffset_TexCoordP3ui driDispatchRemapTable[TexCoordP3ui_remap_index]
+#define _gloffset_TexCoordP3uiv driDispatchRemapTable[TexCoordP3uiv_remap_index]
+#define _gloffset_TexCoordP4ui driDispatchRemapTable[TexCoordP4ui_remap_index]
+#define _gloffset_TexCoordP4uiv driDispatchRemapTable[TexCoordP4uiv_remap_index]
+#define _gloffset_VertexAttribP1ui driDispatchRemapTable[VertexAttribP1ui_remap_index]
+#define _gloffset_VertexAttribP1uiv driDispatchRemapTable[VertexAttribP1uiv_remap_index]
+#define _gloffset_VertexAttribP2ui driDispatchRemapTable[VertexAttribP2ui_remap_index]
+#define _gloffset_VertexAttribP2uiv driDispatchRemapTable[VertexAttribP2uiv_remap_index]
+#define _gloffset_VertexAttribP3ui driDispatchRemapTable[VertexAttribP3ui_remap_index]
+#define _gloffset_VertexAttribP3uiv driDispatchRemapTable[VertexAttribP3uiv_remap_index]
+#define _gloffset_VertexAttribP4ui driDispatchRemapTable[VertexAttribP4ui_remap_index]
+#define _gloffset_VertexAttribP4uiv driDispatchRemapTable[VertexAttribP4uiv_remap_index]
+#define _gloffset_VertexP2ui driDispatchRemapTable[VertexP2ui_remap_index]
+#define _gloffset_VertexP2uiv driDispatchRemapTable[VertexP2uiv_remap_index]
+#define _gloffset_VertexP3ui driDispatchRemapTable[VertexP3ui_remap_index]
+#define _gloffset_VertexP3uiv driDispatchRemapTable[VertexP3uiv_remap_index]
+#define _gloffset_VertexP4ui driDispatchRemapTable[VertexP4ui_remap_index]
+#define _gloffset_VertexP4uiv driDispatchRemapTable[VertexP4uiv_remap_index]
+#define _gloffset_BindTransformFeedback driDispatchRemapTable[BindTransformFeedback_remap_index]
+#define _gloffset_DeleteTransformFeedbacks driDispatchRemapTable[DeleteTransformFeedbacks_remap_index]
+#define _gloffset_DrawTransformFeedback driDispatchRemapTable[DrawTransformFeedback_remap_index]
+#define _gloffset_GenTransformFeedbacks driDispatchRemapTable[GenTransformFeedbacks_remap_index]
+#define _gloffset_IsTransformFeedback driDispatchRemapTable[IsTransformFeedback_remap_index]
+#define _gloffset_PauseTransformFeedback driDispatchRemapTable[PauseTransformFeedback_remap_index]
+#define _gloffset_ResumeTransformFeedback driDispatchRemapTable[ResumeTransformFeedback_remap_index]
+#define _gloffset_BeginQueryIndexed driDispatchRemapTable[BeginQueryIndexed_remap_index]
+#define _gloffset_DrawTransformFeedbackStream driDispatchRemapTable[DrawTransformFeedbackStream_remap_index]
+#define _gloffset_EndQueryIndexed driDispatchRemapTable[EndQueryIndexed_remap_index]
+#define _gloffset_GetQueryIndexediv driDispatchRemapTable[GetQueryIndexediv_remap_index]
+#define _gloffset_ClearDepthf driDispatchRemapTable[ClearDepthf_remap_index]
+#define _gloffset_DepthRangef driDispatchRemapTable[DepthRangef_remap_index]
+#define _gloffset_GetShaderPrecisionFormat driDispatchRemapTable[GetShaderPrecisionFormat_remap_index]
+#define _gloffset_ReleaseShaderCompiler driDispatchRemapTable[ReleaseShaderCompiler_remap_index]
+#define _gloffset_ShaderBinary driDispatchRemapTable[ShaderBinary_remap_index]
+#define _gloffset_GetProgramBinary driDispatchRemapTable[GetProgramBinary_remap_index]
+#define _gloffset_ProgramBinary driDispatchRemapTable[ProgramBinary_remap_index]
+#define _gloffset_ProgramParameteri driDispatchRemapTable[ProgramParameteri_remap_index]
+#define _gloffset_DebugMessageCallbackARB driDispatchRemapTable[DebugMessageCallbackARB_remap_index]
+#define _gloffset_DebugMessageControlARB driDispatchRemapTable[DebugMessageControlARB_remap_index]
+#define _gloffset_DebugMessageInsertARB driDispatchRemapTable[DebugMessageInsertARB_remap_index]
+#define _gloffset_GetDebugMessageLogARB driDispatchRemapTable[GetDebugMessageLogARB_remap_index]
+#define _gloffset_GetGraphicsResetStatusARB driDispatchRemapTable[GetGraphicsResetStatusARB_remap_index]
+#define _gloffset_GetnColorTableARB driDispatchRemapTable[GetnColorTableARB_remap_index]
+#define _gloffset_GetnCompressedTexImageARB driDispatchRemapTable[GetnCompressedTexImageARB_remap_index]
+#define _gloffset_GetnConvolutionFilterARB driDispatchRemapTable[GetnConvolutionFilterARB_remap_index]
+#define _gloffset_GetnHistogramARB driDispatchRemapTable[GetnHistogramARB_remap_index]
+#define _gloffset_GetnMapdvARB driDispatchRemapTable[GetnMapdvARB_remap_index]
+#define _gloffset_GetnMapfvARB driDispatchRemapTable[GetnMapfvARB_remap_index]
+#define _gloffset_GetnMapivARB driDispatchRemapTable[GetnMapivARB_remap_index]
+#define _gloffset_GetnMinmaxARB driDispatchRemapTable[GetnMinmaxARB_remap_index]
+#define _gloffset_GetnPixelMapfvARB driDispatchRemapTable[GetnPixelMapfvARB_remap_index]
+#define _gloffset_GetnPixelMapuivARB driDispatchRemapTable[GetnPixelMapuivARB_remap_index]
+#define _gloffset_GetnPixelMapusvARB driDispatchRemapTable[GetnPixelMapusvARB_remap_index]
+#define _gloffset_GetnPolygonStippleARB driDispatchRemapTable[GetnPolygonStippleARB_remap_index]
+#define _gloffset_GetnSeparableFilterARB driDispatchRemapTable[GetnSeparableFilterARB_remap_index]
+#define _gloffset_GetnTexImageARB driDispatchRemapTable[GetnTexImageARB_remap_index]
+#define _gloffset_GetnUniformdvARB driDispatchRemapTable[GetnUniformdvARB_remap_index]
+#define _gloffset_GetnUniformfvARB driDispatchRemapTable[GetnUniformfvARB_remap_index]
+#define _gloffset_GetnUniformivARB driDispatchRemapTable[GetnUniformivARB_remap_index]
+#define _gloffset_GetnUniformuivARB driDispatchRemapTable[GetnUniformuivARB_remap_index]
+#define _gloffset_ReadnPixelsARB driDispatchRemapTable[ReadnPixelsARB_remap_index]
+#define _gloffset_DrawArraysInstancedBaseInstance driDispatchRemapTable[DrawArraysInstancedBaseInstance_remap_index]
+#define _gloffset_DrawElementsInstancedBaseInstance driDispatchRemapTable[DrawElementsInstancedBaseInstance_remap_index]
+#define _gloffset_DrawElementsInstancedBaseVertexBaseInstance driDispatchRemapTable[DrawElementsInstancedBaseVertexBaseInstance_remap_index]
+#define _gloffset_DrawTransformFeedbackInstanced driDispatchRemapTable[DrawTransformFeedbackInstanced_remap_index]
+#define _gloffset_DrawTransformFeedbackStreamInstanced driDispatchRemapTable[DrawTransformFeedbackStreamInstanced_remap_index]
+#define _gloffset_GetInternalformativ driDispatchRemapTable[GetInternalformativ_remap_index]
+#define _gloffset_TexStorage1D driDispatchRemapTable[TexStorage1D_remap_index]
+#define _gloffset_TexStorage2D driDispatchRemapTable[TexStorage2D_remap_index]
+#define _gloffset_TexStorage3D driDispatchRemapTable[TexStorage3D_remap_index]
+#define _gloffset_TextureStorage1DEXT driDispatchRemapTable[TextureStorage1DEXT_remap_index]
+#define _gloffset_TextureStorage2DEXT driDispatchRemapTable[TextureStorage2DEXT_remap_index]
+#define _gloffset_TextureStorage3DEXT driDispatchRemapTable[TextureStorage3DEXT_remap_index]
+#define _gloffset_TexBufferRange driDispatchRemapTable[TexBufferRange_remap_index]
+#define _gloffset_InvalidateBufferData driDispatchRemapTable[InvalidateBufferData_remap_index]
+#define _gloffset_InvalidateBufferSubData driDispatchRemapTable[InvalidateBufferSubData_remap_index]
+#define _gloffset_InvalidateFramebuffer driDispatchRemapTable[InvalidateFramebuffer_remap_index]
+#define _gloffset_InvalidateSubFramebuffer driDispatchRemapTable[InvalidateSubFramebuffer_remap_index]
+#define _gloffset_InvalidateTexImage driDispatchRemapTable[InvalidateTexImage_remap_index]
+#define _gloffset_InvalidateTexSubImage driDispatchRemapTable[InvalidateTexSubImage_remap_index]
+#define _gloffset_PolygonOffsetEXT driDispatchRemapTable[PolygonOffsetEXT_remap_index]
+#define _gloffset_DrawTexfOES driDispatchRemapTable[DrawTexfOES_remap_index]
+#define _gloffset_DrawTexfvOES driDispatchRemapTable[DrawTexfvOES_remap_index]
+#define _gloffset_DrawTexiOES driDispatchRemapTable[DrawTexiOES_remap_index]
+#define _gloffset_DrawTexivOES driDispatchRemapTable[DrawTexivOES_remap_index]
+#define _gloffset_DrawTexsOES driDispatchRemapTable[DrawTexsOES_remap_index]
+#define _gloffset_DrawTexsvOES driDispatchRemapTable[DrawTexsvOES_remap_index]
+#define _gloffset_DrawTexxOES driDispatchRemapTable[DrawTexxOES_remap_index]
+#define _gloffset_DrawTexxvOES driDispatchRemapTable[DrawTexxvOES_remap_index]
+#define _gloffset_PointSizePointerOES driDispatchRemapTable[PointSizePointerOES_remap_index]
+#define _gloffset_QueryMatrixxOES driDispatchRemapTable[QueryMatrixxOES_remap_index]
+#define _gloffset_SampleMaskSGIS driDispatchRemapTable[SampleMaskSGIS_remap_index]
+#define _gloffset_SamplePatternSGIS driDispatchRemapTable[SamplePatternSGIS_remap_index]
+#define _gloffset_ColorPointerEXT driDispatchRemapTable[ColorPointerEXT_remap_index]
+#define _gloffset_EdgeFlagPointerEXT driDispatchRemapTable[EdgeFlagPointerEXT_remap_index]
+#define _gloffset_IndexPointerEXT driDispatchRemapTable[IndexPointerEXT_remap_index]
+#define _gloffset_NormalPointerEXT driDispatchRemapTable[NormalPointerEXT_remap_index]
+#define _gloffset_TexCoordPointerEXT driDispatchRemapTable[TexCoordPointerEXT_remap_index]
+#define _gloffset_VertexPointerEXT driDispatchRemapTable[VertexPointerEXT_remap_index]
+#define _gloffset_DiscardFramebufferEXT driDispatchRemapTable[DiscardFramebufferEXT_remap_index]
+#define _gloffset_LockArraysEXT driDispatchRemapTable[LockArraysEXT_remap_index]
+#define _gloffset_UnlockArraysEXT driDispatchRemapTable[UnlockArraysEXT_remap_index]
+#define _gloffset_SecondaryColor3fEXT driDispatchRemapTable[SecondaryColor3fEXT_remap_index]
+#define _gloffset_SecondaryColor3fvEXT driDispatchRemapTable[SecondaryColor3fvEXT_remap_index]
+#define _gloffset_MultiDrawElementsEXT driDispatchRemapTable[MultiDrawElementsEXT_remap_index]
+#define _gloffset_FogCoordfEXT driDispatchRemapTable[FogCoordfEXT_remap_index]
+#define _gloffset_FogCoordfvEXT driDispatchRemapTable[FogCoordfvEXT_remap_index]
+#define _gloffset_ResizeBuffersMESA driDispatchRemapTable[ResizeBuffersMESA_remap_index]
+#define _gloffset_WindowPos4dMESA driDispatchRemapTable[WindowPos4dMESA_remap_index]
+#define _gloffset_WindowPos4dvMESA driDispatchRemapTable[WindowPos4dvMESA_remap_index]
+#define _gloffset_WindowPos4fMESA driDispatchRemapTable[WindowPos4fMESA_remap_index]
+#define _gloffset_WindowPos4fvMESA driDispatchRemapTable[WindowPos4fvMESA_remap_index]
+#define _gloffset_WindowPos4iMESA driDispatchRemapTable[WindowPos4iMESA_remap_index]
+#define _gloffset_WindowPos4ivMESA driDispatchRemapTable[WindowPos4ivMESA_remap_index]
+#define _gloffset_WindowPos4sMESA driDispatchRemapTable[WindowPos4sMESA_remap_index]
+#define _gloffset_WindowPos4svMESA driDispatchRemapTable[WindowPos4svMESA_remap_index]
+#define _gloffset_MultiModeDrawArraysIBM driDispatchRemapTable[MultiModeDrawArraysIBM_remap_index]
+#define _gloffset_MultiModeDrawElementsIBM driDispatchRemapTable[MultiModeDrawElementsIBM_remap_index]
+#define _gloffset_AreProgramsResidentNV driDispatchRemapTable[AreProgramsResidentNV_remap_index]
+#define _gloffset_ExecuteProgramNV driDispatchRemapTable[ExecuteProgramNV_remap_index]
+#define _gloffset_GetProgramParameterdvNV driDispatchRemapTable[GetProgramParameterdvNV_remap_index]
+#define _gloffset_GetProgramParameterfvNV driDispatchRemapTable[GetProgramParameterfvNV_remap_index]
+#define _gloffset_GetProgramStringNV driDispatchRemapTable[GetProgramStringNV_remap_index]
+#define _gloffset_GetProgramivNV driDispatchRemapTable[GetProgramivNV_remap_index]
+#define _gloffset_GetTrackMatrixivNV driDispatchRemapTable[GetTrackMatrixivNV_remap_index]
+#define _gloffset_GetVertexAttribdvNV driDispatchRemapTable[GetVertexAttribdvNV_remap_index]
+#define _gloffset_GetVertexAttribfvNV driDispatchRemapTable[GetVertexAttribfvNV_remap_index]
+#define _gloffset_GetVertexAttribivNV driDispatchRemapTable[GetVertexAttribivNV_remap_index]
+#define _gloffset_LoadProgramNV driDispatchRemapTable[LoadProgramNV_remap_index]
+#define _gloffset_ProgramParameters4dvNV driDispatchRemapTable[ProgramParameters4dvNV_remap_index]
+#define _gloffset_ProgramParameters4fvNV driDispatchRemapTable[ProgramParameters4fvNV_remap_index]
+#define _gloffset_RequestResidentProgramsNV driDispatchRemapTable[RequestResidentProgramsNV_remap_index]
+#define _gloffset_TrackMatrixNV driDispatchRemapTable[TrackMatrixNV_remap_index]
+#define _gloffset_VertexAttrib1dNV driDispatchRemapTable[VertexAttrib1dNV_remap_index]
+#define _gloffset_VertexAttrib1dvNV driDispatchRemapTable[VertexAttrib1dvNV_remap_index]
+#define _gloffset_VertexAttrib1fNV driDispatchRemapTable[VertexAttrib1fNV_remap_index]
+#define _gloffset_VertexAttrib1fvNV driDispatchRemapTable[VertexAttrib1fvNV_remap_index]
+#define _gloffset_VertexAttrib1sNV driDispatchRemapTable[VertexAttrib1sNV_remap_index]
+#define _gloffset_VertexAttrib1svNV driDispatchRemapTable[VertexAttrib1svNV_remap_index]
+#define _gloffset_VertexAttrib2dNV driDispatchRemapTable[VertexAttrib2dNV_remap_index]
+#define _gloffset_VertexAttrib2dvNV driDispatchRemapTable[VertexAttrib2dvNV_remap_index]
+#define _gloffset_VertexAttrib2fNV driDispatchRemapTable[VertexAttrib2fNV_remap_index]
+#define _gloffset_VertexAttrib2fvNV driDispatchRemapTable[VertexAttrib2fvNV_remap_index]
+#define _gloffset_VertexAttrib2sNV driDispatchRemapTable[VertexAttrib2sNV_remap_index]
+#define _gloffset_VertexAttrib2svNV driDispatchRemapTable[VertexAttrib2svNV_remap_index]
+#define _gloffset_VertexAttrib3dNV driDispatchRemapTable[VertexAttrib3dNV_remap_index]
+#define _gloffset_VertexAttrib3dvNV driDispatchRemapTable[VertexAttrib3dvNV_remap_index]
+#define _gloffset_VertexAttrib3fNV driDispatchRemapTable[VertexAttrib3fNV_remap_index]
+#define _gloffset_VertexAttrib3fvNV driDispatchRemapTable[VertexAttrib3fvNV_remap_index]
+#define _gloffset_VertexAttrib3sNV driDispatchRemapTable[VertexAttrib3sNV_remap_index]
+#define _gloffset_VertexAttrib3svNV driDispatchRemapTable[VertexAttrib3svNV_remap_index]
+#define _gloffset_VertexAttrib4dNV driDispatchRemapTable[VertexAttrib4dNV_remap_index]
+#define _gloffset_VertexAttrib4dvNV driDispatchRemapTable[VertexAttrib4dvNV_remap_index]
+#define _gloffset_VertexAttrib4fNV driDispatchRemapTable[VertexAttrib4fNV_remap_index]
+#define _gloffset_VertexAttrib4fvNV driDispatchRemapTable[VertexAttrib4fvNV_remap_index]
+#define _gloffset_VertexAttrib4sNV driDispatchRemapTable[VertexAttrib4sNV_remap_index]
+#define _gloffset_VertexAttrib4svNV driDispatchRemapTable[VertexAttrib4svNV_remap_index]
+#define _gloffset_VertexAttrib4ubNV driDispatchRemapTable[VertexAttrib4ubNV_remap_index]
+#define _gloffset_VertexAttrib4ubvNV driDispatchRemapTable[VertexAttrib4ubvNV_remap_index]
+#define _gloffset_VertexAttribPointerNV driDispatchRemapTable[VertexAttribPointerNV_remap_index]
+#define _gloffset_VertexAttribs1dvNV driDispatchRemapTable[VertexAttribs1dvNV_remap_index]
+#define _gloffset_VertexAttribs1fvNV driDispatchRemapTable[VertexAttribs1fvNV_remap_index]
+#define _gloffset_VertexAttribs1svNV driDispatchRemapTable[VertexAttribs1svNV_remap_index]
+#define _gloffset_VertexAttribs2dvNV driDispatchRemapTable[VertexAttribs2dvNV_remap_index]
+#define _gloffset_VertexAttribs2fvNV driDispatchRemapTable[VertexAttribs2fvNV_remap_index]
+#define _gloffset_VertexAttribs2svNV driDispatchRemapTable[VertexAttribs2svNV_remap_index]
+#define _gloffset_VertexAttribs3dvNV driDispatchRemapTable[VertexAttribs3dvNV_remap_index]
+#define _gloffset_VertexAttribs3fvNV driDispatchRemapTable[VertexAttribs3fvNV_remap_index]
+#define _gloffset_VertexAttribs3svNV driDispatchRemapTable[VertexAttribs3svNV_remap_index]
+#define _gloffset_VertexAttribs4dvNV driDispatchRemapTable[VertexAttribs4dvNV_remap_index]
+#define _gloffset_VertexAttribs4fvNV driDispatchRemapTable[VertexAttribs4fvNV_remap_index]
+#define _gloffset_VertexAttribs4svNV driDispatchRemapTable[VertexAttribs4svNV_remap_index]
+#define _gloffset_VertexAttribs4ubvNV driDispatchRemapTable[VertexAttribs4ubvNV_remap_index]
+#define _gloffset_GetTexBumpParameterfvATI driDispatchRemapTable[GetTexBumpParameterfvATI_remap_index]
+#define _gloffset_GetTexBumpParameterivATI driDispatchRemapTable[GetTexBumpParameterivATI_remap_index]
+#define _gloffset_TexBumpParameterfvATI driDispatchRemapTable[TexBumpParameterfvATI_remap_index]
+#define _gloffset_TexBumpParameterivATI driDispatchRemapTable[TexBumpParameterivATI_remap_index]
+#define _gloffset_AlphaFragmentOp1ATI driDispatchRemapTable[AlphaFragmentOp1ATI_remap_index]
+#define _gloffset_AlphaFragmentOp2ATI driDispatchRemapTable[AlphaFragmentOp2ATI_remap_index]
+#define _gloffset_AlphaFragmentOp3ATI driDispatchRemapTable[AlphaFragmentOp3ATI_remap_index]
+#define _gloffset_BeginFragmentShaderATI driDispatchRemapTable[BeginFragmentShaderATI_remap_index]
+#define _gloffset_BindFragmentShaderATI driDispatchRemapTable[BindFragmentShaderATI_remap_index]
+#define _gloffset_ColorFragmentOp1ATI driDispatchRemapTable[ColorFragmentOp1ATI_remap_index]
+#define _gloffset_ColorFragmentOp2ATI driDispatchRemapTable[ColorFragmentOp2ATI_remap_index]
+#define _gloffset_ColorFragmentOp3ATI driDispatchRemapTable[ColorFragmentOp3ATI_remap_index]
+#define _gloffset_DeleteFragmentShaderATI driDispatchRemapTable[DeleteFragmentShaderATI_remap_index]
+#define _gloffset_EndFragmentShaderATI driDispatchRemapTable[EndFragmentShaderATI_remap_index]
+#define _gloffset_GenFragmentShadersATI driDispatchRemapTable[GenFragmentShadersATI_remap_index]
+#define _gloffset_PassTexCoordATI driDispatchRemapTable[PassTexCoordATI_remap_index]
+#define _gloffset_SampleMapATI driDispatchRemapTable[SampleMapATI_remap_index]
+#define _gloffset_SetFragmentShaderConstantATI driDispatchRemapTable[SetFragmentShaderConstantATI_remap_index]
+#define _gloffset_ActiveStencilFaceEXT driDispatchRemapTable[ActiveStencilFaceEXT_remap_index]
+#define _gloffset_BindVertexArrayAPPLE driDispatchRemapTable[BindVertexArrayAPPLE_remap_index]
+#define _gloffset_GenVertexArraysAPPLE driDispatchRemapTable[GenVertexArraysAPPLE_remap_index]
+#define _gloffset_GetProgramNamedParameterdvNV driDispatchRemapTable[GetProgramNamedParameterdvNV_remap_index]
+#define _gloffset_GetProgramNamedParameterfvNV driDispatchRemapTable[GetProgramNamedParameterfvNV_remap_index]
+#define _gloffset_ProgramNamedParameter4dNV driDispatchRemapTable[ProgramNamedParameter4dNV_remap_index]
+#define _gloffset_ProgramNamedParameter4dvNV driDispatchRemapTable[ProgramNamedParameter4dvNV_remap_index]
+#define _gloffset_ProgramNamedParameter4fNV driDispatchRemapTable[ProgramNamedParameter4fNV_remap_index]
+#define _gloffset_ProgramNamedParameter4fvNV driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index]
+#define _gloffset_PrimitiveRestartNV driDispatchRemapTable[PrimitiveRestartNV_remap_index]
+#define _gloffset_GetTexGenxvOES driDispatchRemapTable[GetTexGenxvOES_remap_index]
+#define _gloffset_TexGenxOES driDispatchRemapTable[TexGenxOES_remap_index]
+#define _gloffset_TexGenxvOES driDispatchRemapTable[TexGenxvOES_remap_index]
+#define _gloffset_DepthBoundsEXT driDispatchRemapTable[DepthBoundsEXT_remap_index]
+#define _gloffset_BufferParameteriAPPLE driDispatchRemapTable[BufferParameteriAPPLE_remap_index]
+#define _gloffset_FlushMappedBufferRangeAPPLE driDispatchRemapTable[FlushMappedBufferRangeAPPLE_remap_index]
+#define _gloffset_VertexAttribI1iEXT driDispatchRemapTable[VertexAttribI1iEXT_remap_index]
+#define _gloffset_VertexAttribI1uiEXT driDispatchRemapTable[VertexAttribI1uiEXT_remap_index]
+#define _gloffset_VertexAttribI2iEXT driDispatchRemapTable[VertexAttribI2iEXT_remap_index]
+#define _gloffset_VertexAttribI2ivEXT driDispatchRemapTable[VertexAttribI2ivEXT_remap_index]
+#define _gloffset_VertexAttribI2uiEXT driDispatchRemapTable[VertexAttribI2uiEXT_remap_index]
+#define _gloffset_VertexAttribI2uivEXT driDispatchRemapTable[VertexAttribI2uivEXT_remap_index]
+#define _gloffset_VertexAttribI3iEXT driDispatchRemapTable[VertexAttribI3iEXT_remap_index]
+#define _gloffset_VertexAttribI3ivEXT driDispatchRemapTable[VertexAttribI3ivEXT_remap_index]
+#define _gloffset_VertexAttribI3uiEXT driDispatchRemapTable[VertexAttribI3uiEXT_remap_index]
+#define _gloffset_VertexAttribI3uivEXT driDispatchRemapTable[VertexAttribI3uivEXT_remap_index]
+#define _gloffset_VertexAttribI4iEXT driDispatchRemapTable[VertexAttribI4iEXT_remap_index]
+#define _gloffset_VertexAttribI4ivEXT driDispatchRemapTable[VertexAttribI4ivEXT_remap_index]
+#define _gloffset_VertexAttribI4uiEXT driDispatchRemapTable[VertexAttribI4uiEXT_remap_index]
+#define _gloffset_VertexAttribI4uivEXT driDispatchRemapTable[VertexAttribI4uivEXT_remap_index]
+#define _gloffset_ClearColorIiEXT driDispatchRemapTable[ClearColorIiEXT_remap_index]
+#define _gloffset_ClearColorIuiEXT driDispatchRemapTable[ClearColorIuiEXT_remap_index]
+#define _gloffset_BindBufferOffsetEXT driDispatchRemapTable[BindBufferOffsetEXT_remap_index]
+#define _gloffset_GetObjectParameterivAPPLE driDispatchRemapTable[GetObjectParameterivAPPLE_remap_index]
+#define _gloffset_ObjectPurgeableAPPLE driDispatchRemapTable[ObjectPurgeableAPPLE_remap_index]
+#define _gloffset_ObjectUnpurgeableAPPLE driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index]
+#define _gloffset_ActiveProgramEXT driDispatchRemapTable[ActiveProgramEXT_remap_index]
+#define _gloffset_CreateShaderProgramEXT driDispatchRemapTable[CreateShaderProgramEXT_remap_index]
+#define _gloffset_UseShaderProgramEXT driDispatchRemapTable[UseShaderProgramEXT_remap_index]
+#define _gloffset_TextureBarrierNV driDispatchRemapTable[TextureBarrierNV_remap_index]
+#define _gloffset_StencilFuncSeparateATI driDispatchRemapTable[StencilFuncSeparateATI_remap_index]
+#define _gloffset_ProgramEnvParameters4fvEXT driDispatchRemapTable[ProgramEnvParameters4fvEXT_remap_index]
+#define _gloffset_ProgramLocalParameters4fvEXT driDispatchRemapTable[ProgramLocalParameters4fvEXT_remap_index]
+#define _gloffset_EGLImageTargetRenderbufferStorageOES driDispatchRemapTable[EGLImageTargetRenderbufferStorageOES_remap_index]
+#define _gloffset_EGLImageTargetTexture2DOES driDispatchRemapTable[EGLImageTargetTexture2DOES_remap_index]
+#define _gloffset_AlphaFuncx driDispatchRemapTable[AlphaFuncx_remap_index]
+#define _gloffset_ClearColorx driDispatchRemapTable[ClearColorx_remap_index]
+#define _gloffset_ClearDepthx driDispatchRemapTable[ClearDepthx_remap_index]
+#define _gloffset_Color4x driDispatchRemapTable[Color4x_remap_index]
+#define _gloffset_DepthRangex driDispatchRemapTable[DepthRangex_remap_index]
+#define _gloffset_Fogx driDispatchRemapTable[Fogx_remap_index]
+#define _gloffset_Fogxv driDispatchRemapTable[Fogxv_remap_index]
+#define _gloffset_Frustumf driDispatchRemapTable[Frustumf_remap_index]
+#define _gloffset_Frustumx driDispatchRemapTable[Frustumx_remap_index]
+#define _gloffset_LightModelx driDispatchRemapTable[LightModelx_remap_index]
+#define _gloffset_LightModelxv driDispatchRemapTable[LightModelxv_remap_index]
+#define _gloffset_Lightx driDispatchRemapTable[Lightx_remap_index]
+#define _gloffset_Lightxv driDispatchRemapTable[Lightxv_remap_index]
+#define _gloffset_LineWidthx driDispatchRemapTable[LineWidthx_remap_index]
+#define _gloffset_LoadMatrixx driDispatchRemapTable[LoadMatrixx_remap_index]
+#define _gloffset_Materialx driDispatchRemapTable[Materialx_remap_index]
+#define _gloffset_Materialxv driDispatchRemapTable[Materialxv_remap_index]
+#define _gloffset_MultMatrixx driDispatchRemapTable[MultMatrixx_remap_index]
+#define _gloffset_MultiTexCoord4x driDispatchRemapTable[MultiTexCoord4x_remap_index]
+#define _gloffset_Normal3x driDispatchRemapTable[Normal3x_remap_index]
+#define _gloffset_Orthof driDispatchRemapTable[Orthof_remap_index]
+#define _gloffset_Orthox driDispatchRemapTable[Orthox_remap_index]
+#define _gloffset_PointSizex driDispatchRemapTable[PointSizex_remap_index]
+#define _gloffset_PolygonOffsetx driDispatchRemapTable[PolygonOffsetx_remap_index]
+#define _gloffset_Rotatex driDispatchRemapTable[Rotatex_remap_index]
+#define _gloffset_SampleCoveragex driDispatchRemapTable[SampleCoveragex_remap_index]
+#define _gloffset_Scalex driDispatchRemapTable[Scalex_remap_index]
+#define _gloffset_TexEnvx driDispatchRemapTable[TexEnvx_remap_index]
+#define _gloffset_TexEnvxv driDispatchRemapTable[TexEnvxv_remap_index]
+#define _gloffset_TexParameterx driDispatchRemapTable[TexParameterx_remap_index]
+#define _gloffset_Translatex driDispatchRemapTable[Translatex_remap_index]
+#define _gloffset_ClipPlanef driDispatchRemapTable[ClipPlanef_remap_index]
+#define _gloffset_ClipPlanex driDispatchRemapTable[ClipPlanex_remap_index]
+#define _gloffset_GetClipPlanef driDispatchRemapTable[GetClipPlanef_remap_index]
+#define _gloffset_GetClipPlanex driDispatchRemapTable[GetClipPlanex_remap_index]
+#define _gloffset_GetFixedv driDispatchRemapTable[GetFixedv_remap_index]
+#define _gloffset_GetLightxv driDispatchRemapTable[GetLightxv_remap_index]
+#define _gloffset_GetMaterialxv driDispatchRemapTable[GetMaterialxv_remap_index]
+#define _gloffset_GetTexEnvxv driDispatchRemapTable[GetTexEnvxv_remap_index]
+#define _gloffset_GetTexParameterxv driDispatchRemapTable[GetTexParameterxv_remap_index]
+#define _gloffset_PointParameterx driDispatchRemapTable[PointParameterx_remap_index]
+#define _gloffset_PointParameterxv driDispatchRemapTable[PointParameterxv_remap_index]
+#define _gloffset_TexParameterxv driDispatchRemapTable[TexParameterxv_remap_index]
+
+#endif /* !FEATURE_remap_table */
+
+typedef void (GLAPIENTRYP _glptr_NewList)(GLuint, GLenum);
+#define CALL_NewList(disp, parameters) \
+ (* GET_NewList(disp)) parameters
+static INLINE _glptr_NewList GET_NewList(struct _glapi_table *disp) {
+ return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList));
+}
+
+static INLINE void SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_NewList, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndList)(void);
+#define CALL_EndList(disp, parameters) \
+ (* GET_EndList(disp)) parameters
+static INLINE _glptr_EndList GET_EndList(struct _glapi_table *disp) {
+ return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList));
+}
+
+static INLINE void SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_EndList, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CallList)(GLuint);
+#define CALL_CallList(disp, parameters) \
+ (* GET_CallList(disp)) parameters
+static INLINE _glptr_CallList GET_CallList(struct _glapi_table *disp) {
+ return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList));
+}
+
+static INLINE void SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_CallList, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CallLists)(GLsizei, GLenum, const GLvoid *);
+#define CALL_CallLists(disp, parameters) \
+ (* GET_CallLists(disp)) parameters
+static INLINE _glptr_CallLists GET_CallLists(struct _glapi_table *disp) {
+ return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists));
+}
+
+static INLINE void SET_CallLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CallLists, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteLists)(GLuint, GLsizei);
+#define CALL_DeleteLists(disp, parameters) \
+ (* GET_DeleteLists(disp)) parameters
+static INLINE _glptr_DeleteLists GET_DeleteLists(struct _glapi_table *disp) {
+ return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists));
+}
+
+static INLINE void SET_DeleteLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DeleteLists, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_GenLists)(GLsizei);
+#define CALL_GenLists(disp, parameters) \
+ (* GET_GenLists(disp)) parameters
+static INLINE _glptr_GenLists GET_GenLists(struct _glapi_table *disp) {
+ return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists));
+}
+
+static INLINE void SET_GenLists(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLsizei)) {
+ SET_by_offset(disp, _gloffset_GenLists, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ListBase)(GLuint);
+#define CALL_ListBase(disp, parameters) \
+ (* GET_ListBase(disp)) parameters
+static INLINE _glptr_ListBase GET_ListBase(struct _glapi_table *disp) {
+ return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase));
+}
+
+static INLINE void SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_ListBase, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Begin)(GLenum);
+#define CALL_Begin(disp, parameters) \
+ (* GET_Begin(disp)) parameters
+static INLINE _glptr_Begin GET_Begin(struct _glapi_table *disp) {
+ return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin));
+}
+
+static INLINE void SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_Begin, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
+#define CALL_Bitmap(disp, parameters) \
+ (* GET_Bitmap(disp)) parameters
+static INLINE _glptr_Bitmap GET_Bitmap(struct _glapi_table *disp) {
+ return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap));
+}
+
+static INLINE void SET_Bitmap(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_Bitmap, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3b)(GLbyte, GLbyte, GLbyte);
+#define CALL_Color3b(disp, parameters) \
+ (* GET_Color3b(disp)) parameters
+static INLINE _glptr_Color3b GET_Color3b(struct _glapi_table *disp) {
+ return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b));
+}
+
+static INLINE void SET_Color3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
+ SET_by_offset(disp, _gloffset_Color3b, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3bv)(const GLbyte *);
+#define CALL_Color3bv(disp, parameters) \
+ (* GET_Color3bv(disp)) parameters
+static INLINE _glptr_Color3bv GET_Color3bv(struct _glapi_table *disp) {
+ return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv));
+}
+
+static INLINE void SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_Color3bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_Color3d(disp, parameters) \
+ (* GET_Color3d(disp)) parameters
+static INLINE _glptr_Color3d GET_Color3d(struct _glapi_table *disp) {
+ return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d));
+}
+
+static INLINE void SET_Color3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Color3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3dv)(const GLdouble *);
+#define CALL_Color3dv(disp, parameters) \
+ (* GET_Color3dv(disp)) parameters
+static INLINE _glptr_Color3dv GET_Color3dv(struct _glapi_table *disp) {
+ return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv));
+}
+
+static INLINE void SET_Color3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Color3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_Color3f(disp, parameters) \
+ (* GET_Color3f(disp)) parameters
+static INLINE _glptr_Color3f GET_Color3f(struct _glapi_table *disp) {
+ return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f));
+}
+
+static INLINE void SET_Color3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Color3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3fv)(const GLfloat *);
+#define CALL_Color3fv(disp, parameters) \
+ (* GET_Color3fv(disp)) parameters
+static INLINE _glptr_Color3fv GET_Color3fv(struct _glapi_table *disp) {
+ return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv));
+}
+
+static INLINE void SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Color3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3i)(GLint, GLint, GLint);
+#define CALL_Color3i(disp, parameters) \
+ (* GET_Color3i(disp)) parameters
+static INLINE _glptr_Color3i GET_Color3i(struct _glapi_table *disp) {
+ return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i));
+}
+
+static INLINE void SET_Color3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Color3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3iv)(const GLint *);
+#define CALL_Color3iv(disp, parameters) \
+ (* GET_Color3iv(disp)) parameters
+static INLINE _glptr_Color3iv GET_Color3iv(struct _glapi_table *disp) {
+ return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv));
+}
+
+static INLINE void SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Color3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3s)(GLshort, GLshort, GLshort);
+#define CALL_Color3s(disp, parameters) \
+ (* GET_Color3s(disp)) parameters
+static INLINE _glptr_Color3s GET_Color3s(struct _glapi_table *disp) {
+ return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s));
+}
+
+static INLINE void SET_Color3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Color3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3sv)(const GLshort *);
+#define CALL_Color3sv(disp, parameters) \
+ (* GET_Color3sv(disp)) parameters
+static INLINE _glptr_Color3sv GET_Color3sv(struct _glapi_table *disp) {
+ return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv));
+}
+
+static INLINE void SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Color3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3ub)(GLubyte, GLubyte, GLubyte);
+#define CALL_Color3ub(disp, parameters) \
+ (* GET_Color3ub(disp)) parameters
+static INLINE _glptr_Color3ub GET_Color3ub(struct _glapi_table *disp) {
+ return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub));
+}
+
+static INLINE void SET_Color3ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
+ SET_by_offset(disp, _gloffset_Color3ub, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3ubv)(const GLubyte *);
+#define CALL_Color3ubv(disp, parameters) \
+ (* GET_Color3ubv(disp)) parameters
+static INLINE _glptr_Color3ubv GET_Color3ubv(struct _glapi_table *disp) {
+ return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv));
+}
+
+static INLINE void SET_Color3ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_Color3ubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3ui)(GLuint, GLuint, GLuint);
+#define CALL_Color3ui(disp, parameters) \
+ (* GET_Color3ui(disp)) parameters
+static INLINE _glptr_Color3ui GET_Color3ui(struct _glapi_table *disp) {
+ return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui));
+}
+
+static INLINE void SET_Color3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Color3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3uiv)(const GLuint *);
+#define CALL_Color3uiv(disp, parameters) \
+ (* GET_Color3uiv(disp)) parameters
+static INLINE _glptr_Color3uiv GET_Color3uiv(struct _glapi_table *disp) {
+ return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv));
+}
+
+static INLINE void SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Color3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3us)(GLushort, GLushort, GLushort);
+#define CALL_Color3us(disp, parameters) \
+ (* GET_Color3us(disp)) parameters
+static INLINE _glptr_Color3us GET_Color3us(struct _glapi_table *disp) {
+ return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us));
+}
+
+static INLINE void SET_Color3us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
+ SET_by_offset(disp, _gloffset_Color3us, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color3usv)(const GLushort *);
+#define CALL_Color3usv(disp, parameters) \
+ (* GET_Color3usv(disp)) parameters
+static INLINE _glptr_Color3usv GET_Color3usv(struct _glapi_table *disp) {
+ return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv));
+}
+
+static INLINE void SET_Color3usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
+ SET_by_offset(disp, _gloffset_Color3usv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
+#define CALL_Color4b(disp, parameters) \
+ (* GET_Color4b(disp)) parameters
+static INLINE _glptr_Color4b GET_Color4b(struct _glapi_table *disp) {
+ return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b));
+}
+
+static INLINE void SET_Color4b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte, GLbyte)) {
+ SET_by_offset(disp, _gloffset_Color4b, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4bv)(const GLbyte *);
+#define CALL_Color4bv(disp, parameters) \
+ (* GET_Color4bv(disp)) parameters
+static INLINE _glptr_Color4bv GET_Color4bv(struct _glapi_table *disp) {
+ return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv));
+}
+
+static INLINE void SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_Color4bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Color4d(disp, parameters) \
+ (* GET_Color4d(disp)) parameters
+static INLINE _glptr_Color4d GET_Color4d(struct _glapi_table *disp) {
+ return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d));
+}
+
+static INLINE void SET_Color4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Color4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4dv)(const GLdouble *);
+#define CALL_Color4dv(disp, parameters) \
+ (* GET_Color4dv(disp)) parameters
+static INLINE _glptr_Color4dv GET_Color4dv(struct _glapi_table *disp) {
+ return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv));
+}
+
+static INLINE void SET_Color4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Color4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Color4f(disp, parameters) \
+ (* GET_Color4f(disp)) parameters
+static INLINE _glptr_Color4f GET_Color4f(struct _glapi_table *disp) {
+ return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f));
+}
+
+static INLINE void SET_Color4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Color4f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4fv)(const GLfloat *);
+#define CALL_Color4fv(disp, parameters) \
+ (* GET_Color4fv(disp)) parameters
+static INLINE _glptr_Color4fv GET_Color4fv(struct _glapi_table *disp) {
+ return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv));
+}
+
+static INLINE void SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Color4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4i)(GLint, GLint, GLint, GLint);
+#define CALL_Color4i(disp, parameters) \
+ (* GET_Color4i(disp)) parameters
+static INLINE _glptr_Color4i GET_Color4i(struct _glapi_table *disp) {
+ return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i));
+}
+
+static INLINE void SET_Color4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Color4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4iv)(const GLint *);
+#define CALL_Color4iv(disp, parameters) \
+ (* GET_Color4iv(disp)) parameters
+static INLINE _glptr_Color4iv GET_Color4iv(struct _glapi_table *disp) {
+ return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv));
+}
+
+static INLINE void SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Color4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4s)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_Color4s(disp, parameters) \
+ (* GET_Color4s(disp)) parameters
+static INLINE _glptr_Color4s GET_Color4s(struct _glapi_table *disp) {
+ return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s));
+}
+
+static INLINE void SET_Color4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Color4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4sv)(const GLshort *);
+#define CALL_Color4sv(disp, parameters) \
+ (* GET_Color4sv(disp)) parameters
+static INLINE _glptr_Color4sv GET_Color4sv(struct _glapi_table *disp) {
+ return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv));
+}
+
+static INLINE void SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Color4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
+#define CALL_Color4ub(disp, parameters) \
+ (* GET_Color4ub(disp)) parameters
+static INLINE _glptr_Color4ub GET_Color4ub(struct _glapi_table *disp) {
+ return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub));
+}
+
+static INLINE void SET_Color4ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte, GLubyte)) {
+ SET_by_offset(disp, _gloffset_Color4ub, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4ubv)(const GLubyte *);
+#define CALL_Color4ubv(disp, parameters) \
+ (* GET_Color4ubv(disp)) parameters
+static INLINE _glptr_Color4ubv GET_Color4ubv(struct _glapi_table *disp) {
+ return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv));
+}
+
+static INLINE void SET_Color4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_Color4ubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4ui)(GLuint, GLuint, GLuint, GLuint);
+#define CALL_Color4ui(disp, parameters) \
+ (* GET_Color4ui(disp)) parameters
+static INLINE _glptr_Color4ui GET_Color4ui(struct _glapi_table *disp) {
+ return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui));
+}
+
+static INLINE void SET_Color4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Color4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4uiv)(const GLuint *);
+#define CALL_Color4uiv(disp, parameters) \
+ (* GET_Color4uiv(disp)) parameters
+static INLINE _glptr_Color4uiv GET_Color4uiv(struct _glapi_table *disp) {
+ return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv));
+}
+
+static INLINE void SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Color4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4us)(GLushort, GLushort, GLushort, GLushort);
+#define CALL_Color4us(disp, parameters) \
+ (* GET_Color4us(disp)) parameters
+static INLINE _glptr_Color4us GET_Color4us(struct _glapi_table *disp) {
+ return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us));
+}
+
+static INLINE void SET_Color4us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort, GLushort)) {
+ SET_by_offset(disp, _gloffset_Color4us, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4usv)(const GLushort *);
+#define CALL_Color4usv(disp, parameters) \
+ (* GET_Color4usv(disp)) parameters
+static INLINE _glptr_Color4usv GET_Color4usv(struct _glapi_table *disp) {
+ return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv));
+}
+
+static INLINE void SET_Color4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
+ SET_by_offset(disp, _gloffset_Color4usv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EdgeFlag)(GLboolean);
+#define CALL_EdgeFlag(disp, parameters) \
+ (* GET_EdgeFlag(disp)) parameters
+static INLINE _glptr_EdgeFlag GET_EdgeFlag(struct _glapi_table *disp) {
+ return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag));
+}
+
+static INLINE void SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
+ SET_by_offset(disp, _gloffset_EdgeFlag, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EdgeFlagv)(const GLboolean *);
+#define CALL_EdgeFlagv(disp, parameters) \
+ (* GET_EdgeFlagv(disp)) parameters
+static INLINE _glptr_EdgeFlagv GET_EdgeFlagv(struct _glapi_table *disp) {
+ return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv));
+}
+
+static INLINE void SET_EdgeFlagv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLboolean *)) {
+ SET_by_offset(disp, _gloffset_EdgeFlagv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_End)(void);
+#define CALL_End(disp, parameters) \
+ (* GET_End(disp)) parameters
+static INLINE _glptr_End GET_End(struct _glapi_table *disp) {
+ return (_glptr_End) (GET_by_offset(disp, _gloffset_End));
+}
+
+static INLINE void SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_End, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexd)(GLdouble);
+#define CALL_Indexd(disp, parameters) \
+ (* GET_Indexd(disp)) parameters
+static INLINE _glptr_Indexd GET_Indexd(struct _glapi_table *disp) {
+ return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd));
+}
+
+static INLINE void SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
+ SET_by_offset(disp, _gloffset_Indexd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexdv)(const GLdouble *);
+#define CALL_Indexdv(disp, parameters) \
+ (* GET_Indexdv(disp)) parameters
+static INLINE _glptr_Indexdv GET_Indexdv(struct _glapi_table *disp) {
+ return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv));
+}
+
+static INLINE void SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Indexdv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexf)(GLfloat);
+#define CALL_Indexf(disp, parameters) \
+ (* GET_Indexf(disp)) parameters
+static INLINE _glptr_Indexf GET_Indexf(struct _glapi_table *disp) {
+ return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf));
+}
+
+static INLINE void SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_Indexf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexfv)(const GLfloat *);
+#define CALL_Indexfv(disp, parameters) \
+ (* GET_Indexfv(disp)) parameters
+static INLINE _glptr_Indexfv GET_Indexfv(struct _glapi_table *disp) {
+ return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv));
+}
+
+static INLINE void SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Indexfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexi)(GLint);
+#define CALL_Indexi(disp, parameters) \
+ (* GET_Indexi(disp)) parameters
+static INLINE _glptr_Indexi GET_Indexi(struct _glapi_table *disp) {
+ return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi));
+}
+
+static INLINE void SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
+ SET_by_offset(disp, _gloffset_Indexi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexiv)(const GLint *);
+#define CALL_Indexiv(disp, parameters) \
+ (* GET_Indexiv(disp)) parameters
+static INLINE _glptr_Indexiv GET_Indexiv(struct _glapi_table *disp) {
+ return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv));
+}
+
+static INLINE void SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Indexiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexs)(GLshort);
+#define CALL_Indexs(disp, parameters) \
+ (* GET_Indexs(disp)) parameters
+static INLINE _glptr_Indexs GET_Indexs(struct _glapi_table *disp) {
+ return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs));
+}
+
+static INLINE void SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
+ SET_by_offset(disp, _gloffset_Indexs, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexsv)(const GLshort *);
+#define CALL_Indexsv(disp, parameters) \
+ (* GET_Indexsv(disp)) parameters
+static INLINE _glptr_Indexsv GET_Indexsv(struct _glapi_table *disp) {
+ return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv));
+}
+
+static INLINE void SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Indexsv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3b)(GLbyte, GLbyte, GLbyte);
+#define CALL_Normal3b(disp, parameters) \
+ (* GET_Normal3b(disp)) parameters
+static INLINE _glptr_Normal3b GET_Normal3b(struct _glapi_table *disp) {
+ return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b));
+}
+
+static INLINE void SET_Normal3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
+ SET_by_offset(disp, _gloffset_Normal3b, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3bv)(const GLbyte *);
+#define CALL_Normal3bv(disp, parameters) \
+ (* GET_Normal3bv(disp)) parameters
+static INLINE _glptr_Normal3bv GET_Normal3bv(struct _glapi_table *disp) {
+ return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv));
+}
+
+static INLINE void SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_Normal3bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_Normal3d(disp, parameters) \
+ (* GET_Normal3d(disp)) parameters
+static INLINE _glptr_Normal3d GET_Normal3d(struct _glapi_table *disp) {
+ return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d));
+}
+
+static INLINE void SET_Normal3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Normal3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3dv)(const GLdouble *);
+#define CALL_Normal3dv(disp, parameters) \
+ (* GET_Normal3dv(disp)) parameters
+static INLINE _glptr_Normal3dv GET_Normal3dv(struct _glapi_table *disp) {
+ return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv));
+}
+
+static INLINE void SET_Normal3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Normal3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_Normal3f(disp, parameters) \
+ (* GET_Normal3f(disp)) parameters
+static INLINE _glptr_Normal3f GET_Normal3f(struct _glapi_table *disp) {
+ return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f));
+}
+
+static INLINE void SET_Normal3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Normal3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3fv)(const GLfloat *);
+#define CALL_Normal3fv(disp, parameters) \
+ (* GET_Normal3fv(disp)) parameters
+static INLINE _glptr_Normal3fv GET_Normal3fv(struct _glapi_table *disp) {
+ return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv));
+}
+
+static INLINE void SET_Normal3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Normal3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3i)(GLint, GLint, GLint);
+#define CALL_Normal3i(disp, parameters) \
+ (* GET_Normal3i(disp)) parameters
+static INLINE _glptr_Normal3i GET_Normal3i(struct _glapi_table *disp) {
+ return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i));
+}
+
+static INLINE void SET_Normal3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Normal3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3iv)(const GLint *);
+#define CALL_Normal3iv(disp, parameters) \
+ (* GET_Normal3iv(disp)) parameters
+static INLINE _glptr_Normal3iv GET_Normal3iv(struct _glapi_table *disp) {
+ return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv));
+}
+
+static INLINE void SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Normal3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3s)(GLshort, GLshort, GLshort);
+#define CALL_Normal3s(disp, parameters) \
+ (* GET_Normal3s(disp)) parameters
+static INLINE _glptr_Normal3s GET_Normal3s(struct _glapi_table *disp) {
+ return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s));
+}
+
+static INLINE void SET_Normal3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Normal3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3sv)(const GLshort *);
+#define CALL_Normal3sv(disp, parameters) \
+ (* GET_Normal3sv(disp)) parameters
+static INLINE _glptr_Normal3sv GET_Normal3sv(struct _glapi_table *disp) {
+ return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv));
+}
+
+static INLINE void SET_Normal3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Normal3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2d)(GLdouble, GLdouble);
+#define CALL_RasterPos2d(disp, parameters) \
+ (* GET_RasterPos2d(disp)) parameters
+static INLINE _glptr_RasterPos2d GET_RasterPos2d(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d));
+}
+
+static INLINE void SET_RasterPos2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_RasterPos2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2dv)(const GLdouble *);
+#define CALL_RasterPos2dv(disp, parameters) \
+ (* GET_RasterPos2dv(disp)) parameters
+static INLINE _glptr_RasterPos2dv GET_RasterPos2dv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv));
+}
+
+static INLINE void SET_RasterPos2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_RasterPos2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2f)(GLfloat, GLfloat);
+#define CALL_RasterPos2f(disp, parameters) \
+ (* GET_RasterPos2f(disp)) parameters
+static INLINE _glptr_RasterPos2f GET_RasterPos2f(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f));
+}
+
+static INLINE void SET_RasterPos2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_RasterPos2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2fv)(const GLfloat *);
+#define CALL_RasterPos2fv(disp, parameters) \
+ (* GET_RasterPos2fv(disp)) parameters
+static INLINE _glptr_RasterPos2fv GET_RasterPos2fv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv));
+}
+
+static INLINE void SET_RasterPos2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_RasterPos2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2i)(GLint, GLint);
+#define CALL_RasterPos2i(disp, parameters) \
+ (* GET_RasterPos2i(disp)) parameters
+static INLINE _glptr_RasterPos2i GET_RasterPos2i(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i));
+}
+
+static INLINE void SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_RasterPos2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2iv)(const GLint *);
+#define CALL_RasterPos2iv(disp, parameters) \
+ (* GET_RasterPos2iv(disp)) parameters
+static INLINE _glptr_RasterPos2iv GET_RasterPos2iv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv));
+}
+
+static INLINE void SET_RasterPos2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_RasterPos2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2s)(GLshort, GLshort);
+#define CALL_RasterPos2s(disp, parameters) \
+ (* GET_RasterPos2s(disp)) parameters
+static INLINE _glptr_RasterPos2s GET_RasterPos2s(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s));
+}
+
+static INLINE void SET_RasterPos2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_RasterPos2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos2sv)(const GLshort *);
+#define CALL_RasterPos2sv(disp, parameters) \
+ (* GET_RasterPos2sv(disp)) parameters
+static INLINE _glptr_RasterPos2sv GET_RasterPos2sv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv));
+}
+
+static INLINE void SET_RasterPos2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_RasterPos2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_RasterPos3d(disp, parameters) \
+ (* GET_RasterPos3d(disp)) parameters
+static INLINE _glptr_RasterPos3d GET_RasterPos3d(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d));
+}
+
+static INLINE void SET_RasterPos3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_RasterPos3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3dv)(const GLdouble *);
+#define CALL_RasterPos3dv(disp, parameters) \
+ (* GET_RasterPos3dv(disp)) parameters
+static INLINE _glptr_RasterPos3dv GET_RasterPos3dv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv));
+}
+
+static INLINE void SET_RasterPos3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_RasterPos3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_RasterPos3f(disp, parameters) \
+ (* GET_RasterPos3f(disp)) parameters
+static INLINE _glptr_RasterPos3f GET_RasterPos3f(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f));
+}
+
+static INLINE void SET_RasterPos3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_RasterPos3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3fv)(const GLfloat *);
+#define CALL_RasterPos3fv(disp, parameters) \
+ (* GET_RasterPos3fv(disp)) parameters
+static INLINE _glptr_RasterPos3fv GET_RasterPos3fv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv));
+}
+
+static INLINE void SET_RasterPos3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_RasterPos3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3i)(GLint, GLint, GLint);
+#define CALL_RasterPos3i(disp, parameters) \
+ (* GET_RasterPos3i(disp)) parameters
+static INLINE _glptr_RasterPos3i GET_RasterPos3i(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i));
+}
+
+static INLINE void SET_RasterPos3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_RasterPos3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3iv)(const GLint *);
+#define CALL_RasterPos3iv(disp, parameters) \
+ (* GET_RasterPos3iv(disp)) parameters
+static INLINE _glptr_RasterPos3iv GET_RasterPos3iv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv));
+}
+
+static INLINE void SET_RasterPos3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_RasterPos3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3s)(GLshort, GLshort, GLshort);
+#define CALL_RasterPos3s(disp, parameters) \
+ (* GET_RasterPos3s(disp)) parameters
+static INLINE _glptr_RasterPos3s GET_RasterPos3s(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s));
+}
+
+static INLINE void SET_RasterPos3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_RasterPos3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos3sv)(const GLshort *);
+#define CALL_RasterPos3sv(disp, parameters) \
+ (* GET_RasterPos3sv(disp)) parameters
+static INLINE _glptr_RasterPos3sv GET_RasterPos3sv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv));
+}
+
+static INLINE void SET_RasterPos3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_RasterPos3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_RasterPos4d(disp, parameters) \
+ (* GET_RasterPos4d(disp)) parameters
+static INLINE _glptr_RasterPos4d GET_RasterPos4d(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d));
+}
+
+static INLINE void SET_RasterPos4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_RasterPos4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4dv)(const GLdouble *);
+#define CALL_RasterPos4dv(disp, parameters) \
+ (* GET_RasterPos4dv(disp)) parameters
+static INLINE _glptr_RasterPos4dv GET_RasterPos4dv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv));
+}
+
+static INLINE void SET_RasterPos4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_RasterPos4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_RasterPos4f(disp, parameters) \
+ (* GET_RasterPos4f(disp)) parameters
+static INLINE _glptr_RasterPos4f GET_RasterPos4f(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f));
+}
+
+static INLINE void SET_RasterPos4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_RasterPos4f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4fv)(const GLfloat *);
+#define CALL_RasterPos4fv(disp, parameters) \
+ (* GET_RasterPos4fv(disp)) parameters
+static INLINE _glptr_RasterPos4fv GET_RasterPos4fv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv));
+}
+
+static INLINE void SET_RasterPos4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_RasterPos4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4i)(GLint, GLint, GLint, GLint);
+#define CALL_RasterPos4i(disp, parameters) \
+ (* GET_RasterPos4i(disp)) parameters
+static INLINE _glptr_RasterPos4i GET_RasterPos4i(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i));
+}
+
+static INLINE void SET_RasterPos4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_RasterPos4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4iv)(const GLint *);
+#define CALL_RasterPos4iv(disp, parameters) \
+ (* GET_RasterPos4iv(disp)) parameters
+static INLINE _glptr_RasterPos4iv GET_RasterPos4iv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv));
+}
+
+static INLINE void SET_RasterPos4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_RasterPos4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_RasterPos4s(disp, parameters) \
+ (* GET_RasterPos4s(disp)) parameters
+static INLINE _glptr_RasterPos4s GET_RasterPos4s(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s));
+}
+
+static INLINE void SET_RasterPos4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_RasterPos4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RasterPos4sv)(const GLshort *);
+#define CALL_RasterPos4sv(disp, parameters) \
+ (* GET_RasterPos4sv(disp)) parameters
+static INLINE _glptr_RasterPos4sv GET_RasterPos4sv(struct _glapi_table *disp) {
+ return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv));
+}
+
+static INLINE void SET_RasterPos4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_RasterPos4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Rectd(disp, parameters) \
+ (* GET_Rectd(disp)) parameters
+static INLINE _glptr_Rectd GET_Rectd(struct _glapi_table *disp) {
+ return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd));
+}
+
+static INLINE void SET_Rectd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Rectd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectdv)(const GLdouble *, const GLdouble *);
+#define CALL_Rectdv(disp, parameters) \
+ (* GET_Rectdv(disp)) parameters
+static INLINE _glptr_Rectdv GET_Rectdv(struct _glapi_table *disp) {
+ return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv));
+}
+
+static INLINE void SET_Rectdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Rectdv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Rectf(disp, parameters) \
+ (* GET_Rectf(disp)) parameters
+static INLINE _glptr_Rectf GET_Rectf(struct _glapi_table *disp) {
+ return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf));
+}
+
+static INLINE void SET_Rectf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Rectf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectfv)(const GLfloat *, const GLfloat *);
+#define CALL_Rectfv(disp, parameters) \
+ (* GET_Rectfv(disp)) parameters
+static INLINE _glptr_Rectfv GET_Rectfv(struct _glapi_table *disp) {
+ return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv));
+}
+
+static INLINE void SET_Rectfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Rectfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Recti)(GLint, GLint, GLint, GLint);
+#define CALL_Recti(disp, parameters) \
+ (* GET_Recti(disp)) parameters
+static INLINE _glptr_Recti GET_Recti(struct _glapi_table *disp) {
+ return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti));
+}
+
+static INLINE void SET_Recti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Recti, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectiv)(const GLint *, const GLint *);
+#define CALL_Rectiv(disp, parameters) \
+ (* GET_Rectiv(disp)) parameters
+static INLINE _glptr_Rectiv GET_Rectiv(struct _glapi_table *disp) {
+ return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv));
+}
+
+static INLINE void SET_Rectiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Rectiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rects)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_Rects(disp, parameters) \
+ (* GET_Rects(disp)) parameters
+static INLINE _glptr_Rects GET_Rects(struct _glapi_table *disp) {
+ return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects));
+}
+
+static INLINE void SET_Rects(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Rects, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rectsv)(const GLshort *, const GLshort *);
+#define CALL_Rectsv(disp, parameters) \
+ (* GET_Rectsv(disp)) parameters
+static INLINE _glptr_Rectsv GET_Rectsv(struct _glapi_table *disp) {
+ return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv));
+}
+
+static INLINE void SET_Rectsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Rectsv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1d)(GLdouble);
+#define CALL_TexCoord1d(disp, parameters) \
+ (* GET_TexCoord1d(disp)) parameters
+static INLINE _glptr_TexCoord1d GET_TexCoord1d(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d));
+}
+
+static INLINE void SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
+ SET_by_offset(disp, _gloffset_TexCoord1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1dv)(const GLdouble *);
+#define CALL_TexCoord1dv(disp, parameters) \
+ (* GET_TexCoord1dv(disp)) parameters
+static INLINE _glptr_TexCoord1dv GET_TexCoord1dv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv));
+}
+
+static INLINE void SET_TexCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_TexCoord1dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1f)(GLfloat);
+#define CALL_TexCoord1f(disp, parameters) \
+ (* GET_TexCoord1f(disp)) parameters
+static INLINE _glptr_TexCoord1f GET_TexCoord1f(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f));
+}
+
+static INLINE void SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexCoord1f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1fv)(const GLfloat *);
+#define CALL_TexCoord1fv(disp, parameters) \
+ (* GET_TexCoord1fv(disp)) parameters
+static INLINE _glptr_TexCoord1fv GET_TexCoord1fv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv));
+}
+
+static INLINE void SET_TexCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexCoord1fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1i)(GLint);
+#define CALL_TexCoord1i(disp, parameters) \
+ (* GET_TexCoord1i(disp)) parameters
+static INLINE _glptr_TexCoord1i GET_TexCoord1i(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i));
+}
+
+static INLINE void SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
+ SET_by_offset(disp, _gloffset_TexCoord1i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1iv)(const GLint *);
+#define CALL_TexCoord1iv(disp, parameters) \
+ (* GET_TexCoord1iv(disp)) parameters
+static INLINE _glptr_TexCoord1iv GET_TexCoord1iv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv));
+}
+
+static INLINE void SET_TexCoord1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexCoord1iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1s)(GLshort);
+#define CALL_TexCoord1s(disp, parameters) \
+ (* GET_TexCoord1s(disp)) parameters
+static INLINE _glptr_TexCoord1s GET_TexCoord1s(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s));
+}
+
+static INLINE void SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
+ SET_by_offset(disp, _gloffset_TexCoord1s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord1sv)(const GLshort *);
+#define CALL_TexCoord1sv(disp, parameters) \
+ (* GET_TexCoord1sv(disp)) parameters
+static INLINE _glptr_TexCoord1sv GET_TexCoord1sv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv));
+}
+
+static INLINE void SET_TexCoord1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_TexCoord1sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2d)(GLdouble, GLdouble);
+#define CALL_TexCoord2d(disp, parameters) \
+ (* GET_TexCoord2d(disp)) parameters
+static INLINE _glptr_TexCoord2d GET_TexCoord2d(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d));
+}
+
+static INLINE void SET_TexCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_TexCoord2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2dv)(const GLdouble *);
+#define CALL_TexCoord2dv(disp, parameters) \
+ (* GET_TexCoord2dv(disp)) parameters
+static INLINE _glptr_TexCoord2dv GET_TexCoord2dv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv));
+}
+
+static INLINE void SET_TexCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_TexCoord2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2f)(GLfloat, GLfloat);
+#define CALL_TexCoord2f(disp, parameters) \
+ (* GET_TexCoord2f(disp)) parameters
+static INLINE _glptr_TexCoord2f GET_TexCoord2f(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f));
+}
+
+static INLINE void SET_TexCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexCoord2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2fv)(const GLfloat *);
+#define CALL_TexCoord2fv(disp, parameters) \
+ (* GET_TexCoord2fv(disp)) parameters
+static INLINE _glptr_TexCoord2fv GET_TexCoord2fv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv));
+}
+
+static INLINE void SET_TexCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexCoord2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2i)(GLint, GLint);
+#define CALL_TexCoord2i(disp, parameters) \
+ (* GET_TexCoord2i(disp)) parameters
+static INLINE _glptr_TexCoord2i GET_TexCoord2i(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i));
+}
+
+static INLINE void SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_TexCoord2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2iv)(const GLint *);
+#define CALL_TexCoord2iv(disp, parameters) \
+ (* GET_TexCoord2iv(disp)) parameters
+static INLINE _glptr_TexCoord2iv GET_TexCoord2iv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv));
+}
+
+static INLINE void SET_TexCoord2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexCoord2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2s)(GLshort, GLshort);
+#define CALL_TexCoord2s(disp, parameters) \
+ (* GET_TexCoord2s(disp)) parameters
+static INLINE _glptr_TexCoord2s GET_TexCoord2s(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s));
+}
+
+static INLINE void SET_TexCoord2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_TexCoord2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord2sv)(const GLshort *);
+#define CALL_TexCoord2sv(disp, parameters) \
+ (* GET_TexCoord2sv(disp)) parameters
+static INLINE _glptr_TexCoord2sv GET_TexCoord2sv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv));
+}
+
+static INLINE void SET_TexCoord2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_TexCoord2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_TexCoord3d(disp, parameters) \
+ (* GET_TexCoord3d(disp)) parameters
+static INLINE _glptr_TexCoord3d GET_TexCoord3d(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d));
+}
+
+static INLINE void SET_TexCoord3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_TexCoord3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3dv)(const GLdouble *);
+#define CALL_TexCoord3dv(disp, parameters) \
+ (* GET_TexCoord3dv(disp)) parameters
+static INLINE _glptr_TexCoord3dv GET_TexCoord3dv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv));
+}
+
+static INLINE void SET_TexCoord3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_TexCoord3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_TexCoord3f(disp, parameters) \
+ (* GET_TexCoord3f(disp)) parameters
+static INLINE _glptr_TexCoord3f GET_TexCoord3f(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f));
+}
+
+static INLINE void SET_TexCoord3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexCoord3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3fv)(const GLfloat *);
+#define CALL_TexCoord3fv(disp, parameters) \
+ (* GET_TexCoord3fv(disp)) parameters
+static INLINE _glptr_TexCoord3fv GET_TexCoord3fv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv));
+}
+
+static INLINE void SET_TexCoord3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexCoord3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3i)(GLint, GLint, GLint);
+#define CALL_TexCoord3i(disp, parameters) \
+ (* GET_TexCoord3i(disp)) parameters
+static INLINE _glptr_TexCoord3i GET_TexCoord3i(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i));
+}
+
+static INLINE void SET_TexCoord3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_TexCoord3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3iv)(const GLint *);
+#define CALL_TexCoord3iv(disp, parameters) \
+ (* GET_TexCoord3iv(disp)) parameters
+static INLINE _glptr_TexCoord3iv GET_TexCoord3iv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv));
+}
+
+static INLINE void SET_TexCoord3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexCoord3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3s)(GLshort, GLshort, GLshort);
+#define CALL_TexCoord3s(disp, parameters) \
+ (* GET_TexCoord3s(disp)) parameters
+static INLINE _glptr_TexCoord3s GET_TexCoord3s(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s));
+}
+
+static INLINE void SET_TexCoord3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_TexCoord3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord3sv)(const GLshort *);
+#define CALL_TexCoord3sv(disp, parameters) \
+ (* GET_TexCoord3sv(disp)) parameters
+static INLINE _glptr_TexCoord3sv GET_TexCoord3sv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv));
+}
+
+static INLINE void SET_TexCoord3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_TexCoord3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_TexCoord4d(disp, parameters) \
+ (* GET_TexCoord4d(disp)) parameters
+static INLINE _glptr_TexCoord4d GET_TexCoord4d(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d));
+}
+
+static INLINE void SET_TexCoord4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_TexCoord4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4dv)(const GLdouble *);
+#define CALL_TexCoord4dv(disp, parameters) \
+ (* GET_TexCoord4dv(disp)) parameters
+static INLINE _glptr_TexCoord4dv GET_TexCoord4dv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv));
+}
+
+static INLINE void SET_TexCoord4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_TexCoord4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_TexCoord4f(disp, parameters) \
+ (* GET_TexCoord4f(disp)) parameters
+static INLINE _glptr_TexCoord4f GET_TexCoord4f(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f));
+}
+
+static INLINE void SET_TexCoord4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexCoord4f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4fv)(const GLfloat *);
+#define CALL_TexCoord4fv(disp, parameters) \
+ (* GET_TexCoord4fv(disp)) parameters
+static INLINE _glptr_TexCoord4fv GET_TexCoord4fv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv));
+}
+
+static INLINE void SET_TexCoord4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexCoord4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4i)(GLint, GLint, GLint, GLint);
+#define CALL_TexCoord4i(disp, parameters) \
+ (* GET_TexCoord4i(disp)) parameters
+static INLINE _glptr_TexCoord4i GET_TexCoord4i(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i));
+}
+
+static INLINE void SET_TexCoord4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_TexCoord4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4iv)(const GLint *);
+#define CALL_TexCoord4iv(disp, parameters) \
+ (* GET_TexCoord4iv(disp)) parameters
+static INLINE _glptr_TexCoord4iv GET_TexCoord4iv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv));
+}
+
+static INLINE void SET_TexCoord4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexCoord4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_TexCoord4s(disp, parameters) \
+ (* GET_TexCoord4s(disp)) parameters
+static INLINE _glptr_TexCoord4s GET_TexCoord4s(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s));
+}
+
+static INLINE void SET_TexCoord4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_TexCoord4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoord4sv)(const GLshort *);
+#define CALL_TexCoord4sv(disp, parameters) \
+ (* GET_TexCoord4sv(disp)) parameters
+static INLINE _glptr_TexCoord4sv GET_TexCoord4sv(struct _glapi_table *disp) {
+ return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv));
+}
+
+static INLINE void SET_TexCoord4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_TexCoord4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2d)(GLdouble, GLdouble);
+#define CALL_Vertex2d(disp, parameters) \
+ (* GET_Vertex2d(disp)) parameters
+static INLINE _glptr_Vertex2d GET_Vertex2d(struct _glapi_table *disp) {
+ return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d));
+}
+
+static INLINE void SET_Vertex2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Vertex2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2dv)(const GLdouble *);
+#define CALL_Vertex2dv(disp, parameters) \
+ (* GET_Vertex2dv(disp)) parameters
+static INLINE _glptr_Vertex2dv GET_Vertex2dv(struct _glapi_table *disp) {
+ return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv));
+}
+
+static INLINE void SET_Vertex2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Vertex2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2f)(GLfloat, GLfloat);
+#define CALL_Vertex2f(disp, parameters) \
+ (* GET_Vertex2f(disp)) parameters
+static INLINE _glptr_Vertex2f GET_Vertex2f(struct _glapi_table *disp) {
+ return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f));
+}
+
+static INLINE void SET_Vertex2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Vertex2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2fv)(const GLfloat *);
+#define CALL_Vertex2fv(disp, parameters) \
+ (* GET_Vertex2fv(disp)) parameters
+static INLINE _glptr_Vertex2fv GET_Vertex2fv(struct _glapi_table *disp) {
+ return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv));
+}
+
+static INLINE void SET_Vertex2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Vertex2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2i)(GLint, GLint);
+#define CALL_Vertex2i(disp, parameters) \
+ (* GET_Vertex2i(disp)) parameters
+static INLINE _glptr_Vertex2i GET_Vertex2i(struct _glapi_table *disp) {
+ return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i));
+}
+
+static INLINE void SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Vertex2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2iv)(const GLint *);
+#define CALL_Vertex2iv(disp, parameters) \
+ (* GET_Vertex2iv(disp)) parameters
+static INLINE _glptr_Vertex2iv GET_Vertex2iv(struct _glapi_table *disp) {
+ return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv));
+}
+
+static INLINE void SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Vertex2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2s)(GLshort, GLshort);
+#define CALL_Vertex2s(disp, parameters) \
+ (* GET_Vertex2s(disp)) parameters
+static INLINE _glptr_Vertex2s GET_Vertex2s(struct _glapi_table *disp) {
+ return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s));
+}
+
+static INLINE void SET_Vertex2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Vertex2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex2sv)(const GLshort *);
+#define CALL_Vertex2sv(disp, parameters) \
+ (* GET_Vertex2sv(disp)) parameters
+static INLINE _glptr_Vertex2sv GET_Vertex2sv(struct _glapi_table *disp) {
+ return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv));
+}
+
+static INLINE void SET_Vertex2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Vertex2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_Vertex3d(disp, parameters) \
+ (* GET_Vertex3d(disp)) parameters
+static INLINE _glptr_Vertex3d GET_Vertex3d(struct _glapi_table *disp) {
+ return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d));
+}
+
+static INLINE void SET_Vertex3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Vertex3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3dv)(const GLdouble *);
+#define CALL_Vertex3dv(disp, parameters) \
+ (* GET_Vertex3dv(disp)) parameters
+static INLINE _glptr_Vertex3dv GET_Vertex3dv(struct _glapi_table *disp) {
+ return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv));
+}
+
+static INLINE void SET_Vertex3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Vertex3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_Vertex3f(disp, parameters) \
+ (* GET_Vertex3f(disp)) parameters
+static INLINE _glptr_Vertex3f GET_Vertex3f(struct _glapi_table *disp) {
+ return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f));
+}
+
+static INLINE void SET_Vertex3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Vertex3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3fv)(const GLfloat *);
+#define CALL_Vertex3fv(disp, parameters) \
+ (* GET_Vertex3fv(disp)) parameters
+static INLINE _glptr_Vertex3fv GET_Vertex3fv(struct _glapi_table *disp) {
+ return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv));
+}
+
+static INLINE void SET_Vertex3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Vertex3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3i)(GLint, GLint, GLint);
+#define CALL_Vertex3i(disp, parameters) \
+ (* GET_Vertex3i(disp)) parameters
+static INLINE _glptr_Vertex3i GET_Vertex3i(struct _glapi_table *disp) {
+ return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i));
+}
+
+static INLINE void SET_Vertex3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Vertex3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3iv)(const GLint *);
+#define CALL_Vertex3iv(disp, parameters) \
+ (* GET_Vertex3iv(disp)) parameters
+static INLINE _glptr_Vertex3iv GET_Vertex3iv(struct _glapi_table *disp) {
+ return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv));
+}
+
+static INLINE void SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Vertex3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3s)(GLshort, GLshort, GLshort);
+#define CALL_Vertex3s(disp, parameters) \
+ (* GET_Vertex3s(disp)) parameters
+static INLINE _glptr_Vertex3s GET_Vertex3s(struct _glapi_table *disp) {
+ return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s));
+}
+
+static INLINE void SET_Vertex3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Vertex3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex3sv)(const GLshort *);
+#define CALL_Vertex3sv(disp, parameters) \
+ (* GET_Vertex3sv(disp)) parameters
+static INLINE _glptr_Vertex3sv GET_Vertex3sv(struct _glapi_table *disp) {
+ return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv));
+}
+
+static INLINE void SET_Vertex3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Vertex3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Vertex4d(disp, parameters) \
+ (* GET_Vertex4d(disp)) parameters
+static INLINE _glptr_Vertex4d GET_Vertex4d(struct _glapi_table *disp) {
+ return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d));
+}
+
+static INLINE void SET_Vertex4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Vertex4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4dv)(const GLdouble *);
+#define CALL_Vertex4dv(disp, parameters) \
+ (* GET_Vertex4dv(disp)) parameters
+static INLINE _glptr_Vertex4dv GET_Vertex4dv(struct _glapi_table *disp) {
+ return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv));
+}
+
+static INLINE void SET_Vertex4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Vertex4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Vertex4f(disp, parameters) \
+ (* GET_Vertex4f(disp)) parameters
+static INLINE _glptr_Vertex4f GET_Vertex4f(struct _glapi_table *disp) {
+ return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f));
+}
+
+static INLINE void SET_Vertex4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Vertex4f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4fv)(const GLfloat *);
+#define CALL_Vertex4fv(disp, parameters) \
+ (* GET_Vertex4fv(disp)) parameters
+static INLINE _glptr_Vertex4fv GET_Vertex4fv(struct _glapi_table *disp) {
+ return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv));
+}
+
+static INLINE void SET_Vertex4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Vertex4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4i)(GLint, GLint, GLint, GLint);
+#define CALL_Vertex4i(disp, parameters) \
+ (* GET_Vertex4i(disp)) parameters
+static INLINE _glptr_Vertex4i GET_Vertex4i(struct _glapi_table *disp) {
+ return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i));
+}
+
+static INLINE void SET_Vertex4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Vertex4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4iv)(const GLint *);
+#define CALL_Vertex4iv(disp, parameters) \
+ (* GET_Vertex4iv(disp)) parameters
+static INLINE _glptr_Vertex4iv GET_Vertex4iv(struct _glapi_table *disp) {
+ return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv));
+}
+
+static INLINE void SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_Vertex4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4s)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_Vertex4s(disp, parameters) \
+ (* GET_Vertex4s(disp)) parameters
+static INLINE _glptr_Vertex4s GET_Vertex4s(struct _glapi_table *disp) {
+ return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s));
+}
+
+static INLINE void SET_Vertex4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_Vertex4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Vertex4sv)(const GLshort *);
+#define CALL_Vertex4sv(disp, parameters) \
+ (* GET_Vertex4sv(disp)) parameters
+static INLINE _glptr_Vertex4sv GET_Vertex4sv(struct _glapi_table *disp) {
+ return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv));
+}
+
+static INLINE void SET_Vertex4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_Vertex4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClipPlane)(GLenum, const GLdouble *);
+#define CALL_ClipPlane(disp, parameters) \
+ (* GET_ClipPlane(disp)) parameters
+static INLINE _glptr_ClipPlane GET_ClipPlane(struct _glapi_table *disp) {
+ return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane));
+}
+
+static INLINE void SET_ClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_ClipPlane, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorMaterial)(GLenum, GLenum);
+#define CALL_ColorMaterial(disp, parameters) \
+ (* GET_ColorMaterial(disp)) parameters
+static INLINE _glptr_ColorMaterial GET_ColorMaterial(struct _glapi_table *disp) {
+ return (_glptr_ColorMaterial) (GET_by_offset(disp, _gloffset_ColorMaterial));
+}
+
+static INLINE void SET_ColorMaterial(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_ColorMaterial, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CullFace)(GLenum);
+#define CALL_CullFace(disp, parameters) \
+ (* GET_CullFace(disp)) parameters
+static INLINE _glptr_CullFace GET_CullFace(struct _glapi_table *disp) {
+ return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace));
+}
+
+static INLINE void SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_CullFace, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogf)(GLenum, GLfloat);
+#define CALL_Fogf(disp, parameters) \
+ (* GET_Fogf(disp)) parameters
+static INLINE _glptr_Fogf GET_Fogf(struct _glapi_table *disp) {
+ return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf));
+}
+
+static INLINE void SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Fogf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogfv)(GLenum, const GLfloat *);
+#define CALL_Fogfv(disp, parameters) \
+ (* GET_Fogfv(disp)) parameters
+static INLINE _glptr_Fogfv GET_Fogfv(struct _glapi_table *disp) {
+ return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv));
+}
+
+static INLINE void SET_Fogfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Fogfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogi)(GLenum, GLint);
+#define CALL_Fogi(disp, parameters) \
+ (* GET_Fogi(disp)) parameters
+static INLINE _glptr_Fogi GET_Fogi(struct _glapi_table *disp) {
+ return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi));
+}
+
+static INLINE void SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_Fogi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogiv)(GLenum, const GLint *);
+#define CALL_Fogiv(disp, parameters) \
+ (* GET_Fogiv(disp)) parameters
+static INLINE _glptr_Fogiv GET_Fogiv(struct _glapi_table *disp) {
+ return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv));
+}
+
+static INLINE void SET_Fogiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Fogiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FrontFace)(GLenum);
+#define CALL_FrontFace(disp, parameters) \
+ (* GET_FrontFace(disp)) parameters
+static INLINE _glptr_FrontFace GET_FrontFace(struct _glapi_table *disp) {
+ return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace));
+}
+
+static INLINE void SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_FrontFace, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Hint)(GLenum, GLenum);
+#define CALL_Hint(disp, parameters) \
+ (* GET_Hint(disp)) parameters
+static INLINE _glptr_Hint GET_Hint(struct _glapi_table *disp) {
+ return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint));
+}
+
+static INLINE void SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_Hint, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lightf)(GLenum, GLenum, GLfloat);
+#define CALL_Lightf(disp, parameters) \
+ (* GET_Lightf(disp)) parameters
+static INLINE _glptr_Lightf GET_Lightf(struct _glapi_table *disp) {
+ return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf));
+}
+
+static INLINE void SET_Lightf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Lightf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lightfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_Lightfv(disp, parameters) \
+ (* GET_Lightfv(disp)) parameters
+static INLINE _glptr_Lightfv GET_Lightfv(struct _glapi_table *disp) {
+ return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv));
+}
+
+static INLINE void SET_Lightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Lightfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lighti)(GLenum, GLenum, GLint);
+#define CALL_Lighti(disp, parameters) \
+ (* GET_Lighti(disp)) parameters
+static INLINE _glptr_Lighti GET_Lighti(struct _glapi_table *disp) {
+ return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti));
+}
+
+static INLINE void SET_Lighti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_Lighti, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lightiv)(GLenum, GLenum, const GLint *);
+#define CALL_Lightiv(disp, parameters) \
+ (* GET_Lightiv(disp)) parameters
+static INLINE _glptr_Lightiv GET_Lightiv(struct _glapi_table *disp) {
+ return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv));
+}
+
+static INLINE void SET_Lightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Lightiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModelf)(GLenum, GLfloat);
+#define CALL_LightModelf(disp, parameters) \
+ (* GET_LightModelf(disp)) parameters
+static INLINE _glptr_LightModelf GET_LightModelf(struct _glapi_table *disp) {
+ return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf));
+}
+
+static INLINE void SET_LightModelf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_LightModelf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModelfv)(GLenum, const GLfloat *);
+#define CALL_LightModelfv(disp, parameters) \
+ (* GET_LightModelfv(disp)) parameters
+static INLINE _glptr_LightModelfv GET_LightModelfv(struct _glapi_table *disp) {
+ return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv));
+}
+
+static INLINE void SET_LightModelfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_LightModelfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModeli)(GLenum, GLint);
+#define CALL_LightModeli(disp, parameters) \
+ (* GET_LightModeli(disp)) parameters
+static INLINE _glptr_LightModeli GET_LightModeli(struct _glapi_table *disp) {
+ return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli));
+}
+
+static INLINE void SET_LightModeli(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_LightModeli, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModeliv)(GLenum, const GLint *);
+#define CALL_LightModeliv(disp, parameters) \
+ (* GET_LightModeliv(disp)) parameters
+static INLINE _glptr_LightModeliv GET_LightModeliv(struct _glapi_table *disp) {
+ return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv));
+}
+
+static INLINE void SET_LightModeliv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_LightModeliv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LineStipple)(GLint, GLushort);
+#define CALL_LineStipple(disp, parameters) \
+ (* GET_LineStipple(disp)) parameters
+static INLINE _glptr_LineStipple GET_LineStipple(struct _glapi_table *disp) {
+ return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple));
+}
+
+static INLINE void SET_LineStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLushort)) {
+ SET_by_offset(disp, _gloffset_LineStipple, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LineWidth)(GLfloat);
+#define CALL_LineWidth(disp, parameters) \
+ (* GET_LineWidth(disp)) parameters
+static INLINE _glptr_LineWidth GET_LineWidth(struct _glapi_table *disp) {
+ return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth));
+}
+
+static INLINE void SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_LineWidth, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materialf)(GLenum, GLenum, GLfloat);
+#define CALL_Materialf(disp, parameters) \
+ (* GET_Materialf(disp)) parameters
+static INLINE _glptr_Materialf GET_Materialf(struct _glapi_table *disp) {
+ return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf));
+}
+
+static INLINE void SET_Materialf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Materialf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materialfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_Materialfv(disp, parameters) \
+ (* GET_Materialfv(disp)) parameters
+static INLINE _glptr_Materialfv GET_Materialfv(struct _glapi_table *disp) {
+ return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv));
+}
+
+static INLINE void SET_Materialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Materialfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materiali)(GLenum, GLenum, GLint);
+#define CALL_Materiali(disp, parameters) \
+ (* GET_Materiali(disp)) parameters
+static INLINE _glptr_Materiali GET_Materiali(struct _glapi_table *disp) {
+ return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali));
+}
+
+static INLINE void SET_Materiali(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_Materiali, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materialiv)(GLenum, GLenum, const GLint *);
+#define CALL_Materialiv(disp, parameters) \
+ (* GET_Materialiv(disp)) parameters
+static INLINE _glptr_Materialiv GET_Materialiv(struct _glapi_table *disp) {
+ return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv));
+}
+
+static INLINE void SET_Materialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Materialiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointSize)(GLfloat);
+#define CALL_PointSize(disp, parameters) \
+ (* GET_PointSize(disp)) parameters
+static INLINE _glptr_PointSize GET_PointSize(struct _glapi_table *disp) {
+ return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize));
+}
+
+static INLINE void SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_PointSize, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PolygonMode)(GLenum, GLenum);
+#define CALL_PolygonMode(disp, parameters) \
+ (* GET_PolygonMode(disp)) parameters
+static INLINE _glptr_PolygonMode GET_PolygonMode(struct _glapi_table *disp) {
+ return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode));
+}
+
+static INLINE void SET_PolygonMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_PolygonMode, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PolygonStipple)(const GLubyte *);
+#define CALL_PolygonStipple(disp, parameters) \
+ (* GET_PolygonStipple(disp)) parameters
+static INLINE _glptr_PolygonStipple GET_PolygonStipple(struct _glapi_table *disp) {
+ return (_glptr_PolygonStipple) (GET_by_offset(disp, _gloffset_PolygonStipple));
+}
+
+static INLINE void SET_PolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_PolygonStipple, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Scissor)(GLint, GLint, GLsizei, GLsizei);
+#define CALL_Scissor(disp, parameters) \
+ (* GET_Scissor(disp)) parameters
+static INLINE _glptr_Scissor GET_Scissor(struct _glapi_table *disp) {
+ return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor));
+}
+
+static INLINE void SET_Scissor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_Scissor, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ShadeModel)(GLenum);
+#define CALL_ShadeModel(disp, parameters) \
+ (* GET_ShadeModel(disp)) parameters
+static INLINE _glptr_ShadeModel GET_ShadeModel(struct _glapi_table *disp) {
+ return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel));
+}
+
+static INLINE void SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ShadeModel, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterf)(GLenum, GLenum, GLfloat);
+#define CALL_TexParameterf(disp, parameters) \
+ (* GET_TexParameterf(disp)) parameters
+static INLINE _glptr_TexParameterf GET_TexParameterf(struct _glapi_table *disp) {
+ return (_glptr_TexParameterf) (GET_by_offset(disp, _gloffset_TexParameterf));
+}
+
+static INLINE void SET_TexParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexParameterf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_TexParameterfv(disp, parameters) \
+ (* GET_TexParameterfv(disp)) parameters
+static INLINE _glptr_TexParameterfv GET_TexParameterfv(struct _glapi_table *disp) {
+ return (_glptr_TexParameterfv) (GET_by_offset(disp, _gloffset_TexParameterfv));
+}
+
+static INLINE void SET_TexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameteri)(GLenum, GLenum, GLint);
+#define CALL_TexParameteri(disp, parameters) \
+ (* GET_TexParameteri(disp)) parameters
+static INLINE _glptr_TexParameteri GET_TexParameteri(struct _glapi_table *disp) {
+ return (_glptr_TexParameteri) (GET_by_offset(disp, _gloffset_TexParameteri));
+}
+
+static INLINE void SET_TexParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_TexParameteri, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameteriv)(GLenum, GLenum, const GLint *);
+#define CALL_TexParameteriv(disp, parameters) \
+ (* GET_TexParameteriv(disp)) parameters
+static INLINE _glptr_TexParameteriv GET_TexParameteriv(struct _glapi_table *disp) {
+ return (_glptr_TexParameteriv) (GET_by_offset(disp, _gloffset_TexParameteriv));
+}
+
+static INLINE void SET_TexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+#define CALL_TexImage1D(disp, parameters) \
+ (* GET_TexImage1D(disp)) parameters
+static INLINE _glptr_TexImage1D GET_TexImage1D(struct _glapi_table *disp) {
+ return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D));
+}
+
+static INLINE void SET_TexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+#define CALL_TexImage2D(disp, parameters) \
+ (* GET_TexImage2D(disp)) parameters
+static INLINE _glptr_TexImage2D GET_TexImage2D(struct _glapi_table *disp) {
+ return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D));
+}
+
+static INLINE void SET_TexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnvf)(GLenum, GLenum, GLfloat);
+#define CALL_TexEnvf(disp, parameters) \
+ (* GET_TexEnvf(disp)) parameters
+static INLINE _glptr_TexEnvf GET_TexEnvf(struct _glapi_table *disp) {
+ return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf));
+}
+
+static INLINE void SET_TexEnvf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexEnvf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnvfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_TexEnvfv(disp, parameters) \
+ (* GET_TexEnvfv(disp)) parameters
+static INLINE _glptr_TexEnvfv GET_TexEnvfv(struct _glapi_table *disp) {
+ return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv));
+}
+
+static INLINE void SET_TexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexEnvfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnvi)(GLenum, GLenum, GLint);
+#define CALL_TexEnvi(disp, parameters) \
+ (* GET_TexEnvi(disp)) parameters
+static INLINE _glptr_TexEnvi GET_TexEnvi(struct _glapi_table *disp) {
+ return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi));
+}
+
+static INLINE void SET_TexEnvi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_TexEnvi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnviv)(GLenum, GLenum, const GLint *);
+#define CALL_TexEnviv(disp, parameters) \
+ (* GET_TexEnviv(disp)) parameters
+static INLINE _glptr_TexEnviv GET_TexEnviv(struct _glapi_table *disp) {
+ return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv));
+}
+
+static INLINE void SET_TexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexEnviv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGend)(GLenum, GLenum, GLdouble);
+#define CALL_TexGend(disp, parameters) \
+ (* GET_TexGend(disp)) parameters
+static INLINE _glptr_TexGend GET_TexGend(struct _glapi_table *disp) {
+ return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend));
+}
+
+static INLINE void SET_TexGend(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble)) {
+ SET_by_offset(disp, _gloffset_TexGend, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGendv)(GLenum, GLenum, const GLdouble *);
+#define CALL_TexGendv(disp, parameters) \
+ (* GET_TexGendv(disp)) parameters
+static INLINE _glptr_TexGendv GET_TexGendv(struct _glapi_table *disp) {
+ return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv));
+}
+
+static INLINE void SET_TexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_TexGendv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGenf)(GLenum, GLenum, GLfloat);
+#define CALL_TexGenf(disp, parameters) \
+ (* GET_TexGenf(disp)) parameters
+static INLINE _glptr_TexGenf GET_TexGenf(struct _glapi_table *disp) {
+ return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf));
+}
+
+static INLINE void SET_TexGenf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_TexGenf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGenfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_TexGenfv(disp, parameters) \
+ (* GET_TexGenfv(disp)) parameters
+static INLINE _glptr_TexGenfv GET_TexGenfv(struct _glapi_table *disp) {
+ return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv));
+}
+
+static INLINE void SET_TexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexGenfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGeni)(GLenum, GLenum, GLint);
+#define CALL_TexGeni(disp, parameters) \
+ (* GET_TexGeni(disp)) parameters
+static INLINE _glptr_TexGeni GET_TexGeni(struct _glapi_table *disp) {
+ return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni));
+}
+
+static INLINE void SET_TexGeni(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_TexGeni, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGeniv)(GLenum, GLenum, const GLint *);
+#define CALL_TexGeniv(disp, parameters) \
+ (* GET_TexGeniv(disp)) parameters
+static INLINE _glptr_TexGeniv GET_TexGeniv(struct _glapi_table *disp) {
+ return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv));
+}
+
+static INLINE void SET_TexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexGeniv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
+#define CALL_FeedbackBuffer(disp, parameters) \
+ (* GET_FeedbackBuffer(disp)) parameters
+static INLINE _glptr_FeedbackBuffer GET_FeedbackBuffer(struct _glapi_table *disp) {
+ return (_glptr_FeedbackBuffer) (GET_by_offset(disp, _gloffset_FeedbackBuffer));
+}
+
+static INLINE void SET_FeedbackBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_FeedbackBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SelectBuffer)(GLsizei, GLuint *);
+#define CALL_SelectBuffer(disp, parameters) \
+ (* GET_SelectBuffer(disp)) parameters
+static INLINE _glptr_SelectBuffer GET_SelectBuffer(struct _glapi_table *disp) {
+ return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer));
+}
+
+static INLINE void SET_SelectBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_SelectBuffer, fn);
+}
+
+typedef GLint (GLAPIENTRYP _glptr_RenderMode)(GLenum);
+#define CALL_RenderMode(disp, parameters) \
+ (* GET_RenderMode(disp)) parameters
+static INLINE _glptr_RenderMode GET_RenderMode(struct _glapi_table *disp) {
+ return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode));
+}
+
+static INLINE void SET_RenderMode(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_RenderMode, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InitNames)(void);
+#define CALL_InitNames(disp, parameters) \
+ (* GET_InitNames(disp)) parameters
+static INLINE _glptr_InitNames GET_InitNames(struct _glapi_table *disp) {
+ return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames));
+}
+
+static INLINE void SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_InitNames, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadName)(GLuint);
+#define CALL_LoadName(disp, parameters) \
+ (* GET_LoadName(disp)) parameters
+static INLINE _glptr_LoadName GET_LoadName(struct _glapi_table *disp) {
+ return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName));
+}
+
+static INLINE void SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_LoadName, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PassThrough)(GLfloat);
+#define CALL_PassThrough(disp, parameters) \
+ (* GET_PassThrough(disp)) parameters
+static INLINE _glptr_PassThrough GET_PassThrough(struct _glapi_table *disp) {
+ return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough));
+}
+
+static INLINE void SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_PassThrough, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PopName)(void);
+#define CALL_PopName(disp, parameters) \
+ (* GET_PopName(disp)) parameters
+static INLINE _glptr_PopName GET_PopName(struct _glapi_table *disp) {
+ return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName));
+}
+
+static INLINE void SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PopName, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PushName)(GLuint);
+#define CALL_PushName(disp, parameters) \
+ (* GET_PushName(disp)) parameters
+static INLINE _glptr_PushName GET_PushName(struct _glapi_table *disp) {
+ return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName));
+}
+
+static INLINE void SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_PushName, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawBuffer)(GLenum);
+#define CALL_DrawBuffer(disp, parameters) \
+ (* GET_DrawBuffer(disp)) parameters
+static INLINE _glptr_DrawBuffer GET_DrawBuffer(struct _glapi_table *disp) {
+ return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer));
+}
+
+static INLINE void SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_DrawBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Clear)(GLbitfield);
+#define CALL_Clear(disp, parameters) \
+ (* GET_Clear(disp)) parameters
+static INLINE _glptr_Clear GET_Clear(struct _glapi_table *disp) {
+ return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear));
+}
+
+static INLINE void SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
+ SET_by_offset(disp, _gloffset_Clear, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_ClearAccum(disp, parameters) \
+ (* GET_ClearAccum(disp)) parameters
+static INLINE _glptr_ClearAccum GET_ClearAccum(struct _glapi_table *disp) {
+ return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum));
+}
+
+static INLINE void SET_ClearAccum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_ClearAccum, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearIndex)(GLfloat);
+#define CALL_ClearIndex(disp, parameters) \
+ (* GET_ClearIndex(disp)) parameters
+static INLINE _glptr_ClearIndex GET_ClearIndex(struct _glapi_table *disp) {
+ return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex));
+}
+
+static INLINE void SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_ClearIndex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
+#define CALL_ClearColor(disp, parameters) \
+ (* GET_ClearColor(disp)) parameters
+static INLINE _glptr_ClearColor GET_ClearColor(struct _glapi_table *disp) {
+ return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor));
+}
+
+static INLINE void SET_ClearColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
+ SET_by_offset(disp, _gloffset_ClearColor, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearStencil)(GLint);
+#define CALL_ClearStencil(disp, parameters) \
+ (* GET_ClearStencil(disp)) parameters
+static INLINE _glptr_ClearStencil GET_ClearStencil(struct _glapi_table *disp) {
+ return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil));
+}
+
+static INLINE void SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
+ SET_by_offset(disp, _gloffset_ClearStencil, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearDepth)(GLclampd);
+#define CALL_ClearDepth(disp, parameters) \
+ (* GET_ClearDepth(disp)) parameters
+static INLINE _glptr_ClearDepth GET_ClearDepth(struct _glapi_table *disp) {
+ return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth));
+}
+
+static INLINE void SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd)) {
+ SET_by_offset(disp, _gloffset_ClearDepth, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilMask)(GLuint);
+#define CALL_StencilMask(disp, parameters) \
+ (* GET_StencilMask(disp)) parameters
+static INLINE _glptr_StencilMask GET_StencilMask(struct _glapi_table *disp) {
+ return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask));
+}
+
+static INLINE void SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_StencilMask, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
+#define CALL_ColorMask(disp, parameters) \
+ (* GET_ColorMask(disp)) parameters
+static INLINE _glptr_ColorMask GET_ColorMask(struct _glapi_table *disp) {
+ return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask));
+}
+
+static INLINE void SET_ColorMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean, GLboolean, GLboolean, GLboolean)) {
+ SET_by_offset(disp, _gloffset_ColorMask, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthMask)(GLboolean);
+#define CALL_DepthMask(disp, parameters) \
+ (* GET_DepthMask(disp)) parameters
+static INLINE _glptr_DepthMask GET_DepthMask(struct _glapi_table *disp) {
+ return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask));
+}
+
+static INLINE void SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
+ SET_by_offset(disp, _gloffset_DepthMask, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_IndexMask)(GLuint);
+#define CALL_IndexMask(disp, parameters) \
+ (* GET_IndexMask(disp)) parameters
+static INLINE _glptr_IndexMask GET_IndexMask(struct _glapi_table *disp) {
+ return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask));
+}
+
+static INLINE void SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IndexMask, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Accum)(GLenum, GLfloat);
+#define CALL_Accum(disp, parameters) \
+ (* GET_Accum(disp)) parameters
+static INLINE _glptr_Accum GET_Accum(struct _glapi_table *disp) {
+ return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum));
+}
+
+static INLINE void SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Accum, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Disable)(GLenum);
+#define CALL_Disable(disp, parameters) \
+ (* GET_Disable(disp)) parameters
+static INLINE _glptr_Disable GET_Disable(struct _glapi_table *disp) {
+ return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable));
+}
+
+static INLINE void SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_Disable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Enable)(GLenum);
+#define CALL_Enable(disp, parameters) \
+ (* GET_Enable(disp)) parameters
+static INLINE _glptr_Enable GET_Enable(struct _glapi_table *disp) {
+ return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable));
+}
+
+static INLINE void SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_Enable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Finish)(void);
+#define CALL_Finish(disp, parameters) \
+ (* GET_Finish(disp)) parameters
+static INLINE _glptr_Finish GET_Finish(struct _glapi_table *disp) {
+ return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish));
+}
+
+static INLINE void SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_Finish, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Flush)(void);
+#define CALL_Flush(disp, parameters) \
+ (* GET_Flush(disp)) parameters
+static INLINE _glptr_Flush GET_Flush(struct _glapi_table *disp) {
+ return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush));
+}
+
+static INLINE void SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_Flush, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PopAttrib)(void);
+#define CALL_PopAttrib(disp, parameters) \
+ (* GET_PopAttrib(disp)) parameters
+static INLINE _glptr_PopAttrib GET_PopAttrib(struct _glapi_table *disp) {
+ return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib));
+}
+
+static INLINE void SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PopAttrib, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PushAttrib)(GLbitfield);
+#define CALL_PushAttrib(disp, parameters) \
+ (* GET_PushAttrib(disp)) parameters
+static INLINE _glptr_PushAttrib GET_PushAttrib(struct _glapi_table *disp) {
+ return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib));
+}
+
+static INLINE void SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
+ SET_by_offset(disp, _gloffset_PushAttrib, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
+#define CALL_Map1d(disp, parameters) \
+ (* GET_Map1d(disp)) parameters
+static INLINE _glptr_Map1d GET_Map1d(struct _glapi_table *disp) {
+ return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d));
+}
+
+static INLINE void SET_Map1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Map1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
+#define CALL_Map1f(disp, parameters) \
+ (* GET_Map1f(disp)) parameters
+static INLINE _glptr_Map1f GET_Map1f(struct _glapi_table *disp) {
+ return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f));
+}
+
+static INLINE void SET_Map1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Map1f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
+#define CALL_Map2d(disp, parameters) \
+ (* GET_Map2d(disp)) parameters
+static INLINE _glptr_Map2d GET_Map2d(struct _glapi_table *disp) {
+ return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d));
+}
+
+static INLINE void SET_Map2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_Map2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
+#define CALL_Map2f(disp, parameters) \
+ (* GET_Map2f(disp)) parameters
+static INLINE _glptr_Map2f GET_Map2f(struct _glapi_table *disp) {
+ return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f));
+}
+
+static INLINE void SET_Map2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Map2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MapGrid1d)(GLint, GLdouble, GLdouble);
+#define CALL_MapGrid1d(disp, parameters) \
+ (* GET_MapGrid1d(disp)) parameters
+static INLINE _glptr_MapGrid1d GET_MapGrid1d(struct _glapi_table *disp) {
+ return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d));
+}
+
+static INLINE void SET_MapGrid1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MapGrid1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MapGrid1f)(GLint, GLfloat, GLfloat);
+#define CALL_MapGrid1f(disp, parameters) \
+ (* GET_MapGrid1f(disp)) parameters
+static INLINE _glptr_MapGrid1f GET_MapGrid1f(struct _glapi_table *disp) {
+ return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f));
+}
+
+static INLINE void SET_MapGrid1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MapGrid1f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
+#define CALL_MapGrid2d(disp, parameters) \
+ (* GET_MapGrid2d(disp)) parameters
+static INLINE _glptr_MapGrid2d GET_MapGrid2d(struct _glapi_table *disp) {
+ return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d));
+}
+
+static INLINE void SET_MapGrid2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MapGrid2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
+#define CALL_MapGrid2f(disp, parameters) \
+ (* GET_MapGrid2f(disp)) parameters
+static INLINE _glptr_MapGrid2f GET_MapGrid2f(struct _glapi_table *disp) {
+ return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f));
+}
+
+static INLINE void SET_MapGrid2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MapGrid2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord1d)(GLdouble);
+#define CALL_EvalCoord1d(disp, parameters) \
+ (* GET_EvalCoord1d(disp)) parameters
+static INLINE _glptr_EvalCoord1d GET_EvalCoord1d(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d));
+}
+
+static INLINE void SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
+ SET_by_offset(disp, _gloffset_EvalCoord1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord1dv)(const GLdouble *);
+#define CALL_EvalCoord1dv(disp, parameters) \
+ (* GET_EvalCoord1dv(disp)) parameters
+static INLINE _glptr_EvalCoord1dv GET_EvalCoord1dv(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv));
+}
+
+static INLINE void SET_EvalCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_EvalCoord1dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord1f)(GLfloat);
+#define CALL_EvalCoord1f(disp, parameters) \
+ (* GET_EvalCoord1f(disp)) parameters
+static INLINE _glptr_EvalCoord1f GET_EvalCoord1f(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f));
+}
+
+static INLINE void SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_EvalCoord1f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord1fv)(const GLfloat *);
+#define CALL_EvalCoord1fv(disp, parameters) \
+ (* GET_EvalCoord1fv(disp)) parameters
+static INLINE _glptr_EvalCoord1fv GET_EvalCoord1fv(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv));
+}
+
+static INLINE void SET_EvalCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_EvalCoord1fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord2d)(GLdouble, GLdouble);
+#define CALL_EvalCoord2d(disp, parameters) \
+ (* GET_EvalCoord2d(disp)) parameters
+static INLINE _glptr_EvalCoord2d GET_EvalCoord2d(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d));
+}
+
+static INLINE void SET_EvalCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_EvalCoord2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord2dv)(const GLdouble *);
+#define CALL_EvalCoord2dv(disp, parameters) \
+ (* GET_EvalCoord2dv(disp)) parameters
+static INLINE _glptr_EvalCoord2dv GET_EvalCoord2dv(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv));
+}
+
+static INLINE void SET_EvalCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_EvalCoord2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord2f)(GLfloat, GLfloat);
+#define CALL_EvalCoord2f(disp, parameters) \
+ (* GET_EvalCoord2f(disp)) parameters
+static INLINE _glptr_EvalCoord2f GET_EvalCoord2f(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f));
+}
+
+static INLINE void SET_EvalCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_EvalCoord2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalCoord2fv)(const GLfloat *);
+#define CALL_EvalCoord2fv(disp, parameters) \
+ (* GET_EvalCoord2fv(disp)) parameters
+static INLINE _glptr_EvalCoord2fv GET_EvalCoord2fv(struct _glapi_table *disp) {
+ return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv));
+}
+
+static INLINE void SET_EvalCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_EvalCoord2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalMesh1)(GLenum, GLint, GLint);
+#define CALL_EvalMesh1(disp, parameters) \
+ (* GET_EvalMesh1(disp)) parameters
+static INLINE _glptr_EvalMesh1 GET_EvalMesh1(struct _glapi_table *disp) {
+ return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1));
+}
+
+static INLINE void SET_EvalMesh1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_EvalMesh1, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalPoint1)(GLint);
+#define CALL_EvalPoint1(disp, parameters) \
+ (* GET_EvalPoint1(disp)) parameters
+static INLINE _glptr_EvalPoint1 GET_EvalPoint1(struct _glapi_table *disp) {
+ return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1));
+}
+
+static INLINE void SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
+ SET_by_offset(disp, _gloffset_EvalPoint1, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
+#define CALL_EvalMesh2(disp, parameters) \
+ (* GET_EvalMesh2(disp)) parameters
+static INLINE _glptr_EvalMesh2 GET_EvalMesh2(struct _glapi_table *disp) {
+ return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2));
+}
+
+static INLINE void SET_EvalMesh2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_EvalMesh2, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EvalPoint2)(GLint, GLint);
+#define CALL_EvalPoint2(disp, parameters) \
+ (* GET_EvalPoint2(disp)) parameters
+static INLINE _glptr_EvalPoint2 GET_EvalPoint2(struct _glapi_table *disp) {
+ return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2));
+}
+
+static INLINE void SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_EvalPoint2, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFunc)(GLenum, GLclampf);
+#define CALL_AlphaFunc(disp, parameters) \
+ (* GET_AlphaFunc(disp)) parameters
+static INLINE _glptr_AlphaFunc GET_AlphaFunc(struct _glapi_table *disp) {
+ return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc));
+}
+
+static INLINE void SET_AlphaFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampf)) {
+ SET_by_offset(disp, _gloffset_AlphaFunc, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendFunc)(GLenum, GLenum);
+#define CALL_BlendFunc(disp, parameters) \
+ (* GET_BlendFunc(disp)) parameters
+static INLINE _glptr_BlendFunc GET_BlendFunc(struct _glapi_table *disp) {
+ return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc));
+}
+
+static INLINE void SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendFunc, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LogicOp)(GLenum);
+#define CALL_LogicOp(disp, parameters) \
+ (* GET_LogicOp(disp)) parameters
+static INLINE _glptr_LogicOp GET_LogicOp(struct _glapi_table *disp) {
+ return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp));
+}
+
+static INLINE void SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_LogicOp, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilFunc)(GLenum, GLint, GLuint);
+#define CALL_StencilFunc(disp, parameters) \
+ (* GET_StencilFunc(disp)) parameters
+static INLINE _glptr_StencilFunc GET_StencilFunc(struct _glapi_table *disp) {
+ return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc));
+}
+
+static INLINE void SET_StencilFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLuint)) {
+ SET_by_offset(disp, _gloffset_StencilFunc, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilOp)(GLenum, GLenum, GLenum);
+#define CALL_StencilOp(disp, parameters) \
+ (* GET_StencilOp(disp)) parameters
+static INLINE _glptr_StencilOp GET_StencilOp(struct _glapi_table *disp) {
+ return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp));
+}
+
+static INLINE void SET_StencilOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_StencilOp, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthFunc)(GLenum);
+#define CALL_DepthFunc(disp, parameters) \
+ (* GET_DepthFunc(disp)) parameters
+static INLINE _glptr_DepthFunc GET_DepthFunc(struct _glapi_table *disp) {
+ return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc));
+}
+
+static INLINE void SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_DepthFunc, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelZoom)(GLfloat, GLfloat);
+#define CALL_PixelZoom(disp, parameters) \
+ (* GET_PixelZoom(disp)) parameters
+static INLINE _glptr_PixelZoom GET_PixelZoom(struct _glapi_table *disp) {
+ return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom));
+}
+
+static INLINE void SET_PixelZoom(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PixelZoom, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelTransferf)(GLenum, GLfloat);
+#define CALL_PixelTransferf(disp, parameters) \
+ (* GET_PixelTransferf(disp)) parameters
+static INLINE _glptr_PixelTransferf GET_PixelTransferf(struct _glapi_table *disp) {
+ return (_glptr_PixelTransferf) (GET_by_offset(disp, _gloffset_PixelTransferf));
+}
+
+static INLINE void SET_PixelTransferf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PixelTransferf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelTransferi)(GLenum, GLint);
+#define CALL_PixelTransferi(disp, parameters) \
+ (* GET_PixelTransferi(disp)) parameters
+static INLINE _glptr_PixelTransferi GET_PixelTransferi(struct _glapi_table *disp) {
+ return (_glptr_PixelTransferi) (GET_by_offset(disp, _gloffset_PixelTransferi));
+}
+
+static INLINE void SET_PixelTransferi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_PixelTransferi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelStoref)(GLenum, GLfloat);
+#define CALL_PixelStoref(disp, parameters) \
+ (* GET_PixelStoref(disp)) parameters
+static INLINE _glptr_PixelStoref GET_PixelStoref(struct _glapi_table *disp) {
+ return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref));
+}
+
+static INLINE void SET_PixelStoref(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PixelStoref, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelStorei)(GLenum, GLint);
+#define CALL_PixelStorei(disp, parameters) \
+ (* GET_PixelStorei(disp)) parameters
+static INLINE _glptr_PixelStorei GET_PixelStorei(struct _glapi_table *disp) {
+ return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei));
+}
+
+static INLINE void SET_PixelStorei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_PixelStorei, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelMapfv)(GLenum, GLsizei, const GLfloat *);
+#define CALL_PixelMapfv(disp, parameters) \
+ (* GET_PixelMapfv(disp)) parameters
+static INLINE _glptr_PixelMapfv GET_PixelMapfv(struct _glapi_table *disp) {
+ return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv));
+}
+
+static INLINE void SET_PixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_PixelMapfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelMapuiv)(GLenum, GLsizei, const GLuint *);
+#define CALL_PixelMapuiv(disp, parameters) \
+ (* GET_PixelMapuiv(disp)) parameters
+static INLINE _glptr_PixelMapuiv GET_PixelMapuiv(struct _glapi_table *disp) {
+ return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv));
+}
+
+static INLINE void SET_PixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_PixelMapuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PixelMapusv)(GLenum, GLsizei, const GLushort *);
+#define CALL_PixelMapusv(disp, parameters) \
+ (* GET_PixelMapusv(disp)) parameters
+static INLINE _glptr_PixelMapusv GET_PixelMapusv(struct _glapi_table *disp) {
+ return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv));
+}
+
+static INLINE void SET_PixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLushort *)) {
+ SET_by_offset(disp, _gloffset_PixelMapusv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ReadBuffer)(GLenum);
+#define CALL_ReadBuffer(disp, parameters) \
+ (* GET_ReadBuffer(disp)) parameters
+static INLINE _glptr_ReadBuffer GET_ReadBuffer(struct _glapi_table *disp) {
+ return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer));
+}
+
+static INLINE void SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ReadBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
+#define CALL_CopyPixels(disp, parameters) \
+ (* GET_CopyPixels(disp)) parameters
+static INLINE _glptr_CopyPixels GET_CopyPixels(struct _glapi_table *disp) {
+ return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels));
+}
+
+static INLINE void SET_CopyPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum)) {
+ SET_by_offset(disp, _gloffset_CopyPixels, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
+#define CALL_ReadPixels(disp, parameters) \
+ (* GET_ReadPixels(disp)) parameters
+static INLINE _glptr_ReadPixels GET_ReadPixels(struct _glapi_table *disp) {
+ return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels));
+}
+
+static INLINE void SET_ReadPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ReadPixels, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_DrawPixels(disp, parameters) \
+ (* GET_DrawPixels(disp)) parameters
+static INLINE _glptr_DrawPixels GET_DrawPixels(struct _glapi_table *disp) {
+ return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels));
+}
+
+static INLINE void SET_DrawPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_DrawPixels, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBooleanv)(GLenum, GLboolean *);
+#define CALL_GetBooleanv(disp, parameters) \
+ (* GET_GetBooleanv(disp)) parameters
+static INLINE _glptr_GetBooleanv GET_GetBooleanv(struct _glapi_table *disp) {
+ return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv));
+}
+
+static INLINE void SET_GetBooleanv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean *)) {
+ SET_by_offset(disp, _gloffset_GetBooleanv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetClipPlane)(GLenum, GLdouble *);
+#define CALL_GetClipPlane(disp, parameters) \
+ (* GET_GetClipPlane(disp)) parameters
+static INLINE _glptr_GetClipPlane GET_GetClipPlane(struct _glapi_table *disp) {
+ return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane));
+}
+
+static INLINE void SET_GetClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetClipPlane, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetDoublev)(GLenum, GLdouble *);
+#define CALL_GetDoublev(disp, parameters) \
+ (* GET_GetDoublev(disp)) parameters
+static INLINE _glptr_GetDoublev GET_GetDoublev(struct _glapi_table *disp) {
+ return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev));
+}
+
+static INLINE void SET_GetDoublev(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetDoublev, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_GetError)(void);
+#define CALL_GetError(disp, parameters) \
+ (* GET_GetError(disp)) parameters
+static INLINE _glptr_GetError GET_GetError(struct _glapi_table *disp) {
+ return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError));
+}
+
+static INLINE void SET_GetError(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_GetError, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetFloatv)(GLenum, GLfloat *);
+#define CALL_GetFloatv(disp, parameters) \
+ (* GET_GetFloatv(disp)) parameters
+static INLINE _glptr_GetFloatv GET_GetFloatv(struct _glapi_table *disp) {
+ return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv));
+}
+
+static INLINE void SET_GetFloatv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetFloatv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetIntegerv)(GLenum, GLint *);
+#define CALL_GetIntegerv(disp, parameters) \
+ (* GET_GetIntegerv(disp)) parameters
+static INLINE _glptr_GetIntegerv GET_GetIntegerv(struct _glapi_table *disp) {
+ return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv));
+}
+
+static INLINE void SET_GetIntegerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetIntegerv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetLightfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetLightfv(disp, parameters) \
+ (* GET_GetLightfv(disp)) parameters
+static INLINE _glptr_GetLightfv GET_GetLightfv(struct _glapi_table *disp) {
+ return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv));
+}
+
+static INLINE void SET_GetLightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetLightfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetLightiv)(GLenum, GLenum, GLint *);
+#define CALL_GetLightiv(disp, parameters) \
+ (* GET_GetLightiv(disp)) parameters
+static INLINE _glptr_GetLightiv GET_GetLightiv(struct _glapi_table *disp) {
+ return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv));
+}
+
+static INLINE void SET_GetLightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetLightiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMapdv)(GLenum, GLenum, GLdouble *);
+#define CALL_GetMapdv(disp, parameters) \
+ (* GET_GetMapdv(disp)) parameters
+static INLINE _glptr_GetMapdv GET_GetMapdv(struct _glapi_table *disp) {
+ return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv));
+}
+
+static INLINE void SET_GetMapdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetMapdv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMapfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetMapfv(disp, parameters) \
+ (* GET_GetMapfv(disp)) parameters
+static INLINE _glptr_GetMapfv GET_GetMapfv(struct _glapi_table *disp) {
+ return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv));
+}
+
+static INLINE void SET_GetMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetMapfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMapiv)(GLenum, GLenum, GLint *);
+#define CALL_GetMapiv(disp, parameters) \
+ (* GET_GetMapiv(disp)) parameters
+static INLINE _glptr_GetMapiv GET_GetMapiv(struct _glapi_table *disp) {
+ return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv));
+}
+
+static INLINE void SET_GetMapiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetMapiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMaterialfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetMaterialfv(disp, parameters) \
+ (* GET_GetMaterialfv(disp)) parameters
+static INLINE _glptr_GetMaterialfv GET_GetMaterialfv(struct _glapi_table *disp) {
+ return (_glptr_GetMaterialfv) (GET_by_offset(disp, _gloffset_GetMaterialfv));
+}
+
+static INLINE void SET_GetMaterialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetMaterialfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMaterialiv)(GLenum, GLenum, GLint *);
+#define CALL_GetMaterialiv(disp, parameters) \
+ (* GET_GetMaterialiv(disp)) parameters
+static INLINE _glptr_GetMaterialiv GET_GetMaterialiv(struct _glapi_table *disp) {
+ return (_glptr_GetMaterialiv) (GET_by_offset(disp, _gloffset_GetMaterialiv));
+}
+
+static INLINE void SET_GetMaterialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetMaterialiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetPixelMapfv)(GLenum, GLfloat *);
+#define CALL_GetPixelMapfv(disp, parameters) \
+ (* GET_GetPixelMapfv(disp)) parameters
+static INLINE _glptr_GetPixelMapfv GET_GetPixelMapfv(struct _glapi_table *disp) {
+ return (_glptr_GetPixelMapfv) (GET_by_offset(disp, _gloffset_GetPixelMapfv));
+}
+
+static INLINE void SET_GetPixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetPixelMapfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv)(GLenum, GLuint *);
+#define CALL_GetPixelMapuiv(disp, parameters) \
+ (* GET_GetPixelMapuiv(disp)) parameters
+static INLINE _glptr_GetPixelMapuiv GET_GetPixelMapuiv(struct _glapi_table *disp) {
+ return (_glptr_GetPixelMapuiv) (GET_by_offset(disp, _gloffset_GetPixelMapuiv));
+}
+
+static INLINE void SET_GetPixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetPixelMapusv)(GLenum, GLushort *);
+#define CALL_GetPixelMapusv(disp, parameters) \
+ (* GET_GetPixelMapusv(disp)) parameters
+static INLINE _glptr_GetPixelMapusv GET_GetPixelMapusv(struct _glapi_table *disp) {
+ return (_glptr_GetPixelMapusv) (GET_by_offset(disp, _gloffset_GetPixelMapusv));
+}
+
+static INLINE void SET_GetPixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLushort *)) {
+ SET_by_offset(disp, _gloffset_GetPixelMapusv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetPolygonStipple)(GLubyte *);
+#define CALL_GetPolygonStipple(disp, parameters) \
+ (* GET_GetPolygonStipple(disp)) parameters
+static INLINE _glptr_GetPolygonStipple GET_GetPolygonStipple(struct _glapi_table *disp) {
+ return (_glptr_GetPolygonStipple) (GET_by_offset(disp, _gloffset_GetPolygonStipple));
+}
+
+static INLINE void SET_GetPolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte *)) {
+ SET_by_offset(disp, _gloffset_GetPolygonStipple, fn);
+}
+
+typedef const GLubyte * (GLAPIENTRYP _glptr_GetString)(GLenum);
+#define CALL_GetString(disp, parameters) \
+ (* GET_GetString(disp)) parameters
+static INLINE _glptr_GetString GET_GetString(struct _glapi_table *disp) {
+ return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString));
+}
+
+static INLINE void SET_GetString(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_GetString, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexEnvfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetTexEnvfv(disp, parameters) \
+ (* GET_GetTexEnvfv(disp)) parameters
+static INLINE _glptr_GetTexEnvfv GET_GetTexEnvfv(struct _glapi_table *disp) {
+ return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv));
+}
+
+static INLINE void SET_GetTexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetTexEnvfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexEnviv)(GLenum, GLenum, GLint *);
+#define CALL_GetTexEnviv(disp, parameters) \
+ (* GET_GetTexEnviv(disp)) parameters
+static INLINE _glptr_GetTexEnviv GET_GetTexEnviv(struct _glapi_table *disp) {
+ return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv));
+}
+
+static INLINE void SET_GetTexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexEnviv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexGendv)(GLenum, GLenum, GLdouble *);
+#define CALL_GetTexGendv(disp, parameters) \
+ (* GET_GetTexGendv(disp)) parameters
+static INLINE _glptr_GetTexGendv GET_GetTexGendv(struct _glapi_table *disp) {
+ return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv));
+}
+
+static INLINE void SET_GetTexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetTexGendv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexGenfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetTexGenfv(disp, parameters) \
+ (* GET_GetTexGenfv(disp)) parameters
+static INLINE _glptr_GetTexGenfv GET_GetTexGenfv(struct _glapi_table *disp) {
+ return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv));
+}
+
+static INLINE void SET_GetTexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetTexGenfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexGeniv)(GLenum, GLenum, GLint *);
+#define CALL_GetTexGeniv(disp, parameters) \
+ (* GET_GetTexGeniv(disp)) parameters
+static INLINE _glptr_GetTexGeniv GET_GetTexGeniv(struct _glapi_table *disp) {
+ return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv));
+}
+
+static INLINE void SET_GetTexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexGeniv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexImage)(GLenum, GLint, GLenum, GLenum, GLvoid *);
+#define CALL_GetTexImage(disp, parameters) \
+ (* GET_GetTexImage(disp)) parameters
+static INLINE _glptr_GetTexImage GET_GetTexImage(struct _glapi_table *disp) {
+ return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage));
+}
+
+static INLINE void SET_GetTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetTexImage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexParameterfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetTexParameterfv(disp, parameters) \
+ (* GET_GetTexParameterfv(disp)) parameters
+static INLINE _glptr_GetTexParameterfv GET_GetTexParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetTexParameterfv) (GET_by_offset(disp, _gloffset_GetTexParameterfv));
+}
+
+static INLINE void SET_GetTexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetTexParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetTexParameteriv(disp, parameters) \
+ (* GET_GetTexParameteriv(disp)) parameters
+static INLINE _glptr_GetTexParameteriv GET_GetTexParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetTexParameteriv) (GET_by_offset(disp, _gloffset_GetTexParameteriv));
+}
+
+static INLINE void SET_GetTexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
+#define CALL_GetTexLevelParameterfv(disp, parameters) \
+ (* GET_GetTexLevelParameterfv(disp)) parameters
+static INLINE _glptr_GetTexLevelParameterfv GET_GetTexLevelParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetTexLevelParameterfv) (GET_by_offset(disp, _gloffset_GetTexLevelParameterfv));
+}
+
+static INLINE void SET_GetTexLevelParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
+#define CALL_GetTexLevelParameteriv(disp, parameters) \
+ (* GET_GetTexLevelParameteriv(disp)) parameters
+static INLINE _glptr_GetTexLevelParameteriv GET_GetTexLevelParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetTexLevelParameteriv) (GET_by_offset(disp, _gloffset_GetTexLevelParameteriv));
+}
+
+static INLINE void SET_GetTexLevelParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsEnabled)(GLenum);
+#define CALL_IsEnabled(disp, parameters) \
+ (* GET_IsEnabled(disp)) parameters
+static INLINE _glptr_IsEnabled GET_IsEnabled(struct _glapi_table *disp) {
+ return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled));
+}
+
+static INLINE void SET_IsEnabled(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_IsEnabled, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsList)(GLuint);
+#define CALL_IsList(disp, parameters) \
+ (* GET_IsList(disp)) parameters
+static INLINE _glptr_IsList GET_IsList(struct _glapi_table *disp) {
+ return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList));
+}
+
+static INLINE void SET_IsList(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsList, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthRange)(GLclampd, GLclampd);
+#define CALL_DepthRange(disp, parameters) \
+ (* GET_DepthRange(disp)) parameters
+static INLINE _glptr_DepthRange GET_DepthRange(struct _glapi_table *disp) {
+ return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange));
+}
+
+static INLINE void SET_DepthRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
+ SET_by_offset(disp, _gloffset_DepthRange, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Frustum(disp, parameters) \
+ (* GET_Frustum(disp)) parameters
+static INLINE _glptr_Frustum GET_Frustum(struct _glapi_table *disp) {
+ return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum));
+}
+
+static INLINE void SET_Frustum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Frustum, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadIdentity)(void);
+#define CALL_LoadIdentity(disp, parameters) \
+ (* GET_LoadIdentity(disp)) parameters
+static INLINE _glptr_LoadIdentity GET_LoadIdentity(struct _glapi_table *disp) {
+ return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity));
+}
+
+static INLINE void SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_LoadIdentity, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadMatrixf)(const GLfloat *);
+#define CALL_LoadMatrixf(disp, parameters) \
+ (* GET_LoadMatrixf(disp)) parameters
+static INLINE _glptr_LoadMatrixf GET_LoadMatrixf(struct _glapi_table *disp) {
+ return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf));
+}
+
+static INLINE void SET_LoadMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_LoadMatrixf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadMatrixd)(const GLdouble *);
+#define CALL_LoadMatrixd(disp, parameters) \
+ (* GET_LoadMatrixd(disp)) parameters
+static INLINE _glptr_LoadMatrixd GET_LoadMatrixd(struct _glapi_table *disp) {
+ return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd));
+}
+
+static INLINE void SET_LoadMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_LoadMatrixd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MatrixMode)(GLenum);
+#define CALL_MatrixMode(disp, parameters) \
+ (* GET_MatrixMode(disp)) parameters
+static INLINE _glptr_MatrixMode GET_MatrixMode(struct _glapi_table *disp) {
+ return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode));
+}
+
+static INLINE void SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_MatrixMode, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultMatrixf)(const GLfloat *);
+#define CALL_MultMatrixf(disp, parameters) \
+ (* GET_MultMatrixf(disp)) parameters
+static INLINE _glptr_MultMatrixf GET_MultMatrixf(struct _glapi_table *disp) {
+ return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf));
+}
+
+static INLINE void SET_MultMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultMatrixf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultMatrixd)(const GLdouble *);
+#define CALL_MultMatrixd(disp, parameters) \
+ (* GET_MultMatrixd(disp)) parameters
+static INLINE _glptr_MultMatrixd GET_MultMatrixd(struct _glapi_table *disp) {
+ return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd));
+}
+
+static INLINE void SET_MultMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultMatrixd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Ortho(disp, parameters) \
+ (* GET_Ortho(disp)) parameters
+static INLINE _glptr_Ortho GET_Ortho(struct _glapi_table *disp) {
+ return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho));
+}
+
+static INLINE void SET_Ortho(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Ortho, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PopMatrix)(void);
+#define CALL_PopMatrix(disp, parameters) \
+ (* GET_PopMatrix(disp)) parameters
+static INLINE _glptr_PopMatrix GET_PopMatrix(struct _glapi_table *disp) {
+ return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix));
+}
+
+static INLINE void SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PopMatrix, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PushMatrix)(void);
+#define CALL_PushMatrix(disp, parameters) \
+ (* GET_PushMatrix(disp)) parameters
+static INLINE _glptr_PushMatrix GET_PushMatrix(struct _glapi_table *disp) {
+ return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix));
+}
+
+static INLINE void SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PushMatrix, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_Rotated(disp, parameters) \
+ (* GET_Rotated(disp)) parameters
+static INLINE _glptr_Rotated GET_Rotated(struct _glapi_table *disp) {
+ return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated));
+}
+
+static INLINE void SET_Rotated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Rotated, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Rotatef(disp, parameters) \
+ (* GET_Rotatef(disp)) parameters
+static INLINE _glptr_Rotatef GET_Rotatef(struct _glapi_table *disp) {
+ return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef));
+}
+
+static INLINE void SET_Rotatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Rotatef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Scaled)(GLdouble, GLdouble, GLdouble);
+#define CALL_Scaled(disp, parameters) \
+ (* GET_Scaled(disp)) parameters
+static INLINE _glptr_Scaled GET_Scaled(struct _glapi_table *disp) {
+ return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled));
+}
+
+static INLINE void SET_Scaled(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Scaled, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Scalef)(GLfloat, GLfloat, GLfloat);
+#define CALL_Scalef(disp, parameters) \
+ (* GET_Scalef(disp)) parameters
+static INLINE _glptr_Scalef GET_Scalef(struct _glapi_table *disp) {
+ return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef));
+}
+
+static INLINE void SET_Scalef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Scalef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Translated)(GLdouble, GLdouble, GLdouble);
+#define CALL_Translated(disp, parameters) \
+ (* GET_Translated(disp)) parameters
+static INLINE _glptr_Translated GET_Translated(struct _glapi_table *disp) {
+ return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated));
+}
+
+static INLINE void SET_Translated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_Translated, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Translatef)(GLfloat, GLfloat, GLfloat);
+#define CALL_Translatef(disp, parameters) \
+ (* GET_Translatef(disp)) parameters
+static INLINE _glptr_Translatef GET_Translatef(struct _glapi_table *disp) {
+ return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef));
+}
+
+static INLINE void SET_Translatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Translatef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Viewport)(GLint, GLint, GLsizei, GLsizei);
+#define CALL_Viewport(disp, parameters) \
+ (* GET_Viewport(disp)) parameters
+static INLINE _glptr_Viewport GET_Viewport(struct _glapi_table *disp) {
+ return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport));
+}
+
+static INLINE void SET_Viewport(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_Viewport, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ArrayElement)(GLint);
+#define CALL_ArrayElement(disp, parameters) \
+ (* GET_ArrayElement(disp)) parameters
+static INLINE _glptr_ArrayElement GET_ArrayElement(struct _glapi_table *disp) {
+ return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement));
+}
+
+static INLINE void SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
+ SET_by_offset(disp, _gloffset_ArrayElement, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindTexture)(GLenum, GLuint);
+#define CALL_BindTexture(disp, parameters) \
+ (* GET_BindTexture(disp)) parameters
+static INLINE _glptr_BindTexture GET_BindTexture(struct _glapi_table *disp) {
+ return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture));
+}
+
+static INLINE void SET_BindTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindTexture, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_ColorPointer(disp, parameters) \
+ (* GET_ColorPointer(disp)) parameters
+static INLINE _glptr_ColorPointer GET_ColorPointer(struct _glapi_table *disp) {
+ return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer));
+}
+
+static INLINE void SET_ColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ColorPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DisableClientState)(GLenum);
+#define CALL_DisableClientState(disp, parameters) \
+ (* GET_DisableClientState(disp)) parameters
+static INLINE _glptr_DisableClientState GET_DisableClientState(struct _glapi_table *disp) {
+ return (_glptr_DisableClientState) (GET_by_offset(disp, _gloffset_DisableClientState));
+}
+
+static INLINE void SET_DisableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_DisableClientState, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawArrays)(GLenum, GLint, GLsizei);
+#define CALL_DrawArrays(disp, parameters) \
+ (* GET_DrawArrays(disp)) parameters
+static INLINE _glptr_DrawArrays GET_DrawArrays(struct _glapi_table *disp) {
+ return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays));
+}
+
+static INLINE void SET_DrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DrawArrays, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
+#define CALL_DrawElements(disp, parameters) \
+ (* GET_DrawElements(disp)) parameters
+static INLINE _glptr_DrawElements GET_DrawElements(struct _glapi_table *disp) {
+ return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements));
+}
+
+static INLINE void SET_DrawElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_DrawElements, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer)(GLsizei, const GLvoid *);
+#define CALL_EdgeFlagPointer(disp, parameters) \
+ (* GET_EdgeFlagPointer(disp)) parameters
+static INLINE _glptr_EdgeFlagPointer GET_EdgeFlagPointer(struct _glapi_table *disp) {
+ return (_glptr_EdgeFlagPointer) (GET_by_offset(disp, _gloffset_EdgeFlagPointer));
+}
+
+static INLINE void SET_EdgeFlagPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EnableClientState)(GLenum);
+#define CALL_EnableClientState(disp, parameters) \
+ (* GET_EnableClientState(disp)) parameters
+static INLINE _glptr_EnableClientState GET_EnableClientState(struct _glapi_table *disp) {
+ return (_glptr_EnableClientState) (GET_by_offset(disp, _gloffset_EnableClientState));
+}
+
+static INLINE void SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_EnableClientState, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_IndexPointer)(GLenum, GLsizei, const GLvoid *);
+#define CALL_IndexPointer(disp, parameters) \
+ (* GET_IndexPointer(disp)) parameters
+static INLINE _glptr_IndexPointer GET_IndexPointer(struct _glapi_table *disp) {
+ return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer));
+}
+
+static INLINE void SET_IndexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_IndexPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexub)(GLubyte);
+#define CALL_Indexub(disp, parameters) \
+ (* GET_Indexub(disp)) parameters
+static INLINE _glptr_Indexub GET_Indexub(struct _glapi_table *disp) {
+ return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub));
+}
+
+static INLINE void SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte)) {
+ SET_by_offset(disp, _gloffset_Indexub, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Indexubv)(const GLubyte *);
+#define CALL_Indexubv(disp, parameters) \
+ (* GET_Indexubv(disp)) parameters
+static INLINE _glptr_Indexubv GET_Indexubv(struct _glapi_table *disp) {
+ return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv));
+}
+
+static INLINE void SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_Indexubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
+#define CALL_InterleavedArrays(disp, parameters) \
+ (* GET_InterleavedArrays(disp)) parameters
+static INLINE _glptr_InterleavedArrays GET_InterleavedArrays(struct _glapi_table *disp) {
+ return (_glptr_InterleavedArrays) (GET_by_offset(disp, _gloffset_InterleavedArrays));
+}
+
+static INLINE void SET_InterleavedArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_InterleavedArrays, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_NormalPointer)(GLenum, GLsizei, const GLvoid *);
+#define CALL_NormalPointer(disp, parameters) \
+ (* GET_NormalPointer(disp)) parameters
+static INLINE _glptr_NormalPointer GET_NormalPointer(struct _glapi_table *disp) {
+ return (_glptr_NormalPointer) (GET_by_offset(disp, _gloffset_NormalPointer));
+}
+
+static INLINE void SET_NormalPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_NormalPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PolygonOffset)(GLfloat, GLfloat);
+#define CALL_PolygonOffset(disp, parameters) \
+ (* GET_PolygonOffset(disp)) parameters
+static INLINE _glptr_PolygonOffset GET_PolygonOffset(struct _glapi_table *disp) {
+ return (_glptr_PolygonOffset) (GET_by_offset(disp, _gloffset_PolygonOffset));
+}
+
+static INLINE void SET_PolygonOffset(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PolygonOffset, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_TexCoordPointer(disp, parameters) \
+ (* GET_TexCoordPointer(disp)) parameters
+static INLINE _glptr_TexCoordPointer GET_TexCoordPointer(struct _glapi_table *disp) {
+ return (_glptr_TexCoordPointer) (GET_by_offset(disp, _gloffset_TexCoordPointer));
+}
+
+static INLINE void SET_TexCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexCoordPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_VertexPointer(disp, parameters) \
+ (* GET_VertexPointer(disp)) parameters
+static INLINE _glptr_VertexPointer GET_VertexPointer(struct _glapi_table *disp) {
+ return (_glptr_VertexPointer) (GET_by_offset(disp, _gloffset_VertexPointer));
+}
+
+static INLINE void SET_VertexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_VertexPointer, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
+#define CALL_AreTexturesResident(disp, parameters) \
+ (* GET_AreTexturesResident(disp)) parameters
+static INLINE _glptr_AreTexturesResident GET_AreTexturesResident(struct _glapi_table *disp) {
+ return (_glptr_AreTexturesResident) (GET_by_offset(disp, _gloffset_AreTexturesResident));
+}
+
+static INLINE void SET_AreTexturesResident(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
+ SET_by_offset(disp, _gloffset_AreTexturesResident, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
+#define CALL_CopyTexImage1D(disp, parameters) \
+ (* GET_CopyTexImage1D(disp)) parameters
+static INLINE _glptr_CopyTexImage1D GET_CopyTexImage1D(struct _glapi_table *disp) {
+ return (_glptr_CopyTexImage1D) (GET_by_offset(disp, _gloffset_CopyTexImage1D));
+}
+
+static INLINE void SET_CopyTexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) {
+ SET_by_offset(disp, _gloffset_CopyTexImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
+#define CALL_CopyTexImage2D(disp, parameters) \
+ (* GET_CopyTexImage2D(disp)) parameters
+static INLINE _glptr_CopyTexImage2D GET_CopyTexImage2D(struct _glapi_table *disp) {
+ return (_glptr_CopyTexImage2D) (GET_by_offset(disp, _gloffset_CopyTexImage2D));
+}
+
+static INLINE void SET_CopyTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) {
+ SET_by_offset(disp, _gloffset_CopyTexImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
+#define CALL_CopyTexSubImage1D(disp, parameters) \
+ (* GET_CopyTexSubImage1D(disp)) parameters
+static INLINE _glptr_CopyTexSubImage1D GET_CopyTexSubImage1D(struct _glapi_table *disp) {
+ return (_glptr_CopyTexSubImage1D) (GET_by_offset(disp, _gloffset_CopyTexSubImage1D));
+}
+
+static INLINE void SET_CopyTexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
+#define CALL_CopyTexSubImage2D(disp, parameters) \
+ (* GET_CopyTexSubImage2D(disp)) parameters
+static INLINE _glptr_CopyTexSubImage2D GET_CopyTexSubImage2D(struct _glapi_table *disp) {
+ return (_glptr_CopyTexSubImage2D) (GET_by_offset(disp, _gloffset_CopyTexSubImage2D));
+}
+
+static INLINE void SET_CopyTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteTextures)(GLsizei, const GLuint *);
+#define CALL_DeleteTextures(disp, parameters) \
+ (* GET_DeleteTextures(disp)) parameters
+static INLINE _glptr_DeleteTextures GET_DeleteTextures(struct _glapi_table *disp) {
+ return (_glptr_DeleteTextures) (GET_by_offset(disp, _gloffset_DeleteTextures));
+}
+
+static INLINE void SET_DeleteTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteTextures, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenTextures)(GLsizei, GLuint *);
+#define CALL_GenTextures(disp, parameters) \
+ (* GET_GenTextures(disp)) parameters
+static INLINE _glptr_GenTextures GET_GenTextures(struct _glapi_table *disp) {
+ return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures));
+}
+
+static INLINE void SET_GenTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenTextures, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetPointerv)(GLenum, GLvoid **);
+#define CALL_GetPointerv(disp, parameters) \
+ (* GET_GetPointerv(disp)) parameters
+static INLINE _glptr_GetPointerv GET_GetPointerv(struct _glapi_table *disp) {
+ return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv));
+}
+
+static INLINE void SET_GetPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid **)) {
+ SET_by_offset(disp, _gloffset_GetPointerv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsTexture)(GLuint);
+#define CALL_IsTexture(disp, parameters) \
+ (* GET_IsTexture(disp)) parameters
+static INLINE _glptr_IsTexture GET_IsTexture(struct _glapi_table *disp) {
+ return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture));
+}
+
+static INLINE void SET_IsTexture(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsTexture, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
+#define CALL_PrioritizeTextures(disp, parameters) \
+ (* GET_PrioritizeTextures(disp)) parameters
+static INLINE _glptr_PrioritizeTextures GET_PrioritizeTextures(struct _glapi_table *disp) {
+ return (_glptr_PrioritizeTextures) (GET_by_offset(disp, _gloffset_PrioritizeTextures));
+}
+
+static INLINE void SET_PrioritizeTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, const GLclampf *)) {
+ SET_by_offset(disp, _gloffset_PrioritizeTextures, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_TexSubImage1D(disp, parameters) \
+ (* GET_TexSubImage1D(disp)) parameters
+static INLINE _glptr_TexSubImage1D GET_TexSubImage1D(struct _glapi_table *disp) {
+ return (_glptr_TexSubImage1D) (GET_by_offset(disp, _gloffset_TexSubImage1D));
+}
+
+static INLINE void SET_TexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexSubImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_TexSubImage2D(disp, parameters) \
+ (* GET_TexSubImage2D(disp)) parameters
+static INLINE _glptr_TexSubImage2D GET_TexSubImage2D(struct _glapi_table *disp) {
+ return (_glptr_TexSubImage2D) (GET_by_offset(disp, _gloffset_TexSubImage2D));
+}
+
+static INLINE void SET_TexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexSubImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PopClientAttrib)(void);
+#define CALL_PopClientAttrib(disp, parameters) \
+ (* GET_PopClientAttrib(disp)) parameters
+static INLINE _glptr_PopClientAttrib GET_PopClientAttrib(struct _glapi_table *disp) {
+ return (_glptr_PopClientAttrib) (GET_by_offset(disp, _gloffset_PopClientAttrib));
+}
+
+static INLINE void SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PopClientAttrib, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PushClientAttrib)(GLbitfield);
+#define CALL_PushClientAttrib(disp, parameters) \
+ (* GET_PushClientAttrib(disp)) parameters
+static INLINE _glptr_PushClientAttrib GET_PushClientAttrib(struct _glapi_table *disp) {
+ return (_glptr_PushClientAttrib) (GET_by_offset(disp, _gloffset_PushClientAttrib));
+}
+
+static INLINE void SET_PushClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
+ SET_by_offset(disp, _gloffset_PushClientAttrib, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf);
+#define CALL_BlendColor(disp, parameters) \
+ (* GET_BlendColor(disp)) parameters
+static INLINE _glptr_BlendColor GET_BlendColor(struct _glapi_table *disp) {
+ return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor));
+}
+
+static INLINE void SET_BlendColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
+ SET_by_offset(disp, _gloffset_BlendColor, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendEquation)(GLenum);
+#define CALL_BlendEquation(disp, parameters) \
+ (* GET_BlendEquation(disp)) parameters
+static INLINE _glptr_BlendEquation GET_BlendEquation(struct _glapi_table *disp) {
+ return (_glptr_BlendEquation) (GET_by_offset(disp, _gloffset_BlendEquation));
+}
+
+static INLINE void SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendEquation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
+#define CALL_DrawRangeElements(disp, parameters) \
+ (* GET_DrawRangeElements(disp)) parameters
+static INLINE _glptr_DrawRangeElements GET_DrawRangeElements(struct _glapi_table *disp) {
+ return (_glptr_DrawRangeElements) (GET_by_offset(disp, _gloffset_DrawRangeElements));
+}
+
+static INLINE void SET_DrawRangeElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_DrawRangeElements, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_ColorTable(disp, parameters) \
+ (* GET_ColorTable(disp)) parameters
+static INLINE _glptr_ColorTable GET_ColorTable(struct _glapi_table *disp) {
+ return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable));
+}
+
+static INLINE void SET_ColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ColorTable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_ColorTableParameterfv(disp, parameters) \
+ (* GET_ColorTableParameterfv(disp)) parameters
+static INLINE _glptr_ColorTableParameterfv GET_ColorTableParameterfv(struct _glapi_table *disp) {
+ return (_glptr_ColorTableParameterfv) (GET_by_offset(disp, _gloffset_ColorTableParameterfv));
+}
+
+static INLINE void SET_ColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv)(GLenum, GLenum, const GLint *);
+#define CALL_ColorTableParameteriv(disp, parameters) \
+ (* GET_ColorTableParameteriv(disp)) parameters
+static INLINE _glptr_ColorTableParameteriv GET_ColorTableParameteriv(struct _glapi_table *disp) {
+ return (_glptr_ColorTableParameteriv) (GET_by_offset(disp, _gloffset_ColorTableParameteriv));
+}
+
+static INLINE void SET_ColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei);
+#define CALL_CopyColorTable(disp, parameters) \
+ (* GET_CopyColorTable(disp)) parameters
+static INLINE _glptr_CopyColorTable GET_CopyColorTable(struct _glapi_table *disp) {
+ return (_glptr_CopyColorTable) (GET_by_offset(disp, _gloffset_CopyColorTable));
+}
+
+static INLINE void SET_CopyColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyColorTable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetColorTable)(GLenum, GLenum, GLenum, GLvoid *);
+#define CALL_GetColorTable(disp, parameters) \
+ (* GET_GetColorTable(disp)) parameters
+static INLINE _glptr_GetColorTable GET_GetColorTable(struct _glapi_table *disp) {
+ return (_glptr_GetColorTable) (GET_by_offset(disp, _gloffset_GetColorTable));
+}
+
+static INLINE void SET_GetColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetColorTable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetColorTableParameterfv(disp, parameters) \
+ (* GET_GetColorTableParameterfv(disp)) parameters
+static INLINE _glptr_GetColorTableParameterfv GET_GetColorTableParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetColorTableParameterfv) (GET_by_offset(disp, _gloffset_GetColorTableParameterfv));
+}
+
+static INLINE void SET_GetColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetColorTableParameteriv(disp, parameters) \
+ (* GET_GetColorTableParameteriv(disp)) parameters
+static INLINE _glptr_GetColorTableParameteriv GET_GetColorTableParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetColorTableParameteriv) (GET_by_offset(disp, _gloffset_GetColorTableParameteriv));
+}
+
+static INLINE void SET_GetColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_ColorSubTable(disp, parameters) \
+ (* GET_ColorSubTable(disp)) parameters
+static INLINE _glptr_ColorSubTable GET_ColorSubTable(struct _glapi_table *disp) {
+ return (_glptr_ColorSubTable) (GET_by_offset(disp, _gloffset_ColorSubTable));
+}
+
+static INLINE void SET_ColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ColorSubTable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei);
+#define CALL_CopyColorSubTable(disp, parameters) \
+ (* GET_CopyColorSubTable(disp)) parameters
+static INLINE _glptr_CopyColorSubTable GET_CopyColorSubTable(struct _glapi_table *disp) {
+ return (_glptr_CopyColorSubTable) (GET_by_offset(disp, _gloffset_CopyColorSubTable));
+}
+
+static INLINE void SET_CopyColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyColorSubTable, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_ConvolutionFilter1D(disp, parameters) \
+ (* GET_ConvolutionFilter1D(disp)) parameters
+static INLINE _glptr_ConvolutionFilter1D GET_ConvolutionFilter1D(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionFilter1D) (GET_by_offset(disp, _gloffset_ConvolutionFilter1D));
+}
+
+static INLINE void SET_ConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_ConvolutionFilter2D(disp, parameters) \
+ (* GET_ConvolutionFilter2D(disp)) parameters
+static INLINE _glptr_ConvolutionFilter2D GET_ConvolutionFilter2D(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionFilter2D) (GET_by_offset(disp, _gloffset_ConvolutionFilter2D));
+}
+
+static INLINE void SET_ConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf)(GLenum, GLenum, GLfloat);
+#define CALL_ConvolutionParameterf(disp, parameters) \
+ (* GET_ConvolutionParameterf(disp)) parameters
+static INLINE _glptr_ConvolutionParameterf GET_ConvolutionParameterf(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionParameterf) (GET_by_offset(disp, _gloffset_ConvolutionParameterf));
+}
+
+static INLINE void SET_ConvolutionParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *);
+#define CALL_ConvolutionParameterfv(disp, parameters) \
+ (* GET_ConvolutionParameterfv(disp)) parameters
+static INLINE _glptr_ConvolutionParameterfv GET_ConvolutionParameterfv(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionParameterfv) (GET_by_offset(disp, _gloffset_ConvolutionParameterfv));
+}
+
+static INLINE void SET_ConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri)(GLenum, GLenum, GLint);
+#define CALL_ConvolutionParameteri(disp, parameters) \
+ (* GET_ConvolutionParameteri(disp)) parameters
+static INLINE _glptr_ConvolutionParameteri GET_ConvolutionParameteri(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionParameteri) (GET_by_offset(disp, _gloffset_ConvolutionParameteri));
+}
+
+static INLINE void SET_ConvolutionParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv)(GLenum, GLenum, const GLint *);
+#define CALL_ConvolutionParameteriv(disp, parameters) \
+ (* GET_ConvolutionParameteriv(disp)) parameters
+static INLINE _glptr_ConvolutionParameteriv GET_ConvolutionParameteriv(struct _glapi_table *disp) {
+ return (_glptr_ConvolutionParameteriv) (GET_by_offset(disp, _gloffset_ConvolutionParameteriv));
+}
+
+static INLINE void SET_ConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D)(GLenum, GLenum, GLint, GLint, GLsizei);
+#define CALL_CopyConvolutionFilter1D(disp, parameters) \
+ (* GET_CopyConvolutionFilter1D(disp)) parameters
+static INLINE _glptr_CopyConvolutionFilter1D GET_CopyConvolutionFilter1D(struct _glapi_table *disp) {
+ return (_glptr_CopyConvolutionFilter1D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter1D));
+}
+
+static INLINE void SET_CopyConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
+#define CALL_CopyConvolutionFilter2D(disp, parameters) \
+ (* GET_CopyConvolutionFilter2D(disp)) parameters
+static INLINE _glptr_CopyConvolutionFilter2D GET_CopyConvolutionFilter2D(struct _glapi_table *disp) {
+ return (_glptr_CopyConvolutionFilter2D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter2D));
+}
+
+static INLINE void SET_CopyConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *);
+#define CALL_GetConvolutionFilter(disp, parameters) \
+ (* GET_GetConvolutionFilter(disp)) parameters
+static INLINE _glptr_GetConvolutionFilter GET_GetConvolutionFilter(struct _glapi_table *disp) {
+ return (_glptr_GetConvolutionFilter) (GET_by_offset(disp, _gloffset_GetConvolutionFilter));
+}
+
+static INLINE void SET_GetConvolutionFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetConvolutionParameterfv(disp, parameters) \
+ (* GET_GetConvolutionParameterfv(disp)) parameters
+static INLINE _glptr_GetConvolutionParameterfv GET_GetConvolutionParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetConvolutionParameterfv) (GET_by_offset(disp, _gloffset_GetConvolutionParameterfv));
+}
+
+static INLINE void SET_GetConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetConvolutionParameteriv(disp, parameters) \
+ (* GET_GetConvolutionParameteriv(disp)) parameters
+static INLINE _glptr_GetConvolutionParameteriv GET_GetConvolutionParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetConvolutionParameteriv) (GET_by_offset(disp, _gloffset_GetConvolutionParameteriv));
+}
+
+static INLINE void SET_GetConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
+#define CALL_GetSeparableFilter(disp, parameters) \
+ (* GET_GetSeparableFilter(disp)) parameters
+static INLINE _glptr_GetSeparableFilter GET_GetSeparableFilter(struct _glapi_table *disp) {
+ return (_glptr_GetSeparableFilter) (GET_by_offset(disp, _gloffset_GetSeparableFilter));
+}
+
+static INLINE void SET_GetSeparableFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetSeparableFilter, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
+#define CALL_SeparableFilter2D(disp, parameters) \
+ (* GET_SeparableFilter2D(disp)) parameters
+static INLINE _glptr_SeparableFilter2D GET_SeparableFilter2D(struct _glapi_table *disp) {
+ return (_glptr_SeparableFilter2D) (GET_by_offset(disp, _gloffset_SeparableFilter2D));
+}
+
+static INLINE void SET_SeparableFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_SeparableFilter2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
+#define CALL_GetHistogram(disp, parameters) \
+ (* GET_GetHistogram(disp)) parameters
+static INLINE _glptr_GetHistogram GET_GetHistogram(struct _glapi_table *disp) {
+ return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram));
+}
+
+static INLINE void SET_GetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetHistogram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetHistogramParameterfv(disp, parameters) \
+ (* GET_GetHistogramParameterfv(disp)) parameters
+static INLINE _glptr_GetHistogramParameterfv GET_GetHistogramParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetHistogramParameterfv) (GET_by_offset(disp, _gloffset_GetHistogramParameterfv));
+}
+
+static INLINE void SET_GetHistogramParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetHistogramParameteriv(disp, parameters) \
+ (* GET_GetHistogramParameteriv(disp)) parameters
+static INLINE _glptr_GetHistogramParameteriv GET_GetHistogramParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetHistogramParameteriv) (GET_by_offset(disp, _gloffset_GetHistogramParameteriv));
+}
+
+static INLINE void SET_GetHistogramParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
+#define CALL_GetMinmax(disp, parameters) \
+ (* GET_GetMinmax(disp)) parameters
+static INLINE _glptr_GetMinmax GET_GetMinmax(struct _glapi_table *disp) {
+ return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax));
+}
+
+static INLINE void SET_GetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetMinmax, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *);
+#define CALL_GetMinmaxParameterfv(disp, parameters) \
+ (* GET_GetMinmaxParameterfv(disp)) parameters
+static INLINE _glptr_GetMinmaxParameterfv GET_GetMinmaxParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetMinmaxParameterfv) (GET_by_offset(disp, _gloffset_GetMinmaxParameterfv));
+}
+
+static INLINE void SET_GetMinmaxParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetMinmaxParameteriv(disp, parameters) \
+ (* GET_GetMinmaxParameteriv(disp)) parameters
+static INLINE _glptr_GetMinmaxParameteriv GET_GetMinmaxParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetMinmaxParameteriv) (GET_by_offset(disp, _gloffset_GetMinmaxParameteriv));
+}
+
+static INLINE void SET_GetMinmaxParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Histogram)(GLenum, GLsizei, GLenum, GLboolean);
+#define CALL_Histogram(disp, parameters) \
+ (* GET_Histogram(disp)) parameters
+static INLINE _glptr_Histogram GET_Histogram(struct _glapi_table *disp) {
+ return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram));
+}
+
+static INLINE void SET_Histogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLboolean)) {
+ SET_by_offset(disp, _gloffset_Histogram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Minmax)(GLenum, GLenum, GLboolean);
+#define CALL_Minmax(disp, parameters) \
+ (* GET_Minmax(disp)) parameters
+static INLINE _glptr_Minmax GET_Minmax(struct _glapi_table *disp) {
+ return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax));
+}
+
+static INLINE void SET_Minmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLboolean)) {
+ SET_by_offset(disp, _gloffset_Minmax, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ResetHistogram)(GLenum);
+#define CALL_ResetHistogram(disp, parameters) \
+ (* GET_ResetHistogram(disp)) parameters
+static INLINE _glptr_ResetHistogram GET_ResetHistogram(struct _glapi_table *disp) {
+ return (_glptr_ResetHistogram) (GET_by_offset(disp, _gloffset_ResetHistogram));
+}
+
+static INLINE void SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ResetHistogram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ResetMinmax)(GLenum);
+#define CALL_ResetMinmax(disp, parameters) \
+ (* GET_ResetMinmax(disp)) parameters
+static INLINE _glptr_ResetMinmax GET_ResetMinmax(struct _glapi_table *disp) {
+ return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax));
+}
+
+static INLINE void SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ResetMinmax, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+#define CALL_TexImage3D(disp, parameters) \
+ (* GET_TexImage3D(disp)) parameters
+static INLINE _glptr_TexImage3D GET_TexImage3D(struct _glapi_table *disp) {
+ return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D));
+}
+
+static INLINE void SET_TexImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexImage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+#define CALL_TexSubImage3D(disp, parameters) \
+ (* GET_TexSubImage3D(disp)) parameters
+static INLINE _glptr_TexSubImage3D GET_TexSubImage3D(struct _glapi_table *disp) {
+ return (_glptr_TexSubImage3D) (GET_by_offset(disp, _gloffset_TexSubImage3D));
+}
+
+static INLINE void SET_TexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexSubImage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
+#define CALL_CopyTexSubImage3D(disp, parameters) \
+ (* GET_CopyTexSubImage3D(disp)) parameters
+static INLINE _glptr_CopyTexSubImage3D GET_CopyTexSubImage3D(struct _glapi_table *disp) {
+ return (_glptr_CopyTexSubImage3D) (GET_by_offset(disp, _gloffset_CopyTexSubImage3D));
+}
+
+static INLINE void SET_CopyTexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ActiveTexture)(GLenum);
+#define CALL_ActiveTexture(disp, parameters) \
+ (* GET_ActiveTexture(disp)) parameters
+static INLINE _glptr_ActiveTexture GET_ActiveTexture(struct _glapi_table *disp) {
+ return (_glptr_ActiveTexture) (GET_by_offset(disp, _gloffset_ActiveTexture));
+}
+
+static INLINE void SET_ActiveTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ActiveTexture, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClientActiveTexture)(GLenum);
+#define CALL_ClientActiveTexture(disp, parameters) \
+ (* GET_ClientActiveTexture(disp)) parameters
+static INLINE _glptr_ClientActiveTexture GET_ClientActiveTexture(struct _glapi_table *disp) {
+ return (_glptr_ClientActiveTexture) (GET_by_offset(disp, _gloffset_ClientActiveTexture));
+}
+
+static INLINE void SET_ClientActiveTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ClientActiveTexture, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1d)(GLenum, GLdouble);
+#define CALL_MultiTexCoord1d(disp, parameters) \
+ (* GET_MultiTexCoord1d(disp)) parameters
+static INLINE _glptr_MultiTexCoord1d GET_MultiTexCoord1d(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1d) (GET_by_offset(disp, _gloffset_MultiTexCoord1d));
+}
+
+static INLINE void SET_MultiTexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dv)(GLenum, const GLdouble *);
+#define CALL_MultiTexCoord1dv(disp, parameters) \
+ (* GET_MultiTexCoord1dv(disp)) parameters
+static INLINE _glptr_MultiTexCoord1dv GET_MultiTexCoord1dv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1dv) (GET_by_offset(disp, _gloffset_MultiTexCoord1dv));
+}
+
+static INLINE void SET_MultiTexCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB)(GLenum, GLfloat);
+#define CALL_MultiTexCoord1fARB(disp, parameters) \
+ (* GET_MultiTexCoord1fARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord1fARB GET_MultiTexCoord1fARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fARB));
+}
+
+static INLINE void SET_MultiTexCoord1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB)(GLenum, const GLfloat *);
+#define CALL_MultiTexCoord1fvARB(disp, parameters) \
+ (* GET_MultiTexCoord1fvARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord1fvARB GET_MultiTexCoord1fvARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fvARB));
+}
+
+static INLINE void SET_MultiTexCoord1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1i)(GLenum, GLint);
+#define CALL_MultiTexCoord1i(disp, parameters) \
+ (* GET_MultiTexCoord1i(disp)) parameters
+static INLINE _glptr_MultiTexCoord1i GET_MultiTexCoord1i(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1i) (GET_by_offset(disp, _gloffset_MultiTexCoord1i));
+}
+
+static INLINE void SET_MultiTexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iv)(GLenum, const GLint *);
+#define CALL_MultiTexCoord1iv(disp, parameters) \
+ (* GET_MultiTexCoord1iv(disp)) parameters
+static INLINE _glptr_MultiTexCoord1iv GET_MultiTexCoord1iv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1iv) (GET_by_offset(disp, _gloffset_MultiTexCoord1iv));
+}
+
+static INLINE void SET_MultiTexCoord1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1s)(GLenum, GLshort);
+#define CALL_MultiTexCoord1s(disp, parameters) \
+ (* GET_MultiTexCoord1s(disp)) parameters
+static INLINE _glptr_MultiTexCoord1s GET_MultiTexCoord1s(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1s) (GET_by_offset(disp, _gloffset_MultiTexCoord1s));
+}
+
+static INLINE void SET_MultiTexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sv)(GLenum, const GLshort *);
+#define CALL_MultiTexCoord1sv(disp, parameters) \
+ (* GET_MultiTexCoord1sv(disp)) parameters
+static INLINE _glptr_MultiTexCoord1sv GET_MultiTexCoord1sv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord1sv) (GET_by_offset(disp, _gloffset_MultiTexCoord1sv));
+}
+
+static INLINE void SET_MultiTexCoord1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord1sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2d)(GLenum, GLdouble, GLdouble);
+#define CALL_MultiTexCoord2d(disp, parameters) \
+ (* GET_MultiTexCoord2d(disp)) parameters
+static INLINE _glptr_MultiTexCoord2d GET_MultiTexCoord2d(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2d) (GET_by_offset(disp, _gloffset_MultiTexCoord2d));
+}
+
+static INLINE void SET_MultiTexCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dv)(GLenum, const GLdouble *);
+#define CALL_MultiTexCoord2dv(disp, parameters) \
+ (* GET_MultiTexCoord2dv(disp)) parameters
+static INLINE _glptr_MultiTexCoord2dv GET_MultiTexCoord2dv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2dv) (GET_by_offset(disp, _gloffset_MultiTexCoord2dv));
+}
+
+static INLINE void SET_MultiTexCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat);
+#define CALL_MultiTexCoord2fARB(disp, parameters) \
+ (* GET_MultiTexCoord2fARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord2fARB GET_MultiTexCoord2fARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fARB));
+}
+
+static INLINE void SET_MultiTexCoord2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB)(GLenum, const GLfloat *);
+#define CALL_MultiTexCoord2fvARB(disp, parameters) \
+ (* GET_MultiTexCoord2fvARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord2fvARB GET_MultiTexCoord2fvARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fvARB));
+}
+
+static INLINE void SET_MultiTexCoord2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2i)(GLenum, GLint, GLint);
+#define CALL_MultiTexCoord2i(disp, parameters) \
+ (* GET_MultiTexCoord2i(disp)) parameters
+static INLINE _glptr_MultiTexCoord2i GET_MultiTexCoord2i(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2i) (GET_by_offset(disp, _gloffset_MultiTexCoord2i));
+}
+
+static INLINE void SET_MultiTexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iv)(GLenum, const GLint *);
+#define CALL_MultiTexCoord2iv(disp, parameters) \
+ (* GET_MultiTexCoord2iv(disp)) parameters
+static INLINE _glptr_MultiTexCoord2iv GET_MultiTexCoord2iv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2iv) (GET_by_offset(disp, _gloffset_MultiTexCoord2iv));
+}
+
+static INLINE void SET_MultiTexCoord2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2s)(GLenum, GLshort, GLshort);
+#define CALL_MultiTexCoord2s(disp, parameters) \
+ (* GET_MultiTexCoord2s(disp)) parameters
+static INLINE _glptr_MultiTexCoord2s GET_MultiTexCoord2s(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2s) (GET_by_offset(disp, _gloffset_MultiTexCoord2s));
+}
+
+static INLINE void SET_MultiTexCoord2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sv)(GLenum, const GLshort *);
+#define CALL_MultiTexCoord2sv(disp, parameters) \
+ (* GET_MultiTexCoord2sv(disp)) parameters
+static INLINE _glptr_MultiTexCoord2sv GET_MultiTexCoord2sv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord2sv) (GET_by_offset(disp, _gloffset_MultiTexCoord2sv));
+}
+
+static INLINE void SET_MultiTexCoord2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3d)(GLenum, GLdouble, GLdouble, GLdouble);
+#define CALL_MultiTexCoord3d(disp, parameters) \
+ (* GET_MultiTexCoord3d(disp)) parameters
+static INLINE _glptr_MultiTexCoord3d GET_MultiTexCoord3d(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3d) (GET_by_offset(disp, _gloffset_MultiTexCoord3d));
+}
+
+static INLINE void SET_MultiTexCoord3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dv)(GLenum, const GLdouble *);
+#define CALL_MultiTexCoord3dv(disp, parameters) \
+ (* GET_MultiTexCoord3dv(disp)) parameters
+static INLINE _glptr_MultiTexCoord3dv GET_MultiTexCoord3dv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3dv) (GET_by_offset(disp, _gloffset_MultiTexCoord3dv));
+}
+
+static INLINE void SET_MultiTexCoord3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat);
+#define CALL_MultiTexCoord3fARB(disp, parameters) \
+ (* GET_MultiTexCoord3fARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord3fARB GET_MultiTexCoord3fARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fARB));
+}
+
+static INLINE void SET_MultiTexCoord3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB)(GLenum, const GLfloat *);
+#define CALL_MultiTexCoord3fvARB(disp, parameters) \
+ (* GET_MultiTexCoord3fvARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord3fvARB GET_MultiTexCoord3fvARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fvARB));
+}
+
+static INLINE void SET_MultiTexCoord3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3i)(GLenum, GLint, GLint, GLint);
+#define CALL_MultiTexCoord3i(disp, parameters) \
+ (* GET_MultiTexCoord3i(disp)) parameters
+static INLINE _glptr_MultiTexCoord3i GET_MultiTexCoord3i(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3i) (GET_by_offset(disp, _gloffset_MultiTexCoord3i));
+}
+
+static INLINE void SET_MultiTexCoord3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iv)(GLenum, const GLint *);
+#define CALL_MultiTexCoord3iv(disp, parameters) \
+ (* GET_MultiTexCoord3iv(disp)) parameters
+static INLINE _glptr_MultiTexCoord3iv GET_MultiTexCoord3iv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3iv) (GET_by_offset(disp, _gloffset_MultiTexCoord3iv));
+}
+
+static INLINE void SET_MultiTexCoord3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3s)(GLenum, GLshort, GLshort, GLshort);
+#define CALL_MultiTexCoord3s(disp, parameters) \
+ (* GET_MultiTexCoord3s(disp)) parameters
+static INLINE _glptr_MultiTexCoord3s GET_MultiTexCoord3s(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3s) (GET_by_offset(disp, _gloffset_MultiTexCoord3s));
+}
+
+static INLINE void SET_MultiTexCoord3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sv)(GLenum, const GLshort *);
+#define CALL_MultiTexCoord3sv(disp, parameters) \
+ (* GET_MultiTexCoord3sv(disp)) parameters
+static INLINE _glptr_MultiTexCoord3sv GET_MultiTexCoord3sv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord3sv) (GET_by_offset(disp, _gloffset_MultiTexCoord3sv));
+}
+
+static INLINE void SET_MultiTexCoord3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4d)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_MultiTexCoord4d(disp, parameters) \
+ (* GET_MultiTexCoord4d(disp)) parameters
+static INLINE _glptr_MultiTexCoord4d GET_MultiTexCoord4d(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4d) (GET_by_offset(disp, _gloffset_MultiTexCoord4d));
+}
+
+static INLINE void SET_MultiTexCoord4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dv)(GLenum, const GLdouble *);
+#define CALL_MultiTexCoord4dv(disp, parameters) \
+ (* GET_MultiTexCoord4dv(disp)) parameters
+static INLINE _glptr_MultiTexCoord4dv GET_MultiTexCoord4dv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4dv) (GET_by_offset(disp, _gloffset_MultiTexCoord4dv));
+}
+
+static INLINE void SET_MultiTexCoord4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_MultiTexCoord4fARB(disp, parameters) \
+ (* GET_MultiTexCoord4fARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord4fARB GET_MultiTexCoord4fARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fARB));
+}
+
+static INLINE void SET_MultiTexCoord4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB)(GLenum, const GLfloat *);
+#define CALL_MultiTexCoord4fvARB(disp, parameters) \
+ (* GET_MultiTexCoord4fvARB(disp)) parameters
+static INLINE _glptr_MultiTexCoord4fvARB GET_MultiTexCoord4fvARB(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fvARB));
+}
+
+static INLINE void SET_MultiTexCoord4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4i)(GLenum, GLint, GLint, GLint, GLint);
+#define CALL_MultiTexCoord4i(disp, parameters) \
+ (* GET_MultiTexCoord4i(disp)) parameters
+static INLINE _glptr_MultiTexCoord4i GET_MultiTexCoord4i(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4i) (GET_by_offset(disp, _gloffset_MultiTexCoord4i));
+}
+
+static INLINE void SET_MultiTexCoord4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iv)(GLenum, const GLint *);
+#define CALL_MultiTexCoord4iv(disp, parameters) \
+ (* GET_MultiTexCoord4iv(disp)) parameters
+static INLINE _glptr_MultiTexCoord4iv GET_MultiTexCoord4iv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4iv) (GET_by_offset(disp, _gloffset_MultiTexCoord4iv));
+}
+
+static INLINE void SET_MultiTexCoord4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4s)(GLenum, GLshort, GLshort, GLshort, GLshort);
+#define CALL_MultiTexCoord4s(disp, parameters) \
+ (* GET_MultiTexCoord4s(disp)) parameters
+static INLINE _glptr_MultiTexCoord4s GET_MultiTexCoord4s(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4s) (GET_by_offset(disp, _gloffset_MultiTexCoord4s));
+}
+
+static INLINE void SET_MultiTexCoord4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sv)(GLenum, const GLshort *);
+#define CALL_MultiTexCoord4sv(disp, parameters) \
+ (* GET_MultiTexCoord4sv(disp)) parameters
+static INLINE _glptr_MultiTexCoord4sv GET_MultiTexCoord4sv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4sv) (GET_by_offset(disp, _gloffset_MultiTexCoord4sv));
+}
+
+static INLINE void SET_MultiTexCoord4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage1D)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
+#define CALL_CompressedTexImage1D(disp, parameters) \
+ (* GET_CompressedTexImage1D(disp)) parameters
+static INLINE _glptr_CompressedTexImage1D GET_CompressedTexImage1D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexImage1D) (GET_by_offset(disp, _gloffset_CompressedTexImage1D));
+}
+
+static INLINE void SET_CompressedTexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage2D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
+#define CALL_CompressedTexImage2D(disp, parameters) \
+ (* GET_CompressedTexImage2D(disp)) parameters
+static INLINE _glptr_CompressedTexImage2D GET_CompressedTexImage2D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexImage2D) (GET_by_offset(disp, _gloffset_CompressedTexImage2D));
+}
+
+static INLINE void SET_CompressedTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
+#define CALL_CompressedTexImage3D(disp, parameters) \
+ (* GET_CompressedTexImage3D(disp)) parameters
+static INLINE _glptr_CompressedTexImage3D GET_CompressedTexImage3D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexImage3D) (GET_by_offset(disp, _gloffset_CompressedTexImage3D));
+}
+
+static INLINE void SET_CompressedTexImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexImage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
+#define CALL_CompressedTexSubImage1D(disp, parameters) \
+ (* GET_CompressedTexSubImage1D(disp)) parameters
+static INLINE _glptr_CompressedTexSubImage1D GET_CompressedTexSubImage1D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexSubImage1D) (GET_by_offset(disp, _gloffset_CompressedTexSubImage1D));
+}
+
+static INLINE void SET_CompressedTexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
+#define CALL_CompressedTexSubImage2D(disp, parameters) \
+ (* GET_CompressedTexSubImage2D(disp)) parameters
+static INLINE _glptr_CompressedTexSubImage2D GET_CompressedTexSubImage2D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexSubImage2D) (GET_by_offset(disp, _gloffset_CompressedTexSubImage2D));
+}
+
+static INLINE void SET_CompressedTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
+#define CALL_CompressedTexSubImage3D(disp, parameters) \
+ (* GET_CompressedTexSubImage3D(disp)) parameters
+static INLINE _glptr_CompressedTexSubImage3D GET_CompressedTexSubImage3D(struct _glapi_table *disp) {
+ return (_glptr_CompressedTexSubImage3D) (GET_by_offset(disp, _gloffset_CompressedTexSubImage3D));
+}
+
+static INLINE void SET_CompressedTexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetCompressedTexImage)(GLenum, GLint, GLvoid *);
+#define CALL_GetCompressedTexImage(disp, parameters) \
+ (* GET_GetCompressedTexImage(disp)) parameters
+static INLINE _glptr_GetCompressedTexImage GET_GetCompressedTexImage(struct _glapi_table *disp) {
+ return (_glptr_GetCompressedTexImage) (GET_by_offset(disp, _gloffset_GetCompressedTexImage));
+}
+
+static INLINE void SET_GetCompressedTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetCompressedTexImage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixd)(const GLdouble *);
+#define CALL_LoadTransposeMatrixd(disp, parameters) \
+ (* GET_LoadTransposeMatrixd(disp)) parameters
+static INLINE _glptr_LoadTransposeMatrixd GET_LoadTransposeMatrixd(struct _glapi_table *disp) {
+ return (_glptr_LoadTransposeMatrixd) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixd));
+}
+
+static INLINE void SET_LoadTransposeMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_LoadTransposeMatrixd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixf)(const GLfloat *);
+#define CALL_LoadTransposeMatrixf(disp, parameters) \
+ (* GET_LoadTransposeMatrixf(disp)) parameters
+static INLINE _glptr_LoadTransposeMatrixf GET_LoadTransposeMatrixf(struct _glapi_table *disp) {
+ return (_glptr_LoadTransposeMatrixf) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixf));
+}
+
+static INLINE void SET_LoadTransposeMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_LoadTransposeMatrixf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixd)(const GLdouble *);
+#define CALL_MultTransposeMatrixd(disp, parameters) \
+ (* GET_MultTransposeMatrixd(disp)) parameters
+static INLINE _glptr_MultTransposeMatrixd GET_MultTransposeMatrixd(struct _glapi_table *disp) {
+ return (_glptr_MultTransposeMatrixd) (GET_by_offset(disp, _gloffset_MultTransposeMatrixd));
+}
+
+static INLINE void SET_MultTransposeMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_MultTransposeMatrixd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixf)(const GLfloat *);
+#define CALL_MultTransposeMatrixf(disp, parameters) \
+ (* GET_MultTransposeMatrixf(disp)) parameters
+static INLINE _glptr_MultTransposeMatrixf GET_MultTransposeMatrixf(struct _glapi_table *disp) {
+ return (_glptr_MultTransposeMatrixf) (GET_by_offset(disp, _gloffset_MultTransposeMatrixf));
+}
+
+static INLINE void SET_MultTransposeMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_MultTransposeMatrixf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SampleCoverage)(GLclampf, GLboolean);
+#define CALL_SampleCoverage(disp, parameters) \
+ (* GET_SampleCoverage(disp)) parameters
+static INLINE _glptr_SampleCoverage GET_SampleCoverage(struct _glapi_table *disp) {
+ return (_glptr_SampleCoverage) (GET_by_offset(disp, _gloffset_SampleCoverage));
+}
+
+static INLINE void SET_SampleCoverage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
+ SET_by_offset(disp, _gloffset_SampleCoverage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendFuncSeparate)(GLenum, GLenum, GLenum, GLenum);
+#define CALL_BlendFuncSeparate(disp, parameters) \
+ (* GET_BlendFuncSeparate(disp)) parameters
+static INLINE _glptr_BlendFuncSeparate GET_BlendFuncSeparate(struct _glapi_table *disp) {
+ return (_glptr_BlendFuncSeparate) (GET_by_offset(disp, _gloffset_BlendFuncSeparate));
+}
+
+static INLINE void SET_BlendFuncSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendFuncSeparate, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FogCoordPointer)(GLenum, GLsizei, const GLvoid *);
+#define CALL_FogCoordPointer(disp, parameters) \
+ (* GET_FogCoordPointer(disp)) parameters
+static INLINE _glptr_FogCoordPointer GET_FogCoordPointer(struct _glapi_table *disp) {
+ return (_glptr_FogCoordPointer) (GET_by_offset(disp, _gloffset_FogCoordPointer));
+}
+
+static INLINE void SET_FogCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_FogCoordPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FogCoordd)(GLdouble);
+#define CALL_FogCoordd(disp, parameters) \
+ (* GET_FogCoordd(disp)) parameters
+static INLINE _glptr_FogCoordd GET_FogCoordd(struct _glapi_table *disp) {
+ return (_glptr_FogCoordd) (GET_by_offset(disp, _gloffset_FogCoordd));
+}
+
+static INLINE void SET_FogCoordd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
+ SET_by_offset(disp, _gloffset_FogCoordd, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FogCoorddv)(const GLdouble *);
+#define CALL_FogCoorddv(disp, parameters) \
+ (* GET_FogCoorddv(disp)) parameters
+static INLINE _glptr_FogCoorddv GET_FogCoorddv(struct _glapi_table *disp) {
+ return (_glptr_FogCoorddv) (GET_by_offset(disp, _gloffset_FogCoorddv));
+}
+
+static INLINE void SET_FogCoorddv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_FogCoorddv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiDrawArrays)(GLenum, const GLint *, const GLsizei *, GLsizei);
+#define CALL_MultiDrawArrays(disp, parameters) \
+ (* GET_MultiDrawArrays(disp)) parameters
+static INLINE _glptr_MultiDrawArrays GET_MultiDrawArrays(struct _glapi_table *disp) {
+ return (_glptr_MultiDrawArrays) (GET_by_offset(disp, _gloffset_MultiDrawArrays));
+}
+
+static INLINE void SET_MultiDrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *, const GLsizei *, GLsizei)) {
+ SET_by_offset(disp, _gloffset_MultiDrawArrays, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameterf)(GLenum, GLfloat);
+#define CALL_PointParameterf(disp, parameters) \
+ (* GET_PointParameterf(disp)) parameters
+static INLINE _glptr_PointParameterf GET_PointParameterf(struct _glapi_table *disp) {
+ return (_glptr_PointParameterf) (GET_by_offset(disp, _gloffset_PointParameterf));
+}
+
+static INLINE void SET_PointParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PointParameterf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameterfv)(GLenum, const GLfloat *);
+#define CALL_PointParameterfv(disp, parameters) \
+ (* GET_PointParameterfv(disp)) parameters
+static INLINE _glptr_PointParameterfv GET_PointParameterfv(struct _glapi_table *disp) {
+ return (_glptr_PointParameterfv) (GET_by_offset(disp, _gloffset_PointParameterfv));
+}
+
+static INLINE void SET_PointParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_PointParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameteri)(GLenum, GLint);
+#define CALL_PointParameteri(disp, parameters) \
+ (* GET_PointParameteri(disp)) parameters
+static INLINE _glptr_PointParameteri GET_PointParameteri(struct _glapi_table *disp) {
+ return (_glptr_PointParameteri) (GET_by_offset(disp, _gloffset_PointParameteri));
+}
+
+static INLINE void SET_PointParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_PointParameteri, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameteriv)(GLenum, const GLint *);
+#define CALL_PointParameteriv(disp, parameters) \
+ (* GET_PointParameteriv(disp)) parameters
+static INLINE _glptr_PointParameteriv GET_PointParameteriv(struct _glapi_table *disp) {
+ return (_glptr_PointParameteriv) (GET_by_offset(disp, _gloffset_PointParameteriv));
+}
+
+static INLINE void SET_PointParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_PointParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3b)(GLbyte, GLbyte, GLbyte);
+#define CALL_SecondaryColor3b(disp, parameters) \
+ (* GET_SecondaryColor3b(disp)) parameters
+static INLINE _glptr_SecondaryColor3b GET_SecondaryColor3b(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3b) (GET_by_offset(disp, _gloffset_SecondaryColor3b));
+}
+
+static INLINE void SET_SecondaryColor3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3b, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3bv)(const GLbyte *);
+#define CALL_SecondaryColor3bv(disp, parameters) \
+ (* GET_SecondaryColor3bv(disp)) parameters
+static INLINE _glptr_SecondaryColor3bv GET_SecondaryColor3bv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3bv) (GET_by_offset(disp, _gloffset_SecondaryColor3bv));
+}
+
+static INLINE void SET_SecondaryColor3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_SecondaryColor3d(disp, parameters) \
+ (* GET_SecondaryColor3d(disp)) parameters
+static INLINE _glptr_SecondaryColor3d GET_SecondaryColor3d(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3d) (GET_by_offset(disp, _gloffset_SecondaryColor3d));
+}
+
+static INLINE void SET_SecondaryColor3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3dv)(const GLdouble *);
+#define CALL_SecondaryColor3dv(disp, parameters) \
+ (* GET_SecondaryColor3dv(disp)) parameters
+static INLINE _glptr_SecondaryColor3dv GET_SecondaryColor3dv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3dv) (GET_by_offset(disp, _gloffset_SecondaryColor3dv));
+}
+
+static INLINE void SET_SecondaryColor3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3i)(GLint, GLint, GLint);
+#define CALL_SecondaryColor3i(disp, parameters) \
+ (* GET_SecondaryColor3i(disp)) parameters
+static INLINE _glptr_SecondaryColor3i GET_SecondaryColor3i(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3i) (GET_by_offset(disp, _gloffset_SecondaryColor3i));
+}
+
+static INLINE void SET_SecondaryColor3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3iv)(const GLint *);
+#define CALL_SecondaryColor3iv(disp, parameters) \
+ (* GET_SecondaryColor3iv(disp)) parameters
+static INLINE _glptr_SecondaryColor3iv GET_SecondaryColor3iv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3iv) (GET_by_offset(disp, _gloffset_SecondaryColor3iv));
+}
+
+static INLINE void SET_SecondaryColor3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3s)(GLshort, GLshort, GLshort);
+#define CALL_SecondaryColor3s(disp, parameters) \
+ (* GET_SecondaryColor3s(disp)) parameters
+static INLINE _glptr_SecondaryColor3s GET_SecondaryColor3s(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3s) (GET_by_offset(disp, _gloffset_SecondaryColor3s));
+}
+
+static INLINE void SET_SecondaryColor3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3sv)(const GLshort *);
+#define CALL_SecondaryColor3sv(disp, parameters) \
+ (* GET_SecondaryColor3sv(disp)) parameters
+static INLINE _glptr_SecondaryColor3sv GET_SecondaryColor3sv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3sv) (GET_by_offset(disp, _gloffset_SecondaryColor3sv));
+}
+
+static INLINE void SET_SecondaryColor3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ub)(GLubyte, GLubyte, GLubyte);
+#define CALL_SecondaryColor3ub(disp, parameters) \
+ (* GET_SecondaryColor3ub(disp)) parameters
+static INLINE _glptr_SecondaryColor3ub GET_SecondaryColor3ub(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3ub) (GET_by_offset(disp, _gloffset_SecondaryColor3ub));
+}
+
+static INLINE void SET_SecondaryColor3ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3ub, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubv)(const GLubyte *);
+#define CALL_SecondaryColor3ubv(disp, parameters) \
+ (* GET_SecondaryColor3ubv(disp)) parameters
+static INLINE _glptr_SecondaryColor3ubv GET_SecondaryColor3ubv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3ubv) (GET_by_offset(disp, _gloffset_SecondaryColor3ubv));
+}
+
+static INLINE void SET_SecondaryColor3ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3ubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ui)(GLuint, GLuint, GLuint);
+#define CALL_SecondaryColor3ui(disp, parameters) \
+ (* GET_SecondaryColor3ui(disp)) parameters
+static INLINE _glptr_SecondaryColor3ui GET_SecondaryColor3ui(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3ui) (GET_by_offset(disp, _gloffset_SecondaryColor3ui));
+}
+
+static INLINE void SET_SecondaryColor3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiv)(const GLuint *);
+#define CALL_SecondaryColor3uiv(disp, parameters) \
+ (* GET_SecondaryColor3uiv(disp)) parameters
+static INLINE _glptr_SecondaryColor3uiv GET_SecondaryColor3uiv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3uiv) (GET_by_offset(disp, _gloffset_SecondaryColor3uiv));
+}
+
+static INLINE void SET_SecondaryColor3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3us)(GLushort, GLushort, GLushort);
+#define CALL_SecondaryColor3us(disp, parameters) \
+ (* GET_SecondaryColor3us(disp)) parameters
+static INLINE _glptr_SecondaryColor3us GET_SecondaryColor3us(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3us) (GET_by_offset(disp, _gloffset_SecondaryColor3us));
+}
+
+static INLINE void SET_SecondaryColor3us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3us, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3usv)(const GLushort *);
+#define CALL_SecondaryColor3usv(disp, parameters) \
+ (* GET_SecondaryColor3usv(disp)) parameters
+static INLINE _glptr_SecondaryColor3usv GET_SecondaryColor3usv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3usv) (GET_by_offset(disp, _gloffset_SecondaryColor3usv));
+}
+
+static INLINE void SET_SecondaryColor3usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3usv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_SecondaryColorPointer(disp, parameters) \
+ (* GET_SecondaryColorPointer(disp)) parameters
+static INLINE _glptr_SecondaryColorPointer GET_SecondaryColorPointer(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColorPointer) (GET_by_offset(disp, _gloffset_SecondaryColorPointer));
+}
+
+static INLINE void SET_SecondaryColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColorPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2d)(GLdouble, GLdouble);
+#define CALL_WindowPos2d(disp, parameters) \
+ (* GET_WindowPos2d(disp)) parameters
+static INLINE _glptr_WindowPos2d GET_WindowPos2d(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2d) (GET_by_offset(disp, _gloffset_WindowPos2d));
+}
+
+static INLINE void SET_WindowPos2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_WindowPos2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2dv)(const GLdouble *);
+#define CALL_WindowPos2dv(disp, parameters) \
+ (* GET_WindowPos2dv(disp)) parameters
+static INLINE _glptr_WindowPos2dv GET_WindowPos2dv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2dv) (GET_by_offset(disp, _gloffset_WindowPos2dv));
+}
+
+static INLINE void SET_WindowPos2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_WindowPos2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2f)(GLfloat, GLfloat);
+#define CALL_WindowPos2f(disp, parameters) \
+ (* GET_WindowPos2f(disp)) parameters
+static INLINE _glptr_WindowPos2f GET_WindowPos2f(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2f) (GET_by_offset(disp, _gloffset_WindowPos2f));
+}
+
+static INLINE void SET_WindowPos2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_WindowPos2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2fv)(const GLfloat *);
+#define CALL_WindowPos2fv(disp, parameters) \
+ (* GET_WindowPos2fv(disp)) parameters
+static INLINE _glptr_WindowPos2fv GET_WindowPos2fv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2fv) (GET_by_offset(disp, _gloffset_WindowPos2fv));
+}
+
+static INLINE void SET_WindowPos2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_WindowPos2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2i)(GLint, GLint);
+#define CALL_WindowPos2i(disp, parameters) \
+ (* GET_WindowPos2i(disp)) parameters
+static INLINE _glptr_WindowPos2i GET_WindowPos2i(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2i) (GET_by_offset(disp, _gloffset_WindowPos2i));
+}
+
+static INLINE void SET_WindowPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_WindowPos2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2iv)(const GLint *);
+#define CALL_WindowPos2iv(disp, parameters) \
+ (* GET_WindowPos2iv(disp)) parameters
+static INLINE _glptr_WindowPos2iv GET_WindowPos2iv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2iv) (GET_by_offset(disp, _gloffset_WindowPos2iv));
+}
+
+static INLINE void SET_WindowPos2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_WindowPos2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2s)(GLshort, GLshort);
+#define CALL_WindowPos2s(disp, parameters) \
+ (* GET_WindowPos2s(disp)) parameters
+static INLINE _glptr_WindowPos2s GET_WindowPos2s(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2s) (GET_by_offset(disp, _gloffset_WindowPos2s));
+}
+
+static INLINE void SET_WindowPos2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_WindowPos2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos2sv)(const GLshort *);
+#define CALL_WindowPos2sv(disp, parameters) \
+ (* GET_WindowPos2sv(disp)) parameters
+static INLINE _glptr_WindowPos2sv GET_WindowPos2sv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos2sv) (GET_by_offset(disp, _gloffset_WindowPos2sv));
+}
+
+static INLINE void SET_WindowPos2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_WindowPos2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3d)(GLdouble, GLdouble, GLdouble);
+#define CALL_WindowPos3d(disp, parameters) \
+ (* GET_WindowPos3d(disp)) parameters
+static INLINE _glptr_WindowPos3d GET_WindowPos3d(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3d) (GET_by_offset(disp, _gloffset_WindowPos3d));
+}
+
+static INLINE void SET_WindowPos3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_WindowPos3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3dv)(const GLdouble *);
+#define CALL_WindowPos3dv(disp, parameters) \
+ (* GET_WindowPos3dv(disp)) parameters
+static INLINE _glptr_WindowPos3dv GET_WindowPos3dv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3dv) (GET_by_offset(disp, _gloffset_WindowPos3dv));
+}
+
+static INLINE void SET_WindowPos3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_WindowPos3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3f)(GLfloat, GLfloat, GLfloat);
+#define CALL_WindowPos3f(disp, parameters) \
+ (* GET_WindowPos3f(disp)) parameters
+static INLINE _glptr_WindowPos3f GET_WindowPos3f(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3f) (GET_by_offset(disp, _gloffset_WindowPos3f));
+}
+
+static INLINE void SET_WindowPos3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_WindowPos3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3fv)(const GLfloat *);
+#define CALL_WindowPos3fv(disp, parameters) \
+ (* GET_WindowPos3fv(disp)) parameters
+static INLINE _glptr_WindowPos3fv GET_WindowPos3fv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3fv) (GET_by_offset(disp, _gloffset_WindowPos3fv));
+}
+
+static INLINE void SET_WindowPos3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_WindowPos3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3i)(GLint, GLint, GLint);
+#define CALL_WindowPos3i(disp, parameters) \
+ (* GET_WindowPos3i(disp)) parameters
+static INLINE _glptr_WindowPos3i GET_WindowPos3i(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3i) (GET_by_offset(disp, _gloffset_WindowPos3i));
+}
+
+static INLINE void SET_WindowPos3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_WindowPos3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3iv)(const GLint *);
+#define CALL_WindowPos3iv(disp, parameters) \
+ (* GET_WindowPos3iv(disp)) parameters
+static INLINE _glptr_WindowPos3iv GET_WindowPos3iv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3iv) (GET_by_offset(disp, _gloffset_WindowPos3iv));
+}
+
+static INLINE void SET_WindowPos3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_WindowPos3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3s)(GLshort, GLshort, GLshort);
+#define CALL_WindowPos3s(disp, parameters) \
+ (* GET_WindowPos3s(disp)) parameters
+static INLINE _glptr_WindowPos3s GET_WindowPos3s(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3s) (GET_by_offset(disp, _gloffset_WindowPos3s));
+}
+
+static INLINE void SET_WindowPos3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_WindowPos3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos3sv)(const GLshort *);
+#define CALL_WindowPos3sv(disp, parameters) \
+ (* GET_WindowPos3sv(disp)) parameters
+static INLINE _glptr_WindowPos3sv GET_WindowPos3sv(struct _glapi_table *disp) {
+ return (_glptr_WindowPos3sv) (GET_by_offset(disp, _gloffset_WindowPos3sv));
+}
+
+static INLINE void SET_WindowPos3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_WindowPos3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BeginQuery)(GLenum, GLuint);
+#define CALL_BeginQuery(disp, parameters) \
+ (* GET_BeginQuery(disp)) parameters
+static INLINE _glptr_BeginQuery GET_BeginQuery(struct _glapi_table *disp) {
+ return (_glptr_BeginQuery) (GET_by_offset(disp, _gloffset_BeginQuery));
+}
+
+static INLINE void SET_BeginQuery(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BeginQuery, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindBuffer)(GLenum, GLuint);
+#define CALL_BindBuffer(disp, parameters) \
+ (* GET_BindBuffer(disp)) parameters
+static INLINE _glptr_BindBuffer GET_BindBuffer(struct _glapi_table *disp) {
+ return (_glptr_BindBuffer) (GET_by_offset(disp, _gloffset_BindBuffer));
+}
+
+static INLINE void SET_BindBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BufferData)(GLenum, GLsizeiptr, const GLvoid *, GLenum);
+#define CALL_BufferData(disp, parameters) \
+ (* GET_BufferData(disp)) parameters
+static INLINE _glptr_BufferData GET_BufferData(struct _glapi_table *disp) {
+ return (_glptr_BufferData) (GET_by_offset(disp, _gloffset_BufferData));
+}
+
+static INLINE void SET_BufferData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizeiptr, const GLvoid *, GLenum)) {
+ SET_by_offset(disp, _gloffset_BufferData, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BufferSubData)(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
+#define CALL_BufferSubData(disp, parameters) \
+ (* GET_BufferSubData(disp)) parameters
+static INLINE _glptr_BufferSubData GET_BufferSubData(struct _glapi_table *disp) {
+ return (_glptr_BufferSubData) (GET_by_offset(disp, _gloffset_BufferSubData));
+}
+
+static INLINE void SET_BufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_BufferSubData, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteBuffers)(GLsizei, const GLuint *);
+#define CALL_DeleteBuffers(disp, parameters) \
+ (* GET_DeleteBuffers(disp)) parameters
+static INLINE _glptr_DeleteBuffers GET_DeleteBuffers(struct _glapi_table *disp) {
+ return (_glptr_DeleteBuffers) (GET_by_offset(disp, _gloffset_DeleteBuffers));
+}
+
+static INLINE void SET_DeleteBuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteBuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteQueries)(GLsizei, const GLuint *);
+#define CALL_DeleteQueries(disp, parameters) \
+ (* GET_DeleteQueries(disp)) parameters
+static INLINE _glptr_DeleteQueries GET_DeleteQueries(struct _glapi_table *disp) {
+ return (_glptr_DeleteQueries) (GET_by_offset(disp, _gloffset_DeleteQueries));
+}
+
+static INLINE void SET_DeleteQueries(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteQueries, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndQuery)(GLenum);
+#define CALL_EndQuery(disp, parameters) \
+ (* GET_EndQuery(disp)) parameters
+static INLINE _glptr_EndQuery GET_EndQuery(struct _glapi_table *disp) {
+ return (_glptr_EndQuery) (GET_by_offset(disp, _gloffset_EndQuery));
+}
+
+static INLINE void SET_EndQuery(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_EndQuery, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenBuffers)(GLsizei, GLuint *);
+#define CALL_GenBuffers(disp, parameters) \
+ (* GET_GenBuffers(disp)) parameters
+static INLINE _glptr_GenBuffers GET_GenBuffers(struct _glapi_table *disp) {
+ return (_glptr_GenBuffers) (GET_by_offset(disp, _gloffset_GenBuffers));
+}
+
+static INLINE void SET_GenBuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenBuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenQueries)(GLsizei, GLuint *);
+#define CALL_GenQueries(disp, parameters) \
+ (* GET_GenQueries(disp)) parameters
+static INLINE _glptr_GenQueries GET_GenQueries(struct _glapi_table *disp) {
+ return (_glptr_GenQueries) (GET_by_offset(disp, _gloffset_GenQueries));
+}
+
+static INLINE void SET_GenQueries(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenQueries, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBufferParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetBufferParameteriv(disp, parameters) \
+ (* GET_GetBufferParameteriv(disp)) parameters
+static INLINE _glptr_GetBufferParameteriv GET_GetBufferParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetBufferParameteriv) (GET_by_offset(disp, _gloffset_GetBufferParameteriv));
+}
+
+static INLINE void SET_GetBufferParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetBufferParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBufferPointerv)(GLenum, GLenum, GLvoid **);
+#define CALL_GetBufferPointerv(disp, parameters) \
+ (* GET_GetBufferPointerv(disp)) parameters
+static INLINE _glptr_GetBufferPointerv GET_GetBufferPointerv(struct _glapi_table *disp) {
+ return (_glptr_GetBufferPointerv) (GET_by_offset(disp, _gloffset_GetBufferPointerv));
+}
+
+static INLINE void SET_GetBufferPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
+ SET_by_offset(disp, _gloffset_GetBufferPointerv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBufferSubData)(GLenum, GLintptr, GLsizeiptr, GLvoid *);
+#define CALL_GetBufferSubData(disp, parameters) \
+ (* GET_GetBufferSubData(disp)) parameters
+static INLINE _glptr_GetBufferSubData GET_GetBufferSubData(struct _glapi_table *disp) {
+ return (_glptr_GetBufferSubData) (GET_by_offset(disp, _gloffset_GetBufferSubData));
+}
+
+static INLINE void SET_GetBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetBufferSubData, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectiv)(GLuint, GLenum, GLint *);
+#define CALL_GetQueryObjectiv(disp, parameters) \
+ (* GET_GetQueryObjectiv(disp)) parameters
+static INLINE _glptr_GetQueryObjectiv GET_GetQueryObjectiv(struct _glapi_table *disp) {
+ return (_glptr_GetQueryObjectiv) (GET_by_offset(disp, _gloffset_GetQueryObjectiv));
+}
+
+static INLINE void SET_GetQueryObjectiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetQueryObjectiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectuiv)(GLuint, GLenum, GLuint *);
+#define CALL_GetQueryObjectuiv(disp, parameters) \
+ (* GET_GetQueryObjectuiv(disp)) parameters
+static INLINE _glptr_GetQueryObjectuiv GET_GetQueryObjectuiv(struct _glapi_table *disp) {
+ return (_glptr_GetQueryObjectuiv) (GET_by_offset(disp, _gloffset_GetQueryObjectuiv));
+}
+
+static INLINE void SET_GetQueryObjectuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetQueryObjectuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryiv)(GLenum, GLenum, GLint *);
+#define CALL_GetQueryiv(disp, parameters) \
+ (* GET_GetQueryiv(disp)) parameters
+static INLINE _glptr_GetQueryiv GET_GetQueryiv(struct _glapi_table *disp) {
+ return (_glptr_GetQueryiv) (GET_by_offset(disp, _gloffset_GetQueryiv));
+}
+
+static INLINE void SET_GetQueryiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetQueryiv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsBuffer)(GLuint);
+#define CALL_IsBuffer(disp, parameters) \
+ (* GET_IsBuffer(disp)) parameters
+static INLINE _glptr_IsBuffer GET_IsBuffer(struct _glapi_table *disp) {
+ return (_glptr_IsBuffer) (GET_by_offset(disp, _gloffset_IsBuffer));
+}
+
+static INLINE void SET_IsBuffer(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsBuffer, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsQuery)(GLuint);
+#define CALL_IsQuery(disp, parameters) \
+ (* GET_IsQuery(disp)) parameters
+static INLINE _glptr_IsQuery GET_IsQuery(struct _glapi_table *disp) {
+ return (_glptr_IsQuery) (GET_by_offset(disp, _gloffset_IsQuery));
+}
+
+static INLINE void SET_IsQuery(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsQuery, fn);
+}
+
+typedef GLvoid * (GLAPIENTRYP _glptr_MapBuffer)(GLenum, GLenum);
+#define CALL_MapBuffer(disp, parameters) \
+ (* GET_MapBuffer(disp)) parameters
+static INLINE _glptr_MapBuffer GET_MapBuffer(struct _glapi_table *disp) {
+ return (_glptr_MapBuffer) (GET_by_offset(disp, _gloffset_MapBuffer));
+}
+
+static INLINE void SET_MapBuffer(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_MapBuffer, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_UnmapBuffer)(GLenum);
+#define CALL_UnmapBuffer(disp, parameters) \
+ (* GET_UnmapBuffer(disp)) parameters
+static INLINE _glptr_UnmapBuffer GET_UnmapBuffer(struct _glapi_table *disp) {
+ return (_glptr_UnmapBuffer) (GET_by_offset(disp, _gloffset_UnmapBuffer));
+}
+
+static INLINE void SET_UnmapBuffer(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_UnmapBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AttachShader)(GLuint, GLuint);
+#define CALL_AttachShader(disp, parameters) \
+ (* GET_AttachShader(disp)) parameters
+static INLINE _glptr_AttachShader GET_AttachShader(struct _glapi_table *disp) {
+ return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader));
+}
+
+static INLINE void SET_AttachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_AttachShader, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindAttribLocation)(GLuint, GLuint, const GLchar *);
+#define CALL_BindAttribLocation(disp, parameters) \
+ (* GET_BindAttribLocation(disp)) parameters
+static INLINE _glptr_BindAttribLocation GET_BindAttribLocation(struct _glapi_table *disp) {
+ return (_glptr_BindAttribLocation) (GET_by_offset(disp, _gloffset_BindAttribLocation));
+}
+
+static INLINE void SET_BindAttribLocation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_BindAttribLocation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendEquationSeparate)(GLenum, GLenum);
+#define CALL_BlendEquationSeparate(disp, parameters) \
+ (* GET_BlendEquationSeparate(disp)) parameters
+static INLINE _glptr_BlendEquationSeparate GET_BlendEquationSeparate(struct _glapi_table *disp) {
+ return (_glptr_BlendEquationSeparate) (GET_by_offset(disp, _gloffset_BlendEquationSeparate));
+}
+
+static INLINE void SET_BlendEquationSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendEquationSeparate, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompileShader)(GLuint);
+#define CALL_CompileShader(disp, parameters) \
+ (* GET_CompileShader(disp)) parameters
+static INLINE _glptr_CompileShader GET_CompileShader(struct _glapi_table *disp) {
+ return (_glptr_CompileShader) (GET_by_offset(disp, _gloffset_CompileShader));
+}
+
+static INLINE void SET_CompileShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_CompileShader, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_CreateProgram)(void);
+#define CALL_CreateProgram(disp, parameters) \
+ (* GET_CreateProgram(disp)) parameters
+static INLINE _glptr_CreateProgram GET_CreateProgram(struct _glapi_table *disp) {
+ return (_glptr_CreateProgram) (GET_by_offset(disp, _gloffset_CreateProgram));
+}
+
+static INLINE void SET_CreateProgram(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_CreateProgram, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_CreateShader)(GLenum);
+#define CALL_CreateShader(disp, parameters) \
+ (* GET_CreateShader(disp)) parameters
+static INLINE _glptr_CreateShader GET_CreateShader(struct _glapi_table *disp) {
+ return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader));
+}
+
+static INLINE void SET_CreateShader(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_CreateShader, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteProgram)(GLuint);
+#define CALL_DeleteProgram(disp, parameters) \
+ (* GET_DeleteProgram(disp)) parameters
+static INLINE _glptr_DeleteProgram GET_DeleteProgram(struct _glapi_table *disp) {
+ return (_glptr_DeleteProgram) (GET_by_offset(disp, _gloffset_DeleteProgram));
+}
+
+static INLINE void SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_DeleteProgram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteShader)(GLuint);
+#define CALL_DeleteShader(disp, parameters) \
+ (* GET_DeleteShader(disp)) parameters
+static INLINE _glptr_DeleteShader GET_DeleteShader(struct _glapi_table *disp) {
+ return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader));
+}
+
+static INLINE void SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_DeleteShader, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DetachShader)(GLuint, GLuint);
+#define CALL_DetachShader(disp, parameters) \
+ (* GET_DetachShader(disp)) parameters
+static INLINE _glptr_DetachShader GET_DetachShader(struct _glapi_table *disp) {
+ return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader));
+}
+
+static INLINE void SET_DetachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_DetachShader, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArray)(GLuint);
+#define CALL_DisableVertexAttribArray(disp, parameters) \
+ (* GET_DisableVertexAttribArray(disp)) parameters
+static INLINE _glptr_DisableVertexAttribArray GET_DisableVertexAttribArray(struct _glapi_table *disp) {
+ return (_glptr_DisableVertexAttribArray) (GET_by_offset(disp, _gloffset_DisableVertexAttribArray));
+}
+
+static INLINE void SET_DisableVertexAttribArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_DisableVertexAttribArray, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawBuffers)(GLsizei, const GLenum *);
+#define CALL_DrawBuffers(disp, parameters) \
+ (* GET_DrawBuffers(disp)) parameters
+static INLINE _glptr_DrawBuffers GET_DrawBuffers(struct _glapi_table *disp) {
+ return (_glptr_DrawBuffers) (GET_by_offset(disp, _gloffset_DrawBuffers));
+}
+
+static INLINE void SET_DrawBuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLenum *)) {
+ SET_by_offset(disp, _gloffset_DrawBuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArray)(GLuint);
+#define CALL_EnableVertexAttribArray(disp, parameters) \
+ (* GET_EnableVertexAttribArray(disp)) parameters
+static INLINE _glptr_EnableVertexAttribArray GET_EnableVertexAttribArray(struct _glapi_table *disp) {
+ return (_glptr_EnableVertexAttribArray) (GET_by_offset(disp, _gloffset_EnableVertexAttribArray));
+}
+
+static INLINE void SET_EnableVertexAttribArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_EnableVertexAttribArray, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveAttrib)(GLuint, GLuint, GLsizei , GLsizei *, GLint *, GLenum *, GLchar *);
+#define CALL_GetActiveAttrib(disp, parameters) \
+ (* GET_GetActiveAttrib(disp)) parameters
+static INLINE _glptr_GetActiveAttrib GET_GetActiveAttrib(struct _glapi_table *disp) {
+ return (_glptr_GetActiveAttrib) (GET_by_offset(disp, _gloffset_GetActiveAttrib));
+}
+
+static INLINE void SET_GetActiveAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei , GLsizei *, GLint *, GLenum *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetActiveAttrib, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveUniform)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
+#define CALL_GetActiveUniform(disp, parameters) \
+ (* GET_GetActiveUniform(disp)) parameters
+static INLINE _glptr_GetActiveUniform GET_GetActiveUniform(struct _glapi_table *disp) {
+ return (_glptr_GetActiveUniform) (GET_by_offset(disp, _gloffset_GetActiveUniform));
+}
+
+static INLINE void SET_GetActiveUniform(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetActiveUniform, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetAttachedShaders)(GLuint, GLsizei, GLsizei *, GLuint *);
+#define CALL_GetAttachedShaders(disp, parameters) \
+ (* GET_GetAttachedShaders(disp)) parameters
+static INLINE _glptr_GetAttachedShaders GET_GetAttachedShaders(struct _glapi_table *disp) {
+ return (_glptr_GetAttachedShaders) (GET_by_offset(disp, _gloffset_GetAttachedShaders));
+}
+
+static INLINE void SET_GetAttachedShaders(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetAttachedShaders, fn);
+}
+
+typedef GLint (GLAPIENTRYP _glptr_GetAttribLocation)(GLuint, const GLchar *);
+#define CALL_GetAttribLocation(disp, parameters) \
+ (* GET_GetAttribLocation(disp)) parameters
+static INLINE _glptr_GetAttribLocation GET_GetAttribLocation(struct _glapi_table *disp) {
+ return (_glptr_GetAttribLocation) (GET_by_offset(disp, _gloffset_GetAttribLocation));
+}
+
+static INLINE void SET_GetAttribLocation(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetAttribLocation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
+#define CALL_GetProgramInfoLog(disp, parameters) \
+ (* GET_GetProgramInfoLog(disp)) parameters
+static INLINE _glptr_GetProgramInfoLog GET_GetProgramInfoLog(struct _glapi_table *disp) {
+ return (_glptr_GetProgramInfoLog) (GET_by_offset(disp, _gloffset_GetProgramInfoLog));
+}
+
+static INLINE void SET_GetProgramInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramiv)(GLuint, GLenum, GLint *);
+#define CALL_GetProgramiv(disp, parameters) \
+ (* GET_GetProgramiv(disp)) parameters
+static INLINE _glptr_GetProgramiv GET_GetProgramiv(struct _glapi_table *disp) {
+ return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv));
+}
+
+static INLINE void SET_GetProgramiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetProgramiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
+#define CALL_GetShaderInfoLog(disp, parameters) \
+ (* GET_GetShaderInfoLog(disp)) parameters
+static INLINE _glptr_GetShaderInfoLog GET_GetShaderInfoLog(struct _glapi_table *disp) {
+ return (_glptr_GetShaderInfoLog) (GET_by_offset(disp, _gloffset_GetShaderInfoLog));
+}
+
+static INLINE void SET_GetShaderInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetShaderSource)(GLuint, GLsizei, GLsizei *, GLchar *);
+#define CALL_GetShaderSource(disp, parameters) \
+ (* GET_GetShaderSource(disp)) parameters
+static INLINE _glptr_GetShaderSource GET_GetShaderSource(struct _glapi_table *disp) {
+ return (_glptr_GetShaderSource) (GET_by_offset(disp, _gloffset_GetShaderSource));
+}
+
+static INLINE void SET_GetShaderSource(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetShaderSource, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetShaderiv)(GLuint, GLenum, GLint *);
+#define CALL_GetShaderiv(disp, parameters) \
+ (* GET_GetShaderiv(disp)) parameters
+static INLINE _glptr_GetShaderiv GET_GetShaderiv(struct _glapi_table *disp) {
+ return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv));
+}
+
+static INLINE void SET_GetShaderiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetShaderiv, fn);
+}
+
+typedef GLint (GLAPIENTRYP _glptr_GetUniformLocation)(GLuint, const GLchar *);
+#define CALL_GetUniformLocation(disp, parameters) \
+ (* GET_GetUniformLocation(disp)) parameters
+static INLINE _glptr_GetUniformLocation GET_GetUniformLocation(struct _glapi_table *disp) {
+ return (_glptr_GetUniformLocation) (GET_by_offset(disp, _gloffset_GetUniformLocation));
+}
+
+static INLINE void SET_GetUniformLocation(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetUniformLocation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetUniformfv)(GLuint, GLint, GLfloat *);
+#define CALL_GetUniformfv(disp, parameters) \
+ (* GET_GetUniformfv(disp)) parameters
+static INLINE _glptr_GetUniformfv GET_GetUniformfv(struct _glapi_table *disp) {
+ return (_glptr_GetUniformfv) (GET_by_offset(disp, _gloffset_GetUniformfv));
+}
+
+static INLINE void SET_GetUniformfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetUniformfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetUniformiv)(GLuint, GLint, GLint *);
+#define CALL_GetUniformiv(disp, parameters) \
+ (* GET_GetUniformiv(disp)) parameters
+static INLINE _glptr_GetUniformiv GET_GetUniformiv(struct _glapi_table *disp) {
+ return (_glptr_GetUniformiv) (GET_by_offset(disp, _gloffset_GetUniformiv));
+}
+
+static INLINE void SET_GetUniformiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetUniformiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointerv)(GLuint, GLenum, GLvoid **);
+#define CALL_GetVertexAttribPointerv(disp, parameters) \
+ (* GET_GetVertexAttribPointerv(disp)) parameters
+static INLINE _glptr_GetVertexAttribPointerv GET_GetVertexAttribPointerv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribPointerv) (GET_by_offset(disp, _gloffset_GetVertexAttribPointerv));
+}
+
+static INLINE void SET_GetVertexAttribPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLvoid **)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribPointerv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribdv)(GLuint, GLenum, GLdouble *);
+#define CALL_GetVertexAttribdv(disp, parameters) \
+ (* GET_GetVertexAttribdv(disp)) parameters
+static INLINE _glptr_GetVertexAttribdv GET_GetVertexAttribdv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribdv) (GET_by_offset(disp, _gloffset_GetVertexAttribdv));
+}
+
+static INLINE void SET_GetVertexAttribdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribdv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribfv)(GLuint, GLenum, GLfloat *);
+#define CALL_GetVertexAttribfv(disp, parameters) \
+ (* GET_GetVertexAttribfv(disp)) parameters
+static INLINE _glptr_GetVertexAttribfv GET_GetVertexAttribfv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribfv) (GET_by_offset(disp, _gloffset_GetVertexAttribfv));
+}
+
+static INLINE void SET_GetVertexAttribfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribiv)(GLuint, GLenum, GLint *);
+#define CALL_GetVertexAttribiv(disp, parameters) \
+ (* GET_GetVertexAttribiv(disp)) parameters
+static INLINE _glptr_GetVertexAttribiv GET_GetVertexAttribiv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribiv) (GET_by_offset(disp, _gloffset_GetVertexAttribiv));
+}
+
+static INLINE void SET_GetVertexAttribiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribiv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsProgram)(GLuint);
+#define CALL_IsProgram(disp, parameters) \
+ (* GET_IsProgram(disp)) parameters
+static INLINE _glptr_IsProgram GET_IsProgram(struct _glapi_table *disp) {
+ return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram));
+}
+
+static INLINE void SET_IsProgram(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsProgram, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsShader)(GLuint);
+#define CALL_IsShader(disp, parameters) \
+ (* GET_IsShader(disp)) parameters
+static INLINE _glptr_IsShader GET_IsShader(struct _glapi_table *disp) {
+ return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader));
+}
+
+static INLINE void SET_IsShader(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsShader, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LinkProgram)(GLuint);
+#define CALL_LinkProgram(disp, parameters) \
+ (* GET_LinkProgram(disp)) parameters
+static INLINE _glptr_LinkProgram GET_LinkProgram(struct _glapi_table *disp) {
+ return (_glptr_LinkProgram) (GET_by_offset(disp, _gloffset_LinkProgram));
+}
+
+static INLINE void SET_LinkProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_LinkProgram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ShaderSource)(GLuint, GLsizei, const GLchar * const *, const GLint *);
+#define CALL_ShaderSource(disp, parameters) \
+ (* GET_ShaderSource(disp)) parameters
+static INLINE _glptr_ShaderSource GET_ShaderSource(struct _glapi_table *disp) {
+ return (_glptr_ShaderSource) (GET_by_offset(disp, _gloffset_ShaderSource));
+}
+
+static INLINE void SET_ShaderSource(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLchar * const *, const GLint *)) {
+ SET_by_offset(disp, _gloffset_ShaderSource, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate)(GLenum, GLenum, GLint, GLuint);
+#define CALL_StencilFuncSeparate(disp, parameters) \
+ (* GET_StencilFuncSeparate(disp)) parameters
+static INLINE _glptr_StencilFuncSeparate GET_StencilFuncSeparate(struct _glapi_table *disp) {
+ return (_glptr_StencilFuncSeparate) (GET_by_offset(disp, _gloffset_StencilFuncSeparate));
+}
+
+static INLINE void SET_StencilFuncSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
+ SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate)(GLenum, GLuint);
+#define CALL_StencilMaskSeparate(disp, parameters) \
+ (* GET_StencilMaskSeparate(disp)) parameters
+static INLINE _glptr_StencilMaskSeparate GET_StencilMaskSeparate(struct _glapi_table *disp) {
+ return (_glptr_StencilMaskSeparate) (GET_by_offset(disp, _gloffset_StencilMaskSeparate));
+}
+
+static INLINE void SET_StencilMaskSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilOpSeparate)(GLenum, GLenum, GLenum, GLenum);
+#define CALL_StencilOpSeparate(disp, parameters) \
+ (* GET_StencilOpSeparate(disp)) parameters
+static INLINE _glptr_StencilOpSeparate GET_StencilOpSeparate(struct _glapi_table *disp) {
+ return (_glptr_StencilOpSeparate) (GET_by_offset(disp, _gloffset_StencilOpSeparate));
+}
+
+static INLINE void SET_StencilOpSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_StencilOpSeparate, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1f)(GLint, GLfloat);
+#define CALL_Uniform1f(disp, parameters) \
+ (* GET_Uniform1f(disp)) parameters
+static INLINE _glptr_Uniform1f GET_Uniform1f(struct _glapi_table *disp) {
+ return (_glptr_Uniform1f) (GET_by_offset(disp, _gloffset_Uniform1f));
+}
+
+static INLINE void SET_Uniform1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Uniform1f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1fv)(GLint, GLsizei, const GLfloat *);
+#define CALL_Uniform1fv(disp, parameters) \
+ (* GET_Uniform1fv(disp)) parameters
+static INLINE _glptr_Uniform1fv GET_Uniform1fv(struct _glapi_table *disp) {
+ return (_glptr_Uniform1fv) (GET_by_offset(disp, _gloffset_Uniform1fv));
+}
+
+static INLINE void SET_Uniform1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Uniform1fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1i)(GLint, GLint);
+#define CALL_Uniform1i(disp, parameters) \
+ (* GET_Uniform1i(disp)) parameters
+static INLINE _glptr_Uniform1i GET_Uniform1i(struct _glapi_table *disp) {
+ return (_glptr_Uniform1i) (GET_by_offset(disp, _gloffset_Uniform1i));
+}
+
+static INLINE void SET_Uniform1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Uniform1i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1iv)(GLint, GLsizei, const GLint *);
+#define CALL_Uniform1iv(disp, parameters) \
+ (* GET_Uniform1iv(disp)) parameters
+static INLINE _glptr_Uniform1iv GET_Uniform1iv(struct _glapi_table *disp) {
+ return (_glptr_Uniform1iv) (GET_by_offset(disp, _gloffset_Uniform1iv));
+}
+
+static INLINE void SET_Uniform1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Uniform1iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2f)(GLint, GLfloat, GLfloat);
+#define CALL_Uniform2f(disp, parameters) \
+ (* GET_Uniform2f(disp)) parameters
+static INLINE _glptr_Uniform2f GET_Uniform2f(struct _glapi_table *disp) {
+ return (_glptr_Uniform2f) (GET_by_offset(disp, _gloffset_Uniform2f));
+}
+
+static INLINE void SET_Uniform2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Uniform2f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2fv)(GLint, GLsizei, const GLfloat *);
+#define CALL_Uniform2fv(disp, parameters) \
+ (* GET_Uniform2fv(disp)) parameters
+static INLINE _glptr_Uniform2fv GET_Uniform2fv(struct _glapi_table *disp) {
+ return (_glptr_Uniform2fv) (GET_by_offset(disp, _gloffset_Uniform2fv));
+}
+
+static INLINE void SET_Uniform2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Uniform2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2i)(GLint, GLint, GLint);
+#define CALL_Uniform2i(disp, parameters) \
+ (* GET_Uniform2i(disp)) parameters
+static INLINE _glptr_Uniform2i GET_Uniform2i(struct _glapi_table *disp) {
+ return (_glptr_Uniform2i) (GET_by_offset(disp, _gloffset_Uniform2i));
+}
+
+static INLINE void SET_Uniform2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Uniform2i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2iv)(GLint, GLsizei, const GLint *);
+#define CALL_Uniform2iv(disp, parameters) \
+ (* GET_Uniform2iv(disp)) parameters
+static INLINE _glptr_Uniform2iv GET_Uniform2iv(struct _glapi_table *disp) {
+ return (_glptr_Uniform2iv) (GET_by_offset(disp, _gloffset_Uniform2iv));
+}
+
+static INLINE void SET_Uniform2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Uniform2iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3f)(GLint, GLfloat, GLfloat, GLfloat);
+#define CALL_Uniform3f(disp, parameters) \
+ (* GET_Uniform3f(disp)) parameters
+static INLINE _glptr_Uniform3f GET_Uniform3f(struct _glapi_table *disp) {
+ return (_glptr_Uniform3f) (GET_by_offset(disp, _gloffset_Uniform3f));
+}
+
+static INLINE void SET_Uniform3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Uniform3f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3fv)(GLint, GLsizei, const GLfloat *);
+#define CALL_Uniform3fv(disp, parameters) \
+ (* GET_Uniform3fv(disp)) parameters
+static INLINE _glptr_Uniform3fv GET_Uniform3fv(struct _glapi_table *disp) {
+ return (_glptr_Uniform3fv) (GET_by_offset(disp, _gloffset_Uniform3fv));
+}
+
+static INLINE void SET_Uniform3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Uniform3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3i)(GLint, GLint, GLint, GLint);
+#define CALL_Uniform3i(disp, parameters) \
+ (* GET_Uniform3i(disp)) parameters
+static INLINE _glptr_Uniform3i GET_Uniform3i(struct _glapi_table *disp) {
+ return (_glptr_Uniform3i) (GET_by_offset(disp, _gloffset_Uniform3i));
+}
+
+static INLINE void SET_Uniform3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Uniform3i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3iv)(GLint, GLsizei, const GLint *);
+#define CALL_Uniform3iv(disp, parameters) \
+ (* GET_Uniform3iv(disp)) parameters
+static INLINE _glptr_Uniform3iv GET_Uniform3iv(struct _glapi_table *disp) {
+ return (_glptr_Uniform3iv) (GET_by_offset(disp, _gloffset_Uniform3iv));
+}
+
+static INLINE void SET_Uniform3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Uniform3iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4f)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Uniform4f(disp, parameters) \
+ (* GET_Uniform4f(disp)) parameters
+static INLINE _glptr_Uniform4f GET_Uniform4f(struct _glapi_table *disp) {
+ return (_glptr_Uniform4f) (GET_by_offset(disp, _gloffset_Uniform4f));
+}
+
+static INLINE void SET_Uniform4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Uniform4f, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4fv)(GLint, GLsizei, const GLfloat *);
+#define CALL_Uniform4fv(disp, parameters) \
+ (* GET_Uniform4fv(disp)) parameters
+static INLINE _glptr_Uniform4fv GET_Uniform4fv(struct _glapi_table *disp) {
+ return (_glptr_Uniform4fv) (GET_by_offset(disp, _gloffset_Uniform4fv));
+}
+
+static INLINE void SET_Uniform4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_Uniform4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4i)(GLint, GLint, GLint, GLint, GLint);
+#define CALL_Uniform4i(disp, parameters) \
+ (* GET_Uniform4i(disp)) parameters
+static INLINE _glptr_Uniform4i GET_Uniform4i(struct _glapi_table *disp) {
+ return (_glptr_Uniform4i) (GET_by_offset(disp, _gloffset_Uniform4i));
+}
+
+static INLINE void SET_Uniform4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_Uniform4i, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4iv)(GLint, GLsizei, const GLint *);
+#define CALL_Uniform4iv(disp, parameters) \
+ (* GET_Uniform4iv(disp)) parameters
+static INLINE _glptr_Uniform4iv GET_Uniform4iv(struct _glapi_table *disp) {
+ return (_glptr_Uniform4iv) (GET_by_offset(disp, _gloffset_Uniform4iv));
+}
+
+static INLINE void SET_Uniform4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
+ SET_by_offset(disp, _gloffset_Uniform4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix2fv(disp, parameters) \
+ (* GET_UniformMatrix2fv(disp)) parameters
+static INLINE _glptr_UniformMatrix2fv GET_UniformMatrix2fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix2fv) (GET_by_offset(disp, _gloffset_UniformMatrix2fv));
+}
+
+static INLINE void SET_UniformMatrix2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix3fv(disp, parameters) \
+ (* GET_UniformMatrix3fv(disp)) parameters
+static INLINE _glptr_UniformMatrix3fv GET_UniformMatrix3fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix3fv) (GET_by_offset(disp, _gloffset_UniformMatrix3fv));
+}
+
+static INLINE void SET_UniformMatrix3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix4fv(disp, parameters) \
+ (* GET_UniformMatrix4fv(disp)) parameters
+static INLINE _glptr_UniformMatrix4fv GET_UniformMatrix4fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix4fv) (GET_by_offset(disp, _gloffset_UniformMatrix4fv));
+}
+
+static INLINE void SET_UniformMatrix4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UseProgram)(GLuint);
+#define CALL_UseProgram(disp, parameters) \
+ (* GET_UseProgram(disp)) parameters
+static INLINE _glptr_UseProgram GET_UseProgram(struct _glapi_table *disp) {
+ return (_glptr_UseProgram) (GET_by_offset(disp, _gloffset_UseProgram));
+}
+
+static INLINE void SET_UseProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_UseProgram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ValidateProgram)(GLuint);
+#define CALL_ValidateProgram(disp, parameters) \
+ (* GET_ValidateProgram(disp)) parameters
+static INLINE _glptr_ValidateProgram GET_ValidateProgram(struct _glapi_table *disp) {
+ return (_glptr_ValidateProgram) (GET_by_offset(disp, _gloffset_ValidateProgram));
+}
+
+static INLINE void SET_ValidateProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_ValidateProgram, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1d)(GLuint, GLdouble);
+#define CALL_VertexAttrib1d(disp, parameters) \
+ (* GET_VertexAttrib1d(disp)) parameters
+static INLINE _glptr_VertexAttrib1d GET_VertexAttrib1d(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1d) (GET_by_offset(disp, _gloffset_VertexAttrib1d));
+}
+
+static INLINE void SET_VertexAttrib1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dv)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib1dv(disp, parameters) \
+ (* GET_VertexAttrib1dv(disp)) parameters
+static INLINE _glptr_VertexAttrib1dv GET_VertexAttrib1dv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1dv) (GET_by_offset(disp, _gloffset_VertexAttrib1dv));
+}
+
+static INLINE void SET_VertexAttrib1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1s)(GLuint, GLshort);
+#define CALL_VertexAttrib1s(disp, parameters) \
+ (* GET_VertexAttrib1s(disp)) parameters
+static INLINE _glptr_VertexAttrib1s GET_VertexAttrib1s(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1s) (GET_by_offset(disp, _gloffset_VertexAttrib1s));
+}
+
+static INLINE void SET_VertexAttrib1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1sv)(GLuint, const GLshort *);
+#define CALL_VertexAttrib1sv(disp, parameters) \
+ (* GET_VertexAttrib1sv(disp)) parameters
+static INLINE _glptr_VertexAttrib1sv GET_VertexAttrib1sv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1sv) (GET_by_offset(disp, _gloffset_VertexAttrib1sv));
+}
+
+static INLINE void SET_VertexAttrib1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2d)(GLuint, GLdouble, GLdouble);
+#define CALL_VertexAttrib2d(disp, parameters) \
+ (* GET_VertexAttrib2d(disp)) parameters
+static INLINE _glptr_VertexAttrib2d GET_VertexAttrib2d(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2d) (GET_by_offset(disp, _gloffset_VertexAttrib2d));
+}
+
+static INLINE void SET_VertexAttrib2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dv)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib2dv(disp, parameters) \
+ (* GET_VertexAttrib2dv(disp)) parameters
+static INLINE _glptr_VertexAttrib2dv GET_VertexAttrib2dv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2dv) (GET_by_offset(disp, _gloffset_VertexAttrib2dv));
+}
+
+static INLINE void SET_VertexAttrib2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2s)(GLuint, GLshort, GLshort);
+#define CALL_VertexAttrib2s(disp, parameters) \
+ (* GET_VertexAttrib2s(disp)) parameters
+static INLINE _glptr_VertexAttrib2s GET_VertexAttrib2s(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2s) (GET_by_offset(disp, _gloffset_VertexAttrib2s));
+}
+
+static INLINE void SET_VertexAttrib2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2sv)(GLuint, const GLshort *);
+#define CALL_VertexAttrib2sv(disp, parameters) \
+ (* GET_VertexAttrib2sv(disp)) parameters
+static INLINE _glptr_VertexAttrib2sv GET_VertexAttrib2sv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2sv) (GET_by_offset(disp, _gloffset_VertexAttrib2sv));
+}
+
+static INLINE void SET_VertexAttrib2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3d)(GLuint, GLdouble, GLdouble, GLdouble);
+#define CALL_VertexAttrib3d(disp, parameters) \
+ (* GET_VertexAttrib3d(disp)) parameters
+static INLINE _glptr_VertexAttrib3d GET_VertexAttrib3d(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3d) (GET_by_offset(disp, _gloffset_VertexAttrib3d));
+}
+
+static INLINE void SET_VertexAttrib3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dv)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib3dv(disp, parameters) \
+ (* GET_VertexAttrib3dv(disp)) parameters
+static INLINE _glptr_VertexAttrib3dv GET_VertexAttrib3dv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3dv) (GET_by_offset(disp, _gloffset_VertexAttrib3dv));
+}
+
+static INLINE void SET_VertexAttrib3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3s)(GLuint, GLshort, GLshort, GLshort);
+#define CALL_VertexAttrib3s(disp, parameters) \
+ (* GET_VertexAttrib3s(disp)) parameters
+static INLINE _glptr_VertexAttrib3s GET_VertexAttrib3s(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3s) (GET_by_offset(disp, _gloffset_VertexAttrib3s));
+}
+
+static INLINE void SET_VertexAttrib3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3sv)(GLuint, const GLshort *);
+#define CALL_VertexAttrib3sv(disp, parameters) \
+ (* GET_VertexAttrib3sv(disp)) parameters
+static INLINE _glptr_VertexAttrib3sv GET_VertexAttrib3sv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3sv) (GET_by_offset(disp, _gloffset_VertexAttrib3sv));
+}
+
+static INLINE void SET_VertexAttrib3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nbv)(GLuint, const GLbyte *);
+#define CALL_VertexAttrib4Nbv(disp, parameters) \
+ (* GET_VertexAttrib4Nbv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nbv GET_VertexAttrib4Nbv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nbv) (GET_by_offset(disp, _gloffset_VertexAttrib4Nbv));
+}
+
+static INLINE void SET_VertexAttrib4Nbv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nbv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Niv)(GLuint, const GLint *);
+#define CALL_VertexAttrib4Niv(disp, parameters) \
+ (* GET_VertexAttrib4Niv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Niv GET_VertexAttrib4Niv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Niv) (GET_by_offset(disp, _gloffset_VertexAttrib4Niv));
+}
+
+static INLINE void SET_VertexAttrib4Niv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Niv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nsv)(GLuint, const GLshort *);
+#define CALL_VertexAttrib4Nsv(disp, parameters) \
+ (* GET_VertexAttrib4Nsv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nsv GET_VertexAttrib4Nsv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nsv) (GET_by_offset(disp, _gloffset_VertexAttrib4Nsv));
+}
+
+static INLINE void SET_VertexAttrib4Nsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nsv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nub)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
+#define CALL_VertexAttrib4Nub(disp, parameters) \
+ (* GET_VertexAttrib4Nub(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nub GET_VertexAttrib4Nub(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nub) (GET_by_offset(disp, _gloffset_VertexAttrib4Nub));
+}
+
+static INLINE void SET_VertexAttrib4Nub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nub, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nubv)(GLuint, const GLubyte *);
+#define CALL_VertexAttrib4Nubv(disp, parameters) \
+ (* GET_VertexAttrib4Nubv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nubv GET_VertexAttrib4Nubv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nubv) (GET_by_offset(disp, _gloffset_VertexAttrib4Nubv));
+}
+
+static INLINE void SET_VertexAttrib4Nubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nuiv)(GLuint, const GLuint *);
+#define CALL_VertexAttrib4Nuiv(disp, parameters) \
+ (* GET_VertexAttrib4Nuiv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nuiv GET_VertexAttrib4Nuiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nuiv) (GET_by_offset(disp, _gloffset_VertexAttrib4Nuiv));
+}
+
+static INLINE void SET_VertexAttrib4Nuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4Nusv)(GLuint, const GLushort *);
+#define CALL_VertexAttrib4Nusv(disp, parameters) \
+ (* GET_VertexAttrib4Nusv(disp)) parameters
+static INLINE _glptr_VertexAttrib4Nusv GET_VertexAttrib4Nusv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4Nusv) (GET_by_offset(disp, _gloffset_VertexAttrib4Nusv));
+}
+
+static INLINE void SET_VertexAttrib4Nusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4Nusv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4bv)(GLuint, const GLbyte *);
+#define CALL_VertexAttrib4bv(disp, parameters) \
+ (* GET_VertexAttrib4bv(disp)) parameters
+static INLINE _glptr_VertexAttrib4bv GET_VertexAttrib4bv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4bv) (GET_by_offset(disp, _gloffset_VertexAttrib4bv));
+}
+
+static INLINE void SET_VertexAttrib4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4d)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_VertexAttrib4d(disp, parameters) \
+ (* GET_VertexAttrib4d(disp)) parameters
+static INLINE _glptr_VertexAttrib4d GET_VertexAttrib4d(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4d) (GET_by_offset(disp, _gloffset_VertexAttrib4d));
+}
+
+static INLINE void SET_VertexAttrib4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4d, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dv)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib4dv(disp, parameters) \
+ (* GET_VertexAttrib4dv(disp)) parameters
+static INLINE _glptr_VertexAttrib4dv GET_VertexAttrib4dv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4dv) (GET_by_offset(disp, _gloffset_VertexAttrib4dv));
+}
+
+static INLINE void SET_VertexAttrib4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4dv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4iv)(GLuint, const GLint *);
+#define CALL_VertexAttrib4iv(disp, parameters) \
+ (* GET_VertexAttrib4iv(disp)) parameters
+static INLINE _glptr_VertexAttrib4iv GET_VertexAttrib4iv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4iv) (GET_by_offset(disp, _gloffset_VertexAttrib4iv));
+}
+
+static INLINE void SET_VertexAttrib4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4s)(GLuint, GLshort, GLshort, GLshort, GLshort);
+#define CALL_VertexAttrib4s(disp, parameters) \
+ (* GET_VertexAttrib4s(disp)) parameters
+static INLINE _glptr_VertexAttrib4s GET_VertexAttrib4s(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4s) (GET_by_offset(disp, _gloffset_VertexAttrib4s));
+}
+
+static INLINE void SET_VertexAttrib4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4s, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4sv)(GLuint, const GLshort *);
+#define CALL_VertexAttrib4sv(disp, parameters) \
+ (* GET_VertexAttrib4sv(disp)) parameters
+static INLINE _glptr_VertexAttrib4sv GET_VertexAttrib4sv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4sv) (GET_by_offset(disp, _gloffset_VertexAttrib4sv));
+}
+
+static INLINE void SET_VertexAttrib4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubv)(GLuint, const GLubyte *);
+#define CALL_VertexAttrib4ubv(disp, parameters) \
+ (* GET_VertexAttrib4ubv(disp)) parameters
+static INLINE _glptr_VertexAttrib4ubv GET_VertexAttrib4ubv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4ubv) (GET_by_offset(disp, _gloffset_VertexAttrib4ubv));
+}
+
+static INLINE void SET_VertexAttrib4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4uiv)(GLuint, const GLuint *);
+#define CALL_VertexAttrib4uiv(disp, parameters) \
+ (* GET_VertexAttrib4uiv(disp)) parameters
+static INLINE _glptr_VertexAttrib4uiv GET_VertexAttrib4uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4uiv) (GET_by_offset(disp, _gloffset_VertexAttrib4uiv));
+}
+
+static INLINE void SET_VertexAttrib4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4usv)(GLuint, const GLushort *);
+#define CALL_VertexAttrib4usv(disp, parameters) \
+ (* GET_VertexAttrib4usv(disp)) parameters
+static INLINE _glptr_VertexAttrib4usv GET_VertexAttrib4usv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4usv) (GET_by_offset(disp, _gloffset_VertexAttrib4usv));
+}
+
+static INLINE void SET_VertexAttrib4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4usv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribPointer)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
+#define CALL_VertexAttribPointer(disp, parameters) \
+ (* GET_VertexAttribPointer(disp)) parameters
+static INLINE _glptr_VertexAttribPointer GET_VertexAttribPointer(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribPointer) (GET_by_offset(disp, _gloffset_VertexAttribPointer));
+}
+
+static INLINE void SET_VertexAttribPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix2x3fv(disp, parameters) \
+ (* GET_UniformMatrix2x3fv(disp)) parameters
+static INLINE _glptr_UniformMatrix2x3fv GET_UniformMatrix2x3fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix2x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x3fv));
+}
+
+static INLINE void SET_UniformMatrix2x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix2x4fv(disp, parameters) \
+ (* GET_UniformMatrix2x4fv(disp)) parameters
+static INLINE _glptr_UniformMatrix2x4fv GET_UniformMatrix2x4fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix2x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x4fv));
+}
+
+static INLINE void SET_UniformMatrix2x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix3x2fv(disp, parameters) \
+ (* GET_UniformMatrix3x2fv(disp)) parameters
+static INLINE _glptr_UniformMatrix3x2fv GET_UniformMatrix3x2fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix3x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x2fv));
+}
+
+static INLINE void SET_UniformMatrix3x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix3x4fv(disp, parameters) \
+ (* GET_UniformMatrix3x4fv(disp)) parameters
+static INLINE _glptr_UniformMatrix3x4fv GET_UniformMatrix3x4fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix3x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x4fv));
+}
+
+static INLINE void SET_UniformMatrix3x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix4x2fv(disp, parameters) \
+ (* GET_UniformMatrix4x2fv(disp)) parameters
+static INLINE _glptr_UniformMatrix4x2fv GET_UniformMatrix4x2fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix4x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x2fv));
+}
+
+static INLINE void SET_UniformMatrix4x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+#define CALL_UniformMatrix4x3fv(disp, parameters) \
+ (* GET_UniformMatrix4x3fv(disp)) parameters
+static INLINE _glptr_UniformMatrix4x3fv GET_UniformMatrix4x3fv(struct _glapi_table *disp) {
+ return (_glptr_UniformMatrix4x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x3fv));
+}
+
+static INLINE void SET_UniformMatrix4x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BeginConditionalRender)(GLuint, GLenum);
+#define CALL_BeginConditionalRender(disp, parameters) \
+ (* GET_BeginConditionalRender(disp)) parameters
+static INLINE _glptr_BeginConditionalRender GET_BeginConditionalRender(struct _glapi_table *disp) {
+ return (_glptr_BeginConditionalRender) (GET_by_offset(disp, _gloffset_BeginConditionalRender));
+}
+
+static INLINE void SET_BeginConditionalRender(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_BeginConditionalRender, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BeginTransformFeedback)(GLenum);
+#define CALL_BeginTransformFeedback(disp, parameters) \
+ (* GET_BeginTransformFeedback(disp)) parameters
+static INLINE _glptr_BeginTransformFeedback GET_BeginTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_BeginTransformFeedback) (GET_by_offset(disp, _gloffset_BeginTransformFeedback));
+}
+
+static INLINE void SET_BeginTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_BeginTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindBufferBase)(GLenum, GLuint, GLuint);
+#define CALL_BindBufferBase(disp, parameters) \
+ (* GET_BindBufferBase(disp)) parameters
+static INLINE _glptr_BindBufferBase GET_BindBufferBase(struct _glapi_table *disp) {
+ return (_glptr_BindBufferBase) (GET_by_offset(disp, _gloffset_BindBufferBase));
+}
+
+static INLINE void SET_BindBufferBase(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindBufferBase, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindBufferRange)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
+#define CALL_BindBufferRange(disp, parameters) \
+ (* GET_BindBufferRange(disp)) parameters
+static INLINE _glptr_BindBufferRange GET_BindBufferRange(struct _glapi_table *disp) {
+ return (_glptr_BindBufferRange) (GET_by_offset(disp, _gloffset_BindBufferRange));
+}
+
+static INLINE void SET_BindBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_BindBufferRange, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindFragDataLocation)(GLuint, GLuint, const GLchar *);
+#define CALL_BindFragDataLocation(disp, parameters) \
+ (* GET_BindFragDataLocation(disp)) parameters
+static INLINE _glptr_BindFragDataLocation GET_BindFragDataLocation(struct _glapi_table *disp) {
+ return (_glptr_BindFragDataLocation) (GET_by_offset(disp, _gloffset_BindFragDataLocation));
+}
+
+static INLINE void SET_BindFragDataLocation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_BindFragDataLocation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClampColor)(GLenum, GLenum);
+#define CALL_ClampColor(disp, parameters) \
+ (* GET_ClampColor(disp)) parameters
+static INLINE _glptr_ClampColor GET_ClampColor(struct _glapi_table *disp) {
+ return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor));
+}
+
+static INLINE void SET_ClampColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_ClampColor, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearBufferfi)(GLenum, GLint, GLfloat, GLint);
+#define CALL_ClearBufferfi(disp, parameters) \
+ (* GET_ClearBufferfi(disp)) parameters
+static INLINE _glptr_ClearBufferfi GET_ClearBufferfi(struct _glapi_table *disp) {
+ return (_glptr_ClearBufferfi) (GET_by_offset(disp, _gloffset_ClearBufferfi));
+}
+
+static INLINE void SET_ClearBufferfi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLfloat, GLint)) {
+ SET_by_offset(disp, _gloffset_ClearBufferfi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearBufferfv)(GLenum, GLint, const GLfloat *);
+#define CALL_ClearBufferfv(disp, parameters) \
+ (* GET_ClearBufferfv(disp)) parameters
+static INLINE _glptr_ClearBufferfv GET_ClearBufferfv(struct _glapi_table *disp) {
+ return (_glptr_ClearBufferfv) (GET_by_offset(disp, _gloffset_ClearBufferfv));
+}
+
+static INLINE void SET_ClearBufferfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ClearBufferfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearBufferiv)(GLenum, GLint, const GLint *);
+#define CALL_ClearBufferiv(disp, parameters) \
+ (* GET_ClearBufferiv(disp)) parameters
+static INLINE _glptr_ClearBufferiv GET_ClearBufferiv(struct _glapi_table *disp) {
+ return (_glptr_ClearBufferiv) (GET_by_offset(disp, _gloffset_ClearBufferiv));
+}
+
+static INLINE void SET_ClearBufferiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_ClearBufferiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearBufferuiv)(GLenum, GLint, const GLuint *);
+#define CALL_ClearBufferuiv(disp, parameters) \
+ (* GET_ClearBufferuiv(disp)) parameters
+static INLINE _glptr_ClearBufferuiv GET_ClearBufferuiv(struct _glapi_table *disp) {
+ return (_glptr_ClearBufferuiv) (GET_by_offset(disp, _gloffset_ClearBufferuiv));
+}
+
+static INLINE void SET_ClearBufferuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_ClearBufferuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorMaski)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
+#define CALL_ColorMaski(disp, parameters) \
+ (* GET_ColorMaski(disp)) parameters
+static INLINE _glptr_ColorMaski GET_ColorMaski(struct _glapi_table *disp) {
+ return (_glptr_ColorMaski) (GET_by_offset(disp, _gloffset_ColorMaski));
+}
+
+static INLINE void SET_ColorMaski(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean)) {
+ SET_by_offset(disp, _gloffset_ColorMaski, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Disablei)(GLenum, GLuint);
+#define CALL_Disablei(disp, parameters) \
+ (* GET_Disablei(disp)) parameters
+static INLINE _glptr_Disablei GET_Disablei(struct _glapi_table *disp) {
+ return (_glptr_Disablei) (GET_by_offset(disp, _gloffset_Disablei));
+}
+
+static INLINE void SET_Disablei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_Disablei, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Enablei)(GLenum, GLuint);
+#define CALL_Enablei(disp, parameters) \
+ (* GET_Enablei(disp)) parameters
+static INLINE _glptr_Enablei GET_Enablei(struct _glapi_table *disp) {
+ return (_glptr_Enablei) (GET_by_offset(disp, _gloffset_Enablei));
+}
+
+static INLINE void SET_Enablei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_Enablei, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndConditionalRender)(void);
+#define CALL_EndConditionalRender(disp, parameters) \
+ (* GET_EndConditionalRender(disp)) parameters
+static INLINE _glptr_EndConditionalRender GET_EndConditionalRender(struct _glapi_table *disp) {
+ return (_glptr_EndConditionalRender) (GET_by_offset(disp, _gloffset_EndConditionalRender));
+}
+
+static INLINE void SET_EndConditionalRender(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_EndConditionalRender, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndTransformFeedback)(void);
+#define CALL_EndTransformFeedback(disp, parameters) \
+ (* GET_EndTransformFeedback(disp)) parameters
+static INLINE _glptr_EndTransformFeedback GET_EndTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_EndTransformFeedback) (GET_by_offset(disp, _gloffset_EndTransformFeedback));
+}
+
+static INLINE void SET_EndTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_EndTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBooleani_v)(GLenum, GLuint, GLboolean *);
+#define CALL_GetBooleani_v(disp, parameters) \
+ (* GET_GetBooleani_v(disp)) parameters
+static INLINE _glptr_GetBooleani_v GET_GetBooleani_v(struct _glapi_table *disp) {
+ return (_glptr_GetBooleani_v) (GET_by_offset(disp, _gloffset_GetBooleani_v));
+}
+
+static INLINE void SET_GetBooleani_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLboolean *)) {
+ SET_by_offset(disp, _gloffset_GetBooleani_v, fn);
+}
+
+typedef GLint (GLAPIENTRYP _glptr_GetFragDataLocation)(GLuint, const GLchar *);
+#define CALL_GetFragDataLocation(disp, parameters) \
+ (* GET_GetFragDataLocation(disp)) parameters
+static INLINE _glptr_GetFragDataLocation GET_GetFragDataLocation(struct _glapi_table *disp) {
+ return (_glptr_GetFragDataLocation) (GET_by_offset(disp, _gloffset_GetFragDataLocation));
+}
+
+static INLINE void SET_GetFragDataLocation(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetFragDataLocation, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetIntegeri_v)(GLenum, GLuint, GLint *);
+#define CALL_GetIntegeri_v(disp, parameters) \
+ (* GET_GetIntegeri_v(disp)) parameters
+static INLINE _glptr_GetIntegeri_v GET_GetIntegeri_v(struct _glapi_table *disp) {
+ return (_glptr_GetIntegeri_v) (GET_by_offset(disp, _gloffset_GetIntegeri_v));
+}
+
+static INLINE void SET_GetIntegeri_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetIntegeri_v, fn);
+}
+
+typedef const GLubyte * (GLAPIENTRYP _glptr_GetStringi)(GLenum, GLuint);
+#define CALL_GetStringi(disp, parameters) \
+ (* GET_GetStringi(disp)) parameters
+static INLINE _glptr_GetStringi GET_GetStringi(struct _glapi_table *disp) {
+ return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi));
+}
+
+static INLINE void SET_GetStringi(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_GetStringi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexParameterIiv)(GLenum, GLenum, GLint *);
+#define CALL_GetTexParameterIiv(disp, parameters) \
+ (* GET_GetTexParameterIiv(disp)) parameters
+static INLINE _glptr_GetTexParameterIiv GET_GetTexParameterIiv(struct _glapi_table *disp) {
+ return (_glptr_GetTexParameterIiv) (GET_by_offset(disp, _gloffset_GetTexParameterIiv));
+}
+
+static INLINE void SET_GetTexParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexParameterIiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexParameterIuiv)(GLenum, GLenum, GLuint *);
+#define CALL_GetTexParameterIuiv(disp, parameters) \
+ (* GET_GetTexParameterIuiv(disp)) parameters
+static INLINE _glptr_GetTexParameterIuiv GET_GetTexParameterIuiv(struct _glapi_table *disp) {
+ return (_glptr_GetTexParameterIuiv) (GET_by_offset(disp, _gloffset_GetTexParameterIuiv));
+}
+
+static INLINE void SET_GetTexParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetTexParameterIuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVarying)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
+#define CALL_GetTransformFeedbackVarying(disp, parameters) \
+ (* GET_GetTransformFeedbackVarying(disp)) parameters
+static INLINE _glptr_GetTransformFeedbackVarying GET_GetTransformFeedbackVarying(struct _glapi_table *disp) {
+ return (_glptr_GetTransformFeedbackVarying) (GET_by_offset(disp, _gloffset_GetTransformFeedbackVarying));
+}
+
+static INLINE void SET_GetTransformFeedbackVarying(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetTransformFeedbackVarying, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetUniformuiv)(GLuint, GLint, GLuint *);
+#define CALL_GetUniformuiv(disp, parameters) \
+ (* GET_GetUniformuiv(disp)) parameters
+static INLINE _glptr_GetUniformuiv GET_GetUniformuiv(struct _glapi_table *disp) {
+ return (_glptr_GetUniformuiv) (GET_by_offset(disp, _gloffset_GetUniformuiv));
+}
+
+static INLINE void SET_GetUniformuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetUniformuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribIiv)(GLuint, GLenum, GLint *);
+#define CALL_GetVertexAttribIiv(disp, parameters) \
+ (* GET_GetVertexAttribIiv(disp)) parameters
+static INLINE _glptr_GetVertexAttribIiv GET_GetVertexAttribIiv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribIiv) (GET_by_offset(disp, _gloffset_GetVertexAttribIiv));
+}
+
+static INLINE void SET_GetVertexAttribIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribIiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuiv)(GLuint, GLenum, GLuint *);
+#define CALL_GetVertexAttribIuiv(disp, parameters) \
+ (* GET_GetVertexAttribIuiv(disp)) parameters
+static INLINE _glptr_GetVertexAttribIuiv GET_GetVertexAttribIuiv(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribIuiv) (GET_by_offset(disp, _gloffset_GetVertexAttribIuiv));
+}
+
+static INLINE void SET_GetVertexAttribIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribIuiv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsEnabledi)(GLenum, GLuint);
+#define CALL_IsEnabledi(disp, parameters) \
+ (* GET_IsEnabledi(disp)) parameters
+static INLINE _glptr_IsEnabledi GET_IsEnabledi(struct _glapi_table *disp) {
+ return (_glptr_IsEnabledi) (GET_by_offset(disp, _gloffset_IsEnabledi));
+}
+
+static INLINE void SET_IsEnabledi(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_IsEnabledi, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterIiv)(GLenum, GLenum, const GLint *);
+#define CALL_TexParameterIiv(disp, parameters) \
+ (* GET_TexParameterIiv(disp)) parameters
+static INLINE _glptr_TexParameterIiv GET_TexParameterIiv(struct _glapi_table *disp) {
+ return (_glptr_TexParameterIiv) (GET_by_offset(disp, _gloffset_TexParameterIiv));
+}
+
+static INLINE void SET_TexParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexParameterIiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterIuiv)(GLenum, GLenum, const GLuint *);
+#define CALL_TexParameterIuiv(disp, parameters) \
+ (* GET_TexParameterIuiv(disp)) parameters
+static INLINE _glptr_TexParameterIuiv GET_TexParameterIuiv(struct _glapi_table *disp) {
+ return (_glptr_TexParameterIuiv) (GET_by_offset(disp, _gloffset_TexParameterIuiv));
+}
+
+static INLINE void SET_TexParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_TexParameterIuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryings)(GLuint, GLsizei, const GLchar * const *, GLenum);
+#define CALL_TransformFeedbackVaryings(disp, parameters) \
+ (* GET_TransformFeedbackVaryings(disp)) parameters
+static INLINE _glptr_TransformFeedbackVaryings GET_TransformFeedbackVaryings(struct _glapi_table *disp) {
+ return (_glptr_TransformFeedbackVaryings) (GET_by_offset(disp, _gloffset_TransformFeedbackVaryings));
+}
+
+static INLINE void SET_TransformFeedbackVaryings(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLchar * const *, GLenum)) {
+ SET_by_offset(disp, _gloffset_TransformFeedbackVaryings, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1ui)(GLint, GLuint);
+#define CALL_Uniform1ui(disp, parameters) \
+ (* GET_Uniform1ui(disp)) parameters
+static INLINE _glptr_Uniform1ui GET_Uniform1ui(struct _glapi_table *disp) {
+ return (_glptr_Uniform1ui) (GET_by_offset(disp, _gloffset_Uniform1ui));
+}
+
+static INLINE void SET_Uniform1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Uniform1ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform1uiv)(GLint, GLsizei, const GLuint *);
+#define CALL_Uniform1uiv(disp, parameters) \
+ (* GET_Uniform1uiv(disp)) parameters
+static INLINE _glptr_Uniform1uiv GET_Uniform1uiv(struct _glapi_table *disp) {
+ return (_glptr_Uniform1uiv) (GET_by_offset(disp, _gloffset_Uniform1uiv));
+}
+
+static INLINE void SET_Uniform1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Uniform1uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2ui)(GLint, GLuint, GLuint);
+#define CALL_Uniform2ui(disp, parameters) \
+ (* GET_Uniform2ui(disp)) parameters
+static INLINE _glptr_Uniform2ui GET_Uniform2ui(struct _glapi_table *disp) {
+ return (_glptr_Uniform2ui) (GET_by_offset(disp, _gloffset_Uniform2ui));
+}
+
+static INLINE void SET_Uniform2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Uniform2ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform2uiv)(GLint, GLsizei, const GLuint *);
+#define CALL_Uniform2uiv(disp, parameters) \
+ (* GET_Uniform2uiv(disp)) parameters
+static INLINE _glptr_Uniform2uiv GET_Uniform2uiv(struct _glapi_table *disp) {
+ return (_glptr_Uniform2uiv) (GET_by_offset(disp, _gloffset_Uniform2uiv));
+}
+
+static INLINE void SET_Uniform2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Uniform2uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3ui)(GLint, GLuint, GLuint, GLuint);
+#define CALL_Uniform3ui(disp, parameters) \
+ (* GET_Uniform3ui(disp)) parameters
+static INLINE _glptr_Uniform3ui GET_Uniform3ui(struct _glapi_table *disp) {
+ return (_glptr_Uniform3ui) (GET_by_offset(disp, _gloffset_Uniform3ui));
+}
+
+static INLINE void SET_Uniform3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Uniform3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform3uiv)(GLint, GLsizei, const GLuint *);
+#define CALL_Uniform3uiv(disp, parameters) \
+ (* GET_Uniform3uiv(disp)) parameters
+static INLINE _glptr_Uniform3uiv GET_Uniform3uiv(struct _glapi_table *disp) {
+ return (_glptr_Uniform3uiv) (GET_by_offset(disp, _gloffset_Uniform3uiv));
+}
+
+static INLINE void SET_Uniform3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Uniform3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4ui)(GLint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_Uniform4ui(disp, parameters) \
+ (* GET_Uniform4ui(disp)) parameters
+static INLINE _glptr_Uniform4ui GET_Uniform4ui(struct _glapi_table *disp) {
+ return (_glptr_Uniform4ui) (GET_by_offset(disp, _gloffset_Uniform4ui));
+}
+
+static INLINE void SET_Uniform4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_Uniform4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Uniform4uiv)(GLint, GLsizei, const GLuint *);
+#define CALL_Uniform4uiv(disp, parameters) \
+ (* GET_Uniform4uiv(disp)) parameters
+static INLINE _glptr_Uniform4uiv GET_Uniform4uiv(struct _glapi_table *disp) {
+ return (_glptr_Uniform4uiv) (GET_by_offset(disp, _gloffset_Uniform4uiv));
+}
+
+static INLINE void SET_Uniform4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_Uniform4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1iv)(GLuint, const GLint *);
+#define CALL_VertexAttribI1iv(disp, parameters) \
+ (* GET_VertexAttribI1iv(disp)) parameters
+static INLINE _glptr_VertexAttribI1iv GET_VertexAttribI1iv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI1iv) (GET_by_offset(disp, _gloffset_VertexAttribI1iv));
+}
+
+static INLINE void SET_VertexAttribI1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI1iv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiv)(GLuint, const GLuint *);
+#define CALL_VertexAttribI1uiv(disp, parameters) \
+ (* GET_VertexAttribI1uiv(disp)) parameters
+static INLINE _glptr_VertexAttribI1uiv GET_VertexAttribI1uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI1uiv) (GET_by_offset(disp, _gloffset_VertexAttribI1uiv));
+}
+
+static INLINE void SET_VertexAttribI1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI1uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4bv)(GLuint, const GLbyte *);
+#define CALL_VertexAttribI4bv(disp, parameters) \
+ (* GET_VertexAttribI4bv(disp)) parameters
+static INLINE _glptr_VertexAttribI4bv GET_VertexAttribI4bv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4bv) (GET_by_offset(disp, _gloffset_VertexAttribI4bv));
+}
+
+static INLINE void SET_VertexAttribI4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4bv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4sv)(GLuint, const GLshort *);
+#define CALL_VertexAttribI4sv(disp, parameters) \
+ (* GET_VertexAttribI4sv(disp)) parameters
+static INLINE _glptr_VertexAttribI4sv GET_VertexAttribI4sv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4sv) (GET_by_offset(disp, _gloffset_VertexAttribI4sv));
+}
+
+static INLINE void SET_VertexAttribI4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4sv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubv)(GLuint, const GLubyte *);
+#define CALL_VertexAttribI4ubv(disp, parameters) \
+ (* GET_VertexAttribI4ubv(disp)) parameters
+static INLINE _glptr_VertexAttribI4ubv GET_VertexAttribI4ubv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4ubv) (GET_by_offset(disp, _gloffset_VertexAttribI4ubv));
+}
+
+static INLINE void SET_VertexAttribI4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4ubv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4usv)(GLuint, const GLushort *);
+#define CALL_VertexAttribI4usv(disp, parameters) \
+ (* GET_VertexAttribI4usv(disp)) parameters
+static INLINE _glptr_VertexAttribI4usv GET_VertexAttribI4usv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4usv) (GET_by_offset(disp, _gloffset_VertexAttribI4usv));
+}
+
+static INLINE void SET_VertexAttribI4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4usv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribIPointer)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_VertexAttribIPointer(disp, parameters) \
+ (* GET_VertexAttribIPointer(disp)) parameters
+static INLINE _glptr_VertexAttribIPointer GET_VertexAttribIPointer(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribIPointer) (GET_by_offset(disp, _gloffset_VertexAttribIPointer));
+}
+
+static INLINE void SET_VertexAttribIPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribIPointer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndex)(GLuint);
+#define CALL_PrimitiveRestartIndex(disp, parameters) \
+ (* GET_PrimitiveRestartIndex(disp)) parameters
+static INLINE _glptr_PrimitiveRestartIndex GET_PrimitiveRestartIndex(struct _glapi_table *disp) {
+ return (_glptr_PrimitiveRestartIndex) (GET_by_offset(disp, _gloffset_PrimitiveRestartIndex));
+}
+
+static INLINE void SET_PrimitiveRestartIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_PrimitiveRestartIndex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexBuffer)(GLenum, GLenum, GLuint);
+#define CALL_TexBuffer(disp, parameters) \
+ (* GET_TexBuffer(disp)) parameters
+static INLINE _glptr_TexBuffer GET_TexBuffer(struct _glapi_table *disp) {
+ return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer));
+}
+
+static INLINE void SET_TexBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_TexBuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture)(GLenum, GLenum, GLuint, GLint);
+#define CALL_FramebufferTexture(disp, parameters) \
+ (* GET_FramebufferTexture(disp)) parameters
+static INLINE _glptr_FramebufferTexture GET_FramebufferTexture(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTexture) (GET_by_offset(disp, _gloffset_FramebufferTexture));
+}
+
+static INLINE void SET_FramebufferTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) {
+ SET_by_offset(disp, _gloffset_FramebufferTexture, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v)(GLenum, GLenum, GLint64 *);
+#define CALL_GetBufferParameteri64v(disp, parameters) \
+ (* GET_GetBufferParameteri64v(disp)) parameters
+static INLINE _glptr_GetBufferParameteri64v GET_GetBufferParameteri64v(struct _glapi_table *disp) {
+ return (_glptr_GetBufferParameteri64v) (GET_by_offset(disp, _gloffset_GetBufferParameteri64v));
+}
+
+static INLINE void SET_GetBufferParameteri64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint64 *)) {
+ SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetInteger64i_v)(GLenum, GLuint, GLint64 *);
+#define CALL_GetInteger64i_v(disp, parameters) \
+ (* GET_GetInteger64i_v(disp)) parameters
+static INLINE _glptr_GetInteger64i_v GET_GetInteger64i_v(struct _glapi_table *disp) {
+ return (_glptr_GetInteger64i_v) (GET_by_offset(disp, _gloffset_GetInteger64i_v));
+}
+
+static INLINE void SET_GetInteger64i_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint64 *)) {
+ SET_by_offset(disp, _gloffset_GetInteger64i_v, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor)(GLuint, GLuint);
+#define CALL_VertexAttribDivisor(disp, parameters) \
+ (* GET_VertexAttribDivisor(disp)) parameters
+static INLINE _glptr_VertexAttribDivisor GET_VertexAttribDivisor(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribDivisor) (GET_by_offset(disp, _gloffset_VertexAttribDivisor));
+}
+
+static INLINE void SET_VertexAttribDivisor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindProgramARB)(GLenum, GLuint);
+#define CALL_BindProgramARB(disp, parameters) \
+ (* GET_BindProgramARB(disp)) parameters
+static INLINE _glptr_BindProgramARB GET_BindProgramARB(struct _glapi_table *disp) {
+ return (_glptr_BindProgramARB) (GET_by_offset(disp, _gloffset_BindProgramARB));
+}
+
+static INLINE void SET_BindProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindProgramARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteProgramsARB)(GLsizei, const GLuint *);
+#define CALL_DeleteProgramsARB(disp, parameters) \
+ (* GET_DeleteProgramsARB(disp)) parameters
+static INLINE _glptr_DeleteProgramsARB GET_DeleteProgramsARB(struct _glapi_table *disp) {
+ return (_glptr_DeleteProgramsARB) (GET_by_offset(disp, _gloffset_DeleteProgramsARB));
+}
+
+static INLINE void SET_DeleteProgramsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteProgramsARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenProgramsARB)(GLsizei, GLuint *);
+#define CALL_GenProgramsARB(disp, parameters) \
+ (* GET_GenProgramsARB(disp)) parameters
+static INLINE _glptr_GenProgramsARB GET_GenProgramsARB(struct _glapi_table *disp) {
+ return (_glptr_GenProgramsARB) (GET_by_offset(disp, _gloffset_GenProgramsARB));
+}
+
+static INLINE void SET_GenProgramsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenProgramsARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB)(GLenum, GLuint, GLdouble *);
+#define CALL_GetProgramEnvParameterdvARB(disp, parameters) \
+ (* GET_GetProgramEnvParameterdvARB(disp)) parameters
+static INLINE _glptr_GetProgramEnvParameterdvARB GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB));
+}
+
+static INLINE void SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB)(GLenum, GLuint, GLfloat *);
+#define CALL_GetProgramEnvParameterfvARB(disp, parameters) \
+ (* GET_GetProgramEnvParameterfvARB(disp)) parameters
+static INLINE _glptr_GetProgramEnvParameterfvARB GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB));
+}
+
+static INLINE void SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB)(GLenum, GLuint, GLdouble *);
+#define CALL_GetProgramLocalParameterdvARB(disp, parameters) \
+ (* GET_GetProgramLocalParameterdvARB(disp)) parameters
+static INLINE _glptr_GetProgramLocalParameterdvARB GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB));
+}
+
+static INLINE void SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB)(GLenum, GLuint, GLfloat *);
+#define CALL_GetProgramLocalParameterfvARB(disp, parameters) \
+ (* GET_GetProgramLocalParameterfvARB(disp)) parameters
+static INLINE _glptr_GetProgramLocalParameterfvARB GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB));
+}
+
+static INLINE void SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramStringARB)(GLenum, GLenum, GLvoid *);
+#define CALL_GetProgramStringARB(disp, parameters) \
+ (* GET_GetProgramStringARB(disp)) parameters
+static INLINE _glptr_GetProgramStringARB GET_GetProgramStringARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramStringARB) (GET_by_offset(disp, _gloffset_GetProgramStringARB));
+}
+
+static INLINE void SET_GetProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetProgramStringARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramivARB)(GLenum, GLenum, GLint *);
+#define CALL_GetProgramivARB(disp, parameters) \
+ (* GET_GetProgramivARB(disp)) parameters
+static INLINE _glptr_GetProgramivARB GET_GetProgramivARB(struct _glapi_table *disp) {
+ return (_glptr_GetProgramivARB) (GET_by_offset(disp, _gloffset_GetProgramivARB));
+}
+
+static INLINE void SET_GetProgramivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetProgramivARB, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsProgramARB)(GLuint);
+#define CALL_IsProgramARB(disp, parameters) \
+ (* GET_IsProgramARB(disp)) parameters
+static INLINE _glptr_IsProgramARB GET_IsProgramARB(struct _glapi_table *disp) {
+ return (_glptr_IsProgramARB) (GET_by_offset(disp, _gloffset_IsProgramARB));
+}
+
+static INLINE void SET_IsProgramARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsProgramARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_ProgramEnvParameter4dARB(disp, parameters) \
+ (* GET_ProgramEnvParameter4dARB(disp)) parameters
+static INLINE _glptr_ProgramEnvParameter4dARB GET_ProgramEnvParameter4dARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB));
+}
+
+static INLINE void SET_ProgramEnvParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB)(GLenum, GLuint, const GLdouble *);
+#define CALL_ProgramEnvParameter4dvARB(disp, parameters) \
+ (* GET_ProgramEnvParameter4dvARB(disp)) parameters
+static INLINE _glptr_ProgramEnvParameter4dvARB GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB));
+}
+
+static INLINE void SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_ProgramEnvParameter4fARB(disp, parameters) \
+ (* GET_ProgramEnvParameter4fARB(disp)) parameters
+static INLINE _glptr_ProgramEnvParameter4fARB GET_ProgramEnvParameter4fARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB));
+}
+
+static INLINE void SET_ProgramEnvParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB)(GLenum, GLuint, const GLfloat *);
+#define CALL_ProgramEnvParameter4fvARB(disp, parameters) \
+ (* GET_ProgramEnvParameter4fvARB(disp)) parameters
+static INLINE _glptr_ProgramEnvParameter4fvARB GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB));
+}
+
+static INLINE void SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_ProgramLocalParameter4dARB(disp, parameters) \
+ (* GET_ProgramLocalParameter4dARB(disp)) parameters
+static INLINE _glptr_ProgramLocalParameter4dARB GET_ProgramLocalParameter4dARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB));
+}
+
+static INLINE void SET_ProgramLocalParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB)(GLenum, GLuint, const GLdouble *);
+#define CALL_ProgramLocalParameter4dvARB(disp, parameters) \
+ (* GET_ProgramLocalParameter4dvARB(disp)) parameters
+static INLINE _glptr_ProgramLocalParameter4dvARB GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB));
+}
+
+static INLINE void SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_ProgramLocalParameter4fARB(disp, parameters) \
+ (* GET_ProgramLocalParameter4fARB(disp)) parameters
+static INLINE _glptr_ProgramLocalParameter4fARB GET_ProgramLocalParameter4fARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB));
+}
+
+static INLINE void SET_ProgramLocalParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *);
+#define CALL_ProgramLocalParameter4fvARB(disp, parameters) \
+ (* GET_ProgramLocalParameter4fvARB(disp)) parameters
+static INLINE _glptr_ProgramLocalParameter4fvARB GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB));
+}
+
+static INLINE void SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *);
+#define CALL_ProgramStringARB(disp, parameters) \
+ (* GET_ProgramStringARB(disp)) parameters
+static INLINE _glptr_ProgramStringARB GET_ProgramStringARB(struct _glapi_table *disp) {
+ return (_glptr_ProgramStringARB) (GET_by_offset(disp, _gloffset_ProgramStringARB));
+}
+
+static INLINE void SET_ProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ProgramStringARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB)(GLuint, GLfloat);
+#define CALL_VertexAttrib1fARB(disp, parameters) \
+ (* GET_VertexAttrib1fARB(disp)) parameters
+static INLINE _glptr_VertexAttrib1fARB GET_VertexAttrib1fARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1fARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fARB));
+}
+
+static INLINE void SET_VertexAttrib1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib1fvARB(disp, parameters) \
+ (* GET_VertexAttrib1fvARB(disp)) parameters
+static INLINE _glptr_VertexAttrib1fvARB GET_VertexAttrib1fvARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fvARB));
+}
+
+static INLINE void SET_VertexAttrib1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB)(GLuint, GLfloat, GLfloat);
+#define CALL_VertexAttrib2fARB(disp, parameters) \
+ (* GET_VertexAttrib2fARB(disp)) parameters
+static INLINE _glptr_VertexAttrib2fARB GET_VertexAttrib2fARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2fARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fARB));
+}
+
+static INLINE void SET_VertexAttrib2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib2fvARB(disp, parameters) \
+ (* GET_VertexAttrib2fvARB(disp)) parameters
+static INLINE _glptr_VertexAttrib2fvARB GET_VertexAttrib2fvARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fvARB));
+}
+
+static INLINE void SET_VertexAttrib2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB)(GLuint, GLfloat, GLfloat, GLfloat);
+#define CALL_VertexAttrib3fARB(disp, parameters) \
+ (* GET_VertexAttrib3fARB(disp)) parameters
+static INLINE _glptr_VertexAttrib3fARB GET_VertexAttrib3fARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3fARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fARB));
+}
+
+static INLINE void SET_VertexAttrib3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib3fvARB(disp, parameters) \
+ (* GET_VertexAttrib3fvARB(disp)) parameters
+static INLINE _glptr_VertexAttrib3fvARB GET_VertexAttrib3fvARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fvARB));
+}
+
+static INLINE void SET_VertexAttrib3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_VertexAttrib4fARB(disp, parameters) \
+ (* GET_VertexAttrib4fARB(disp)) parameters
+static INLINE _glptr_VertexAttrib4fARB GET_VertexAttrib4fARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4fARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fARB));
+}
+
+static INLINE void SET_VertexAttrib4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib4fvARB(disp, parameters) \
+ (* GET_VertexAttrib4fvARB(disp)) parameters
+static INLINE _glptr_VertexAttrib4fvARB GET_VertexAttrib4fvARB(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fvARB));
+}
+
+static INLINE void SET_VertexAttrib4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AttachObjectARB)(GLhandleARB, GLhandleARB);
+#define CALL_AttachObjectARB(disp, parameters) \
+ (* GET_AttachObjectARB(disp)) parameters
+static INLINE _glptr_AttachObjectARB GET_AttachObjectARB(struct _glapi_table *disp) {
+ return (_glptr_AttachObjectARB) (GET_by_offset(disp, _gloffset_AttachObjectARB));
+}
+
+static INLINE void SET_AttachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
+ SET_by_offset(disp, _gloffset_AttachObjectARB, fn);
+}
+
+typedef GLhandleARB (GLAPIENTRYP _glptr_CreateProgramObjectARB)(void);
+#define CALL_CreateProgramObjectARB(disp, parameters) \
+ (* GET_CreateProgramObjectARB(disp)) parameters
+static INLINE _glptr_CreateProgramObjectARB GET_CreateProgramObjectARB(struct _glapi_table *disp) {
+ return (_glptr_CreateProgramObjectARB) (GET_by_offset(disp, _gloffset_CreateProgramObjectARB));
+}
+
+static INLINE void SET_CreateProgramObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn);
+}
+
+typedef GLhandleARB (GLAPIENTRYP _glptr_CreateShaderObjectARB)(GLenum);
+#define CALL_CreateShaderObjectARB(disp, parameters) \
+ (* GET_CreateShaderObjectARB(disp)) parameters
+static INLINE _glptr_CreateShaderObjectARB GET_CreateShaderObjectARB(struct _glapi_table *disp) {
+ return (_glptr_CreateShaderObjectARB) (GET_by_offset(disp, _gloffset_CreateShaderObjectARB));
+}
+
+static INLINE void SET_CreateShaderObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteObjectARB)(GLhandleARB);
+#define CALL_DeleteObjectARB(disp, parameters) \
+ (* GET_DeleteObjectARB(disp)) parameters
+static INLINE _glptr_DeleteObjectARB GET_DeleteObjectARB(struct _glapi_table *disp) {
+ return (_glptr_DeleteObjectARB) (GET_by_offset(disp, _gloffset_DeleteObjectARB));
+}
+
+static INLINE void SET_DeleteObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
+ SET_by_offset(disp, _gloffset_DeleteObjectARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DetachObjectARB)(GLhandleARB, GLhandleARB);
+#define CALL_DetachObjectARB(disp, parameters) \
+ (* GET_DetachObjectARB(disp)) parameters
+static INLINE _glptr_DetachObjectARB GET_DetachObjectARB(struct _glapi_table *disp) {
+ return (_glptr_DetachObjectARB) (GET_by_offset(disp, _gloffset_DetachObjectARB));
+}
+
+static INLINE void SET_DetachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
+ SET_by_offset(disp, _gloffset_DetachObjectARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
+#define CALL_GetAttachedObjectsARB(disp, parameters) \
+ (* GET_GetAttachedObjectsARB(disp)) parameters
+static INLINE _glptr_GetAttachedObjectsARB GET_GetAttachedObjectsARB(struct _glapi_table *disp) {
+ return (_glptr_GetAttachedObjectsARB) (GET_by_offset(disp, _gloffset_GetAttachedObjectsARB));
+}
+
+static INLINE void SET_GetAttachedObjectsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *)) {
+ SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn);
+}
+
+typedef GLhandleARB (GLAPIENTRYP _glptr_GetHandleARB)(GLenum);
+#define CALL_GetHandleARB(disp, parameters) \
+ (* GET_GetHandleARB(disp)) parameters
+static INLINE _glptr_GetHandleARB GET_GetHandleARB(struct _glapi_table *disp) {
+ return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB));
+}
+
+static INLINE void SET_GetHandleARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_GetHandleARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetInfoLogARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
+#define CALL_GetInfoLogARB(disp, parameters) \
+ (* GET_GetInfoLogARB(disp)) parameters
+static INLINE _glptr_GetInfoLogARB GET_GetInfoLogARB(struct _glapi_table *disp) {
+ return (_glptr_GetInfoLogARB) (GET_by_offset(disp, _gloffset_GetInfoLogARB));
+}
+
+static INLINE void SET_GetInfoLogARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) {
+ SET_by_offset(disp, _gloffset_GetInfoLogARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB)(GLhandleARB, GLenum, GLfloat *);
+#define CALL_GetObjectParameterfvARB(disp, parameters) \
+ (* GET_GetObjectParameterfvARB(disp)) parameters
+static INLINE _glptr_GetObjectParameterfvARB GET_GetObjectParameterfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetObjectParameterfvARB) (GET_by_offset(disp, _gloffset_GetObjectParameterfvARB));
+}
+
+static INLINE void SET_GetObjectParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB)(GLhandleARB, GLenum, GLint *);
+#define CALL_GetObjectParameterivARB(disp, parameters) \
+ (* GET_GetObjectParameterivARB(disp)) parameters
+static INLINE _glptr_GetObjectParameterivARB GET_GetObjectParameterivARB(struct _glapi_table *disp) {
+ return (_glptr_GetObjectParameterivARB) (GET_by_offset(disp, _gloffset_GetObjectParameterivARB));
+}
+
+static INLINE void SET_GetObjectParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB)(GLenum, GLint, GLsizei, GLsizei);
+#define CALL_DrawArraysInstancedARB(disp, parameters) \
+ (* GET_DrawArraysInstancedARB(disp)) parameters
+static INLINE _glptr_DrawArraysInstancedARB GET_DrawArraysInstancedARB(struct _glapi_table *disp) {
+ return (_glptr_DrawArraysInstancedARB) (GET_by_offset(disp, _gloffset_DrawArraysInstancedARB));
+}
+
+static INLINE void SET_DrawArraysInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
+#define CALL_DrawElementsInstancedARB(disp, parameters) \
+ (* GET_DrawElementsInstancedARB(disp)) parameters
+static INLINE _glptr_DrawElementsInstancedARB GET_DrawElementsInstancedARB(struct _glapi_table *disp) {
+ return (_glptr_DrawElementsInstancedARB) (GET_by_offset(disp, _gloffset_DrawElementsInstancedARB));
+}
+
+static INLINE void SET_DrawElementsInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindFramebuffer)(GLenum, GLuint);
+#define CALL_BindFramebuffer(disp, parameters) \
+ (* GET_BindFramebuffer(disp)) parameters
+static INLINE _glptr_BindFramebuffer GET_BindFramebuffer(struct _glapi_table *disp) {
+ return (_glptr_BindFramebuffer) (GET_by_offset(disp, _gloffset_BindFramebuffer));
+}
+
+static INLINE void SET_BindFramebuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindFramebuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindRenderbuffer)(GLenum, GLuint);
+#define CALL_BindRenderbuffer(disp, parameters) \
+ (* GET_BindRenderbuffer(disp)) parameters
+static INLINE _glptr_BindRenderbuffer GET_BindRenderbuffer(struct _glapi_table *disp) {
+ return (_glptr_BindRenderbuffer) (GET_by_offset(disp, _gloffset_BindRenderbuffer));
+}
+
+static INLINE void SET_BindRenderbuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindRenderbuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlitFramebuffer)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
+#define CALL_BlitFramebuffer(disp, parameters) \
+ (* GET_BlitFramebuffer(disp)) parameters
+static INLINE _glptr_BlitFramebuffer GET_BlitFramebuffer(struct _glapi_table *disp) {
+ return (_glptr_BlitFramebuffer) (GET_by_offset(disp, _gloffset_BlitFramebuffer));
+}
+
+static INLINE void SET_BlitFramebuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlitFramebuffer, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatus)(GLenum);
+#define CALL_CheckFramebufferStatus(disp, parameters) \
+ (* GET_CheckFramebufferStatus(disp)) parameters
+static INLINE _glptr_CheckFramebufferStatus GET_CheckFramebufferStatus(struct _glapi_table *disp) {
+ return (_glptr_CheckFramebufferStatus) (GET_by_offset(disp, _gloffset_CheckFramebufferStatus));
+}
+
+static INLINE void SET_CheckFramebufferStatus(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_CheckFramebufferStatus, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteFramebuffers)(GLsizei, const GLuint *);
+#define CALL_DeleteFramebuffers(disp, parameters) \
+ (* GET_DeleteFramebuffers(disp)) parameters
+static INLINE _glptr_DeleteFramebuffers GET_DeleteFramebuffers(struct _glapi_table *disp) {
+ return (_glptr_DeleteFramebuffers) (GET_by_offset(disp, _gloffset_DeleteFramebuffers));
+}
+
+static INLINE void SET_DeleteFramebuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteFramebuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffers)(GLsizei, const GLuint *);
+#define CALL_DeleteRenderbuffers(disp, parameters) \
+ (* GET_DeleteRenderbuffers(disp)) parameters
+static INLINE _glptr_DeleteRenderbuffers GET_DeleteRenderbuffers(struct _glapi_table *disp) {
+ return (_glptr_DeleteRenderbuffers) (GET_by_offset(disp, _gloffset_DeleteRenderbuffers));
+}
+
+static INLINE void SET_DeleteRenderbuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteRenderbuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferRenderbuffer)(GLenum, GLenum, GLenum, GLuint);
+#define CALL_FramebufferRenderbuffer(disp, parameters) \
+ (* GET_FramebufferRenderbuffer(disp)) parameters
+static INLINE _glptr_FramebufferRenderbuffer GET_FramebufferRenderbuffer(struct _glapi_table *disp) {
+ return (_glptr_FramebufferRenderbuffer) (GET_by_offset(disp, _gloffset_FramebufferRenderbuffer));
+}
+
+static INLINE void SET_FramebufferRenderbuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_FramebufferRenderbuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture1D)(GLenum, GLenum, GLenum, GLuint, GLint);
+#define CALL_FramebufferTexture1D(disp, parameters) \
+ (* GET_FramebufferTexture1D(disp)) parameters
+static INLINE _glptr_FramebufferTexture1D GET_FramebufferTexture1D(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTexture1D) (GET_by_offset(disp, _gloffset_FramebufferTexture1D));
+}
+
+static INLINE void SET_FramebufferTexture1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
+ SET_by_offset(disp, _gloffset_FramebufferTexture1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture2D)(GLenum, GLenum, GLenum, GLuint, GLint);
+#define CALL_FramebufferTexture2D(disp, parameters) \
+ (* GET_FramebufferTexture2D(disp)) parameters
+static INLINE _glptr_FramebufferTexture2D GET_FramebufferTexture2D(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTexture2D) (GET_by_offset(disp, _gloffset_FramebufferTexture2D));
+}
+
+static INLINE void SET_FramebufferTexture2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
+ SET_by_offset(disp, _gloffset_FramebufferTexture2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture3D)(GLenum, GLenum, GLenum, GLuint, GLint, GLint);
+#define CALL_FramebufferTexture3D(disp, parameters) \
+ (* GET_FramebufferTexture3D(disp)) parameters
+static INLINE _glptr_FramebufferTexture3D GET_FramebufferTexture3D(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTexture3D) (GET_by_offset(disp, _gloffset_FramebufferTexture3D));
+}
+
+static INLINE void SET_FramebufferTexture3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_FramebufferTexture3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayer)(GLenum, GLenum, GLuint, GLint, GLint);
+#define CALL_FramebufferTextureLayer(disp, parameters) \
+ (* GET_FramebufferTextureLayer(disp)) parameters
+static INLINE _glptr_FramebufferTextureLayer GET_FramebufferTextureLayer(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTextureLayer) (GET_by_offset(disp, _gloffset_FramebufferTextureLayer));
+}
+
+static INLINE void SET_FramebufferTextureLayer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_FramebufferTextureLayer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenFramebuffers)(GLsizei, GLuint *);
+#define CALL_GenFramebuffers(disp, parameters) \
+ (* GET_GenFramebuffers(disp)) parameters
+static INLINE _glptr_GenFramebuffers GET_GenFramebuffers(struct _glapi_table *disp) {
+ return (_glptr_GenFramebuffers) (GET_by_offset(disp, _gloffset_GenFramebuffers));
+}
+
+static INLINE void SET_GenFramebuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenFramebuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenRenderbuffers)(GLsizei, GLuint *);
+#define CALL_GenRenderbuffers(disp, parameters) \
+ (* GET_GenRenderbuffers(disp)) parameters
+static INLINE _glptr_GenRenderbuffers GET_GenRenderbuffers(struct _glapi_table *disp) {
+ return (_glptr_GenRenderbuffers) (GET_by_offset(disp, _gloffset_GenRenderbuffers));
+}
+
+static INLINE void SET_GenRenderbuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenRenderbuffers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenerateMipmap)(GLenum);
+#define CALL_GenerateMipmap(disp, parameters) \
+ (* GET_GenerateMipmap(disp)) parameters
+static INLINE _glptr_GenerateMipmap GET_GenerateMipmap(struct _glapi_table *disp) {
+ return (_glptr_GenerateMipmap) (GET_by_offset(disp, _gloffset_GenerateMipmap));
+}
+
+static INLINE void SET_GenerateMipmap(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_GenerateMipmap, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameteriv)(GLenum, GLenum, GLenum, GLint *);
+#define CALL_GetFramebufferAttachmentParameteriv(disp, parameters) \
+ (* GET_GetFramebufferAttachmentParameteriv(disp)) parameters
+static INLINE _glptr_GetFramebufferAttachmentParameteriv GET_GetFramebufferAttachmentParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetFramebufferAttachmentParameteriv) (GET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameteriv));
+}
+
+static INLINE void SET_GetFramebufferAttachmentParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameteriv)(GLenum, GLenum, GLint *);
+#define CALL_GetRenderbufferParameteriv(disp, parameters) \
+ (* GET_GetRenderbufferParameteriv(disp)) parameters
+static INLINE _glptr_GetRenderbufferParameteriv GET_GetRenderbufferParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetRenderbufferParameteriv) (GET_by_offset(disp, _gloffset_GetRenderbufferParameteriv));
+}
+
+static INLINE void SET_GetRenderbufferParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetRenderbufferParameteriv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsFramebuffer)(GLuint);
+#define CALL_IsFramebuffer(disp, parameters) \
+ (* GET_IsFramebuffer(disp)) parameters
+static INLINE _glptr_IsFramebuffer GET_IsFramebuffer(struct _glapi_table *disp) {
+ return (_glptr_IsFramebuffer) (GET_by_offset(disp, _gloffset_IsFramebuffer));
+}
+
+static INLINE void SET_IsFramebuffer(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsFramebuffer, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbuffer)(GLuint);
+#define CALL_IsRenderbuffer(disp, parameters) \
+ (* GET_IsRenderbuffer(disp)) parameters
+static INLINE _glptr_IsRenderbuffer GET_IsRenderbuffer(struct _glapi_table *disp) {
+ return (_glptr_IsRenderbuffer) (GET_by_offset(disp, _gloffset_IsRenderbuffer));
+}
+
+static INLINE void SET_IsRenderbuffer(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsRenderbuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RenderbufferStorage)(GLenum, GLenum, GLsizei, GLsizei);
+#define CALL_RenderbufferStorage(disp, parameters) \
+ (* GET_RenderbufferStorage(disp)) parameters
+static INLINE _glptr_RenderbufferStorage GET_RenderbufferStorage(struct _glapi_table *disp) {
+ return (_glptr_RenderbufferStorage) (GET_by_offset(disp, _gloffset_RenderbufferStorage));
+}
+
+static INLINE void SET_RenderbufferStorage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_RenderbufferStorage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+#define CALL_RenderbufferStorageMultisample(disp, parameters) \
+ (* GET_RenderbufferStorageMultisample(disp)) parameters
+static INLINE _glptr_RenderbufferStorageMultisample GET_RenderbufferStorageMultisample(struct _glapi_table *disp) {
+ return (_glptr_RenderbufferStorageMultisample) (GET_by_offset(disp, _gloffset_RenderbufferStorageMultisample));
+}
+
+static INLINE void SET_RenderbufferStorageMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB)(GLenum, GLenum, GLuint, GLint, GLenum);
+#define CALL_FramebufferTextureFaceARB(disp, parameters) \
+ (* GET_FramebufferTextureFaceARB(disp)) parameters
+static INLINE _glptr_FramebufferTextureFaceARB GET_FramebufferTextureFaceARB(struct _glapi_table *disp) {
+ return (_glptr_FramebufferTextureFaceARB) (GET_by_offset(disp, _gloffset_FramebufferTextureFaceARB));
+}
+
+static INLINE void SET_FramebufferTextureFaceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLenum)) {
+ SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr);
+#define CALL_FlushMappedBufferRange(disp, parameters) \
+ (* GET_FlushMappedBufferRange(disp)) parameters
+static INLINE _glptr_FlushMappedBufferRange GET_FlushMappedBufferRange(struct _glapi_table *disp) {
+ return (_glptr_FlushMappedBufferRange) (GET_by_offset(disp, _gloffset_FlushMappedBufferRange));
+}
+
+static INLINE void SET_FlushMappedBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn);
+}
+
+typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield);
+#define CALL_MapBufferRange(disp, parameters) \
+ (* GET_MapBufferRange(disp)) parameters
+static INLINE _glptr_MapBufferRange GET_MapBufferRange(struct _glapi_table *disp) {
+ return (_glptr_MapBufferRange) (GET_by_offset(disp, _gloffset_MapBufferRange));
+}
+
+static INLINE void SET_MapBufferRange(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, GLbitfield)) {
+ SET_by_offset(disp, _gloffset_MapBufferRange, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindVertexArray)(GLuint);
+#define CALL_BindVertexArray(disp, parameters) \
+ (* GET_BindVertexArray(disp)) parameters
+static INLINE _glptr_BindVertexArray GET_BindVertexArray(struct _glapi_table *disp) {
+ return (_glptr_BindVertexArray) (GET_by_offset(disp, _gloffset_BindVertexArray));
+}
+
+static INLINE void SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_BindVertexArray, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteVertexArrays)(GLsizei, const GLuint *);
+#define CALL_DeleteVertexArrays(disp, parameters) \
+ (* GET_DeleteVertexArrays(disp)) parameters
+static INLINE _glptr_DeleteVertexArrays GET_DeleteVertexArrays(struct _glapi_table *disp) {
+ return (_glptr_DeleteVertexArrays) (GET_by_offset(disp, _gloffset_DeleteVertexArrays));
+}
+
+static INLINE void SET_DeleteVertexArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteVertexArrays, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenVertexArrays)(GLsizei, GLuint *);
+#define CALL_GenVertexArrays(disp, parameters) \
+ (* GET_GenVertexArrays(disp)) parameters
+static INLINE _glptr_GenVertexArrays GET_GenVertexArrays(struct _glapi_table *disp) {
+ return (_glptr_GenVertexArrays) (GET_by_offset(disp, _gloffset_GenVertexArrays));
+}
+
+static INLINE void SET_GenVertexArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenVertexArrays, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsVertexArray)(GLuint);
+#define CALL_IsVertexArray(disp, parameters) \
+ (* GET_IsVertexArray(disp)) parameters
+static INLINE _glptr_IsVertexArray GET_IsVertexArray(struct _glapi_table *disp) {
+ return (_glptr_IsVertexArray) (GET_by_offset(disp, _gloffset_IsVertexArray));
+}
+
+static INLINE void SET_IsVertexArray(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsVertexArray, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveUniformBlockName)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *);
+#define CALL_GetActiveUniformBlockName(disp, parameters) \
+ (* GET_GetActiveUniformBlockName(disp)) parameters
+static INLINE _glptr_GetActiveUniformBlockName GET_GetActiveUniformBlockName(struct _glapi_table *disp) {
+ return (_glptr_GetActiveUniformBlockName) (GET_by_offset(disp, _gloffset_GetActiveUniformBlockName));
+}
+
+static INLINE void SET_GetActiveUniformBlockName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetActiveUniformBlockName, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveUniformBlockiv)(GLuint, GLuint, GLenum, GLint *);
+#define CALL_GetActiveUniformBlockiv(disp, parameters) \
+ (* GET_GetActiveUniformBlockiv(disp)) parameters
+static INLINE _glptr_GetActiveUniformBlockiv GET_GetActiveUniformBlockiv(struct _glapi_table *disp) {
+ return (_glptr_GetActiveUniformBlockiv) (GET_by_offset(disp, _gloffset_GetActiveUniformBlockiv));
+}
+
+static INLINE void SET_GetActiveUniformBlockiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetActiveUniformBlockiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveUniformName)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *);
+#define CALL_GetActiveUniformName(disp, parameters) \
+ (* GET_GetActiveUniformName(disp)) parameters
+static INLINE _glptr_GetActiveUniformName GET_GetActiveUniformName(struct _glapi_table *disp) {
+ return (_glptr_GetActiveUniformName) (GET_by_offset(disp, _gloffset_GetActiveUniformName));
+}
+
+static INLINE void SET_GetActiveUniformName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetActiveUniformName, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveUniformsiv)(GLuint, GLsizei, const GLuint *, GLenum, GLint *);
+#define CALL_GetActiveUniformsiv(disp, parameters) \
+ (* GET_GetActiveUniformsiv(disp)) parameters
+static INLINE _glptr_GetActiveUniformsiv GET_GetActiveUniformsiv(struct _glapi_table *disp) {
+ return (_glptr_GetActiveUniformsiv) (GET_by_offset(disp, _gloffset_GetActiveUniformsiv));
+}
+
+static INLINE void SET_GetActiveUniformsiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLuint *, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetActiveUniformsiv, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_GetUniformBlockIndex)(GLuint, const GLchar *);
+#define CALL_GetUniformBlockIndex(disp, parameters) \
+ (* GET_GetUniformBlockIndex(disp)) parameters
+static INLINE _glptr_GetUniformBlockIndex GET_GetUniformBlockIndex(struct _glapi_table *disp) {
+ return (_glptr_GetUniformBlockIndex) (GET_by_offset(disp, _gloffset_GetUniformBlockIndex));
+}
+
+static INLINE void SET_GetUniformBlockIndex(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetUniformBlockIndex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetUniformIndices)(GLuint, GLsizei, const GLchar * const *, GLuint *);
+#define CALL_GetUniformIndices(disp, parameters) \
+ (* GET_GetUniformIndices(disp)) parameters
+static INLINE _glptr_GetUniformIndices GET_GetUniformIndices(struct _glapi_table *disp) {
+ return (_glptr_GetUniformIndices) (GET_by_offset(disp, _gloffset_GetUniformIndices));
+}
+
+static INLINE void SET_GetUniformIndices(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLchar * const *, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetUniformIndices, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UniformBlockBinding)(GLuint, GLuint, GLuint);
+#define CALL_UniformBlockBinding(disp, parameters) \
+ (* GET_UniformBlockBinding(disp)) parameters
+static INLINE _glptr_UniformBlockBinding GET_UniformBlockBinding(struct _glapi_table *disp) {
+ return (_glptr_UniformBlockBinding) (GET_by_offset(disp, _gloffset_UniformBlockBinding));
+}
+
+static INLINE void SET_UniformBlockBinding(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_UniformBlockBinding, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr);
+#define CALL_CopyBufferSubData(disp, parameters) \
+ (* GET_CopyBufferSubData(disp)) parameters
+static INLINE _glptr_CopyBufferSubData GET_CopyBufferSubData(struct _glapi_table *disp) {
+ return (_glptr_CopyBufferSubData) (GET_by_offset(disp, _gloffset_CopyBufferSubData));
+}
+
+static INLINE void SET_CopyBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_CopyBufferSubData, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_ClientWaitSync)(GLsync, GLbitfield, GLuint64);
+#define CALL_ClientWaitSync(disp, parameters) \
+ (* GET_ClientWaitSync(disp)) parameters
+static INLINE _glptr_ClientWaitSync GET_ClientWaitSync(struct _glapi_table *disp) {
+ return (_glptr_ClientWaitSync) (GET_by_offset(disp, _gloffset_ClientWaitSync));
+}
+
+static INLINE void SET_ClientWaitSync(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
+ SET_by_offset(disp, _gloffset_ClientWaitSync, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteSync)(GLsync);
+#define CALL_DeleteSync(disp, parameters) \
+ (* GET_DeleteSync(disp)) parameters
+static INLINE _glptr_DeleteSync GET_DeleteSync(struct _glapi_table *disp) {
+ return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync));
+}
+
+static INLINE void SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync)) {
+ SET_by_offset(disp, _gloffset_DeleteSync, fn);
+}
+
+typedef GLsync (GLAPIENTRYP _glptr_FenceSync)(GLenum, GLbitfield);
+#define CALL_FenceSync(disp, parameters) \
+ (* GET_FenceSync(disp)) parameters
+static INLINE _glptr_FenceSync GET_FenceSync(struct _glapi_table *disp) {
+ return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync));
+}
+
+static INLINE void SET_FenceSync(struct _glapi_table *disp, GLsync (GLAPIENTRYP fn)(GLenum, GLbitfield)) {
+ SET_by_offset(disp, _gloffset_FenceSync, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetInteger64v)(GLenum, GLint64 *);
+#define CALL_GetInteger64v(disp, parameters) \
+ (* GET_GetInteger64v(disp)) parameters
+static INLINE _glptr_GetInteger64v GET_GetInteger64v(struct _glapi_table *disp) {
+ return (_glptr_GetInteger64v) (GET_by_offset(disp, _gloffset_GetInteger64v));
+}
+
+static INLINE void SET_GetInteger64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint64 *)) {
+ SET_by_offset(disp, _gloffset_GetInteger64v, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GLint *);
+#define CALL_GetSynciv(disp, parameters) \
+ (* GET_GetSynciv(disp)) parameters
+static INLINE _glptr_GetSynciv GET_GetSynciv(struct _glapi_table *disp) {
+ return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv));
+}
+
+static INLINE void SET_GetSynciv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLenum, GLsizei, GLsizei *, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetSynciv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsSync)(GLsync);
+#define CALL_IsSync(disp, parameters) \
+ (* GET_IsSync(disp)) parameters
+static INLINE _glptr_IsSync GET_IsSync(struct _glapi_table *disp) {
+ return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync));
+}
+
+static INLINE void SET_IsSync(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsync)) {
+ SET_by_offset(disp, _gloffset_IsSync, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WaitSync)(GLsync, GLbitfield, GLuint64);
+#define CALL_WaitSync(disp, parameters) \
+ (* GET_WaitSync(disp)) parameters
+static INLINE _glptr_WaitSync GET_WaitSync(struct _glapi_table *disp) {
+ return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync));
+}
+
+static INLINE void SET_WaitSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
+ SET_by_offset(disp, _gloffset_WaitSync, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLint);
+#define CALL_DrawElementsBaseVertex(disp, parameters) \
+ (* GET_DrawElementsBaseVertex(disp)) parameters
+static INLINE _glptr_DrawElementsBaseVertex GET_DrawElementsBaseVertex(struct _glapi_table *disp) {
+ return (_glptr_DrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsBaseVertex));
+}
+
+static INLINE void SET_DrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLint)) {
+ SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint);
+#define CALL_DrawElementsInstancedBaseVertex(disp, parameters) \
+ (* GET_DrawElementsInstancedBaseVertex(disp)) parameters
+static INLINE _glptr_DrawElementsInstancedBaseVertex GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp) {
+ return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex));
+}
+
+static INLINE void SET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint)) {
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint);
+#define CALL_DrawRangeElementsBaseVertex(disp, parameters) \
+ (* GET_DrawRangeElementsBaseVertex(disp)) parameters
+static INLINE _glptr_DrawRangeElementsBaseVertex GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp) {
+ return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex));
+}
+
+static INLINE void SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint)) {
+ SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex)(GLenum, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, const GLint *);
+#define CALL_MultiDrawElementsBaseVertex(disp, parameters) \
+ (* GET_MultiDrawElementsBaseVertex(disp)) parameters
+static INLINE _glptr_MultiDrawElementsBaseVertex GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp) {
+ return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex));
+}
+
+static INLINE void SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, const GLint *)) {
+ SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProvokingVertex)(GLenum);
+#define CALL_ProvokingVertex(disp, parameters) \
+ (* GET_ProvokingVertex(disp)) parameters
+static INLINE _glptr_ProvokingVertex GET_ProvokingVertex(struct _glapi_table *disp) {
+ return (_glptr_ProvokingVertex) (GET_by_offset(disp, _gloffset_ProvokingVertex));
+}
+
+static INLINE void SET_ProvokingVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ProvokingVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMultisamplefv)(GLenum, GLuint, GLfloat *);
+#define CALL_GetMultisamplefv(disp, parameters) \
+ (* GET_GetMultisamplefv(disp)) parameters
+static INLINE _glptr_GetMultisamplefv GET_GetMultisamplefv(struct _glapi_table *disp) {
+ return (_glptr_GetMultisamplefv) (GET_by_offset(disp, _gloffset_GetMultisamplefv));
+}
+
+static INLINE void SET_GetMultisamplefv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetMultisamplefv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SampleMaski)(GLuint, GLbitfield);
+#define CALL_SampleMaski(disp, parameters) \
+ (* GET_SampleMaski(disp)) parameters
+static INLINE _glptr_SampleMaski GET_SampleMaski(struct _glapi_table *disp) {
+ return (_glptr_SampleMaski) (GET_by_offset(disp, _gloffset_SampleMaski));
+}
+
+static INLINE void SET_SampleMaski(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLbitfield)) {
+ SET_by_offset(disp, _gloffset_SampleMaski, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexImage2DMultisample)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean);
+#define CALL_TexImage2DMultisample(disp, parameters) \
+ (* GET_TexImage2DMultisample(disp)) parameters
+static INLINE _glptr_TexImage2DMultisample GET_TexImage2DMultisample(struct _glapi_table *disp) {
+ return (_glptr_TexImage2DMultisample) (GET_by_offset(disp, _gloffset_TexImage2DMultisample));
+}
+
+static INLINE void SET_TexImage2DMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean)) {
+ SET_by_offset(disp, _gloffset_TexImage2DMultisample, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexImage3DMultisample)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean);
+#define CALL_TexImage3DMultisample(disp, parameters) \
+ (* GET_TexImage3DMultisample(disp)) parameters
+static INLINE _glptr_TexImage3DMultisample GET_TexImage3DMultisample(struct _glapi_table *disp) {
+ return (_glptr_TexImage3DMultisample) (GET_by_offset(disp, _gloffset_TexImage3DMultisample));
+}
+
+static INLINE void SET_TexImage3DMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean)) {
+ SET_by_offset(disp, _gloffset_TexImage3DMultisample, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB)(GLuint, GLenum, GLenum);
+#define CALL_BlendEquationSeparateiARB(disp, parameters) \
+ (* GET_BlendEquationSeparateiARB(disp)) parameters
+static INLINE _glptr_BlendEquationSeparateiARB GET_BlendEquationSeparateiARB(struct _glapi_table *disp) {
+ return (_glptr_BlendEquationSeparateiARB) (GET_by_offset(disp, _gloffset_BlendEquationSeparateiARB));
+}
+
+static INLINE void SET_BlendEquationSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendEquationiARB)(GLuint, GLenum);
+#define CALL_BlendEquationiARB(disp, parameters) \
+ (* GET_BlendEquationiARB(disp)) parameters
+static INLINE _glptr_BlendEquationiARB GET_BlendEquationiARB(struct _glapi_table *disp) {
+ return (_glptr_BlendEquationiARB) (GET_by_offset(disp, _gloffset_BlendEquationiARB));
+}
+
+static INLINE void SET_BlendEquationiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendEquationiARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum);
+#define CALL_BlendFuncSeparateiARB(disp, parameters) \
+ (* GET_BlendFuncSeparateiARB(disp)) parameters
+static INLINE _glptr_BlendFuncSeparateiARB GET_BlendFuncSeparateiARB(struct _glapi_table *disp) {
+ return (_glptr_BlendFuncSeparateiARB) (GET_by_offset(disp, _gloffset_BlendFuncSeparateiARB));
+}
+
+static INLINE void SET_BlendFuncSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlendFunciARB)(GLuint, GLenum, GLenum);
+#define CALL_BlendFunciARB(disp, parameters) \
+ (* GET_BlendFunciARB(disp)) parameters
+static INLINE _glptr_BlendFunciARB GET_BlendFunciARB(struct _glapi_table *disp) {
+ return (_glptr_BlendFunciARB) (GET_by_offset(disp, _gloffset_BlendFunciARB));
+}
+
+static INLINE void SET_BlendFunciARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_BlendFunciARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindFragDataLocationIndexed)(GLuint, GLuint, GLuint, const GLchar *);
+#define CALL_BindFragDataLocationIndexed(disp, parameters) \
+ (* GET_BindFragDataLocationIndexed(disp)) parameters
+static INLINE _glptr_BindFragDataLocationIndexed GET_BindFragDataLocationIndexed(struct _glapi_table *disp) {
+ return (_glptr_BindFragDataLocationIndexed) (GET_by_offset(disp, _gloffset_BindFragDataLocationIndexed));
+}
+
+static INLINE void SET_BindFragDataLocationIndexed(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_BindFragDataLocationIndexed, fn);
+}
+
+typedef GLint (GLAPIENTRYP _glptr_GetFragDataIndex)(GLuint, const GLchar *);
+#define CALL_GetFragDataIndex(disp, parameters) \
+ (* GET_GetFragDataIndex(disp)) parameters
+static INLINE _glptr_GetFragDataIndex GET_GetFragDataIndex(struct _glapi_table *disp) {
+ return (_glptr_GetFragDataIndex) (GET_by_offset(disp, _gloffset_GetFragDataIndex));
+}
+
+static INLINE void SET_GetFragDataIndex(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_GetFragDataIndex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindSampler)(GLuint, GLuint);
+#define CALL_BindSampler(disp, parameters) \
+ (* GET_BindSampler(disp)) parameters
+static INLINE _glptr_BindSampler GET_BindSampler(struct _glapi_table *disp) {
+ return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler));
+}
+
+static INLINE void SET_BindSampler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindSampler, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteSamplers)(GLsizei, const GLuint *);
+#define CALL_DeleteSamplers(disp, parameters) \
+ (* GET_DeleteSamplers(disp)) parameters
+static INLINE _glptr_DeleteSamplers GET_DeleteSamplers(struct _glapi_table *disp) {
+ return (_glptr_DeleteSamplers) (GET_by_offset(disp, _gloffset_DeleteSamplers));
+}
+
+static INLINE void SET_DeleteSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteSamplers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenSamplers)(GLsizei, GLuint *);
+#define CALL_GenSamplers(disp, parameters) \
+ (* GET_GenSamplers(disp)) parameters
+static INLINE _glptr_GenSamplers GET_GenSamplers(struct _glapi_table *disp) {
+ return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers));
+}
+
+static INLINE void SET_GenSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenSamplers, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv)(GLuint, GLenum, GLint *);
+#define CALL_GetSamplerParameterIiv(disp, parameters) \
+ (* GET_GetSamplerParameterIiv(disp)) parameters
+static INLINE _glptr_GetSamplerParameterIiv GET_GetSamplerParameterIiv(struct _glapi_table *disp) {
+ return (_glptr_GetSamplerParameterIiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIiv));
+}
+
+static INLINE void SET_GetSamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv)(GLuint, GLenum, GLuint *);
+#define CALL_GetSamplerParameterIuiv(disp, parameters) \
+ (* GET_GetSamplerParameterIuiv(disp)) parameters
+static INLINE _glptr_GetSamplerParameterIuiv GET_GetSamplerParameterIuiv(struct _glapi_table *disp) {
+ return (_glptr_GetSamplerParameterIuiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIuiv));
+}
+
+static INLINE void SET_GetSamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv)(GLuint, GLenum, GLfloat *);
+#define CALL_GetSamplerParameterfv(disp, parameters) \
+ (* GET_GetSamplerParameterfv(disp)) parameters
+static INLINE _glptr_GetSamplerParameterfv GET_GetSamplerParameterfv(struct _glapi_table *disp) {
+ return (_glptr_GetSamplerParameterfv) (GET_by_offset(disp, _gloffset_GetSamplerParameterfv));
+}
+
+static INLINE void SET_GetSamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv)(GLuint, GLenum, GLint *);
+#define CALL_GetSamplerParameteriv(disp, parameters) \
+ (* GET_GetSamplerParameteriv(disp)) parameters
+static INLINE _glptr_GetSamplerParameteriv GET_GetSamplerParameteriv(struct _glapi_table *disp) {
+ return (_glptr_GetSamplerParameteriv) (GET_by_offset(disp, _gloffset_GetSamplerParameteriv));
+}
+
+static INLINE void SET_GetSamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsSampler)(GLuint);
+#define CALL_IsSampler(disp, parameters) \
+ (* GET_IsSampler(disp)) parameters
+static INLINE _glptr_IsSampler GET_IsSampler(struct _glapi_table *disp) {
+ return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler));
+}
+
+static INLINE void SET_IsSampler(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsSampler, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv)(GLuint, GLenum, const GLint *);
+#define CALL_SamplerParameterIiv(disp, parameters) \
+ (* GET_SamplerParameterIiv(disp)) parameters
+static INLINE _glptr_SamplerParameterIiv GET_SamplerParameterIiv(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameterIiv) (GET_by_offset(disp, _gloffset_SamplerParameterIiv));
+}
+
+static INLINE void SET_SamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv)(GLuint, GLenum, const GLuint *);
+#define CALL_SamplerParameterIuiv(disp, parameters) \
+ (* GET_SamplerParameterIuiv(disp)) parameters
+static INLINE _glptr_SamplerParameterIuiv GET_SamplerParameterIuiv(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameterIuiv) (GET_by_offset(disp, _gloffset_SamplerParameterIuiv));
+}
+
+static INLINE void SET_SamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameterf)(GLuint, GLenum, GLfloat);
+#define CALL_SamplerParameterf(disp, parameters) \
+ (* GET_SamplerParameterf(disp)) parameters
+static INLINE _glptr_SamplerParameterf GET_SamplerParameterf(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameterf) (GET_by_offset(disp, _gloffset_SamplerParameterf));
+}
+
+static INLINE void SET_SamplerParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat)) {
+ SET_by_offset(disp, _gloffset_SamplerParameterf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameterfv)(GLuint, GLenum, const GLfloat *);
+#define CALL_SamplerParameterfv(disp, parameters) \
+ (* GET_SamplerParameterfv(disp)) parameters
+static INLINE _glptr_SamplerParameterfv GET_SamplerParameterfv(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameterfv) (GET_by_offset(disp, _gloffset_SamplerParameterfv));
+}
+
+static INLINE void SET_SamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_SamplerParameterfv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameteri)(GLuint, GLenum, GLint);
+#define CALL_SamplerParameteri(disp, parameters) \
+ (* GET_SamplerParameteri(disp)) parameters
+static INLINE _glptr_SamplerParameteri GET_SamplerParameteri(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameteri) (GET_by_offset(disp, _gloffset_SamplerParameteri));
+}
+
+static INLINE void SET_SamplerParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_SamplerParameteri, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplerParameteriv)(GLuint, GLenum, const GLint *);
+#define CALL_SamplerParameteriv(disp, parameters) \
+ (* GET_SamplerParameteriv(disp)) parameters
+static INLINE _glptr_SamplerParameteriv GET_SamplerParameteriv(struct _glapi_table *disp) {
+ return (_glptr_SamplerParameteriv) (GET_by_offset(disp, _gloffset_SamplerParameteriv));
+}
+
+static INLINE void SET_SamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_SamplerParameteriv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64v)(GLuint, GLenum, GLint64 *);
+#define CALL_GetQueryObjecti64v(disp, parameters) \
+ (* GET_GetQueryObjecti64v(disp)) parameters
+static INLINE _glptr_GetQueryObjecti64v GET_GetQueryObjecti64v(struct _glapi_table *disp) {
+ return (_glptr_GetQueryObjecti64v) (GET_by_offset(disp, _gloffset_GetQueryObjecti64v));
+}
+
+static INLINE void SET_GetQueryObjecti64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint64 *)) {
+ SET_by_offset(disp, _gloffset_GetQueryObjecti64v, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64v)(GLuint, GLenum, GLuint64 *);
+#define CALL_GetQueryObjectui64v(disp, parameters) \
+ (* GET_GetQueryObjectui64v(disp)) parameters
+static INLINE _glptr_GetQueryObjectui64v GET_GetQueryObjectui64v(struct _glapi_table *disp) {
+ return (_glptr_GetQueryObjectui64v) (GET_by_offset(disp, _gloffset_GetQueryObjectui64v));
+}
+
+static INLINE void SET_GetQueryObjectui64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint64 *)) {
+ SET_by_offset(disp, _gloffset_GetQueryObjectui64v, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_QueryCounter)(GLuint, GLenum);
+#define CALL_QueryCounter(disp, parameters) \
+ (* GET_QueryCounter(disp)) parameters
+static INLINE _glptr_QueryCounter GET_QueryCounter(struct _glapi_table *disp) {
+ return (_glptr_QueryCounter) (GET_by_offset(disp, _gloffset_QueryCounter));
+}
+
+static INLINE void SET_QueryCounter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_QueryCounter, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorP3ui)(GLenum, GLuint);
+#define CALL_ColorP3ui(disp, parameters) \
+ (* GET_ColorP3ui(disp)) parameters
+static INLINE _glptr_ColorP3ui GET_ColorP3ui(struct _glapi_table *disp) {
+ return (_glptr_ColorP3ui) (GET_by_offset(disp, _gloffset_ColorP3ui));
+}
+
+static INLINE void SET_ColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_ColorP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorP3uiv)(GLenum, const GLuint *);
+#define CALL_ColorP3uiv(disp, parameters) \
+ (* GET_ColorP3uiv(disp)) parameters
+static INLINE _glptr_ColorP3uiv GET_ColorP3uiv(struct _glapi_table *disp) {
+ return (_glptr_ColorP3uiv) (GET_by_offset(disp, _gloffset_ColorP3uiv));
+}
+
+static INLINE void SET_ColorP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_ColorP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorP4ui)(GLenum, GLuint);
+#define CALL_ColorP4ui(disp, parameters) \
+ (* GET_ColorP4ui(disp)) parameters
+static INLINE _glptr_ColorP4ui GET_ColorP4ui(struct _glapi_table *disp) {
+ return (_glptr_ColorP4ui) (GET_by_offset(disp, _gloffset_ColorP4ui));
+}
+
+static INLINE void SET_ColorP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_ColorP4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorP4uiv)(GLenum, const GLuint *);
+#define CALL_ColorP4uiv(disp, parameters) \
+ (* GET_ColorP4uiv(disp)) parameters
+static INLINE _glptr_ColorP4uiv GET_ColorP4uiv(struct _glapi_table *disp) {
+ return (_glptr_ColorP4uiv) (GET_by_offset(disp, _gloffset_ColorP4uiv));
+}
+
+static INLINE void SET_ColorP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_ColorP4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1ui)(GLenum, GLenum, GLuint);
+#define CALL_MultiTexCoordP1ui(disp, parameters) \
+ (* GET_MultiTexCoordP1ui(disp)) parameters
+static INLINE _glptr_MultiTexCoordP1ui GET_MultiTexCoordP1ui(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP1ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP1ui));
+}
+
+static INLINE void SET_MultiTexCoordP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP1ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1uiv)(GLenum, GLenum, const GLuint *);
+#define CALL_MultiTexCoordP1uiv(disp, parameters) \
+ (* GET_MultiTexCoordP1uiv(disp)) parameters
+static INLINE _glptr_MultiTexCoordP1uiv GET_MultiTexCoordP1uiv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP1uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP1uiv));
+}
+
+static INLINE void SET_MultiTexCoordP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP1uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2ui)(GLenum, GLenum, GLuint);
+#define CALL_MultiTexCoordP2ui(disp, parameters) \
+ (* GET_MultiTexCoordP2ui(disp)) parameters
+static INLINE _glptr_MultiTexCoordP2ui GET_MultiTexCoordP2ui(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP2ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP2ui));
+}
+
+static INLINE void SET_MultiTexCoordP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP2ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2uiv)(GLenum, GLenum, const GLuint *);
+#define CALL_MultiTexCoordP2uiv(disp, parameters) \
+ (* GET_MultiTexCoordP2uiv(disp)) parameters
+static INLINE _glptr_MultiTexCoordP2uiv GET_MultiTexCoordP2uiv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP2uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP2uiv));
+}
+
+static INLINE void SET_MultiTexCoordP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP2uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3ui)(GLenum, GLenum, GLuint);
+#define CALL_MultiTexCoordP3ui(disp, parameters) \
+ (* GET_MultiTexCoordP3ui(disp)) parameters
+static INLINE _glptr_MultiTexCoordP3ui GET_MultiTexCoordP3ui(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP3ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP3ui));
+}
+
+static INLINE void SET_MultiTexCoordP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3uiv)(GLenum, GLenum, const GLuint *);
+#define CALL_MultiTexCoordP3uiv(disp, parameters) \
+ (* GET_MultiTexCoordP3uiv(disp)) parameters
+static INLINE _glptr_MultiTexCoordP3uiv GET_MultiTexCoordP3uiv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP3uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP3uiv));
+}
+
+static INLINE void SET_MultiTexCoordP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4ui)(GLenum, GLenum, GLuint);
+#define CALL_MultiTexCoordP4ui(disp, parameters) \
+ (* GET_MultiTexCoordP4ui(disp)) parameters
+static INLINE _glptr_MultiTexCoordP4ui GET_MultiTexCoordP4ui(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP4ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP4ui));
+}
+
+static INLINE void SET_MultiTexCoordP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4uiv)(GLenum, GLenum, const GLuint *);
+#define CALL_MultiTexCoordP4uiv(disp, parameters) \
+ (* GET_MultiTexCoordP4uiv(disp)) parameters
+static INLINE _glptr_MultiTexCoordP4uiv GET_MultiTexCoordP4uiv(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoordP4uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP4uiv));
+}
+
+static INLINE void SET_MultiTexCoordP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoordP4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_NormalP3ui)(GLenum, GLuint);
+#define CALL_NormalP3ui(disp, parameters) \
+ (* GET_NormalP3ui(disp)) parameters
+static INLINE _glptr_NormalP3ui GET_NormalP3ui(struct _glapi_table *disp) {
+ return (_glptr_NormalP3ui) (GET_by_offset(disp, _gloffset_NormalP3ui));
+}
+
+static INLINE void SET_NormalP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_NormalP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_NormalP3uiv)(GLenum, const GLuint *);
+#define CALL_NormalP3uiv(disp, parameters) \
+ (* GET_NormalP3uiv(disp)) parameters
+static INLINE _glptr_NormalP3uiv GET_NormalP3uiv(struct _glapi_table *disp) {
+ return (_glptr_NormalP3uiv) (GET_by_offset(disp, _gloffset_NormalP3uiv));
+}
+
+static INLINE void SET_NormalP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_NormalP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColorP3ui)(GLenum, GLuint);
+#define CALL_SecondaryColorP3ui(disp, parameters) \
+ (* GET_SecondaryColorP3ui(disp)) parameters
+static INLINE _glptr_SecondaryColorP3ui GET_SecondaryColorP3ui(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColorP3ui) (GET_by_offset(disp, _gloffset_SecondaryColorP3ui));
+}
+
+static INLINE void SET_SecondaryColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_SecondaryColorP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColorP3uiv)(GLenum, const GLuint *);
+#define CALL_SecondaryColorP3uiv(disp, parameters) \
+ (* GET_SecondaryColorP3uiv(disp)) parameters
+static INLINE _glptr_SecondaryColorP3uiv GET_SecondaryColorP3uiv(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColorP3uiv) (GET_by_offset(disp, _gloffset_SecondaryColorP3uiv));
+}
+
+static INLINE void SET_SecondaryColorP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColorP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP1ui)(GLenum, GLuint);
+#define CALL_TexCoordP1ui(disp, parameters) \
+ (* GET_TexCoordP1ui(disp)) parameters
+static INLINE _glptr_TexCoordP1ui GET_TexCoordP1ui(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP1ui) (GET_by_offset(disp, _gloffset_TexCoordP1ui));
+}
+
+static INLINE void SET_TexCoordP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_TexCoordP1ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP1uiv)(GLenum, const GLuint *);
+#define CALL_TexCoordP1uiv(disp, parameters) \
+ (* GET_TexCoordP1uiv(disp)) parameters
+static INLINE _glptr_TexCoordP1uiv GET_TexCoordP1uiv(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP1uiv) (GET_by_offset(disp, _gloffset_TexCoordP1uiv));
+}
+
+static INLINE void SET_TexCoordP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_TexCoordP1uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP2ui)(GLenum, GLuint);
+#define CALL_TexCoordP2ui(disp, parameters) \
+ (* GET_TexCoordP2ui(disp)) parameters
+static INLINE _glptr_TexCoordP2ui GET_TexCoordP2ui(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP2ui) (GET_by_offset(disp, _gloffset_TexCoordP2ui));
+}
+
+static INLINE void SET_TexCoordP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_TexCoordP2ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP2uiv)(GLenum, const GLuint *);
+#define CALL_TexCoordP2uiv(disp, parameters) \
+ (* GET_TexCoordP2uiv(disp)) parameters
+static INLINE _glptr_TexCoordP2uiv GET_TexCoordP2uiv(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP2uiv) (GET_by_offset(disp, _gloffset_TexCoordP2uiv));
+}
+
+static INLINE void SET_TexCoordP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_TexCoordP2uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP3ui)(GLenum, GLuint);
+#define CALL_TexCoordP3ui(disp, parameters) \
+ (* GET_TexCoordP3ui(disp)) parameters
+static INLINE _glptr_TexCoordP3ui GET_TexCoordP3ui(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP3ui) (GET_by_offset(disp, _gloffset_TexCoordP3ui));
+}
+
+static INLINE void SET_TexCoordP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_TexCoordP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP3uiv)(GLenum, const GLuint *);
+#define CALL_TexCoordP3uiv(disp, parameters) \
+ (* GET_TexCoordP3uiv(disp)) parameters
+static INLINE _glptr_TexCoordP3uiv GET_TexCoordP3uiv(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP3uiv) (GET_by_offset(disp, _gloffset_TexCoordP3uiv));
+}
+
+static INLINE void SET_TexCoordP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_TexCoordP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP4ui)(GLenum, GLuint);
+#define CALL_TexCoordP4ui(disp, parameters) \
+ (* GET_TexCoordP4ui(disp)) parameters
+static INLINE _glptr_TexCoordP4ui GET_TexCoordP4ui(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP4ui) (GET_by_offset(disp, _gloffset_TexCoordP4ui));
+}
+
+static INLINE void SET_TexCoordP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_TexCoordP4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordP4uiv)(GLenum, const GLuint *);
+#define CALL_TexCoordP4uiv(disp, parameters) \
+ (* GET_TexCoordP4uiv(disp)) parameters
+static INLINE _glptr_TexCoordP4uiv GET_TexCoordP4uiv(struct _glapi_table *disp) {
+ return (_glptr_TexCoordP4uiv) (GET_by_offset(disp, _gloffset_TexCoordP4uiv));
+}
+
+static INLINE void SET_TexCoordP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_TexCoordP4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP1ui)(GLuint, GLenum, GLboolean, GLuint);
+#define CALL_VertexAttribP1ui(disp, parameters) \
+ (* GET_VertexAttribP1ui(disp)) parameters
+static INLINE _glptr_VertexAttribP1ui GET_VertexAttribP1ui(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP1ui) (GET_by_offset(disp, _gloffset_VertexAttribP1ui));
+}
+
+static INLINE void SET_VertexAttribP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP1ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP1uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+#define CALL_VertexAttribP1uiv(disp, parameters) \
+ (* GET_VertexAttribP1uiv(disp)) parameters
+static INLINE _glptr_VertexAttribP1uiv GET_VertexAttribP1uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP1uiv) (GET_by_offset(disp, _gloffset_VertexAttribP1uiv));
+}
+
+static INLINE void SET_VertexAttribP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP1uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP2ui)(GLuint, GLenum, GLboolean, GLuint);
+#define CALL_VertexAttribP2ui(disp, parameters) \
+ (* GET_VertexAttribP2ui(disp)) parameters
+static INLINE _glptr_VertexAttribP2ui GET_VertexAttribP2ui(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP2ui) (GET_by_offset(disp, _gloffset_VertexAttribP2ui));
+}
+
+static INLINE void SET_VertexAttribP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP2ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP2uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+#define CALL_VertexAttribP2uiv(disp, parameters) \
+ (* GET_VertexAttribP2uiv(disp)) parameters
+static INLINE _glptr_VertexAttribP2uiv GET_VertexAttribP2uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP2uiv) (GET_by_offset(disp, _gloffset_VertexAttribP2uiv));
+}
+
+static INLINE void SET_VertexAttribP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP2uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP3ui)(GLuint, GLenum, GLboolean, GLuint);
+#define CALL_VertexAttribP3ui(disp, parameters) \
+ (* GET_VertexAttribP3ui(disp)) parameters
+static INLINE _glptr_VertexAttribP3ui GET_VertexAttribP3ui(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP3ui) (GET_by_offset(disp, _gloffset_VertexAttribP3ui));
+}
+
+static INLINE void SET_VertexAttribP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP3uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+#define CALL_VertexAttribP3uiv(disp, parameters) \
+ (* GET_VertexAttribP3uiv(disp)) parameters
+static INLINE _glptr_VertexAttribP3uiv GET_VertexAttribP3uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP3uiv) (GET_by_offset(disp, _gloffset_VertexAttribP3uiv));
+}
+
+static INLINE void SET_VertexAttribP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP4ui)(GLuint, GLenum, GLboolean, GLuint);
+#define CALL_VertexAttribP4ui(disp, parameters) \
+ (* GET_VertexAttribP4ui(disp)) parameters
+static INLINE _glptr_VertexAttribP4ui GET_VertexAttribP4ui(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP4ui) (GET_by_offset(disp, _gloffset_VertexAttribP4ui));
+}
+
+static INLINE void SET_VertexAttribP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribP4uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+#define CALL_VertexAttribP4uiv(disp, parameters) \
+ (* GET_VertexAttribP4uiv(disp)) parameters
+static INLINE _glptr_VertexAttribP4uiv GET_VertexAttribP4uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribP4uiv) (GET_by_offset(disp, _gloffset_VertexAttribP4uiv));
+}
+
+static INLINE void SET_VertexAttribP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribP4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP2ui)(GLenum, GLuint);
+#define CALL_VertexP2ui(disp, parameters) \
+ (* GET_VertexP2ui(disp)) parameters
+static INLINE _glptr_VertexP2ui GET_VertexP2ui(struct _glapi_table *disp) {
+ return (_glptr_VertexP2ui) (GET_by_offset(disp, _gloffset_VertexP2ui));
+}
+
+static INLINE void SET_VertexP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexP2ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP2uiv)(GLenum, const GLuint *);
+#define CALL_VertexP2uiv(disp, parameters) \
+ (* GET_VertexP2uiv(disp)) parameters
+static INLINE _glptr_VertexP2uiv GET_VertexP2uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexP2uiv) (GET_by_offset(disp, _gloffset_VertexP2uiv));
+}
+
+static INLINE void SET_VertexP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexP2uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP3ui)(GLenum, GLuint);
+#define CALL_VertexP3ui(disp, parameters) \
+ (* GET_VertexP3ui(disp)) parameters
+static INLINE _glptr_VertexP3ui GET_VertexP3ui(struct _glapi_table *disp) {
+ return (_glptr_VertexP3ui) (GET_by_offset(disp, _gloffset_VertexP3ui));
+}
+
+static INLINE void SET_VertexP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexP3ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP3uiv)(GLenum, const GLuint *);
+#define CALL_VertexP3uiv(disp, parameters) \
+ (* GET_VertexP3uiv(disp)) parameters
+static INLINE _glptr_VertexP3uiv GET_VertexP3uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexP3uiv) (GET_by_offset(disp, _gloffset_VertexP3uiv));
+}
+
+static INLINE void SET_VertexP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexP3uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP4ui)(GLenum, GLuint);
+#define CALL_VertexP4ui(disp, parameters) \
+ (* GET_VertexP4ui(disp)) parameters
+static INLINE _glptr_VertexP4ui GET_VertexP4ui(struct _glapi_table *disp) {
+ return (_glptr_VertexP4ui) (GET_by_offset(disp, _gloffset_VertexP4ui));
+}
+
+static INLINE void SET_VertexP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexP4ui, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexP4uiv)(GLenum, const GLuint *);
+#define CALL_VertexP4uiv(disp, parameters) \
+ (* GET_VertexP4uiv(disp)) parameters
+static INLINE _glptr_VertexP4uiv GET_VertexP4uiv(struct _glapi_table *disp) {
+ return (_glptr_VertexP4uiv) (GET_by_offset(disp, _gloffset_VertexP4uiv));
+}
+
+static INLINE void SET_VertexP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexP4uiv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindTransformFeedback)(GLenum, GLuint);
+#define CALL_BindTransformFeedback(disp, parameters) \
+ (* GET_BindTransformFeedback(disp)) parameters
+static INLINE _glptr_BindTransformFeedback GET_BindTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_BindTransformFeedback) (GET_by_offset(disp, _gloffset_BindTransformFeedback));
+}
+
+static INLINE void SET_BindTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_BindTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks)(GLsizei, const GLuint *);
+#define CALL_DeleteTransformFeedbacks(disp, parameters) \
+ (* GET_DeleteTransformFeedbacks(disp)) parameters
+static INLINE _glptr_DeleteTransformFeedbacks GET_DeleteTransformFeedbacks(struct _glapi_table *disp) {
+ return (_glptr_DeleteTransformFeedbacks) (GET_by_offset(disp, _gloffset_DeleteTransformFeedbacks));
+}
+
+static INLINE void SET_DeleteTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback)(GLenum, GLuint);
+#define CALL_DrawTransformFeedback(disp, parameters) \
+ (* GET_DrawTransformFeedback(disp)) parameters
+static INLINE _glptr_DrawTransformFeedback GET_DrawTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_DrawTransformFeedback) (GET_by_offset(disp, _gloffset_DrawTransformFeedback));
+}
+
+static INLINE void SET_DrawTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks)(GLsizei, GLuint *);
+#define CALL_GenTransformFeedbacks(disp, parameters) \
+ (* GET_GenTransformFeedbacks(disp)) parameters
+static INLINE _glptr_GenTransformFeedbacks GET_GenTransformFeedbacks(struct _glapi_table *disp) {
+ return (_glptr_GenTransformFeedbacks) (GET_by_offset(disp, _gloffset_GenTransformFeedbacks));
+}
+
+static INLINE void SET_GenTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_IsTransformFeedback)(GLuint);
+#define CALL_IsTransformFeedback(disp, parameters) \
+ (* GET_IsTransformFeedback(disp)) parameters
+static INLINE _glptr_IsTransformFeedback GET_IsTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_IsTransformFeedback) (GET_by_offset(disp, _gloffset_IsTransformFeedback));
+}
+
+static INLINE void SET_IsTransformFeedback(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_IsTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback)(void);
+#define CALL_PauseTransformFeedback(disp, parameters) \
+ (* GET_PauseTransformFeedback(disp)) parameters
+static INLINE _glptr_PauseTransformFeedback GET_PauseTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_PauseTransformFeedback) (GET_by_offset(disp, _gloffset_PauseTransformFeedback));
+}
+
+static INLINE void SET_PauseTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback)(void);
+#define CALL_ResumeTransformFeedback(disp, parameters) \
+ (* GET_ResumeTransformFeedback(disp)) parameters
+static INLINE _glptr_ResumeTransformFeedback GET_ResumeTransformFeedback(struct _glapi_table *disp) {
+ return (_glptr_ResumeTransformFeedback) (GET_by_offset(disp, _gloffset_ResumeTransformFeedback));
+}
+
+static INLINE void SET_ResumeTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BeginQueryIndexed)(GLenum, GLuint, GLuint);
+#define CALL_BeginQueryIndexed(disp, parameters) \
+ (* GET_BeginQueryIndexed(disp)) parameters
+static INLINE _glptr_BeginQueryIndexed GET_BeginQueryIndexed(struct _glapi_table *disp) {
+ return (_glptr_BeginQueryIndexed) (GET_by_offset(disp, _gloffset_BeginQueryIndexed));
+}
+
+static INLINE void SET_BeginQueryIndexed(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_BeginQueryIndexed, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackStream)(GLenum, GLuint, GLuint);
+#define CALL_DrawTransformFeedbackStream(disp, parameters) \
+ (* GET_DrawTransformFeedbackStream(disp)) parameters
+static INLINE _glptr_DrawTransformFeedbackStream GET_DrawTransformFeedbackStream(struct _glapi_table *disp) {
+ return (_glptr_DrawTransformFeedbackStream) (GET_by_offset(disp, _gloffset_DrawTransformFeedbackStream));
+}
+
+static INLINE void SET_DrawTransformFeedbackStream(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_DrawTransformFeedbackStream, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndQueryIndexed)(GLenum, GLuint);
+#define CALL_EndQueryIndexed(disp, parameters) \
+ (* GET_EndQueryIndexed(disp)) parameters
+static INLINE _glptr_EndQueryIndexed GET_EndQueryIndexed(struct _glapi_table *disp) {
+ return (_glptr_EndQueryIndexed) (GET_by_offset(disp, _gloffset_EndQueryIndexed));
+}
+
+static INLINE void SET_EndQueryIndexed(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_EndQueryIndexed, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetQueryIndexediv)(GLenum, GLuint, GLenum, GLint *);
+#define CALL_GetQueryIndexediv(disp, parameters) \
+ (* GET_GetQueryIndexediv(disp)) parameters
+static INLINE _glptr_GetQueryIndexediv GET_GetQueryIndexediv(struct _glapi_table *disp) {
+ return (_glptr_GetQueryIndexediv) (GET_by_offset(disp, _gloffset_GetQueryIndexediv));
+}
+
+static INLINE void SET_GetQueryIndexediv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetQueryIndexediv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf);
+#define CALL_ClearDepthf(disp, parameters) \
+ (* GET_ClearDepthf(disp)) parameters
+static INLINE _glptr_ClearDepthf GET_ClearDepthf(struct _glapi_table *disp) {
+ return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf));
+}
+
+static INLINE void SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf)) {
+ SET_by_offset(disp, _gloffset_ClearDepthf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf);
+#define CALL_DepthRangef(disp, parameters) \
+ (* GET_DepthRangef(disp)) parameters
+static INLINE _glptr_DepthRangef GET_DepthRangef(struct _glapi_table *disp) {
+ return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef));
+}
+
+static INLINE void SET_DepthRangef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf)) {
+ SET_by_offset(disp, _gloffset_DepthRangef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *);
+#define CALL_GetShaderPrecisionFormat(disp, parameters) \
+ (* GET_GetShaderPrecisionFormat(disp)) parameters
+static INLINE _glptr_GetShaderPrecisionFormat GET_GetShaderPrecisionFormat(struct _glapi_table *disp) {
+ return (_glptr_GetShaderPrecisionFormat) (GET_by_offset(disp, _gloffset_GetShaderPrecisionFormat));
+}
+
+static INLINE void SET_GetShaderPrecisionFormat(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler)(void);
+#define CALL_ReleaseShaderCompiler(disp, parameters) \
+ (* GET_ReleaseShaderCompiler(disp)) parameters
+static INLINE _glptr_ReleaseShaderCompiler GET_ReleaseShaderCompiler(struct _glapi_table *disp) {
+ return (_glptr_ReleaseShaderCompiler) (GET_by_offset(disp, _gloffset_ReleaseShaderCompiler));
+}
+
+static INLINE void SET_ReleaseShaderCompiler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei);
+#define CALL_ShaderBinary(disp, parameters) \
+ (* GET_ShaderBinary(disp)) parameters
+static INLINE _glptr_ShaderBinary GET_ShaderBinary(struct _glapi_table *disp) {
+ return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary));
+}
+
+static INLINE void SET_ShaderBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei)) {
+ SET_by_offset(disp, _gloffset_ShaderBinary, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramBinary)(GLuint, GLsizei, GLsizei *, GLenum *, GLvoid *);
+#define CALL_GetProgramBinary(disp, parameters) \
+ (* GET_GetProgramBinary(disp)) parameters
+static INLINE _glptr_GetProgramBinary GET_GetProgramBinary(struct _glapi_table *disp) {
+ return (_glptr_GetProgramBinary) (GET_by_offset(disp, _gloffset_GetProgramBinary));
+}
+
+static INLINE void SET_GetProgramBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLenum *, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetProgramBinary, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramBinary)(GLuint, GLenum, const GLvoid *, GLsizei);
+#define CALL_ProgramBinary(disp, parameters) \
+ (* GET_ProgramBinary(disp)) parameters
+static INLINE _glptr_ProgramBinary GET_ProgramBinary(struct _glapi_table *disp) {
+ return (_glptr_ProgramBinary) (GET_by_offset(disp, _gloffset_ProgramBinary));
+}
+
+static INLINE void SET_ProgramBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLvoid *, GLsizei)) {
+ SET_by_offset(disp, _gloffset_ProgramBinary, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramParameteri)(GLuint, GLenum, GLint);
+#define CALL_ProgramParameteri(disp, parameters) \
+ (* GET_ProgramParameteri(disp)) parameters
+static INLINE _glptr_ProgramParameteri GET_ProgramParameteri(struct _glapi_table *disp) {
+ return (_glptr_ProgramParameteri) (GET_by_offset(disp, _gloffset_ProgramParameteri));
+}
+
+static INLINE void SET_ProgramParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_ProgramParameteri, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DebugMessageCallbackARB)(GLDEBUGPROCARB, const GLvoid *);
+#define CALL_DebugMessageCallbackARB(disp, parameters) \
+ (* GET_DebugMessageCallbackARB(disp)) parameters
+static INLINE _glptr_DebugMessageCallbackARB GET_DebugMessageCallbackARB(struct _glapi_table *disp) {
+ return (_glptr_DebugMessageCallbackARB) (GET_by_offset(disp, _gloffset_DebugMessageCallbackARB));
+}
+
+static INLINE void SET_DebugMessageCallbackARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLDEBUGPROCARB, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_DebugMessageCallbackARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DebugMessageControlARB)(GLenum, GLenum, GLenum, GLsizei, const GLuint *, GLboolean);
+#define CALL_DebugMessageControlARB(disp, parameters) \
+ (* GET_DebugMessageControlARB(disp)) parameters
+static INLINE _glptr_DebugMessageControlARB GET_DebugMessageControlARB(struct _glapi_table *disp) {
+ return (_glptr_DebugMessageControlARB) (GET_by_offset(disp, _gloffset_DebugMessageControlARB));
+}
+
+static INLINE void SET_DebugMessageControlARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, const GLuint *, GLboolean)) {
+ SET_by_offset(disp, _gloffset_DebugMessageControlARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DebugMessageInsertARB)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLcharARB *);
+#define CALL_DebugMessageInsertARB(disp, parameters) \
+ (* GET_DebugMessageInsertARB(disp)) parameters
+static INLINE _glptr_DebugMessageInsertARB GET_DebugMessageInsertARB(struct _glapi_table *disp) {
+ return (_glptr_DebugMessageInsertARB) (GET_by_offset(disp, _gloffset_DebugMessageInsertARB));
+}
+
+static INLINE void SET_DebugMessageInsertARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLcharARB *)) {
+ SET_by_offset(disp, _gloffset_DebugMessageInsertARB, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_GetDebugMessageLogARB)(GLuint, GLsizei, GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLcharARB *);
+#define CALL_GetDebugMessageLogARB(disp, parameters) \
+ (* GET_GetDebugMessageLogARB(disp)) parameters
+static INLINE _glptr_GetDebugMessageLogARB GET_GetDebugMessageLogARB(struct _glapi_table *disp) {
+ return (_glptr_GetDebugMessageLogARB) (GET_by_offset(disp, _gloffset_GetDebugMessageLogARB));
+}
+
+static INLINE void SET_GetDebugMessageLogARB(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint, GLsizei, GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLcharARB *)) {
+ SET_by_offset(disp, _gloffset_GetDebugMessageLogARB, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_GetGraphicsResetStatusARB)(void);
+#define CALL_GetGraphicsResetStatusARB(disp, parameters) \
+ (* GET_GetGraphicsResetStatusARB(disp)) parameters
+static INLINE _glptr_GetGraphicsResetStatusARB GET_GetGraphicsResetStatusARB(struct _glapi_table *disp) {
+ return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB));
+}
+
+static INLINE void SET_GetGraphicsResetStatusARB(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_GetnColorTableARB(disp, parameters) \
+ (* GET_GetnColorTableARB(disp)) parameters
+static INLINE _glptr_GetnColorTableARB GET_GetnColorTableARB(struct _glapi_table *disp) {
+ return (_glptr_GetnColorTableARB) (GET_by_offset(disp, _gloffset_GetnColorTableARB));
+}
+
+static INLINE void SET_GetnColorTableARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnColorTableARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *);
+#define CALL_GetnCompressedTexImageARB(disp, parameters) \
+ (* GET_GetnCompressedTexImageARB(disp)) parameters
+static INLINE _glptr_GetnCompressedTexImageARB GET_GetnCompressedTexImageARB(struct _glapi_table *disp) {
+ return (_glptr_GetnCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetnCompressedTexImageARB));
+}
+
+static INLINE void SET_GetnCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_GetnConvolutionFilterARB(disp, parameters) \
+ (* GET_GetnConvolutionFilterARB(disp)) parameters
+static INLINE _glptr_GetnConvolutionFilterARB GET_GetnConvolutionFilterARB(struct _glapi_table *disp) {
+ return (_glptr_GetnConvolutionFilterARB) (GET_by_offset(disp, _gloffset_GetnConvolutionFilterARB));
+}
+
+static INLINE void SET_GetnConvolutionFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnHistogramARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_GetnHistogramARB(disp, parameters) \
+ (* GET_GetnHistogramARB(disp)) parameters
+static INLINE _glptr_GetnHistogramARB GET_GetnHistogramARB(struct _glapi_table *disp) {
+ return (_glptr_GetnHistogramARB) (GET_by_offset(disp, _gloffset_GetnHistogramARB));
+}
+
+static INLINE void SET_GetnHistogramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnHistogramARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnMapdvARB)(GLenum, GLenum, GLsizei, GLdouble *);
+#define CALL_GetnMapdvARB(disp, parameters) \
+ (* GET_GetnMapdvARB(disp)) parameters
+static INLINE _glptr_GetnMapdvARB GET_GetnMapdvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB));
+}
+
+static INLINE void SET_GetnMapdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetnMapdvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnMapfvARB)(GLenum, GLenum, GLsizei, GLfloat *);
+#define CALL_GetnMapfvARB(disp, parameters) \
+ (* GET_GetnMapfvARB(disp)) parameters
+static INLINE _glptr_GetnMapfvARB GET_GetnMapfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB));
+}
+
+static INLINE void SET_GetnMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetnMapfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnMapivARB)(GLenum, GLenum, GLsizei, GLint *);
+#define CALL_GetnMapivARB(disp, parameters) \
+ (* GET_GetnMapivARB(disp)) parameters
+static INLINE _glptr_GetnMapivARB GET_GetnMapivARB(struct _glapi_table *disp) {
+ return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB));
+}
+
+static INLINE void SET_GetnMapivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetnMapivARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_GetnMinmaxARB(disp, parameters) \
+ (* GET_GetnMinmaxARB(disp)) parameters
+static INLINE _glptr_GetnMinmaxARB GET_GetnMinmaxARB(struct _glapi_table *disp) {
+ return (_glptr_GetnMinmaxARB) (GET_by_offset(disp, _gloffset_GetnMinmaxARB));
+}
+
+static INLINE void SET_GetnMinmaxARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB)(GLenum, GLsizei, GLfloat *);
+#define CALL_GetnPixelMapfvARB(disp, parameters) \
+ (* GET_GetnPixelMapfvARB(disp)) parameters
+static INLINE _glptr_GetnPixelMapfvARB GET_GetnPixelMapfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnPixelMapfvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapfvARB));
+}
+
+static INLINE void SET_GetnPixelMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB)(GLenum, GLsizei, GLuint *);
+#define CALL_GetnPixelMapuivARB(disp, parameters) \
+ (* GET_GetnPixelMapuivARB(disp)) parameters
+static INLINE _glptr_GetnPixelMapuivARB GET_GetnPixelMapuivARB(struct _glapi_table *disp) {
+ return (_glptr_GetnPixelMapuivARB) (GET_by_offset(disp, _gloffset_GetnPixelMapuivARB));
+}
+
+static INLINE void SET_GetnPixelMapuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB)(GLenum, GLsizei, GLushort *);
+#define CALL_GetnPixelMapusvARB(disp, parameters) \
+ (* GET_GetnPixelMapusvARB(disp)) parameters
+static INLINE _glptr_GetnPixelMapusvARB GET_GetnPixelMapusvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnPixelMapusvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapusvARB));
+}
+
+static INLINE void SET_GetnPixelMapusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLushort *)) {
+ SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB)(GLsizei, GLubyte *);
+#define CALL_GetnPolygonStippleARB(disp, parameters) \
+ (* GET_GetnPolygonStippleARB(disp)) parameters
+static INLINE _glptr_GetnPolygonStippleARB GET_GetnPolygonStippleARB(struct _glapi_table *disp) {
+ return (_glptr_GetnPolygonStippleARB) (GET_by_offset(disp, _gloffset_GetnPolygonStippleARB));
+}
+
+static INLINE void SET_GetnPolygonStippleARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLubyte *)) {
+ SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *);
+#define CALL_GetnSeparableFilterARB(disp, parameters) \
+ (* GET_GetnSeparableFilterARB(disp)) parameters
+static INLINE _glptr_GetnSeparableFilterARB GET_GetnSeparableFilterARB(struct _glapi_table *disp) {
+ return (_glptr_GetnSeparableFilterARB) (GET_by_offset(disp, _gloffset_GetnSeparableFilterARB));
+}
+
+static INLINE void SET_GetnSeparableFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnTexImageARB)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_GetnTexImageARB(disp, parameters) \
+ (* GET_GetnTexImageARB(disp)) parameters
+static INLINE _glptr_GetnTexImageARB GET_GetnTexImageARB(struct _glapi_table *disp) {
+ return (_glptr_GetnTexImageARB) (GET_by_offset(disp, _gloffset_GetnTexImageARB));
+}
+
+static INLINE void SET_GetnTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_GetnTexImageARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB)(GLhandleARB, GLint, GLsizei, GLdouble *);
+#define CALL_GetnUniformdvARB(disp, parameters) \
+ (* GET_GetnUniformdvARB(disp)) parameters
+static INLINE _glptr_GetnUniformdvARB GET_GetnUniformdvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnUniformdvARB) (GET_by_offset(disp, _gloffset_GetnUniformdvARB));
+}
+
+static INLINE void SET_GetnUniformdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB)(GLhandleARB, GLint, GLsizei, GLfloat *);
+#define CALL_GetnUniformfvARB(disp, parameters) \
+ (* GET_GetnUniformfvARB(disp)) parameters
+static INLINE _glptr_GetnUniformfvARB GET_GetnUniformfvARB(struct _glapi_table *disp) {
+ return (_glptr_GetnUniformfvARB) (GET_by_offset(disp, _gloffset_GetnUniformfvARB));
+}
+
+static INLINE void SET_GetnUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnUniformivARB)(GLhandleARB, GLint, GLsizei, GLint *);
+#define CALL_GetnUniformivARB(disp, parameters) \
+ (* GET_GetnUniformivARB(disp)) parameters
+static INLINE _glptr_GetnUniformivARB GET_GetnUniformivARB(struct _glapi_table *disp) {
+ return (_glptr_GetnUniformivARB) (GET_by_offset(disp, _gloffset_GetnUniformivARB));
+}
+
+static INLINE void SET_GetnUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetnUniformivARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB)(GLhandleARB, GLint, GLsizei, GLuint *);
+#define CALL_GetnUniformuivARB(disp, parameters) \
+ (* GET_GetnUniformuivARB(disp)) parameters
+static INLINE _glptr_GetnUniformuivARB GET_GetnUniformuivARB(struct _glapi_table *disp) {
+ return (_glptr_GetnUniformuivARB) (GET_by_offset(disp, _gloffset_GetnUniformuivARB));
+}
+
+static INLINE void SET_GetnUniformuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *);
+#define CALL_ReadnPixelsARB(disp, parameters) \
+ (* GET_ReadnPixelsARB(disp)) parameters
+static INLINE _glptr_ReadnPixelsARB GET_ReadnPixelsARB(struct _glapi_table *disp) {
+ return (_glptr_ReadnPixelsARB) (GET_by_offset(disp, _gloffset_ReadnPixelsARB));
+}
+
+static INLINE void SET_ReadnPixelsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedBaseInstance)(GLenum, GLint, GLsizei, GLsizei, GLuint);
+#define CALL_DrawArraysInstancedBaseInstance(disp, parameters) \
+ (* GET_DrawArraysInstancedBaseInstance(disp)) parameters
+static INLINE _glptr_DrawArraysInstancedBaseInstance GET_DrawArraysInstancedBaseInstance(struct _glapi_table *disp) {
+ return (_glptr_DrawArraysInstancedBaseInstance) (GET_by_offset(disp, _gloffset_DrawArraysInstancedBaseInstance));
+}
+
+static INLINE void SET_DrawArraysInstancedBaseInstance(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLsizei, GLuint)) {
+ SET_by_offset(disp, _gloffset_DrawArraysInstancedBaseInstance, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseInstance)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLuint);
+#define CALL_DrawElementsInstancedBaseInstance(disp, parameters) \
+ (* GET_DrawElementsInstancedBaseInstance(disp)) parameters
+static INLINE _glptr_DrawElementsInstancedBaseInstance GET_DrawElementsInstancedBaseInstance(struct _glapi_table *disp) {
+ return (_glptr_DrawElementsInstancedBaseInstance) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseInstance));
+}
+
+static INLINE void SET_DrawElementsInstancedBaseInstance(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLuint)) {
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseInstance, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertexBaseInstance)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint, GLuint);
+#define CALL_DrawElementsInstancedBaseVertexBaseInstance(disp, parameters) \
+ (* GET_DrawElementsInstancedBaseVertexBaseInstance(disp)) parameters
+static INLINE _glptr_DrawElementsInstancedBaseVertexBaseInstance GET_DrawElementsInstancedBaseVertexBaseInstance(struct _glapi_table *disp) {
+ return (_glptr_DrawElementsInstancedBaseVertexBaseInstance) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertexBaseInstance));
+}
+
+static INLINE void SET_DrawElementsInstancedBaseVertexBaseInstance(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint, GLuint)) {
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertexBaseInstance, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackInstanced)(GLenum, GLuint, GLsizei);
+#define CALL_DrawTransformFeedbackInstanced(disp, parameters) \
+ (* GET_DrawTransformFeedbackInstanced(disp)) parameters
+static INLINE _glptr_DrawTransformFeedbackInstanced GET_DrawTransformFeedbackInstanced(struct _glapi_table *disp) {
+ return (_glptr_DrawTransformFeedbackInstanced) (GET_by_offset(disp, _gloffset_DrawTransformFeedbackInstanced));
+}
+
+static INLINE void SET_DrawTransformFeedbackInstanced(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DrawTransformFeedbackInstanced, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTransformFeedbackStreamInstanced)(GLenum, GLuint, GLuint, GLsizei);
+#define CALL_DrawTransformFeedbackStreamInstanced(disp, parameters) \
+ (* GET_DrawTransformFeedbackStreamInstanced(disp)) parameters
+static INLINE _glptr_DrawTransformFeedbackStreamInstanced GET_DrawTransformFeedbackStreamInstanced(struct _glapi_table *disp) {
+ return (_glptr_DrawTransformFeedbackStreamInstanced) (GET_by_offset(disp, _gloffset_DrawTransformFeedbackStreamInstanced));
+}
+
+static INLINE void SET_DrawTransformFeedbackStreamInstanced(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_DrawTransformFeedbackStreamInstanced, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetInternalformativ)(GLenum, GLenum, GLenum, GLsizei, GLint *);
+#define CALL_GetInternalformativ(disp, parameters) \
+ (* GET_GetInternalformativ(disp)) parameters
+static INLINE _glptr_GetInternalformativ GET_GetInternalformativ(struct _glapi_table *disp) {
+ return (_glptr_GetInternalformativ) (GET_by_offset(disp, _gloffset_GetInternalformativ));
+}
+
+static INLINE void SET_GetInternalformativ(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetInternalformativ, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexStorage1D)(GLenum, GLsizei, GLenum, GLsizei);
+#define CALL_TexStorage1D(disp, parameters) \
+ (* GET_TexStorage1D(disp)) parameters
+static INLINE _glptr_TexStorage1D GET_TexStorage1D(struct _glapi_table *disp) {
+ return (_glptr_TexStorage1D) (GET_by_offset(disp, _gloffset_TexStorage1D));
+}
+
+static INLINE void SET_TexStorage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TexStorage1D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexStorage2D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+#define CALL_TexStorage2D(disp, parameters) \
+ (* GET_TexStorage2D(disp)) parameters
+static INLINE _glptr_TexStorage2D GET_TexStorage2D(struct _glapi_table *disp) {
+ return (_glptr_TexStorage2D) (GET_by_offset(disp, _gloffset_TexStorage2D));
+}
+
+static INLINE void SET_TexStorage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TexStorage2D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexStorage3D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
+#define CALL_TexStorage3D(disp, parameters) \
+ (* GET_TexStorage3D(disp)) parameters
+static INLINE _glptr_TexStorage3D GET_TexStorage3D(struct _glapi_table *disp) {
+ return (_glptr_TexStorage3D) (GET_by_offset(disp, _gloffset_TexStorage3D));
+}
+
+static INLINE void SET_TexStorage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TexStorage3D, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TextureStorage1DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei);
+#define CALL_TextureStorage1DEXT(disp, parameters) \
+ (* GET_TextureStorage1DEXT(disp)) parameters
+static INLINE _glptr_TextureStorage1DEXT GET_TextureStorage1DEXT(struct _glapi_table *disp) {
+ return (_glptr_TextureStorage1DEXT) (GET_by_offset(disp, _gloffset_TextureStorage1DEXT));
+}
+
+static INLINE void SET_TextureStorage1DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TextureStorage1DEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TextureStorage2DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+#define CALL_TextureStorage2DEXT(disp, parameters) \
+ (* GET_TextureStorage2DEXT(disp)) parameters
+static INLINE _glptr_TextureStorage2DEXT GET_TextureStorage2DEXT(struct _glapi_table *disp) {
+ return (_glptr_TextureStorage2DEXT) (GET_by_offset(disp, _gloffset_TextureStorage2DEXT));
+}
+
+static INLINE void SET_TextureStorage2DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TextureStorage2DEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TextureStorage3DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
+#define CALL_TextureStorage3DEXT(disp, parameters) \
+ (* GET_TextureStorage3DEXT(disp)) parameters
+static INLINE _glptr_TextureStorage3DEXT GET_TextureStorage3DEXT(struct _glapi_table *disp) {
+ return (_glptr_TextureStorage3DEXT) (GET_by_offset(disp, _gloffset_TextureStorage3DEXT));
+}
+
+static INLINE void SET_TextureStorage3DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_TextureStorage3DEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexBufferRange)(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr);
+#define CALL_TexBufferRange(disp, parameters) \
+ (* GET_TexBufferRange(disp)) parameters
+static INLINE _glptr_TexBufferRange GET_TexBufferRange(struct _glapi_table *disp) {
+ return (_glptr_TexBufferRange) (GET_by_offset(disp, _gloffset_TexBufferRange));
+}
+
+static INLINE void SET_TexBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_TexBufferRange, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateBufferData)(GLuint);
+#define CALL_InvalidateBufferData(disp, parameters) \
+ (* GET_InvalidateBufferData(disp)) parameters
+static INLINE _glptr_InvalidateBufferData GET_InvalidateBufferData(struct _glapi_table *disp) {
+ return (_glptr_InvalidateBufferData) (GET_by_offset(disp, _gloffset_InvalidateBufferData));
+}
+
+static INLINE void SET_InvalidateBufferData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_InvalidateBufferData, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateBufferSubData)(GLuint, GLintptr, GLsizeiptr);
+#define CALL_InvalidateBufferSubData(disp, parameters) \
+ (* GET_InvalidateBufferSubData(disp)) parameters
+static INLINE _glptr_InvalidateBufferSubData GET_InvalidateBufferSubData(struct _glapi_table *disp) {
+ return (_glptr_InvalidateBufferSubData) (GET_by_offset(disp, _gloffset_InvalidateBufferSubData));
+}
+
+static INLINE void SET_InvalidateBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_InvalidateBufferSubData, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateFramebuffer)(GLenum, GLsizei, const GLenum *);
+#define CALL_InvalidateFramebuffer(disp, parameters) \
+ (* GET_InvalidateFramebuffer(disp)) parameters
+static INLINE _glptr_InvalidateFramebuffer GET_InvalidateFramebuffer(struct _glapi_table *disp) {
+ return (_glptr_InvalidateFramebuffer) (GET_by_offset(disp, _gloffset_InvalidateFramebuffer));
+}
+
+static INLINE void SET_InvalidateFramebuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLenum *)) {
+ SET_by_offset(disp, _gloffset_InvalidateFramebuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateSubFramebuffer)(GLenum, GLsizei, const GLenum *, GLint, GLint, GLsizei, GLsizei);
+#define CALL_InvalidateSubFramebuffer(disp, parameters) \
+ (* GET_InvalidateSubFramebuffer(disp)) parameters
+static INLINE _glptr_InvalidateSubFramebuffer GET_InvalidateSubFramebuffer(struct _glapi_table *disp) {
+ return (_glptr_InvalidateSubFramebuffer) (GET_by_offset(disp, _gloffset_InvalidateSubFramebuffer));
+}
+
+static INLINE void SET_InvalidateSubFramebuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLenum *, GLint, GLint, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_InvalidateSubFramebuffer, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateTexImage)(GLuint, GLint);
+#define CALL_InvalidateTexImage(disp, parameters) \
+ (* GET_InvalidateTexImage(disp)) parameters
+static INLINE _glptr_InvalidateTexImage GET_InvalidateTexImage(struct _glapi_table *disp) {
+ return (_glptr_InvalidateTexImage) (GET_by_offset(disp, _gloffset_InvalidateTexImage));
+}
+
+static INLINE void SET_InvalidateTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint)) {
+ SET_by_offset(disp, _gloffset_InvalidateTexImage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_InvalidateTexSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei);
+#define CALL_InvalidateTexSubImage(disp, parameters) \
+ (* GET_InvalidateTexSubImage(disp)) parameters
+static INLINE _glptr_InvalidateTexSubImage GET_InvalidateTexSubImage(struct _glapi_table *disp) {
+ return (_glptr_InvalidateTexSubImage) (GET_by_offset(disp, _gloffset_InvalidateTexSubImage));
+}
+
+static INLINE void SET_InvalidateTexSubImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei)) {
+ SET_by_offset(disp, _gloffset_InvalidateTexSubImage, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT)(GLfloat, GLfloat);
+#define CALL_PolygonOffsetEXT(disp, parameters) \
+ (* GET_PolygonOffsetEXT(disp)) parameters
+static INLINE _glptr_PolygonOffsetEXT GET_PolygonOffsetEXT(struct _glapi_table *disp) {
+ return (_glptr_PolygonOffsetEXT) (GET_by_offset(disp, _gloffset_PolygonOffsetEXT));
+}
+
+static INLINE void SET_PolygonOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexfOES)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_DrawTexfOES(disp, parameters) \
+ (* GET_DrawTexfOES(disp)) parameters
+static INLINE _glptr_DrawTexfOES GET_DrawTexfOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexfOES) (GET_by_offset(disp, _gloffset_DrawTexfOES));
+}
+
+static INLINE void SET_DrawTexfOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_DrawTexfOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexfvOES)(const GLfloat *);
+#define CALL_DrawTexfvOES(disp, parameters) \
+ (* GET_DrawTexfvOES(disp)) parameters
+static INLINE _glptr_DrawTexfvOES GET_DrawTexfvOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexfvOES) (GET_by_offset(disp, _gloffset_DrawTexfvOES));
+}
+
+static INLINE void SET_DrawTexfvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_DrawTexfvOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexiOES)(GLint, GLint, GLint, GLint, GLint);
+#define CALL_DrawTexiOES(disp, parameters) \
+ (* GET_DrawTexiOES(disp)) parameters
+static INLINE _glptr_DrawTexiOES GET_DrawTexiOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexiOES) (GET_by_offset(disp, _gloffset_DrawTexiOES));
+}
+
+static INLINE void SET_DrawTexiOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_DrawTexiOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexivOES)(const GLint *);
+#define CALL_DrawTexivOES(disp, parameters) \
+ (* GET_DrawTexivOES(disp)) parameters
+static INLINE _glptr_DrawTexivOES GET_DrawTexivOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexivOES) (GET_by_offset(disp, _gloffset_DrawTexivOES));
+}
+
+static INLINE void SET_DrawTexivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_DrawTexivOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexsOES)(GLshort, GLshort, GLshort, GLshort, GLshort);
+#define CALL_DrawTexsOES(disp, parameters) \
+ (* GET_DrawTexsOES(disp)) parameters
+static INLINE _glptr_DrawTexsOES GET_DrawTexsOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexsOES) (GET_by_offset(disp, _gloffset_DrawTexsOES));
+}
+
+static INLINE void SET_DrawTexsOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_DrawTexsOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexsvOES)(const GLshort *);
+#define CALL_DrawTexsvOES(disp, parameters) \
+ (* GET_DrawTexsvOES(disp)) parameters
+static INLINE _glptr_DrawTexsvOES GET_DrawTexsvOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexsvOES) (GET_by_offset(disp, _gloffset_DrawTexsvOES));
+}
+
+static INLINE void SET_DrawTexsvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_DrawTexsvOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexxOES)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_DrawTexxOES(disp, parameters) \
+ (* GET_DrawTexxOES(disp)) parameters
+static INLINE _glptr_DrawTexxOES GET_DrawTexxOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexxOES) (GET_by_offset(disp, _gloffset_DrawTexxOES));
+}
+
+static INLINE void SET_DrawTexxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_DrawTexxOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawTexxvOES)(const GLfixed *);
+#define CALL_DrawTexxvOES(disp, parameters) \
+ (* GET_DrawTexxvOES(disp)) parameters
+static INLINE _glptr_DrawTexxvOES GET_DrawTexxvOES(struct _glapi_table *disp) {
+ return (_glptr_DrawTexxvOES) (GET_by_offset(disp, _gloffset_DrawTexxvOES));
+}
+
+static INLINE void SET_DrawTexxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_DrawTexxvOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointSizePointerOES)(GLenum, GLsizei, const GLvoid *);
+#define CALL_PointSizePointerOES(disp, parameters) \
+ (* GET_PointSizePointerOES(disp)) parameters
+static INLINE _glptr_PointSizePointerOES GET_PointSizePointerOES(struct _glapi_table *disp) {
+ return (_glptr_PointSizePointerOES) (GET_by_offset(disp, _gloffset_PointSizePointerOES));
+}
+
+static INLINE void SET_PointSizePointerOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_PointSizePointerOES, fn);
+}
+
+typedef GLbitfield (GLAPIENTRYP _glptr_QueryMatrixxOES)(GLfixed *, GLint *);
+#define CALL_QueryMatrixxOES(disp, parameters) \
+ (* GET_QueryMatrixxOES(disp)) parameters
+static INLINE _glptr_QueryMatrixxOES GET_QueryMatrixxOES(struct _glapi_table *disp) {
+ return (_glptr_QueryMatrixxOES) (GET_by_offset(disp, _gloffset_QueryMatrixxOES));
+}
+
+static INLINE void SET_QueryMatrixxOES(struct _glapi_table *disp, GLbitfield (GLAPIENTRYP fn)(GLfixed *, GLint *)) {
+ SET_by_offset(disp, _gloffset_QueryMatrixxOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS)(GLclampf, GLboolean);
+#define CALL_SampleMaskSGIS(disp, parameters) \
+ (* GET_SampleMaskSGIS(disp)) parameters
+static INLINE _glptr_SampleMaskSGIS GET_SampleMaskSGIS(struct _glapi_table *disp) {
+ return (_glptr_SampleMaskSGIS) (GET_by_offset(disp, _gloffset_SampleMaskSGIS));
+}
+
+static INLINE void SET_SampleMaskSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
+ SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS)(GLenum);
+#define CALL_SamplePatternSGIS(disp, parameters) \
+ (* GET_SamplePatternSGIS(disp)) parameters
+static INLINE _glptr_SamplePatternSGIS GET_SamplePatternSGIS(struct _glapi_table *disp) {
+ return (_glptr_SamplePatternSGIS) (GET_by_offset(disp, _gloffset_SamplePatternSGIS));
+}
+
+static INLINE void SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+#define CALL_ColorPointerEXT(disp, parameters) \
+ (* GET_ColorPointerEXT(disp)) parameters
+static INLINE _glptr_ColorPointerEXT GET_ColorPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_ColorPointerEXT) (GET_by_offset(disp, _gloffset_ColorPointerEXT));
+}
+
+static INLINE void SET_ColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_ColorPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *);
+#define CALL_EdgeFlagPointerEXT(disp, parameters) \
+ (* GET_EdgeFlagPointerEXT(disp)) parameters
+static INLINE _glptr_EdgeFlagPointerEXT GET_EdgeFlagPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_EdgeFlagPointerEXT) (GET_by_offset(disp, _gloffset_EdgeFlagPointerEXT));
+}
+
+static INLINE void SET_EdgeFlagPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, const GLboolean *)) {
+ SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_IndexPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
+#define CALL_IndexPointerEXT(disp, parameters) \
+ (* GET_IndexPointerEXT(disp)) parameters
+static INLINE _glptr_IndexPointerEXT GET_IndexPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_IndexPointerEXT) (GET_by_offset(disp, _gloffset_IndexPointerEXT));
+}
+
+static INLINE void SET_IndexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_IndexPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_NormalPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
+#define CALL_NormalPointerEXT(disp, parameters) \
+ (* GET_NormalPointerEXT(disp)) parameters
+static INLINE _glptr_NormalPointerEXT GET_NormalPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_NormalPointerEXT) (GET_by_offset(disp, _gloffset_NormalPointerEXT));
+}
+
+static INLINE void SET_NormalPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_NormalPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+#define CALL_TexCoordPointerEXT(disp, parameters) \
+ (* GET_TexCoordPointerEXT(disp)) parameters
+static INLINE _glptr_TexCoordPointerEXT GET_TexCoordPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_TexCoordPointerEXT) (GET_by_offset(disp, _gloffset_TexCoordPointerEXT));
+}
+
+static INLINE void SET_TexCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+#define CALL_VertexPointerEXT(disp, parameters) \
+ (* GET_VertexPointerEXT(disp)) parameters
+static INLINE _glptr_VertexPointerEXT GET_VertexPointerEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexPointerEXT) (GET_by_offset(disp, _gloffset_VertexPointerEXT));
+}
+
+static INLINE void SET_VertexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_VertexPointerEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DiscardFramebufferEXT)(GLenum, GLsizei, const GLenum *);
+#define CALL_DiscardFramebufferEXT(disp, parameters) \
+ (* GET_DiscardFramebufferEXT(disp)) parameters
+static INLINE _glptr_DiscardFramebufferEXT GET_DiscardFramebufferEXT(struct _glapi_table *disp) {
+ return (_glptr_DiscardFramebufferEXT) (GET_by_offset(disp, _gloffset_DiscardFramebufferEXT));
+}
+
+static INLINE void SET_DiscardFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLenum *)) {
+ SET_by_offset(disp, _gloffset_DiscardFramebufferEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LockArraysEXT)(GLint, GLsizei);
+#define CALL_LockArraysEXT(disp, parameters) \
+ (* GET_LockArraysEXT(disp)) parameters
+static INLINE _glptr_LockArraysEXT GET_LockArraysEXT(struct _glapi_table *disp) {
+ return (_glptr_LockArraysEXT) (GET_by_offset(disp, _gloffset_LockArraysEXT));
+}
+
+static INLINE void SET_LockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei)) {
+ SET_by_offset(disp, _gloffset_LockArraysEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT)(void);
+#define CALL_UnlockArraysEXT(disp, parameters) \
+ (* GET_UnlockArraysEXT(disp)) parameters
+static INLINE _glptr_UnlockArraysEXT GET_UnlockArraysEXT(struct _glapi_table *disp) {
+ return (_glptr_UnlockArraysEXT) (GET_by_offset(disp, _gloffset_UnlockArraysEXT));
+}
+
+static INLINE void SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT)(GLfloat, GLfloat, GLfloat);
+#define CALL_SecondaryColor3fEXT(disp, parameters) \
+ (* GET_SecondaryColor3fEXT(disp)) parameters
+static INLINE _glptr_SecondaryColor3fEXT GET_SecondaryColor3fEXT(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3fEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fEXT));
+}
+
+static INLINE void SET_SecondaryColor3fEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT)(const GLfloat *);
+#define CALL_SecondaryColor3fvEXT(disp, parameters) \
+ (* GET_SecondaryColor3fvEXT(disp)) parameters
+static INLINE _glptr_SecondaryColor3fvEXT GET_SecondaryColor3fvEXT(struct _glapi_table *disp) {
+ return (_glptr_SecondaryColor3fvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fvEXT));
+}
+
+static INLINE void SET_SecondaryColor3fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei);
+#define CALL_MultiDrawElementsEXT(disp, parameters) \
+ (* GET_MultiDrawElementsEXT(disp)) parameters
+static INLINE _glptr_MultiDrawElementsEXT GET_MultiDrawElementsEXT(struct _glapi_table *disp) {
+ return (_glptr_MultiDrawElementsEXT) (GET_by_offset(disp, _gloffset_MultiDrawElementsEXT));
+}
+
+static INLINE void SET_MultiDrawElementsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)) {
+ SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FogCoordfEXT)(GLfloat);
+#define CALL_FogCoordfEXT(disp, parameters) \
+ (* GET_FogCoordfEXT(disp)) parameters
+static INLINE _glptr_FogCoordfEXT GET_FogCoordfEXT(struct _glapi_table *disp) {
+ return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT));
+}
+
+static INLINE void SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
+ SET_by_offset(disp, _gloffset_FogCoordfEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT)(const GLfloat *);
+#define CALL_FogCoordfvEXT(disp, parameters) \
+ (* GET_FogCoordfvEXT(disp)) parameters
+static INLINE _glptr_FogCoordfvEXT GET_FogCoordfvEXT(struct _glapi_table *disp) {
+ return (_glptr_FogCoordfvEXT) (GET_by_offset(disp, _gloffset_FogCoordfvEXT));
+}
+
+static INLINE void SET_FogCoordfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA)(void);
+#define CALL_ResizeBuffersMESA(disp, parameters) \
+ (* GET_ResizeBuffersMESA(disp)) parameters
+static INLINE _glptr_ResizeBuffersMESA GET_ResizeBuffersMESA(struct _glapi_table *disp) {
+ return (_glptr_ResizeBuffersMESA) (GET_by_offset(disp, _gloffset_ResizeBuffersMESA));
+}
+
+static INLINE void SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA)(GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_WindowPos4dMESA(disp, parameters) \
+ (* GET_WindowPos4dMESA(disp)) parameters
+static INLINE _glptr_WindowPos4dMESA GET_WindowPos4dMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4dMESA) (GET_by_offset(disp, _gloffset_WindowPos4dMESA));
+}
+
+static INLINE void SET_WindowPos4dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA)(const GLdouble *);
+#define CALL_WindowPos4dvMESA(disp, parameters) \
+ (* GET_WindowPos4dvMESA(disp)) parameters
+static INLINE _glptr_WindowPos4dvMESA GET_WindowPos4dvMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4dvMESA) (GET_by_offset(disp, _gloffset_WindowPos4dvMESA));
+}
+
+static INLINE void SET_WindowPos4dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA)(GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_WindowPos4fMESA(disp, parameters) \
+ (* GET_WindowPos4fMESA(disp)) parameters
+static INLINE _glptr_WindowPos4fMESA GET_WindowPos4fMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4fMESA) (GET_by_offset(disp, _gloffset_WindowPos4fMESA));
+}
+
+static INLINE void SET_WindowPos4fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA)(const GLfloat *);
+#define CALL_WindowPos4fvMESA(disp, parameters) \
+ (* GET_WindowPos4fvMESA(disp)) parameters
+static INLINE _glptr_WindowPos4fvMESA GET_WindowPos4fvMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4fvMESA) (GET_by_offset(disp, _gloffset_WindowPos4fvMESA));
+}
+
+static INLINE void SET_WindowPos4fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA)(GLint, GLint, GLint, GLint);
+#define CALL_WindowPos4iMESA(disp, parameters) \
+ (* GET_WindowPos4iMESA(disp)) parameters
+static INLINE _glptr_WindowPos4iMESA GET_WindowPos4iMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4iMESA) (GET_by_offset(disp, _gloffset_WindowPos4iMESA));
+}
+
+static INLINE void SET_WindowPos4iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA)(const GLint *);
+#define CALL_WindowPos4ivMESA(disp, parameters) \
+ (* GET_WindowPos4ivMESA(disp)) parameters
+static INLINE _glptr_WindowPos4ivMESA GET_WindowPos4ivMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4ivMESA) (GET_by_offset(disp, _gloffset_WindowPos4ivMESA));
+}
+
+static INLINE void SET_WindowPos4ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
+ SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort);
+#define CALL_WindowPos4sMESA(disp, parameters) \
+ (* GET_WindowPos4sMESA(disp)) parameters
+static INLINE _glptr_WindowPos4sMESA GET_WindowPos4sMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4sMESA) (GET_by_offset(disp, _gloffset_WindowPos4sMESA));
+}
+
+static INLINE void SET_WindowPos4sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA)(const GLshort *);
+#define CALL_WindowPos4svMESA(disp, parameters) \
+ (* GET_WindowPos4svMESA(disp)) parameters
+static INLINE _glptr_WindowPos4svMESA GET_WindowPos4svMESA(struct _glapi_table *disp) {
+ return (_glptr_WindowPos4svMESA) (GET_by_offset(disp, _gloffset_WindowPos4svMESA));
+}
+
+static INLINE void SET_WindowPos4svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
+ SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
+#define CALL_MultiModeDrawArraysIBM(disp, parameters) \
+ (* GET_MultiModeDrawArraysIBM(disp)) parameters
+static INLINE _glptr_MultiModeDrawArraysIBM GET_MultiModeDrawArraysIBM(struct _glapi_table *disp) {
+ return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM));
+}
+
+static INLINE void SET_MultiModeDrawArraysIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiModeDrawElementsIBM)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint);
+#define CALL_MultiModeDrawElementsIBM(disp, parameters) \
+ (* GET_MultiModeDrawElementsIBM(disp)) parameters
+static INLINE _glptr_MultiModeDrawElementsIBM GET_MultiModeDrawElementsIBM(struct _glapi_table *disp) {
+ return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM));
+}
+
+static INLINE void SET_MultiModeDrawElementsIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint)) {
+ SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn);
+}
+
+typedef GLboolean (GLAPIENTRYP _glptr_AreProgramsResidentNV)(GLsizei, const GLuint *, GLboolean *);
+#define CALL_AreProgramsResidentNV(disp, parameters) \
+ (* GET_AreProgramsResidentNV(disp)) parameters
+static INLINE _glptr_AreProgramsResidentNV GET_AreProgramsResidentNV(struct _glapi_table *disp) {
+ return (_glptr_AreProgramsResidentNV) (GET_by_offset(disp, _gloffset_AreProgramsResidentNV));
+}
+
+static INLINE void SET_AreProgramsResidentNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
+ SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV)(GLenum, GLuint, const GLfloat *);
+#define CALL_ExecuteProgramNV(disp, parameters) \
+ (* GET_ExecuteProgramNV(disp)) parameters
+static INLINE _glptr_ExecuteProgramNV GET_ExecuteProgramNV(struct _glapi_table *disp) {
+ return (_glptr_ExecuteProgramNV) (GET_by_offset(disp, _gloffset_ExecuteProgramNV));
+}
+
+static INLINE void SET_ExecuteProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV)(GLenum, GLuint, GLenum, GLdouble *);
+#define CALL_GetProgramParameterdvNV(disp, parameters) \
+ (* GET_GetProgramParameterdvNV(disp)) parameters
+static INLINE _glptr_GetProgramParameterdvNV GET_GetProgramParameterdvNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterdvNV));
+}
+
+static INLINE void SET_GetProgramParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV)(GLenum, GLuint, GLenum, GLfloat *);
+#define CALL_GetProgramParameterfvNV(disp, parameters) \
+ (* GET_GetProgramParameterfvNV(disp)) parameters
+static INLINE _glptr_GetProgramParameterfvNV GET_GetProgramParameterfvNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterfvNV));
+}
+
+static INLINE void SET_GetProgramParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramStringNV)(GLuint, GLenum, GLubyte *);
+#define CALL_GetProgramStringNV(disp, parameters) \
+ (* GET_GetProgramStringNV(disp)) parameters
+static INLINE _glptr_GetProgramStringNV GET_GetProgramStringNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramStringNV) (GET_by_offset(disp, _gloffset_GetProgramStringNV));
+}
+
+static INLINE void SET_GetProgramStringNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLubyte *)) {
+ SET_by_offset(disp, _gloffset_GetProgramStringNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramivNV)(GLuint, GLenum, GLint *);
+#define CALL_GetProgramivNV(disp, parameters) \
+ (* GET_GetProgramivNV(disp)) parameters
+static INLINE _glptr_GetProgramivNV GET_GetProgramivNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramivNV) (GET_by_offset(disp, _gloffset_GetProgramivNV));
+}
+
+static INLINE void SET_GetProgramivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetProgramivNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV)(GLenum, GLuint, GLenum, GLint *);
+#define CALL_GetTrackMatrixivNV(disp, parameters) \
+ (* GET_GetTrackMatrixivNV(disp)) parameters
+static INLINE _glptr_GetTrackMatrixivNV GET_GetTrackMatrixivNV(struct _glapi_table *disp) {
+ return (_glptr_GetTrackMatrixivNV) (GET_by_offset(disp, _gloffset_GetTrackMatrixivNV));
+}
+
+static INLINE void SET_GetTrackMatrixivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV)(GLuint, GLenum, GLdouble *);
+#define CALL_GetVertexAttribdvNV(disp, parameters) \
+ (* GET_GetVertexAttribdvNV(disp)) parameters
+static INLINE _glptr_GetVertexAttribdvNV GET_GetVertexAttribdvNV(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribdvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribdvNV));
+}
+
+static INLINE void SET_GetVertexAttribdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV)(GLuint, GLenum, GLfloat *);
+#define CALL_GetVertexAttribfvNV(disp, parameters) \
+ (* GET_GetVertexAttribfvNV(disp)) parameters
+static INLINE _glptr_GetVertexAttribfvNV GET_GetVertexAttribfvNV(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribfvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribfvNV));
+}
+
+static INLINE void SET_GetVertexAttribfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV)(GLuint, GLenum, GLint *);
+#define CALL_GetVertexAttribivNV(disp, parameters) \
+ (* GET_GetVertexAttribivNV(disp)) parameters
+static INLINE _glptr_GetVertexAttribivNV GET_GetVertexAttribivNV(struct _glapi_table *disp) {
+ return (_glptr_GetVertexAttribivNV) (GET_by_offset(disp, _gloffset_GetVertexAttribivNV));
+}
+
+static INLINE void SET_GetVertexAttribivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadProgramNV)(GLenum, GLuint, GLsizei, const GLubyte *);
+#define CALL_LoadProgramNV(disp, parameters) \
+ (* GET_LoadProgramNV(disp)) parameters
+static INLINE _glptr_LoadProgramNV GET_LoadProgramNV(struct _glapi_table *disp) {
+ return (_glptr_LoadProgramNV) (GET_by_offset(disp, _gloffset_LoadProgramNV));
+}
+
+static INLINE void SET_LoadProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_LoadProgramNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV)(GLenum, GLuint, GLsizei, const GLdouble *);
+#define CALL_ProgramParameters4dvNV(disp, parameters) \
+ (* GET_ProgramParameters4dvNV(disp)) parameters
+static INLINE _glptr_ProgramParameters4dvNV GET_ProgramParameters4dvNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramParameters4dvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4dvNV));
+}
+
+static INLINE void SET_ProgramParameters4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV)(GLenum, GLuint, GLsizei, const GLfloat *);
+#define CALL_ProgramParameters4fvNV(disp, parameters) \
+ (* GET_ProgramParameters4fvNV(disp)) parameters
+static INLINE _glptr_ProgramParameters4fvNV GET_ProgramParameters4fvNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramParameters4fvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4fvNV));
+}
+
+static INLINE void SET_ProgramParameters4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV)(GLsizei, const GLuint *);
+#define CALL_RequestResidentProgramsNV(disp, parameters) \
+ (* GET_RequestResidentProgramsNV(disp)) parameters
+static INLINE _glptr_RequestResidentProgramsNV GET_RequestResidentProgramsNV(struct _glapi_table *disp) {
+ return (_glptr_RequestResidentProgramsNV) (GET_by_offset(disp, _gloffset_RequestResidentProgramsNV));
+}
+
+static INLINE void SET_RequestResidentProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TrackMatrixNV)(GLenum, GLuint, GLenum, GLenum);
+#define CALL_TrackMatrixNV(disp, parameters) \
+ (* GET_TrackMatrixNV(disp)) parameters
+static INLINE _glptr_TrackMatrixNV GET_TrackMatrixNV(struct _glapi_table *disp) {
+ return (_glptr_TrackMatrixNV) (GET_by_offset(disp, _gloffset_TrackMatrixNV));
+}
+
+static INLINE void SET_TrackMatrixNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLenum)) {
+ SET_by_offset(disp, _gloffset_TrackMatrixNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV)(GLuint, GLdouble);
+#define CALL_VertexAttrib1dNV(disp, parameters) \
+ (* GET_VertexAttrib1dNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1dNV GET_VertexAttrib1dNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1dNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dNV));
+}
+
+static INLINE void SET_VertexAttrib1dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib1dvNV(disp, parameters) \
+ (* GET_VertexAttrib1dvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1dvNV GET_VertexAttrib1dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dvNV));
+}
+
+static INLINE void SET_VertexAttrib1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat);
+#define CALL_VertexAttrib1fNV(disp, parameters) \
+ (* GET_VertexAttrib1fNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1fNV GET_VertexAttrib1fNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1fNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fNV));
+}
+
+static INLINE void SET_VertexAttrib1fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib1fvNV(disp, parameters) \
+ (* GET_VertexAttrib1fvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1fvNV GET_VertexAttrib1fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fvNV));
+}
+
+static INLINE void SET_VertexAttrib1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV)(GLuint, GLshort);
+#define CALL_VertexAttrib1sNV(disp, parameters) \
+ (* GET_VertexAttrib1sNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1sNV GET_VertexAttrib1sNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1sNV) (GET_by_offset(disp, _gloffset_VertexAttrib1sNV));
+}
+
+static INLINE void SET_VertexAttrib1sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV)(GLuint, const GLshort *);
+#define CALL_VertexAttrib1svNV(disp, parameters) \
+ (* GET_VertexAttrib1svNV(disp)) parameters
+static INLINE _glptr_VertexAttrib1svNV GET_VertexAttrib1svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib1svNV) (GET_by_offset(disp, _gloffset_VertexAttrib1svNV));
+}
+
+static INLINE void SET_VertexAttrib1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV)(GLuint, GLdouble, GLdouble);
+#define CALL_VertexAttrib2dNV(disp, parameters) \
+ (* GET_VertexAttrib2dNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2dNV GET_VertexAttrib2dNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2dNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dNV));
+}
+
+static INLINE void SET_VertexAttrib2dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib2dvNV(disp, parameters) \
+ (* GET_VertexAttrib2dvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2dvNV GET_VertexAttrib2dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dvNV));
+}
+
+static INLINE void SET_VertexAttrib2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat);
+#define CALL_VertexAttrib2fNV(disp, parameters) \
+ (* GET_VertexAttrib2fNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2fNV GET_VertexAttrib2fNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2fNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fNV));
+}
+
+static INLINE void SET_VertexAttrib2fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib2fvNV(disp, parameters) \
+ (* GET_VertexAttrib2fvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2fvNV GET_VertexAttrib2fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fvNV));
+}
+
+static INLINE void SET_VertexAttrib2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV)(GLuint, GLshort, GLshort);
+#define CALL_VertexAttrib2sNV(disp, parameters) \
+ (* GET_VertexAttrib2sNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2sNV GET_VertexAttrib2sNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2sNV) (GET_by_offset(disp, _gloffset_VertexAttrib2sNV));
+}
+
+static INLINE void SET_VertexAttrib2sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV)(GLuint, const GLshort *);
+#define CALL_VertexAttrib2svNV(disp, parameters) \
+ (* GET_VertexAttrib2svNV(disp)) parameters
+static INLINE _glptr_VertexAttrib2svNV GET_VertexAttrib2svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib2svNV) (GET_by_offset(disp, _gloffset_VertexAttrib2svNV));
+}
+
+static INLINE void SET_VertexAttrib2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV)(GLuint, GLdouble, GLdouble, GLdouble);
+#define CALL_VertexAttrib3dNV(disp, parameters) \
+ (* GET_VertexAttrib3dNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3dNV GET_VertexAttrib3dNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3dNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dNV));
+}
+
+static INLINE void SET_VertexAttrib3dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib3dvNV(disp, parameters) \
+ (* GET_VertexAttrib3dvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3dvNV GET_VertexAttrib3dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dvNV));
+}
+
+static INLINE void SET_VertexAttrib3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat);
+#define CALL_VertexAttrib3fNV(disp, parameters) \
+ (* GET_VertexAttrib3fNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3fNV GET_VertexAttrib3fNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3fNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fNV));
+}
+
+static INLINE void SET_VertexAttrib3fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib3fvNV(disp, parameters) \
+ (* GET_VertexAttrib3fvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3fvNV GET_VertexAttrib3fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fvNV));
+}
+
+static INLINE void SET_VertexAttrib3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV)(GLuint, GLshort, GLshort, GLshort);
+#define CALL_VertexAttrib3sNV(disp, parameters) \
+ (* GET_VertexAttrib3sNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3sNV GET_VertexAttrib3sNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3sNV) (GET_by_offset(disp, _gloffset_VertexAttrib3sNV));
+}
+
+static INLINE void SET_VertexAttrib3sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV)(GLuint, const GLshort *);
+#define CALL_VertexAttrib3svNV(disp, parameters) \
+ (* GET_VertexAttrib3svNV(disp)) parameters
+static INLINE _glptr_VertexAttrib3svNV GET_VertexAttrib3svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib3svNV) (GET_by_offset(disp, _gloffset_VertexAttrib3svNV));
+}
+
+static INLINE void SET_VertexAttrib3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_VertexAttrib4dNV(disp, parameters) \
+ (* GET_VertexAttrib4dNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4dNV GET_VertexAttrib4dNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4dNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dNV));
+}
+
+static INLINE void SET_VertexAttrib4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *);
+#define CALL_VertexAttrib4dvNV(disp, parameters) \
+ (* GET_VertexAttrib4dvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4dvNV GET_VertexAttrib4dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dvNV));
+}
+
+static INLINE void SET_VertexAttrib4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_VertexAttrib4fNV(disp, parameters) \
+ (* GET_VertexAttrib4fNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4fNV GET_VertexAttrib4fNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4fNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fNV));
+}
+
+static INLINE void SET_VertexAttrib4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *);
+#define CALL_VertexAttrib4fvNV(disp, parameters) \
+ (* GET_VertexAttrib4fvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4fvNV GET_VertexAttrib4fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fvNV));
+}
+
+static INLINE void SET_VertexAttrib4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV)(GLuint, GLshort, GLshort, GLshort, GLshort);
+#define CALL_VertexAttrib4sNV(disp, parameters) \
+ (* GET_VertexAttrib4sNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4sNV GET_VertexAttrib4sNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4sNV) (GET_by_offset(disp, _gloffset_VertexAttrib4sNV));
+}
+
+static INLINE void SET_VertexAttrib4sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV)(GLuint, const GLshort *);
+#define CALL_VertexAttrib4svNV(disp, parameters) \
+ (* GET_VertexAttrib4svNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4svNV GET_VertexAttrib4svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4svNV) (GET_by_offset(disp, _gloffset_VertexAttrib4svNV));
+}
+
+static INLINE void SET_VertexAttrib4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
+#define CALL_VertexAttrib4ubNV(disp, parameters) \
+ (* GET_VertexAttrib4ubNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4ubNV GET_VertexAttrib4ubNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4ubNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubNV));
+}
+
+static INLINE void SET_VertexAttrib4ubNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV)(GLuint, const GLubyte *);
+#define CALL_VertexAttrib4ubvNV(disp, parameters) \
+ (* GET_VertexAttrib4ubvNV(disp)) parameters
+static INLINE _glptr_VertexAttrib4ubvNV GET_VertexAttrib4ubvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttrib4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvNV));
+}
+
+static INLINE void SET_VertexAttrib4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
+#define CALL_VertexAttribPointerNV(disp, parameters) \
+ (* GET_VertexAttribPointerNV(disp)) parameters
+static INLINE _glptr_VertexAttribPointerNV GET_VertexAttribPointerNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribPointerNV) (GET_by_offset(disp, _gloffset_VertexAttribPointerNV));
+}
+
+static INLINE void SET_VertexAttribPointerNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV)(GLuint, GLsizei, const GLdouble *);
+#define CALL_VertexAttribs1dvNV(disp, parameters) \
+ (* GET_VertexAttribs1dvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs1dvNV GET_VertexAttribs1dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs1dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1dvNV));
+}
+
+static INLINE void SET_VertexAttribs1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV)(GLuint, GLsizei, const GLfloat *);
+#define CALL_VertexAttribs1fvNV(disp, parameters) \
+ (* GET_VertexAttribs1fvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs1fvNV GET_VertexAttribs1fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs1fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1fvNV));
+}
+
+static INLINE void SET_VertexAttribs1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV)(GLuint, GLsizei, const GLshort *);
+#define CALL_VertexAttribs1svNV(disp, parameters) \
+ (* GET_VertexAttribs1svNV(disp)) parameters
+static INLINE _glptr_VertexAttribs1svNV GET_VertexAttribs1svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs1svNV) (GET_by_offset(disp, _gloffset_VertexAttribs1svNV));
+}
+
+static INLINE void SET_VertexAttribs1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV)(GLuint, GLsizei, const GLdouble *);
+#define CALL_VertexAttribs2dvNV(disp, parameters) \
+ (* GET_VertexAttribs2dvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs2dvNV GET_VertexAttribs2dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs2dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2dvNV));
+}
+
+static INLINE void SET_VertexAttribs2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV)(GLuint, GLsizei, const GLfloat *);
+#define CALL_VertexAttribs2fvNV(disp, parameters) \
+ (* GET_VertexAttribs2fvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs2fvNV GET_VertexAttribs2fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs2fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2fvNV));
+}
+
+static INLINE void SET_VertexAttribs2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV)(GLuint, GLsizei, const GLshort *);
+#define CALL_VertexAttribs2svNV(disp, parameters) \
+ (* GET_VertexAttribs2svNV(disp)) parameters
+static INLINE _glptr_VertexAttribs2svNV GET_VertexAttribs2svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs2svNV) (GET_by_offset(disp, _gloffset_VertexAttribs2svNV));
+}
+
+static INLINE void SET_VertexAttribs2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV)(GLuint, GLsizei, const GLdouble *);
+#define CALL_VertexAttribs3dvNV(disp, parameters) \
+ (* GET_VertexAttribs3dvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs3dvNV GET_VertexAttribs3dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs3dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3dvNV));
+}
+
+static INLINE void SET_VertexAttribs3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV)(GLuint, GLsizei, const GLfloat *);
+#define CALL_VertexAttribs3fvNV(disp, parameters) \
+ (* GET_VertexAttribs3fvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs3fvNV GET_VertexAttribs3fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs3fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3fvNV));
+}
+
+static INLINE void SET_VertexAttribs3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV)(GLuint, GLsizei, const GLshort *);
+#define CALL_VertexAttribs3svNV(disp, parameters) \
+ (* GET_VertexAttribs3svNV(disp)) parameters
+static INLINE _glptr_VertexAttribs3svNV GET_VertexAttribs3svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs3svNV) (GET_by_offset(disp, _gloffset_VertexAttribs3svNV));
+}
+
+static INLINE void SET_VertexAttribs3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV)(GLuint, GLsizei, const GLdouble *);
+#define CALL_VertexAttribs4dvNV(disp, parameters) \
+ (* GET_VertexAttribs4dvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs4dvNV GET_VertexAttribs4dvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs4dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4dvNV));
+}
+
+static INLINE void SET_VertexAttribs4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV)(GLuint, GLsizei, const GLfloat *);
+#define CALL_VertexAttribs4fvNV(disp, parameters) \
+ (* GET_VertexAttribs4fvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs4fvNV GET_VertexAttribs4fvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs4fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4fvNV));
+}
+
+static INLINE void SET_VertexAttribs4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV)(GLuint, GLsizei, const GLshort *);
+#define CALL_VertexAttribs4svNV(disp, parameters) \
+ (* GET_VertexAttribs4svNV(disp)) parameters
+static INLINE _glptr_VertexAttribs4svNV GET_VertexAttribs4svNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs4svNV) (GET_by_offset(disp, _gloffset_VertexAttribs4svNV));
+}
+
+static INLINE void SET_VertexAttribs4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *);
+#define CALL_VertexAttribs4ubvNV(disp, parameters) \
+ (* GET_VertexAttribs4ubvNV(disp)) parameters
+static INLINE _glptr_VertexAttribs4ubvNV GET_VertexAttribs4ubvNV(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribs4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4ubvNV));
+}
+
+static INLINE void SET_VertexAttribs4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI)(GLenum, GLfloat *);
+#define CALL_GetTexBumpParameterfvATI(disp, parameters) \
+ (* GET_GetTexBumpParameterfvATI(disp)) parameters
+static INLINE _glptr_GetTexBumpParameterfvATI GET_GetTexBumpParameterfvATI(struct _glapi_table *disp) {
+ return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI));
+}
+
+static INLINE void SET_GetTexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI)(GLenum, GLint *);
+#define CALL_GetTexBumpParameterivATI(disp, parameters) \
+ (* GET_GetTexBumpParameterivATI(disp)) parameters
+static INLINE _glptr_GetTexBumpParameterivATI GET_GetTexBumpParameterivATI(struct _glapi_table *disp) {
+ return (_glptr_GetTexBumpParameterivATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterivATI));
+}
+
+static INLINE void SET_GetTexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI)(GLenum, const GLfloat *);
+#define CALL_TexBumpParameterfvATI(disp, parameters) \
+ (* GET_TexBumpParameterfvATI(disp)) parameters
+static INLINE _glptr_TexBumpParameterfvATI GET_TexBumpParameterfvATI(struct _glapi_table *disp) {
+ return (_glptr_TexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_TexBumpParameterfvATI));
+}
+
+static INLINE void SET_TexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI)(GLenum, const GLint *);
+#define CALL_TexBumpParameterivATI(disp, parameters) \
+ (* GET_TexBumpParameterivATI(disp)) parameters
+static INLINE _glptr_TexBumpParameterivATI GET_TexBumpParameterivATI(struct _glapi_table *disp) {
+ return (_glptr_TexBumpParameterivATI) (GET_by_offset(disp, _gloffset_TexBumpParameterivATI));
+}
+
+static INLINE void SET_TexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
+ SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_AlphaFragmentOp1ATI(disp, parameters) \
+ (* GET_AlphaFragmentOp1ATI(disp)) parameters
+static INLINE _glptr_AlphaFragmentOp1ATI GET_AlphaFragmentOp1ATI(struct _glapi_table *disp) {
+ return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI));
+}
+
+static INLINE void SET_AlphaFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_AlphaFragmentOp2ATI(disp, parameters) \
+ (* GET_AlphaFragmentOp2ATI(disp)) parameters
+static INLINE _glptr_AlphaFragmentOp2ATI GET_AlphaFragmentOp2ATI(struct _glapi_table *disp) {
+ return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI));
+}
+
+static INLINE void SET_AlphaFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_AlphaFragmentOp3ATI(disp, parameters) \
+ (* GET_AlphaFragmentOp3ATI(disp)) parameters
+static INLINE _glptr_AlphaFragmentOp3ATI GET_AlphaFragmentOp3ATI(struct _glapi_table *disp) {
+ return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI));
+}
+
+static INLINE void SET_AlphaFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI)(void);
+#define CALL_BeginFragmentShaderATI(disp, parameters) \
+ (* GET_BeginFragmentShaderATI(disp)) parameters
+static INLINE _glptr_BeginFragmentShaderATI GET_BeginFragmentShaderATI(struct _glapi_table *disp) {
+ return (_glptr_BeginFragmentShaderATI) (GET_by_offset(disp, _gloffset_BeginFragmentShaderATI));
+}
+
+static INLINE void SET_BeginFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI)(GLuint);
+#define CALL_BindFragmentShaderATI(disp, parameters) \
+ (* GET_BindFragmentShaderATI(disp)) parameters
+static INLINE _glptr_BindFragmentShaderATI GET_BindFragmentShaderATI(struct _glapi_table *disp) {
+ return (_glptr_BindFragmentShaderATI) (GET_by_offset(disp, _gloffset_BindFragmentShaderATI));
+}
+
+static INLINE void SET_BindFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_ColorFragmentOp1ATI(disp, parameters) \
+ (* GET_ColorFragmentOp1ATI(disp)) parameters
+static INLINE _glptr_ColorFragmentOp1ATI GET_ColorFragmentOp1ATI(struct _glapi_table *disp) {
+ return (_glptr_ColorFragmentOp1ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp1ATI));
+}
+
+static INLINE void SET_ColorFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_ColorFragmentOp2ATI(disp, parameters) \
+ (* GET_ColorFragmentOp2ATI(disp)) parameters
+static INLINE _glptr_ColorFragmentOp2ATI GET_ColorFragmentOp2ATI(struct _glapi_table *disp) {
+ return (_glptr_ColorFragmentOp2ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp2ATI));
+}
+
+static INLINE void SET_ColorFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_ColorFragmentOp3ATI(disp, parameters) \
+ (* GET_ColorFragmentOp3ATI(disp)) parameters
+static INLINE _glptr_ColorFragmentOp3ATI GET_ColorFragmentOp3ATI(struct _glapi_table *disp) {
+ return (_glptr_ColorFragmentOp3ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp3ATI));
+}
+
+static INLINE void SET_ColorFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI)(GLuint);
+#define CALL_DeleteFragmentShaderATI(disp, parameters) \
+ (* GET_DeleteFragmentShaderATI(disp)) parameters
+static INLINE _glptr_DeleteFragmentShaderATI GET_DeleteFragmentShaderATI(struct _glapi_table *disp) {
+ return (_glptr_DeleteFragmentShaderATI) (GET_by_offset(disp, _gloffset_DeleteFragmentShaderATI));
+}
+
+static INLINE void SET_DeleteFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI)(void);
+#define CALL_EndFragmentShaderATI(disp, parameters) \
+ (* GET_EndFragmentShaderATI(disp)) parameters
+static INLINE _glptr_EndFragmentShaderATI GET_EndFragmentShaderATI(struct _glapi_table *disp) {
+ return (_glptr_EndFragmentShaderATI) (GET_by_offset(disp, _gloffset_EndFragmentShaderATI));
+}
+
+static INLINE void SET_EndFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_GenFragmentShadersATI)(GLuint);
+#define CALL_GenFragmentShadersATI(disp, parameters) \
+ (* GET_GenFragmentShadersATI(disp)) parameters
+static INLINE _glptr_GenFragmentShadersATI GET_GenFragmentShadersATI(struct _glapi_table *disp) {
+ return (_glptr_GenFragmentShadersATI) (GET_by_offset(disp, _gloffset_GenFragmentShadersATI));
+}
+
+static INLINE void SET_GenFragmentShadersATI(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PassTexCoordATI)(GLuint, GLuint, GLenum);
+#define CALL_PassTexCoordATI(disp, parameters) \
+ (* GET_PassTexCoordATI(disp)) parameters
+static INLINE _glptr_PassTexCoordATI GET_PassTexCoordATI(struct _glapi_table *disp) {
+ return (_glptr_PassTexCoordATI) (GET_by_offset(disp, _gloffset_PassTexCoordATI));
+}
+
+static INLINE void SET_PassTexCoordATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_PassTexCoordATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SampleMapATI)(GLuint, GLuint, GLenum);
+#define CALL_SampleMapATI(disp, parameters) \
+ (* GET_SampleMapATI(disp)) parameters
+static INLINE _glptr_SampleMapATI GET_SampleMapATI(struct _glapi_table *disp) {
+ return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI));
+}
+
+static INLINE void SET_SampleMapATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_SampleMapATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI)(GLuint, const GLfloat *);
+#define CALL_SetFragmentShaderConstantATI(disp, parameters) \
+ (* GET_SetFragmentShaderConstantATI(disp)) parameters
+static INLINE _glptr_SetFragmentShaderConstantATI GET_SetFragmentShaderConstantATI(struct _glapi_table *disp) {
+ return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI));
+}
+
+static INLINE void SET_SetFragmentShaderConstantATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT)(GLenum);
+#define CALL_ActiveStencilFaceEXT(disp, parameters) \
+ (* GET_ActiveStencilFaceEXT(disp)) parameters
+static INLINE _glptr_ActiveStencilFaceEXT GET_ActiveStencilFaceEXT(struct _glapi_table *disp) {
+ return (_glptr_ActiveStencilFaceEXT) (GET_by_offset(disp, _gloffset_ActiveStencilFaceEXT));
+}
+
+static INLINE void SET_ActiveStencilFaceEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
+ SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE)(GLuint);
+#define CALL_BindVertexArrayAPPLE(disp, parameters) \
+ (* GET_BindVertexArrayAPPLE(disp)) parameters
+static INLINE _glptr_BindVertexArrayAPPLE GET_BindVertexArrayAPPLE(struct _glapi_table *disp) {
+ return (_glptr_BindVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_BindVertexArrayAPPLE));
+}
+
+static INLINE void SET_BindVertexArrayAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE)(GLsizei, GLuint *);
+#define CALL_GenVertexArraysAPPLE(disp, parameters) \
+ (* GET_GenVertexArraysAPPLE(disp)) parameters
+static INLINE _glptr_GenVertexArraysAPPLE GET_GenVertexArraysAPPLE(struct _glapi_table *disp) {
+ return (_glptr_GenVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_GenVertexArraysAPPLE));
+}
+
+static INLINE void SET_GenVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
+ SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV)(GLuint, GLsizei, const GLubyte *, GLdouble *);
+#define CALL_GetProgramNamedParameterdvNV(disp, parameters) \
+ (* GET_GetProgramNamedParameterdvNV(disp)) parameters
+static INLINE _glptr_GetProgramNamedParameterdvNV GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV));
+}
+
+static INLINE void SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble *)) {
+ SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV)(GLuint, GLsizei, const GLubyte *, GLfloat *);
+#define CALL_GetProgramNamedParameterfvNV(disp, parameters) \
+ (* GET_GetProgramNamedParameterfvNV(disp)) parameters
+static INLINE _glptr_GetProgramNamedParameterfvNV GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp) {
+ return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV));
+}
+
+static INLINE void SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
+#define CALL_ProgramNamedParameter4dNV(disp, parameters) \
+ (* GET_ProgramNamedParameter4dNV(disp)) parameters
+static INLINE _glptr_ProgramNamedParameter4dNV GET_ProgramNamedParameter4dNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV));
+}
+
+static INLINE void SET_ProgramNamedParameter4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble)) {
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV)(GLuint, GLsizei, const GLubyte *, const GLdouble *);
+#define CALL_ProgramNamedParameter4dvNV(disp, parameters) \
+ (* GET_ProgramNamedParameter4dvNV(disp)) parameters
+static INLINE _glptr_ProgramNamedParameter4dvNV GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV));
+}
+
+static INLINE void SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLdouble *)) {
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_ProgramNamedParameter4fNV(disp, parameters) \
+ (* GET_ProgramNamedParameter4fNV(disp)) parameters
+static INLINE _glptr_ProgramNamedParameter4fNV GET_ProgramNamedParameter4fNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV));
+}
+
+static INLINE void SET_ProgramNamedParameter4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV)(GLuint, GLsizei, const GLubyte *, const GLfloat *);
+#define CALL_ProgramNamedParameter4fvNV(disp, parameters) \
+ (* GET_ProgramNamedParameter4fvNV(disp)) parameters
+static INLINE _glptr_ProgramNamedParameter4fvNV GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp) {
+ return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV));
+}
+
+static INLINE void SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV)(void);
+#define CALL_PrimitiveRestartNV(disp, parameters) \
+ (* GET_PrimitiveRestartNV(disp)) parameters
+static INLINE _glptr_PrimitiveRestartNV GET_PrimitiveRestartNV(struct _glapi_table *disp) {
+ return (_glptr_PrimitiveRestartNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartNV));
+}
+
+static INLINE void SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexGenxvOES)(GLenum, GLenum, GLfixed *);
+#define CALL_GetTexGenxvOES(disp, parameters) \
+ (* GET_GetTexGenxvOES(disp)) parameters
+static INLINE _glptr_GetTexGenxvOES GET_GetTexGenxvOES(struct _glapi_table *disp) {
+ return (_glptr_GetTexGenxvOES) (GET_by_offset(disp, _gloffset_GetTexGenxvOES));
+}
+
+static INLINE void SET_GetTexGenxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetTexGenxvOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGenxOES)(GLenum, GLenum, GLint);
+#define CALL_TexGenxOES(disp, parameters) \
+ (* GET_TexGenxOES(disp)) parameters
+static INLINE _glptr_TexGenxOES GET_TexGenxOES(struct _glapi_table *disp) {
+ return (_glptr_TexGenxOES) (GET_by_offset(disp, _gloffset_TexGenxOES));
+}
+
+static INLINE void SET_TexGenxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_TexGenxOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexGenxvOES)(GLenum, GLenum, const GLfixed *);
+#define CALL_TexGenxvOES(disp, parameters) \
+ (* GET_TexGenxvOES(disp)) parameters
+static INLINE _glptr_TexGenxvOES GET_TexGenxvOES(struct _glapi_table *disp) {
+ return (_glptr_TexGenxvOES) (GET_by_offset(disp, _gloffset_TexGenxvOES));
+}
+
+static INLINE void SET_TexGenxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_TexGenxvOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT)(GLclampd, GLclampd);
+#define CALL_DepthBoundsEXT(disp, parameters) \
+ (* GET_DepthBoundsEXT(disp)) parameters
+static INLINE _glptr_DepthBoundsEXT GET_DepthBoundsEXT(struct _glapi_table *disp) {
+ return (_glptr_DepthBoundsEXT) (GET_by_offset(disp, _gloffset_DepthBoundsEXT));
+}
+
+static INLINE void SET_DepthBoundsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
+ SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE)(GLenum, GLenum, GLint);
+#define CALL_BufferParameteriAPPLE(disp, parameters) \
+ (* GET_BufferParameteriAPPLE(disp)) parameters
+static INLINE _glptr_BufferParameteriAPPLE GET_BufferParameteriAPPLE(struct _glapi_table *disp) {
+ return (_glptr_BufferParameteriAPPLE) (GET_by_offset(disp, _gloffset_BufferParameteriAPPLE));
+}
+
+static INLINE void SET_BufferParameteriAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
+ SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE)(GLenum, GLintptr, GLsizeiptr);
+#define CALL_FlushMappedBufferRangeAPPLE(disp, parameters) \
+ (* GET_FlushMappedBufferRangeAPPLE(disp)) parameters
+static INLINE _glptr_FlushMappedBufferRangeAPPLE GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp) {
+ return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE));
+}
+
+static INLINE void SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
+ SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT)(GLuint, GLint);
+#define CALL_VertexAttribI1iEXT(disp, parameters) \
+ (* GET_VertexAttribI1iEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI1iEXT GET_VertexAttribI1iEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI1iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1iEXT));
+}
+
+static INLINE void SET_VertexAttribI1iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT)(GLuint, GLuint);
+#define CALL_VertexAttribI1uiEXT(disp, parameters) \
+ (* GET_VertexAttribI1uiEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI1uiEXT GET_VertexAttribI1uiEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI1uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uiEXT));
+}
+
+static INLINE void SET_VertexAttribI1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT)(GLuint, GLint, GLint);
+#define CALL_VertexAttribI2iEXT(disp, parameters) \
+ (* GET_VertexAttribI2iEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI2iEXT GET_VertexAttribI2iEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI2iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2iEXT));
+}
+
+static INLINE void SET_VertexAttribI2iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT)(GLuint, const GLint *);
+#define CALL_VertexAttribI2ivEXT(disp, parameters) \
+ (* GET_VertexAttribI2ivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI2ivEXT GET_VertexAttribI2ivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI2ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2ivEXT));
+}
+
+static INLINE void SET_VertexAttribI2ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT)(GLuint, GLuint, GLuint);
+#define CALL_VertexAttribI2uiEXT(disp, parameters) \
+ (* GET_VertexAttribI2uiEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI2uiEXT GET_VertexAttribI2uiEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI2uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uiEXT));
+}
+
+static INLINE void SET_VertexAttribI2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT)(GLuint, const GLuint *);
+#define CALL_VertexAttribI2uivEXT(disp, parameters) \
+ (* GET_VertexAttribI2uivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI2uivEXT GET_VertexAttribI2uivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI2uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uivEXT));
+}
+
+static INLINE void SET_VertexAttribI2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT)(GLuint, GLint, GLint, GLint);
+#define CALL_VertexAttribI3iEXT(disp, parameters) \
+ (* GET_VertexAttribI3iEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI3iEXT GET_VertexAttribI3iEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI3iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3iEXT));
+}
+
+static INLINE void SET_VertexAttribI3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT)(GLuint, const GLint *);
+#define CALL_VertexAttribI3ivEXT(disp, parameters) \
+ (* GET_VertexAttribI3ivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI3ivEXT GET_VertexAttribI3ivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI3ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3ivEXT));
+}
+
+static INLINE void SET_VertexAttribI3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT)(GLuint, GLuint, GLuint, GLuint);
+#define CALL_VertexAttribI3uiEXT(disp, parameters) \
+ (* GET_VertexAttribI3uiEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI3uiEXT GET_VertexAttribI3uiEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI3uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uiEXT));
+}
+
+static INLINE void SET_VertexAttribI3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT)(GLuint, const GLuint *);
+#define CALL_VertexAttribI3uivEXT(disp, parameters) \
+ (* GET_VertexAttribI3uivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI3uivEXT GET_VertexAttribI3uivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI3uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uivEXT));
+}
+
+static INLINE void SET_VertexAttribI3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT)(GLuint, GLint, GLint, GLint, GLint);
+#define CALL_VertexAttribI4iEXT(disp, parameters) \
+ (* GET_VertexAttribI4iEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI4iEXT GET_VertexAttribI4iEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4iEXT));
+}
+
+static INLINE void SET_VertexAttribI4iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT)(GLuint, const GLint *);
+#define CALL_VertexAttribI4ivEXT(disp, parameters) \
+ (* GET_VertexAttribI4ivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI4ivEXT GET_VertexAttribI4ivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ivEXT));
+}
+
+static INLINE void SET_VertexAttribI4ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT)(GLuint, GLuint, GLuint, GLuint, GLuint);
+#define CALL_VertexAttribI4uiEXT(disp, parameters) \
+ (* GET_VertexAttribI4uiEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI4uiEXT GET_VertexAttribI4uiEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uiEXT));
+}
+
+static INLINE void SET_VertexAttribI4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT)(GLuint, const GLuint *);
+#define CALL_VertexAttribI4uivEXT(disp, parameters) \
+ (* GET_VertexAttribI4uivEXT(disp)) parameters
+static INLINE _glptr_VertexAttribI4uivEXT GET_VertexAttribI4uivEXT(struct _glapi_table *disp) {
+ return (_glptr_VertexAttribI4uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uivEXT));
+}
+
+static INLINE void SET_VertexAttribI4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
+ SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT)(GLint, GLint, GLint, GLint);
+#define CALL_ClearColorIiEXT(disp, parameters) \
+ (* GET_ClearColorIiEXT(disp)) parameters
+static INLINE _glptr_ClearColorIiEXT GET_ClearColorIiEXT(struct _glapi_table *disp) {
+ return (_glptr_ClearColorIiEXT) (GET_by_offset(disp, _gloffset_ClearColorIiEXT));
+}
+
+static INLINE void SET_ClearColorIiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
+ SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT)(GLuint, GLuint, GLuint, GLuint);
+#define CALL_ClearColorIuiEXT(disp, parameters) \
+ (* GET_ClearColorIuiEXT(disp)) parameters
+static INLINE _glptr_ClearColorIuiEXT GET_ClearColorIuiEXT(struct _glapi_table *disp) {
+ return (_glptr_ClearColorIuiEXT) (GET_by_offset(disp, _gloffset_ClearColorIuiEXT));
+}
+
+static INLINE void SET_ClearColorIuiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
+ SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr);
+#define CALL_BindBufferOffsetEXT(disp, parameters) \
+ (* GET_BindBufferOffsetEXT(disp)) parameters
+static INLINE _glptr_BindBufferOffsetEXT GET_BindBufferOffsetEXT(struct _glapi_table *disp) {
+ return (_glptr_BindBufferOffsetEXT) (GET_by_offset(disp, _gloffset_BindBufferOffsetEXT));
+}
+
+static INLINE void SET_BindBufferOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr)) {
+ SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE)(GLenum, GLuint, GLenum, GLint *);
+#define CALL_GetObjectParameterivAPPLE(disp, parameters) \
+ (* GET_GetObjectParameterivAPPLE(disp)) parameters
+static INLINE _glptr_GetObjectParameterivAPPLE GET_GetObjectParameterivAPPLE(struct _glapi_table *disp) {
+ return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE));
+}
+
+static INLINE void SET_GetObjectParameterivAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
+ SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_ObjectPurgeableAPPLE)(GLenum, GLuint, GLenum);
+#define CALL_ObjectPurgeableAPPLE(disp, parameters) \
+ (* GET_ObjectPurgeableAPPLE(disp)) parameters
+static INLINE _glptr_ObjectPurgeableAPPLE GET_ObjectPurgeableAPPLE(struct _glapi_table *disp) {
+ return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE));
+}
+
+static INLINE void SET_ObjectPurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn);
+}
+
+typedef GLenum (GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE)(GLenum, GLuint, GLenum);
+#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) \
+ (* GET_ObjectUnpurgeableAPPLE(disp)) parameters
+static INLINE _glptr_ObjectUnpurgeableAPPLE GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp) {
+ return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE));
+}
+
+static INLINE void SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
+ SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT)(GLuint);
+#define CALL_ActiveProgramEXT(disp, parameters) \
+ (* GET_ActiveProgramEXT(disp)) parameters
+static INLINE _glptr_ActiveProgramEXT GET_ActiveProgramEXT(struct _glapi_table *disp) {
+ return (_glptr_ActiveProgramEXT) (GET_by_offset(disp, _gloffset_ActiveProgramEXT));
+}
+
+static INLINE void SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
+ SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn);
+}
+
+typedef GLuint (GLAPIENTRYP _glptr_CreateShaderProgramEXT)(GLenum, const GLchar *);
+#define CALL_CreateShaderProgramEXT(disp, parameters) \
+ (* GET_CreateShaderProgramEXT(disp)) parameters
+static INLINE _glptr_CreateShaderProgramEXT GET_CreateShaderProgramEXT(struct _glapi_table *disp) {
+ return (_glptr_CreateShaderProgramEXT) (GET_by_offset(disp, _gloffset_CreateShaderProgramEXT));
+}
+
+static INLINE void SET_CreateShaderProgramEXT(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum, const GLchar *)) {
+ SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT)(GLenum, GLuint);
+#define CALL_UseShaderProgramEXT(disp, parameters) \
+ (* GET_UseShaderProgramEXT(disp)) parameters
+static INLINE _glptr_UseShaderProgramEXT GET_UseShaderProgramEXT(struct _glapi_table *disp) {
+ return (_glptr_UseShaderProgramEXT) (GET_by_offset(disp, _gloffset_UseShaderProgramEXT));
+}
+
+static INLINE void SET_UseShaderProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
+ SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TextureBarrierNV)(void);
+#define CALL_TextureBarrierNV(disp, parameters) \
+ (* GET_TextureBarrierNV(disp)) parameters
+static INLINE _glptr_TextureBarrierNV GET_TextureBarrierNV(struct _glapi_table *disp) {
+ return (_glptr_TextureBarrierNV) (GET_by_offset(disp, _gloffset_TextureBarrierNV));
+}
+
+static INLINE void SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
+ SET_by_offset(disp, _gloffset_TextureBarrierNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint);
+#define CALL_StencilFuncSeparateATI(disp, parameters) \
+ (* GET_StencilFuncSeparateATI(disp)) parameters
+static INLINE _glptr_StencilFuncSeparateATI GET_StencilFuncSeparateATI(struct _glapi_table *disp) {
+ return (_glptr_StencilFuncSeparateATI) (GET_by_offset(disp, _gloffset_StencilFuncSeparateATI));
+}
+
+static INLINE void SET_StencilFuncSeparateATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
+ SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
+#define CALL_ProgramEnvParameters4fvEXT(disp, parameters) \
+ (* GET_ProgramEnvParameters4fvEXT(disp)) parameters
+static INLINE _glptr_ProgramEnvParameters4fvEXT GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp) {
+ return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT));
+}
+
+static INLINE void SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
+#define CALL_ProgramLocalParameters4fvEXT(disp, parameters) \
+ (* GET_ProgramLocalParameters4fvEXT(disp)) parameters
+static INLINE _glptr_ProgramLocalParameters4fvEXT GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp) {
+ return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT));
+}
+
+static INLINE void SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *);
+#define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \
+ (* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters
+static INLINE _glptr_EGLImageTargetRenderbufferStorageOES GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) {
+ return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES));
+}
+
+static INLINE void SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *);
+#define CALL_EGLImageTargetTexture2DOES(disp, parameters) \
+ (* GET_EGLImageTargetTexture2DOES(disp)) parameters
+static INLINE _glptr_EGLImageTargetTexture2DOES GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) {
+ return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES));
+}
+
+static INLINE void SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
+ SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFuncx)(GLenum, GLclampx);
+#define CALL_AlphaFuncx(disp, parameters) \
+ (* GET_AlphaFuncx(disp)) parameters
+static INLINE _glptr_AlphaFuncx GET_AlphaFuncx(struct _glapi_table *disp) {
+ return (_glptr_AlphaFuncx) (GET_by_offset(disp, _gloffset_AlphaFuncx));
+}
+
+static INLINE void SET_AlphaFuncx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampx)) {
+ SET_by_offset(disp, _gloffset_AlphaFuncx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearColorx)(GLclampx, GLclampx, GLclampx, GLclampx);
+#define CALL_ClearColorx(disp, parameters) \
+ (* GET_ClearColorx(disp)) parameters
+static INLINE _glptr_ClearColorx GET_ClearColorx(struct _glapi_table *disp) {
+ return (_glptr_ClearColorx) (GET_by_offset(disp, _gloffset_ClearColorx));
+}
+
+static INLINE void SET_ClearColorx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLclampx, GLclampx, GLclampx)) {
+ SET_by_offset(disp, _gloffset_ClearColorx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClearDepthx)(GLclampx);
+#define CALL_ClearDepthx(disp, parameters) \
+ (* GET_ClearDepthx(disp)) parameters
+static INLINE _glptr_ClearDepthx GET_ClearDepthx(struct _glapi_table *disp) {
+ return (_glptr_ClearDepthx) (GET_by_offset(disp, _gloffset_ClearDepthx));
+}
+
+static INLINE void SET_ClearDepthx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx)) {
+ SET_by_offset(disp, _gloffset_ClearDepthx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Color4x)(GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_Color4x(disp, parameters) \
+ (* GET_Color4x(disp)) parameters
+static INLINE _glptr_Color4x GET_Color4x(struct _glapi_table *disp) {
+ return (_glptr_Color4x) (GET_by_offset(disp, _gloffset_Color4x));
+}
+
+static INLINE void SET_Color4x(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Color4x, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DepthRangex)(GLclampx, GLclampx);
+#define CALL_DepthRangex(disp, parameters) \
+ (* GET_DepthRangex(disp)) parameters
+static INLINE _glptr_DepthRangex GET_DepthRangex(struct _glapi_table *disp) {
+ return (_glptr_DepthRangex) (GET_by_offset(disp, _gloffset_DepthRangex));
+}
+
+static INLINE void SET_DepthRangex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLclampx)) {
+ SET_by_offset(disp, _gloffset_DepthRangex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogx)(GLenum, GLfixed);
+#define CALL_Fogx(disp, parameters) \
+ (* GET_Fogx(disp)) parameters
+static INLINE _glptr_Fogx GET_Fogx(struct _glapi_table *disp) {
+ return (_glptr_Fogx) (GET_by_offset(disp, _gloffset_Fogx));
+}
+
+static INLINE void SET_Fogx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Fogx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Fogxv)(GLenum, const GLfixed *);
+#define CALL_Fogxv(disp, parameters) \
+ (* GET_Fogxv(disp)) parameters
+static INLINE _glptr_Fogxv GET_Fogxv(struct _glapi_table *disp) {
+ return (_glptr_Fogxv) (GET_by_offset(disp, _gloffset_Fogxv));
+}
+
+static INLINE void SET_Fogxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_Fogxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Frustumf)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Frustumf(disp, parameters) \
+ (* GET_Frustumf(disp)) parameters
+static INLINE _glptr_Frustumf GET_Frustumf(struct _glapi_table *disp) {
+ return (_glptr_Frustumf) (GET_by_offset(disp, _gloffset_Frustumf));
+}
+
+static INLINE void SET_Frustumf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Frustumf, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Frustumx)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_Frustumx(disp, parameters) \
+ (* GET_Frustumx(disp)) parameters
+static INLINE _glptr_Frustumx GET_Frustumx(struct _glapi_table *disp) {
+ return (_glptr_Frustumx) (GET_by_offset(disp, _gloffset_Frustumx));
+}
+
+static INLINE void SET_Frustumx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Frustumx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModelx)(GLenum, GLfixed);
+#define CALL_LightModelx(disp, parameters) \
+ (* GET_LightModelx(disp)) parameters
+static INLINE _glptr_LightModelx GET_LightModelx(struct _glapi_table *disp) {
+ return (_glptr_LightModelx) (GET_by_offset(disp, _gloffset_LightModelx));
+}
+
+static INLINE void SET_LightModelx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_LightModelx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LightModelxv)(GLenum, const GLfixed *);
+#define CALL_LightModelxv(disp, parameters) \
+ (* GET_LightModelxv(disp)) parameters
+static INLINE _glptr_LightModelxv GET_LightModelxv(struct _glapi_table *disp) {
+ return (_glptr_LightModelxv) (GET_by_offset(disp, _gloffset_LightModelxv));
+}
+
+static INLINE void SET_LightModelxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_LightModelxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lightx)(GLenum, GLenum, GLfixed);
+#define CALL_Lightx(disp, parameters) \
+ (* GET_Lightx(disp)) parameters
+static INLINE _glptr_Lightx GET_Lightx(struct _glapi_table *disp) {
+ return (_glptr_Lightx) (GET_by_offset(disp, _gloffset_Lightx));
+}
+
+static INLINE void SET_Lightx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Lightx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Lightxv)(GLenum, GLenum, const GLfixed *);
+#define CALL_Lightxv(disp, parameters) \
+ (* GET_Lightxv(disp)) parameters
+static INLINE _glptr_Lightxv GET_Lightxv(struct _glapi_table *disp) {
+ return (_glptr_Lightxv) (GET_by_offset(disp, _gloffset_Lightxv));
+}
+
+static INLINE void SET_Lightxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_Lightxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LineWidthx)(GLfixed);
+#define CALL_LineWidthx(disp, parameters) \
+ (* GET_LineWidthx(disp)) parameters
+static INLINE _glptr_LineWidthx GET_LineWidthx(struct _glapi_table *disp) {
+ return (_glptr_LineWidthx) (GET_by_offset(disp, _gloffset_LineWidthx));
+}
+
+static INLINE void SET_LineWidthx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed)) {
+ SET_by_offset(disp, _gloffset_LineWidthx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_LoadMatrixx)(const GLfixed *);
+#define CALL_LoadMatrixx(disp, parameters) \
+ (* GET_LoadMatrixx(disp)) parameters
+static INLINE _glptr_LoadMatrixx GET_LoadMatrixx(struct _glapi_table *disp) {
+ return (_glptr_LoadMatrixx) (GET_by_offset(disp, _gloffset_LoadMatrixx));
+}
+
+static INLINE void SET_LoadMatrixx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_LoadMatrixx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materialx)(GLenum, GLenum, GLfixed);
+#define CALL_Materialx(disp, parameters) \
+ (* GET_Materialx(disp)) parameters
+static INLINE _glptr_Materialx GET_Materialx(struct _glapi_table *disp) {
+ return (_glptr_Materialx) (GET_by_offset(disp, _gloffset_Materialx));
+}
+
+static INLINE void SET_Materialx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Materialx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Materialxv)(GLenum, GLenum, const GLfixed *);
+#define CALL_Materialxv(disp, parameters) \
+ (* GET_Materialxv(disp)) parameters
+static INLINE _glptr_Materialxv GET_Materialxv(struct _glapi_table *disp) {
+ return (_glptr_Materialxv) (GET_by_offset(disp, _gloffset_Materialxv));
+}
+
+static INLINE void SET_Materialxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_Materialxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultMatrixx)(const GLfixed *);
+#define CALL_MultMatrixx(disp, parameters) \
+ (* GET_MultMatrixx(disp)) parameters
+static INLINE _glptr_MultMatrixx GET_MultMatrixx(struct _glapi_table *disp) {
+ return (_glptr_MultMatrixx) (GET_by_offset(disp, _gloffset_MultMatrixx));
+}
+
+static INLINE void SET_MultMatrixx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_MultMatrixx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4x)(GLenum, GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_MultiTexCoord4x(disp, parameters) \
+ (* GET_MultiTexCoord4x(disp)) parameters
+static INLINE _glptr_MultiTexCoord4x GET_MultiTexCoord4x(struct _glapi_table *disp) {
+ return (_glptr_MultiTexCoord4x) (GET_by_offset(disp, _gloffset_MultiTexCoord4x));
+}
+
+static INLINE void SET_MultiTexCoord4x(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_MultiTexCoord4x, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Normal3x)(GLfixed, GLfixed, GLfixed);
+#define CALL_Normal3x(disp, parameters) \
+ (* GET_Normal3x(disp)) parameters
+static INLINE _glptr_Normal3x GET_Normal3x(struct _glapi_table *disp) {
+ return (_glptr_Normal3x) (GET_by_offset(disp, _gloffset_Normal3x));
+}
+
+static INLINE void SET_Normal3x(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Normal3x, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Orthof)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
+#define CALL_Orthof(disp, parameters) \
+ (* GET_Orthof(disp)) parameters
+static INLINE _glptr_Orthof GET_Orthof(struct _glapi_table *disp) {
+ return (_glptr_Orthof) (GET_by_offset(disp, _gloffset_Orthof));
+}
+
+static INLINE void SET_Orthof(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
+ SET_by_offset(disp, _gloffset_Orthof, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Orthox)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_Orthox(disp, parameters) \
+ (* GET_Orthox(disp)) parameters
+static INLINE _glptr_Orthox GET_Orthox(struct _glapi_table *disp) {
+ return (_glptr_Orthox) (GET_by_offset(disp, _gloffset_Orthox));
+}
+
+static INLINE void SET_Orthox(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Orthox, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointSizex)(GLfixed);
+#define CALL_PointSizex(disp, parameters) \
+ (* GET_PointSizex(disp)) parameters
+static INLINE _glptr_PointSizex GET_PointSizex(struct _glapi_table *disp) {
+ return (_glptr_PointSizex) (GET_by_offset(disp, _gloffset_PointSizex));
+}
+
+static INLINE void SET_PointSizex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed)) {
+ SET_by_offset(disp, _gloffset_PointSizex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PolygonOffsetx)(GLfixed, GLfixed);
+#define CALL_PolygonOffsetx(disp, parameters) \
+ (* GET_PolygonOffsetx(disp)) parameters
+static INLINE _glptr_PolygonOffsetx GET_PolygonOffsetx(struct _glapi_table *disp) {
+ return (_glptr_PolygonOffsetx) (GET_by_offset(disp, _gloffset_PolygonOffsetx));
+}
+
+static INLINE void SET_PolygonOffsetx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_PolygonOffsetx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Rotatex)(GLfixed, GLfixed, GLfixed, GLfixed);
+#define CALL_Rotatex(disp, parameters) \
+ (* GET_Rotatex(disp)) parameters
+static INLINE _glptr_Rotatex GET_Rotatex(struct _glapi_table *disp) {
+ return (_glptr_Rotatex) (GET_by_offset(disp, _gloffset_Rotatex));
+}
+
+static INLINE void SET_Rotatex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Rotatex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_SampleCoveragex)(GLclampx, GLboolean);
+#define CALL_SampleCoveragex(disp, parameters) \
+ (* GET_SampleCoveragex(disp)) parameters
+static INLINE _glptr_SampleCoveragex GET_SampleCoveragex(struct _glapi_table *disp) {
+ return (_glptr_SampleCoveragex) (GET_by_offset(disp, _gloffset_SampleCoveragex));
+}
+
+static INLINE void SET_SampleCoveragex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLboolean)) {
+ SET_by_offset(disp, _gloffset_SampleCoveragex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Scalex)(GLfixed, GLfixed, GLfixed);
+#define CALL_Scalex(disp, parameters) \
+ (* GET_Scalex(disp)) parameters
+static INLINE _glptr_Scalex GET_Scalex(struct _glapi_table *disp) {
+ return (_glptr_Scalex) (GET_by_offset(disp, _gloffset_Scalex));
+}
+
+static INLINE void SET_Scalex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Scalex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnvx)(GLenum, GLenum, GLfixed);
+#define CALL_TexEnvx(disp, parameters) \
+ (* GET_TexEnvx(disp)) parameters
+static INLINE _glptr_TexEnvx GET_TexEnvx(struct _glapi_table *disp) {
+ return (_glptr_TexEnvx) (GET_by_offset(disp, _gloffset_TexEnvx));
+}
+
+static INLINE void SET_TexEnvx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_TexEnvx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexEnvxv)(GLenum, GLenum, const GLfixed *);
+#define CALL_TexEnvxv(disp, parameters) \
+ (* GET_TexEnvxv(disp)) parameters
+static INLINE _glptr_TexEnvxv GET_TexEnvxv(struct _glapi_table *disp) {
+ return (_glptr_TexEnvxv) (GET_by_offset(disp, _gloffset_TexEnvxv));
+}
+
+static INLINE void SET_TexEnvxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_TexEnvxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterx)(GLenum, GLenum, GLfixed);
+#define CALL_TexParameterx(disp, parameters) \
+ (* GET_TexParameterx(disp)) parameters
+static INLINE _glptr_TexParameterx GET_TexParameterx(struct _glapi_table *disp) {
+ return (_glptr_TexParameterx) (GET_by_offset(disp, _gloffset_TexParameterx));
+}
+
+static INLINE void SET_TexParameterx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_TexParameterx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_Translatex)(GLfixed, GLfixed, GLfixed);
+#define CALL_Translatex(disp, parameters) \
+ (* GET_Translatex(disp)) parameters
+static INLINE _glptr_Translatex GET_Translatex(struct _glapi_table *disp) {
+ return (_glptr_Translatex) (GET_by_offset(disp, _gloffset_Translatex));
+}
+
+static INLINE void SET_Translatex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
+ SET_by_offset(disp, _gloffset_Translatex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClipPlanef)(GLenum, const GLfloat *);
+#define CALL_ClipPlanef(disp, parameters) \
+ (* GET_ClipPlanef(disp)) parameters
+static INLINE _glptr_ClipPlanef GET_ClipPlanef(struct _glapi_table *disp) {
+ return (_glptr_ClipPlanef) (GET_by_offset(disp, _gloffset_ClipPlanef));
+}
+
+static INLINE void SET_ClipPlanef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
+ SET_by_offset(disp, _gloffset_ClipPlanef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ClipPlanex)(GLenum, const GLfixed *);
+#define CALL_ClipPlanex(disp, parameters) \
+ (* GET_ClipPlanex(disp)) parameters
+static INLINE _glptr_ClipPlanex GET_ClipPlanex(struct _glapi_table *disp) {
+ return (_glptr_ClipPlanex) (GET_by_offset(disp, _gloffset_ClipPlanex));
+}
+
+static INLINE void SET_ClipPlanex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_ClipPlanex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetClipPlanef)(GLenum, GLfloat *);
+#define CALL_GetClipPlanef(disp, parameters) \
+ (* GET_GetClipPlanef(disp)) parameters
+static INLINE _glptr_GetClipPlanef GET_GetClipPlanef(struct _glapi_table *disp) {
+ return (_glptr_GetClipPlanef) (GET_by_offset(disp, _gloffset_GetClipPlanef));
+}
+
+static INLINE void SET_GetClipPlanef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
+ SET_by_offset(disp, _gloffset_GetClipPlanef, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetClipPlanex)(GLenum, GLfixed *);
+#define CALL_GetClipPlanex(disp, parameters) \
+ (* GET_GetClipPlanex(disp)) parameters
+static INLINE _glptr_GetClipPlanex GET_GetClipPlanex(struct _glapi_table *disp) {
+ return (_glptr_GetClipPlanex) (GET_by_offset(disp, _gloffset_GetClipPlanex));
+}
+
+static INLINE void SET_GetClipPlanex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetClipPlanex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetFixedv)(GLenum, GLfixed *);
+#define CALL_GetFixedv(disp, parameters) \
+ (* GET_GetFixedv(disp)) parameters
+static INLINE _glptr_GetFixedv GET_GetFixedv(struct _glapi_table *disp) {
+ return (_glptr_GetFixedv) (GET_by_offset(disp, _gloffset_GetFixedv));
+}
+
+static INLINE void SET_GetFixedv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetFixedv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetLightxv)(GLenum, GLenum, GLfixed *);
+#define CALL_GetLightxv(disp, parameters) \
+ (* GET_GetLightxv(disp)) parameters
+static INLINE _glptr_GetLightxv GET_GetLightxv(struct _glapi_table *disp) {
+ return (_glptr_GetLightxv) (GET_by_offset(disp, _gloffset_GetLightxv));
+}
+
+static INLINE void SET_GetLightxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetLightxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetMaterialxv)(GLenum, GLenum, GLfixed *);
+#define CALL_GetMaterialxv(disp, parameters) \
+ (* GET_GetMaterialxv(disp)) parameters
+static INLINE _glptr_GetMaterialxv GET_GetMaterialxv(struct _glapi_table *disp) {
+ return (_glptr_GetMaterialxv) (GET_by_offset(disp, _gloffset_GetMaterialxv));
+}
+
+static INLINE void SET_GetMaterialxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetMaterialxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexEnvxv)(GLenum, GLenum, GLfixed *);
+#define CALL_GetTexEnvxv(disp, parameters) \
+ (* GET_GetTexEnvxv(disp)) parameters
+static INLINE _glptr_GetTexEnvxv GET_GetTexEnvxv(struct _glapi_table *disp) {
+ return (_glptr_GetTexEnvxv) (GET_by_offset(disp, _gloffset_GetTexEnvxv));
+}
+
+static INLINE void SET_GetTexEnvxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetTexEnvxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTexParameterxv)(GLenum, GLenum, GLfixed *);
+#define CALL_GetTexParameterxv(disp, parameters) \
+ (* GET_GetTexParameterxv(disp)) parameters
+static INLINE _glptr_GetTexParameterxv GET_GetTexParameterxv(struct _glapi_table *disp) {
+ return (_glptr_GetTexParameterxv) (GET_by_offset(disp, _gloffset_GetTexParameterxv));
+}
+
+static INLINE void SET_GetTexParameterxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
+ SET_by_offset(disp, _gloffset_GetTexParameterxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameterx)(GLenum, GLfixed);
+#define CALL_PointParameterx(disp, parameters) \
+ (* GET_PointParameterx(disp)) parameters
+static INLINE _glptr_PointParameterx GET_PointParameterx(struct _glapi_table *disp) {
+ return (_glptr_PointParameterx) (GET_by_offset(disp, _gloffset_PointParameterx));
+}
+
+static INLINE void SET_PointParameterx(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
+ SET_by_offset(disp, _gloffset_PointParameterx, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_PointParameterxv)(GLenum, const GLfixed *);
+#define CALL_PointParameterxv(disp, parameters) \
+ (* GET_PointParameterxv(disp)) parameters
+static INLINE _glptr_PointParameterxv GET_PointParameterxv(struct _glapi_table *disp) {
+ return (_glptr_PointParameterxv) (GET_by_offset(disp, _gloffset_PointParameterxv));
+}
+
+static INLINE void SET_PointParameterxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_PointParameterxv, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TexParameterxv)(GLenum, GLenum, const GLfixed *);
+#define CALL_TexParameterxv(disp, parameters) \
+ (* GET_TexParameterxv(disp)) parameters
+static INLINE _glptr_TexParameterxv GET_TexParameterxv(struct _glapi_table *disp) {
+ return (_glptr_TexParameterxv) (GET_by_offset(disp, _gloffset_TexParameterxv));
+}
+
+static INLINE void SET_TexParameterxv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
+ SET_by_offset(disp, _gloffset_TexParameterxv, fn);
+}
+
+
+#endif /* !defined( _DISPATCH_H_ ) */
diff --git a/xorg-server/glx/glapi.c b/xorg-server/glx/glapi.c index ad7329eff..7b2fe9eb2 100644 --- a/xorg-server/glx/glapi.c +++ b/xorg-server/glx/glapi.c @@ -35,15 +35,21 @@ #include <dix-config.h> #include <X11/Xfuncproto.h> #include <os.h> +#ifdef _MSC_VER +#define PUBLIC _declspec(dllexport) +#else #define PUBLIC _X_EXPORT +#endif #include <stdlib.h> #include <string.h> #ifdef DEBUG #include <assert.h> #endif +#include <unistd.h> #include "glapi.h" +#include "glheader.h" #include "dispatch.h" #include "glapitable.h" @@ -125,7 +131,7 @@ _glapi_check_multithread(void) * The context pointer is an opaque type which should be cast to * void from the real context pointer type. */ -PUBLIC void +void _glapi_set_context(void *context) { #if defined(GLX_USE_TLS) @@ -143,7 +149,7 @@ _glapi_set_context(void *context) * The context pointer is an opaque type which should be cast from * void to the real context pointer type. */ -PUBLIC void * +void * _glapi_get_context(void) { #if defined(GLX_USE_TLS) @@ -156,7 +162,7 @@ _glapi_get_context(void) /** * Set the global or per-thread dispatch table pointer. */ -PUBLIC void +void _glapi_set_dispatch(struct _glapi_table *dispatch) { #if defined(PTHREADS) || defined(GLX_USE_TLS) @@ -178,7 +184,7 @@ _glapi_set_dispatch(struct _glapi_table *dispatch) /** * Return pointer to current dispatch table for calling thread. */ -PUBLIC struct _glapi_table * +struct _glapi_table * _glapi_get_dispatch(void) { struct _glapi_table *api; @@ -460,7 +466,7 @@ _glapi_add_dispatch(const char *const *function_names, * glXGetProcAddress doesn't exist in the protocol, the drivers never call * this themselves, and neither does the server. warn if it happens though. */ -PUBLIC _glapi_proc +_GLAPI_EXPORT _glapi_proc _glapi_get_proc_address(const char *funcName) { ErrorF("_glapi_get_proc_address called!\n"); @@ -471,7 +477,7 @@ _glapi_get_proc_address(const char *funcName) * Return size of dispatch table struct as number of functions (or * slots). */ -PUBLIC GLuint +GLuint _glapi_get_dispatch_table_size(void) { return DISPATCH_TABLE_SIZE; diff --git a/xorg-server/glx/glapi.h b/xorg-server/glx/glapi.h index bad791eab..5edec8ebd 100644 --- a/xorg-server/glx/glapi.h +++ b/xorg-server/glx/glapi.h @@ -22,6 +22,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ + /** * \mainpage Mesa GL API Module * @@ -39,20 +40,44 @@ * with the X/DRI libGL also. */ + #ifndef _GLAPI_H #define _GLAPI_H -#define GL_GLEXT_PROTOTYPES +#include "glthread.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _GLAPI_NO_EXPORTS +# define _GLAPI_EXPORT +#else /* _GLAPI_NO_EXPORTS */ +# ifdef _WIN32 +# ifdef _GLAPI_DLL_EXPORTS +# define _GLAPI_EXPORT __declspec(dllexport) +# else +# define _GLAPI_EXPORT __declspec(dllimport) +# endif +# elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# define _GLAPI_EXPORT __attribute__((visibility("default"))) +# else +# define _GLAPI_EXPORT +# endif +#endif /* _GLAPI_NO_EXPORTS */ #include "GL/gl.h" #include "GL/glext.h" #include "glthread.h" + struct _glapi_table; -typedef void (*_glapi_proc) (void); /* generic function pointer */ +typedef void (*_glapi_proc)(void); /* generic function pointer */ + +typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); -typedef void (*_glapi_warning_func) (void *ctx, const char *str, ...); #if defined(USE_MGL_NAMESPACE) #define _glapi_set_dispatch _mglapi_set_dispatch @@ -68,68 +93,98 @@ typedef void (*_glapi_warning_func) (void *ctx, const char *str, ...); */ #define MAX_EXTENSION_FUNCS 300 + /** ** Define the GET_CURRENT_CONTEXT() macro. ** \param C local variable which will hold the current context. **/ #if defined (GLX_USE_TLS) -const extern void *_glapi_Context; -const extern struct _glapi_table *_glapi_Dispatch; +_GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch; -extern TLS void *_glapi_tls_Context; +_GLAPI_EXPORT extern const void *_glapi_Context; +_GLAPI_EXPORT extern const struct _glapi_table *_glapi_Dispatch; -#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_tls_Context +_GLAPI_EXPORT extern __thread void * _glapi_tls_Context; -#else +# define GET_DISPATCH() _glapi_tls_Dispatch +# define GET_CURRENT_CONTEXT(C) struct gl_context *C = (struct gl_context *) _glapi_tls_Context -extern void *_glapi_Context; -extern struct _glapi_table *_glapi_Dispatch; +#else -#ifdef THREADS -#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) (_glapi_Context ? _glapi_Context : _glapi_get_context()) +#ifdef INSERVER +#define SERVEXTERN _declspec(dllimport) #else -#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_Context +#define SERVEXTERN _declspec(dllexport) #endif -#endif /* defined (GLX_USE_TLS) */ +SERVEXTERN void *_glapi_Context; +SERVEXTERN struct _glapi_table *_glapi_Dispatch; + +# ifdef THREADS + +# define GET_DISPATCH() \ + (likely(_glapi_Dispatch) ? _glapi_Dispatch : _glapi_get_dispatch()) + + +# define GET_CURRENT_CONTEXT(C) struct gl_context *C = (struct gl_context *) \ + (likely(_glapi_Context) ? _glapi_Context : _glapi_get_context()) +# else +# define GET_DISPATCH() _glapi_Dispatch +# define GET_CURRENT_CONTEXT(C) struct gl_context *C = (struct gl_context *) _glapi_Context +# endif + +#endif /* defined (GLX_USE_TLS) */ + /** ** GL API public functions **/ -extern void - _glapi_check_multithread(void); +SERVEXTERN void +_glapi_check_multithread(void); -extern void - _glapi_set_context(void *context); -extern void *_glapi_get_context(void); +SERVEXTERN void +_glapi_set_context(void *context); -extern void - _glapi_set_dispatch(struct _glapi_table *dispatch); -extern struct _glapi_table *_glapi_get_dispatch(void); +SERVEXTERN void * +_glapi_get_context(void); -extern int - _glapi_begin_dispatch_override(struct _glapi_table *override); -extern void - _glapi_end_dispatch_override(int layer); +SERVEXTERN void +_glapi_set_dispatch(struct _glapi_table *dispatch); -struct _glapi_table *_glapi_get_override_dispatch(int layer); -extern GLuint _glapi_get_dispatch_table_size(void); +SERVEXTERN struct _glapi_table * +_glapi_get_dispatch(void); -extern int +SERVEXTERN int +_glapi_begin_dispatch_override(struct _glapi_table *override); -_glapi_add_dispatch(const char *const *function_names, - const char *parameter_signature); +SERVEXTERN void +_glapi_end_dispatch_override(int layer); -extern _glapi_proc _glapi_get_proc_address(const char *funcName); +struct _glapi_table * +_glapi_get_override_dispatch(int layer); -extern struct _glapi_table *_glapi_create_table_from_handle(void *handle, - const char - *symbol_prefix); +SERVEXTERN GLuint +_glapi_get_dispatch_table_size(void); + + +SERVEXTERN int +_glapi_add_dispatch( const char * const * function_names, + const char * parameter_signature ); + +_GLAPI_EXPORT _glapi_proc +_glapi_get_proc_address(const char *funcName); + +extern struct _glapi_table * +_glapi_create_table_from_handle(void *handle, const char *symbol_prefix); + +#endif +#ifdef __cplusplus +} #endif diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c index 4b2801547..5c398fad3 100644 --- a/xorg-server/glx/glapi_gentable.c +++ b/xorg-server/glx/glapi_gentable.c @@ -1,10058 +1,10559 @@ -/* DO NOT EDIT - This file generated automatically by gl_gen_table.py (from Mesa) script */ - -/* - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. - * (C) Copyright IBM Corporation 2004, 2005 - * (C) Copyright Apple Inc 2011 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL, IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -/* GLXEXT is the define used in the xserver when the GLX extension is being - * built. Hijack this to determine whether this file is being built for the - * server or the client. - */ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - -#if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \ - || (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE)) -#define USE_BACKTRACE -#endif - -#ifdef USE_BACKTRACE -#include <execinfo.h> -#endif - -#include <dlfcn.h> -#include <stdlib.h> -#include <stdio.h> - -#include <GL/gl.h> - -#include "glapi.h" -#include "glapitable.h" - -#ifdef GLXEXT -#include "os.h" -#endif - -static void -__glapi_gentable_NoOp(void) -{ - const char *fstr = "Unknown"; - - /* Silence potential GCC warning for some #ifdef paths. - */ - (void) fstr; -#if defined(USE_BACKTRACE) -#if !defined(GLXEXT) - if (getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG")) -#endif - { - void *frames[2]; - - if (backtrace(frames, 2) == 2) { - Dl_info info; - - dladdr(frames[1], &info); - if (info.dli_sname) - fstr = info.dli_sname; - } - -#if !defined(GLXEXT) - fprintf(stderr, "Call to unimplemented API: %s\n", fstr); -#endif - } -#endif -#if defined(GLXEXT) - LogMessage(X_ERROR, "GLX: Call to unimplemented API: %s\n", fstr); -#endif -} - -static void -__glapi_gentable_set_remaining_noop(struct _glapi_table *disp) -{ - GLuint entries = _glapi_get_dispatch_table_size(); - void **dispatch = (void **) disp; - int i; - - /* ISO C is annoying sometimes */ - union { - _glapi_proc p; - void *v; - } p; - - p.p = __glapi_gentable_NoOp; - - for (i = 0; i < entries; i++) - if (dispatch[i] == NULL) - dispatch[i] = p.v; -} - -struct _glapi_table * -_glapi_create_table_from_handle(void *handle, const char *symbol_prefix) -{ - struct _glapi_table *disp = calloc(_glapi_get_dispatch_table_size(), sizeof(void*)); - char symboln[512]; - - if (!disp) - return NULL; - - if (symbol_prefix == NULL) - symbol_prefix = ""; - - if (!disp->NewList) { - void **procp = (void **) &disp->NewList; - - snprintf(symboln, sizeof(symboln), "%sNewList", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndList) { - void **procp = (void **) &disp->EndList; - - snprintf(symboln, sizeof(symboln), "%sEndList", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CallList) { - void **procp = (void **) &disp->CallList; - - snprintf(symboln, sizeof(symboln), "%sCallList", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CallLists) { - void **procp = (void **) &disp->CallLists; - - snprintf(symboln, sizeof(symboln), "%sCallLists", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteLists) { - void **procp = (void **) &disp->DeleteLists; - - snprintf(symboln, sizeof(symboln), "%sDeleteLists", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenLists) { - void **procp = (void **) &disp->GenLists; - - snprintf(symboln, sizeof(symboln), "%sGenLists", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ListBase) { - void **procp = (void **) &disp->ListBase; - - snprintf(symboln, sizeof(symboln), "%sListBase", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Begin) { - void **procp = (void **) &disp->Begin; - - snprintf(symboln, sizeof(symboln), "%sBegin", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Bitmap) { - void **procp = (void **) &disp->Bitmap; - - snprintf(symboln, sizeof(symboln), "%sBitmap", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3b) { - void **procp = (void **) &disp->Color3b; - - snprintf(symboln, sizeof(symboln), "%sColor3b", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3bv) { - void **procp = (void **) &disp->Color3bv; - - snprintf(symboln, sizeof(symboln), "%sColor3bv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3d) { - void **procp = (void **) &disp->Color3d; - - snprintf(symboln, sizeof(symboln), "%sColor3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3dv) { - void **procp = (void **) &disp->Color3dv; - - snprintf(symboln, sizeof(symboln), "%sColor3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3f) { - void **procp = (void **) &disp->Color3f; - - snprintf(symboln, sizeof(symboln), "%sColor3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3fv) { - void **procp = (void **) &disp->Color3fv; - - snprintf(symboln, sizeof(symboln), "%sColor3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3i) { - void **procp = (void **) &disp->Color3i; - - snprintf(symboln, sizeof(symboln), "%sColor3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3iv) { - void **procp = (void **) &disp->Color3iv; - - snprintf(symboln, sizeof(symboln), "%sColor3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3s) { - void **procp = (void **) &disp->Color3s; - - snprintf(symboln, sizeof(symboln), "%sColor3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3sv) { - void **procp = (void **) &disp->Color3sv; - - snprintf(symboln, sizeof(symboln), "%sColor3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3ub) { - void **procp = (void **) &disp->Color3ub; - - snprintf(symboln, sizeof(symboln), "%sColor3ub", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3ubv) { - void **procp = (void **) &disp->Color3ubv; - - snprintf(symboln, sizeof(symboln), "%sColor3ubv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3ui) { - void **procp = (void **) &disp->Color3ui; - - snprintf(symboln, sizeof(symboln), "%sColor3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3uiv) { - void **procp = (void **) &disp->Color3uiv; - - snprintf(symboln, sizeof(symboln), "%sColor3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3us) { - void **procp = (void **) &disp->Color3us; - - snprintf(symboln, sizeof(symboln), "%sColor3us", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color3usv) { - void **procp = (void **) &disp->Color3usv; - - snprintf(symboln, sizeof(symboln), "%sColor3usv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4b) { - void **procp = (void **) &disp->Color4b; - - snprintf(symboln, sizeof(symboln), "%sColor4b", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4bv) { - void **procp = (void **) &disp->Color4bv; - - snprintf(symboln, sizeof(symboln), "%sColor4bv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4d) { - void **procp = (void **) &disp->Color4d; - - snprintf(symboln, sizeof(symboln), "%sColor4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4dv) { - void **procp = (void **) &disp->Color4dv; - - snprintf(symboln, sizeof(symboln), "%sColor4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4f) { - void **procp = (void **) &disp->Color4f; - - snprintf(symboln, sizeof(symboln), "%sColor4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4fv) { - void **procp = (void **) &disp->Color4fv; - - snprintf(symboln, sizeof(symboln), "%sColor4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4i) { - void **procp = (void **) &disp->Color4i; - - snprintf(symboln, sizeof(symboln), "%sColor4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4iv) { - void **procp = (void **) &disp->Color4iv; - - snprintf(symboln, sizeof(symboln), "%sColor4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4s) { - void **procp = (void **) &disp->Color4s; - - snprintf(symboln, sizeof(symboln), "%sColor4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4sv) { - void **procp = (void **) &disp->Color4sv; - - snprintf(symboln, sizeof(symboln), "%sColor4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4ub) { - void **procp = (void **) &disp->Color4ub; - - snprintf(symboln, sizeof(symboln), "%sColor4ub", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4ubv) { - void **procp = (void **) &disp->Color4ubv; - - snprintf(symboln, sizeof(symboln), "%sColor4ubv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4ui) { - void **procp = (void **) &disp->Color4ui; - - snprintf(symboln, sizeof(symboln), "%sColor4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4uiv) { - void **procp = (void **) &disp->Color4uiv; - - snprintf(symboln, sizeof(symboln), "%sColor4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4us) { - void **procp = (void **) &disp->Color4us; - - snprintf(symboln, sizeof(symboln), "%sColor4us", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Color4usv) { - void **procp = (void **) &disp->Color4usv; - - snprintf(symboln, sizeof(symboln), "%sColor4usv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EdgeFlag) { - void **procp = (void **) &disp->EdgeFlag; - - snprintf(symboln, sizeof(symboln), "%sEdgeFlag", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EdgeFlagv) { - void **procp = (void **) &disp->EdgeFlagv; - - snprintf(symboln, sizeof(symboln), "%sEdgeFlagv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->End) { - void **procp = (void **) &disp->End; - - snprintf(symboln, sizeof(symboln), "%sEnd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexd) { - void **procp = (void **) &disp->Indexd; - - snprintf(symboln, sizeof(symboln), "%sIndexd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexdv) { - void **procp = (void **) &disp->Indexdv; - - snprintf(symboln, sizeof(symboln), "%sIndexdv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexf) { - void **procp = (void **) &disp->Indexf; - - snprintf(symboln, sizeof(symboln), "%sIndexf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexfv) { - void **procp = (void **) &disp->Indexfv; - - snprintf(symboln, sizeof(symboln), "%sIndexfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexi) { - void **procp = (void **) &disp->Indexi; - - snprintf(symboln, sizeof(symboln), "%sIndexi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexiv) { - void **procp = (void **) &disp->Indexiv; - - snprintf(symboln, sizeof(symboln), "%sIndexiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexs) { - void **procp = (void **) &disp->Indexs; - - snprintf(symboln, sizeof(symboln), "%sIndexs", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexsv) { - void **procp = (void **) &disp->Indexsv; - - snprintf(symboln, sizeof(symboln), "%sIndexsv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3b) { - void **procp = (void **) &disp->Normal3b; - - snprintf(symboln, sizeof(symboln), "%sNormal3b", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3bv) { - void **procp = (void **) &disp->Normal3bv; - - snprintf(symboln, sizeof(symboln), "%sNormal3bv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3d) { - void **procp = (void **) &disp->Normal3d; - - snprintf(symboln, sizeof(symboln), "%sNormal3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3dv) { - void **procp = (void **) &disp->Normal3dv; - - snprintf(symboln, sizeof(symboln), "%sNormal3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3f) { - void **procp = (void **) &disp->Normal3f; - - snprintf(symboln, sizeof(symboln), "%sNormal3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3fv) { - void **procp = (void **) &disp->Normal3fv; - - snprintf(symboln, sizeof(symboln), "%sNormal3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3i) { - void **procp = (void **) &disp->Normal3i; - - snprintf(symboln, sizeof(symboln), "%sNormal3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3iv) { - void **procp = (void **) &disp->Normal3iv; - - snprintf(symboln, sizeof(symboln), "%sNormal3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3s) { - void **procp = (void **) &disp->Normal3s; - - snprintf(symboln, sizeof(symboln), "%sNormal3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Normal3sv) { - void **procp = (void **) &disp->Normal3sv; - - snprintf(symboln, sizeof(symboln), "%sNormal3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2d) { - void **procp = (void **) &disp->RasterPos2d; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2dv) { - void **procp = (void **) &disp->RasterPos2dv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2f) { - void **procp = (void **) &disp->RasterPos2f; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2fv) { - void **procp = (void **) &disp->RasterPos2fv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2i) { - void **procp = (void **) &disp->RasterPos2i; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2iv) { - void **procp = (void **) &disp->RasterPos2iv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2s) { - void **procp = (void **) &disp->RasterPos2s; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos2sv) { - void **procp = (void **) &disp->RasterPos2sv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3d) { - void **procp = (void **) &disp->RasterPos3d; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3dv) { - void **procp = (void **) &disp->RasterPos3dv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3f) { - void **procp = (void **) &disp->RasterPos3f; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3fv) { - void **procp = (void **) &disp->RasterPos3fv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3i) { - void **procp = (void **) &disp->RasterPos3i; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3iv) { - void **procp = (void **) &disp->RasterPos3iv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3s) { - void **procp = (void **) &disp->RasterPos3s; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos3sv) { - void **procp = (void **) &disp->RasterPos3sv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4d) { - void **procp = (void **) &disp->RasterPos4d; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4dv) { - void **procp = (void **) &disp->RasterPos4dv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4f) { - void **procp = (void **) &disp->RasterPos4f; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4fv) { - void **procp = (void **) &disp->RasterPos4fv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4i) { - void **procp = (void **) &disp->RasterPos4i; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4iv) { - void **procp = (void **) &disp->RasterPos4iv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4s) { - void **procp = (void **) &disp->RasterPos4s; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RasterPos4sv) { - void **procp = (void **) &disp->RasterPos4sv; - - snprintf(symboln, sizeof(symboln), "%sRasterPos4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectd) { - void **procp = (void **) &disp->Rectd; - - snprintf(symboln, sizeof(symboln), "%sRectd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectdv) { - void **procp = (void **) &disp->Rectdv; - - snprintf(symboln, sizeof(symboln), "%sRectdv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectf) { - void **procp = (void **) &disp->Rectf; - - snprintf(symboln, sizeof(symboln), "%sRectf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectfv) { - void **procp = (void **) &disp->Rectfv; - - snprintf(symboln, sizeof(symboln), "%sRectfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Recti) { - void **procp = (void **) &disp->Recti; - - snprintf(symboln, sizeof(symboln), "%sRecti", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectiv) { - void **procp = (void **) &disp->Rectiv; - - snprintf(symboln, sizeof(symboln), "%sRectiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rects) { - void **procp = (void **) &disp->Rects; - - snprintf(symboln, sizeof(symboln), "%sRects", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rectsv) { - void **procp = (void **) &disp->Rectsv; - - snprintf(symboln, sizeof(symboln), "%sRectsv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1d) { - void **procp = (void **) &disp->TexCoord1d; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1dv) { - void **procp = (void **) &disp->TexCoord1dv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1f) { - void **procp = (void **) &disp->TexCoord1f; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1fv) { - void **procp = (void **) &disp->TexCoord1fv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1i) { - void **procp = (void **) &disp->TexCoord1i; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1iv) { - void **procp = (void **) &disp->TexCoord1iv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1s) { - void **procp = (void **) &disp->TexCoord1s; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord1sv) { - void **procp = (void **) &disp->TexCoord1sv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord1sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2d) { - void **procp = (void **) &disp->TexCoord2d; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2dv) { - void **procp = (void **) &disp->TexCoord2dv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2f) { - void **procp = (void **) &disp->TexCoord2f; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2fv) { - void **procp = (void **) &disp->TexCoord2fv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2i) { - void **procp = (void **) &disp->TexCoord2i; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2iv) { - void **procp = (void **) &disp->TexCoord2iv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2s) { - void **procp = (void **) &disp->TexCoord2s; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord2sv) { - void **procp = (void **) &disp->TexCoord2sv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3d) { - void **procp = (void **) &disp->TexCoord3d; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3dv) { - void **procp = (void **) &disp->TexCoord3dv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3f) { - void **procp = (void **) &disp->TexCoord3f; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3fv) { - void **procp = (void **) &disp->TexCoord3fv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3i) { - void **procp = (void **) &disp->TexCoord3i; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3iv) { - void **procp = (void **) &disp->TexCoord3iv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3s) { - void **procp = (void **) &disp->TexCoord3s; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord3sv) { - void **procp = (void **) &disp->TexCoord3sv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4d) { - void **procp = (void **) &disp->TexCoord4d; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4dv) { - void **procp = (void **) &disp->TexCoord4dv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4f) { - void **procp = (void **) &disp->TexCoord4f; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4fv) { - void **procp = (void **) &disp->TexCoord4fv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4i) { - void **procp = (void **) &disp->TexCoord4i; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4iv) { - void **procp = (void **) &disp->TexCoord4iv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4s) { - void **procp = (void **) &disp->TexCoord4s; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoord4sv) { - void **procp = (void **) &disp->TexCoord4sv; - - snprintf(symboln, sizeof(symboln), "%sTexCoord4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2d) { - void **procp = (void **) &disp->Vertex2d; - - snprintf(symboln, sizeof(symboln), "%sVertex2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2dv) { - void **procp = (void **) &disp->Vertex2dv; - - snprintf(symboln, sizeof(symboln), "%sVertex2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2f) { - void **procp = (void **) &disp->Vertex2f; - - snprintf(symboln, sizeof(symboln), "%sVertex2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2fv) { - void **procp = (void **) &disp->Vertex2fv; - - snprintf(symboln, sizeof(symboln), "%sVertex2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2i) { - void **procp = (void **) &disp->Vertex2i; - - snprintf(symboln, sizeof(symboln), "%sVertex2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2iv) { - void **procp = (void **) &disp->Vertex2iv; - - snprintf(symboln, sizeof(symboln), "%sVertex2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2s) { - void **procp = (void **) &disp->Vertex2s; - - snprintf(symboln, sizeof(symboln), "%sVertex2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex2sv) { - void **procp = (void **) &disp->Vertex2sv; - - snprintf(symboln, sizeof(symboln), "%sVertex2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3d) { - void **procp = (void **) &disp->Vertex3d; - - snprintf(symboln, sizeof(symboln), "%sVertex3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3dv) { - void **procp = (void **) &disp->Vertex3dv; - - snprintf(symboln, sizeof(symboln), "%sVertex3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3f) { - void **procp = (void **) &disp->Vertex3f; - - snprintf(symboln, sizeof(symboln), "%sVertex3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3fv) { - void **procp = (void **) &disp->Vertex3fv; - - snprintf(symboln, sizeof(symboln), "%sVertex3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3i) { - void **procp = (void **) &disp->Vertex3i; - - snprintf(symboln, sizeof(symboln), "%sVertex3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3iv) { - void **procp = (void **) &disp->Vertex3iv; - - snprintf(symboln, sizeof(symboln), "%sVertex3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3s) { - void **procp = (void **) &disp->Vertex3s; - - snprintf(symboln, sizeof(symboln), "%sVertex3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex3sv) { - void **procp = (void **) &disp->Vertex3sv; - - snprintf(symboln, sizeof(symboln), "%sVertex3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4d) { - void **procp = (void **) &disp->Vertex4d; - - snprintf(symboln, sizeof(symboln), "%sVertex4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4dv) { - void **procp = (void **) &disp->Vertex4dv; - - snprintf(symboln, sizeof(symboln), "%sVertex4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4f) { - void **procp = (void **) &disp->Vertex4f; - - snprintf(symboln, sizeof(symboln), "%sVertex4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4fv) { - void **procp = (void **) &disp->Vertex4fv; - - snprintf(symboln, sizeof(symboln), "%sVertex4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4i) { - void **procp = (void **) &disp->Vertex4i; - - snprintf(symboln, sizeof(symboln), "%sVertex4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4iv) { - void **procp = (void **) &disp->Vertex4iv; - - snprintf(symboln, sizeof(symboln), "%sVertex4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4s) { - void **procp = (void **) &disp->Vertex4s; - - snprintf(symboln, sizeof(symboln), "%sVertex4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Vertex4sv) { - void **procp = (void **) &disp->Vertex4sv; - - snprintf(symboln, sizeof(symboln), "%sVertex4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClipPlane) { - void **procp = (void **) &disp->ClipPlane; - - snprintf(symboln, sizeof(symboln), "%sClipPlane", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorMaterial) { - void **procp = (void **) &disp->ColorMaterial; - - snprintf(symboln, sizeof(symboln), "%sColorMaterial", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CullFace) { - void **procp = (void **) &disp->CullFace; - - snprintf(symboln, sizeof(symboln), "%sCullFace", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Fogf) { - void **procp = (void **) &disp->Fogf; - - snprintf(symboln, sizeof(symboln), "%sFogf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Fogfv) { - void **procp = (void **) &disp->Fogfv; - - snprintf(symboln, sizeof(symboln), "%sFogfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Fogi) { - void **procp = (void **) &disp->Fogi; - - snprintf(symboln, sizeof(symboln), "%sFogi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Fogiv) { - void **procp = (void **) &disp->Fogiv; - - snprintf(symboln, sizeof(symboln), "%sFogiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FrontFace) { - void **procp = (void **) &disp->FrontFace; - - snprintf(symboln, sizeof(symboln), "%sFrontFace", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Hint) { - void **procp = (void **) &disp->Hint; - - snprintf(symboln, sizeof(symboln), "%sHint", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Lightf) { - void **procp = (void **) &disp->Lightf; - - snprintf(symboln, sizeof(symboln), "%sLightf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Lightfv) { - void **procp = (void **) &disp->Lightfv; - - snprintf(symboln, sizeof(symboln), "%sLightfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Lighti) { - void **procp = (void **) &disp->Lighti; - - snprintf(symboln, sizeof(symboln), "%sLighti", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Lightiv) { - void **procp = (void **) &disp->Lightiv; - - snprintf(symboln, sizeof(symboln), "%sLightiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LightModelf) { - void **procp = (void **) &disp->LightModelf; - - snprintf(symboln, sizeof(symboln), "%sLightModelf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LightModelfv) { - void **procp = (void **) &disp->LightModelfv; - - snprintf(symboln, sizeof(symboln), "%sLightModelfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LightModeli) { - void **procp = (void **) &disp->LightModeli; - - snprintf(symboln, sizeof(symboln), "%sLightModeli", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LightModeliv) { - void **procp = (void **) &disp->LightModeliv; - - snprintf(symboln, sizeof(symboln), "%sLightModeliv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LineStipple) { - void **procp = (void **) &disp->LineStipple; - - snprintf(symboln, sizeof(symboln), "%sLineStipple", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LineWidth) { - void **procp = (void **) &disp->LineWidth; - - snprintf(symboln, sizeof(symboln), "%sLineWidth", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Materialf) { - void **procp = (void **) &disp->Materialf; - - snprintf(symboln, sizeof(symboln), "%sMaterialf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Materialfv) { - void **procp = (void **) &disp->Materialfv; - - snprintf(symboln, sizeof(symboln), "%sMaterialfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Materiali) { - void **procp = (void **) &disp->Materiali; - - snprintf(symboln, sizeof(symboln), "%sMateriali", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Materialiv) { - void **procp = (void **) &disp->Materialiv; - - snprintf(symboln, sizeof(symboln), "%sMaterialiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointSize) { - void **procp = (void **) &disp->PointSize; - - snprintf(symboln, sizeof(symboln), "%sPointSize", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PolygonMode) { - void **procp = (void **) &disp->PolygonMode; - - snprintf(symboln, sizeof(symboln), "%sPolygonMode", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PolygonStipple) { - void **procp = (void **) &disp->PolygonStipple; - - snprintf(symboln, sizeof(symboln), "%sPolygonStipple", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Scissor) { - void **procp = (void **) &disp->Scissor; - - snprintf(symboln, sizeof(symboln), "%sScissor", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ShadeModel) { - void **procp = (void **) &disp->ShadeModel; - - snprintf(symboln, sizeof(symboln), "%sShadeModel", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterf) { - void **procp = (void **) &disp->TexParameterf; - - snprintf(symboln, sizeof(symboln), "%sTexParameterf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterfv) { - void **procp = (void **) &disp->TexParameterfv; - - snprintf(symboln, sizeof(symboln), "%sTexParameterfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameteri) { - void **procp = (void **) &disp->TexParameteri; - - snprintf(symboln, sizeof(symboln), "%sTexParameteri", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameteriv) { - void **procp = (void **) &disp->TexParameteriv; - - snprintf(symboln, sizeof(symboln), "%sTexParameteriv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexImage1D) { - void **procp = (void **) &disp->TexImage1D; - - snprintf(symboln, sizeof(symboln), "%sTexImage1D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexImage2D) { - void **procp = (void **) &disp->TexImage2D; - - snprintf(symboln, sizeof(symboln), "%sTexImage2D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexEnvf) { - void **procp = (void **) &disp->TexEnvf; - - snprintf(symboln, sizeof(symboln), "%sTexEnvf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexEnvfv) { - void **procp = (void **) &disp->TexEnvfv; - - snprintf(symboln, sizeof(symboln), "%sTexEnvfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexEnvi) { - void **procp = (void **) &disp->TexEnvi; - - snprintf(symboln, sizeof(symboln), "%sTexEnvi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexEnviv) { - void **procp = (void **) &disp->TexEnviv; - - snprintf(symboln, sizeof(symboln), "%sTexEnviv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGend) { - void **procp = (void **) &disp->TexGend; - - snprintf(symboln, sizeof(symboln), "%sTexGend", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGendv) { - void **procp = (void **) &disp->TexGendv; - - snprintf(symboln, sizeof(symboln), "%sTexGendv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGenf) { - void **procp = (void **) &disp->TexGenf; - - snprintf(symboln, sizeof(symboln), "%sTexGenf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGenfv) { - void **procp = (void **) &disp->TexGenfv; - - snprintf(symboln, sizeof(symboln), "%sTexGenfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGeni) { - void **procp = (void **) &disp->TexGeni; - - snprintf(symboln, sizeof(symboln), "%sTexGeni", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexGeniv) { - void **procp = (void **) &disp->TexGeniv; - - snprintf(symboln, sizeof(symboln), "%sTexGeniv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FeedbackBuffer) { - void **procp = (void **) &disp->FeedbackBuffer; - - snprintf(symboln, sizeof(symboln), "%sFeedbackBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SelectBuffer) { - void **procp = (void **) &disp->SelectBuffer; - - snprintf(symboln, sizeof(symboln), "%sSelectBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RenderMode) { - void **procp = (void **) &disp->RenderMode; - - snprintf(symboln, sizeof(symboln), "%sRenderMode", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->InitNames) { - void **procp = (void **) &disp->InitNames; - - snprintf(symboln, sizeof(symboln), "%sInitNames", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadName) { - void **procp = (void **) &disp->LoadName; - - snprintf(symboln, sizeof(symboln), "%sLoadName", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PassThrough) { - void **procp = (void **) &disp->PassThrough; - - snprintf(symboln, sizeof(symboln), "%sPassThrough", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PopName) { - void **procp = (void **) &disp->PopName; - - snprintf(symboln, sizeof(symboln), "%sPopName", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PushName) { - void **procp = (void **) &disp->PushName; - - snprintf(symboln, sizeof(symboln), "%sPushName", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawBuffer) { - void **procp = (void **) &disp->DrawBuffer; - - snprintf(symboln, sizeof(symboln), "%sDrawBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Clear) { - void **procp = (void **) &disp->Clear; - - snprintf(symboln, sizeof(symboln), "%sClear", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearAccum) { - void **procp = (void **) &disp->ClearAccum; - - snprintf(symboln, sizeof(symboln), "%sClearAccum", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearIndex) { - void **procp = (void **) &disp->ClearIndex; - - snprintf(symboln, sizeof(symboln), "%sClearIndex", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearColor) { - void **procp = (void **) &disp->ClearColor; - - snprintf(symboln, sizeof(symboln), "%sClearColor", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearStencil) { - void **procp = (void **) &disp->ClearStencil; - - snprintf(symboln, sizeof(symboln), "%sClearStencil", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearDepth) { - void **procp = (void **) &disp->ClearDepth; - - snprintf(symboln, sizeof(symboln), "%sClearDepth", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilMask) { - void **procp = (void **) &disp->StencilMask; - - snprintf(symboln, sizeof(symboln), "%sStencilMask", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorMask) { - void **procp = (void **) &disp->ColorMask; - - snprintf(symboln, sizeof(symboln), "%sColorMask", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DepthMask) { - void **procp = (void **) &disp->DepthMask; - - snprintf(symboln, sizeof(symboln), "%sDepthMask", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IndexMask) { - void **procp = (void **) &disp->IndexMask; - - snprintf(symboln, sizeof(symboln), "%sIndexMask", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Accum) { - void **procp = (void **) &disp->Accum; - - snprintf(symboln, sizeof(symboln), "%sAccum", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Disable) { - void **procp = (void **) &disp->Disable; - - snprintf(symboln, sizeof(symboln), "%sDisable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Enable) { - void **procp = (void **) &disp->Enable; - - snprintf(symboln, sizeof(symboln), "%sEnable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Finish) { - void **procp = (void **) &disp->Finish; - - snprintf(symboln, sizeof(symboln), "%sFinish", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Flush) { - void **procp = (void **) &disp->Flush; - - snprintf(symboln, sizeof(symboln), "%sFlush", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PopAttrib) { - void **procp = (void **) &disp->PopAttrib; - - snprintf(symboln, sizeof(symboln), "%sPopAttrib", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PushAttrib) { - void **procp = (void **) &disp->PushAttrib; - - snprintf(symboln, sizeof(symboln), "%sPushAttrib", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Map1d) { - void **procp = (void **) &disp->Map1d; - - snprintf(symboln, sizeof(symboln), "%sMap1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Map1f) { - void **procp = (void **) &disp->Map1f; - - snprintf(symboln, sizeof(symboln), "%sMap1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Map2d) { - void **procp = (void **) &disp->Map2d; - - snprintf(symboln, sizeof(symboln), "%sMap2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Map2f) { - void **procp = (void **) &disp->Map2f; - - snprintf(symboln, sizeof(symboln), "%sMap2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapGrid1d) { - void **procp = (void **) &disp->MapGrid1d; - - snprintf(symboln, sizeof(symboln), "%sMapGrid1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapGrid1f) { - void **procp = (void **) &disp->MapGrid1f; - - snprintf(symboln, sizeof(symboln), "%sMapGrid1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapGrid2d) { - void **procp = (void **) &disp->MapGrid2d; - - snprintf(symboln, sizeof(symboln), "%sMapGrid2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapGrid2f) { - void **procp = (void **) &disp->MapGrid2f; - - snprintf(symboln, sizeof(symboln), "%sMapGrid2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord1d) { - void **procp = (void **) &disp->EvalCoord1d; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord1dv) { - void **procp = (void **) &disp->EvalCoord1dv; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord1dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord1f) { - void **procp = (void **) &disp->EvalCoord1f; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord1fv) { - void **procp = (void **) &disp->EvalCoord1fv; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord1fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord2d) { - void **procp = (void **) &disp->EvalCoord2d; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord2dv) { - void **procp = (void **) &disp->EvalCoord2dv; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord2f) { - void **procp = (void **) &disp->EvalCoord2f; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalCoord2fv) { - void **procp = (void **) &disp->EvalCoord2fv; - - snprintf(symboln, sizeof(symboln), "%sEvalCoord2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalMesh1) { - void **procp = (void **) &disp->EvalMesh1; - - snprintf(symboln, sizeof(symboln), "%sEvalMesh1", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalPoint1) { - void **procp = (void **) &disp->EvalPoint1; - - snprintf(symboln, sizeof(symboln), "%sEvalPoint1", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalMesh2) { - void **procp = (void **) &disp->EvalMesh2; - - snprintf(symboln, sizeof(symboln), "%sEvalMesh2", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EvalPoint2) { - void **procp = (void **) &disp->EvalPoint2; - - snprintf(symboln, sizeof(symboln), "%sEvalPoint2", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AlphaFunc) { - void **procp = (void **) &disp->AlphaFunc; - - snprintf(symboln, sizeof(symboln), "%sAlphaFunc", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFunc) { - void **procp = (void **) &disp->BlendFunc; - - snprintf(symboln, sizeof(symboln), "%sBlendFunc", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LogicOp) { - void **procp = (void **) &disp->LogicOp; - - snprintf(symboln, sizeof(symboln), "%sLogicOp", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilFunc) { - void **procp = (void **) &disp->StencilFunc; - - snprintf(symboln, sizeof(symboln), "%sStencilFunc", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilOp) { - void **procp = (void **) &disp->StencilOp; - - snprintf(symboln, sizeof(symboln), "%sStencilOp", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DepthFunc) { - void **procp = (void **) &disp->DepthFunc; - - snprintf(symboln, sizeof(symboln), "%sDepthFunc", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelZoom) { - void **procp = (void **) &disp->PixelZoom; - - snprintf(symboln, sizeof(symboln), "%sPixelZoom", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTransferf) { - void **procp = (void **) &disp->PixelTransferf; - - snprintf(symboln, sizeof(symboln), "%sPixelTransferf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTransferi) { - void **procp = (void **) &disp->PixelTransferi; - - snprintf(symboln, sizeof(symboln), "%sPixelTransferi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelStoref) { - void **procp = (void **) &disp->PixelStoref; - - snprintf(symboln, sizeof(symboln), "%sPixelStoref", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelStorei) { - void **procp = (void **) &disp->PixelStorei; - - snprintf(symboln, sizeof(symboln), "%sPixelStorei", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelMapfv) { - void **procp = (void **) &disp->PixelMapfv; - - snprintf(symboln, sizeof(symboln), "%sPixelMapfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelMapuiv) { - void **procp = (void **) &disp->PixelMapuiv; - - snprintf(symboln, sizeof(symboln), "%sPixelMapuiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelMapusv) { - void **procp = (void **) &disp->PixelMapusv; - - snprintf(symboln, sizeof(symboln), "%sPixelMapusv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ReadBuffer) { - void **procp = (void **) &disp->ReadBuffer; - - snprintf(symboln, sizeof(symboln), "%sReadBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyPixels) { - void **procp = (void **) &disp->CopyPixels; - - snprintf(symboln, sizeof(symboln), "%sCopyPixels", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ReadPixels) { - void **procp = (void **) &disp->ReadPixels; - - snprintf(symboln, sizeof(symboln), "%sReadPixels", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawPixels) { - void **procp = (void **) &disp->DrawPixels; - - snprintf(symboln, sizeof(symboln), "%sDrawPixels", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBooleanv) { - void **procp = (void **) &disp->GetBooleanv; - - snprintf(symboln, sizeof(symboln), "%sGetBooleanv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetClipPlane) { - void **procp = (void **) &disp->GetClipPlane; - - snprintf(symboln, sizeof(symboln), "%sGetClipPlane", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetDoublev) { - void **procp = (void **) &disp->GetDoublev; - - snprintf(symboln, sizeof(symboln), "%sGetDoublev", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetError) { - void **procp = (void **) &disp->GetError; - - snprintf(symboln, sizeof(symboln), "%sGetError", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFloatv) { - void **procp = (void **) &disp->GetFloatv; - - snprintf(symboln, sizeof(symboln), "%sGetFloatv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetIntegerv) { - void **procp = (void **) &disp->GetIntegerv; - - snprintf(symboln, sizeof(symboln), "%sGetIntegerv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetLightfv) { - void **procp = (void **) &disp->GetLightfv; - - snprintf(symboln, sizeof(symboln), "%sGetLightfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetLightiv) { - void **procp = (void **) &disp->GetLightiv; - - snprintf(symboln, sizeof(symboln), "%sGetLightiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMapdv) { - void **procp = (void **) &disp->GetMapdv; - - snprintf(symboln, sizeof(symboln), "%sGetMapdv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMapfv) { - void **procp = (void **) &disp->GetMapfv; - - snprintf(symboln, sizeof(symboln), "%sGetMapfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMapiv) { - void **procp = (void **) &disp->GetMapiv; - - snprintf(symboln, sizeof(symboln), "%sGetMapiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMaterialfv) { - void **procp = (void **) &disp->GetMaterialfv; - - snprintf(symboln, sizeof(symboln), "%sGetMaterialfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMaterialiv) { - void **procp = (void **) &disp->GetMaterialiv; - - snprintf(symboln, sizeof(symboln), "%sGetMaterialiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPixelMapfv) { - void **procp = (void **) &disp->GetPixelMapfv; - - snprintf(symboln, sizeof(symboln), "%sGetPixelMapfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPixelMapuiv) { - void **procp = (void **) &disp->GetPixelMapuiv; - - snprintf(symboln, sizeof(symboln), "%sGetPixelMapuiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPixelMapusv) { - void **procp = (void **) &disp->GetPixelMapusv; - - snprintf(symboln, sizeof(symboln), "%sGetPixelMapusv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPolygonStipple) { - void **procp = (void **) &disp->GetPolygonStipple; - - snprintf(symboln, sizeof(symboln), "%sGetPolygonStipple", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetString) { - void **procp = (void **) &disp->GetString; - - snprintf(symboln, sizeof(symboln), "%sGetString", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexEnvfv) { - void **procp = (void **) &disp->GetTexEnvfv; - - snprintf(symboln, sizeof(symboln), "%sGetTexEnvfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexEnviv) { - void **procp = (void **) &disp->GetTexEnviv; - - snprintf(symboln, sizeof(symboln), "%sGetTexEnviv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexGendv) { - void **procp = (void **) &disp->GetTexGendv; - - snprintf(symboln, sizeof(symboln), "%sGetTexGendv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexGenfv) { - void **procp = (void **) &disp->GetTexGenfv; - - snprintf(symboln, sizeof(symboln), "%sGetTexGenfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexGeniv) { - void **procp = (void **) &disp->GetTexGeniv; - - snprintf(symboln, sizeof(symboln), "%sGetTexGeniv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexImage) { - void **procp = (void **) &disp->GetTexImage; - - snprintf(symboln, sizeof(symboln), "%sGetTexImage", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterfv) { - void **procp = (void **) &disp->GetTexParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameteriv) { - void **procp = (void **) &disp->GetTexParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexLevelParameterfv) { - void **procp = (void **) &disp->GetTexLevelParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexLevelParameteriv) { - void **procp = (void **) &disp->GetTexLevelParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsEnabled) { - void **procp = (void **) &disp->IsEnabled; - - snprintf(symboln, sizeof(symboln), "%sIsEnabled", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsList) { - void **procp = (void **) &disp->IsList; - - snprintf(symboln, sizeof(symboln), "%sIsList", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DepthRange) { - void **procp = (void **) &disp->DepthRange; - - snprintf(symboln, sizeof(symboln), "%sDepthRange", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Frustum) { - void **procp = (void **) &disp->Frustum; - - snprintf(symboln, sizeof(symboln), "%sFrustum", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadIdentity) { - void **procp = (void **) &disp->LoadIdentity; - - snprintf(symboln, sizeof(symboln), "%sLoadIdentity", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadMatrixf) { - void **procp = (void **) &disp->LoadMatrixf; - - snprintf(symboln, sizeof(symboln), "%sLoadMatrixf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadMatrixd) { - void **procp = (void **) &disp->LoadMatrixd; - - snprintf(symboln, sizeof(symboln), "%sLoadMatrixd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MatrixMode) { - void **procp = (void **) &disp->MatrixMode; - - snprintf(symboln, sizeof(symboln), "%sMatrixMode", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultMatrixf) { - void **procp = (void **) &disp->MultMatrixf; - - snprintf(symboln, sizeof(symboln), "%sMultMatrixf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultMatrixd) { - void **procp = (void **) &disp->MultMatrixd; - - snprintf(symboln, sizeof(symboln), "%sMultMatrixd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Ortho) { - void **procp = (void **) &disp->Ortho; - - snprintf(symboln, sizeof(symboln), "%sOrtho", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PopMatrix) { - void **procp = (void **) &disp->PopMatrix; - - snprintf(symboln, sizeof(symboln), "%sPopMatrix", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PushMatrix) { - void **procp = (void **) &disp->PushMatrix; - - snprintf(symboln, sizeof(symboln), "%sPushMatrix", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rotated) { - void **procp = (void **) &disp->Rotated; - - snprintf(symboln, sizeof(symboln), "%sRotated", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Rotatef) { - void **procp = (void **) &disp->Rotatef; - - snprintf(symboln, sizeof(symboln), "%sRotatef", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Scaled) { - void **procp = (void **) &disp->Scaled; - - snprintf(symboln, sizeof(symboln), "%sScaled", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Scalef) { - void **procp = (void **) &disp->Scalef; - - snprintf(symboln, sizeof(symboln), "%sScalef", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Translated) { - void **procp = (void **) &disp->Translated; - - snprintf(symboln, sizeof(symboln), "%sTranslated", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Translatef) { - void **procp = (void **) &disp->Translatef; - - snprintf(symboln, sizeof(symboln), "%sTranslatef", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Viewport) { - void **procp = (void **) &disp->Viewport; - - snprintf(symboln, sizeof(symboln), "%sViewport", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ArrayElement) { - void **procp = (void **) &disp->ArrayElement; - - snprintf(symboln, sizeof(symboln), "%sArrayElement", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ArrayElement) { - void **procp = (void **) &disp->ArrayElement; - - snprintf(symboln, sizeof(symboln), "%sArrayElementEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindTexture) { - void **procp = (void **) &disp->BindTexture; - - snprintf(symboln, sizeof(symboln), "%sBindTexture", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindTexture) { - void **procp = (void **) &disp->BindTexture; - - snprintf(symboln, sizeof(symboln), "%sBindTextureEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorPointer) { - void **procp = (void **) &disp->ColorPointer; - - snprintf(symboln, sizeof(symboln), "%sColorPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DisableClientState) { - void **procp = (void **) &disp->DisableClientState; - - snprintf(symboln, sizeof(symboln), "%sDisableClientState", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawArrays) { - void **procp = (void **) &disp->DrawArrays; - - snprintf(symboln, sizeof(symboln), "%sDrawArrays", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawArrays) { - void **procp = (void **) &disp->DrawArrays; - - snprintf(symboln, sizeof(symboln), "%sDrawArraysEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElements) { - void **procp = (void **) &disp->DrawElements; - - snprintf(symboln, sizeof(symboln), "%sDrawElements", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EdgeFlagPointer) { - void **procp = (void **) &disp->EdgeFlagPointer; - - snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EnableClientState) { - void **procp = (void **) &disp->EnableClientState; - - snprintf(symboln, sizeof(symboln), "%sEnableClientState", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IndexPointer) { - void **procp = (void **) &disp->IndexPointer; - - snprintf(symboln, sizeof(symboln), "%sIndexPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexub) { - void **procp = (void **) &disp->Indexub; - - snprintf(symboln, sizeof(symboln), "%sIndexub", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Indexubv) { - void **procp = (void **) &disp->Indexubv; - - snprintf(symboln, sizeof(symboln), "%sIndexubv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->InterleavedArrays) { - void **procp = (void **) &disp->InterleavedArrays; - - snprintf(symboln, sizeof(symboln), "%sInterleavedArrays", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->NormalPointer) { - void **procp = (void **) &disp->NormalPointer; - - snprintf(symboln, sizeof(symboln), "%sNormalPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PolygonOffset) { - void **procp = (void **) &disp->PolygonOffset; - - snprintf(symboln, sizeof(symboln), "%sPolygonOffset", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordPointer) { - void **procp = (void **) &disp->TexCoordPointer; - - snprintf(symboln, sizeof(symboln), "%sTexCoordPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexPointer) { - void **procp = (void **) &disp->VertexPointer; - - snprintf(symboln, sizeof(symboln), "%sVertexPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AreTexturesResident) { - void **procp = (void **) &disp->AreTexturesResident; - - snprintf(symboln, sizeof(symboln), "%sAreTexturesResident", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AreTexturesResident) { - void **procp = (void **) &disp->AreTexturesResident; - - snprintf(symboln, sizeof(symboln), "%sAreTexturesResidentEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexImage1D) { - void **procp = (void **) &disp->CopyTexImage1D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexImage1D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexImage1D) { - void **procp = (void **) &disp->CopyTexImage1D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexImage1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexImage2D) { - void **procp = (void **) &disp->CopyTexImage2D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexImage2D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexImage2D) { - void **procp = (void **) &disp->CopyTexImage2D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexImage2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage1D) { - void **procp = (void **) &disp->CopyTexSubImage1D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage1D) { - void **procp = (void **) &disp->CopyTexSubImage1D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage2D) { - void **procp = (void **) &disp->CopyTexSubImage2D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage2D) { - void **procp = (void **) &disp->CopyTexSubImage2D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteTextures) { - void **procp = (void **) &disp->DeleteTextures; - - snprintf(symboln, sizeof(symboln), "%sDeleteTextures", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteTextures) { - void **procp = (void **) &disp->DeleteTextures; - - snprintf(symboln, sizeof(symboln), "%sDeleteTexturesEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenTextures) { - void **procp = (void **) &disp->GenTextures; - - snprintf(symboln, sizeof(symboln), "%sGenTextures", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenTextures) { - void **procp = (void **) &disp->GenTextures; - - snprintf(symboln, sizeof(symboln), "%sGenTexturesEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPointerv) { - void **procp = (void **) &disp->GetPointerv; - - snprintf(symboln, sizeof(symboln), "%sGetPointerv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPointerv) { - void **procp = (void **) &disp->GetPointerv; - - snprintf(symboln, sizeof(symboln), "%sGetPointervEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsTexture) { - void **procp = (void **) &disp->IsTexture; - - snprintf(symboln, sizeof(symboln), "%sIsTexture", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsTexture) { - void **procp = (void **) &disp->IsTexture; - - snprintf(symboln, sizeof(symboln), "%sIsTextureEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PrioritizeTextures) { - void **procp = (void **) &disp->PrioritizeTextures; - - snprintf(symboln, sizeof(symboln), "%sPrioritizeTextures", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PrioritizeTextures) { - void **procp = (void **) &disp->PrioritizeTextures; - - snprintf(symboln, sizeof(symboln), "%sPrioritizeTexturesEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage1D) { - void **procp = (void **) &disp->TexSubImage1D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage1D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage1D) { - void **procp = (void **) &disp->TexSubImage1D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage1DEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage2D) { - void **procp = (void **) &disp->TexSubImage2D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage2D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage2D) { - void **procp = (void **) &disp->TexSubImage2D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage2DEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PopClientAttrib) { - void **procp = (void **) &disp->PopClientAttrib; - - snprintf(symboln, sizeof(symboln), "%sPopClientAttrib", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PushClientAttrib) { - void **procp = (void **) &disp->PushClientAttrib; - - snprintf(symboln, sizeof(symboln), "%sPushClientAttrib", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendColor) { - void **procp = (void **) &disp->BlendColor; - - snprintf(symboln, sizeof(symboln), "%sBlendColor", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendColor) { - void **procp = (void **) &disp->BlendColor; - - snprintf(symboln, sizeof(symboln), "%sBlendColorEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquation) { - void **procp = (void **) &disp->BlendEquation; - - snprintf(symboln, sizeof(symboln), "%sBlendEquation", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquation) { - void **procp = (void **) &disp->BlendEquation; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawRangeElements) { - void **procp = (void **) &disp->DrawRangeElements; - - snprintf(symboln, sizeof(symboln), "%sDrawRangeElements", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawRangeElements) { - void **procp = (void **) &disp->DrawRangeElements; - - snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTable) { - void **procp = (void **) &disp->ColorTable; - - snprintf(symboln, sizeof(symboln), "%sColorTable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTable) { - void **procp = (void **) &disp->ColorTable; - - snprintf(symboln, sizeof(symboln), "%sColorTableSGI", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTable) { - void **procp = (void **) &disp->ColorTable; - - snprintf(symboln, sizeof(symboln), "%sColorTableEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTableParameterfv) { - void **procp = (void **) &disp->ColorTableParameterfv; - - snprintf(symboln, sizeof(symboln), "%sColorTableParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTableParameterfv) { - void **procp = (void **) &disp->ColorTableParameterfv; - - snprintf(symboln, sizeof(symboln), "%sColorTableParameterfvSGI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTableParameteriv) { - void **procp = (void **) &disp->ColorTableParameteriv; - - snprintf(symboln, sizeof(symboln), "%sColorTableParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorTableParameteriv) { - void **procp = (void **) &disp->ColorTableParameteriv; - - snprintf(symboln, sizeof(symboln), "%sColorTableParameterivSGI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyColorTable) { - void **procp = (void **) &disp->CopyColorTable; - - snprintf(symboln, sizeof(symboln), "%sCopyColorTable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyColorTable) { - void **procp = (void **) &disp->CopyColorTable; - - snprintf(symboln, sizeof(symboln), "%sCopyColorTableSGI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTable) { - void **procp = (void **) &disp->GetColorTable; - - snprintf(symboln, sizeof(symboln), "%sGetColorTable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTable) { - void **procp = (void **) &disp->GetColorTable; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableSGI", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTable) { - void **procp = (void **) &disp->GetColorTable; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameterfv) { - void **procp = (void **) &disp->GetColorTableParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameterfv) { - void **procp = (void **) &disp->GetColorTableParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvSGI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameterfv) { - void **procp = (void **) &disp->GetColorTableParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameteriv) { - void **procp = (void **) &disp->GetColorTableParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameteriv) { - void **procp = (void **) &disp->GetColorTableParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivSGI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetColorTableParameteriv) { - void **procp = (void **) &disp->GetColorTableParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorSubTable) { - void **procp = (void **) &disp->ColorSubTable; - - snprintf(symboln, sizeof(symboln), "%sColorSubTable", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorSubTable) { - void **procp = (void **) &disp->ColorSubTable; - - snprintf(symboln, sizeof(symboln), "%sColorSubTableEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyColorSubTable) { - void **procp = (void **) &disp->CopyColorSubTable; - - snprintf(symboln, sizeof(symboln), "%sCopyColorSubTable", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyColorSubTable) { - void **procp = (void **) &disp->CopyColorSubTable; - - snprintf(symboln, sizeof(symboln), "%sCopyColorSubTableEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionFilter1D) { - void **procp = (void **) &disp->ConvolutionFilter1D; - - snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionFilter1D) { - void **procp = (void **) &disp->ConvolutionFilter1D; - - snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionFilter2D) { - void **procp = (void **) &disp->ConvolutionFilter2D; - - snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionFilter2D) { - void **procp = (void **) &disp->ConvolutionFilter2D; - - snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameterf) { - void **procp = (void **) &disp->ConvolutionParameterf; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameterf", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameterf) { - void **procp = (void **) &disp->ConvolutionParameterf; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameterfv) { - void **procp = (void **) &disp->ConvolutionParameterfv; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameterfv) { - void **procp = (void **) &disp->ConvolutionParameterfv; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameteri) { - void **procp = (void **) &disp->ConvolutionParameteri; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameteri", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameteri) { - void **procp = (void **) &disp->ConvolutionParameteri; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameteriv) { - void **procp = (void **) &disp->ConvolutionParameteriv; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ConvolutionParameteriv) { - void **procp = (void **) &disp->ConvolutionParameteriv; - - snprintf(symboln, sizeof(symboln), "%sConvolutionParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyConvolutionFilter1D) { - void **procp = (void **) &disp->CopyConvolutionFilter1D; - - snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyConvolutionFilter1D) { - void **procp = (void **) &disp->CopyConvolutionFilter1D; - - snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyConvolutionFilter2D) { - void **procp = (void **) &disp->CopyConvolutionFilter2D; - - snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyConvolutionFilter2D) { - void **procp = (void **) &disp->CopyConvolutionFilter2D; - - snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionFilter) { - void **procp = (void **) &disp->GetConvolutionFilter; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilter", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionFilter) { - void **procp = (void **) &disp->GetConvolutionFilter; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilterEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionParameterfv) { - void **procp = (void **) &disp->GetConvolutionParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionParameterfv) { - void **procp = (void **) &disp->GetConvolutionParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionParameteriv) { - void **procp = (void **) &disp->GetConvolutionParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetConvolutionParameteriv) { - void **procp = (void **) &disp->GetConvolutionParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSeparableFilter) { - void **procp = (void **) &disp->GetSeparableFilter; - - snprintf(symboln, sizeof(symboln), "%sGetSeparableFilter", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSeparableFilter) { - void **procp = (void **) &disp->GetSeparableFilter; - - snprintf(symboln, sizeof(symboln), "%sGetSeparableFilterEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SeparableFilter2D) { - void **procp = (void **) &disp->SeparableFilter2D; - - snprintf(symboln, sizeof(symboln), "%sSeparableFilter2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SeparableFilter2D) { - void **procp = (void **) &disp->SeparableFilter2D; - - snprintf(symboln, sizeof(symboln), "%sSeparableFilter2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogram) { - void **procp = (void **) &disp->GetHistogram; - - snprintf(symboln, sizeof(symboln), "%sGetHistogram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogram) { - void **procp = (void **) &disp->GetHistogram; - - snprintf(symboln, sizeof(symboln), "%sGetHistogramEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogramParameterfv) { - void **procp = (void **) &disp->GetHistogramParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogramParameterfv) { - void **procp = (void **) &disp->GetHistogramParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogramParameteriv) { - void **procp = (void **) &disp->GetHistogramParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetHistogramParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHistogramParameteriv) { - void **procp = (void **) &disp->GetHistogramParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmax) { - void **procp = (void **) &disp->GetMinmax; - - snprintf(symboln, sizeof(symboln), "%sGetMinmax", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmax) { - void **procp = (void **) &disp->GetMinmax; - - snprintf(symboln, sizeof(symboln), "%sGetMinmaxEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmaxParameterfv) { - void **procp = (void **) &disp->GetMinmaxParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmaxParameterfv) { - void **procp = (void **) &disp->GetMinmaxParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmaxParameteriv) { - void **procp = (void **) &disp->GetMinmaxParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetMinmaxParameteriv) { - void **procp = (void **) &disp->GetMinmaxParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Histogram) { - void **procp = (void **) &disp->Histogram; - - snprintf(symboln, sizeof(symboln), "%sHistogram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Histogram) { - void **procp = (void **) &disp->Histogram; - - snprintf(symboln, sizeof(symboln), "%sHistogramEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Minmax) { - void **procp = (void **) &disp->Minmax; - - snprintf(symboln, sizeof(symboln), "%sMinmax", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Minmax) { - void **procp = (void **) &disp->Minmax; - - snprintf(symboln, sizeof(symboln), "%sMinmaxEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResetHistogram) { - void **procp = (void **) &disp->ResetHistogram; - - snprintf(symboln, sizeof(symboln), "%sResetHistogram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResetHistogram) { - void **procp = (void **) &disp->ResetHistogram; - - snprintf(symboln, sizeof(symboln), "%sResetHistogramEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResetMinmax) { - void **procp = (void **) &disp->ResetMinmax; - - snprintf(symboln, sizeof(symboln), "%sResetMinmax", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResetMinmax) { - void **procp = (void **) &disp->ResetMinmax; - - snprintf(symboln, sizeof(symboln), "%sResetMinmaxEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexImage3D) { - void **procp = (void **) &disp->TexImage3D; - - snprintf(symboln, sizeof(symboln), "%sTexImage3D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexImage3D) { - void **procp = (void **) &disp->TexImage3D; - - snprintf(symboln, sizeof(symboln), "%sTexImage3DEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage3D) { - void **procp = (void **) &disp->TexSubImage3D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage3D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexSubImage3D) { - void **procp = (void **) &disp->TexSubImage3D; - - snprintf(symboln, sizeof(symboln), "%sTexSubImage3DEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage3D) { - void **procp = (void **) &disp->CopyTexSubImage3D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyTexSubImage3D) { - void **procp = (void **) &disp->CopyTexSubImage3D; - - snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ActiveTextureARB) { - void **procp = (void **) &disp->ActiveTextureARB; - - snprintf(symboln, sizeof(symboln), "%sActiveTexture", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ActiveTextureARB) { - void **procp = (void **) &disp->ActiveTextureARB; - - snprintf(symboln, sizeof(symboln), "%sActiveTextureARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClientActiveTextureARB) { - void **procp = (void **) &disp->ClientActiveTextureARB; - - snprintf(symboln, sizeof(symboln), "%sClientActiveTexture", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClientActiveTextureARB) { - void **procp = (void **) &disp->ClientActiveTextureARB; - - snprintf(symboln, sizeof(symboln), "%sClientActiveTextureARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1dARB) { - void **procp = (void **) &disp->MultiTexCoord1dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1dARB) { - void **procp = (void **) &disp->MultiTexCoord1dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1dvARB) { - void **procp = (void **) &disp->MultiTexCoord1dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1dvARB) { - void **procp = (void **) &disp->MultiTexCoord1dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1fARB) { - void **procp = (void **) &disp->MultiTexCoord1fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1fARB) { - void **procp = (void **) &disp->MultiTexCoord1fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1fvARB) { - void **procp = (void **) &disp->MultiTexCoord1fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1fvARB) { - void **procp = (void **) &disp->MultiTexCoord1fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1iARB) { - void **procp = (void **) &disp->MultiTexCoord1iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1iARB) { - void **procp = (void **) &disp->MultiTexCoord1iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1ivARB) { - void **procp = (void **) &disp->MultiTexCoord1ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1ivARB) { - void **procp = (void **) &disp->MultiTexCoord1ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1ivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1sARB) { - void **procp = (void **) &disp->MultiTexCoord1sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1sARB) { - void **procp = (void **) &disp->MultiTexCoord1sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1svARB) { - void **procp = (void **) &disp->MultiTexCoord1svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord1svARB) { - void **procp = (void **) &disp->MultiTexCoord1svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2dARB) { - void **procp = (void **) &disp->MultiTexCoord2dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2dARB) { - void **procp = (void **) &disp->MultiTexCoord2dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2dvARB) { - void **procp = (void **) &disp->MultiTexCoord2dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2dvARB) { - void **procp = (void **) &disp->MultiTexCoord2dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2fARB) { - void **procp = (void **) &disp->MultiTexCoord2fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2fARB) { - void **procp = (void **) &disp->MultiTexCoord2fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2fvARB) { - void **procp = (void **) &disp->MultiTexCoord2fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2fvARB) { - void **procp = (void **) &disp->MultiTexCoord2fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2iARB) { - void **procp = (void **) &disp->MultiTexCoord2iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2iARB) { - void **procp = (void **) &disp->MultiTexCoord2iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2ivARB) { - void **procp = (void **) &disp->MultiTexCoord2ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2ivARB) { - void **procp = (void **) &disp->MultiTexCoord2ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2ivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2sARB) { - void **procp = (void **) &disp->MultiTexCoord2sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2sARB) { - void **procp = (void **) &disp->MultiTexCoord2sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2svARB) { - void **procp = (void **) &disp->MultiTexCoord2svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord2svARB) { - void **procp = (void **) &disp->MultiTexCoord2svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3dARB) { - void **procp = (void **) &disp->MultiTexCoord3dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3dARB) { - void **procp = (void **) &disp->MultiTexCoord3dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3dvARB) { - void **procp = (void **) &disp->MultiTexCoord3dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3dvARB) { - void **procp = (void **) &disp->MultiTexCoord3dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3fARB) { - void **procp = (void **) &disp->MultiTexCoord3fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3fARB) { - void **procp = (void **) &disp->MultiTexCoord3fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3fvARB) { - void **procp = (void **) &disp->MultiTexCoord3fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3fvARB) { - void **procp = (void **) &disp->MultiTexCoord3fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3iARB) { - void **procp = (void **) &disp->MultiTexCoord3iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3iARB) { - void **procp = (void **) &disp->MultiTexCoord3iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3ivARB) { - void **procp = (void **) &disp->MultiTexCoord3ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3ivARB) { - void **procp = (void **) &disp->MultiTexCoord3ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3ivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3sARB) { - void **procp = (void **) &disp->MultiTexCoord3sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3sARB) { - void **procp = (void **) &disp->MultiTexCoord3sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3svARB) { - void **procp = (void **) &disp->MultiTexCoord3svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord3svARB) { - void **procp = (void **) &disp->MultiTexCoord3svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4dARB) { - void **procp = (void **) &disp->MultiTexCoord4dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4dARB) { - void **procp = (void **) &disp->MultiTexCoord4dARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4dvARB) { - void **procp = (void **) &disp->MultiTexCoord4dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4dvARB) { - void **procp = (void **) &disp->MultiTexCoord4dvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4fARB) { - void **procp = (void **) &disp->MultiTexCoord4fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4fARB) { - void **procp = (void **) &disp->MultiTexCoord4fARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4fvARB) { - void **procp = (void **) &disp->MultiTexCoord4fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4fvARB) { - void **procp = (void **) &disp->MultiTexCoord4fvARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4iARB) { - void **procp = (void **) &disp->MultiTexCoord4iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4iARB) { - void **procp = (void **) &disp->MultiTexCoord4iARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4ivARB) { - void **procp = (void **) &disp->MultiTexCoord4ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4ivARB) { - void **procp = (void **) &disp->MultiTexCoord4ivARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4ivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4sARB) { - void **procp = (void **) &disp->MultiTexCoord4sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4sARB) { - void **procp = (void **) &disp->MultiTexCoord4sARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4svARB) { - void **procp = (void **) &disp->MultiTexCoord4svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoord4svARB) { - void **procp = (void **) &disp->MultiTexCoord4svARB; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AttachShader) { - void **procp = (void **) &disp->AttachShader; - - snprintf(symboln, sizeof(symboln), "%sAttachShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CreateProgram) { - void **procp = (void **) &disp->CreateProgram; - - snprintf(symboln, sizeof(symboln), "%sCreateProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CreateShader) { - void **procp = (void **) &disp->CreateShader; - - snprintf(symboln, sizeof(symboln), "%sCreateShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteProgram) { - void **procp = (void **) &disp->DeleteProgram; - - snprintf(symboln, sizeof(symboln), "%sDeleteProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteShader) { - void **procp = (void **) &disp->DeleteShader; - - snprintf(symboln, sizeof(symboln), "%sDeleteShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DetachShader) { - void **procp = (void **) &disp->DetachShader; - - snprintf(symboln, sizeof(symboln), "%sDetachShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetAttachedShaders) { - void **procp = (void **) &disp->GetAttachedShaders; - - snprintf(symboln, sizeof(symboln), "%sGetAttachedShaders", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramInfoLog) { - void **procp = (void **) &disp->GetProgramInfoLog; - - snprintf(symboln, sizeof(symboln), "%sGetProgramInfoLog", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramiv) { - void **procp = (void **) &disp->GetProgramiv; - - snprintf(symboln, sizeof(symboln), "%sGetProgramiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetShaderInfoLog) { - void **procp = (void **) &disp->GetShaderInfoLog; - - snprintf(symboln, sizeof(symboln), "%sGetShaderInfoLog", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetShaderiv) { - void **procp = (void **) &disp->GetShaderiv; - - snprintf(symboln, sizeof(symboln), "%sGetShaderiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsProgram) { - void **procp = (void **) &disp->IsProgram; - - snprintf(symboln, sizeof(symboln), "%sIsProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsShader) { - void **procp = (void **) &disp->IsShader; - - snprintf(symboln, sizeof(symboln), "%sIsShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilFuncSeparate) { - void **procp = (void **) &disp->StencilFuncSeparate; - - snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparate", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilMaskSeparate) { - void **procp = (void **) &disp->StencilMaskSeparate; - - snprintf(symboln, sizeof(symboln), "%sStencilMaskSeparate", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilOpSeparate) { - void **procp = (void **) &disp->StencilOpSeparate; - - snprintf(symboln, sizeof(symboln), "%sStencilOpSeparate", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilOpSeparate) { - void **procp = (void **) &disp->StencilOpSeparate; - - snprintf(symboln, sizeof(symboln), "%sStencilOpSeparateATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix2x3fv) { - void **procp = (void **) &disp->UniformMatrix2x3fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x3fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix2x4fv) { - void **procp = (void **) &disp->UniformMatrix2x4fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x4fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix3x2fv) { - void **procp = (void **) &disp->UniformMatrix3x2fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x2fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix3x4fv) { - void **procp = (void **) &disp->UniformMatrix3x4fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x4fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix4x2fv) { - void **procp = (void **) &disp->UniformMatrix4x2fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x2fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix4x3fv) { - void **procp = (void **) &disp->UniformMatrix4x3fv; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x3fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClampColor) { - void **procp = (void **) &disp->ClampColor; - - snprintf(symboln, sizeof(symboln), "%sClampColor", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearBufferfi) { - void **procp = (void **) &disp->ClearBufferfi; - - snprintf(symboln, sizeof(symboln), "%sClearBufferfi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearBufferfv) { - void **procp = (void **) &disp->ClearBufferfv; - - snprintf(symboln, sizeof(symboln), "%sClearBufferfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearBufferiv) { - void **procp = (void **) &disp->ClearBufferiv; - - snprintf(symboln, sizeof(symboln), "%sClearBufferiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearBufferuiv) { - void **procp = (void **) &disp->ClearBufferuiv; - - snprintf(symboln, sizeof(symboln), "%sClearBufferuiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetStringi) { - void **procp = (void **) &disp->GetStringi; - - snprintf(symboln, sizeof(symboln), "%sGetStringi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexBuffer) { - void **procp = (void **) &disp->TexBuffer; - - snprintf(symboln, sizeof(symboln), "%sTexBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture) { - void **procp = (void **) &disp->FramebufferTexture; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferParameteri64v) { - void **procp = (void **) &disp->GetBufferParameteri64v; - - snprintf(symboln, sizeof(symboln), "%sGetBufferParameteri64v", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetInteger64i_v) { - void **procp = (void **) &disp->GetInteger64i_v; - - snprintf(symboln, sizeof(symboln), "%sGetInteger64i_v", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribDivisor) { - void **procp = (void **) &disp->VertexAttribDivisor; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisor", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadTransposeMatrixdARB) { - void **procp = (void **) &disp->LoadTransposeMatrixdARB; - - snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixd", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadTransposeMatrixdARB) { - void **procp = (void **) &disp->LoadTransposeMatrixdARB; - - snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixdARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadTransposeMatrixfARB) { - void **procp = (void **) &disp->LoadTransposeMatrixfARB; - - snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixf", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadTransposeMatrixfARB) { - void **procp = (void **) &disp->LoadTransposeMatrixfARB; - - snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixfARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultTransposeMatrixdARB) { - void **procp = (void **) &disp->MultTransposeMatrixdARB; - - snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixd", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultTransposeMatrixdARB) { - void **procp = (void **) &disp->MultTransposeMatrixdARB; - - snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixdARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultTransposeMatrixfARB) { - void **procp = (void **) &disp->MultTransposeMatrixfARB; - - snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixf", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultTransposeMatrixfARB) { - void **procp = (void **) &disp->MultTransposeMatrixfARB; - - snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixfARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SampleCoverageARB) { - void **procp = (void **) &disp->SampleCoverageARB; - - snprintf(symboln, sizeof(symboln), "%sSampleCoverage", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SampleCoverageARB) { - void **procp = (void **) &disp->SampleCoverageARB; - - snprintf(symboln, sizeof(symboln), "%sSampleCoverageARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage1DARB) { - void **procp = (void **) &disp->CompressedTexImage1DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage1DARB) { - void **procp = (void **) &disp->CompressedTexImage1DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage2DARB) { - void **procp = (void **) &disp->CompressedTexImage2DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage2DARB) { - void **procp = (void **) &disp->CompressedTexImage2DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage3DARB) { - void **procp = (void **) &disp->CompressedTexImage3DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexImage3DARB) { - void **procp = (void **) &disp->CompressedTexImage3DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage1DARB) { - void **procp = (void **) &disp->CompressedTexSubImage1DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage1DARB) { - void **procp = (void **) &disp->CompressedTexSubImage1DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage2DARB) { - void **procp = (void **) &disp->CompressedTexSubImage2DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage2DARB) { - void **procp = (void **) &disp->CompressedTexSubImage2DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage3DARB) { - void **procp = (void **) &disp->CompressedTexSubImage3DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompressedTexSubImage3DARB) { - void **procp = (void **) &disp->CompressedTexSubImage3DARB; - - snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3DARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCompressedTexImageARB) { - void **procp = (void **) &disp->GetCompressedTexImageARB; - - snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImage", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCompressedTexImageARB) { - void **procp = (void **) &disp->GetCompressedTexImageARB; - - snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImageARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DisableVertexAttribArrayARB) { - void **procp = (void **) &disp->DisableVertexAttribArrayARB; - - snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArray", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DisableVertexAttribArrayARB) { - void **procp = (void **) &disp->DisableVertexAttribArrayARB; - - snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArrayARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EnableVertexAttribArrayARB) { - void **procp = (void **) &disp->EnableVertexAttribArrayARB; - - snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArray", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EnableVertexAttribArrayARB) { - void **procp = (void **) &disp->EnableVertexAttribArrayARB; - - snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArrayARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramEnvParameterdvARB) { - void **procp = (void **) &disp->GetProgramEnvParameterdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterdvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramEnvParameterfvARB) { - void **procp = (void **) &disp->GetProgramEnvParameterfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramLocalParameterdvARB) { - void **procp = (void **) &disp->GetProgramLocalParameterdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterdvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramLocalParameterfvARB) { - void **procp = (void **) &disp->GetProgramLocalParameterfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramStringARB) { - void **procp = (void **) &disp->GetProgramStringARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramStringARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramivARB) { - void **procp = (void **) &disp->GetProgramivARB; - - snprintf(symboln, sizeof(symboln), "%sGetProgramivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribdvARB) { - void **procp = (void **) &disp->GetVertexAttribdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribdvARB) { - void **procp = (void **) &disp->GetVertexAttribdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribfvARB) { - void **procp = (void **) &disp->GetVertexAttribfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribfvARB) { - void **procp = (void **) &disp->GetVertexAttribfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribivARB) { - void **procp = (void **) &disp->GetVertexAttribivARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribivARB) { - void **procp = (void **) &disp->GetVertexAttribivARB; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4dARB) { - void **procp = (void **) &disp->ProgramEnvParameter4dARB; - - snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4dARB) { - void **procp = (void **) &disp->ProgramEnvParameter4dARB; - - snprintf(symboln, sizeof(symboln), "%sProgramParameter4dNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4dvARB) { - void **procp = (void **) &disp->ProgramEnvParameter4dvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4dvARB) { - void **procp = (void **) &disp->ProgramEnvParameter4dvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramParameter4dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4fARB) { - void **procp = (void **) &disp->ProgramEnvParameter4fARB; - - snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4fARB) { - void **procp = (void **) &disp->ProgramEnvParameter4fARB; - - snprintf(symboln, sizeof(symboln), "%sProgramParameter4fNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4fvARB) { - void **procp = (void **) &disp->ProgramEnvParameter4fvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameter4fvARB) { - void **procp = (void **) &disp->ProgramEnvParameter4fvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramParameter4fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramLocalParameter4dARB) { - void **procp = (void **) &disp->ProgramLocalParameter4dARB; - - snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramLocalParameter4dvARB) { - void **procp = (void **) &disp->ProgramLocalParameter4dvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramLocalParameter4fARB) { - void **procp = (void **) &disp->ProgramLocalParameter4fARB; - - snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramLocalParameter4fvARB) { - void **procp = (void **) &disp->ProgramLocalParameter4fvARB; - - snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramStringARB) { - void **procp = (void **) &disp->ProgramStringARB; - - snprintf(symboln, sizeof(symboln), "%sProgramStringARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dARB) { - void **procp = (void **) &disp->VertexAttrib1dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dARB) { - void **procp = (void **) &disp->VertexAttrib1dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dvARB) { - void **procp = (void **) &disp->VertexAttrib1dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dvARB) { - void **procp = (void **) &disp->VertexAttrib1dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fARB) { - void **procp = (void **) &disp->VertexAttrib1fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fARB) { - void **procp = (void **) &disp->VertexAttrib1fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fvARB) { - void **procp = (void **) &disp->VertexAttrib1fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fvARB) { - void **procp = (void **) &disp->VertexAttrib1fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1sARB) { - void **procp = (void **) &disp->VertexAttrib1sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1sARB) { - void **procp = (void **) &disp->VertexAttrib1sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1svARB) { - void **procp = (void **) &disp->VertexAttrib1svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1svARB) { - void **procp = (void **) &disp->VertexAttrib1svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dARB) { - void **procp = (void **) &disp->VertexAttrib2dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dARB) { - void **procp = (void **) &disp->VertexAttrib2dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dvARB) { - void **procp = (void **) &disp->VertexAttrib2dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dvARB) { - void **procp = (void **) &disp->VertexAttrib2dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fARB) { - void **procp = (void **) &disp->VertexAttrib2fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fARB) { - void **procp = (void **) &disp->VertexAttrib2fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fvARB) { - void **procp = (void **) &disp->VertexAttrib2fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fvARB) { - void **procp = (void **) &disp->VertexAttrib2fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2sARB) { - void **procp = (void **) &disp->VertexAttrib2sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2sARB) { - void **procp = (void **) &disp->VertexAttrib2sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2svARB) { - void **procp = (void **) &disp->VertexAttrib2svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2svARB) { - void **procp = (void **) &disp->VertexAttrib2svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dARB) { - void **procp = (void **) &disp->VertexAttrib3dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dARB) { - void **procp = (void **) &disp->VertexAttrib3dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dvARB) { - void **procp = (void **) &disp->VertexAttrib3dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dvARB) { - void **procp = (void **) &disp->VertexAttrib3dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fARB) { - void **procp = (void **) &disp->VertexAttrib3fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fARB) { - void **procp = (void **) &disp->VertexAttrib3fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fvARB) { - void **procp = (void **) &disp->VertexAttrib3fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fvARB) { - void **procp = (void **) &disp->VertexAttrib3fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3sARB) { - void **procp = (void **) &disp->VertexAttrib3sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3sARB) { - void **procp = (void **) &disp->VertexAttrib3sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3svARB) { - void **procp = (void **) &disp->VertexAttrib3svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3svARB) { - void **procp = (void **) &disp->VertexAttrib3svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NbvARB) { - void **procp = (void **) &disp->VertexAttrib4NbvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nbv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NbvARB) { - void **procp = (void **) &disp->VertexAttrib4NbvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NbvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NivARB) { - void **procp = (void **) &disp->VertexAttrib4NivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Niv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NivARB) { - void **procp = (void **) &disp->VertexAttrib4NivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NsvARB) { - void **procp = (void **) &disp->VertexAttrib4NsvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nsv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NsvARB) { - void **procp = (void **) &disp->VertexAttrib4NsvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NsvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NubARB) { - void **procp = (void **) &disp->VertexAttrib4NubARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nub", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NubARB) { - void **procp = (void **) &disp->VertexAttrib4NubARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NubvARB) { - void **procp = (void **) &disp->VertexAttrib4NubvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nubv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NubvARB) { - void **procp = (void **) &disp->VertexAttrib4NubvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NuivARB) { - void **procp = (void **) &disp->VertexAttrib4NuivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NuivARB) { - void **procp = (void **) &disp->VertexAttrib4NuivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NuivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NusvARB) { - void **procp = (void **) &disp->VertexAttrib4NusvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nusv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4NusvARB) { - void **procp = (void **) &disp->VertexAttrib4NusvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NusvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4bvARB) { - void **procp = (void **) &disp->VertexAttrib4bvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4bvARB) { - void **procp = (void **) &disp->VertexAttrib4bvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dARB) { - void **procp = (void **) &disp->VertexAttrib4dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dARB) { - void **procp = (void **) &disp->VertexAttrib4dARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dvARB) { - void **procp = (void **) &disp->VertexAttrib4dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dvARB) { - void **procp = (void **) &disp->VertexAttrib4dvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fARB) { - void **procp = (void **) &disp->VertexAttrib4fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fARB) { - void **procp = (void **) &disp->VertexAttrib4fARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fvARB) { - void **procp = (void **) &disp->VertexAttrib4fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fvARB) { - void **procp = (void **) &disp->VertexAttrib4fvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ivARB) { - void **procp = (void **) &disp->VertexAttrib4ivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ivARB) { - void **procp = (void **) &disp->VertexAttrib4ivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4sARB) { - void **procp = (void **) &disp->VertexAttrib4sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4sARB) { - void **procp = (void **) &disp->VertexAttrib4sARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4svARB) { - void **procp = (void **) &disp->VertexAttrib4svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4svARB) { - void **procp = (void **) &disp->VertexAttrib4svARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ubvARB) { - void **procp = (void **) &disp->VertexAttrib4ubvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ubvARB) { - void **procp = (void **) &disp->VertexAttrib4ubvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4uivARB) { - void **procp = (void **) &disp->VertexAttrib4uivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4uivARB) { - void **procp = (void **) &disp->VertexAttrib4uivARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4usvARB) { - void **procp = (void **) &disp->VertexAttrib4usvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4usvARB) { - void **procp = (void **) &disp->VertexAttrib4usvARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribPointerARB) { - void **procp = (void **) &disp->VertexAttribPointerARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribPointer", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribPointerARB) { - void **procp = (void **) &disp->VertexAttribPointerARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferARB) { - void **procp = (void **) &disp->BindBufferARB; - - snprintf(symboln, sizeof(symboln), "%sBindBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferARB) { - void **procp = (void **) &disp->BindBufferARB; - - snprintf(symboln, sizeof(symboln), "%sBindBufferARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BufferDataARB) { - void **procp = (void **) &disp->BufferDataARB; - - snprintf(symboln, sizeof(symboln), "%sBufferData", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BufferDataARB) { - void **procp = (void **) &disp->BufferDataARB; - - snprintf(symboln, sizeof(symboln), "%sBufferDataARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BufferSubDataARB) { - void **procp = (void **) &disp->BufferSubDataARB; - - snprintf(symboln, sizeof(symboln), "%sBufferSubData", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BufferSubDataARB) { - void **procp = (void **) &disp->BufferSubDataARB; - - snprintf(symboln, sizeof(symboln), "%sBufferSubDataARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteBuffersARB) { - void **procp = (void **) &disp->DeleteBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDeleteBuffers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteBuffersARB) { - void **procp = (void **) &disp->DeleteBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDeleteBuffersARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenBuffersARB) { - void **procp = (void **) &disp->GenBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sGenBuffers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenBuffersARB) { - void **procp = (void **) &disp->GenBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sGenBuffersARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferParameterivARB) { - void **procp = (void **) &disp->GetBufferParameterivARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferParameterivARB) { - void **procp = (void **) &disp->GetBufferParameterivARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferParameterivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferPointervARB) { - void **procp = (void **) &disp->GetBufferPointervARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferPointerv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferPointervARB) { - void **procp = (void **) &disp->GetBufferPointervARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferPointervARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferSubDataARB) { - void **procp = (void **) &disp->GetBufferSubDataARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferSubData", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBufferSubDataARB) { - void **procp = (void **) &disp->GetBufferSubDataARB; - - snprintf(symboln, sizeof(symboln), "%sGetBufferSubDataARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsBufferARB) { - void **procp = (void **) &disp->IsBufferARB; - - snprintf(symboln, sizeof(symboln), "%sIsBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsBufferARB) { - void **procp = (void **) &disp->IsBufferARB; - - snprintf(symboln, sizeof(symboln), "%sIsBufferARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapBufferARB) { - void **procp = (void **) &disp->MapBufferARB; - - snprintf(symboln, sizeof(symboln), "%sMapBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapBufferARB) { - void **procp = (void **) &disp->MapBufferARB; - - snprintf(symboln, sizeof(symboln), "%sMapBufferARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UnmapBufferARB) { - void **procp = (void **) &disp->UnmapBufferARB; - - snprintf(symboln, sizeof(symboln), "%sUnmapBuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UnmapBufferARB) { - void **procp = (void **) &disp->UnmapBufferARB; - - snprintf(symboln, sizeof(symboln), "%sUnmapBufferARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginQueryARB) { - void **procp = (void **) &disp->BeginQueryARB; - - snprintf(symboln, sizeof(symboln), "%sBeginQuery", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginQueryARB) { - void **procp = (void **) &disp->BeginQueryARB; - - snprintf(symboln, sizeof(symboln), "%sBeginQueryARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteQueriesARB) { - void **procp = (void **) &disp->DeleteQueriesARB; - - snprintf(symboln, sizeof(symboln), "%sDeleteQueries", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteQueriesARB) { - void **procp = (void **) &disp->DeleteQueriesARB; - - snprintf(symboln, sizeof(symboln), "%sDeleteQueriesARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndQueryARB) { - void **procp = (void **) &disp->EndQueryARB; - - snprintf(symboln, sizeof(symboln), "%sEndQuery", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndQueryARB) { - void **procp = (void **) &disp->EndQueryARB; - - snprintf(symboln, sizeof(symboln), "%sEndQueryARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenQueriesARB) { - void **procp = (void **) &disp->GenQueriesARB; - - snprintf(symboln, sizeof(symboln), "%sGenQueries", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenQueriesARB) { - void **procp = (void **) &disp->GenQueriesARB; - - snprintf(symboln, sizeof(symboln), "%sGenQueriesARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjectivARB) { - void **procp = (void **) &disp->GetQueryObjectivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjectiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjectivARB) { - void **procp = (void **) &disp->GetQueryObjectivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjectivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjectuivARB) { - void **procp = (void **) &disp->GetQueryObjectuivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjectuivARB) { - void **procp = (void **) &disp->GetQueryObjectuivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryivARB) { - void **procp = (void **) &disp->GetQueryivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryivARB) { - void **procp = (void **) &disp->GetQueryivARB; - - snprintf(symboln, sizeof(symboln), "%sGetQueryivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsQueryARB) { - void **procp = (void **) &disp->IsQueryARB; - - snprintf(symboln, sizeof(symboln), "%sIsQuery", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsQueryARB) { - void **procp = (void **) &disp->IsQueryARB; - - snprintf(symboln, sizeof(symboln), "%sIsQueryARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AttachObjectARB) { - void **procp = (void **) &disp->AttachObjectARB; - - snprintf(symboln, sizeof(symboln), "%sAttachObjectARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompileShaderARB) { - void **procp = (void **) &disp->CompileShaderARB; - - snprintf(symboln, sizeof(symboln), "%sCompileShader", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CompileShaderARB) { - void **procp = (void **) &disp->CompileShaderARB; - - snprintf(symboln, sizeof(symboln), "%sCompileShaderARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CreateProgramObjectARB) { - void **procp = (void **) &disp->CreateProgramObjectARB; - - snprintf(symboln, sizeof(symboln), "%sCreateProgramObjectARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CreateShaderObjectARB) { - void **procp = (void **) &disp->CreateShaderObjectARB; - - snprintf(symboln, sizeof(symboln), "%sCreateShaderObjectARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteObjectARB) { - void **procp = (void **) &disp->DeleteObjectARB; - - snprintf(symboln, sizeof(symboln), "%sDeleteObjectARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DetachObjectARB) { - void **procp = (void **) &disp->DetachObjectARB; - - snprintf(symboln, sizeof(symboln), "%sDetachObjectARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetActiveUniformARB) { - void **procp = (void **) &disp->GetActiveUniformARB; - - snprintf(symboln, sizeof(symboln), "%sGetActiveUniform", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetActiveUniformARB) { - void **procp = (void **) &disp->GetActiveUniformARB; - - snprintf(symboln, sizeof(symboln), "%sGetActiveUniformARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetAttachedObjectsARB) { - void **procp = (void **) &disp->GetAttachedObjectsARB; - - snprintf(symboln, sizeof(symboln), "%sGetAttachedObjectsARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetHandleARB) { - void **procp = (void **) &disp->GetHandleARB; - - snprintf(symboln, sizeof(symboln), "%sGetHandleARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetInfoLogARB) { - void **procp = (void **) &disp->GetInfoLogARB; - - snprintf(symboln, sizeof(symboln), "%sGetInfoLogARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetObjectParameterfvARB) { - void **procp = (void **) &disp->GetObjectParameterfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetObjectParameterfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetObjectParameterivARB) { - void **procp = (void **) &disp->GetObjectParameterivARB; - - snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetShaderSourceARB) { - void **procp = (void **) &disp->GetShaderSourceARB; - - snprintf(symboln, sizeof(symboln), "%sGetShaderSource", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetShaderSourceARB) { - void **procp = (void **) &disp->GetShaderSourceARB; - - snprintf(symboln, sizeof(symboln), "%sGetShaderSourceARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformLocationARB) { - void **procp = (void **) &disp->GetUniformLocationARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformLocation", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformLocationARB) { - void **procp = (void **) &disp->GetUniformLocationARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformLocationARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformfvARB) { - void **procp = (void **) &disp->GetUniformfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformfvARB) { - void **procp = (void **) &disp->GetUniformfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformfvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformivARB) { - void **procp = (void **) &disp->GetUniformivARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformivARB) { - void **procp = (void **) &disp->GetUniformivARB; - - snprintf(symboln, sizeof(symboln), "%sGetUniformivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LinkProgramARB) { - void **procp = (void **) &disp->LinkProgramARB; - - snprintf(symboln, sizeof(symboln), "%sLinkProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LinkProgramARB) { - void **procp = (void **) &disp->LinkProgramARB; - - snprintf(symboln, sizeof(symboln), "%sLinkProgramARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ShaderSourceARB) { - void **procp = (void **) &disp->ShaderSourceARB; - - snprintf(symboln, sizeof(symboln), "%sShaderSource", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ShaderSourceARB) { - void **procp = (void **) &disp->ShaderSourceARB; - - snprintf(symboln, sizeof(symboln), "%sShaderSourceARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1fARB) { - void **procp = (void **) &disp->Uniform1fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1fARB) { - void **procp = (void **) &disp->Uniform1fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1fvARB) { - void **procp = (void **) &disp->Uniform1fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1fvARB) { - void **procp = (void **) &disp->Uniform1fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1iARB) { - void **procp = (void **) &disp->Uniform1iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1iARB) { - void **procp = (void **) &disp->Uniform1iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1ivARB) { - void **procp = (void **) &disp->Uniform1ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1ivARB) { - void **procp = (void **) &disp->Uniform1ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform1ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2fARB) { - void **procp = (void **) &disp->Uniform2fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2fARB) { - void **procp = (void **) &disp->Uniform2fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2fvARB) { - void **procp = (void **) &disp->Uniform2fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2fvARB) { - void **procp = (void **) &disp->Uniform2fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2iARB) { - void **procp = (void **) &disp->Uniform2iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2iARB) { - void **procp = (void **) &disp->Uniform2iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2ivARB) { - void **procp = (void **) &disp->Uniform2ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2ivARB) { - void **procp = (void **) &disp->Uniform2ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform2ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3fARB) { - void **procp = (void **) &disp->Uniform3fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3fARB) { - void **procp = (void **) &disp->Uniform3fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3fvARB) { - void **procp = (void **) &disp->Uniform3fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3fvARB) { - void **procp = (void **) &disp->Uniform3fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3iARB) { - void **procp = (void **) &disp->Uniform3iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3iARB) { - void **procp = (void **) &disp->Uniform3iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3ivARB) { - void **procp = (void **) &disp->Uniform3ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3ivARB) { - void **procp = (void **) &disp->Uniform3ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform3ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4fARB) { - void **procp = (void **) &disp->Uniform4fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4fARB) { - void **procp = (void **) &disp->Uniform4fARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4fvARB) { - void **procp = (void **) &disp->Uniform4fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4fvARB) { - void **procp = (void **) &disp->Uniform4fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4iARB) { - void **procp = (void **) &disp->Uniform4iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4iARB) { - void **procp = (void **) &disp->Uniform4iARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4ivARB) { - void **procp = (void **) &disp->Uniform4ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4ivARB) { - void **procp = (void **) &disp->Uniform4ivARB; - - snprintf(symboln, sizeof(symboln), "%sUniform4ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix2fvARB) { - void **procp = (void **) &disp->UniformMatrix2fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix2fvARB) { - void **procp = (void **) &disp->UniformMatrix2fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix3fvARB) { - void **procp = (void **) &disp->UniformMatrix3fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix3fvARB) { - void **procp = (void **) &disp->UniformMatrix3fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix4fvARB) { - void **procp = (void **) &disp->UniformMatrix4fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UniformMatrix4fvARB) { - void **procp = (void **) &disp->UniformMatrix4fvARB; - - snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UseProgramObjectARB) { - void **procp = (void **) &disp->UseProgramObjectARB; - - snprintf(symboln, sizeof(symboln), "%sUseProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UseProgramObjectARB) { - void **procp = (void **) &disp->UseProgramObjectARB; - - snprintf(symboln, sizeof(symboln), "%sUseProgramObjectARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ValidateProgramARB) { - void **procp = (void **) &disp->ValidateProgramARB; - - snprintf(symboln, sizeof(symboln), "%sValidateProgram", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ValidateProgramARB) { - void **procp = (void **) &disp->ValidateProgramARB; - - snprintf(symboln, sizeof(symboln), "%sValidateProgramARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindAttribLocationARB) { - void **procp = (void **) &disp->BindAttribLocationARB; - - snprintf(symboln, sizeof(symboln), "%sBindAttribLocation", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindAttribLocationARB) { - void **procp = (void **) &disp->BindAttribLocationARB; - - snprintf(symboln, sizeof(symboln), "%sBindAttribLocationARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetActiveAttribARB) { - void **procp = (void **) &disp->GetActiveAttribARB; - - snprintf(symboln, sizeof(symboln), "%sGetActiveAttrib", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetActiveAttribARB) { - void **procp = (void **) &disp->GetActiveAttribARB; - - snprintf(symboln, sizeof(symboln), "%sGetActiveAttribARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetAttribLocationARB) { - void **procp = (void **) &disp->GetAttribLocationARB; - - snprintf(symboln, sizeof(symboln), "%sGetAttribLocation", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetAttribLocationARB) { - void **procp = (void **) &disp->GetAttribLocationARB; - - snprintf(symboln, sizeof(symboln), "%sGetAttribLocationARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawBuffersARB) { - void **procp = (void **) &disp->DrawBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDrawBuffers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawBuffersARB) { - void **procp = (void **) &disp->DrawBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDrawBuffersARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawBuffersARB) { - void **procp = (void **) &disp->DrawBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDrawBuffersATI", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawBuffersARB) { - void **procp = (void **) &disp->DrawBuffersARB; - - snprintf(symboln, sizeof(symboln), "%sDrawBuffersNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClampColorARB) { - void **procp = (void **) &disp->ClampColorARB; - - snprintf(symboln, sizeof(symboln), "%sClampColorARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawArraysInstancedARB) { - void **procp = (void **) &disp->DrawArraysInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawArraysInstancedARB) { - void **procp = (void **) &disp->DrawArraysInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawArraysInstancedARB) { - void **procp = (void **) &disp->DrawArraysInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawArraysInstanced", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElementsInstancedARB) { - void **procp = (void **) &disp->DrawElementsInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElementsInstancedARB) { - void **procp = (void **) &disp->DrawElementsInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElementsInstancedARB) { - void **procp = (void **) &disp->DrawElementsInstancedARB; - - snprintf(symboln, sizeof(symboln), "%sDrawElementsInstanced", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RenderbufferStorageMultisample) { - void **procp = (void **) &disp->RenderbufferStorageMultisample; - - snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisample", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RenderbufferStorageMultisample) { - void **procp = (void **) &disp->RenderbufferStorageMultisample; - - snprintf(symboln, sizeof(symboln), - "%sRenderbufferStorageMultisampleEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTextureARB) { - void **procp = (void **) &disp->FramebufferTextureARB; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTextureARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTextureFaceARB) { - void **procp = (void **) &disp->FramebufferTextureFaceARB; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTextureFaceARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramParameteriARB) { - void **procp = (void **) &disp->ProgramParameteriARB; - - snprintf(symboln, sizeof(symboln), "%sProgramParameteriARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribDivisorARB) { - void **procp = (void **) &disp->VertexAttribDivisorARB; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisorARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FlushMappedBufferRange) { - void **procp = (void **) &disp->FlushMappedBufferRange; - - snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRange", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MapBufferRange) { - void **procp = (void **) &disp->MapBufferRange; - - snprintf(symboln, sizeof(symboln), "%sMapBufferRange", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexBufferARB) { - void **procp = (void **) &disp->TexBufferARB; - - snprintf(symboln, sizeof(symboln), "%sTexBufferARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindVertexArray) { - void **procp = (void **) &disp->BindVertexArray; - - snprintf(symboln, sizeof(symboln), "%sBindVertexArray", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenVertexArrays) { - void **procp = (void **) &disp->GenVertexArrays; - - snprintf(symboln, sizeof(symboln), "%sGenVertexArrays", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CopyBufferSubData) { - void **procp = (void **) &disp->CopyBufferSubData; - - snprintf(symboln, sizeof(symboln), "%sCopyBufferSubData", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClientWaitSync) { - void **procp = (void **) &disp->ClientWaitSync; - - snprintf(symboln, sizeof(symboln), "%sClientWaitSync", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteSync) { - void **procp = (void **) &disp->DeleteSync; - - snprintf(symboln, sizeof(symboln), "%sDeleteSync", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FenceSync) { - void **procp = (void **) &disp->FenceSync; - - snprintf(symboln, sizeof(symboln), "%sFenceSync", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetInteger64v) { - void **procp = (void **) &disp->GetInteger64v; - - snprintf(symboln, sizeof(symboln), "%sGetInteger64v", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSynciv) { - void **procp = (void **) &disp->GetSynciv; - - snprintf(symboln, sizeof(symboln), "%sGetSynciv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsSync) { - void **procp = (void **) &disp->IsSync; - - snprintf(symboln, sizeof(symboln), "%sIsSync", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WaitSync) { - void **procp = (void **) &disp->WaitSync; - - snprintf(symboln, sizeof(symboln), "%sWaitSync", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElementsBaseVertex) { - void **procp = (void **) &disp->DrawElementsBaseVertex; - - snprintf(symboln, sizeof(symboln), "%sDrawElementsBaseVertex", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawElementsInstancedBaseVertex) { - void **procp = (void **) &disp->DrawElementsInstancedBaseVertex; - - snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseVertex", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawRangeElementsBaseVertex) { - void **procp = (void **) &disp->DrawRangeElementsBaseVertex; - - snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsBaseVertex", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiDrawElementsBaseVertex) { - void **procp = (void **) &disp->MultiDrawElementsBaseVertex; - - snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsBaseVertex", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationSeparateiARB) { - void **procp = (void **) &disp->BlendEquationSeparateiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateiARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationSeparateiARB) { - void **procp = (void **) &disp->BlendEquationSeparateiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateIndexedAMD", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationiARB) { - void **procp = (void **) &disp->BlendEquationiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationiARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationiARB) { - void **procp = (void **) &disp->BlendEquationiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationIndexedAMD", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFuncSeparateiARB) { - void **procp = (void **) &disp->BlendFuncSeparateiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateiARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFuncSeparateiARB) { - void **procp = (void **) &disp->BlendFuncSeparateiARB; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateIndexedAMD", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFunciARB) { - void **procp = (void **) &disp->BlendFunciARB; - - snprintf(symboln, sizeof(symboln), "%sBlendFunciARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFunciARB) { - void **procp = (void **) &disp->BlendFunciARB; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncIndexedAMD", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindSampler) { - void **procp = (void **) &disp->BindSampler; - - snprintf(symboln, sizeof(symboln), "%sBindSampler", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteSamplers) { - void **procp = (void **) &disp->DeleteSamplers; - - snprintf(symboln, sizeof(symboln), "%sDeleteSamplers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenSamplers) { - void **procp = (void **) &disp->GenSamplers; - - snprintf(symboln, sizeof(symboln), "%sGenSamplers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSamplerParameterIiv) { - void **procp = (void **) &disp->GetSamplerParameterIiv; - - snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSamplerParameterIuiv) { - void **procp = (void **) &disp->GetSamplerParameterIuiv; - - snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSamplerParameterfv) { - void **procp = (void **) &disp->GetSamplerParameterfv; - - snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetSamplerParameteriv) { - void **procp = (void **) &disp->GetSamplerParameteriv; - - snprintf(symboln, sizeof(symboln), "%sGetSamplerParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsSampler) { - void **procp = (void **) &disp->IsSampler; - - snprintf(symboln, sizeof(symboln), "%sIsSampler", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameterIiv) { - void **procp = (void **) &disp->SamplerParameterIiv; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameterIiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameterIuiv) { - void **procp = (void **) &disp->SamplerParameterIuiv; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameterIuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameterf) { - void **procp = (void **) &disp->SamplerParameterf; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameterf", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameterfv) { - void **procp = (void **) &disp->SamplerParameterfv; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameterfv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameteri) { - void **procp = (void **) &disp->SamplerParameteri; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameteri", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplerParameteriv) { - void **procp = (void **) &disp->SamplerParameteriv; - - snprintf(symboln, sizeof(symboln), "%sSamplerParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorP3ui) { - void **procp = (void **) &disp->ColorP3ui; - - snprintf(symboln, sizeof(symboln), "%sColorP3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorP3uiv) { - void **procp = (void **) &disp->ColorP3uiv; - - snprintf(symboln, sizeof(symboln), "%sColorP3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorP4ui) { - void **procp = (void **) &disp->ColorP4ui; - - snprintf(symboln, sizeof(symboln), "%sColorP4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorP4uiv) { - void **procp = (void **) &disp->ColorP4uiv; - - snprintf(symboln, sizeof(symboln), "%sColorP4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP1ui) { - void **procp = (void **) &disp->MultiTexCoordP1ui; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP1uiv) { - void **procp = (void **) &disp->MultiTexCoordP1uiv; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP2ui) { - void **procp = (void **) &disp->MultiTexCoordP2ui; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP2uiv) { - void **procp = (void **) &disp->MultiTexCoordP2uiv; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP3ui) { - void **procp = (void **) &disp->MultiTexCoordP3ui; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP3uiv) { - void **procp = (void **) &disp->MultiTexCoordP3uiv; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP4ui) { - void **procp = (void **) &disp->MultiTexCoordP4ui; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiTexCoordP4uiv) { - void **procp = (void **) &disp->MultiTexCoordP4uiv; - - snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->NormalP3ui) { - void **procp = (void **) &disp->NormalP3ui; - - snprintf(symboln, sizeof(symboln), "%sNormalP3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->NormalP3uiv) { - void **procp = (void **) &disp->NormalP3uiv; - - snprintf(symboln, sizeof(symboln), "%sNormalP3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColorP3ui) { - void **procp = (void **) &disp->SecondaryColorP3ui; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColorP3uiv) { - void **procp = (void **) &disp->SecondaryColorP3uiv; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP1ui) { - void **procp = (void **) &disp->TexCoordP1ui; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP1ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP1uiv) { - void **procp = (void **) &disp->TexCoordP1uiv; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP1uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP2ui) { - void **procp = (void **) &disp->TexCoordP2ui; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP2ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP2uiv) { - void **procp = (void **) &disp->TexCoordP2uiv; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP2uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP3ui) { - void **procp = (void **) &disp->TexCoordP3ui; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP3uiv) { - void **procp = (void **) &disp->TexCoordP3uiv; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP4ui) { - void **procp = (void **) &disp->TexCoordP4ui; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordP4uiv) { - void **procp = (void **) &disp->TexCoordP4uiv; - - snprintf(symboln, sizeof(symboln), "%sTexCoordP4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP1ui) { - void **procp = (void **) &disp->VertexAttribP1ui; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP1ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP1uiv) { - void **procp = (void **) &disp->VertexAttribP1uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP1uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP2ui) { - void **procp = (void **) &disp->VertexAttribP2ui; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP2ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP2uiv) { - void **procp = (void **) &disp->VertexAttribP2uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP2uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP3ui) { - void **procp = (void **) &disp->VertexAttribP3ui; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP3uiv) { - void **procp = (void **) &disp->VertexAttribP3uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP3uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP4ui) { - void **procp = (void **) &disp->VertexAttribP4ui; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribP4uiv) { - void **procp = (void **) &disp->VertexAttribP4uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribP4uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP2ui) { - void **procp = (void **) &disp->VertexP2ui; - - snprintf(symboln, sizeof(symboln), "%sVertexP2ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP2uiv) { - void **procp = (void **) &disp->VertexP2uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexP2uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP3ui) { - void **procp = (void **) &disp->VertexP3ui; - - snprintf(symboln, sizeof(symboln), "%sVertexP3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP3uiv) { - void **procp = (void **) &disp->VertexP3uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexP3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP4ui) { - void **procp = (void **) &disp->VertexP4ui; - - snprintf(symboln, sizeof(symboln), "%sVertexP4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexP4uiv) { - void **procp = (void **) &disp->VertexP4uiv; - - snprintf(symboln, sizeof(symboln), "%sVertexP4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindTransformFeedback) { - void **procp = (void **) &disp->BindTransformFeedback; - - snprintf(symboln, sizeof(symboln), "%sBindTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteTransformFeedbacks) { - void **procp = (void **) &disp->DeleteTransformFeedbacks; - - snprintf(symboln, sizeof(symboln), "%sDeleteTransformFeedbacks", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DrawTransformFeedback) { - void **procp = (void **) &disp->DrawTransformFeedback; - - snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenTransformFeedbacks) { - void **procp = (void **) &disp->GenTransformFeedbacks; - - snprintf(symboln, sizeof(symboln), "%sGenTransformFeedbacks", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsTransformFeedback) { - void **procp = (void **) &disp->IsTransformFeedback; - - snprintf(symboln, sizeof(symboln), "%sIsTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PauseTransformFeedback) { - void **procp = (void **) &disp->PauseTransformFeedback; - - snprintf(symboln, sizeof(symboln), "%sPauseTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResumeTransformFeedback) { - void **procp = (void **) &disp->ResumeTransformFeedback; - - snprintf(symboln, sizeof(symboln), "%sResumeTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearDepthf) { - void **procp = (void **) &disp->ClearDepthf; - - snprintf(symboln, sizeof(symboln), "%sClearDepthf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DepthRangef) { - void **procp = (void **) &disp->DepthRangef; - - snprintf(symboln, sizeof(symboln), "%sDepthRangef", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetShaderPrecisionFormat) { - void **procp = (void **) &disp->GetShaderPrecisionFormat; - - snprintf(symboln, sizeof(symboln), "%sGetShaderPrecisionFormat", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ReleaseShaderCompiler) { - void **procp = (void **) &disp->ReleaseShaderCompiler; - - snprintf(symboln, sizeof(symboln), "%sReleaseShaderCompiler", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ShaderBinary) { - void **procp = (void **) &disp->ShaderBinary; - - snprintf(symboln, sizeof(symboln), "%sShaderBinary", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetGraphicsResetStatusARB) { - void **procp = (void **) &disp->GetGraphicsResetStatusARB; - - snprintf(symboln, sizeof(symboln), "%sGetGraphicsResetStatusARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnColorTableARB) { - void **procp = (void **) &disp->GetnColorTableARB; - - snprintf(symboln, sizeof(symboln), "%sGetnColorTableARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnCompressedTexImageARB) { - void **procp = (void **) &disp->GetnCompressedTexImageARB; - - snprintf(symboln, sizeof(symboln), "%sGetnCompressedTexImageARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnConvolutionFilterARB) { - void **procp = (void **) &disp->GetnConvolutionFilterARB; - - snprintf(symboln, sizeof(symboln), "%sGetnConvolutionFilterARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnHistogramARB) { - void **procp = (void **) &disp->GetnHistogramARB; - - snprintf(symboln, sizeof(symboln), "%sGetnHistogramARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnMapdvARB) { - void **procp = (void **) &disp->GetnMapdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnMapdvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnMapfvARB) { - void **procp = (void **) &disp->GetnMapfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnMapfvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnMapivARB) { - void **procp = (void **) &disp->GetnMapivARB; - - snprintf(symboln, sizeof(symboln), "%sGetnMapivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnMinmaxARB) { - void **procp = (void **) &disp->GetnMinmaxARB; - - snprintf(symboln, sizeof(symboln), "%sGetnMinmaxARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnPixelMapfvARB) { - void **procp = (void **) &disp->GetnPixelMapfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnPixelMapfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnPixelMapuivARB) { - void **procp = (void **) &disp->GetnPixelMapuivARB; - - snprintf(symboln, sizeof(symboln), "%sGetnPixelMapuivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnPixelMapusvARB) { - void **procp = (void **) &disp->GetnPixelMapusvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnPixelMapusvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnPolygonStippleARB) { - void **procp = (void **) &disp->GetnPolygonStippleARB; - - snprintf(symboln, sizeof(symboln), "%sGetnPolygonStippleARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnSeparableFilterARB) { - void **procp = (void **) &disp->GetnSeparableFilterARB; - - snprintf(symboln, sizeof(symboln), "%sGetnSeparableFilterARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnTexImageARB) { - void **procp = (void **) &disp->GetnTexImageARB; - - snprintf(symboln, sizeof(symboln), "%sGetnTexImageARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnUniformdvARB) { - void **procp = (void **) &disp->GetnUniformdvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnUniformdvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnUniformfvARB) { - void **procp = (void **) &disp->GetnUniformfvARB; - - snprintf(symboln, sizeof(symboln), "%sGetnUniformfvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnUniformivARB) { - void **procp = (void **) &disp->GetnUniformivARB; - - snprintf(symboln, sizeof(symboln), "%sGetnUniformivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetnUniformuivARB) { - void **procp = (void **) &disp->GetnUniformuivARB; - - snprintf(symboln, sizeof(symboln), "%sGetnUniformuivARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ReadnPixelsARB) { - void **procp = (void **) &disp->ReadnPixelsARB; - - snprintf(symboln, sizeof(symboln), "%sReadnPixelsARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexStorage1D) { - void **procp = (void **) &disp->TexStorage1D; - - snprintf(symboln, sizeof(symboln), "%sTexStorage1D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexStorage2D) { - void **procp = (void **) &disp->TexStorage2D; - - snprintf(symboln, sizeof(symboln), "%sTexStorage2D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexStorage3D) { - void **procp = (void **) &disp->TexStorage3D; - - snprintf(symboln, sizeof(symboln), "%sTexStorage3D", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TextureStorage1DEXT) { - void **procp = (void **) &disp->TextureStorage1DEXT; - - snprintf(symboln, sizeof(symboln), "%sTextureStorage1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TextureStorage2DEXT) { - void **procp = (void **) &disp->TextureStorage2DEXT; - - snprintf(symboln, sizeof(symboln), "%sTextureStorage2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TextureStorage3DEXT) { - void **procp = (void **) &disp->TextureStorage3DEXT; - - snprintf(symboln, sizeof(symboln), "%sTextureStorage3DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PolygonOffsetEXT) { - void **procp = (void **) &disp->PolygonOffsetEXT; - - snprintf(symboln, sizeof(symboln), "%sPolygonOffsetEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPixelTexGenParameterfvSGIS) { - void **procp = (void **) &disp->GetPixelTexGenParameterfvSGIS; - - snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterfvSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetPixelTexGenParameterivSGIS) { - void **procp = (void **) &disp->GetPixelTexGenParameterivSGIS; - - snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterivSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTexGenParameterfSGIS) { - void **procp = (void **) &disp->PixelTexGenParameterfSGIS; - - snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTexGenParameterfvSGIS) { - void **procp = (void **) &disp->PixelTexGenParameterfvSGIS; - - snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfvSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTexGenParameteriSGIS) { - void **procp = (void **) &disp->PixelTexGenParameteriSGIS; - - snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameteriSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTexGenParameterivSGIS) { - void **procp = (void **) &disp->PixelTexGenParameterivSGIS; - - snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterivSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SampleMaskSGIS) { - void **procp = (void **) &disp->SampleMaskSGIS; - - snprintf(symboln, sizeof(symboln), "%sSampleMaskSGIS", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SampleMaskSGIS) { - void **procp = (void **) &disp->SampleMaskSGIS; - - snprintf(symboln, sizeof(symboln), "%sSampleMaskEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplePatternSGIS) { - void **procp = (void **) &disp->SamplePatternSGIS; - - snprintf(symboln, sizeof(symboln), "%sSamplePatternSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SamplePatternSGIS) { - void **procp = (void **) &disp->SamplePatternSGIS; - - snprintf(symboln, sizeof(symboln), "%sSamplePatternEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorPointerEXT) { - void **procp = (void **) &disp->ColorPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sColorPointerEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EdgeFlagPointerEXT) { - void **procp = (void **) &disp->EdgeFlagPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IndexPointerEXT) { - void **procp = (void **) &disp->IndexPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sIndexPointerEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->NormalPointerEXT) { - void **procp = (void **) &disp->NormalPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sNormalPointerEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexCoordPointerEXT) { - void **procp = (void **) &disp->TexCoordPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sTexCoordPointerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexPointerEXT) { - void **procp = (void **) &disp->VertexPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexPointerEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfEXT) { - void **procp = (void **) &disp->PointParameterfEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfEXT) { - void **procp = (void **) &disp->PointParameterfEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfEXT) { - void **procp = (void **) &disp->PointParameterfEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfEXT) { - void **procp = (void **) &disp->PointParameterfEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfvEXT) { - void **procp = (void **) &disp->PointParameterfvEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfvEXT) { - void **procp = (void **) &disp->PointParameterfvEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfvARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfvEXT) { - void **procp = (void **) &disp->PointParameterfvEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterfvEXT) { - void **procp = (void **) &disp->PointParameterfvEXT; - - snprintf(symboln, sizeof(symboln), "%sPointParameterfvSGIS", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LockArraysEXT) { - void **procp = (void **) &disp->LockArraysEXT; - - snprintf(symboln, sizeof(symboln), "%sLockArraysEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UnlockArraysEXT) { - void **procp = (void **) &disp->UnlockArraysEXT; - - snprintf(symboln, sizeof(symboln), "%sUnlockArraysEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3bEXT) { - void **procp = (void **) &disp->SecondaryColor3bEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3b", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3bEXT) { - void **procp = (void **) &disp->SecondaryColor3bEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3bvEXT) { - void **procp = (void **) &disp->SecondaryColor3bvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3bvEXT) { - void **procp = (void **) &disp->SecondaryColor3bvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3dEXT) { - void **procp = (void **) &disp->SecondaryColor3dEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3dEXT) { - void **procp = (void **) &disp->SecondaryColor3dEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3dvEXT) { - void **procp = (void **) &disp->SecondaryColor3dvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3dvEXT) { - void **procp = (void **) &disp->SecondaryColor3dvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3fEXT) { - void **procp = (void **) &disp->SecondaryColor3fEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3fEXT) { - void **procp = (void **) &disp->SecondaryColor3fEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3fvEXT) { - void **procp = (void **) &disp->SecondaryColor3fvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3fvEXT) { - void **procp = (void **) &disp->SecondaryColor3fvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3iEXT) { - void **procp = (void **) &disp->SecondaryColor3iEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3iEXT) { - void **procp = (void **) &disp->SecondaryColor3iEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ivEXT) { - void **procp = (void **) &disp->SecondaryColor3ivEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ivEXT) { - void **procp = (void **) &disp->SecondaryColor3ivEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3sEXT) { - void **procp = (void **) &disp->SecondaryColor3sEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3sEXT) { - void **procp = (void **) &disp->SecondaryColor3sEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3svEXT) { - void **procp = (void **) &disp->SecondaryColor3svEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3svEXT) { - void **procp = (void **) &disp->SecondaryColor3svEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3svEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ubEXT) { - void **procp = (void **) &disp->SecondaryColor3ubEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ub", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ubEXT) { - void **procp = (void **) &disp->SecondaryColor3ubEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ubvEXT) { - void **procp = (void **) &disp->SecondaryColor3ubvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3ubvEXT) { - void **procp = (void **) &disp->SecondaryColor3ubvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3uiEXT) { - void **procp = (void **) &disp->SecondaryColor3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ui", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3uiEXT) { - void **procp = (void **) &disp->SecondaryColor3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3uivEXT) { - void **procp = (void **) &disp->SecondaryColor3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3uivEXT) { - void **procp = (void **) &disp->SecondaryColor3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3usEXT) { - void **procp = (void **) &disp->SecondaryColor3usEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3us", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3usEXT) { - void **procp = (void **) &disp->SecondaryColor3usEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3usvEXT) { - void **procp = (void **) &disp->SecondaryColor3usvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColor3usvEXT) { - void **procp = (void **) &disp->SecondaryColor3usvEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColorPointerEXT) { - void **procp = (void **) &disp->SecondaryColorPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointer", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SecondaryColorPointerEXT) { - void **procp = (void **) &disp->SecondaryColorPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiDrawArraysEXT) { - void **procp = (void **) &disp->MultiDrawArraysEXT; - - snprintf(symboln, sizeof(symboln), "%sMultiDrawArrays", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiDrawArraysEXT) { - void **procp = (void **) &disp->MultiDrawArraysEXT; - - snprintf(symboln, sizeof(symboln), "%sMultiDrawArraysEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiDrawElementsEXT) { - void **procp = (void **) &disp->MultiDrawElementsEXT; - - snprintf(symboln, sizeof(symboln), "%sMultiDrawElements", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiDrawElementsEXT) { - void **procp = (void **) &disp->MultiDrawElementsEXT; - - snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordPointerEXT) { - void **procp = (void **) &disp->FogCoordPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordPointer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordPointerEXT) { - void **procp = (void **) &disp->FogCoordPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordPointerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoorddEXT) { - void **procp = (void **) &disp->FogCoorddEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordd", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoorddEXT) { - void **procp = (void **) &disp->FogCoorddEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoorddEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoorddvEXT) { - void **procp = (void **) &disp->FogCoorddvEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoorddv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoorddvEXT) { - void **procp = (void **) &disp->FogCoorddvEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoorddvEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordfEXT) { - void **procp = (void **) &disp->FogCoordfEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordf", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordfEXT) { - void **procp = (void **) &disp->FogCoordfEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordfEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordfvEXT) { - void **procp = (void **) &disp->FogCoordfvEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordfv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FogCoordfvEXT) { - void **procp = (void **) &disp->FogCoordfvEXT; - - snprintf(symboln, sizeof(symboln), "%sFogCoordfvEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PixelTexGenSGIX) { - void **procp = (void **) &disp->PixelTexGenSGIX; - - snprintf(symboln, sizeof(symboln), "%sPixelTexGenSGIX", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFuncSeparateEXT) { - void **procp = (void **) &disp->BlendFuncSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparate", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFuncSeparateEXT) { - void **procp = (void **) &disp->BlendFuncSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendFuncSeparateEXT) { - void **procp = (void **) &disp->BlendFuncSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateINGR", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FlushVertexArrayRangeNV) { - void **procp = (void **) &disp->FlushVertexArrayRangeNV; - - snprintf(symboln, sizeof(symboln), "%sFlushVertexArrayRangeNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexArrayRangeNV) { - void **procp = (void **) &disp->VertexArrayRangeNV; - - snprintf(symboln, sizeof(symboln), "%sVertexArrayRangeNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerInputNV) { - void **procp = (void **) &disp->CombinerInputNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerInputNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerOutputNV) { - void **procp = (void **) &disp->CombinerOutputNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerOutputNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerParameterfNV) { - void **procp = (void **) &disp->CombinerParameterfNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerParameterfNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerParameterfvNV) { - void **procp = (void **) &disp->CombinerParameterfvNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerParameterfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerParameteriNV) { - void **procp = (void **) &disp->CombinerParameteriNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerParameteriNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CombinerParameterivNV) { - void **procp = (void **) &disp->CombinerParameterivNV; - - snprintf(symboln, sizeof(symboln), "%sCombinerParameterivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FinalCombinerInputNV) { - void **procp = (void **) &disp->FinalCombinerInputNV; - - snprintf(symboln, sizeof(symboln), "%sFinalCombinerInputNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCombinerInputParameterfvNV) { - void **procp = (void **) &disp->GetCombinerInputParameterfvNV; - - snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCombinerInputParameterivNV) { - void **procp = (void **) &disp->GetCombinerInputParameterivNV; - - snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCombinerOutputParameterfvNV) { - void **procp = (void **) &disp->GetCombinerOutputParameterfvNV; - - snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetCombinerOutputParameterivNV) { - void **procp = (void **) &disp->GetCombinerOutputParameterivNV; - - snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFinalCombinerInputParameterfvNV) { - void **procp = (void **) &disp->GetFinalCombinerInputParameterfvNV; - - snprintf(symboln, sizeof(symboln), - "%sGetFinalCombinerInputParameterfvNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFinalCombinerInputParameterivNV) { - void **procp = (void **) &disp->GetFinalCombinerInputParameterivNV; - - snprintf(symboln, sizeof(symboln), - "%sGetFinalCombinerInputParameterivNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ResizeBuffersMESA) { - void **procp = (void **) &disp->ResizeBuffersMESA; - - snprintf(symboln, sizeof(symboln), "%sResizeBuffersMESA", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dMESA) { - void **procp = (void **) &disp->WindowPos2dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dMESA) { - void **procp = (void **) &disp->WindowPos2dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2dARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dMESA) { - void **procp = (void **) &disp->WindowPos2dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2dMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dvMESA) { - void **procp = (void **) &disp->WindowPos2dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dvMESA) { - void **procp = (void **) &disp->WindowPos2dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2dvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2dvMESA) { - void **procp = (void **) &disp->WindowPos2dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2dvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fMESA) { - void **procp = (void **) &disp->WindowPos2fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fMESA) { - void **procp = (void **) &disp->WindowPos2fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fMESA) { - void **procp = (void **) &disp->WindowPos2fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2fMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fvMESA) { - void **procp = (void **) &disp->WindowPos2fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fvMESA) { - void **procp = (void **) &disp->WindowPos2fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2fvMESA) { - void **procp = (void **) &disp->WindowPos2fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2fvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2iMESA) { - void **procp = (void **) &disp->WindowPos2iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2iMESA) { - void **procp = (void **) &disp->WindowPos2iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2iMESA) { - void **procp = (void **) &disp->WindowPos2iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2iMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2ivMESA) { - void **procp = (void **) &disp->WindowPos2ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2ivMESA) { - void **procp = (void **) &disp->WindowPos2ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2ivMESA) { - void **procp = (void **) &disp->WindowPos2ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2ivMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2sMESA) { - void **procp = (void **) &disp->WindowPos2sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2sMESA) { - void **procp = (void **) &disp->WindowPos2sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2sARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2sMESA) { - void **procp = (void **) &disp->WindowPos2sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2sMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2svMESA) { - void **procp = (void **) &disp->WindowPos2svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2svMESA) { - void **procp = (void **) &disp->WindowPos2svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2svARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos2svMESA) { - void **procp = (void **) &disp->WindowPos2svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos2svMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dMESA) { - void **procp = (void **) &disp->WindowPos3dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3d", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dMESA) { - void **procp = (void **) &disp->WindowPos3dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3dARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dMESA) { - void **procp = (void **) &disp->WindowPos3dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3dMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dvMESA) { - void **procp = (void **) &disp->WindowPos3dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3dv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dvMESA) { - void **procp = (void **) &disp->WindowPos3dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3dvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3dvMESA) { - void **procp = (void **) &disp->WindowPos3dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3dvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fMESA) { - void **procp = (void **) &disp->WindowPos3fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3f", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fMESA) { - void **procp = (void **) &disp->WindowPos3fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3fARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fMESA) { - void **procp = (void **) &disp->WindowPos3fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3fMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fvMESA) { - void **procp = (void **) &disp->WindowPos3fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3fv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fvMESA) { - void **procp = (void **) &disp->WindowPos3fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3fvARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3fvMESA) { - void **procp = (void **) &disp->WindowPos3fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3fvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3iMESA) { - void **procp = (void **) &disp->WindowPos3iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3iMESA) { - void **procp = (void **) &disp->WindowPos3iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3iARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3iMESA) { - void **procp = (void **) &disp->WindowPos3iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3iMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3ivMESA) { - void **procp = (void **) &disp->WindowPos3ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3ivMESA) { - void **procp = (void **) &disp->WindowPos3ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3ivARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3ivMESA) { - void **procp = (void **) &disp->WindowPos3ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3ivMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3sMESA) { - void **procp = (void **) &disp->WindowPos3sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3s", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3sMESA) { - void **procp = (void **) &disp->WindowPos3sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3sARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3sMESA) { - void **procp = (void **) &disp->WindowPos3sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3sMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3svMESA) { - void **procp = (void **) &disp->WindowPos3svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3svMESA) { - void **procp = (void **) &disp->WindowPos3svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3svARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos3svMESA) { - void **procp = (void **) &disp->WindowPos3svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos3svMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4dMESA) { - void **procp = (void **) &disp->WindowPos4dMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4dMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4dvMESA) { - void **procp = (void **) &disp->WindowPos4dvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4dvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4fMESA) { - void **procp = (void **) &disp->WindowPos4fMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4fMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4fvMESA) { - void **procp = (void **) &disp->WindowPos4fvMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4fvMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4iMESA) { - void **procp = (void **) &disp->WindowPos4iMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4iMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4ivMESA) { - void **procp = (void **) &disp->WindowPos4ivMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4ivMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4sMESA) { - void **procp = (void **) &disp->WindowPos4sMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4sMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->WindowPos4svMESA) { - void **procp = (void **) &disp->WindowPos4svMESA; - - snprintf(symboln, sizeof(symboln), "%sWindowPos4svMESA", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiModeDrawArraysIBM) { - void **procp = (void **) &disp->MultiModeDrawArraysIBM; - - snprintf(symboln, sizeof(symboln), "%sMultiModeDrawArraysIBM", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->MultiModeDrawElementsIBM) { - void **procp = (void **) &disp->MultiModeDrawElementsIBM; - - snprintf(symboln, sizeof(symboln), "%sMultiModeDrawElementsIBM", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteFencesNV) { - void **procp = (void **) &disp->DeleteFencesNV; - - snprintf(symboln, sizeof(symboln), "%sDeleteFencesNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FinishFenceNV) { - void **procp = (void **) &disp->FinishFenceNV; - - snprintf(symboln, sizeof(symboln), "%sFinishFenceNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenFencesNV) { - void **procp = (void **) &disp->GenFencesNV; - - snprintf(symboln, sizeof(symboln), "%sGenFencesNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFenceivNV) { - void **procp = (void **) &disp->GetFenceivNV; - - snprintf(symboln, sizeof(symboln), "%sGetFenceivNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsFenceNV) { - void **procp = (void **) &disp->IsFenceNV; - - snprintf(symboln, sizeof(symboln), "%sIsFenceNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SetFenceNV) { - void **procp = (void **) &disp->SetFenceNV; - - snprintf(symboln, sizeof(symboln), "%sSetFenceNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TestFenceNV) { - void **procp = (void **) &disp->TestFenceNV; - - snprintf(symboln, sizeof(symboln), "%sTestFenceNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AreProgramsResidentNV) { - void **procp = (void **) &disp->AreProgramsResidentNV; - - snprintf(symboln, sizeof(symboln), "%sAreProgramsResidentNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindProgramNV) { - void **procp = (void **) &disp->BindProgramNV; - - snprintf(symboln, sizeof(symboln), "%sBindProgramARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindProgramNV) { - void **procp = (void **) &disp->BindProgramNV; - - snprintf(symboln, sizeof(symboln), "%sBindProgramNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteProgramsNV) { - void **procp = (void **) &disp->DeleteProgramsNV; - - snprintf(symboln, sizeof(symboln), "%sDeleteProgramsARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteProgramsNV) { - void **procp = (void **) &disp->DeleteProgramsNV; - - snprintf(symboln, sizeof(symboln), "%sDeleteProgramsNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ExecuteProgramNV) { - void **procp = (void **) &disp->ExecuteProgramNV; - - snprintf(symboln, sizeof(symboln), "%sExecuteProgramNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenProgramsNV) { - void **procp = (void **) &disp->GenProgramsNV; - - snprintf(symboln, sizeof(symboln), "%sGenProgramsARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenProgramsNV) { - void **procp = (void **) &disp->GenProgramsNV; - - snprintf(symboln, sizeof(symboln), "%sGenProgramsNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramParameterdvNV) { - void **procp = (void **) &disp->GetProgramParameterdvNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramParameterdvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramParameterfvNV) { - void **procp = (void **) &disp->GetProgramParameterfvNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramParameterfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramStringNV) { - void **procp = (void **) &disp->GetProgramStringNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramStringNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramivNV) { - void **procp = (void **) &disp->GetProgramivNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramivNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTrackMatrixivNV) { - void **procp = (void **) &disp->GetTrackMatrixivNV; - - snprintf(symboln, sizeof(symboln), "%sGetTrackMatrixivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribPointervNV) { - void **procp = (void **) &disp->GetVertexAttribPointervNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointerv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribPointervNV) { - void **procp = (void **) &disp->GetVertexAttribPointervNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribPointervNV) { - void **procp = (void **) &disp->GetVertexAttribPointervNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribdvNV) { - void **procp = (void **) &disp->GetVertexAttribdvNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribfvNV) { - void **procp = (void **) &disp->GetVertexAttribfvNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribivNV) { - void **procp = (void **) &disp->GetVertexAttribivNV; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsProgramNV) { - void **procp = (void **) &disp->IsProgramNV; - - snprintf(symboln, sizeof(symboln), "%sIsProgramARB", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsProgramNV) { - void **procp = (void **) &disp->IsProgramNV; - - snprintf(symboln, sizeof(symboln), "%sIsProgramNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->LoadProgramNV) { - void **procp = (void **) &disp->LoadProgramNV; - - snprintf(symboln, sizeof(symboln), "%sLoadProgramNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramParameters4dvNV) { - void **procp = (void **) &disp->ProgramParameters4dvNV; - - snprintf(symboln, sizeof(symboln), "%sProgramParameters4dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramParameters4fvNV) { - void **procp = (void **) &disp->ProgramParameters4fvNV; - - snprintf(symboln, sizeof(symboln), "%sProgramParameters4fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RequestResidentProgramsNV) { - void **procp = (void **) &disp->RequestResidentProgramsNV; - - snprintf(symboln, sizeof(symboln), "%sRequestResidentProgramsNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TrackMatrixNV) { - void **procp = (void **) &disp->TrackMatrixNV; - - snprintf(symboln, sizeof(symboln), "%sTrackMatrixNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dNV) { - void **procp = (void **) &disp->VertexAttrib1dNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1dvNV) { - void **procp = (void **) &disp->VertexAttrib1dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fNV) { - void **procp = (void **) &disp->VertexAttrib1fNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1fvNV) { - void **procp = (void **) &disp->VertexAttrib1fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1sNV) { - void **procp = (void **) &disp->VertexAttrib1sNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib1svNV) { - void **procp = (void **) &disp->VertexAttrib1svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dNV) { - void **procp = (void **) &disp->VertexAttrib2dNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2dvNV) { - void **procp = (void **) &disp->VertexAttrib2dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fNV) { - void **procp = (void **) &disp->VertexAttrib2fNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2fvNV) { - void **procp = (void **) &disp->VertexAttrib2fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2sNV) { - void **procp = (void **) &disp->VertexAttrib2sNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib2svNV) { - void **procp = (void **) &disp->VertexAttrib2svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dNV) { - void **procp = (void **) &disp->VertexAttrib3dNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3dvNV) { - void **procp = (void **) &disp->VertexAttrib3dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fNV) { - void **procp = (void **) &disp->VertexAttrib3fNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3fvNV) { - void **procp = (void **) &disp->VertexAttrib3fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3sNV) { - void **procp = (void **) &disp->VertexAttrib3sNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib3svNV) { - void **procp = (void **) &disp->VertexAttrib3svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dNV) { - void **procp = (void **) &disp->VertexAttrib4dNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4dvNV) { - void **procp = (void **) &disp->VertexAttrib4dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fNV) { - void **procp = (void **) &disp->VertexAttrib4fNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4fvNV) { - void **procp = (void **) &disp->VertexAttrib4fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4sNV) { - void **procp = (void **) &disp->VertexAttrib4sNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4svNV) { - void **procp = (void **) &disp->VertexAttrib4svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ubNV) { - void **procp = (void **) &disp->VertexAttrib4ubNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttrib4ubvNV) { - void **procp = (void **) &disp->VertexAttrib4ubvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribPointerNV) { - void **procp = (void **) &disp->VertexAttribPointerNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs1dvNV) { - void **procp = (void **) &disp->VertexAttribs1dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs1dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs1fvNV) { - void **procp = (void **) &disp->VertexAttribs1fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs1fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs1svNV) { - void **procp = (void **) &disp->VertexAttribs1svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs1svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs2dvNV) { - void **procp = (void **) &disp->VertexAttribs2dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs2dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs2fvNV) { - void **procp = (void **) &disp->VertexAttribs2fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs2fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs2svNV) { - void **procp = (void **) &disp->VertexAttribs2svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs2svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs3dvNV) { - void **procp = (void **) &disp->VertexAttribs3dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs3dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs3fvNV) { - void **procp = (void **) &disp->VertexAttribs3fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs3fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs3svNV) { - void **procp = (void **) &disp->VertexAttribs3svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs3svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs4dvNV) { - void **procp = (void **) &disp->VertexAttribs4dvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs4dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs4fvNV) { - void **procp = (void **) &disp->VertexAttribs4fvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs4fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs4svNV) { - void **procp = (void **) &disp->VertexAttribs4svNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs4svNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribs4ubvNV) { - void **procp = (void **) &disp->VertexAttribs4ubvNV; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribs4ubvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexBumpParameterfvATI) { - void **procp = (void **) &disp->GetTexBumpParameterfvATI; - - snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterfvATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexBumpParameterivATI) { - void **procp = (void **) &disp->GetTexBumpParameterivATI; - - snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterivATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexBumpParameterfvATI) { - void **procp = (void **) &disp->TexBumpParameterfvATI; - - snprintf(symboln, sizeof(symboln), "%sTexBumpParameterfvATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexBumpParameterivATI) { - void **procp = (void **) &disp->TexBumpParameterivATI; - - snprintf(symboln, sizeof(symboln), "%sTexBumpParameterivATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AlphaFragmentOp1ATI) { - void **procp = (void **) &disp->AlphaFragmentOp1ATI; - - snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp1ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AlphaFragmentOp2ATI) { - void **procp = (void **) &disp->AlphaFragmentOp2ATI; - - snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp2ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->AlphaFragmentOp3ATI) { - void **procp = (void **) &disp->AlphaFragmentOp3ATI; - - snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp3ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginFragmentShaderATI) { - void **procp = (void **) &disp->BeginFragmentShaderATI; - - snprintf(symboln, sizeof(symboln), "%sBeginFragmentShaderATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindFragmentShaderATI) { - void **procp = (void **) &disp->BindFragmentShaderATI; - - snprintf(symboln, sizeof(symboln), "%sBindFragmentShaderATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorFragmentOp1ATI) { - void **procp = (void **) &disp->ColorFragmentOp1ATI; - - snprintf(symboln, sizeof(symboln), "%sColorFragmentOp1ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorFragmentOp2ATI) { - void **procp = (void **) &disp->ColorFragmentOp2ATI; - - snprintf(symboln, sizeof(symboln), "%sColorFragmentOp2ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorFragmentOp3ATI) { - void **procp = (void **) &disp->ColorFragmentOp3ATI; - - snprintf(symboln, sizeof(symboln), "%sColorFragmentOp3ATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteFragmentShaderATI) { - void **procp = (void **) &disp->DeleteFragmentShaderATI; - - snprintf(symboln, sizeof(symboln), "%sDeleteFragmentShaderATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndFragmentShaderATI) { - void **procp = (void **) &disp->EndFragmentShaderATI; - - snprintf(symboln, sizeof(symboln), "%sEndFragmentShaderATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenFragmentShadersATI) { - void **procp = (void **) &disp->GenFragmentShadersATI; - - snprintf(symboln, sizeof(symboln), "%sGenFragmentShadersATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PassTexCoordATI) { - void **procp = (void **) &disp->PassTexCoordATI; - - snprintf(symboln, sizeof(symboln), "%sPassTexCoordATI", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SampleMapATI) { - void **procp = (void **) &disp->SampleMapATI; - - snprintf(symboln, sizeof(symboln), "%sSampleMapATI", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->SetFragmentShaderConstantATI) { - void **procp = (void **) &disp->SetFragmentShaderConstantATI; - - snprintf(symboln, sizeof(symboln), "%sSetFragmentShaderConstantATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameteriNV) { - void **procp = (void **) &disp->PointParameteriNV; - - snprintf(symboln, sizeof(symboln), "%sPointParameteri", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameteriNV) { - void **procp = (void **) &disp->PointParameteriNV; - - snprintf(symboln, sizeof(symboln), "%sPointParameteriNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterivNV) { - void **procp = (void **) &disp->PointParameterivNV; - - snprintf(symboln, sizeof(symboln), "%sPointParameteriv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PointParameterivNV) { - void **procp = (void **) &disp->PointParameterivNV; - - snprintf(symboln, sizeof(symboln), "%sPointParameterivNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ActiveStencilFaceEXT) { - void **procp = (void **) &disp->ActiveStencilFaceEXT; - - snprintf(symboln, sizeof(symboln), "%sActiveStencilFaceEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindVertexArrayAPPLE) { - void **procp = (void **) &disp->BindVertexArrayAPPLE; - - snprintf(symboln, sizeof(symboln), "%sBindVertexArrayAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteVertexArraysAPPLE) { - void **procp = (void **) &disp->DeleteVertexArraysAPPLE; - - snprintf(symboln, sizeof(symboln), "%sDeleteVertexArrays", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteVertexArraysAPPLE) { - void **procp = (void **) &disp->DeleteVertexArraysAPPLE; - - snprintf(symboln, sizeof(symboln), "%sDeleteVertexArraysAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenVertexArraysAPPLE) { - void **procp = (void **) &disp->GenVertexArraysAPPLE; - - snprintf(symboln, sizeof(symboln), "%sGenVertexArraysAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsVertexArrayAPPLE) { - void **procp = (void **) &disp->IsVertexArrayAPPLE; - - snprintf(symboln, sizeof(symboln), "%sIsVertexArray", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsVertexArrayAPPLE) { - void **procp = (void **) &disp->IsVertexArrayAPPLE; - - snprintf(symboln, sizeof(symboln), "%sIsVertexArrayAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramNamedParameterdvNV) { - void **procp = (void **) &disp->GetProgramNamedParameterdvNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterdvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetProgramNamedParameterfvNV) { - void **procp = (void **) &disp->GetProgramNamedParameterfvNV; - - snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterfvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramNamedParameter4dNV) { - void **procp = (void **) &disp->ProgramNamedParameter4dNV; - - snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramNamedParameter4dvNV) { - void **procp = (void **) &disp->ProgramNamedParameter4dvNV; - - snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramNamedParameter4fNV) { - void **procp = (void **) &disp->ProgramNamedParameter4fNV; - - snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramNamedParameter4fvNV) { - void **procp = (void **) &disp->ProgramNamedParameter4fvNV; - - snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fvNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PrimitiveRestartIndexNV) { - void **procp = (void **) &disp->PrimitiveRestartIndexNV; - - snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndexNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PrimitiveRestartIndexNV) { - void **procp = (void **) &disp->PrimitiveRestartIndexNV; - - snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndex", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->PrimitiveRestartNV) { - void **procp = (void **) &disp->PrimitiveRestartNV; - - snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DepthBoundsEXT) { - void **procp = (void **) &disp->DepthBoundsEXT; - - snprintf(symboln, sizeof(symboln), "%sDepthBoundsEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationSeparateEXT) { - void **procp = (void **) &disp->BlendEquationSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparate", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationSeparateEXT) { - void **procp = (void **) &disp->BlendEquationSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlendEquationSeparateEXT) { - void **procp = (void **) &disp->BlendEquationSeparateEXT; - - snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindFramebufferEXT) { - void **procp = (void **) &disp->BindFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBindFramebuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindFramebufferEXT) { - void **procp = (void **) &disp->BindFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindRenderbufferEXT) { - void **procp = (void **) &disp->BindRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBindRenderbuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindRenderbufferEXT) { - void **procp = (void **) &disp->BindRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CheckFramebufferStatusEXT) { - void **procp = (void **) &disp->CheckFramebufferStatusEXT; - - snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatus", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CheckFramebufferStatusEXT) { - void **procp = (void **) &disp->CheckFramebufferStatusEXT; - - snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatusEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteFramebuffersEXT) { - void **procp = (void **) &disp->DeleteFramebuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffers", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteFramebuffersEXT) { - void **procp = (void **) &disp->DeleteFramebuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffersEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteRenderbuffersEXT) { - void **procp = (void **) &disp->DeleteRenderbuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffers", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DeleteRenderbuffersEXT) { - void **procp = (void **) &disp->DeleteRenderbuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffersEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferRenderbufferEXT) { - void **procp = (void **) &disp->FramebufferRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbuffer", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferRenderbufferEXT) { - void **procp = (void **) &disp->FramebufferRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbufferEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture1DEXT) { - void **procp = (void **) &disp->FramebufferTexture1DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture1DEXT) { - void **procp = (void **) &disp->FramebufferTexture1DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture2DEXT) { - void **procp = (void **) &disp->FramebufferTexture2DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture2DEXT) { - void **procp = (void **) &disp->FramebufferTexture2DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture3DEXT) { - void **procp = (void **) &disp->FramebufferTexture3DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3D", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTexture3DEXT) { - void **procp = (void **) &disp->FramebufferTexture3DEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3DEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenFramebuffersEXT) { - void **procp = (void **) &disp->GenFramebuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sGenFramebuffers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenFramebuffersEXT) { - void **procp = (void **) &disp->GenFramebuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sGenFramebuffersEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenRenderbuffersEXT) { - void **procp = (void **) &disp->GenRenderbuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sGenRenderbuffers", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenRenderbuffersEXT) { - void **procp = (void **) &disp->GenRenderbuffersEXT; - - snprintf(symboln, sizeof(symboln), "%sGenRenderbuffersEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenerateMipmapEXT) { - void **procp = (void **) &disp->GenerateMipmapEXT; - - snprintf(symboln, sizeof(symboln), "%sGenerateMipmap", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GenerateMipmapEXT) { - void **procp = (void **) &disp->GenerateMipmapEXT; - - snprintf(symboln, sizeof(symboln), "%sGenerateMipmapEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFramebufferAttachmentParameterivEXT) { - void **procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT; - - snprintf(symboln, sizeof(symboln), - "%sGetFramebufferAttachmentParameteriv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFramebufferAttachmentParameterivEXT) { - void **procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT; - - snprintf(symboln, sizeof(symboln), - "%sGetFramebufferAttachmentParameterivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetRenderbufferParameterivEXT) { - void **procp = (void **) &disp->GetRenderbufferParameterivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameteriv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetRenderbufferParameterivEXT) { - void **procp = (void **) &disp->GetRenderbufferParameterivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameterivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsFramebufferEXT) { - void **procp = (void **) &disp->IsFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sIsFramebuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsFramebufferEXT) { - void **procp = (void **) &disp->IsFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sIsFramebufferEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsRenderbufferEXT) { - void **procp = (void **) &disp->IsRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sIsRenderbuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsRenderbufferEXT) { - void **procp = (void **) &disp->IsRenderbufferEXT; - - snprintf(symboln, sizeof(symboln), "%sIsRenderbufferEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RenderbufferStorageEXT) { - void **procp = (void **) &disp->RenderbufferStorageEXT; - - snprintf(symboln, sizeof(symboln), "%sRenderbufferStorage", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->RenderbufferStorageEXT) { - void **procp = (void **) &disp->RenderbufferStorageEXT; - - snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlitFramebufferEXT) { - void **procp = (void **) &disp->BlitFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBlitFramebuffer", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BlitFramebufferEXT) { - void **procp = (void **) &disp->BlitFramebufferEXT; - - snprintf(symboln, sizeof(symboln), "%sBlitFramebufferEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BufferParameteriAPPLE) { - void **procp = (void **) &disp->BufferParameteriAPPLE; - - snprintf(symboln, sizeof(symboln), "%sBufferParameteriAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FlushMappedBufferRangeAPPLE) { - void **procp = (void **) &disp->FlushMappedBufferRangeAPPLE; - - snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRangeAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindFragDataLocationEXT) { - void **procp = (void **) &disp->BindFragDataLocationEXT; - - snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindFragDataLocationEXT) { - void **procp = (void **) &disp->BindFragDataLocationEXT; - - snprintf(symboln, sizeof(symboln), "%sBindFragDataLocation", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFragDataLocationEXT) { - void **procp = (void **) &disp->GetFragDataLocationEXT; - - snprintf(symboln, sizeof(symboln), "%sGetFragDataLocationEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetFragDataLocationEXT) { - void **procp = (void **) &disp->GetFragDataLocationEXT; - - snprintf(symboln, sizeof(symboln), "%sGetFragDataLocation", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformuivEXT) { - void **procp = (void **) &disp->GetUniformuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetUniformuivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetUniformuivEXT) { - void **procp = (void **) &disp->GetUniformuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetUniformuiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribIivEXT) { - void **procp = (void **) &disp->GetVertexAttribIivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribIivEXT) { - void **procp = (void **) &disp->GetVertexAttribIivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribIuivEXT) { - void **procp = (void **) &disp->GetVertexAttribIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetVertexAttribIuivEXT) { - void **procp = (void **) &disp->GetVertexAttribIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1uiEXT) { - void **procp = (void **) &disp->Uniform1uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform1uiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1uiEXT) { - void **procp = (void **) &disp->Uniform1uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform1ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1uivEXT) { - void **procp = (void **) &disp->Uniform1uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform1uivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform1uivEXT) { - void **procp = (void **) &disp->Uniform1uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform1uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2uiEXT) { - void **procp = (void **) &disp->Uniform2uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform2uiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2uiEXT) { - void **procp = (void **) &disp->Uniform2uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform2ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2uivEXT) { - void **procp = (void **) &disp->Uniform2uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform2uivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform2uivEXT) { - void **procp = (void **) &disp->Uniform2uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform2uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3uiEXT) { - void **procp = (void **) &disp->Uniform3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform3uiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3uiEXT) { - void **procp = (void **) &disp->Uniform3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3uivEXT) { - void **procp = (void **) &disp->Uniform3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform3uivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform3uivEXT) { - void **procp = (void **) &disp->Uniform3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform3uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4uiEXT) { - void **procp = (void **) &disp->Uniform4uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform4uiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4uiEXT) { - void **procp = (void **) &disp->Uniform4uiEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4uivEXT) { - void **procp = (void **) &disp->Uniform4uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform4uivEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->Uniform4uivEXT) { - void **procp = (void **) &disp->Uniform4uivEXT; - - snprintf(symboln, sizeof(symboln), "%sUniform4uiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1iEXT) { - void **procp = (void **) &disp->VertexAttribI1iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1iEXT) { - void **procp = (void **) &disp->VertexAttribI1iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1ivEXT) { - void **procp = (void **) &disp->VertexAttribI1ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1ivEXT) { - void **procp = (void **) &disp->VertexAttribI1ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1uiEXT) { - void **procp = (void **) &disp->VertexAttribI1uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1uiEXT) { - void **procp = (void **) &disp->VertexAttribI1uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1uivEXT) { - void **procp = (void **) &disp->VertexAttribI1uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI1uivEXT) { - void **procp = (void **) &disp->VertexAttribI1uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2iEXT) { - void **procp = (void **) &disp->VertexAttribI2iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2iEXT) { - void **procp = (void **) &disp->VertexAttribI2iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2ivEXT) { - void **procp = (void **) &disp->VertexAttribI2ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2ivEXT) { - void **procp = (void **) &disp->VertexAttribI2ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2uiEXT) { - void **procp = (void **) &disp->VertexAttribI2uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2uiEXT) { - void **procp = (void **) &disp->VertexAttribI2uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2uivEXT) { - void **procp = (void **) &disp->VertexAttribI2uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI2uivEXT) { - void **procp = (void **) &disp->VertexAttribI2uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3iEXT) { - void **procp = (void **) &disp->VertexAttribI3iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3iEXT) { - void **procp = (void **) &disp->VertexAttribI3iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3ivEXT) { - void **procp = (void **) &disp->VertexAttribI3ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3ivEXT) { - void **procp = (void **) &disp->VertexAttribI3ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3uiEXT) { - void **procp = (void **) &disp->VertexAttribI3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3uiEXT) { - void **procp = (void **) &disp->VertexAttribI3uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3uivEXT) { - void **procp = (void **) &disp->VertexAttribI3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI3uivEXT) { - void **procp = (void **) &disp->VertexAttribI3uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4bvEXT) { - void **procp = (void **) &disp->VertexAttribI4bvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4bvEXT) { - void **procp = (void **) &disp->VertexAttribI4bvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4iEXT) { - void **procp = (void **) &disp->VertexAttribI4iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4iEXT) { - void **procp = (void **) &disp->VertexAttribI4iEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4i", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4ivEXT) { - void **procp = (void **) &disp->VertexAttribI4ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4ivEXT) { - void **procp = (void **) &disp->VertexAttribI4ivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4svEXT) { - void **procp = (void **) &disp->VertexAttribI4svEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4svEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4svEXT) { - void **procp = (void **) &disp->VertexAttribI4svEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4sv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4ubvEXT) { - void **procp = (void **) &disp->VertexAttribI4ubvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4ubvEXT) { - void **procp = (void **) &disp->VertexAttribI4ubvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4uiEXT) { - void **procp = (void **) &disp->VertexAttribI4uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4uiEXT) { - void **procp = (void **) &disp->VertexAttribI4uiEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ui", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4uivEXT) { - void **procp = (void **) &disp->VertexAttribI4uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4uivEXT) { - void **procp = (void **) &disp->VertexAttribI4uivEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4usvEXT) { - void **procp = (void **) &disp->VertexAttribI4usvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribI4usvEXT) { - void **procp = (void **) &disp->VertexAttribI4usvEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribIPointerEXT) { - void **procp = (void **) &disp->VertexAttribIPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->VertexAttribIPointerEXT) { - void **procp = (void **) &disp->VertexAttribIPointerEXT; - - snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointer", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTextureLayerEXT) { - void **procp = (void **) &disp->FramebufferTextureLayerEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayer", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTextureLayerEXT) { - void **procp = (void **) &disp->FramebufferTextureLayerEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerARB", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->FramebufferTextureLayerEXT) { - void **procp = (void **) &disp->FramebufferTextureLayerEXT; - - snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorMaskIndexedEXT) { - void **procp = (void **) &disp->ColorMaskIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sColorMaskIndexedEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ColorMaskIndexedEXT) { - void **procp = (void **) &disp->ColorMaskIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sColorMaski", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DisableIndexedEXT) { - void **procp = (void **) &disp->DisableIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sDisableIndexedEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->DisableIndexedEXT) { - void **procp = (void **) &disp->DisableIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sDisablei", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EnableIndexedEXT) { - void **procp = (void **) &disp->EnableIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sEnableIndexedEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EnableIndexedEXT) { - void **procp = (void **) &disp->EnableIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sEnablei", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBooleanIndexedvEXT) { - void **procp = (void **) &disp->GetBooleanIndexedvEXT; - - snprintf(symboln, sizeof(symboln), "%sGetBooleanIndexedvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetBooleanIndexedvEXT) { - void **procp = (void **) &disp->GetBooleanIndexedvEXT; - - snprintf(symboln, sizeof(symboln), "%sGetBooleani_v", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetIntegerIndexedvEXT) { - void **procp = (void **) &disp->GetIntegerIndexedvEXT; - - snprintf(symboln, sizeof(symboln), "%sGetIntegerIndexedvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetIntegerIndexedvEXT) { - void **procp = (void **) &disp->GetIntegerIndexedvEXT; - - snprintf(symboln, sizeof(symboln), "%sGetIntegeri_v", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsEnabledIndexedEXT) { - void **procp = (void **) &disp->IsEnabledIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sIsEnabledIndexedEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->IsEnabledIndexedEXT) { - void **procp = (void **) &disp->IsEnabledIndexedEXT; - - snprintf(symboln, sizeof(symboln), "%sIsEnabledi", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearColorIiEXT) { - void **procp = (void **) &disp->ClearColorIiEXT; - - snprintf(symboln, sizeof(symboln), "%sClearColorIiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ClearColorIuiEXT) { - void **procp = (void **) &disp->ClearColorIuiEXT; - - snprintf(symboln, sizeof(symboln), "%sClearColorIuiEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterIivEXT) { - void **procp = (void **) &disp->GetTexParameterIivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterIivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterIivEXT) { - void **procp = (void **) &disp->GetTexParameterIivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterIiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterIuivEXT) { - void **procp = (void **) &disp->GetTexParameterIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterIuivEXT) { - void **procp = (void **) &disp->GetTexParameterIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuiv", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterIivEXT) { - void **procp = (void **) &disp->TexParameterIivEXT; - - snprintf(symboln, sizeof(symboln), "%sTexParameterIivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterIivEXT) { - void **procp = (void **) &disp->TexParameterIivEXT; - - snprintf(symboln, sizeof(symboln), "%sTexParameterIiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterIuivEXT) { - void **procp = (void **) &disp->TexParameterIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sTexParameterIuivEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TexParameterIuivEXT) { - void **procp = (void **) &disp->TexParameterIuivEXT; - - snprintf(symboln, sizeof(symboln), "%sTexParameterIuiv", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginConditionalRenderNV) { - void **procp = (void **) &disp->BeginConditionalRenderNV; - - snprintf(symboln, sizeof(symboln), "%sBeginConditionalRenderNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginConditionalRenderNV) { - void **procp = (void **) &disp->BeginConditionalRenderNV; - - snprintf(symboln, sizeof(symboln), "%sBeginConditionalRender", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndConditionalRenderNV) { - void **procp = (void **) &disp->EndConditionalRenderNV; - - snprintf(symboln, sizeof(symboln), "%sEndConditionalRenderNV", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndConditionalRenderNV) { - void **procp = (void **) &disp->EndConditionalRenderNV; - - snprintf(symboln, sizeof(symboln), "%sEndConditionalRender", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginTransformFeedbackEXT) { - void **procp = (void **) &disp->BeginTransformFeedbackEXT; - - snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedbackEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BeginTransformFeedbackEXT) { - void **procp = (void **) &disp->BeginTransformFeedbackEXT; - - snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferBaseEXT) { - void **procp = (void **) &disp->BindBufferBaseEXT; - - snprintf(symboln, sizeof(symboln), "%sBindBufferBaseEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferBaseEXT) { - void **procp = (void **) &disp->BindBufferBaseEXT; - - snprintf(symboln, sizeof(symboln), "%sBindBufferBase", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferOffsetEXT) { - void **procp = (void **) &disp->BindBufferOffsetEXT; - - snprintf(symboln, sizeof(symboln), "%sBindBufferOffsetEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferRangeEXT) { - void **procp = (void **) &disp->BindBufferRangeEXT; - - snprintf(symboln, sizeof(symboln), "%sBindBufferRangeEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->BindBufferRangeEXT) { - void **procp = (void **) &disp->BindBufferRangeEXT; - - snprintf(symboln, sizeof(symboln), "%sBindBufferRange", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndTransformFeedbackEXT) { - void **procp = (void **) &disp->EndTransformFeedbackEXT; - - snprintf(symboln, sizeof(symboln), "%sEndTransformFeedbackEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EndTransformFeedbackEXT) { - void **procp = (void **) &disp->EndTransformFeedbackEXT; - - snprintf(symboln, sizeof(symboln), "%sEndTransformFeedback", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTransformFeedbackVaryingEXT) { - void **procp = (void **) &disp->GetTransformFeedbackVaryingEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVaryingEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTransformFeedbackVaryingEXT) { - void **procp = (void **) &disp->GetTransformFeedbackVaryingEXT; - - snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVarying", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TransformFeedbackVaryingsEXT) { - void **procp = (void **) &disp->TransformFeedbackVaryingsEXT; - - snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryingsEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TransformFeedbackVaryingsEXT) { - void **procp = (void **) &disp->TransformFeedbackVaryingsEXT; - - snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryings", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProvokingVertexEXT) { - void **procp = (void **) &disp->ProvokingVertexEXT; - - snprintf(symboln, sizeof(symboln), "%sProvokingVertexEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProvokingVertexEXT) { - void **procp = (void **) &disp->ProvokingVertexEXT; - - snprintf(symboln, sizeof(symboln), "%sProvokingVertex", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetTexParameterPointervAPPLE) { - void **procp = (void **) &disp->GetTexParameterPointervAPPLE; - - snprintf(symboln, sizeof(symboln), "%sGetTexParameterPointervAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TextureRangeAPPLE) { - void **procp = (void **) &disp->TextureRangeAPPLE; - - snprintf(symboln, sizeof(symboln), "%sTextureRangeAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetObjectParameterivAPPLE) { - void **procp = (void **) &disp->GetObjectParameterivAPPLE; - - snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ObjectPurgeableAPPLE) { - void **procp = (void **) &disp->ObjectPurgeableAPPLE; - - snprintf(symboln, sizeof(symboln), "%sObjectPurgeableAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ObjectUnpurgeableAPPLE) { - void **procp = (void **) &disp->ObjectUnpurgeableAPPLE; - - snprintf(symboln, sizeof(symboln), "%sObjectUnpurgeableAPPLE", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ActiveProgramEXT) { - void **procp = (void **) &disp->ActiveProgramEXT; - - snprintf(symboln, sizeof(symboln), "%sActiveProgramEXT", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->CreateShaderProgramEXT) { - void **procp = (void **) &disp->CreateShaderProgramEXT; - - snprintf(symboln, sizeof(symboln), "%sCreateShaderProgramEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->UseShaderProgramEXT) { - void **procp = (void **) &disp->UseShaderProgramEXT; - - snprintf(symboln, sizeof(symboln), "%sUseShaderProgramEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->TextureBarrierNV) { - void **procp = (void **) &disp->TextureBarrierNV; - - snprintf(symboln, sizeof(symboln), "%sTextureBarrierNV", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->StencilFuncSeparateATI) { - void **procp = (void **) &disp->StencilFuncSeparateATI; - - snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparateATI", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramEnvParameters4fvEXT) { - void **procp = (void **) &disp->ProgramEnvParameters4fvEXT; - - snprintf(symboln, sizeof(symboln), "%sProgramEnvParameters4fvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->ProgramLocalParameters4fvEXT) { - void **procp = (void **) &disp->ProgramLocalParameters4fvEXT; - - snprintf(symboln, sizeof(symboln), "%sProgramLocalParameters4fvEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjecti64vEXT) { - void **procp = (void **) &disp->GetQueryObjecti64vEXT; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjecti64vEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->GetQueryObjectui64vEXT) { - void **procp = (void **) &disp->GetQueryObjectui64vEXT; - - snprintf(symboln, sizeof(symboln), "%sGetQueryObjectui64vEXT", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EGLImageTargetRenderbufferStorageOES) { - void **procp = (void **) &disp->EGLImageTargetRenderbufferStorageOES; - - snprintf(symboln, sizeof(symboln), - "%sEGLImageTargetRenderbufferStorageOES", symbol_prefix); - *procp = dlsym(handle, symboln); - } - - if (!disp->EGLImageTargetTexture2DOES) { - void **procp = (void **) &disp->EGLImageTargetTexture2DOES; - - snprintf(symboln, sizeof(symboln), "%sEGLImageTargetTexture2DOES", - symbol_prefix); - *procp = dlsym(handle, symboln); - } - - __glapi_gentable_set_remaining_noop(disp); - - return disp; -} +/* DO NOT EDIT - This file generated automatically by gl_gen_table.py (from Mesa) script */
+
+/*
+ * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * (C) Copyright IBM Corporation 2004, 2005
+ * (C) Copyright Apple Inc 2011
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL, IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/* GLXEXT is the define used in the xserver when the GLX extension is being
+ * built. Hijack this to determine whether this file is being built for the
+ * server or the client.
+ */
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
+#if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \
+ || (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) && !defined(__MINGW32__))
+#define USE_BACKTRACE
+#endif
+
+#ifdef USE_BACKTRACE
+#include <execinfo.h>
+#endif
+
+#include <dlfcn.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "glheader.h"
+
+#include "glapi.h"
+#include "glapitable.h"
+
+#ifdef GLXEXT
+#include "os.h"
+#endif
+
+static void
+__glapi_gentable_NoOp(void) {
+ const char *fstr = "Unknown";
+
+ /* Silence potential GCC warning for some #ifdef paths.
+ */
+ (void) fstr;
+#if defined(USE_BACKTRACE)
+#if !defined(GLXEXT)
+ if (getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG"))
+#endif
+ {
+ void *frames[2];
+
+ if(backtrace(frames, 2) == 2) {
+ Dl_info info;
+ dladdr(frames[1], &info);
+ if(info.dli_sname)
+ fstr = info.dli_sname;
+ }
+
+#if !defined(GLXEXT)
+ fprintf(stderr, "Call to unimplemented API: %s\n", fstr);
+#endif
+ }
+#endif
+#if defined(GLXEXT)
+ LogMessage(X_ERROR, "GLX: Call to unimplemented API: %s\n", fstr);
+#endif
+}
+
+static void
+__glapi_gentable_set_remaining_noop(struct _glapi_table *disp) {
+ GLuint entries = _glapi_get_dispatch_table_size();
+ void **dispatch = (void **) disp;
+ int i;
+
+ /* ISO C is annoying sometimes */
+ union {_glapi_proc p; void *v;} p;
+ p.p = __glapi_gentable_NoOp;
+
+ for(i=0; i < entries; i++)
+ if(dispatch[i] == NULL)
+ dispatch[i] = p.v;
+}
+
+struct _glapi_table *
+_glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
+ struct _glapi_table *disp = calloc(_glapi_get_dispatch_table_size(), sizeof(void*));
+ char symboln[512];
+
+ if(!disp)
+ return NULL;
+
+ if(symbol_prefix == NULL)
+ symbol_prefix = "";
+
+
+ if(!disp->NewList) {
+ void ** procp = (void **) &disp->NewList;
+ snprintf(symboln, sizeof(symboln), "%sNewList", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndList) {
+ void ** procp = (void **) &disp->EndList;
+ snprintf(symboln, sizeof(symboln), "%sEndList", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CallList) {
+ void ** procp = (void **) &disp->CallList;
+ snprintf(symboln, sizeof(symboln), "%sCallList", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CallLists) {
+ void ** procp = (void **) &disp->CallLists;
+ snprintf(symboln, sizeof(symboln), "%sCallLists", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteLists) {
+ void ** procp = (void **) &disp->DeleteLists;
+ snprintf(symboln, sizeof(symboln), "%sDeleteLists", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenLists) {
+ void ** procp = (void **) &disp->GenLists;
+ snprintf(symboln, sizeof(symboln), "%sGenLists", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ListBase) {
+ void ** procp = (void **) &disp->ListBase;
+ snprintf(symboln, sizeof(symboln), "%sListBase", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Begin) {
+ void ** procp = (void **) &disp->Begin;
+ snprintf(symboln, sizeof(symboln), "%sBegin", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Bitmap) {
+ void ** procp = (void **) &disp->Bitmap;
+ snprintf(symboln, sizeof(symboln), "%sBitmap", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3b) {
+ void ** procp = (void **) &disp->Color3b;
+ snprintf(symboln, sizeof(symboln), "%sColor3b", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3bv) {
+ void ** procp = (void **) &disp->Color3bv;
+ snprintf(symboln, sizeof(symboln), "%sColor3bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3d) {
+ void ** procp = (void **) &disp->Color3d;
+ snprintf(symboln, sizeof(symboln), "%sColor3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3dv) {
+ void ** procp = (void **) &disp->Color3dv;
+ snprintf(symboln, sizeof(symboln), "%sColor3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3f) {
+ void ** procp = (void **) &disp->Color3f;
+ snprintf(symboln, sizeof(symboln), "%sColor3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3fv) {
+ void ** procp = (void **) &disp->Color3fv;
+ snprintf(symboln, sizeof(symboln), "%sColor3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3i) {
+ void ** procp = (void **) &disp->Color3i;
+ snprintf(symboln, sizeof(symboln), "%sColor3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3iv) {
+ void ** procp = (void **) &disp->Color3iv;
+ snprintf(symboln, sizeof(symboln), "%sColor3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3s) {
+ void ** procp = (void **) &disp->Color3s;
+ snprintf(symboln, sizeof(symboln), "%sColor3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3sv) {
+ void ** procp = (void **) &disp->Color3sv;
+ snprintf(symboln, sizeof(symboln), "%sColor3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3ub) {
+ void ** procp = (void **) &disp->Color3ub;
+ snprintf(symboln, sizeof(symboln), "%sColor3ub", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3ubv) {
+ void ** procp = (void **) &disp->Color3ubv;
+ snprintf(symboln, sizeof(symboln), "%sColor3ubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3ui) {
+ void ** procp = (void **) &disp->Color3ui;
+ snprintf(symboln, sizeof(symboln), "%sColor3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3uiv) {
+ void ** procp = (void **) &disp->Color3uiv;
+ snprintf(symboln, sizeof(symboln), "%sColor3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3us) {
+ void ** procp = (void **) &disp->Color3us;
+ snprintf(symboln, sizeof(symboln), "%sColor3us", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color3usv) {
+ void ** procp = (void **) &disp->Color3usv;
+ snprintf(symboln, sizeof(symboln), "%sColor3usv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4b) {
+ void ** procp = (void **) &disp->Color4b;
+ snprintf(symboln, sizeof(symboln), "%sColor4b", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4bv) {
+ void ** procp = (void **) &disp->Color4bv;
+ snprintf(symboln, sizeof(symboln), "%sColor4bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4d) {
+ void ** procp = (void **) &disp->Color4d;
+ snprintf(symboln, sizeof(symboln), "%sColor4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4dv) {
+ void ** procp = (void **) &disp->Color4dv;
+ snprintf(symboln, sizeof(symboln), "%sColor4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4f) {
+ void ** procp = (void **) &disp->Color4f;
+ snprintf(symboln, sizeof(symboln), "%sColor4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4fv) {
+ void ** procp = (void **) &disp->Color4fv;
+ snprintf(symboln, sizeof(symboln), "%sColor4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4i) {
+ void ** procp = (void **) &disp->Color4i;
+ snprintf(symboln, sizeof(symboln), "%sColor4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4iv) {
+ void ** procp = (void **) &disp->Color4iv;
+ snprintf(symboln, sizeof(symboln), "%sColor4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4s) {
+ void ** procp = (void **) &disp->Color4s;
+ snprintf(symboln, sizeof(symboln), "%sColor4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4sv) {
+ void ** procp = (void **) &disp->Color4sv;
+ snprintf(symboln, sizeof(symboln), "%sColor4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4ub) {
+ void ** procp = (void **) &disp->Color4ub;
+ snprintf(symboln, sizeof(symboln), "%sColor4ub", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4ubv) {
+ void ** procp = (void **) &disp->Color4ubv;
+ snprintf(symboln, sizeof(symboln), "%sColor4ubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4ui) {
+ void ** procp = (void **) &disp->Color4ui;
+ snprintf(symboln, sizeof(symboln), "%sColor4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4uiv) {
+ void ** procp = (void **) &disp->Color4uiv;
+ snprintf(symboln, sizeof(symboln), "%sColor4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4us) {
+ void ** procp = (void **) &disp->Color4us;
+ snprintf(symboln, sizeof(symboln), "%sColor4us", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4usv) {
+ void ** procp = (void **) &disp->Color4usv;
+ snprintf(symboln, sizeof(symboln), "%sColor4usv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EdgeFlag) {
+ void ** procp = (void **) &disp->EdgeFlag;
+ snprintf(symboln, sizeof(symboln), "%sEdgeFlag", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EdgeFlagv) {
+ void ** procp = (void **) &disp->EdgeFlagv;
+ snprintf(symboln, sizeof(symboln), "%sEdgeFlagv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->End) {
+ void ** procp = (void **) &disp->End;
+ snprintf(symboln, sizeof(symboln), "%sEnd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexd) {
+ void ** procp = (void **) &disp->Indexd;
+ snprintf(symboln, sizeof(symboln), "%sIndexd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexdv) {
+ void ** procp = (void **) &disp->Indexdv;
+ snprintf(symboln, sizeof(symboln), "%sIndexdv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexf) {
+ void ** procp = (void **) &disp->Indexf;
+ snprintf(symboln, sizeof(symboln), "%sIndexf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexfv) {
+ void ** procp = (void **) &disp->Indexfv;
+ snprintf(symboln, sizeof(symboln), "%sIndexfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexi) {
+ void ** procp = (void **) &disp->Indexi;
+ snprintf(symboln, sizeof(symboln), "%sIndexi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexiv) {
+ void ** procp = (void **) &disp->Indexiv;
+ snprintf(symboln, sizeof(symboln), "%sIndexiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexs) {
+ void ** procp = (void **) &disp->Indexs;
+ snprintf(symboln, sizeof(symboln), "%sIndexs", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexsv) {
+ void ** procp = (void **) &disp->Indexsv;
+ snprintf(symboln, sizeof(symboln), "%sIndexsv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3b) {
+ void ** procp = (void **) &disp->Normal3b;
+ snprintf(symboln, sizeof(symboln), "%sNormal3b", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3bv) {
+ void ** procp = (void **) &disp->Normal3bv;
+ snprintf(symboln, sizeof(symboln), "%sNormal3bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3d) {
+ void ** procp = (void **) &disp->Normal3d;
+ snprintf(symboln, sizeof(symboln), "%sNormal3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3dv) {
+ void ** procp = (void **) &disp->Normal3dv;
+ snprintf(symboln, sizeof(symboln), "%sNormal3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3f) {
+ void ** procp = (void **) &disp->Normal3f;
+ snprintf(symboln, sizeof(symboln), "%sNormal3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3fv) {
+ void ** procp = (void **) &disp->Normal3fv;
+ snprintf(symboln, sizeof(symboln), "%sNormal3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3i) {
+ void ** procp = (void **) &disp->Normal3i;
+ snprintf(symboln, sizeof(symboln), "%sNormal3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3iv) {
+ void ** procp = (void **) &disp->Normal3iv;
+ snprintf(symboln, sizeof(symboln), "%sNormal3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3s) {
+ void ** procp = (void **) &disp->Normal3s;
+ snprintf(symboln, sizeof(symboln), "%sNormal3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3sv) {
+ void ** procp = (void **) &disp->Normal3sv;
+ snprintf(symboln, sizeof(symboln), "%sNormal3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2d) {
+ void ** procp = (void **) &disp->RasterPos2d;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2dv) {
+ void ** procp = (void **) &disp->RasterPos2dv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2f) {
+ void ** procp = (void **) &disp->RasterPos2f;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2fv) {
+ void ** procp = (void **) &disp->RasterPos2fv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2i) {
+ void ** procp = (void **) &disp->RasterPos2i;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2iv) {
+ void ** procp = (void **) &disp->RasterPos2iv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2s) {
+ void ** procp = (void **) &disp->RasterPos2s;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos2sv) {
+ void ** procp = (void **) &disp->RasterPos2sv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3d) {
+ void ** procp = (void **) &disp->RasterPos3d;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3dv) {
+ void ** procp = (void **) &disp->RasterPos3dv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3f) {
+ void ** procp = (void **) &disp->RasterPos3f;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3fv) {
+ void ** procp = (void **) &disp->RasterPos3fv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3i) {
+ void ** procp = (void **) &disp->RasterPos3i;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3iv) {
+ void ** procp = (void **) &disp->RasterPos3iv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3s) {
+ void ** procp = (void **) &disp->RasterPos3s;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos3sv) {
+ void ** procp = (void **) &disp->RasterPos3sv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4d) {
+ void ** procp = (void **) &disp->RasterPos4d;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4dv) {
+ void ** procp = (void **) &disp->RasterPos4dv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4f) {
+ void ** procp = (void **) &disp->RasterPos4f;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4fv) {
+ void ** procp = (void **) &disp->RasterPos4fv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4i) {
+ void ** procp = (void **) &disp->RasterPos4i;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4iv) {
+ void ** procp = (void **) &disp->RasterPos4iv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4s) {
+ void ** procp = (void **) &disp->RasterPos4s;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RasterPos4sv) {
+ void ** procp = (void **) &disp->RasterPos4sv;
+ snprintf(symboln, sizeof(symboln), "%sRasterPos4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectd) {
+ void ** procp = (void **) &disp->Rectd;
+ snprintf(symboln, sizeof(symboln), "%sRectd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectdv) {
+ void ** procp = (void **) &disp->Rectdv;
+ snprintf(symboln, sizeof(symboln), "%sRectdv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectf) {
+ void ** procp = (void **) &disp->Rectf;
+ snprintf(symboln, sizeof(symboln), "%sRectf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectfv) {
+ void ** procp = (void **) &disp->Rectfv;
+ snprintf(symboln, sizeof(symboln), "%sRectfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Recti) {
+ void ** procp = (void **) &disp->Recti;
+ snprintf(symboln, sizeof(symboln), "%sRecti", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectiv) {
+ void ** procp = (void **) &disp->Rectiv;
+ snprintf(symboln, sizeof(symboln), "%sRectiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rects) {
+ void ** procp = (void **) &disp->Rects;
+ snprintf(symboln, sizeof(symboln), "%sRects", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rectsv) {
+ void ** procp = (void **) &disp->Rectsv;
+ snprintf(symboln, sizeof(symboln), "%sRectsv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1d) {
+ void ** procp = (void **) &disp->TexCoord1d;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1dv) {
+ void ** procp = (void **) &disp->TexCoord1dv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1f) {
+ void ** procp = (void **) &disp->TexCoord1f;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1fv) {
+ void ** procp = (void **) &disp->TexCoord1fv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1i) {
+ void ** procp = (void **) &disp->TexCoord1i;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1iv) {
+ void ** procp = (void **) &disp->TexCoord1iv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1s) {
+ void ** procp = (void **) &disp->TexCoord1s;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord1sv) {
+ void ** procp = (void **) &disp->TexCoord1sv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord1sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2d) {
+ void ** procp = (void **) &disp->TexCoord2d;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2dv) {
+ void ** procp = (void **) &disp->TexCoord2dv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2f) {
+ void ** procp = (void **) &disp->TexCoord2f;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2fv) {
+ void ** procp = (void **) &disp->TexCoord2fv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2i) {
+ void ** procp = (void **) &disp->TexCoord2i;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2iv) {
+ void ** procp = (void **) &disp->TexCoord2iv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2s) {
+ void ** procp = (void **) &disp->TexCoord2s;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord2sv) {
+ void ** procp = (void **) &disp->TexCoord2sv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3d) {
+ void ** procp = (void **) &disp->TexCoord3d;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3dv) {
+ void ** procp = (void **) &disp->TexCoord3dv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3f) {
+ void ** procp = (void **) &disp->TexCoord3f;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3fv) {
+ void ** procp = (void **) &disp->TexCoord3fv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3i) {
+ void ** procp = (void **) &disp->TexCoord3i;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3iv) {
+ void ** procp = (void **) &disp->TexCoord3iv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3s) {
+ void ** procp = (void **) &disp->TexCoord3s;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord3sv) {
+ void ** procp = (void **) &disp->TexCoord3sv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4d) {
+ void ** procp = (void **) &disp->TexCoord4d;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4dv) {
+ void ** procp = (void **) &disp->TexCoord4dv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4f) {
+ void ** procp = (void **) &disp->TexCoord4f;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4fv) {
+ void ** procp = (void **) &disp->TexCoord4fv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4i) {
+ void ** procp = (void **) &disp->TexCoord4i;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4iv) {
+ void ** procp = (void **) &disp->TexCoord4iv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4s) {
+ void ** procp = (void **) &disp->TexCoord4s;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoord4sv) {
+ void ** procp = (void **) &disp->TexCoord4sv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoord4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2d) {
+ void ** procp = (void **) &disp->Vertex2d;
+ snprintf(symboln, sizeof(symboln), "%sVertex2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2dv) {
+ void ** procp = (void **) &disp->Vertex2dv;
+ snprintf(symboln, sizeof(symboln), "%sVertex2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2f) {
+ void ** procp = (void **) &disp->Vertex2f;
+ snprintf(symboln, sizeof(symboln), "%sVertex2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2fv) {
+ void ** procp = (void **) &disp->Vertex2fv;
+ snprintf(symboln, sizeof(symboln), "%sVertex2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2i) {
+ void ** procp = (void **) &disp->Vertex2i;
+ snprintf(symboln, sizeof(symboln), "%sVertex2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2iv) {
+ void ** procp = (void **) &disp->Vertex2iv;
+ snprintf(symboln, sizeof(symboln), "%sVertex2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2s) {
+ void ** procp = (void **) &disp->Vertex2s;
+ snprintf(symboln, sizeof(symboln), "%sVertex2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex2sv) {
+ void ** procp = (void **) &disp->Vertex2sv;
+ snprintf(symboln, sizeof(symboln), "%sVertex2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3d) {
+ void ** procp = (void **) &disp->Vertex3d;
+ snprintf(symboln, sizeof(symboln), "%sVertex3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3dv) {
+ void ** procp = (void **) &disp->Vertex3dv;
+ snprintf(symboln, sizeof(symboln), "%sVertex3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3f) {
+ void ** procp = (void **) &disp->Vertex3f;
+ snprintf(symboln, sizeof(symboln), "%sVertex3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3fv) {
+ void ** procp = (void **) &disp->Vertex3fv;
+ snprintf(symboln, sizeof(symboln), "%sVertex3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3i) {
+ void ** procp = (void **) &disp->Vertex3i;
+ snprintf(symboln, sizeof(symboln), "%sVertex3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3iv) {
+ void ** procp = (void **) &disp->Vertex3iv;
+ snprintf(symboln, sizeof(symboln), "%sVertex3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3s) {
+ void ** procp = (void **) &disp->Vertex3s;
+ snprintf(symboln, sizeof(symboln), "%sVertex3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex3sv) {
+ void ** procp = (void **) &disp->Vertex3sv;
+ snprintf(symboln, sizeof(symboln), "%sVertex3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4d) {
+ void ** procp = (void **) &disp->Vertex4d;
+ snprintf(symboln, sizeof(symboln), "%sVertex4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4dv) {
+ void ** procp = (void **) &disp->Vertex4dv;
+ snprintf(symboln, sizeof(symboln), "%sVertex4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4f) {
+ void ** procp = (void **) &disp->Vertex4f;
+ snprintf(symboln, sizeof(symboln), "%sVertex4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4fv) {
+ void ** procp = (void **) &disp->Vertex4fv;
+ snprintf(symboln, sizeof(symboln), "%sVertex4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4i) {
+ void ** procp = (void **) &disp->Vertex4i;
+ snprintf(symboln, sizeof(symboln), "%sVertex4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4iv) {
+ void ** procp = (void **) &disp->Vertex4iv;
+ snprintf(symboln, sizeof(symboln), "%sVertex4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4s) {
+ void ** procp = (void **) &disp->Vertex4s;
+ snprintf(symboln, sizeof(symboln), "%sVertex4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Vertex4sv) {
+ void ** procp = (void **) &disp->Vertex4sv;
+ snprintf(symboln, sizeof(symboln), "%sVertex4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClipPlane) {
+ void ** procp = (void **) &disp->ClipPlane;
+ snprintf(symboln, sizeof(symboln), "%sClipPlane", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorMaterial) {
+ void ** procp = (void **) &disp->ColorMaterial;
+ snprintf(symboln, sizeof(symboln), "%sColorMaterial", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CullFace) {
+ void ** procp = (void **) &disp->CullFace;
+ snprintf(symboln, sizeof(symboln), "%sCullFace", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogf) {
+ void ** procp = (void **) &disp->Fogf;
+ snprintf(symboln, sizeof(symboln), "%sFogf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogfv) {
+ void ** procp = (void **) &disp->Fogfv;
+ snprintf(symboln, sizeof(symboln), "%sFogfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogi) {
+ void ** procp = (void **) &disp->Fogi;
+ snprintf(symboln, sizeof(symboln), "%sFogi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogiv) {
+ void ** procp = (void **) &disp->Fogiv;
+ snprintf(symboln, sizeof(symboln), "%sFogiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FrontFace) {
+ void ** procp = (void **) &disp->FrontFace;
+ snprintf(symboln, sizeof(symboln), "%sFrontFace", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Hint) {
+ void ** procp = (void **) &disp->Hint;
+ snprintf(symboln, sizeof(symboln), "%sHint", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightf) {
+ void ** procp = (void **) &disp->Lightf;
+ snprintf(symboln, sizeof(symboln), "%sLightf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightfv) {
+ void ** procp = (void **) &disp->Lightfv;
+ snprintf(symboln, sizeof(symboln), "%sLightfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lighti) {
+ void ** procp = (void **) &disp->Lighti;
+ snprintf(symboln, sizeof(symboln), "%sLighti", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightiv) {
+ void ** procp = (void **) &disp->Lightiv;
+ snprintf(symboln, sizeof(symboln), "%sLightiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelf) {
+ void ** procp = (void **) &disp->LightModelf;
+ snprintf(symboln, sizeof(symboln), "%sLightModelf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelfv) {
+ void ** procp = (void **) &disp->LightModelfv;
+ snprintf(symboln, sizeof(symboln), "%sLightModelfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModeli) {
+ void ** procp = (void **) &disp->LightModeli;
+ snprintf(symboln, sizeof(symboln), "%sLightModeli", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModeliv) {
+ void ** procp = (void **) &disp->LightModeliv;
+ snprintf(symboln, sizeof(symboln), "%sLightModeliv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LineStipple) {
+ void ** procp = (void **) &disp->LineStipple;
+ snprintf(symboln, sizeof(symboln), "%sLineStipple", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LineWidth) {
+ void ** procp = (void **) &disp->LineWidth;
+ snprintf(symboln, sizeof(symboln), "%sLineWidth", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialf) {
+ void ** procp = (void **) &disp->Materialf;
+ snprintf(symboln, sizeof(symboln), "%sMaterialf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialfv) {
+ void ** procp = (void **) &disp->Materialfv;
+ snprintf(symboln, sizeof(symboln), "%sMaterialfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materiali) {
+ void ** procp = (void **) &disp->Materiali;
+ snprintf(symboln, sizeof(symboln), "%sMateriali", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialiv) {
+ void ** procp = (void **) &disp->Materialiv;
+ snprintf(symboln, sizeof(symboln), "%sMaterialiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointSize) {
+ void ** procp = (void **) &disp->PointSize;
+ snprintf(symboln, sizeof(symboln), "%sPointSize", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonMode) {
+ void ** procp = (void **) &disp->PolygonMode;
+ snprintf(symboln, sizeof(symboln), "%sPolygonMode", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonStipple) {
+ void ** procp = (void **) &disp->PolygonStipple;
+ snprintf(symboln, sizeof(symboln), "%sPolygonStipple", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Scissor) {
+ void ** procp = (void **) &disp->Scissor;
+ snprintf(symboln, sizeof(symboln), "%sScissor", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ShadeModel) {
+ void ** procp = (void **) &disp->ShadeModel;
+ snprintf(symboln, sizeof(symboln), "%sShadeModel", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterf) {
+ void ** procp = (void **) &disp->TexParameterf;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterfv) {
+ void ** procp = (void **) &disp->TexParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameteri) {
+ void ** procp = (void **) &disp->TexParameteri;
+ snprintf(symboln, sizeof(symboln), "%sTexParameteri", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameteriv) {
+ void ** procp = (void **) &disp->TexParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage1D) {
+ void ** procp = (void **) &disp->TexImage1D;
+ snprintf(symboln, sizeof(symboln), "%sTexImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage2D) {
+ void ** procp = (void **) &disp->TexImage2D;
+ snprintf(symboln, sizeof(symboln), "%sTexImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvf) {
+ void ** procp = (void **) &disp->TexEnvf;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvfv) {
+ void ** procp = (void **) &disp->TexEnvfv;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvi) {
+ void ** procp = (void **) &disp->TexEnvi;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnviv) {
+ void ** procp = (void **) &disp->TexEnviv;
+ snprintf(symboln, sizeof(symboln), "%sTexEnviv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGend) {
+ void ** procp = (void **) &disp->TexGend;
+ snprintf(symboln, sizeof(symboln), "%sTexGend", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGendv) {
+ void ** procp = (void **) &disp->TexGendv;
+ snprintf(symboln, sizeof(symboln), "%sTexGendv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenf) {
+ void ** procp = (void **) &disp->TexGenf;
+ snprintf(symboln, sizeof(symboln), "%sTexGenf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenf) {
+ void ** procp = (void **) &disp->TexGenf;
+ snprintf(symboln, sizeof(symboln), "%sTexGenfOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenfv) {
+ void ** procp = (void **) &disp->TexGenfv;
+ snprintf(symboln, sizeof(symboln), "%sTexGenfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenfv) {
+ void ** procp = (void **) &disp->TexGenfv;
+ snprintf(symboln, sizeof(symboln), "%sTexGenfvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGeni) {
+ void ** procp = (void **) &disp->TexGeni;
+ snprintf(symboln, sizeof(symboln), "%sTexGeni", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGeni) {
+ void ** procp = (void **) &disp->TexGeni;
+ snprintf(symboln, sizeof(symboln), "%sTexGeniOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGeniv) {
+ void ** procp = (void **) &disp->TexGeniv;
+ snprintf(symboln, sizeof(symboln), "%sTexGeniv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGeniv) {
+ void ** procp = (void **) &disp->TexGeniv;
+ snprintf(symboln, sizeof(symboln), "%sTexGenivOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FeedbackBuffer) {
+ void ** procp = (void **) &disp->FeedbackBuffer;
+ snprintf(symboln, sizeof(symboln), "%sFeedbackBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SelectBuffer) {
+ void ** procp = (void **) &disp->SelectBuffer;
+ snprintf(symboln, sizeof(symboln), "%sSelectBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderMode) {
+ void ** procp = (void **) &disp->RenderMode;
+ snprintf(symboln, sizeof(symboln), "%sRenderMode", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InitNames) {
+ void ** procp = (void **) &disp->InitNames;
+ snprintf(symboln, sizeof(symboln), "%sInitNames", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadName) {
+ void ** procp = (void **) &disp->LoadName;
+ snprintf(symboln, sizeof(symboln), "%sLoadName", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PassThrough) {
+ void ** procp = (void **) &disp->PassThrough;
+ snprintf(symboln, sizeof(symboln), "%sPassThrough", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PopName) {
+ void ** procp = (void **) &disp->PopName;
+ snprintf(symboln, sizeof(symboln), "%sPopName", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PushName) {
+ void ** procp = (void **) &disp->PushName;
+ snprintf(symboln, sizeof(symboln), "%sPushName", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawBuffer) {
+ void ** procp = (void **) &disp->DrawBuffer;
+ snprintf(symboln, sizeof(symboln), "%sDrawBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Clear) {
+ void ** procp = (void **) &disp->Clear;
+ snprintf(symboln, sizeof(symboln), "%sClear", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearAccum) {
+ void ** procp = (void **) &disp->ClearAccum;
+ snprintf(symboln, sizeof(symboln), "%sClearAccum", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearIndex) {
+ void ** procp = (void **) &disp->ClearIndex;
+ snprintf(symboln, sizeof(symboln), "%sClearIndex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearColor) {
+ void ** procp = (void **) &disp->ClearColor;
+ snprintf(symboln, sizeof(symboln), "%sClearColor", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearStencil) {
+ void ** procp = (void **) &disp->ClearStencil;
+ snprintf(symboln, sizeof(symboln), "%sClearStencil", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearDepth) {
+ void ** procp = (void **) &disp->ClearDepth;
+ snprintf(symboln, sizeof(symboln), "%sClearDepth", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilMask) {
+ void ** procp = (void **) &disp->StencilMask;
+ snprintf(symboln, sizeof(symboln), "%sStencilMask", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorMask) {
+ void ** procp = (void **) &disp->ColorMask;
+ snprintf(symboln, sizeof(symboln), "%sColorMask", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthMask) {
+ void ** procp = (void **) &disp->DepthMask;
+ snprintf(symboln, sizeof(symboln), "%sDepthMask", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IndexMask) {
+ void ** procp = (void **) &disp->IndexMask;
+ snprintf(symboln, sizeof(symboln), "%sIndexMask", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Accum) {
+ void ** procp = (void **) &disp->Accum;
+ snprintf(symboln, sizeof(symboln), "%sAccum", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Disable) {
+ void ** procp = (void **) &disp->Disable;
+ snprintf(symboln, sizeof(symboln), "%sDisable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Enable) {
+ void ** procp = (void **) &disp->Enable;
+ snprintf(symboln, sizeof(symboln), "%sEnable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Finish) {
+ void ** procp = (void **) &disp->Finish;
+ snprintf(symboln, sizeof(symboln), "%sFinish", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Flush) {
+ void ** procp = (void **) &disp->Flush;
+ snprintf(symboln, sizeof(symboln), "%sFlush", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PopAttrib) {
+ void ** procp = (void **) &disp->PopAttrib;
+ snprintf(symboln, sizeof(symboln), "%sPopAttrib", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PushAttrib) {
+ void ** procp = (void **) &disp->PushAttrib;
+ snprintf(symboln, sizeof(symboln), "%sPushAttrib", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Map1d) {
+ void ** procp = (void **) &disp->Map1d;
+ snprintf(symboln, sizeof(symboln), "%sMap1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Map1f) {
+ void ** procp = (void **) &disp->Map1f;
+ snprintf(symboln, sizeof(symboln), "%sMap1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Map2d) {
+ void ** procp = (void **) &disp->Map2d;
+ snprintf(symboln, sizeof(symboln), "%sMap2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Map2f) {
+ void ** procp = (void **) &disp->Map2f;
+ snprintf(symboln, sizeof(symboln), "%sMap2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapGrid1d) {
+ void ** procp = (void **) &disp->MapGrid1d;
+ snprintf(symboln, sizeof(symboln), "%sMapGrid1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapGrid1f) {
+ void ** procp = (void **) &disp->MapGrid1f;
+ snprintf(symboln, sizeof(symboln), "%sMapGrid1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapGrid2d) {
+ void ** procp = (void **) &disp->MapGrid2d;
+ snprintf(symboln, sizeof(symboln), "%sMapGrid2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapGrid2f) {
+ void ** procp = (void **) &disp->MapGrid2f;
+ snprintf(symboln, sizeof(symboln), "%sMapGrid2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord1d) {
+ void ** procp = (void **) &disp->EvalCoord1d;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord1dv) {
+ void ** procp = (void **) &disp->EvalCoord1dv;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord1dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord1f) {
+ void ** procp = (void **) &disp->EvalCoord1f;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord1fv) {
+ void ** procp = (void **) &disp->EvalCoord1fv;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord1fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord2d) {
+ void ** procp = (void **) &disp->EvalCoord2d;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord2dv) {
+ void ** procp = (void **) &disp->EvalCoord2dv;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord2f) {
+ void ** procp = (void **) &disp->EvalCoord2f;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalCoord2fv) {
+ void ** procp = (void **) &disp->EvalCoord2fv;
+ snprintf(symboln, sizeof(symboln), "%sEvalCoord2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalMesh1) {
+ void ** procp = (void **) &disp->EvalMesh1;
+ snprintf(symboln, sizeof(symboln), "%sEvalMesh1", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalPoint1) {
+ void ** procp = (void **) &disp->EvalPoint1;
+ snprintf(symboln, sizeof(symboln), "%sEvalPoint1", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalMesh2) {
+ void ** procp = (void **) &disp->EvalMesh2;
+ snprintf(symboln, sizeof(symboln), "%sEvalMesh2", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EvalPoint2) {
+ void ** procp = (void **) &disp->EvalPoint2;
+ snprintf(symboln, sizeof(symboln), "%sEvalPoint2", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFunc) {
+ void ** procp = (void **) &disp->AlphaFunc;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFunc", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFunc) {
+ void ** procp = (void **) &disp->BlendFunc;
+ snprintf(symboln, sizeof(symboln), "%sBlendFunc", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LogicOp) {
+ void ** procp = (void **) &disp->LogicOp;
+ snprintf(symboln, sizeof(symboln), "%sLogicOp", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilFunc) {
+ void ** procp = (void **) &disp->StencilFunc;
+ snprintf(symboln, sizeof(symboln), "%sStencilFunc", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilOp) {
+ void ** procp = (void **) &disp->StencilOp;
+ snprintf(symboln, sizeof(symboln), "%sStencilOp", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthFunc) {
+ void ** procp = (void **) &disp->DepthFunc;
+ snprintf(symboln, sizeof(symboln), "%sDepthFunc", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelZoom) {
+ void ** procp = (void **) &disp->PixelZoom;
+ snprintf(symboln, sizeof(symboln), "%sPixelZoom", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelTransferf) {
+ void ** procp = (void **) &disp->PixelTransferf;
+ snprintf(symboln, sizeof(symboln), "%sPixelTransferf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelTransferi) {
+ void ** procp = (void **) &disp->PixelTransferi;
+ snprintf(symboln, sizeof(symboln), "%sPixelTransferi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelStoref) {
+ void ** procp = (void **) &disp->PixelStoref;
+ snprintf(symboln, sizeof(symboln), "%sPixelStoref", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelStorei) {
+ void ** procp = (void **) &disp->PixelStorei;
+ snprintf(symboln, sizeof(symboln), "%sPixelStorei", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelMapfv) {
+ void ** procp = (void **) &disp->PixelMapfv;
+ snprintf(symboln, sizeof(symboln), "%sPixelMapfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelMapuiv) {
+ void ** procp = (void **) &disp->PixelMapuiv;
+ snprintf(symboln, sizeof(symboln), "%sPixelMapuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PixelMapusv) {
+ void ** procp = (void **) &disp->PixelMapusv;
+ snprintf(symboln, sizeof(symboln), "%sPixelMapusv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ReadBuffer) {
+ void ** procp = (void **) &disp->ReadBuffer;
+ snprintf(symboln, sizeof(symboln), "%sReadBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ReadBuffer) {
+ void ** procp = (void **) &disp->ReadBuffer;
+ snprintf(symboln, sizeof(symboln), "%sReadBufferNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyPixels) {
+ void ** procp = (void **) &disp->CopyPixels;
+ snprintf(symboln, sizeof(symboln), "%sCopyPixels", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ReadPixels) {
+ void ** procp = (void **) &disp->ReadPixels;
+ snprintf(symboln, sizeof(symboln), "%sReadPixels", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawPixels) {
+ void ** procp = (void **) &disp->DrawPixels;
+ snprintf(symboln, sizeof(symboln), "%sDrawPixels", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBooleanv) {
+ void ** procp = (void **) &disp->GetBooleanv;
+ snprintf(symboln, sizeof(symboln), "%sGetBooleanv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetClipPlane) {
+ void ** procp = (void **) &disp->GetClipPlane;
+ snprintf(symboln, sizeof(symboln), "%sGetClipPlane", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetDoublev) {
+ void ** procp = (void **) &disp->GetDoublev;
+ snprintf(symboln, sizeof(symboln), "%sGetDoublev", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetError) {
+ void ** procp = (void **) &disp->GetError;
+ snprintf(symboln, sizeof(symboln), "%sGetError", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFloatv) {
+ void ** procp = (void **) &disp->GetFloatv;
+ snprintf(symboln, sizeof(symboln), "%sGetFloatv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetIntegerv) {
+ void ** procp = (void **) &disp->GetIntegerv;
+ snprintf(symboln, sizeof(symboln), "%sGetIntegerv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetLightfv) {
+ void ** procp = (void **) &disp->GetLightfv;
+ snprintf(symboln, sizeof(symboln), "%sGetLightfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetLightiv) {
+ void ** procp = (void **) &disp->GetLightiv;
+ snprintf(symboln, sizeof(symboln), "%sGetLightiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMapdv) {
+ void ** procp = (void **) &disp->GetMapdv;
+ snprintf(symboln, sizeof(symboln), "%sGetMapdv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMapfv) {
+ void ** procp = (void **) &disp->GetMapfv;
+ snprintf(symboln, sizeof(symboln), "%sGetMapfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMapiv) {
+ void ** procp = (void **) &disp->GetMapiv;
+ snprintf(symboln, sizeof(symboln), "%sGetMapiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMaterialfv) {
+ void ** procp = (void **) &disp->GetMaterialfv;
+ snprintf(symboln, sizeof(symboln), "%sGetMaterialfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMaterialiv) {
+ void ** procp = (void **) &disp->GetMaterialiv;
+ snprintf(symboln, sizeof(symboln), "%sGetMaterialiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPixelMapfv) {
+ void ** procp = (void **) &disp->GetPixelMapfv;
+ snprintf(symboln, sizeof(symboln), "%sGetPixelMapfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPixelMapuiv) {
+ void ** procp = (void **) &disp->GetPixelMapuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetPixelMapuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPixelMapusv) {
+ void ** procp = (void **) &disp->GetPixelMapusv;
+ snprintf(symboln, sizeof(symboln), "%sGetPixelMapusv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPolygonStipple) {
+ void ** procp = (void **) &disp->GetPolygonStipple;
+ snprintf(symboln, sizeof(symboln), "%sGetPolygonStipple", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetString) {
+ void ** procp = (void **) &disp->GetString;
+ snprintf(symboln, sizeof(symboln), "%sGetString", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexEnvfv) {
+ void ** procp = (void **) &disp->GetTexEnvfv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexEnvfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexEnviv) {
+ void ** procp = (void **) &disp->GetTexEnviv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexEnviv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGendv) {
+ void ** procp = (void **) &disp->GetTexGendv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGendv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGenfv) {
+ void ** procp = (void **) &disp->GetTexGenfv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGenfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGenfv) {
+ void ** procp = (void **) &disp->GetTexGenfv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGenfvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGeniv) {
+ void ** procp = (void **) &disp->GetTexGeniv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGeniv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGeniv) {
+ void ** procp = (void **) &disp->GetTexGeniv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGenivOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexImage) {
+ void ** procp = (void **) &disp->GetTexImage;
+ snprintf(symboln, sizeof(symboln), "%sGetTexImage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterfv) {
+ void ** procp = (void **) &disp->GetTexParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameteriv) {
+ void ** procp = (void **) &disp->GetTexParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexLevelParameterfv) {
+ void ** procp = (void **) &disp->GetTexLevelParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexLevelParameteriv) {
+ void ** procp = (void **) &disp->GetTexLevelParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsEnabled) {
+ void ** procp = (void **) &disp->IsEnabled;
+ snprintf(symboln, sizeof(symboln), "%sIsEnabled", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsList) {
+ void ** procp = (void **) &disp->IsList;
+ snprintf(symboln, sizeof(symboln), "%sIsList", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthRange) {
+ void ** procp = (void **) &disp->DepthRange;
+ snprintf(symboln, sizeof(symboln), "%sDepthRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Frustum) {
+ void ** procp = (void **) &disp->Frustum;
+ snprintf(symboln, sizeof(symboln), "%sFrustum", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadIdentity) {
+ void ** procp = (void **) &disp->LoadIdentity;
+ snprintf(symboln, sizeof(symboln), "%sLoadIdentity", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadMatrixf) {
+ void ** procp = (void **) &disp->LoadMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sLoadMatrixf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadMatrixd) {
+ void ** procp = (void **) &disp->LoadMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sLoadMatrixd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MatrixMode) {
+ void ** procp = (void **) &disp->MatrixMode;
+ snprintf(symboln, sizeof(symboln), "%sMatrixMode", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultMatrixf) {
+ void ** procp = (void **) &disp->MultMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sMultMatrixf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultMatrixd) {
+ void ** procp = (void **) &disp->MultMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sMultMatrixd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Ortho) {
+ void ** procp = (void **) &disp->Ortho;
+ snprintf(symboln, sizeof(symboln), "%sOrtho", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PopMatrix) {
+ void ** procp = (void **) &disp->PopMatrix;
+ snprintf(symboln, sizeof(symboln), "%sPopMatrix", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PushMatrix) {
+ void ** procp = (void **) &disp->PushMatrix;
+ snprintf(symboln, sizeof(symboln), "%sPushMatrix", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rotated) {
+ void ** procp = (void **) &disp->Rotated;
+ snprintf(symboln, sizeof(symboln), "%sRotated", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rotatef) {
+ void ** procp = (void **) &disp->Rotatef;
+ snprintf(symboln, sizeof(symboln), "%sRotatef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Scaled) {
+ void ** procp = (void **) &disp->Scaled;
+ snprintf(symboln, sizeof(symboln), "%sScaled", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Scalef) {
+ void ** procp = (void **) &disp->Scalef;
+ snprintf(symboln, sizeof(symboln), "%sScalef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Translated) {
+ void ** procp = (void **) &disp->Translated;
+ snprintf(symboln, sizeof(symboln), "%sTranslated", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Translatef) {
+ void ** procp = (void **) &disp->Translatef;
+ snprintf(symboln, sizeof(symboln), "%sTranslatef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Viewport) {
+ void ** procp = (void **) &disp->Viewport;
+ snprintf(symboln, sizeof(symboln), "%sViewport", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ArrayElement) {
+ void ** procp = (void **) &disp->ArrayElement;
+ snprintf(symboln, sizeof(symboln), "%sArrayElement", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ArrayElement) {
+ void ** procp = (void **) &disp->ArrayElement;
+ snprintf(symboln, sizeof(symboln), "%sArrayElementEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindTexture) {
+ void ** procp = (void **) &disp->BindTexture;
+ snprintf(symboln, sizeof(symboln), "%sBindTexture", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindTexture) {
+ void ** procp = (void **) &disp->BindTexture;
+ snprintf(symboln, sizeof(symboln), "%sBindTextureEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorPointer) {
+ void ** procp = (void **) &disp->ColorPointer;
+ snprintf(symboln, sizeof(symboln), "%sColorPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DisableClientState) {
+ void ** procp = (void **) &disp->DisableClientState;
+ snprintf(symboln, sizeof(symboln), "%sDisableClientState", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArrays) {
+ void ** procp = (void **) &disp->DrawArrays;
+ snprintf(symboln, sizeof(symboln), "%sDrawArrays", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArrays) {
+ void ** procp = (void **) &disp->DrawArrays;
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElements) {
+ void ** procp = (void **) &disp->DrawElements;
+ snprintf(symboln, sizeof(symboln), "%sDrawElements", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EdgeFlagPointer) {
+ void ** procp = (void **) &disp->EdgeFlagPointer;
+ snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EnableClientState) {
+ void ** procp = (void **) &disp->EnableClientState;
+ snprintf(symboln, sizeof(symboln), "%sEnableClientState", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IndexPointer) {
+ void ** procp = (void **) &disp->IndexPointer;
+ snprintf(symboln, sizeof(symboln), "%sIndexPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexub) {
+ void ** procp = (void **) &disp->Indexub;
+ snprintf(symboln, sizeof(symboln), "%sIndexub", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Indexubv) {
+ void ** procp = (void **) &disp->Indexubv;
+ snprintf(symboln, sizeof(symboln), "%sIndexubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InterleavedArrays) {
+ void ** procp = (void **) &disp->InterleavedArrays;
+ snprintf(symboln, sizeof(symboln), "%sInterleavedArrays", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->NormalPointer) {
+ void ** procp = (void **) &disp->NormalPointer;
+ snprintf(symboln, sizeof(symboln), "%sNormalPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonOffset) {
+ void ** procp = (void **) &disp->PolygonOffset;
+ snprintf(symboln, sizeof(symboln), "%sPolygonOffset", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordPointer) {
+ void ** procp = (void **) &disp->TexCoordPointer;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexPointer) {
+ void ** procp = (void **) &disp->VertexPointer;
+ snprintf(symboln, sizeof(symboln), "%sVertexPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AreTexturesResident) {
+ void ** procp = (void **) &disp->AreTexturesResident;
+ snprintf(symboln, sizeof(symboln), "%sAreTexturesResident", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AreTexturesResident) {
+ void ** procp = (void **) &disp->AreTexturesResident;
+ snprintf(symboln, sizeof(symboln), "%sAreTexturesResidentEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexImage1D) {
+ void ** procp = (void **) &disp->CopyTexImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexImage1D) {
+ void ** procp = (void **) &disp->CopyTexImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexImage2D) {
+ void ** procp = (void **) &disp->CopyTexImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexImage2D) {
+ void ** procp = (void **) &disp->CopyTexImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage1D) {
+ void ** procp = (void **) &disp->CopyTexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage1D) {
+ void ** procp = (void **) &disp->CopyTexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage2D) {
+ void ** procp = (void **) &disp->CopyTexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage2D) {
+ void ** procp = (void **) &disp->CopyTexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteTextures) {
+ void ** procp = (void **) &disp->DeleteTextures;
+ snprintf(symboln, sizeof(symboln), "%sDeleteTextures", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteTextures) {
+ void ** procp = (void **) &disp->DeleteTextures;
+ snprintf(symboln, sizeof(symboln), "%sDeleteTexturesEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenTextures) {
+ void ** procp = (void **) &disp->GenTextures;
+ snprintf(symboln, sizeof(symboln), "%sGenTextures", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenTextures) {
+ void ** procp = (void **) &disp->GenTextures;
+ snprintf(symboln, sizeof(symboln), "%sGenTexturesEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPointerv) {
+ void ** procp = (void **) &disp->GetPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetPointerv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetPointerv) {
+ void ** procp = (void **) &disp->GetPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetPointervEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsTexture) {
+ void ** procp = (void **) &disp->IsTexture;
+ snprintf(symboln, sizeof(symboln), "%sIsTexture", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsTexture) {
+ void ** procp = (void **) &disp->IsTexture;
+ snprintf(symboln, sizeof(symboln), "%sIsTextureEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PrioritizeTextures) {
+ void ** procp = (void **) &disp->PrioritizeTextures;
+ snprintf(symboln, sizeof(symboln), "%sPrioritizeTextures", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PrioritizeTextures) {
+ void ** procp = (void **) &disp->PrioritizeTextures;
+ snprintf(symboln, sizeof(symboln), "%sPrioritizeTexturesEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage1D) {
+ void ** procp = (void **) &disp->TexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage1D) {
+ void ** procp = (void **) &disp->TexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage2D) {
+ void ** procp = (void **) &disp->TexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage2D) {
+ void ** procp = (void **) &disp->TexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PopClientAttrib) {
+ void ** procp = (void **) &disp->PopClientAttrib;
+ snprintf(symboln, sizeof(symboln), "%sPopClientAttrib", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PushClientAttrib) {
+ void ** procp = (void **) &disp->PushClientAttrib;
+ snprintf(symboln, sizeof(symboln), "%sPushClientAttrib", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendColor) {
+ void ** procp = (void **) &disp->BlendColor;
+ snprintf(symboln, sizeof(symboln), "%sBlendColor", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendColor) {
+ void ** procp = (void **) &disp->BlendColor;
+ snprintf(symboln, sizeof(symboln), "%sBlendColorEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquation) {
+ void ** procp = (void **) &disp->BlendEquation;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquation) {
+ void ** procp = (void **) &disp->BlendEquation;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquation) {
+ void ** procp = (void **) &disp->BlendEquation;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawRangeElements) {
+ void ** procp = (void **) &disp->DrawRangeElements;
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElements", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawRangeElements) {
+ void ** procp = (void **) &disp->DrawRangeElements;
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTable) {
+ void ** procp = (void **) &disp->ColorTable;
+ snprintf(symboln, sizeof(symboln), "%sColorTable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTable) {
+ void ** procp = (void **) &disp->ColorTable;
+ snprintf(symboln, sizeof(symboln), "%sColorTableSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTable) {
+ void ** procp = (void **) &disp->ColorTable;
+ snprintf(symboln, sizeof(symboln), "%sColorTableEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTableParameterfv) {
+ void ** procp = (void **) &disp->ColorTableParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTableParameterfv) {
+ void ** procp = (void **) &disp->ColorTableParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterfvSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTableParameteriv) {
+ void ** procp = (void **) &disp->ColorTableParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorTableParameteriv) {
+ void ** procp = (void **) &disp->ColorTableParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterivSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyColorTable) {
+ void ** procp = (void **) &disp->CopyColorTable;
+ snprintf(symboln, sizeof(symboln), "%sCopyColorTable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyColorTable) {
+ void ** procp = (void **) &disp->CopyColorTable;
+ snprintf(symboln, sizeof(symboln), "%sCopyColorTableSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTable) {
+ void ** procp = (void **) &disp->GetColorTable;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTable) {
+ void ** procp = (void **) &disp->GetColorTable;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTable) {
+ void ** procp = (void **) &disp->GetColorTable;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameterfv) {
+ void ** procp = (void **) &disp->GetColorTableParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameterfv) {
+ void ** procp = (void **) &disp->GetColorTableParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameterfv) {
+ void ** procp = (void **) &disp->GetColorTableParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameteriv) {
+ void ** procp = (void **) &disp->GetColorTableParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameteriv) {
+ void ** procp = (void **) &disp->GetColorTableParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivSGI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetColorTableParameteriv) {
+ void ** procp = (void **) &disp->GetColorTableParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorSubTable) {
+ void ** procp = (void **) &disp->ColorSubTable;
+ snprintf(symboln, sizeof(symboln), "%sColorSubTable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorSubTable) {
+ void ** procp = (void **) &disp->ColorSubTable;
+ snprintf(symboln, sizeof(symboln), "%sColorSubTableEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyColorSubTable) {
+ void ** procp = (void **) &disp->CopyColorSubTable;
+ snprintf(symboln, sizeof(symboln), "%sCopyColorSubTable", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyColorSubTable) {
+ void ** procp = (void **) &disp->CopyColorSubTable;
+ snprintf(symboln, sizeof(symboln), "%sCopyColorSubTableEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionFilter1D) {
+ void ** procp = (void **) &disp->ConvolutionFilter1D;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionFilter1D) {
+ void ** procp = (void **) &disp->ConvolutionFilter1D;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionFilter2D) {
+ void ** procp = (void **) &disp->ConvolutionFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionFilter2D) {
+ void ** procp = (void **) &disp->ConvolutionFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameterf) {
+ void ** procp = (void **) &disp->ConvolutionParameterf;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameterf) {
+ void ** procp = (void **) &disp->ConvolutionParameterf;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameterfv) {
+ void ** procp = (void **) &disp->ConvolutionParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameterfv) {
+ void ** procp = (void **) &disp->ConvolutionParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameteri) {
+ void ** procp = (void **) &disp->ConvolutionParameteri;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteri", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameteri) {
+ void ** procp = (void **) &disp->ConvolutionParameteri;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameteriv) {
+ void ** procp = (void **) &disp->ConvolutionParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ConvolutionParameteriv) {
+ void ** procp = (void **) &disp->ConvolutionParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyConvolutionFilter1D) {
+ void ** procp = (void **) &disp->CopyConvolutionFilter1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyConvolutionFilter1D) {
+ void ** procp = (void **) &disp->CopyConvolutionFilter1D;
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyConvolutionFilter2D) {
+ void ** procp = (void **) &disp->CopyConvolutionFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyConvolutionFilter2D) {
+ void ** procp = (void **) &disp->CopyConvolutionFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionFilter) {
+ void ** procp = (void **) &disp->GetConvolutionFilter;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilter", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionFilter) {
+ void ** procp = (void **) &disp->GetConvolutionFilter;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilterEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionParameterfv) {
+ void ** procp = (void **) &disp->GetConvolutionParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionParameterfv) {
+ void ** procp = (void **) &disp->GetConvolutionParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionParameteriv) {
+ void ** procp = (void **) &disp->GetConvolutionParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetConvolutionParameteriv) {
+ void ** procp = (void **) &disp->GetConvolutionParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSeparableFilter) {
+ void ** procp = (void **) &disp->GetSeparableFilter;
+ snprintf(symboln, sizeof(symboln), "%sGetSeparableFilter", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSeparableFilter) {
+ void ** procp = (void **) &disp->GetSeparableFilter;
+ snprintf(symboln, sizeof(symboln), "%sGetSeparableFilterEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SeparableFilter2D) {
+ void ** procp = (void **) &disp->SeparableFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sSeparableFilter2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SeparableFilter2D) {
+ void ** procp = (void **) &disp->SeparableFilter2D;
+ snprintf(symboln, sizeof(symboln), "%sSeparableFilter2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogram) {
+ void ** procp = (void **) &disp->GetHistogram;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogram) {
+ void ** procp = (void **) &disp->GetHistogram;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogramParameterfv) {
+ void ** procp = (void **) &disp->GetHistogramParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogramParameterfv) {
+ void ** procp = (void **) &disp->GetHistogramParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogramParameteriv) {
+ void ** procp = (void **) &disp->GetHistogramParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHistogramParameteriv) {
+ void ** procp = (void **) &disp->GetHistogramParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmax) {
+ void ** procp = (void **) &disp->GetMinmax;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmax", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmax) {
+ void ** procp = (void **) &disp->GetMinmax;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmaxParameterfv) {
+ void ** procp = (void **) &disp->GetMinmaxParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmaxParameterfv) {
+ void ** procp = (void **) &disp->GetMinmaxParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmaxParameteriv) {
+ void ** procp = (void **) &disp->GetMinmaxParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMinmaxParameteriv) {
+ void ** procp = (void **) &disp->GetMinmaxParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Histogram) {
+ void ** procp = (void **) &disp->Histogram;
+ snprintf(symboln, sizeof(symboln), "%sHistogram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Histogram) {
+ void ** procp = (void **) &disp->Histogram;
+ snprintf(symboln, sizeof(symboln), "%sHistogramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Minmax) {
+ void ** procp = (void **) &disp->Minmax;
+ snprintf(symboln, sizeof(symboln), "%sMinmax", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Minmax) {
+ void ** procp = (void **) &disp->Minmax;
+ snprintf(symboln, sizeof(symboln), "%sMinmaxEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResetHistogram) {
+ void ** procp = (void **) &disp->ResetHistogram;
+ snprintf(symboln, sizeof(symboln), "%sResetHistogram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResetHistogram) {
+ void ** procp = (void **) &disp->ResetHistogram;
+ snprintf(symboln, sizeof(symboln), "%sResetHistogramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResetMinmax) {
+ void ** procp = (void **) &disp->ResetMinmax;
+ snprintf(symboln, sizeof(symboln), "%sResetMinmax", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResetMinmax) {
+ void ** procp = (void **) &disp->ResetMinmax;
+ snprintf(symboln, sizeof(symboln), "%sResetMinmaxEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage3D) {
+ void ** procp = (void **) &disp->TexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexImage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage3D) {
+ void ** procp = (void **) &disp->TexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexImage3DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage3D) {
+ void ** procp = (void **) &disp->TexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexImage3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage3D) {
+ void ** procp = (void **) &disp->TexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage3D) {
+ void ** procp = (void **) &disp->TexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage3DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexSubImage3D) {
+ void ** procp = (void **) &disp->TexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexSubImage3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage3D) {
+ void ** procp = (void **) &disp->CopyTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage3D) {
+ void ** procp = (void **) &disp->CopyTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyTexSubImage3D) {
+ void ** procp = (void **) &disp->CopyTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ActiveTexture) {
+ void ** procp = (void **) &disp->ActiveTexture;
+ snprintf(symboln, sizeof(symboln), "%sActiveTexture", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ActiveTexture) {
+ void ** procp = (void **) &disp->ActiveTexture;
+ snprintf(symboln, sizeof(symboln), "%sActiveTextureARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClientActiveTexture) {
+ void ** procp = (void **) &disp->ClientActiveTexture;
+ snprintf(symboln, sizeof(symboln), "%sClientActiveTexture", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClientActiveTexture) {
+ void ** procp = (void **) &disp->ClientActiveTexture;
+ snprintf(symboln, sizeof(symboln), "%sClientActiveTextureARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1d) {
+ void ** procp = (void **) &disp->MultiTexCoord1d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1d) {
+ void ** procp = (void **) &disp->MultiTexCoord1d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1dv) {
+ void ** procp = (void **) &disp->MultiTexCoord1dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1dv) {
+ void ** procp = (void **) &disp->MultiTexCoord1dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord1fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord1fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord1fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord1fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1i) {
+ void ** procp = (void **) &disp->MultiTexCoord1i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1i) {
+ void ** procp = (void **) &disp->MultiTexCoord1i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1iv) {
+ void ** procp = (void **) &disp->MultiTexCoord1iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1iv) {
+ void ** procp = (void **) &disp->MultiTexCoord1iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1s) {
+ void ** procp = (void **) &disp->MultiTexCoord1s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1s) {
+ void ** procp = (void **) &disp->MultiTexCoord1s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1sv) {
+ void ** procp = (void **) &disp->MultiTexCoord1sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord1sv) {
+ void ** procp = (void **) &disp->MultiTexCoord1sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2d) {
+ void ** procp = (void **) &disp->MultiTexCoord2d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2d) {
+ void ** procp = (void **) &disp->MultiTexCoord2d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2dv) {
+ void ** procp = (void **) &disp->MultiTexCoord2dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2dv) {
+ void ** procp = (void **) &disp->MultiTexCoord2dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord2fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord2fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord2fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord2fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2i) {
+ void ** procp = (void **) &disp->MultiTexCoord2i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2i) {
+ void ** procp = (void **) &disp->MultiTexCoord2i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2iv) {
+ void ** procp = (void **) &disp->MultiTexCoord2iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2iv) {
+ void ** procp = (void **) &disp->MultiTexCoord2iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2s) {
+ void ** procp = (void **) &disp->MultiTexCoord2s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2s) {
+ void ** procp = (void **) &disp->MultiTexCoord2s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2sv) {
+ void ** procp = (void **) &disp->MultiTexCoord2sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord2sv) {
+ void ** procp = (void **) &disp->MultiTexCoord2sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3d) {
+ void ** procp = (void **) &disp->MultiTexCoord3d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3d) {
+ void ** procp = (void **) &disp->MultiTexCoord3d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3dv) {
+ void ** procp = (void **) &disp->MultiTexCoord3dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3dv) {
+ void ** procp = (void **) &disp->MultiTexCoord3dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord3fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord3fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord3fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord3fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3i) {
+ void ** procp = (void **) &disp->MultiTexCoord3i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3i) {
+ void ** procp = (void **) &disp->MultiTexCoord3i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3iv) {
+ void ** procp = (void **) &disp->MultiTexCoord3iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3iv) {
+ void ** procp = (void **) &disp->MultiTexCoord3iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3s) {
+ void ** procp = (void **) &disp->MultiTexCoord3s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3s) {
+ void ** procp = (void **) &disp->MultiTexCoord3s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3sv) {
+ void ** procp = (void **) &disp->MultiTexCoord3sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord3sv) {
+ void ** procp = (void **) &disp->MultiTexCoord3sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4d) {
+ void ** procp = (void **) &disp->MultiTexCoord4d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4d) {
+ void ** procp = (void **) &disp->MultiTexCoord4d;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4dv) {
+ void ** procp = (void **) &disp->MultiTexCoord4dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4dv) {
+ void ** procp = (void **) &disp->MultiTexCoord4dv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord4fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4fARB) {
+ void ** procp = (void **) &disp->MultiTexCoord4fARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4fvARB) {
+ void ** procp = (void **) &disp->MultiTexCoord4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4i) {
+ void ** procp = (void **) &disp->MultiTexCoord4i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4i) {
+ void ** procp = (void **) &disp->MultiTexCoord4i;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4iv) {
+ void ** procp = (void **) &disp->MultiTexCoord4iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4iv) {
+ void ** procp = (void **) &disp->MultiTexCoord4iv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4s) {
+ void ** procp = (void **) &disp->MultiTexCoord4s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4s) {
+ void ** procp = (void **) &disp->MultiTexCoord4s;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4sv) {
+ void ** procp = (void **) &disp->MultiTexCoord4sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4sv) {
+ void ** procp = (void **) &disp->MultiTexCoord4sv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage1D) {
+ void ** procp = (void **) &disp->CompressedTexImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage1D) {
+ void ** procp = (void **) &disp->CompressedTexImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage2D) {
+ void ** procp = (void **) &disp->CompressedTexImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage2D) {
+ void ** procp = (void **) &disp->CompressedTexImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage3D) {
+ void ** procp = (void **) &disp->CompressedTexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage3D) {
+ void ** procp = (void **) &disp->CompressedTexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexImage3D) {
+ void ** procp = (void **) &disp->CompressedTexImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage1D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage1D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage1D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage2D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage2D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage2D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage3D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage3D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3DARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompressedTexSubImage3D) {
+ void ** procp = (void **) &disp->CompressedTexSubImage3D;
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetCompressedTexImage) {
+ void ** procp = (void **) &disp->GetCompressedTexImage;
+ snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetCompressedTexImage) {
+ void ** procp = (void **) &disp->GetCompressedTexImage;
+ snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImageARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadTransposeMatrixd) {
+ void ** procp = (void **) &disp->LoadTransposeMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadTransposeMatrixd) {
+ void ** procp = (void **) &disp->LoadTransposeMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixdARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadTransposeMatrixf) {
+ void ** procp = (void **) &disp->LoadTransposeMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadTransposeMatrixf) {
+ void ** procp = (void **) &disp->LoadTransposeMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixfARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultTransposeMatrixd) {
+ void ** procp = (void **) &disp->MultTransposeMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultTransposeMatrixd) {
+ void ** procp = (void **) &disp->MultTransposeMatrixd;
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixdARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultTransposeMatrixf) {
+ void ** procp = (void **) &disp->MultTransposeMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultTransposeMatrixf) {
+ void ** procp = (void **) &disp->MultTransposeMatrixf;
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixfARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleCoverage) {
+ void ** procp = (void **) &disp->SampleCoverage;
+ snprintf(symboln, sizeof(symboln), "%sSampleCoverage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleCoverage) {
+ void ** procp = (void **) &disp->SampleCoverage;
+ snprintf(symboln, sizeof(symboln), "%sSampleCoverageARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparate) {
+ void ** procp = (void **) &disp->BlendFuncSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparate", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparate) {
+ void ** procp = (void **) &disp->BlendFuncSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparate) {
+ void ** procp = (void **) &disp->BlendFuncSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateINGR", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparate) {
+ void ** procp = (void **) &disp->BlendFuncSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordPointer) {
+ void ** procp = (void **) &disp->FogCoordPointer;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordPointer) {
+ void ** procp = (void **) &disp->FogCoordPointer;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordd) {
+ void ** procp = (void **) &disp->FogCoordd;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordd", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordd) {
+ void ** procp = (void **) &disp->FogCoordd;
+ snprintf(symboln, sizeof(symboln), "%sFogCoorddEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoorddv) {
+ void ** procp = (void **) &disp->FogCoorddv;
+ snprintf(symboln, sizeof(symboln), "%sFogCoorddv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoorddv) {
+ void ** procp = (void **) &disp->FogCoorddv;
+ snprintf(symboln, sizeof(symboln), "%sFogCoorddvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiDrawArrays) {
+ void ** procp = (void **) &disp->MultiDrawArrays;
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawArrays", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiDrawArrays) {
+ void ** procp = (void **) &disp->MultiDrawArrays;
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawArraysEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterf) {
+ void ** procp = (void **) &disp->PointParameterf;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterf) {
+ void ** procp = (void **) &disp->PointParameterf;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterf) {
+ void ** procp = (void **) &disp->PointParameterf;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterf) {
+ void ** procp = (void **) &disp->PointParameterf;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfSGIS", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterfv) {
+ void ** procp = (void **) &disp->PointParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterfv) {
+ void ** procp = (void **) &disp->PointParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterfv) {
+ void ** procp = (void **) &disp->PointParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterfv) {
+ void ** procp = (void **) &disp->PointParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvSGIS", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameteri) {
+ void ** procp = (void **) &disp->PointParameteri;
+ snprintf(symboln, sizeof(symboln), "%sPointParameteri", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameteri) {
+ void ** procp = (void **) &disp->PointParameteri;
+ snprintf(symboln, sizeof(symboln), "%sPointParameteriNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameteriv) {
+ void ** procp = (void **) &disp->PointParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameteriv) {
+ void ** procp = (void **) &disp->PointParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterivNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3b) {
+ void ** procp = (void **) &disp->SecondaryColor3b;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3b", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3b) {
+ void ** procp = (void **) &disp->SecondaryColor3b;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3bv) {
+ void ** procp = (void **) &disp->SecondaryColor3bv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3bv) {
+ void ** procp = (void **) &disp->SecondaryColor3bv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3d) {
+ void ** procp = (void **) &disp->SecondaryColor3d;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3d) {
+ void ** procp = (void **) &disp->SecondaryColor3d;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3dv) {
+ void ** procp = (void **) &disp->SecondaryColor3dv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3dv) {
+ void ** procp = (void **) &disp->SecondaryColor3dv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3i) {
+ void ** procp = (void **) &disp->SecondaryColor3i;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3i) {
+ void ** procp = (void **) &disp->SecondaryColor3i;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3iv) {
+ void ** procp = (void **) &disp->SecondaryColor3iv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3iv) {
+ void ** procp = (void **) &disp->SecondaryColor3iv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3s) {
+ void ** procp = (void **) &disp->SecondaryColor3s;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3s) {
+ void ** procp = (void **) &disp->SecondaryColor3s;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3sv) {
+ void ** procp = (void **) &disp->SecondaryColor3sv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3sv) {
+ void ** procp = (void **) &disp->SecondaryColor3sv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3svEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ub) {
+ void ** procp = (void **) &disp->SecondaryColor3ub;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ub", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ub) {
+ void ** procp = (void **) &disp->SecondaryColor3ub;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ubv) {
+ void ** procp = (void **) &disp->SecondaryColor3ubv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ubv) {
+ void ** procp = (void **) &disp->SecondaryColor3ubv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ui) {
+ void ** procp = (void **) &disp->SecondaryColor3ui;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3ui) {
+ void ** procp = (void **) &disp->SecondaryColor3ui;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3uiv) {
+ void ** procp = (void **) &disp->SecondaryColor3uiv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3uiv) {
+ void ** procp = (void **) &disp->SecondaryColor3uiv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3us) {
+ void ** procp = (void **) &disp->SecondaryColor3us;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3us", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3us) {
+ void ** procp = (void **) &disp->SecondaryColor3us;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3usv) {
+ void ** procp = (void **) &disp->SecondaryColor3usv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3usv) {
+ void ** procp = (void **) &disp->SecondaryColor3usv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColorPointer) {
+ void ** procp = (void **) &disp->SecondaryColorPointer;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColorPointer) {
+ void ** procp = (void **) &disp->SecondaryColorPointer;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2d) {
+ void ** procp = (void **) &disp->WindowPos2d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2d) {
+ void ** procp = (void **) &disp->WindowPos2d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2d) {
+ void ** procp = (void **) &disp->WindowPos2d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2dMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2dv) {
+ void ** procp = (void **) &disp->WindowPos2dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2dv) {
+ void ** procp = (void **) &disp->WindowPos2dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2dv) {
+ void ** procp = (void **) &disp->WindowPos2dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2dvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2f) {
+ void ** procp = (void **) &disp->WindowPos2f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2f) {
+ void ** procp = (void **) &disp->WindowPos2f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2f) {
+ void ** procp = (void **) &disp->WindowPos2f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2fMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2fv) {
+ void ** procp = (void **) &disp->WindowPos2fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2fv) {
+ void ** procp = (void **) &disp->WindowPos2fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2fv) {
+ void ** procp = (void **) &disp->WindowPos2fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2fvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2i) {
+ void ** procp = (void **) &disp->WindowPos2i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2i) {
+ void ** procp = (void **) &disp->WindowPos2i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2i) {
+ void ** procp = (void **) &disp->WindowPos2i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2iMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2iv) {
+ void ** procp = (void **) &disp->WindowPos2iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2iv) {
+ void ** procp = (void **) &disp->WindowPos2iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2iv) {
+ void ** procp = (void **) &disp->WindowPos2iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2ivMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2s) {
+ void ** procp = (void **) &disp->WindowPos2s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2s) {
+ void ** procp = (void **) &disp->WindowPos2s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2s) {
+ void ** procp = (void **) &disp->WindowPos2s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2sMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2sv) {
+ void ** procp = (void **) &disp->WindowPos2sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2sv) {
+ void ** procp = (void **) &disp->WindowPos2sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos2sv) {
+ void ** procp = (void **) &disp->WindowPos2sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos2svMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3d) {
+ void ** procp = (void **) &disp->WindowPos3d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3d) {
+ void ** procp = (void **) &disp->WindowPos3d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3d) {
+ void ** procp = (void **) &disp->WindowPos3d;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3dMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3dv) {
+ void ** procp = (void **) &disp->WindowPos3dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3dv) {
+ void ** procp = (void **) &disp->WindowPos3dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3dv) {
+ void ** procp = (void **) &disp->WindowPos3dv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3dvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3f) {
+ void ** procp = (void **) &disp->WindowPos3f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3f) {
+ void ** procp = (void **) &disp->WindowPos3f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3f) {
+ void ** procp = (void **) &disp->WindowPos3f;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3fMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3fv) {
+ void ** procp = (void **) &disp->WindowPos3fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3fv) {
+ void ** procp = (void **) &disp->WindowPos3fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3fv) {
+ void ** procp = (void **) &disp->WindowPos3fv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3fvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3i) {
+ void ** procp = (void **) &disp->WindowPos3i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3i) {
+ void ** procp = (void **) &disp->WindowPos3i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3i) {
+ void ** procp = (void **) &disp->WindowPos3i;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3iMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3iv) {
+ void ** procp = (void **) &disp->WindowPos3iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3iv) {
+ void ** procp = (void **) &disp->WindowPos3iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3iv) {
+ void ** procp = (void **) &disp->WindowPos3iv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3ivMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3s) {
+ void ** procp = (void **) &disp->WindowPos3s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3s) {
+ void ** procp = (void **) &disp->WindowPos3s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3s) {
+ void ** procp = (void **) &disp->WindowPos3s;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3sMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3sv) {
+ void ** procp = (void **) &disp->WindowPos3sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3sv) {
+ void ** procp = (void **) &disp->WindowPos3sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos3sv) {
+ void ** procp = (void **) &disp->WindowPos3sv;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos3svMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginQuery) {
+ void ** procp = (void **) &disp->BeginQuery;
+ snprintf(symboln, sizeof(symboln), "%sBeginQuery", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginQuery) {
+ void ** procp = (void **) &disp->BeginQuery;
+ snprintf(symboln, sizeof(symboln), "%sBeginQueryARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBuffer) {
+ void ** procp = (void **) &disp->BindBuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBuffer) {
+ void ** procp = (void **) &disp->BindBuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BufferData) {
+ void ** procp = (void **) &disp->BufferData;
+ snprintf(symboln, sizeof(symboln), "%sBufferData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BufferData) {
+ void ** procp = (void **) &disp->BufferData;
+ snprintf(symboln, sizeof(symboln), "%sBufferDataARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BufferSubData) {
+ void ** procp = (void **) &disp->BufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sBufferSubData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BufferSubData) {
+ void ** procp = (void **) &disp->BufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sBufferSubDataARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteBuffers) {
+ void ** procp = (void **) &disp->DeleteBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteBuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteBuffers) {
+ void ** procp = (void **) &disp->DeleteBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteBuffersARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteQueries) {
+ void ** procp = (void **) &disp->DeleteQueries;
+ snprintf(symboln, sizeof(symboln), "%sDeleteQueries", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteQueries) {
+ void ** procp = (void **) &disp->DeleteQueries;
+ snprintf(symboln, sizeof(symboln), "%sDeleteQueriesARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndQuery) {
+ void ** procp = (void **) &disp->EndQuery;
+ snprintf(symboln, sizeof(symboln), "%sEndQuery", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndQuery) {
+ void ** procp = (void **) &disp->EndQuery;
+ snprintf(symboln, sizeof(symboln), "%sEndQueryARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenBuffers) {
+ void ** procp = (void **) &disp->GenBuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenBuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenBuffers) {
+ void ** procp = (void **) &disp->GenBuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenBuffersARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenQueries) {
+ void ** procp = (void **) &disp->GenQueries;
+ snprintf(symboln, sizeof(symboln), "%sGenQueries", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenQueries) {
+ void ** procp = (void **) &disp->GenQueries;
+ snprintf(symboln, sizeof(symboln), "%sGenQueriesARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferParameteriv) {
+ void ** procp = (void **) &disp->GetBufferParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferParameteriv) {
+ void ** procp = (void **) &disp->GetBufferParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameterivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferPointerv) {
+ void ** procp = (void **) &disp->GetBufferPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferPointerv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferPointerv) {
+ void ** procp = (void **) &disp->GetBufferPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferPointervARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferPointerv) {
+ void ** procp = (void **) &disp->GetBufferPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferPointervOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferSubData) {
+ void ** procp = (void **) &disp->GetBufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferSubData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferSubData) {
+ void ** procp = (void **) &disp->GetBufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferSubDataARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectiv) {
+ void ** procp = (void **) &disp->GetQueryObjectiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectiv) {
+ void ** procp = (void **) &disp->GetQueryObjectiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectuiv) {
+ void ** procp = (void **) &disp->GetQueryObjectuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectuiv) {
+ void ** procp = (void **) &disp->GetQueryObjectuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryiv) {
+ void ** procp = (void **) &disp->GetQueryiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryiv) {
+ void ** procp = (void **) &disp->GetQueryiv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsBuffer) {
+ void ** procp = (void **) &disp->IsBuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsBuffer) {
+ void ** procp = (void **) &disp->IsBuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsBufferARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsQuery) {
+ void ** procp = (void **) &disp->IsQuery;
+ snprintf(symboln, sizeof(symboln), "%sIsQuery", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsQuery) {
+ void ** procp = (void **) &disp->IsQuery;
+ snprintf(symboln, sizeof(symboln), "%sIsQueryARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapBuffer) {
+ void ** procp = (void **) &disp->MapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sMapBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapBuffer) {
+ void ** procp = (void **) &disp->MapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sMapBufferARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapBuffer) {
+ void ** procp = (void **) &disp->MapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sMapBufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UnmapBuffer) {
+ void ** procp = (void **) &disp->UnmapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sUnmapBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UnmapBuffer) {
+ void ** procp = (void **) &disp->UnmapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sUnmapBufferARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UnmapBuffer) {
+ void ** procp = (void **) &disp->UnmapBuffer;
+ snprintf(symboln, sizeof(symboln), "%sUnmapBufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AttachShader) {
+ void ** procp = (void **) &disp->AttachShader;
+ snprintf(symboln, sizeof(symboln), "%sAttachShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindAttribLocation) {
+ void ** procp = (void **) &disp->BindAttribLocation;
+ snprintf(symboln, sizeof(symboln), "%sBindAttribLocation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindAttribLocation) {
+ void ** procp = (void **) &disp->BindAttribLocation;
+ snprintf(symboln, sizeof(symboln), "%sBindAttribLocationARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparate) {
+ void ** procp = (void **) &disp->BlendEquationSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparate", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparate) {
+ void ** procp = (void **) &disp->BlendEquationSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparate) {
+ void ** procp = (void **) &disp->BlendEquationSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparate) {
+ void ** procp = (void **) &disp->BlendEquationSeparate;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompileShader) {
+ void ** procp = (void **) &disp->CompileShader;
+ snprintf(symboln, sizeof(symboln), "%sCompileShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CompileShader) {
+ void ** procp = (void **) &disp->CompileShader;
+ snprintf(symboln, sizeof(symboln), "%sCompileShaderARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CreateProgram) {
+ void ** procp = (void **) &disp->CreateProgram;
+ snprintf(symboln, sizeof(symboln), "%sCreateProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CreateShader) {
+ void ** procp = (void **) &disp->CreateShader;
+ snprintf(symboln, sizeof(symboln), "%sCreateShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteProgram) {
+ void ** procp = (void **) &disp->DeleteProgram;
+ snprintf(symboln, sizeof(symboln), "%sDeleteProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteShader) {
+ void ** procp = (void **) &disp->DeleteShader;
+ snprintf(symboln, sizeof(symboln), "%sDeleteShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DetachShader) {
+ void ** procp = (void **) &disp->DetachShader;
+ snprintf(symboln, sizeof(symboln), "%sDetachShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DisableVertexAttribArray) {
+ void ** procp = (void **) &disp->DisableVertexAttribArray;
+ snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArray", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DisableVertexAttribArray) {
+ void ** procp = (void **) &disp->DisableVertexAttribArray;
+ snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArrayARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawBuffers) {
+ void ** procp = (void **) &disp->DrawBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDrawBuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawBuffers) {
+ void ** procp = (void **) &disp->DrawBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDrawBuffersARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawBuffers) {
+ void ** procp = (void **) &disp->DrawBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDrawBuffersATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawBuffers) {
+ void ** procp = (void **) &disp->DrawBuffers;
+ snprintf(symboln, sizeof(symboln), "%sDrawBuffersNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EnableVertexAttribArray) {
+ void ** procp = (void **) &disp->EnableVertexAttribArray;
+ snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArray", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EnableVertexAttribArray) {
+ void ** procp = (void **) &disp->EnableVertexAttribArray;
+ snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArrayARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveAttrib) {
+ void ** procp = (void **) &disp->GetActiveAttrib;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveAttrib", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveAttrib) {
+ void ** procp = (void **) &disp->GetActiveAttrib;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveAttribARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniform) {
+ void ** procp = (void **) &disp->GetActiveUniform;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniform", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniform) {
+ void ** procp = (void **) &disp->GetActiveUniform;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetAttachedShaders) {
+ void ** procp = (void **) &disp->GetAttachedShaders;
+ snprintf(symboln, sizeof(symboln), "%sGetAttachedShaders", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetAttribLocation) {
+ void ** procp = (void **) &disp->GetAttribLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetAttribLocation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetAttribLocation) {
+ void ** procp = (void **) &disp->GetAttribLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetAttribLocationARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramInfoLog) {
+ void ** procp = (void **) &disp->GetProgramInfoLog;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramInfoLog", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramiv) {
+ void ** procp = (void **) &disp->GetProgramiv;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetShaderInfoLog) {
+ void ** procp = (void **) &disp->GetShaderInfoLog;
+ snprintf(symboln, sizeof(symboln), "%sGetShaderInfoLog", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetShaderSource) {
+ void ** procp = (void **) &disp->GetShaderSource;
+ snprintf(symboln, sizeof(symboln), "%sGetShaderSource", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetShaderSource) {
+ void ** procp = (void **) &disp->GetShaderSource;
+ snprintf(symboln, sizeof(symboln), "%sGetShaderSourceARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetShaderiv) {
+ void ** procp = (void **) &disp->GetShaderiv;
+ snprintf(symboln, sizeof(symboln), "%sGetShaderiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformLocation) {
+ void ** procp = (void **) &disp->GetUniformLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformLocation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformLocation) {
+ void ** procp = (void **) &disp->GetUniformLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformLocationARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformfv) {
+ void ** procp = (void **) &disp->GetUniformfv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformfv) {
+ void ** procp = (void **) &disp->GetUniformfv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformiv) {
+ void ** procp = (void **) &disp->GetUniformiv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformiv) {
+ void ** procp = (void **) &disp->GetUniformiv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribPointerv) {
+ void ** procp = (void **) &disp->GetVertexAttribPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointerv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribPointerv) {
+ void ** procp = (void **) &disp->GetVertexAttribPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribPointerv) {
+ void ** procp = (void **) &disp->GetVertexAttribPointerv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribdv) {
+ void ** procp = (void **) &disp->GetVertexAttribdv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribdv) {
+ void ** procp = (void **) &disp->GetVertexAttribdv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribfv) {
+ void ** procp = (void **) &disp->GetVertexAttribfv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribfv) {
+ void ** procp = (void **) &disp->GetVertexAttribfv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribiv) {
+ void ** procp = (void **) &disp->GetVertexAttribiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribiv) {
+ void ** procp = (void **) &disp->GetVertexAttribiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsProgram) {
+ void ** procp = (void **) &disp->IsProgram;
+ snprintf(symboln, sizeof(symboln), "%sIsProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsShader) {
+ void ** procp = (void **) &disp->IsShader;
+ snprintf(symboln, sizeof(symboln), "%sIsShader", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LinkProgram) {
+ void ** procp = (void **) &disp->LinkProgram;
+ snprintf(symboln, sizeof(symboln), "%sLinkProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LinkProgram) {
+ void ** procp = (void **) &disp->LinkProgram;
+ snprintf(symboln, sizeof(symboln), "%sLinkProgramARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ShaderSource) {
+ void ** procp = (void **) &disp->ShaderSource;
+ snprintf(symboln, sizeof(symboln), "%sShaderSource", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ShaderSource) {
+ void ** procp = (void **) &disp->ShaderSource;
+ snprintf(symboln, sizeof(symboln), "%sShaderSourceARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilFuncSeparate) {
+ void ** procp = (void **) &disp->StencilFuncSeparate;
+ snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparate", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilMaskSeparate) {
+ void ** procp = (void **) &disp->StencilMaskSeparate;
+ snprintf(symboln, sizeof(symboln), "%sStencilMaskSeparate", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilOpSeparate) {
+ void ** procp = (void **) &disp->StencilOpSeparate;
+ snprintf(symboln, sizeof(symboln), "%sStencilOpSeparate", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilOpSeparate) {
+ void ** procp = (void **) &disp->StencilOpSeparate;
+ snprintf(symboln, sizeof(symboln), "%sStencilOpSeparateATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1f) {
+ void ** procp = (void **) &disp->Uniform1f;
+ snprintf(symboln, sizeof(symboln), "%sUniform1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1f) {
+ void ** procp = (void **) &disp->Uniform1f;
+ snprintf(symboln, sizeof(symboln), "%sUniform1fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1fv) {
+ void ** procp = (void **) &disp->Uniform1fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1fv) {
+ void ** procp = (void **) &disp->Uniform1fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1i) {
+ void ** procp = (void **) &disp->Uniform1i;
+ snprintf(symboln, sizeof(symboln), "%sUniform1i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1i) {
+ void ** procp = (void **) &disp->Uniform1i;
+ snprintf(symboln, sizeof(symboln), "%sUniform1iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1iv) {
+ void ** procp = (void **) &disp->Uniform1iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1iv) {
+ void ** procp = (void **) &disp->Uniform1iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2f) {
+ void ** procp = (void **) &disp->Uniform2f;
+ snprintf(symboln, sizeof(symboln), "%sUniform2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2f) {
+ void ** procp = (void **) &disp->Uniform2f;
+ snprintf(symboln, sizeof(symboln), "%sUniform2fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2fv) {
+ void ** procp = (void **) &disp->Uniform2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2fv) {
+ void ** procp = (void **) &disp->Uniform2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2i) {
+ void ** procp = (void **) &disp->Uniform2i;
+ snprintf(symboln, sizeof(symboln), "%sUniform2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2i) {
+ void ** procp = (void **) &disp->Uniform2i;
+ snprintf(symboln, sizeof(symboln), "%sUniform2iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2iv) {
+ void ** procp = (void **) &disp->Uniform2iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2iv) {
+ void ** procp = (void **) &disp->Uniform2iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3f) {
+ void ** procp = (void **) &disp->Uniform3f;
+ snprintf(symboln, sizeof(symboln), "%sUniform3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3f) {
+ void ** procp = (void **) &disp->Uniform3f;
+ snprintf(symboln, sizeof(symboln), "%sUniform3fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3fv) {
+ void ** procp = (void **) &disp->Uniform3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3fv) {
+ void ** procp = (void **) &disp->Uniform3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3i) {
+ void ** procp = (void **) &disp->Uniform3i;
+ snprintf(symboln, sizeof(symboln), "%sUniform3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3i) {
+ void ** procp = (void **) &disp->Uniform3i;
+ snprintf(symboln, sizeof(symboln), "%sUniform3iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3iv) {
+ void ** procp = (void **) &disp->Uniform3iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3iv) {
+ void ** procp = (void **) &disp->Uniform3iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4f) {
+ void ** procp = (void **) &disp->Uniform4f;
+ snprintf(symboln, sizeof(symboln), "%sUniform4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4f) {
+ void ** procp = (void **) &disp->Uniform4f;
+ snprintf(symboln, sizeof(symboln), "%sUniform4fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4fv) {
+ void ** procp = (void **) &disp->Uniform4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4fv) {
+ void ** procp = (void **) &disp->Uniform4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4i) {
+ void ** procp = (void **) &disp->Uniform4i;
+ snprintf(symboln, sizeof(symboln), "%sUniform4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4i) {
+ void ** procp = (void **) &disp->Uniform4i;
+ snprintf(symboln, sizeof(symboln), "%sUniform4iARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4iv) {
+ void ** procp = (void **) &disp->Uniform4iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4iv) {
+ void ** procp = (void **) &disp->Uniform4iv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix2fv) {
+ void ** procp = (void **) &disp->UniformMatrix2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix2fv) {
+ void ** procp = (void **) &disp->UniformMatrix2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix3fv) {
+ void ** procp = (void **) &disp->UniformMatrix3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix3fv) {
+ void ** procp = (void **) &disp->UniformMatrix3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix4fv) {
+ void ** procp = (void **) &disp->UniformMatrix4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix4fv) {
+ void ** procp = (void **) &disp->UniformMatrix4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UseProgram) {
+ void ** procp = (void **) &disp->UseProgram;
+ snprintf(symboln, sizeof(symboln), "%sUseProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UseProgram) {
+ void ** procp = (void **) &disp->UseProgram;
+ snprintf(symboln, sizeof(symboln), "%sUseProgramObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ValidateProgram) {
+ void ** procp = (void **) &disp->ValidateProgram;
+ snprintf(symboln, sizeof(symboln), "%sValidateProgram", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ValidateProgram) {
+ void ** procp = (void **) &disp->ValidateProgram;
+ snprintf(symboln, sizeof(symboln), "%sValidateProgramARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1d) {
+ void ** procp = (void **) &disp->VertexAttrib1d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1d) {
+ void ** procp = (void **) &disp->VertexAttrib1d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1dv) {
+ void ** procp = (void **) &disp->VertexAttrib1dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1dv) {
+ void ** procp = (void **) &disp->VertexAttrib1dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1s) {
+ void ** procp = (void **) &disp->VertexAttrib1s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1s) {
+ void ** procp = (void **) &disp->VertexAttrib1s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1sv) {
+ void ** procp = (void **) &disp->VertexAttrib1sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1sv) {
+ void ** procp = (void **) &disp->VertexAttrib1sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2d) {
+ void ** procp = (void **) &disp->VertexAttrib2d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2d) {
+ void ** procp = (void **) &disp->VertexAttrib2d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2dv) {
+ void ** procp = (void **) &disp->VertexAttrib2dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2dv) {
+ void ** procp = (void **) &disp->VertexAttrib2dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2s) {
+ void ** procp = (void **) &disp->VertexAttrib2s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2s) {
+ void ** procp = (void **) &disp->VertexAttrib2s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2sv) {
+ void ** procp = (void **) &disp->VertexAttrib2sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2sv) {
+ void ** procp = (void **) &disp->VertexAttrib2sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3d) {
+ void ** procp = (void **) &disp->VertexAttrib3d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3d) {
+ void ** procp = (void **) &disp->VertexAttrib3d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3dv) {
+ void ** procp = (void **) &disp->VertexAttrib3dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3dv) {
+ void ** procp = (void **) &disp->VertexAttrib3dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3s) {
+ void ** procp = (void **) &disp->VertexAttrib3s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3s) {
+ void ** procp = (void **) &disp->VertexAttrib3s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3sv) {
+ void ** procp = (void **) &disp->VertexAttrib3sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3sv) {
+ void ** procp = (void **) &disp->VertexAttrib3sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nbv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nbv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nbv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nbv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nbv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NbvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Niv) {
+ void ** procp = (void **) &disp->VertexAttrib4Niv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Niv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Niv) {
+ void ** procp = (void **) &disp->VertexAttrib4Niv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nsv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nsv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nsv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nsv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nsv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NsvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nub) {
+ void ** procp = (void **) &disp->VertexAttrib4Nub;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nub", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nub) {
+ void ** procp = (void **) &disp->VertexAttrib4Nub;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nubv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nubv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nuiv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nuiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nuiv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nuiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NuivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nusv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nusv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nusv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4Nusv) {
+ void ** procp = (void **) &disp->VertexAttrib4Nusv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NusvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4bv) {
+ void ** procp = (void **) &disp->VertexAttrib4bv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4bv) {
+ void ** procp = (void **) &disp->VertexAttrib4bv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4d) {
+ void ** procp = (void **) &disp->VertexAttrib4d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4d", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4d) {
+ void ** procp = (void **) &disp->VertexAttrib4d;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4dv) {
+ void ** procp = (void **) &disp->VertexAttrib4dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4dv) {
+ void ** procp = (void **) &disp->VertexAttrib4dv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4iv) {
+ void ** procp = (void **) &disp->VertexAttrib4iv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4iv) {
+ void ** procp = (void **) &disp->VertexAttrib4iv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4s) {
+ void ** procp = (void **) &disp->VertexAttrib4s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4s", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4s) {
+ void ** procp = (void **) &disp->VertexAttrib4s;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4sv) {
+ void ** procp = (void **) &disp->VertexAttrib4sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4sv) {
+ void ** procp = (void **) &disp->VertexAttrib4sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4ubv) {
+ void ** procp = (void **) &disp->VertexAttrib4ubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4ubv) {
+ void ** procp = (void **) &disp->VertexAttrib4ubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4uiv) {
+ void ** procp = (void **) &disp->VertexAttrib4uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4uiv) {
+ void ** procp = (void **) &disp->VertexAttrib4uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4usv) {
+ void ** procp = (void **) &disp->VertexAttrib4usv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4usv) {
+ void ** procp = (void **) &disp->VertexAttrib4usv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribPointer) {
+ void ** procp = (void **) &disp->VertexAttribPointer;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribPointer) {
+ void ** procp = (void **) &disp->VertexAttribPointer;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix2x3fv) {
+ void ** procp = (void **) &disp->UniformMatrix2x3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix2x4fv) {
+ void ** procp = (void **) &disp->UniformMatrix2x4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix3x2fv) {
+ void ** procp = (void **) &disp->UniformMatrix3x2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix3x4fv) {
+ void ** procp = (void **) &disp->UniformMatrix3x4fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix4x2fv) {
+ void ** procp = (void **) &disp->UniformMatrix4x2fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformMatrix4x3fv) {
+ void ** procp = (void **) &disp->UniformMatrix4x3fv;
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginConditionalRender) {
+ void ** procp = (void **) &disp->BeginConditionalRender;
+ snprintf(symboln, sizeof(symboln), "%sBeginConditionalRender", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginConditionalRender) {
+ void ** procp = (void **) &disp->BeginConditionalRender;
+ snprintf(symboln, sizeof(symboln), "%sBeginConditionalRenderNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginTransformFeedback) {
+ void ** procp = (void **) &disp->BeginTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginTransformFeedback) {
+ void ** procp = (void **) &disp->BeginTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedbackEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBufferBase) {
+ void ** procp = (void **) &disp->BindBufferBase;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferBase", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBufferBase) {
+ void ** procp = (void **) &disp->BindBufferBase;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferBaseEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBufferRange) {
+ void ** procp = (void **) &disp->BindBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBufferRange) {
+ void ** procp = (void **) &disp->BindBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferRangeEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFragDataLocation) {
+ void ** procp = (void **) &disp->BindFragDataLocation;
+ snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFragDataLocation) {
+ void ** procp = (void **) &disp->BindFragDataLocation;
+ snprintf(symboln, sizeof(symboln), "%sBindFragDataLocation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClampColor) {
+ void ** procp = (void **) &disp->ClampColor;
+ snprintf(symboln, sizeof(symboln), "%sClampColorARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClampColor) {
+ void ** procp = (void **) &disp->ClampColor;
+ snprintf(symboln, sizeof(symboln), "%sClampColor", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearBufferfi) {
+ void ** procp = (void **) &disp->ClearBufferfi;
+ snprintf(symboln, sizeof(symboln), "%sClearBufferfi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearBufferfv) {
+ void ** procp = (void **) &disp->ClearBufferfv;
+ snprintf(symboln, sizeof(symboln), "%sClearBufferfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearBufferiv) {
+ void ** procp = (void **) &disp->ClearBufferiv;
+ snprintf(symboln, sizeof(symboln), "%sClearBufferiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearBufferuiv) {
+ void ** procp = (void **) &disp->ClearBufferuiv;
+ snprintf(symboln, sizeof(symboln), "%sClearBufferuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorMaski) {
+ void ** procp = (void **) &disp->ColorMaski;
+ snprintf(symboln, sizeof(symboln), "%sColorMaskIndexedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorMaski) {
+ void ** procp = (void **) &disp->ColorMaski;
+ snprintf(symboln, sizeof(symboln), "%sColorMaski", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Disablei) {
+ void ** procp = (void **) &disp->Disablei;
+ snprintf(symboln, sizeof(symboln), "%sDisableIndexedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Disablei) {
+ void ** procp = (void **) &disp->Disablei;
+ snprintf(symboln, sizeof(symboln), "%sDisablei", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Enablei) {
+ void ** procp = (void **) &disp->Enablei;
+ snprintf(symboln, sizeof(symboln), "%sEnableIndexedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Enablei) {
+ void ** procp = (void **) &disp->Enablei;
+ snprintf(symboln, sizeof(symboln), "%sEnablei", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndConditionalRender) {
+ void ** procp = (void **) &disp->EndConditionalRender;
+ snprintf(symboln, sizeof(symboln), "%sEndConditionalRender", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndConditionalRender) {
+ void ** procp = (void **) &disp->EndConditionalRender;
+ snprintf(symboln, sizeof(symboln), "%sEndConditionalRenderNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndTransformFeedback) {
+ void ** procp = (void **) &disp->EndTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sEndTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndTransformFeedback) {
+ void ** procp = (void **) &disp->EndTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sEndTransformFeedbackEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBooleani_v) {
+ void ** procp = (void **) &disp->GetBooleani_v;
+ snprintf(symboln, sizeof(symboln), "%sGetBooleanIndexedvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBooleani_v) {
+ void ** procp = (void **) &disp->GetBooleani_v;
+ snprintf(symboln, sizeof(symboln), "%sGetBooleani_v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFragDataLocation) {
+ void ** procp = (void **) &disp->GetFragDataLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetFragDataLocationEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFragDataLocation) {
+ void ** procp = (void **) &disp->GetFragDataLocation;
+ snprintf(symboln, sizeof(symboln), "%sGetFragDataLocation", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetIntegeri_v) {
+ void ** procp = (void **) &disp->GetIntegeri_v;
+ snprintf(symboln, sizeof(symboln), "%sGetIntegerIndexedvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetIntegeri_v) {
+ void ** procp = (void **) &disp->GetIntegeri_v;
+ snprintf(symboln, sizeof(symboln), "%sGetIntegeri_v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetStringi) {
+ void ** procp = (void **) &disp->GetStringi;
+ snprintf(symboln, sizeof(symboln), "%sGetStringi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterIiv) {
+ void ** procp = (void **) &disp->GetTexParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterIiv) {
+ void ** procp = (void **) &disp->GetTexParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterIuiv) {
+ void ** procp = (void **) &disp->GetTexParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterIuiv) {
+ void ** procp = (void **) &disp->GetTexParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTransformFeedbackVarying) {
+ void ** procp = (void **) &disp->GetTransformFeedbackVarying;
+ snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVarying", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTransformFeedbackVarying) {
+ void ** procp = (void **) &disp->GetTransformFeedbackVarying;
+ snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVaryingEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformuiv) {
+ void ** procp = (void **) &disp->GetUniformuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformuivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformuiv) {
+ void ** procp = (void **) &disp->GetUniformuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribIiv) {
+ void ** procp = (void **) &disp->GetVertexAttribIiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribIiv) {
+ void ** procp = (void **) &disp->GetVertexAttribIiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribIuiv) {
+ void ** procp = (void **) &disp->GetVertexAttribIuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribIuiv) {
+ void ** procp = (void **) &disp->GetVertexAttribIuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsEnabledi) {
+ void ** procp = (void **) &disp->IsEnabledi;
+ snprintf(symboln, sizeof(symboln), "%sIsEnabledIndexedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsEnabledi) {
+ void ** procp = (void **) &disp->IsEnabledi;
+ snprintf(symboln, sizeof(symboln), "%sIsEnabledi", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterIiv) {
+ void ** procp = (void **) &disp->TexParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterIiv) {
+ void ** procp = (void **) &disp->TexParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterIuiv) {
+ void ** procp = (void **) &disp->TexParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIuivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterIuiv) {
+ void ** procp = (void **) &disp->TexParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TransformFeedbackVaryings) {
+ void ** procp = (void **) &disp->TransformFeedbackVaryings;
+ snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryings", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TransformFeedbackVaryings) {
+ void ** procp = (void **) &disp->TransformFeedbackVaryings;
+ snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryingsEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1ui) {
+ void ** procp = (void **) &disp->Uniform1ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform1uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1ui) {
+ void ** procp = (void **) &disp->Uniform1ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform1ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1uiv) {
+ void ** procp = (void **) &disp->Uniform1uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform1uiv) {
+ void ** procp = (void **) &disp->Uniform1uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform1uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2ui) {
+ void ** procp = (void **) &disp->Uniform2ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform2uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2ui) {
+ void ** procp = (void **) &disp->Uniform2ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2uiv) {
+ void ** procp = (void **) &disp->Uniform2uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform2uiv) {
+ void ** procp = (void **) &disp->Uniform2uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3ui) {
+ void ** procp = (void **) &disp->Uniform3ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform3uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3ui) {
+ void ** procp = (void **) &disp->Uniform3ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3uiv) {
+ void ** procp = (void **) &disp->Uniform3uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform3uiv) {
+ void ** procp = (void **) &disp->Uniform3uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4ui) {
+ void ** procp = (void **) &disp->Uniform4ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform4uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4ui) {
+ void ** procp = (void **) &disp->Uniform4ui;
+ snprintf(symboln, sizeof(symboln), "%sUniform4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4uiv) {
+ void ** procp = (void **) &disp->Uniform4uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Uniform4uiv) {
+ void ** procp = (void **) &disp->Uniform4uiv;
+ snprintf(symboln, sizeof(symboln), "%sUniform4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1iv) {
+ void ** procp = (void **) &disp->VertexAttribI1iv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1iv) {
+ void ** procp = (void **) &disp->VertexAttribI1iv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1uiv) {
+ void ** procp = (void **) &disp->VertexAttribI1uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1uiv) {
+ void ** procp = (void **) &disp->VertexAttribI1uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4bv) {
+ void ** procp = (void **) &disp->VertexAttribI4bv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4bv) {
+ void ** procp = (void **) &disp->VertexAttribI4bv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4sv) {
+ void ** procp = (void **) &disp->VertexAttribI4sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4svEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4sv) {
+ void ** procp = (void **) &disp->VertexAttribI4sv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4sv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4ubv) {
+ void ** procp = (void **) &disp->VertexAttribI4ubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4ubv) {
+ void ** procp = (void **) &disp->VertexAttribI4ubv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4usv) {
+ void ** procp = (void **) &disp->VertexAttribI4usv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4usv) {
+ void ** procp = (void **) &disp->VertexAttribI4usv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribIPointer) {
+ void ** procp = (void **) &disp->VertexAttribIPointer;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribIPointer) {
+ void ** procp = (void **) &disp->VertexAttribIPointer;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PrimitiveRestartIndex) {
+ void ** procp = (void **) &disp->PrimitiveRestartIndex;
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PrimitiveRestartIndex) {
+ void ** procp = (void **) &disp->PrimitiveRestartIndex;
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndexNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexBuffer) {
+ void ** procp = (void **) &disp->TexBuffer;
+ snprintf(symboln, sizeof(symboln), "%sTexBufferARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexBuffer) {
+ void ** procp = (void **) &disp->TexBuffer;
+ snprintf(symboln, sizeof(symboln), "%sTexBuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture) {
+ void ** procp = (void **) &disp->FramebufferTexture;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture) {
+ void ** procp = (void **) &disp->FramebufferTexture;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetBufferParameteri64v) {
+ void ** procp = (void **) &disp->GetBufferParameteri64v;
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameteri64v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetInteger64i_v) {
+ void ** procp = (void **) &disp->GetInteger64i_v;
+ snprintf(symboln, sizeof(symboln), "%sGetInteger64i_v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribDivisor) {
+ void ** procp = (void **) &disp->VertexAttribDivisor;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisorARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribDivisor) {
+ void ** procp = (void **) &disp->VertexAttribDivisor;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisor", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindProgramARB) {
+ void ** procp = (void **) &disp->BindProgramARB;
+ snprintf(symboln, sizeof(symboln), "%sBindProgramARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindProgramARB) {
+ void ** procp = (void **) &disp->BindProgramARB;
+ snprintf(symboln, sizeof(symboln), "%sBindProgramNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteProgramsARB) {
+ void ** procp = (void **) &disp->DeleteProgramsARB;
+ snprintf(symboln, sizeof(symboln), "%sDeleteProgramsARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteProgramsARB) {
+ void ** procp = (void **) &disp->DeleteProgramsARB;
+ snprintf(symboln, sizeof(symboln), "%sDeleteProgramsNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenProgramsARB) {
+ void ** procp = (void **) &disp->GenProgramsARB;
+ snprintf(symboln, sizeof(symboln), "%sGenProgramsARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenProgramsARB) {
+ void ** procp = (void **) &disp->GenProgramsARB;
+ snprintf(symboln, sizeof(symboln), "%sGenProgramsNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramEnvParameterdvARB) {
+ void ** procp = (void **) &disp->GetProgramEnvParameterdvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterdvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramEnvParameterfvARB) {
+ void ** procp = (void **) &disp->GetProgramEnvParameterfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramLocalParameterdvARB) {
+ void ** procp = (void **) &disp->GetProgramLocalParameterdvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterdvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramLocalParameterfvARB) {
+ void ** procp = (void **) &disp->GetProgramLocalParameterfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramStringARB) {
+ void ** procp = (void **) &disp->GetProgramStringARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramStringARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramivARB) {
+ void ** procp = (void **) &disp->GetProgramivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsProgramARB) {
+ void ** procp = (void **) &disp->IsProgramARB;
+ snprintf(symboln, sizeof(symboln), "%sIsProgramARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsProgramARB) {
+ void ** procp = (void **) &disp->IsProgramARB;
+ snprintf(symboln, sizeof(symboln), "%sIsProgramNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4dARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4dARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4dARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4dARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4dvARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4dvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4dvARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4dvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4fARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4fARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4fARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4fARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4fvARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameter4fvARB) {
+ void ** procp = (void **) &disp->ProgramEnvParameter4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramLocalParameter4dARB) {
+ void ** procp = (void **) &disp->ProgramLocalParameter4dARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramLocalParameter4dvARB) {
+ void ** procp = (void **) &disp->ProgramLocalParameter4dvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramLocalParameter4fARB) {
+ void ** procp = (void **) &disp->ProgramLocalParameter4fARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramLocalParameter4fvARB) {
+ void ** procp = (void **) &disp->ProgramLocalParameter4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramStringARB) {
+ void ** procp = (void **) &disp->ProgramStringARB;
+ snprintf(symboln, sizeof(symboln), "%sProgramStringARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fARB) {
+ void ** procp = (void **) &disp->VertexAttrib1fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fARB) {
+ void ** procp = (void **) &disp->VertexAttrib1fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib1fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib1fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fARB) {
+ void ** procp = (void **) &disp->VertexAttrib2fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fARB) {
+ void ** procp = (void **) &disp->VertexAttrib2fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib2fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib2fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fARB) {
+ void ** procp = (void **) &disp->VertexAttrib3fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fARB) {
+ void ** procp = (void **) &disp->VertexAttrib3fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib3fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib3fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fARB) {
+ void ** procp = (void **) &disp->VertexAttrib4fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fARB) {
+ void ** procp = (void **) &disp->VertexAttrib4fARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fvARB) {
+ void ** procp = (void **) &disp->VertexAttrib4fvARB;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AttachObjectARB) {
+ void ** procp = (void **) &disp->AttachObjectARB;
+ snprintf(symboln, sizeof(symboln), "%sAttachObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CreateProgramObjectARB) {
+ void ** procp = (void **) &disp->CreateProgramObjectARB;
+ snprintf(symboln, sizeof(symboln), "%sCreateProgramObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CreateShaderObjectARB) {
+ void ** procp = (void **) &disp->CreateShaderObjectARB;
+ snprintf(symboln, sizeof(symboln), "%sCreateShaderObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteObjectARB) {
+ void ** procp = (void **) &disp->DeleteObjectARB;
+ snprintf(symboln, sizeof(symboln), "%sDeleteObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DetachObjectARB) {
+ void ** procp = (void **) &disp->DetachObjectARB;
+ snprintf(symboln, sizeof(symboln), "%sDetachObjectARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetAttachedObjectsARB) {
+ void ** procp = (void **) &disp->GetAttachedObjectsARB;
+ snprintf(symboln, sizeof(symboln), "%sGetAttachedObjectsARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetHandleARB) {
+ void ** procp = (void **) &disp->GetHandleARB;
+ snprintf(symboln, sizeof(symboln), "%sGetHandleARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetInfoLogARB) {
+ void ** procp = (void **) &disp->GetInfoLogARB;
+ snprintf(symboln, sizeof(symboln), "%sGetInfoLogARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetObjectParameterfvARB) {
+ void ** procp = (void **) &disp->GetObjectParameterfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetObjectParameterivARB) {
+ void ** procp = (void **) &disp->GetObjectParameterivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArraysInstancedARB) {
+ void ** procp = (void **) &disp->DrawArraysInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArraysInstancedARB) {
+ void ** procp = (void **) &disp->DrawArraysInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArraysInstancedARB) {
+ void ** procp = (void **) &disp->DrawArraysInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstanced", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedARB) {
+ void ** procp = (void **) &disp->DrawElementsInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedARB) {
+ void ** procp = (void **) &disp->DrawElementsInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedARB) {
+ void ** procp = (void **) &disp->DrawElementsInstancedARB;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstanced", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFramebuffer) {
+ void ** procp = (void **) &disp->BindFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindFramebuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFramebuffer) {
+ void ** procp = (void **) &disp->BindFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFramebuffer) {
+ void ** procp = (void **) &disp->BindFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindFramebufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindRenderbuffer) {
+ void ** procp = (void **) &disp->BindRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindRenderbuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindRenderbuffer) {
+ void ** procp = (void **) &disp->BindRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindRenderbuffer) {
+ void ** procp = (void **) &disp->BindRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sBindRenderbufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlitFramebuffer) {
+ void ** procp = (void **) &disp->BlitFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sBlitFramebuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlitFramebuffer) {
+ void ** procp = (void **) &disp->BlitFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sBlitFramebufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CheckFramebufferStatus) {
+ void ** procp = (void **) &disp->CheckFramebufferStatus;
+ snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatus", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CheckFramebufferStatus) {
+ void ** procp = (void **) &disp->CheckFramebufferStatus;
+ snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatusEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CheckFramebufferStatus) {
+ void ** procp = (void **) &disp->CheckFramebufferStatus;
+ snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatusOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteFramebuffers) {
+ void ** procp = (void **) &disp->DeleteFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteFramebuffers) {
+ void ** procp = (void **) &disp->DeleteFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffersEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteFramebuffers) {
+ void ** procp = (void **) &disp->DeleteFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffersOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteRenderbuffers) {
+ void ** procp = (void **) &disp->DeleteRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteRenderbuffers) {
+ void ** procp = (void **) &disp->DeleteRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffersEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteRenderbuffers) {
+ void ** procp = (void **) &disp->DeleteRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffersOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferRenderbuffer) {
+ void ** procp = (void **) &disp->FramebufferRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferRenderbuffer) {
+ void ** procp = (void **) &disp->FramebufferRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferRenderbuffer) {
+ void ** procp = (void **) &disp->FramebufferRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture1D) {
+ void ** procp = (void **) &disp->FramebufferTexture1D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture1D) {
+ void ** procp = (void **) &disp->FramebufferTexture1D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture2D) {
+ void ** procp = (void **) &disp->FramebufferTexture2D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture2D) {
+ void ** procp = (void **) &disp->FramebufferTexture2D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture2D) {
+ void ** procp = (void **) &disp->FramebufferTexture2D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture3D) {
+ void ** procp = (void **) &disp->FramebufferTexture3D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture3D) {
+ void ** procp = (void **) &disp->FramebufferTexture3D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTexture3D) {
+ void ** procp = (void **) &disp->FramebufferTexture3D;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTextureLayer) {
+ void ** procp = (void **) &disp->FramebufferTextureLayer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTextureLayer) {
+ void ** procp = (void **) &disp->FramebufferTextureLayer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTextureLayer) {
+ void ** procp = (void **) &disp->FramebufferTextureLayer;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenFramebuffers) {
+ void ** procp = (void **) &disp->GenFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenFramebuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenFramebuffers) {
+ void ** procp = (void **) &disp->GenFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenFramebuffersEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenFramebuffers) {
+ void ** procp = (void **) &disp->GenFramebuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenFramebuffersOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenRenderbuffers) {
+ void ** procp = (void **) &disp->GenRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenRenderbuffers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenRenderbuffers) {
+ void ** procp = (void **) &disp->GenRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenRenderbuffersEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenRenderbuffers) {
+ void ** procp = (void **) &disp->GenRenderbuffers;
+ snprintf(symboln, sizeof(symboln), "%sGenRenderbuffersOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenerateMipmap) {
+ void ** procp = (void **) &disp->GenerateMipmap;
+ snprintf(symboln, sizeof(symboln), "%sGenerateMipmap", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenerateMipmap) {
+ void ** procp = (void **) &disp->GenerateMipmap;
+ snprintf(symboln, sizeof(symboln), "%sGenerateMipmapEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenerateMipmap) {
+ void ** procp = (void **) &disp->GenerateMipmap;
+ snprintf(symboln, sizeof(symboln), "%sGenerateMipmapOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFramebufferAttachmentParameteriv) {
+ void ** procp = (void **) &disp->GetFramebufferAttachmentParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetFramebufferAttachmentParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFramebufferAttachmentParameteriv) {
+ void ** procp = (void **) &disp->GetFramebufferAttachmentParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetFramebufferAttachmentParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFramebufferAttachmentParameteriv) {
+ void ** procp = (void **) &disp->GetFramebufferAttachmentParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetFramebufferAttachmentParameterivOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetRenderbufferParameteriv) {
+ void ** procp = (void **) &disp->GetRenderbufferParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetRenderbufferParameteriv) {
+ void ** procp = (void **) &disp->GetRenderbufferParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameterivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetRenderbufferParameteriv) {
+ void ** procp = (void **) &disp->GetRenderbufferParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameterivOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsFramebuffer) {
+ void ** procp = (void **) &disp->IsFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsFramebuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsFramebuffer) {
+ void ** procp = (void **) &disp->IsFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsFramebufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsFramebuffer) {
+ void ** procp = (void **) &disp->IsFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsFramebufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsRenderbuffer) {
+ void ** procp = (void **) &disp->IsRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsRenderbuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsRenderbuffer) {
+ void ** procp = (void **) &disp->IsRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsRenderbufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsRenderbuffer) {
+ void ** procp = (void **) &disp->IsRenderbuffer;
+ snprintf(symboln, sizeof(symboln), "%sIsRenderbufferOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderbufferStorage) {
+ void ** procp = (void **) &disp->RenderbufferStorage;
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderbufferStorage) {
+ void ** procp = (void **) &disp->RenderbufferStorage;
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderbufferStorage) {
+ void ** procp = (void **) &disp->RenderbufferStorage;
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderbufferStorageMultisample) {
+ void ** procp = (void **) &disp->RenderbufferStorageMultisample;
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisample", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RenderbufferStorageMultisample) {
+ void ** procp = (void **) &disp->RenderbufferStorageMultisample;
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisampleEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FramebufferTextureFaceARB) {
+ void ** procp = (void **) &disp->FramebufferTextureFaceARB;
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureFaceARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FlushMappedBufferRange) {
+ void ** procp = (void **) &disp->FlushMappedBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FlushMappedBufferRange) {
+ void ** procp = (void **) &disp->FlushMappedBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRangeEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapBufferRange) {
+ void ** procp = (void **) &disp->MapBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sMapBufferRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MapBufferRange) {
+ void ** procp = (void **) &disp->MapBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sMapBufferRangeEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindVertexArray) {
+ void ** procp = (void **) &disp->BindVertexArray;
+ snprintf(symboln, sizeof(symboln), "%sBindVertexArray", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindVertexArray) {
+ void ** procp = (void **) &disp->BindVertexArray;
+ snprintf(symboln, sizeof(symboln), "%sBindVertexArrayOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteVertexArrays) {
+ void ** procp = (void **) &disp->DeleteVertexArrays;
+ snprintf(symboln, sizeof(symboln), "%sDeleteVertexArrays", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteVertexArrays) {
+ void ** procp = (void **) &disp->DeleteVertexArrays;
+ snprintf(symboln, sizeof(symboln), "%sDeleteVertexArraysAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteVertexArrays) {
+ void ** procp = (void **) &disp->DeleteVertexArrays;
+ snprintf(symboln, sizeof(symboln), "%sDeleteVertexArraysOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenVertexArrays) {
+ void ** procp = (void **) &disp->GenVertexArrays;
+ snprintf(symboln, sizeof(symboln), "%sGenVertexArrays", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenVertexArrays) {
+ void ** procp = (void **) &disp->GenVertexArrays;
+ snprintf(symboln, sizeof(symboln), "%sGenVertexArraysOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsVertexArray) {
+ void ** procp = (void **) &disp->IsVertexArray;
+ snprintf(symboln, sizeof(symboln), "%sIsVertexArray", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsVertexArray) {
+ void ** procp = (void **) &disp->IsVertexArray;
+ snprintf(symboln, sizeof(symboln), "%sIsVertexArrayAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsVertexArray) {
+ void ** procp = (void **) &disp->IsVertexArray;
+ snprintf(symboln, sizeof(symboln), "%sIsVertexArrayOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniformBlockName) {
+ void ** procp = (void **) &disp->GetActiveUniformBlockName;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformBlockName", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniformBlockiv) {
+ void ** procp = (void **) &disp->GetActiveUniformBlockiv;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformBlockiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniformName) {
+ void ** procp = (void **) &disp->GetActiveUniformName;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformName", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetActiveUniformsiv) {
+ void ** procp = (void **) &disp->GetActiveUniformsiv;
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformsiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformBlockIndex) {
+ void ** procp = (void **) &disp->GetUniformBlockIndex;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformBlockIndex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetUniformIndices) {
+ void ** procp = (void **) &disp->GetUniformIndices;
+ snprintf(symboln, sizeof(symboln), "%sGetUniformIndices", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UniformBlockBinding) {
+ void ** procp = (void **) &disp->UniformBlockBinding;
+ snprintf(symboln, sizeof(symboln), "%sUniformBlockBinding", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CopyBufferSubData) {
+ void ** procp = (void **) &disp->CopyBufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sCopyBufferSubData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClientWaitSync) {
+ void ** procp = (void **) &disp->ClientWaitSync;
+ snprintf(symboln, sizeof(symboln), "%sClientWaitSync", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteSync) {
+ void ** procp = (void **) &disp->DeleteSync;
+ snprintf(symboln, sizeof(symboln), "%sDeleteSync", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FenceSync) {
+ void ** procp = (void **) &disp->FenceSync;
+ snprintf(symboln, sizeof(symboln), "%sFenceSync", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetInteger64v) {
+ void ** procp = (void **) &disp->GetInteger64v;
+ snprintf(symboln, sizeof(symboln), "%sGetInteger64v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSynciv) {
+ void ** procp = (void **) &disp->GetSynciv;
+ snprintf(symboln, sizeof(symboln), "%sGetSynciv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsSync) {
+ void ** procp = (void **) &disp->IsSync;
+ snprintf(symboln, sizeof(symboln), "%sIsSync", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WaitSync) {
+ void ** procp = (void **) &disp->WaitSync;
+ snprintf(symboln, sizeof(symboln), "%sWaitSync", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsBaseVertex) {
+ void ** procp = (void **) &disp->DrawElementsBaseVertex;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsBaseVertex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedBaseVertex) {
+ void ** procp = (void **) &disp->DrawElementsInstancedBaseVertex;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseVertex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawRangeElementsBaseVertex) {
+ void ** procp = (void **) &disp->DrawRangeElementsBaseVertex;
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsBaseVertex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiDrawElementsBaseVertex) {
+ void ** procp = (void **) &disp->MultiDrawElementsBaseVertex;
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsBaseVertex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProvokingVertex) {
+ void ** procp = (void **) &disp->ProvokingVertex;
+ snprintf(symboln, sizeof(symboln), "%sProvokingVertexEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProvokingVertex) {
+ void ** procp = (void **) &disp->ProvokingVertex;
+ snprintf(symboln, sizeof(symboln), "%sProvokingVertex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMultisamplefv) {
+ void ** procp = (void **) &disp->GetMultisamplefv;
+ snprintf(symboln, sizeof(symboln), "%sGetMultisamplefv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleMaski) {
+ void ** procp = (void **) &disp->SampleMaski;
+ snprintf(symboln, sizeof(symboln), "%sSampleMaski", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage2DMultisample) {
+ void ** procp = (void **) &disp->TexImage2DMultisample;
+ snprintf(symboln, sizeof(symboln), "%sTexImage2DMultisample", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexImage3DMultisample) {
+ void ** procp = (void **) &disp->TexImage3DMultisample;
+ snprintf(symboln, sizeof(symboln), "%sTexImage3DMultisample", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparateiARB) {
+ void ** procp = (void **) &disp->BlendEquationSeparateiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateiARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationSeparateiARB) {
+ void ** procp = (void **) &disp->BlendEquationSeparateiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateIndexedAMD", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationiARB) {
+ void ** procp = (void **) &disp->BlendEquationiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationiARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendEquationiARB) {
+ void ** procp = (void **) &disp->BlendEquationiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationIndexedAMD", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparateiARB) {
+ void ** procp = (void **) &disp->BlendFuncSeparateiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateiARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFuncSeparateiARB) {
+ void ** procp = (void **) &disp->BlendFuncSeparateiARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateIndexedAMD", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFunciARB) {
+ void ** procp = (void **) &disp->BlendFunciARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendFunciARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BlendFunciARB) {
+ void ** procp = (void **) &disp->BlendFunciARB;
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncIndexedAMD", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFragDataLocationIndexed) {
+ void ** procp = (void **) &disp->BindFragDataLocationIndexed;
+ snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationIndexed", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFragDataIndex) {
+ void ** procp = (void **) &disp->GetFragDataIndex;
+ snprintf(symboln, sizeof(symboln), "%sGetFragDataIndex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindSampler) {
+ void ** procp = (void **) &disp->BindSampler;
+ snprintf(symboln, sizeof(symboln), "%sBindSampler", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteSamplers) {
+ void ** procp = (void **) &disp->DeleteSamplers;
+ snprintf(symboln, sizeof(symboln), "%sDeleteSamplers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenSamplers) {
+ void ** procp = (void **) &disp->GenSamplers;
+ snprintf(symboln, sizeof(symboln), "%sGenSamplers", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSamplerParameterIiv) {
+ void ** procp = (void **) &disp->GetSamplerParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSamplerParameterIuiv) {
+ void ** procp = (void **) &disp->GetSamplerParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSamplerParameterfv) {
+ void ** procp = (void **) &disp->GetSamplerParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetSamplerParameteriv) {
+ void ** procp = (void **) &disp->GetSamplerParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsSampler) {
+ void ** procp = (void **) &disp->IsSampler;
+ snprintf(symboln, sizeof(symboln), "%sIsSampler", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameterIiv) {
+ void ** procp = (void **) &disp->SamplerParameterIiv;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterIiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameterIuiv) {
+ void ** procp = (void **) &disp->SamplerParameterIuiv;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterIuiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameterf) {
+ void ** procp = (void **) &disp->SamplerParameterf;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameterfv) {
+ void ** procp = (void **) &disp->SamplerParameterfv;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameteri) {
+ void ** procp = (void **) &disp->SamplerParameteri;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameteri", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplerParameteriv) {
+ void ** procp = (void **) &disp->SamplerParameteriv;
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameteriv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjecti64v) {
+ void ** procp = (void **) &disp->GetQueryObjecti64v;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjecti64v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjecti64v) {
+ void ** procp = (void **) &disp->GetQueryObjecti64v;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjecti64vEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectui64v) {
+ void ** procp = (void **) &disp->GetQueryObjectui64v;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectui64v", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryObjectui64v) {
+ void ** procp = (void **) &disp->GetQueryObjectui64v;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectui64vEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->QueryCounter) {
+ void ** procp = (void **) &disp->QueryCounter;
+ snprintf(symboln, sizeof(symboln), "%sQueryCounter", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorP3ui) {
+ void ** procp = (void **) &disp->ColorP3ui;
+ snprintf(symboln, sizeof(symboln), "%sColorP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorP3uiv) {
+ void ** procp = (void **) &disp->ColorP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sColorP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorP4ui) {
+ void ** procp = (void **) &disp->ColorP4ui;
+ snprintf(symboln, sizeof(symboln), "%sColorP4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorP4uiv) {
+ void ** procp = (void **) &disp->ColorP4uiv;
+ snprintf(symboln, sizeof(symboln), "%sColorP4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP1ui) {
+ void ** procp = (void **) &disp->MultiTexCoordP1ui;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP1uiv) {
+ void ** procp = (void **) &disp->MultiTexCoordP1uiv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP2ui) {
+ void ** procp = (void **) &disp->MultiTexCoordP2ui;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP2uiv) {
+ void ** procp = (void **) &disp->MultiTexCoordP2uiv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP3ui) {
+ void ** procp = (void **) &disp->MultiTexCoordP3ui;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP3uiv) {
+ void ** procp = (void **) &disp->MultiTexCoordP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP4ui) {
+ void ** procp = (void **) &disp->MultiTexCoordP4ui;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoordP4uiv) {
+ void ** procp = (void **) &disp->MultiTexCoordP4uiv;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->NormalP3ui) {
+ void ** procp = (void **) &disp->NormalP3ui;
+ snprintf(symboln, sizeof(symboln), "%sNormalP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->NormalP3uiv) {
+ void ** procp = (void **) &disp->NormalP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sNormalP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColorP3ui) {
+ void ** procp = (void **) &disp->SecondaryColorP3ui;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColorP3uiv) {
+ void ** procp = (void **) &disp->SecondaryColorP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP1ui) {
+ void ** procp = (void **) &disp->TexCoordP1ui;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP1ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP1uiv) {
+ void ** procp = (void **) &disp->TexCoordP1uiv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP1uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP2ui) {
+ void ** procp = (void **) &disp->TexCoordP2ui;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP2uiv) {
+ void ** procp = (void **) &disp->TexCoordP2uiv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP3ui) {
+ void ** procp = (void **) &disp->TexCoordP3ui;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP3uiv) {
+ void ** procp = (void **) &disp->TexCoordP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP4ui) {
+ void ** procp = (void **) &disp->TexCoordP4ui;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordP4uiv) {
+ void ** procp = (void **) &disp->TexCoordP4uiv;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordP4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP1ui) {
+ void ** procp = (void **) &disp->VertexAttribP1ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP1ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP1uiv) {
+ void ** procp = (void **) &disp->VertexAttribP1uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP1uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP2ui) {
+ void ** procp = (void **) &disp->VertexAttribP2ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP2uiv) {
+ void ** procp = (void **) &disp->VertexAttribP2uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP3ui) {
+ void ** procp = (void **) &disp->VertexAttribP3ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP3uiv) {
+ void ** procp = (void **) &disp->VertexAttribP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP4ui) {
+ void ** procp = (void **) &disp->VertexAttribP4ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribP4uiv) {
+ void ** procp = (void **) &disp->VertexAttribP4uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP2ui) {
+ void ** procp = (void **) &disp->VertexP2ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexP2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP2uiv) {
+ void ** procp = (void **) &disp->VertexP2uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexP2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP3ui) {
+ void ** procp = (void **) &disp->VertexP3ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexP3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP3uiv) {
+ void ** procp = (void **) &disp->VertexP3uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexP3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP4ui) {
+ void ** procp = (void **) &disp->VertexP4ui;
+ snprintf(symboln, sizeof(symboln), "%sVertexP4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexP4uiv) {
+ void ** procp = (void **) &disp->VertexP4uiv;
+ snprintf(symboln, sizeof(symboln), "%sVertexP4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindTransformFeedback) {
+ void ** procp = (void **) &disp->BindTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sBindTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteTransformFeedbacks) {
+ void ** procp = (void **) &disp->DeleteTransformFeedbacks;
+ snprintf(symboln, sizeof(symboln), "%sDeleteTransformFeedbacks", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTransformFeedback) {
+ void ** procp = (void **) &disp->DrawTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenTransformFeedbacks) {
+ void ** procp = (void **) &disp->GenTransformFeedbacks;
+ snprintf(symboln, sizeof(symboln), "%sGenTransformFeedbacks", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IsTransformFeedback) {
+ void ** procp = (void **) &disp->IsTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sIsTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PauseTransformFeedback) {
+ void ** procp = (void **) &disp->PauseTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sPauseTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResumeTransformFeedback) {
+ void ** procp = (void **) &disp->ResumeTransformFeedback;
+ snprintf(symboln, sizeof(symboln), "%sResumeTransformFeedback", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginQueryIndexed) {
+ void ** procp = (void **) &disp->BeginQueryIndexed;
+ snprintf(symboln, sizeof(symboln), "%sBeginQueryIndexed", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTransformFeedbackStream) {
+ void ** procp = (void **) &disp->DrawTransformFeedbackStream;
+ snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedbackStream", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndQueryIndexed) {
+ void ** procp = (void **) &disp->EndQueryIndexed;
+ snprintf(symboln, sizeof(symboln), "%sEndQueryIndexed", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetQueryIndexediv) {
+ void ** procp = (void **) &disp->GetQueryIndexediv;
+ snprintf(symboln, sizeof(symboln), "%sGetQueryIndexediv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearDepthf) {
+ void ** procp = (void **) &disp->ClearDepthf;
+ snprintf(symboln, sizeof(symboln), "%sClearDepthf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearDepthf) {
+ void ** procp = (void **) &disp->ClearDepthf;
+ snprintf(symboln, sizeof(symboln), "%sClearDepthfOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthRangef) {
+ void ** procp = (void **) &disp->DepthRangef;
+ snprintf(symboln, sizeof(symboln), "%sDepthRangef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthRangef) {
+ void ** procp = (void **) &disp->DepthRangef;
+ snprintf(symboln, sizeof(symboln), "%sDepthRangefOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetShaderPrecisionFormat) {
+ void ** procp = (void **) &disp->GetShaderPrecisionFormat;
+ snprintf(symboln, sizeof(symboln), "%sGetShaderPrecisionFormat", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ReleaseShaderCompiler) {
+ void ** procp = (void **) &disp->ReleaseShaderCompiler;
+ snprintf(symboln, sizeof(symboln), "%sReleaseShaderCompiler", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ShaderBinary) {
+ void ** procp = (void **) &disp->ShaderBinary;
+ snprintf(symboln, sizeof(symboln), "%sShaderBinary", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramBinary) {
+ void ** procp = (void **) &disp->GetProgramBinary;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramBinary", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramBinary) {
+ void ** procp = (void **) &disp->GetProgramBinary;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramBinaryOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramBinary) {
+ void ** procp = (void **) &disp->ProgramBinary;
+ snprintf(symboln, sizeof(symboln), "%sProgramBinary", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramBinary) {
+ void ** procp = (void **) &disp->ProgramBinary;
+ snprintf(symboln, sizeof(symboln), "%sProgramBinaryOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramParameteri) {
+ void ** procp = (void **) &disp->ProgramParameteri;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameteriARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramParameteri) {
+ void ** procp = (void **) &disp->ProgramParameteri;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameteri", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DebugMessageCallbackARB) {
+ void ** procp = (void **) &disp->DebugMessageCallbackARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageCallbackARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DebugMessageControlARB) {
+ void ** procp = (void **) &disp->DebugMessageControlARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageControlARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DebugMessageInsertARB) {
+ void ** procp = (void **) &disp->DebugMessageInsertARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageInsertARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetDebugMessageLogARB) {
+ void ** procp = (void **) &disp->GetDebugMessageLogARB;
+ snprintf(symboln, sizeof(symboln), "%sGetDebugMessageLogARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetGraphicsResetStatusARB) {
+ void ** procp = (void **) &disp->GetGraphicsResetStatusARB;
+ snprintf(symboln, sizeof(symboln), "%sGetGraphicsResetStatusARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnColorTableARB) {
+ void ** procp = (void **) &disp->GetnColorTableARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnColorTableARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnCompressedTexImageARB) {
+ void ** procp = (void **) &disp->GetnCompressedTexImageARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnCompressedTexImageARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnConvolutionFilterARB) {
+ void ** procp = (void **) &disp->GetnConvolutionFilterARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnConvolutionFilterARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnHistogramARB) {
+ void ** procp = (void **) &disp->GetnHistogramARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnHistogramARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnMapdvARB) {
+ void ** procp = (void **) &disp->GetnMapdvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnMapdvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnMapfvARB) {
+ void ** procp = (void **) &disp->GetnMapfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnMapfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnMapivARB) {
+ void ** procp = (void **) &disp->GetnMapivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnMapivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnMinmaxARB) {
+ void ** procp = (void **) &disp->GetnMinmaxARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnMinmaxARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnPixelMapfvARB) {
+ void ** procp = (void **) &disp->GetnPixelMapfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnPixelMapuivARB) {
+ void ** procp = (void **) &disp->GetnPixelMapuivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapuivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnPixelMapusvARB) {
+ void ** procp = (void **) &disp->GetnPixelMapusvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapusvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnPolygonStippleARB) {
+ void ** procp = (void **) &disp->GetnPolygonStippleARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnPolygonStippleARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnSeparableFilterARB) {
+ void ** procp = (void **) &disp->GetnSeparableFilterARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnSeparableFilterARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnTexImageARB) {
+ void ** procp = (void **) &disp->GetnTexImageARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnTexImageARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnUniformdvARB) {
+ void ** procp = (void **) &disp->GetnUniformdvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnUniformdvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnUniformfvARB) {
+ void ** procp = (void **) &disp->GetnUniformfvARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnUniformfvARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnUniformivARB) {
+ void ** procp = (void **) &disp->GetnUniformivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnUniformivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetnUniformuivARB) {
+ void ** procp = (void **) &disp->GetnUniformuivARB;
+ snprintf(symboln, sizeof(symboln), "%sGetnUniformuivARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ReadnPixelsARB) {
+ void ** procp = (void **) &disp->ReadnPixelsARB;
+ snprintf(symboln, sizeof(symboln), "%sReadnPixelsARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawArraysInstancedBaseInstance) {
+ void ** procp = (void **) &disp->DrawArraysInstancedBaseInstance;
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedBaseInstance", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedBaseInstance) {
+ void ** procp = (void **) &disp->DrawElementsInstancedBaseInstance;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseInstance", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawElementsInstancedBaseVertexBaseInstance) {
+ void ** procp = (void **) &disp->DrawElementsInstancedBaseVertexBaseInstance;
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseVertexBaseInstance", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTransformFeedbackInstanced) {
+ void ** procp = (void **) &disp->DrawTransformFeedbackInstanced;
+ snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedbackInstanced", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTransformFeedbackStreamInstanced) {
+ void ** procp = (void **) &disp->DrawTransformFeedbackStreamInstanced;
+ snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedbackStreamInstanced", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetInternalformativ) {
+ void ** procp = (void **) &disp->GetInternalformativ;
+ snprintf(symboln, sizeof(symboln), "%sGetInternalformativ", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexStorage1D) {
+ void ** procp = (void **) &disp->TexStorage1D;
+ snprintf(symboln, sizeof(symboln), "%sTexStorage1D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexStorage2D) {
+ void ** procp = (void **) &disp->TexStorage2D;
+ snprintf(symboln, sizeof(symboln), "%sTexStorage2D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexStorage3D) {
+ void ** procp = (void **) &disp->TexStorage3D;
+ snprintf(symboln, sizeof(symboln), "%sTexStorage3D", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TextureStorage1DEXT) {
+ void ** procp = (void **) &disp->TextureStorage1DEXT;
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage1DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TextureStorage2DEXT) {
+ void ** procp = (void **) &disp->TextureStorage2DEXT;
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage2DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TextureStorage3DEXT) {
+ void ** procp = (void **) &disp->TextureStorage3DEXT;
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage3DEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexBufferRange) {
+ void ** procp = (void **) &disp->TexBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sTexBufferRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateBufferData) {
+ void ** procp = (void **) &disp->InvalidateBufferData;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateBufferData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateBufferSubData) {
+ void ** procp = (void **) &disp->InvalidateBufferSubData;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateBufferSubData", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateFramebuffer) {
+ void ** procp = (void **) &disp->InvalidateFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateFramebuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateSubFramebuffer) {
+ void ** procp = (void **) &disp->InvalidateSubFramebuffer;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateSubFramebuffer", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateTexImage) {
+ void ** procp = (void **) &disp->InvalidateTexImage;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateTexImage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->InvalidateTexSubImage) {
+ void ** procp = (void **) &disp->InvalidateTexSubImage;
+ snprintf(symboln, sizeof(symboln), "%sInvalidateTexSubImage", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonOffsetEXT) {
+ void ** procp = (void **) &disp->PolygonOffsetEXT;
+ snprintf(symboln, sizeof(symboln), "%sPolygonOffsetEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexfOES) {
+ void ** procp = (void **) &disp->DrawTexfOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexfOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexfvOES) {
+ void ** procp = (void **) &disp->DrawTexfvOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexfvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexiOES) {
+ void ** procp = (void **) &disp->DrawTexiOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexiOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexivOES) {
+ void ** procp = (void **) &disp->DrawTexivOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexivOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexsOES) {
+ void ** procp = (void **) &disp->DrawTexsOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexsOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexsvOES) {
+ void ** procp = (void **) &disp->DrawTexsvOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexsvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexxOES) {
+ void ** procp = (void **) &disp->DrawTexxOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DrawTexxvOES) {
+ void ** procp = (void **) &disp->DrawTexxvOES;
+ snprintf(symboln, sizeof(symboln), "%sDrawTexxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointSizePointerOES) {
+ void ** procp = (void **) &disp->PointSizePointerOES;
+ snprintf(symboln, sizeof(symboln), "%sPointSizePointerOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->QueryMatrixxOES) {
+ void ** procp = (void **) &disp->QueryMatrixxOES;
+ snprintf(symboln, sizeof(symboln), "%sQueryMatrixxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleMaskSGIS) {
+ void ** procp = (void **) &disp->SampleMaskSGIS;
+ snprintf(symboln, sizeof(symboln), "%sSampleMaskSGIS", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleMaskSGIS) {
+ void ** procp = (void **) &disp->SampleMaskSGIS;
+ snprintf(symboln, sizeof(symboln), "%sSampleMaskEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplePatternSGIS) {
+ void ** procp = (void **) &disp->SamplePatternSGIS;
+ snprintf(symboln, sizeof(symboln), "%sSamplePatternSGIS", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SamplePatternSGIS) {
+ void ** procp = (void **) &disp->SamplePatternSGIS;
+ snprintf(symboln, sizeof(symboln), "%sSamplePatternEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorPointerEXT) {
+ void ** procp = (void **) &disp->ColorPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sColorPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EdgeFlagPointerEXT) {
+ void ** procp = (void **) &disp->EdgeFlagPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->IndexPointerEXT) {
+ void ** procp = (void **) &disp->IndexPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sIndexPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->NormalPointerEXT) {
+ void ** procp = (void **) &disp->NormalPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sNormalPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexCoordPointerEXT) {
+ void ** procp = (void **) &disp->TexCoordPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sTexCoordPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexPointerEXT) {
+ void ** procp = (void **) &disp->VertexPointerEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexPointerEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DiscardFramebufferEXT) {
+ void ** procp = (void **) &disp->DiscardFramebufferEXT;
+ snprintf(symboln, sizeof(symboln), "%sDiscardFramebufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LockArraysEXT) {
+ void ** procp = (void **) &disp->LockArraysEXT;
+ snprintf(symboln, sizeof(symboln), "%sLockArraysEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UnlockArraysEXT) {
+ void ** procp = (void **) &disp->UnlockArraysEXT;
+ snprintf(symboln, sizeof(symboln), "%sUnlockArraysEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3fEXT) {
+ void ** procp = (void **) &disp->SecondaryColor3fEXT;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3f", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3fEXT) {
+ void ** procp = (void **) &disp->SecondaryColor3fEXT;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3fvEXT) {
+ void ** procp = (void **) &disp->SecondaryColor3fvEXT;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SecondaryColor3fvEXT) {
+ void ** procp = (void **) &disp->SecondaryColor3fvEXT;
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiDrawElementsEXT) {
+ void ** procp = (void **) &disp->MultiDrawElementsEXT;
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElements", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiDrawElementsEXT) {
+ void ** procp = (void **) &disp->MultiDrawElementsEXT;
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordfEXT) {
+ void ** procp = (void **) &disp->FogCoordfEXT;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordfEXT) {
+ void ** procp = (void **) &disp->FogCoordfEXT;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordfEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordfvEXT) {
+ void ** procp = (void **) &disp->FogCoordfvEXT;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordfv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FogCoordfvEXT) {
+ void ** procp = (void **) &disp->FogCoordfvEXT;
+ snprintf(symboln, sizeof(symboln), "%sFogCoordfvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ResizeBuffersMESA) {
+ void ** procp = (void **) &disp->ResizeBuffersMESA;
+ snprintf(symboln, sizeof(symboln), "%sResizeBuffersMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4dMESA) {
+ void ** procp = (void **) &disp->WindowPos4dMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4dMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4dvMESA) {
+ void ** procp = (void **) &disp->WindowPos4dvMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4dvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4fMESA) {
+ void ** procp = (void **) &disp->WindowPos4fMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4fMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4fvMESA) {
+ void ** procp = (void **) &disp->WindowPos4fvMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4fvMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4iMESA) {
+ void ** procp = (void **) &disp->WindowPos4iMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4iMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4ivMESA) {
+ void ** procp = (void **) &disp->WindowPos4ivMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4ivMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4sMESA) {
+ void ** procp = (void **) &disp->WindowPos4sMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4sMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->WindowPos4svMESA) {
+ void ** procp = (void **) &disp->WindowPos4svMESA;
+ snprintf(symboln, sizeof(symboln), "%sWindowPos4svMESA", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiModeDrawArraysIBM) {
+ void ** procp = (void **) &disp->MultiModeDrawArraysIBM;
+ snprintf(symboln, sizeof(symboln), "%sMultiModeDrawArraysIBM", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiModeDrawElementsIBM) {
+ void ** procp = (void **) &disp->MultiModeDrawElementsIBM;
+ snprintf(symboln, sizeof(symboln), "%sMultiModeDrawElementsIBM", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AreProgramsResidentNV) {
+ void ** procp = (void **) &disp->AreProgramsResidentNV;
+ snprintf(symboln, sizeof(symboln), "%sAreProgramsResidentNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ExecuteProgramNV) {
+ void ** procp = (void **) &disp->ExecuteProgramNV;
+ snprintf(symboln, sizeof(symboln), "%sExecuteProgramNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramParameterdvNV) {
+ void ** procp = (void **) &disp->GetProgramParameterdvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramParameterdvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramParameterfvNV) {
+ void ** procp = (void **) &disp->GetProgramParameterfvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramParameterfvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramStringNV) {
+ void ** procp = (void **) &disp->GetProgramStringNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramStringNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramivNV) {
+ void ** procp = (void **) &disp->GetProgramivNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramivNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTrackMatrixivNV) {
+ void ** procp = (void **) &disp->GetTrackMatrixivNV;
+ snprintf(symboln, sizeof(symboln), "%sGetTrackMatrixivNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribdvNV) {
+ void ** procp = (void **) &disp->GetVertexAttribdvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribfvNV) {
+ void ** procp = (void **) &disp->GetVertexAttribfvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetVertexAttribivNV) {
+ void ** procp = (void **) &disp->GetVertexAttribivNV;
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadProgramNV) {
+ void ** procp = (void **) &disp->LoadProgramNV;
+ snprintf(symboln, sizeof(symboln), "%sLoadProgramNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramParameters4dvNV) {
+ void ** procp = (void **) &disp->ProgramParameters4dvNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameters4dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramParameters4fvNV) {
+ void ** procp = (void **) &disp->ProgramParameters4fvNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramParameters4fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->RequestResidentProgramsNV) {
+ void ** procp = (void **) &disp->RequestResidentProgramsNV;
+ snprintf(symboln, sizeof(symboln), "%sRequestResidentProgramsNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TrackMatrixNV) {
+ void ** procp = (void **) &disp->TrackMatrixNV;
+ snprintf(symboln, sizeof(symboln), "%sTrackMatrixNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1dNV) {
+ void ** procp = (void **) &disp->VertexAttrib1dNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1dvNV) {
+ void ** procp = (void **) &disp->VertexAttrib1dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fNV) {
+ void ** procp = (void **) &disp->VertexAttrib1fNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1fvNV) {
+ void ** procp = (void **) &disp->VertexAttrib1fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1sNV) {
+ void ** procp = (void **) &disp->VertexAttrib1sNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib1svNV) {
+ void ** procp = (void **) &disp->VertexAttrib1svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2dNV) {
+ void ** procp = (void **) &disp->VertexAttrib2dNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2dvNV) {
+ void ** procp = (void **) &disp->VertexAttrib2dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fNV) {
+ void ** procp = (void **) &disp->VertexAttrib2fNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2fvNV) {
+ void ** procp = (void **) &disp->VertexAttrib2fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2sNV) {
+ void ** procp = (void **) &disp->VertexAttrib2sNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib2svNV) {
+ void ** procp = (void **) &disp->VertexAttrib2svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3dNV) {
+ void ** procp = (void **) &disp->VertexAttrib3dNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3dvNV) {
+ void ** procp = (void **) &disp->VertexAttrib3dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fNV) {
+ void ** procp = (void **) &disp->VertexAttrib3fNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3fvNV) {
+ void ** procp = (void **) &disp->VertexAttrib3fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3sNV) {
+ void ** procp = (void **) &disp->VertexAttrib3sNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib3svNV) {
+ void ** procp = (void **) &disp->VertexAttrib3svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4dNV) {
+ void ** procp = (void **) &disp->VertexAttrib4dNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4dvNV) {
+ void ** procp = (void **) &disp->VertexAttrib4dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fNV) {
+ void ** procp = (void **) &disp->VertexAttrib4fNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4fvNV) {
+ void ** procp = (void **) &disp->VertexAttrib4fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4sNV) {
+ void ** procp = (void **) &disp->VertexAttrib4sNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4svNV) {
+ void ** procp = (void **) &disp->VertexAttrib4svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4ubNV) {
+ void ** procp = (void **) &disp->VertexAttrib4ubNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttrib4ubvNV) {
+ void ** procp = (void **) &disp->VertexAttrib4ubvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribPointerNV) {
+ void ** procp = (void **) &disp->VertexAttribPointerNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs1dvNV) {
+ void ** procp = (void **) &disp->VertexAttribs1dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs1fvNV) {
+ void ** procp = (void **) &disp->VertexAttribs1fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs1svNV) {
+ void ** procp = (void **) &disp->VertexAttribs1svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs2dvNV) {
+ void ** procp = (void **) &disp->VertexAttribs2dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs2fvNV) {
+ void ** procp = (void **) &disp->VertexAttribs2fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs2svNV) {
+ void ** procp = (void **) &disp->VertexAttribs2svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs3dvNV) {
+ void ** procp = (void **) &disp->VertexAttribs3dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs3fvNV) {
+ void ** procp = (void **) &disp->VertexAttribs3fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs3svNV) {
+ void ** procp = (void **) &disp->VertexAttribs3svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs4dvNV) {
+ void ** procp = (void **) &disp->VertexAttribs4dvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs4fvNV) {
+ void ** procp = (void **) &disp->VertexAttribs4fvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs4svNV) {
+ void ** procp = (void **) &disp->VertexAttribs4svNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4svNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribs4ubvNV) {
+ void ** procp = (void **) &disp->VertexAttribs4ubvNV;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4ubvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexBumpParameterfvATI) {
+ void ** procp = (void **) &disp->GetTexBumpParameterfvATI;
+ snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterfvATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexBumpParameterivATI) {
+ void ** procp = (void **) &disp->GetTexBumpParameterivATI;
+ snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterivATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexBumpParameterfvATI) {
+ void ** procp = (void **) &disp->TexBumpParameterfvATI;
+ snprintf(symboln, sizeof(symboln), "%sTexBumpParameterfvATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexBumpParameterivATI) {
+ void ** procp = (void **) &disp->TexBumpParameterivATI;
+ snprintf(symboln, sizeof(symboln), "%sTexBumpParameterivATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFragmentOp1ATI) {
+ void ** procp = (void **) &disp->AlphaFragmentOp1ATI;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp1ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFragmentOp2ATI) {
+ void ** procp = (void **) &disp->AlphaFragmentOp2ATI;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp2ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFragmentOp3ATI) {
+ void ** procp = (void **) &disp->AlphaFragmentOp3ATI;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp3ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BeginFragmentShaderATI) {
+ void ** procp = (void **) &disp->BeginFragmentShaderATI;
+ snprintf(symboln, sizeof(symboln), "%sBeginFragmentShaderATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindFragmentShaderATI) {
+ void ** procp = (void **) &disp->BindFragmentShaderATI;
+ snprintf(symboln, sizeof(symboln), "%sBindFragmentShaderATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorFragmentOp1ATI) {
+ void ** procp = (void **) &disp->ColorFragmentOp1ATI;
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp1ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorFragmentOp2ATI) {
+ void ** procp = (void **) &disp->ColorFragmentOp2ATI;
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp2ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ColorFragmentOp3ATI) {
+ void ** procp = (void **) &disp->ColorFragmentOp3ATI;
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp3ATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DeleteFragmentShaderATI) {
+ void ** procp = (void **) &disp->DeleteFragmentShaderATI;
+ snprintf(symboln, sizeof(symboln), "%sDeleteFragmentShaderATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EndFragmentShaderATI) {
+ void ** procp = (void **) &disp->EndFragmentShaderATI;
+ snprintf(symboln, sizeof(symboln), "%sEndFragmentShaderATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenFragmentShadersATI) {
+ void ** procp = (void **) &disp->GenFragmentShadersATI;
+ snprintf(symboln, sizeof(symboln), "%sGenFragmentShadersATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PassTexCoordATI) {
+ void ** procp = (void **) &disp->PassTexCoordATI;
+ snprintf(symboln, sizeof(symboln), "%sPassTexCoordATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleMapATI) {
+ void ** procp = (void **) &disp->SampleMapATI;
+ snprintf(symboln, sizeof(symboln), "%sSampleMapATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SetFragmentShaderConstantATI) {
+ void ** procp = (void **) &disp->SetFragmentShaderConstantATI;
+ snprintf(symboln, sizeof(symboln), "%sSetFragmentShaderConstantATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ActiveStencilFaceEXT) {
+ void ** procp = (void **) &disp->ActiveStencilFaceEXT;
+ snprintf(symboln, sizeof(symboln), "%sActiveStencilFaceEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindVertexArrayAPPLE) {
+ void ** procp = (void **) &disp->BindVertexArrayAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sBindVertexArrayAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GenVertexArraysAPPLE) {
+ void ** procp = (void **) &disp->GenVertexArraysAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sGenVertexArraysAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramNamedParameterdvNV) {
+ void ** procp = (void **) &disp->GetProgramNamedParameterdvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterdvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetProgramNamedParameterfvNV) {
+ void ** procp = (void **) &disp->GetProgramNamedParameterfvNV;
+ snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterfvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramNamedParameter4dNV) {
+ void ** procp = (void **) &disp->ProgramNamedParameter4dNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramNamedParameter4dvNV) {
+ void ** procp = (void **) &disp->ProgramNamedParameter4dvNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramNamedParameter4fNV) {
+ void ** procp = (void **) &disp->ProgramNamedParameter4fNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramNamedParameter4fvNV) {
+ void ** procp = (void **) &disp->ProgramNamedParameter4fvNV;
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fvNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PrimitiveRestartNV) {
+ void ** procp = (void **) &disp->PrimitiveRestartNV;
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexGenxvOES) {
+ void ** procp = (void **) &disp->GetTexGenxvOES;
+ snprintf(symboln, sizeof(symboln), "%sGetTexGenxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenxOES) {
+ void ** procp = (void **) &disp->TexGenxOES;
+ snprintf(symboln, sizeof(symboln), "%sTexGenxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexGenxvOES) {
+ void ** procp = (void **) &disp->TexGenxvOES;
+ snprintf(symboln, sizeof(symboln), "%sTexGenxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthBoundsEXT) {
+ void ** procp = (void **) &disp->DepthBoundsEXT;
+ snprintf(symboln, sizeof(symboln), "%sDepthBoundsEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BufferParameteriAPPLE) {
+ void ** procp = (void **) &disp->BufferParameteriAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sBufferParameteriAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->FlushMappedBufferRangeAPPLE) {
+ void ** procp = (void **) &disp->FlushMappedBufferRangeAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRangeAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI1iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI1iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI1uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI1uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI1uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI2uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI2uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI3uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI3uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4iEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4iEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4i", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4ivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4ivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4uiEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4uiEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ui", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uivEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->VertexAttribI4uivEXT) {
+ void ** procp = (void **) &disp->VertexAttribI4uivEXT;
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearColorIiEXT) {
+ void ** procp = (void **) &disp->ClearColorIiEXT;
+ snprintf(symboln, sizeof(symboln), "%sClearColorIiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearColorIuiEXT) {
+ void ** procp = (void **) &disp->ClearColorIuiEXT;
+ snprintf(symboln, sizeof(symboln), "%sClearColorIuiEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindBufferOffsetEXT) {
+ void ** procp = (void **) &disp->BindBufferOffsetEXT;
+ snprintf(symboln, sizeof(symboln), "%sBindBufferOffsetEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetObjectParameterivAPPLE) {
+ void ** procp = (void **) &disp->GetObjectParameterivAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ObjectPurgeableAPPLE) {
+ void ** procp = (void **) &disp->ObjectPurgeableAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sObjectPurgeableAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ObjectUnpurgeableAPPLE) {
+ void ** procp = (void **) &disp->ObjectUnpurgeableAPPLE;
+ snprintf(symboln, sizeof(symboln), "%sObjectUnpurgeableAPPLE", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ActiveProgramEXT) {
+ void ** procp = (void **) &disp->ActiveProgramEXT;
+ snprintf(symboln, sizeof(symboln), "%sActiveProgramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->CreateShaderProgramEXT) {
+ void ** procp = (void **) &disp->CreateShaderProgramEXT;
+ snprintf(symboln, sizeof(symboln), "%sCreateShaderProgramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->UseShaderProgramEXT) {
+ void ** procp = (void **) &disp->UseShaderProgramEXT;
+ snprintf(symboln, sizeof(symboln), "%sUseShaderProgramEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TextureBarrierNV) {
+ void ** procp = (void **) &disp->TextureBarrierNV;
+ snprintf(symboln, sizeof(symboln), "%sTextureBarrierNV", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->StencilFuncSeparateATI) {
+ void ** procp = (void **) &disp->StencilFuncSeparateATI;
+ snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparateATI", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramEnvParameters4fvEXT) {
+ void ** procp = (void **) &disp->ProgramEnvParameters4fvEXT;
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameters4fvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ProgramLocalParameters4fvEXT) {
+ void ** procp = (void **) &disp->ProgramLocalParameters4fvEXT;
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameters4fvEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EGLImageTargetRenderbufferStorageOES) {
+ void ** procp = (void **) &disp->EGLImageTargetRenderbufferStorageOES;
+ snprintf(symboln, sizeof(symboln), "%sEGLImageTargetRenderbufferStorageOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->EGLImageTargetTexture2DOES) {
+ void ** procp = (void **) &disp->EGLImageTargetTexture2DOES;
+ snprintf(symboln, sizeof(symboln), "%sEGLImageTargetTexture2DOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFuncx) {
+ void ** procp = (void **) &disp->AlphaFuncx;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFuncxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->AlphaFuncx) {
+ void ** procp = (void **) &disp->AlphaFuncx;
+ snprintf(symboln, sizeof(symboln), "%sAlphaFuncx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearColorx) {
+ void ** procp = (void **) &disp->ClearColorx;
+ snprintf(symboln, sizeof(symboln), "%sClearColorxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearColorx) {
+ void ** procp = (void **) &disp->ClearColorx;
+ snprintf(symboln, sizeof(symboln), "%sClearColorx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearDepthx) {
+ void ** procp = (void **) &disp->ClearDepthx;
+ snprintf(symboln, sizeof(symboln), "%sClearDepthxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClearDepthx) {
+ void ** procp = (void **) &disp->ClearDepthx;
+ snprintf(symboln, sizeof(symboln), "%sClearDepthx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4x) {
+ void ** procp = (void **) &disp->Color4x;
+ snprintf(symboln, sizeof(symboln), "%sColor4xOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Color4x) {
+ void ** procp = (void **) &disp->Color4x;
+ snprintf(symboln, sizeof(symboln), "%sColor4x", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthRangex) {
+ void ** procp = (void **) &disp->DepthRangex;
+ snprintf(symboln, sizeof(symboln), "%sDepthRangexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DepthRangex) {
+ void ** procp = (void **) &disp->DepthRangex;
+ snprintf(symboln, sizeof(symboln), "%sDepthRangex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogx) {
+ void ** procp = (void **) &disp->Fogx;
+ snprintf(symboln, sizeof(symboln), "%sFogxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogx) {
+ void ** procp = (void **) &disp->Fogx;
+ snprintf(symboln, sizeof(symboln), "%sFogx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogxv) {
+ void ** procp = (void **) &disp->Fogxv;
+ snprintf(symboln, sizeof(symboln), "%sFogxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Fogxv) {
+ void ** procp = (void **) &disp->Fogxv;
+ snprintf(symboln, sizeof(symboln), "%sFogxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Frustumf) {
+ void ** procp = (void **) &disp->Frustumf;
+ snprintf(symboln, sizeof(symboln), "%sFrustumfOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Frustumf) {
+ void ** procp = (void **) &disp->Frustumf;
+ snprintf(symboln, sizeof(symboln), "%sFrustumf", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Frustumx) {
+ void ** procp = (void **) &disp->Frustumx;
+ snprintf(symboln, sizeof(symboln), "%sFrustumxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Frustumx) {
+ void ** procp = (void **) &disp->Frustumx;
+ snprintf(symboln, sizeof(symboln), "%sFrustumx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelx) {
+ void ** procp = (void **) &disp->LightModelx;
+ snprintf(symboln, sizeof(symboln), "%sLightModelxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelx) {
+ void ** procp = (void **) &disp->LightModelx;
+ snprintf(symboln, sizeof(symboln), "%sLightModelx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelxv) {
+ void ** procp = (void **) &disp->LightModelxv;
+ snprintf(symboln, sizeof(symboln), "%sLightModelxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LightModelxv) {
+ void ** procp = (void **) &disp->LightModelxv;
+ snprintf(symboln, sizeof(symboln), "%sLightModelxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightx) {
+ void ** procp = (void **) &disp->Lightx;
+ snprintf(symboln, sizeof(symboln), "%sLightxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightx) {
+ void ** procp = (void **) &disp->Lightx;
+ snprintf(symboln, sizeof(symboln), "%sLightx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightxv) {
+ void ** procp = (void **) &disp->Lightxv;
+ snprintf(symboln, sizeof(symboln), "%sLightxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Lightxv) {
+ void ** procp = (void **) &disp->Lightxv;
+ snprintf(symboln, sizeof(symboln), "%sLightxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LineWidthx) {
+ void ** procp = (void **) &disp->LineWidthx;
+ snprintf(symboln, sizeof(symboln), "%sLineWidthxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LineWidthx) {
+ void ** procp = (void **) &disp->LineWidthx;
+ snprintf(symboln, sizeof(symboln), "%sLineWidthx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadMatrixx) {
+ void ** procp = (void **) &disp->LoadMatrixx;
+ snprintf(symboln, sizeof(symboln), "%sLoadMatrixxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->LoadMatrixx) {
+ void ** procp = (void **) &disp->LoadMatrixx;
+ snprintf(symboln, sizeof(symboln), "%sLoadMatrixx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialx) {
+ void ** procp = (void **) &disp->Materialx;
+ snprintf(symboln, sizeof(symboln), "%sMaterialxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialx) {
+ void ** procp = (void **) &disp->Materialx;
+ snprintf(symboln, sizeof(symboln), "%sMaterialx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialxv) {
+ void ** procp = (void **) &disp->Materialxv;
+ snprintf(symboln, sizeof(symboln), "%sMaterialxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Materialxv) {
+ void ** procp = (void **) &disp->Materialxv;
+ snprintf(symboln, sizeof(symboln), "%sMaterialxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultMatrixx) {
+ void ** procp = (void **) &disp->MultMatrixx;
+ snprintf(symboln, sizeof(symboln), "%sMultMatrixxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultMatrixx) {
+ void ** procp = (void **) &disp->MultMatrixx;
+ snprintf(symboln, sizeof(symboln), "%sMultMatrixx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4x) {
+ void ** procp = (void **) &disp->MultiTexCoord4x;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4xOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->MultiTexCoord4x) {
+ void ** procp = (void **) &disp->MultiTexCoord4x;
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4x", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3x) {
+ void ** procp = (void **) &disp->Normal3x;
+ snprintf(symboln, sizeof(symboln), "%sNormal3xOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Normal3x) {
+ void ** procp = (void **) &disp->Normal3x;
+ snprintf(symboln, sizeof(symboln), "%sNormal3x", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Orthof) {
+ void ** procp = (void **) &disp->Orthof;
+ snprintf(symboln, sizeof(symboln), "%sOrthofOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Orthof) {
+ void ** procp = (void **) &disp->Orthof;
+ snprintf(symboln, sizeof(symboln), "%sOrthof", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Orthox) {
+ void ** procp = (void **) &disp->Orthox;
+ snprintf(symboln, sizeof(symboln), "%sOrthoxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Orthox) {
+ void ** procp = (void **) &disp->Orthox;
+ snprintf(symboln, sizeof(symboln), "%sOrthox", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointSizex) {
+ void ** procp = (void **) &disp->PointSizex;
+ snprintf(symboln, sizeof(symboln), "%sPointSizexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointSizex) {
+ void ** procp = (void **) &disp->PointSizex;
+ snprintf(symboln, sizeof(symboln), "%sPointSizex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonOffsetx) {
+ void ** procp = (void **) &disp->PolygonOffsetx;
+ snprintf(symboln, sizeof(symboln), "%sPolygonOffsetxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PolygonOffsetx) {
+ void ** procp = (void **) &disp->PolygonOffsetx;
+ snprintf(symboln, sizeof(symboln), "%sPolygonOffsetx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rotatex) {
+ void ** procp = (void **) &disp->Rotatex;
+ snprintf(symboln, sizeof(symboln), "%sRotatexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Rotatex) {
+ void ** procp = (void **) &disp->Rotatex;
+ snprintf(symboln, sizeof(symboln), "%sRotatex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleCoveragex) {
+ void ** procp = (void **) &disp->SampleCoveragex;
+ snprintf(symboln, sizeof(symboln), "%sSampleCoveragexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->SampleCoveragex) {
+ void ** procp = (void **) &disp->SampleCoveragex;
+ snprintf(symboln, sizeof(symboln), "%sSampleCoveragex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Scalex) {
+ void ** procp = (void **) &disp->Scalex;
+ snprintf(symboln, sizeof(symboln), "%sScalexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Scalex) {
+ void ** procp = (void **) &disp->Scalex;
+ snprintf(symboln, sizeof(symboln), "%sScalex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvx) {
+ void ** procp = (void **) &disp->TexEnvx;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvx) {
+ void ** procp = (void **) &disp->TexEnvx;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvxv) {
+ void ** procp = (void **) &disp->TexEnvxv;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexEnvxv) {
+ void ** procp = (void **) &disp->TexEnvxv;
+ snprintf(symboln, sizeof(symboln), "%sTexEnvxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterx) {
+ void ** procp = (void **) &disp->TexParameterx;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterx) {
+ void ** procp = (void **) &disp->TexParameterx;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Translatex) {
+ void ** procp = (void **) &disp->Translatex;
+ snprintf(symboln, sizeof(symboln), "%sTranslatexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->Translatex) {
+ void ** procp = (void **) &disp->Translatex;
+ snprintf(symboln, sizeof(symboln), "%sTranslatex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClipPlanef) {
+ void ** procp = (void **) &disp->ClipPlanef;
+ snprintf(symboln, sizeof(symboln), "%sClipPlanefOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClipPlanef) {
+ void ** procp = (void **) &disp->ClipPlanef;
+ snprintf(symboln, sizeof(symboln), "%sClipPlanef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClipPlanex) {
+ void ** procp = (void **) &disp->ClipPlanex;
+ snprintf(symboln, sizeof(symboln), "%sClipPlanexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->ClipPlanex) {
+ void ** procp = (void **) &disp->ClipPlanex;
+ snprintf(symboln, sizeof(symboln), "%sClipPlanex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetClipPlanef) {
+ void ** procp = (void **) &disp->GetClipPlanef;
+ snprintf(symboln, sizeof(symboln), "%sGetClipPlanefOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetClipPlanef) {
+ void ** procp = (void **) &disp->GetClipPlanef;
+ snprintf(symboln, sizeof(symboln), "%sGetClipPlanef", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetClipPlanex) {
+ void ** procp = (void **) &disp->GetClipPlanex;
+ snprintf(symboln, sizeof(symboln), "%sGetClipPlanexOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetClipPlanex) {
+ void ** procp = (void **) &disp->GetClipPlanex;
+ snprintf(symboln, sizeof(symboln), "%sGetClipPlanex", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFixedv) {
+ void ** procp = (void **) &disp->GetFixedv;
+ snprintf(symboln, sizeof(symboln), "%sGetFixedvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetFixedv) {
+ void ** procp = (void **) &disp->GetFixedv;
+ snprintf(symboln, sizeof(symboln), "%sGetFixedv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetLightxv) {
+ void ** procp = (void **) &disp->GetLightxv;
+ snprintf(symboln, sizeof(symboln), "%sGetLightxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetLightxv) {
+ void ** procp = (void **) &disp->GetLightxv;
+ snprintf(symboln, sizeof(symboln), "%sGetLightxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMaterialxv) {
+ void ** procp = (void **) &disp->GetMaterialxv;
+ snprintf(symboln, sizeof(symboln), "%sGetMaterialxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetMaterialxv) {
+ void ** procp = (void **) &disp->GetMaterialxv;
+ snprintf(symboln, sizeof(symboln), "%sGetMaterialxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexEnvxv) {
+ void ** procp = (void **) &disp->GetTexEnvxv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexEnvxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexEnvxv) {
+ void ** procp = (void **) &disp->GetTexEnvxv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexEnvxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterxv) {
+ void ** procp = (void **) &disp->GetTexParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetTexParameterxv) {
+ void ** procp = (void **) &disp->GetTexParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterx) {
+ void ** procp = (void **) &disp->PointParameterx;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterxOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterx) {
+ void ** procp = (void **) &disp->PointParameterx;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterx", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterxv) {
+ void ** procp = (void **) &disp->PointParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->PointParameterxv) {
+ void ** procp = (void **) &disp->PointParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sPointParameterxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterxv) {
+ void ** procp = (void **) &disp->TexParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterxvOES", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->TexParameterxv) {
+ void ** procp = (void **) &disp->TexParameterxv;
+ snprintf(symboln, sizeof(symboln), "%sTexParameterxv", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ __glapi_gentable_set_remaining_noop(disp);
+
+ return disp;
+}
+
diff --git a/xorg-server/glx/glapitable.h b/xorg-server/glx/glapitable.h index f7e7c6c97..9a0249c1f 100644 --- a/xorg-server/glx/glapitable.h +++ b/xorg-server/glx/glapitable.h @@ -1,1016 +1,1079 @@ -/* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */ - -/* - * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. - * (C) Copyright IBM Corporation 2004 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL, IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#if !defined( _GLAPI_TABLE_H_ ) -#define _GLAPI_TABLE_H_ - -#ifndef GLAPIENTRYP -#ifndef GLAPIENTRY -#define GLAPIENTRY -#endif - -#define GLAPIENTRYP GLAPIENTRY * -#endif - -struct _glapi_table { - void (GLAPIENTRYP NewList) (GLuint list, GLenum mode); /* 0 */ - void (GLAPIENTRYP EndList) (void); /* 1 */ - void (GLAPIENTRYP CallList) (GLuint list); /* 2 */ - void (GLAPIENTRYP CallLists) (GLsizei n, GLenum type, const GLvoid * lists); /* 3 */ - void (GLAPIENTRYP DeleteLists) (GLuint list, GLsizei range); /* 4 */ - GLuint(GLAPIENTRYP GenLists) (GLsizei range); /* 5 */ - void (GLAPIENTRYP ListBase) (GLuint base); /* 6 */ - void (GLAPIENTRYP Begin) (GLenum mode); /* 7 */ - void (GLAPIENTRYP Bitmap) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); /* 8 */ - void (GLAPIENTRYP Color3b) (GLbyte red, GLbyte green, GLbyte blue); /* 9 */ - void (GLAPIENTRYP Color3bv) (const GLbyte * v); /* 10 */ - void (GLAPIENTRYP Color3d) (GLdouble red, GLdouble green, GLdouble blue); /* 11 */ - void (GLAPIENTRYP Color3dv) (const GLdouble * v); /* 12 */ - void (GLAPIENTRYP Color3f) (GLfloat red, GLfloat green, GLfloat blue); /* 13 */ - void (GLAPIENTRYP Color3fv) (const GLfloat * v); /* 14 */ - void (GLAPIENTRYP Color3i) (GLint red, GLint green, GLint blue); /* 15 */ - void (GLAPIENTRYP Color3iv) (const GLint * v); /* 16 */ - void (GLAPIENTRYP Color3s) (GLshort red, GLshort green, GLshort blue); /* 17 */ - void (GLAPIENTRYP Color3sv) (const GLshort * v); /* 18 */ - void (GLAPIENTRYP Color3ub) (GLubyte red, GLubyte green, GLubyte blue); /* 19 */ - void (GLAPIENTRYP Color3ubv) (const GLubyte * v); /* 20 */ - void (GLAPIENTRYP Color3ui) (GLuint red, GLuint green, GLuint blue); /* 21 */ - void (GLAPIENTRYP Color3uiv) (const GLuint * v); /* 22 */ - void (GLAPIENTRYP Color3us) (GLushort red, GLushort green, GLushort blue); /* 23 */ - void (GLAPIENTRYP Color3usv) (const GLushort * v); /* 24 */ - void (GLAPIENTRYP Color4b) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); /* 25 */ - void (GLAPIENTRYP Color4bv) (const GLbyte * v); /* 26 */ - void (GLAPIENTRYP Color4d) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); /* 27 */ - void (GLAPIENTRYP Color4dv) (const GLdouble * v); /* 28 */ - void (GLAPIENTRYP Color4f) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 29 */ - void (GLAPIENTRYP Color4fv) (const GLfloat * v); /* 30 */ - void (GLAPIENTRYP Color4i) (GLint red, GLint green, GLint blue, GLint alpha); /* 31 */ - void (GLAPIENTRYP Color4iv) (const GLint * v); /* 32 */ - void (GLAPIENTRYP Color4s) (GLshort red, GLshort green, GLshort blue, GLshort alpha); /* 33 */ - void (GLAPIENTRYP Color4sv) (const GLshort * v); /* 34 */ - void (GLAPIENTRYP Color4ub) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); /* 35 */ - void (GLAPIENTRYP Color4ubv) (const GLubyte * v); /* 36 */ - void (GLAPIENTRYP Color4ui) (GLuint red, GLuint green, GLuint blue, GLuint alpha); /* 37 */ - void (GLAPIENTRYP Color4uiv) (const GLuint * v); /* 38 */ - void (GLAPIENTRYP Color4us) (GLushort red, GLushort green, GLushort blue, GLushort alpha); /* 39 */ - void (GLAPIENTRYP Color4usv) (const GLushort * v); /* 40 */ - void (GLAPIENTRYP EdgeFlag) (GLboolean flag); /* 41 */ - void (GLAPIENTRYP EdgeFlagv) (const GLboolean * flag); /* 42 */ - void (GLAPIENTRYP End) (void); /* 43 */ - void (GLAPIENTRYP Indexd) (GLdouble c); /* 44 */ - void (GLAPIENTRYP Indexdv) (const GLdouble * c); /* 45 */ - void (GLAPIENTRYP Indexf) (GLfloat c); /* 46 */ - void (GLAPIENTRYP Indexfv) (const GLfloat * c); /* 47 */ - void (GLAPIENTRYP Indexi) (GLint c); /* 48 */ - void (GLAPIENTRYP Indexiv) (const GLint * c); /* 49 */ - void (GLAPIENTRYP Indexs) (GLshort c); /* 50 */ - void (GLAPIENTRYP Indexsv) (const GLshort * c); /* 51 */ - void (GLAPIENTRYP Normal3b) (GLbyte nx, GLbyte ny, GLbyte nz); /* 52 */ - void (GLAPIENTRYP Normal3bv) (const GLbyte * v); /* 53 */ - void (GLAPIENTRYP Normal3d) (GLdouble nx, GLdouble ny, GLdouble nz); /* 54 */ - void (GLAPIENTRYP Normal3dv) (const GLdouble * v); /* 55 */ - void (GLAPIENTRYP Normal3f) (GLfloat nx, GLfloat ny, GLfloat nz); /* 56 */ - void (GLAPIENTRYP Normal3fv) (const GLfloat * v); /* 57 */ - void (GLAPIENTRYP Normal3i) (GLint nx, GLint ny, GLint nz); /* 58 */ - void (GLAPIENTRYP Normal3iv) (const GLint * v); /* 59 */ - void (GLAPIENTRYP Normal3s) (GLshort nx, GLshort ny, GLshort nz); /* 60 */ - void (GLAPIENTRYP Normal3sv) (const GLshort * v); /* 61 */ - void (GLAPIENTRYP RasterPos2d) (GLdouble x, GLdouble y); /* 62 */ - void (GLAPIENTRYP RasterPos2dv) (const GLdouble * v); /* 63 */ - void (GLAPIENTRYP RasterPos2f) (GLfloat x, GLfloat y); /* 64 */ - void (GLAPIENTRYP RasterPos2fv) (const GLfloat * v); /* 65 */ - void (GLAPIENTRYP RasterPos2i) (GLint x, GLint y); /* 66 */ - void (GLAPIENTRYP RasterPos2iv) (const GLint * v); /* 67 */ - void (GLAPIENTRYP RasterPos2s) (GLshort x, GLshort y); /* 68 */ - void (GLAPIENTRYP RasterPos2sv) (const GLshort * v); /* 69 */ - void (GLAPIENTRYP RasterPos3d) (GLdouble x, GLdouble y, GLdouble z); /* 70 */ - void (GLAPIENTRYP RasterPos3dv) (const GLdouble * v); /* 71 */ - void (GLAPIENTRYP RasterPos3f) (GLfloat x, GLfloat y, GLfloat z); /* 72 */ - void (GLAPIENTRYP RasterPos3fv) (const GLfloat * v); /* 73 */ - void (GLAPIENTRYP RasterPos3i) (GLint x, GLint y, GLint z); /* 74 */ - void (GLAPIENTRYP RasterPos3iv) (const GLint * v); /* 75 */ - void (GLAPIENTRYP RasterPos3s) (GLshort x, GLshort y, GLshort z); /* 76 */ - void (GLAPIENTRYP RasterPos3sv) (const GLshort * v); /* 77 */ - void (GLAPIENTRYP RasterPos4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 78 */ - void (GLAPIENTRYP RasterPos4dv) (const GLdouble * v); /* 79 */ - void (GLAPIENTRYP RasterPos4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 80 */ - void (GLAPIENTRYP RasterPos4fv) (const GLfloat * v); /* 81 */ - void (GLAPIENTRYP RasterPos4i) (GLint x, GLint y, GLint z, GLint w); /* 82 */ - void (GLAPIENTRYP RasterPos4iv) (const GLint * v); /* 83 */ - void (GLAPIENTRYP RasterPos4s) (GLshort x, GLshort y, GLshort z, GLshort w); /* 84 */ - void (GLAPIENTRYP RasterPos4sv) (const GLshort * v); /* 85 */ - void (GLAPIENTRYP Rectd) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); /* 86 */ - void (GLAPIENTRYP Rectdv) (const GLdouble * v1, const GLdouble * v2); /* 87 */ - void (GLAPIENTRYP Rectf) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); /* 88 */ - void (GLAPIENTRYP Rectfv) (const GLfloat * v1, const GLfloat * v2); /* 89 */ - void (GLAPIENTRYP Recti) (GLint x1, GLint y1, GLint x2, GLint y2); /* 90 */ - void (GLAPIENTRYP Rectiv) (const GLint * v1, const GLint * v2); /* 91 */ - void (GLAPIENTRYP Rects) (GLshort x1, GLshort y1, GLshort x2, GLshort y2); /* 92 */ - void (GLAPIENTRYP Rectsv) (const GLshort * v1, const GLshort * v2); /* 93 */ - void (GLAPIENTRYP TexCoord1d) (GLdouble s); /* 94 */ - void (GLAPIENTRYP TexCoord1dv) (const GLdouble * v); /* 95 */ - void (GLAPIENTRYP TexCoord1f) (GLfloat s); /* 96 */ - void (GLAPIENTRYP TexCoord1fv) (const GLfloat * v); /* 97 */ - void (GLAPIENTRYP TexCoord1i) (GLint s); /* 98 */ - void (GLAPIENTRYP TexCoord1iv) (const GLint * v); /* 99 */ - void (GLAPIENTRYP TexCoord1s) (GLshort s); /* 100 */ - void (GLAPIENTRYP TexCoord1sv) (const GLshort * v); /* 101 */ - void (GLAPIENTRYP TexCoord2d) (GLdouble s, GLdouble t); /* 102 */ - void (GLAPIENTRYP TexCoord2dv) (const GLdouble * v); /* 103 */ - void (GLAPIENTRYP TexCoord2f) (GLfloat s, GLfloat t); /* 104 */ - void (GLAPIENTRYP TexCoord2fv) (const GLfloat * v); /* 105 */ - void (GLAPIENTRYP TexCoord2i) (GLint s, GLint t); /* 106 */ - void (GLAPIENTRYP TexCoord2iv) (const GLint * v); /* 107 */ - void (GLAPIENTRYP TexCoord2s) (GLshort s, GLshort t); /* 108 */ - void (GLAPIENTRYP TexCoord2sv) (const GLshort * v); /* 109 */ - void (GLAPIENTRYP TexCoord3d) (GLdouble s, GLdouble t, GLdouble r); /* 110 */ - void (GLAPIENTRYP TexCoord3dv) (const GLdouble * v); /* 111 */ - void (GLAPIENTRYP TexCoord3f) (GLfloat s, GLfloat t, GLfloat r); /* 112 */ - void (GLAPIENTRYP TexCoord3fv) (const GLfloat * v); /* 113 */ - void (GLAPIENTRYP TexCoord3i) (GLint s, GLint t, GLint r); /* 114 */ - void (GLAPIENTRYP TexCoord3iv) (const GLint * v); /* 115 */ - void (GLAPIENTRYP TexCoord3s) (GLshort s, GLshort t, GLshort r); /* 116 */ - void (GLAPIENTRYP TexCoord3sv) (const GLshort * v); /* 117 */ - void (GLAPIENTRYP TexCoord4d) (GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 118 */ - void (GLAPIENTRYP TexCoord4dv) (const GLdouble * v); /* 119 */ - void (GLAPIENTRYP TexCoord4f) (GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 120 */ - void (GLAPIENTRYP TexCoord4fv) (const GLfloat * v); /* 121 */ - void (GLAPIENTRYP TexCoord4i) (GLint s, GLint t, GLint r, GLint q); /* 122 */ - void (GLAPIENTRYP TexCoord4iv) (const GLint * v); /* 123 */ - void (GLAPIENTRYP TexCoord4s) (GLshort s, GLshort t, GLshort r, GLshort q); /* 124 */ - void (GLAPIENTRYP TexCoord4sv) (const GLshort * v); /* 125 */ - void (GLAPIENTRYP Vertex2d) (GLdouble x, GLdouble y); /* 126 */ - void (GLAPIENTRYP Vertex2dv) (const GLdouble * v); /* 127 */ - void (GLAPIENTRYP Vertex2f) (GLfloat x, GLfloat y); /* 128 */ - void (GLAPIENTRYP Vertex2fv) (const GLfloat * v); /* 129 */ - void (GLAPIENTRYP Vertex2i) (GLint x, GLint y); /* 130 */ - void (GLAPIENTRYP Vertex2iv) (const GLint * v); /* 131 */ - void (GLAPIENTRYP Vertex2s) (GLshort x, GLshort y); /* 132 */ - void (GLAPIENTRYP Vertex2sv) (const GLshort * v); /* 133 */ - void (GLAPIENTRYP Vertex3d) (GLdouble x, GLdouble y, GLdouble z); /* 134 */ - void (GLAPIENTRYP Vertex3dv) (const GLdouble * v); /* 135 */ - void (GLAPIENTRYP Vertex3f) (GLfloat x, GLfloat y, GLfloat z); /* 136 */ - void (GLAPIENTRYP Vertex3fv) (const GLfloat * v); /* 137 */ - void (GLAPIENTRYP Vertex3i) (GLint x, GLint y, GLint z); /* 138 */ - void (GLAPIENTRYP Vertex3iv) (const GLint * v); /* 139 */ - void (GLAPIENTRYP Vertex3s) (GLshort x, GLshort y, GLshort z); /* 140 */ - void (GLAPIENTRYP Vertex3sv) (const GLshort * v); /* 141 */ - void (GLAPIENTRYP Vertex4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 142 */ - void (GLAPIENTRYP Vertex4dv) (const GLdouble * v); /* 143 */ - void (GLAPIENTRYP Vertex4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 144 */ - void (GLAPIENTRYP Vertex4fv) (const GLfloat * v); /* 145 */ - void (GLAPIENTRYP Vertex4i) (GLint x, GLint y, GLint z, GLint w); /* 146 */ - void (GLAPIENTRYP Vertex4iv) (const GLint * v); /* 147 */ - void (GLAPIENTRYP Vertex4s) (GLshort x, GLshort y, GLshort z, GLshort w); /* 148 */ - void (GLAPIENTRYP Vertex4sv) (const GLshort * v); /* 149 */ - void (GLAPIENTRYP ClipPlane) (GLenum plane, const GLdouble * equation); /* 150 */ - void (GLAPIENTRYP ColorMaterial) (GLenum face, GLenum mode); /* 151 */ - void (GLAPIENTRYP CullFace) (GLenum mode); /* 152 */ - void (GLAPIENTRYP Fogf) (GLenum pname, GLfloat param); /* 153 */ - void (GLAPIENTRYP Fogfv) (GLenum pname, const GLfloat * params); /* 154 */ - void (GLAPIENTRYP Fogi) (GLenum pname, GLint param); /* 155 */ - void (GLAPIENTRYP Fogiv) (GLenum pname, const GLint * params); /* 156 */ - void (GLAPIENTRYP FrontFace) (GLenum mode); /* 157 */ - void (GLAPIENTRYP Hint) (GLenum target, GLenum mode); /* 158 */ - void (GLAPIENTRYP Lightf) (GLenum light, GLenum pname, GLfloat param); /* 159 */ - void (GLAPIENTRYP Lightfv) (GLenum light, GLenum pname, const GLfloat * params); /* 160 */ - void (GLAPIENTRYP Lighti) (GLenum light, GLenum pname, GLint param); /* 161 */ - void (GLAPIENTRYP Lightiv) (GLenum light, GLenum pname, const GLint * params); /* 162 */ - void (GLAPIENTRYP LightModelf) (GLenum pname, GLfloat param); /* 163 */ - void (GLAPIENTRYP LightModelfv) (GLenum pname, const GLfloat * params); /* 164 */ - void (GLAPIENTRYP LightModeli) (GLenum pname, GLint param); /* 165 */ - void (GLAPIENTRYP LightModeliv) (GLenum pname, const GLint * params); /* 166 */ - void (GLAPIENTRYP LineStipple) (GLint factor, GLushort pattern); /* 167 */ - void (GLAPIENTRYP LineWidth) (GLfloat width); /* 168 */ - void (GLAPIENTRYP Materialf) (GLenum face, GLenum pname, GLfloat param); /* 169 */ - void (GLAPIENTRYP Materialfv) (GLenum face, GLenum pname, const GLfloat * params); /* 170 */ - void (GLAPIENTRYP Materiali) (GLenum face, GLenum pname, GLint param); /* 171 */ - void (GLAPIENTRYP Materialiv) (GLenum face, GLenum pname, const GLint * params); /* 172 */ - void (GLAPIENTRYP PointSize) (GLfloat size); /* 173 */ - void (GLAPIENTRYP PolygonMode) (GLenum face, GLenum mode); /* 174 */ - void (GLAPIENTRYP PolygonStipple) (const GLubyte * mask); /* 175 */ - void (GLAPIENTRYP Scissor) (GLint x, GLint y, GLsizei width, GLsizei height); /* 176 */ - void (GLAPIENTRYP ShadeModel) (GLenum mode); /* 177 */ - void (GLAPIENTRYP TexParameterf) (GLenum target, GLenum pname, GLfloat param); /* 178 */ - void (GLAPIENTRYP TexParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 179 */ - void (GLAPIENTRYP TexParameteri) (GLenum target, GLenum pname, GLint param); /* 180 */ - void (GLAPIENTRYP TexParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 181 */ - void (GLAPIENTRYP TexImage1D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 182 */ - void (GLAPIENTRYP TexImage2D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 183 */ - void (GLAPIENTRYP TexEnvf) (GLenum target, GLenum pname, GLfloat param); /* 184 */ - void (GLAPIENTRYP TexEnvfv) (GLenum target, GLenum pname, const GLfloat * params); /* 185 */ - void (GLAPIENTRYP TexEnvi) (GLenum target, GLenum pname, GLint param); /* 186 */ - void (GLAPIENTRYP TexEnviv) (GLenum target, GLenum pname, const GLint * params); /* 187 */ - void (GLAPIENTRYP TexGend) (GLenum coord, GLenum pname, GLdouble param); /* 188 */ - void (GLAPIENTRYP TexGendv) (GLenum coord, GLenum pname, const GLdouble * params); /* 189 */ - void (GLAPIENTRYP TexGenf) (GLenum coord, GLenum pname, GLfloat param); /* 190 */ - void (GLAPIENTRYP TexGenfv) (GLenum coord, GLenum pname, const GLfloat * params); /* 191 */ - void (GLAPIENTRYP TexGeni) (GLenum coord, GLenum pname, GLint param); /* 192 */ - void (GLAPIENTRYP TexGeniv) (GLenum coord, GLenum pname, const GLint * params); /* 193 */ - void (GLAPIENTRYP FeedbackBuffer) (GLsizei size, GLenum type, GLfloat * buffer); /* 194 */ - void (GLAPIENTRYP SelectBuffer) (GLsizei size, GLuint * buffer); /* 195 */ - GLint(GLAPIENTRYP RenderMode) (GLenum mode); /* 196 */ - void (GLAPIENTRYP InitNames) (void); /* 197 */ - void (GLAPIENTRYP LoadName) (GLuint name); /* 198 */ - void (GLAPIENTRYP PassThrough) (GLfloat token); /* 199 */ - void (GLAPIENTRYP PopName) (void); /* 200 */ - void (GLAPIENTRYP PushName) (GLuint name); /* 201 */ - void (GLAPIENTRYP DrawBuffer) (GLenum mode); /* 202 */ - void (GLAPIENTRYP Clear) (GLbitfield mask); /* 203 */ - void (GLAPIENTRYP ClearAccum) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 204 */ - void (GLAPIENTRYP ClearIndex) (GLfloat c); /* 205 */ - void (GLAPIENTRYP ClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 206 */ - void (GLAPIENTRYP ClearStencil) (GLint s); /* 207 */ - void (GLAPIENTRYP ClearDepth) (GLclampd depth); /* 208 */ - void (GLAPIENTRYP StencilMask) (GLuint mask); /* 209 */ - void (GLAPIENTRYP ColorMask) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); /* 210 */ - void (GLAPIENTRYP DepthMask) (GLboolean flag); /* 211 */ - void (GLAPIENTRYP IndexMask) (GLuint mask); /* 212 */ - void (GLAPIENTRYP Accum) (GLenum op, GLfloat value); /* 213 */ - void (GLAPIENTRYP Disable) (GLenum cap); /* 214 */ - void (GLAPIENTRYP Enable) (GLenum cap); /* 215 */ - void (GLAPIENTRYP Finish) (void); /* 216 */ - void (GLAPIENTRYP Flush) (void); /* 217 */ - void (GLAPIENTRYP PopAttrib) (void); /* 218 */ - void (GLAPIENTRYP PushAttrib) (GLbitfield mask); /* 219 */ - void (GLAPIENTRYP Map1d) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); /* 220 */ - void (GLAPIENTRYP Map1f) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); /* 221 */ - void (GLAPIENTRYP Map2d) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); /* 222 */ - void (GLAPIENTRYP Map2f) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); /* 223 */ - void (GLAPIENTRYP MapGrid1d) (GLint un, GLdouble u1, GLdouble u2); /* 224 */ - void (GLAPIENTRYP MapGrid1f) (GLint un, GLfloat u1, GLfloat u2); /* 225 */ - void (GLAPIENTRYP MapGrid2d) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); /* 226 */ - void (GLAPIENTRYP MapGrid2f) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); /* 227 */ - void (GLAPIENTRYP EvalCoord1d) (GLdouble u); /* 228 */ - void (GLAPIENTRYP EvalCoord1dv) (const GLdouble * u); /* 229 */ - void (GLAPIENTRYP EvalCoord1f) (GLfloat u); /* 230 */ - void (GLAPIENTRYP EvalCoord1fv) (const GLfloat * u); /* 231 */ - void (GLAPIENTRYP EvalCoord2d) (GLdouble u, GLdouble v); /* 232 */ - void (GLAPIENTRYP EvalCoord2dv) (const GLdouble * u); /* 233 */ - void (GLAPIENTRYP EvalCoord2f) (GLfloat u, GLfloat v); /* 234 */ - void (GLAPIENTRYP EvalCoord2fv) (const GLfloat * u); /* 235 */ - void (GLAPIENTRYP EvalMesh1) (GLenum mode, GLint i1, GLint i2); /* 236 */ - void (GLAPIENTRYP EvalPoint1) (GLint i); /* 237 */ - void (GLAPIENTRYP EvalMesh2) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); /* 238 */ - void (GLAPIENTRYP EvalPoint2) (GLint i, GLint j); /* 239 */ - void (GLAPIENTRYP AlphaFunc) (GLenum func, GLclampf ref); /* 240 */ - void (GLAPIENTRYP BlendFunc) (GLenum sfactor, GLenum dfactor); /* 241 */ - void (GLAPIENTRYP LogicOp) (GLenum opcode); /* 242 */ - void (GLAPIENTRYP StencilFunc) (GLenum func, GLint ref, GLuint mask); /* 243 */ - void (GLAPIENTRYP StencilOp) (GLenum fail, GLenum zfail, GLenum zpass); /* 244 */ - void (GLAPIENTRYP DepthFunc) (GLenum func); /* 245 */ - void (GLAPIENTRYP PixelZoom) (GLfloat xfactor, GLfloat yfactor); /* 246 */ - void (GLAPIENTRYP PixelTransferf) (GLenum pname, GLfloat param); /* 247 */ - void (GLAPIENTRYP PixelTransferi) (GLenum pname, GLint param); /* 248 */ - void (GLAPIENTRYP PixelStoref) (GLenum pname, GLfloat param); /* 249 */ - void (GLAPIENTRYP PixelStorei) (GLenum pname, GLint param); /* 250 */ - void (GLAPIENTRYP PixelMapfv) (GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */ - void (GLAPIENTRYP PixelMapuiv) (GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */ - void (GLAPIENTRYP PixelMapusv) (GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */ - void (GLAPIENTRYP ReadBuffer) (GLenum mode); /* 254 */ - void (GLAPIENTRYP CopyPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); /* 255 */ - void (GLAPIENTRYP ReadPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); /* 256 */ - void (GLAPIENTRYP DrawPixels) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 257 */ - void (GLAPIENTRYP GetBooleanv) (GLenum pname, GLboolean * params); /* 258 */ - void (GLAPIENTRYP GetClipPlane) (GLenum plane, GLdouble * equation); /* 259 */ - void (GLAPIENTRYP GetDoublev) (GLenum pname, GLdouble * params); /* 260 */ - GLenum(GLAPIENTRYP GetError) (void); /* 261 */ - void (GLAPIENTRYP GetFloatv) (GLenum pname, GLfloat * params); /* 262 */ - void (GLAPIENTRYP GetIntegerv) (GLenum pname, GLint * params); /* 263 */ - void (GLAPIENTRYP GetLightfv) (GLenum light, GLenum pname, GLfloat * params); /* 264 */ - void (GLAPIENTRYP GetLightiv) (GLenum light, GLenum pname, GLint * params); /* 265 */ - void (GLAPIENTRYP GetMapdv) (GLenum target, GLenum query, GLdouble * v); /* 266 */ - void (GLAPIENTRYP GetMapfv) (GLenum target, GLenum query, GLfloat * v); /* 267 */ - void (GLAPIENTRYP GetMapiv) (GLenum target, GLenum query, GLint * v); /* 268 */ - void (GLAPIENTRYP GetMaterialfv) (GLenum face, GLenum pname, GLfloat * params); /* 269 */ - void (GLAPIENTRYP GetMaterialiv) (GLenum face, GLenum pname, GLint * params); /* 270 */ - void (GLAPIENTRYP GetPixelMapfv) (GLenum map, GLfloat * values); /* 271 */ - void (GLAPIENTRYP GetPixelMapuiv) (GLenum map, GLuint * values); /* 272 */ - void (GLAPIENTRYP GetPixelMapusv) (GLenum map, GLushort * values); /* 273 */ - void (GLAPIENTRYP GetPolygonStipple) (GLubyte * mask); /* 274 */ - const GLubyte *(GLAPIENTRYP GetString) (GLenum name); /* 275 */ - void (GLAPIENTRYP GetTexEnvfv) (GLenum target, GLenum pname, GLfloat * params); /* 276 */ - void (GLAPIENTRYP GetTexEnviv) (GLenum target, GLenum pname, GLint * params); /* 277 */ - void (GLAPIENTRYP GetTexGendv) (GLenum coord, GLenum pname, GLdouble * params); /* 278 */ - void (GLAPIENTRYP GetTexGenfv) (GLenum coord, GLenum pname, GLfloat * params); /* 279 */ - void (GLAPIENTRYP GetTexGeniv) (GLenum coord, GLenum pname, GLint * params); /* 280 */ - void (GLAPIENTRYP GetTexImage) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); /* 281 */ - void (GLAPIENTRYP GetTexParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 282 */ - void (GLAPIENTRYP GetTexParameteriv) (GLenum target, GLenum pname, GLint * params); /* 283 */ - void (GLAPIENTRYP GetTexLevelParameterfv) (GLenum target, GLint level, GLenum pname, GLfloat * params); /* 284 */ - void (GLAPIENTRYP GetTexLevelParameteriv) (GLenum target, GLint level, GLenum pname, GLint * params); /* 285 */ - GLboolean(GLAPIENTRYP IsEnabled) (GLenum cap); /* 286 */ - GLboolean(GLAPIENTRYP IsList) (GLuint list); /* 287 */ - void (GLAPIENTRYP DepthRange) (GLclampd zNear, GLclampd zFar); /* 288 */ - void (GLAPIENTRYP Frustum) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 289 */ - void (GLAPIENTRYP LoadIdentity) (void); /* 290 */ - void (GLAPIENTRYP LoadMatrixf) (const GLfloat * m); /* 291 */ - void (GLAPIENTRYP LoadMatrixd) (const GLdouble * m); /* 292 */ - void (GLAPIENTRYP MatrixMode) (GLenum mode); /* 293 */ - void (GLAPIENTRYP MultMatrixf) (const GLfloat * m); /* 294 */ - void (GLAPIENTRYP MultMatrixd) (const GLdouble * m); /* 295 */ - void (GLAPIENTRYP Ortho) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 296 */ - void (GLAPIENTRYP PopMatrix) (void); /* 297 */ - void (GLAPIENTRYP PushMatrix) (void); /* 298 */ - void (GLAPIENTRYP Rotated) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); /* 299 */ - void (GLAPIENTRYP Rotatef) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); /* 300 */ - void (GLAPIENTRYP Scaled) (GLdouble x, GLdouble y, GLdouble z); /* 301 */ - void (GLAPIENTRYP Scalef) (GLfloat x, GLfloat y, GLfloat z); /* 302 */ - void (GLAPIENTRYP Translated) (GLdouble x, GLdouble y, GLdouble z); /* 303 */ - void (GLAPIENTRYP Translatef) (GLfloat x, GLfloat y, GLfloat z); /* 304 */ - void (GLAPIENTRYP Viewport) (GLint x, GLint y, GLsizei width, GLsizei height); /* 305 */ - void (GLAPIENTRYP ArrayElement) (GLint i); /* 306 */ - void (GLAPIENTRYP BindTexture) (GLenum target, GLuint texture); /* 307 */ - void (GLAPIENTRYP ColorPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 308 */ - void (GLAPIENTRYP DisableClientState) (GLenum array); /* 309 */ - void (GLAPIENTRYP DrawArrays) (GLenum mode, GLint first, GLsizei count); /* 310 */ - void (GLAPIENTRYP DrawElements) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); /* 311 */ - void (GLAPIENTRYP EdgeFlagPointer) (GLsizei stride, const GLvoid * pointer); /* 312 */ - void (GLAPIENTRYP EnableClientState) (GLenum array); /* 313 */ - void (GLAPIENTRYP IndexPointer) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 314 */ - void (GLAPIENTRYP Indexub) (GLubyte c); /* 315 */ - void (GLAPIENTRYP Indexubv) (const GLubyte * c); /* 316 */ - void (GLAPIENTRYP InterleavedArrays) (GLenum format, GLsizei stride, const GLvoid * pointer); /* 317 */ - void (GLAPIENTRYP NormalPointer) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 318 */ - void (GLAPIENTRYP PolygonOffset) (GLfloat factor, GLfloat units); /* 319 */ - void (GLAPIENTRYP TexCoordPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 320 */ - void (GLAPIENTRYP VertexPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 321 */ - GLboolean(GLAPIENTRYP AreTexturesResident) (GLsizei n, const GLuint * textures, GLboolean * residences); /* 322 */ - void (GLAPIENTRYP CopyTexImage1D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); /* 323 */ - void (GLAPIENTRYP CopyTexImage2D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); /* 324 */ - void (GLAPIENTRYP CopyTexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); /* 325 */ - void (GLAPIENTRYP CopyTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 326 */ - void (GLAPIENTRYP DeleteTextures) (GLsizei n, const GLuint * textures); /* 327 */ - void (GLAPIENTRYP GenTextures) (GLsizei n, GLuint * textures); /* 328 */ - void (GLAPIENTRYP GetPointerv) (GLenum pname, GLvoid ** params); /* 329 */ - GLboolean(GLAPIENTRYP IsTexture) (GLuint texture); /* 330 */ - void (GLAPIENTRYP PrioritizeTextures) (GLsizei n, const GLuint * textures, const GLclampf * priorities); /* 331 */ - void (GLAPIENTRYP TexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); /* 332 */ - void (GLAPIENTRYP TexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 333 */ - void (GLAPIENTRYP PopClientAttrib) (void); /* 334 */ - void (GLAPIENTRYP PushClientAttrib) (GLbitfield mask); /* 335 */ - void (GLAPIENTRYP BlendColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 336 */ - void (GLAPIENTRYP BlendEquation) (GLenum mode); /* 337 */ - void (GLAPIENTRYP DrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); /* 338 */ - void (GLAPIENTRYP ColorTable) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); /* 339 */ - void (GLAPIENTRYP ColorTableParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 340 */ - void (GLAPIENTRYP ColorTableParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 341 */ - void (GLAPIENTRYP CopyColorTable) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 342 */ - void (GLAPIENTRYP GetColorTable) (GLenum target, GLenum format, GLenum type, GLvoid * table); /* 343 */ - void (GLAPIENTRYP GetColorTableParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 344 */ - void (GLAPIENTRYP GetColorTableParameteriv) (GLenum target, GLenum pname, GLint * params); /* 345 */ - void (GLAPIENTRYP ColorSubTable) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); /* 346 */ - void (GLAPIENTRYP CopyColorSubTable) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); /* 347 */ - void (GLAPIENTRYP ConvolutionFilter1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); /* 348 */ - void (GLAPIENTRYP ConvolutionFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); /* 349 */ - void (GLAPIENTRYP ConvolutionParameterf) (GLenum target, GLenum pname, GLfloat params); /* 350 */ - void (GLAPIENTRYP ConvolutionParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 351 */ - void (GLAPIENTRYP ConvolutionParameteri) (GLenum target, GLenum pname, GLint params); /* 352 */ - void (GLAPIENTRYP ConvolutionParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 353 */ - void (GLAPIENTRYP CopyConvolutionFilter1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 354 */ - void (GLAPIENTRYP CopyConvolutionFilter2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); /* 355 */ - void (GLAPIENTRYP GetConvolutionFilter) (GLenum target, GLenum format, GLenum type, GLvoid * image); /* 356 */ - void (GLAPIENTRYP GetConvolutionParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 357 */ - void (GLAPIENTRYP GetConvolutionParameteriv) (GLenum target, GLenum pname, GLint * params); /* 358 */ - void (GLAPIENTRYP GetSeparableFilter) (GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); /* 359 */ - void (GLAPIENTRYP SeparableFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); /* 360 */ - void (GLAPIENTRYP GetHistogram) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 361 */ - void (GLAPIENTRYP GetHistogramParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 362 */ - void (GLAPIENTRYP GetHistogramParameteriv) (GLenum target, GLenum pname, GLint * params); /* 363 */ - void (GLAPIENTRYP GetMinmax) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 364 */ - void (GLAPIENTRYP GetMinmaxParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 365 */ - void (GLAPIENTRYP GetMinmaxParameteriv) (GLenum target, GLenum pname, GLint * params); /* 366 */ - void (GLAPIENTRYP Histogram) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); /* 367 */ - void (GLAPIENTRYP Minmax) (GLenum target, GLenum internalformat, GLboolean sink); /* 368 */ - void (GLAPIENTRYP ResetHistogram) (GLenum target); /* 369 */ - void (GLAPIENTRYP ResetMinmax) (GLenum target); /* 370 */ - void (GLAPIENTRYP TexImage3D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */ - void (GLAPIENTRYP TexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); /* 372 */ - void (GLAPIENTRYP CopyTexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 373 */ - void (GLAPIENTRYP ActiveTextureARB) (GLenum texture); /* 374 */ - void (GLAPIENTRYP ClientActiveTextureARB) (GLenum texture); /* 375 */ - void (GLAPIENTRYP MultiTexCoord1dARB) (GLenum target, GLdouble s); /* 376 */ - void (GLAPIENTRYP MultiTexCoord1dvARB) (GLenum target, const GLdouble * v); /* 377 */ - void (GLAPIENTRYP MultiTexCoord1fARB) (GLenum target, GLfloat s); /* 378 */ - void (GLAPIENTRYP MultiTexCoord1fvARB) (GLenum target, const GLfloat * v); /* 379 */ - void (GLAPIENTRYP MultiTexCoord1iARB) (GLenum target, GLint s); /* 380 */ - void (GLAPIENTRYP MultiTexCoord1ivARB) (GLenum target, const GLint * v); /* 381 */ - void (GLAPIENTRYP MultiTexCoord1sARB) (GLenum target, GLshort s); /* 382 */ - void (GLAPIENTRYP MultiTexCoord1svARB) (GLenum target, const GLshort * v); /* 383 */ - void (GLAPIENTRYP MultiTexCoord2dARB) (GLenum target, GLdouble s, GLdouble t); /* 384 */ - void (GLAPIENTRYP MultiTexCoord2dvARB) (GLenum target, const GLdouble * v); /* 385 */ - void (GLAPIENTRYP MultiTexCoord2fARB) (GLenum target, GLfloat s, GLfloat t); /* 386 */ - void (GLAPIENTRYP MultiTexCoord2fvARB) (GLenum target, const GLfloat * v); /* 387 */ - void (GLAPIENTRYP MultiTexCoord2iARB) (GLenum target, GLint s, GLint t); /* 388 */ - void (GLAPIENTRYP MultiTexCoord2ivARB) (GLenum target, const GLint * v); /* 389 */ - void (GLAPIENTRYP MultiTexCoord2sARB) (GLenum target, GLshort s, GLshort t); /* 390 */ - void (GLAPIENTRYP MultiTexCoord2svARB) (GLenum target, const GLshort * v); /* 391 */ - void (GLAPIENTRYP MultiTexCoord3dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */ - void (GLAPIENTRYP MultiTexCoord3dvARB) (GLenum target, const GLdouble * v); /* 393 */ - void (GLAPIENTRYP MultiTexCoord3fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */ - void (GLAPIENTRYP MultiTexCoord3fvARB) (GLenum target, const GLfloat * v); /* 395 */ - void (GLAPIENTRYP MultiTexCoord3iARB) (GLenum target, GLint s, GLint t, GLint r); /* 396 */ - void (GLAPIENTRYP MultiTexCoord3ivARB) (GLenum target, const GLint * v); /* 397 */ - void (GLAPIENTRYP MultiTexCoord3sARB) (GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */ - void (GLAPIENTRYP MultiTexCoord3svARB) (GLenum target, const GLshort * v); /* 399 */ - void (GLAPIENTRYP MultiTexCoord4dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */ - void (GLAPIENTRYP MultiTexCoord4dvARB) (GLenum target, const GLdouble * v); /* 401 */ - void (GLAPIENTRYP MultiTexCoord4fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */ - void (GLAPIENTRYP MultiTexCoord4fvARB) (GLenum target, const GLfloat * v); /* 403 */ - void (GLAPIENTRYP MultiTexCoord4iARB) (GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */ - void (GLAPIENTRYP MultiTexCoord4ivARB) (GLenum target, const GLint * v); /* 405 */ - void (GLAPIENTRYP MultiTexCoord4sARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */ - void (GLAPIENTRYP MultiTexCoord4svARB) (GLenum target, const GLshort * v); /* 407 */ - void (GLAPIENTRYP AttachShader) (GLuint program, GLuint shader); /* 408 */ - GLuint(GLAPIENTRYP CreateProgram) (void); /* 409 */ - GLuint(GLAPIENTRYP CreateShader) (GLenum type); /* 410 */ - void (GLAPIENTRYP DeleteProgram) (GLuint program); /* 411 */ - void (GLAPIENTRYP DeleteShader) (GLuint program); /* 412 */ - void (GLAPIENTRYP DetachShader) (GLuint program, GLuint shader); /* 413 */ - void (GLAPIENTRYP GetAttachedShaders) (GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); /* 414 */ - void (GLAPIENTRYP GetProgramInfoLog) (GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 415 */ - void (GLAPIENTRYP GetProgramiv) (GLuint program, GLenum pname, GLint * params); /* 416 */ - void (GLAPIENTRYP GetShaderInfoLog) (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 417 */ - void (GLAPIENTRYP GetShaderiv) (GLuint shader, GLenum pname, GLint * params); /* 418 */ - GLboolean(GLAPIENTRYP IsProgram) (GLuint program); /* 419 */ - GLboolean(GLAPIENTRYP IsShader) (GLuint shader); /* 420 */ - void (GLAPIENTRYP StencilFuncSeparate) (GLenum face, GLenum func, GLint ref, GLuint mask); /* 421 */ - void (GLAPIENTRYP StencilMaskSeparate) (GLenum face, GLuint mask); /* 422 */ - void (GLAPIENTRYP StencilOpSeparate) (GLenum face, GLenum sfail, GLenum zfail, GLenum zpass); /* 423 */ - void (GLAPIENTRYP UniformMatrix2x3fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 424 */ - void (GLAPIENTRYP UniformMatrix2x4fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 425 */ - void (GLAPIENTRYP UniformMatrix3x2fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 426 */ - void (GLAPIENTRYP UniformMatrix3x4fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 427 */ - void (GLAPIENTRYP UniformMatrix4x2fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 428 */ - void (GLAPIENTRYP UniformMatrix4x3fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 429 */ - void (GLAPIENTRYP ClampColor) (GLenum target, GLenum clamp); /* 430 */ - void (GLAPIENTRYP ClearBufferfi) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); /* 431 */ - void (GLAPIENTRYP ClearBufferfv) (GLenum buffer, GLint drawbuffer, const GLfloat * value); /* 432 */ - void (GLAPIENTRYP ClearBufferiv) (GLenum buffer, GLint drawbuffer, const GLint * value); /* 433 */ - void (GLAPIENTRYP ClearBufferuiv) (GLenum buffer, GLint drawbuffer, const GLuint * value); /* 434 */ - const GLubyte *(GLAPIENTRYP GetStringi) (GLenum name, GLuint index); /* 435 */ - void (GLAPIENTRYP TexBuffer) (GLenum target, GLenum internalFormat, GLuint buffer); /* 436 */ - void (GLAPIENTRYP FramebufferTexture) (GLenum target, GLenum attachment, GLuint texture, GLint level); /* 437 */ - void (GLAPIENTRYP GetBufferParameteri64v) (GLenum target, GLenum pname, GLint64 * params); /* 438 */ - void (GLAPIENTRYP GetInteger64i_v) (GLenum cap, GLuint index, GLint64 * data); /* 439 */ - void (GLAPIENTRYP VertexAttribDivisor) (GLuint index, GLuint divisor); /* 440 */ - void (GLAPIENTRYP LoadTransposeMatrixdARB) (const GLdouble * m); /* 441 */ - void (GLAPIENTRYP LoadTransposeMatrixfARB) (const GLfloat * m); /* 442 */ - void (GLAPIENTRYP MultTransposeMatrixdARB) (const GLdouble * m); /* 443 */ - void (GLAPIENTRYP MultTransposeMatrixfARB) (const GLfloat * m); /* 444 */ - void (GLAPIENTRYP SampleCoverageARB) (GLclampf value, GLboolean invert); /* 445 */ - void (GLAPIENTRYP CompressedTexImage1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 446 */ - void (GLAPIENTRYP CompressedTexImage2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 447 */ - void (GLAPIENTRYP CompressedTexImage3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 448 */ - void (GLAPIENTRYP CompressedTexSubImage1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 449 */ - void (GLAPIENTRYP CompressedTexSubImage2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 450 */ - void (GLAPIENTRYP CompressedTexSubImage3DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 451 */ - void (GLAPIENTRYP GetCompressedTexImageARB) (GLenum target, GLint level, GLvoid * img); /* 452 */ - void (GLAPIENTRYP DisableVertexAttribArrayARB) (GLuint index); /* 453 */ - void (GLAPIENTRYP EnableVertexAttribArrayARB) (GLuint index); /* 454 */ - void (GLAPIENTRYP GetProgramEnvParameterdvARB) (GLenum target, GLuint index, GLdouble * params); /* 455 */ - void (GLAPIENTRYP GetProgramEnvParameterfvARB) (GLenum target, GLuint index, GLfloat * params); /* 456 */ - void (GLAPIENTRYP GetProgramLocalParameterdvARB) (GLenum target, GLuint index, GLdouble * params); /* 457 */ - void (GLAPIENTRYP GetProgramLocalParameterfvARB) (GLenum target, GLuint index, GLfloat * params); /* 458 */ - void (GLAPIENTRYP GetProgramStringARB) (GLenum target, GLenum pname, GLvoid * string); /* 459 */ - void (GLAPIENTRYP GetProgramivARB) (GLenum target, GLenum pname, GLint * params); /* 460 */ - void (GLAPIENTRYP GetVertexAttribdvARB) (GLuint index, GLenum pname, GLdouble * params); /* 461 */ - void (GLAPIENTRYP GetVertexAttribfvARB) (GLuint index, GLenum pname, GLfloat * params); /* 462 */ - void (GLAPIENTRYP GetVertexAttribivARB) (GLuint index, GLenum pname, GLint * params); /* 463 */ - void (GLAPIENTRYP ProgramEnvParameter4dARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 464 */ - void (GLAPIENTRYP ProgramEnvParameter4dvARB) (GLenum target, GLuint index, const GLdouble * params); /* 465 */ - void (GLAPIENTRYP ProgramEnvParameter4fARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 466 */ - void (GLAPIENTRYP ProgramEnvParameter4fvARB) (GLenum target, GLuint index, const GLfloat * params); /* 467 */ - void (GLAPIENTRYP ProgramLocalParameter4dARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 468 */ - void (GLAPIENTRYP ProgramLocalParameter4dvARB) (GLenum target, GLuint index, const GLdouble * params); /* 469 */ - void (GLAPIENTRYP ProgramLocalParameter4fARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 470 */ - void (GLAPIENTRYP ProgramLocalParameter4fvARB) (GLenum target, GLuint index, const GLfloat * params); /* 471 */ - void (GLAPIENTRYP ProgramStringARB) (GLenum target, GLenum format, GLsizei len, const GLvoid * string); /* 472 */ - void (GLAPIENTRYP VertexAttrib1dARB) (GLuint index, GLdouble x); /* 473 */ - void (GLAPIENTRYP VertexAttrib1dvARB) (GLuint index, const GLdouble * v); /* 474 */ - void (GLAPIENTRYP VertexAttrib1fARB) (GLuint index, GLfloat x); /* 475 */ - void (GLAPIENTRYP VertexAttrib1fvARB) (GLuint index, const GLfloat * v); /* 476 */ - void (GLAPIENTRYP VertexAttrib1sARB) (GLuint index, GLshort x); /* 477 */ - void (GLAPIENTRYP VertexAttrib1svARB) (GLuint index, const GLshort * v); /* 478 */ - void (GLAPIENTRYP VertexAttrib2dARB) (GLuint index, GLdouble x, GLdouble y); /* 479 */ - void (GLAPIENTRYP VertexAttrib2dvARB) (GLuint index, const GLdouble * v); /* 480 */ - void (GLAPIENTRYP VertexAttrib2fARB) (GLuint index, GLfloat x, GLfloat y); /* 481 */ - void (GLAPIENTRYP VertexAttrib2fvARB) (GLuint index, const GLfloat * v); /* 482 */ - void (GLAPIENTRYP VertexAttrib2sARB) (GLuint index, GLshort x, GLshort y); /* 483 */ - void (GLAPIENTRYP VertexAttrib2svARB) (GLuint index, const GLshort * v); /* 484 */ - void (GLAPIENTRYP VertexAttrib3dARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 485 */ - void (GLAPIENTRYP VertexAttrib3dvARB) (GLuint index, const GLdouble * v); /* 486 */ - void (GLAPIENTRYP VertexAttrib3fARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 487 */ - void (GLAPIENTRYP VertexAttrib3fvARB) (GLuint index, const GLfloat * v); /* 488 */ - void (GLAPIENTRYP VertexAttrib3sARB) (GLuint index, GLshort x, GLshort y, GLshort z); /* 489 */ - void (GLAPIENTRYP VertexAttrib3svARB) (GLuint index, const GLshort * v); /* 490 */ - void (GLAPIENTRYP VertexAttrib4NbvARB) (GLuint index, const GLbyte * v); /* 491 */ - void (GLAPIENTRYP VertexAttrib4NivARB) (GLuint index, const GLint * v); /* 492 */ - void (GLAPIENTRYP VertexAttrib4NsvARB) (GLuint index, const GLshort * v); /* 493 */ - void (GLAPIENTRYP VertexAttrib4NubARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 494 */ - void (GLAPIENTRYP VertexAttrib4NubvARB) (GLuint index, const GLubyte * v); /* 495 */ - void (GLAPIENTRYP VertexAttrib4NuivARB) (GLuint index, const GLuint * v); /* 496 */ - void (GLAPIENTRYP VertexAttrib4NusvARB) (GLuint index, const GLushort * v); /* 497 */ - void (GLAPIENTRYP VertexAttrib4bvARB) (GLuint index, const GLbyte * v); /* 498 */ - void (GLAPIENTRYP VertexAttrib4dARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 499 */ - void (GLAPIENTRYP VertexAttrib4dvARB) (GLuint index, const GLdouble * v); /* 500 */ - void (GLAPIENTRYP VertexAttrib4fARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 501 */ - void (GLAPIENTRYP VertexAttrib4fvARB) (GLuint index, const GLfloat * v); /* 502 */ - void (GLAPIENTRYP VertexAttrib4ivARB) (GLuint index, const GLint * v); /* 503 */ - void (GLAPIENTRYP VertexAttrib4sARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 504 */ - void (GLAPIENTRYP VertexAttrib4svARB) (GLuint index, const GLshort * v); /* 505 */ - void (GLAPIENTRYP VertexAttrib4ubvARB) (GLuint index, const GLubyte * v); /* 506 */ - void (GLAPIENTRYP VertexAttrib4uivARB) (GLuint index, const GLuint * v); /* 507 */ - void (GLAPIENTRYP VertexAttrib4usvARB) (GLuint index, const GLushort * v); /* 508 */ - void (GLAPIENTRYP VertexAttribPointerARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); /* 509 */ - void (GLAPIENTRYP BindBufferARB) (GLenum target, GLuint buffer); /* 510 */ - void (GLAPIENTRYP BufferDataARB) (GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); /* 511 */ - void (GLAPIENTRYP BufferSubDataARB) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); /* 512 */ - void (GLAPIENTRYP DeleteBuffersARB) (GLsizei n, const GLuint * buffer); /* 513 */ - void (GLAPIENTRYP GenBuffersARB) (GLsizei n, GLuint * buffer); /* 514 */ - void (GLAPIENTRYP GetBufferParameterivARB) (GLenum target, GLenum pname, GLint * params); /* 515 */ - void (GLAPIENTRYP GetBufferPointervARB) (GLenum target, GLenum pname, GLvoid ** params); /* 516 */ - void (GLAPIENTRYP GetBufferSubDataARB) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data); /* 517 */ - GLboolean(GLAPIENTRYP IsBufferARB) (GLuint buffer); /* 518 */ - GLvoid *(GLAPIENTRYP MapBufferARB) (GLenum target, GLenum access); /* 519 */ - GLboolean(GLAPIENTRYP UnmapBufferARB) (GLenum target); /* 520 */ - void (GLAPIENTRYP BeginQueryARB) (GLenum target, GLuint id); /* 521 */ - void (GLAPIENTRYP DeleteQueriesARB) (GLsizei n, const GLuint * ids); /* 522 */ - void (GLAPIENTRYP EndQueryARB) (GLenum target); /* 523 */ - void (GLAPIENTRYP GenQueriesARB) (GLsizei n, GLuint * ids); /* 524 */ - void (GLAPIENTRYP GetQueryObjectivARB) (GLuint id, GLenum pname, GLint * params); /* 525 */ - void (GLAPIENTRYP GetQueryObjectuivARB) (GLuint id, GLenum pname, GLuint * params); /* 526 */ - void (GLAPIENTRYP GetQueryivARB) (GLenum target, GLenum pname, GLint * params); /* 527 */ - GLboolean(GLAPIENTRYP IsQueryARB) (GLuint id); /* 528 */ - void (GLAPIENTRYP AttachObjectARB) (GLhandleARB containerObj, GLhandleARB obj); /* 529 */ - void (GLAPIENTRYP CompileShaderARB) (GLhandleARB shader); /* 530 */ - GLhandleARB(GLAPIENTRYP CreateProgramObjectARB) (void); /* 531 */ - GLhandleARB(GLAPIENTRYP CreateShaderObjectARB) (GLenum shaderType); /* 532 */ - void (GLAPIENTRYP DeleteObjectARB) (GLhandleARB obj); /* 533 */ - void (GLAPIENTRYP DetachObjectARB) (GLhandleARB containerObj, GLhandleARB attachedObj); /* 534 */ - void (GLAPIENTRYP GetActiveUniformARB) (GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 535 */ - void (GLAPIENTRYP GetAttachedObjectsARB) (GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); /* 536 */ - GLhandleARB(GLAPIENTRYP GetHandleARB) (GLenum pname); /* 537 */ - void (GLAPIENTRYP GetInfoLogARB) (GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); /* 538 */ - void (GLAPIENTRYP GetObjectParameterfvARB) (GLhandleARB obj, GLenum pname, GLfloat * params); /* 539 */ - void (GLAPIENTRYP GetObjectParameterivARB) (GLhandleARB obj, GLenum pname, GLint * params); /* 540 */ - void (GLAPIENTRYP GetShaderSourceARB) (GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source); /* 541 */ - GLint(GLAPIENTRYP GetUniformLocationARB) (GLhandleARB program, const GLcharARB * name); /* 542 */ - void (GLAPIENTRYP GetUniformfvARB) (GLhandleARB program, GLint location, GLfloat * params); /* 543 */ - void (GLAPIENTRYP GetUniformivARB) (GLhandleARB program, GLint location, GLint * params); /* 544 */ - void (GLAPIENTRYP LinkProgramARB) (GLhandleARB program); /* 545 */ - void (GLAPIENTRYP ShaderSourceARB) (GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length); /* 546 */ - void (GLAPIENTRYP Uniform1fARB) (GLint location, GLfloat v0); /* 547 */ - void (GLAPIENTRYP Uniform1fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 548 */ - void (GLAPIENTRYP Uniform1iARB) (GLint location, GLint v0); /* 549 */ - void (GLAPIENTRYP Uniform1ivARB) (GLint location, GLsizei count, const GLint * value); /* 550 */ - void (GLAPIENTRYP Uniform2fARB) (GLint location, GLfloat v0, GLfloat v1); /* 551 */ - void (GLAPIENTRYP Uniform2fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 552 */ - void (GLAPIENTRYP Uniform2iARB) (GLint location, GLint v0, GLint v1); /* 553 */ - void (GLAPIENTRYP Uniform2ivARB) (GLint location, GLsizei count, const GLint * value); /* 554 */ - void (GLAPIENTRYP Uniform3fARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); /* 555 */ - void (GLAPIENTRYP Uniform3fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 556 */ - void (GLAPIENTRYP Uniform3iARB) (GLint location, GLint v0, GLint v1, GLint v2); /* 557 */ - void (GLAPIENTRYP Uniform3ivARB) (GLint location, GLsizei count, const GLint * value); /* 558 */ - void (GLAPIENTRYP Uniform4fARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); /* 559 */ - void (GLAPIENTRYP Uniform4fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 560 */ - void (GLAPIENTRYP Uniform4iARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); /* 561 */ - void (GLAPIENTRYP Uniform4ivARB) (GLint location, GLsizei count, const GLint * value); /* 562 */ - void (GLAPIENTRYP UniformMatrix2fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 563 */ - void (GLAPIENTRYP UniformMatrix3fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 564 */ - void (GLAPIENTRYP UniformMatrix4fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 565 */ - void (GLAPIENTRYP UseProgramObjectARB) (GLhandleARB program); /* 566 */ - void (GLAPIENTRYP ValidateProgramARB) (GLhandleARB program); /* 567 */ - void (GLAPIENTRYP BindAttribLocationARB) (GLhandleARB program, GLuint index, const GLcharARB * name); /* 568 */ - void (GLAPIENTRYP GetActiveAttribARB) (GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 569 */ - GLint(GLAPIENTRYP GetAttribLocationARB) (GLhandleARB program, const GLcharARB * name); /* 570 */ - void (GLAPIENTRYP DrawBuffersARB) (GLsizei n, const GLenum * bufs); /* 571 */ - void (GLAPIENTRYP ClampColorARB) (GLenum target, GLenum clamp); /* 572 */ - void (GLAPIENTRYP DrawArraysInstancedARB) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); /* 573 */ - void (GLAPIENTRYP DrawElementsInstancedARB) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount); /* 574 */ - void (GLAPIENTRYP RenderbufferStorageMultisample) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); /* 575 */ - void (GLAPIENTRYP FramebufferTextureARB) (GLenum target, GLenum attachment, GLuint texture, GLint level); /* 576 */ - void (GLAPIENTRYP FramebufferTextureFaceARB) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); /* 577 */ - void (GLAPIENTRYP ProgramParameteriARB) (GLuint program, GLenum pname, GLint value); /* 578 */ - void (GLAPIENTRYP VertexAttribDivisorARB) (GLuint index, GLuint divisor); /* 579 */ - void (GLAPIENTRYP FlushMappedBufferRange) (GLenum target, GLintptr offset, GLsizeiptr length); /* 580 */ - GLvoid *(GLAPIENTRYP MapBufferRange) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); /* 581 */ - void (GLAPIENTRYP TexBufferARB) (GLenum target, GLenum internalFormat, GLuint buffer); /* 582 */ - void (GLAPIENTRYP BindVertexArray) (GLuint array); /* 583 */ - void (GLAPIENTRYP GenVertexArrays) (GLsizei n, GLuint * arrays); /* 584 */ - void (GLAPIENTRYP CopyBufferSubData) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); /* 585 */ - GLenum(GLAPIENTRYP ClientWaitSync) (GLsync sync, GLbitfield flags, GLuint64 timeout); /* 586 */ - void (GLAPIENTRYP DeleteSync) (GLsync sync); /* 587 */ - GLsync(GLAPIENTRYP FenceSync) (GLenum condition, GLbitfield flags); /* 588 */ - void (GLAPIENTRYP GetInteger64v) (GLenum pname, GLint64 * params); /* 589 */ - void (GLAPIENTRYP GetSynciv) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); /* 590 */ - GLboolean(GLAPIENTRYP IsSync) (GLsync sync); /* 591 */ - void (GLAPIENTRYP WaitSync) (GLsync sync, GLbitfield flags, GLuint64 timeout); /* 592 */ - void (GLAPIENTRYP DrawElementsBaseVertex) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 593 */ - void (GLAPIENTRYP DrawElementsInstancedBaseVertex) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLint basevertex); /* 594 */ - void (GLAPIENTRYP DrawRangeElementsBaseVertex) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 595 */ - void (GLAPIENTRYP MultiDrawElementsBaseVertex) (GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount, const GLint * basevertex); /* 596 */ - void (GLAPIENTRYP BlendEquationSeparateiARB) (GLuint buf, GLenum modeRGB, GLenum modeA); /* 597 */ - void (GLAPIENTRYP BlendEquationiARB) (GLuint buf, GLenum mode); /* 598 */ - void (GLAPIENTRYP BlendFuncSeparateiARB) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA); /* 599 */ - void (GLAPIENTRYP BlendFunciARB) (GLuint buf, GLenum src, GLenum dst); /* 600 */ - void (GLAPIENTRYP BindSampler) (GLuint unit, GLuint sampler); /* 601 */ - void (GLAPIENTRYP DeleteSamplers) (GLsizei count, const GLuint * samplers); /* 602 */ - void (GLAPIENTRYP GenSamplers) (GLsizei count, GLuint * samplers); /* 603 */ - void (GLAPIENTRYP GetSamplerParameterIiv) (GLuint sampler, GLenum pname, GLint * params); /* 604 */ - void (GLAPIENTRYP GetSamplerParameterIuiv) (GLuint sampler, GLenum pname, GLuint * params); /* 605 */ - void (GLAPIENTRYP GetSamplerParameterfv) (GLuint sampler, GLenum pname, GLfloat * params); /* 606 */ - void (GLAPIENTRYP GetSamplerParameteriv) (GLuint sampler, GLenum pname, GLint * params); /* 607 */ - GLboolean(GLAPIENTRYP IsSampler) (GLuint sampler); /* 608 */ - void (GLAPIENTRYP SamplerParameterIiv) (GLuint sampler, GLenum pname, const GLint * params); /* 609 */ - void (GLAPIENTRYP SamplerParameterIuiv) (GLuint sampler, GLenum pname, const GLuint * params); /* 610 */ - void (GLAPIENTRYP SamplerParameterf) (GLuint sampler, GLenum pname, GLfloat param); /* 611 */ - void (GLAPIENTRYP SamplerParameterfv) (GLuint sampler, GLenum pname, const GLfloat * params); /* 612 */ - void (GLAPIENTRYP SamplerParameteri) (GLuint sampler, GLenum pname, GLint param); /* 613 */ - void (GLAPIENTRYP SamplerParameteriv) (GLuint sampler, GLenum pname, const GLint * params); /* 614 */ - void (GLAPIENTRYP ColorP3ui) (GLenum type, GLuint color); /* 615 */ - void (GLAPIENTRYP ColorP3uiv) (GLenum type, const GLuint * color); /* 616 */ - void (GLAPIENTRYP ColorP4ui) (GLenum type, GLuint color); /* 617 */ - void (GLAPIENTRYP ColorP4uiv) (GLenum type, const GLuint * color); /* 618 */ - void (GLAPIENTRYP MultiTexCoordP1ui) (GLenum texture, GLenum type, GLuint coords); /* 619 */ - void (GLAPIENTRYP MultiTexCoordP1uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 620 */ - void (GLAPIENTRYP MultiTexCoordP2ui) (GLenum texture, GLenum type, GLuint coords); /* 621 */ - void (GLAPIENTRYP MultiTexCoordP2uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 622 */ - void (GLAPIENTRYP MultiTexCoordP3ui) (GLenum texture, GLenum type, GLuint coords); /* 623 */ - void (GLAPIENTRYP MultiTexCoordP3uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 624 */ - void (GLAPIENTRYP MultiTexCoordP4ui) (GLenum texture, GLenum type, GLuint coords); /* 625 */ - void (GLAPIENTRYP MultiTexCoordP4uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 626 */ - void (GLAPIENTRYP NormalP3ui) (GLenum type, GLuint coords); /* 627 */ - void (GLAPIENTRYP NormalP3uiv) (GLenum type, const GLuint * coords); /* 628 */ - void (GLAPIENTRYP SecondaryColorP3ui) (GLenum type, GLuint color); /* 629 */ - void (GLAPIENTRYP SecondaryColorP3uiv) (GLenum type, const GLuint * color); /* 630 */ - void (GLAPIENTRYP TexCoordP1ui) (GLenum type, GLuint coords); /* 631 */ - void (GLAPIENTRYP TexCoordP1uiv) (GLenum type, const GLuint * coords); /* 632 */ - void (GLAPIENTRYP TexCoordP2ui) (GLenum type, GLuint coords); /* 633 */ - void (GLAPIENTRYP TexCoordP2uiv) (GLenum type, const GLuint * coords); /* 634 */ - void (GLAPIENTRYP TexCoordP3ui) (GLenum type, GLuint coords); /* 635 */ - void (GLAPIENTRYP TexCoordP3uiv) (GLenum type, const GLuint * coords); /* 636 */ - void (GLAPIENTRYP TexCoordP4ui) (GLenum type, GLuint coords); /* 637 */ - void (GLAPIENTRYP TexCoordP4uiv) (GLenum type, const GLuint * coords); /* 638 */ - void (GLAPIENTRYP VertexAttribP1ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 639 */ - void (GLAPIENTRYP VertexAttribP1uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 640 */ - void (GLAPIENTRYP VertexAttribP2ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 641 */ - void (GLAPIENTRYP VertexAttribP2uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 642 */ - void (GLAPIENTRYP VertexAttribP3ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 643 */ - void (GLAPIENTRYP VertexAttribP3uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 644 */ - void (GLAPIENTRYP VertexAttribP4ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 645 */ - void (GLAPIENTRYP VertexAttribP4uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 646 */ - void (GLAPIENTRYP VertexP2ui) (GLenum type, GLuint value); /* 647 */ - void (GLAPIENTRYP VertexP2uiv) (GLenum type, const GLuint * value); /* 648 */ - void (GLAPIENTRYP VertexP3ui) (GLenum type, GLuint value); /* 649 */ - void (GLAPIENTRYP VertexP3uiv) (GLenum type, const GLuint * value); /* 650 */ - void (GLAPIENTRYP VertexP4ui) (GLenum type, GLuint value); /* 651 */ - void (GLAPIENTRYP VertexP4uiv) (GLenum type, const GLuint * value); /* 652 */ - void (GLAPIENTRYP BindTransformFeedback) (GLenum target, GLuint id); /* 653 */ - void (GLAPIENTRYP DeleteTransformFeedbacks) (GLsizei n, const GLuint * ids); /* 654 */ - void (GLAPIENTRYP DrawTransformFeedback) (GLenum mode, GLuint id); /* 655 */ - void (GLAPIENTRYP GenTransformFeedbacks) (GLsizei n, GLuint * ids); /* 656 */ - GLboolean(GLAPIENTRYP IsTransformFeedback) (GLuint id); /* 657 */ - void (GLAPIENTRYP PauseTransformFeedback) (void); /* 658 */ - void (GLAPIENTRYP ResumeTransformFeedback) (void); /* 659 */ - void (GLAPIENTRYP ClearDepthf) (GLclampf depth); /* 660 */ - void (GLAPIENTRYP DepthRangef) (GLclampf zNear, GLclampf zFar); /* 661 */ - void (GLAPIENTRYP GetShaderPrecisionFormat) (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 662 */ - void (GLAPIENTRYP ReleaseShaderCompiler) (void); /* 663 */ - void (GLAPIENTRYP ShaderBinary) (GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 664 */ - GLenum(GLAPIENTRYP GetGraphicsResetStatusARB) (void); /* 665 */ - void (GLAPIENTRYP GetnColorTableARB) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * table); /* 666 */ - void (GLAPIENTRYP GetnCompressedTexImageARB) (GLenum target, GLint lod, GLsizei bufSize, GLvoid * img); /* 667 */ - void (GLAPIENTRYP GetnConvolutionFilterARB) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * image); /* 668 */ - void (GLAPIENTRYP GetnHistogramARB) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 669 */ - void (GLAPIENTRYP GetnMapdvARB) (GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); /* 670 */ - void (GLAPIENTRYP GetnMapfvARB) (GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); /* 671 */ - void (GLAPIENTRYP GetnMapivARB) (GLenum target, GLenum query, GLsizei bufSize, GLint * v); /* 672 */ - void (GLAPIENTRYP GetnMinmaxARB) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 673 */ - void (GLAPIENTRYP GetnPixelMapfvARB) (GLenum map, GLsizei bufSize, GLfloat * values); /* 674 */ - void (GLAPIENTRYP GetnPixelMapuivARB) (GLenum map, GLsizei bufSize, GLuint * values); /* 675 */ - void (GLAPIENTRYP GetnPixelMapusvARB) (GLenum map, GLsizei bufSize, GLushort * values); /* 676 */ - void (GLAPIENTRYP GetnPolygonStippleARB) (GLsizei bufSize, GLubyte * pattern); /* 677 */ - void (GLAPIENTRYP GetnSeparableFilterARB) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid * row, GLsizei columnBufSize, GLvoid * column, GLvoid * span); /* 678 */ - void (GLAPIENTRYP GetnTexImageARB) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid * img); /* 679 */ - void (GLAPIENTRYP GetnUniformdvARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLdouble * params); /* 680 */ - void (GLAPIENTRYP GetnUniformfvARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLfloat * params); /* 681 */ - void (GLAPIENTRYP GetnUniformivARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLint * params); /* 682 */ - void (GLAPIENTRYP GetnUniformuivARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLuint * params); /* 683 */ - void (GLAPIENTRYP ReadnPixelsARB) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid * data); /* 684 */ - void (GLAPIENTRYP TexStorage1D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 685 */ - void (GLAPIENTRYP TexStorage2D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 686 */ - void (GLAPIENTRYP TexStorage3D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 687 */ - void (GLAPIENTRYP TextureStorage1DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 688 */ - void (GLAPIENTRYP TextureStorage2DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 689 */ - void (GLAPIENTRYP TextureStorage3DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 690 */ - void (GLAPIENTRYP PolygonOffsetEXT) (GLfloat factor, GLfloat bias); /* 691 */ - void (GLAPIENTRYP GetPixelTexGenParameterfvSGIS) (GLenum pname, GLfloat * params); /* 692 */ - void (GLAPIENTRYP GetPixelTexGenParameterivSGIS) (GLenum pname, GLint * params); /* 693 */ - void (GLAPIENTRYP PixelTexGenParameterfSGIS) (GLenum pname, GLfloat param); /* 694 */ - void (GLAPIENTRYP PixelTexGenParameterfvSGIS) (GLenum pname, const GLfloat * params); /* 695 */ - void (GLAPIENTRYP PixelTexGenParameteriSGIS) (GLenum pname, GLint param); /* 696 */ - void (GLAPIENTRYP PixelTexGenParameterivSGIS) (GLenum pname, const GLint * params); /* 697 */ - void (GLAPIENTRYP SampleMaskSGIS) (GLclampf value, GLboolean invert); /* 698 */ - void (GLAPIENTRYP SamplePatternSGIS) (GLenum pattern); /* 699 */ - void (GLAPIENTRYP ColorPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 700 */ - void (GLAPIENTRYP EdgeFlagPointerEXT) (GLsizei stride, GLsizei count, const GLboolean * pointer); /* 701 */ - void (GLAPIENTRYP IndexPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 702 */ - void (GLAPIENTRYP NormalPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 703 */ - void (GLAPIENTRYP TexCoordPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 704 */ - void (GLAPIENTRYP VertexPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 705 */ - void (GLAPIENTRYP PointParameterfEXT) (GLenum pname, GLfloat param); /* 706 */ - void (GLAPIENTRYP PointParameterfvEXT) (GLenum pname, const GLfloat * params); /* 707 */ - void (GLAPIENTRYP LockArraysEXT) (GLint first, GLsizei count); /* 708 */ - void (GLAPIENTRYP UnlockArraysEXT) (void); /* 709 */ - void (GLAPIENTRYP SecondaryColor3bEXT) (GLbyte red, GLbyte green, GLbyte blue); /* 710 */ - void (GLAPIENTRYP SecondaryColor3bvEXT) (const GLbyte * v); /* 711 */ - void (GLAPIENTRYP SecondaryColor3dEXT) (GLdouble red, GLdouble green, GLdouble blue); /* 712 */ - void (GLAPIENTRYP SecondaryColor3dvEXT) (const GLdouble * v); /* 713 */ - void (GLAPIENTRYP SecondaryColor3fEXT) (GLfloat red, GLfloat green, GLfloat blue); /* 714 */ - void (GLAPIENTRYP SecondaryColor3fvEXT) (const GLfloat * v); /* 715 */ - void (GLAPIENTRYP SecondaryColor3iEXT) (GLint red, GLint green, GLint blue); /* 716 */ - void (GLAPIENTRYP SecondaryColor3ivEXT) (const GLint * v); /* 717 */ - void (GLAPIENTRYP SecondaryColor3sEXT) (GLshort red, GLshort green, GLshort blue); /* 718 */ - void (GLAPIENTRYP SecondaryColor3svEXT) (const GLshort * v); /* 719 */ - void (GLAPIENTRYP SecondaryColor3ubEXT) (GLubyte red, GLubyte green, GLubyte blue); /* 720 */ - void (GLAPIENTRYP SecondaryColor3ubvEXT) (const GLubyte * v); /* 721 */ - void (GLAPIENTRYP SecondaryColor3uiEXT) (GLuint red, GLuint green, GLuint blue); /* 722 */ - void (GLAPIENTRYP SecondaryColor3uivEXT) (const GLuint * v); /* 723 */ - void (GLAPIENTRYP SecondaryColor3usEXT) (GLushort red, GLushort green, GLushort blue); /* 724 */ - void (GLAPIENTRYP SecondaryColor3usvEXT) (const GLushort * v); /* 725 */ - void (GLAPIENTRYP SecondaryColorPointerEXT) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 726 */ - void (GLAPIENTRYP MultiDrawArraysEXT) (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 727 */ - void (GLAPIENTRYP MultiDrawElementsEXT) (GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 728 */ - void (GLAPIENTRYP FogCoordPointerEXT) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 729 */ - void (GLAPIENTRYP FogCoorddEXT) (GLdouble coord); /* 730 */ - void (GLAPIENTRYP FogCoorddvEXT) (const GLdouble * coord); /* 731 */ - void (GLAPIENTRYP FogCoordfEXT) (GLfloat coord); /* 732 */ - void (GLAPIENTRYP FogCoordfvEXT) (const GLfloat * coord); /* 733 */ - void (GLAPIENTRYP PixelTexGenSGIX) (GLenum mode); /* 734 */ - void (GLAPIENTRYP BlendFuncSeparateEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 735 */ - void (GLAPIENTRYP FlushVertexArrayRangeNV) (void); /* 736 */ - void (GLAPIENTRYP VertexArrayRangeNV) (GLsizei length, const GLvoid * pointer); /* 737 */ - void (GLAPIENTRYP CombinerInputNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 738 */ - void (GLAPIENTRYP CombinerOutputNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); /* 739 */ - void (GLAPIENTRYP CombinerParameterfNV) (GLenum pname, GLfloat param); /* 740 */ - void (GLAPIENTRYP CombinerParameterfvNV) (GLenum pname, const GLfloat * params); /* 741 */ - void (GLAPIENTRYP CombinerParameteriNV) (GLenum pname, GLint param); /* 742 */ - void (GLAPIENTRYP CombinerParameterivNV) (GLenum pname, const GLint * params); /* 743 */ - void (GLAPIENTRYP FinalCombinerInputNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 744 */ - void (GLAPIENTRYP GetCombinerInputParameterfvNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); /* 745 */ - void (GLAPIENTRYP GetCombinerInputParameterivNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); /* 746 */ - void (GLAPIENTRYP GetCombinerOutputParameterfvNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat * params); /* 747 */ - void (GLAPIENTRYP GetCombinerOutputParameterivNV) (GLenum stage, GLenum portion, GLenum pname, GLint * params); /* 748 */ - void (GLAPIENTRYP GetFinalCombinerInputParameterfvNV) (GLenum variable, GLenum pname, GLfloat * params); /* 749 */ - void (GLAPIENTRYP GetFinalCombinerInputParameterivNV) (GLenum variable, GLenum pname, GLint * params); /* 750 */ - void (GLAPIENTRYP ResizeBuffersMESA) (void); /* 751 */ - void (GLAPIENTRYP WindowPos2dMESA) (GLdouble x, GLdouble y); /* 752 */ - void (GLAPIENTRYP WindowPos2dvMESA) (const GLdouble * v); /* 753 */ - void (GLAPIENTRYP WindowPos2fMESA) (GLfloat x, GLfloat y); /* 754 */ - void (GLAPIENTRYP WindowPos2fvMESA) (const GLfloat * v); /* 755 */ - void (GLAPIENTRYP WindowPos2iMESA) (GLint x, GLint y); /* 756 */ - void (GLAPIENTRYP WindowPos2ivMESA) (const GLint * v); /* 757 */ - void (GLAPIENTRYP WindowPos2sMESA) (GLshort x, GLshort y); /* 758 */ - void (GLAPIENTRYP WindowPos2svMESA) (const GLshort * v); /* 759 */ - void (GLAPIENTRYP WindowPos3dMESA) (GLdouble x, GLdouble y, GLdouble z); /* 760 */ - void (GLAPIENTRYP WindowPos3dvMESA) (const GLdouble * v); /* 761 */ - void (GLAPIENTRYP WindowPos3fMESA) (GLfloat x, GLfloat y, GLfloat z); /* 762 */ - void (GLAPIENTRYP WindowPos3fvMESA) (const GLfloat * v); /* 763 */ - void (GLAPIENTRYP WindowPos3iMESA) (GLint x, GLint y, GLint z); /* 764 */ - void (GLAPIENTRYP WindowPos3ivMESA) (const GLint * v); /* 765 */ - void (GLAPIENTRYP WindowPos3sMESA) (GLshort x, GLshort y, GLshort z); /* 766 */ - void (GLAPIENTRYP WindowPos3svMESA) (const GLshort * v); /* 767 */ - void (GLAPIENTRYP WindowPos4dMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 768 */ - void (GLAPIENTRYP WindowPos4dvMESA) (const GLdouble * v); /* 769 */ - void (GLAPIENTRYP WindowPos4fMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 770 */ - void (GLAPIENTRYP WindowPos4fvMESA) (const GLfloat * v); /* 771 */ - void (GLAPIENTRYP WindowPos4iMESA) (GLint x, GLint y, GLint z, GLint w); /* 772 */ - void (GLAPIENTRYP WindowPos4ivMESA) (const GLint * v); /* 773 */ - void (GLAPIENTRYP WindowPos4sMESA) (GLshort x, GLshort y, GLshort z, GLshort w); /* 774 */ - void (GLAPIENTRYP WindowPos4svMESA) (const GLshort * v); /* 775 */ - void (GLAPIENTRYP MultiModeDrawArraysIBM) (const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 776 */ - void (GLAPIENTRYP MultiModeDrawElementsIBM) (const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride); /* 777 */ - void (GLAPIENTRYP DeleteFencesNV) (GLsizei n, const GLuint * fences); /* 778 */ - void (GLAPIENTRYP FinishFenceNV) (GLuint fence); /* 779 */ - void (GLAPIENTRYP GenFencesNV) (GLsizei n, GLuint * fences); /* 780 */ - void (GLAPIENTRYP GetFenceivNV) (GLuint fence, GLenum pname, GLint * params); /* 781 */ - GLboolean(GLAPIENTRYP IsFenceNV) (GLuint fence); /* 782 */ - void (GLAPIENTRYP SetFenceNV) (GLuint fence, GLenum condition); /* 783 */ - GLboolean(GLAPIENTRYP TestFenceNV) (GLuint fence); /* 784 */ - GLboolean(GLAPIENTRYP AreProgramsResidentNV) (GLsizei n, const GLuint * ids, GLboolean * residences); /* 785 */ - void (GLAPIENTRYP BindProgramNV) (GLenum target, GLuint program); /* 786 */ - void (GLAPIENTRYP DeleteProgramsNV) (GLsizei n, const GLuint * programs); /* 787 */ - void (GLAPIENTRYP ExecuteProgramNV) (GLenum target, GLuint id, const GLfloat * params); /* 788 */ - void (GLAPIENTRYP GenProgramsNV) (GLsizei n, GLuint * programs); /* 789 */ - void (GLAPIENTRYP GetProgramParameterdvNV) (GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 790 */ - void (GLAPIENTRYP GetProgramParameterfvNV) (GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 791 */ - void (GLAPIENTRYP GetProgramStringNV) (GLuint id, GLenum pname, GLubyte * program); /* 792 */ - void (GLAPIENTRYP GetProgramivNV) (GLuint id, GLenum pname, GLint * params); /* 793 */ - void (GLAPIENTRYP GetTrackMatrixivNV) (GLenum target, GLuint address, GLenum pname, GLint * params); /* 794 */ - void (GLAPIENTRYP GetVertexAttribPointervNV) (GLuint index, GLenum pname, GLvoid ** pointer); /* 795 */ - void (GLAPIENTRYP GetVertexAttribdvNV) (GLuint index, GLenum pname, GLdouble * params); /* 796 */ - void (GLAPIENTRYP GetVertexAttribfvNV) (GLuint index, GLenum pname, GLfloat * params); /* 797 */ - void (GLAPIENTRYP GetVertexAttribivNV) (GLuint index, GLenum pname, GLint * params); /* 798 */ - GLboolean(GLAPIENTRYP IsProgramNV) (GLuint program); /* 799 */ - void (GLAPIENTRYP LoadProgramNV) (GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 800 */ - void (GLAPIENTRYP ProgramParameters4dvNV) (GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 801 */ - void (GLAPIENTRYP ProgramParameters4fvNV) (GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 802 */ - void (GLAPIENTRYP RequestResidentProgramsNV) (GLsizei n, const GLuint * ids); /* 803 */ - void (GLAPIENTRYP TrackMatrixNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 804 */ - void (GLAPIENTRYP VertexAttrib1dNV) (GLuint index, GLdouble x); /* 805 */ - void (GLAPIENTRYP VertexAttrib1dvNV) (GLuint index, const GLdouble * v); /* 806 */ - void (GLAPIENTRYP VertexAttrib1fNV) (GLuint index, GLfloat x); /* 807 */ - void (GLAPIENTRYP VertexAttrib1fvNV) (GLuint index, const GLfloat * v); /* 808 */ - void (GLAPIENTRYP VertexAttrib1sNV) (GLuint index, GLshort x); /* 809 */ - void (GLAPIENTRYP VertexAttrib1svNV) (GLuint index, const GLshort * v); /* 810 */ - void (GLAPIENTRYP VertexAttrib2dNV) (GLuint index, GLdouble x, GLdouble y); /* 811 */ - void (GLAPIENTRYP VertexAttrib2dvNV) (GLuint index, const GLdouble * v); /* 812 */ - void (GLAPIENTRYP VertexAttrib2fNV) (GLuint index, GLfloat x, GLfloat y); /* 813 */ - void (GLAPIENTRYP VertexAttrib2fvNV) (GLuint index, const GLfloat * v); /* 814 */ - void (GLAPIENTRYP VertexAttrib2sNV) (GLuint index, GLshort x, GLshort y); /* 815 */ - void (GLAPIENTRYP VertexAttrib2svNV) (GLuint index, const GLshort * v); /* 816 */ - void (GLAPIENTRYP VertexAttrib3dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 817 */ - void (GLAPIENTRYP VertexAttrib3dvNV) (GLuint index, const GLdouble * v); /* 818 */ - void (GLAPIENTRYP VertexAttrib3fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 819 */ - void (GLAPIENTRYP VertexAttrib3fvNV) (GLuint index, const GLfloat * v); /* 820 */ - void (GLAPIENTRYP VertexAttrib3sNV) (GLuint index, GLshort x, GLshort y, GLshort z); /* 821 */ - void (GLAPIENTRYP VertexAttrib3svNV) (GLuint index, const GLshort * v); /* 822 */ - void (GLAPIENTRYP VertexAttrib4dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 823 */ - void (GLAPIENTRYP VertexAttrib4dvNV) (GLuint index, const GLdouble * v); /* 824 */ - void (GLAPIENTRYP VertexAttrib4fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 825 */ - void (GLAPIENTRYP VertexAttrib4fvNV) (GLuint index, const GLfloat * v); /* 826 */ - void (GLAPIENTRYP VertexAttrib4sNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 827 */ - void (GLAPIENTRYP VertexAttrib4svNV) (GLuint index, const GLshort * v); /* 828 */ - void (GLAPIENTRYP VertexAttrib4ubNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 829 */ - void (GLAPIENTRYP VertexAttrib4ubvNV) (GLuint index, const GLubyte * v); /* 830 */ - void (GLAPIENTRYP VertexAttribPointerNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 831 */ - void (GLAPIENTRYP VertexAttribs1dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 832 */ - void (GLAPIENTRYP VertexAttribs1fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 833 */ - void (GLAPIENTRYP VertexAttribs1svNV) (GLuint index, GLsizei n, const GLshort * v); /* 834 */ - void (GLAPIENTRYP VertexAttribs2dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 835 */ - void (GLAPIENTRYP VertexAttribs2fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 836 */ - void (GLAPIENTRYP VertexAttribs2svNV) (GLuint index, GLsizei n, const GLshort * v); /* 837 */ - void (GLAPIENTRYP VertexAttribs3dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 838 */ - void (GLAPIENTRYP VertexAttribs3fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 839 */ - void (GLAPIENTRYP VertexAttribs3svNV) (GLuint index, GLsizei n, const GLshort * v); /* 840 */ - void (GLAPIENTRYP VertexAttribs4dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 841 */ - void (GLAPIENTRYP VertexAttribs4fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 842 */ - void (GLAPIENTRYP VertexAttribs4svNV) (GLuint index, GLsizei n, const GLshort * v); /* 843 */ - void (GLAPIENTRYP VertexAttribs4ubvNV) (GLuint index, GLsizei n, const GLubyte * v); /* 844 */ - void (GLAPIENTRYP GetTexBumpParameterfvATI) (GLenum pname, GLfloat * param); /* 845 */ - void (GLAPIENTRYP GetTexBumpParameterivATI) (GLenum pname, GLint * param); /* 846 */ - void (GLAPIENTRYP TexBumpParameterfvATI) (GLenum pname, const GLfloat * param); /* 847 */ - void (GLAPIENTRYP TexBumpParameterivATI) (GLenum pname, const GLint * param); /* 848 */ - void (GLAPIENTRYP AlphaFragmentOp1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 849 */ - void (GLAPIENTRYP AlphaFragmentOp2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 850 */ - void (GLAPIENTRYP AlphaFragmentOp3ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 851 */ - void (GLAPIENTRYP BeginFragmentShaderATI) (void); /* 852 */ - void (GLAPIENTRYP BindFragmentShaderATI) (GLuint id); /* 853 */ - void (GLAPIENTRYP ColorFragmentOp1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 854 */ - void (GLAPIENTRYP ColorFragmentOp2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 855 */ - void (GLAPIENTRYP ColorFragmentOp3ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 856 */ - void (GLAPIENTRYP DeleteFragmentShaderATI) (GLuint id); /* 857 */ - void (GLAPIENTRYP EndFragmentShaderATI) (void); /* 858 */ - GLuint(GLAPIENTRYP GenFragmentShadersATI) (GLuint range); /* 859 */ - void (GLAPIENTRYP PassTexCoordATI) (GLuint dst, GLuint coord, GLenum swizzle); /* 860 */ - void (GLAPIENTRYP SampleMapATI) (GLuint dst, GLuint interp, GLenum swizzle); /* 861 */ - void (GLAPIENTRYP SetFragmentShaderConstantATI) (GLuint dst, const GLfloat * value); /* 862 */ - void (GLAPIENTRYP PointParameteriNV) (GLenum pname, GLint param); /* 863 */ - void (GLAPIENTRYP PointParameterivNV) (GLenum pname, const GLint * params); /* 864 */ - void (GLAPIENTRYP ActiveStencilFaceEXT) (GLenum face); /* 865 */ - void (GLAPIENTRYP BindVertexArrayAPPLE) (GLuint array); /* 866 */ - void (GLAPIENTRYP DeleteVertexArraysAPPLE) (GLsizei n, const GLuint * arrays); /* 867 */ - void (GLAPIENTRYP GenVertexArraysAPPLE) (GLsizei n, GLuint * arrays); /* 868 */ - GLboolean(GLAPIENTRYP IsVertexArrayAPPLE) (GLuint array); /* 869 */ - void (GLAPIENTRYP GetProgramNamedParameterdvNV) (GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 870 */ - void (GLAPIENTRYP GetProgramNamedParameterfvNV) (GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 871 */ - void (GLAPIENTRYP ProgramNamedParameter4dNV) (GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 872 */ - void (GLAPIENTRYP ProgramNamedParameter4dvNV) (GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 873 */ - void (GLAPIENTRYP ProgramNamedParameter4fNV) (GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 874 */ - void (GLAPIENTRYP ProgramNamedParameter4fvNV) (GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 875 */ - void (GLAPIENTRYP PrimitiveRestartIndexNV) (GLuint index); /* 876 */ - void (GLAPIENTRYP PrimitiveRestartNV) (void); /* 877 */ - void (GLAPIENTRYP DepthBoundsEXT) (GLclampd zmin, GLclampd zmax); /* 878 */ - void (GLAPIENTRYP BlendEquationSeparateEXT) (GLenum modeRGB, GLenum modeA); /* 879 */ - void (GLAPIENTRYP BindFramebufferEXT) (GLenum target, GLuint framebuffer); /* 880 */ - void (GLAPIENTRYP BindRenderbufferEXT) (GLenum target, GLuint renderbuffer); /* 881 */ - GLenum(GLAPIENTRYP CheckFramebufferStatusEXT) (GLenum target); /* 882 */ - void (GLAPIENTRYP DeleteFramebuffersEXT) (GLsizei n, const GLuint * framebuffers); /* 883 */ - void (GLAPIENTRYP DeleteRenderbuffersEXT) (GLsizei n, const GLuint * renderbuffers); /* 884 */ - void (GLAPIENTRYP FramebufferRenderbufferEXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 885 */ - void (GLAPIENTRYP FramebufferTexture1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 886 */ - void (GLAPIENTRYP FramebufferTexture2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 887 */ - void (GLAPIENTRYP FramebufferTexture3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 888 */ - void (GLAPIENTRYP GenFramebuffersEXT) (GLsizei n, GLuint * framebuffers); /* 889 */ - void (GLAPIENTRYP GenRenderbuffersEXT) (GLsizei n, GLuint * renderbuffers); /* 890 */ - void (GLAPIENTRYP GenerateMipmapEXT) (GLenum target); /* 891 */ - void (GLAPIENTRYP GetFramebufferAttachmentParameterivEXT) (GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 892 */ - void (GLAPIENTRYP GetRenderbufferParameterivEXT) (GLenum target, GLenum pname, GLint * params); /* 893 */ - GLboolean(GLAPIENTRYP IsFramebufferEXT) (GLuint framebuffer); /* 894 */ - GLboolean(GLAPIENTRYP IsRenderbufferEXT) (GLuint renderbuffer); /* 895 */ - void (GLAPIENTRYP RenderbufferStorageEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 896 */ - void (GLAPIENTRYP BlitFramebufferEXT) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 897 */ - void (GLAPIENTRYP BufferParameteriAPPLE) (GLenum target, GLenum pname, GLint param); /* 898 */ - void (GLAPIENTRYP FlushMappedBufferRangeAPPLE) (GLenum target, GLintptr offset, GLsizeiptr size); /* 899 */ - void (GLAPIENTRYP BindFragDataLocationEXT) (GLuint program, GLuint colorNumber, const GLchar * name); /* 900 */ - GLint(GLAPIENTRYP GetFragDataLocationEXT) (GLuint program, const GLchar * name); /* 901 */ - void (GLAPIENTRYP GetUniformuivEXT) (GLuint program, GLint location, GLuint * params); /* 902 */ - void (GLAPIENTRYP GetVertexAttribIivEXT) (GLuint index, GLenum pname, GLint * params); /* 903 */ - void (GLAPIENTRYP GetVertexAttribIuivEXT) (GLuint index, GLenum pname, GLuint * params); /* 904 */ - void (GLAPIENTRYP Uniform1uiEXT) (GLint location, GLuint x); /* 905 */ - void (GLAPIENTRYP Uniform1uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 906 */ - void (GLAPIENTRYP Uniform2uiEXT) (GLint location, GLuint x, GLuint y); /* 907 */ - void (GLAPIENTRYP Uniform2uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 908 */ - void (GLAPIENTRYP Uniform3uiEXT) (GLint location, GLuint x, GLuint y, GLuint z); /* 909 */ - void (GLAPIENTRYP Uniform3uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 910 */ - void (GLAPIENTRYP Uniform4uiEXT) (GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 911 */ - void (GLAPIENTRYP Uniform4uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 912 */ - void (GLAPIENTRYP VertexAttribI1iEXT) (GLuint index, GLint x); /* 913 */ - void (GLAPIENTRYP VertexAttribI1ivEXT) (GLuint index, const GLint * v); /* 914 */ - void (GLAPIENTRYP VertexAttribI1uiEXT) (GLuint index, GLuint x); /* 915 */ - void (GLAPIENTRYP VertexAttribI1uivEXT) (GLuint index, const GLuint * v); /* 916 */ - void (GLAPIENTRYP VertexAttribI2iEXT) (GLuint index, GLint x, GLint y); /* 917 */ - void (GLAPIENTRYP VertexAttribI2ivEXT) (GLuint index, const GLint * v); /* 918 */ - void (GLAPIENTRYP VertexAttribI2uiEXT) (GLuint index, GLuint x, GLuint y); /* 919 */ - void (GLAPIENTRYP VertexAttribI2uivEXT) (GLuint index, const GLuint * v); /* 920 */ - void (GLAPIENTRYP VertexAttribI3iEXT) (GLuint index, GLint x, GLint y, GLint z); /* 921 */ - void (GLAPIENTRYP VertexAttribI3ivEXT) (GLuint index, const GLint * v); /* 922 */ - void (GLAPIENTRYP VertexAttribI3uiEXT) (GLuint index, GLuint x, GLuint y, GLuint z); /* 923 */ - void (GLAPIENTRYP VertexAttribI3uivEXT) (GLuint index, const GLuint * v); /* 924 */ - void (GLAPIENTRYP VertexAttribI4bvEXT) (GLuint index, const GLbyte * v); /* 925 */ - void (GLAPIENTRYP VertexAttribI4iEXT) (GLuint index, GLint x, GLint y, GLint z, GLint w); /* 926 */ - void (GLAPIENTRYP VertexAttribI4ivEXT) (GLuint index, const GLint * v); /* 927 */ - void (GLAPIENTRYP VertexAttribI4svEXT) (GLuint index, const GLshort * v); /* 928 */ - void (GLAPIENTRYP VertexAttribI4ubvEXT) (GLuint index, const GLubyte * v); /* 929 */ - void (GLAPIENTRYP VertexAttribI4uiEXT) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 930 */ - void (GLAPIENTRYP VertexAttribI4uivEXT) (GLuint index, const GLuint * v); /* 931 */ - void (GLAPIENTRYP VertexAttribI4usvEXT) (GLuint index, const GLushort * v); /* 932 */ - void (GLAPIENTRYP VertexAttribIPointerEXT) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 933 */ - void (GLAPIENTRYP FramebufferTextureLayerEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 934 */ - void (GLAPIENTRYP ColorMaskIndexedEXT) (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 935 */ - void (GLAPIENTRYP DisableIndexedEXT) (GLenum target, GLuint index); /* 936 */ - void (GLAPIENTRYP EnableIndexedEXT) (GLenum target, GLuint index); /* 937 */ - void (GLAPIENTRYP GetBooleanIndexedvEXT) (GLenum value, GLuint index, GLboolean * data); /* 938 */ - void (GLAPIENTRYP GetIntegerIndexedvEXT) (GLenum value, GLuint index, GLint * data); /* 939 */ - GLboolean(GLAPIENTRYP IsEnabledIndexedEXT) (GLenum target, GLuint index); /* 940 */ - void (GLAPIENTRYP ClearColorIiEXT) (GLint r, GLint g, GLint b, GLint a); /* 941 */ - void (GLAPIENTRYP ClearColorIuiEXT) (GLuint r, GLuint g, GLuint b, GLuint a); /* 942 */ - void (GLAPIENTRYP GetTexParameterIivEXT) (GLenum target, GLenum pname, GLint * params); /* 943 */ - void (GLAPIENTRYP GetTexParameterIuivEXT) (GLenum target, GLenum pname, GLuint * params); /* 944 */ - void (GLAPIENTRYP TexParameterIivEXT) (GLenum target, GLenum pname, const GLint * params); /* 945 */ - void (GLAPIENTRYP TexParameterIuivEXT) (GLenum target, GLenum pname, const GLuint * params); /* 946 */ - void (GLAPIENTRYP BeginConditionalRenderNV) (GLuint query, GLenum mode); /* 947 */ - void (GLAPIENTRYP EndConditionalRenderNV) (void); /* 948 */ - void (GLAPIENTRYP BeginTransformFeedbackEXT) (GLenum mode); /* 949 */ - void (GLAPIENTRYP BindBufferBaseEXT) (GLenum target, GLuint index, GLuint buffer); /* 950 */ - void (GLAPIENTRYP BindBufferOffsetEXT) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 951 */ - void (GLAPIENTRYP BindBufferRangeEXT) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 952 */ - void (GLAPIENTRYP EndTransformFeedbackEXT) (void); /* 953 */ - void (GLAPIENTRYP GetTransformFeedbackVaryingEXT) (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 954 */ - void (GLAPIENTRYP TransformFeedbackVaryingsEXT) (GLuint program, GLsizei count, const char **varyings, GLenum bufferMode); /* 955 */ - void (GLAPIENTRYP ProvokingVertexEXT) (GLenum mode); /* 956 */ - void (GLAPIENTRYP GetTexParameterPointervAPPLE) (GLenum target, GLenum pname, GLvoid ** params); /* 957 */ - void (GLAPIENTRYP TextureRangeAPPLE) (GLenum target, GLsizei length, GLvoid * pointer); /* 958 */ - void (GLAPIENTRYP GetObjectParameterivAPPLE) (GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 959 */ - GLenum(GLAPIENTRYP ObjectPurgeableAPPLE) (GLenum objectType, GLuint name, GLenum option); /* 960 */ - GLenum(GLAPIENTRYP ObjectUnpurgeableAPPLE) (GLenum objectType, GLuint name, GLenum option); /* 961 */ - void (GLAPIENTRYP ActiveProgramEXT) (GLuint program); /* 962 */ - GLuint(GLAPIENTRYP CreateShaderProgramEXT) (GLenum type, const GLchar * string); /* 963 */ - void (GLAPIENTRYP UseShaderProgramEXT) (GLenum type, GLuint program); /* 964 */ - void (GLAPIENTRYP TextureBarrierNV) (void); /* 965 */ - void (GLAPIENTRYP StencilFuncSeparateATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 966 */ - void (GLAPIENTRYP ProgramEnvParameters4fvEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 967 */ - void (GLAPIENTRYP ProgramLocalParameters4fvEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 968 */ - void (GLAPIENTRYP GetQueryObjecti64vEXT) (GLuint id, GLenum pname, GLint64EXT * params); /* 969 */ - void (GLAPIENTRYP GetQueryObjectui64vEXT) (GLuint id, GLenum pname, GLuint64EXT * params); /* 970 */ - void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES) (GLenum target, GLvoid * writeOffset); /* 971 */ - void (GLAPIENTRYP EGLImageTargetTexture2DOES) (GLenum target, GLvoid * writeOffset); /* 972 */ -}; - -#endif /* !defined( _GLAPI_TABLE_H_ ) */ +/* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */
+
+/*
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * (C) Copyright IBM Corporation 2004
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL, IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#if !defined( _GLAPI_TABLE_H_ )
+# define _GLAPI_TABLE_H_
+
+#ifndef GLAPIENTRYP
+# ifndef GLAPIENTRY
+# define GLAPIENTRY
+# endif
+
+# define GLAPIENTRYP GLAPIENTRY *
+#endif
+
+
+struct _glapi_table
+{
+ void (GLAPIENTRYP NewList)(GLuint list, GLenum mode); /* 0 */
+ void (GLAPIENTRYP EndList)(void); /* 1 */
+ void (GLAPIENTRYP CallList)(GLuint list); /* 2 */
+ void (GLAPIENTRYP CallLists)(GLsizei n, GLenum type, const GLvoid * lists); /* 3 */
+ void (GLAPIENTRYP DeleteLists)(GLuint list, GLsizei range); /* 4 */
+ GLuint (GLAPIENTRYP GenLists)(GLsizei range); /* 5 */
+ void (GLAPIENTRYP ListBase)(GLuint base); /* 6 */
+ void (GLAPIENTRYP Begin)(GLenum mode); /* 7 */
+ void (GLAPIENTRYP Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); /* 8 */
+ void (GLAPIENTRYP Color3b)(GLbyte red, GLbyte green, GLbyte blue); /* 9 */
+ void (GLAPIENTRYP Color3bv)(const GLbyte * v); /* 10 */
+ void (GLAPIENTRYP Color3d)(GLdouble red, GLdouble green, GLdouble blue); /* 11 */
+ void (GLAPIENTRYP Color3dv)(const GLdouble * v); /* 12 */
+ void (GLAPIENTRYP Color3f)(GLfloat red, GLfloat green, GLfloat blue); /* 13 */
+ void (GLAPIENTRYP Color3fv)(const GLfloat * v); /* 14 */
+ void (GLAPIENTRYP Color3i)(GLint red, GLint green, GLint blue); /* 15 */
+ void (GLAPIENTRYP Color3iv)(const GLint * v); /* 16 */
+ void (GLAPIENTRYP Color3s)(GLshort red, GLshort green, GLshort blue); /* 17 */
+ void (GLAPIENTRYP Color3sv)(const GLshort * v); /* 18 */
+ void (GLAPIENTRYP Color3ub)(GLubyte red, GLubyte green, GLubyte blue); /* 19 */
+ void (GLAPIENTRYP Color3ubv)(const GLubyte * v); /* 20 */
+ void (GLAPIENTRYP Color3ui)(GLuint red, GLuint green, GLuint blue); /* 21 */
+ void (GLAPIENTRYP Color3uiv)(const GLuint * v); /* 22 */
+ void (GLAPIENTRYP Color3us)(GLushort red, GLushort green, GLushort blue); /* 23 */
+ void (GLAPIENTRYP Color3usv)(const GLushort * v); /* 24 */
+ void (GLAPIENTRYP Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); /* 25 */
+ void (GLAPIENTRYP Color4bv)(const GLbyte * v); /* 26 */
+ void (GLAPIENTRYP Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); /* 27 */
+ void (GLAPIENTRYP Color4dv)(const GLdouble * v); /* 28 */
+ void (GLAPIENTRYP Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 29 */
+ void (GLAPIENTRYP Color4fv)(const GLfloat * v); /* 30 */
+ void (GLAPIENTRYP Color4i)(GLint red, GLint green, GLint blue, GLint alpha); /* 31 */
+ void (GLAPIENTRYP Color4iv)(const GLint * v); /* 32 */
+ void (GLAPIENTRYP Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha); /* 33 */
+ void (GLAPIENTRYP Color4sv)(const GLshort * v); /* 34 */
+ void (GLAPIENTRYP Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); /* 35 */
+ void (GLAPIENTRYP Color4ubv)(const GLubyte * v); /* 36 */
+ void (GLAPIENTRYP Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha); /* 37 */
+ void (GLAPIENTRYP Color4uiv)(const GLuint * v); /* 38 */
+ void (GLAPIENTRYP Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha); /* 39 */
+ void (GLAPIENTRYP Color4usv)(const GLushort * v); /* 40 */
+ void (GLAPIENTRYP EdgeFlag)(GLboolean flag); /* 41 */
+ void (GLAPIENTRYP EdgeFlagv)(const GLboolean * flag); /* 42 */
+ void (GLAPIENTRYP End)(void); /* 43 */
+ void (GLAPIENTRYP Indexd)(GLdouble c); /* 44 */
+ void (GLAPIENTRYP Indexdv)(const GLdouble * c); /* 45 */
+ void (GLAPIENTRYP Indexf)(GLfloat c); /* 46 */
+ void (GLAPIENTRYP Indexfv)(const GLfloat * c); /* 47 */
+ void (GLAPIENTRYP Indexi)(GLint c); /* 48 */
+ void (GLAPIENTRYP Indexiv)(const GLint * c); /* 49 */
+ void (GLAPIENTRYP Indexs)(GLshort c); /* 50 */
+ void (GLAPIENTRYP Indexsv)(const GLshort * c); /* 51 */
+ void (GLAPIENTRYP Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz); /* 52 */
+ void (GLAPIENTRYP Normal3bv)(const GLbyte * v); /* 53 */
+ void (GLAPIENTRYP Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz); /* 54 */
+ void (GLAPIENTRYP Normal3dv)(const GLdouble * v); /* 55 */
+ void (GLAPIENTRYP Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz); /* 56 */
+ void (GLAPIENTRYP Normal3fv)(const GLfloat * v); /* 57 */
+ void (GLAPIENTRYP Normal3i)(GLint nx, GLint ny, GLint nz); /* 58 */
+ void (GLAPIENTRYP Normal3iv)(const GLint * v); /* 59 */
+ void (GLAPIENTRYP Normal3s)(GLshort nx, GLshort ny, GLshort nz); /* 60 */
+ void (GLAPIENTRYP Normal3sv)(const GLshort * v); /* 61 */
+ void (GLAPIENTRYP RasterPos2d)(GLdouble x, GLdouble y); /* 62 */
+ void (GLAPIENTRYP RasterPos2dv)(const GLdouble * v); /* 63 */
+ void (GLAPIENTRYP RasterPos2f)(GLfloat x, GLfloat y); /* 64 */
+ void (GLAPIENTRYP RasterPos2fv)(const GLfloat * v); /* 65 */
+ void (GLAPIENTRYP RasterPos2i)(GLint x, GLint y); /* 66 */
+ void (GLAPIENTRYP RasterPos2iv)(const GLint * v); /* 67 */
+ void (GLAPIENTRYP RasterPos2s)(GLshort x, GLshort y); /* 68 */
+ void (GLAPIENTRYP RasterPos2sv)(const GLshort * v); /* 69 */
+ void (GLAPIENTRYP RasterPos3d)(GLdouble x, GLdouble y, GLdouble z); /* 70 */
+ void (GLAPIENTRYP RasterPos3dv)(const GLdouble * v); /* 71 */
+ void (GLAPIENTRYP RasterPos3f)(GLfloat x, GLfloat y, GLfloat z); /* 72 */
+ void (GLAPIENTRYP RasterPos3fv)(const GLfloat * v); /* 73 */
+ void (GLAPIENTRYP RasterPos3i)(GLint x, GLint y, GLint z); /* 74 */
+ void (GLAPIENTRYP RasterPos3iv)(const GLint * v); /* 75 */
+ void (GLAPIENTRYP RasterPos3s)(GLshort x, GLshort y, GLshort z); /* 76 */
+ void (GLAPIENTRYP RasterPos3sv)(const GLshort * v); /* 77 */
+ void (GLAPIENTRYP RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 78 */
+ void (GLAPIENTRYP RasterPos4dv)(const GLdouble * v); /* 79 */
+ void (GLAPIENTRYP RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 80 */
+ void (GLAPIENTRYP RasterPos4fv)(const GLfloat * v); /* 81 */
+ void (GLAPIENTRYP RasterPos4i)(GLint x, GLint y, GLint z, GLint w); /* 82 */
+ void (GLAPIENTRYP RasterPos4iv)(const GLint * v); /* 83 */
+ void (GLAPIENTRYP RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w); /* 84 */
+ void (GLAPIENTRYP RasterPos4sv)(const GLshort * v); /* 85 */
+ void (GLAPIENTRYP Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); /* 86 */
+ void (GLAPIENTRYP Rectdv)(const GLdouble * v1, const GLdouble * v2); /* 87 */
+ void (GLAPIENTRYP Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); /* 88 */
+ void (GLAPIENTRYP Rectfv)(const GLfloat * v1, const GLfloat * v2); /* 89 */
+ void (GLAPIENTRYP Recti)(GLint x1, GLint y1, GLint x2, GLint y2); /* 90 */
+ void (GLAPIENTRYP Rectiv)(const GLint * v1, const GLint * v2); /* 91 */
+ void (GLAPIENTRYP Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); /* 92 */
+ void (GLAPIENTRYP Rectsv)(const GLshort * v1, const GLshort * v2); /* 93 */
+ void (GLAPIENTRYP TexCoord1d)(GLdouble s); /* 94 */
+ void (GLAPIENTRYP TexCoord1dv)(const GLdouble * v); /* 95 */
+ void (GLAPIENTRYP TexCoord1f)(GLfloat s); /* 96 */
+ void (GLAPIENTRYP TexCoord1fv)(const GLfloat * v); /* 97 */
+ void (GLAPIENTRYP TexCoord1i)(GLint s); /* 98 */
+ void (GLAPIENTRYP TexCoord1iv)(const GLint * v); /* 99 */
+ void (GLAPIENTRYP TexCoord1s)(GLshort s); /* 100 */
+ void (GLAPIENTRYP TexCoord1sv)(const GLshort * v); /* 101 */
+ void (GLAPIENTRYP TexCoord2d)(GLdouble s, GLdouble t); /* 102 */
+ void (GLAPIENTRYP TexCoord2dv)(const GLdouble * v); /* 103 */
+ void (GLAPIENTRYP TexCoord2f)(GLfloat s, GLfloat t); /* 104 */
+ void (GLAPIENTRYP TexCoord2fv)(const GLfloat * v); /* 105 */
+ void (GLAPIENTRYP TexCoord2i)(GLint s, GLint t); /* 106 */
+ void (GLAPIENTRYP TexCoord2iv)(const GLint * v); /* 107 */
+ void (GLAPIENTRYP TexCoord2s)(GLshort s, GLshort t); /* 108 */
+ void (GLAPIENTRYP TexCoord2sv)(const GLshort * v); /* 109 */
+ void (GLAPIENTRYP TexCoord3d)(GLdouble s, GLdouble t, GLdouble r); /* 110 */
+ void (GLAPIENTRYP TexCoord3dv)(const GLdouble * v); /* 111 */
+ void (GLAPIENTRYP TexCoord3f)(GLfloat s, GLfloat t, GLfloat r); /* 112 */
+ void (GLAPIENTRYP TexCoord3fv)(const GLfloat * v); /* 113 */
+ void (GLAPIENTRYP TexCoord3i)(GLint s, GLint t, GLint r); /* 114 */
+ void (GLAPIENTRYP TexCoord3iv)(const GLint * v); /* 115 */
+ void (GLAPIENTRYP TexCoord3s)(GLshort s, GLshort t, GLshort r); /* 116 */
+ void (GLAPIENTRYP TexCoord3sv)(const GLshort * v); /* 117 */
+ void (GLAPIENTRYP TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 118 */
+ void (GLAPIENTRYP TexCoord4dv)(const GLdouble * v); /* 119 */
+ void (GLAPIENTRYP TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 120 */
+ void (GLAPIENTRYP TexCoord4fv)(const GLfloat * v); /* 121 */
+ void (GLAPIENTRYP TexCoord4i)(GLint s, GLint t, GLint r, GLint q); /* 122 */
+ void (GLAPIENTRYP TexCoord4iv)(const GLint * v); /* 123 */
+ void (GLAPIENTRYP TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q); /* 124 */
+ void (GLAPIENTRYP TexCoord4sv)(const GLshort * v); /* 125 */
+ void (GLAPIENTRYP Vertex2d)(GLdouble x, GLdouble y); /* 126 */
+ void (GLAPIENTRYP Vertex2dv)(const GLdouble * v); /* 127 */
+ void (GLAPIENTRYP Vertex2f)(GLfloat x, GLfloat y); /* 128 */
+ void (GLAPIENTRYP Vertex2fv)(const GLfloat * v); /* 129 */
+ void (GLAPIENTRYP Vertex2i)(GLint x, GLint y); /* 130 */
+ void (GLAPIENTRYP Vertex2iv)(const GLint * v); /* 131 */
+ void (GLAPIENTRYP Vertex2s)(GLshort x, GLshort y); /* 132 */
+ void (GLAPIENTRYP Vertex2sv)(const GLshort * v); /* 133 */
+ void (GLAPIENTRYP Vertex3d)(GLdouble x, GLdouble y, GLdouble z); /* 134 */
+ void (GLAPIENTRYP Vertex3dv)(const GLdouble * v); /* 135 */
+ void (GLAPIENTRYP Vertex3f)(GLfloat x, GLfloat y, GLfloat z); /* 136 */
+ void (GLAPIENTRYP Vertex3fv)(const GLfloat * v); /* 137 */
+ void (GLAPIENTRYP Vertex3i)(GLint x, GLint y, GLint z); /* 138 */
+ void (GLAPIENTRYP Vertex3iv)(const GLint * v); /* 139 */
+ void (GLAPIENTRYP Vertex3s)(GLshort x, GLshort y, GLshort z); /* 140 */
+ void (GLAPIENTRYP Vertex3sv)(const GLshort * v); /* 141 */
+ void (GLAPIENTRYP Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 142 */
+ void (GLAPIENTRYP Vertex4dv)(const GLdouble * v); /* 143 */
+ void (GLAPIENTRYP Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 144 */
+ void (GLAPIENTRYP Vertex4fv)(const GLfloat * v); /* 145 */
+ void (GLAPIENTRYP Vertex4i)(GLint x, GLint y, GLint z, GLint w); /* 146 */
+ void (GLAPIENTRYP Vertex4iv)(const GLint * v); /* 147 */
+ void (GLAPIENTRYP Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w); /* 148 */
+ void (GLAPIENTRYP Vertex4sv)(const GLshort * v); /* 149 */
+ void (GLAPIENTRYP ClipPlane)(GLenum plane, const GLdouble * equation); /* 150 */
+ void (GLAPIENTRYP ColorMaterial)(GLenum face, GLenum mode); /* 151 */
+ void (GLAPIENTRYP CullFace)(GLenum mode); /* 152 */
+ void (GLAPIENTRYP Fogf)(GLenum pname, GLfloat param); /* 153 */
+ void (GLAPIENTRYP Fogfv)(GLenum pname, const GLfloat * params); /* 154 */
+ void (GLAPIENTRYP Fogi)(GLenum pname, GLint param); /* 155 */
+ void (GLAPIENTRYP Fogiv)(GLenum pname, const GLint * params); /* 156 */
+ void (GLAPIENTRYP FrontFace)(GLenum mode); /* 157 */
+ void (GLAPIENTRYP Hint)(GLenum target, GLenum mode); /* 158 */
+ void (GLAPIENTRYP Lightf)(GLenum light, GLenum pname, GLfloat param); /* 159 */
+ void (GLAPIENTRYP Lightfv)(GLenum light, GLenum pname, const GLfloat * params); /* 160 */
+ void (GLAPIENTRYP Lighti)(GLenum light, GLenum pname, GLint param); /* 161 */
+ void (GLAPIENTRYP Lightiv)(GLenum light, GLenum pname, const GLint * params); /* 162 */
+ void (GLAPIENTRYP LightModelf)(GLenum pname, GLfloat param); /* 163 */
+ void (GLAPIENTRYP LightModelfv)(GLenum pname, const GLfloat * params); /* 164 */
+ void (GLAPIENTRYP LightModeli)(GLenum pname, GLint param); /* 165 */
+ void (GLAPIENTRYP LightModeliv)(GLenum pname, const GLint * params); /* 166 */
+ void (GLAPIENTRYP LineStipple)(GLint factor, GLushort pattern); /* 167 */
+ void (GLAPIENTRYP LineWidth)(GLfloat width); /* 168 */
+ void (GLAPIENTRYP Materialf)(GLenum face, GLenum pname, GLfloat param); /* 169 */
+ void (GLAPIENTRYP Materialfv)(GLenum face, GLenum pname, const GLfloat * params); /* 170 */
+ void (GLAPIENTRYP Materiali)(GLenum face, GLenum pname, GLint param); /* 171 */
+ void (GLAPIENTRYP Materialiv)(GLenum face, GLenum pname, const GLint * params); /* 172 */
+ void (GLAPIENTRYP PointSize)(GLfloat size); /* 173 */
+ void (GLAPIENTRYP PolygonMode)(GLenum face, GLenum mode); /* 174 */
+ void (GLAPIENTRYP PolygonStipple)(const GLubyte * mask); /* 175 */
+ void (GLAPIENTRYP Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); /* 176 */
+ void (GLAPIENTRYP ShadeModel)(GLenum mode); /* 177 */
+ void (GLAPIENTRYP TexParameterf)(GLenum target, GLenum pname, GLfloat param); /* 178 */
+ void (GLAPIENTRYP TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 179 */
+ void (GLAPIENTRYP TexParameteri)(GLenum target, GLenum pname, GLint param); /* 180 */
+ void (GLAPIENTRYP TexParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 181 */
+ void (GLAPIENTRYP TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 182 */
+ void (GLAPIENTRYP TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 183 */
+ void (GLAPIENTRYP TexEnvf)(GLenum target, GLenum pname, GLfloat param); /* 184 */
+ void (GLAPIENTRYP TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params); /* 185 */
+ void (GLAPIENTRYP TexEnvi)(GLenum target, GLenum pname, GLint param); /* 186 */
+ void (GLAPIENTRYP TexEnviv)(GLenum target, GLenum pname, const GLint * params); /* 187 */
+ void (GLAPIENTRYP TexGend)(GLenum coord, GLenum pname, GLdouble param); /* 188 */
+ void (GLAPIENTRYP TexGendv)(GLenum coord, GLenum pname, const GLdouble * params); /* 189 */
+ void (GLAPIENTRYP TexGenf)(GLenum coord, GLenum pname, GLfloat param); /* 190 */
+ void (GLAPIENTRYP TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params); /* 191 */
+ void (GLAPIENTRYP TexGeni)(GLenum coord, GLenum pname, GLint param); /* 192 */
+ void (GLAPIENTRYP TexGeniv)(GLenum coord, GLenum pname, const GLint * params); /* 193 */
+ void (GLAPIENTRYP FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer); /* 194 */
+ void (GLAPIENTRYP SelectBuffer)(GLsizei size, GLuint * buffer); /* 195 */
+ GLint (GLAPIENTRYP RenderMode)(GLenum mode); /* 196 */
+ void (GLAPIENTRYP InitNames)(void); /* 197 */
+ void (GLAPIENTRYP LoadName)(GLuint name); /* 198 */
+ void (GLAPIENTRYP PassThrough)(GLfloat token); /* 199 */
+ void (GLAPIENTRYP PopName)(void); /* 200 */
+ void (GLAPIENTRYP PushName)(GLuint name); /* 201 */
+ void (GLAPIENTRYP DrawBuffer)(GLenum mode); /* 202 */
+ void (GLAPIENTRYP Clear)(GLbitfield mask); /* 203 */
+ void (GLAPIENTRYP ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 204 */
+ void (GLAPIENTRYP ClearIndex)(GLfloat c); /* 205 */
+ void (GLAPIENTRYP ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 206 */
+ void (GLAPIENTRYP ClearStencil)(GLint s); /* 207 */
+ void (GLAPIENTRYP ClearDepth)(GLclampd depth); /* 208 */
+ void (GLAPIENTRYP StencilMask)(GLuint mask); /* 209 */
+ void (GLAPIENTRYP ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); /* 210 */
+ void (GLAPIENTRYP DepthMask)(GLboolean flag); /* 211 */
+ void (GLAPIENTRYP IndexMask)(GLuint mask); /* 212 */
+ void (GLAPIENTRYP Accum)(GLenum op, GLfloat value); /* 213 */
+ void (GLAPIENTRYP Disable)(GLenum cap); /* 214 */
+ void (GLAPIENTRYP Enable)(GLenum cap); /* 215 */
+ void (GLAPIENTRYP Finish)(void); /* 216 */
+ void (GLAPIENTRYP Flush)(void); /* 217 */
+ void (GLAPIENTRYP PopAttrib)(void); /* 218 */
+ void (GLAPIENTRYP PushAttrib)(GLbitfield mask); /* 219 */
+ void (GLAPIENTRYP Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); /* 220 */
+ void (GLAPIENTRYP Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); /* 221 */
+ void (GLAPIENTRYP Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); /* 222 */
+ void (GLAPIENTRYP Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); /* 223 */
+ void (GLAPIENTRYP MapGrid1d)(GLint un, GLdouble u1, GLdouble u2); /* 224 */
+ void (GLAPIENTRYP MapGrid1f)(GLint un, GLfloat u1, GLfloat u2); /* 225 */
+ void (GLAPIENTRYP MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); /* 226 */
+ void (GLAPIENTRYP MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); /* 227 */
+ void (GLAPIENTRYP EvalCoord1d)(GLdouble u); /* 228 */
+ void (GLAPIENTRYP EvalCoord1dv)(const GLdouble * u); /* 229 */
+ void (GLAPIENTRYP EvalCoord1f)(GLfloat u); /* 230 */
+ void (GLAPIENTRYP EvalCoord1fv)(const GLfloat * u); /* 231 */
+ void (GLAPIENTRYP EvalCoord2d)(GLdouble u, GLdouble v); /* 232 */
+ void (GLAPIENTRYP EvalCoord2dv)(const GLdouble * u); /* 233 */
+ void (GLAPIENTRYP EvalCoord2f)(GLfloat u, GLfloat v); /* 234 */
+ void (GLAPIENTRYP EvalCoord2fv)(const GLfloat * u); /* 235 */
+ void (GLAPIENTRYP EvalMesh1)(GLenum mode, GLint i1, GLint i2); /* 236 */
+ void (GLAPIENTRYP EvalPoint1)(GLint i); /* 237 */
+ void (GLAPIENTRYP EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); /* 238 */
+ void (GLAPIENTRYP EvalPoint2)(GLint i, GLint j); /* 239 */
+ void (GLAPIENTRYP AlphaFunc)(GLenum func, GLclampf ref); /* 240 */
+ void (GLAPIENTRYP BlendFunc)(GLenum sfactor, GLenum dfactor); /* 241 */
+ void (GLAPIENTRYP LogicOp)(GLenum opcode); /* 242 */
+ void (GLAPIENTRYP StencilFunc)(GLenum func, GLint ref, GLuint mask); /* 243 */
+ void (GLAPIENTRYP StencilOp)(GLenum fail, GLenum zfail, GLenum zpass); /* 244 */
+ void (GLAPIENTRYP DepthFunc)(GLenum func); /* 245 */
+ void (GLAPIENTRYP PixelZoom)(GLfloat xfactor, GLfloat yfactor); /* 246 */
+ void (GLAPIENTRYP PixelTransferf)(GLenum pname, GLfloat param); /* 247 */
+ void (GLAPIENTRYP PixelTransferi)(GLenum pname, GLint param); /* 248 */
+ void (GLAPIENTRYP PixelStoref)(GLenum pname, GLfloat param); /* 249 */
+ void (GLAPIENTRYP PixelStorei)(GLenum pname, GLint param); /* 250 */
+ void (GLAPIENTRYP PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */
+ void (GLAPIENTRYP PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */
+ void (GLAPIENTRYP PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */
+ void (GLAPIENTRYP ReadBuffer)(GLenum mode); /* 254 */
+ void (GLAPIENTRYP CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); /* 255 */
+ void (GLAPIENTRYP ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); /* 256 */
+ void (GLAPIENTRYP DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 257 */
+ void (GLAPIENTRYP GetBooleanv)(GLenum pname, GLboolean * params); /* 258 */
+ void (GLAPIENTRYP GetClipPlane)(GLenum plane, GLdouble * equation); /* 259 */
+ void (GLAPIENTRYP GetDoublev)(GLenum pname, GLdouble * params); /* 260 */
+ GLenum (GLAPIENTRYP GetError)(void); /* 261 */
+ void (GLAPIENTRYP GetFloatv)(GLenum pname, GLfloat * params); /* 262 */
+ void (GLAPIENTRYP GetIntegerv)(GLenum pname, GLint * params); /* 263 */
+ void (GLAPIENTRYP GetLightfv)(GLenum light, GLenum pname, GLfloat * params); /* 264 */
+ void (GLAPIENTRYP GetLightiv)(GLenum light, GLenum pname, GLint * params); /* 265 */
+ void (GLAPIENTRYP GetMapdv)(GLenum target, GLenum query, GLdouble * v); /* 266 */
+ void (GLAPIENTRYP GetMapfv)(GLenum target, GLenum query, GLfloat * v); /* 267 */
+ void (GLAPIENTRYP GetMapiv)(GLenum target, GLenum query, GLint * v); /* 268 */
+ void (GLAPIENTRYP GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params); /* 269 */
+ void (GLAPIENTRYP GetMaterialiv)(GLenum face, GLenum pname, GLint * params); /* 270 */
+ void (GLAPIENTRYP GetPixelMapfv)(GLenum map, GLfloat * values); /* 271 */
+ void (GLAPIENTRYP GetPixelMapuiv)(GLenum map, GLuint * values); /* 272 */
+ void (GLAPIENTRYP GetPixelMapusv)(GLenum map, GLushort * values); /* 273 */
+ void (GLAPIENTRYP GetPolygonStipple)(GLubyte * mask); /* 274 */
+ const GLubyte * (GLAPIENTRYP GetString)(GLenum name); /* 275 */
+ void (GLAPIENTRYP GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params); /* 276 */
+ void (GLAPIENTRYP GetTexEnviv)(GLenum target, GLenum pname, GLint * params); /* 277 */
+ void (GLAPIENTRYP GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params); /* 278 */
+ void (GLAPIENTRYP GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params); /* 279 */
+ void (GLAPIENTRYP GetTexGeniv)(GLenum coord, GLenum pname, GLint * params); /* 280 */
+ void (GLAPIENTRYP GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); /* 281 */
+ void (GLAPIENTRYP GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 282 */
+ void (GLAPIENTRYP GetTexParameteriv)(GLenum target, GLenum pname, GLint * params); /* 283 */
+ void (GLAPIENTRYP GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params); /* 284 */
+ void (GLAPIENTRYP GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params); /* 285 */
+ GLboolean (GLAPIENTRYP IsEnabled)(GLenum cap); /* 286 */
+ GLboolean (GLAPIENTRYP IsList)(GLuint list); /* 287 */
+ void (GLAPIENTRYP DepthRange)(GLclampd zNear, GLclampd zFar); /* 288 */
+ void (GLAPIENTRYP Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 289 */
+ void (GLAPIENTRYP LoadIdentity)(void); /* 290 */
+ void (GLAPIENTRYP LoadMatrixf)(const GLfloat * m); /* 291 */
+ void (GLAPIENTRYP LoadMatrixd)(const GLdouble * m); /* 292 */
+ void (GLAPIENTRYP MatrixMode)(GLenum mode); /* 293 */
+ void (GLAPIENTRYP MultMatrixf)(const GLfloat * m); /* 294 */
+ void (GLAPIENTRYP MultMatrixd)(const GLdouble * m); /* 295 */
+ void (GLAPIENTRYP Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 296 */
+ void (GLAPIENTRYP PopMatrix)(void); /* 297 */
+ void (GLAPIENTRYP PushMatrix)(void); /* 298 */
+ void (GLAPIENTRYP Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); /* 299 */
+ void (GLAPIENTRYP Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); /* 300 */
+ void (GLAPIENTRYP Scaled)(GLdouble x, GLdouble y, GLdouble z); /* 301 */
+ void (GLAPIENTRYP Scalef)(GLfloat x, GLfloat y, GLfloat z); /* 302 */
+ void (GLAPIENTRYP Translated)(GLdouble x, GLdouble y, GLdouble z); /* 303 */
+ void (GLAPIENTRYP Translatef)(GLfloat x, GLfloat y, GLfloat z); /* 304 */
+ void (GLAPIENTRYP Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); /* 305 */
+ void (GLAPIENTRYP ArrayElement)(GLint i); /* 306 */
+ void (GLAPIENTRYP BindTexture)(GLenum target, GLuint texture); /* 307 */
+ void (GLAPIENTRYP ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 308 */
+ void (GLAPIENTRYP DisableClientState)(GLenum array); /* 309 */
+ void (GLAPIENTRYP DrawArrays)(GLenum mode, GLint first, GLsizei count); /* 310 */
+ void (GLAPIENTRYP DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); /* 311 */
+ void (GLAPIENTRYP EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer); /* 312 */
+ void (GLAPIENTRYP EnableClientState)(GLenum array); /* 313 */
+ void (GLAPIENTRYP IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 314 */
+ void (GLAPIENTRYP Indexub)(GLubyte c); /* 315 */
+ void (GLAPIENTRYP Indexubv)(const GLubyte * c); /* 316 */
+ void (GLAPIENTRYP InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer); /* 317 */
+ void (GLAPIENTRYP NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 318 */
+ void (GLAPIENTRYP PolygonOffset)(GLfloat factor, GLfloat units); /* 319 */
+ void (GLAPIENTRYP TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 320 */
+ void (GLAPIENTRYP VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 321 */
+ GLboolean (GLAPIENTRYP AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); /* 322 */
+ void (GLAPIENTRYP CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); /* 323 */
+ void (GLAPIENTRYP CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); /* 324 */
+ void (GLAPIENTRYP CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); /* 325 */
+ void (GLAPIENTRYP CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 326 */
+ void (GLAPIENTRYP DeleteTextures)(GLsizei n, const GLuint * textures); /* 327 */
+ void (GLAPIENTRYP GenTextures)(GLsizei n, GLuint * textures); /* 328 */
+ void (GLAPIENTRYP GetPointerv)(GLenum pname, GLvoid ** params); /* 329 */
+ GLboolean (GLAPIENTRYP IsTexture)(GLuint texture); /* 330 */
+ void (GLAPIENTRYP PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities); /* 331 */
+ void (GLAPIENTRYP TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); /* 332 */
+ void (GLAPIENTRYP TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 333 */
+ void (GLAPIENTRYP PopClientAttrib)(void); /* 334 */
+ void (GLAPIENTRYP PushClientAttrib)(GLbitfield mask); /* 335 */
+ void (GLAPIENTRYP BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 336 */
+ void (GLAPIENTRYP BlendEquation)(GLenum mode); /* 337 */
+ void (GLAPIENTRYP DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); /* 338 */
+ void (GLAPIENTRYP ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); /* 339 */
+ void (GLAPIENTRYP ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 340 */
+ void (GLAPIENTRYP ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 341 */
+ void (GLAPIENTRYP CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 342 */
+ void (GLAPIENTRYP GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table); /* 343 */
+ void (GLAPIENTRYP GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 344 */
+ void (GLAPIENTRYP GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params); /* 345 */
+ void (GLAPIENTRYP ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); /* 346 */
+ void (GLAPIENTRYP CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); /* 347 */
+ void (GLAPIENTRYP ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); /* 348 */
+ void (GLAPIENTRYP ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); /* 349 */
+ void (GLAPIENTRYP ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params); /* 350 */
+ void (GLAPIENTRYP ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 351 */
+ void (GLAPIENTRYP ConvolutionParameteri)(GLenum target, GLenum pname, GLint params); /* 352 */
+ void (GLAPIENTRYP ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 353 */
+ void (GLAPIENTRYP CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 354 */
+ void (GLAPIENTRYP CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); /* 355 */
+ void (GLAPIENTRYP GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image); /* 356 */
+ void (GLAPIENTRYP GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 357 */
+ void (GLAPIENTRYP GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params); /* 358 */
+ void (GLAPIENTRYP GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); /* 359 */
+ void (GLAPIENTRYP SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); /* 360 */
+ void (GLAPIENTRYP GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 361 */
+ void (GLAPIENTRYP GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 362 */
+ void (GLAPIENTRYP GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params); /* 363 */
+ void (GLAPIENTRYP GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 364 */
+ void (GLAPIENTRYP GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 365 */
+ void (GLAPIENTRYP GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params); /* 366 */
+ void (GLAPIENTRYP Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); /* 367 */
+ void (GLAPIENTRYP Minmax)(GLenum target, GLenum internalformat, GLboolean sink); /* 368 */
+ void (GLAPIENTRYP ResetHistogram)(GLenum target); /* 369 */
+ void (GLAPIENTRYP ResetMinmax)(GLenum target); /* 370 */
+ void (GLAPIENTRYP TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */
+ void (GLAPIENTRYP TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); /* 372 */
+ void (GLAPIENTRYP CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 373 */
+ void (GLAPIENTRYP ActiveTexture)(GLenum texture); /* 374 */
+ void (GLAPIENTRYP ClientActiveTexture)(GLenum texture); /* 375 */
+ void (GLAPIENTRYP MultiTexCoord1d)(GLenum target, GLdouble s); /* 376 */
+ void (GLAPIENTRYP MultiTexCoord1dv)(GLenum target, const GLdouble * v); /* 377 */
+ void (GLAPIENTRYP MultiTexCoord1fARB)(GLenum target, GLfloat s); /* 378 */
+ void (GLAPIENTRYP MultiTexCoord1fvARB)(GLenum target, const GLfloat * v); /* 379 */
+ void (GLAPIENTRYP MultiTexCoord1i)(GLenum target, GLint s); /* 380 */
+ void (GLAPIENTRYP MultiTexCoord1iv)(GLenum target, const GLint * v); /* 381 */
+ void (GLAPIENTRYP MultiTexCoord1s)(GLenum target, GLshort s); /* 382 */
+ void (GLAPIENTRYP MultiTexCoord1sv)(GLenum target, const GLshort * v); /* 383 */
+ void (GLAPIENTRYP MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t); /* 384 */
+ void (GLAPIENTRYP MultiTexCoord2dv)(GLenum target, const GLdouble * v); /* 385 */
+ void (GLAPIENTRYP MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); /* 386 */
+ void (GLAPIENTRYP MultiTexCoord2fvARB)(GLenum target, const GLfloat * v); /* 387 */
+ void (GLAPIENTRYP MultiTexCoord2i)(GLenum target, GLint s, GLint t); /* 388 */
+ void (GLAPIENTRYP MultiTexCoord2iv)(GLenum target, const GLint * v); /* 389 */
+ void (GLAPIENTRYP MultiTexCoord2s)(GLenum target, GLshort s, GLshort t); /* 390 */
+ void (GLAPIENTRYP MultiTexCoord2sv)(GLenum target, const GLshort * v); /* 391 */
+ void (GLAPIENTRYP MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */
+ void (GLAPIENTRYP MultiTexCoord3dv)(GLenum target, const GLdouble * v); /* 393 */
+ void (GLAPIENTRYP MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */
+ void (GLAPIENTRYP MultiTexCoord3fvARB)(GLenum target, const GLfloat * v); /* 395 */
+ void (GLAPIENTRYP MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r); /* 396 */
+ void (GLAPIENTRYP MultiTexCoord3iv)(GLenum target, const GLint * v); /* 397 */
+ void (GLAPIENTRYP MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */
+ void (GLAPIENTRYP MultiTexCoord3sv)(GLenum target, const GLshort * v); /* 399 */
+ void (GLAPIENTRYP MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */
+ void (GLAPIENTRYP MultiTexCoord4dv)(GLenum target, const GLdouble * v); /* 401 */
+ void (GLAPIENTRYP MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */
+ void (GLAPIENTRYP MultiTexCoord4fvARB)(GLenum target, const GLfloat * v); /* 403 */
+ void (GLAPIENTRYP MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */
+ void (GLAPIENTRYP MultiTexCoord4iv)(GLenum target, const GLint * v); /* 405 */
+ void (GLAPIENTRYP MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */
+ void (GLAPIENTRYP MultiTexCoord4sv)(GLenum target, const GLshort * v); /* 407 */
+#if !defined HAVE_SHARED_GLAPI
+ void (GLAPIENTRYP CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 408 */
+ void (GLAPIENTRYP CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 409 */
+ void (GLAPIENTRYP CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 410 */
+ void (GLAPIENTRYP CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 411 */
+ void (GLAPIENTRYP CompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 412 */
+ void (GLAPIENTRYP CompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 413 */
+ void (GLAPIENTRYP GetCompressedTexImage)(GLenum target, GLint level, GLvoid * img); /* 414 */
+ void (GLAPIENTRYP LoadTransposeMatrixd)(const GLdouble * m); /* 415 */
+ void (GLAPIENTRYP LoadTransposeMatrixf)(const GLfloat * m); /* 416 */
+ void (GLAPIENTRYP MultTransposeMatrixd)(const GLdouble * m); /* 417 */
+ void (GLAPIENTRYP MultTransposeMatrixf)(const GLfloat * m); /* 418 */
+ void (GLAPIENTRYP SampleCoverage)(GLclampf value, GLboolean invert); /* 419 */
+ void (GLAPIENTRYP BlendFuncSeparate)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 420 */
+ void (GLAPIENTRYP FogCoordPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 421 */
+ void (GLAPIENTRYP FogCoordd)(GLdouble coord); /* 422 */
+ void (GLAPIENTRYP FogCoorddv)(const GLdouble * coord); /* 423 */
+ void (GLAPIENTRYP MultiDrawArrays)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 424 */
+ void (GLAPIENTRYP PointParameterf)(GLenum pname, GLfloat param); /* 425 */
+ void (GLAPIENTRYP PointParameterfv)(GLenum pname, const GLfloat * params); /* 426 */
+ void (GLAPIENTRYP PointParameteri)(GLenum pname, GLint param); /* 427 */
+ void (GLAPIENTRYP PointParameteriv)(GLenum pname, const GLint * params); /* 428 */
+ void (GLAPIENTRYP SecondaryColor3b)(GLbyte red, GLbyte green, GLbyte blue); /* 429 */
+ void (GLAPIENTRYP SecondaryColor3bv)(const GLbyte * v); /* 430 */
+ void (GLAPIENTRYP SecondaryColor3d)(GLdouble red, GLdouble green, GLdouble blue); /* 431 */
+ void (GLAPIENTRYP SecondaryColor3dv)(const GLdouble * v); /* 432 */
+ void (GLAPIENTRYP SecondaryColor3i)(GLint red, GLint green, GLint blue); /* 433 */
+ void (GLAPIENTRYP SecondaryColor3iv)(const GLint * v); /* 434 */
+ void (GLAPIENTRYP SecondaryColor3s)(GLshort red, GLshort green, GLshort blue); /* 435 */
+ void (GLAPIENTRYP SecondaryColor3sv)(const GLshort * v); /* 436 */
+ void (GLAPIENTRYP SecondaryColor3ub)(GLubyte red, GLubyte green, GLubyte blue); /* 437 */
+ void (GLAPIENTRYP SecondaryColor3ubv)(const GLubyte * v); /* 438 */
+ void (GLAPIENTRYP SecondaryColor3ui)(GLuint red, GLuint green, GLuint blue); /* 439 */
+ void (GLAPIENTRYP SecondaryColor3uiv)(const GLuint * v); /* 440 */
+ void (GLAPIENTRYP SecondaryColor3us)(GLushort red, GLushort green, GLushort blue); /* 441 */
+ void (GLAPIENTRYP SecondaryColor3usv)(const GLushort * v); /* 442 */
+ void (GLAPIENTRYP SecondaryColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 443 */
+ void (GLAPIENTRYP WindowPos2d)(GLdouble x, GLdouble y); /* 444 */
+ void (GLAPIENTRYP WindowPos2dv)(const GLdouble * v); /* 445 */
+ void (GLAPIENTRYP WindowPos2f)(GLfloat x, GLfloat y); /* 446 */
+ void (GLAPIENTRYP WindowPos2fv)(const GLfloat * v); /* 447 */
+ void (GLAPIENTRYP WindowPos2i)(GLint x, GLint y); /* 448 */
+ void (GLAPIENTRYP WindowPos2iv)(const GLint * v); /* 449 */
+ void (GLAPIENTRYP WindowPos2s)(GLshort x, GLshort y); /* 450 */
+ void (GLAPIENTRYP WindowPos2sv)(const GLshort * v); /* 451 */
+ void (GLAPIENTRYP WindowPos3d)(GLdouble x, GLdouble y, GLdouble z); /* 452 */
+ void (GLAPIENTRYP WindowPos3dv)(const GLdouble * v); /* 453 */
+ void (GLAPIENTRYP WindowPos3f)(GLfloat x, GLfloat y, GLfloat z); /* 454 */
+ void (GLAPIENTRYP WindowPos3fv)(const GLfloat * v); /* 455 */
+ void (GLAPIENTRYP WindowPos3i)(GLint x, GLint y, GLint z); /* 456 */
+ void (GLAPIENTRYP WindowPos3iv)(const GLint * v); /* 457 */
+ void (GLAPIENTRYP WindowPos3s)(GLshort x, GLshort y, GLshort z); /* 458 */
+ void (GLAPIENTRYP WindowPos3sv)(const GLshort * v); /* 459 */
+ void (GLAPIENTRYP BeginQuery)(GLenum target, GLuint id); /* 460 */
+ void (GLAPIENTRYP BindBuffer)(GLenum target, GLuint buffer); /* 461 */
+ void (GLAPIENTRYP BufferData)(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage); /* 462 */
+ void (GLAPIENTRYP BufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); /* 463 */
+ void (GLAPIENTRYP DeleteBuffers)(GLsizei n, const GLuint * buffer); /* 464 */
+ void (GLAPIENTRYP DeleteQueries)(GLsizei n, const GLuint * ids); /* 465 */
+ void (GLAPIENTRYP EndQuery)(GLenum target); /* 466 */
+ void (GLAPIENTRYP GenBuffers)(GLsizei n, GLuint * buffer); /* 467 */
+ void (GLAPIENTRYP GenQueries)(GLsizei n, GLuint * ids); /* 468 */
+ void (GLAPIENTRYP GetBufferParameteriv)(GLenum target, GLenum pname, GLint * params); /* 469 */
+ void (GLAPIENTRYP GetBufferPointerv)(GLenum target, GLenum pname, GLvoid ** params); /* 470 */
+ void (GLAPIENTRYP GetBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data); /* 471 */
+ void (GLAPIENTRYP GetQueryObjectiv)(GLuint id, GLenum pname, GLint * params); /* 472 */
+ void (GLAPIENTRYP GetQueryObjectuiv)(GLuint id, GLenum pname, GLuint * params); /* 473 */
+ void (GLAPIENTRYP GetQueryiv)(GLenum target, GLenum pname, GLint * params); /* 474 */
+ GLboolean (GLAPIENTRYP IsBuffer)(GLuint buffer); /* 475 */
+ GLboolean (GLAPIENTRYP IsQuery)(GLuint id); /* 476 */
+ GLvoid * (GLAPIENTRYP MapBuffer)(GLenum target, GLenum access); /* 477 */
+ GLboolean (GLAPIENTRYP UnmapBuffer)(GLenum target); /* 478 */
+ void (GLAPIENTRYP AttachShader)(GLuint program, GLuint shader); /* 479 */
+ void (GLAPIENTRYP BindAttribLocation)(GLuint program, GLuint index, const GLchar * name); /* 480 */
+ void (GLAPIENTRYP BlendEquationSeparate)(GLenum modeRGB, GLenum modeA); /* 481 */
+ void (GLAPIENTRYP CompileShader)(GLuint shader); /* 482 */
+ GLuint (GLAPIENTRYP CreateProgram)(void); /* 483 */
+ GLuint (GLAPIENTRYP CreateShader)(GLenum type); /* 484 */
+ void (GLAPIENTRYP DeleteProgram)(GLuint program); /* 485 */
+ void (GLAPIENTRYP DeleteShader)(GLuint program); /* 486 */
+ void (GLAPIENTRYP DetachShader)(GLuint program, GLuint shader); /* 487 */
+ void (GLAPIENTRYP DisableVertexAttribArray)(GLuint index); /* 488 */
+ void (GLAPIENTRYP DrawBuffers)(GLsizei n, const GLenum * bufs); /* 489 */
+ void (GLAPIENTRYP EnableVertexAttribArray)(GLuint index); /* 490 */
+ void (GLAPIENTRYP GetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); /* 491 */
+ void (GLAPIENTRYP GetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); /* 492 */
+ void (GLAPIENTRYP GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); /* 493 */
+ GLint (GLAPIENTRYP GetAttribLocation)(GLuint program, const GLchar * name); /* 494 */
+ void (GLAPIENTRYP GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 495 */
+ void (GLAPIENTRYP GetProgramiv)(GLuint program, GLenum pname, GLint * params); /* 496 */
+ void (GLAPIENTRYP GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 497 */
+ void (GLAPIENTRYP GetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); /* 498 */
+ void (GLAPIENTRYP GetShaderiv)(GLuint shader, GLenum pname, GLint * params); /* 499 */
+ GLint (GLAPIENTRYP GetUniformLocation)(GLuint program, const GLchar * name); /* 500 */
+ void (GLAPIENTRYP GetUniformfv)(GLuint program, GLint location, GLfloat * params); /* 501 */
+ void (GLAPIENTRYP GetUniformiv)(GLuint program, GLint location, GLint * params); /* 502 */
+ void (GLAPIENTRYP GetVertexAttribPointerv)(GLuint index, GLenum pname, GLvoid ** pointer); /* 503 */
+ void (GLAPIENTRYP GetVertexAttribdv)(GLuint index, GLenum pname, GLdouble * params); /* 504 */
+ void (GLAPIENTRYP GetVertexAttribfv)(GLuint index, GLenum pname, GLfloat * params); /* 505 */
+ void (GLAPIENTRYP GetVertexAttribiv)(GLuint index, GLenum pname, GLint * params); /* 506 */
+ GLboolean (GLAPIENTRYP IsProgram)(GLuint program); /* 507 */
+ GLboolean (GLAPIENTRYP IsShader)(GLuint shader); /* 508 */
+ void (GLAPIENTRYP LinkProgram)(GLuint program); /* 509 */
+ void (GLAPIENTRYP ShaderSource)(GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length); /* 510 */
+ void (GLAPIENTRYP StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); /* 511 */
+ void (GLAPIENTRYP StencilMaskSeparate)(GLenum face, GLuint mask); /* 512 */
+ void (GLAPIENTRYP StencilOpSeparate)(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass); /* 513 */
+ void (GLAPIENTRYP Uniform1f)(GLint location, GLfloat v0); /* 514 */
+ void (GLAPIENTRYP Uniform1fv)(GLint location, GLsizei count, const GLfloat * value); /* 515 */
+ void (GLAPIENTRYP Uniform1i)(GLint location, GLint v0); /* 516 */
+ void (GLAPIENTRYP Uniform1iv)(GLint location, GLsizei count, const GLint * value); /* 517 */
+ void (GLAPIENTRYP Uniform2f)(GLint location, GLfloat v0, GLfloat v1); /* 518 */
+ void (GLAPIENTRYP Uniform2fv)(GLint location, GLsizei count, const GLfloat * value); /* 519 */
+ void (GLAPIENTRYP Uniform2i)(GLint location, GLint v0, GLint v1); /* 520 */
+ void (GLAPIENTRYP Uniform2iv)(GLint location, GLsizei count, const GLint * value); /* 521 */
+ void (GLAPIENTRYP Uniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); /* 522 */
+ void (GLAPIENTRYP Uniform3fv)(GLint location, GLsizei count, const GLfloat * value); /* 523 */
+ void (GLAPIENTRYP Uniform3i)(GLint location, GLint v0, GLint v1, GLint v2); /* 524 */
+ void (GLAPIENTRYP Uniform3iv)(GLint location, GLsizei count, const GLint * value); /* 525 */
+ void (GLAPIENTRYP Uniform4f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); /* 526 */
+ void (GLAPIENTRYP Uniform4fv)(GLint location, GLsizei count, const GLfloat * value); /* 527 */
+ void (GLAPIENTRYP Uniform4i)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); /* 528 */
+ void (GLAPIENTRYP Uniform4iv)(GLint location, GLsizei count, const GLint * value); /* 529 */
+ void (GLAPIENTRYP UniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 530 */
+ void (GLAPIENTRYP UniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 531 */
+ void (GLAPIENTRYP UniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 532 */
+ void (GLAPIENTRYP UseProgram)(GLuint program); /* 533 */
+ void (GLAPIENTRYP ValidateProgram)(GLuint program); /* 534 */
+ void (GLAPIENTRYP VertexAttrib1d)(GLuint index, GLdouble x); /* 535 */
+ void (GLAPIENTRYP VertexAttrib1dv)(GLuint index, const GLdouble * v); /* 536 */
+ void (GLAPIENTRYP VertexAttrib1s)(GLuint index, GLshort x); /* 537 */
+ void (GLAPIENTRYP VertexAttrib1sv)(GLuint index, const GLshort * v); /* 538 */
+ void (GLAPIENTRYP VertexAttrib2d)(GLuint index, GLdouble x, GLdouble y); /* 539 */
+ void (GLAPIENTRYP VertexAttrib2dv)(GLuint index, const GLdouble * v); /* 540 */
+ void (GLAPIENTRYP VertexAttrib2s)(GLuint index, GLshort x, GLshort y); /* 541 */
+ void (GLAPIENTRYP VertexAttrib2sv)(GLuint index, const GLshort * v); /* 542 */
+ void (GLAPIENTRYP VertexAttrib3d)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 543 */
+ void (GLAPIENTRYP VertexAttrib3dv)(GLuint index, const GLdouble * v); /* 544 */
+ void (GLAPIENTRYP VertexAttrib3s)(GLuint index, GLshort x, GLshort y, GLshort z); /* 545 */
+ void (GLAPIENTRYP VertexAttrib3sv)(GLuint index, const GLshort * v); /* 546 */
+ void (GLAPIENTRYP VertexAttrib4Nbv)(GLuint index, const GLbyte * v); /* 547 */
+ void (GLAPIENTRYP VertexAttrib4Niv)(GLuint index, const GLint * v); /* 548 */
+ void (GLAPIENTRYP VertexAttrib4Nsv)(GLuint index, const GLshort * v); /* 549 */
+ void (GLAPIENTRYP VertexAttrib4Nub)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 550 */
+ void (GLAPIENTRYP VertexAttrib4Nubv)(GLuint index, const GLubyte * v); /* 551 */
+ void (GLAPIENTRYP VertexAttrib4Nuiv)(GLuint index, const GLuint * v); /* 552 */
+ void (GLAPIENTRYP VertexAttrib4Nusv)(GLuint index, const GLushort * v); /* 553 */
+ void (GLAPIENTRYP VertexAttrib4bv)(GLuint index, const GLbyte * v); /* 554 */
+ void (GLAPIENTRYP VertexAttrib4d)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 555 */
+ void (GLAPIENTRYP VertexAttrib4dv)(GLuint index, const GLdouble * v); /* 556 */
+ void (GLAPIENTRYP VertexAttrib4iv)(GLuint index, const GLint * v); /* 557 */
+ void (GLAPIENTRYP VertexAttrib4s)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 558 */
+ void (GLAPIENTRYP VertexAttrib4sv)(GLuint index, const GLshort * v); /* 559 */
+ void (GLAPIENTRYP VertexAttrib4ubv)(GLuint index, const GLubyte * v); /* 560 */
+ void (GLAPIENTRYP VertexAttrib4uiv)(GLuint index, const GLuint * v); /* 561 */
+ void (GLAPIENTRYP VertexAttrib4usv)(GLuint index, const GLushort * v); /* 562 */
+ void (GLAPIENTRYP VertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); /* 563 */
+ void (GLAPIENTRYP UniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 564 */
+ void (GLAPIENTRYP UniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 565 */
+ void (GLAPIENTRYP UniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 566 */
+ void (GLAPIENTRYP UniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 567 */
+ void (GLAPIENTRYP UniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 568 */
+ void (GLAPIENTRYP UniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 569 */
+ void (GLAPIENTRYP BeginConditionalRender)(GLuint query, GLenum mode); /* 570 */
+ void (GLAPIENTRYP BeginTransformFeedback)(GLenum mode); /* 571 */
+ void (GLAPIENTRYP BindBufferBase)(GLenum target, GLuint index, GLuint buffer); /* 572 */
+ void (GLAPIENTRYP BindBufferRange)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 573 */
+ void (GLAPIENTRYP BindFragDataLocation)(GLuint program, GLuint colorNumber, const GLchar * name); /* 574 */
+ void (GLAPIENTRYP ClampColor)(GLenum target, GLenum clamp); /* 575 */
+ void (GLAPIENTRYP ClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); /* 576 */
+ void (GLAPIENTRYP ClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat * value); /* 577 */
+ void (GLAPIENTRYP ClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint * value); /* 578 */
+ void (GLAPIENTRYP ClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint * value); /* 579 */
+ void (GLAPIENTRYP ColorMaski)(GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 580 */
+ void (GLAPIENTRYP Disablei)(GLenum target, GLuint index); /* 581 */
+ void (GLAPIENTRYP Enablei)(GLenum target, GLuint index); /* 582 */
+ void (GLAPIENTRYP EndConditionalRender)(void); /* 583 */
+ void (GLAPIENTRYP EndTransformFeedback)(void); /* 584 */
+ void (GLAPIENTRYP GetBooleani_v)(GLenum value, GLuint index, GLboolean * data); /* 585 */
+ GLint (GLAPIENTRYP GetFragDataLocation)(GLuint program, const GLchar * name); /* 586 */
+ void (GLAPIENTRYP GetIntegeri_v)(GLenum value, GLuint index, GLint * data); /* 587 */
+ const GLubyte * (GLAPIENTRYP GetStringi)(GLenum name, GLuint index); /* 588 */
+ void (GLAPIENTRYP GetTexParameterIiv)(GLenum target, GLenum pname, GLint * params); /* 589 */
+ void (GLAPIENTRYP GetTexParameterIuiv)(GLenum target, GLenum pname, GLuint * params); /* 590 */
+ void (GLAPIENTRYP GetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 591 */
+ void (GLAPIENTRYP GetUniformuiv)(GLuint program, GLint location, GLuint * params); /* 592 */
+ void (GLAPIENTRYP GetVertexAttribIiv)(GLuint index, GLenum pname, GLint * params); /* 593 */
+ void (GLAPIENTRYP GetVertexAttribIuiv)(GLuint index, GLenum pname, GLuint * params); /* 594 */
+ GLboolean (GLAPIENTRYP IsEnabledi)(GLenum target, GLuint index); /* 595 */
+ void (GLAPIENTRYP TexParameterIiv)(GLenum target, GLenum pname, const GLint * params); /* 596 */
+ void (GLAPIENTRYP TexParameterIuiv)(GLenum target, GLenum pname, const GLuint * params); /* 597 */
+ void (GLAPIENTRYP TransformFeedbackVaryings)(GLuint program, GLsizei count, const GLchar * const * varyings, GLenum bufferMode); /* 598 */
+ void (GLAPIENTRYP Uniform1ui)(GLint location, GLuint x); /* 599 */
+ void (GLAPIENTRYP Uniform1uiv)(GLint location, GLsizei count, const GLuint * value); /* 600 */
+ void (GLAPIENTRYP Uniform2ui)(GLint location, GLuint x, GLuint y); /* 601 */
+ void (GLAPIENTRYP Uniform2uiv)(GLint location, GLsizei count, const GLuint * value); /* 602 */
+ void (GLAPIENTRYP Uniform3ui)(GLint location, GLuint x, GLuint y, GLuint z); /* 603 */
+ void (GLAPIENTRYP Uniform3uiv)(GLint location, GLsizei count, const GLuint * value); /* 604 */
+ void (GLAPIENTRYP Uniform4ui)(GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 605 */
+ void (GLAPIENTRYP Uniform4uiv)(GLint location, GLsizei count, const GLuint * value); /* 606 */
+ void (GLAPIENTRYP VertexAttribI1iv)(GLuint index, const GLint * v); /* 607 */
+ void (GLAPIENTRYP VertexAttribI1uiv)(GLuint index, const GLuint * v); /* 608 */
+ void (GLAPIENTRYP VertexAttribI4bv)(GLuint index, const GLbyte * v); /* 609 */
+ void (GLAPIENTRYP VertexAttribI4sv)(GLuint index, const GLshort * v); /* 610 */
+ void (GLAPIENTRYP VertexAttribI4ubv)(GLuint index, const GLubyte * v); /* 611 */
+ void (GLAPIENTRYP VertexAttribI4usv)(GLuint index, const GLushort * v); /* 612 */
+ void (GLAPIENTRYP VertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 613 */
+ void (GLAPIENTRYP PrimitiveRestartIndex)(GLuint index); /* 614 */
+ void (GLAPIENTRYP TexBuffer)(GLenum target, GLenum internalFormat, GLuint buffer); /* 615 */
+ void (GLAPIENTRYP FramebufferTexture)(GLenum target, GLenum attachment, GLuint texture, GLint level); /* 616 */
+ void (GLAPIENTRYP GetBufferParameteri64v)(GLenum target, GLenum pname, GLint64 * params); /* 617 */
+ void (GLAPIENTRYP GetInteger64i_v)(GLenum cap, GLuint index, GLint64 * data); /* 618 */
+ void (GLAPIENTRYP VertexAttribDivisor)(GLuint index, GLuint divisor); /* 619 */
+ void (GLAPIENTRYP BindProgramARB)(GLenum target, GLuint program); /* 620 */
+ void (GLAPIENTRYP DeleteProgramsARB)(GLsizei n, const GLuint * programs); /* 621 */
+ void (GLAPIENTRYP GenProgramsARB)(GLsizei n, GLuint * programs); /* 622 */
+ void (GLAPIENTRYP GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 623 */
+ void (GLAPIENTRYP GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 624 */
+ void (GLAPIENTRYP GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 625 */
+ void (GLAPIENTRYP GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 626 */
+ void (GLAPIENTRYP GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string); /* 627 */
+ void (GLAPIENTRYP GetProgramivARB)(GLenum target, GLenum pname, GLint * params); /* 628 */
+ GLboolean (GLAPIENTRYP IsProgramARB)(GLuint program); /* 629 */
+ void (GLAPIENTRYP ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 630 */
+ void (GLAPIENTRYP ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 631 */
+ void (GLAPIENTRYP ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 632 */
+ void (GLAPIENTRYP ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 633 */
+ void (GLAPIENTRYP ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 634 */
+ void (GLAPIENTRYP ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 635 */
+ void (GLAPIENTRYP ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 636 */
+ void (GLAPIENTRYP ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 637 */
+ void (GLAPIENTRYP ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string); /* 638 */
+ void (GLAPIENTRYP VertexAttrib1fARB)(GLuint index, GLfloat x); /* 639 */
+ void (GLAPIENTRYP VertexAttrib1fvARB)(GLuint index, const GLfloat * v); /* 640 */
+ void (GLAPIENTRYP VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); /* 641 */
+ void (GLAPIENTRYP VertexAttrib2fvARB)(GLuint index, const GLfloat * v); /* 642 */
+ void (GLAPIENTRYP VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 643 */
+ void (GLAPIENTRYP VertexAttrib3fvARB)(GLuint index, const GLfloat * v); /* 644 */
+ void (GLAPIENTRYP VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 645 */
+ void (GLAPIENTRYP VertexAttrib4fvARB)(GLuint index, const GLfloat * v); /* 646 */
+ void (GLAPIENTRYP AttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); /* 647 */
+ GLhandleARB (GLAPIENTRYP CreateProgramObjectARB)(void); /* 648 */
+ GLhandleARB (GLAPIENTRYP CreateShaderObjectARB)(GLenum shaderType); /* 649 */
+ void (GLAPIENTRYP DeleteObjectARB)(GLhandleARB obj); /* 650 */
+ void (GLAPIENTRYP DetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj); /* 651 */
+ void (GLAPIENTRYP GetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); /* 652 */
+ GLhandleARB (GLAPIENTRYP GetHandleARB)(GLenum pname); /* 653 */
+ void (GLAPIENTRYP GetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); /* 654 */
+ void (GLAPIENTRYP GetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params); /* 655 */
+ void (GLAPIENTRYP GetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params); /* 656 */
+ void (GLAPIENTRYP DrawArraysInstancedARB)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); /* 657 */
+ void (GLAPIENTRYP DrawElementsInstancedARB)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount); /* 658 */
+ void (GLAPIENTRYP BindFramebuffer)(GLenum target, GLuint framebuffer); /* 659 */
+ void (GLAPIENTRYP BindRenderbuffer)(GLenum target, GLuint renderbuffer); /* 660 */
+ void (GLAPIENTRYP BlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 661 */
+ GLenum (GLAPIENTRYP CheckFramebufferStatus)(GLenum target); /* 662 */
+ void (GLAPIENTRYP DeleteFramebuffers)(GLsizei n, const GLuint * framebuffers); /* 663 */
+ void (GLAPIENTRYP DeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers); /* 664 */
+ void (GLAPIENTRYP FramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 665 */
+ void (GLAPIENTRYP FramebufferTexture1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 666 */
+ void (GLAPIENTRYP FramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 667 */
+ void (GLAPIENTRYP FramebufferTexture3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 668 */
+ void (GLAPIENTRYP FramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 669 */
+ void (GLAPIENTRYP GenFramebuffers)(GLsizei n, GLuint * framebuffers); /* 670 */
+ void (GLAPIENTRYP GenRenderbuffers)(GLsizei n, GLuint * renderbuffers); /* 671 */
+ void (GLAPIENTRYP GenerateMipmap)(GLenum target); /* 672 */
+ void (GLAPIENTRYP GetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 673 */
+ void (GLAPIENTRYP GetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint * params); /* 674 */
+ GLboolean (GLAPIENTRYP IsFramebuffer)(GLuint framebuffer); /* 675 */
+ GLboolean (GLAPIENTRYP IsRenderbuffer)(GLuint renderbuffer); /* 676 */
+ void (GLAPIENTRYP RenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 677 */
+ void (GLAPIENTRYP RenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); /* 678 */
+ void (GLAPIENTRYP FramebufferTextureFaceARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); /* 679 */
+ void (GLAPIENTRYP FlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length); /* 680 */
+ GLvoid * (GLAPIENTRYP MapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); /* 681 */
+ void (GLAPIENTRYP BindVertexArray)(GLuint array); /* 682 */
+ void (GLAPIENTRYP DeleteVertexArrays)(GLsizei n, const GLuint * arrays); /* 683 */
+ void (GLAPIENTRYP GenVertexArrays)(GLsizei n, GLuint * arrays); /* 684 */
+ GLboolean (GLAPIENTRYP IsVertexArray)(GLuint array); /* 685 */
+ void (GLAPIENTRYP GetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); /* 686 */
+ void (GLAPIENTRYP GetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); /* 687 */
+ void (GLAPIENTRYP GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); /* 688 */
+ void (GLAPIENTRYP GetActiveUniformsiv)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params); /* 689 */
+ GLuint (GLAPIENTRYP GetUniformBlockIndex)(GLuint program, const GLchar * uniformBlockName); /* 690 */
+ void (GLAPIENTRYP GetUniformIndices)(GLuint program, GLsizei uniformCount, const GLchar * const * uniformNames, GLuint * uniformIndices); /* 691 */
+ void (GLAPIENTRYP UniformBlockBinding)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); /* 692 */
+ void (GLAPIENTRYP CopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); /* 693 */
+ GLenum (GLAPIENTRYP ClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); /* 694 */
+ void (GLAPIENTRYP DeleteSync)(GLsync sync); /* 695 */
+ GLsync (GLAPIENTRYP FenceSync)(GLenum condition, GLbitfield flags); /* 696 */
+ void (GLAPIENTRYP GetInteger64v)(GLenum pname, GLint64 * params); /* 697 */
+ void (GLAPIENTRYP GetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); /* 698 */
+ GLboolean (GLAPIENTRYP IsSync)(GLsync sync); /* 699 */
+ void (GLAPIENTRYP WaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); /* 700 */
+ void (GLAPIENTRYP DrawElementsBaseVertex)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 701 */
+ void (GLAPIENTRYP DrawElementsInstancedBaseVertex)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLint basevertex); /* 702 */
+ void (GLAPIENTRYP DrawRangeElementsBaseVertex)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 703 */
+ void (GLAPIENTRYP MultiDrawElementsBaseVertex)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, const GLint * basevertex); /* 704 */
+ void (GLAPIENTRYP ProvokingVertex)(GLenum mode); /* 705 */
+ void (GLAPIENTRYP GetMultisamplefv)(GLenum pname, GLuint index, GLfloat * val); /* 706 */
+ void (GLAPIENTRYP SampleMaski)(GLuint index, GLbitfield mask); /* 707 */
+ void (GLAPIENTRYP TexImage2DMultisample)(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); /* 708 */
+ void (GLAPIENTRYP TexImage3DMultisample)(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); /* 709 */
+ void (GLAPIENTRYP BlendEquationSeparateiARB)(GLuint buf, GLenum modeRGB, GLenum modeA); /* 710 */
+ void (GLAPIENTRYP BlendEquationiARB)(GLuint buf, GLenum mode); /* 711 */
+ void (GLAPIENTRYP BlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA); /* 712 */
+ void (GLAPIENTRYP BlendFunciARB)(GLuint buf, GLenum src, GLenum dst); /* 713 */
+ void (GLAPIENTRYP BindFragDataLocationIndexed)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); /* 714 */
+ GLint (GLAPIENTRYP GetFragDataIndex)(GLuint program, const GLchar * name); /* 715 */
+ void (GLAPIENTRYP BindSampler)(GLuint unit, GLuint sampler); /* 716 */
+ void (GLAPIENTRYP DeleteSamplers)(GLsizei count, const GLuint * samplers); /* 717 */
+ void (GLAPIENTRYP GenSamplers)(GLsizei count, GLuint * samplers); /* 718 */
+ void (GLAPIENTRYP GetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params); /* 719 */
+ void (GLAPIENTRYP GetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params); /* 720 */
+ void (GLAPIENTRYP GetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params); /* 721 */
+ void (GLAPIENTRYP GetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params); /* 722 */
+ GLboolean (GLAPIENTRYP IsSampler)(GLuint sampler); /* 723 */
+ void (GLAPIENTRYP SamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * params); /* 724 */
+ void (GLAPIENTRYP SamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * params); /* 725 */
+ void (GLAPIENTRYP SamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param); /* 726 */
+ void (GLAPIENTRYP SamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * params); /* 727 */
+ void (GLAPIENTRYP SamplerParameteri)(GLuint sampler, GLenum pname, GLint param); /* 728 */
+ void (GLAPIENTRYP SamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * params); /* 729 */
+ void (GLAPIENTRYP GetQueryObjecti64v)(GLuint id, GLenum pname, GLint64 * params); /* 730 */
+ void (GLAPIENTRYP GetQueryObjectui64v)(GLuint id, GLenum pname, GLuint64 * params); /* 731 */
+ void (GLAPIENTRYP QueryCounter)(GLuint id, GLenum target); /* 732 */
+ void (GLAPIENTRYP ColorP3ui)(GLenum type, GLuint color); /* 733 */
+ void (GLAPIENTRYP ColorP3uiv)(GLenum type, const GLuint * color); /* 734 */
+ void (GLAPIENTRYP ColorP4ui)(GLenum type, GLuint color); /* 735 */
+ void (GLAPIENTRYP ColorP4uiv)(GLenum type, const GLuint * color); /* 736 */
+ void (GLAPIENTRYP MultiTexCoordP1ui)(GLenum texture, GLenum type, GLuint coords); /* 737 */
+ void (GLAPIENTRYP MultiTexCoordP1uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 738 */
+ void (GLAPIENTRYP MultiTexCoordP2ui)(GLenum texture, GLenum type, GLuint coords); /* 739 */
+ void (GLAPIENTRYP MultiTexCoordP2uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 740 */
+ void (GLAPIENTRYP MultiTexCoordP3ui)(GLenum texture, GLenum type, GLuint coords); /* 741 */
+ void (GLAPIENTRYP MultiTexCoordP3uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 742 */
+ void (GLAPIENTRYP MultiTexCoordP4ui)(GLenum texture, GLenum type, GLuint coords); /* 743 */
+ void (GLAPIENTRYP MultiTexCoordP4uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 744 */
+ void (GLAPIENTRYP NormalP3ui)(GLenum type, GLuint coords); /* 745 */
+ void (GLAPIENTRYP NormalP3uiv)(GLenum type, const GLuint * coords); /* 746 */
+ void (GLAPIENTRYP SecondaryColorP3ui)(GLenum type, GLuint color); /* 747 */
+ void (GLAPIENTRYP SecondaryColorP3uiv)(GLenum type, const GLuint * color); /* 748 */
+ void (GLAPIENTRYP TexCoordP1ui)(GLenum type, GLuint coords); /* 749 */
+ void (GLAPIENTRYP TexCoordP1uiv)(GLenum type, const GLuint * coords); /* 750 */
+ void (GLAPIENTRYP TexCoordP2ui)(GLenum type, GLuint coords); /* 751 */
+ void (GLAPIENTRYP TexCoordP2uiv)(GLenum type, const GLuint * coords); /* 752 */
+ void (GLAPIENTRYP TexCoordP3ui)(GLenum type, GLuint coords); /* 753 */
+ void (GLAPIENTRYP TexCoordP3uiv)(GLenum type, const GLuint * coords); /* 754 */
+ void (GLAPIENTRYP TexCoordP4ui)(GLenum type, GLuint coords); /* 755 */
+ void (GLAPIENTRYP TexCoordP4uiv)(GLenum type, const GLuint * coords); /* 756 */
+ void (GLAPIENTRYP VertexAttribP1ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 757 */
+ void (GLAPIENTRYP VertexAttribP1uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 758 */
+ void (GLAPIENTRYP VertexAttribP2ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 759 */
+ void (GLAPIENTRYP VertexAttribP2uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 760 */
+ void (GLAPIENTRYP VertexAttribP3ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 761 */
+ void (GLAPIENTRYP VertexAttribP3uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 762 */
+ void (GLAPIENTRYP VertexAttribP4ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 763 */
+ void (GLAPIENTRYP VertexAttribP4uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 764 */
+ void (GLAPIENTRYP VertexP2ui)(GLenum type, GLuint value); /* 765 */
+ void (GLAPIENTRYP VertexP2uiv)(GLenum type, const GLuint * value); /* 766 */
+ void (GLAPIENTRYP VertexP3ui)(GLenum type, GLuint value); /* 767 */
+ void (GLAPIENTRYP VertexP3uiv)(GLenum type, const GLuint * value); /* 768 */
+ void (GLAPIENTRYP VertexP4ui)(GLenum type, GLuint value); /* 769 */
+ void (GLAPIENTRYP VertexP4uiv)(GLenum type, const GLuint * value); /* 770 */
+ void (GLAPIENTRYP BindTransformFeedback)(GLenum target, GLuint id); /* 771 */
+ void (GLAPIENTRYP DeleteTransformFeedbacks)(GLsizei n, const GLuint * ids); /* 772 */
+ void (GLAPIENTRYP DrawTransformFeedback)(GLenum mode, GLuint id); /* 773 */
+ void (GLAPIENTRYP GenTransformFeedbacks)(GLsizei n, GLuint * ids); /* 774 */
+ GLboolean (GLAPIENTRYP IsTransformFeedback)(GLuint id); /* 775 */
+ void (GLAPIENTRYP PauseTransformFeedback)(void); /* 776 */
+ void (GLAPIENTRYP ResumeTransformFeedback)(void); /* 777 */
+ void (GLAPIENTRYP BeginQueryIndexed)(GLenum target, GLuint index, GLuint id); /* 778 */
+ void (GLAPIENTRYP DrawTransformFeedbackStream)(GLenum mode, GLuint id, GLuint stream); /* 779 */
+ void (GLAPIENTRYP EndQueryIndexed)(GLenum target, GLuint index); /* 780 */
+ void (GLAPIENTRYP GetQueryIndexediv)(GLenum target, GLuint index, GLenum pname, GLint * params); /* 781 */
+ void (GLAPIENTRYP ClearDepthf)(GLclampf depth); /* 782 */
+ void (GLAPIENTRYP DepthRangef)(GLclampf zNear, GLclampf zFar); /* 783 */
+ void (GLAPIENTRYP GetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 784 */
+ void (GLAPIENTRYP ReleaseShaderCompiler)(void); /* 785 */
+ void (GLAPIENTRYP ShaderBinary)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 786 */
+ void (GLAPIENTRYP GetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, GLvoid * binary); /* 787 */
+ void (GLAPIENTRYP ProgramBinary)(GLuint program, GLenum binaryFormat, const GLvoid * binary, GLsizei length); /* 788 */
+ void (GLAPIENTRYP ProgramParameteri)(GLuint program, GLenum pname, GLint value); /* 789 */
+ void (GLAPIENTRYP DebugMessageCallbackARB)(GLDEBUGPROCARB callback, const GLvoid * userParam); /* 790 */
+ void (GLAPIENTRYP DebugMessageControlARB)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); /* 791 */
+ void (GLAPIENTRYP DebugMessageInsertARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLcharARB * buf); /* 792 */
+ GLuint (GLAPIENTRYP GetDebugMessageLogARB)(GLuint count, GLsizei bufsize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLcharARB * messageLog); /* 793 */
+ GLenum (GLAPIENTRYP GetGraphicsResetStatusARB)(void); /* 794 */
+ void (GLAPIENTRYP GetnColorTableARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * table); /* 795 */
+ void (GLAPIENTRYP GetnCompressedTexImageARB)(GLenum target, GLint lod, GLsizei bufSize, GLvoid * img); /* 796 */
+ void (GLAPIENTRYP GetnConvolutionFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * image); /* 797 */
+ void (GLAPIENTRYP GetnHistogramARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 798 */
+ void (GLAPIENTRYP GetnMapdvARB)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); /* 799 */
+ void (GLAPIENTRYP GetnMapfvARB)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); /* 800 */
+ void (GLAPIENTRYP GetnMapivARB)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); /* 801 */
+ void (GLAPIENTRYP GetnMinmaxARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 802 */
+ void (GLAPIENTRYP GetnPixelMapfvARB)(GLenum map, GLsizei bufSize, GLfloat * values); /* 803 */
+ void (GLAPIENTRYP GetnPixelMapuivARB)(GLenum map, GLsizei bufSize, GLuint * values); /* 804 */
+ void (GLAPIENTRYP GetnPixelMapusvARB)(GLenum map, GLsizei bufSize, GLushort * values); /* 805 */
+ void (GLAPIENTRYP GetnPolygonStippleARB)(GLsizei bufSize, GLubyte * pattern); /* 806 */
+ void (GLAPIENTRYP GetnSeparableFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid * row, GLsizei columnBufSize, GLvoid * column, GLvoid * span); /* 807 */
+ void (GLAPIENTRYP GetnTexImageARB)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid * img); /* 808 */
+ void (GLAPIENTRYP GetnUniformdvARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLdouble * params); /* 809 */
+ void (GLAPIENTRYP GetnUniformfvARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLfloat * params); /* 810 */
+ void (GLAPIENTRYP GetnUniformivARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLint * params); /* 811 */
+ void (GLAPIENTRYP GetnUniformuivARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLuint * params); /* 812 */
+ void (GLAPIENTRYP ReadnPixelsARB)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid * data); /* 813 */
+ void (GLAPIENTRYP DrawArraysInstancedBaseInstance)(GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance); /* 814 */
+ void (GLAPIENTRYP DrawElementsInstancedBaseInstance)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLuint baseinstance); /* 815 */
+ void (GLAPIENTRYP DrawElementsInstancedBaseVertexBaseInstance)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLint basevertex, GLuint baseinstance); /* 816 */
+ void (GLAPIENTRYP DrawTransformFeedbackInstanced)(GLenum mode, GLuint id, GLsizei primcount); /* 817 */
+ void (GLAPIENTRYP DrawTransformFeedbackStreamInstanced)(GLenum mode, GLuint id, GLuint stream, GLsizei primcount); /* 818 */
+ void (GLAPIENTRYP GetInternalformativ)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); /* 819 */
+ void (GLAPIENTRYP TexStorage1D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 820 */
+ void (GLAPIENTRYP TexStorage2D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 821 */
+ void (GLAPIENTRYP TexStorage3D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 822 */
+ void (GLAPIENTRYP TextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 823 */
+ void (GLAPIENTRYP TextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 824 */
+ void (GLAPIENTRYP TextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 825 */
+ void (GLAPIENTRYP TexBufferRange)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 826 */
+ void (GLAPIENTRYP InvalidateBufferData)(GLuint buffer); /* 827 */
+ void (GLAPIENTRYP InvalidateBufferSubData)(GLuint buffer, GLintptr offset, GLsizeiptr length); /* 828 */
+ void (GLAPIENTRYP InvalidateFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments); /* 829 */
+ void (GLAPIENTRYP InvalidateSubFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); /* 830 */
+ void (GLAPIENTRYP InvalidateTexImage)(GLuint texture, GLint level); /* 831 */
+ void (GLAPIENTRYP InvalidateTexSubImage)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); /* 832 */
+ void (GLAPIENTRYP PolygonOffsetEXT)(GLfloat factor, GLfloat bias); /* 833 */
+ void (GLAPIENTRYP DrawTexfOES)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); /* 834 */
+ void (GLAPIENTRYP DrawTexfvOES)(const GLfloat * coords); /* 835 */
+ void (GLAPIENTRYP DrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint height); /* 836 */
+ void (GLAPIENTRYP DrawTexivOES)(const GLint * coords); /* 837 */
+ void (GLAPIENTRYP DrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); /* 838 */
+ void (GLAPIENTRYP DrawTexsvOES)(const GLshort * coords); /* 839 */
+ void (GLAPIENTRYP DrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); /* 840 */
+ void (GLAPIENTRYP DrawTexxvOES)(const GLfixed * coords); /* 841 */
+ void (GLAPIENTRYP PointSizePointerOES)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 842 */
+ GLbitfield (GLAPIENTRYP QueryMatrixxOES)(GLfixed * mantissa, GLint * exponent); /* 843 */
+ void (GLAPIENTRYP SampleMaskSGIS)(GLclampf value, GLboolean invert); /* 844 */
+ void (GLAPIENTRYP SamplePatternSGIS)(GLenum pattern); /* 845 */
+ void (GLAPIENTRYP ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 846 */
+ void (GLAPIENTRYP EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); /* 847 */
+ void (GLAPIENTRYP IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 848 */
+ void (GLAPIENTRYP NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 849 */
+ void (GLAPIENTRYP TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 850 */
+ void (GLAPIENTRYP VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 851 */
+ void (GLAPIENTRYP DiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum * attachments); /* 852 */
+ void (GLAPIENTRYP LockArraysEXT)(GLint first, GLsizei count); /* 853 */
+ void (GLAPIENTRYP UnlockArraysEXT)(void); /* 854 */
+ void (GLAPIENTRYP SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); /* 855 */
+ void (GLAPIENTRYP SecondaryColor3fvEXT)(const GLfloat * v); /* 856 */
+ void (GLAPIENTRYP MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 857 */
+ void (GLAPIENTRYP FogCoordfEXT)(GLfloat coord); /* 858 */
+ void (GLAPIENTRYP FogCoordfvEXT)(const GLfloat * coord); /* 859 */
+ void (GLAPIENTRYP ResizeBuffersMESA)(void); /* 860 */
+ void (GLAPIENTRYP WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 861 */
+ void (GLAPIENTRYP WindowPos4dvMESA)(const GLdouble * v); /* 862 */
+ void (GLAPIENTRYP WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 863 */
+ void (GLAPIENTRYP WindowPos4fvMESA)(const GLfloat * v); /* 864 */
+ void (GLAPIENTRYP WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); /* 865 */
+ void (GLAPIENTRYP WindowPos4ivMESA)(const GLint * v); /* 866 */
+ void (GLAPIENTRYP WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); /* 867 */
+ void (GLAPIENTRYP WindowPos4svMESA)(const GLshort * v); /* 868 */
+ void (GLAPIENTRYP MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 869 */
+ void (GLAPIENTRYP MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); /* 870 */
+ GLboolean (GLAPIENTRYP AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); /* 871 */
+ void (GLAPIENTRYP ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); /* 872 */
+ void (GLAPIENTRYP GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 873 */
+ void (GLAPIENTRYP GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 874 */
+ void (GLAPIENTRYP GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); /* 875 */
+ void (GLAPIENTRYP GetProgramivNV)(GLuint id, GLenum pname, GLint * params); /* 876 */
+ void (GLAPIENTRYP GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); /* 877 */
+ void (GLAPIENTRYP GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); /* 878 */
+ void (GLAPIENTRYP GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); /* 879 */
+ void (GLAPIENTRYP GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); /* 880 */
+ void (GLAPIENTRYP LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 881 */
+ void (GLAPIENTRYP ProgramParameters4dvNV)(GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 882 */
+ void (GLAPIENTRYP ProgramParameters4fvNV)(GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 883 */
+ void (GLAPIENTRYP RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); /* 884 */
+ void (GLAPIENTRYP TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 885 */
+ void (GLAPIENTRYP VertexAttrib1dNV)(GLuint index, GLdouble x); /* 886 */
+ void (GLAPIENTRYP VertexAttrib1dvNV)(GLuint index, const GLdouble * v); /* 887 */
+ void (GLAPIENTRYP VertexAttrib1fNV)(GLuint index, GLfloat x); /* 888 */
+ void (GLAPIENTRYP VertexAttrib1fvNV)(GLuint index, const GLfloat * v); /* 889 */
+ void (GLAPIENTRYP VertexAttrib1sNV)(GLuint index, GLshort x); /* 890 */
+ void (GLAPIENTRYP VertexAttrib1svNV)(GLuint index, const GLshort * v); /* 891 */
+ void (GLAPIENTRYP VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); /* 892 */
+ void (GLAPIENTRYP VertexAttrib2dvNV)(GLuint index, const GLdouble * v); /* 893 */
+ void (GLAPIENTRYP VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); /* 894 */
+ void (GLAPIENTRYP VertexAttrib2fvNV)(GLuint index, const GLfloat * v); /* 895 */
+ void (GLAPIENTRYP VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); /* 896 */
+ void (GLAPIENTRYP VertexAttrib2svNV)(GLuint index, const GLshort * v); /* 897 */
+ void (GLAPIENTRYP VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 898 */
+ void (GLAPIENTRYP VertexAttrib3dvNV)(GLuint index, const GLdouble * v); /* 899 */
+ void (GLAPIENTRYP VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 900 */
+ void (GLAPIENTRYP VertexAttrib3fvNV)(GLuint index, const GLfloat * v); /* 901 */
+ void (GLAPIENTRYP VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); /* 902 */
+ void (GLAPIENTRYP VertexAttrib3svNV)(GLuint index, const GLshort * v); /* 903 */
+ void (GLAPIENTRYP VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 904 */
+ void (GLAPIENTRYP VertexAttrib4dvNV)(GLuint index, const GLdouble * v); /* 905 */
+ void (GLAPIENTRYP VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 906 */
+ void (GLAPIENTRYP VertexAttrib4fvNV)(GLuint index, const GLfloat * v); /* 907 */
+ void (GLAPIENTRYP VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 908 */
+ void (GLAPIENTRYP VertexAttrib4svNV)(GLuint index, const GLshort * v); /* 909 */
+ void (GLAPIENTRYP VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 910 */
+ void (GLAPIENTRYP VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); /* 911 */
+ void (GLAPIENTRYP VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 912 */
+ void (GLAPIENTRYP VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 913 */
+ void (GLAPIENTRYP VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 914 */
+ void (GLAPIENTRYP VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); /* 915 */
+ void (GLAPIENTRYP VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 916 */
+ void (GLAPIENTRYP VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 917 */
+ void (GLAPIENTRYP VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); /* 918 */
+ void (GLAPIENTRYP VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 919 */
+ void (GLAPIENTRYP VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 920 */
+ void (GLAPIENTRYP VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); /* 921 */
+ void (GLAPIENTRYP VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 922 */
+ void (GLAPIENTRYP VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 923 */
+ void (GLAPIENTRYP VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); /* 924 */
+ void (GLAPIENTRYP VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); /* 925 */
+ void (GLAPIENTRYP GetTexBumpParameterfvATI)(GLenum pname, GLfloat * param); /* 926 */
+ void (GLAPIENTRYP GetTexBumpParameterivATI)(GLenum pname, GLint * param); /* 927 */
+ void (GLAPIENTRYP TexBumpParameterfvATI)(GLenum pname, const GLfloat * param); /* 928 */
+ void (GLAPIENTRYP TexBumpParameterivATI)(GLenum pname, const GLint * param); /* 929 */
+ void (GLAPIENTRYP AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 930 */
+ void (GLAPIENTRYP AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 931 */
+ void (GLAPIENTRYP AlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 932 */
+ void (GLAPIENTRYP BeginFragmentShaderATI)(void); /* 933 */
+ void (GLAPIENTRYP BindFragmentShaderATI)(GLuint id); /* 934 */
+ void (GLAPIENTRYP ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 935 */
+ void (GLAPIENTRYP ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 936 */
+ void (GLAPIENTRYP ColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 937 */
+ void (GLAPIENTRYP DeleteFragmentShaderATI)(GLuint id); /* 938 */
+ void (GLAPIENTRYP EndFragmentShaderATI)(void); /* 939 */
+ GLuint (GLAPIENTRYP GenFragmentShadersATI)(GLuint range); /* 940 */
+ void (GLAPIENTRYP PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); /* 941 */
+ void (GLAPIENTRYP SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); /* 942 */
+ void (GLAPIENTRYP SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); /* 943 */
+ void (GLAPIENTRYP ActiveStencilFaceEXT)(GLenum face); /* 944 */
+ void (GLAPIENTRYP BindVertexArrayAPPLE)(GLuint array); /* 945 */
+ void (GLAPIENTRYP GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); /* 946 */
+ void (GLAPIENTRYP GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 947 */
+ void (GLAPIENTRYP GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 948 */
+ void (GLAPIENTRYP ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 949 */
+ void (GLAPIENTRYP ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 950 */
+ void (GLAPIENTRYP ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 951 */
+ void (GLAPIENTRYP ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 952 */
+ void (GLAPIENTRYP PrimitiveRestartNV)(void); /* 953 */
+ void (GLAPIENTRYP GetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed * params); /* 954 */
+ void (GLAPIENTRYP TexGenxOES)(GLenum coord, GLenum pname, GLint param); /* 955 */
+ void (GLAPIENTRYP TexGenxvOES)(GLenum coord, GLenum pname, const GLfixed * params); /* 956 */
+ void (GLAPIENTRYP DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); /* 957 */
+ void (GLAPIENTRYP BufferParameteriAPPLE)(GLenum target, GLenum pname, GLint param); /* 958 */
+ void (GLAPIENTRYP FlushMappedBufferRangeAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); /* 959 */
+ void (GLAPIENTRYP VertexAttribI1iEXT)(GLuint index, GLint x); /* 960 */
+ void (GLAPIENTRYP VertexAttribI1uiEXT)(GLuint index, GLuint x); /* 961 */
+ void (GLAPIENTRYP VertexAttribI2iEXT)(GLuint index, GLint x, GLint y); /* 962 */
+ void (GLAPIENTRYP VertexAttribI2ivEXT)(GLuint index, const GLint * v); /* 963 */
+ void (GLAPIENTRYP VertexAttribI2uiEXT)(GLuint index, GLuint x, GLuint y); /* 964 */
+ void (GLAPIENTRYP VertexAttribI2uivEXT)(GLuint index, const GLuint * v); /* 965 */
+ void (GLAPIENTRYP VertexAttribI3iEXT)(GLuint index, GLint x, GLint y, GLint z); /* 966 */
+ void (GLAPIENTRYP VertexAttribI3ivEXT)(GLuint index, const GLint * v); /* 967 */
+ void (GLAPIENTRYP VertexAttribI3uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z); /* 968 */
+ void (GLAPIENTRYP VertexAttribI3uivEXT)(GLuint index, const GLuint * v); /* 969 */
+ void (GLAPIENTRYP VertexAttribI4iEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); /* 970 */
+ void (GLAPIENTRYP VertexAttribI4ivEXT)(GLuint index, const GLint * v); /* 971 */
+ void (GLAPIENTRYP VertexAttribI4uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 972 */
+ void (GLAPIENTRYP VertexAttribI4uivEXT)(GLuint index, const GLuint * v); /* 973 */
+ void (GLAPIENTRYP ClearColorIiEXT)(GLint r, GLint g, GLint b, GLint a); /* 974 */
+ void (GLAPIENTRYP ClearColorIuiEXT)(GLuint r, GLuint g, GLuint b, GLuint a); /* 975 */
+ void (GLAPIENTRYP BindBufferOffsetEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 976 */
+ void (GLAPIENTRYP GetObjectParameterivAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 977 */
+ GLenum (GLAPIENTRYP ObjectPurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 978 */
+ GLenum (GLAPIENTRYP ObjectUnpurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 979 */
+ void (GLAPIENTRYP ActiveProgramEXT)(GLuint program); /* 980 */
+ GLuint (GLAPIENTRYP CreateShaderProgramEXT)(GLenum type, const GLchar * string); /* 981 */
+ void (GLAPIENTRYP UseShaderProgramEXT)(GLenum type, GLuint program); /* 982 */
+ void (GLAPIENTRYP TextureBarrierNV)(void); /* 983 */
+ void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 984 */
+ void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 985 */
+ void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 986 */
+ void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES)(GLenum target, GLvoid * writeOffset); /* 987 */
+ void (GLAPIENTRYP EGLImageTargetTexture2DOES)(GLenum target, GLvoid * writeOffset); /* 988 */
+ void (GLAPIENTRYP AlphaFuncx)(GLenum func, GLclampx ref); /* 989 */
+ void (GLAPIENTRYP ClearColorx)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); /* 990 */
+ void (GLAPIENTRYP ClearDepthx)(GLclampx depth); /* 991 */
+ void (GLAPIENTRYP Color4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); /* 992 */
+ void (GLAPIENTRYP DepthRangex)(GLclampx zNear, GLclampx zFar); /* 993 */
+ void (GLAPIENTRYP Fogx)(GLenum pname, GLfixed param); /* 994 */
+ void (GLAPIENTRYP Fogxv)(GLenum pname, const GLfixed * params); /* 995 */
+ void (GLAPIENTRYP Frustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); /* 996 */
+ void (GLAPIENTRYP Frustumx)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); /* 997 */
+ void (GLAPIENTRYP LightModelx)(GLenum pname, GLfixed param); /* 998 */
+ void (GLAPIENTRYP LightModelxv)(GLenum pname, const GLfixed * params); /* 999 */
+ void (GLAPIENTRYP Lightx)(GLenum light, GLenum pname, GLfixed param); /* 1000 */
+ void (GLAPIENTRYP Lightxv)(GLenum light, GLenum pname, const GLfixed * params); /* 1001 */
+ void (GLAPIENTRYP LineWidthx)(GLfixed width); /* 1002 */
+ void (GLAPIENTRYP LoadMatrixx)(const GLfixed * m); /* 1003 */
+ void (GLAPIENTRYP Materialx)(GLenum face, GLenum pname, GLfixed param); /* 1004 */
+ void (GLAPIENTRYP Materialxv)(GLenum face, GLenum pname, const GLfixed * params); /* 1005 */
+ void (GLAPIENTRYP MultMatrixx)(const GLfixed * m); /* 1006 */
+ void (GLAPIENTRYP MultiTexCoord4x)(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); /* 1007 */
+ void (GLAPIENTRYP Normal3x)(GLfixed nx, GLfixed ny, GLfixed nz); /* 1008 */
+ void (GLAPIENTRYP Orthof)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); /* 1009 */
+ void (GLAPIENTRYP Orthox)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); /* 1010 */
+ void (GLAPIENTRYP PointSizex)(GLfixed size); /* 1011 */
+ void (GLAPIENTRYP PolygonOffsetx)(GLfixed factor, GLfixed units); /* 1012 */
+ void (GLAPIENTRYP Rotatex)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); /* 1013 */
+ void (GLAPIENTRYP SampleCoveragex)(GLclampx value, GLboolean invert); /* 1014 */
+ void (GLAPIENTRYP Scalex)(GLfixed x, GLfixed y, GLfixed z); /* 1015 */
+ void (GLAPIENTRYP TexEnvx)(GLenum target, GLenum pname, GLfixed param); /* 1016 */
+ void (GLAPIENTRYP TexEnvxv)(GLenum target, GLenum pname, const GLfixed * params); /* 1017 */
+ void (GLAPIENTRYP TexParameterx)(GLenum target, GLenum pname, GLfixed param); /* 1018 */
+ void (GLAPIENTRYP Translatex)(GLfixed x, GLfixed y, GLfixed z); /* 1019 */
+ void (GLAPIENTRYP ClipPlanef)(GLenum plane, const GLfloat * equation); /* 1020 */
+ void (GLAPIENTRYP ClipPlanex)(GLenum plane, const GLfixed * equation); /* 1021 */
+ void (GLAPIENTRYP GetClipPlanef)(GLenum plane, GLfloat * equation); /* 1022 */
+ void (GLAPIENTRYP GetClipPlanex)(GLenum plane, GLfixed * equation); /* 1023 */
+ void (GLAPIENTRYP GetFixedv)(GLenum pname, GLfixed * params); /* 1024 */
+ void (GLAPIENTRYP GetLightxv)(GLenum light, GLenum pname, GLfixed * params); /* 1025 */
+ void (GLAPIENTRYP GetMaterialxv)(GLenum face, GLenum pname, GLfixed * params); /* 1026 */
+ void (GLAPIENTRYP GetTexEnvxv)(GLenum target, GLenum pname, GLfixed * params); /* 1027 */
+ void (GLAPIENTRYP GetTexParameterxv)(GLenum target, GLenum pname, GLfixed * params); /* 1028 */
+ void (GLAPIENTRYP PointParameterx)(GLenum pname, GLfixed param); /* 1029 */
+ void (GLAPIENTRYP PointParameterxv)(GLenum pname, const GLfixed * params); /* 1030 */
+ void (GLAPIENTRYP TexParameterxv)(GLenum target, GLenum pname, const GLfixed * params); /* 1031 */
+#endif /* !defined HAVE_SHARED_GLAPI */
+};
+
+#endif /* !defined( _GLAPI_TABLE_H_ ) */
diff --git a/xorg-server/glx/glheader.h b/xorg-server/glx/glheader.h new file mode 100644 index 000000000..cb8d6922a --- /dev/null +++ b/xorg-server/glx/glheader.h @@ -0,0 +1,38 @@ +#ifndef __GLHEADER_H__
+#define __GLHEADER_H__
+
+#define STDC_HEADERS 1
+
+#include <X11/Xwinsock.h>
+#include <X11/Xwindows.h>
+#include <assert.h>
+#define strcasecmp _stricmp
+
+#undef MINSHORT
+#undef MAXSHORT
+
+#define MINSHORT -32768
+#define MAXSHORT 32767
+
+#ifndef PUBLIC
+#define PUBLIC
+#endif
+
+#define GL_GLEXT_PROTOTYPES
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/**
+ * GL_FIXED is defined in glext.h version 64 but these typedefs aren't (yet).
+ */
+typedef int GLfixed;
+typedef int GLclampx;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
diff --git a/xorg-server/glx/glprocs.h b/xorg-server/glx/glprocs.h index 87063642c..42a96dc43 100644 --- a/xorg-server/glx/glprocs.h +++ b/xorg-server/glx/glprocs.h @@ -1,3534 +1,3225 @@ -/* DO NOT EDIT - This file generated automatically by gl_procs.py (from Mesa) script */ - -/* - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. - * (C) Copyright IBM Corporation 2004, 2006 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL, IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -/* This file is only included by glapi.c and is used for - * the GetProcAddress() function - */ - -typedef struct { - GLint Name_offset; -#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) - _glapi_proc Address; -#endif - GLuint Offset; -} glprocs_table_t; - -#if !defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING) -#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , o } -#elif defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING) -#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f1 , o } -#elif defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING) -#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f2 , o } -#elif !defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING) -#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o } -#endif - -static const char gl_string_table[] = - "glNewList\0" - "glEndList\0" - "glCallList\0" - "glCallLists\0" - "glDeleteLists\0" - "glGenLists\0" - "glListBase\0" - "glBegin\0" - "glBitmap\0" - "glColor3b\0" - "glColor3bv\0" - "glColor3d\0" - "glColor3dv\0" - "glColor3f\0" - "glColor3fv\0" - "glColor3i\0" - "glColor3iv\0" - "glColor3s\0" - "glColor3sv\0" - "glColor3ub\0" - "glColor3ubv\0" - "glColor3ui\0" - "glColor3uiv\0" - "glColor3us\0" - "glColor3usv\0" - "glColor4b\0" - "glColor4bv\0" - "glColor4d\0" - "glColor4dv\0" - "glColor4f\0" - "glColor4fv\0" - "glColor4i\0" - "glColor4iv\0" - "glColor4s\0" - "glColor4sv\0" - "glColor4ub\0" - "glColor4ubv\0" - "glColor4ui\0" - "glColor4uiv\0" - "glColor4us\0" - "glColor4usv\0" - "glEdgeFlag\0" - "glEdgeFlagv\0" - "glEnd\0" - "glIndexd\0" - "glIndexdv\0" - "glIndexf\0" - "glIndexfv\0" - "glIndexi\0" - "glIndexiv\0" - "glIndexs\0" - "glIndexsv\0" - "glNormal3b\0" - "glNormal3bv\0" - "glNormal3d\0" - "glNormal3dv\0" - "glNormal3f\0" - "glNormal3fv\0" - "glNormal3i\0" - "glNormal3iv\0" - "glNormal3s\0" - "glNormal3sv\0" - "glRasterPos2d\0" - "glRasterPos2dv\0" - "glRasterPos2f\0" - "glRasterPos2fv\0" - "glRasterPos2i\0" - "glRasterPos2iv\0" - "glRasterPos2s\0" - "glRasterPos2sv\0" - "glRasterPos3d\0" - "glRasterPos3dv\0" - "glRasterPos3f\0" - "glRasterPos3fv\0" - "glRasterPos3i\0" - "glRasterPos3iv\0" - "glRasterPos3s\0" - "glRasterPos3sv\0" - "glRasterPos4d\0" - "glRasterPos4dv\0" - "glRasterPos4f\0" - "glRasterPos4fv\0" - "glRasterPos4i\0" - "glRasterPos4iv\0" - "glRasterPos4s\0" - "glRasterPos4sv\0" - "glRectd\0" - "glRectdv\0" - "glRectf\0" - "glRectfv\0" - "glRecti\0" - "glRectiv\0" - "glRects\0" - "glRectsv\0" - "glTexCoord1d\0" - "glTexCoord1dv\0" - "glTexCoord1f\0" - "glTexCoord1fv\0" - "glTexCoord1i\0" - "glTexCoord1iv\0" - "glTexCoord1s\0" - "glTexCoord1sv\0" - "glTexCoord2d\0" - "glTexCoord2dv\0" - "glTexCoord2f\0" - "glTexCoord2fv\0" - "glTexCoord2i\0" - "glTexCoord2iv\0" - "glTexCoord2s\0" - "glTexCoord2sv\0" - "glTexCoord3d\0" - "glTexCoord3dv\0" - "glTexCoord3f\0" - "glTexCoord3fv\0" - "glTexCoord3i\0" - "glTexCoord3iv\0" - "glTexCoord3s\0" - "glTexCoord3sv\0" - "glTexCoord4d\0" - "glTexCoord4dv\0" - "glTexCoord4f\0" - "glTexCoord4fv\0" - "glTexCoord4i\0" - "glTexCoord4iv\0" - "glTexCoord4s\0" - "glTexCoord4sv\0" - "glVertex2d\0" - "glVertex2dv\0" - "glVertex2f\0" - "glVertex2fv\0" - "glVertex2i\0" - "glVertex2iv\0" - "glVertex2s\0" - "glVertex2sv\0" - "glVertex3d\0" - "glVertex3dv\0" - "glVertex3f\0" - "glVertex3fv\0" - "glVertex3i\0" - "glVertex3iv\0" - "glVertex3s\0" - "glVertex3sv\0" - "glVertex4d\0" - "glVertex4dv\0" - "glVertex4f\0" - "glVertex4fv\0" - "glVertex4i\0" - "glVertex4iv\0" - "glVertex4s\0" - "glVertex4sv\0" - "glClipPlane\0" - "glColorMaterial\0" - "glCullFace\0" - "glFogf\0" - "glFogfv\0" - "glFogi\0" - "glFogiv\0" - "glFrontFace\0" - "glHint\0" - "glLightf\0" - "glLightfv\0" - "glLighti\0" - "glLightiv\0" - "glLightModelf\0" - "glLightModelfv\0" - "glLightModeli\0" - "glLightModeliv\0" - "glLineStipple\0" - "glLineWidth\0" - "glMaterialf\0" - "glMaterialfv\0" - "glMateriali\0" - "glMaterialiv\0" - "glPointSize\0" - "glPolygonMode\0" - "glPolygonStipple\0" - "glScissor\0" - "glShadeModel\0" - "glTexParameterf\0" - "glTexParameterfv\0" - "glTexParameteri\0" - "glTexParameteriv\0" - "glTexImage1D\0" - "glTexImage2D\0" - "glTexEnvf\0" - "glTexEnvfv\0" - "glTexEnvi\0" - "glTexEnviv\0" - "glTexGend\0" - "glTexGendv\0" - "glTexGenf\0" - "glTexGenfv\0" - "glTexGeni\0" - "glTexGeniv\0" - "glFeedbackBuffer\0" - "glSelectBuffer\0" - "glRenderMode\0" - "glInitNames\0" - "glLoadName\0" - "glPassThrough\0" - "glPopName\0" - "glPushName\0" - "glDrawBuffer\0" - "glClear\0" - "glClearAccum\0" - "glClearIndex\0" - "glClearColor\0" - "glClearStencil\0" - "glClearDepth\0" - "glStencilMask\0" - "glColorMask\0" - "glDepthMask\0" - "glIndexMask\0" - "glAccum\0" - "glDisable\0" - "glEnable\0" - "glFinish\0" - "glFlush\0" - "glPopAttrib\0" - "glPushAttrib\0" - "glMap1d\0" - "glMap1f\0" - "glMap2d\0" - "glMap2f\0" - "glMapGrid1d\0" - "glMapGrid1f\0" - "glMapGrid2d\0" - "glMapGrid2f\0" - "glEvalCoord1d\0" - "glEvalCoord1dv\0" - "glEvalCoord1f\0" - "glEvalCoord1fv\0" - "glEvalCoord2d\0" - "glEvalCoord2dv\0" - "glEvalCoord2f\0" - "glEvalCoord2fv\0" - "glEvalMesh1\0" - "glEvalPoint1\0" - "glEvalMesh2\0" - "glEvalPoint2\0" - "glAlphaFunc\0" - "glBlendFunc\0" - "glLogicOp\0" - "glStencilFunc\0" - "glStencilOp\0" - "glDepthFunc\0" - "glPixelZoom\0" - "glPixelTransferf\0" - "glPixelTransferi\0" - "glPixelStoref\0" - "glPixelStorei\0" - "glPixelMapfv\0" - "glPixelMapuiv\0" - "glPixelMapusv\0" - "glReadBuffer\0" - "glCopyPixels\0" - "glReadPixels\0" - "glDrawPixels\0" - "glGetBooleanv\0" - "glGetClipPlane\0" - "glGetDoublev\0" - "glGetError\0" - "glGetFloatv\0" - "glGetIntegerv\0" - "glGetLightfv\0" - "glGetLightiv\0" - "glGetMapdv\0" - "glGetMapfv\0" - "glGetMapiv\0" - "glGetMaterialfv\0" - "glGetMaterialiv\0" - "glGetPixelMapfv\0" - "glGetPixelMapuiv\0" - "glGetPixelMapusv\0" - "glGetPolygonStipple\0" - "glGetString\0" - "glGetTexEnvfv\0" - "glGetTexEnviv\0" - "glGetTexGendv\0" - "glGetTexGenfv\0" - "glGetTexGeniv\0" - "glGetTexImage\0" - "glGetTexParameterfv\0" - "glGetTexParameteriv\0" - "glGetTexLevelParameterfv\0" - "glGetTexLevelParameteriv\0" - "glIsEnabled\0" - "glIsList\0" - "glDepthRange\0" - "glFrustum\0" - "glLoadIdentity\0" - "glLoadMatrixf\0" - "glLoadMatrixd\0" - "glMatrixMode\0" - "glMultMatrixf\0" - "glMultMatrixd\0" - "glOrtho\0" - "glPopMatrix\0" - "glPushMatrix\0" - "glRotated\0" - "glRotatef\0" - "glScaled\0" - "glScalef\0" - "glTranslated\0" - "glTranslatef\0" - "glViewport\0" - "glArrayElement\0" - "glBindTexture\0" - "glColorPointer\0" - "glDisableClientState\0" - "glDrawArrays\0" - "glDrawElements\0" - "glEdgeFlagPointer\0" - "glEnableClientState\0" - "glIndexPointer\0" - "glIndexub\0" - "glIndexubv\0" - "glInterleavedArrays\0" - "glNormalPointer\0" - "glPolygonOffset\0" - "glTexCoordPointer\0" - "glVertexPointer\0" - "glAreTexturesResident\0" - "glCopyTexImage1D\0" - "glCopyTexImage2D\0" - "glCopyTexSubImage1D\0" - "glCopyTexSubImage2D\0" - "glDeleteTextures\0" - "glGenTextures\0" - "glGetPointerv\0" - "glIsTexture\0" - "glPrioritizeTextures\0" - "glTexSubImage1D\0" - "glTexSubImage2D\0" - "glPopClientAttrib\0" - "glPushClientAttrib\0" - "glBlendColor\0" - "glBlendEquation\0" - "glDrawRangeElements\0" - "glColorTable\0" - "glColorTableParameterfv\0" - "glColorTableParameteriv\0" - "glCopyColorTable\0" - "glGetColorTable\0" - "glGetColorTableParameterfv\0" - "glGetColorTableParameteriv\0" - "glColorSubTable\0" - "glCopyColorSubTable\0" - "glConvolutionFilter1D\0" - "glConvolutionFilter2D\0" - "glConvolutionParameterf\0" - "glConvolutionParameterfv\0" - "glConvolutionParameteri\0" - "glConvolutionParameteriv\0" - "glCopyConvolutionFilter1D\0" - "glCopyConvolutionFilter2D\0" - "glGetConvolutionFilter\0" - "glGetConvolutionParameterfv\0" - "glGetConvolutionParameteriv\0" - "glGetSeparableFilter\0" - "glSeparableFilter2D\0" - "glGetHistogram\0" - "glGetHistogramParameterfv\0" - "glGetHistogramParameteriv\0" - "glGetMinmax\0" - "glGetMinmaxParameterfv\0" - "glGetMinmaxParameteriv\0" - "glHistogram\0" - "glMinmax\0" - "glResetHistogram\0" - "glResetMinmax\0" - "glTexImage3D\0" - "glTexSubImage3D\0" - "glCopyTexSubImage3D\0" - "glActiveTextureARB\0" - "glClientActiveTextureARB\0" - "glMultiTexCoord1dARB\0" - "glMultiTexCoord1dvARB\0" - "glMultiTexCoord1fARB\0" - "glMultiTexCoord1fvARB\0" - "glMultiTexCoord1iARB\0" - "glMultiTexCoord1ivARB\0" - "glMultiTexCoord1sARB\0" - "glMultiTexCoord1svARB\0" - "glMultiTexCoord2dARB\0" - "glMultiTexCoord2dvARB\0" - "glMultiTexCoord2fARB\0" - "glMultiTexCoord2fvARB\0" - "glMultiTexCoord2iARB\0" - "glMultiTexCoord2ivARB\0" - "glMultiTexCoord2sARB\0" - "glMultiTexCoord2svARB\0" - "glMultiTexCoord3dARB\0" - "glMultiTexCoord3dvARB\0" - "glMultiTexCoord3fARB\0" - "glMultiTexCoord3fvARB\0" - "glMultiTexCoord3iARB\0" - "glMultiTexCoord3ivARB\0" - "glMultiTexCoord3sARB\0" - "glMultiTexCoord3svARB\0" - "glMultiTexCoord4dARB\0" - "glMultiTexCoord4dvARB\0" - "glMultiTexCoord4fARB\0" - "glMultiTexCoord4fvARB\0" - "glMultiTexCoord4iARB\0" - "glMultiTexCoord4ivARB\0" - "glMultiTexCoord4sARB\0" - "glMultiTexCoord4svARB\0" - "glAttachShader\0" - "glCreateProgram\0" - "glCreateShader\0" - "glDeleteProgram\0" - "glDeleteShader\0" - "glDetachShader\0" - "glGetAttachedShaders\0" - "glGetProgramInfoLog\0" - "glGetProgramiv\0" - "glGetShaderInfoLog\0" - "glGetShaderiv\0" - "glIsProgram\0" - "glIsShader\0" - "glStencilFuncSeparate\0" - "glStencilMaskSeparate\0" - "glStencilOpSeparate\0" - "glUniformMatrix2x3fv\0" - "glUniformMatrix2x4fv\0" - "glUniformMatrix3x2fv\0" - "glUniformMatrix3x4fv\0" - "glUniformMatrix4x2fv\0" - "glUniformMatrix4x3fv\0" - "glClampColor\0" - "glClearBufferfi\0" - "glClearBufferfv\0" - "glClearBufferiv\0" - "glClearBufferuiv\0" - "glGetStringi\0" - "glTexBuffer\0" - "glFramebufferTexture\0" - "glGetBufferParameteri64v\0" - "glGetInteger64i_v\0" - "glVertexAttribDivisor\0" - "glLoadTransposeMatrixdARB\0" - "glLoadTransposeMatrixfARB\0" - "glMultTransposeMatrixdARB\0" - "glMultTransposeMatrixfARB\0" - "glSampleCoverageARB\0" - "glCompressedTexImage1DARB\0" - "glCompressedTexImage2DARB\0" - "glCompressedTexImage3DARB\0" - "glCompressedTexSubImage1DARB\0" - "glCompressedTexSubImage2DARB\0" - "glCompressedTexSubImage3DARB\0" - "glGetCompressedTexImageARB\0" - "glDisableVertexAttribArrayARB\0" - "glEnableVertexAttribArrayARB\0" - "glGetProgramEnvParameterdvARB\0" - "glGetProgramEnvParameterfvARB\0" - "glGetProgramLocalParameterdvARB\0" - "glGetProgramLocalParameterfvARB\0" - "glGetProgramStringARB\0" - "glGetProgramivARB\0" - "glGetVertexAttribdvARB\0" - "glGetVertexAttribfvARB\0" - "glGetVertexAttribivARB\0" - "glProgramEnvParameter4dARB\0" - "glProgramEnvParameter4dvARB\0" - "glProgramEnvParameter4fARB\0" - "glProgramEnvParameter4fvARB\0" - "glProgramLocalParameter4dARB\0" - "glProgramLocalParameter4dvARB\0" - "glProgramLocalParameter4fARB\0" - "glProgramLocalParameter4fvARB\0" - "glProgramStringARB\0" - "glVertexAttrib1dARB\0" - "glVertexAttrib1dvARB\0" - "glVertexAttrib1fARB\0" - "glVertexAttrib1fvARB\0" - "glVertexAttrib1sARB\0" - "glVertexAttrib1svARB\0" - "glVertexAttrib2dARB\0" - "glVertexAttrib2dvARB\0" - "glVertexAttrib2fARB\0" - "glVertexAttrib2fvARB\0" - "glVertexAttrib2sARB\0" - "glVertexAttrib2svARB\0" - "glVertexAttrib3dARB\0" - "glVertexAttrib3dvARB\0" - "glVertexAttrib3fARB\0" - "glVertexAttrib3fvARB\0" - "glVertexAttrib3sARB\0" - "glVertexAttrib3svARB\0" - "glVertexAttrib4NbvARB\0" - "glVertexAttrib4NivARB\0" - "glVertexAttrib4NsvARB\0" - "glVertexAttrib4NubARB\0" - "glVertexAttrib4NubvARB\0" - "glVertexAttrib4NuivARB\0" - "glVertexAttrib4NusvARB\0" - "glVertexAttrib4bvARB\0" - "glVertexAttrib4dARB\0" - "glVertexAttrib4dvARB\0" - "glVertexAttrib4fARB\0" - "glVertexAttrib4fvARB\0" - "glVertexAttrib4ivARB\0" - "glVertexAttrib4sARB\0" - "glVertexAttrib4svARB\0" - "glVertexAttrib4ubvARB\0" - "glVertexAttrib4uivARB\0" - "glVertexAttrib4usvARB\0" - "glVertexAttribPointerARB\0" - "glBindBufferARB\0" - "glBufferDataARB\0" - "glBufferSubDataARB\0" - "glDeleteBuffersARB\0" - "glGenBuffersARB\0" - "glGetBufferParameterivARB\0" - "glGetBufferPointervARB\0" - "glGetBufferSubDataARB\0" - "glIsBufferARB\0" - "glMapBufferARB\0" - "glUnmapBufferARB\0" - "glBeginQueryARB\0" - "glDeleteQueriesARB\0" - "glEndQueryARB\0" - "glGenQueriesARB\0" - "glGetQueryObjectivARB\0" - "glGetQueryObjectuivARB\0" - "glGetQueryivARB\0" - "glIsQueryARB\0" - "glAttachObjectARB\0" - "glCompileShaderARB\0" - "glCreateProgramObjectARB\0" - "glCreateShaderObjectARB\0" - "glDeleteObjectARB\0" - "glDetachObjectARB\0" - "glGetActiveUniformARB\0" - "glGetAttachedObjectsARB\0" - "glGetHandleARB\0" - "glGetInfoLogARB\0" - "glGetObjectParameterfvARB\0" - "glGetObjectParameterivARB\0" - "glGetShaderSourceARB\0" - "glGetUniformLocationARB\0" - "glGetUniformfvARB\0" - "glGetUniformivARB\0" - "glLinkProgramARB\0" - "glShaderSourceARB\0" - "glUniform1fARB\0" - "glUniform1fvARB\0" - "glUniform1iARB\0" - "glUniform1ivARB\0" - "glUniform2fARB\0" - "glUniform2fvARB\0" - "glUniform2iARB\0" - "glUniform2ivARB\0" - "glUniform3fARB\0" - "glUniform3fvARB\0" - "glUniform3iARB\0" - "glUniform3ivARB\0" - "glUniform4fARB\0" - "glUniform4fvARB\0" - "glUniform4iARB\0" - "glUniform4ivARB\0" - "glUniformMatrix2fvARB\0" - "glUniformMatrix3fvARB\0" - "glUniformMatrix4fvARB\0" - "glUseProgramObjectARB\0" - "glValidateProgramARB\0" - "glBindAttribLocationARB\0" - "glGetActiveAttribARB\0" - "glGetAttribLocationARB\0" - "glDrawBuffersARB\0" - "glClampColorARB\0" - "glDrawArraysInstancedARB\0" - "glDrawElementsInstancedARB\0" - "glRenderbufferStorageMultisample\0" - "glFramebufferTextureARB\0" - "glFramebufferTextureFaceARB\0" - "glProgramParameteriARB\0" - "glVertexAttribDivisorARB\0" - "glFlushMappedBufferRange\0" - "glMapBufferRange\0" - "glTexBufferARB\0" - "glBindVertexArray\0" - "glGenVertexArrays\0" - "glCopyBufferSubData\0" - "glClientWaitSync\0" - "glDeleteSync\0" - "glFenceSync\0" - "glGetInteger64v\0" - "glGetSynciv\0" - "glIsSync\0" - "glWaitSync\0" - "glDrawElementsBaseVertex\0" - "glDrawElementsInstancedBaseVertex\0" - "glDrawRangeElementsBaseVertex\0" - "glMultiDrawElementsBaseVertex\0" - "glBlendEquationSeparateiARB\0" - "glBlendEquationiARB\0" - "glBlendFuncSeparateiARB\0" - "glBlendFunciARB\0" - "glBindSampler\0" - "glDeleteSamplers\0" - "glGenSamplers\0" - "glGetSamplerParameterIiv\0" - "glGetSamplerParameterIuiv\0" - "glGetSamplerParameterfv\0" - "glGetSamplerParameteriv\0" - "glIsSampler\0" - "glSamplerParameterIiv\0" - "glSamplerParameterIuiv\0" - "glSamplerParameterf\0" - "glSamplerParameterfv\0" - "glSamplerParameteri\0" - "glSamplerParameteriv\0" - "glColorP3ui\0" - "glColorP3uiv\0" - "glColorP4ui\0" - "glColorP4uiv\0" - "glMultiTexCoordP1ui\0" - "glMultiTexCoordP1uiv\0" - "glMultiTexCoordP2ui\0" - "glMultiTexCoordP2uiv\0" - "glMultiTexCoordP3ui\0" - "glMultiTexCoordP3uiv\0" - "glMultiTexCoordP4ui\0" - "glMultiTexCoordP4uiv\0" - "glNormalP3ui\0" - "glNormalP3uiv\0" - "glSecondaryColorP3ui\0" - "glSecondaryColorP3uiv\0" - "glTexCoordP1ui\0" - "glTexCoordP1uiv\0" - "glTexCoordP2ui\0" - "glTexCoordP2uiv\0" - "glTexCoordP3ui\0" - "glTexCoordP3uiv\0" - "glTexCoordP4ui\0" - "glTexCoordP4uiv\0" - "glVertexAttribP1ui\0" - "glVertexAttribP1uiv\0" - "glVertexAttribP2ui\0" - "glVertexAttribP2uiv\0" - "glVertexAttribP3ui\0" - "glVertexAttribP3uiv\0" - "glVertexAttribP4ui\0" - "glVertexAttribP4uiv\0" - "glVertexP2ui\0" - "glVertexP2uiv\0" - "glVertexP3ui\0" - "glVertexP3uiv\0" - "glVertexP4ui\0" - "glVertexP4uiv\0" - "glBindTransformFeedback\0" - "glDeleteTransformFeedbacks\0" - "glDrawTransformFeedback\0" - "glGenTransformFeedbacks\0" - "glIsTransformFeedback\0" - "glPauseTransformFeedback\0" - "glResumeTransformFeedback\0" - "glClearDepthf\0" - "glDepthRangef\0" - "glGetShaderPrecisionFormat\0" - "glReleaseShaderCompiler\0" - "glShaderBinary\0" - "glGetGraphicsResetStatusARB\0" - "glGetnColorTableARB\0" - "glGetnCompressedTexImageARB\0" - "glGetnConvolutionFilterARB\0" - "glGetnHistogramARB\0" - "glGetnMapdvARB\0" - "glGetnMapfvARB\0" - "glGetnMapivARB\0" - "glGetnMinmaxARB\0" - "glGetnPixelMapfvARB\0" - "glGetnPixelMapuivARB\0" - "glGetnPixelMapusvARB\0" - "glGetnPolygonStippleARB\0" - "glGetnSeparableFilterARB\0" - "glGetnTexImageARB\0" - "glGetnUniformdvARB\0" - "glGetnUniformfvARB\0" - "glGetnUniformivARB\0" - "glGetnUniformuivARB\0" - "glReadnPixelsARB\0" - "glTexStorage1D\0" - "glTexStorage2D\0" - "glTexStorage3D\0" - "glTextureStorage1DEXT\0" - "glTextureStorage2DEXT\0" - "glTextureStorage3DEXT\0" - "glPolygonOffsetEXT\0" - "glGetPixelTexGenParameterfvSGIS\0" - "glGetPixelTexGenParameterivSGIS\0" - "glPixelTexGenParameterfSGIS\0" - "glPixelTexGenParameterfvSGIS\0" - "glPixelTexGenParameteriSGIS\0" - "glPixelTexGenParameterivSGIS\0" - "glSampleMaskSGIS\0" - "glSamplePatternSGIS\0" - "glColorPointerEXT\0" - "glEdgeFlagPointerEXT\0" - "glIndexPointerEXT\0" - "glNormalPointerEXT\0" - "glTexCoordPointerEXT\0" - "glVertexPointerEXT\0" - "glPointParameterfEXT\0" - "glPointParameterfvEXT\0" - "glLockArraysEXT\0" - "glUnlockArraysEXT\0" - "glSecondaryColor3bEXT\0" - "glSecondaryColor3bvEXT\0" - "glSecondaryColor3dEXT\0" - "glSecondaryColor3dvEXT\0" - "glSecondaryColor3fEXT\0" - "glSecondaryColor3fvEXT\0" - "glSecondaryColor3iEXT\0" - "glSecondaryColor3ivEXT\0" - "glSecondaryColor3sEXT\0" - "glSecondaryColor3svEXT\0" - "glSecondaryColor3ubEXT\0" - "glSecondaryColor3ubvEXT\0" - "glSecondaryColor3uiEXT\0" - "glSecondaryColor3uivEXT\0" - "glSecondaryColor3usEXT\0" - "glSecondaryColor3usvEXT\0" - "glSecondaryColorPointerEXT\0" - "glMultiDrawArraysEXT\0" - "glMultiDrawElementsEXT\0" - "glFogCoordPointerEXT\0" - "glFogCoorddEXT\0" - "glFogCoorddvEXT\0" - "glFogCoordfEXT\0" - "glFogCoordfvEXT\0" - "glPixelTexGenSGIX\0" - "glBlendFuncSeparateEXT\0" - "glFlushVertexArrayRangeNV\0" - "glVertexArrayRangeNV\0" - "glCombinerInputNV\0" - "glCombinerOutputNV\0" - "glCombinerParameterfNV\0" - "glCombinerParameterfvNV\0" - "glCombinerParameteriNV\0" - "glCombinerParameterivNV\0" - "glFinalCombinerInputNV\0" - "glGetCombinerInputParameterfvNV\0" - "glGetCombinerInputParameterivNV\0" - "glGetCombinerOutputParameterfvNV\0" - "glGetCombinerOutputParameterivNV\0" - "glGetFinalCombinerInputParameterfvNV\0" - "glGetFinalCombinerInputParameterivNV\0" - "glResizeBuffersMESA\0" - "glWindowPos2dMESA\0" - "glWindowPos2dvMESA\0" - "glWindowPos2fMESA\0" - "glWindowPos2fvMESA\0" - "glWindowPos2iMESA\0" - "glWindowPos2ivMESA\0" - "glWindowPos2sMESA\0" - "glWindowPos2svMESA\0" - "glWindowPos3dMESA\0" - "glWindowPos3dvMESA\0" - "glWindowPos3fMESA\0" - "glWindowPos3fvMESA\0" - "glWindowPos3iMESA\0" - "glWindowPos3ivMESA\0" - "glWindowPos3sMESA\0" - "glWindowPos3svMESA\0" - "glWindowPos4dMESA\0" - "glWindowPos4dvMESA\0" - "glWindowPos4fMESA\0" - "glWindowPos4fvMESA\0" - "glWindowPos4iMESA\0" - "glWindowPos4ivMESA\0" - "glWindowPos4sMESA\0" - "glWindowPos4svMESA\0" - "glMultiModeDrawArraysIBM\0" - "glMultiModeDrawElementsIBM\0" - "glDeleteFencesNV\0" - "glFinishFenceNV\0" - "glGenFencesNV\0" - "glGetFenceivNV\0" - "glIsFenceNV\0" - "glSetFenceNV\0" - "glTestFenceNV\0" - "glAreProgramsResidentNV\0" - "glBindProgramNV\0" - "glDeleteProgramsNV\0" - "glExecuteProgramNV\0" - "glGenProgramsNV\0" - "glGetProgramParameterdvNV\0" - "glGetProgramParameterfvNV\0" - "glGetProgramStringNV\0" - "glGetProgramivNV\0" - "glGetTrackMatrixivNV\0" - "glGetVertexAttribPointervNV\0" - "glGetVertexAttribdvNV\0" - "glGetVertexAttribfvNV\0" - "glGetVertexAttribivNV\0" - "glIsProgramNV\0" - "glLoadProgramNV\0" - "glProgramParameters4dvNV\0" - "glProgramParameters4fvNV\0" - "glRequestResidentProgramsNV\0" - "glTrackMatrixNV\0" - "glVertexAttrib1dNV\0" - "glVertexAttrib1dvNV\0" - "glVertexAttrib1fNV\0" - "glVertexAttrib1fvNV\0" - "glVertexAttrib1sNV\0" - "glVertexAttrib1svNV\0" - "glVertexAttrib2dNV\0" - "glVertexAttrib2dvNV\0" - "glVertexAttrib2fNV\0" - "glVertexAttrib2fvNV\0" - "glVertexAttrib2sNV\0" - "glVertexAttrib2svNV\0" - "glVertexAttrib3dNV\0" - "glVertexAttrib3dvNV\0" - "glVertexAttrib3fNV\0" - "glVertexAttrib3fvNV\0" - "glVertexAttrib3sNV\0" - "glVertexAttrib3svNV\0" - "glVertexAttrib4dNV\0" - "glVertexAttrib4dvNV\0" - "glVertexAttrib4fNV\0" - "glVertexAttrib4fvNV\0" - "glVertexAttrib4sNV\0" - "glVertexAttrib4svNV\0" - "glVertexAttrib4ubNV\0" - "glVertexAttrib4ubvNV\0" - "glVertexAttribPointerNV\0" - "glVertexAttribs1dvNV\0" - "glVertexAttribs1fvNV\0" - "glVertexAttribs1svNV\0" - "glVertexAttribs2dvNV\0" - "glVertexAttribs2fvNV\0" - "glVertexAttribs2svNV\0" - "glVertexAttribs3dvNV\0" - "glVertexAttribs3fvNV\0" - "glVertexAttribs3svNV\0" - "glVertexAttribs4dvNV\0" - "glVertexAttribs4fvNV\0" - "glVertexAttribs4svNV\0" - "glVertexAttribs4ubvNV\0" - "glGetTexBumpParameterfvATI\0" - "glGetTexBumpParameterivATI\0" - "glTexBumpParameterfvATI\0" - "glTexBumpParameterivATI\0" - "glAlphaFragmentOp1ATI\0" - "glAlphaFragmentOp2ATI\0" - "glAlphaFragmentOp3ATI\0" - "glBeginFragmentShaderATI\0" - "glBindFragmentShaderATI\0" - "glColorFragmentOp1ATI\0" - "glColorFragmentOp2ATI\0" - "glColorFragmentOp3ATI\0" - "glDeleteFragmentShaderATI\0" - "glEndFragmentShaderATI\0" - "glGenFragmentShadersATI\0" - "glPassTexCoordATI\0" - "glSampleMapATI\0" - "glSetFragmentShaderConstantATI\0" - "glPointParameteriNV\0" - "glPointParameterivNV\0" - "glActiveStencilFaceEXT\0" - "glBindVertexArrayAPPLE\0" - "glDeleteVertexArraysAPPLE\0" - "glGenVertexArraysAPPLE\0" - "glIsVertexArrayAPPLE\0" - "glGetProgramNamedParameterdvNV\0" - "glGetProgramNamedParameterfvNV\0" - "glProgramNamedParameter4dNV\0" - "glProgramNamedParameter4dvNV\0" - "glProgramNamedParameter4fNV\0" - "glProgramNamedParameter4fvNV\0" - "glPrimitiveRestartIndexNV\0" - "glPrimitiveRestartNV\0" - "glDepthBoundsEXT\0" - "glBlendEquationSeparateEXT\0" - "glBindFramebufferEXT\0" - "glBindRenderbufferEXT\0" - "glCheckFramebufferStatusEXT\0" - "glDeleteFramebuffersEXT\0" - "glDeleteRenderbuffersEXT\0" - "glFramebufferRenderbufferEXT\0" - "glFramebufferTexture1DEXT\0" - "glFramebufferTexture2DEXT\0" - "glFramebufferTexture3DEXT\0" - "glGenFramebuffersEXT\0" - "glGenRenderbuffersEXT\0" - "glGenerateMipmapEXT\0" - "glGetFramebufferAttachmentParameterivEXT\0" - "glGetRenderbufferParameterivEXT\0" - "glIsFramebufferEXT\0" - "glIsRenderbufferEXT\0" - "glRenderbufferStorageEXT\0" - "glBlitFramebufferEXT\0" - "glBufferParameteriAPPLE\0" - "glFlushMappedBufferRangeAPPLE\0" - "glBindFragDataLocationEXT\0" - "glGetFragDataLocationEXT\0" - "glGetUniformuivEXT\0" - "glGetVertexAttribIivEXT\0" - "glGetVertexAttribIuivEXT\0" - "glUniform1uiEXT\0" - "glUniform1uivEXT\0" - "glUniform2uiEXT\0" - "glUniform2uivEXT\0" - "glUniform3uiEXT\0" - "glUniform3uivEXT\0" - "glUniform4uiEXT\0" - "glUniform4uivEXT\0" - "glVertexAttribI1iEXT\0" - "glVertexAttribI1ivEXT\0" - "glVertexAttribI1uiEXT\0" - "glVertexAttribI1uivEXT\0" - "glVertexAttribI2iEXT\0" - "glVertexAttribI2ivEXT\0" - "glVertexAttribI2uiEXT\0" - "glVertexAttribI2uivEXT\0" - "glVertexAttribI3iEXT\0" - "glVertexAttribI3ivEXT\0" - "glVertexAttribI3uiEXT\0" - "glVertexAttribI3uivEXT\0" - "glVertexAttribI4bvEXT\0" - "glVertexAttribI4iEXT\0" - "glVertexAttribI4ivEXT\0" - "glVertexAttribI4svEXT\0" - "glVertexAttribI4ubvEXT\0" - "glVertexAttribI4uiEXT\0" - "glVertexAttribI4uivEXT\0" - "glVertexAttribI4usvEXT\0" - "glVertexAttribIPointerEXT\0" - "glFramebufferTextureLayerEXT\0" - "glColorMaskIndexedEXT\0" - "glDisableIndexedEXT\0" - "glEnableIndexedEXT\0" - "glGetBooleanIndexedvEXT\0" - "glGetIntegerIndexedvEXT\0" - "glIsEnabledIndexedEXT\0" - "glClearColorIiEXT\0" - "glClearColorIuiEXT\0" - "glGetTexParameterIivEXT\0" - "glGetTexParameterIuivEXT\0" - "glTexParameterIivEXT\0" - "glTexParameterIuivEXT\0" - "glBeginConditionalRenderNV\0" - "glEndConditionalRenderNV\0" - "glBeginTransformFeedbackEXT\0" - "glBindBufferBaseEXT\0" - "glBindBufferOffsetEXT\0" - "glBindBufferRangeEXT\0" - "glEndTransformFeedbackEXT\0" - "glGetTransformFeedbackVaryingEXT\0" - "glTransformFeedbackVaryingsEXT\0" - "glProvokingVertexEXT\0" - "glGetTexParameterPointervAPPLE\0" - "glTextureRangeAPPLE\0" - "glGetObjectParameterivAPPLE\0" - "glObjectPurgeableAPPLE\0" - "glObjectUnpurgeableAPPLE\0" - "glActiveProgramEXT\0" - "glCreateShaderProgramEXT\0" - "glUseShaderProgramEXT\0" - "glTextureBarrierNV\0" - "glStencilFuncSeparateATI\0" - "glProgramEnvParameters4fvEXT\0" - "glProgramLocalParameters4fvEXT\0" - "glGetQueryObjecti64vEXT\0" - "glGetQueryObjectui64vEXT\0" - "glEGLImageTargetRenderbufferStorageOES\0" - "glEGLImageTargetTexture2DOES\0" - "glArrayElementEXT\0" - "glBindTextureEXT\0" - "glDrawArraysEXT\0" - "glAreTexturesResidentEXT\0" - "glCopyTexImage1DEXT\0" - "glCopyTexImage2DEXT\0" - "glCopyTexSubImage1DEXT\0" - "glCopyTexSubImage2DEXT\0" - "glDeleteTexturesEXT\0" - "glGenTexturesEXT\0" - "glGetPointervEXT\0" - "glIsTextureEXT\0" - "glPrioritizeTexturesEXT\0" - "glTexSubImage1DEXT\0" - "glTexSubImage2DEXT\0" - "glBlendColorEXT\0" - "glBlendEquationEXT\0" - "glDrawRangeElementsEXT\0" - "glColorTableSGI\0" - "glColorTableEXT\0" - "glColorTableParameterfvSGI\0" - "glColorTableParameterivSGI\0" - "glCopyColorTableSGI\0" - "glGetColorTableSGI\0" - "glGetColorTableEXT\0" - "glGetColorTableParameterfvSGI\0" - "glGetColorTableParameterfvEXT\0" - "glGetColorTableParameterivSGI\0" - "glGetColorTableParameterivEXT\0" - "glColorSubTableEXT\0" - "glCopyColorSubTableEXT\0" - "glConvolutionFilter1DEXT\0" - "glConvolutionFilter2DEXT\0" - "glConvolutionParameterfEXT\0" - "glConvolutionParameterfvEXT\0" - "glConvolutionParameteriEXT\0" - "glConvolutionParameterivEXT\0" - "glCopyConvolutionFilter1DEXT\0" - "glCopyConvolutionFilter2DEXT\0" - "glGetConvolutionFilterEXT\0" - "glGetConvolutionParameterfvEXT\0" - "glGetConvolutionParameterivEXT\0" - "glGetSeparableFilterEXT\0" - "glSeparableFilter2DEXT\0" - "glGetHistogramEXT\0" - "glGetHistogramParameterfvEXT\0" - "glGetHistogramParameterivEXT\0" - "glGetMinmaxEXT\0" - "glGetMinmaxParameterfvEXT\0" - "glGetMinmaxParameterivEXT\0" - "glHistogramEXT\0" - "glMinmaxEXT\0" - "glResetHistogramEXT\0" - "glResetMinmaxEXT\0" - "glTexImage3DEXT\0" - "glTexSubImage3DEXT\0" - "glCopyTexSubImage3DEXT\0" - "glActiveTexture\0" - "glClientActiveTexture\0" - "glMultiTexCoord1d\0" - "glMultiTexCoord1dv\0" - "glMultiTexCoord1f\0" - "glMultiTexCoord1fv\0" - "glMultiTexCoord1i\0" - "glMultiTexCoord1iv\0" - "glMultiTexCoord1s\0" - "glMultiTexCoord1sv\0" - "glMultiTexCoord2d\0" - "glMultiTexCoord2dv\0" - "glMultiTexCoord2f\0" - "glMultiTexCoord2fv\0" - "glMultiTexCoord2i\0" - "glMultiTexCoord2iv\0" - "glMultiTexCoord2s\0" - "glMultiTexCoord2sv\0" - "glMultiTexCoord3d\0" - "glMultiTexCoord3dv\0" - "glMultiTexCoord3f\0" - "glMultiTexCoord3fv\0" - "glMultiTexCoord3i\0" - "glMultiTexCoord3iv\0" - "glMultiTexCoord3s\0" - "glMultiTexCoord3sv\0" - "glMultiTexCoord4d\0" - "glMultiTexCoord4dv\0" - "glMultiTexCoord4f\0" - "glMultiTexCoord4fv\0" - "glMultiTexCoord4i\0" - "glMultiTexCoord4iv\0" - "glMultiTexCoord4s\0" - "glMultiTexCoord4sv\0" - "glStencilOpSeparateATI\0" - "glLoadTransposeMatrixd\0" - "glLoadTransposeMatrixf\0" - "glMultTransposeMatrixd\0" - "glMultTransposeMatrixf\0" - "glSampleCoverage\0" - "glCompressedTexImage1D\0" - "glCompressedTexImage2D\0" - "glCompressedTexImage3D\0" - "glCompressedTexSubImage1D\0" - "glCompressedTexSubImage2D\0" - "glCompressedTexSubImage3D\0" - "glGetCompressedTexImage\0" - "glDisableVertexAttribArray\0" - "glEnableVertexAttribArray\0" - "glGetVertexAttribdv\0" - "glGetVertexAttribfv\0" - "glGetVertexAttribiv\0" - "glProgramParameter4dNV\0" - "glProgramParameter4dvNV\0" - "glProgramParameter4fNV\0" - "glProgramParameter4fvNV\0" - "glVertexAttrib1d\0" - "glVertexAttrib1dv\0" - "glVertexAttrib1f\0" - "glVertexAttrib1fv\0" - "glVertexAttrib1s\0" - "glVertexAttrib1sv\0" - "glVertexAttrib2d\0" - "glVertexAttrib2dv\0" - "glVertexAttrib2f\0" - "glVertexAttrib2fv\0" - "glVertexAttrib2s\0" - "glVertexAttrib2sv\0" - "glVertexAttrib3d\0" - "glVertexAttrib3dv\0" - "glVertexAttrib3f\0" - "glVertexAttrib3fv\0" - "glVertexAttrib3s\0" - "glVertexAttrib3sv\0" - "glVertexAttrib4Nbv\0" - "glVertexAttrib4Niv\0" - "glVertexAttrib4Nsv\0" - "glVertexAttrib4Nub\0" - "glVertexAttrib4Nubv\0" - "glVertexAttrib4Nuiv\0" - "glVertexAttrib4Nusv\0" - "glVertexAttrib4bv\0" - "glVertexAttrib4d\0" - "glVertexAttrib4dv\0" - "glVertexAttrib4f\0" - "glVertexAttrib4fv\0" - "glVertexAttrib4iv\0" - "glVertexAttrib4s\0" - "glVertexAttrib4sv\0" - "glVertexAttrib4ubv\0" - "glVertexAttrib4uiv\0" - "glVertexAttrib4usv\0" - "glVertexAttribPointer\0" - "glBindBuffer\0" - "glBufferData\0" - "glBufferSubData\0" - "glDeleteBuffers\0" - "glGenBuffers\0" - "glGetBufferParameteriv\0" - "glGetBufferPointerv\0" - "glGetBufferSubData\0" - "glIsBuffer\0" - "glMapBuffer\0" - "glUnmapBuffer\0" - "glBeginQuery\0" - "glDeleteQueries\0" - "glEndQuery\0" - "glGenQueries\0" - "glGetQueryObjectiv\0" - "glGetQueryObjectuiv\0" - "glGetQueryiv\0" - "glIsQuery\0" - "glCompileShader\0" - "glGetActiveUniform\0" - "glGetShaderSource\0" - "glGetUniformLocation\0" - "glGetUniformfv\0" - "glGetUniformiv\0" - "glLinkProgram\0" - "glShaderSource\0" - "glUniform1f\0" - "glUniform1fv\0" - "glUniform1i\0" - "glUniform1iv\0" - "glUniform2f\0" - "glUniform2fv\0" - "glUniform2i\0" - "glUniform2iv\0" - "glUniform3f\0" - "glUniform3fv\0" - "glUniform3i\0" - "glUniform3iv\0" - "glUniform4f\0" - "glUniform4fv\0" - "glUniform4i\0" - "glUniform4iv\0" - "glUniformMatrix2fv\0" - "glUniformMatrix3fv\0" - "glUniformMatrix4fv\0" - "glUseProgram\0" - "glValidateProgram\0" - "glBindAttribLocation\0" - "glGetActiveAttrib\0" - "glGetAttribLocation\0" - "glDrawBuffers\0" - "glDrawBuffersATI\0" - "glDrawBuffersNV\0" - "glDrawArraysInstancedEXT\0" - "glDrawArraysInstanced\0" - "glDrawElementsInstancedEXT\0" - "glDrawElementsInstanced\0" - "glRenderbufferStorageMultisampleEXT\0" - "glBlendEquationSeparateIndexedAMD\0" - "glBlendEquationIndexedAMD\0" - "glBlendFuncSeparateIndexedAMD\0" - "glBlendFuncIndexedAMD\0" - "glSampleMaskEXT\0" - "glSamplePatternEXT\0" - "glPointParameterf\0" - "glPointParameterfARB\0" - "glPointParameterfSGIS\0" - "glPointParameterfv\0" - "glPointParameterfvARB\0" - "glPointParameterfvSGIS\0" - "glSecondaryColor3b\0" - "glSecondaryColor3bv\0" - "glSecondaryColor3d\0" - "glSecondaryColor3dv\0" - "glSecondaryColor3f\0" - "glSecondaryColor3fv\0" - "glSecondaryColor3i\0" - "glSecondaryColor3iv\0" - "glSecondaryColor3s\0" - "glSecondaryColor3sv\0" - "glSecondaryColor3ub\0" - "glSecondaryColor3ubv\0" - "glSecondaryColor3ui\0" - "glSecondaryColor3uiv\0" - "glSecondaryColor3us\0" - "glSecondaryColor3usv\0" - "glSecondaryColorPointer\0" - "glMultiDrawArrays\0" - "glMultiDrawElements\0" - "glFogCoordPointer\0" - "glFogCoordd\0" - "glFogCoorddv\0" - "glFogCoordf\0" - "glFogCoordfv\0" - "glBlendFuncSeparate\0" - "glBlendFuncSeparateINGR\0" - "glWindowPos2d\0" - "glWindowPos2dARB\0" - "glWindowPos2dv\0" - "glWindowPos2dvARB\0" - "glWindowPos2f\0" - "glWindowPos2fARB\0" - "glWindowPos2fv\0" - "glWindowPos2fvARB\0" - "glWindowPos2i\0" - "glWindowPos2iARB\0" - "glWindowPos2iv\0" - "glWindowPos2ivARB\0" - "glWindowPos2s\0" - "glWindowPos2sARB\0" - "glWindowPos2sv\0" - "glWindowPos2svARB\0" - "glWindowPos3d\0" - "glWindowPos3dARB\0" - "glWindowPos3dv\0" - "glWindowPos3dvARB\0" - "glWindowPos3f\0" - "glWindowPos3fARB\0" - "glWindowPos3fv\0" - "glWindowPos3fvARB\0" - "glWindowPos3i\0" - "glWindowPos3iARB\0" - "glWindowPos3iv\0" - "glWindowPos3ivARB\0" - "glWindowPos3s\0" - "glWindowPos3sARB\0" - "glWindowPos3sv\0" - "glWindowPos3svARB\0" - "glBindProgramARB\0" - "glDeleteProgramsARB\0" - "glGenProgramsARB\0" - "glGetVertexAttribPointerv\0" - "glGetVertexAttribPointervARB\0" - "glIsProgramARB\0" - "glPointParameteri\0" - "glPointParameteriv\0" - "glDeleteVertexArrays\0" - "glIsVertexArray\0" - "glPrimitiveRestartIndex\0" - "glBlendEquationSeparate\0" - "glBlendEquationSeparateATI\0" - "glBindFramebuffer\0" - "glBindRenderbuffer\0" - "glCheckFramebufferStatus\0" - "glDeleteFramebuffers\0" - "glDeleteRenderbuffers\0" - "glFramebufferRenderbuffer\0" - "glFramebufferTexture1D\0" - "glFramebufferTexture2D\0" - "glFramebufferTexture3D\0" - "glGenFramebuffers\0" - "glGenRenderbuffers\0" - "glGenerateMipmap\0" - "glGetFramebufferAttachmentParameteriv\0" - "glGetRenderbufferParameteriv\0" - "glIsFramebuffer\0" - "glIsRenderbuffer\0" - "glRenderbufferStorage\0" - "glBlitFramebuffer\0" - "glBindFragDataLocation\0" - "glGetFragDataLocation\0" - "glGetUniformuiv\0" - "glGetVertexAttribIiv\0" - "glGetVertexAttribIuiv\0" - "glUniform1ui\0" - "glUniform1uiv\0" - "glUniform2ui\0" - "glUniform2uiv\0" - "glUniform3ui\0" - "glUniform3uiv\0" - "glUniform4ui\0" - "glUniform4uiv\0" - "glVertexAttribI1i\0" - "glVertexAttribI1iv\0" - "glVertexAttribI1ui\0" - "glVertexAttribI1uiv\0" - "glVertexAttribI2i\0" - "glVertexAttribI2iv\0" - "glVertexAttribI2ui\0" - "glVertexAttribI2uiv\0" - "glVertexAttribI3i\0" - "glVertexAttribI3iv\0" - "glVertexAttribI3ui\0" - "glVertexAttribI3uiv\0" - "glVertexAttribI4bv\0" - "glVertexAttribI4i\0" - "glVertexAttribI4iv\0" - "glVertexAttribI4sv\0" - "glVertexAttribI4ubv\0" - "glVertexAttribI4ui\0" - "glVertexAttribI4uiv\0" - "glVertexAttribI4usv\0" - "glVertexAttribIPointer\0" - "glFramebufferTextureLayer\0" - "glFramebufferTextureLayerARB\0" - "glColorMaski\0" - "glDisablei\0" - "glEnablei\0" - "glGetBooleani_v\0" - "glGetIntegeri_v\0" - "glIsEnabledi\0" - "glGetTexParameterIiv\0" - "glGetTexParameterIuiv\0" - "glTexParameterIiv\0" - "glTexParameterIuiv\0" - "glBeginConditionalRender\0" - "glEndConditionalRender\0" - "glBeginTransformFeedback\0" - "glBindBufferBase\0" - "glBindBufferRange\0" - "glEndTransformFeedback\0" - "glGetTransformFeedbackVarying\0" - "glTransformFeedbackVaryings\0" "glProvokingVertex\0"; - -#ifdef USE_MGL_NAMESPACE -#define gl_dispatch_stub_343 mgl_dispatch_stub_343 -#define gl_dispatch_stub_344 mgl_dispatch_stub_344 -#define gl_dispatch_stub_345 mgl_dispatch_stub_345 -#define gl_dispatch_stub_356 mgl_dispatch_stub_356 -#define gl_dispatch_stub_357 mgl_dispatch_stub_357 -#define gl_dispatch_stub_358 mgl_dispatch_stub_358 -#define gl_dispatch_stub_359 mgl_dispatch_stub_359 -#define gl_dispatch_stub_361 mgl_dispatch_stub_361 -#define gl_dispatch_stub_362 mgl_dispatch_stub_362 -#define gl_dispatch_stub_363 mgl_dispatch_stub_363 -#define gl_dispatch_stub_364 mgl_dispatch_stub_364 -#define gl_dispatch_stub_365 mgl_dispatch_stub_365 -#define gl_dispatch_stub_366 mgl_dispatch_stub_366 -#define gl_dispatch_stub_692 mgl_dispatch_stub_692 -#define gl_dispatch_stub_693 mgl_dispatch_stub_693 -#define gl_dispatch_stub_694 mgl_dispatch_stub_694 -#define gl_dispatch_stub_695 mgl_dispatch_stub_695 -#define gl_dispatch_stub_696 mgl_dispatch_stub_696 -#define gl_dispatch_stub_697 mgl_dispatch_stub_697 -#define gl_dispatch_stub_698 mgl_dispatch_stub_698 -#define gl_dispatch_stub_699 mgl_dispatch_stub_699 -#define gl_dispatch_stub_734 mgl_dispatch_stub_734 -#define gl_dispatch_stub_776 mgl_dispatch_stub_776 -#define gl_dispatch_stub_777 mgl_dispatch_stub_777 -#define gl_dispatch_stub_778 mgl_dispatch_stub_778 -#define gl_dispatch_stub_779 mgl_dispatch_stub_779 -#define gl_dispatch_stub_780 mgl_dispatch_stub_780 -#define gl_dispatch_stub_781 mgl_dispatch_stub_781 -#define gl_dispatch_stub_782 mgl_dispatch_stub_782 -#define gl_dispatch_stub_783 mgl_dispatch_stub_783 -#define gl_dispatch_stub_784 mgl_dispatch_stub_784 -#define gl_dispatch_stub_865 mgl_dispatch_stub_865 -#define gl_dispatch_stub_866 mgl_dispatch_stub_866 -#define gl_dispatch_stub_867 mgl_dispatch_stub_867 -#define gl_dispatch_stub_868 mgl_dispatch_stub_868 -#define gl_dispatch_stub_869 mgl_dispatch_stub_869 -#define gl_dispatch_stub_878 mgl_dispatch_stub_878 -#define gl_dispatch_stub_879 mgl_dispatch_stub_879 -#define gl_dispatch_stub_897 mgl_dispatch_stub_897 -#define gl_dispatch_stub_898 mgl_dispatch_stub_898 -#define gl_dispatch_stub_899 mgl_dispatch_stub_899 -#define gl_dispatch_stub_957 mgl_dispatch_stub_957 -#define gl_dispatch_stub_958 mgl_dispatch_stub_958 -#define gl_dispatch_stub_966 mgl_dispatch_stub_966 -#define gl_dispatch_stub_967 mgl_dispatch_stub_967 -#define gl_dispatch_stub_968 mgl_dispatch_stub_968 -#define gl_dispatch_stub_969 mgl_dispatch_stub_969 -#define gl_dispatch_stub_970 mgl_dispatch_stub_970 -#endif /* USE_MGL_NAMESPACE */ - -#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) -void GLAPIENTRY gl_dispatch_stub_343(GLenum target, GLenum format, GLenum type, - GLvoid * table); -void GLAPIENTRY gl_dispatch_stub_344(GLenum target, GLenum pname, - GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_345(GLenum target, GLenum pname, - GLint * params); -void GLAPIENTRY gl_dispatch_stub_356(GLenum target, GLenum format, GLenum type, - GLvoid * image); -void GLAPIENTRY gl_dispatch_stub_357(GLenum target, GLenum pname, - GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_358(GLenum target, GLenum pname, - GLint * params); -void GLAPIENTRY gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type, - GLvoid * row, GLvoid * column, - GLvoid * span); -void GLAPIENTRY gl_dispatch_stub_361(GLenum target, GLboolean reset, - GLenum format, GLenum type, - GLvoid * values); -void GLAPIENTRY gl_dispatch_stub_362(GLenum target, GLenum pname, - GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_363(GLenum target, GLenum pname, - GLint * params); -void GLAPIENTRY gl_dispatch_stub_364(GLenum target, GLboolean reset, - GLenum format, GLenum type, - GLvoid * values); -void GLAPIENTRY gl_dispatch_stub_365(GLenum target, GLenum pname, - GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_366(GLenum target, GLenum pname, - GLint * params); -void GLAPIENTRY gl_dispatch_stub_692(GLenum pname, GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_693(GLenum pname, GLint * params); -void GLAPIENTRY gl_dispatch_stub_694(GLenum pname, GLfloat param); -void GLAPIENTRY gl_dispatch_stub_695(GLenum pname, const GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_696(GLenum pname, GLint param); -void GLAPIENTRY gl_dispatch_stub_697(GLenum pname, const GLint * params); -void GLAPIENTRY gl_dispatch_stub_698(GLclampf value, GLboolean invert); -void GLAPIENTRY gl_dispatch_stub_699(GLenum pattern); -void GLAPIENTRY gl_dispatch_stub_734(GLenum mode); -void GLAPIENTRY gl_dispatch_stub_776(const GLenum * mode, const GLint * first, - const GLsizei * count, GLsizei primcount, - GLint modestride); -void GLAPIENTRY gl_dispatch_stub_777(const GLenum * mode, const GLsizei * count, - GLenum type, const GLvoid * const *indices, - GLsizei primcount, GLint modestride); -void GLAPIENTRY gl_dispatch_stub_778(GLsizei n, const GLuint * fences); -void GLAPIENTRY gl_dispatch_stub_779(GLuint fence); -void GLAPIENTRY gl_dispatch_stub_780(GLsizei n, GLuint * fences); -void GLAPIENTRY gl_dispatch_stub_781(GLuint fence, GLenum pname, - GLint * params); -GLboolean GLAPIENTRY gl_dispatch_stub_782(GLuint fence); -void GLAPIENTRY gl_dispatch_stub_783(GLuint fence, GLenum condition); -GLboolean GLAPIENTRY gl_dispatch_stub_784(GLuint fence); -void GLAPIENTRY gl_dispatch_stub_865(GLenum face); -void GLAPIENTRY gl_dispatch_stub_866(GLuint array); -void GLAPIENTRY gl_dispatch_stub_867(GLsizei n, const GLuint * arrays); -void GLAPIENTRY gl_dispatch_stub_868(GLsizei n, GLuint * arrays); -GLboolean GLAPIENTRY gl_dispatch_stub_869(GLuint array); -void GLAPIENTRY gl_dispatch_stub_878(GLclampd zmin, GLclampd zmax); -void GLAPIENTRY gl_dispatch_stub_879(GLenum modeRGB, GLenum modeA); -void GLAPIENTRY gl_dispatch_stub_897(GLint srcX0, GLint srcY0, GLint srcX1, - GLint srcY1, GLint dstX0, GLint dstY0, - GLint dstX1, GLint dstY1, GLbitfield mask, - GLenum filter); -void GLAPIENTRY gl_dispatch_stub_898(GLenum target, GLenum pname, GLint param); -void GLAPIENTRY gl_dispatch_stub_899(GLenum target, GLintptr offset, - GLsizeiptr size); -void GLAPIENTRY gl_dispatch_stub_957(GLenum target, GLenum pname, - GLvoid ** params); -void GLAPIENTRY gl_dispatch_stub_958(GLenum target, GLsizei length, - GLvoid * pointer); -void GLAPIENTRY gl_dispatch_stub_966(GLenum frontfunc, GLenum backfunc, - GLint ref, GLuint mask); -void GLAPIENTRY gl_dispatch_stub_967(GLenum target, GLuint index, GLsizei count, - const GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_968(GLenum target, GLuint index, GLsizei count, - const GLfloat * params); -void GLAPIENTRY gl_dispatch_stub_969(GLuint id, GLenum pname, - GLint64EXT * params); -void GLAPIENTRY gl_dispatch_stub_970(GLuint id, GLenum pname, - GLuint64EXT * params); -#endif /* defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) */ - -static const glprocs_table_t static_functions[] = { - NAME_FUNC_OFFSET(0, glNewList, glNewList, NULL, 0), - NAME_FUNC_OFFSET(10, glEndList, glEndList, NULL, 1), - NAME_FUNC_OFFSET(20, glCallList, glCallList, NULL, 2), - NAME_FUNC_OFFSET(31, glCallLists, glCallLists, NULL, 3), - NAME_FUNC_OFFSET(43, glDeleteLists, glDeleteLists, NULL, 4), - NAME_FUNC_OFFSET(57, glGenLists, glGenLists, NULL, 5), - NAME_FUNC_OFFSET(68, glListBase, glListBase, NULL, 6), - NAME_FUNC_OFFSET(79, glBegin, glBegin, NULL, 7), - NAME_FUNC_OFFSET(87, glBitmap, glBitmap, NULL, 8), - NAME_FUNC_OFFSET(96, glColor3b, glColor3b, NULL, 9), - NAME_FUNC_OFFSET(106, glColor3bv, glColor3bv, NULL, 10), - NAME_FUNC_OFFSET(117, glColor3d, glColor3d, NULL, 11), - NAME_FUNC_OFFSET(127, glColor3dv, glColor3dv, NULL, 12), - NAME_FUNC_OFFSET(138, glColor3f, glColor3f, NULL, 13), - NAME_FUNC_OFFSET(148, glColor3fv, glColor3fv, NULL, 14), - NAME_FUNC_OFFSET(159, glColor3i, glColor3i, NULL, 15), - NAME_FUNC_OFFSET(169, glColor3iv, glColor3iv, NULL, 16), - NAME_FUNC_OFFSET(180, glColor3s, glColor3s, NULL, 17), - NAME_FUNC_OFFSET(190, glColor3sv, glColor3sv, NULL, 18), - NAME_FUNC_OFFSET(201, glColor3ub, glColor3ub, NULL, 19), - NAME_FUNC_OFFSET(212, glColor3ubv, glColor3ubv, NULL, 20), - NAME_FUNC_OFFSET(224, glColor3ui, glColor3ui, NULL, 21), - NAME_FUNC_OFFSET(235, glColor3uiv, glColor3uiv, NULL, 22), - NAME_FUNC_OFFSET(247, glColor3us, glColor3us, NULL, 23), - NAME_FUNC_OFFSET(258, glColor3usv, glColor3usv, NULL, 24), - NAME_FUNC_OFFSET(270, glColor4b, glColor4b, NULL, 25), - NAME_FUNC_OFFSET(280, glColor4bv, glColor4bv, NULL, 26), - NAME_FUNC_OFFSET(291, glColor4d, glColor4d, NULL, 27), - NAME_FUNC_OFFSET(301, glColor4dv, glColor4dv, NULL, 28), - NAME_FUNC_OFFSET(312, glColor4f, glColor4f, NULL, 29), - NAME_FUNC_OFFSET(322, glColor4fv, glColor4fv, NULL, 30), - NAME_FUNC_OFFSET(333, glColor4i, glColor4i, NULL, 31), - NAME_FUNC_OFFSET(343, glColor4iv, glColor4iv, NULL, 32), - NAME_FUNC_OFFSET(354, glColor4s, glColor4s, NULL, 33), - NAME_FUNC_OFFSET(364, glColor4sv, glColor4sv, NULL, 34), - NAME_FUNC_OFFSET(375, glColor4ub, glColor4ub, NULL, 35), - NAME_FUNC_OFFSET(386, glColor4ubv, glColor4ubv, NULL, 36), - NAME_FUNC_OFFSET(398, glColor4ui, glColor4ui, NULL, 37), - NAME_FUNC_OFFSET(409, glColor4uiv, glColor4uiv, NULL, 38), - NAME_FUNC_OFFSET(421, glColor4us, glColor4us, NULL, 39), - NAME_FUNC_OFFSET(432, glColor4usv, glColor4usv, NULL, 40), - NAME_FUNC_OFFSET(444, glEdgeFlag, glEdgeFlag, NULL, 41), - NAME_FUNC_OFFSET(455, glEdgeFlagv, glEdgeFlagv, NULL, 42), - NAME_FUNC_OFFSET(467, glEnd, glEnd, NULL, 43), - NAME_FUNC_OFFSET(473, glIndexd, glIndexd, NULL, 44), - NAME_FUNC_OFFSET(482, glIndexdv, glIndexdv, NULL, 45), - NAME_FUNC_OFFSET(492, glIndexf, glIndexf, NULL, 46), - NAME_FUNC_OFFSET(501, glIndexfv, glIndexfv, NULL, 47), - NAME_FUNC_OFFSET(511, glIndexi, glIndexi, NULL, 48), - NAME_FUNC_OFFSET(520, glIndexiv, glIndexiv, NULL, 49), - NAME_FUNC_OFFSET(530, glIndexs, glIndexs, NULL, 50), - NAME_FUNC_OFFSET(539, glIndexsv, glIndexsv, NULL, 51), - NAME_FUNC_OFFSET(549, glNormal3b, glNormal3b, NULL, 52), - NAME_FUNC_OFFSET(560, glNormal3bv, glNormal3bv, NULL, 53), - NAME_FUNC_OFFSET(572, glNormal3d, glNormal3d, NULL, 54), - NAME_FUNC_OFFSET(583, glNormal3dv, glNormal3dv, NULL, 55), - NAME_FUNC_OFFSET(595, glNormal3f, glNormal3f, NULL, 56), - NAME_FUNC_OFFSET(606, glNormal3fv, glNormal3fv, NULL, 57), - NAME_FUNC_OFFSET(618, glNormal3i, glNormal3i, NULL, 58), - NAME_FUNC_OFFSET(629, glNormal3iv, glNormal3iv, NULL, 59), - NAME_FUNC_OFFSET(641, glNormal3s, glNormal3s, NULL, 60), - NAME_FUNC_OFFSET(652, glNormal3sv, glNormal3sv, NULL, 61), - NAME_FUNC_OFFSET(664, glRasterPos2d, glRasterPos2d, NULL, 62), - NAME_FUNC_OFFSET(678, glRasterPos2dv, glRasterPos2dv, NULL, 63), - NAME_FUNC_OFFSET(693, glRasterPos2f, glRasterPos2f, NULL, 64), - NAME_FUNC_OFFSET(707, glRasterPos2fv, glRasterPos2fv, NULL, 65), - NAME_FUNC_OFFSET(722, glRasterPos2i, glRasterPos2i, NULL, 66), - NAME_FUNC_OFFSET(736, glRasterPos2iv, glRasterPos2iv, NULL, 67), - NAME_FUNC_OFFSET(751, glRasterPos2s, glRasterPos2s, NULL, 68), - NAME_FUNC_OFFSET(765, glRasterPos2sv, glRasterPos2sv, NULL, 69), - NAME_FUNC_OFFSET(780, glRasterPos3d, glRasterPos3d, NULL, 70), - NAME_FUNC_OFFSET(794, glRasterPos3dv, glRasterPos3dv, NULL, 71), - NAME_FUNC_OFFSET(809, glRasterPos3f, glRasterPos3f, NULL, 72), - NAME_FUNC_OFFSET(823, glRasterPos3fv, glRasterPos3fv, NULL, 73), - NAME_FUNC_OFFSET(838, glRasterPos3i, glRasterPos3i, NULL, 74), - NAME_FUNC_OFFSET(852, glRasterPos3iv, glRasterPos3iv, NULL, 75), - NAME_FUNC_OFFSET(867, glRasterPos3s, glRasterPos3s, NULL, 76), - NAME_FUNC_OFFSET(881, glRasterPos3sv, glRasterPos3sv, NULL, 77), - NAME_FUNC_OFFSET(896, glRasterPos4d, glRasterPos4d, NULL, 78), - NAME_FUNC_OFFSET(910, glRasterPos4dv, glRasterPos4dv, NULL, 79), - NAME_FUNC_OFFSET(925, glRasterPos4f, glRasterPos4f, NULL, 80), - NAME_FUNC_OFFSET(939, glRasterPos4fv, glRasterPos4fv, NULL, 81), - NAME_FUNC_OFFSET(954, glRasterPos4i, glRasterPos4i, NULL, 82), - NAME_FUNC_OFFSET(968, glRasterPos4iv, glRasterPos4iv, NULL, 83), - NAME_FUNC_OFFSET(983, glRasterPos4s, glRasterPos4s, NULL, 84), - NAME_FUNC_OFFSET(997, glRasterPos4sv, glRasterPos4sv, NULL, 85), - NAME_FUNC_OFFSET(1012, glRectd, glRectd, NULL, 86), - NAME_FUNC_OFFSET(1020, glRectdv, glRectdv, NULL, 87), - NAME_FUNC_OFFSET(1029, glRectf, glRectf, NULL, 88), - NAME_FUNC_OFFSET(1037, glRectfv, glRectfv, NULL, 89), - NAME_FUNC_OFFSET(1046, glRecti, glRecti, NULL, 90), - NAME_FUNC_OFFSET(1054, glRectiv, glRectiv, NULL, 91), - NAME_FUNC_OFFSET(1063, glRects, glRects, NULL, 92), - NAME_FUNC_OFFSET(1071, glRectsv, glRectsv, NULL, 93), - NAME_FUNC_OFFSET(1080, glTexCoord1d, glTexCoord1d, NULL, 94), - NAME_FUNC_OFFSET(1093, glTexCoord1dv, glTexCoord1dv, NULL, 95), - NAME_FUNC_OFFSET(1107, glTexCoord1f, glTexCoord1f, NULL, 96), - NAME_FUNC_OFFSET(1120, glTexCoord1fv, glTexCoord1fv, NULL, 97), - NAME_FUNC_OFFSET(1134, glTexCoord1i, glTexCoord1i, NULL, 98), - NAME_FUNC_OFFSET(1147, glTexCoord1iv, glTexCoord1iv, NULL, 99), - NAME_FUNC_OFFSET(1161, glTexCoord1s, glTexCoord1s, NULL, 100), - NAME_FUNC_OFFSET(1174, glTexCoord1sv, glTexCoord1sv, NULL, 101), - NAME_FUNC_OFFSET(1188, glTexCoord2d, glTexCoord2d, NULL, 102), - NAME_FUNC_OFFSET(1201, glTexCoord2dv, glTexCoord2dv, NULL, 103), - NAME_FUNC_OFFSET(1215, glTexCoord2f, glTexCoord2f, NULL, 104), - NAME_FUNC_OFFSET(1228, glTexCoord2fv, glTexCoord2fv, NULL, 105), - NAME_FUNC_OFFSET(1242, glTexCoord2i, glTexCoord2i, NULL, 106), - NAME_FUNC_OFFSET(1255, glTexCoord2iv, glTexCoord2iv, NULL, 107), - NAME_FUNC_OFFSET(1269, glTexCoord2s, glTexCoord2s, NULL, 108), - NAME_FUNC_OFFSET(1282, glTexCoord2sv, glTexCoord2sv, NULL, 109), - NAME_FUNC_OFFSET(1296, glTexCoord3d, glTexCoord3d, NULL, 110), - NAME_FUNC_OFFSET(1309, glTexCoord3dv, glTexCoord3dv, NULL, 111), - NAME_FUNC_OFFSET(1323, glTexCoord3f, glTexCoord3f, NULL, 112), - NAME_FUNC_OFFSET(1336, glTexCoord3fv, glTexCoord3fv, NULL, 113), - NAME_FUNC_OFFSET(1350, glTexCoord3i, glTexCoord3i, NULL, 114), - NAME_FUNC_OFFSET(1363, glTexCoord3iv, glTexCoord3iv, NULL, 115), - NAME_FUNC_OFFSET(1377, glTexCoord3s, glTexCoord3s, NULL, 116), - NAME_FUNC_OFFSET(1390, glTexCoord3sv, glTexCoord3sv, NULL, 117), - NAME_FUNC_OFFSET(1404, glTexCoord4d, glTexCoord4d, NULL, 118), - NAME_FUNC_OFFSET(1417, glTexCoord4dv, glTexCoord4dv, NULL, 119), - NAME_FUNC_OFFSET(1431, glTexCoord4f, glTexCoord4f, NULL, 120), - NAME_FUNC_OFFSET(1444, glTexCoord4fv, glTexCoord4fv, NULL, 121), - NAME_FUNC_OFFSET(1458, glTexCoord4i, glTexCoord4i, NULL, 122), - NAME_FUNC_OFFSET(1471, glTexCoord4iv, glTexCoord4iv, NULL, 123), - NAME_FUNC_OFFSET(1485, glTexCoord4s, glTexCoord4s, NULL, 124), - NAME_FUNC_OFFSET(1498, glTexCoord4sv, glTexCoord4sv, NULL, 125), - NAME_FUNC_OFFSET(1512, glVertex2d, glVertex2d, NULL, 126), - NAME_FUNC_OFFSET(1523, glVertex2dv, glVertex2dv, NULL, 127), - NAME_FUNC_OFFSET(1535, glVertex2f, glVertex2f, NULL, 128), - NAME_FUNC_OFFSET(1546, glVertex2fv, glVertex2fv, NULL, 129), - NAME_FUNC_OFFSET(1558, glVertex2i, glVertex2i, NULL, 130), - NAME_FUNC_OFFSET(1569, glVertex2iv, glVertex2iv, NULL, 131), - NAME_FUNC_OFFSET(1581, glVertex2s, glVertex2s, NULL, 132), - NAME_FUNC_OFFSET(1592, glVertex2sv, glVertex2sv, NULL, 133), - NAME_FUNC_OFFSET(1604, glVertex3d, glVertex3d, NULL, 134), - NAME_FUNC_OFFSET(1615, glVertex3dv, glVertex3dv, NULL, 135), - NAME_FUNC_OFFSET(1627, glVertex3f, glVertex3f, NULL, 136), - NAME_FUNC_OFFSET(1638, glVertex3fv, glVertex3fv, NULL, 137), - NAME_FUNC_OFFSET(1650, glVertex3i, glVertex3i, NULL, 138), - NAME_FUNC_OFFSET(1661, glVertex3iv, glVertex3iv, NULL, 139), - NAME_FUNC_OFFSET(1673, glVertex3s, glVertex3s, NULL, 140), - NAME_FUNC_OFFSET(1684, glVertex3sv, glVertex3sv, NULL, 141), - NAME_FUNC_OFFSET(1696, glVertex4d, glVertex4d, NULL, 142), - NAME_FUNC_OFFSET(1707, glVertex4dv, glVertex4dv, NULL, 143), - NAME_FUNC_OFFSET(1719, glVertex4f, glVertex4f, NULL, 144), - NAME_FUNC_OFFSET(1730, glVertex4fv, glVertex4fv, NULL, 145), - NAME_FUNC_OFFSET(1742, glVertex4i, glVertex4i, NULL, 146), - NAME_FUNC_OFFSET(1753, glVertex4iv, glVertex4iv, NULL, 147), - NAME_FUNC_OFFSET(1765, glVertex4s, glVertex4s, NULL, 148), - NAME_FUNC_OFFSET(1776, glVertex4sv, glVertex4sv, NULL, 149), - NAME_FUNC_OFFSET(1788, glClipPlane, glClipPlane, NULL, 150), - NAME_FUNC_OFFSET(1800, glColorMaterial, glColorMaterial, NULL, 151), - NAME_FUNC_OFFSET(1816, glCullFace, glCullFace, NULL, 152), - NAME_FUNC_OFFSET(1827, glFogf, glFogf, NULL, 153), - NAME_FUNC_OFFSET(1834, glFogfv, glFogfv, NULL, 154), - NAME_FUNC_OFFSET(1842, glFogi, glFogi, NULL, 155), - NAME_FUNC_OFFSET(1849, glFogiv, glFogiv, NULL, 156), - NAME_FUNC_OFFSET(1857, glFrontFace, glFrontFace, NULL, 157), - NAME_FUNC_OFFSET(1869, glHint, glHint, NULL, 158), - NAME_FUNC_OFFSET(1876, glLightf, glLightf, NULL, 159), - NAME_FUNC_OFFSET(1885, glLightfv, glLightfv, NULL, 160), - NAME_FUNC_OFFSET(1895, glLighti, glLighti, NULL, 161), - NAME_FUNC_OFFSET(1904, glLightiv, glLightiv, NULL, 162), - NAME_FUNC_OFFSET(1914, glLightModelf, glLightModelf, NULL, 163), - NAME_FUNC_OFFSET(1928, glLightModelfv, glLightModelfv, NULL, 164), - NAME_FUNC_OFFSET(1943, glLightModeli, glLightModeli, NULL, 165), - NAME_FUNC_OFFSET(1957, glLightModeliv, glLightModeliv, NULL, 166), - NAME_FUNC_OFFSET(1972, glLineStipple, glLineStipple, NULL, 167), - NAME_FUNC_OFFSET(1986, glLineWidth, glLineWidth, NULL, 168), - NAME_FUNC_OFFSET(1998, glMaterialf, glMaterialf, NULL, 169), - NAME_FUNC_OFFSET(2010, glMaterialfv, glMaterialfv, NULL, 170), - NAME_FUNC_OFFSET(2023, glMateriali, glMateriali, NULL, 171), - NAME_FUNC_OFFSET(2035, glMaterialiv, glMaterialiv, NULL, 172), - NAME_FUNC_OFFSET(2048, glPointSize, glPointSize, NULL, 173), - NAME_FUNC_OFFSET(2060, glPolygonMode, glPolygonMode, NULL, 174), - NAME_FUNC_OFFSET(2074, glPolygonStipple, glPolygonStipple, NULL, 175), - NAME_FUNC_OFFSET(2091, glScissor, glScissor, NULL, 176), - NAME_FUNC_OFFSET(2101, glShadeModel, glShadeModel, NULL, 177), - NAME_FUNC_OFFSET(2114, glTexParameterf, glTexParameterf, NULL, 178), - NAME_FUNC_OFFSET(2130, glTexParameterfv, glTexParameterfv, NULL, 179), - NAME_FUNC_OFFSET(2147, glTexParameteri, glTexParameteri, NULL, 180), - NAME_FUNC_OFFSET(2163, glTexParameteriv, glTexParameteriv, NULL, 181), - NAME_FUNC_OFFSET(2180, glTexImage1D, glTexImage1D, NULL, 182), - NAME_FUNC_OFFSET(2193, glTexImage2D, glTexImage2D, NULL, 183), - NAME_FUNC_OFFSET(2206, glTexEnvf, glTexEnvf, NULL, 184), - NAME_FUNC_OFFSET(2216, glTexEnvfv, glTexEnvfv, NULL, 185), - NAME_FUNC_OFFSET(2227, glTexEnvi, glTexEnvi, NULL, 186), - NAME_FUNC_OFFSET(2237, glTexEnviv, glTexEnviv, NULL, 187), - NAME_FUNC_OFFSET(2248, glTexGend, glTexGend, NULL, 188), - NAME_FUNC_OFFSET(2258, glTexGendv, glTexGendv, NULL, 189), - NAME_FUNC_OFFSET(2269, glTexGenf, glTexGenf, NULL, 190), - NAME_FUNC_OFFSET(2279, glTexGenfv, glTexGenfv, NULL, 191), - NAME_FUNC_OFFSET(2290, glTexGeni, glTexGeni, NULL, 192), - NAME_FUNC_OFFSET(2300, glTexGeniv, glTexGeniv, NULL, 193), - NAME_FUNC_OFFSET(2311, glFeedbackBuffer, glFeedbackBuffer, NULL, 194), - NAME_FUNC_OFFSET(2328, glSelectBuffer, glSelectBuffer, NULL, 195), - NAME_FUNC_OFFSET(2343, glRenderMode, glRenderMode, NULL, 196), - NAME_FUNC_OFFSET(2356, glInitNames, glInitNames, NULL, 197), - NAME_FUNC_OFFSET(2368, glLoadName, glLoadName, NULL, 198), - NAME_FUNC_OFFSET(2379, glPassThrough, glPassThrough, NULL, 199), - NAME_FUNC_OFFSET(2393, glPopName, glPopName, NULL, 200), - NAME_FUNC_OFFSET(2403, glPushName, glPushName, NULL, 201), - NAME_FUNC_OFFSET(2414, glDrawBuffer, glDrawBuffer, NULL, 202), - NAME_FUNC_OFFSET(2427, glClear, glClear, NULL, 203), - NAME_FUNC_OFFSET(2435, glClearAccum, glClearAccum, NULL, 204), - NAME_FUNC_OFFSET(2448, glClearIndex, glClearIndex, NULL, 205), - NAME_FUNC_OFFSET(2461, glClearColor, glClearColor, NULL, 206), - NAME_FUNC_OFFSET(2474, glClearStencil, glClearStencil, NULL, 207), - NAME_FUNC_OFFSET(2489, glClearDepth, glClearDepth, NULL, 208), - NAME_FUNC_OFFSET(2502, glStencilMask, glStencilMask, NULL, 209), - NAME_FUNC_OFFSET(2516, glColorMask, glColorMask, NULL, 210), - NAME_FUNC_OFFSET(2528, glDepthMask, glDepthMask, NULL, 211), - NAME_FUNC_OFFSET(2540, glIndexMask, glIndexMask, NULL, 212), - NAME_FUNC_OFFSET(2552, glAccum, glAccum, NULL, 213), - NAME_FUNC_OFFSET(2560, glDisable, glDisable, NULL, 214), - NAME_FUNC_OFFSET(2570, glEnable, glEnable, NULL, 215), - NAME_FUNC_OFFSET(2579, glFinish, glFinish, NULL, 216), - NAME_FUNC_OFFSET(2588, glFlush, glFlush, NULL, 217), - NAME_FUNC_OFFSET(2596, glPopAttrib, glPopAttrib, NULL, 218), - NAME_FUNC_OFFSET(2608, glPushAttrib, glPushAttrib, NULL, 219), - NAME_FUNC_OFFSET(2621, glMap1d, glMap1d, NULL, 220), - NAME_FUNC_OFFSET(2629, glMap1f, glMap1f, NULL, 221), - NAME_FUNC_OFFSET(2637, glMap2d, glMap2d, NULL, 222), - NAME_FUNC_OFFSET(2645, glMap2f, glMap2f, NULL, 223), - NAME_FUNC_OFFSET(2653, glMapGrid1d, glMapGrid1d, NULL, 224), - NAME_FUNC_OFFSET(2665, glMapGrid1f, glMapGrid1f, NULL, 225), - NAME_FUNC_OFFSET(2677, glMapGrid2d, glMapGrid2d, NULL, 226), - NAME_FUNC_OFFSET(2689, glMapGrid2f, glMapGrid2f, NULL, 227), - NAME_FUNC_OFFSET(2701, glEvalCoord1d, glEvalCoord1d, NULL, 228), - NAME_FUNC_OFFSET(2715, glEvalCoord1dv, glEvalCoord1dv, NULL, 229), - NAME_FUNC_OFFSET(2730, glEvalCoord1f, glEvalCoord1f, NULL, 230), - NAME_FUNC_OFFSET(2744, glEvalCoord1fv, glEvalCoord1fv, NULL, 231), - NAME_FUNC_OFFSET(2759, glEvalCoord2d, glEvalCoord2d, NULL, 232), - NAME_FUNC_OFFSET(2773, glEvalCoord2dv, glEvalCoord2dv, NULL, 233), - NAME_FUNC_OFFSET(2788, glEvalCoord2f, glEvalCoord2f, NULL, 234), - NAME_FUNC_OFFSET(2802, glEvalCoord2fv, glEvalCoord2fv, NULL, 235), - NAME_FUNC_OFFSET(2817, glEvalMesh1, glEvalMesh1, NULL, 236), - NAME_FUNC_OFFSET(2829, glEvalPoint1, glEvalPoint1, NULL, 237), - NAME_FUNC_OFFSET(2842, glEvalMesh2, glEvalMesh2, NULL, 238), - NAME_FUNC_OFFSET(2854, glEvalPoint2, glEvalPoint2, NULL, 239), - NAME_FUNC_OFFSET(2867, glAlphaFunc, glAlphaFunc, NULL, 240), - NAME_FUNC_OFFSET(2879, glBlendFunc, glBlendFunc, NULL, 241), - NAME_FUNC_OFFSET(2891, glLogicOp, glLogicOp, NULL, 242), - NAME_FUNC_OFFSET(2901, glStencilFunc, glStencilFunc, NULL, 243), - NAME_FUNC_OFFSET(2915, glStencilOp, glStencilOp, NULL, 244), - NAME_FUNC_OFFSET(2927, glDepthFunc, glDepthFunc, NULL, 245), - NAME_FUNC_OFFSET(2939, glPixelZoom, glPixelZoom, NULL, 246), - NAME_FUNC_OFFSET(2951, glPixelTransferf, glPixelTransferf, NULL, 247), - NAME_FUNC_OFFSET(2968, glPixelTransferi, glPixelTransferi, NULL, 248), - NAME_FUNC_OFFSET(2985, glPixelStoref, glPixelStoref, NULL, 249), - NAME_FUNC_OFFSET(2999, glPixelStorei, glPixelStorei, NULL, 250), - NAME_FUNC_OFFSET(3013, glPixelMapfv, glPixelMapfv, NULL, 251), - NAME_FUNC_OFFSET(3026, glPixelMapuiv, glPixelMapuiv, NULL, 252), - NAME_FUNC_OFFSET(3040, glPixelMapusv, glPixelMapusv, NULL, 253), - NAME_FUNC_OFFSET(3054, glReadBuffer, glReadBuffer, NULL, 254), - NAME_FUNC_OFFSET(3067, glCopyPixels, glCopyPixels, NULL, 255), - NAME_FUNC_OFFSET(3080, glReadPixels, glReadPixels, NULL, 256), - NAME_FUNC_OFFSET(3093, glDrawPixels, glDrawPixels, NULL, 257), - NAME_FUNC_OFFSET(3106, glGetBooleanv, glGetBooleanv, NULL, 258), - NAME_FUNC_OFFSET(3120, glGetClipPlane, glGetClipPlane, NULL, 259), - NAME_FUNC_OFFSET(3135, glGetDoublev, glGetDoublev, NULL, 260), - NAME_FUNC_OFFSET(3148, glGetError, glGetError, NULL, 261), - NAME_FUNC_OFFSET(3159, glGetFloatv, glGetFloatv, NULL, 262), - NAME_FUNC_OFFSET(3171, glGetIntegerv, glGetIntegerv, NULL, 263), - NAME_FUNC_OFFSET(3185, glGetLightfv, glGetLightfv, NULL, 264), - NAME_FUNC_OFFSET(3198, glGetLightiv, glGetLightiv, NULL, 265), - NAME_FUNC_OFFSET(3211, glGetMapdv, glGetMapdv, NULL, 266), - NAME_FUNC_OFFSET(3222, glGetMapfv, glGetMapfv, NULL, 267), - NAME_FUNC_OFFSET(3233, glGetMapiv, glGetMapiv, NULL, 268), - NAME_FUNC_OFFSET(3244, glGetMaterialfv, glGetMaterialfv, NULL, 269), - NAME_FUNC_OFFSET(3260, glGetMaterialiv, glGetMaterialiv, NULL, 270), - NAME_FUNC_OFFSET(3276, glGetPixelMapfv, glGetPixelMapfv, NULL, 271), - NAME_FUNC_OFFSET(3292, glGetPixelMapuiv, glGetPixelMapuiv, NULL, 272), - NAME_FUNC_OFFSET(3309, glGetPixelMapusv, glGetPixelMapusv, NULL, 273), - NAME_FUNC_OFFSET(3326, glGetPolygonStipple, glGetPolygonStipple, NULL, 274), - NAME_FUNC_OFFSET(3346, glGetString, glGetString, NULL, 275), - NAME_FUNC_OFFSET(3358, glGetTexEnvfv, glGetTexEnvfv, NULL, 276), - NAME_FUNC_OFFSET(3372, glGetTexEnviv, glGetTexEnviv, NULL, 277), - NAME_FUNC_OFFSET(3386, glGetTexGendv, glGetTexGendv, NULL, 278), - NAME_FUNC_OFFSET(3400, glGetTexGenfv, glGetTexGenfv, NULL, 279), - NAME_FUNC_OFFSET(3414, glGetTexGeniv, glGetTexGeniv, NULL, 280), - NAME_FUNC_OFFSET(3428, glGetTexImage, glGetTexImage, NULL, 281), - NAME_FUNC_OFFSET(3442, glGetTexParameterfv, glGetTexParameterfv, NULL, 282), - NAME_FUNC_OFFSET(3462, glGetTexParameteriv, glGetTexParameteriv, NULL, 283), - NAME_FUNC_OFFSET(3482, glGetTexLevelParameterfv, glGetTexLevelParameterfv, - NULL, 284), - NAME_FUNC_OFFSET(3507, glGetTexLevelParameteriv, glGetTexLevelParameteriv, - NULL, 285), - NAME_FUNC_OFFSET(3532, glIsEnabled, glIsEnabled, NULL, 286), - NAME_FUNC_OFFSET(3544, glIsList, glIsList, NULL, 287), - NAME_FUNC_OFFSET(3553, glDepthRange, glDepthRange, NULL, 288), - NAME_FUNC_OFFSET(3566, glFrustum, glFrustum, NULL, 289), - NAME_FUNC_OFFSET(3576, glLoadIdentity, glLoadIdentity, NULL, 290), - NAME_FUNC_OFFSET(3591, glLoadMatrixf, glLoadMatrixf, NULL, 291), - NAME_FUNC_OFFSET(3605, glLoadMatrixd, glLoadMatrixd, NULL, 292), - NAME_FUNC_OFFSET(3619, glMatrixMode, glMatrixMode, NULL, 293), - NAME_FUNC_OFFSET(3632, glMultMatrixf, glMultMatrixf, NULL, 294), - NAME_FUNC_OFFSET(3646, glMultMatrixd, glMultMatrixd, NULL, 295), - NAME_FUNC_OFFSET(3660, glOrtho, glOrtho, NULL, 296), - NAME_FUNC_OFFSET(3668, glPopMatrix, glPopMatrix, NULL, 297), - NAME_FUNC_OFFSET(3680, glPushMatrix, glPushMatrix, NULL, 298), - NAME_FUNC_OFFSET(3693, glRotated, glRotated, NULL, 299), - NAME_FUNC_OFFSET(3703, glRotatef, glRotatef, NULL, 300), - NAME_FUNC_OFFSET(3713, glScaled, glScaled, NULL, 301), - NAME_FUNC_OFFSET(3722, glScalef, glScalef, NULL, 302), - NAME_FUNC_OFFSET(3731, glTranslated, glTranslated, NULL, 303), - NAME_FUNC_OFFSET(3744, glTranslatef, glTranslatef, NULL, 304), - NAME_FUNC_OFFSET(3757, glViewport, glViewport, NULL, 305), - NAME_FUNC_OFFSET(3768, glArrayElement, glArrayElement, NULL, 306), - NAME_FUNC_OFFSET(3783, glBindTexture, glBindTexture, NULL, 307), - NAME_FUNC_OFFSET(3797, glColorPointer, glColorPointer, NULL, 308), - NAME_FUNC_OFFSET(3812, glDisableClientState, glDisableClientState, NULL, - 309), - NAME_FUNC_OFFSET(3833, glDrawArrays, glDrawArrays, NULL, 310), - NAME_FUNC_OFFSET(3846, glDrawElements, glDrawElements, NULL, 311), - NAME_FUNC_OFFSET(3861, glEdgeFlagPointer, glEdgeFlagPointer, NULL, 312), - NAME_FUNC_OFFSET(3879, glEnableClientState, glEnableClientState, NULL, 313), - NAME_FUNC_OFFSET(3899, glIndexPointer, glIndexPointer, NULL, 314), - NAME_FUNC_OFFSET(3914, glIndexub, glIndexub, NULL, 315), - NAME_FUNC_OFFSET(3924, glIndexubv, glIndexubv, NULL, 316), - NAME_FUNC_OFFSET(3935, glInterleavedArrays, glInterleavedArrays, NULL, 317), - NAME_FUNC_OFFSET(3955, glNormalPointer, glNormalPointer, NULL, 318), - NAME_FUNC_OFFSET(3971, glPolygonOffset, glPolygonOffset, NULL, 319), - NAME_FUNC_OFFSET(3987, glTexCoordPointer, glTexCoordPointer, NULL, 320), - NAME_FUNC_OFFSET(4005, glVertexPointer, glVertexPointer, NULL, 321), - NAME_FUNC_OFFSET(4021, glAreTexturesResident, glAreTexturesResident, NULL, - 322), - NAME_FUNC_OFFSET(4043, glCopyTexImage1D, glCopyTexImage1D, NULL, 323), - NAME_FUNC_OFFSET(4060, glCopyTexImage2D, glCopyTexImage2D, NULL, 324), - NAME_FUNC_OFFSET(4077, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325), - NAME_FUNC_OFFSET(4097, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326), - NAME_FUNC_OFFSET(4117, glDeleteTextures, glDeleteTextures, NULL, 327), - NAME_FUNC_OFFSET(4134, glGenTextures, glGenTextures, NULL, 328), - NAME_FUNC_OFFSET(4148, glGetPointerv, glGetPointerv, NULL, 329), - NAME_FUNC_OFFSET(4162, glIsTexture, glIsTexture, NULL, 330), - NAME_FUNC_OFFSET(4174, glPrioritizeTextures, glPrioritizeTextures, NULL, - 331), - NAME_FUNC_OFFSET(4195, glTexSubImage1D, glTexSubImage1D, NULL, 332), - NAME_FUNC_OFFSET(4211, glTexSubImage2D, glTexSubImage2D, NULL, 333), - NAME_FUNC_OFFSET(4227, glPopClientAttrib, glPopClientAttrib, NULL, 334), - NAME_FUNC_OFFSET(4245, glPushClientAttrib, glPushClientAttrib, NULL, 335), - NAME_FUNC_OFFSET(4264, glBlendColor, glBlendColor, NULL, 336), - NAME_FUNC_OFFSET(4277, glBlendEquation, glBlendEquation, NULL, 337), - NAME_FUNC_OFFSET(4293, glDrawRangeElements, glDrawRangeElements, NULL, 338), - NAME_FUNC_OFFSET(4313, glColorTable, glColorTable, NULL, 339), - NAME_FUNC_OFFSET(4326, glColorTableParameterfv, glColorTableParameterfv, - NULL, 340), - NAME_FUNC_OFFSET(4350, glColorTableParameteriv, glColorTableParameteriv, - NULL, 341), - NAME_FUNC_OFFSET(4374, glCopyColorTable, glCopyColorTable, NULL, 342), - NAME_FUNC_OFFSET(4391, glGetColorTable, glGetColorTable, NULL, 343), - NAME_FUNC_OFFSET(4407, glGetColorTableParameterfv, - glGetColorTableParameterfv, NULL, 344), - NAME_FUNC_OFFSET(4434, glGetColorTableParameteriv, - glGetColorTableParameteriv, NULL, 345), - NAME_FUNC_OFFSET(4461, glColorSubTable, glColorSubTable, NULL, 346), - NAME_FUNC_OFFSET(4477, glCopyColorSubTable, glCopyColorSubTable, NULL, 347), - NAME_FUNC_OFFSET(4497, glConvolutionFilter1D, glConvolutionFilter1D, NULL, - 348), - NAME_FUNC_OFFSET(4519, glConvolutionFilter2D, glConvolutionFilter2D, NULL, - 349), - NAME_FUNC_OFFSET(4541, glConvolutionParameterf, glConvolutionParameterf, - NULL, 350), - NAME_FUNC_OFFSET(4565, glConvolutionParameterfv, glConvolutionParameterfv, - NULL, 351), - NAME_FUNC_OFFSET(4590, glConvolutionParameteri, glConvolutionParameteri, - NULL, 352), - NAME_FUNC_OFFSET(4614, glConvolutionParameteriv, glConvolutionParameteriv, - NULL, 353), - NAME_FUNC_OFFSET(4639, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, - NULL, 354), - NAME_FUNC_OFFSET(4665, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, - NULL, 355), - NAME_FUNC_OFFSET(4691, glGetConvolutionFilter, glGetConvolutionFilter, NULL, - 356), - NAME_FUNC_OFFSET(4714, glGetConvolutionParameterfv, - glGetConvolutionParameterfv, NULL, 357), - NAME_FUNC_OFFSET(4742, glGetConvolutionParameteriv, - glGetConvolutionParameteriv, NULL, 358), - NAME_FUNC_OFFSET(4770, glGetSeparableFilter, glGetSeparableFilter, NULL, - 359), - NAME_FUNC_OFFSET(4791, glSeparableFilter2D, glSeparableFilter2D, NULL, 360), - NAME_FUNC_OFFSET(4811, glGetHistogram, glGetHistogram, NULL, 361), - NAME_FUNC_OFFSET(4826, glGetHistogramParameterfv, glGetHistogramParameterfv, - NULL, 362), - NAME_FUNC_OFFSET(4852, glGetHistogramParameteriv, glGetHistogramParameteriv, - NULL, 363), - NAME_FUNC_OFFSET(4878, glGetMinmax, glGetMinmax, NULL, 364), - NAME_FUNC_OFFSET(4890, glGetMinmaxParameterfv, glGetMinmaxParameterfv, NULL, - 365), - NAME_FUNC_OFFSET(4913, glGetMinmaxParameteriv, glGetMinmaxParameteriv, NULL, - 366), - NAME_FUNC_OFFSET(4936, glHistogram, glHistogram, NULL, 367), - NAME_FUNC_OFFSET(4948, glMinmax, glMinmax, NULL, 368), - NAME_FUNC_OFFSET(4957, glResetHistogram, glResetHistogram, NULL, 369), - NAME_FUNC_OFFSET(4974, glResetMinmax, glResetMinmax, NULL, 370), - NAME_FUNC_OFFSET(4988, glTexImage3D, glTexImage3D, NULL, 371), - NAME_FUNC_OFFSET(5001, glTexSubImage3D, glTexSubImage3D, NULL, 372), - NAME_FUNC_OFFSET(5017, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373), - NAME_FUNC_OFFSET(5037, glActiveTextureARB, glActiveTextureARB, NULL, 374), - NAME_FUNC_OFFSET(5056, glClientActiveTextureARB, glClientActiveTextureARB, - NULL, 375), - NAME_FUNC_OFFSET(5081, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, - 376), - NAME_FUNC_OFFSET(5102, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, - 377), - NAME_FUNC_OFFSET(5124, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, - 378), - NAME_FUNC_OFFSET(5145, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, - 379), - NAME_FUNC_OFFSET(5167, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, - 380), - NAME_FUNC_OFFSET(5188, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, - 381), - NAME_FUNC_OFFSET(5210, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, - 382), - NAME_FUNC_OFFSET(5231, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, - 383), - NAME_FUNC_OFFSET(5253, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, - 384), - NAME_FUNC_OFFSET(5274, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, - 385), - NAME_FUNC_OFFSET(5296, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, - 386), - NAME_FUNC_OFFSET(5317, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, - 387), - NAME_FUNC_OFFSET(5339, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, - 388), - NAME_FUNC_OFFSET(5360, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, - 389), - NAME_FUNC_OFFSET(5382, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, - 390), - NAME_FUNC_OFFSET(5403, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, - 391), - NAME_FUNC_OFFSET(5425, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, - 392), - NAME_FUNC_OFFSET(5446, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, - 393), - NAME_FUNC_OFFSET(5468, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, - 394), - NAME_FUNC_OFFSET(5489, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, - 395), - NAME_FUNC_OFFSET(5511, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, - 396), - NAME_FUNC_OFFSET(5532, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, - 397), - NAME_FUNC_OFFSET(5554, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, - 398), - NAME_FUNC_OFFSET(5575, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, - 399), - NAME_FUNC_OFFSET(5597, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, - 400), - NAME_FUNC_OFFSET(5618, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, - 401), - NAME_FUNC_OFFSET(5640, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, - 402), - NAME_FUNC_OFFSET(5661, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, - 403), - NAME_FUNC_OFFSET(5683, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, - 404), - NAME_FUNC_OFFSET(5704, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, - 405), - NAME_FUNC_OFFSET(5726, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, - 406), - NAME_FUNC_OFFSET(5747, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, - 407), - NAME_FUNC_OFFSET(5769, glAttachShader, glAttachShader, NULL, 408), - NAME_FUNC_OFFSET(5784, glCreateProgram, glCreateProgram, NULL, 409), - NAME_FUNC_OFFSET(5800, glCreateShader, glCreateShader, NULL, 410), - NAME_FUNC_OFFSET(5815, glDeleteProgram, glDeleteProgram, NULL, 411), - NAME_FUNC_OFFSET(5831, glDeleteShader, glDeleteShader, NULL, 412), - NAME_FUNC_OFFSET(5846, glDetachShader, glDetachShader, NULL, 413), - NAME_FUNC_OFFSET(5861, glGetAttachedShaders, glGetAttachedShaders, NULL, - 414), - NAME_FUNC_OFFSET(5882, glGetProgramInfoLog, glGetProgramInfoLog, NULL, 415), - NAME_FUNC_OFFSET(5902, glGetProgramiv, glGetProgramiv, NULL, 416), - NAME_FUNC_OFFSET(5917, glGetShaderInfoLog, glGetShaderInfoLog, NULL, 417), - NAME_FUNC_OFFSET(5936, glGetShaderiv, glGetShaderiv, NULL, 418), - NAME_FUNC_OFFSET(5950, glIsProgram, glIsProgram, NULL, 419), - NAME_FUNC_OFFSET(5962, glIsShader, glIsShader, NULL, 420), - NAME_FUNC_OFFSET(5973, glStencilFuncSeparate, glStencilFuncSeparate, NULL, - 421), - NAME_FUNC_OFFSET(5995, glStencilMaskSeparate, glStencilMaskSeparate, NULL, - 422), - NAME_FUNC_OFFSET(6017, glStencilOpSeparate, glStencilOpSeparate, NULL, 423), - NAME_FUNC_OFFSET(6037, glUniformMatrix2x3fv, glUniformMatrix2x3fv, NULL, - 424), - NAME_FUNC_OFFSET(6058, glUniformMatrix2x4fv, glUniformMatrix2x4fv, NULL, - 425), - NAME_FUNC_OFFSET(6079, glUniformMatrix3x2fv, glUniformMatrix3x2fv, NULL, - 426), - NAME_FUNC_OFFSET(6100, glUniformMatrix3x4fv, glUniformMatrix3x4fv, NULL, - 427), - NAME_FUNC_OFFSET(6121, glUniformMatrix4x2fv, glUniformMatrix4x2fv, NULL, - 428), - NAME_FUNC_OFFSET(6142, glUniformMatrix4x3fv, glUniformMatrix4x3fv, NULL, - 429), - NAME_FUNC_OFFSET(6163, glClampColor, glClampColor, NULL, 430), - NAME_FUNC_OFFSET(6176, glClearBufferfi, glClearBufferfi, NULL, 431), - NAME_FUNC_OFFSET(6192, glClearBufferfv, glClearBufferfv, NULL, 432), - NAME_FUNC_OFFSET(6208, glClearBufferiv, glClearBufferiv, NULL, 433), - NAME_FUNC_OFFSET(6224, glClearBufferuiv, glClearBufferuiv, NULL, 434), - NAME_FUNC_OFFSET(6241, glGetStringi, glGetStringi, NULL, 435), - NAME_FUNC_OFFSET(6254, glTexBuffer, glTexBuffer, NULL, 436), - NAME_FUNC_OFFSET(6266, glFramebufferTexture, glFramebufferTexture, NULL, - 437), - NAME_FUNC_OFFSET(6287, glGetBufferParameteri64v, glGetBufferParameteri64v, - NULL, 438), - NAME_FUNC_OFFSET(6312, glGetInteger64i_v, glGetInteger64i_v, NULL, 439), - NAME_FUNC_OFFSET(6330, glVertexAttribDivisor, glVertexAttribDivisor, NULL, - 440), - NAME_FUNC_OFFSET(6352, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB, - NULL, 441), - NAME_FUNC_OFFSET(6378, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB, - NULL, 442), - NAME_FUNC_OFFSET(6404, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB, - NULL, 443), - NAME_FUNC_OFFSET(6430, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB, - NULL, 444), - NAME_FUNC_OFFSET(6456, glSampleCoverageARB, glSampleCoverageARB, NULL, 445), - NAME_FUNC_OFFSET(6476, glCompressedTexImage1DARB, glCompressedTexImage1DARB, - NULL, 446), - NAME_FUNC_OFFSET(6502, glCompressedTexImage2DARB, glCompressedTexImage2DARB, - NULL, 447), - NAME_FUNC_OFFSET(6528, glCompressedTexImage3DARB, glCompressedTexImage3DARB, - NULL, 448), - NAME_FUNC_OFFSET(6554, glCompressedTexSubImage1DARB, - glCompressedTexSubImage1DARB, NULL, 449), - NAME_FUNC_OFFSET(6583, glCompressedTexSubImage2DARB, - glCompressedTexSubImage2DARB, NULL, 450), - NAME_FUNC_OFFSET(6612, glCompressedTexSubImage3DARB, - glCompressedTexSubImage3DARB, NULL, 451), - NAME_FUNC_OFFSET(6641, glGetCompressedTexImageARB, - glGetCompressedTexImageARB, NULL, 452), - NAME_FUNC_OFFSET(6668, glDisableVertexAttribArrayARB, - glDisableVertexAttribArrayARB, NULL, 453), - NAME_FUNC_OFFSET(6698, glEnableVertexAttribArrayARB, - glEnableVertexAttribArrayARB, NULL, 454), - NAME_FUNC_OFFSET(6727, glGetProgramEnvParameterdvARB, - glGetProgramEnvParameterdvARB, NULL, 455), - NAME_FUNC_OFFSET(6757, glGetProgramEnvParameterfvARB, - glGetProgramEnvParameterfvARB, NULL, 456), - NAME_FUNC_OFFSET(6787, glGetProgramLocalParameterdvARB, - glGetProgramLocalParameterdvARB, NULL, 457), - NAME_FUNC_OFFSET(6819, glGetProgramLocalParameterfvARB, - glGetProgramLocalParameterfvARB, NULL, 458), - NAME_FUNC_OFFSET(6851, glGetProgramStringARB, glGetProgramStringARB, NULL, - 459), - NAME_FUNC_OFFSET(6873, glGetProgramivARB, glGetProgramivARB, NULL, 460), - NAME_FUNC_OFFSET(6891, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL, - 461), - NAME_FUNC_OFFSET(6914, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL, - 462), - NAME_FUNC_OFFSET(6937, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL, - 463), - NAME_FUNC_OFFSET(6960, glProgramEnvParameter4dARB, - glProgramEnvParameter4dARB, NULL, 464), - NAME_FUNC_OFFSET(6987, glProgramEnvParameter4dvARB, - glProgramEnvParameter4dvARB, NULL, 465), - NAME_FUNC_OFFSET(7015, glProgramEnvParameter4fARB, - glProgramEnvParameter4fARB, NULL, 466), - NAME_FUNC_OFFSET(7042, glProgramEnvParameter4fvARB, - glProgramEnvParameter4fvARB, NULL, 467), - NAME_FUNC_OFFSET(7070, glProgramLocalParameter4dARB, - glProgramLocalParameter4dARB, NULL, 468), - NAME_FUNC_OFFSET(7099, glProgramLocalParameter4dvARB, - glProgramLocalParameter4dvARB, NULL, 469), - NAME_FUNC_OFFSET(7129, glProgramLocalParameter4fARB, - glProgramLocalParameter4fARB, NULL, 470), - NAME_FUNC_OFFSET(7158, glProgramLocalParameter4fvARB, - glProgramLocalParameter4fvARB, NULL, 471), - NAME_FUNC_OFFSET(7188, glProgramStringARB, glProgramStringARB, NULL, 472), - NAME_FUNC_OFFSET(7207, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, 473), - NAME_FUNC_OFFSET(7227, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, - 474), - NAME_FUNC_OFFSET(7248, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 475), - NAME_FUNC_OFFSET(7268, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, - 476), - NAME_FUNC_OFFSET(7289, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, 477), - NAME_FUNC_OFFSET(7309, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, - 478), - NAME_FUNC_OFFSET(7330, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, 479), - NAME_FUNC_OFFSET(7350, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, - 480), - NAME_FUNC_OFFSET(7371, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 481), - NAME_FUNC_OFFSET(7391, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, - 482), - NAME_FUNC_OFFSET(7412, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, 483), - NAME_FUNC_OFFSET(7432, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, - 484), - NAME_FUNC_OFFSET(7453, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, 485), - NAME_FUNC_OFFSET(7473, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, - 486), - NAME_FUNC_OFFSET(7494, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 487), - NAME_FUNC_OFFSET(7514, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, - 488), - NAME_FUNC_OFFSET(7535, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, 489), - NAME_FUNC_OFFSET(7555, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, - 490), - NAME_FUNC_OFFSET(7576, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, - 491), - NAME_FUNC_OFFSET(7598, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, - 492), - NAME_FUNC_OFFSET(7620, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, - 493), - NAME_FUNC_OFFSET(7642, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, - 494), - NAME_FUNC_OFFSET(7664, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL, - 495), - NAME_FUNC_OFFSET(7687, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL, - 496), - NAME_FUNC_OFFSET(7710, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL, - 497), - NAME_FUNC_OFFSET(7733, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, - 498), - NAME_FUNC_OFFSET(7754, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, 499), - NAME_FUNC_OFFSET(7774, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, - 500), - NAME_FUNC_OFFSET(7795, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 501), - NAME_FUNC_OFFSET(7815, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, - 502), - NAME_FUNC_OFFSET(7836, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, - 503), - NAME_FUNC_OFFSET(7857, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, 504), - NAME_FUNC_OFFSET(7877, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, - 505), - NAME_FUNC_OFFSET(7898, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, - 506), - NAME_FUNC_OFFSET(7920, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, - 507), - NAME_FUNC_OFFSET(7942, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, - 508), - NAME_FUNC_OFFSET(7964, glVertexAttribPointerARB, glVertexAttribPointerARB, - NULL, 509), - NAME_FUNC_OFFSET(7989, glBindBufferARB, glBindBufferARB, NULL, 510), - NAME_FUNC_OFFSET(8005, glBufferDataARB, glBufferDataARB, NULL, 511), - NAME_FUNC_OFFSET(8021, glBufferSubDataARB, glBufferSubDataARB, NULL, 512), - NAME_FUNC_OFFSET(8040, glDeleteBuffersARB, glDeleteBuffersARB, NULL, 513), - NAME_FUNC_OFFSET(8059, glGenBuffersARB, glGenBuffersARB, NULL, 514), - NAME_FUNC_OFFSET(8075, glGetBufferParameterivARB, glGetBufferParameterivARB, - NULL, 515), - NAME_FUNC_OFFSET(8101, glGetBufferPointervARB, glGetBufferPointervARB, NULL, - 516), - NAME_FUNC_OFFSET(8124, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, - 517), - NAME_FUNC_OFFSET(8146, glIsBufferARB, glIsBufferARB, NULL, 518), - NAME_FUNC_OFFSET(8160, glMapBufferARB, glMapBufferARB, NULL, 519), - NAME_FUNC_OFFSET(8175, glUnmapBufferARB, glUnmapBufferARB, NULL, 520), - NAME_FUNC_OFFSET(8192, glBeginQueryARB, glBeginQueryARB, NULL, 521), - NAME_FUNC_OFFSET(8208, glDeleteQueriesARB, glDeleteQueriesARB, NULL, 522), - NAME_FUNC_OFFSET(8227, glEndQueryARB, glEndQueryARB, NULL, 523), - NAME_FUNC_OFFSET(8241, glGenQueriesARB, glGenQueriesARB, NULL, 524), - NAME_FUNC_OFFSET(8257, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, - 525), - NAME_FUNC_OFFSET(8279, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL, - 526), - NAME_FUNC_OFFSET(8302, glGetQueryivARB, glGetQueryivARB, NULL, 527), - NAME_FUNC_OFFSET(8318, glIsQueryARB, glIsQueryARB, NULL, 528), - NAME_FUNC_OFFSET(8331, glAttachObjectARB, glAttachObjectARB, NULL, 529), - NAME_FUNC_OFFSET(8349, glCompileShaderARB, glCompileShaderARB, NULL, 530), - NAME_FUNC_OFFSET(8368, glCreateProgramObjectARB, glCreateProgramObjectARB, - NULL, 531), - NAME_FUNC_OFFSET(8393, glCreateShaderObjectARB, glCreateShaderObjectARB, - NULL, 532), - NAME_FUNC_OFFSET(8417, glDeleteObjectARB, glDeleteObjectARB, NULL, 533), - NAME_FUNC_OFFSET(8435, glDetachObjectARB, glDetachObjectARB, NULL, 534), - NAME_FUNC_OFFSET(8453, glGetActiveUniformARB, glGetActiveUniformARB, NULL, - 535), - NAME_FUNC_OFFSET(8475, glGetAttachedObjectsARB, glGetAttachedObjectsARB, - NULL, 536), - NAME_FUNC_OFFSET(8499, glGetHandleARB, glGetHandleARB, NULL, 537), - NAME_FUNC_OFFSET(8514, glGetInfoLogARB, glGetInfoLogARB, NULL, 538), - NAME_FUNC_OFFSET(8530, glGetObjectParameterfvARB, glGetObjectParameterfvARB, - NULL, 539), - NAME_FUNC_OFFSET(8556, glGetObjectParameterivARB, glGetObjectParameterivARB, - NULL, 540), - NAME_FUNC_OFFSET(8582, glGetShaderSourceARB, glGetShaderSourceARB, NULL, - 541), - NAME_FUNC_OFFSET(8603, glGetUniformLocationARB, glGetUniformLocationARB, - NULL, 542), - NAME_FUNC_OFFSET(8627, glGetUniformfvARB, glGetUniformfvARB, NULL, 543), - NAME_FUNC_OFFSET(8645, glGetUniformivARB, glGetUniformivARB, NULL, 544), - NAME_FUNC_OFFSET(8663, glLinkProgramARB, glLinkProgramARB, NULL, 545), - NAME_FUNC_OFFSET(8680, glShaderSourceARB, glShaderSourceARB, NULL, 546), - NAME_FUNC_OFFSET(8698, glUniform1fARB, glUniform1fARB, NULL, 547), - NAME_FUNC_OFFSET(8713, glUniform1fvARB, glUniform1fvARB, NULL, 548), - NAME_FUNC_OFFSET(8729, glUniform1iARB, glUniform1iARB, NULL, 549), - NAME_FUNC_OFFSET(8744, glUniform1ivARB, glUniform1ivARB, NULL, 550), - NAME_FUNC_OFFSET(8760, glUniform2fARB, glUniform2fARB, NULL, 551), - NAME_FUNC_OFFSET(8775, glUniform2fvARB, glUniform2fvARB, NULL, 552), - NAME_FUNC_OFFSET(8791, glUniform2iARB, glUniform2iARB, NULL, 553), - NAME_FUNC_OFFSET(8806, glUniform2ivARB, glUniform2ivARB, NULL, 554), - NAME_FUNC_OFFSET(8822, glUniform3fARB, glUniform3fARB, NULL, 555), - NAME_FUNC_OFFSET(8837, glUniform3fvARB, glUniform3fvARB, NULL, 556), - NAME_FUNC_OFFSET(8853, glUniform3iARB, glUniform3iARB, NULL, 557), - NAME_FUNC_OFFSET(8868, glUniform3ivARB, glUniform3ivARB, NULL, 558), - NAME_FUNC_OFFSET(8884, glUniform4fARB, glUniform4fARB, NULL, 559), - NAME_FUNC_OFFSET(8899, glUniform4fvARB, glUniform4fvARB, NULL, 560), - NAME_FUNC_OFFSET(8915, glUniform4iARB, glUniform4iARB, NULL, 561), - NAME_FUNC_OFFSET(8930, glUniform4ivARB, glUniform4ivARB, NULL, 562), - NAME_FUNC_OFFSET(8946, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, - 563), - NAME_FUNC_OFFSET(8968, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, - 564), - NAME_FUNC_OFFSET(8990, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, - 565), - NAME_FUNC_OFFSET(9012, glUseProgramObjectARB, glUseProgramObjectARB, NULL, - 566), - NAME_FUNC_OFFSET(9034, glValidateProgramARB, glValidateProgramARB, NULL, - 567), - NAME_FUNC_OFFSET(9055, glBindAttribLocationARB, glBindAttribLocationARB, - NULL, 568), - NAME_FUNC_OFFSET(9079, glGetActiveAttribARB, glGetActiveAttribARB, NULL, - 569), - NAME_FUNC_OFFSET(9100, glGetAttribLocationARB, glGetAttribLocationARB, NULL, - 570), - NAME_FUNC_OFFSET(9123, glDrawBuffersARB, glDrawBuffersARB, NULL, 571), - NAME_FUNC_OFFSET(9140, glClampColorARB, glClampColorARB, NULL, 572), - NAME_FUNC_OFFSET(9156, glDrawArraysInstancedARB, glDrawArraysInstancedARB, - NULL, 573), - NAME_FUNC_OFFSET(9181, glDrawElementsInstancedARB, - glDrawElementsInstancedARB, NULL, 574), - NAME_FUNC_OFFSET(9208, glRenderbufferStorageMultisample, - glRenderbufferStorageMultisample, NULL, 575), - NAME_FUNC_OFFSET(9241, glFramebufferTextureARB, glFramebufferTextureARB, - NULL, 576), - NAME_FUNC_OFFSET(9265, glFramebufferTextureFaceARB, - glFramebufferTextureFaceARB, NULL, 577), - NAME_FUNC_OFFSET(9293, glProgramParameteriARB, glProgramParameteriARB, NULL, - 578), - NAME_FUNC_OFFSET(9316, glVertexAttribDivisorARB, glVertexAttribDivisorARB, - NULL, 579), - NAME_FUNC_OFFSET(9341, glFlushMappedBufferRange, glFlushMappedBufferRange, - NULL, 580), - NAME_FUNC_OFFSET(9366, glMapBufferRange, glMapBufferRange, NULL, 581), - NAME_FUNC_OFFSET(9383, glTexBufferARB, glTexBufferARB, NULL, 582), - NAME_FUNC_OFFSET(9398, glBindVertexArray, glBindVertexArray, NULL, 583), - NAME_FUNC_OFFSET(9416, glGenVertexArrays, glGenVertexArrays, NULL, 584), - NAME_FUNC_OFFSET(9434, glCopyBufferSubData, glCopyBufferSubData, NULL, 585), - NAME_FUNC_OFFSET(9454, glClientWaitSync, glClientWaitSync, NULL, 586), - NAME_FUNC_OFFSET(9471, glDeleteSync, glDeleteSync, NULL, 587), - NAME_FUNC_OFFSET(9484, glFenceSync, glFenceSync, NULL, 588), - NAME_FUNC_OFFSET(9496, glGetInteger64v, glGetInteger64v, NULL, 589), - NAME_FUNC_OFFSET(9512, glGetSynciv, glGetSynciv, NULL, 590), - NAME_FUNC_OFFSET(9524, glIsSync, glIsSync, NULL, 591), - NAME_FUNC_OFFSET(9533, glWaitSync, glWaitSync, NULL, 592), - NAME_FUNC_OFFSET(9544, glDrawElementsBaseVertex, glDrawElementsBaseVertex, - NULL, 593), - NAME_FUNC_OFFSET(9569, glDrawElementsInstancedBaseVertex, - glDrawElementsInstancedBaseVertex, NULL, 594), - NAME_FUNC_OFFSET(9603, glDrawRangeElementsBaseVertex, - glDrawRangeElementsBaseVertex, NULL, 595), - NAME_FUNC_OFFSET(9633, glMultiDrawElementsBaseVertex, - glMultiDrawElementsBaseVertex, NULL, 596), - NAME_FUNC_OFFSET(9663, glBlendEquationSeparateiARB, - glBlendEquationSeparateiARB, NULL, 597), - NAME_FUNC_OFFSET(9691, glBlendEquationiARB, glBlendEquationiARB, NULL, 598), - NAME_FUNC_OFFSET(9711, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, - NULL, 599), - NAME_FUNC_OFFSET(9735, glBlendFunciARB, glBlendFunciARB, NULL, 600), - NAME_FUNC_OFFSET(9751, glBindSampler, glBindSampler, NULL, 601), - NAME_FUNC_OFFSET(9765, glDeleteSamplers, glDeleteSamplers, NULL, 602), - NAME_FUNC_OFFSET(9782, glGenSamplers, glGenSamplers, NULL, 603), - NAME_FUNC_OFFSET(9796, glGetSamplerParameterIiv, glGetSamplerParameterIiv, - NULL, 604), - NAME_FUNC_OFFSET(9821, glGetSamplerParameterIuiv, glGetSamplerParameterIuiv, - NULL, 605), - NAME_FUNC_OFFSET(9847, glGetSamplerParameterfv, glGetSamplerParameterfv, - NULL, 606), - NAME_FUNC_OFFSET(9871, glGetSamplerParameteriv, glGetSamplerParameteriv, - NULL, 607), - NAME_FUNC_OFFSET(9895, glIsSampler, glIsSampler, NULL, 608), - NAME_FUNC_OFFSET(9907, glSamplerParameterIiv, glSamplerParameterIiv, NULL, - 609), - NAME_FUNC_OFFSET(9929, glSamplerParameterIuiv, glSamplerParameterIuiv, NULL, - 610), - NAME_FUNC_OFFSET(9952, glSamplerParameterf, glSamplerParameterf, NULL, 611), - NAME_FUNC_OFFSET(9972, glSamplerParameterfv, glSamplerParameterfv, NULL, - 612), - NAME_FUNC_OFFSET(9993, glSamplerParameteri, glSamplerParameteri, NULL, 613), - NAME_FUNC_OFFSET(10013, glSamplerParameteriv, glSamplerParameteriv, NULL, - 614), - NAME_FUNC_OFFSET(10034, glColorP3ui, glColorP3ui, NULL, 615), - NAME_FUNC_OFFSET(10046, glColorP3uiv, glColorP3uiv, NULL, 616), - NAME_FUNC_OFFSET(10059, glColorP4ui, glColorP4ui, NULL, 617), - NAME_FUNC_OFFSET(10071, glColorP4uiv, glColorP4uiv, NULL, 618), - NAME_FUNC_OFFSET(10084, glMultiTexCoordP1ui, glMultiTexCoordP1ui, NULL, - 619), - NAME_FUNC_OFFSET(10104, glMultiTexCoordP1uiv, glMultiTexCoordP1uiv, NULL, - 620), - NAME_FUNC_OFFSET(10125, glMultiTexCoordP2ui, glMultiTexCoordP2ui, NULL, - 621), - NAME_FUNC_OFFSET(10145, glMultiTexCoordP2uiv, glMultiTexCoordP2uiv, NULL, - 622), - NAME_FUNC_OFFSET(10166, glMultiTexCoordP3ui, glMultiTexCoordP3ui, NULL, - 623), - NAME_FUNC_OFFSET(10186, glMultiTexCoordP3uiv, glMultiTexCoordP3uiv, NULL, - 624), - NAME_FUNC_OFFSET(10207, glMultiTexCoordP4ui, glMultiTexCoordP4ui, NULL, - 625), - NAME_FUNC_OFFSET(10227, glMultiTexCoordP4uiv, glMultiTexCoordP4uiv, NULL, - 626), - NAME_FUNC_OFFSET(10248, glNormalP3ui, glNormalP3ui, NULL, 627), - NAME_FUNC_OFFSET(10261, glNormalP3uiv, glNormalP3uiv, NULL, 628), - NAME_FUNC_OFFSET(10275, glSecondaryColorP3ui, glSecondaryColorP3ui, NULL, - 629), - NAME_FUNC_OFFSET(10296, glSecondaryColorP3uiv, glSecondaryColorP3uiv, NULL, - 630), - NAME_FUNC_OFFSET(10318, glTexCoordP1ui, glTexCoordP1ui, NULL, 631), - NAME_FUNC_OFFSET(10333, glTexCoordP1uiv, glTexCoordP1uiv, NULL, 632), - NAME_FUNC_OFFSET(10349, glTexCoordP2ui, glTexCoordP2ui, NULL, 633), - NAME_FUNC_OFFSET(10364, glTexCoordP2uiv, glTexCoordP2uiv, NULL, 634), - NAME_FUNC_OFFSET(10380, glTexCoordP3ui, glTexCoordP3ui, NULL, 635), - NAME_FUNC_OFFSET(10395, glTexCoordP3uiv, glTexCoordP3uiv, NULL, 636), - NAME_FUNC_OFFSET(10411, glTexCoordP4ui, glTexCoordP4ui, NULL, 637), - NAME_FUNC_OFFSET(10426, glTexCoordP4uiv, glTexCoordP4uiv, NULL, 638), - NAME_FUNC_OFFSET(10442, glVertexAttribP1ui, glVertexAttribP1ui, NULL, 639), - NAME_FUNC_OFFSET(10461, glVertexAttribP1uiv, glVertexAttribP1uiv, NULL, - 640), - NAME_FUNC_OFFSET(10481, glVertexAttribP2ui, glVertexAttribP2ui, NULL, 641), - NAME_FUNC_OFFSET(10500, glVertexAttribP2uiv, glVertexAttribP2uiv, NULL, - 642), - NAME_FUNC_OFFSET(10520, glVertexAttribP3ui, glVertexAttribP3ui, NULL, 643), - NAME_FUNC_OFFSET(10539, glVertexAttribP3uiv, glVertexAttribP3uiv, NULL, - 644), - NAME_FUNC_OFFSET(10559, glVertexAttribP4ui, glVertexAttribP4ui, NULL, 645), - NAME_FUNC_OFFSET(10578, glVertexAttribP4uiv, glVertexAttribP4uiv, NULL, - 646), - NAME_FUNC_OFFSET(10598, glVertexP2ui, glVertexP2ui, NULL, 647), - NAME_FUNC_OFFSET(10611, glVertexP2uiv, glVertexP2uiv, NULL, 648), - NAME_FUNC_OFFSET(10625, glVertexP3ui, glVertexP3ui, NULL, 649), - NAME_FUNC_OFFSET(10638, glVertexP3uiv, glVertexP3uiv, NULL, 650), - NAME_FUNC_OFFSET(10652, glVertexP4ui, glVertexP4ui, NULL, 651), - NAME_FUNC_OFFSET(10665, glVertexP4uiv, glVertexP4uiv, NULL, 652), - NAME_FUNC_OFFSET(10679, glBindTransformFeedback, glBindTransformFeedback, - NULL, 653), - NAME_FUNC_OFFSET(10703, glDeleteTransformFeedbacks, - glDeleteTransformFeedbacks, NULL, 654), - NAME_FUNC_OFFSET(10730, glDrawTransformFeedback, glDrawTransformFeedback, - NULL, 655), - NAME_FUNC_OFFSET(10754, glGenTransformFeedbacks, glGenTransformFeedbacks, - NULL, 656), - NAME_FUNC_OFFSET(10778, glIsTransformFeedback, glIsTransformFeedback, NULL, - 657), - NAME_FUNC_OFFSET(10800, glPauseTransformFeedback, glPauseTransformFeedback, - NULL, 658), - NAME_FUNC_OFFSET(10825, glResumeTransformFeedback, - glResumeTransformFeedback, NULL, 659), - NAME_FUNC_OFFSET(10851, glClearDepthf, glClearDepthf, NULL, 660), - NAME_FUNC_OFFSET(10865, glDepthRangef, glDepthRangef, NULL, 661), - NAME_FUNC_OFFSET(10879, glGetShaderPrecisionFormat, - glGetShaderPrecisionFormat, NULL, 662), - NAME_FUNC_OFFSET(10906, glReleaseShaderCompiler, glReleaseShaderCompiler, - NULL, 663), - NAME_FUNC_OFFSET(10930, glShaderBinary, glShaderBinary, NULL, 664), - NAME_FUNC_OFFSET(10945, glGetGraphicsResetStatusARB, - glGetGraphicsResetStatusARB, NULL, 665), - NAME_FUNC_OFFSET(10973, glGetnColorTableARB, glGetnColorTableARB, NULL, - 666), - NAME_FUNC_OFFSET(10993, glGetnCompressedTexImageARB, - glGetnCompressedTexImageARB, NULL, 667), - NAME_FUNC_OFFSET(11021, glGetnConvolutionFilterARB, - glGetnConvolutionFilterARB, NULL, 668), - NAME_FUNC_OFFSET(11048, glGetnHistogramARB, glGetnHistogramARB, NULL, 669), - NAME_FUNC_OFFSET(11067, glGetnMapdvARB, glGetnMapdvARB, NULL, 670), - NAME_FUNC_OFFSET(11082, glGetnMapfvARB, glGetnMapfvARB, NULL, 671), - NAME_FUNC_OFFSET(11097, glGetnMapivARB, glGetnMapivARB, NULL, 672), - NAME_FUNC_OFFSET(11112, glGetnMinmaxARB, glGetnMinmaxARB, NULL, 673), - NAME_FUNC_OFFSET(11128, glGetnPixelMapfvARB, glGetnPixelMapfvARB, NULL, - 674), - NAME_FUNC_OFFSET(11148, glGetnPixelMapuivARB, glGetnPixelMapuivARB, NULL, - 675), - NAME_FUNC_OFFSET(11169, glGetnPixelMapusvARB, glGetnPixelMapusvARB, NULL, - 676), - NAME_FUNC_OFFSET(11190, glGetnPolygonStippleARB, glGetnPolygonStippleARB, - NULL, 677), - NAME_FUNC_OFFSET(11214, glGetnSeparableFilterARB, glGetnSeparableFilterARB, - NULL, 678), - NAME_FUNC_OFFSET(11239, glGetnTexImageARB, glGetnTexImageARB, NULL, 679), - NAME_FUNC_OFFSET(11257, glGetnUniformdvARB, glGetnUniformdvARB, NULL, 680), - NAME_FUNC_OFFSET(11276, glGetnUniformfvARB, glGetnUniformfvARB, NULL, 681), - NAME_FUNC_OFFSET(11295, glGetnUniformivARB, glGetnUniformivARB, NULL, 682), - NAME_FUNC_OFFSET(11314, glGetnUniformuivARB, glGetnUniformuivARB, NULL, - 683), - NAME_FUNC_OFFSET(11334, glReadnPixelsARB, glReadnPixelsARB, NULL, 684), - NAME_FUNC_OFFSET(11351, glTexStorage1D, glTexStorage1D, NULL, 685), - NAME_FUNC_OFFSET(11366, glTexStorage2D, glTexStorage2D, NULL, 686), - NAME_FUNC_OFFSET(11381, glTexStorage3D, glTexStorage3D, NULL, 687), - NAME_FUNC_OFFSET(11396, glTextureStorage1DEXT, glTextureStorage1DEXT, NULL, - 688), - NAME_FUNC_OFFSET(11418, glTextureStorage2DEXT, glTextureStorage2DEXT, NULL, - 689), - NAME_FUNC_OFFSET(11440, glTextureStorage3DEXT, glTextureStorage3DEXT, NULL, - 690), - NAME_FUNC_OFFSET(11462, glPolygonOffsetEXT, glPolygonOffsetEXT, NULL, 691), - NAME_FUNC_OFFSET(11481, gl_dispatch_stub_692, gl_dispatch_stub_692, NULL, - 692), - NAME_FUNC_OFFSET(11513, gl_dispatch_stub_693, gl_dispatch_stub_693, NULL, - 693), - NAME_FUNC_OFFSET(11545, gl_dispatch_stub_694, gl_dispatch_stub_694, NULL, - 694), - NAME_FUNC_OFFSET(11573, gl_dispatch_stub_695, gl_dispatch_stub_695, NULL, - 695), - NAME_FUNC_OFFSET(11602, gl_dispatch_stub_696, gl_dispatch_stub_696, NULL, - 696), - NAME_FUNC_OFFSET(11630, gl_dispatch_stub_697, gl_dispatch_stub_697, NULL, - 697), - NAME_FUNC_OFFSET(11659, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL, - 698), - NAME_FUNC_OFFSET(11676, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL, - 699), - NAME_FUNC_OFFSET(11696, glColorPointerEXT, glColorPointerEXT, NULL, 700), - NAME_FUNC_OFFSET(11714, glEdgeFlagPointerEXT, glEdgeFlagPointerEXT, NULL, - 701), - NAME_FUNC_OFFSET(11735, glIndexPointerEXT, glIndexPointerEXT, NULL, 702), - NAME_FUNC_OFFSET(11753, glNormalPointerEXT, glNormalPointerEXT, NULL, 703), - NAME_FUNC_OFFSET(11772, glTexCoordPointerEXT, glTexCoordPointerEXT, NULL, - 704), - NAME_FUNC_OFFSET(11793, glVertexPointerEXT, glVertexPointerEXT, NULL, 705), - NAME_FUNC_OFFSET(11812, glPointParameterfEXT, glPointParameterfEXT, NULL, - 706), - NAME_FUNC_OFFSET(11833, glPointParameterfvEXT, glPointParameterfvEXT, NULL, - 707), - NAME_FUNC_OFFSET(11855, glLockArraysEXT, glLockArraysEXT, NULL, 708), - NAME_FUNC_OFFSET(11871, glUnlockArraysEXT, glUnlockArraysEXT, NULL, 709), - NAME_FUNC_OFFSET(11889, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, - 710), - NAME_FUNC_OFFSET(11911, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, - NULL, 711), - NAME_FUNC_OFFSET(11934, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, - 712), - NAME_FUNC_OFFSET(11956, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, - NULL, 713), - NAME_FUNC_OFFSET(11979, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, - 714), - NAME_FUNC_OFFSET(12001, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, - NULL, 715), - NAME_FUNC_OFFSET(12024, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, - 716), - NAME_FUNC_OFFSET(12046, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, - NULL, 717), - NAME_FUNC_OFFSET(12069, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, - 718), - NAME_FUNC_OFFSET(12091, glSecondaryColor3svEXT, glSecondaryColor3svEXT, - NULL, 719), - NAME_FUNC_OFFSET(12114, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, - NULL, 720), - NAME_FUNC_OFFSET(12137, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, - NULL, 721), - NAME_FUNC_OFFSET(12161, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, - NULL, 722), - NAME_FUNC_OFFSET(12184, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, - NULL, 723), - NAME_FUNC_OFFSET(12208, glSecondaryColor3usEXT, glSecondaryColor3usEXT, - NULL, 724), - NAME_FUNC_OFFSET(12231, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, - NULL, 725), - NAME_FUNC_OFFSET(12255, glSecondaryColorPointerEXT, - glSecondaryColorPointerEXT, NULL, 726), - NAME_FUNC_OFFSET(12282, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, - 727), - NAME_FUNC_OFFSET(12303, glMultiDrawElementsEXT, glMultiDrawElementsEXT, - NULL, 728), - NAME_FUNC_OFFSET(12326, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, - 729), - NAME_FUNC_OFFSET(12347, glFogCoorddEXT, glFogCoorddEXT, NULL, 730), - NAME_FUNC_OFFSET(12362, glFogCoorddvEXT, glFogCoorddvEXT, NULL, 731), - NAME_FUNC_OFFSET(12378, glFogCoordfEXT, glFogCoordfEXT, NULL, 732), - NAME_FUNC_OFFSET(12393, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 733), - NAME_FUNC_OFFSET(12409, gl_dispatch_stub_734, gl_dispatch_stub_734, NULL, - 734), - NAME_FUNC_OFFSET(12427, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, - NULL, 735), - NAME_FUNC_OFFSET(12450, glFlushVertexArrayRangeNV, - glFlushVertexArrayRangeNV, NULL, 736), - NAME_FUNC_OFFSET(12476, glVertexArrayRangeNV, glVertexArrayRangeNV, NULL, - 737), - NAME_FUNC_OFFSET(12497, glCombinerInputNV, glCombinerInputNV, NULL, 738), - NAME_FUNC_OFFSET(12515, glCombinerOutputNV, glCombinerOutputNV, NULL, 739), - NAME_FUNC_OFFSET(12534, glCombinerParameterfNV, glCombinerParameterfNV, - NULL, 740), - NAME_FUNC_OFFSET(12557, glCombinerParameterfvNV, glCombinerParameterfvNV, - NULL, 741), - NAME_FUNC_OFFSET(12581, glCombinerParameteriNV, glCombinerParameteriNV, - NULL, 742), - NAME_FUNC_OFFSET(12604, glCombinerParameterivNV, glCombinerParameterivNV, - NULL, 743), - NAME_FUNC_OFFSET(12628, glFinalCombinerInputNV, glFinalCombinerInputNV, - NULL, 744), - NAME_FUNC_OFFSET(12651, glGetCombinerInputParameterfvNV, - glGetCombinerInputParameterfvNV, NULL, 745), - NAME_FUNC_OFFSET(12683, glGetCombinerInputParameterivNV, - glGetCombinerInputParameterivNV, NULL, 746), - NAME_FUNC_OFFSET(12715, glGetCombinerOutputParameterfvNV, - glGetCombinerOutputParameterfvNV, NULL, 747), - NAME_FUNC_OFFSET(12748, glGetCombinerOutputParameterivNV, - glGetCombinerOutputParameterivNV, NULL, 748), - NAME_FUNC_OFFSET(12781, glGetFinalCombinerInputParameterfvNV, - glGetFinalCombinerInputParameterfvNV, NULL, 749), - NAME_FUNC_OFFSET(12818, glGetFinalCombinerInputParameterivNV, - glGetFinalCombinerInputParameterivNV, NULL, 750), - NAME_FUNC_OFFSET(12855, glResizeBuffersMESA, glResizeBuffersMESA, NULL, - 751), - NAME_FUNC_OFFSET(12875, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752), - NAME_FUNC_OFFSET(12893, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, 753), - NAME_FUNC_OFFSET(12912, glWindowPos2fMESA, glWindowPos2fMESA, NULL, 754), - NAME_FUNC_OFFSET(12930, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, 755), - NAME_FUNC_OFFSET(12949, glWindowPos2iMESA, glWindowPos2iMESA, NULL, 756), - NAME_FUNC_OFFSET(12967, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, 757), - NAME_FUNC_OFFSET(12986, glWindowPos2sMESA, glWindowPos2sMESA, NULL, 758), - NAME_FUNC_OFFSET(13004, glWindowPos2svMESA, glWindowPos2svMESA, NULL, 759), - NAME_FUNC_OFFSET(13023, glWindowPos3dMESA, glWindowPos3dMESA, NULL, 760), - NAME_FUNC_OFFSET(13041, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, 761), - NAME_FUNC_OFFSET(13060, glWindowPos3fMESA, glWindowPos3fMESA, NULL, 762), - NAME_FUNC_OFFSET(13078, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, 763), - NAME_FUNC_OFFSET(13097, glWindowPos3iMESA, glWindowPos3iMESA, NULL, 764), - NAME_FUNC_OFFSET(13115, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, 765), - NAME_FUNC_OFFSET(13134, glWindowPos3sMESA, glWindowPos3sMESA, NULL, 766), - NAME_FUNC_OFFSET(13152, glWindowPos3svMESA, glWindowPos3svMESA, NULL, 767), - NAME_FUNC_OFFSET(13171, glWindowPos4dMESA, glWindowPos4dMESA, NULL, 768), - NAME_FUNC_OFFSET(13189, glWindowPos4dvMESA, glWindowPos4dvMESA, NULL, 769), - NAME_FUNC_OFFSET(13208, glWindowPos4fMESA, glWindowPos4fMESA, NULL, 770), - NAME_FUNC_OFFSET(13226, glWindowPos4fvMESA, glWindowPos4fvMESA, NULL, 771), - NAME_FUNC_OFFSET(13245, glWindowPos4iMESA, glWindowPos4iMESA, NULL, 772), - NAME_FUNC_OFFSET(13263, glWindowPos4ivMESA, glWindowPos4ivMESA, NULL, 773), - NAME_FUNC_OFFSET(13282, glWindowPos4sMESA, glWindowPos4sMESA, NULL, 774), - NAME_FUNC_OFFSET(13300, glWindowPos4svMESA, glWindowPos4svMESA, NULL, 775), - NAME_FUNC_OFFSET(13319, gl_dispatch_stub_776, gl_dispatch_stub_776, NULL, - 776), - NAME_FUNC_OFFSET(13344, gl_dispatch_stub_777, gl_dispatch_stub_777, NULL, - 777), - NAME_FUNC_OFFSET(13371, gl_dispatch_stub_778, gl_dispatch_stub_778, NULL, - 778), - NAME_FUNC_OFFSET(13388, gl_dispatch_stub_779, gl_dispatch_stub_779, NULL, - 779), - NAME_FUNC_OFFSET(13404, gl_dispatch_stub_780, gl_dispatch_stub_780, NULL, - 780), - NAME_FUNC_OFFSET(13418, gl_dispatch_stub_781, gl_dispatch_stub_781, NULL, - 781), - NAME_FUNC_OFFSET(13433, gl_dispatch_stub_782, gl_dispatch_stub_782, NULL, - 782), - NAME_FUNC_OFFSET(13445, gl_dispatch_stub_783, gl_dispatch_stub_783, NULL, - 783), - NAME_FUNC_OFFSET(13458, gl_dispatch_stub_784, gl_dispatch_stub_784, NULL, - 784), - NAME_FUNC_OFFSET(13472, glAreProgramsResidentNV, glAreProgramsResidentNV, - NULL, 785), - NAME_FUNC_OFFSET(13496, glBindProgramNV, glBindProgramNV, NULL, 786), - NAME_FUNC_OFFSET(13512, glDeleteProgramsNV, glDeleteProgramsNV, NULL, 787), - NAME_FUNC_OFFSET(13531, glExecuteProgramNV, glExecuteProgramNV, NULL, 788), - NAME_FUNC_OFFSET(13550, glGenProgramsNV, glGenProgramsNV, NULL, 789), - NAME_FUNC_OFFSET(13566, glGetProgramParameterdvNV, - glGetProgramParameterdvNV, NULL, 790), - NAME_FUNC_OFFSET(13592, glGetProgramParameterfvNV, - glGetProgramParameterfvNV, NULL, 791), - NAME_FUNC_OFFSET(13618, glGetProgramStringNV, glGetProgramStringNV, NULL, - 792), - NAME_FUNC_OFFSET(13639, glGetProgramivNV, glGetProgramivNV, NULL, 793), - NAME_FUNC_OFFSET(13656, glGetTrackMatrixivNV, glGetTrackMatrixivNV, NULL, - 794), - NAME_FUNC_OFFSET(13677, glGetVertexAttribPointervNV, - glGetVertexAttribPointervNV, NULL, 795), - NAME_FUNC_OFFSET(13705, glGetVertexAttribdvNV, glGetVertexAttribdvNV, NULL, - 796), - NAME_FUNC_OFFSET(13727, glGetVertexAttribfvNV, glGetVertexAttribfvNV, NULL, - 797), - NAME_FUNC_OFFSET(13749, glGetVertexAttribivNV, glGetVertexAttribivNV, NULL, - 798), - NAME_FUNC_OFFSET(13771, glIsProgramNV, glIsProgramNV, NULL, 799), - NAME_FUNC_OFFSET(13785, glLoadProgramNV, glLoadProgramNV, NULL, 800), - NAME_FUNC_OFFSET(13801, glProgramParameters4dvNV, glProgramParameters4dvNV, - NULL, 801), - NAME_FUNC_OFFSET(13826, glProgramParameters4fvNV, glProgramParameters4fvNV, - NULL, 802), - NAME_FUNC_OFFSET(13851, glRequestResidentProgramsNV, - glRequestResidentProgramsNV, NULL, 803), - NAME_FUNC_OFFSET(13879, glTrackMatrixNV, glTrackMatrixNV, NULL, 804), - NAME_FUNC_OFFSET(13895, glVertexAttrib1dNV, glVertexAttrib1dNV, NULL, 805), - NAME_FUNC_OFFSET(13914, glVertexAttrib1dvNV, glVertexAttrib1dvNV, NULL, - 806), - NAME_FUNC_OFFSET(13934, glVertexAttrib1fNV, glVertexAttrib1fNV, NULL, 807), - NAME_FUNC_OFFSET(13953, glVertexAttrib1fvNV, glVertexAttrib1fvNV, NULL, - 808), - NAME_FUNC_OFFSET(13973, glVertexAttrib1sNV, glVertexAttrib1sNV, NULL, 809), - NAME_FUNC_OFFSET(13992, glVertexAttrib1svNV, glVertexAttrib1svNV, NULL, - 810), - NAME_FUNC_OFFSET(14012, glVertexAttrib2dNV, glVertexAttrib2dNV, NULL, 811), - NAME_FUNC_OFFSET(14031, glVertexAttrib2dvNV, glVertexAttrib2dvNV, NULL, - 812), - NAME_FUNC_OFFSET(14051, glVertexAttrib2fNV, glVertexAttrib2fNV, NULL, 813), - NAME_FUNC_OFFSET(14070, glVertexAttrib2fvNV, glVertexAttrib2fvNV, NULL, - 814), - NAME_FUNC_OFFSET(14090, glVertexAttrib2sNV, glVertexAttrib2sNV, NULL, 815), - NAME_FUNC_OFFSET(14109, glVertexAttrib2svNV, glVertexAttrib2svNV, NULL, - 816), - NAME_FUNC_OFFSET(14129, glVertexAttrib3dNV, glVertexAttrib3dNV, NULL, 817), - NAME_FUNC_OFFSET(14148, glVertexAttrib3dvNV, glVertexAttrib3dvNV, NULL, - 818), - NAME_FUNC_OFFSET(14168, glVertexAttrib3fNV, glVertexAttrib3fNV, NULL, 819), - NAME_FUNC_OFFSET(14187, glVertexAttrib3fvNV, glVertexAttrib3fvNV, NULL, - 820), - NAME_FUNC_OFFSET(14207, glVertexAttrib3sNV, glVertexAttrib3sNV, NULL, 821), - NAME_FUNC_OFFSET(14226, glVertexAttrib3svNV, glVertexAttrib3svNV, NULL, - 822), - NAME_FUNC_OFFSET(14246, glVertexAttrib4dNV, glVertexAttrib4dNV, NULL, 823), - NAME_FUNC_OFFSET(14265, glVertexAttrib4dvNV, glVertexAttrib4dvNV, NULL, - 824), - NAME_FUNC_OFFSET(14285, glVertexAttrib4fNV, glVertexAttrib4fNV, NULL, 825), - NAME_FUNC_OFFSET(14304, glVertexAttrib4fvNV, glVertexAttrib4fvNV, NULL, - 826), - NAME_FUNC_OFFSET(14324, glVertexAttrib4sNV, glVertexAttrib4sNV, NULL, 827), - NAME_FUNC_OFFSET(14343, glVertexAttrib4svNV, glVertexAttrib4svNV, NULL, - 828), - NAME_FUNC_OFFSET(14363, glVertexAttrib4ubNV, glVertexAttrib4ubNV, NULL, - 829), - NAME_FUNC_OFFSET(14383, glVertexAttrib4ubvNV, glVertexAttrib4ubvNV, NULL, - 830), - NAME_FUNC_OFFSET(14404, glVertexAttribPointerNV, glVertexAttribPointerNV, - NULL, 831), - NAME_FUNC_OFFSET(14428, glVertexAttribs1dvNV, glVertexAttribs1dvNV, NULL, - 832), - NAME_FUNC_OFFSET(14449, glVertexAttribs1fvNV, glVertexAttribs1fvNV, NULL, - 833), - NAME_FUNC_OFFSET(14470, glVertexAttribs1svNV, glVertexAttribs1svNV, NULL, - 834), - NAME_FUNC_OFFSET(14491, glVertexAttribs2dvNV, glVertexAttribs2dvNV, NULL, - 835), - NAME_FUNC_OFFSET(14512, glVertexAttribs2fvNV, glVertexAttribs2fvNV, NULL, - 836), - NAME_FUNC_OFFSET(14533, glVertexAttribs2svNV, glVertexAttribs2svNV, NULL, - 837), - NAME_FUNC_OFFSET(14554, glVertexAttribs3dvNV, glVertexAttribs3dvNV, NULL, - 838), - NAME_FUNC_OFFSET(14575, glVertexAttribs3fvNV, glVertexAttribs3fvNV, NULL, - 839), - NAME_FUNC_OFFSET(14596, glVertexAttribs3svNV, glVertexAttribs3svNV, NULL, - 840), - NAME_FUNC_OFFSET(14617, glVertexAttribs4dvNV, glVertexAttribs4dvNV, NULL, - 841), - NAME_FUNC_OFFSET(14638, glVertexAttribs4fvNV, glVertexAttribs4fvNV, NULL, - 842), - NAME_FUNC_OFFSET(14659, glVertexAttribs4svNV, glVertexAttribs4svNV, NULL, - 843), - NAME_FUNC_OFFSET(14680, glVertexAttribs4ubvNV, glVertexAttribs4ubvNV, NULL, - 844), - NAME_FUNC_OFFSET(14702, glGetTexBumpParameterfvATI, - glGetTexBumpParameterfvATI, NULL, 845), - NAME_FUNC_OFFSET(14729, glGetTexBumpParameterivATI, - glGetTexBumpParameterivATI, NULL, 846), - NAME_FUNC_OFFSET(14756, glTexBumpParameterfvATI, glTexBumpParameterfvATI, - NULL, 847), - NAME_FUNC_OFFSET(14780, glTexBumpParameterivATI, glTexBumpParameterivATI, - NULL, 848), - NAME_FUNC_OFFSET(14804, glAlphaFragmentOp1ATI, glAlphaFragmentOp1ATI, NULL, - 849), - NAME_FUNC_OFFSET(14826, glAlphaFragmentOp2ATI, glAlphaFragmentOp2ATI, NULL, - 850), - NAME_FUNC_OFFSET(14848, glAlphaFragmentOp3ATI, glAlphaFragmentOp3ATI, NULL, - 851), - NAME_FUNC_OFFSET(14870, glBeginFragmentShaderATI, glBeginFragmentShaderATI, - NULL, 852), - NAME_FUNC_OFFSET(14895, glBindFragmentShaderATI, glBindFragmentShaderATI, - NULL, 853), - NAME_FUNC_OFFSET(14919, glColorFragmentOp1ATI, glColorFragmentOp1ATI, NULL, - 854), - NAME_FUNC_OFFSET(14941, glColorFragmentOp2ATI, glColorFragmentOp2ATI, NULL, - 855), - NAME_FUNC_OFFSET(14963, glColorFragmentOp3ATI, glColorFragmentOp3ATI, NULL, - 856), - NAME_FUNC_OFFSET(14985, glDeleteFragmentShaderATI, - glDeleteFragmentShaderATI, NULL, 857), - NAME_FUNC_OFFSET(15011, glEndFragmentShaderATI, glEndFragmentShaderATI, - NULL, 858), - NAME_FUNC_OFFSET(15034, glGenFragmentShadersATI, glGenFragmentShadersATI, - NULL, 859), - NAME_FUNC_OFFSET(15058, glPassTexCoordATI, glPassTexCoordATI, NULL, 860), - NAME_FUNC_OFFSET(15076, glSampleMapATI, glSampleMapATI, NULL, 861), - NAME_FUNC_OFFSET(15091, glSetFragmentShaderConstantATI, - glSetFragmentShaderConstantATI, NULL, 862), - NAME_FUNC_OFFSET(15122, glPointParameteriNV, glPointParameteriNV, NULL, - 863), - NAME_FUNC_OFFSET(15142, glPointParameterivNV, glPointParameterivNV, NULL, - 864), - NAME_FUNC_OFFSET(15163, gl_dispatch_stub_865, gl_dispatch_stub_865, NULL, - 865), - NAME_FUNC_OFFSET(15186, gl_dispatch_stub_866, gl_dispatch_stub_866, NULL, - 866), - NAME_FUNC_OFFSET(15209, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL, - 867), - NAME_FUNC_OFFSET(15235, gl_dispatch_stub_868, gl_dispatch_stub_868, NULL, - 868), - NAME_FUNC_OFFSET(15258, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL, - 869), - NAME_FUNC_OFFSET(15279, glGetProgramNamedParameterdvNV, - glGetProgramNamedParameterdvNV, NULL, 870), - NAME_FUNC_OFFSET(15310, glGetProgramNamedParameterfvNV, - glGetProgramNamedParameterfvNV, NULL, 871), - NAME_FUNC_OFFSET(15341, glProgramNamedParameter4dNV, - glProgramNamedParameter4dNV, NULL, 872), - NAME_FUNC_OFFSET(15369, glProgramNamedParameter4dvNV, - glProgramNamedParameter4dvNV, NULL, 873), - NAME_FUNC_OFFSET(15398, glProgramNamedParameter4fNV, - glProgramNamedParameter4fNV, NULL, 874), - NAME_FUNC_OFFSET(15426, glProgramNamedParameter4fvNV, - glProgramNamedParameter4fvNV, NULL, 875), - NAME_FUNC_OFFSET(15455, glPrimitiveRestartIndexNV, - glPrimitiveRestartIndexNV, NULL, 876), - NAME_FUNC_OFFSET(15481, glPrimitiveRestartNV, glPrimitiveRestartNV, NULL, - 877), - NAME_FUNC_OFFSET(15502, gl_dispatch_stub_878, gl_dispatch_stub_878, NULL, - 878), - NAME_FUNC_OFFSET(15519, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, - 879), - NAME_FUNC_OFFSET(15546, glBindFramebufferEXT, glBindFramebufferEXT, NULL, - 880), - NAME_FUNC_OFFSET(15567, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, - 881), - NAME_FUNC_OFFSET(15589, glCheckFramebufferStatusEXT, - glCheckFramebufferStatusEXT, NULL, 882), - NAME_FUNC_OFFSET(15617, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, - NULL, 883), - NAME_FUNC_OFFSET(15641, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, - NULL, 884), - NAME_FUNC_OFFSET(15666, glFramebufferRenderbufferEXT, - glFramebufferRenderbufferEXT, NULL, 885), - NAME_FUNC_OFFSET(15695, glFramebufferTexture1DEXT, - glFramebufferTexture1DEXT, NULL, 886), - NAME_FUNC_OFFSET(15721, glFramebufferTexture2DEXT, - glFramebufferTexture2DEXT, NULL, 887), - NAME_FUNC_OFFSET(15747, glFramebufferTexture3DEXT, - glFramebufferTexture3DEXT, NULL, 888), - NAME_FUNC_OFFSET(15773, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, - 889), - NAME_FUNC_OFFSET(15794, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, - 890), - NAME_FUNC_OFFSET(15816, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, - 891), - NAME_FUNC_OFFSET(15836, glGetFramebufferAttachmentParameterivEXT, - glGetFramebufferAttachmentParameterivEXT, NULL, 892), - NAME_FUNC_OFFSET(15877, glGetRenderbufferParameterivEXT, - glGetRenderbufferParameterivEXT, NULL, 893), - NAME_FUNC_OFFSET(15909, glIsFramebufferEXT, glIsFramebufferEXT, NULL, 894), - NAME_FUNC_OFFSET(15928, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, - 895), - NAME_FUNC_OFFSET(15948, glRenderbufferStorageEXT, glRenderbufferStorageEXT, - NULL, 896), - NAME_FUNC_OFFSET(15973, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL, - 897), - NAME_FUNC_OFFSET(15994, gl_dispatch_stub_898, gl_dispatch_stub_898, NULL, - 898), - NAME_FUNC_OFFSET(16018, gl_dispatch_stub_899, gl_dispatch_stub_899, NULL, - 899), - NAME_FUNC_OFFSET(16048, glBindFragDataLocationEXT, - glBindFragDataLocationEXT, NULL, 900), - NAME_FUNC_OFFSET(16074, glGetFragDataLocationEXT, glGetFragDataLocationEXT, - NULL, 901), - NAME_FUNC_OFFSET(16099, glGetUniformuivEXT, glGetUniformuivEXT, NULL, 902), - NAME_FUNC_OFFSET(16118, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT, - NULL, 903), - NAME_FUNC_OFFSET(16142, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT, - NULL, 904), - NAME_FUNC_OFFSET(16167, glUniform1uiEXT, glUniform1uiEXT, NULL, 905), - NAME_FUNC_OFFSET(16183, glUniform1uivEXT, glUniform1uivEXT, NULL, 906), - NAME_FUNC_OFFSET(16200, glUniform2uiEXT, glUniform2uiEXT, NULL, 907), - NAME_FUNC_OFFSET(16216, glUniform2uivEXT, glUniform2uivEXT, NULL, 908), - NAME_FUNC_OFFSET(16233, glUniform3uiEXT, glUniform3uiEXT, NULL, 909), - NAME_FUNC_OFFSET(16249, glUniform3uivEXT, glUniform3uivEXT, NULL, 910), - NAME_FUNC_OFFSET(16266, glUniform4uiEXT, glUniform4uiEXT, NULL, 911), - NAME_FUNC_OFFSET(16282, glUniform4uivEXT, glUniform4uivEXT, NULL, 912), - NAME_FUNC_OFFSET(16299, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, - 913), - NAME_FUNC_OFFSET(16320, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL, - 914), - NAME_FUNC_OFFSET(16342, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, - 915), - NAME_FUNC_OFFSET(16364, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT, - NULL, 916), - NAME_FUNC_OFFSET(16387, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, - 917), - NAME_FUNC_OFFSET(16408, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, - 918), - NAME_FUNC_OFFSET(16430, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, - 919), - NAME_FUNC_OFFSET(16452, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, - NULL, 920), - NAME_FUNC_OFFSET(16475, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, - 921), - NAME_FUNC_OFFSET(16496, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, - 922), - NAME_FUNC_OFFSET(16518, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, - 923), - NAME_FUNC_OFFSET(16540, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, - NULL, 924), - NAME_FUNC_OFFSET(16563, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL, - 925), - NAME_FUNC_OFFSET(16585, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, - 926), - NAME_FUNC_OFFSET(16606, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, - 927), - NAME_FUNC_OFFSET(16628, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL, - 928), - NAME_FUNC_OFFSET(16650, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT, - NULL, 929), - NAME_FUNC_OFFSET(16673, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, - 930), - NAME_FUNC_OFFSET(16695, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, - NULL, 931), - NAME_FUNC_OFFSET(16718, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT, - NULL, 932), - NAME_FUNC_OFFSET(16741, glVertexAttribIPointerEXT, - glVertexAttribIPointerEXT, NULL, 933), - NAME_FUNC_OFFSET(16767, glFramebufferTextureLayerEXT, - glFramebufferTextureLayerEXT, NULL, 934), - NAME_FUNC_OFFSET(16796, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL, - 935), - NAME_FUNC_OFFSET(16818, glDisableIndexedEXT, glDisableIndexedEXT, NULL, - 936), - NAME_FUNC_OFFSET(16838, glEnableIndexedEXT, glEnableIndexedEXT, NULL, 937), - NAME_FUNC_OFFSET(16857, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT, - NULL, 938), - NAME_FUNC_OFFSET(16881, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT, - NULL, 939), - NAME_FUNC_OFFSET(16905, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL, - 940), - NAME_FUNC_OFFSET(16927, glClearColorIiEXT, glClearColorIiEXT, NULL, 941), - NAME_FUNC_OFFSET(16945, glClearColorIuiEXT, glClearColorIuiEXT, NULL, 942), - NAME_FUNC_OFFSET(16964, glGetTexParameterIivEXT, glGetTexParameterIivEXT, - NULL, 943), - NAME_FUNC_OFFSET(16988, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT, - NULL, 944), - NAME_FUNC_OFFSET(17013, glTexParameterIivEXT, glTexParameterIivEXT, NULL, - 945), - NAME_FUNC_OFFSET(17034, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL, - 946), - NAME_FUNC_OFFSET(17056, glBeginConditionalRenderNV, - glBeginConditionalRenderNV, NULL, 947), - NAME_FUNC_OFFSET(17083, glEndConditionalRenderNV, glEndConditionalRenderNV, - NULL, 948), - NAME_FUNC_OFFSET(17108, glBeginTransformFeedbackEXT, - glBeginTransformFeedbackEXT, NULL, 949), - NAME_FUNC_OFFSET(17136, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL, - 950), - NAME_FUNC_OFFSET(17156, glBindBufferOffsetEXT, glBindBufferOffsetEXT, NULL, - 951), - NAME_FUNC_OFFSET(17178, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL, - 952), - NAME_FUNC_OFFSET(17199, glEndTransformFeedbackEXT, - glEndTransformFeedbackEXT, NULL, 953), - NAME_FUNC_OFFSET(17225, glGetTransformFeedbackVaryingEXT, - glGetTransformFeedbackVaryingEXT, NULL, 954), - NAME_FUNC_OFFSET(17258, glTransformFeedbackVaryingsEXT, - glTransformFeedbackVaryingsEXT, NULL, 955), - NAME_FUNC_OFFSET(17289, glProvokingVertexEXT, glProvokingVertexEXT, NULL, - 956), - NAME_FUNC_OFFSET(17310, gl_dispatch_stub_957, gl_dispatch_stub_957, NULL, - 957), - NAME_FUNC_OFFSET(17341, gl_dispatch_stub_958, gl_dispatch_stub_958, NULL, - 958), - NAME_FUNC_OFFSET(17361, glGetObjectParameterivAPPLE, - glGetObjectParameterivAPPLE, NULL, 959), - NAME_FUNC_OFFSET(17389, glObjectPurgeableAPPLE, glObjectPurgeableAPPLE, - NULL, 960), - NAME_FUNC_OFFSET(17412, glObjectUnpurgeableAPPLE, glObjectUnpurgeableAPPLE, - NULL, 961), - NAME_FUNC_OFFSET(17437, glActiveProgramEXT, glActiveProgramEXT, NULL, 962), - NAME_FUNC_OFFSET(17456, glCreateShaderProgramEXT, glCreateShaderProgramEXT, - NULL, 963), - NAME_FUNC_OFFSET(17481, glUseShaderProgramEXT, glUseShaderProgramEXT, NULL, - 964), - NAME_FUNC_OFFSET(17503, glTextureBarrierNV, glTextureBarrierNV, NULL, 965), - NAME_FUNC_OFFSET(17522, gl_dispatch_stub_966, gl_dispatch_stub_966, NULL, - 966), - NAME_FUNC_OFFSET(17547, gl_dispatch_stub_967, gl_dispatch_stub_967, NULL, - 967), - NAME_FUNC_OFFSET(17576, gl_dispatch_stub_968, gl_dispatch_stub_968, NULL, - 968), - NAME_FUNC_OFFSET(17607, gl_dispatch_stub_969, gl_dispatch_stub_969, NULL, - 969), - NAME_FUNC_OFFSET(17631, gl_dispatch_stub_970, gl_dispatch_stub_970, NULL, - 970), - NAME_FUNC_OFFSET(17656, glEGLImageTargetRenderbufferStorageOES, - glEGLImageTargetRenderbufferStorageOES, NULL, 971), - NAME_FUNC_OFFSET(17695, glEGLImageTargetTexture2DOES, - glEGLImageTargetTexture2DOES, NULL, 972), - NAME_FUNC_OFFSET(17724, glArrayElement, glArrayElement, NULL, 306), - NAME_FUNC_OFFSET(17742, glBindTexture, glBindTexture, NULL, 307), - NAME_FUNC_OFFSET(17759, glDrawArrays, glDrawArrays, NULL, 310), - NAME_FUNC_OFFSET(17775, glAreTexturesResident, glAreTexturesResidentEXT, - glAreTexturesResidentEXT, 322), - NAME_FUNC_OFFSET(17800, glCopyTexImage1D, glCopyTexImage1D, NULL, 323), - NAME_FUNC_OFFSET(17820, glCopyTexImage2D, glCopyTexImage2D, NULL, 324), - NAME_FUNC_OFFSET(17840, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, - 325), - NAME_FUNC_OFFSET(17863, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, - 326), - NAME_FUNC_OFFSET(17886, glDeleteTextures, glDeleteTexturesEXT, - glDeleteTexturesEXT, 327), - NAME_FUNC_OFFSET(17906, glGenTextures, glGenTexturesEXT, glGenTexturesEXT, - 328), - NAME_FUNC_OFFSET(17923, glGetPointerv, glGetPointerv, NULL, 329), - NAME_FUNC_OFFSET(17940, glIsTexture, glIsTextureEXT, glIsTextureEXT, 330), - NAME_FUNC_OFFSET(17955, glPrioritizeTextures, glPrioritizeTextures, NULL, - 331), - NAME_FUNC_OFFSET(17979, glTexSubImage1D, glTexSubImage1D, NULL, 332), - NAME_FUNC_OFFSET(17998, glTexSubImage2D, glTexSubImage2D, NULL, 333), - NAME_FUNC_OFFSET(18017, glBlendColor, glBlendColor, NULL, 336), - NAME_FUNC_OFFSET(18033, glBlendEquation, glBlendEquation, NULL, 337), - NAME_FUNC_OFFSET(18052, glDrawRangeElements, glDrawRangeElements, NULL, - 338), - NAME_FUNC_OFFSET(18075, glColorTable, glColorTable, NULL, 339), - NAME_FUNC_OFFSET(18091, glColorTable, glColorTable, NULL, 339), - NAME_FUNC_OFFSET(18107, glColorTableParameterfv, glColorTableParameterfv, - NULL, 340), - NAME_FUNC_OFFSET(18134, glColorTableParameteriv, glColorTableParameteriv, - NULL, 341), - NAME_FUNC_OFFSET(18161, glCopyColorTable, glCopyColorTable, NULL, 342), - NAME_FUNC_OFFSET(18181, glGetColorTable, glGetColorTableEXT, - glGetColorTableEXT, 343), - NAME_FUNC_OFFSET(18200, glGetColorTable, glGetColorTableEXT, - glGetColorTableEXT, 343), - NAME_FUNC_OFFSET(18219, glGetColorTableParameterfv, - glGetColorTableParameterfvEXT, - glGetColorTableParameterfvEXT, 344), - NAME_FUNC_OFFSET(18249, glGetColorTableParameterfv, - glGetColorTableParameterfvEXT, - glGetColorTableParameterfvEXT, 344), - NAME_FUNC_OFFSET(18279, glGetColorTableParameteriv, - glGetColorTableParameterivEXT, - glGetColorTableParameterivEXT, 345), - NAME_FUNC_OFFSET(18309, glGetColorTableParameteriv, - glGetColorTableParameterivEXT, - glGetColorTableParameterivEXT, 345), - NAME_FUNC_OFFSET(18339, glColorSubTable, glColorSubTable, NULL, 346), - NAME_FUNC_OFFSET(18358, glCopyColorSubTable, glCopyColorSubTable, NULL, - 347), - NAME_FUNC_OFFSET(18381, glConvolutionFilter1D, glConvolutionFilter1D, NULL, - 348), - NAME_FUNC_OFFSET(18406, glConvolutionFilter2D, glConvolutionFilter2D, NULL, - 349), - NAME_FUNC_OFFSET(18431, glConvolutionParameterf, glConvolutionParameterf, - NULL, 350), - NAME_FUNC_OFFSET(18458, glConvolutionParameterfv, glConvolutionParameterfv, - NULL, 351), - NAME_FUNC_OFFSET(18486, glConvolutionParameteri, glConvolutionParameteri, - NULL, 352), - NAME_FUNC_OFFSET(18513, glConvolutionParameteriv, glConvolutionParameteriv, - NULL, 353), - NAME_FUNC_OFFSET(18541, glCopyConvolutionFilter1D, - glCopyConvolutionFilter1D, NULL, 354), - NAME_FUNC_OFFSET(18570, glCopyConvolutionFilter2D, - glCopyConvolutionFilter2D, NULL, 355), - NAME_FUNC_OFFSET(18599, glGetConvolutionFilter, gl_dispatch_stub_356, - gl_dispatch_stub_356, 356), - NAME_FUNC_OFFSET(18625, glGetConvolutionParameterfv, gl_dispatch_stub_357, - gl_dispatch_stub_357, 357), - NAME_FUNC_OFFSET(18656, glGetConvolutionParameteriv, gl_dispatch_stub_358, - gl_dispatch_stub_358, 358), - NAME_FUNC_OFFSET(18687, glGetSeparableFilter, gl_dispatch_stub_359, - gl_dispatch_stub_359, 359), - NAME_FUNC_OFFSET(18711, glSeparableFilter2D, glSeparableFilter2D, NULL, - 360), - NAME_FUNC_OFFSET(18734, glGetHistogram, gl_dispatch_stub_361, - gl_dispatch_stub_361, 361), - NAME_FUNC_OFFSET(18752, glGetHistogramParameterfv, gl_dispatch_stub_362, - gl_dispatch_stub_362, 362), - NAME_FUNC_OFFSET(18781, glGetHistogramParameteriv, gl_dispatch_stub_363, - gl_dispatch_stub_363, 363), - NAME_FUNC_OFFSET(18810, glGetMinmax, gl_dispatch_stub_364, - gl_dispatch_stub_364, 364), - NAME_FUNC_OFFSET(18825, glGetMinmaxParameterfv, gl_dispatch_stub_365, - gl_dispatch_stub_365, 365), - NAME_FUNC_OFFSET(18851, glGetMinmaxParameteriv, gl_dispatch_stub_366, - gl_dispatch_stub_366, 366), - NAME_FUNC_OFFSET(18877, glHistogram, glHistogram, NULL, 367), - NAME_FUNC_OFFSET(18892, glMinmax, glMinmax, NULL, 368), - NAME_FUNC_OFFSET(18904, glResetHistogram, glResetHistogram, NULL, 369), - NAME_FUNC_OFFSET(18924, glResetMinmax, glResetMinmax, NULL, 370), - NAME_FUNC_OFFSET(18941, glTexImage3D, glTexImage3D, NULL, 371), - NAME_FUNC_OFFSET(18957, glTexSubImage3D, glTexSubImage3D, NULL, 372), - NAME_FUNC_OFFSET(18976, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, - 373), - NAME_FUNC_OFFSET(18999, glActiveTextureARB, glActiveTextureARB, NULL, 374), - NAME_FUNC_OFFSET(19015, glClientActiveTextureARB, glClientActiveTextureARB, - NULL, 375), - NAME_FUNC_OFFSET(19037, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, - 376), - NAME_FUNC_OFFSET(19055, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, - 377), - NAME_FUNC_OFFSET(19074, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, - 378), - NAME_FUNC_OFFSET(19092, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, - 379), - NAME_FUNC_OFFSET(19111, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, - 380), - NAME_FUNC_OFFSET(19129, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, - 381), - NAME_FUNC_OFFSET(19148, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, - 382), - NAME_FUNC_OFFSET(19166, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, - 383), - NAME_FUNC_OFFSET(19185, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, - 384), - NAME_FUNC_OFFSET(19203, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, - 385), - NAME_FUNC_OFFSET(19222, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, - 386), - NAME_FUNC_OFFSET(19240, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, - 387), - NAME_FUNC_OFFSET(19259, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, - 388), - NAME_FUNC_OFFSET(19277, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, - 389), - NAME_FUNC_OFFSET(19296, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, - 390), - NAME_FUNC_OFFSET(19314, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, - 391), - NAME_FUNC_OFFSET(19333, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, - 392), - NAME_FUNC_OFFSET(19351, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, - 393), - NAME_FUNC_OFFSET(19370, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, - 394), - NAME_FUNC_OFFSET(19388, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, - 395), - NAME_FUNC_OFFSET(19407, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, - 396), - NAME_FUNC_OFFSET(19425, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, - 397), - NAME_FUNC_OFFSET(19444, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, - 398), - NAME_FUNC_OFFSET(19462, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, - 399), - NAME_FUNC_OFFSET(19481, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, - 400), - NAME_FUNC_OFFSET(19499, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, - 401), - NAME_FUNC_OFFSET(19518, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, - 402), - NAME_FUNC_OFFSET(19536, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, - 403), - NAME_FUNC_OFFSET(19555, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, - 404), - NAME_FUNC_OFFSET(19573, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, - 405), - NAME_FUNC_OFFSET(19592, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, - 406), - NAME_FUNC_OFFSET(19610, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, - 407), - NAME_FUNC_OFFSET(19629, glStencilOpSeparate, glStencilOpSeparate, NULL, - 423), - NAME_FUNC_OFFSET(19652, glLoadTransposeMatrixdARB, - glLoadTransposeMatrixdARB, NULL, 441), - NAME_FUNC_OFFSET(19675, glLoadTransposeMatrixfARB, - glLoadTransposeMatrixfARB, NULL, 442), - NAME_FUNC_OFFSET(19698, glMultTransposeMatrixdARB, - glMultTransposeMatrixdARB, NULL, 443), - NAME_FUNC_OFFSET(19721, glMultTransposeMatrixfARB, - glMultTransposeMatrixfARB, NULL, 444), - NAME_FUNC_OFFSET(19744, glSampleCoverageARB, glSampleCoverageARB, NULL, - 445), - NAME_FUNC_OFFSET(19761, glCompressedTexImage1DARB, - glCompressedTexImage1DARB, NULL, 446), - NAME_FUNC_OFFSET(19784, glCompressedTexImage2DARB, - glCompressedTexImage2DARB, NULL, 447), - NAME_FUNC_OFFSET(19807, glCompressedTexImage3DARB, - glCompressedTexImage3DARB, NULL, 448), - NAME_FUNC_OFFSET(19830, glCompressedTexSubImage1DARB, - glCompressedTexSubImage1DARB, NULL, 449), - NAME_FUNC_OFFSET(19856, glCompressedTexSubImage2DARB, - glCompressedTexSubImage2DARB, NULL, 450), - NAME_FUNC_OFFSET(19882, glCompressedTexSubImage3DARB, - glCompressedTexSubImage3DARB, NULL, 451), - NAME_FUNC_OFFSET(19908, glGetCompressedTexImageARB, - glGetCompressedTexImageARB, NULL, 452), - NAME_FUNC_OFFSET(19932, glDisableVertexAttribArrayARB, - glDisableVertexAttribArrayARB, NULL, 453), - NAME_FUNC_OFFSET(19959, glEnableVertexAttribArrayARB, - glEnableVertexAttribArrayARB, NULL, 454), - NAME_FUNC_OFFSET(19985, glGetVertexAttribdvARB, glGetVertexAttribdvARB, - NULL, 461), - NAME_FUNC_OFFSET(20005, glGetVertexAttribfvARB, glGetVertexAttribfvARB, - NULL, 462), - NAME_FUNC_OFFSET(20025, glGetVertexAttribivARB, glGetVertexAttribivARB, - NULL, 463), - NAME_FUNC_OFFSET(20045, glProgramEnvParameter4dARB, - glProgramEnvParameter4dARB, NULL, 464), - NAME_FUNC_OFFSET(20068, glProgramEnvParameter4dvARB, - glProgramEnvParameter4dvARB, NULL, 465), - NAME_FUNC_OFFSET(20092, glProgramEnvParameter4fARB, - glProgramEnvParameter4fARB, NULL, 466), - NAME_FUNC_OFFSET(20115, glProgramEnvParameter4fvARB, - glProgramEnvParameter4fvARB, NULL, 467), - NAME_FUNC_OFFSET(20139, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, - 473), - NAME_FUNC_OFFSET(20156, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, - 474), - NAME_FUNC_OFFSET(20174, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, - 475), - NAME_FUNC_OFFSET(20191, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, - 476), - NAME_FUNC_OFFSET(20209, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, - 477), - NAME_FUNC_OFFSET(20226, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, - 478), - NAME_FUNC_OFFSET(20244, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, - 479), - NAME_FUNC_OFFSET(20261, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, - 480), - NAME_FUNC_OFFSET(20279, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, - 481), - NAME_FUNC_OFFSET(20296, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, - 482), - NAME_FUNC_OFFSET(20314, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, - 483), - NAME_FUNC_OFFSET(20331, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, - 484), - NAME_FUNC_OFFSET(20349, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, - 485), - NAME_FUNC_OFFSET(20366, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, - 486), - NAME_FUNC_OFFSET(20384, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, - 487), - NAME_FUNC_OFFSET(20401, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, - 488), - NAME_FUNC_OFFSET(20419, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, - 489), - NAME_FUNC_OFFSET(20436, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, - 490), - NAME_FUNC_OFFSET(20454, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, - 491), - NAME_FUNC_OFFSET(20473, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, - 492), - NAME_FUNC_OFFSET(20492, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, - 493), - NAME_FUNC_OFFSET(20511, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, - 494), - NAME_FUNC_OFFSET(20530, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, - NULL, 495), - NAME_FUNC_OFFSET(20550, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, - NULL, 496), - NAME_FUNC_OFFSET(20570, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, - NULL, 497), - NAME_FUNC_OFFSET(20590, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, - 498), - NAME_FUNC_OFFSET(20608, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, - 499), - NAME_FUNC_OFFSET(20625, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, - 500), - NAME_FUNC_OFFSET(20643, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, - 501), - NAME_FUNC_OFFSET(20660, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, - 502), - NAME_FUNC_OFFSET(20678, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, - 503), - NAME_FUNC_OFFSET(20696, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, - 504), - NAME_FUNC_OFFSET(20713, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, - 505), - NAME_FUNC_OFFSET(20731, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, - 506), - NAME_FUNC_OFFSET(20750, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, - 507), - NAME_FUNC_OFFSET(20769, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, - 508), - NAME_FUNC_OFFSET(20788, glVertexAttribPointerARB, glVertexAttribPointerARB, - NULL, 509), - NAME_FUNC_OFFSET(20810, glBindBufferARB, glBindBufferARB, NULL, 510), - NAME_FUNC_OFFSET(20823, glBufferDataARB, glBufferDataARB, NULL, 511), - NAME_FUNC_OFFSET(20836, glBufferSubDataARB, glBufferSubDataARB, NULL, 512), - NAME_FUNC_OFFSET(20852, glDeleteBuffersARB, glDeleteBuffersARB, NULL, 513), - NAME_FUNC_OFFSET(20868, glGenBuffersARB, glGenBuffersARB, NULL, 514), - NAME_FUNC_OFFSET(20881, glGetBufferParameterivARB, - glGetBufferParameterivARB, NULL, 515), - NAME_FUNC_OFFSET(20904, glGetBufferPointervARB, glGetBufferPointervARB, - NULL, 516), - NAME_FUNC_OFFSET(20924, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, - 517), - NAME_FUNC_OFFSET(20943, glIsBufferARB, glIsBufferARB, NULL, 518), - NAME_FUNC_OFFSET(20954, glMapBufferARB, glMapBufferARB, NULL, 519), - NAME_FUNC_OFFSET(20966, glUnmapBufferARB, glUnmapBufferARB, NULL, 520), - NAME_FUNC_OFFSET(20980, glBeginQueryARB, glBeginQueryARB, NULL, 521), - NAME_FUNC_OFFSET(20993, glDeleteQueriesARB, glDeleteQueriesARB, NULL, 522), - NAME_FUNC_OFFSET(21009, glEndQueryARB, glEndQueryARB, NULL, 523), - NAME_FUNC_OFFSET(21020, glGenQueriesARB, glGenQueriesARB, NULL, 524), - NAME_FUNC_OFFSET(21033, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, - 525), - NAME_FUNC_OFFSET(21052, glGetQueryObjectuivARB, glGetQueryObjectuivARB, - NULL, 526), - NAME_FUNC_OFFSET(21072, glGetQueryivARB, glGetQueryivARB, NULL, 527), - NAME_FUNC_OFFSET(21085, glIsQueryARB, glIsQueryARB, NULL, 528), - NAME_FUNC_OFFSET(21095, glCompileShaderARB, glCompileShaderARB, NULL, 530), - NAME_FUNC_OFFSET(21111, glGetActiveUniformARB, glGetActiveUniformARB, NULL, - 535), - NAME_FUNC_OFFSET(21130, glGetShaderSourceARB, glGetShaderSourceARB, NULL, - 541), - NAME_FUNC_OFFSET(21148, glGetUniformLocationARB, glGetUniformLocationARB, - NULL, 542), - NAME_FUNC_OFFSET(21169, glGetUniformfvARB, glGetUniformfvARB, NULL, 543), - NAME_FUNC_OFFSET(21184, glGetUniformivARB, glGetUniformivARB, NULL, 544), - NAME_FUNC_OFFSET(21199, glLinkProgramARB, glLinkProgramARB, NULL, 545), - NAME_FUNC_OFFSET(21213, glShaderSourceARB, glShaderSourceARB, NULL, 546), - NAME_FUNC_OFFSET(21228, glUniform1fARB, glUniform1fARB, NULL, 547), - NAME_FUNC_OFFSET(21240, glUniform1fvARB, glUniform1fvARB, NULL, 548), - NAME_FUNC_OFFSET(21253, glUniform1iARB, glUniform1iARB, NULL, 549), - NAME_FUNC_OFFSET(21265, glUniform1ivARB, glUniform1ivARB, NULL, 550), - NAME_FUNC_OFFSET(21278, glUniform2fARB, glUniform2fARB, NULL, 551), - NAME_FUNC_OFFSET(21290, glUniform2fvARB, glUniform2fvARB, NULL, 552), - NAME_FUNC_OFFSET(21303, glUniform2iARB, glUniform2iARB, NULL, 553), - NAME_FUNC_OFFSET(21315, glUniform2ivARB, glUniform2ivARB, NULL, 554), - NAME_FUNC_OFFSET(21328, glUniform3fARB, glUniform3fARB, NULL, 555), - NAME_FUNC_OFFSET(21340, glUniform3fvARB, glUniform3fvARB, NULL, 556), - NAME_FUNC_OFFSET(21353, glUniform3iARB, glUniform3iARB, NULL, 557), - NAME_FUNC_OFFSET(21365, glUniform3ivARB, glUniform3ivARB, NULL, 558), - NAME_FUNC_OFFSET(21378, glUniform4fARB, glUniform4fARB, NULL, 559), - NAME_FUNC_OFFSET(21390, glUniform4fvARB, glUniform4fvARB, NULL, 560), - NAME_FUNC_OFFSET(21403, glUniform4iARB, glUniform4iARB, NULL, 561), - NAME_FUNC_OFFSET(21415, glUniform4ivARB, glUniform4ivARB, NULL, 562), - NAME_FUNC_OFFSET(21428, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, - 563), - NAME_FUNC_OFFSET(21447, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, - 564), - NAME_FUNC_OFFSET(21466, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, - 565), - NAME_FUNC_OFFSET(21485, glUseProgramObjectARB, glUseProgramObjectARB, NULL, - 566), - NAME_FUNC_OFFSET(21498, glValidateProgramARB, glValidateProgramARB, NULL, - 567), - NAME_FUNC_OFFSET(21516, glBindAttribLocationARB, glBindAttribLocationARB, - NULL, 568), - NAME_FUNC_OFFSET(21537, glGetActiveAttribARB, glGetActiveAttribARB, NULL, - 569), - NAME_FUNC_OFFSET(21555, glGetAttribLocationARB, glGetAttribLocationARB, - NULL, 570), - NAME_FUNC_OFFSET(21575, glDrawBuffersARB, glDrawBuffersARB, NULL, 571), - NAME_FUNC_OFFSET(21589, glDrawBuffersARB, glDrawBuffersARB, NULL, 571), - NAME_FUNC_OFFSET(21606, glDrawBuffersARB, glDrawBuffersARB, NULL, 571), - NAME_FUNC_OFFSET(21622, glDrawArraysInstancedARB, glDrawArraysInstancedARB, - NULL, 573), - NAME_FUNC_OFFSET(21647, glDrawArraysInstancedARB, glDrawArraysInstancedARB, - NULL, 573), - NAME_FUNC_OFFSET(21669, glDrawElementsInstancedARB, - glDrawElementsInstancedARB, NULL, 574), - NAME_FUNC_OFFSET(21696, glDrawElementsInstancedARB, - glDrawElementsInstancedARB, NULL, 574), - NAME_FUNC_OFFSET(21720, glRenderbufferStorageMultisample, - glRenderbufferStorageMultisample, NULL, 575), - NAME_FUNC_OFFSET(21756, glBlendEquationSeparateiARB, - glBlendEquationSeparateiARB, NULL, 597), - NAME_FUNC_OFFSET(21790, glBlendEquationiARB, glBlendEquationiARB, NULL, - 598), - NAME_FUNC_OFFSET(21816, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, - NULL, 599), - NAME_FUNC_OFFSET(21846, glBlendFunciARB, glBlendFunciARB, NULL, 600), - NAME_FUNC_OFFSET(21868, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL, - 698), - NAME_FUNC_OFFSET(21884, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL, - 699), - NAME_FUNC_OFFSET(21903, glPointParameterfEXT, glPointParameterfEXT, NULL, - 706), - NAME_FUNC_OFFSET(21921, glPointParameterfEXT, glPointParameterfEXT, NULL, - 706), - NAME_FUNC_OFFSET(21942, glPointParameterfEXT, glPointParameterfEXT, NULL, - 706), - NAME_FUNC_OFFSET(21964, glPointParameterfvEXT, glPointParameterfvEXT, NULL, - 707), - NAME_FUNC_OFFSET(21983, glPointParameterfvEXT, glPointParameterfvEXT, NULL, - 707), - NAME_FUNC_OFFSET(22005, glPointParameterfvEXT, glPointParameterfvEXT, NULL, - 707), - NAME_FUNC_OFFSET(22028, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, - 710), - NAME_FUNC_OFFSET(22047, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, - NULL, 711), - NAME_FUNC_OFFSET(22067, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, - 712), - NAME_FUNC_OFFSET(22086, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, - NULL, 713), - NAME_FUNC_OFFSET(22106, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, - 714), - NAME_FUNC_OFFSET(22125, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, - NULL, 715), - NAME_FUNC_OFFSET(22145, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, - 716), - NAME_FUNC_OFFSET(22164, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, - NULL, 717), - NAME_FUNC_OFFSET(22184, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, - 718), - NAME_FUNC_OFFSET(22203, glSecondaryColor3svEXT, glSecondaryColor3svEXT, - NULL, 719), - NAME_FUNC_OFFSET(22223, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, - NULL, 720), - NAME_FUNC_OFFSET(22243, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, - NULL, 721), - NAME_FUNC_OFFSET(22264, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, - NULL, 722), - NAME_FUNC_OFFSET(22284, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, - NULL, 723), - NAME_FUNC_OFFSET(22305, glSecondaryColor3usEXT, glSecondaryColor3usEXT, - NULL, 724), - NAME_FUNC_OFFSET(22325, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, - NULL, 725), - NAME_FUNC_OFFSET(22346, glSecondaryColorPointerEXT, - glSecondaryColorPointerEXT, NULL, 726), - NAME_FUNC_OFFSET(22370, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, - 727), - NAME_FUNC_OFFSET(22388, glMultiDrawElementsEXT, glMultiDrawElementsEXT, - NULL, 728), - NAME_FUNC_OFFSET(22408, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, - 729), - NAME_FUNC_OFFSET(22426, glFogCoorddEXT, glFogCoorddEXT, NULL, 730), - NAME_FUNC_OFFSET(22438, glFogCoorddvEXT, glFogCoorddvEXT, NULL, 731), - NAME_FUNC_OFFSET(22451, glFogCoordfEXT, glFogCoordfEXT, NULL, 732), - NAME_FUNC_OFFSET(22463, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 733), - NAME_FUNC_OFFSET(22476, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, - NULL, 735), - NAME_FUNC_OFFSET(22496, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, - NULL, 735), - NAME_FUNC_OFFSET(22520, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752), - NAME_FUNC_OFFSET(22534, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752), - NAME_FUNC_OFFSET(22551, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, 753), - NAME_FUNC_OFFSET(22566, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, 753), - NAME_FUNC_OFFSET(22584, glWindowPos2fMESA, glWindowPos2fMESA, NULL, 754), - NAME_FUNC_OFFSET(22598, glWindowPos2fMESA, glWindowPos2fMESA, NULL, 754), - NAME_FUNC_OFFSET(22615, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, 755), - NAME_FUNC_OFFSET(22630, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, 755), - NAME_FUNC_OFFSET(22648, glWindowPos2iMESA, glWindowPos2iMESA, NULL, 756), - NAME_FUNC_OFFSET(22662, glWindowPos2iMESA, glWindowPos2iMESA, NULL, 756), - NAME_FUNC_OFFSET(22679, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, 757), - NAME_FUNC_OFFSET(22694, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, 757), - NAME_FUNC_OFFSET(22712, glWindowPos2sMESA, glWindowPos2sMESA, NULL, 758), - NAME_FUNC_OFFSET(22726, glWindowPos2sMESA, glWindowPos2sMESA, NULL, 758), - NAME_FUNC_OFFSET(22743, glWindowPos2svMESA, glWindowPos2svMESA, NULL, 759), - NAME_FUNC_OFFSET(22758, glWindowPos2svMESA, glWindowPos2svMESA, NULL, 759), - NAME_FUNC_OFFSET(22776, glWindowPos3dMESA, glWindowPos3dMESA, NULL, 760), - NAME_FUNC_OFFSET(22790, glWindowPos3dMESA, glWindowPos3dMESA, NULL, 760), - NAME_FUNC_OFFSET(22807, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, 761), - NAME_FUNC_OFFSET(22822, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, 761), - NAME_FUNC_OFFSET(22840, glWindowPos3fMESA, glWindowPos3fMESA, NULL, 762), - NAME_FUNC_OFFSET(22854, glWindowPos3fMESA, glWindowPos3fMESA, NULL, 762), - NAME_FUNC_OFFSET(22871, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, 763), - NAME_FUNC_OFFSET(22886, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, 763), - NAME_FUNC_OFFSET(22904, glWindowPos3iMESA, glWindowPos3iMESA, NULL, 764), - NAME_FUNC_OFFSET(22918, glWindowPos3iMESA, glWindowPos3iMESA, NULL, 764), - NAME_FUNC_OFFSET(22935, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, 765), - NAME_FUNC_OFFSET(22950, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, 765), - NAME_FUNC_OFFSET(22968, glWindowPos3sMESA, glWindowPos3sMESA, NULL, 766), - NAME_FUNC_OFFSET(22982, glWindowPos3sMESA, glWindowPos3sMESA, NULL, 766), - NAME_FUNC_OFFSET(22999, glWindowPos3svMESA, glWindowPos3svMESA, NULL, 767), - NAME_FUNC_OFFSET(23014, glWindowPos3svMESA, glWindowPos3svMESA, NULL, 767), - NAME_FUNC_OFFSET(23032, glBindProgramNV, glBindProgramNV, NULL, 786), - NAME_FUNC_OFFSET(23049, glDeleteProgramsNV, glDeleteProgramsNV, NULL, 787), - NAME_FUNC_OFFSET(23069, glGenProgramsNV, glGenProgramsNV, NULL, 789), - NAME_FUNC_OFFSET(23086, glGetVertexAttribPointervNV, - glGetVertexAttribPointervNV, NULL, 795), - NAME_FUNC_OFFSET(23112, glGetVertexAttribPointervNV, - glGetVertexAttribPointervNV, NULL, 795), - NAME_FUNC_OFFSET(23141, glIsProgramNV, glIsProgramNV, NULL, 799), - NAME_FUNC_OFFSET(23156, glPointParameteriNV, glPointParameteriNV, NULL, - 863), - NAME_FUNC_OFFSET(23174, glPointParameterivNV, glPointParameterivNV, NULL, - 864), - NAME_FUNC_OFFSET(23193, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL, - 867), - NAME_FUNC_OFFSET(23214, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL, - 869), - NAME_FUNC_OFFSET(23230, glPrimitiveRestartIndexNV, - glPrimitiveRestartIndexNV, NULL, 876), - NAME_FUNC_OFFSET(23254, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, - 879), - NAME_FUNC_OFFSET(23278, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, - 879), - NAME_FUNC_OFFSET(23305, glBindFramebufferEXT, glBindFramebufferEXT, NULL, - 880), - NAME_FUNC_OFFSET(23323, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, - 881), - NAME_FUNC_OFFSET(23342, glCheckFramebufferStatusEXT, - glCheckFramebufferStatusEXT, NULL, 882), - NAME_FUNC_OFFSET(23367, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, - NULL, 883), - NAME_FUNC_OFFSET(23388, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, - NULL, 884), - NAME_FUNC_OFFSET(23410, glFramebufferRenderbufferEXT, - glFramebufferRenderbufferEXT, NULL, 885), - NAME_FUNC_OFFSET(23436, glFramebufferTexture1DEXT, - glFramebufferTexture1DEXT, NULL, 886), - NAME_FUNC_OFFSET(23459, glFramebufferTexture2DEXT, - glFramebufferTexture2DEXT, NULL, 887), - NAME_FUNC_OFFSET(23482, glFramebufferTexture3DEXT, - glFramebufferTexture3DEXT, NULL, 888), - NAME_FUNC_OFFSET(23505, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, - 889), - NAME_FUNC_OFFSET(23523, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, - 890), - NAME_FUNC_OFFSET(23542, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, - 891), - NAME_FUNC_OFFSET(23559, glGetFramebufferAttachmentParameterivEXT, - glGetFramebufferAttachmentParameterivEXT, NULL, 892), - NAME_FUNC_OFFSET(23597, glGetRenderbufferParameterivEXT, - glGetRenderbufferParameterivEXT, NULL, 893), - NAME_FUNC_OFFSET(23626, glIsFramebufferEXT, glIsFramebufferEXT, NULL, 894), - NAME_FUNC_OFFSET(23642, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, - 895), - NAME_FUNC_OFFSET(23659, glRenderbufferStorageEXT, glRenderbufferStorageEXT, - NULL, 896), - NAME_FUNC_OFFSET(23681, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL, - 897), - NAME_FUNC_OFFSET(23699, glBindFragDataLocationEXT, - glBindFragDataLocationEXT, NULL, 900), - NAME_FUNC_OFFSET(23722, glGetFragDataLocationEXT, glGetFragDataLocationEXT, - NULL, 901), - NAME_FUNC_OFFSET(23744, glGetUniformuivEXT, glGetUniformuivEXT, NULL, 902), - NAME_FUNC_OFFSET(23760, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT, - NULL, 903), - NAME_FUNC_OFFSET(23781, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT, - NULL, 904), - NAME_FUNC_OFFSET(23803, glUniform1uiEXT, glUniform1uiEXT, NULL, 905), - NAME_FUNC_OFFSET(23816, glUniform1uivEXT, glUniform1uivEXT, NULL, 906), - NAME_FUNC_OFFSET(23830, glUniform2uiEXT, glUniform2uiEXT, NULL, 907), - NAME_FUNC_OFFSET(23843, glUniform2uivEXT, glUniform2uivEXT, NULL, 908), - NAME_FUNC_OFFSET(23857, glUniform3uiEXT, glUniform3uiEXT, NULL, 909), - NAME_FUNC_OFFSET(23870, glUniform3uivEXT, glUniform3uivEXT, NULL, 910), - NAME_FUNC_OFFSET(23884, glUniform4uiEXT, glUniform4uiEXT, NULL, 911), - NAME_FUNC_OFFSET(23897, glUniform4uivEXT, glUniform4uivEXT, NULL, 912), - NAME_FUNC_OFFSET(23911, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, - 913), - NAME_FUNC_OFFSET(23929, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL, - 914), - NAME_FUNC_OFFSET(23948, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, - 915), - NAME_FUNC_OFFSET(23967, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT, - NULL, 916), - NAME_FUNC_OFFSET(23987, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, - 917), - NAME_FUNC_OFFSET(24005, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, - 918), - NAME_FUNC_OFFSET(24024, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, - 919), - NAME_FUNC_OFFSET(24043, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, - NULL, 920), - NAME_FUNC_OFFSET(24063, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, - 921), - NAME_FUNC_OFFSET(24081, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, - 922), - NAME_FUNC_OFFSET(24100, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, - 923), - NAME_FUNC_OFFSET(24119, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, - NULL, 924), - NAME_FUNC_OFFSET(24139, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL, - 925), - NAME_FUNC_OFFSET(24158, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, - 926), - NAME_FUNC_OFFSET(24176, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, - 927), - NAME_FUNC_OFFSET(24195, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL, - 928), - NAME_FUNC_OFFSET(24214, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT, - NULL, 929), - NAME_FUNC_OFFSET(24234, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, - 930), - NAME_FUNC_OFFSET(24253, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, - NULL, 931), - NAME_FUNC_OFFSET(24273, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT, - NULL, 932), - NAME_FUNC_OFFSET(24293, glVertexAttribIPointerEXT, - glVertexAttribIPointerEXT, NULL, 933), - NAME_FUNC_OFFSET(24316, glFramebufferTextureLayerEXT, - glFramebufferTextureLayerEXT, NULL, 934), - NAME_FUNC_OFFSET(24342, glFramebufferTextureLayerEXT, - glFramebufferTextureLayerEXT, NULL, 934), - NAME_FUNC_OFFSET(24371, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL, - 935), - NAME_FUNC_OFFSET(24384, glDisableIndexedEXT, glDisableIndexedEXT, NULL, - 936), - NAME_FUNC_OFFSET(24395, glEnableIndexedEXT, glEnableIndexedEXT, NULL, 937), - NAME_FUNC_OFFSET(24405, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT, - NULL, 938), - NAME_FUNC_OFFSET(24421, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT, - NULL, 939), - NAME_FUNC_OFFSET(24437, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL, - 940), - NAME_FUNC_OFFSET(24450, glGetTexParameterIivEXT, glGetTexParameterIivEXT, - NULL, 943), - NAME_FUNC_OFFSET(24471, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT, - NULL, 944), - NAME_FUNC_OFFSET(24493, glTexParameterIivEXT, glTexParameterIivEXT, NULL, - 945), - NAME_FUNC_OFFSET(24511, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL, - 946), - NAME_FUNC_OFFSET(24530, glBeginConditionalRenderNV, - glBeginConditionalRenderNV, NULL, 947), - NAME_FUNC_OFFSET(24555, glEndConditionalRenderNV, glEndConditionalRenderNV, - NULL, 948), - NAME_FUNC_OFFSET(24578, glBeginTransformFeedbackEXT, - glBeginTransformFeedbackEXT, NULL, 949), - NAME_FUNC_OFFSET(24603, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL, - 950), - NAME_FUNC_OFFSET(24620, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL, - 952), - NAME_FUNC_OFFSET(24638, glEndTransformFeedbackEXT, - glEndTransformFeedbackEXT, NULL, 953), - NAME_FUNC_OFFSET(24661, glGetTransformFeedbackVaryingEXT, - glGetTransformFeedbackVaryingEXT, NULL, 954), - NAME_FUNC_OFFSET(24691, glTransformFeedbackVaryingsEXT, - glTransformFeedbackVaryingsEXT, NULL, 955), - NAME_FUNC_OFFSET(24719, glProvokingVertexEXT, glProvokingVertexEXT, NULL, - 956), - NAME_FUNC_OFFSET(-1, NULL, NULL, NULL, 0) -}; - -#undef NAME_FUNC_OFFSET +/* DO NOT EDIT - This file generated automatically by gl_procs.py (from Mesa) script */
+
+/*
+ * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * (C) Copyright IBM Corporation 2004, 2006
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL, IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+
+/* This file is only included by glapi.c and is used for
+ * the GetProcAddress() function
+ */
+
+typedef struct {
+ GLint Name_offset;
+#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING)
+ _glapi_proc Address;
+#endif
+ GLuint Offset;
+} glprocs_table_t;
+
+#if !defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING)
+# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , o }
+#elif defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING)
+# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f1 , o }
+#elif defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING)
+# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f2 , o }
+#elif !defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING)
+# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o }
+#endif
+
+
+
+static const char gl_string_table[] =
+ "glNewList\0"
+ "glEndList\0"
+ "glCallList\0"
+ "glCallLists\0"
+ "glDeleteLists\0"
+ "glGenLists\0"
+ "glListBase\0"
+ "glBegin\0"
+ "glBitmap\0"
+ "glColor3b\0"
+ "glColor3bv\0"
+ "glColor3d\0"
+ "glColor3dv\0"
+ "glColor3f\0"
+ "glColor3fv\0"
+ "glColor3i\0"
+ "glColor3iv\0"
+ "glColor3s\0"
+ "glColor3sv\0"
+ "glColor3ub\0"
+ "glColor3ubv\0"
+ "glColor3ui\0"
+ "glColor3uiv\0"
+ "glColor3us\0"
+ "glColor3usv\0"
+ "glColor4b\0"
+ "glColor4bv\0"
+ "glColor4d\0"
+ "glColor4dv\0"
+ "glColor4f\0"
+ "glColor4fv\0"
+ "glColor4i\0"
+ "glColor4iv\0"
+ "glColor4s\0"
+ "glColor4sv\0"
+ "glColor4ub\0"
+ "glColor4ubv\0"
+ "glColor4ui\0"
+ "glColor4uiv\0"
+ "glColor4us\0"
+ "glColor4usv\0"
+ "glEdgeFlag\0"
+ "glEdgeFlagv\0"
+ "glEnd\0"
+ "glIndexd\0"
+ "glIndexdv\0"
+ "glIndexf\0"
+ "glIndexfv\0"
+ "glIndexi\0"
+ "glIndexiv\0"
+ "glIndexs\0"
+ "glIndexsv\0"
+ "glNormal3b\0"
+ "glNormal3bv\0"
+ "glNormal3d\0"
+ "glNormal3dv\0"
+ "glNormal3f\0"
+ "glNormal3fv\0"
+ "glNormal3i\0"
+ "glNormal3iv\0"
+ "glNormal3s\0"
+ "glNormal3sv\0"
+ "glRasterPos2d\0"
+ "glRasterPos2dv\0"
+ "glRasterPos2f\0"
+ "glRasterPos2fv\0"
+ "glRasterPos2i\0"
+ "glRasterPos2iv\0"
+ "glRasterPos2s\0"
+ "glRasterPos2sv\0"
+ "glRasterPos3d\0"
+ "glRasterPos3dv\0"
+ "glRasterPos3f\0"
+ "glRasterPos3fv\0"
+ "glRasterPos3i\0"
+ "glRasterPos3iv\0"
+ "glRasterPos3s\0"
+ "glRasterPos3sv\0"
+ "glRasterPos4d\0"
+ "glRasterPos4dv\0"
+ "glRasterPos4f\0"
+ "glRasterPos4fv\0"
+ "glRasterPos4i\0"
+ "glRasterPos4iv\0"
+ "glRasterPos4s\0"
+ "glRasterPos4sv\0"
+ "glRectd\0"
+ "glRectdv\0"
+ "glRectf\0"
+ "glRectfv\0"
+ "glRecti\0"
+ "glRectiv\0"
+ "glRects\0"
+ "glRectsv\0"
+ "glTexCoord1d\0"
+ "glTexCoord1dv\0"
+ "glTexCoord1f\0"
+ "glTexCoord1fv\0"
+ "glTexCoord1i\0"
+ "glTexCoord1iv\0"
+ "glTexCoord1s\0"
+ "glTexCoord1sv\0"
+ "glTexCoord2d\0"
+ "glTexCoord2dv\0"
+ "glTexCoord2f\0"
+ "glTexCoord2fv\0"
+ "glTexCoord2i\0"
+ "glTexCoord2iv\0"
+ "glTexCoord2s\0"
+ "glTexCoord2sv\0"
+ "glTexCoord3d\0"
+ "glTexCoord3dv\0"
+ "glTexCoord3f\0"
+ "glTexCoord3fv\0"
+ "glTexCoord3i\0"
+ "glTexCoord3iv\0"
+ "glTexCoord3s\0"
+ "glTexCoord3sv\0"
+ "glTexCoord4d\0"
+ "glTexCoord4dv\0"
+ "glTexCoord4f\0"
+ "glTexCoord4fv\0"
+ "glTexCoord4i\0"
+ "glTexCoord4iv\0"
+ "glTexCoord4s\0"
+ "glTexCoord4sv\0"
+ "glVertex2d\0"
+ "glVertex2dv\0"
+ "glVertex2f\0"
+ "glVertex2fv\0"
+ "glVertex2i\0"
+ "glVertex2iv\0"
+ "glVertex2s\0"
+ "glVertex2sv\0"
+ "glVertex3d\0"
+ "glVertex3dv\0"
+ "glVertex3f\0"
+ "glVertex3fv\0"
+ "glVertex3i\0"
+ "glVertex3iv\0"
+ "glVertex3s\0"
+ "glVertex3sv\0"
+ "glVertex4d\0"
+ "glVertex4dv\0"
+ "glVertex4f\0"
+ "glVertex4fv\0"
+ "glVertex4i\0"
+ "glVertex4iv\0"
+ "glVertex4s\0"
+ "glVertex4sv\0"
+ "glClipPlane\0"
+ "glColorMaterial\0"
+ "glCullFace\0"
+ "glFogf\0"
+ "glFogfv\0"
+ "glFogi\0"
+ "glFogiv\0"
+ "glFrontFace\0"
+ "glHint\0"
+ "glLightf\0"
+ "glLightfv\0"
+ "glLighti\0"
+ "glLightiv\0"
+ "glLightModelf\0"
+ "glLightModelfv\0"
+ "glLightModeli\0"
+ "glLightModeliv\0"
+ "glLineStipple\0"
+ "glLineWidth\0"
+ "glMaterialf\0"
+ "glMaterialfv\0"
+ "glMateriali\0"
+ "glMaterialiv\0"
+ "glPointSize\0"
+ "glPolygonMode\0"
+ "glPolygonStipple\0"
+ "glScissor\0"
+ "glShadeModel\0"
+ "glTexParameterf\0"
+ "glTexParameterfv\0"
+ "glTexParameteri\0"
+ "glTexParameteriv\0"
+ "glTexImage1D\0"
+ "glTexImage2D\0"
+ "glTexEnvf\0"
+ "glTexEnvfv\0"
+ "glTexEnvi\0"
+ "glTexEnviv\0"
+ "glTexGend\0"
+ "glTexGendv\0"
+ "glTexGenf\0"
+ "glTexGenfv\0"
+ "glTexGeni\0"
+ "glTexGeniv\0"
+ "glFeedbackBuffer\0"
+ "glSelectBuffer\0"
+ "glRenderMode\0"
+ "glInitNames\0"
+ "glLoadName\0"
+ "glPassThrough\0"
+ "glPopName\0"
+ "glPushName\0"
+ "glDrawBuffer\0"
+ "glClear\0"
+ "glClearAccum\0"
+ "glClearIndex\0"
+ "glClearColor\0"
+ "glClearStencil\0"
+ "glClearDepth\0"
+ "glStencilMask\0"
+ "glColorMask\0"
+ "glDepthMask\0"
+ "glIndexMask\0"
+ "glAccum\0"
+ "glDisable\0"
+ "glEnable\0"
+ "glFinish\0"
+ "glFlush\0"
+ "glPopAttrib\0"
+ "glPushAttrib\0"
+ "glMap1d\0"
+ "glMap1f\0"
+ "glMap2d\0"
+ "glMap2f\0"
+ "glMapGrid1d\0"
+ "glMapGrid1f\0"
+ "glMapGrid2d\0"
+ "glMapGrid2f\0"
+ "glEvalCoord1d\0"
+ "glEvalCoord1dv\0"
+ "glEvalCoord1f\0"
+ "glEvalCoord1fv\0"
+ "glEvalCoord2d\0"
+ "glEvalCoord2dv\0"
+ "glEvalCoord2f\0"
+ "glEvalCoord2fv\0"
+ "glEvalMesh1\0"
+ "glEvalPoint1\0"
+ "glEvalMesh2\0"
+ "glEvalPoint2\0"
+ "glAlphaFunc\0"
+ "glBlendFunc\0"
+ "glLogicOp\0"
+ "glStencilFunc\0"
+ "glStencilOp\0"
+ "glDepthFunc\0"
+ "glPixelZoom\0"
+ "glPixelTransferf\0"
+ "glPixelTransferi\0"
+ "glPixelStoref\0"
+ "glPixelStorei\0"
+ "glPixelMapfv\0"
+ "glPixelMapuiv\0"
+ "glPixelMapusv\0"
+ "glReadBuffer\0"
+ "glCopyPixels\0"
+ "glReadPixels\0"
+ "glDrawPixels\0"
+ "glGetBooleanv\0"
+ "glGetClipPlane\0"
+ "glGetDoublev\0"
+ "glGetError\0"
+ "glGetFloatv\0"
+ "glGetIntegerv\0"
+ "glGetLightfv\0"
+ "glGetLightiv\0"
+ "glGetMapdv\0"
+ "glGetMapfv\0"
+ "glGetMapiv\0"
+ "glGetMaterialfv\0"
+ "glGetMaterialiv\0"
+ "glGetPixelMapfv\0"
+ "glGetPixelMapuiv\0"
+ "glGetPixelMapusv\0"
+ "glGetPolygonStipple\0"
+ "glGetString\0"
+ "glGetTexEnvfv\0"
+ "glGetTexEnviv\0"
+ "glGetTexGendv\0"
+ "glGetTexGenfv\0"
+ "glGetTexGeniv\0"
+ "glGetTexImage\0"
+ "glGetTexParameterfv\0"
+ "glGetTexParameteriv\0"
+ "glGetTexLevelParameterfv\0"
+ "glGetTexLevelParameteriv\0"
+ "glIsEnabled\0"
+ "glIsList\0"
+ "glDepthRange\0"
+ "glFrustum\0"
+ "glLoadIdentity\0"
+ "glLoadMatrixf\0"
+ "glLoadMatrixd\0"
+ "glMatrixMode\0"
+ "glMultMatrixf\0"
+ "glMultMatrixd\0"
+ "glOrtho\0"
+ "glPopMatrix\0"
+ "glPushMatrix\0"
+ "glRotated\0"
+ "glRotatef\0"
+ "glScaled\0"
+ "glScalef\0"
+ "glTranslated\0"
+ "glTranslatef\0"
+ "glViewport\0"
+ "glArrayElement\0"
+ "glBindTexture\0"
+ "glColorPointer\0"
+ "glDisableClientState\0"
+ "glDrawArrays\0"
+ "glDrawElements\0"
+ "glEdgeFlagPointer\0"
+ "glEnableClientState\0"
+ "glIndexPointer\0"
+ "glIndexub\0"
+ "glIndexubv\0"
+ "glInterleavedArrays\0"
+ "glNormalPointer\0"
+ "glPolygonOffset\0"
+ "glTexCoordPointer\0"
+ "glVertexPointer\0"
+ "glAreTexturesResident\0"
+ "glCopyTexImage1D\0"
+ "glCopyTexImage2D\0"
+ "glCopyTexSubImage1D\0"
+ "glCopyTexSubImage2D\0"
+ "glDeleteTextures\0"
+ "glGenTextures\0"
+ "glGetPointerv\0"
+ "glIsTexture\0"
+ "glPrioritizeTextures\0"
+ "glTexSubImage1D\0"
+ "glTexSubImage2D\0"
+ "glPopClientAttrib\0"
+ "glPushClientAttrib\0"
+ "glBlendColor\0"
+ "glBlendEquation\0"
+ "glDrawRangeElements\0"
+ "glColorTable\0"
+ "glColorTableParameterfv\0"
+ "glColorTableParameteriv\0"
+ "glCopyColorTable\0"
+ "glGetColorTable\0"
+ "glGetColorTableParameterfv\0"
+ "glGetColorTableParameteriv\0"
+ "glColorSubTable\0"
+ "glCopyColorSubTable\0"
+ "glConvolutionFilter1D\0"
+ "glConvolutionFilter2D\0"
+ "glConvolutionParameterf\0"
+ "glConvolutionParameterfv\0"
+ "glConvolutionParameteri\0"
+ "glConvolutionParameteriv\0"
+ "glCopyConvolutionFilter1D\0"
+ "glCopyConvolutionFilter2D\0"
+ "glGetConvolutionFilter\0"
+ "glGetConvolutionParameterfv\0"
+ "glGetConvolutionParameteriv\0"
+ "glGetSeparableFilter\0"
+ "glSeparableFilter2D\0"
+ "glGetHistogram\0"
+ "glGetHistogramParameterfv\0"
+ "glGetHistogramParameteriv\0"
+ "glGetMinmax\0"
+ "glGetMinmaxParameterfv\0"
+ "glGetMinmaxParameteriv\0"
+ "glHistogram\0"
+ "glMinmax\0"
+ "glResetHistogram\0"
+ "glResetMinmax\0"
+ "glTexImage3D\0"
+ "glTexSubImage3D\0"
+ "glCopyTexSubImage3D\0"
+ "glActiveTexture\0"
+ "glClientActiveTexture\0"
+ "glMultiTexCoord1d\0"
+ "glMultiTexCoord1dv\0"
+ "glMultiTexCoord1fARB\0"
+ "glMultiTexCoord1fvARB\0"
+ "glMultiTexCoord1i\0"
+ "glMultiTexCoord1iv\0"
+ "glMultiTexCoord1s\0"
+ "glMultiTexCoord1sv\0"
+ "glMultiTexCoord2d\0"
+ "glMultiTexCoord2dv\0"
+ "glMultiTexCoord2fARB\0"
+ "glMultiTexCoord2fvARB\0"
+ "glMultiTexCoord2i\0"
+ "glMultiTexCoord2iv\0"
+ "glMultiTexCoord2s\0"
+ "glMultiTexCoord2sv\0"
+ "glMultiTexCoord3d\0"
+ "glMultiTexCoord3dv\0"
+ "glMultiTexCoord3fARB\0"
+ "glMultiTexCoord3fvARB\0"
+ "glMultiTexCoord3i\0"
+ "glMultiTexCoord3iv\0"
+ "glMultiTexCoord3s\0"
+ "glMultiTexCoord3sv\0"
+ "glMultiTexCoord4d\0"
+ "glMultiTexCoord4dv\0"
+ "glMultiTexCoord4fARB\0"
+ "glMultiTexCoord4fvARB\0"
+ "glMultiTexCoord4i\0"
+ "glMultiTexCoord4iv\0"
+ "glMultiTexCoord4s\0"
+ "glMultiTexCoord4sv\0"
+ "glCompressedTexImage1D\0"
+ "glCompressedTexImage2D\0"
+ "glCompressedTexImage3D\0"
+ "glCompressedTexSubImage1D\0"
+ "glCompressedTexSubImage2D\0"
+ "glCompressedTexSubImage3D\0"
+ "glGetCompressedTexImage\0"
+ "glLoadTransposeMatrixd\0"
+ "glLoadTransposeMatrixf\0"
+ "glMultTransposeMatrixd\0"
+ "glMultTransposeMatrixf\0"
+ "glSampleCoverage\0"
+ "glBlendFuncSeparate\0"
+ "glFogCoordPointer\0"
+ "glFogCoordd\0"
+ "glFogCoorddv\0"
+ "glMultiDrawArrays\0"
+ "glPointParameterf\0"
+ "glPointParameterfv\0"
+ "glPointParameteri\0"
+ "glPointParameteriv\0"
+ "glSecondaryColor3b\0"
+ "glSecondaryColor3bv\0"
+ "glSecondaryColor3d\0"
+ "glSecondaryColor3dv\0"
+ "glSecondaryColor3i\0"
+ "glSecondaryColor3iv\0"
+ "glSecondaryColor3s\0"
+ "glSecondaryColor3sv\0"
+ "glSecondaryColor3ub\0"
+ "glSecondaryColor3ubv\0"
+ "glSecondaryColor3ui\0"
+ "glSecondaryColor3uiv\0"
+ "glSecondaryColor3us\0"
+ "glSecondaryColor3usv\0"
+ "glSecondaryColorPointer\0"
+ "glWindowPos2d\0"
+ "glWindowPos2dv\0"
+ "glWindowPos2f\0"
+ "glWindowPos2fv\0"
+ "glWindowPos2i\0"
+ "glWindowPos2iv\0"
+ "glWindowPos2s\0"
+ "glWindowPos2sv\0"
+ "glWindowPos3d\0"
+ "glWindowPos3dv\0"
+ "glWindowPos3f\0"
+ "glWindowPos3fv\0"
+ "glWindowPos3i\0"
+ "glWindowPos3iv\0"
+ "glWindowPos3s\0"
+ "glWindowPos3sv\0"
+ "glBeginQuery\0"
+ "glBindBuffer\0"
+ "glBufferData\0"
+ "glBufferSubData\0"
+ "glDeleteBuffers\0"
+ "glDeleteQueries\0"
+ "glEndQuery\0"
+ "glGenBuffers\0"
+ "glGenQueries\0"
+ "glGetBufferParameteriv\0"
+ "glGetBufferPointerv\0"
+ "glGetBufferSubData\0"
+ "glGetQueryObjectiv\0"
+ "glGetQueryObjectuiv\0"
+ "glGetQueryiv\0"
+ "glIsBuffer\0"
+ "glIsQuery\0"
+ "glMapBuffer\0"
+ "glUnmapBuffer\0"
+ "glAttachShader\0"
+ "glBindAttribLocation\0"
+ "glBlendEquationSeparate\0"
+ "glCompileShader\0"
+ "glCreateProgram\0"
+ "glCreateShader\0"
+ "glDeleteProgram\0"
+ "glDeleteShader\0"
+ "glDetachShader\0"
+ "glDisableVertexAttribArray\0"
+ "glDrawBuffers\0"
+ "glEnableVertexAttribArray\0"
+ "glGetActiveAttrib\0"
+ "glGetActiveUniform\0"
+ "glGetAttachedShaders\0"
+ "glGetAttribLocation\0"
+ "glGetProgramInfoLog\0"
+ "glGetProgramiv\0"
+ "glGetShaderInfoLog\0"
+ "glGetShaderSource\0"
+ "glGetShaderiv\0"
+ "glGetUniformLocation\0"
+ "glGetUniformfv\0"
+ "glGetUniformiv\0"
+ "glGetVertexAttribPointerv\0"
+ "glGetVertexAttribdv\0"
+ "glGetVertexAttribfv\0"
+ "glGetVertexAttribiv\0"
+ "glIsProgram\0"
+ "glIsShader\0"
+ "glLinkProgram\0"
+ "glShaderSource\0"
+ "glStencilFuncSeparate\0"
+ "glStencilMaskSeparate\0"
+ "glStencilOpSeparate\0"
+ "glUniform1f\0"
+ "glUniform1fv\0"
+ "glUniform1i\0"
+ "glUniform1iv\0"
+ "glUniform2f\0"
+ "glUniform2fv\0"
+ "glUniform2i\0"
+ "glUniform2iv\0"
+ "glUniform3f\0"
+ "glUniform3fv\0"
+ "glUniform3i\0"
+ "glUniform3iv\0"
+ "glUniform4f\0"
+ "glUniform4fv\0"
+ "glUniform4i\0"
+ "glUniform4iv\0"
+ "glUniformMatrix2fv\0"
+ "glUniformMatrix3fv\0"
+ "glUniformMatrix4fv\0"
+ "glUseProgram\0"
+ "glValidateProgram\0"
+ "glVertexAttrib1d\0"
+ "glVertexAttrib1dv\0"
+ "glVertexAttrib1s\0"
+ "glVertexAttrib1sv\0"
+ "glVertexAttrib2d\0"
+ "glVertexAttrib2dv\0"
+ "glVertexAttrib2s\0"
+ "glVertexAttrib2sv\0"
+ "glVertexAttrib3d\0"
+ "glVertexAttrib3dv\0"
+ "glVertexAttrib3s\0"
+ "glVertexAttrib3sv\0"
+ "glVertexAttrib4Nbv\0"
+ "glVertexAttrib4Niv\0"
+ "glVertexAttrib4Nsv\0"
+ "glVertexAttrib4Nub\0"
+ "glVertexAttrib4Nubv\0"
+ "glVertexAttrib4Nuiv\0"
+ "glVertexAttrib4Nusv\0"
+ "glVertexAttrib4bv\0"
+ "glVertexAttrib4d\0"
+ "glVertexAttrib4dv\0"
+ "glVertexAttrib4iv\0"
+ "glVertexAttrib4s\0"
+ "glVertexAttrib4sv\0"
+ "glVertexAttrib4ubv\0"
+ "glVertexAttrib4uiv\0"
+ "glVertexAttrib4usv\0"
+ "glVertexAttribPointer\0"
+ "glUniformMatrix2x3fv\0"
+ "glUniformMatrix2x4fv\0"
+ "glUniformMatrix3x2fv\0"
+ "glUniformMatrix3x4fv\0"
+ "glUniformMatrix4x2fv\0"
+ "glUniformMatrix4x3fv\0"
+ "glBeginConditionalRender\0"
+ "glBeginTransformFeedback\0"
+ "glBindBufferBase\0"
+ "glBindBufferRange\0"
+ "glBindFragDataLocation\0"
+ "glClampColor\0"
+ "glClearBufferfi\0"
+ "glClearBufferfv\0"
+ "glClearBufferiv\0"
+ "glClearBufferuiv\0"
+ "glColorMaski\0"
+ "glDisablei\0"
+ "glEnablei\0"
+ "glEndConditionalRender\0"
+ "glEndTransformFeedback\0"
+ "glGetBooleani_v\0"
+ "glGetFragDataLocation\0"
+ "glGetIntegeri_v\0"
+ "glGetStringi\0"
+ "glGetTexParameterIiv\0"
+ "glGetTexParameterIuiv\0"
+ "glGetTransformFeedbackVarying\0"
+ "glGetUniformuiv\0"
+ "glGetVertexAttribIiv\0"
+ "glGetVertexAttribIuiv\0"
+ "glIsEnabledi\0"
+ "glTexParameterIiv\0"
+ "glTexParameterIuiv\0"
+ "glTransformFeedbackVaryings\0"
+ "glUniform1ui\0"
+ "glUniform1uiv\0"
+ "glUniform2ui\0"
+ "glUniform2uiv\0"
+ "glUniform3ui\0"
+ "glUniform3uiv\0"
+ "glUniform4ui\0"
+ "glUniform4uiv\0"
+ "glVertexAttribI1iv\0"
+ "glVertexAttribI1uiv\0"
+ "glVertexAttribI4bv\0"
+ "glVertexAttribI4sv\0"
+ "glVertexAttribI4ubv\0"
+ "glVertexAttribI4usv\0"
+ "glVertexAttribIPointer\0"
+ "glPrimitiveRestartIndex\0"
+ "glTexBuffer\0"
+ "glFramebufferTexture\0"
+ "glGetBufferParameteri64v\0"
+ "glGetInteger64i_v\0"
+ "glVertexAttribDivisor\0"
+ "glBindProgramARB\0"
+ "glDeleteProgramsARB\0"
+ "glGenProgramsARB\0"
+ "glGetProgramEnvParameterdvARB\0"
+ "glGetProgramEnvParameterfvARB\0"
+ "glGetProgramLocalParameterdvARB\0"
+ "glGetProgramLocalParameterfvARB\0"
+ "glGetProgramStringARB\0"
+ "glGetProgramivARB\0"
+ "glIsProgramARB\0"
+ "glProgramEnvParameter4dARB\0"
+ "glProgramEnvParameter4dvARB\0"
+ "glProgramEnvParameter4fARB\0"
+ "glProgramEnvParameter4fvARB\0"
+ "glProgramLocalParameter4dARB\0"
+ "glProgramLocalParameter4dvARB\0"
+ "glProgramLocalParameter4fARB\0"
+ "glProgramLocalParameter4fvARB\0"
+ "glProgramStringARB\0"
+ "glVertexAttrib1fARB\0"
+ "glVertexAttrib1fvARB\0"
+ "glVertexAttrib2fARB\0"
+ "glVertexAttrib2fvARB\0"
+ "glVertexAttrib3fARB\0"
+ "glVertexAttrib3fvARB\0"
+ "glVertexAttrib4fARB\0"
+ "glVertexAttrib4fvARB\0"
+ "glAttachObjectARB\0"
+ "glCreateProgramObjectARB\0"
+ "glCreateShaderObjectARB\0"
+ "glDeleteObjectARB\0"
+ "glDetachObjectARB\0"
+ "glGetAttachedObjectsARB\0"
+ "glGetHandleARB\0"
+ "glGetInfoLogARB\0"
+ "glGetObjectParameterfvARB\0"
+ "glGetObjectParameterivARB\0"
+ "glDrawArraysInstancedARB\0"
+ "glDrawElementsInstancedARB\0"
+ "glBindFramebuffer\0"
+ "glBindRenderbuffer\0"
+ "glBlitFramebuffer\0"
+ "glCheckFramebufferStatus\0"
+ "glDeleteFramebuffers\0"
+ "glDeleteRenderbuffers\0"
+ "glFramebufferRenderbuffer\0"
+ "glFramebufferTexture1D\0"
+ "glFramebufferTexture2D\0"
+ "glFramebufferTexture3D\0"
+ "glFramebufferTextureLayer\0"
+ "glGenFramebuffers\0"
+ "glGenRenderbuffers\0"
+ "glGenerateMipmap\0"
+ "glGetFramebufferAttachmentParameteriv\0"
+ "glGetRenderbufferParameteriv\0"
+ "glIsFramebuffer\0"
+ "glIsRenderbuffer\0"
+ "glRenderbufferStorage\0"
+ "glRenderbufferStorageMultisample\0"
+ "glFramebufferTextureFaceARB\0"
+ "glFlushMappedBufferRange\0"
+ "glMapBufferRange\0"
+ "glBindVertexArray\0"
+ "glDeleteVertexArrays\0"
+ "glGenVertexArrays\0"
+ "glIsVertexArray\0"
+ "glGetActiveUniformBlockName\0"
+ "glGetActiveUniformBlockiv\0"
+ "glGetActiveUniformName\0"
+ "glGetActiveUniformsiv\0"
+ "glGetUniformBlockIndex\0"
+ "glGetUniformIndices\0"
+ "glUniformBlockBinding\0"
+ "glCopyBufferSubData\0"
+ "glClientWaitSync\0"
+ "glDeleteSync\0"
+ "glFenceSync\0"
+ "glGetInteger64v\0"
+ "glGetSynciv\0"
+ "glIsSync\0"
+ "glWaitSync\0"
+ "glDrawElementsBaseVertex\0"
+ "glDrawElementsInstancedBaseVertex\0"
+ "glDrawRangeElementsBaseVertex\0"
+ "glMultiDrawElementsBaseVertex\0"
+ "glProvokingVertex\0"
+ "glGetMultisamplefv\0"
+ "glSampleMaski\0"
+ "glTexImage2DMultisample\0"
+ "glTexImage3DMultisample\0"
+ "glBlendEquationSeparateiARB\0"
+ "glBlendEquationiARB\0"
+ "glBlendFuncSeparateiARB\0"
+ "glBlendFunciARB\0"
+ "glBindFragDataLocationIndexed\0"
+ "glGetFragDataIndex\0"
+ "glBindSampler\0"
+ "glDeleteSamplers\0"
+ "glGenSamplers\0"
+ "glGetSamplerParameterIiv\0"
+ "glGetSamplerParameterIuiv\0"
+ "glGetSamplerParameterfv\0"
+ "glGetSamplerParameteriv\0"
+ "glIsSampler\0"
+ "glSamplerParameterIiv\0"
+ "glSamplerParameterIuiv\0"
+ "glSamplerParameterf\0"
+ "glSamplerParameterfv\0"
+ "glSamplerParameteri\0"
+ "glSamplerParameteriv\0"
+ "glGetQueryObjecti64v\0"
+ "glGetQueryObjectui64v\0"
+ "glQueryCounter\0"
+ "glColorP3ui\0"
+ "glColorP3uiv\0"
+ "glColorP4ui\0"
+ "glColorP4uiv\0"
+ "glMultiTexCoordP1ui\0"
+ "glMultiTexCoordP1uiv\0"
+ "glMultiTexCoordP2ui\0"
+ "glMultiTexCoordP2uiv\0"
+ "glMultiTexCoordP3ui\0"
+ "glMultiTexCoordP3uiv\0"
+ "glMultiTexCoordP4ui\0"
+ "glMultiTexCoordP4uiv\0"
+ "glNormalP3ui\0"
+ "glNormalP3uiv\0"
+ "glSecondaryColorP3ui\0"
+ "glSecondaryColorP3uiv\0"
+ "glTexCoordP1ui\0"
+ "glTexCoordP1uiv\0"
+ "glTexCoordP2ui\0"
+ "glTexCoordP2uiv\0"
+ "glTexCoordP3ui\0"
+ "glTexCoordP3uiv\0"
+ "glTexCoordP4ui\0"
+ "glTexCoordP4uiv\0"
+ "glVertexAttribP1ui\0"
+ "glVertexAttribP1uiv\0"
+ "glVertexAttribP2ui\0"
+ "glVertexAttribP2uiv\0"
+ "glVertexAttribP3ui\0"
+ "glVertexAttribP3uiv\0"
+ "glVertexAttribP4ui\0"
+ "glVertexAttribP4uiv\0"
+ "glVertexP2ui\0"
+ "glVertexP2uiv\0"
+ "glVertexP3ui\0"
+ "glVertexP3uiv\0"
+ "glVertexP4ui\0"
+ "glVertexP4uiv\0"
+ "glBindTransformFeedback\0"
+ "glDeleteTransformFeedbacks\0"
+ "glDrawTransformFeedback\0"
+ "glGenTransformFeedbacks\0"
+ "glIsTransformFeedback\0"
+ "glPauseTransformFeedback\0"
+ "glResumeTransformFeedback\0"
+ "glBeginQueryIndexed\0"
+ "glDrawTransformFeedbackStream\0"
+ "glEndQueryIndexed\0"
+ "glGetQueryIndexediv\0"
+ "glClearDepthf\0"
+ "glDepthRangef\0"
+ "glGetShaderPrecisionFormat\0"
+ "glReleaseShaderCompiler\0"
+ "glShaderBinary\0"
+ "glGetProgramBinary\0"
+ "glProgramBinary\0"
+ "glProgramParameteri\0"
+ "glDebugMessageCallbackARB\0"
+ "glDebugMessageControlARB\0"
+ "glDebugMessageInsertARB\0"
+ "glGetDebugMessageLogARB\0"
+ "glGetGraphicsResetStatusARB\0"
+ "glGetnColorTableARB\0"
+ "glGetnCompressedTexImageARB\0"
+ "glGetnConvolutionFilterARB\0"
+ "glGetnHistogramARB\0"
+ "glGetnMapdvARB\0"
+ "glGetnMapfvARB\0"
+ "glGetnMapivARB\0"
+ "glGetnMinmaxARB\0"
+ "glGetnPixelMapfvARB\0"
+ "glGetnPixelMapuivARB\0"
+ "glGetnPixelMapusvARB\0"
+ "glGetnPolygonStippleARB\0"
+ "glGetnSeparableFilterARB\0"
+ "glGetnTexImageARB\0"
+ "glGetnUniformdvARB\0"
+ "glGetnUniformfvARB\0"
+ "glGetnUniformivARB\0"
+ "glGetnUniformuivARB\0"
+ "glReadnPixelsARB\0"
+ "glDrawArraysInstancedBaseInstance\0"
+ "glDrawElementsInstancedBaseInstance\0"
+ "glDrawElementsInstancedBaseVertexBaseInstance\0"
+ "glDrawTransformFeedbackInstanced\0"
+ "glDrawTransformFeedbackStreamInstanced\0"
+ "glGetInternalformativ\0"
+ "glTexStorage1D\0"
+ "glTexStorage2D\0"
+ "glTexStorage3D\0"
+ "glTextureStorage1DEXT\0"
+ "glTextureStorage2DEXT\0"
+ "glTextureStorage3DEXT\0"
+ "glTexBufferRange\0"
+ "glInvalidateBufferData\0"
+ "glInvalidateBufferSubData\0"
+ "glInvalidateFramebuffer\0"
+ "glInvalidateSubFramebuffer\0"
+ "glInvalidateTexImage\0"
+ "glInvalidateTexSubImage\0"
+ "glPolygonOffsetEXT\0"
+ "glDrawTexfOES\0"
+ "glDrawTexfvOES\0"
+ "glDrawTexiOES\0"
+ "glDrawTexivOES\0"
+ "glDrawTexsOES\0"
+ "glDrawTexsvOES\0"
+ "glDrawTexxOES\0"
+ "glDrawTexxvOES\0"
+ "glPointSizePointerOES\0"
+ "glQueryMatrixxOES\0"
+ "glSampleMaskSGIS\0"
+ "glSamplePatternSGIS\0"
+ "glColorPointerEXT\0"
+ "glEdgeFlagPointerEXT\0"
+ "glIndexPointerEXT\0"
+ "glNormalPointerEXT\0"
+ "glTexCoordPointerEXT\0"
+ "glVertexPointerEXT\0"
+ "glDiscardFramebufferEXT\0"
+ "glLockArraysEXT\0"
+ "glUnlockArraysEXT\0"
+ "glSecondaryColor3fEXT\0"
+ "glSecondaryColor3fvEXT\0"
+ "glMultiDrawElementsEXT\0"
+ "glFogCoordfEXT\0"
+ "glFogCoordfvEXT\0"
+ "glResizeBuffersMESA\0"
+ "glWindowPos4dMESA\0"
+ "glWindowPos4dvMESA\0"
+ "glWindowPos4fMESA\0"
+ "glWindowPos4fvMESA\0"
+ "glWindowPos4iMESA\0"
+ "glWindowPos4ivMESA\0"
+ "glWindowPos4sMESA\0"
+ "glWindowPos4svMESA\0"
+ "glMultiModeDrawArraysIBM\0"
+ "glMultiModeDrawElementsIBM\0"
+ "glAreProgramsResidentNV\0"
+ "glExecuteProgramNV\0"
+ "glGetProgramParameterdvNV\0"
+ "glGetProgramParameterfvNV\0"
+ "glGetProgramStringNV\0"
+ "glGetProgramivNV\0"
+ "glGetTrackMatrixivNV\0"
+ "glGetVertexAttribdvNV\0"
+ "glGetVertexAttribfvNV\0"
+ "glGetVertexAttribivNV\0"
+ "glLoadProgramNV\0"
+ "glProgramParameters4dvNV\0"
+ "glProgramParameters4fvNV\0"
+ "glRequestResidentProgramsNV\0"
+ "glTrackMatrixNV\0"
+ "glVertexAttrib1dNV\0"
+ "glVertexAttrib1dvNV\0"
+ "glVertexAttrib1fNV\0"
+ "glVertexAttrib1fvNV\0"
+ "glVertexAttrib1sNV\0"
+ "glVertexAttrib1svNV\0"
+ "glVertexAttrib2dNV\0"
+ "glVertexAttrib2dvNV\0"
+ "glVertexAttrib2fNV\0"
+ "glVertexAttrib2fvNV\0"
+ "glVertexAttrib2sNV\0"
+ "glVertexAttrib2svNV\0"
+ "glVertexAttrib3dNV\0"
+ "glVertexAttrib3dvNV\0"
+ "glVertexAttrib3fNV\0"
+ "glVertexAttrib3fvNV\0"
+ "glVertexAttrib3sNV\0"
+ "glVertexAttrib3svNV\0"
+ "glVertexAttrib4dNV\0"
+ "glVertexAttrib4dvNV\0"
+ "glVertexAttrib4fNV\0"
+ "glVertexAttrib4fvNV\0"
+ "glVertexAttrib4sNV\0"
+ "glVertexAttrib4svNV\0"
+ "glVertexAttrib4ubNV\0"
+ "glVertexAttrib4ubvNV\0"
+ "glVertexAttribPointerNV\0"
+ "glVertexAttribs1dvNV\0"
+ "glVertexAttribs1fvNV\0"
+ "glVertexAttribs1svNV\0"
+ "glVertexAttribs2dvNV\0"
+ "glVertexAttribs2fvNV\0"
+ "glVertexAttribs2svNV\0"
+ "glVertexAttribs3dvNV\0"
+ "glVertexAttribs3fvNV\0"
+ "glVertexAttribs3svNV\0"
+ "glVertexAttribs4dvNV\0"
+ "glVertexAttribs4fvNV\0"
+ "glVertexAttribs4svNV\0"
+ "glVertexAttribs4ubvNV\0"
+ "glGetTexBumpParameterfvATI\0"
+ "glGetTexBumpParameterivATI\0"
+ "glTexBumpParameterfvATI\0"
+ "glTexBumpParameterivATI\0"
+ "glAlphaFragmentOp1ATI\0"
+ "glAlphaFragmentOp2ATI\0"
+ "glAlphaFragmentOp3ATI\0"
+ "glBeginFragmentShaderATI\0"
+ "glBindFragmentShaderATI\0"
+ "glColorFragmentOp1ATI\0"
+ "glColorFragmentOp2ATI\0"
+ "glColorFragmentOp3ATI\0"
+ "glDeleteFragmentShaderATI\0"
+ "glEndFragmentShaderATI\0"
+ "glGenFragmentShadersATI\0"
+ "glPassTexCoordATI\0"
+ "glSampleMapATI\0"
+ "glSetFragmentShaderConstantATI\0"
+ "glActiveStencilFaceEXT\0"
+ "glBindVertexArrayAPPLE\0"
+ "glGenVertexArraysAPPLE\0"
+ "glGetProgramNamedParameterdvNV\0"
+ "glGetProgramNamedParameterfvNV\0"
+ "glProgramNamedParameter4dNV\0"
+ "glProgramNamedParameter4dvNV\0"
+ "glProgramNamedParameter4fNV\0"
+ "glProgramNamedParameter4fvNV\0"
+ "glPrimitiveRestartNV\0"
+ "glGetTexGenxvOES\0"
+ "glTexGenxOES\0"
+ "glTexGenxvOES\0"
+ "glDepthBoundsEXT\0"
+ "glBufferParameteriAPPLE\0"
+ "glFlushMappedBufferRangeAPPLE\0"
+ "glVertexAttribI1iEXT\0"
+ "glVertexAttribI1uiEXT\0"
+ "glVertexAttribI2iEXT\0"
+ "glVertexAttribI2ivEXT\0"
+ "glVertexAttribI2uiEXT\0"
+ "glVertexAttribI2uivEXT\0"
+ "glVertexAttribI3iEXT\0"
+ "glVertexAttribI3ivEXT\0"
+ "glVertexAttribI3uiEXT\0"
+ "glVertexAttribI3uivEXT\0"
+ "glVertexAttribI4iEXT\0"
+ "glVertexAttribI4ivEXT\0"
+ "glVertexAttribI4uiEXT\0"
+ "glVertexAttribI4uivEXT\0"
+ "glClearColorIiEXT\0"
+ "glClearColorIuiEXT\0"
+ "glBindBufferOffsetEXT\0"
+ "glGetObjectParameterivAPPLE\0"
+ "glObjectPurgeableAPPLE\0"
+ "glObjectUnpurgeableAPPLE\0"
+ "glActiveProgramEXT\0"
+ "glCreateShaderProgramEXT\0"
+ "glUseShaderProgramEXT\0"
+ "glTextureBarrierNV\0"
+ "glStencilFuncSeparateATI\0"
+ "glProgramEnvParameters4fvEXT\0"
+ "glProgramLocalParameters4fvEXT\0"
+ "glEGLImageTargetRenderbufferStorageOES\0"
+ "glEGLImageTargetTexture2DOES\0"
+ "glAlphaFuncx\0"
+ "glClearColorx\0"
+ "glClearDepthx\0"
+ "glColor4x\0"
+ "glDepthRangex\0"
+ "glFogx\0"
+ "glFogxv\0"
+ "glFrustumf\0"
+ "glFrustumx\0"
+ "glLightModelx\0"
+ "glLightModelxv\0"
+ "glLightx\0"
+ "glLightxv\0"
+ "glLineWidthx\0"
+ "glLoadMatrixx\0"
+ "glMaterialx\0"
+ "glMaterialxv\0"
+ "glMultMatrixx\0"
+ "glMultiTexCoord4x\0"
+ "glNormal3x\0"
+ "glOrthof\0"
+ "glOrthox\0"
+ "glPointSizex\0"
+ "glPolygonOffsetx\0"
+ "glRotatex\0"
+ "glSampleCoveragex\0"
+ "glScalex\0"
+ "glTexEnvx\0"
+ "glTexEnvxv\0"
+ "glTexParameterx\0"
+ "glTranslatex\0"
+ "glClipPlanef\0"
+ "glClipPlanex\0"
+ "glGetClipPlanef\0"
+ "glGetClipPlanex\0"
+ "glGetFixedv\0"
+ "glGetLightxv\0"
+ "glGetMaterialxv\0"
+ "glGetTexEnvxv\0"
+ "glGetTexParameterxv\0"
+ "glPointParameterx\0"
+ "glPointParameterxv\0"
+ "glTexParameterxv\0"
+ "glTexGenfOES\0"
+ "glTexGenfvOES\0"
+ "glTexGeniOES\0"
+ "glTexGenivOES\0"
+ "glReadBufferNV\0"
+ "glGetTexGenfvOES\0"
+ "glGetTexGenivOES\0"
+ "glArrayElementEXT\0"
+ "glBindTextureEXT\0"
+ "glDrawArraysEXT\0"
+ "glAreTexturesResidentEXT\0"
+ "glCopyTexImage1DEXT\0"
+ "glCopyTexImage2DEXT\0"
+ "glCopyTexSubImage1DEXT\0"
+ "glCopyTexSubImage2DEXT\0"
+ "glDeleteTexturesEXT\0"
+ "glGenTexturesEXT\0"
+ "glGetPointervEXT\0"
+ "glIsTextureEXT\0"
+ "glPrioritizeTexturesEXT\0"
+ "glTexSubImage1DEXT\0"
+ "glTexSubImage2DEXT\0"
+ "glBlendColorEXT\0"
+ "glBlendEquationEXT\0"
+ "glBlendEquationOES\0"
+ "glDrawRangeElementsEXT\0"
+ "glColorTableSGI\0"
+ "glColorTableEXT\0"
+ "glColorTableParameterfvSGI\0"
+ "glColorTableParameterivSGI\0"
+ "glCopyColorTableSGI\0"
+ "glGetColorTableSGI\0"
+ "glGetColorTableEXT\0"
+ "glGetColorTableParameterfvSGI\0"
+ "glGetColorTableParameterfvEXT\0"
+ "glGetColorTableParameterivSGI\0"
+ "glGetColorTableParameterivEXT\0"
+ "glColorSubTableEXT\0"
+ "glCopyColorSubTableEXT\0"
+ "glConvolutionFilter1DEXT\0"
+ "glConvolutionFilter2DEXT\0"
+ "glConvolutionParameterfEXT\0"
+ "glConvolutionParameterfvEXT\0"
+ "glConvolutionParameteriEXT\0"
+ "glConvolutionParameterivEXT\0"
+ "glCopyConvolutionFilter1DEXT\0"
+ "glCopyConvolutionFilter2DEXT\0"
+ "glGetConvolutionFilterEXT\0"
+ "glGetConvolutionParameterfvEXT\0"
+ "glGetConvolutionParameterivEXT\0"
+ "glGetSeparableFilterEXT\0"
+ "glSeparableFilter2DEXT\0"
+ "glGetHistogramEXT\0"
+ "glGetHistogramParameterfvEXT\0"
+ "glGetHistogramParameterivEXT\0"
+ "glGetMinmaxEXT\0"
+ "glGetMinmaxParameterfvEXT\0"
+ "glGetMinmaxParameterivEXT\0"
+ "glHistogramEXT\0"
+ "glMinmaxEXT\0"
+ "glResetHistogramEXT\0"
+ "glResetMinmaxEXT\0"
+ "glTexImage3DEXT\0"
+ "glTexImage3DOES\0"
+ "glTexSubImage3DEXT\0"
+ "glTexSubImage3DOES\0"
+ "glCopyTexSubImage3DEXT\0"
+ "glCopyTexSubImage3DOES\0"
+ "glActiveTextureARB\0"
+ "glClientActiveTextureARB\0"
+ "glMultiTexCoord1dARB\0"
+ "glMultiTexCoord1dvARB\0"
+ "glMultiTexCoord1f\0"
+ "glMultiTexCoord1fv\0"
+ "glMultiTexCoord1iARB\0"
+ "glMultiTexCoord1ivARB\0"
+ "glMultiTexCoord1sARB\0"
+ "glMultiTexCoord1svARB\0"
+ "glMultiTexCoord2dARB\0"
+ "glMultiTexCoord2dvARB\0"
+ "glMultiTexCoord2f\0"
+ "glMultiTexCoord2fv\0"
+ "glMultiTexCoord2iARB\0"
+ "glMultiTexCoord2ivARB\0"
+ "glMultiTexCoord2sARB\0"
+ "glMultiTexCoord2svARB\0"
+ "glMultiTexCoord3dARB\0"
+ "glMultiTexCoord3dvARB\0"
+ "glMultiTexCoord3f\0"
+ "glMultiTexCoord3fv\0"
+ "glMultiTexCoord3iARB\0"
+ "glMultiTexCoord3ivARB\0"
+ "glMultiTexCoord3sARB\0"
+ "glMultiTexCoord3svARB\0"
+ "glMultiTexCoord4dARB\0"
+ "glMultiTexCoord4dvARB\0"
+ "glMultiTexCoord4f\0"
+ "glMultiTexCoord4fv\0"
+ "glMultiTexCoord4iARB\0"
+ "glMultiTexCoord4ivARB\0"
+ "glMultiTexCoord4sARB\0"
+ "glMultiTexCoord4svARB\0"
+ "glCompressedTexImage1DARB\0"
+ "glCompressedTexImage2DARB\0"
+ "glCompressedTexImage3DARB\0"
+ "glCompressedTexImage3DOES\0"
+ "glCompressedTexSubImage1DARB\0"
+ "glCompressedTexSubImage2DARB\0"
+ "glCompressedTexSubImage3DARB\0"
+ "glCompressedTexSubImage3DOES\0"
+ "glGetCompressedTexImageARB\0"
+ "glLoadTransposeMatrixdARB\0"
+ "glLoadTransposeMatrixfARB\0"
+ "glMultTransposeMatrixdARB\0"
+ "glMultTransposeMatrixfARB\0"
+ "glSampleCoverageARB\0"
+ "glBlendFuncSeparateEXT\0"
+ "glBlendFuncSeparateINGR\0"
+ "glBlendFuncSeparateOES\0"
+ "glFogCoordPointerEXT\0"
+ "glFogCoorddEXT\0"
+ "glFogCoorddvEXT\0"
+ "glMultiDrawArraysEXT\0"
+ "glPointParameterfARB\0"
+ "glPointParameterfEXT\0"
+ "glPointParameterfSGIS\0"
+ "glPointParameterfvARB\0"
+ "glPointParameterfvEXT\0"
+ "glPointParameterfvSGIS\0"
+ "glPointParameteriNV\0"
+ "glPointParameterivNV\0"
+ "glSecondaryColor3bEXT\0"
+ "glSecondaryColor3bvEXT\0"
+ "glSecondaryColor3dEXT\0"
+ "glSecondaryColor3dvEXT\0"
+ "glSecondaryColor3iEXT\0"
+ "glSecondaryColor3ivEXT\0"
+ "glSecondaryColor3sEXT\0"
+ "glSecondaryColor3svEXT\0"
+ "glSecondaryColor3ubEXT\0"
+ "glSecondaryColor3ubvEXT\0"
+ "glSecondaryColor3uiEXT\0"
+ "glSecondaryColor3uivEXT\0"
+ "glSecondaryColor3usEXT\0"
+ "glSecondaryColor3usvEXT\0"
+ "glSecondaryColorPointerEXT\0"
+ "glWindowPos2dARB\0"
+ "glWindowPos2dMESA\0"
+ "glWindowPos2dvARB\0"
+ "glWindowPos2dvMESA\0"
+ "glWindowPos2fARB\0"
+ "glWindowPos2fMESA\0"
+ "glWindowPos2fvARB\0"
+ "glWindowPos2fvMESA\0"
+ "glWindowPos2iARB\0"
+ "glWindowPos2iMESA\0"
+ "glWindowPos2ivARB\0"
+ "glWindowPos2ivMESA\0"
+ "glWindowPos2sARB\0"
+ "glWindowPos2sMESA\0"
+ "glWindowPos2svARB\0"
+ "glWindowPos2svMESA\0"
+ "glWindowPos3dARB\0"
+ "glWindowPos3dMESA\0"
+ "glWindowPos3dvARB\0"
+ "glWindowPos3dvMESA\0"
+ "glWindowPos3fARB\0"
+ "glWindowPos3fMESA\0"
+ "glWindowPos3fvARB\0"
+ "glWindowPos3fvMESA\0"
+ "glWindowPos3iARB\0"
+ "glWindowPos3iMESA\0"
+ "glWindowPos3ivARB\0"
+ "glWindowPos3ivMESA\0"
+ "glWindowPos3sARB\0"
+ "glWindowPos3sMESA\0"
+ "glWindowPos3svARB\0"
+ "glWindowPos3svMESA\0"
+ "glBeginQueryARB\0"
+ "glBindBufferARB\0"
+ "glBufferDataARB\0"
+ "glBufferSubDataARB\0"
+ "glDeleteBuffersARB\0"
+ "glDeleteQueriesARB\0"
+ "glEndQueryARB\0"
+ "glGenBuffersARB\0"
+ "glGenQueriesARB\0"
+ "glGetBufferParameterivARB\0"
+ "glGetBufferPointervARB\0"
+ "glGetBufferPointervOES\0"
+ "glGetBufferSubDataARB\0"
+ "glGetQueryObjectivARB\0"
+ "glGetQueryObjectuivARB\0"
+ "glGetQueryivARB\0"
+ "glIsBufferARB\0"
+ "glIsQueryARB\0"
+ "glMapBufferARB\0"
+ "glMapBufferOES\0"
+ "glUnmapBufferARB\0"
+ "glUnmapBufferOES\0"
+ "glBindAttribLocationARB\0"
+ "glBlendEquationSeparateEXT\0"
+ "glBlendEquationSeparateATI\0"
+ "glBlendEquationSeparateOES\0"
+ "glCompileShaderARB\0"
+ "glDisableVertexAttribArrayARB\0"
+ "glDrawBuffersARB\0"
+ "glDrawBuffersATI\0"
+ "glDrawBuffersNV\0"
+ "glEnableVertexAttribArrayARB\0"
+ "glGetActiveAttribARB\0"
+ "glGetActiveUniformARB\0"
+ "glGetAttribLocationARB\0"
+ "glGetShaderSourceARB\0"
+ "glGetUniformLocationARB\0"
+ "glGetUniformfvARB\0"
+ "glGetUniformivARB\0"
+ "glGetVertexAttribPointervARB\0"
+ "glGetVertexAttribPointervNV\0"
+ "glGetVertexAttribdvARB\0"
+ "glGetVertexAttribfvARB\0"
+ "glGetVertexAttribivARB\0"
+ "glLinkProgramARB\0"
+ "glShaderSourceARB\0"
+ "glStencilOpSeparateATI\0"
+ "glUniform1fARB\0"
+ "glUniform1fvARB\0"
+ "glUniform1iARB\0"
+ "glUniform1ivARB\0"
+ "glUniform2fARB\0"
+ "glUniform2fvARB\0"
+ "glUniform2iARB\0"
+ "glUniform2ivARB\0"
+ "glUniform3fARB\0"
+ "glUniform3fvARB\0"
+ "glUniform3iARB\0"
+ "glUniform3ivARB\0"
+ "glUniform4fARB\0"
+ "glUniform4fvARB\0"
+ "glUniform4iARB\0"
+ "glUniform4ivARB\0"
+ "glUniformMatrix2fvARB\0"
+ "glUniformMatrix3fvARB\0"
+ "glUniformMatrix4fvARB\0"
+ "glUseProgramObjectARB\0"
+ "glValidateProgramARB\0"
+ "glVertexAttrib1dARB\0"
+ "glVertexAttrib1dvARB\0"
+ "glVertexAttrib1sARB\0"
+ "glVertexAttrib1svARB\0"
+ "glVertexAttrib2dARB\0"
+ "glVertexAttrib2dvARB\0"
+ "glVertexAttrib2sARB\0"
+ "glVertexAttrib2svARB\0"
+ "glVertexAttrib3dARB\0"
+ "glVertexAttrib3dvARB\0"
+ "glVertexAttrib3sARB\0"
+ "glVertexAttrib3svARB\0"
+ "glVertexAttrib4NbvARB\0"
+ "glVertexAttrib4NivARB\0"
+ "glVertexAttrib4NsvARB\0"
+ "glVertexAttrib4NubARB\0"
+ "glVertexAttrib4NubvARB\0"
+ "glVertexAttrib4NuivARB\0"
+ "glVertexAttrib4NusvARB\0"
+ "glVertexAttrib4bvARB\0"
+ "glVertexAttrib4dARB\0"
+ "glVertexAttrib4dvARB\0"
+ "glVertexAttrib4ivARB\0"
+ "glVertexAttrib4sARB\0"
+ "glVertexAttrib4svARB\0"
+ "glVertexAttrib4ubvARB\0"
+ "glVertexAttrib4uivARB\0"
+ "glVertexAttrib4usvARB\0"
+ "glVertexAttribPointerARB\0"
+ "glBeginConditionalRenderNV\0"
+ "glBeginTransformFeedbackEXT\0"
+ "glBindBufferBaseEXT\0"
+ "glBindBufferRangeEXT\0"
+ "glBindFragDataLocationEXT\0"
+ "glClampColorARB\0"
+ "glColorMaskIndexedEXT\0"
+ "glDisableIndexedEXT\0"
+ "glEnableIndexedEXT\0"
+ "glEndConditionalRenderNV\0"
+ "glEndTransformFeedbackEXT\0"
+ "glGetBooleanIndexedvEXT\0"
+ "glGetFragDataLocationEXT\0"
+ "glGetIntegerIndexedvEXT\0"
+ "glGetTexParameterIivEXT\0"
+ "glGetTexParameterIuivEXT\0"
+ "glGetTransformFeedbackVaryingEXT\0"
+ "glGetUniformuivEXT\0"
+ "glGetVertexAttribIivEXT\0"
+ "glGetVertexAttribIuivEXT\0"
+ "glIsEnabledIndexedEXT\0"
+ "glTexParameterIivEXT\0"
+ "glTexParameterIuivEXT\0"
+ "glTransformFeedbackVaryingsEXT\0"
+ "glUniform1uiEXT\0"
+ "glUniform1uivEXT\0"
+ "glUniform2uiEXT\0"
+ "glUniform2uivEXT\0"
+ "glUniform3uiEXT\0"
+ "glUniform3uivEXT\0"
+ "glUniform4uiEXT\0"
+ "glUniform4uivEXT\0"
+ "glVertexAttribI1ivEXT\0"
+ "glVertexAttribI1uivEXT\0"
+ "glVertexAttribI4bvEXT\0"
+ "glVertexAttribI4svEXT\0"
+ "glVertexAttribI4ubvEXT\0"
+ "glVertexAttribI4usvEXT\0"
+ "glVertexAttribIPointerEXT\0"
+ "glPrimitiveRestartIndexNV\0"
+ "glTexBufferARB\0"
+ "glFramebufferTextureARB\0"
+ "glVertexAttribDivisorARB\0"
+ "glBindProgramNV\0"
+ "glDeleteProgramsNV\0"
+ "glGenProgramsNV\0"
+ "glIsProgramNV\0"
+ "glProgramParameter4dNV\0"
+ "glProgramParameter4dvNV\0"
+ "glProgramParameter4fNV\0"
+ "glProgramParameter4fvNV\0"
+ "glVertexAttrib1f\0"
+ "glVertexAttrib1fv\0"
+ "glVertexAttrib2f\0"
+ "glVertexAttrib2fv\0"
+ "glVertexAttrib3f\0"
+ "glVertexAttrib3fv\0"
+ "glVertexAttrib4f\0"
+ "glVertexAttrib4fv\0"
+ "glDrawArraysInstancedEXT\0"
+ "glDrawArraysInstanced\0"
+ "glDrawElementsInstancedEXT\0"
+ "glDrawElementsInstanced\0"
+ "glBindFramebufferEXT\0"
+ "glBindFramebufferOES\0"
+ "glBindRenderbufferEXT\0"
+ "glBindRenderbufferOES\0"
+ "glBlitFramebufferEXT\0"
+ "glCheckFramebufferStatusEXT\0"
+ "glCheckFramebufferStatusOES\0"
+ "glDeleteFramebuffersEXT\0"
+ "glDeleteFramebuffersOES\0"
+ "glDeleteRenderbuffersEXT\0"
+ "glDeleteRenderbuffersOES\0"
+ "glFramebufferRenderbufferEXT\0"
+ "glFramebufferRenderbufferOES\0"
+ "glFramebufferTexture1DEXT\0"
+ "glFramebufferTexture2DEXT\0"
+ "glFramebufferTexture2DOES\0"
+ "glFramebufferTexture3DEXT\0"
+ "glFramebufferTexture3DOES\0"
+ "glFramebufferTextureLayerARB\0"
+ "glFramebufferTextureLayerEXT\0"
+ "glGenFramebuffersEXT\0"
+ "glGenFramebuffersOES\0"
+ "glGenRenderbuffersEXT\0"
+ "glGenRenderbuffersOES\0"
+ "glGenerateMipmapEXT\0"
+ "glGenerateMipmapOES\0"
+ "glGetFramebufferAttachmentParameterivEXT\0"
+ "glGetFramebufferAttachmentParameterivOES\0"
+ "glGetRenderbufferParameterivEXT\0"
+ "glGetRenderbufferParameterivOES\0"
+ "glIsFramebufferEXT\0"
+ "glIsFramebufferOES\0"
+ "glIsRenderbufferEXT\0"
+ "glIsRenderbufferOES\0"
+ "glRenderbufferStorageEXT\0"
+ "glRenderbufferStorageOES\0"
+ "glRenderbufferStorageMultisampleEXT\0"
+ "glFlushMappedBufferRangeEXT\0"
+ "glMapBufferRangeEXT\0"
+ "glBindVertexArrayOES\0"
+ "glDeleteVertexArraysAPPLE\0"
+ "glDeleteVertexArraysOES\0"
+ "glGenVertexArraysOES\0"
+ "glIsVertexArrayAPPLE\0"
+ "glIsVertexArrayOES\0"
+ "glProvokingVertexEXT\0"
+ "glBlendEquationSeparateIndexedAMD\0"
+ "glBlendEquationIndexedAMD\0"
+ "glBlendFuncSeparateIndexedAMD\0"
+ "glBlendFuncIndexedAMD\0"
+ "glGetQueryObjecti64vEXT\0"
+ "glGetQueryObjectui64vEXT\0"
+ "glClearDepthfOES\0"
+ "glDepthRangefOES\0"
+ "glGetProgramBinaryOES\0"
+ "glProgramBinaryOES\0"
+ "glProgramParameteriARB\0"
+ "glSampleMaskEXT\0"
+ "glSamplePatternEXT\0"
+ "glSecondaryColor3f\0"
+ "glSecondaryColor3fv\0"
+ "glMultiDrawElements\0"
+ "glFogCoordf\0"
+ "glFogCoordfv\0"
+ "glVertexAttribI1i\0"
+ "glVertexAttribI1ui\0"
+ "glVertexAttribI2i\0"
+ "glVertexAttribI2iv\0"
+ "glVertexAttribI2ui\0"
+ "glVertexAttribI2uiv\0"
+ "glVertexAttribI3i\0"
+ "glVertexAttribI3iv\0"
+ "glVertexAttribI3ui\0"
+ "glVertexAttribI3uiv\0"
+ "glVertexAttribI4i\0"
+ "glVertexAttribI4iv\0"
+ "glVertexAttribI4ui\0"
+ "glVertexAttribI4uiv\0"
+ "glAlphaFuncxOES\0"
+ "glClearColorxOES\0"
+ "glClearDepthxOES\0"
+ "glColor4xOES\0"
+ "glDepthRangexOES\0"
+ "glFogxOES\0"
+ "glFogxvOES\0"
+ "glFrustumfOES\0"
+ "glFrustumxOES\0"
+ "glLightModelxOES\0"
+ "glLightModelxvOES\0"
+ "glLightxOES\0"
+ "glLightxvOES\0"
+ "glLineWidthxOES\0"
+ "glLoadMatrixxOES\0"
+ "glMaterialxOES\0"
+ "glMaterialxvOES\0"
+ "glMultMatrixxOES\0"
+ "glMultiTexCoord4xOES\0"
+ "glNormal3xOES\0"
+ "glOrthofOES\0"
+ "glOrthoxOES\0"
+ "glPointSizexOES\0"
+ "glPolygonOffsetxOES\0"
+ "glRotatexOES\0"
+ "glSampleCoveragexOES\0"
+ "glScalexOES\0"
+ "glTexEnvxOES\0"
+ "glTexEnvxvOES\0"
+ "glTexParameterxOES\0"
+ "glTranslatexOES\0"
+ "glClipPlanefOES\0"
+ "glClipPlanexOES\0"
+ "glGetClipPlanefOES\0"
+ "glGetClipPlanexOES\0"
+ "glGetFixedvOES\0"
+ "glGetLightxvOES\0"
+ "glGetMaterialxvOES\0"
+ "glGetTexEnvxvOES\0"
+ "glGetTexParameterxvOES\0"
+ "glPointParameterxOES\0"
+ "glPointParameterxvOES\0"
+ "glTexParameterxvOES\0"
+ ;
+
+
+#ifdef USE_MGL_NAMESPACE
+#define gl_dispatch_stub_343 mgl_dispatch_stub_343
+#define gl_dispatch_stub_344 mgl_dispatch_stub_344
+#define gl_dispatch_stub_345 mgl_dispatch_stub_345
+#define gl_dispatch_stub_356 mgl_dispatch_stub_356
+#define gl_dispatch_stub_357 mgl_dispatch_stub_357
+#define gl_dispatch_stub_358 mgl_dispatch_stub_358
+#define gl_dispatch_stub_359 mgl_dispatch_stub_359
+#define gl_dispatch_stub_361 mgl_dispatch_stub_361
+#define gl_dispatch_stub_362 mgl_dispatch_stub_362
+#define gl_dispatch_stub_363 mgl_dispatch_stub_363
+#define gl_dispatch_stub_364 mgl_dispatch_stub_364
+#define gl_dispatch_stub_365 mgl_dispatch_stub_365
+#define gl_dispatch_stub_366 mgl_dispatch_stub_366
+#define gl_dispatch_stub_730 mgl_dispatch_stub_730
+#define gl_dispatch_stub_731 mgl_dispatch_stub_731
+#define gl_dispatch_stub_732 mgl_dispatch_stub_732
+#define gl_dispatch_stub_819 mgl_dispatch_stub_819
+#define gl_dispatch_stub_834 mgl_dispatch_stub_834
+#define gl_dispatch_stub_835 mgl_dispatch_stub_835
+#define gl_dispatch_stub_836 mgl_dispatch_stub_836
+#define gl_dispatch_stub_837 mgl_dispatch_stub_837
+#define gl_dispatch_stub_838 mgl_dispatch_stub_838
+#define gl_dispatch_stub_839 mgl_dispatch_stub_839
+#define gl_dispatch_stub_840 mgl_dispatch_stub_840
+#define gl_dispatch_stub_841 mgl_dispatch_stub_841
+#define gl_dispatch_stub_842 mgl_dispatch_stub_842
+#define gl_dispatch_stub_843 mgl_dispatch_stub_843
+#define gl_dispatch_stub_844 mgl_dispatch_stub_844
+#define gl_dispatch_stub_845 mgl_dispatch_stub_845
+#define gl_dispatch_stub_852 mgl_dispatch_stub_852
+#define gl_dispatch_stub_869 mgl_dispatch_stub_869
+#define gl_dispatch_stub_870 mgl_dispatch_stub_870
+#define gl_dispatch_stub_944 mgl_dispatch_stub_944
+#define gl_dispatch_stub_945 mgl_dispatch_stub_945
+#define gl_dispatch_stub_946 mgl_dispatch_stub_946
+#define gl_dispatch_stub_954 mgl_dispatch_stub_954
+#define gl_dispatch_stub_955 mgl_dispatch_stub_955
+#define gl_dispatch_stub_956 mgl_dispatch_stub_956
+#define gl_dispatch_stub_957 mgl_dispatch_stub_957
+#define gl_dispatch_stub_958 mgl_dispatch_stub_958
+#define gl_dispatch_stub_959 mgl_dispatch_stub_959
+#define gl_dispatch_stub_984 mgl_dispatch_stub_984
+#define gl_dispatch_stub_985 mgl_dispatch_stub_985
+#define gl_dispatch_stub_986 mgl_dispatch_stub_986
+#define gl_dispatch_stub_989 mgl_dispatch_stub_989
+#define gl_dispatch_stub_990 mgl_dispatch_stub_990
+#define gl_dispatch_stub_991 mgl_dispatch_stub_991
+#define gl_dispatch_stub_992 mgl_dispatch_stub_992
+#define gl_dispatch_stub_993 mgl_dispatch_stub_993
+#define gl_dispatch_stub_994 mgl_dispatch_stub_994
+#define gl_dispatch_stub_995 mgl_dispatch_stub_995
+#define gl_dispatch_stub_996 mgl_dispatch_stub_996
+#define gl_dispatch_stub_997 mgl_dispatch_stub_997
+#define gl_dispatch_stub_998 mgl_dispatch_stub_998
+#define gl_dispatch_stub_999 mgl_dispatch_stub_999
+#define gl_dispatch_stub_1000 mgl_dispatch_stub_1000
+#define gl_dispatch_stub_1001 mgl_dispatch_stub_1001
+#define gl_dispatch_stub_1002 mgl_dispatch_stub_1002
+#define gl_dispatch_stub_1003 mgl_dispatch_stub_1003
+#define gl_dispatch_stub_1004 mgl_dispatch_stub_1004
+#define gl_dispatch_stub_1005 mgl_dispatch_stub_1005
+#define gl_dispatch_stub_1006 mgl_dispatch_stub_1006
+#define gl_dispatch_stub_1007 mgl_dispatch_stub_1007
+#define gl_dispatch_stub_1008 mgl_dispatch_stub_1008
+#define gl_dispatch_stub_1009 mgl_dispatch_stub_1009
+#define gl_dispatch_stub_1010 mgl_dispatch_stub_1010
+#define gl_dispatch_stub_1011 mgl_dispatch_stub_1011
+#define gl_dispatch_stub_1012 mgl_dispatch_stub_1012
+#define gl_dispatch_stub_1013 mgl_dispatch_stub_1013
+#define gl_dispatch_stub_1014 mgl_dispatch_stub_1014
+#define gl_dispatch_stub_1015 mgl_dispatch_stub_1015
+#define gl_dispatch_stub_1016 mgl_dispatch_stub_1016
+#define gl_dispatch_stub_1017 mgl_dispatch_stub_1017
+#define gl_dispatch_stub_1018 mgl_dispatch_stub_1018
+#define gl_dispatch_stub_1019 mgl_dispatch_stub_1019
+#define gl_dispatch_stub_1020 mgl_dispatch_stub_1020
+#define gl_dispatch_stub_1021 mgl_dispatch_stub_1021
+#define gl_dispatch_stub_1022 mgl_dispatch_stub_1022
+#define gl_dispatch_stub_1023 mgl_dispatch_stub_1023
+#define gl_dispatch_stub_1024 mgl_dispatch_stub_1024
+#define gl_dispatch_stub_1025 mgl_dispatch_stub_1025
+#define gl_dispatch_stub_1026 mgl_dispatch_stub_1026
+#define gl_dispatch_stub_1027 mgl_dispatch_stub_1027
+#define gl_dispatch_stub_1028 mgl_dispatch_stub_1028
+#define gl_dispatch_stub_1029 mgl_dispatch_stub_1029
+#define gl_dispatch_stub_1030 mgl_dispatch_stub_1030
+#define gl_dispatch_stub_1031 mgl_dispatch_stub_1031
+#endif /* USE_MGL_NAMESPACE */
+
+
+#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING)
+void GLAPIENTRY gl_dispatch_stub_343(GLenum target, GLenum format, GLenum type, GLvoid * table);
+void GLAPIENTRY gl_dispatch_stub_344(GLenum target, GLenum pname, GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_345(GLenum target, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_356(GLenum target, GLenum format, GLenum type, GLvoid * image);
+void GLAPIENTRY gl_dispatch_stub_357(GLenum target, GLenum pname, GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_358(GLenum target, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span);
+void GLAPIENTRY gl_dispatch_stub_361(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
+void GLAPIENTRY gl_dispatch_stub_362(GLenum target, GLenum pname, GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_363(GLenum target, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_364(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
+void GLAPIENTRY gl_dispatch_stub_365(GLenum target, GLenum pname, GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_366(GLenum target, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_730(GLuint id, GLenum pname, GLint64 * params);
+void GLAPIENTRY gl_dispatch_stub_731(GLuint id, GLenum pname, GLuint64 * params);
+void GLAPIENTRY gl_dispatch_stub_732(GLuint id, GLenum target);
+void GLAPIENTRY gl_dispatch_stub_819(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_834(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
+void GLAPIENTRY gl_dispatch_stub_835(const GLfloat * coords);
+void GLAPIENTRY gl_dispatch_stub_836(GLint x, GLint y, GLint z, GLint width, GLint height);
+void GLAPIENTRY gl_dispatch_stub_837(const GLint * coords);
+void GLAPIENTRY gl_dispatch_stub_838(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
+void GLAPIENTRY gl_dispatch_stub_839(const GLshort * coords);
+void GLAPIENTRY gl_dispatch_stub_840(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
+void GLAPIENTRY gl_dispatch_stub_841(const GLfixed * coords);
+void GLAPIENTRY gl_dispatch_stub_842(GLenum type, GLsizei stride, const GLvoid * pointer);
+GLbitfield GLAPIENTRY gl_dispatch_stub_843(GLfixed * mantissa, GLint * exponent);
+void GLAPIENTRY gl_dispatch_stub_844(GLclampf value, GLboolean invert);
+void GLAPIENTRY gl_dispatch_stub_845(GLenum pattern);
+void GLAPIENTRY gl_dispatch_stub_852(GLenum target, GLsizei numAttachments, const GLenum * attachments);
+void GLAPIENTRY gl_dispatch_stub_869(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride);
+void GLAPIENTRY gl_dispatch_stub_870(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride);
+void GLAPIENTRY gl_dispatch_stub_944(GLenum face);
+void GLAPIENTRY gl_dispatch_stub_945(GLuint array);
+void GLAPIENTRY gl_dispatch_stub_946(GLsizei n, GLuint * arrays);
+void GLAPIENTRY gl_dispatch_stub_954(GLenum coord, GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_955(GLenum coord, GLenum pname, GLint param);
+void GLAPIENTRY gl_dispatch_stub_956(GLenum coord, GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_957(GLclampd zmin, GLclampd zmax);
+void GLAPIENTRY gl_dispatch_stub_958(GLenum target, GLenum pname, GLint param);
+void GLAPIENTRY gl_dispatch_stub_959(GLenum target, GLintptr offset, GLsizeiptr size);
+void GLAPIENTRY gl_dispatch_stub_984(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+void GLAPIENTRY gl_dispatch_stub_985(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_986(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_989(GLenum func, GLclampx ref);
+void GLAPIENTRY gl_dispatch_stub_990(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
+void GLAPIENTRY gl_dispatch_stub_991(GLclampx depth);
+void GLAPIENTRY gl_dispatch_stub_992(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+void GLAPIENTRY gl_dispatch_stub_993(GLclampx zNear, GLclampx zFar);
+void GLAPIENTRY gl_dispatch_stub_994(GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_995(GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_996(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+void GLAPIENTRY gl_dispatch_stub_997(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+void GLAPIENTRY gl_dispatch_stub_998(GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_999(GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1000(GLenum light, GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_1001(GLenum light, GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1002(GLfixed width);
+void GLAPIENTRY gl_dispatch_stub_1003(const GLfixed * m);
+void GLAPIENTRY gl_dispatch_stub_1004(GLenum face, GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_1005(GLenum face, GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1006(const GLfixed * m);
+void GLAPIENTRY gl_dispatch_stub_1007(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+void GLAPIENTRY gl_dispatch_stub_1008(GLfixed nx, GLfixed ny, GLfixed nz);
+void GLAPIENTRY gl_dispatch_stub_1009(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+void GLAPIENTRY gl_dispatch_stub_1010(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+void GLAPIENTRY gl_dispatch_stub_1011(GLfixed size);
+void GLAPIENTRY gl_dispatch_stub_1012(GLfixed factor, GLfixed units);
+void GLAPIENTRY gl_dispatch_stub_1013(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+void GLAPIENTRY gl_dispatch_stub_1014(GLclampx value, GLboolean invert);
+void GLAPIENTRY gl_dispatch_stub_1015(GLfixed x, GLfixed y, GLfixed z);
+void GLAPIENTRY gl_dispatch_stub_1016(GLenum target, GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_1017(GLenum target, GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1018(GLenum target, GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_1019(GLfixed x, GLfixed y, GLfixed z);
+void GLAPIENTRY gl_dispatch_stub_1020(GLenum plane, const GLfloat * equation);
+void GLAPIENTRY gl_dispatch_stub_1021(GLenum plane, const GLfixed * equation);
+void GLAPIENTRY gl_dispatch_stub_1022(GLenum plane, GLfloat * equation);
+void GLAPIENTRY gl_dispatch_stub_1023(GLenum plane, GLfixed * equation);
+void GLAPIENTRY gl_dispatch_stub_1024(GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1025(GLenum light, GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1026(GLenum face, GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1027(GLenum target, GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1028(GLenum target, GLenum pname, GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1029(GLenum pname, GLfixed param);
+void GLAPIENTRY gl_dispatch_stub_1030(GLenum pname, const GLfixed * params);
+void GLAPIENTRY gl_dispatch_stub_1031(GLenum target, GLenum pname, const GLfixed * params);
+#endif /* defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) */
+
+static const glprocs_table_t static_functions[] = {
+ NAME_FUNC_OFFSET( 0, glNewList, glNewList, NULL, 0),
+ NAME_FUNC_OFFSET( 10, glEndList, glEndList, NULL, 1),
+ NAME_FUNC_OFFSET( 20, glCallList, glCallList, NULL, 2),
+ NAME_FUNC_OFFSET( 31, glCallLists, glCallLists, NULL, 3),
+ NAME_FUNC_OFFSET( 43, glDeleteLists, glDeleteLists, NULL, 4),
+ NAME_FUNC_OFFSET( 57, glGenLists, glGenLists, NULL, 5),
+ NAME_FUNC_OFFSET( 68, glListBase, glListBase, NULL, 6),
+ NAME_FUNC_OFFSET( 79, glBegin, glBegin, NULL, 7),
+ NAME_FUNC_OFFSET( 87, glBitmap, glBitmap, NULL, 8),
+ NAME_FUNC_OFFSET( 96, glColor3b, glColor3b, NULL, 9),
+ NAME_FUNC_OFFSET( 106, glColor3bv, glColor3bv, NULL, 10),
+ NAME_FUNC_OFFSET( 117, glColor3d, glColor3d, NULL, 11),
+ NAME_FUNC_OFFSET( 127, glColor3dv, glColor3dv, NULL, 12),
+ NAME_FUNC_OFFSET( 138, glColor3f, glColor3f, NULL, 13),
+ NAME_FUNC_OFFSET( 148, glColor3fv, glColor3fv, NULL, 14),
+ NAME_FUNC_OFFSET( 159, glColor3i, glColor3i, NULL, 15),
+ NAME_FUNC_OFFSET( 169, glColor3iv, glColor3iv, NULL, 16),
+ NAME_FUNC_OFFSET( 180, glColor3s, glColor3s, NULL, 17),
+ NAME_FUNC_OFFSET( 190, glColor3sv, glColor3sv, NULL, 18),
+ NAME_FUNC_OFFSET( 201, glColor3ub, glColor3ub, NULL, 19),
+ NAME_FUNC_OFFSET( 212, glColor3ubv, glColor3ubv, NULL, 20),
+ NAME_FUNC_OFFSET( 224, glColor3ui, glColor3ui, NULL, 21),
+ NAME_FUNC_OFFSET( 235, glColor3uiv, glColor3uiv, NULL, 22),
+ NAME_FUNC_OFFSET( 247, glColor3us, glColor3us, NULL, 23),
+ NAME_FUNC_OFFSET( 258, glColor3usv, glColor3usv, NULL, 24),
+ NAME_FUNC_OFFSET( 270, glColor4b, glColor4b, NULL, 25),
+ NAME_FUNC_OFFSET( 280, glColor4bv, glColor4bv, NULL, 26),
+ NAME_FUNC_OFFSET( 291, glColor4d, glColor4d, NULL, 27),
+ NAME_FUNC_OFFSET( 301, glColor4dv, glColor4dv, NULL, 28),
+ NAME_FUNC_OFFSET( 312, glColor4f, glColor4f, NULL, 29),
+ NAME_FUNC_OFFSET( 322, glColor4fv, glColor4fv, NULL, 30),
+ NAME_FUNC_OFFSET( 333, glColor4i, glColor4i, NULL, 31),
+ NAME_FUNC_OFFSET( 343, glColor4iv, glColor4iv, NULL, 32),
+ NAME_FUNC_OFFSET( 354, glColor4s, glColor4s, NULL, 33),
+ NAME_FUNC_OFFSET( 364, glColor4sv, glColor4sv, NULL, 34),
+ NAME_FUNC_OFFSET( 375, glColor4ub, glColor4ub, NULL, 35),
+ NAME_FUNC_OFFSET( 386, glColor4ubv, glColor4ubv, NULL, 36),
+ NAME_FUNC_OFFSET( 398, glColor4ui, glColor4ui, NULL, 37),
+ NAME_FUNC_OFFSET( 409, glColor4uiv, glColor4uiv, NULL, 38),
+ NAME_FUNC_OFFSET( 421, glColor4us, glColor4us, NULL, 39),
+ NAME_FUNC_OFFSET( 432, glColor4usv, glColor4usv, NULL, 40),
+ NAME_FUNC_OFFSET( 444, glEdgeFlag, glEdgeFlag, NULL, 41),
+ NAME_FUNC_OFFSET( 455, glEdgeFlagv, glEdgeFlagv, NULL, 42),
+ NAME_FUNC_OFFSET( 467, glEnd, glEnd, NULL, 43),
+ NAME_FUNC_OFFSET( 473, glIndexd, glIndexd, NULL, 44),
+ NAME_FUNC_OFFSET( 482, glIndexdv, glIndexdv, NULL, 45),
+ NAME_FUNC_OFFSET( 492, glIndexf, glIndexf, NULL, 46),
+ NAME_FUNC_OFFSET( 501, glIndexfv, glIndexfv, NULL, 47),
+ NAME_FUNC_OFFSET( 511, glIndexi, glIndexi, NULL, 48),
+ NAME_FUNC_OFFSET( 520, glIndexiv, glIndexiv, NULL, 49),
+ NAME_FUNC_OFFSET( 530, glIndexs, glIndexs, NULL, 50),
+ NAME_FUNC_OFFSET( 539, glIndexsv, glIndexsv, NULL, 51),
+ NAME_FUNC_OFFSET( 549, glNormal3b, glNormal3b, NULL, 52),
+ NAME_FUNC_OFFSET( 560, glNormal3bv, glNormal3bv, NULL, 53),
+ NAME_FUNC_OFFSET( 572, glNormal3d, glNormal3d, NULL, 54),
+ NAME_FUNC_OFFSET( 583, glNormal3dv, glNormal3dv, NULL, 55),
+ NAME_FUNC_OFFSET( 595, glNormal3f, glNormal3f, NULL, 56),
+ NAME_FUNC_OFFSET( 606, glNormal3fv, glNormal3fv, NULL, 57),
+ NAME_FUNC_OFFSET( 618, glNormal3i, glNormal3i, NULL, 58),
+ NAME_FUNC_OFFSET( 629, glNormal3iv, glNormal3iv, NULL, 59),
+ NAME_FUNC_OFFSET( 641, glNormal3s, glNormal3s, NULL, 60),
+ NAME_FUNC_OFFSET( 652, glNormal3sv, glNormal3sv, NULL, 61),
+ NAME_FUNC_OFFSET( 664, glRasterPos2d, glRasterPos2d, NULL, 62),
+ NAME_FUNC_OFFSET( 678, glRasterPos2dv, glRasterPos2dv, NULL, 63),
+ NAME_FUNC_OFFSET( 693, glRasterPos2f, glRasterPos2f, NULL, 64),
+ NAME_FUNC_OFFSET( 707, glRasterPos2fv, glRasterPos2fv, NULL, 65),
+ NAME_FUNC_OFFSET( 722, glRasterPos2i, glRasterPos2i, NULL, 66),
+ NAME_FUNC_OFFSET( 736, glRasterPos2iv, glRasterPos2iv, NULL, 67),
+ NAME_FUNC_OFFSET( 751, glRasterPos2s, glRasterPos2s, NULL, 68),
+ NAME_FUNC_OFFSET( 765, glRasterPos2sv, glRasterPos2sv, NULL, 69),
+ NAME_FUNC_OFFSET( 780, glRasterPos3d, glRasterPos3d, NULL, 70),
+ NAME_FUNC_OFFSET( 794, glRasterPos3dv, glRasterPos3dv, NULL, 71),
+ NAME_FUNC_OFFSET( 809, glRasterPos3f, glRasterPos3f, NULL, 72),
+ NAME_FUNC_OFFSET( 823, glRasterPos3fv, glRasterPos3fv, NULL, 73),
+ NAME_FUNC_OFFSET( 838, glRasterPos3i, glRasterPos3i, NULL, 74),
+ NAME_FUNC_OFFSET( 852, glRasterPos3iv, glRasterPos3iv, NULL, 75),
+ NAME_FUNC_OFFSET( 867, glRasterPos3s, glRasterPos3s, NULL, 76),
+ NAME_FUNC_OFFSET( 881, glRasterPos3sv, glRasterPos3sv, NULL, 77),
+ NAME_FUNC_OFFSET( 896, glRasterPos4d, glRasterPos4d, NULL, 78),
+ NAME_FUNC_OFFSET( 910, glRasterPos4dv, glRasterPos4dv, NULL, 79),
+ NAME_FUNC_OFFSET( 925, glRasterPos4f, glRasterPos4f, NULL, 80),
+ NAME_FUNC_OFFSET( 939, glRasterPos4fv, glRasterPos4fv, NULL, 81),
+ NAME_FUNC_OFFSET( 954, glRasterPos4i, glRasterPos4i, NULL, 82),
+ NAME_FUNC_OFFSET( 968, glRasterPos4iv, glRasterPos4iv, NULL, 83),
+ NAME_FUNC_OFFSET( 983, glRasterPos4s, glRasterPos4s, NULL, 84),
+ NAME_FUNC_OFFSET( 997, glRasterPos4sv, glRasterPos4sv, NULL, 85),
+ NAME_FUNC_OFFSET( 1012, glRectd, glRectd, NULL, 86),
+ NAME_FUNC_OFFSET( 1020, glRectdv, glRectdv, NULL, 87),
+ NAME_FUNC_OFFSET( 1029, glRectf, glRectf, NULL, 88),
+ NAME_FUNC_OFFSET( 1037, glRectfv, glRectfv, NULL, 89),
+ NAME_FUNC_OFFSET( 1046, glRecti, glRecti, NULL, 90),
+ NAME_FUNC_OFFSET( 1054, glRectiv, glRectiv, NULL, 91),
+ NAME_FUNC_OFFSET( 1063, glRects, glRects, NULL, 92),
+ NAME_FUNC_OFFSET( 1071, glRectsv, glRectsv, NULL, 93),
+ NAME_FUNC_OFFSET( 1080, glTexCoord1d, glTexCoord1d, NULL, 94),
+ NAME_FUNC_OFFSET( 1093, glTexCoord1dv, glTexCoord1dv, NULL, 95),
+ NAME_FUNC_OFFSET( 1107, glTexCoord1f, glTexCoord1f, NULL, 96),
+ NAME_FUNC_OFFSET( 1120, glTexCoord1fv, glTexCoord1fv, NULL, 97),
+ NAME_FUNC_OFFSET( 1134, glTexCoord1i, glTexCoord1i, NULL, 98),
+ NAME_FUNC_OFFSET( 1147, glTexCoord1iv, glTexCoord1iv, NULL, 99),
+ NAME_FUNC_OFFSET( 1161, glTexCoord1s, glTexCoord1s, NULL, 100),
+ NAME_FUNC_OFFSET( 1174, glTexCoord1sv, glTexCoord1sv, NULL, 101),
+ NAME_FUNC_OFFSET( 1188, glTexCoord2d, glTexCoord2d, NULL, 102),
+ NAME_FUNC_OFFSET( 1201, glTexCoord2dv, glTexCoord2dv, NULL, 103),
+ NAME_FUNC_OFFSET( 1215, glTexCoord2f, glTexCoord2f, NULL, 104),
+ NAME_FUNC_OFFSET( 1228, glTexCoord2fv, glTexCoord2fv, NULL, 105),
+ NAME_FUNC_OFFSET( 1242, glTexCoord2i, glTexCoord2i, NULL, 106),
+ NAME_FUNC_OFFSET( 1255, glTexCoord2iv, glTexCoord2iv, NULL, 107),
+ NAME_FUNC_OFFSET( 1269, glTexCoord2s, glTexCoord2s, NULL, 108),
+ NAME_FUNC_OFFSET( 1282, glTexCoord2sv, glTexCoord2sv, NULL, 109),
+ NAME_FUNC_OFFSET( 1296, glTexCoord3d, glTexCoord3d, NULL, 110),
+ NAME_FUNC_OFFSET( 1309, glTexCoord3dv, glTexCoord3dv, NULL, 111),
+ NAME_FUNC_OFFSET( 1323, glTexCoord3f, glTexCoord3f, NULL, 112),
+ NAME_FUNC_OFFSET( 1336, glTexCoord3fv, glTexCoord3fv, NULL, 113),
+ NAME_FUNC_OFFSET( 1350, glTexCoord3i, glTexCoord3i, NULL, 114),
+ NAME_FUNC_OFFSET( 1363, glTexCoord3iv, glTexCoord3iv, NULL, 115),
+ NAME_FUNC_OFFSET( 1377, glTexCoord3s, glTexCoord3s, NULL, 116),
+ NAME_FUNC_OFFSET( 1390, glTexCoord3sv, glTexCoord3sv, NULL, 117),
+ NAME_FUNC_OFFSET( 1404, glTexCoord4d, glTexCoord4d, NULL, 118),
+ NAME_FUNC_OFFSET( 1417, glTexCoord4dv, glTexCoord4dv, NULL, 119),
+ NAME_FUNC_OFFSET( 1431, glTexCoord4f, glTexCoord4f, NULL, 120),
+ NAME_FUNC_OFFSET( 1444, glTexCoord4fv, glTexCoord4fv, NULL, 121),
+ NAME_FUNC_OFFSET( 1458, glTexCoord4i, glTexCoord4i, NULL, 122),
+ NAME_FUNC_OFFSET( 1471, glTexCoord4iv, glTexCoord4iv, NULL, 123),
+ NAME_FUNC_OFFSET( 1485, glTexCoord4s, glTexCoord4s, NULL, 124),
+ NAME_FUNC_OFFSET( 1498, glTexCoord4sv, glTexCoord4sv, NULL, 125),
+ NAME_FUNC_OFFSET( 1512, glVertex2d, glVertex2d, NULL, 126),
+ NAME_FUNC_OFFSET( 1523, glVertex2dv, glVertex2dv, NULL, 127),
+ NAME_FUNC_OFFSET( 1535, glVertex2f, glVertex2f, NULL, 128),
+ NAME_FUNC_OFFSET( 1546, glVertex2fv, glVertex2fv, NULL, 129),
+ NAME_FUNC_OFFSET( 1558, glVertex2i, glVertex2i, NULL, 130),
+ NAME_FUNC_OFFSET( 1569, glVertex2iv, glVertex2iv, NULL, 131),
+ NAME_FUNC_OFFSET( 1581, glVertex2s, glVertex2s, NULL, 132),
+ NAME_FUNC_OFFSET( 1592, glVertex2sv, glVertex2sv, NULL, 133),
+ NAME_FUNC_OFFSET( 1604, glVertex3d, glVertex3d, NULL, 134),
+ NAME_FUNC_OFFSET( 1615, glVertex3dv, glVertex3dv, NULL, 135),
+ NAME_FUNC_OFFSET( 1627, glVertex3f, glVertex3f, NULL, 136),
+ NAME_FUNC_OFFSET( 1638, glVertex3fv, glVertex3fv, NULL, 137),
+ NAME_FUNC_OFFSET( 1650, glVertex3i, glVertex3i, NULL, 138),
+ NAME_FUNC_OFFSET( 1661, glVertex3iv, glVertex3iv, NULL, 139),
+ NAME_FUNC_OFFSET( 1673, glVertex3s, glVertex3s, NULL, 140),
+ NAME_FUNC_OFFSET( 1684, glVertex3sv, glVertex3sv, NULL, 141),
+ NAME_FUNC_OFFSET( 1696, glVertex4d, glVertex4d, NULL, 142),
+ NAME_FUNC_OFFSET( 1707, glVertex4dv, glVertex4dv, NULL, 143),
+ NAME_FUNC_OFFSET( 1719, glVertex4f, glVertex4f, NULL, 144),
+ NAME_FUNC_OFFSET( 1730, glVertex4fv, glVertex4fv, NULL, 145),
+ NAME_FUNC_OFFSET( 1742, glVertex4i, glVertex4i, NULL, 146),
+ NAME_FUNC_OFFSET( 1753, glVertex4iv, glVertex4iv, NULL, 147),
+ NAME_FUNC_OFFSET( 1765, glVertex4s, glVertex4s, NULL, 148),
+ NAME_FUNC_OFFSET( 1776, glVertex4sv, glVertex4sv, NULL, 149),
+ NAME_FUNC_OFFSET( 1788, glClipPlane, glClipPlane, NULL, 150),
+ NAME_FUNC_OFFSET( 1800, glColorMaterial, glColorMaterial, NULL, 151),
+ NAME_FUNC_OFFSET( 1816, glCullFace, glCullFace, NULL, 152),
+ NAME_FUNC_OFFSET( 1827, glFogf, glFogf, NULL, 153),
+ NAME_FUNC_OFFSET( 1834, glFogfv, glFogfv, NULL, 154),
+ NAME_FUNC_OFFSET( 1842, glFogi, glFogi, NULL, 155),
+ NAME_FUNC_OFFSET( 1849, glFogiv, glFogiv, NULL, 156),
+ NAME_FUNC_OFFSET( 1857, glFrontFace, glFrontFace, NULL, 157),
+ NAME_FUNC_OFFSET( 1869, glHint, glHint, NULL, 158),
+ NAME_FUNC_OFFSET( 1876, glLightf, glLightf, NULL, 159),
+ NAME_FUNC_OFFSET( 1885, glLightfv, glLightfv, NULL, 160),
+ NAME_FUNC_OFFSET( 1895, glLighti, glLighti, NULL, 161),
+ NAME_FUNC_OFFSET( 1904, glLightiv, glLightiv, NULL, 162),
+ NAME_FUNC_OFFSET( 1914, glLightModelf, glLightModelf, NULL, 163),
+ NAME_FUNC_OFFSET( 1928, glLightModelfv, glLightModelfv, NULL, 164),
+ NAME_FUNC_OFFSET( 1943, glLightModeli, glLightModeli, NULL, 165),
+ NAME_FUNC_OFFSET( 1957, glLightModeliv, glLightModeliv, NULL, 166),
+ NAME_FUNC_OFFSET( 1972, glLineStipple, glLineStipple, NULL, 167),
+ NAME_FUNC_OFFSET( 1986, glLineWidth, glLineWidth, NULL, 168),
+ NAME_FUNC_OFFSET( 1998, glMaterialf, glMaterialf, NULL, 169),
+ NAME_FUNC_OFFSET( 2010, glMaterialfv, glMaterialfv, NULL, 170),
+ NAME_FUNC_OFFSET( 2023, glMateriali, glMateriali, NULL, 171),
+ NAME_FUNC_OFFSET( 2035, glMaterialiv, glMaterialiv, NULL, 172),
+ NAME_FUNC_OFFSET( 2048, glPointSize, glPointSize, NULL, 173),
+ NAME_FUNC_OFFSET( 2060, glPolygonMode, glPolygonMode, NULL, 174),
+ NAME_FUNC_OFFSET( 2074, glPolygonStipple, glPolygonStipple, NULL, 175),
+ NAME_FUNC_OFFSET( 2091, glScissor, glScissor, NULL, 176),
+ NAME_FUNC_OFFSET( 2101, glShadeModel, glShadeModel, NULL, 177),
+ NAME_FUNC_OFFSET( 2114, glTexParameterf, glTexParameterf, NULL, 178),
+ NAME_FUNC_OFFSET( 2130, glTexParameterfv, glTexParameterfv, NULL, 179),
+ NAME_FUNC_OFFSET( 2147, glTexParameteri, glTexParameteri, NULL, 180),
+ NAME_FUNC_OFFSET( 2163, glTexParameteriv, glTexParameteriv, NULL, 181),
+ NAME_FUNC_OFFSET( 2180, glTexImage1D, glTexImage1D, NULL, 182),
+ NAME_FUNC_OFFSET( 2193, glTexImage2D, glTexImage2D, NULL, 183),
+ NAME_FUNC_OFFSET( 2206, glTexEnvf, glTexEnvf, NULL, 184),
+ NAME_FUNC_OFFSET( 2216, glTexEnvfv, glTexEnvfv, NULL, 185),
+ NAME_FUNC_OFFSET( 2227, glTexEnvi, glTexEnvi, NULL, 186),
+ NAME_FUNC_OFFSET( 2237, glTexEnviv, glTexEnviv, NULL, 187),
+ NAME_FUNC_OFFSET( 2248, glTexGend, glTexGend, NULL, 188),
+ NAME_FUNC_OFFSET( 2258, glTexGendv, glTexGendv, NULL, 189),
+ NAME_FUNC_OFFSET( 2269, glTexGenf, glTexGenf, NULL, 190),
+ NAME_FUNC_OFFSET( 2279, glTexGenfv, glTexGenfv, NULL, 191),
+ NAME_FUNC_OFFSET( 2290, glTexGeni, glTexGeni, NULL, 192),
+ NAME_FUNC_OFFSET( 2300, glTexGeniv, glTexGeniv, NULL, 193),
+ NAME_FUNC_OFFSET( 2311, glFeedbackBuffer, glFeedbackBuffer, NULL, 194),
+ NAME_FUNC_OFFSET( 2328, glSelectBuffer, glSelectBuffer, NULL, 195),
+ NAME_FUNC_OFFSET( 2343, glRenderMode, glRenderMode, NULL, 196),
+ NAME_FUNC_OFFSET( 2356, glInitNames, glInitNames, NULL, 197),
+ NAME_FUNC_OFFSET( 2368, glLoadName, glLoadName, NULL, 198),
+ NAME_FUNC_OFFSET( 2379, glPassThrough, glPassThrough, NULL, 199),
+ NAME_FUNC_OFFSET( 2393, glPopName, glPopName, NULL, 200),
+ NAME_FUNC_OFFSET( 2403, glPushName, glPushName, NULL, 201),
+ NAME_FUNC_OFFSET( 2414, glDrawBuffer, glDrawBuffer, NULL, 202),
+ NAME_FUNC_OFFSET( 2427, glClear, glClear, NULL, 203),
+ NAME_FUNC_OFFSET( 2435, glClearAccum, glClearAccum, NULL, 204),
+ NAME_FUNC_OFFSET( 2448, glClearIndex, glClearIndex, NULL, 205),
+ NAME_FUNC_OFFSET( 2461, glClearColor, glClearColor, NULL, 206),
+ NAME_FUNC_OFFSET( 2474, glClearStencil, glClearStencil, NULL, 207),
+ NAME_FUNC_OFFSET( 2489, glClearDepth, glClearDepth, NULL, 208),
+ NAME_FUNC_OFFSET( 2502, glStencilMask, glStencilMask, NULL, 209),
+ NAME_FUNC_OFFSET( 2516, glColorMask, glColorMask, NULL, 210),
+ NAME_FUNC_OFFSET( 2528, glDepthMask, glDepthMask, NULL, 211),
+ NAME_FUNC_OFFSET( 2540, glIndexMask, glIndexMask, NULL, 212),
+ NAME_FUNC_OFFSET( 2552, glAccum, glAccum, NULL, 213),
+ NAME_FUNC_OFFSET( 2560, glDisable, glDisable, NULL, 214),
+ NAME_FUNC_OFFSET( 2570, glEnable, glEnable, NULL, 215),
+ NAME_FUNC_OFFSET( 2579, glFinish, glFinish, NULL, 216),
+ NAME_FUNC_OFFSET( 2588, glFlush, glFlush, NULL, 217),
+ NAME_FUNC_OFFSET( 2596, glPopAttrib, glPopAttrib, NULL, 218),
+ NAME_FUNC_OFFSET( 2608, glPushAttrib, glPushAttrib, NULL, 219),
+ NAME_FUNC_OFFSET( 2621, glMap1d, glMap1d, NULL, 220),
+ NAME_FUNC_OFFSET( 2629, glMap1f, glMap1f, NULL, 221),
+ NAME_FUNC_OFFSET( 2637, glMap2d, glMap2d, NULL, 222),
+ NAME_FUNC_OFFSET( 2645, glMap2f, glMap2f, NULL, 223),
+ NAME_FUNC_OFFSET( 2653, glMapGrid1d, glMapGrid1d, NULL, 224),
+ NAME_FUNC_OFFSET( 2665, glMapGrid1f, glMapGrid1f, NULL, 225),
+ NAME_FUNC_OFFSET( 2677, glMapGrid2d, glMapGrid2d, NULL, 226),
+ NAME_FUNC_OFFSET( 2689, glMapGrid2f, glMapGrid2f, NULL, 227),
+ NAME_FUNC_OFFSET( 2701, glEvalCoord1d, glEvalCoord1d, NULL, 228),
+ NAME_FUNC_OFFSET( 2715, glEvalCoord1dv, glEvalCoord1dv, NULL, 229),
+ NAME_FUNC_OFFSET( 2730, glEvalCoord1f, glEvalCoord1f, NULL, 230),
+ NAME_FUNC_OFFSET( 2744, glEvalCoord1fv, glEvalCoord1fv, NULL, 231),
+ NAME_FUNC_OFFSET( 2759, glEvalCoord2d, glEvalCoord2d, NULL, 232),
+ NAME_FUNC_OFFSET( 2773, glEvalCoord2dv, glEvalCoord2dv, NULL, 233),
+ NAME_FUNC_OFFSET( 2788, glEvalCoord2f, glEvalCoord2f, NULL, 234),
+ NAME_FUNC_OFFSET( 2802, glEvalCoord2fv, glEvalCoord2fv, NULL, 235),
+ NAME_FUNC_OFFSET( 2817, glEvalMesh1, glEvalMesh1, NULL, 236),
+ NAME_FUNC_OFFSET( 2829, glEvalPoint1, glEvalPoint1, NULL, 237),
+ NAME_FUNC_OFFSET( 2842, glEvalMesh2, glEvalMesh2, NULL, 238),
+ NAME_FUNC_OFFSET( 2854, glEvalPoint2, glEvalPoint2, NULL, 239),
+ NAME_FUNC_OFFSET( 2867, glAlphaFunc, glAlphaFunc, NULL, 240),
+ NAME_FUNC_OFFSET( 2879, glBlendFunc, glBlendFunc, NULL, 241),
+ NAME_FUNC_OFFSET( 2891, glLogicOp, glLogicOp, NULL, 242),
+ NAME_FUNC_OFFSET( 2901, glStencilFunc, glStencilFunc, NULL, 243),
+ NAME_FUNC_OFFSET( 2915, glStencilOp, glStencilOp, NULL, 244),
+ NAME_FUNC_OFFSET( 2927, glDepthFunc, glDepthFunc, NULL, 245),
+ NAME_FUNC_OFFSET( 2939, glPixelZoom, glPixelZoom, NULL, 246),
+ NAME_FUNC_OFFSET( 2951, glPixelTransferf, glPixelTransferf, NULL, 247),
+ NAME_FUNC_OFFSET( 2968, glPixelTransferi, glPixelTransferi, NULL, 248),
+ NAME_FUNC_OFFSET( 2985, glPixelStoref, glPixelStoref, NULL, 249),
+ NAME_FUNC_OFFSET( 2999, glPixelStorei, glPixelStorei, NULL, 250),
+ NAME_FUNC_OFFSET( 3013, glPixelMapfv, glPixelMapfv, NULL, 251),
+ NAME_FUNC_OFFSET( 3026, glPixelMapuiv, glPixelMapuiv, NULL, 252),
+ NAME_FUNC_OFFSET( 3040, glPixelMapusv, glPixelMapusv, NULL, 253),
+ NAME_FUNC_OFFSET( 3054, glReadBuffer, glReadBuffer, NULL, 254),
+ NAME_FUNC_OFFSET( 3067, glCopyPixels, glCopyPixels, NULL, 255),
+ NAME_FUNC_OFFSET( 3080, glReadPixels, glReadPixels, NULL, 256),
+ NAME_FUNC_OFFSET( 3093, glDrawPixels, glDrawPixels, NULL, 257),
+ NAME_FUNC_OFFSET( 3106, glGetBooleanv, glGetBooleanv, NULL, 258),
+ NAME_FUNC_OFFSET( 3120, glGetClipPlane, glGetClipPlane, NULL, 259),
+ NAME_FUNC_OFFSET( 3135, glGetDoublev, glGetDoublev, NULL, 260),
+ NAME_FUNC_OFFSET( 3148, glGetError, glGetError, NULL, 261),
+ NAME_FUNC_OFFSET( 3159, glGetFloatv, glGetFloatv, NULL, 262),
+ NAME_FUNC_OFFSET( 3171, glGetIntegerv, glGetIntegerv, NULL, 263),
+ NAME_FUNC_OFFSET( 3185, glGetLightfv, glGetLightfv, NULL, 264),
+ NAME_FUNC_OFFSET( 3198, glGetLightiv, glGetLightiv, NULL, 265),
+ NAME_FUNC_OFFSET( 3211, glGetMapdv, glGetMapdv, NULL, 266),
+ NAME_FUNC_OFFSET( 3222, glGetMapfv, glGetMapfv, NULL, 267),
+ NAME_FUNC_OFFSET( 3233, glGetMapiv, glGetMapiv, NULL, 268),
+ NAME_FUNC_OFFSET( 3244, glGetMaterialfv, glGetMaterialfv, NULL, 269),
+ NAME_FUNC_OFFSET( 3260, glGetMaterialiv, glGetMaterialiv, NULL, 270),
+ NAME_FUNC_OFFSET( 3276, glGetPixelMapfv, glGetPixelMapfv, NULL, 271),
+ NAME_FUNC_OFFSET( 3292, glGetPixelMapuiv, glGetPixelMapuiv, NULL, 272),
+ NAME_FUNC_OFFSET( 3309, glGetPixelMapusv, glGetPixelMapusv, NULL, 273),
+ NAME_FUNC_OFFSET( 3326, glGetPolygonStipple, glGetPolygonStipple, NULL, 274),
+ NAME_FUNC_OFFSET( 3346, glGetString, glGetString, NULL, 275),
+ NAME_FUNC_OFFSET( 3358, glGetTexEnvfv, glGetTexEnvfv, NULL, 276),
+ NAME_FUNC_OFFSET( 3372, glGetTexEnviv, glGetTexEnviv, NULL, 277),
+ NAME_FUNC_OFFSET( 3386, glGetTexGendv, glGetTexGendv, NULL, 278),
+ NAME_FUNC_OFFSET( 3400, glGetTexGenfv, glGetTexGenfv, NULL, 279),
+ NAME_FUNC_OFFSET( 3414, glGetTexGeniv, glGetTexGeniv, NULL, 280),
+ NAME_FUNC_OFFSET( 3428, glGetTexImage, glGetTexImage, NULL, 281),
+ NAME_FUNC_OFFSET( 3442, glGetTexParameterfv, glGetTexParameterfv, NULL, 282),
+ NAME_FUNC_OFFSET( 3462, glGetTexParameteriv, glGetTexParameteriv, NULL, 283),
+ NAME_FUNC_OFFSET( 3482, glGetTexLevelParameterfv, glGetTexLevelParameterfv, NULL, 284),
+ NAME_FUNC_OFFSET( 3507, glGetTexLevelParameteriv, glGetTexLevelParameteriv, NULL, 285),
+ NAME_FUNC_OFFSET( 3532, glIsEnabled, glIsEnabled, NULL, 286),
+ NAME_FUNC_OFFSET( 3544, glIsList, glIsList, NULL, 287),
+ NAME_FUNC_OFFSET( 3553, glDepthRange, glDepthRange, NULL, 288),
+ NAME_FUNC_OFFSET( 3566, glFrustum, glFrustum, NULL, 289),
+ NAME_FUNC_OFFSET( 3576, glLoadIdentity, glLoadIdentity, NULL, 290),
+ NAME_FUNC_OFFSET( 3591, glLoadMatrixf, glLoadMatrixf, NULL, 291),
+ NAME_FUNC_OFFSET( 3605, glLoadMatrixd, glLoadMatrixd, NULL, 292),
+ NAME_FUNC_OFFSET( 3619, glMatrixMode, glMatrixMode, NULL, 293),
+ NAME_FUNC_OFFSET( 3632, glMultMatrixf, glMultMatrixf, NULL, 294),
+ NAME_FUNC_OFFSET( 3646, glMultMatrixd, glMultMatrixd, NULL, 295),
+ NAME_FUNC_OFFSET( 3660, glOrtho, glOrtho, NULL, 296),
+ NAME_FUNC_OFFSET( 3668, glPopMatrix, glPopMatrix, NULL, 297),
+ NAME_FUNC_OFFSET( 3680, glPushMatrix, glPushMatrix, NULL, 298),
+ NAME_FUNC_OFFSET( 3693, glRotated, glRotated, NULL, 299),
+ NAME_FUNC_OFFSET( 3703, glRotatef, glRotatef, NULL, 300),
+ NAME_FUNC_OFFSET( 3713, glScaled, glScaled, NULL, 301),
+ NAME_FUNC_OFFSET( 3722, glScalef, glScalef, NULL, 302),
+ NAME_FUNC_OFFSET( 3731, glTranslated, glTranslated, NULL, 303),
+ NAME_FUNC_OFFSET( 3744, glTranslatef, glTranslatef, NULL, 304),
+ NAME_FUNC_OFFSET( 3757, glViewport, glViewport, NULL, 305),
+ NAME_FUNC_OFFSET( 3768, glArrayElement, glArrayElement, NULL, 306),
+ NAME_FUNC_OFFSET( 3783, glBindTexture, glBindTexture, NULL, 307),
+ NAME_FUNC_OFFSET( 3797, glColorPointer, glColorPointer, NULL, 308),
+ NAME_FUNC_OFFSET( 3812, glDisableClientState, glDisableClientState, NULL, 309),
+ NAME_FUNC_OFFSET( 3833, glDrawArrays, glDrawArrays, NULL, 310),
+ NAME_FUNC_OFFSET( 3846, glDrawElements, glDrawElements, NULL, 311),
+ NAME_FUNC_OFFSET( 3861, glEdgeFlagPointer, glEdgeFlagPointer, NULL, 312),
+ NAME_FUNC_OFFSET( 3879, glEnableClientState, glEnableClientState, NULL, 313),
+ NAME_FUNC_OFFSET( 3899, glIndexPointer, glIndexPointer, NULL, 314),
+ NAME_FUNC_OFFSET( 3914, glIndexub, glIndexub, NULL, 315),
+ NAME_FUNC_OFFSET( 3924, glIndexubv, glIndexubv, NULL, 316),
+ NAME_FUNC_OFFSET( 3935, glInterleavedArrays, glInterleavedArrays, NULL, 317),
+ NAME_FUNC_OFFSET( 3955, glNormalPointer, glNormalPointer, NULL, 318),
+ NAME_FUNC_OFFSET( 3971, glPolygonOffset, glPolygonOffset, NULL, 319),
+ NAME_FUNC_OFFSET( 3987, glTexCoordPointer, glTexCoordPointer, NULL, 320),
+ NAME_FUNC_OFFSET( 4005, glVertexPointer, glVertexPointer, NULL, 321),
+ NAME_FUNC_OFFSET( 4021, glAreTexturesResident, glAreTexturesResident, NULL, 322),
+ NAME_FUNC_OFFSET( 4043, glCopyTexImage1D, glCopyTexImage1D, NULL, 323),
+ NAME_FUNC_OFFSET( 4060, glCopyTexImage2D, glCopyTexImage2D, NULL, 324),
+ NAME_FUNC_OFFSET( 4077, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325),
+ NAME_FUNC_OFFSET( 4097, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326),
+ NAME_FUNC_OFFSET( 4117, glDeleteTextures, glDeleteTextures, NULL, 327),
+ NAME_FUNC_OFFSET( 4134, glGenTextures, glGenTextures, NULL, 328),
+ NAME_FUNC_OFFSET( 4148, glGetPointerv, glGetPointerv, NULL, 329),
+ NAME_FUNC_OFFSET( 4162, glIsTexture, glIsTexture, NULL, 330),
+ NAME_FUNC_OFFSET( 4174, glPrioritizeTextures, glPrioritizeTextures, NULL, 331),
+ NAME_FUNC_OFFSET( 4195, glTexSubImage1D, glTexSubImage1D, NULL, 332),
+ NAME_FUNC_OFFSET( 4211, glTexSubImage2D, glTexSubImage2D, NULL, 333),
+ NAME_FUNC_OFFSET( 4227, glPopClientAttrib, glPopClientAttrib, NULL, 334),
+ NAME_FUNC_OFFSET( 4245, glPushClientAttrib, glPushClientAttrib, NULL, 335),
+ NAME_FUNC_OFFSET( 4264, glBlendColor, glBlendColor, NULL, 336),
+ NAME_FUNC_OFFSET( 4277, glBlendEquation, glBlendEquation, NULL, 337),
+ NAME_FUNC_OFFSET( 4293, glDrawRangeElements, glDrawRangeElements, NULL, 338),
+ NAME_FUNC_OFFSET( 4313, glColorTable, glColorTable, NULL, 339),
+ NAME_FUNC_OFFSET( 4326, glColorTableParameterfv, glColorTableParameterfv, NULL, 340),
+ NAME_FUNC_OFFSET( 4350, glColorTableParameteriv, glColorTableParameteriv, NULL, 341),
+ NAME_FUNC_OFFSET( 4374, glCopyColorTable, glCopyColorTable, NULL, 342),
+ NAME_FUNC_OFFSET( 4391, glGetColorTable, glGetColorTable, NULL, 343),
+ NAME_FUNC_OFFSET( 4407, glGetColorTableParameterfv, glGetColorTableParameterfv, NULL, 344),
+ NAME_FUNC_OFFSET( 4434, glGetColorTableParameteriv, glGetColorTableParameteriv, NULL, 345),
+ NAME_FUNC_OFFSET( 4461, glColorSubTable, glColorSubTable, NULL, 346),
+ NAME_FUNC_OFFSET( 4477, glCopyColorSubTable, glCopyColorSubTable, NULL, 347),
+ NAME_FUNC_OFFSET( 4497, glConvolutionFilter1D, glConvolutionFilter1D, NULL, 348),
+ NAME_FUNC_OFFSET( 4519, glConvolutionFilter2D, glConvolutionFilter2D, NULL, 349),
+ NAME_FUNC_OFFSET( 4541, glConvolutionParameterf, glConvolutionParameterf, NULL, 350),
+ NAME_FUNC_OFFSET( 4565, glConvolutionParameterfv, glConvolutionParameterfv, NULL, 351),
+ NAME_FUNC_OFFSET( 4590, glConvolutionParameteri, glConvolutionParameteri, NULL, 352),
+ NAME_FUNC_OFFSET( 4614, glConvolutionParameteriv, glConvolutionParameteriv, NULL, 353),
+ NAME_FUNC_OFFSET( 4639, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, 354),
+ NAME_FUNC_OFFSET( 4665, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, 355),
+ NAME_FUNC_OFFSET( 4691, glGetConvolutionFilter, glGetConvolutionFilter, NULL, 356),
+ NAME_FUNC_OFFSET( 4714, glGetConvolutionParameterfv, glGetConvolutionParameterfv, NULL, 357),
+ NAME_FUNC_OFFSET( 4742, glGetConvolutionParameteriv, glGetConvolutionParameteriv, NULL, 358),
+ NAME_FUNC_OFFSET( 4770, glGetSeparableFilter, glGetSeparableFilter, NULL, 359),
+ NAME_FUNC_OFFSET( 4791, glSeparableFilter2D, glSeparableFilter2D, NULL, 360),
+ NAME_FUNC_OFFSET( 4811, glGetHistogram, glGetHistogram, NULL, 361),
+ NAME_FUNC_OFFSET( 4826, glGetHistogramParameterfv, glGetHistogramParameterfv, NULL, 362),
+ NAME_FUNC_OFFSET( 4852, glGetHistogramParameteriv, glGetHistogramParameteriv, NULL, 363),
+ NAME_FUNC_OFFSET( 4878, glGetMinmax, glGetMinmax, NULL, 364),
+ NAME_FUNC_OFFSET( 4890, glGetMinmaxParameterfv, glGetMinmaxParameterfv, NULL, 365),
+ NAME_FUNC_OFFSET( 4913, glGetMinmaxParameteriv, glGetMinmaxParameteriv, NULL, 366),
+ NAME_FUNC_OFFSET( 4936, glHistogram, glHistogram, NULL, 367),
+ NAME_FUNC_OFFSET( 4948, glMinmax, glMinmax, NULL, 368),
+ NAME_FUNC_OFFSET( 4957, glResetHistogram, glResetHistogram, NULL, 369),
+ NAME_FUNC_OFFSET( 4974, glResetMinmax, glResetMinmax, NULL, 370),
+ NAME_FUNC_OFFSET( 4988, glTexImage3D, glTexImage3D, NULL, 371),
+ NAME_FUNC_OFFSET( 5001, glTexSubImage3D, glTexSubImage3D, NULL, 372),
+ NAME_FUNC_OFFSET( 5017, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
+ NAME_FUNC_OFFSET( 5037, glActiveTexture, glActiveTexture, NULL, 374),
+ NAME_FUNC_OFFSET( 5053, glClientActiveTexture, glClientActiveTexture, NULL, 375),
+ NAME_FUNC_OFFSET( 5075, glMultiTexCoord1d, glMultiTexCoord1d, NULL, 376),
+ NAME_FUNC_OFFSET( 5093, glMultiTexCoord1dv, glMultiTexCoord1dv, NULL, 377),
+ NAME_FUNC_OFFSET( 5112, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, 378),
+ NAME_FUNC_OFFSET( 5133, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, 379),
+ NAME_FUNC_OFFSET( 5155, glMultiTexCoord1i, glMultiTexCoord1i, NULL, 380),
+ NAME_FUNC_OFFSET( 5173, glMultiTexCoord1iv, glMultiTexCoord1iv, NULL, 381),
+ NAME_FUNC_OFFSET( 5192, glMultiTexCoord1s, glMultiTexCoord1s, NULL, 382),
+ NAME_FUNC_OFFSET( 5210, glMultiTexCoord1sv, glMultiTexCoord1sv, NULL, 383),
+ NAME_FUNC_OFFSET( 5229, glMultiTexCoord2d, glMultiTexCoord2d, NULL, 384),
+ NAME_FUNC_OFFSET( 5247, glMultiTexCoord2dv, glMultiTexCoord2dv, NULL, 385),
+ NAME_FUNC_OFFSET( 5266, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, 386),
+ NAME_FUNC_OFFSET( 5287, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, 387),
+ NAME_FUNC_OFFSET( 5309, glMultiTexCoord2i, glMultiTexCoord2i, NULL, 388),
+ NAME_FUNC_OFFSET( 5327, glMultiTexCoord2iv, glMultiTexCoord2iv, NULL, 389),
+ NAME_FUNC_OFFSET( 5346, glMultiTexCoord2s, glMultiTexCoord2s, NULL, 390),
+ NAME_FUNC_OFFSET( 5364, glMultiTexCoord2sv, glMultiTexCoord2sv, NULL, 391),
+ NAME_FUNC_OFFSET( 5383, glMultiTexCoord3d, glMultiTexCoord3d, NULL, 392),
+ NAME_FUNC_OFFSET( 5401, glMultiTexCoord3dv, glMultiTexCoord3dv, NULL, 393),
+ NAME_FUNC_OFFSET( 5420, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, 394),
+ NAME_FUNC_OFFSET( 5441, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, 395),
+ NAME_FUNC_OFFSET( 5463, glMultiTexCoord3i, glMultiTexCoord3i, NULL, 396),
+ NAME_FUNC_OFFSET( 5481, glMultiTexCoord3iv, glMultiTexCoord3iv, NULL, 397),
+ NAME_FUNC_OFFSET( 5500, glMultiTexCoord3s, glMultiTexCoord3s, NULL, 398),
+ NAME_FUNC_OFFSET( 5518, glMultiTexCoord3sv, glMultiTexCoord3sv, NULL, 399),
+ NAME_FUNC_OFFSET( 5537, glMultiTexCoord4d, glMultiTexCoord4d, NULL, 400),
+ NAME_FUNC_OFFSET( 5555, glMultiTexCoord4dv, glMultiTexCoord4dv, NULL, 401),
+ NAME_FUNC_OFFSET( 5574, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, 402),
+ NAME_FUNC_OFFSET( 5595, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, 403),
+ NAME_FUNC_OFFSET( 5617, glMultiTexCoord4i, glMultiTexCoord4i, NULL, 404),
+ NAME_FUNC_OFFSET( 5635, glMultiTexCoord4iv, glMultiTexCoord4iv, NULL, 405),
+ NAME_FUNC_OFFSET( 5654, glMultiTexCoord4s, glMultiTexCoord4s, NULL, 406),
+ NAME_FUNC_OFFSET( 5672, glMultiTexCoord4sv, glMultiTexCoord4sv, NULL, 407),
+ NAME_FUNC_OFFSET( 5691, glCompressedTexImage1D, glCompressedTexImage1D, NULL, 408),
+ NAME_FUNC_OFFSET( 5714, glCompressedTexImage2D, glCompressedTexImage2D, NULL, 409),
+ NAME_FUNC_OFFSET( 5737, glCompressedTexImage3D, glCompressedTexImage3D, NULL, 410),
+ NAME_FUNC_OFFSET( 5760, glCompressedTexSubImage1D, glCompressedTexSubImage1D, NULL, 411),
+ NAME_FUNC_OFFSET( 5786, glCompressedTexSubImage2D, glCompressedTexSubImage2D, NULL, 412),
+ NAME_FUNC_OFFSET( 5812, glCompressedTexSubImage3D, glCompressedTexSubImage3D, NULL, 413),
+ NAME_FUNC_OFFSET( 5838, glGetCompressedTexImage, glGetCompressedTexImage, NULL, 414),
+ NAME_FUNC_OFFSET( 5862, glLoadTransposeMatrixd, glLoadTransposeMatrixd, NULL, 415),
+ NAME_FUNC_OFFSET( 5885, glLoadTransposeMatrixf, glLoadTransposeMatrixf, NULL, 416),
+ NAME_FUNC_OFFSET( 5908, glMultTransposeMatrixd, glMultTransposeMatrixd, NULL, 417),
+ NAME_FUNC_OFFSET( 5931, glMultTransposeMatrixf, glMultTransposeMatrixf, NULL, 418),
+ NAME_FUNC_OFFSET( 5954, glSampleCoverage, glSampleCoverage, NULL, 419),
+ NAME_FUNC_OFFSET( 5971, glBlendFuncSeparate, glBlendFuncSeparate, NULL, 420),
+ NAME_FUNC_OFFSET( 5991, glFogCoordPointer, glFogCoordPointer, NULL, 421),
+ NAME_FUNC_OFFSET( 6009, glFogCoordd, glFogCoordd, NULL, 422),
+ NAME_FUNC_OFFSET( 6021, glFogCoorddv, glFogCoorddv, NULL, 423),
+ NAME_FUNC_OFFSET( 6034, glMultiDrawArrays, glMultiDrawArrays, NULL, 424),
+ NAME_FUNC_OFFSET( 6052, glPointParameterf, glPointParameterf, NULL, 425),
+ NAME_FUNC_OFFSET( 6070, glPointParameterfv, glPointParameterfv, NULL, 426),
+ NAME_FUNC_OFFSET( 6089, glPointParameteri, glPointParameteri, NULL, 427),
+ NAME_FUNC_OFFSET( 6107, glPointParameteriv, glPointParameteriv, NULL, 428),
+ NAME_FUNC_OFFSET( 6126, glSecondaryColor3b, glSecondaryColor3b, NULL, 429),
+ NAME_FUNC_OFFSET( 6145, glSecondaryColor3bv, glSecondaryColor3bv, NULL, 430),
+ NAME_FUNC_OFFSET( 6165, glSecondaryColor3d, glSecondaryColor3d, NULL, 431),
+ NAME_FUNC_OFFSET( 6184, glSecondaryColor3dv, glSecondaryColor3dv, NULL, 432),
+ NAME_FUNC_OFFSET( 6204, glSecondaryColor3i, glSecondaryColor3i, NULL, 433),
+ NAME_FUNC_OFFSET( 6223, glSecondaryColor3iv, glSecondaryColor3iv, NULL, 434),
+ NAME_FUNC_OFFSET( 6243, glSecondaryColor3s, glSecondaryColor3s, NULL, 435),
+ NAME_FUNC_OFFSET( 6262, glSecondaryColor3sv, glSecondaryColor3sv, NULL, 436),
+ NAME_FUNC_OFFSET( 6282, glSecondaryColor3ub, glSecondaryColor3ub, NULL, 437),
+ NAME_FUNC_OFFSET( 6302, glSecondaryColor3ubv, glSecondaryColor3ubv, NULL, 438),
+ NAME_FUNC_OFFSET( 6323, glSecondaryColor3ui, glSecondaryColor3ui, NULL, 439),
+ NAME_FUNC_OFFSET( 6343, glSecondaryColor3uiv, glSecondaryColor3uiv, NULL, 440),
+ NAME_FUNC_OFFSET( 6364, glSecondaryColor3us, glSecondaryColor3us, NULL, 441),
+ NAME_FUNC_OFFSET( 6384, glSecondaryColor3usv, glSecondaryColor3usv, NULL, 442),
+ NAME_FUNC_OFFSET( 6405, glSecondaryColorPointer, glSecondaryColorPointer, NULL, 443),
+ NAME_FUNC_OFFSET( 6429, glWindowPos2d, glWindowPos2d, NULL, 444),
+ NAME_FUNC_OFFSET( 6443, glWindowPos2dv, glWindowPos2dv, NULL, 445),
+ NAME_FUNC_OFFSET( 6458, glWindowPos2f, glWindowPos2f, NULL, 446),
+ NAME_FUNC_OFFSET( 6472, glWindowPos2fv, glWindowPos2fv, NULL, 447),
+ NAME_FUNC_OFFSET( 6487, glWindowPos2i, glWindowPos2i, NULL, 448),
+ NAME_FUNC_OFFSET( 6501, glWindowPos2iv, glWindowPos2iv, NULL, 449),
+ NAME_FUNC_OFFSET( 6516, glWindowPos2s, glWindowPos2s, NULL, 450),
+ NAME_FUNC_OFFSET( 6530, glWindowPos2sv, glWindowPos2sv, NULL, 451),
+ NAME_FUNC_OFFSET( 6545, glWindowPos3d, glWindowPos3d, NULL, 452),
+ NAME_FUNC_OFFSET( 6559, glWindowPos3dv, glWindowPos3dv, NULL, 453),
+ NAME_FUNC_OFFSET( 6574, glWindowPos3f, glWindowPos3f, NULL, 454),
+ NAME_FUNC_OFFSET( 6588, glWindowPos3fv, glWindowPos3fv, NULL, 455),
+ NAME_FUNC_OFFSET( 6603, glWindowPos3i, glWindowPos3i, NULL, 456),
+ NAME_FUNC_OFFSET( 6617, glWindowPos3iv, glWindowPos3iv, NULL, 457),
+ NAME_FUNC_OFFSET( 6632, glWindowPos3s, glWindowPos3s, NULL, 458),
+ NAME_FUNC_OFFSET( 6646, glWindowPos3sv, glWindowPos3sv, NULL, 459),
+ NAME_FUNC_OFFSET( 6661, glBeginQuery, glBeginQuery, NULL, 460),
+ NAME_FUNC_OFFSET( 6674, glBindBuffer, glBindBuffer, NULL, 461),
+ NAME_FUNC_OFFSET( 6687, glBufferData, glBufferData, NULL, 462),
+ NAME_FUNC_OFFSET( 6700, glBufferSubData, glBufferSubData, NULL, 463),
+ NAME_FUNC_OFFSET( 6716, glDeleteBuffers, glDeleteBuffers, NULL, 464),
+ NAME_FUNC_OFFSET( 6732, glDeleteQueries, glDeleteQueries, NULL, 465),
+ NAME_FUNC_OFFSET( 6748, glEndQuery, glEndQuery, NULL, 466),
+ NAME_FUNC_OFFSET( 6759, glGenBuffers, glGenBuffers, NULL, 467),
+ NAME_FUNC_OFFSET( 6772, glGenQueries, glGenQueries, NULL, 468),
+ NAME_FUNC_OFFSET( 6785, glGetBufferParameteriv, glGetBufferParameteriv, NULL, 469),
+ NAME_FUNC_OFFSET( 6808, glGetBufferPointerv, glGetBufferPointerv, NULL, 470),
+ NAME_FUNC_OFFSET( 6828, glGetBufferSubData, glGetBufferSubData, NULL, 471),
+ NAME_FUNC_OFFSET( 6847, glGetQueryObjectiv, glGetQueryObjectiv, NULL, 472),
+ NAME_FUNC_OFFSET( 6866, glGetQueryObjectuiv, glGetQueryObjectuiv, NULL, 473),
+ NAME_FUNC_OFFSET( 6886, glGetQueryiv, glGetQueryiv, NULL, 474),
+ NAME_FUNC_OFFSET( 6899, glIsBuffer, glIsBuffer, NULL, 475),
+ NAME_FUNC_OFFSET( 6910, glIsQuery, glIsQuery, NULL, 476),
+ NAME_FUNC_OFFSET( 6920, glMapBuffer, glMapBuffer, NULL, 477),
+ NAME_FUNC_OFFSET( 6932, glUnmapBuffer, glUnmapBuffer, NULL, 478),
+ NAME_FUNC_OFFSET( 6946, glAttachShader, glAttachShader, NULL, 479),
+ NAME_FUNC_OFFSET( 6961, glBindAttribLocation, glBindAttribLocation, NULL, 480),
+ NAME_FUNC_OFFSET( 6982, glBlendEquationSeparate, glBlendEquationSeparate, NULL, 481),
+ NAME_FUNC_OFFSET( 7006, glCompileShader, glCompileShader, NULL, 482),
+ NAME_FUNC_OFFSET( 7022, glCreateProgram, glCreateProgram, NULL, 483),
+ NAME_FUNC_OFFSET( 7038, glCreateShader, glCreateShader, NULL, 484),
+ NAME_FUNC_OFFSET( 7053, glDeleteProgram, glDeleteProgram, NULL, 485),
+ NAME_FUNC_OFFSET( 7069, glDeleteShader, glDeleteShader, NULL, 486),
+ NAME_FUNC_OFFSET( 7084, glDetachShader, glDetachShader, NULL, 487),
+ NAME_FUNC_OFFSET( 7099, glDisableVertexAttribArray, glDisableVertexAttribArray, NULL, 488),
+ NAME_FUNC_OFFSET( 7126, glDrawBuffers, glDrawBuffers, NULL, 489),
+ NAME_FUNC_OFFSET( 7140, glEnableVertexAttribArray, glEnableVertexAttribArray, NULL, 490),
+ NAME_FUNC_OFFSET( 7166, glGetActiveAttrib, glGetActiveAttrib, NULL, 491),
+ NAME_FUNC_OFFSET( 7184, glGetActiveUniform, glGetActiveUniform, NULL, 492),
+ NAME_FUNC_OFFSET( 7203, glGetAttachedShaders, glGetAttachedShaders, NULL, 493),
+ NAME_FUNC_OFFSET( 7224, glGetAttribLocation, glGetAttribLocation, NULL, 494),
+ NAME_FUNC_OFFSET( 7244, glGetProgramInfoLog, glGetProgramInfoLog, NULL, 495),
+ NAME_FUNC_OFFSET( 7264, glGetProgramiv, glGetProgramiv, NULL, 496),
+ NAME_FUNC_OFFSET( 7279, glGetShaderInfoLog, glGetShaderInfoLog, NULL, 497),
+ NAME_FUNC_OFFSET( 7298, glGetShaderSource, glGetShaderSource, NULL, 498),
+ NAME_FUNC_OFFSET( 7316, glGetShaderiv, glGetShaderiv, NULL, 499),
+ NAME_FUNC_OFFSET( 7330, glGetUniformLocation, glGetUniformLocation, NULL, 500),
+ NAME_FUNC_OFFSET( 7351, glGetUniformfv, glGetUniformfv, NULL, 501),
+ NAME_FUNC_OFFSET( 7366, glGetUniformiv, glGetUniformiv, NULL, 502),
+ NAME_FUNC_OFFSET( 7381, glGetVertexAttribPointerv, glGetVertexAttribPointerv, NULL, 503),
+ NAME_FUNC_OFFSET( 7407, glGetVertexAttribdv, glGetVertexAttribdv, NULL, 504),
+ NAME_FUNC_OFFSET( 7427, glGetVertexAttribfv, glGetVertexAttribfv, NULL, 505),
+ NAME_FUNC_OFFSET( 7447, glGetVertexAttribiv, glGetVertexAttribiv, NULL, 506),
+ NAME_FUNC_OFFSET( 7467, glIsProgram, glIsProgram, NULL, 507),
+ NAME_FUNC_OFFSET( 7479, glIsShader, glIsShader, NULL, 508),
+ NAME_FUNC_OFFSET( 7490, glLinkProgram, glLinkProgram, NULL, 509),
+ NAME_FUNC_OFFSET( 7504, glShaderSource, glShaderSource, NULL, 510),
+ NAME_FUNC_OFFSET( 7519, glStencilFuncSeparate, glStencilFuncSeparate, NULL, 511),
+ NAME_FUNC_OFFSET( 7541, glStencilMaskSeparate, glStencilMaskSeparate, NULL, 512),
+ NAME_FUNC_OFFSET( 7563, glStencilOpSeparate, glStencilOpSeparate, NULL, 513),
+ NAME_FUNC_OFFSET( 7583, glUniform1f, glUniform1f, NULL, 514),
+ NAME_FUNC_OFFSET( 7595, glUniform1fv, glUniform1fv, NULL, 515),
+ NAME_FUNC_OFFSET( 7608, glUniform1i, glUniform1i, NULL, 516),
+ NAME_FUNC_OFFSET( 7620, glUniform1iv, glUniform1iv, NULL, 517),
+ NAME_FUNC_OFFSET( 7633, glUniform2f, glUniform2f, NULL, 518),
+ NAME_FUNC_OFFSET( 7645, glUniform2fv, glUniform2fv, NULL, 519),
+ NAME_FUNC_OFFSET( 7658, glUniform2i, glUniform2i, NULL, 520),
+ NAME_FUNC_OFFSET( 7670, glUniform2iv, glUniform2iv, NULL, 521),
+ NAME_FUNC_OFFSET( 7683, glUniform3f, glUniform3f, NULL, 522),
+ NAME_FUNC_OFFSET( 7695, glUniform3fv, glUniform3fv, NULL, 523),
+ NAME_FUNC_OFFSET( 7708, glUniform3i, glUniform3i, NULL, 524),
+ NAME_FUNC_OFFSET( 7720, glUniform3iv, glUniform3iv, NULL, 525),
+ NAME_FUNC_OFFSET( 7733, glUniform4f, glUniform4f, NULL, 526),
+ NAME_FUNC_OFFSET( 7745, glUniform4fv, glUniform4fv, NULL, 527),
+ NAME_FUNC_OFFSET( 7758, glUniform4i, glUniform4i, NULL, 528),
+ NAME_FUNC_OFFSET( 7770, glUniform4iv, glUniform4iv, NULL, 529),
+ NAME_FUNC_OFFSET( 7783, glUniformMatrix2fv, glUniformMatrix2fv, NULL, 530),
+ NAME_FUNC_OFFSET( 7802, glUniformMatrix3fv, glUniformMatrix3fv, NULL, 531),
+ NAME_FUNC_OFFSET( 7821, glUniformMatrix4fv, glUniformMatrix4fv, NULL, 532),
+ NAME_FUNC_OFFSET( 7840, glUseProgram, glUseProgram, NULL, 533),
+ NAME_FUNC_OFFSET( 7853, glValidateProgram, glValidateProgram, NULL, 534),
+ NAME_FUNC_OFFSET( 7871, glVertexAttrib1d, glVertexAttrib1d, NULL, 535),
+ NAME_FUNC_OFFSET( 7888, glVertexAttrib1dv, glVertexAttrib1dv, NULL, 536),
+ NAME_FUNC_OFFSET( 7906, glVertexAttrib1s, glVertexAttrib1s, NULL, 537),
+ NAME_FUNC_OFFSET( 7923, glVertexAttrib1sv, glVertexAttrib1sv, NULL, 538),
+ NAME_FUNC_OFFSET( 7941, glVertexAttrib2d, glVertexAttrib2d, NULL, 539),
+ NAME_FUNC_OFFSET( 7958, glVertexAttrib2dv, glVertexAttrib2dv, NULL, 540),
+ NAME_FUNC_OFFSET( 7976, glVertexAttrib2s, glVertexAttrib2s, NULL, 541),
+ NAME_FUNC_OFFSET( 7993, glVertexAttrib2sv, glVertexAttrib2sv, NULL, 542),
+ NAME_FUNC_OFFSET( 8011, glVertexAttrib3d, glVertexAttrib3d, NULL, 543),
+ NAME_FUNC_OFFSET( 8028, glVertexAttrib3dv, glVertexAttrib3dv, NULL, 544),
+ NAME_FUNC_OFFSET( 8046, glVertexAttrib3s, glVertexAttrib3s, NULL, 545),
+ NAME_FUNC_OFFSET( 8063, glVertexAttrib3sv, glVertexAttrib3sv, NULL, 546),
+ NAME_FUNC_OFFSET( 8081, glVertexAttrib4Nbv, glVertexAttrib4Nbv, NULL, 547),
+ NAME_FUNC_OFFSET( 8100, glVertexAttrib4Niv, glVertexAttrib4Niv, NULL, 548),
+ NAME_FUNC_OFFSET( 8119, glVertexAttrib4Nsv, glVertexAttrib4Nsv, NULL, 549),
+ NAME_FUNC_OFFSET( 8138, glVertexAttrib4Nub, glVertexAttrib4Nub, NULL, 550),
+ NAME_FUNC_OFFSET( 8157, glVertexAttrib4Nubv, glVertexAttrib4Nubv, NULL, 551),
+ NAME_FUNC_OFFSET( 8177, glVertexAttrib4Nuiv, glVertexAttrib4Nuiv, NULL, 552),
+ NAME_FUNC_OFFSET( 8197, glVertexAttrib4Nusv, glVertexAttrib4Nusv, NULL, 553),
+ NAME_FUNC_OFFSET( 8217, glVertexAttrib4bv, glVertexAttrib4bv, NULL, 554),
+ NAME_FUNC_OFFSET( 8235, glVertexAttrib4d, glVertexAttrib4d, NULL, 555),
+ NAME_FUNC_OFFSET( 8252, glVertexAttrib4dv, glVertexAttrib4dv, NULL, 556),
+ NAME_FUNC_OFFSET( 8270, glVertexAttrib4iv, glVertexAttrib4iv, NULL, 557),
+ NAME_FUNC_OFFSET( 8288, glVertexAttrib4s, glVertexAttrib4s, NULL, 558),
+ NAME_FUNC_OFFSET( 8305, glVertexAttrib4sv, glVertexAttrib4sv, NULL, 559),
+ NAME_FUNC_OFFSET( 8323, glVertexAttrib4ubv, glVertexAttrib4ubv, NULL, 560),
+ NAME_FUNC_OFFSET( 8342, glVertexAttrib4uiv, glVertexAttrib4uiv, NULL, 561),
+ NAME_FUNC_OFFSET( 8361, glVertexAttrib4usv, glVertexAttrib4usv, NULL, 562),
+ NAME_FUNC_OFFSET( 8380, glVertexAttribPointer, glVertexAttribPointer, NULL, 563),
+ NAME_FUNC_OFFSET( 8402, glUniformMatrix2x3fv, glUniformMatrix2x3fv, NULL, 564),
+ NAME_FUNC_OFFSET( 8423, glUniformMatrix2x4fv, glUniformMatrix2x4fv, NULL, 565),
+ NAME_FUNC_OFFSET( 8444, glUniformMatrix3x2fv, glUniformMatrix3x2fv, NULL, 566),
+ NAME_FUNC_OFFSET( 8465, glUniformMatrix3x4fv, glUniformMatrix3x4fv, NULL, 567),
+ NAME_FUNC_OFFSET( 8486, glUniformMatrix4x2fv, glUniformMatrix4x2fv, NULL, 568),
+ NAME_FUNC_OFFSET( 8507, glUniformMatrix4x3fv, glUniformMatrix4x3fv, NULL, 569),
+ NAME_FUNC_OFFSET( 8528, glBeginConditionalRender, glBeginConditionalRender, NULL, 570),
+ NAME_FUNC_OFFSET( 8553, glBeginTransformFeedback, glBeginTransformFeedback, NULL, 571),
+ NAME_FUNC_OFFSET( 8578, glBindBufferBase, glBindBufferBase, NULL, 572),
+ NAME_FUNC_OFFSET( 8595, glBindBufferRange, glBindBufferRange, NULL, 573),
+ NAME_FUNC_OFFSET( 8613, glBindFragDataLocation, glBindFragDataLocation, NULL, 574),
+ NAME_FUNC_OFFSET( 8636, glClampColor, glClampColor, NULL, 575),
+ NAME_FUNC_OFFSET( 8649, glClearBufferfi, glClearBufferfi, NULL, 576),
+ NAME_FUNC_OFFSET( 8665, glClearBufferfv, glClearBufferfv, NULL, 577),
+ NAME_FUNC_OFFSET( 8681, glClearBufferiv, glClearBufferiv, NULL, 578),
+ NAME_FUNC_OFFSET( 8697, glClearBufferuiv, glClearBufferuiv, NULL, 579),
+ NAME_FUNC_OFFSET( 8714, glColorMaski, glColorMaski, NULL, 580),
+ NAME_FUNC_OFFSET( 8727, glDisablei, glDisablei, NULL, 581),
+ NAME_FUNC_OFFSET( 8738, glEnablei, glEnablei, NULL, 582),
+ NAME_FUNC_OFFSET( 8748, glEndConditionalRender, glEndConditionalRender, NULL, 583),
+ NAME_FUNC_OFFSET( 8771, glEndTransformFeedback, glEndTransformFeedback, NULL, 584),
+ NAME_FUNC_OFFSET( 8794, glGetBooleani_v, glGetBooleani_v, NULL, 585),
+ NAME_FUNC_OFFSET( 8810, glGetFragDataLocation, glGetFragDataLocation, NULL, 586),
+ NAME_FUNC_OFFSET( 8832, glGetIntegeri_v, glGetIntegeri_v, NULL, 587),
+ NAME_FUNC_OFFSET( 8848, glGetStringi, glGetStringi, NULL, 588),
+ NAME_FUNC_OFFSET( 8861, glGetTexParameterIiv, glGetTexParameterIiv, NULL, 589),
+ NAME_FUNC_OFFSET( 8882, glGetTexParameterIuiv, glGetTexParameterIuiv, NULL, 590),
+ NAME_FUNC_OFFSET( 8904, glGetTransformFeedbackVarying, glGetTransformFeedbackVarying, NULL, 591),
+ NAME_FUNC_OFFSET( 8934, glGetUniformuiv, glGetUniformuiv, NULL, 592),
+ NAME_FUNC_OFFSET( 8950, glGetVertexAttribIiv, glGetVertexAttribIiv, NULL, 593),
+ NAME_FUNC_OFFSET( 8971, glGetVertexAttribIuiv, glGetVertexAttribIuiv, NULL, 594),
+ NAME_FUNC_OFFSET( 8993, glIsEnabledi, glIsEnabledi, NULL, 595),
+ NAME_FUNC_OFFSET( 9006, glTexParameterIiv, glTexParameterIiv, NULL, 596),
+ NAME_FUNC_OFFSET( 9024, glTexParameterIuiv, glTexParameterIuiv, NULL, 597),
+ NAME_FUNC_OFFSET( 9043, glTransformFeedbackVaryings, glTransformFeedbackVaryings, NULL, 598),
+ NAME_FUNC_OFFSET( 9071, glUniform1ui, glUniform1ui, NULL, 599),
+ NAME_FUNC_OFFSET( 9084, glUniform1uiv, glUniform1uiv, NULL, 600),
+ NAME_FUNC_OFFSET( 9098, glUniform2ui, glUniform2ui, NULL, 601),
+ NAME_FUNC_OFFSET( 9111, glUniform2uiv, glUniform2uiv, NULL, 602),
+ NAME_FUNC_OFFSET( 9125, glUniform3ui, glUniform3ui, NULL, 603),
+ NAME_FUNC_OFFSET( 9138, glUniform3uiv, glUniform3uiv, NULL, 604),
+ NAME_FUNC_OFFSET( 9152, glUniform4ui, glUniform4ui, NULL, 605),
+ NAME_FUNC_OFFSET( 9165, glUniform4uiv, glUniform4uiv, NULL, 606),
+ NAME_FUNC_OFFSET( 9179, glVertexAttribI1iv, glVertexAttribI1iv, NULL, 607),
+ NAME_FUNC_OFFSET( 9198, glVertexAttribI1uiv, glVertexAttribI1uiv, NULL, 608),
+ NAME_FUNC_OFFSET( 9218, glVertexAttribI4bv, glVertexAttribI4bv, NULL, 609),
+ NAME_FUNC_OFFSET( 9237, glVertexAttribI4sv, glVertexAttribI4sv, NULL, 610),
+ NAME_FUNC_OFFSET( 9256, glVertexAttribI4ubv, glVertexAttribI4ubv, NULL, 611),
+ NAME_FUNC_OFFSET( 9276, glVertexAttribI4usv, glVertexAttribI4usv, NULL, 612),
+ NAME_FUNC_OFFSET( 9296, glVertexAttribIPointer, glVertexAttribIPointer, NULL, 613),
+ NAME_FUNC_OFFSET( 9319, glPrimitiveRestartIndex, glPrimitiveRestartIndex, NULL, 614),
+ NAME_FUNC_OFFSET( 9343, glTexBuffer, glTexBuffer, NULL, 615),
+ NAME_FUNC_OFFSET( 9355, glFramebufferTexture, glFramebufferTexture, NULL, 616),
+ NAME_FUNC_OFFSET( 9376, glGetBufferParameteri64v, glGetBufferParameteri64v, NULL, 617),
+ NAME_FUNC_OFFSET( 9401, glGetInteger64i_v, glGetInteger64i_v, NULL, 618),
+ NAME_FUNC_OFFSET( 9419, glVertexAttribDivisor, glVertexAttribDivisor, NULL, 619),
+ NAME_FUNC_OFFSET( 9441, glBindProgramARB, glBindProgramARB, NULL, 620),
+ NAME_FUNC_OFFSET( 9458, glDeleteProgramsARB, glDeleteProgramsARB, NULL, 621),
+ NAME_FUNC_OFFSET( 9478, glGenProgramsARB, glGenProgramsARB, NULL, 622),
+ NAME_FUNC_OFFSET( 9495, glGetProgramEnvParameterdvARB, glGetProgramEnvParameterdvARB, NULL, 623),
+ NAME_FUNC_OFFSET( 9525, glGetProgramEnvParameterfvARB, glGetProgramEnvParameterfvARB, NULL, 624),
+ NAME_FUNC_OFFSET( 9555, glGetProgramLocalParameterdvARB, glGetProgramLocalParameterdvARB, NULL, 625),
+ NAME_FUNC_OFFSET( 9587, glGetProgramLocalParameterfvARB, glGetProgramLocalParameterfvARB, NULL, 626),
+ NAME_FUNC_OFFSET( 9619, glGetProgramStringARB, glGetProgramStringARB, NULL, 627),
+ NAME_FUNC_OFFSET( 9641, glGetProgramivARB, glGetProgramivARB, NULL, 628),
+ NAME_FUNC_OFFSET( 9659, glIsProgramARB, glIsProgramARB, NULL, 629),
+ NAME_FUNC_OFFSET( 9674, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, 630),
+ NAME_FUNC_OFFSET( 9701, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, 631),
+ NAME_FUNC_OFFSET( 9729, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, 632),
+ NAME_FUNC_OFFSET( 9756, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, 633),
+ NAME_FUNC_OFFSET( 9784, glProgramLocalParameter4dARB, glProgramLocalParameter4dARB, NULL, 634),
+ NAME_FUNC_OFFSET( 9813, glProgramLocalParameter4dvARB, glProgramLocalParameter4dvARB, NULL, 635),
+ NAME_FUNC_OFFSET( 9843, glProgramLocalParameter4fARB, glProgramLocalParameter4fARB, NULL, 636),
+ NAME_FUNC_OFFSET( 9872, glProgramLocalParameter4fvARB, glProgramLocalParameter4fvARB, NULL, 637),
+ NAME_FUNC_OFFSET( 9902, glProgramStringARB, glProgramStringARB, NULL, 638),
+ NAME_FUNC_OFFSET( 9921, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 639),
+ NAME_FUNC_OFFSET( 9941, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, 640),
+ NAME_FUNC_OFFSET( 9962, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 641),
+ NAME_FUNC_OFFSET( 9982, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, 642),
+ NAME_FUNC_OFFSET(10003, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 643),
+ NAME_FUNC_OFFSET(10023, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, 644),
+ NAME_FUNC_OFFSET(10044, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 645),
+ NAME_FUNC_OFFSET(10064, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, 646),
+ NAME_FUNC_OFFSET(10085, glAttachObjectARB, glAttachObjectARB, NULL, 647),
+ NAME_FUNC_OFFSET(10103, glCreateProgramObjectARB, glCreateProgramObjectARB, NULL, 648),
+ NAME_FUNC_OFFSET(10128, glCreateShaderObjectARB, glCreateShaderObjectARB, NULL, 649),
+ NAME_FUNC_OFFSET(10152, glDeleteObjectARB, glDeleteObjectARB, NULL, 650),
+ NAME_FUNC_OFFSET(10170, glDetachObjectARB, glDetachObjectARB, NULL, 651),
+ NAME_FUNC_OFFSET(10188, glGetAttachedObjectsARB, glGetAttachedObjectsARB, NULL, 652),
+ NAME_FUNC_OFFSET(10212, glGetHandleARB, glGetHandleARB, NULL, 653),
+ NAME_FUNC_OFFSET(10227, glGetInfoLogARB, glGetInfoLogARB, NULL, 654),
+ NAME_FUNC_OFFSET(10243, glGetObjectParameterfvARB, glGetObjectParameterfvARB, NULL, 655),
+ NAME_FUNC_OFFSET(10269, glGetObjectParameterivARB, glGetObjectParameterivARB, NULL, 656),
+ NAME_FUNC_OFFSET(10295, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 657),
+ NAME_FUNC_OFFSET(10320, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 658),
+ NAME_FUNC_OFFSET(10347, glBindFramebuffer, glBindFramebuffer, NULL, 659),
+ NAME_FUNC_OFFSET(10365, glBindRenderbuffer, glBindRenderbuffer, NULL, 660),
+ NAME_FUNC_OFFSET(10384, glBlitFramebuffer, glBlitFramebuffer, NULL, 661),
+ NAME_FUNC_OFFSET(10402, glCheckFramebufferStatus, glCheckFramebufferStatus, NULL, 662),
+ NAME_FUNC_OFFSET(10427, glDeleteFramebuffers, glDeleteFramebuffers, NULL, 663),
+ NAME_FUNC_OFFSET(10448, glDeleteRenderbuffers, glDeleteRenderbuffers, NULL, 664),
+ NAME_FUNC_OFFSET(10470, glFramebufferRenderbuffer, glFramebufferRenderbuffer, NULL, 665),
+ NAME_FUNC_OFFSET(10496, glFramebufferTexture1D, glFramebufferTexture1D, NULL, 666),
+ NAME_FUNC_OFFSET(10519, glFramebufferTexture2D, glFramebufferTexture2D, NULL, 667),
+ NAME_FUNC_OFFSET(10542, glFramebufferTexture3D, glFramebufferTexture3D, NULL, 668),
+ NAME_FUNC_OFFSET(10565, glFramebufferTextureLayer, glFramebufferTextureLayer, NULL, 669),
+ NAME_FUNC_OFFSET(10591, glGenFramebuffers, glGenFramebuffers, NULL, 670),
+ NAME_FUNC_OFFSET(10609, glGenRenderbuffers, glGenRenderbuffers, NULL, 671),
+ NAME_FUNC_OFFSET(10628, glGenerateMipmap, glGenerateMipmap, NULL, 672),
+ NAME_FUNC_OFFSET(10645, glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv, NULL, 673),
+ NAME_FUNC_OFFSET(10683, glGetRenderbufferParameteriv, glGetRenderbufferParameteriv, NULL, 674),
+ NAME_FUNC_OFFSET(10712, glIsFramebuffer, glIsFramebuffer, NULL, 675),
+ NAME_FUNC_OFFSET(10728, glIsRenderbuffer, glIsRenderbuffer, NULL, 676),
+ NAME_FUNC_OFFSET(10745, glRenderbufferStorage, glRenderbufferStorage, NULL, 677),
+ NAME_FUNC_OFFSET(10767, glRenderbufferStorageMultisample, glRenderbufferStorageMultisample, NULL, 678),
+ NAME_FUNC_OFFSET(10800, glFramebufferTextureFaceARB, glFramebufferTextureFaceARB, NULL, 679),
+ NAME_FUNC_OFFSET(10828, glFlushMappedBufferRange, glFlushMappedBufferRange, NULL, 680),
+ NAME_FUNC_OFFSET(10853, glMapBufferRange, glMapBufferRange, NULL, 681),
+ NAME_FUNC_OFFSET(10870, glBindVertexArray, glBindVertexArray, NULL, 682),
+ NAME_FUNC_OFFSET(10888, glDeleteVertexArrays, glDeleteVertexArrays, NULL, 683),
+ NAME_FUNC_OFFSET(10909, glGenVertexArrays, glGenVertexArrays, NULL, 684),
+ NAME_FUNC_OFFSET(10927, glIsVertexArray, glIsVertexArray, NULL, 685),
+ NAME_FUNC_OFFSET(10943, glGetActiveUniformBlockName, glGetActiveUniformBlockName, NULL, 686),
+ NAME_FUNC_OFFSET(10971, glGetActiveUniformBlockiv, glGetActiveUniformBlockiv, NULL, 687),
+ NAME_FUNC_OFFSET(10997, glGetActiveUniformName, glGetActiveUniformName, NULL, 688),
+ NAME_FUNC_OFFSET(11020, glGetActiveUniformsiv, glGetActiveUniformsiv, NULL, 689),
+ NAME_FUNC_OFFSET(11042, glGetUniformBlockIndex, glGetUniformBlockIndex, NULL, 690),
+ NAME_FUNC_OFFSET(11065, glGetUniformIndices, glGetUniformIndices, NULL, 691),
+ NAME_FUNC_OFFSET(11085, glUniformBlockBinding, glUniformBlockBinding, NULL, 692),
+ NAME_FUNC_OFFSET(11107, glCopyBufferSubData, glCopyBufferSubData, NULL, 693),
+ NAME_FUNC_OFFSET(11127, glClientWaitSync, glClientWaitSync, NULL, 694),
+ NAME_FUNC_OFFSET(11144, glDeleteSync, glDeleteSync, NULL, 695),
+ NAME_FUNC_OFFSET(11157, glFenceSync, glFenceSync, NULL, 696),
+ NAME_FUNC_OFFSET(11169, glGetInteger64v, glGetInteger64v, NULL, 697),
+ NAME_FUNC_OFFSET(11185, glGetSynciv, glGetSynciv, NULL, 698),
+ NAME_FUNC_OFFSET(11197, glIsSync, glIsSync, NULL, 699),
+ NAME_FUNC_OFFSET(11206, glWaitSync, glWaitSync, NULL, 700),
+ NAME_FUNC_OFFSET(11217, glDrawElementsBaseVertex, glDrawElementsBaseVertex, NULL, 701),
+ NAME_FUNC_OFFSET(11242, glDrawElementsInstancedBaseVertex, glDrawElementsInstancedBaseVertex, NULL, 702),
+ NAME_FUNC_OFFSET(11276, glDrawRangeElementsBaseVertex, glDrawRangeElementsBaseVertex, NULL, 703),
+ NAME_FUNC_OFFSET(11306, glMultiDrawElementsBaseVertex, glMultiDrawElementsBaseVertex, NULL, 704),
+ NAME_FUNC_OFFSET(11336, glProvokingVertex, glProvokingVertex, NULL, 705),
+ NAME_FUNC_OFFSET(11354, glGetMultisamplefv, glGetMultisamplefv, NULL, 706),
+ NAME_FUNC_OFFSET(11373, glSampleMaski, glSampleMaski, NULL, 707),
+ NAME_FUNC_OFFSET(11387, glTexImage2DMultisample, glTexImage2DMultisample, NULL, 708),
+ NAME_FUNC_OFFSET(11411, glTexImage3DMultisample, glTexImage3DMultisample, NULL, 709),
+ NAME_FUNC_OFFSET(11435, glBlendEquationSeparateiARB, glBlendEquationSeparateiARB, NULL, 710),
+ NAME_FUNC_OFFSET(11463, glBlendEquationiARB, glBlendEquationiARB, NULL, 711),
+ NAME_FUNC_OFFSET(11483, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, NULL, 712),
+ NAME_FUNC_OFFSET(11507, glBlendFunciARB, glBlendFunciARB, NULL, 713),
+ NAME_FUNC_OFFSET(11523, glBindFragDataLocationIndexed, glBindFragDataLocationIndexed, NULL, 714),
+ NAME_FUNC_OFFSET(11553, glGetFragDataIndex, glGetFragDataIndex, NULL, 715),
+ NAME_FUNC_OFFSET(11572, glBindSampler, glBindSampler, NULL, 716),
+ NAME_FUNC_OFFSET(11586, glDeleteSamplers, glDeleteSamplers, NULL, 717),
+ NAME_FUNC_OFFSET(11603, glGenSamplers, glGenSamplers, NULL, 718),
+ NAME_FUNC_OFFSET(11617, glGetSamplerParameterIiv, glGetSamplerParameterIiv, NULL, 719),
+ NAME_FUNC_OFFSET(11642, glGetSamplerParameterIuiv, glGetSamplerParameterIuiv, NULL, 720),
+ NAME_FUNC_OFFSET(11668, glGetSamplerParameterfv, glGetSamplerParameterfv, NULL, 721),
+ NAME_FUNC_OFFSET(11692, glGetSamplerParameteriv, glGetSamplerParameteriv, NULL, 722),
+ NAME_FUNC_OFFSET(11716, glIsSampler, glIsSampler, NULL, 723),
+ NAME_FUNC_OFFSET(11728, glSamplerParameterIiv, glSamplerParameterIiv, NULL, 724),
+ NAME_FUNC_OFFSET(11750, glSamplerParameterIuiv, glSamplerParameterIuiv, NULL, 725),
+ NAME_FUNC_OFFSET(11773, glSamplerParameterf, glSamplerParameterf, NULL, 726),
+ NAME_FUNC_OFFSET(11793, glSamplerParameterfv, glSamplerParameterfv, NULL, 727),
+ NAME_FUNC_OFFSET(11814, glSamplerParameteri, glSamplerParameteri, NULL, 728),
+ NAME_FUNC_OFFSET(11834, glSamplerParameteriv, glSamplerParameteriv, NULL, 729),
+ NAME_FUNC_OFFSET(11855, gl_dispatch_stub_730, gl_dispatch_stub_730, NULL, 730),
+ NAME_FUNC_OFFSET(11876, gl_dispatch_stub_731, gl_dispatch_stub_731, NULL, 731),
+ NAME_FUNC_OFFSET(11898, gl_dispatch_stub_732, gl_dispatch_stub_732, NULL, 732),
+ NAME_FUNC_OFFSET(11913, glColorP3ui, glColorP3ui, NULL, 733),
+ NAME_FUNC_OFFSET(11925, glColorP3uiv, glColorP3uiv, NULL, 734),
+ NAME_FUNC_OFFSET(11938, glColorP4ui, glColorP4ui, NULL, 735),
+ NAME_FUNC_OFFSET(11950, glColorP4uiv, glColorP4uiv, NULL, 736),
+ NAME_FUNC_OFFSET(11963, glMultiTexCoordP1ui, glMultiTexCoordP1ui, NULL, 737),
+ NAME_FUNC_OFFSET(11983, glMultiTexCoordP1uiv, glMultiTexCoordP1uiv, NULL, 738),
+ NAME_FUNC_OFFSET(12004, glMultiTexCoordP2ui, glMultiTexCoordP2ui, NULL, 739),
+ NAME_FUNC_OFFSET(12024, glMultiTexCoordP2uiv, glMultiTexCoordP2uiv, NULL, 740),
+ NAME_FUNC_OFFSET(12045, glMultiTexCoordP3ui, glMultiTexCoordP3ui, NULL, 741),
+ NAME_FUNC_OFFSET(12065, glMultiTexCoordP3uiv, glMultiTexCoordP3uiv, NULL, 742),
+ NAME_FUNC_OFFSET(12086, glMultiTexCoordP4ui, glMultiTexCoordP4ui, NULL, 743),
+ NAME_FUNC_OFFSET(12106, glMultiTexCoordP4uiv, glMultiTexCoordP4uiv, NULL, 744),
+ NAME_FUNC_OFFSET(12127, glNormalP3ui, glNormalP3ui, NULL, 745),
+ NAME_FUNC_OFFSET(12140, glNormalP3uiv, glNormalP3uiv, NULL, 746),
+ NAME_FUNC_OFFSET(12154, glSecondaryColorP3ui, glSecondaryColorP3ui, NULL, 747),
+ NAME_FUNC_OFFSET(12175, glSecondaryColorP3uiv, glSecondaryColorP3uiv, NULL, 748),
+ NAME_FUNC_OFFSET(12197, glTexCoordP1ui, glTexCoordP1ui, NULL, 749),
+ NAME_FUNC_OFFSET(12212, glTexCoordP1uiv, glTexCoordP1uiv, NULL, 750),
+ NAME_FUNC_OFFSET(12228, glTexCoordP2ui, glTexCoordP2ui, NULL, 751),
+ NAME_FUNC_OFFSET(12243, glTexCoordP2uiv, glTexCoordP2uiv, NULL, 752),
+ NAME_FUNC_OFFSET(12259, glTexCoordP3ui, glTexCoordP3ui, NULL, 753),
+ NAME_FUNC_OFFSET(12274, glTexCoordP3uiv, glTexCoordP3uiv, NULL, 754),
+ NAME_FUNC_OFFSET(12290, glTexCoordP4ui, glTexCoordP4ui, NULL, 755),
+ NAME_FUNC_OFFSET(12305, glTexCoordP4uiv, glTexCoordP4uiv, NULL, 756),
+ NAME_FUNC_OFFSET(12321, glVertexAttribP1ui, glVertexAttribP1ui, NULL, 757),
+ NAME_FUNC_OFFSET(12340, glVertexAttribP1uiv, glVertexAttribP1uiv, NULL, 758),
+ NAME_FUNC_OFFSET(12360, glVertexAttribP2ui, glVertexAttribP2ui, NULL, 759),
+ NAME_FUNC_OFFSET(12379, glVertexAttribP2uiv, glVertexAttribP2uiv, NULL, 760),
+ NAME_FUNC_OFFSET(12399, glVertexAttribP3ui, glVertexAttribP3ui, NULL, 761),
+ NAME_FUNC_OFFSET(12418, glVertexAttribP3uiv, glVertexAttribP3uiv, NULL, 762),
+ NAME_FUNC_OFFSET(12438, glVertexAttribP4ui, glVertexAttribP4ui, NULL, 763),
+ NAME_FUNC_OFFSET(12457, glVertexAttribP4uiv, glVertexAttribP4uiv, NULL, 764),
+ NAME_FUNC_OFFSET(12477, glVertexP2ui, glVertexP2ui, NULL, 765),
+ NAME_FUNC_OFFSET(12490, glVertexP2uiv, glVertexP2uiv, NULL, 766),
+ NAME_FUNC_OFFSET(12504, glVertexP3ui, glVertexP3ui, NULL, 767),
+ NAME_FUNC_OFFSET(12517, glVertexP3uiv, glVertexP3uiv, NULL, 768),
+ NAME_FUNC_OFFSET(12531, glVertexP4ui, glVertexP4ui, NULL, 769),
+ NAME_FUNC_OFFSET(12544, glVertexP4uiv, glVertexP4uiv, NULL, 770),
+ NAME_FUNC_OFFSET(12558, glBindTransformFeedback, glBindTransformFeedback, NULL, 771),
+ NAME_FUNC_OFFSET(12582, glDeleteTransformFeedbacks, glDeleteTransformFeedbacks, NULL, 772),
+ NAME_FUNC_OFFSET(12609, glDrawTransformFeedback, glDrawTransformFeedback, NULL, 773),
+ NAME_FUNC_OFFSET(12633, glGenTransformFeedbacks, glGenTransformFeedbacks, NULL, 774),
+ NAME_FUNC_OFFSET(12657, glIsTransformFeedback, glIsTransformFeedback, NULL, 775),
+ NAME_FUNC_OFFSET(12679, glPauseTransformFeedback, glPauseTransformFeedback, NULL, 776),
+ NAME_FUNC_OFFSET(12704, glResumeTransformFeedback, glResumeTransformFeedback, NULL, 777),
+ NAME_FUNC_OFFSET(12730, glBeginQueryIndexed, glBeginQueryIndexed, NULL, 778),
+ NAME_FUNC_OFFSET(12750, glDrawTransformFeedbackStream, glDrawTransformFeedbackStream, NULL, 779),
+ NAME_FUNC_OFFSET(12780, glEndQueryIndexed, glEndQueryIndexed, NULL, 780),
+ NAME_FUNC_OFFSET(12798, glGetQueryIndexediv, glGetQueryIndexediv, NULL, 781),
+ NAME_FUNC_OFFSET(12818, glClearDepthf, glClearDepthf, NULL, 782),
+ NAME_FUNC_OFFSET(12832, glDepthRangef, glDepthRangef, NULL, 783),
+ NAME_FUNC_OFFSET(12846, glGetShaderPrecisionFormat, glGetShaderPrecisionFormat, NULL, 784),
+ NAME_FUNC_OFFSET(12873, glReleaseShaderCompiler, glReleaseShaderCompiler, NULL, 785),
+ NAME_FUNC_OFFSET(12897, glShaderBinary, glShaderBinary, NULL, 786),
+ NAME_FUNC_OFFSET(12912, glGetProgramBinary, glGetProgramBinary, NULL, 787),
+ NAME_FUNC_OFFSET(12931, glProgramBinary, glProgramBinary, NULL, 788),
+ NAME_FUNC_OFFSET(12947, glProgramParameteri, glProgramParameteri, NULL, 789),
+ NAME_FUNC_OFFSET(12967, glDebugMessageCallbackARB, glDebugMessageCallbackARB, NULL, 790),
+ NAME_FUNC_OFFSET(12993, glDebugMessageControlARB, glDebugMessageControlARB, NULL, 791),
+ NAME_FUNC_OFFSET(13018, glDebugMessageInsertARB, glDebugMessageInsertARB, NULL, 792),
+ NAME_FUNC_OFFSET(13042, glGetDebugMessageLogARB, glGetDebugMessageLogARB, NULL, 793),
+ NAME_FUNC_OFFSET(13066, glGetGraphicsResetStatusARB, glGetGraphicsResetStatusARB, NULL, 794),
+ NAME_FUNC_OFFSET(13094, glGetnColorTableARB, glGetnColorTableARB, NULL, 795),
+ NAME_FUNC_OFFSET(13114, glGetnCompressedTexImageARB, glGetnCompressedTexImageARB, NULL, 796),
+ NAME_FUNC_OFFSET(13142, glGetnConvolutionFilterARB, glGetnConvolutionFilterARB, NULL, 797),
+ NAME_FUNC_OFFSET(13169, glGetnHistogramARB, glGetnHistogramARB, NULL, 798),
+ NAME_FUNC_OFFSET(13188, glGetnMapdvARB, glGetnMapdvARB, NULL, 799),
+ NAME_FUNC_OFFSET(13203, glGetnMapfvARB, glGetnMapfvARB, NULL, 800),
+ NAME_FUNC_OFFSET(13218, glGetnMapivARB, glGetnMapivARB, NULL, 801),
+ NAME_FUNC_OFFSET(13233, glGetnMinmaxARB, glGetnMinmaxARB, NULL, 802),
+ NAME_FUNC_OFFSET(13249, glGetnPixelMapfvARB, glGetnPixelMapfvARB, NULL, 803),
+ NAME_FUNC_OFFSET(13269, glGetnPixelMapuivARB, glGetnPixelMapuivARB, NULL, 804),
+ NAME_FUNC_OFFSET(13290, glGetnPixelMapusvARB, glGetnPixelMapusvARB, NULL, 805),
+ NAME_FUNC_OFFSET(13311, glGetnPolygonStippleARB, glGetnPolygonStippleARB, NULL, 806),
+ NAME_FUNC_OFFSET(13335, glGetnSeparableFilterARB, glGetnSeparableFilterARB, NULL, 807),
+ NAME_FUNC_OFFSET(13360, glGetnTexImageARB, glGetnTexImageARB, NULL, 808),
+ NAME_FUNC_OFFSET(13378, glGetnUniformdvARB, glGetnUniformdvARB, NULL, 809),
+ NAME_FUNC_OFFSET(13397, glGetnUniformfvARB, glGetnUniformfvARB, NULL, 810),
+ NAME_FUNC_OFFSET(13416, glGetnUniformivARB, glGetnUniformivARB, NULL, 811),
+ NAME_FUNC_OFFSET(13435, glGetnUniformuivARB, glGetnUniformuivARB, NULL, 812),
+ NAME_FUNC_OFFSET(13455, glReadnPixelsARB, glReadnPixelsARB, NULL, 813),
+ NAME_FUNC_OFFSET(13472, glDrawArraysInstancedBaseInstance, glDrawArraysInstancedBaseInstance, NULL, 814),
+ NAME_FUNC_OFFSET(13506, glDrawElementsInstancedBaseInstance, glDrawElementsInstancedBaseInstance, NULL, 815),
+ NAME_FUNC_OFFSET(13542, glDrawElementsInstancedBaseVertexBaseInstance, glDrawElementsInstancedBaseVertexBaseInstance, NULL, 816),
+ NAME_FUNC_OFFSET(13588, glDrawTransformFeedbackInstanced, glDrawTransformFeedbackInstanced, NULL, 817),
+ NAME_FUNC_OFFSET(13621, glDrawTransformFeedbackStreamInstanced, glDrawTransformFeedbackStreamInstanced, NULL, 818),
+ NAME_FUNC_OFFSET(13660, gl_dispatch_stub_819, gl_dispatch_stub_819, NULL, 819),
+ NAME_FUNC_OFFSET(13682, glTexStorage1D, glTexStorage1D, NULL, 820),
+ NAME_FUNC_OFFSET(13697, glTexStorage2D, glTexStorage2D, NULL, 821),
+ NAME_FUNC_OFFSET(13712, glTexStorage3D, glTexStorage3D, NULL, 822),
+ NAME_FUNC_OFFSET(13727, glTextureStorage1DEXT, glTextureStorage1DEXT, NULL, 823),
+ NAME_FUNC_OFFSET(13749, glTextureStorage2DEXT, glTextureStorage2DEXT, NULL, 824),
+ NAME_FUNC_OFFSET(13771, glTextureStorage3DEXT, glTextureStorage3DEXT, NULL, 825),
+ NAME_FUNC_OFFSET(13793, glTexBufferRange, glTexBufferRange, NULL, 826),
+ NAME_FUNC_OFFSET(13810, glInvalidateBufferData, glInvalidateBufferData, NULL, 827),
+ NAME_FUNC_OFFSET(13833, glInvalidateBufferSubData, glInvalidateBufferSubData, NULL, 828),
+ NAME_FUNC_OFFSET(13859, glInvalidateFramebuffer, glInvalidateFramebuffer, NULL, 829),
+ NAME_FUNC_OFFSET(13883, glInvalidateSubFramebuffer, glInvalidateSubFramebuffer, NULL, 830),
+ NAME_FUNC_OFFSET(13910, glInvalidateTexImage, glInvalidateTexImage, NULL, 831),
+ NAME_FUNC_OFFSET(13931, glInvalidateTexSubImage, glInvalidateTexSubImage, NULL, 832),
+ NAME_FUNC_OFFSET(13955, glPolygonOffsetEXT, glPolygonOffsetEXT, NULL, 833),
+ NAME_FUNC_OFFSET(13974, gl_dispatch_stub_834, gl_dispatch_stub_834, NULL, 834),
+ NAME_FUNC_OFFSET(13988, gl_dispatch_stub_835, gl_dispatch_stub_835, NULL, 835),
+ NAME_FUNC_OFFSET(14003, gl_dispatch_stub_836, gl_dispatch_stub_836, NULL, 836),
+ NAME_FUNC_OFFSET(14017, gl_dispatch_stub_837, gl_dispatch_stub_837, NULL, 837),
+ NAME_FUNC_OFFSET(14032, gl_dispatch_stub_838, gl_dispatch_stub_838, NULL, 838),
+ NAME_FUNC_OFFSET(14046, gl_dispatch_stub_839, gl_dispatch_stub_839, NULL, 839),
+ NAME_FUNC_OFFSET(14061, gl_dispatch_stub_840, gl_dispatch_stub_840, NULL, 840),
+ NAME_FUNC_OFFSET(14075, gl_dispatch_stub_841, gl_dispatch_stub_841, NULL, 841),
+ NAME_FUNC_OFFSET(14090, gl_dispatch_stub_842, gl_dispatch_stub_842, NULL, 842),
+ NAME_FUNC_OFFSET(14112, gl_dispatch_stub_843, gl_dispatch_stub_843, NULL, 843),
+ NAME_FUNC_OFFSET(14130, gl_dispatch_stub_844, gl_dispatch_stub_844, NULL, 844),
+ NAME_FUNC_OFFSET(14147, gl_dispatch_stub_845, gl_dispatch_stub_845, NULL, 845),
+ NAME_FUNC_OFFSET(14167, glColorPointerEXT, glColorPointerEXT, NULL, 846),
+ NAME_FUNC_OFFSET(14185, glEdgeFlagPointerEXT, glEdgeFlagPointerEXT, NULL, 847),
+ NAME_FUNC_OFFSET(14206, glIndexPointerEXT, glIndexPointerEXT, NULL, 848),
+ NAME_FUNC_OFFSET(14224, glNormalPointerEXT, glNormalPointerEXT, NULL, 849),
+ NAME_FUNC_OFFSET(14243, glTexCoordPointerEXT, glTexCoordPointerEXT, NULL, 850),
+ NAME_FUNC_OFFSET(14264, glVertexPointerEXT, glVertexPointerEXT, NULL, 851),
+ NAME_FUNC_OFFSET(14283, gl_dispatch_stub_852, gl_dispatch_stub_852, NULL, 852),
+ NAME_FUNC_OFFSET(14307, glLockArraysEXT, glLockArraysEXT, NULL, 853),
+ NAME_FUNC_OFFSET(14323, glUnlockArraysEXT, glUnlockArraysEXT, NULL, 854),
+ NAME_FUNC_OFFSET(14341, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, 855),
+ NAME_FUNC_OFFSET(14363, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, 856),
+ NAME_FUNC_OFFSET(14386, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, 857),
+ NAME_FUNC_OFFSET(14409, glFogCoordfEXT, glFogCoordfEXT, NULL, 858),
+ NAME_FUNC_OFFSET(14424, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 859),
+ NAME_FUNC_OFFSET(14440, glResizeBuffersMESA, glResizeBuffersMESA, NULL, 860),
+ NAME_FUNC_OFFSET(14460, glWindowPos4dMESA, glWindowPos4dMESA, NULL, 861),
+ NAME_FUNC_OFFSET(14478, glWindowPos4dvMESA, glWindowPos4dvMESA, NULL, 862),
+ NAME_FUNC_OFFSET(14497, glWindowPos4fMESA, glWindowPos4fMESA, NULL, 863),
+ NAME_FUNC_OFFSET(14515, glWindowPos4fvMESA, glWindowPos4fvMESA, NULL, 864),
+ NAME_FUNC_OFFSET(14534, glWindowPos4iMESA, glWindowPos4iMESA, NULL, 865),
+ NAME_FUNC_OFFSET(14552, glWindowPos4ivMESA, glWindowPos4ivMESA, NULL, 866),
+ NAME_FUNC_OFFSET(14571, glWindowPos4sMESA, glWindowPos4sMESA, NULL, 867),
+ NAME_FUNC_OFFSET(14589, glWindowPos4svMESA, glWindowPos4svMESA, NULL, 868),
+ NAME_FUNC_OFFSET(14608, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL, 869),
+ NAME_FUNC_OFFSET(14633, gl_dispatch_stub_870, gl_dispatch_stub_870, NULL, 870),
+ NAME_FUNC_OFFSET(14660, glAreProgramsResidentNV, glAreProgramsResidentNV, NULL, 871),
+ NAME_FUNC_OFFSET(14684, glExecuteProgramNV, glExecuteProgramNV, NULL, 872),
+ NAME_FUNC_OFFSET(14703, glGetProgramParameterdvNV, glGetProgramParameterdvNV, NULL, 873),
+ NAME_FUNC_OFFSET(14729, glGetProgramParameterfvNV, glGetProgramParameterfvNV, NULL, 874),
+ NAME_FUNC_OFFSET(14755, glGetProgramStringNV, glGetProgramStringNV, NULL, 875),
+ NAME_FUNC_OFFSET(14776, glGetProgramivNV, glGetProgramivNV, NULL, 876),
+ NAME_FUNC_OFFSET(14793, glGetTrackMatrixivNV, glGetTrackMatrixivNV, NULL, 877),
+ NAME_FUNC_OFFSET(14814, glGetVertexAttribdvNV, glGetVertexAttribdvNV, NULL, 878),
+ NAME_FUNC_OFFSET(14836, glGetVertexAttribfvNV, glGetVertexAttribfvNV, NULL, 879),
+ NAME_FUNC_OFFSET(14858, glGetVertexAttribivNV, glGetVertexAttribivNV, NULL, 880),
+ NAME_FUNC_OFFSET(14880, glLoadProgramNV, glLoadProgramNV, NULL, 881),
+ NAME_FUNC_OFFSET(14896, glProgramParameters4dvNV, glProgramParameters4dvNV, NULL, 882),
+ NAME_FUNC_OFFSET(14921, glProgramParameters4fvNV, glProgramParameters4fvNV, NULL, 883),
+ NAME_FUNC_OFFSET(14946, glRequestResidentProgramsNV, glRequestResidentProgramsNV, NULL, 884),
+ NAME_FUNC_OFFSET(14974, glTrackMatrixNV, glTrackMatrixNV, NULL, 885),
+ NAME_FUNC_OFFSET(14990, glVertexAttrib1dNV, glVertexAttrib1dNV, NULL, 886),
+ NAME_FUNC_OFFSET(15009, glVertexAttrib1dvNV, glVertexAttrib1dvNV, NULL, 887),
+ NAME_FUNC_OFFSET(15029, glVertexAttrib1fNV, glVertexAttrib1fNV, NULL, 888),
+ NAME_FUNC_OFFSET(15048, glVertexAttrib1fvNV, glVertexAttrib1fvNV, NULL, 889),
+ NAME_FUNC_OFFSET(15068, glVertexAttrib1sNV, glVertexAttrib1sNV, NULL, 890),
+ NAME_FUNC_OFFSET(15087, glVertexAttrib1svNV, glVertexAttrib1svNV, NULL, 891),
+ NAME_FUNC_OFFSET(15107, glVertexAttrib2dNV, glVertexAttrib2dNV, NULL, 892),
+ NAME_FUNC_OFFSET(15126, glVertexAttrib2dvNV, glVertexAttrib2dvNV, NULL, 893),
+ NAME_FUNC_OFFSET(15146, glVertexAttrib2fNV, glVertexAttrib2fNV, NULL, 894),
+ NAME_FUNC_OFFSET(15165, glVertexAttrib2fvNV, glVertexAttrib2fvNV, NULL, 895),
+ NAME_FUNC_OFFSET(15185, glVertexAttrib2sNV, glVertexAttrib2sNV, NULL, 896),
+ NAME_FUNC_OFFSET(15204, glVertexAttrib2svNV, glVertexAttrib2svNV, NULL, 897),
+ NAME_FUNC_OFFSET(15224, glVertexAttrib3dNV, glVertexAttrib3dNV, NULL, 898),
+ NAME_FUNC_OFFSET(15243, glVertexAttrib3dvNV, glVertexAttrib3dvNV, NULL, 899),
+ NAME_FUNC_OFFSET(15263, glVertexAttrib3fNV, glVertexAttrib3fNV, NULL, 900),
+ NAME_FUNC_OFFSET(15282, glVertexAttrib3fvNV, glVertexAttrib3fvNV, NULL, 901),
+ NAME_FUNC_OFFSET(15302, glVertexAttrib3sNV, glVertexAttrib3sNV, NULL, 902),
+ NAME_FUNC_OFFSET(15321, glVertexAttrib3svNV, glVertexAttrib3svNV, NULL, 903),
+ NAME_FUNC_OFFSET(15341, glVertexAttrib4dNV, glVertexAttrib4dNV, NULL, 904),
+ NAME_FUNC_OFFSET(15360, glVertexAttrib4dvNV, glVertexAttrib4dvNV, NULL, 905),
+ NAME_FUNC_OFFSET(15380, glVertexAttrib4fNV, glVertexAttrib4fNV, NULL, 906),
+ NAME_FUNC_OFFSET(15399, glVertexAttrib4fvNV, glVertexAttrib4fvNV, NULL, 907),
+ NAME_FUNC_OFFSET(15419, glVertexAttrib4sNV, glVertexAttrib4sNV, NULL, 908),
+ NAME_FUNC_OFFSET(15438, glVertexAttrib4svNV, glVertexAttrib4svNV, NULL, 909),
+ NAME_FUNC_OFFSET(15458, glVertexAttrib4ubNV, glVertexAttrib4ubNV, NULL, 910),
+ NAME_FUNC_OFFSET(15478, glVertexAttrib4ubvNV, glVertexAttrib4ubvNV, NULL, 911),
+ NAME_FUNC_OFFSET(15499, glVertexAttribPointerNV, glVertexAttribPointerNV, NULL, 912),
+ NAME_FUNC_OFFSET(15523, glVertexAttribs1dvNV, glVertexAttribs1dvNV, NULL, 913),
+ NAME_FUNC_OFFSET(15544, glVertexAttribs1fvNV, glVertexAttribs1fvNV, NULL, 914),
+ NAME_FUNC_OFFSET(15565, glVertexAttribs1svNV, glVertexAttribs1svNV, NULL, 915),
+ NAME_FUNC_OFFSET(15586, glVertexAttribs2dvNV, glVertexAttribs2dvNV, NULL, 916),
+ NAME_FUNC_OFFSET(15607, glVertexAttribs2fvNV, glVertexAttribs2fvNV, NULL, 917),
+ NAME_FUNC_OFFSET(15628, glVertexAttribs2svNV, glVertexAttribs2svNV, NULL, 918),
+ NAME_FUNC_OFFSET(15649, glVertexAttribs3dvNV, glVertexAttribs3dvNV, NULL, 919),
+ NAME_FUNC_OFFSET(15670, glVertexAttribs3fvNV, glVertexAttribs3fvNV, NULL, 920),
+ NAME_FUNC_OFFSET(15691, glVertexAttribs3svNV, glVertexAttribs3svNV, NULL, 921),
+ NAME_FUNC_OFFSET(15712, glVertexAttribs4dvNV, glVertexAttribs4dvNV, NULL, 922),
+ NAME_FUNC_OFFSET(15733, glVertexAttribs4fvNV, glVertexAttribs4fvNV, NULL, 923),
+ NAME_FUNC_OFFSET(15754, glVertexAttribs4svNV, glVertexAttribs4svNV, NULL, 924),
+ NAME_FUNC_OFFSET(15775, glVertexAttribs4ubvNV, glVertexAttribs4ubvNV, NULL, 925),
+ NAME_FUNC_OFFSET(15797, glGetTexBumpParameterfvATI, glGetTexBumpParameterfvATI, NULL, 926),
+ NAME_FUNC_OFFSET(15824, glGetTexBumpParameterivATI, glGetTexBumpParameterivATI, NULL, 927),
+ NAME_FUNC_OFFSET(15851, glTexBumpParameterfvATI, glTexBumpParameterfvATI, NULL, 928),
+ NAME_FUNC_OFFSET(15875, glTexBumpParameterivATI, glTexBumpParameterivATI, NULL, 929),
+ NAME_FUNC_OFFSET(15899, glAlphaFragmentOp1ATI, glAlphaFragmentOp1ATI, NULL, 930),
+ NAME_FUNC_OFFSET(15921, glAlphaFragmentOp2ATI, glAlphaFragmentOp2ATI, NULL, 931),
+ NAME_FUNC_OFFSET(15943, glAlphaFragmentOp3ATI, glAlphaFragmentOp3ATI, NULL, 932),
+ NAME_FUNC_OFFSET(15965, glBeginFragmentShaderATI, glBeginFragmentShaderATI, NULL, 933),
+ NAME_FUNC_OFFSET(15990, glBindFragmentShaderATI, glBindFragmentShaderATI, NULL, 934),
+ NAME_FUNC_OFFSET(16014, glColorFragmentOp1ATI, glColorFragmentOp1ATI, NULL, 935),
+ NAME_FUNC_OFFSET(16036, glColorFragmentOp2ATI, glColorFragmentOp2ATI, NULL, 936),
+ NAME_FUNC_OFFSET(16058, glColorFragmentOp3ATI, glColorFragmentOp3ATI, NULL, 937),
+ NAME_FUNC_OFFSET(16080, glDeleteFragmentShaderATI, glDeleteFragmentShaderATI, NULL, 938),
+ NAME_FUNC_OFFSET(16106, glEndFragmentShaderATI, glEndFragmentShaderATI, NULL, 939),
+ NAME_FUNC_OFFSET(16129, glGenFragmentShadersATI, glGenFragmentShadersATI, NULL, 940),
+ NAME_FUNC_OFFSET(16153, glPassTexCoordATI, glPassTexCoordATI, NULL, 941),
+ NAME_FUNC_OFFSET(16171, glSampleMapATI, glSampleMapATI, NULL, 942),
+ NAME_FUNC_OFFSET(16186, glSetFragmentShaderConstantATI, glSetFragmentShaderConstantATI, NULL, 943),
+ NAME_FUNC_OFFSET(16217, gl_dispatch_stub_944, gl_dispatch_stub_944, NULL, 944),
+ NAME_FUNC_OFFSET(16240, gl_dispatch_stub_945, gl_dispatch_stub_945, NULL, 945),
+ NAME_FUNC_OFFSET(16263, gl_dispatch_stub_946, gl_dispatch_stub_946, NULL, 946),
+ NAME_FUNC_OFFSET(16286, glGetProgramNamedParameterdvNV, glGetProgramNamedParameterdvNV, NULL, 947),
+ NAME_FUNC_OFFSET(16317, glGetProgramNamedParameterfvNV, glGetProgramNamedParameterfvNV, NULL, 948),
+ NAME_FUNC_OFFSET(16348, glProgramNamedParameter4dNV, glProgramNamedParameter4dNV, NULL, 949),
+ NAME_FUNC_OFFSET(16376, glProgramNamedParameter4dvNV, glProgramNamedParameter4dvNV, NULL, 950),
+ NAME_FUNC_OFFSET(16405, glProgramNamedParameter4fNV, glProgramNamedParameter4fNV, NULL, 951),
+ NAME_FUNC_OFFSET(16433, glProgramNamedParameter4fvNV, glProgramNamedParameter4fvNV, NULL, 952),
+ NAME_FUNC_OFFSET(16462, glPrimitiveRestartNV, glPrimitiveRestartNV, NULL, 953),
+ NAME_FUNC_OFFSET(16483, gl_dispatch_stub_954, gl_dispatch_stub_954, NULL, 954),
+ NAME_FUNC_OFFSET(16500, gl_dispatch_stub_955, gl_dispatch_stub_955, NULL, 955),
+ NAME_FUNC_OFFSET(16513, gl_dispatch_stub_956, gl_dispatch_stub_956, NULL, 956),
+ NAME_FUNC_OFFSET(16527, gl_dispatch_stub_957, gl_dispatch_stub_957, NULL, 957),
+ NAME_FUNC_OFFSET(16544, gl_dispatch_stub_958, gl_dispatch_stub_958, NULL, 958),
+ NAME_FUNC_OFFSET(16568, gl_dispatch_stub_959, gl_dispatch_stub_959, NULL, 959),
+ NAME_FUNC_OFFSET(16598, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, 960),
+ NAME_FUNC_OFFSET(16619, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, 961),
+ NAME_FUNC_OFFSET(16641, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, 962),
+ NAME_FUNC_OFFSET(16662, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, 963),
+ NAME_FUNC_OFFSET(16684, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, 964),
+ NAME_FUNC_OFFSET(16706, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, NULL, 965),
+ NAME_FUNC_OFFSET(16729, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, 966),
+ NAME_FUNC_OFFSET(16750, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, 967),
+ NAME_FUNC_OFFSET(16772, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, 968),
+ NAME_FUNC_OFFSET(16794, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, NULL, 969),
+ NAME_FUNC_OFFSET(16817, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, 970),
+ NAME_FUNC_OFFSET(16838, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, 971),
+ NAME_FUNC_OFFSET(16860, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, 972),
+ NAME_FUNC_OFFSET(16882, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, NULL, 973),
+ NAME_FUNC_OFFSET(16905, glClearColorIiEXT, glClearColorIiEXT, NULL, 974),
+ NAME_FUNC_OFFSET(16923, glClearColorIuiEXT, glClearColorIuiEXT, NULL, 975),
+ NAME_FUNC_OFFSET(16942, glBindBufferOffsetEXT, glBindBufferOffsetEXT, NULL, 976),
+ NAME_FUNC_OFFSET(16964, glGetObjectParameterivAPPLE, glGetObjectParameterivAPPLE, NULL, 977),
+ NAME_FUNC_OFFSET(16992, glObjectPurgeableAPPLE, glObjectPurgeableAPPLE, NULL, 978),
+ NAME_FUNC_OFFSET(17015, glObjectUnpurgeableAPPLE, glObjectUnpurgeableAPPLE, NULL, 979),
+ NAME_FUNC_OFFSET(17040, glActiveProgramEXT, glActiveProgramEXT, NULL, 980),
+ NAME_FUNC_OFFSET(17059, glCreateShaderProgramEXT, glCreateShaderProgramEXT, NULL, 981),
+ NAME_FUNC_OFFSET(17084, glUseShaderProgramEXT, glUseShaderProgramEXT, NULL, 982),
+ NAME_FUNC_OFFSET(17106, glTextureBarrierNV, glTextureBarrierNV, NULL, 983),
+ NAME_FUNC_OFFSET(17125, gl_dispatch_stub_984, gl_dispatch_stub_984, NULL, 984),
+ NAME_FUNC_OFFSET(17150, gl_dispatch_stub_985, gl_dispatch_stub_985, NULL, 985),
+ NAME_FUNC_OFFSET(17179, gl_dispatch_stub_986, gl_dispatch_stub_986, NULL, 986),
+ NAME_FUNC_OFFSET(17210, glEGLImageTargetRenderbufferStorageOES, glEGLImageTargetRenderbufferStorageOES, NULL, 987),
+ NAME_FUNC_OFFSET(17249, glEGLImageTargetTexture2DOES, glEGLImageTargetTexture2DOES, NULL, 988),
+ NAME_FUNC_OFFSET(17278, gl_dispatch_stub_989, gl_dispatch_stub_989, NULL, 989),
+ NAME_FUNC_OFFSET(17291, gl_dispatch_stub_990, gl_dispatch_stub_990, NULL, 990),
+ NAME_FUNC_OFFSET(17305, gl_dispatch_stub_991, gl_dispatch_stub_991, NULL, 991),
+ NAME_FUNC_OFFSET(17319, gl_dispatch_stub_992, gl_dispatch_stub_992, NULL, 992),
+ NAME_FUNC_OFFSET(17329, gl_dispatch_stub_993, gl_dispatch_stub_993, NULL, 993),
+ NAME_FUNC_OFFSET(17343, gl_dispatch_stub_994, gl_dispatch_stub_994, NULL, 994),
+ NAME_FUNC_OFFSET(17350, gl_dispatch_stub_995, gl_dispatch_stub_995, NULL, 995),
+ NAME_FUNC_OFFSET(17358, gl_dispatch_stub_996, gl_dispatch_stub_996, NULL, 996),
+ NAME_FUNC_OFFSET(17369, gl_dispatch_stub_997, gl_dispatch_stub_997, NULL, 997),
+ NAME_FUNC_OFFSET(17380, gl_dispatch_stub_998, gl_dispatch_stub_998, NULL, 998),
+ NAME_FUNC_OFFSET(17394, gl_dispatch_stub_999, gl_dispatch_stub_999, NULL, 999),
+ NAME_FUNC_OFFSET(17409, gl_dispatch_stub_1000, gl_dispatch_stub_1000, NULL, 1000),
+ NAME_FUNC_OFFSET(17418, gl_dispatch_stub_1001, gl_dispatch_stub_1001, NULL, 1001),
+ NAME_FUNC_OFFSET(17428, gl_dispatch_stub_1002, gl_dispatch_stub_1002, NULL, 1002),
+ NAME_FUNC_OFFSET(17441, gl_dispatch_stub_1003, gl_dispatch_stub_1003, NULL, 1003),
+ NAME_FUNC_OFFSET(17455, gl_dispatch_stub_1004, gl_dispatch_stub_1004, NULL, 1004),
+ NAME_FUNC_OFFSET(17467, gl_dispatch_stub_1005, gl_dispatch_stub_1005, NULL, 1005),
+ NAME_FUNC_OFFSET(17480, gl_dispatch_stub_1006, gl_dispatch_stub_1006, NULL, 1006),
+ NAME_FUNC_OFFSET(17494, gl_dispatch_stub_1007, gl_dispatch_stub_1007, NULL, 1007),
+ NAME_FUNC_OFFSET(17512, gl_dispatch_stub_1008, gl_dispatch_stub_1008, NULL, 1008),
+ NAME_FUNC_OFFSET(17523, gl_dispatch_stub_1009, gl_dispatch_stub_1009, NULL, 1009),
+ NAME_FUNC_OFFSET(17532, gl_dispatch_stub_1010, gl_dispatch_stub_1010, NULL, 1010),
+ NAME_FUNC_OFFSET(17541, gl_dispatch_stub_1011, gl_dispatch_stub_1011, NULL, 1011),
+ NAME_FUNC_OFFSET(17554, gl_dispatch_stub_1012, gl_dispatch_stub_1012, NULL, 1012),
+ NAME_FUNC_OFFSET(17571, gl_dispatch_stub_1013, gl_dispatch_stub_1013, NULL, 1013),
+ NAME_FUNC_OFFSET(17581, gl_dispatch_stub_1014, gl_dispatch_stub_1014, NULL, 1014),
+ NAME_FUNC_OFFSET(17599, gl_dispatch_stub_1015, gl_dispatch_stub_1015, NULL, 1015),
+ NAME_FUNC_OFFSET(17608, gl_dispatch_stub_1016, gl_dispatch_stub_1016, NULL, 1016),
+ NAME_FUNC_OFFSET(17618, gl_dispatch_stub_1017, gl_dispatch_stub_1017, NULL, 1017),
+ NAME_FUNC_OFFSET(17629, gl_dispatch_stub_1018, gl_dispatch_stub_1018, NULL, 1018),
+ NAME_FUNC_OFFSET(17645, gl_dispatch_stub_1019, gl_dispatch_stub_1019, NULL, 1019),
+ NAME_FUNC_OFFSET(17658, gl_dispatch_stub_1020, gl_dispatch_stub_1020, NULL, 1020),
+ NAME_FUNC_OFFSET(17671, gl_dispatch_stub_1021, gl_dispatch_stub_1021, NULL, 1021),
+ NAME_FUNC_OFFSET(17684, gl_dispatch_stub_1022, gl_dispatch_stub_1022, NULL, 1022),
+ NAME_FUNC_OFFSET(17700, gl_dispatch_stub_1023, gl_dispatch_stub_1023, NULL, 1023),
+ NAME_FUNC_OFFSET(17716, gl_dispatch_stub_1024, gl_dispatch_stub_1024, NULL, 1024),
+ NAME_FUNC_OFFSET(17728, gl_dispatch_stub_1025, gl_dispatch_stub_1025, NULL, 1025),
+ NAME_FUNC_OFFSET(17741, gl_dispatch_stub_1026, gl_dispatch_stub_1026, NULL, 1026),
+ NAME_FUNC_OFFSET(17757, gl_dispatch_stub_1027, gl_dispatch_stub_1027, NULL, 1027),
+ NAME_FUNC_OFFSET(17771, gl_dispatch_stub_1028, gl_dispatch_stub_1028, NULL, 1028),
+ NAME_FUNC_OFFSET(17791, gl_dispatch_stub_1029, gl_dispatch_stub_1029, NULL, 1029),
+ NAME_FUNC_OFFSET(17809, gl_dispatch_stub_1030, gl_dispatch_stub_1030, NULL, 1030),
+ NAME_FUNC_OFFSET(17828, gl_dispatch_stub_1031, gl_dispatch_stub_1031, NULL, 1031),
+ NAME_FUNC_OFFSET(17845, glTexGenf, glTexGenf, NULL, 190),
+ NAME_FUNC_OFFSET(17858, glTexGenfv, glTexGenfv, NULL, 191),
+ NAME_FUNC_OFFSET(17872, glTexGeni, glTexGeni, NULL, 192),
+ NAME_FUNC_OFFSET(17885, glTexGeniv, glTexGeniv, NULL, 193),
+ NAME_FUNC_OFFSET(17899, glReadBuffer, glReadBuffer, NULL, 254),
+ NAME_FUNC_OFFSET(17914, glGetTexGenfv, glGetTexGenfv, NULL, 279),
+ NAME_FUNC_OFFSET(17931, glGetTexGeniv, glGetTexGeniv, NULL, 280),
+ NAME_FUNC_OFFSET(17948, glArrayElement, glArrayElement, NULL, 306),
+ NAME_FUNC_OFFSET(17966, glBindTexture, glBindTexture, NULL, 307),
+ NAME_FUNC_OFFSET(17983, glDrawArrays, glDrawArrays, NULL, 310),
+ NAME_FUNC_OFFSET(17999, glAreTexturesResident, glAreTexturesResidentEXT, glAreTexturesResidentEXT, 322),
+ NAME_FUNC_OFFSET(18024, glCopyTexImage1D, glCopyTexImage1D, NULL, 323),
+ NAME_FUNC_OFFSET(18044, glCopyTexImage2D, glCopyTexImage2D, NULL, 324),
+ NAME_FUNC_OFFSET(18064, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325),
+ NAME_FUNC_OFFSET(18087, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326),
+ NAME_FUNC_OFFSET(18110, glDeleteTextures, glDeleteTexturesEXT, glDeleteTexturesEXT, 327),
+ NAME_FUNC_OFFSET(18130, glGenTextures, glGenTexturesEXT, glGenTexturesEXT, 328),
+ NAME_FUNC_OFFSET(18147, glGetPointerv, glGetPointerv, NULL, 329),
+ NAME_FUNC_OFFSET(18164, glIsTexture, glIsTextureEXT, glIsTextureEXT, 330),
+ NAME_FUNC_OFFSET(18179, glPrioritizeTextures, glPrioritizeTextures, NULL, 331),
+ NAME_FUNC_OFFSET(18203, glTexSubImage1D, glTexSubImage1D, NULL, 332),
+ NAME_FUNC_OFFSET(18222, glTexSubImage2D, glTexSubImage2D, NULL, 333),
+ NAME_FUNC_OFFSET(18241, glBlendColor, glBlendColor, NULL, 336),
+ NAME_FUNC_OFFSET(18257, glBlendEquation, glBlendEquation, NULL, 337),
+ NAME_FUNC_OFFSET(18276, glBlendEquation, glBlendEquation, NULL, 337),
+ NAME_FUNC_OFFSET(18295, glDrawRangeElements, glDrawRangeElements, NULL, 338),
+ NAME_FUNC_OFFSET(18318, glColorTable, glColorTable, NULL, 339),
+ NAME_FUNC_OFFSET(18334, glColorTable, glColorTable, NULL, 339),
+ NAME_FUNC_OFFSET(18350, glColorTableParameterfv, glColorTableParameterfv, NULL, 340),
+ NAME_FUNC_OFFSET(18377, glColorTableParameteriv, glColorTableParameteriv, NULL, 341),
+ NAME_FUNC_OFFSET(18404, glCopyColorTable, glCopyColorTable, NULL, 342),
+ NAME_FUNC_OFFSET(18424, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, 343),
+ NAME_FUNC_OFFSET(18443, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, 343),
+ NAME_FUNC_OFFSET(18462, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, 344),
+ NAME_FUNC_OFFSET(18492, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, 344),
+ NAME_FUNC_OFFSET(18522, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, 345),
+ NAME_FUNC_OFFSET(18552, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, 345),
+ NAME_FUNC_OFFSET(18582, glColorSubTable, glColorSubTable, NULL, 346),
+ NAME_FUNC_OFFSET(18601, glCopyColorSubTable, glCopyColorSubTable, NULL, 347),
+ NAME_FUNC_OFFSET(18624, glConvolutionFilter1D, glConvolutionFilter1D, NULL, 348),
+ NAME_FUNC_OFFSET(18649, glConvolutionFilter2D, glConvolutionFilter2D, NULL, 349),
+ NAME_FUNC_OFFSET(18674, glConvolutionParameterf, glConvolutionParameterf, NULL, 350),
+ NAME_FUNC_OFFSET(18701, glConvolutionParameterfv, glConvolutionParameterfv, NULL, 351),
+ NAME_FUNC_OFFSET(18729, glConvolutionParameteri, glConvolutionParameteri, NULL, 352),
+ NAME_FUNC_OFFSET(18756, glConvolutionParameteriv, glConvolutionParameteriv, NULL, 353),
+ NAME_FUNC_OFFSET(18784, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, 354),
+ NAME_FUNC_OFFSET(18813, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, 355),
+ NAME_FUNC_OFFSET(18842, glGetConvolutionFilter, gl_dispatch_stub_356, gl_dispatch_stub_356, 356),
+ NAME_FUNC_OFFSET(18868, glGetConvolutionParameterfv, gl_dispatch_stub_357, gl_dispatch_stub_357, 357),
+ NAME_FUNC_OFFSET(18899, glGetConvolutionParameteriv, gl_dispatch_stub_358, gl_dispatch_stub_358, 358),
+ NAME_FUNC_OFFSET(18930, glGetSeparableFilter, gl_dispatch_stub_359, gl_dispatch_stub_359, 359),
+ NAME_FUNC_OFFSET(18954, glSeparableFilter2D, glSeparableFilter2D, NULL, 360),
+ NAME_FUNC_OFFSET(18977, glGetHistogram, gl_dispatch_stub_361, gl_dispatch_stub_361, 361),
+ NAME_FUNC_OFFSET(18995, glGetHistogramParameterfv, gl_dispatch_stub_362, gl_dispatch_stub_362, 362),
+ NAME_FUNC_OFFSET(19024, glGetHistogramParameteriv, gl_dispatch_stub_363, gl_dispatch_stub_363, 363),
+ NAME_FUNC_OFFSET(19053, glGetMinmax, gl_dispatch_stub_364, gl_dispatch_stub_364, 364),
+ NAME_FUNC_OFFSET(19068, glGetMinmaxParameterfv, gl_dispatch_stub_365, gl_dispatch_stub_365, 365),
+ NAME_FUNC_OFFSET(19094, glGetMinmaxParameteriv, gl_dispatch_stub_366, gl_dispatch_stub_366, 366),
+ NAME_FUNC_OFFSET(19120, glHistogram, glHistogram, NULL, 367),
+ NAME_FUNC_OFFSET(19135, glMinmax, glMinmax, NULL, 368),
+ NAME_FUNC_OFFSET(19147, glResetHistogram, glResetHistogram, NULL, 369),
+ NAME_FUNC_OFFSET(19167, glResetMinmax, glResetMinmax, NULL, 370),
+ NAME_FUNC_OFFSET(19184, glTexImage3D, glTexImage3D, NULL, 371),
+ NAME_FUNC_OFFSET(19200, glTexImage3D, glTexImage3D, NULL, 371),
+ NAME_FUNC_OFFSET(19216, glTexSubImage3D, glTexSubImage3D, NULL, 372),
+ NAME_FUNC_OFFSET(19235, glTexSubImage3D, glTexSubImage3D, NULL, 372),
+ NAME_FUNC_OFFSET(19254, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
+ NAME_FUNC_OFFSET(19277, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
+ NAME_FUNC_OFFSET(19300, glActiveTexture, glActiveTexture, NULL, 374),
+ NAME_FUNC_OFFSET(19319, glClientActiveTexture, glClientActiveTexture, NULL, 375),
+ NAME_FUNC_OFFSET(19344, glMultiTexCoord1d, glMultiTexCoord1d, NULL, 376),
+ NAME_FUNC_OFFSET(19365, glMultiTexCoord1dv, glMultiTexCoord1dv, NULL, 377),
+ NAME_FUNC_OFFSET(19387, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, 378),
+ NAME_FUNC_OFFSET(19405, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, 379),
+ NAME_FUNC_OFFSET(19424, glMultiTexCoord1i, glMultiTexCoord1i, NULL, 380),
+ NAME_FUNC_OFFSET(19445, glMultiTexCoord1iv, glMultiTexCoord1iv, NULL, 381),
+ NAME_FUNC_OFFSET(19467, glMultiTexCoord1s, glMultiTexCoord1s, NULL, 382),
+ NAME_FUNC_OFFSET(19488, glMultiTexCoord1sv, glMultiTexCoord1sv, NULL, 383),
+ NAME_FUNC_OFFSET(19510, glMultiTexCoord2d, glMultiTexCoord2d, NULL, 384),
+ NAME_FUNC_OFFSET(19531, glMultiTexCoord2dv, glMultiTexCoord2dv, NULL, 385),
+ NAME_FUNC_OFFSET(19553, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, 386),
+ NAME_FUNC_OFFSET(19571, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, 387),
+ NAME_FUNC_OFFSET(19590, glMultiTexCoord2i, glMultiTexCoord2i, NULL, 388),
+ NAME_FUNC_OFFSET(19611, glMultiTexCoord2iv, glMultiTexCoord2iv, NULL, 389),
+ NAME_FUNC_OFFSET(19633, glMultiTexCoord2s, glMultiTexCoord2s, NULL, 390),
+ NAME_FUNC_OFFSET(19654, glMultiTexCoord2sv, glMultiTexCoord2sv, NULL, 391),
+ NAME_FUNC_OFFSET(19676, glMultiTexCoord3d, glMultiTexCoord3d, NULL, 392),
+ NAME_FUNC_OFFSET(19697, glMultiTexCoord3dv, glMultiTexCoord3dv, NULL, 393),
+ NAME_FUNC_OFFSET(19719, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, 394),
+ NAME_FUNC_OFFSET(19737, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, 395),
+ NAME_FUNC_OFFSET(19756, glMultiTexCoord3i, glMultiTexCoord3i, NULL, 396),
+ NAME_FUNC_OFFSET(19777, glMultiTexCoord3iv, glMultiTexCoord3iv, NULL, 397),
+ NAME_FUNC_OFFSET(19799, glMultiTexCoord3s, glMultiTexCoord3s, NULL, 398),
+ NAME_FUNC_OFFSET(19820, glMultiTexCoord3sv, glMultiTexCoord3sv, NULL, 399),
+ NAME_FUNC_OFFSET(19842, glMultiTexCoord4d, glMultiTexCoord4d, NULL, 400),
+ NAME_FUNC_OFFSET(19863, glMultiTexCoord4dv, glMultiTexCoord4dv, NULL, 401),
+ NAME_FUNC_OFFSET(19885, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, 402),
+ NAME_FUNC_OFFSET(19903, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, 403),
+ NAME_FUNC_OFFSET(19922, glMultiTexCoord4i, glMultiTexCoord4i, NULL, 404),
+ NAME_FUNC_OFFSET(19943, glMultiTexCoord4iv, glMultiTexCoord4iv, NULL, 405),
+ NAME_FUNC_OFFSET(19965, glMultiTexCoord4s, glMultiTexCoord4s, NULL, 406),
+ NAME_FUNC_OFFSET(19986, glMultiTexCoord4sv, glMultiTexCoord4sv, NULL, 407),
+ NAME_FUNC_OFFSET(20008, glCompressedTexImage1D, glCompressedTexImage1D, NULL, 408),
+ NAME_FUNC_OFFSET(20034, glCompressedTexImage2D, glCompressedTexImage2D, NULL, 409),
+ NAME_FUNC_OFFSET(20060, glCompressedTexImage3D, glCompressedTexImage3D, NULL, 410),
+ NAME_FUNC_OFFSET(20086, glCompressedTexImage3D, glCompressedTexImage3D, NULL, 410),
+ NAME_FUNC_OFFSET(20112, glCompressedTexSubImage1D, glCompressedTexSubImage1D, NULL, 411),
+ NAME_FUNC_OFFSET(20141, glCompressedTexSubImage2D, glCompressedTexSubImage2D, NULL, 412),
+ NAME_FUNC_OFFSET(20170, glCompressedTexSubImage3D, glCompressedTexSubImage3D, NULL, 413),
+ NAME_FUNC_OFFSET(20199, glCompressedTexSubImage3D, glCompressedTexSubImage3D, NULL, 413),
+ NAME_FUNC_OFFSET(20228, glGetCompressedTexImage, glGetCompressedTexImage, NULL, 414),
+ NAME_FUNC_OFFSET(20255, glLoadTransposeMatrixd, glLoadTransposeMatrixd, NULL, 415),
+ NAME_FUNC_OFFSET(20281, glLoadTransposeMatrixf, glLoadTransposeMatrixf, NULL, 416),
+ NAME_FUNC_OFFSET(20307, glMultTransposeMatrixd, glMultTransposeMatrixd, NULL, 417),
+ NAME_FUNC_OFFSET(20333, glMultTransposeMatrixf, glMultTransposeMatrixf, NULL, 418),
+ NAME_FUNC_OFFSET(20359, glSampleCoverage, glSampleCoverage, NULL, 419),
+ NAME_FUNC_OFFSET(20379, glBlendFuncSeparate, glBlendFuncSeparate, NULL, 420),
+ NAME_FUNC_OFFSET(20402, glBlendFuncSeparate, glBlendFuncSeparate, NULL, 420),
+ NAME_FUNC_OFFSET(20426, glBlendFuncSeparate, glBlendFuncSeparate, NULL, 420),
+ NAME_FUNC_OFFSET(20449, glFogCoordPointer, glFogCoordPointer, NULL, 421),
+ NAME_FUNC_OFFSET(20470, glFogCoordd, glFogCoordd, NULL, 422),
+ NAME_FUNC_OFFSET(20485, glFogCoorddv, glFogCoorddv, NULL, 423),
+ NAME_FUNC_OFFSET(20501, glMultiDrawArrays, glMultiDrawArrays, NULL, 424),
+ NAME_FUNC_OFFSET(20522, glPointParameterf, glPointParameterf, NULL, 425),
+ NAME_FUNC_OFFSET(20543, glPointParameterf, glPointParameterf, NULL, 425),
+ NAME_FUNC_OFFSET(20564, glPointParameterf, glPointParameterf, NULL, 425),
+ NAME_FUNC_OFFSET(20586, glPointParameterfv, glPointParameterfv, NULL, 426),
+ NAME_FUNC_OFFSET(20608, glPointParameterfv, glPointParameterfv, NULL, 426),
+ NAME_FUNC_OFFSET(20630, glPointParameterfv, glPointParameterfv, NULL, 426),
+ NAME_FUNC_OFFSET(20653, glPointParameteri, glPointParameteri, NULL, 427),
+ NAME_FUNC_OFFSET(20673, glPointParameteriv, glPointParameteriv, NULL, 428),
+ NAME_FUNC_OFFSET(20694, glSecondaryColor3b, glSecondaryColor3b, NULL, 429),
+ NAME_FUNC_OFFSET(20716, glSecondaryColor3bv, glSecondaryColor3bv, NULL, 430),
+ NAME_FUNC_OFFSET(20739, glSecondaryColor3d, glSecondaryColor3d, NULL, 431),
+ NAME_FUNC_OFFSET(20761, glSecondaryColor3dv, glSecondaryColor3dv, NULL, 432),
+ NAME_FUNC_OFFSET(20784, glSecondaryColor3i, glSecondaryColor3i, NULL, 433),
+ NAME_FUNC_OFFSET(20806, glSecondaryColor3iv, glSecondaryColor3iv, NULL, 434),
+ NAME_FUNC_OFFSET(20829, glSecondaryColor3s, glSecondaryColor3s, NULL, 435),
+ NAME_FUNC_OFFSET(20851, glSecondaryColor3sv, glSecondaryColor3sv, NULL, 436),
+ NAME_FUNC_OFFSET(20874, glSecondaryColor3ub, glSecondaryColor3ub, NULL, 437),
+ NAME_FUNC_OFFSET(20897, glSecondaryColor3ubv, glSecondaryColor3ubv, NULL, 438),
+ NAME_FUNC_OFFSET(20921, glSecondaryColor3ui, glSecondaryColor3ui, NULL, 439),
+ NAME_FUNC_OFFSET(20944, glSecondaryColor3uiv, glSecondaryColor3uiv, NULL, 440),
+ NAME_FUNC_OFFSET(20968, glSecondaryColor3us, glSecondaryColor3us, NULL, 441),
+ NAME_FUNC_OFFSET(20991, glSecondaryColor3usv, glSecondaryColor3usv, NULL, 442),
+ NAME_FUNC_OFFSET(21015, glSecondaryColorPointer, glSecondaryColorPointer, NULL, 443),
+ NAME_FUNC_OFFSET(21042, glWindowPos2d, glWindowPos2d, NULL, 444),
+ NAME_FUNC_OFFSET(21059, glWindowPos2d, glWindowPos2d, NULL, 444),
+ NAME_FUNC_OFFSET(21077, glWindowPos2dv, glWindowPos2dv, NULL, 445),
+ NAME_FUNC_OFFSET(21095, glWindowPos2dv, glWindowPos2dv, NULL, 445),
+ NAME_FUNC_OFFSET(21114, glWindowPos2f, glWindowPos2f, NULL, 446),
+ NAME_FUNC_OFFSET(21131, glWindowPos2f, glWindowPos2f, NULL, 446),
+ NAME_FUNC_OFFSET(21149, glWindowPos2fv, glWindowPos2fv, NULL, 447),
+ NAME_FUNC_OFFSET(21167, glWindowPos2fv, glWindowPos2fv, NULL, 447),
+ NAME_FUNC_OFFSET(21186, glWindowPos2i, glWindowPos2i, NULL, 448),
+ NAME_FUNC_OFFSET(21203, glWindowPos2i, glWindowPos2i, NULL, 448),
+ NAME_FUNC_OFFSET(21221, glWindowPos2iv, glWindowPos2iv, NULL, 449),
+ NAME_FUNC_OFFSET(21239, glWindowPos2iv, glWindowPos2iv, NULL, 449),
+ NAME_FUNC_OFFSET(21258, glWindowPos2s, glWindowPos2s, NULL, 450),
+ NAME_FUNC_OFFSET(21275, glWindowPos2s, glWindowPos2s, NULL, 450),
+ NAME_FUNC_OFFSET(21293, glWindowPos2sv, glWindowPos2sv, NULL, 451),
+ NAME_FUNC_OFFSET(21311, glWindowPos2sv, glWindowPos2sv, NULL, 451),
+ NAME_FUNC_OFFSET(21330, glWindowPos3d, glWindowPos3d, NULL, 452),
+ NAME_FUNC_OFFSET(21347, glWindowPos3d, glWindowPos3d, NULL, 452),
+ NAME_FUNC_OFFSET(21365, glWindowPos3dv, glWindowPos3dv, NULL, 453),
+ NAME_FUNC_OFFSET(21383, glWindowPos3dv, glWindowPos3dv, NULL, 453),
+ NAME_FUNC_OFFSET(21402, glWindowPos3f, glWindowPos3f, NULL, 454),
+ NAME_FUNC_OFFSET(21419, glWindowPos3f, glWindowPos3f, NULL, 454),
+ NAME_FUNC_OFFSET(21437, glWindowPos3fv, glWindowPos3fv, NULL, 455),
+ NAME_FUNC_OFFSET(21455, glWindowPos3fv, glWindowPos3fv, NULL, 455),
+ NAME_FUNC_OFFSET(21474, glWindowPos3i, glWindowPos3i, NULL, 456),
+ NAME_FUNC_OFFSET(21491, glWindowPos3i, glWindowPos3i, NULL, 456),
+ NAME_FUNC_OFFSET(21509, glWindowPos3iv, glWindowPos3iv, NULL, 457),
+ NAME_FUNC_OFFSET(21527, glWindowPos3iv, glWindowPos3iv, NULL, 457),
+ NAME_FUNC_OFFSET(21546, glWindowPos3s, glWindowPos3s, NULL, 458),
+ NAME_FUNC_OFFSET(21563, glWindowPos3s, glWindowPos3s, NULL, 458),
+ NAME_FUNC_OFFSET(21581, glWindowPos3sv, glWindowPos3sv, NULL, 459),
+ NAME_FUNC_OFFSET(21599, glWindowPos3sv, glWindowPos3sv, NULL, 459),
+ NAME_FUNC_OFFSET(21618, glBeginQuery, glBeginQuery, NULL, 460),
+ NAME_FUNC_OFFSET(21634, glBindBuffer, glBindBuffer, NULL, 461),
+ NAME_FUNC_OFFSET(21650, glBufferData, glBufferData, NULL, 462),
+ NAME_FUNC_OFFSET(21666, glBufferSubData, glBufferSubData, NULL, 463),
+ NAME_FUNC_OFFSET(21685, glDeleteBuffers, glDeleteBuffers, NULL, 464),
+ NAME_FUNC_OFFSET(21704, glDeleteQueries, glDeleteQueries, NULL, 465),
+ NAME_FUNC_OFFSET(21723, glEndQuery, glEndQuery, NULL, 466),
+ NAME_FUNC_OFFSET(21737, glGenBuffers, glGenBuffers, NULL, 467),
+ NAME_FUNC_OFFSET(21753, glGenQueries, glGenQueries, NULL, 468),
+ NAME_FUNC_OFFSET(21769, glGetBufferParameteriv, glGetBufferParameteriv, NULL, 469),
+ NAME_FUNC_OFFSET(21795, glGetBufferPointerv, glGetBufferPointerv, NULL, 470),
+ NAME_FUNC_OFFSET(21818, glGetBufferPointerv, glGetBufferPointerv, NULL, 470),
+ NAME_FUNC_OFFSET(21841, glGetBufferSubData, glGetBufferSubData, NULL, 471),
+ NAME_FUNC_OFFSET(21863, glGetQueryObjectiv, glGetQueryObjectiv, NULL, 472),
+ NAME_FUNC_OFFSET(21885, glGetQueryObjectuiv, glGetQueryObjectuiv, NULL, 473),
+ NAME_FUNC_OFFSET(21908, glGetQueryiv, glGetQueryiv, NULL, 474),
+ NAME_FUNC_OFFSET(21924, glIsBuffer, glIsBuffer, NULL, 475),
+ NAME_FUNC_OFFSET(21938, glIsQuery, glIsQuery, NULL, 476),
+ NAME_FUNC_OFFSET(21951, glMapBuffer, glMapBuffer, NULL, 477),
+ NAME_FUNC_OFFSET(21966, glMapBuffer, glMapBuffer, NULL, 477),
+ NAME_FUNC_OFFSET(21981, glUnmapBuffer, glUnmapBuffer, NULL, 478),
+ NAME_FUNC_OFFSET(21998, glUnmapBuffer, glUnmapBuffer, NULL, 478),
+ NAME_FUNC_OFFSET(22015, glBindAttribLocation, glBindAttribLocation, NULL, 480),
+ NAME_FUNC_OFFSET(22039, glBlendEquationSeparate, glBlendEquationSeparate, NULL, 481),
+ NAME_FUNC_OFFSET(22066, glBlendEquationSeparate, glBlendEquationSeparate, NULL, 481),
+ NAME_FUNC_OFFSET(22093, glBlendEquationSeparate, glBlendEquationSeparate, NULL, 481),
+ NAME_FUNC_OFFSET(22120, glCompileShader, glCompileShader, NULL, 482),
+ NAME_FUNC_OFFSET(22139, glDisableVertexAttribArray, glDisableVertexAttribArray, NULL, 488),
+ NAME_FUNC_OFFSET(22169, glDrawBuffers, glDrawBuffers, NULL, 489),
+ NAME_FUNC_OFFSET(22186, glDrawBuffers, glDrawBuffers, NULL, 489),
+ NAME_FUNC_OFFSET(22203, glDrawBuffers, glDrawBuffers, NULL, 489),
+ NAME_FUNC_OFFSET(22219, glEnableVertexAttribArray, glEnableVertexAttribArray, NULL, 490),
+ NAME_FUNC_OFFSET(22248, glGetActiveAttrib, glGetActiveAttrib, NULL, 491),
+ NAME_FUNC_OFFSET(22269, glGetActiveUniform, glGetActiveUniform, NULL, 492),
+ NAME_FUNC_OFFSET(22291, glGetAttribLocation, glGetAttribLocation, NULL, 494),
+ NAME_FUNC_OFFSET(22314, glGetShaderSource, glGetShaderSource, NULL, 498),
+ NAME_FUNC_OFFSET(22335, glGetUniformLocation, glGetUniformLocation, NULL, 500),
+ NAME_FUNC_OFFSET(22359, glGetUniformfv, glGetUniformfv, NULL, 501),
+ NAME_FUNC_OFFSET(22377, glGetUniformiv, glGetUniformiv, NULL, 502),
+ NAME_FUNC_OFFSET(22395, glGetVertexAttribPointerv, glGetVertexAttribPointerv, NULL, 503),
+ NAME_FUNC_OFFSET(22424, glGetVertexAttribPointerv, glGetVertexAttribPointerv, NULL, 503),
+ NAME_FUNC_OFFSET(22452, glGetVertexAttribdv, glGetVertexAttribdv, NULL, 504),
+ NAME_FUNC_OFFSET(22475, glGetVertexAttribfv, glGetVertexAttribfv, NULL, 505),
+ NAME_FUNC_OFFSET(22498, glGetVertexAttribiv, glGetVertexAttribiv, NULL, 506),
+ NAME_FUNC_OFFSET(22521, glLinkProgram, glLinkProgram, NULL, 509),
+ NAME_FUNC_OFFSET(22538, glShaderSource, glShaderSource, NULL, 510),
+ NAME_FUNC_OFFSET(22556, glStencilOpSeparate, glStencilOpSeparate, NULL, 513),
+ NAME_FUNC_OFFSET(22579, glUniform1f, glUniform1f, NULL, 514),
+ NAME_FUNC_OFFSET(22594, glUniform1fv, glUniform1fv, NULL, 515),
+ NAME_FUNC_OFFSET(22610, glUniform1i, glUniform1i, NULL, 516),
+ NAME_FUNC_OFFSET(22625, glUniform1iv, glUniform1iv, NULL, 517),
+ NAME_FUNC_OFFSET(22641, glUniform2f, glUniform2f, NULL, 518),
+ NAME_FUNC_OFFSET(22656, glUniform2fv, glUniform2fv, NULL, 519),
+ NAME_FUNC_OFFSET(22672, glUniform2i, glUniform2i, NULL, 520),
+ NAME_FUNC_OFFSET(22687, glUniform2iv, glUniform2iv, NULL, 521),
+ NAME_FUNC_OFFSET(22703, glUniform3f, glUniform3f, NULL, 522),
+ NAME_FUNC_OFFSET(22718, glUniform3fv, glUniform3fv, NULL, 523),
+ NAME_FUNC_OFFSET(22734, glUniform3i, glUniform3i, NULL, 524),
+ NAME_FUNC_OFFSET(22749, glUniform3iv, glUniform3iv, NULL, 525),
+ NAME_FUNC_OFFSET(22765, glUniform4f, glUniform4f, NULL, 526),
+ NAME_FUNC_OFFSET(22780, glUniform4fv, glUniform4fv, NULL, 527),
+ NAME_FUNC_OFFSET(22796, glUniform4i, glUniform4i, NULL, 528),
+ NAME_FUNC_OFFSET(22811, glUniform4iv, glUniform4iv, NULL, 529),
+ NAME_FUNC_OFFSET(22827, glUniformMatrix2fv, glUniformMatrix2fv, NULL, 530),
+ NAME_FUNC_OFFSET(22849, glUniformMatrix3fv, glUniformMatrix3fv, NULL, 531),
+ NAME_FUNC_OFFSET(22871, glUniformMatrix4fv, glUniformMatrix4fv, NULL, 532),
+ NAME_FUNC_OFFSET(22893, glUseProgram, glUseProgram, NULL, 533),
+ NAME_FUNC_OFFSET(22915, glValidateProgram, glValidateProgram, NULL, 534),
+ NAME_FUNC_OFFSET(22936, glVertexAttrib1d, glVertexAttrib1d, NULL, 535),
+ NAME_FUNC_OFFSET(22956, glVertexAttrib1dv, glVertexAttrib1dv, NULL, 536),
+ NAME_FUNC_OFFSET(22977, glVertexAttrib1s, glVertexAttrib1s, NULL, 537),
+ NAME_FUNC_OFFSET(22997, glVertexAttrib1sv, glVertexAttrib1sv, NULL, 538),
+ NAME_FUNC_OFFSET(23018, glVertexAttrib2d, glVertexAttrib2d, NULL, 539),
+ NAME_FUNC_OFFSET(23038, glVertexAttrib2dv, glVertexAttrib2dv, NULL, 540),
+ NAME_FUNC_OFFSET(23059, glVertexAttrib2s, glVertexAttrib2s, NULL, 541),
+ NAME_FUNC_OFFSET(23079, glVertexAttrib2sv, glVertexAttrib2sv, NULL, 542),
+ NAME_FUNC_OFFSET(23100, glVertexAttrib3d, glVertexAttrib3d, NULL, 543),
+ NAME_FUNC_OFFSET(23120, glVertexAttrib3dv, glVertexAttrib3dv, NULL, 544),
+ NAME_FUNC_OFFSET(23141, glVertexAttrib3s, glVertexAttrib3s, NULL, 545),
+ NAME_FUNC_OFFSET(23161, glVertexAttrib3sv, glVertexAttrib3sv, NULL, 546),
+ NAME_FUNC_OFFSET(23182, glVertexAttrib4Nbv, glVertexAttrib4Nbv, NULL, 547),
+ NAME_FUNC_OFFSET(23204, glVertexAttrib4Niv, glVertexAttrib4Niv, NULL, 548),
+ NAME_FUNC_OFFSET(23226, glVertexAttrib4Nsv, glVertexAttrib4Nsv, NULL, 549),
+ NAME_FUNC_OFFSET(23248, glVertexAttrib4Nub, glVertexAttrib4Nub, NULL, 550),
+ NAME_FUNC_OFFSET(23270, glVertexAttrib4Nubv, glVertexAttrib4Nubv, NULL, 551),
+ NAME_FUNC_OFFSET(23293, glVertexAttrib4Nuiv, glVertexAttrib4Nuiv, NULL, 552),
+ NAME_FUNC_OFFSET(23316, glVertexAttrib4Nusv, glVertexAttrib4Nusv, NULL, 553),
+ NAME_FUNC_OFFSET(23339, glVertexAttrib4bv, glVertexAttrib4bv, NULL, 554),
+ NAME_FUNC_OFFSET(23360, glVertexAttrib4d, glVertexAttrib4d, NULL, 555),
+ NAME_FUNC_OFFSET(23380, glVertexAttrib4dv, glVertexAttrib4dv, NULL, 556),
+ NAME_FUNC_OFFSET(23401, glVertexAttrib4iv, glVertexAttrib4iv, NULL, 557),
+ NAME_FUNC_OFFSET(23422, glVertexAttrib4s, glVertexAttrib4s, NULL, 558),
+ NAME_FUNC_OFFSET(23442, glVertexAttrib4sv, glVertexAttrib4sv, NULL, 559),
+ NAME_FUNC_OFFSET(23463, glVertexAttrib4ubv, glVertexAttrib4ubv, NULL, 560),
+ NAME_FUNC_OFFSET(23485, glVertexAttrib4uiv, glVertexAttrib4uiv, NULL, 561),
+ NAME_FUNC_OFFSET(23507, glVertexAttrib4usv, glVertexAttrib4usv, NULL, 562),
+ NAME_FUNC_OFFSET(23529, glVertexAttribPointer, glVertexAttribPointer, NULL, 563),
+ NAME_FUNC_OFFSET(23554, glBeginConditionalRender, glBeginConditionalRender, NULL, 570),
+ NAME_FUNC_OFFSET(23581, glBeginTransformFeedback, glBeginTransformFeedback, NULL, 571),
+ NAME_FUNC_OFFSET(23609, glBindBufferBase, glBindBufferBase, NULL, 572),
+ NAME_FUNC_OFFSET(23629, glBindBufferRange, glBindBufferRange, NULL, 573),
+ NAME_FUNC_OFFSET(23650, glBindFragDataLocation, glBindFragDataLocation, NULL, 574),
+ NAME_FUNC_OFFSET(23676, glClampColor, glClampColor, NULL, 575),
+ NAME_FUNC_OFFSET(23692, glColorMaski, glColorMaski, NULL, 580),
+ NAME_FUNC_OFFSET(23714, glDisablei, glDisablei, NULL, 581),
+ NAME_FUNC_OFFSET(23734, glEnablei, glEnablei, NULL, 582),
+ NAME_FUNC_OFFSET(23753, glEndConditionalRender, glEndConditionalRender, NULL, 583),
+ NAME_FUNC_OFFSET(23778, glEndTransformFeedback, glEndTransformFeedback, NULL, 584),
+ NAME_FUNC_OFFSET(23804, glGetBooleani_v, glGetBooleani_v, NULL, 585),
+ NAME_FUNC_OFFSET(23828, glGetFragDataLocation, glGetFragDataLocation, NULL, 586),
+ NAME_FUNC_OFFSET(23853, glGetIntegeri_v, glGetIntegeri_v, NULL, 587),
+ NAME_FUNC_OFFSET(23877, glGetTexParameterIiv, glGetTexParameterIiv, NULL, 589),
+ NAME_FUNC_OFFSET(23901, glGetTexParameterIuiv, glGetTexParameterIuiv, NULL, 590),
+ NAME_FUNC_OFFSET(23926, glGetTransformFeedbackVarying, glGetTransformFeedbackVarying, NULL, 591),
+ NAME_FUNC_OFFSET(23959, glGetUniformuiv, glGetUniformuiv, NULL, 592),
+ NAME_FUNC_OFFSET(23978, glGetVertexAttribIiv, glGetVertexAttribIiv, NULL, 593),
+ NAME_FUNC_OFFSET(24002, glGetVertexAttribIuiv, glGetVertexAttribIuiv, NULL, 594),
+ NAME_FUNC_OFFSET(24027, glIsEnabledi, glIsEnabledi, NULL, 595),
+ NAME_FUNC_OFFSET(24049, glTexParameterIiv, glTexParameterIiv, NULL, 596),
+ NAME_FUNC_OFFSET(24070, glTexParameterIuiv, glTexParameterIuiv, NULL, 597),
+ NAME_FUNC_OFFSET(24092, glTransformFeedbackVaryings, glTransformFeedbackVaryings, NULL, 598),
+ NAME_FUNC_OFFSET(24123, glUniform1ui, glUniform1ui, NULL, 599),
+ NAME_FUNC_OFFSET(24139, glUniform1uiv, glUniform1uiv, NULL, 600),
+ NAME_FUNC_OFFSET(24156, glUniform2ui, glUniform2ui, NULL, 601),
+ NAME_FUNC_OFFSET(24172, glUniform2uiv, glUniform2uiv, NULL, 602),
+ NAME_FUNC_OFFSET(24189, glUniform3ui, glUniform3ui, NULL, 603),
+ NAME_FUNC_OFFSET(24205, glUniform3uiv, glUniform3uiv, NULL, 604),
+ NAME_FUNC_OFFSET(24222, glUniform4ui, glUniform4ui, NULL, 605),
+ NAME_FUNC_OFFSET(24238, glUniform4uiv, glUniform4uiv, NULL, 606),
+ NAME_FUNC_OFFSET(24255, glVertexAttribI1iv, glVertexAttribI1iv, NULL, 607),
+ NAME_FUNC_OFFSET(24277, glVertexAttribI1uiv, glVertexAttribI1uiv, NULL, 608),
+ NAME_FUNC_OFFSET(24300, glVertexAttribI4bv, glVertexAttribI4bv, NULL, 609),
+ NAME_FUNC_OFFSET(24322, glVertexAttribI4sv, glVertexAttribI4sv, NULL, 610),
+ NAME_FUNC_OFFSET(24344, glVertexAttribI4ubv, glVertexAttribI4ubv, NULL, 611),
+ NAME_FUNC_OFFSET(24367, glVertexAttribI4usv, glVertexAttribI4usv, NULL, 612),
+ NAME_FUNC_OFFSET(24390, glVertexAttribIPointer, glVertexAttribIPointer, NULL, 613),
+ NAME_FUNC_OFFSET(24416, glPrimitiveRestartIndex, glPrimitiveRestartIndex, NULL, 614),
+ NAME_FUNC_OFFSET(24442, glTexBuffer, glTexBuffer, NULL, 615),
+ NAME_FUNC_OFFSET(24457, glFramebufferTexture, glFramebufferTexture, NULL, 616),
+ NAME_FUNC_OFFSET(24481, glVertexAttribDivisor, glVertexAttribDivisor, NULL, 619),
+ NAME_FUNC_OFFSET(24506, glBindProgramARB, glBindProgramARB, NULL, 620),
+ NAME_FUNC_OFFSET(24522, glDeleteProgramsARB, glDeleteProgramsARB, NULL, 621),
+ NAME_FUNC_OFFSET(24541, glGenProgramsARB, glGenProgramsARB, NULL, 622),
+ NAME_FUNC_OFFSET(24557, glIsProgramARB, glIsProgramARB, NULL, 629),
+ NAME_FUNC_OFFSET(24571, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, 630),
+ NAME_FUNC_OFFSET(24594, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, 631),
+ NAME_FUNC_OFFSET(24618, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, 632),
+ NAME_FUNC_OFFSET(24641, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, 633),
+ NAME_FUNC_OFFSET(24665, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 639),
+ NAME_FUNC_OFFSET(24682, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, 640),
+ NAME_FUNC_OFFSET(24700, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 641),
+ NAME_FUNC_OFFSET(24717, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, 642),
+ NAME_FUNC_OFFSET(24735, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 643),
+ NAME_FUNC_OFFSET(24752, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, 644),
+ NAME_FUNC_OFFSET(24770, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 645),
+ NAME_FUNC_OFFSET(24787, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, 646),
+ NAME_FUNC_OFFSET(24805, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 657),
+ NAME_FUNC_OFFSET(24830, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 657),
+ NAME_FUNC_OFFSET(24852, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 658),
+ NAME_FUNC_OFFSET(24879, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 658),
+ NAME_FUNC_OFFSET(24903, glBindFramebuffer, glBindFramebuffer, NULL, 659),
+ NAME_FUNC_OFFSET(24924, glBindFramebuffer, glBindFramebuffer, NULL, 659),
+ NAME_FUNC_OFFSET(24945, glBindRenderbuffer, glBindRenderbuffer, NULL, 660),
+ NAME_FUNC_OFFSET(24967, glBindRenderbuffer, glBindRenderbuffer, NULL, 660),
+ NAME_FUNC_OFFSET(24989, glBlitFramebuffer, glBlitFramebuffer, NULL, 661),
+ NAME_FUNC_OFFSET(25010, glCheckFramebufferStatus, glCheckFramebufferStatus, NULL, 662),
+ NAME_FUNC_OFFSET(25038, glCheckFramebufferStatus, glCheckFramebufferStatus, NULL, 662),
+ NAME_FUNC_OFFSET(25066, glDeleteFramebuffers, glDeleteFramebuffers, NULL, 663),
+ NAME_FUNC_OFFSET(25090, glDeleteFramebuffers, glDeleteFramebuffers, NULL, 663),
+ NAME_FUNC_OFFSET(25114, glDeleteRenderbuffers, glDeleteRenderbuffers, NULL, 664),
+ NAME_FUNC_OFFSET(25139, glDeleteRenderbuffers, glDeleteRenderbuffers, NULL, 664),
+ NAME_FUNC_OFFSET(25164, glFramebufferRenderbuffer, glFramebufferRenderbuffer, NULL, 665),
+ NAME_FUNC_OFFSET(25193, glFramebufferRenderbuffer, glFramebufferRenderbuffer, NULL, 665),
+ NAME_FUNC_OFFSET(25222, glFramebufferTexture1D, glFramebufferTexture1D, NULL, 666),
+ NAME_FUNC_OFFSET(25248, glFramebufferTexture2D, glFramebufferTexture2D, NULL, 667),
+ NAME_FUNC_OFFSET(25274, glFramebufferTexture2D, glFramebufferTexture2D, NULL, 667),
+ NAME_FUNC_OFFSET(25300, glFramebufferTexture3D, glFramebufferTexture3D, NULL, 668),
+ NAME_FUNC_OFFSET(25326, glFramebufferTexture3D, glFramebufferTexture3D, NULL, 668),
+ NAME_FUNC_OFFSET(25352, glFramebufferTextureLayer, glFramebufferTextureLayer, NULL, 669),
+ NAME_FUNC_OFFSET(25381, glFramebufferTextureLayer, glFramebufferTextureLayer, NULL, 669),
+ NAME_FUNC_OFFSET(25410, glGenFramebuffers, glGenFramebuffers, NULL, 670),
+ NAME_FUNC_OFFSET(25431, glGenFramebuffers, glGenFramebuffers, NULL, 670),
+ NAME_FUNC_OFFSET(25452, glGenRenderbuffers, glGenRenderbuffers, NULL, 671),
+ NAME_FUNC_OFFSET(25474, glGenRenderbuffers, glGenRenderbuffers, NULL, 671),
+ NAME_FUNC_OFFSET(25496, glGenerateMipmap, glGenerateMipmap, NULL, 672),
+ NAME_FUNC_OFFSET(25516, glGenerateMipmap, glGenerateMipmap, NULL, 672),
+ NAME_FUNC_OFFSET(25536, glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv, NULL, 673),
+ NAME_FUNC_OFFSET(25577, glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv, NULL, 673),
+ NAME_FUNC_OFFSET(25618, glGetRenderbufferParameteriv, glGetRenderbufferParameteriv, NULL, 674),
+ NAME_FUNC_OFFSET(25650, glGetRenderbufferParameteriv, glGetRenderbufferParameteriv, NULL, 674),
+ NAME_FUNC_OFFSET(25682, glIsFramebuffer, glIsFramebuffer, NULL, 675),
+ NAME_FUNC_OFFSET(25701, glIsFramebuffer, glIsFramebuffer, NULL, 675),
+ NAME_FUNC_OFFSET(25720, glIsRenderbuffer, glIsRenderbuffer, NULL, 676),
+ NAME_FUNC_OFFSET(25740, glIsRenderbuffer, glIsRenderbuffer, NULL, 676),
+ NAME_FUNC_OFFSET(25760, glRenderbufferStorage, glRenderbufferStorage, NULL, 677),
+ NAME_FUNC_OFFSET(25785, glRenderbufferStorage, glRenderbufferStorage, NULL, 677),
+ NAME_FUNC_OFFSET(25810, glRenderbufferStorageMultisample, glRenderbufferStorageMultisample, NULL, 678),
+ NAME_FUNC_OFFSET(25846, glFlushMappedBufferRange, glFlushMappedBufferRange, NULL, 680),
+ NAME_FUNC_OFFSET(25874, glMapBufferRange, glMapBufferRange, NULL, 681),
+ NAME_FUNC_OFFSET(25894, glBindVertexArray, glBindVertexArray, NULL, 682),
+ NAME_FUNC_OFFSET(25915, glDeleteVertexArrays, glDeleteVertexArrays, NULL, 683),
+ NAME_FUNC_OFFSET(25941, glDeleteVertexArrays, glDeleteVertexArrays, NULL, 683),
+ NAME_FUNC_OFFSET(25965, glGenVertexArrays, glGenVertexArrays, NULL, 684),
+ NAME_FUNC_OFFSET(25986, glIsVertexArray, glIsVertexArray, NULL, 685),
+ NAME_FUNC_OFFSET(26007, glIsVertexArray, glIsVertexArray, NULL, 685),
+ NAME_FUNC_OFFSET(26026, glProvokingVertex, glProvokingVertex, NULL, 705),
+ NAME_FUNC_OFFSET(26047, glBlendEquationSeparateiARB, glBlendEquationSeparateiARB, NULL, 710),
+ NAME_FUNC_OFFSET(26081, glBlendEquationiARB, glBlendEquationiARB, NULL, 711),
+ NAME_FUNC_OFFSET(26107, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, NULL, 712),
+ NAME_FUNC_OFFSET(26137, glBlendFunciARB, glBlendFunciARB, NULL, 713),
+ NAME_FUNC_OFFSET(26159, gl_dispatch_stub_730, gl_dispatch_stub_730, NULL, 730),
+ NAME_FUNC_OFFSET(26183, gl_dispatch_stub_731, gl_dispatch_stub_731, NULL, 731),
+ NAME_FUNC_OFFSET(26208, glClearDepthf, glClearDepthf, NULL, 782),
+ NAME_FUNC_OFFSET(26225, glDepthRangef, glDepthRangef, NULL, 783),
+ NAME_FUNC_OFFSET(26242, glGetProgramBinary, glGetProgramBinary, NULL, 787),
+ NAME_FUNC_OFFSET(26264, glProgramBinary, glProgramBinary, NULL, 788),
+ NAME_FUNC_OFFSET(26283, glProgramParameteri, glProgramParameteri, NULL, 789),
+ NAME_FUNC_OFFSET(26306, gl_dispatch_stub_844, gl_dispatch_stub_844, NULL, 844),
+ NAME_FUNC_OFFSET(26322, gl_dispatch_stub_845, gl_dispatch_stub_845, NULL, 845),
+ NAME_FUNC_OFFSET(26341, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, 855),
+ NAME_FUNC_OFFSET(26360, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, 856),
+ NAME_FUNC_OFFSET(26380, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, 857),
+ NAME_FUNC_OFFSET(26400, glFogCoordfEXT, glFogCoordfEXT, NULL, 858),
+ NAME_FUNC_OFFSET(26412, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 859),
+ NAME_FUNC_OFFSET(26425, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, 960),
+ NAME_FUNC_OFFSET(26443, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, 961),
+ NAME_FUNC_OFFSET(26462, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, 962),
+ NAME_FUNC_OFFSET(26480, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, 963),
+ NAME_FUNC_OFFSET(26499, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, 964),
+ NAME_FUNC_OFFSET(26518, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, NULL, 965),
+ NAME_FUNC_OFFSET(26538, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, 966),
+ NAME_FUNC_OFFSET(26556, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, 967),
+ NAME_FUNC_OFFSET(26575, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, 968),
+ NAME_FUNC_OFFSET(26594, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, NULL, 969),
+ NAME_FUNC_OFFSET(26614, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, 970),
+ NAME_FUNC_OFFSET(26632, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, 971),
+ NAME_FUNC_OFFSET(26651, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, 972),
+ NAME_FUNC_OFFSET(26670, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, NULL, 973),
+ NAME_FUNC_OFFSET(26690, gl_dispatch_stub_989, gl_dispatch_stub_989, NULL, 989),
+ NAME_FUNC_OFFSET(26706, gl_dispatch_stub_990, gl_dispatch_stub_990, NULL, 990),
+ NAME_FUNC_OFFSET(26723, gl_dispatch_stub_991, gl_dispatch_stub_991, NULL, 991),
+ NAME_FUNC_OFFSET(26740, gl_dispatch_stub_992, gl_dispatch_stub_992, NULL, 992),
+ NAME_FUNC_OFFSET(26753, gl_dispatch_stub_993, gl_dispatch_stub_993, NULL, 993),
+ NAME_FUNC_OFFSET(26770, gl_dispatch_stub_994, gl_dispatch_stub_994, NULL, 994),
+ NAME_FUNC_OFFSET(26780, gl_dispatch_stub_995, gl_dispatch_stub_995, NULL, 995),
+ NAME_FUNC_OFFSET(26791, gl_dispatch_stub_996, gl_dispatch_stub_996, NULL, 996),
+ NAME_FUNC_OFFSET(26805, gl_dispatch_stub_997, gl_dispatch_stub_997, NULL, 997),
+ NAME_FUNC_OFFSET(26819, gl_dispatch_stub_998, gl_dispatch_stub_998, NULL, 998),
+ NAME_FUNC_OFFSET(26836, gl_dispatch_stub_999, gl_dispatch_stub_999, NULL, 999),
+ NAME_FUNC_OFFSET(26854, gl_dispatch_stub_1000, gl_dispatch_stub_1000, NULL, 1000),
+ NAME_FUNC_OFFSET(26866, gl_dispatch_stub_1001, gl_dispatch_stub_1001, NULL, 1001),
+ NAME_FUNC_OFFSET(26879, gl_dispatch_stub_1002, gl_dispatch_stub_1002, NULL, 1002),
+ NAME_FUNC_OFFSET(26895, gl_dispatch_stub_1003, gl_dispatch_stub_1003, NULL, 1003),
+ NAME_FUNC_OFFSET(26912, gl_dispatch_stub_1004, gl_dispatch_stub_1004, NULL, 1004),
+ NAME_FUNC_OFFSET(26927, gl_dispatch_stub_1005, gl_dispatch_stub_1005, NULL, 1005),
+ NAME_FUNC_OFFSET(26943, gl_dispatch_stub_1006, gl_dispatch_stub_1006, NULL, 1006),
+ NAME_FUNC_OFFSET(26960, gl_dispatch_stub_1007, gl_dispatch_stub_1007, NULL, 1007),
+ NAME_FUNC_OFFSET(26981, gl_dispatch_stub_1008, gl_dispatch_stub_1008, NULL, 1008),
+ NAME_FUNC_OFFSET(26995, gl_dispatch_stub_1009, gl_dispatch_stub_1009, NULL, 1009),
+ NAME_FUNC_OFFSET(27007, gl_dispatch_stub_1010, gl_dispatch_stub_1010, NULL, 1010),
+ NAME_FUNC_OFFSET(27019, gl_dispatch_stub_1011, gl_dispatch_stub_1011, NULL, 1011),
+ NAME_FUNC_OFFSET(27035, gl_dispatch_stub_1012, gl_dispatch_stub_1012, NULL, 1012),
+ NAME_FUNC_OFFSET(27055, gl_dispatch_stub_1013, gl_dispatch_stub_1013, NULL, 1013),
+ NAME_FUNC_OFFSET(27068, gl_dispatch_stub_1014, gl_dispatch_stub_1014, NULL, 1014),
+ NAME_FUNC_OFFSET(27089, gl_dispatch_stub_1015, gl_dispatch_stub_1015, NULL, 1015),
+ NAME_FUNC_OFFSET(27101, gl_dispatch_stub_1016, gl_dispatch_stub_1016, NULL, 1016),
+ NAME_FUNC_OFFSET(27114, gl_dispatch_stub_1017, gl_dispatch_stub_1017, NULL, 1017),
+ NAME_FUNC_OFFSET(27128, gl_dispatch_stub_1018, gl_dispatch_stub_1018, NULL, 1018),
+ NAME_FUNC_OFFSET(27147, gl_dispatch_stub_1019, gl_dispatch_stub_1019, NULL, 1019),
+ NAME_FUNC_OFFSET(27163, gl_dispatch_stub_1020, gl_dispatch_stub_1020, NULL, 1020),
+ NAME_FUNC_OFFSET(27179, gl_dispatch_stub_1021, gl_dispatch_stub_1021, NULL, 1021),
+ NAME_FUNC_OFFSET(27195, gl_dispatch_stub_1022, gl_dispatch_stub_1022, NULL, 1022),
+ NAME_FUNC_OFFSET(27214, gl_dispatch_stub_1023, gl_dispatch_stub_1023, NULL, 1023),
+ NAME_FUNC_OFFSET(27233, gl_dispatch_stub_1024, gl_dispatch_stub_1024, NULL, 1024),
+ NAME_FUNC_OFFSET(27248, gl_dispatch_stub_1025, gl_dispatch_stub_1025, NULL, 1025),
+ NAME_FUNC_OFFSET(27264, gl_dispatch_stub_1026, gl_dispatch_stub_1026, NULL, 1026),
+ NAME_FUNC_OFFSET(27283, gl_dispatch_stub_1027, gl_dispatch_stub_1027, NULL, 1027),
+ NAME_FUNC_OFFSET(27300, gl_dispatch_stub_1028, gl_dispatch_stub_1028, NULL, 1028),
+ NAME_FUNC_OFFSET(27323, gl_dispatch_stub_1029, gl_dispatch_stub_1029, NULL, 1029),
+ NAME_FUNC_OFFSET(27344, gl_dispatch_stub_1030, gl_dispatch_stub_1030, NULL, 1030),
+ NAME_FUNC_OFFSET(27366, gl_dispatch_stub_1031, gl_dispatch_stub_1031, NULL, 1031),
+ NAME_FUNC_OFFSET(-1, NULL, NULL, NULL, 0)
+};
+
+#undef NAME_FUNC_OFFSET
diff --git a/xorg-server/glx/glxcmds.c b/xorg-server/glx/glxcmds.c index 5b7a628cc..d5d14b7a6 100644 --- a/xorg-server/glx/glxcmds.c +++ b/xorg-server/glx/glxcmds.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <string.h> #include <assert.h> @@ -215,6 +216,12 @@ __glXdirectContextCreate(__GLXscreen * screen, return context; } +void FlushContext(__GLXcontext *cx) +{ + CALL_Flush( GET_DISPATCH(), () ); + cx->hasUnflushedCommands = GL_FALSE; +} + /** * Create a GL context with the given properties. This routine is used * to implement \c glXCreateContext, \c glXCreateNewContext, and @@ -500,7 +507,7 @@ __glXGetDrawable(__GLXcontext * glxc, GLXDrawable drawId, ClientPtr client, return NULL; } - if (pDraw->pScreen != glxc->pGlxScreen->pScreen) { + if (!glxc || pDraw->pScreen != glxc->pGlxScreen->pScreen) { client->errorValue = pDraw->pScreen->myNum; *error = BadMatch; return NULL; @@ -513,6 +520,12 @@ __glXGetDrawable(__GLXcontext * glxc, GLXDrawable drawId, ClientPtr client, pDraw, drawId, GLX_DRAWABLE_WINDOW, drawId, glxc->config); + if (!pGlxDraw) + { + client->errorValue = drawId; + *error = BadMatch; + return NULL; + } /* since we are creating the drawablePrivate, drawId should be new */ if (!AddResource(drawId, __glXDrawableRes, pGlxDraw)) { @@ -651,12 +664,12 @@ DoMakeCurrent(__GLXclientState * cl, StopUsingContext(prevglxc); - reply = (xGLXMakeCurrentReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = 0, - .contextTag = 0 - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = 0; + reply.contextTag = 0; + if (glxc) { StartUsingContext(cl, glxc); @@ -722,12 +735,12 @@ __glXDisp_IsDirect(__GLXclientState * cl, GLbyte * pc) if (!validGlxContext(cl->client, req->context, DixReadAccess, &glxc, &err)) return err; - reply = (xGLXIsDirectReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = 0, - .isDirect = glxc->isDirect - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = 0; + reply.isDirect = glxc->isDirect; + if (client->swapped) { __glXSwapIsDirectReply(client, &reply); @@ -759,13 +772,13 @@ __glXDisp_QueryVersion(__GLXclientState * cl, GLbyte * pc) ** client if it wants to work with older clients; however, in this ** implementation the server just returns its version number. */ - reply = (xGLXQueryVersionReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = 0, - .majorVersion = glxMajorVersion, - .minorVersion = glxMinorVersion - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = 0; + reply.majorVersion = glxMajorVersion; + reply.minorVersion = glxMinorVersion; + if (client->swapped) { __glXSwapQueryVersionReply(client, &reply); @@ -939,14 +952,14 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc) if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err)) return err; - reply = (xGLXGetVisualConfigsReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = (pGlxScreen->numVisuals * + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = (pGlxScreen->numVisuals * __GLX_SIZE_CARD32 * GLX_VIS_CONFIG_TOTAL) >> 2, - .numVisuals = pGlxScreen->numVisuals, - .numProps = GLX_VIS_CONFIG_TOTAL - }; + reply.numVisuals = pGlxScreen->numVisuals; + reply.numProps = GLX_VIS_CONFIG_TOTAL; + if (client->swapped) { __GLX_SWAP_SHORT(&reply.sequenceNumber); @@ -1054,13 +1067,13 @@ DoGetFBConfigs(__GLXclientState * cl, unsigned screen) if (!validGlxScreen(cl->client, screen, &pGlxScreen, &err)) return err; - reply = (xGLXGetFBConfigsReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = __GLX_FBCONFIG_ATTRIBS_LENGTH * pGlxScreen->numFBConfigs, - .numFBConfigs = pGlxScreen->numFBConfigs, - .numAttribs = __GLX_TOTAL_FBCONFIG_ATTRIBS - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = __GLX_FBCONFIG_ATTRIBS_LENGTH * pGlxScreen->numFBConfigs; + reply.numFBConfigs = pGlxScreen->numFBConfigs; + reply.numAttribs = __GLX_TOTAL_FBCONFIG_ATTRIBS; + if (client->swapped) { __GLX_SWAP_SHORT(&reply.sequenceNumber); @@ -1689,12 +1702,12 @@ DoQueryContext(__GLXclientState * cl, GLXContextID gcId) return err; nProps = 3; - reply = (xGLXQueryContextInfoEXTReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = nProps << 1, - .n = nProps - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = nProps << 1; + reply.n = nProps; + nReplyBytes = reply.length << 2; sendBuf = (int *) malloc((size_t) nReplyBytes); @@ -1898,12 +1911,12 @@ DoGetDrawableAttributes(__GLXclientState * cl, XID drawId) return error; numAttribs = 3; - reply = (xGLXGetDrawableAttributesReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = numAttribs << 1, - .numAttribs = numAttribs - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = numAttribs << 1; + reply.numAttribs = numAttribs; + attributes[0] = GLX_TEXTURE_TARGET_EXT; attributes[1] = pGlxDraw->target == GL_TEXTURE_2D ? GLX_TEXTURE_2D_EXT : @@ -2339,12 +2352,12 @@ __glXDisp_QueryExtensionsString(__GLXclientState * cl, GLbyte * pc) n = strlen(pGlxScreen->GLXextensions) + 1; length = __GLX_PAD(n) >> 2; - reply = (xGLXQueryExtensionsStringReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = length, - .n = n - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = length; + reply.n = n; + /* Allocate buffer to make sure it's a multiple of 4 bytes big. */ buf = calloc(length, 4); @@ -2402,12 +2415,12 @@ __glXDisp_QueryServerString(__GLXclientState * cl, GLbyte * pc) n = strlen(ptr) + 1; length = __GLX_PAD(n) >> 2; - reply = (xGLXQueryServerStringReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = length, - .n = n - }; + + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = length; + reply.n = n; + buf = calloc(length, 4); if (buf == NULL) { diff --git a/xorg-server/glx/glxcmdsswap.c b/xorg-server/glx/glxcmdsswap.c index 43f88d335..f4ee1cee5 100644 --- a/xorg-server/glx/glxcmdsswap.c +++ b/xorg-server/glx/glxcmdsswap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <string.h> #include "glxserver.h" @@ -40,6 +41,7 @@ #include <pixmapstr.h> #include <windowstr.h> #include "glxext.h" +#include "GL/gl.h" #include "glapitable.h" #include "glapi.h" #include "glthread.h" diff --git a/xorg-server/glx/glxdri.c b/xorg-server/glx/glxdri.c index a997e2f8a..11914eb85 100644 --- a/xorg-server/glx/glxdri.c +++ b/xorg-server/glx/glxdri.c @@ -29,10 +29,13 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#ifndef _MSC_VER #include <sys/time.h> #include <dlfcn.h> #include <drm.h> +#endif + #include <GL/gl.h> #include <GL/internal/dri_interface.h> #include <GL/glxtokens.h> diff --git a/xorg-server/glx/glxdricommon.c b/xorg-server/glx/glxdricommon.c index b027f2498..7710de303 100644 --- a/xorg-server/glx/glxdricommon.c +++ b/xorg-server/glx/glxdricommon.c @@ -25,6 +25,10 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> +#else + +#include "glheader.h" + #endif #include <stdint.h> @@ -40,6 +44,10 @@ #include "glxscreens.h" #include "glxdricommon.h" +#ifdef _MSC_VER +#define dlerror() "Getting loadlibrary error string not implemented" +#endif + static int getUST(int64_t * ust) { @@ -48,6 +56,9 @@ getUST(int64_t * ust) if (ust == NULL) return -EFAULT; +#ifdef _MSC_VER + __asm int 3; +#else if (gettimeofday(&tv, NULL) == 0) { ust[0] = (tv.tv_sec * 1000000) + tv.tv_usec; return 0; @@ -55,6 +66,7 @@ getUST(int64_t * ust) else { return -errno; } + #endif } const __DRIsystemTimeExtension systemTimeExtension = { @@ -221,17 +233,29 @@ glxProbeDriver(const char *driverName, char filename[PATH_MAX]; const __DRIextension **extensions; +#ifdef _MSC_VER +#define DLLNAME "%s%s_dri.dll" + snprintf(filename, sizeof filename, DLLNAME, + dri_driver_path, driverName); + + driver = LoadLibrary(filename); +#else snprintf(filename, sizeof filename, "%s/%s_dri.so", dri_driver_path, driverName); driver = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); +#endif if (driver == NULL) { LogMessage(X_ERROR, "AIGLX error: dlopen of %s failed (%s)\n", filename, dlerror()); goto cleanup_failure; } +#ifdef _MSC_VER + extensions = (const __DRIextension **)GetProcAddress(driver, __DRI_DRIVER_EXTENSIONS); +#else extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS); +#endif if (extensions == NULL) { LogMessage(X_ERROR, "AIGLX error: %s exports no extensions (%s)\n", driverName, dlerror()); @@ -260,7 +284,11 @@ glxProbeDriver(const char *driverName, cleanup_failure: if (driver) +#ifdef _MSC_VER + FreeLibrary(driver); +#else dlclose(driver); +#endif *coreExt = *renderExt = NULL; return NULL; } diff --git a/xorg-server/glx/glxdriswrast.c b/xorg-server/glx/glxdriswrast.c index b47839868..7b1c67732 100644 --- a/xorg-server/glx/glxdriswrast.c +++ b/xorg-server/glx/glxdriswrast.c @@ -27,6 +27,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <stdint.h> #include <stdio.h> @@ -54,13 +55,6 @@ #include "dispatch.h" #include "extension_string.h" -/* RTLD_LOCAL is not defined on Cygwin */ -#ifdef __CYGWIN__ -#ifndef RTLD_LOCAL -#define RTLD_LOCAL 0 -#endif -#endif - typedef struct __GLXDRIscreen __GLXDRIscreen; typedef struct __GLXDRIcontext __GLXDRIcontext; typedef struct __GLXDRIdrawable __GLXDRIdrawable; @@ -241,14 +235,18 @@ __glXDRIscreenDestroy(__GLXscreen * baseScreen) (*screen->core->destroyScreen) (screen->driScreen); +#ifdef _MSC_VER + FreeLibrary(screen->driver); +#else dlclose(screen->driver); +#endif __glXScreenDestroy(baseScreen); if (screen->driConfigs) { for (i = 0; screen->driConfigs[i] != NULL; i++) free((__DRIconfig **) screen->driConfigs[i]); - free(screen->driConfigs); + free((void*)screen->driConfigs); } free(screen); @@ -337,6 +335,13 @@ __glXDRIscreenCreateDrawable(ClientPtr client, private->driDrawable = (*driScreen->swrast->createNewDrawable) (driScreen->driScreen, config->driConfig, private); + if (!private->driDrawable) + { + FreeGC(private->gc, (GContext)0); + FreeGC(private->swapgc, (GContext)0); + free(private); + return NULL; + } return &private->base; } @@ -429,11 +434,18 @@ initializeExtensions(__GLXDRIscreen * screen) } } +extern Bool g_fswrastwgl; + static __GLXscreen * __glXDRIscreenProbe(ScreenPtr pScreen) { - const char *driverName = "swrast"; + const char *driverName; __GLXDRIscreen *screen; + + if (g_fswrastwgl) + driverName = "swrastwgl"; + else + driverName = "swrast"; screen = calloc(1, sizeof *screen); if (screen == NULL) @@ -482,7 +494,11 @@ __glXDRIscreenProbe(ScreenPtr pScreen) handle_error: if (screen->driver) +#ifdef _MSC_VER + FreeLibrary(screen->driver); +#else dlclose(screen->driver); +#endif free(screen); diff --git a/xorg-server/glx/glxext.c b/xorg-server/glx/glxext.c index bc7fe8217..01597849e 100644 --- a/xorg-server/glx/glxext.c +++ b/xorg-server/glx/glxext.c @@ -30,6 +30,10 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> +#else + +#include "glheader.h" + #endif #include <string.h> @@ -46,6 +50,9 @@ #include "glxext.h" #include "indirect_table.h" #include "indirect_util.h" +#include "glapi.h" + +extern void FlushContext(__GLXcontext *cx); /* ** The last context used by the server. It is the context that is current @@ -139,6 +146,8 @@ DrawableGone(__GLXdrawable * glxPriv, XID xid) for (c = glxAllContexts; c; c = next) { next = c->next; if (c->isCurrent && (c->drawPriv == glxPriv || c->readPriv == glxPriv)) { + if (GET_DISPATCH()) FlushContext(c); /* Only flush if we still have a context */ + (*c->loseCurrent) (c); c->isCurrent = GL_FALSE; if (c == __glXLastContext) @@ -326,7 +335,7 @@ GlxExtensionInit(void) int i; __GLXprovider *p, **stack; Bool glx_provided = False; - + if (serverGeneration == 1) { for (stack = &__glXProviderStack; *stack; stack = &(*stack)->next) ; @@ -439,7 +448,7 @@ __glXForceCurrent(__GLXclientState * cl, GLXContextTag tag, int *error) if (cx->wait && (*cx->wait) (cx, cl, error)) return NULL; - if (cx == __glXLastContext) { + if (cx == __glXLastContext && GET_DISPATCH()) { /* No need to re-bind */ return cx; } diff --git a/xorg-server/glx/glxext.h b/xorg-server/glx/glxext.h index 9b0978b93..37291ae7c 100644 --- a/xorg-server/glx/glxext.h +++ b/xorg-server/glx/glxext.h @@ -35,11 +35,17 @@ * Silicon Graphics, Inc. */ +#ifdef INSERVER +#define SERVEXTERN _declspec(dllimport) +#else +#define SERVEXTERN _declspec(dllexport) +#endif + extern GLboolean __glXFreeContext(__GLXcontext * glxc); extern void __glXFlushContextCache(void); extern Bool __glXAddContext(__GLXcontext * cx); -extern void __glXErrorCallBack(GLenum code); +SERVEXTERN void __glXErrorCallBack(GLenum code); extern void __glXClearErrorOccured(void); extern GLboolean __glXErrorOccured(void); extern void __glXResetLargeCommandStatus(__GLXclientState *); diff --git a/xorg-server/glx/glxscreens.c b/xorg-server/glx/glxscreens.c index 61d590cc8..2d9178121 100644 --- a/xorg-server/glx/glxscreens.c +++ b/xorg-server/glx/glxscreens.c @@ -30,6 +30,10 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> +#else + +#include "glheader.h" + #endif #include <GL/glxtokens.h> diff --git a/xorg-server/glx/glxserver.h b/xorg-server/glx/glxserver.h index 1021aec80..707578a13 100644 --- a/xorg-server/glx/glxserver.h +++ b/xorg-server/glx/glxserver.h @@ -47,6 +47,7 @@ #include <scrnintstr.h> #include <GL/gl.h> +#include <GL/glext.h> #include <GL/glxproto.h> /* diff --git a/xorg-server/glx/indirect_dispatch.c b/xorg-server/glx/indirect_dispatch.c index 0a7623cf2..9b6be81ed 100644 --- a/xorg-server/glx/indirect_dispatch.c +++ b/xorg-server/glx/indirect_dispatch.c @@ -25,6 +25,11 @@ * SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif +#include "glheader.h" + #include <X11/Xmd.h> #include <GL/gl.h> #include <GL/glxproto.h> @@ -47,94 +52,94 @@ typedef struct { __GLX_PIXEL_3D_HDR; } __GLXpixel3DHeader; -extern GLboolean __glXErrorOccured(void); -extern void __glXClearErrorOccured(void); +extern GLboolean __glXErrorOccured( void ); +extern void __glXClearErrorOccured( void ); -static const unsigned dummy_answer[2] = { 0, 0 }; +static const unsigned dummy_answer[2] = {0, 0}; -int -__glXDisp_NewList(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_NewList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_NewList(GET_DISPATCH(), (*(GLuint *) (pc + 0), *(GLenum *) (pc + 4) - )); + if ( cx != NULL ) { + CALL_NewList( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_EndList(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_EndList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_EndList(GET_DISPATCH(), ()); + if ( cx != NULL ) { + CALL_EndList( GET_DISPATCH(), () ); error = Success; } return error; } -void -__glXDisp_CallList(GLbyte * pc) +void __glXDisp_CallList(GLbyte * pc) { - CALL_CallList(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_CallList( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_CallLists(GLbyte * pc) +void __glXDisp_CallLists(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 0); - const GLenum type = *(GLenum *) (pc + 4); - const GLvoid *lists = (const GLvoid *) (pc + 8); + const GLsizei n = *(GLsizei *)(pc + 0); + const GLenum type = *(GLenum *)(pc + 4); + const GLvoid * lists = (const GLvoid *)(pc + 8); - lists = (const GLvoid *) (pc + 8); - - CALL_CallLists(GET_DISPATCH(), (n, type, lists)); + CALL_CallLists( GET_DISPATCH(), ( + n, + type, + lists + ) ); } -int -__glXDisp_DeleteLists(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_DeleteLists(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_DeleteLists(GET_DISPATCH(), (*(GLuint *) (pc + 0), - *(GLsizei *) (pc + 4) - )); + if ( cx != NULL ) { + CALL_DeleteLists( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + *(GLsizei *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_GenLists(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GenLists(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLuint retval; - - retval = CALL_GenLists(GET_DISPATCH(), (*(GLsizei *) (pc + 0) - )); + retval = CALL_GenLists( GET_DISPATCH(), ( + *(GLsizei *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -142,1596 +147,1648 @@ __glXDisp_GenLists(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_ListBase(GLbyte * pc) +void __glXDisp_ListBase(GLbyte * pc) { - CALL_ListBase(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_ListBase( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_Begin(GLbyte * pc) +void __glXDisp_Begin(GLbyte * pc) { - CALL_Begin(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_Begin( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_Bitmap(GLbyte * pc) +void __glXDisp_Bitmap(GLbyte * pc) { - const GLubyte *const bitmap = (const GLubyte *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLubyte * const bitmap = (const GLubyte *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_Bitmap(GET_DISPATCH(), (*(GLsizei *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLfloat *) (pc + 28), - *(GLfloat *) (pc + 32), - *(GLfloat *) (pc + 36), - *(GLfloat *) (pc + 40), bitmap)); + CALL_Bitmap( GET_DISPATCH(), ( + *(GLsizei *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLfloat *)(pc + 28), + *(GLfloat *)(pc + 32), + *(GLfloat *)(pc + 36), + *(GLfloat *)(pc + 40), + bitmap + ) ); } -void -__glXDisp_Color3bv(GLbyte * pc) +void __glXDisp_Color3bv(GLbyte * pc) { - CALL_Color3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Color3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDisp_Color3dv(GLbyte * pc) +void __glXDisp_Color3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Color3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Color3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Color3fv(GLbyte * pc) +void __glXDisp_Color3fv(GLbyte * pc) { - CALL_Color3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Color3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Color3iv(GLbyte * pc) +void __glXDisp_Color3iv(GLbyte * pc) { - CALL_Color3iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Color3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Color3sv(GLbyte * pc) +void __glXDisp_Color3sv(GLbyte * pc) { - CALL_Color3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Color3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Color3ubv(GLbyte * pc) +void __glXDisp_Color3ubv(GLbyte * pc) { - CALL_Color3ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Color3ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDisp_Color3uiv(GLbyte * pc) +void __glXDisp_Color3uiv(GLbyte * pc) { - CALL_Color3uiv(GET_DISPATCH(), ((const GLuint *) (pc + 0) - )); + CALL_Color3uiv( GET_DISPATCH(), ( + (const GLuint *)(pc + 0) + ) ); } -void -__glXDisp_Color3usv(GLbyte * pc) +void __glXDisp_Color3usv(GLbyte * pc) { - CALL_Color3usv(GET_DISPATCH(), ((const GLushort *) (pc + 0) - )); + CALL_Color3usv( GET_DISPATCH(), ( + (const GLushort *)(pc + 0) + ) ); } -void -__glXDisp_Color4bv(GLbyte * pc) +void __glXDisp_Color4bv(GLbyte * pc) { - CALL_Color4bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Color4bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDisp_Color4dv(GLbyte * pc) +void __glXDisp_Color4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Color4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Color4dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Color4fv(GLbyte * pc) +void __glXDisp_Color4fv(GLbyte * pc) { - CALL_Color4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Color4fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Color4iv(GLbyte * pc) +void __glXDisp_Color4iv(GLbyte * pc) { - CALL_Color4iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Color4iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Color4sv(GLbyte * pc) +void __glXDisp_Color4sv(GLbyte * pc) { - CALL_Color4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Color4sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Color4ubv(GLbyte * pc) +void __glXDisp_Color4ubv(GLbyte * pc) { - CALL_Color4ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Color4ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDisp_Color4uiv(GLbyte * pc) +void __glXDisp_Color4uiv(GLbyte * pc) { - CALL_Color4uiv(GET_DISPATCH(), ((const GLuint *) (pc + 0) - )); + CALL_Color4uiv( GET_DISPATCH(), ( + (const GLuint *)(pc + 0) + ) ); } -void -__glXDisp_Color4usv(GLbyte * pc) +void __glXDisp_Color4usv(GLbyte * pc) { - CALL_Color4usv(GET_DISPATCH(), ((const GLushort *) (pc + 0) - )); + CALL_Color4usv( GET_DISPATCH(), ( + (const GLushort *)(pc + 0) + ) ); } -void -__glXDisp_EdgeFlagv(GLbyte * pc) +void __glXDisp_EdgeFlagv(GLbyte * pc) { - CALL_EdgeFlagv(GET_DISPATCH(), ((const GLboolean *) (pc + 0) - )); + CALL_EdgeFlagv( GET_DISPATCH(), ( + (const GLboolean *)(pc + 0) + ) ); } -void -__glXDisp_End(GLbyte * pc) +void __glXDisp_End(GLbyte * pc) { - CALL_End(GET_DISPATCH(), ()); + CALL_End( GET_DISPATCH(), () ); } -void -__glXDisp_Indexdv(GLbyte * pc) +void __glXDisp_Indexdv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_Indexdv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Indexdv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Indexfv(GLbyte * pc) +void __glXDisp_Indexfv(GLbyte * pc) { - CALL_Indexfv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Indexfv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Indexiv(GLbyte * pc) +void __glXDisp_Indexiv(GLbyte * pc) { - CALL_Indexiv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Indexiv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Indexsv(GLbyte * pc) +void __glXDisp_Indexsv(GLbyte * pc) { - CALL_Indexsv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Indexsv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Normal3bv(GLbyte * pc) +void __glXDisp_Normal3bv(GLbyte * pc) { - CALL_Normal3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Normal3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDisp_Normal3dv(GLbyte * pc) +void __glXDisp_Normal3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Normal3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Normal3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Normal3fv(GLbyte * pc) +void __glXDisp_Normal3fv(GLbyte * pc) { - CALL_Normal3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Normal3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Normal3iv(GLbyte * pc) +void __glXDisp_Normal3iv(GLbyte * pc) { - CALL_Normal3iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Normal3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Normal3sv(GLbyte * pc) +void __glXDisp_Normal3sv(GLbyte * pc) { - CALL_Normal3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Normal3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos2dv(GLbyte * pc) +void __glXDisp_RasterPos2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_RasterPos2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_RasterPos2dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos2fv(GLbyte * pc) +void __glXDisp_RasterPos2fv(GLbyte * pc) { - CALL_RasterPos2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_RasterPos2fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos2iv(GLbyte * pc) +void __glXDisp_RasterPos2iv(GLbyte * pc) { - CALL_RasterPos2iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_RasterPos2iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos2sv(GLbyte * pc) +void __glXDisp_RasterPos2sv(GLbyte * pc) { - CALL_RasterPos2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_RasterPos2sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos3dv(GLbyte * pc) +void __glXDisp_RasterPos3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_RasterPos3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_RasterPos3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos3fv(GLbyte * pc) +void __glXDisp_RasterPos3fv(GLbyte * pc) { - CALL_RasterPos3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_RasterPos3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos3iv(GLbyte * pc) +void __glXDisp_RasterPos3iv(GLbyte * pc) { - CALL_RasterPos3iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_RasterPos3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos3sv(GLbyte * pc) +void __glXDisp_RasterPos3sv(GLbyte * pc) { - CALL_RasterPos3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_RasterPos3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos4dv(GLbyte * pc) +void __glXDisp_RasterPos4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_RasterPos4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_RasterPos4dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos4fv(GLbyte * pc) +void __glXDisp_RasterPos4fv(GLbyte * pc) { - CALL_RasterPos4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_RasterPos4fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos4iv(GLbyte * pc) +void __glXDisp_RasterPos4iv(GLbyte * pc) { - CALL_RasterPos4iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_RasterPos4iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_RasterPos4sv(GLbyte * pc) +void __glXDisp_RasterPos4sv(GLbyte * pc) { - CALL_RasterPos4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_RasterPos4sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Rectdv(GLbyte * pc) +void __glXDisp_Rectdv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Rectdv(GET_DISPATCH(), ((const GLdouble *) (pc + 0), - (const GLdouble *) (pc + 16) - )); + CALL_Rectdv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0), + (const GLdouble *)(pc + 16) + ) ); } -void -__glXDisp_Rectfv(GLbyte * pc) +void __glXDisp_Rectfv(GLbyte * pc) { - CALL_Rectfv(GET_DISPATCH(), ((const GLfloat *) (pc + 0), - (const GLfloat *) (pc + 8) - )); + CALL_Rectfv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0), + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_Rectiv(GLbyte * pc) +void __glXDisp_Rectiv(GLbyte * pc) { - CALL_Rectiv(GET_DISPATCH(), ((const GLint *) (pc + 0), - (const GLint *) (pc + 8) - )); + CALL_Rectiv( GET_DISPATCH(), ( + (const GLint *)(pc + 0), + (const GLint *)(pc + 8) + ) ); } -void -__glXDisp_Rectsv(GLbyte * pc) +void __glXDisp_Rectsv(GLbyte * pc) { - CALL_Rectsv(GET_DISPATCH(), ((const GLshort *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_Rectsv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_TexCoord1dv(GLbyte * pc) +void __glXDisp_TexCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_TexCoord1dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_TexCoord1dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord1fv(GLbyte * pc) +void __glXDisp_TexCoord1fv(GLbyte * pc) { - CALL_TexCoord1fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_TexCoord1fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord1iv(GLbyte * pc) +void __glXDisp_TexCoord1iv(GLbyte * pc) { - CALL_TexCoord1iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_TexCoord1iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord1sv(GLbyte * pc) +void __glXDisp_TexCoord1sv(GLbyte * pc) { - CALL_TexCoord1sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_TexCoord1sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord2dv(GLbyte * pc) +void __glXDisp_TexCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_TexCoord2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_TexCoord2dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord2fv(GLbyte * pc) +void __glXDisp_TexCoord2fv(GLbyte * pc) { - CALL_TexCoord2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_TexCoord2fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord2iv(GLbyte * pc) +void __glXDisp_TexCoord2iv(GLbyte * pc) { - CALL_TexCoord2iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_TexCoord2iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord2sv(GLbyte * pc) +void __glXDisp_TexCoord2sv(GLbyte * pc) { - CALL_TexCoord2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_TexCoord2sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord3dv(GLbyte * pc) +void __glXDisp_TexCoord3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_TexCoord3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_TexCoord3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord3fv(GLbyte * pc) +void __glXDisp_TexCoord3fv(GLbyte * pc) { - CALL_TexCoord3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_TexCoord3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord3iv(GLbyte * pc) +void __glXDisp_TexCoord3iv(GLbyte * pc) { - CALL_TexCoord3iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_TexCoord3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord3sv(GLbyte * pc) +void __glXDisp_TexCoord3sv(GLbyte * pc) { - CALL_TexCoord3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_TexCoord3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord4dv(GLbyte * pc) +void __glXDisp_TexCoord4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_TexCoord4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_TexCoord4dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord4fv(GLbyte * pc) +void __glXDisp_TexCoord4fv(GLbyte * pc) { - CALL_TexCoord4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_TexCoord4fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord4iv(GLbyte * pc) +void __glXDisp_TexCoord4iv(GLbyte * pc) { - CALL_TexCoord4iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_TexCoord4iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_TexCoord4sv(GLbyte * pc) +void __glXDisp_TexCoord4sv(GLbyte * pc) { - CALL_TexCoord4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_TexCoord4sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Vertex2dv(GLbyte * pc) +void __glXDisp_Vertex2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_Vertex2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Vertex2dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Vertex2fv(GLbyte * pc) +void __glXDisp_Vertex2fv(GLbyte * pc) { - CALL_Vertex2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Vertex2fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Vertex2iv(GLbyte * pc) +void __glXDisp_Vertex2iv(GLbyte * pc) { - CALL_Vertex2iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Vertex2iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Vertex2sv(GLbyte * pc) +void __glXDisp_Vertex2sv(GLbyte * pc) { - CALL_Vertex2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Vertex2sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Vertex3dv(GLbyte * pc) +void __glXDisp_Vertex3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Vertex3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Vertex3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Vertex3fv(GLbyte * pc) +void __glXDisp_Vertex3fv(GLbyte * pc) { - CALL_Vertex3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Vertex3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Vertex3iv(GLbyte * pc) +void __glXDisp_Vertex3iv(GLbyte * pc) { - CALL_Vertex3iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Vertex3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Vertex3sv(GLbyte * pc) +void __glXDisp_Vertex3sv(GLbyte * pc) { - CALL_Vertex3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Vertex3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_Vertex4dv(GLbyte * pc) +void __glXDisp_Vertex4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Vertex4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_Vertex4dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Vertex4fv(GLbyte * pc) +void __glXDisp_Vertex4fv(GLbyte * pc) { - CALL_Vertex4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_Vertex4fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Vertex4iv(GLbyte * pc) +void __glXDisp_Vertex4iv(GLbyte * pc) { - CALL_Vertex4iv(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + CALL_Vertex4iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); } -void -__glXDisp_Vertex4sv(GLbyte * pc) +void __glXDisp_Vertex4sv(GLbyte * pc) { - CALL_Vertex4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_Vertex4sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); } -void -__glXDisp_ClipPlane(GLbyte * pc) +void __glXDisp_ClipPlane(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_ClipPlane(GET_DISPATCH(), (*(GLenum *) (pc + 32), - (const GLdouble *) (pc + 0) - )); + CALL_ClipPlane( GET_DISPATCH(), ( + *(GLenum *)(pc + 32), + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_ColorMaterial(GLbyte * pc) +void __glXDisp_ColorMaterial(GLbyte * pc) { - CALL_ColorMaterial(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4) - )); + CALL_ColorMaterial( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); } -void -__glXDisp_CullFace(GLbyte * pc) +void __glXDisp_CullFace(GLbyte * pc) { - CALL_CullFace(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_CullFace( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_Fogf(GLbyte * pc) +void __glXDisp_Fogf(GLbyte * pc) { - CALL_Fogf(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLfloat *) (pc + 4) - )); + CALL_Fogf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_Fogfv(GLbyte * pc) +void __glXDisp_Fogfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 0); + const GLfloat * params; params = (const GLfloat *) (pc + 4); - CALL_Fogfv(GET_DISPATCH(), (pname, params)); + CALL_Fogfv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDisp_Fogi(GLbyte * pc) +void __glXDisp_Fogi(GLbyte * pc) { - CALL_Fogi(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLint *) (pc + 4) - )); + CALL_Fogi( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4) + ) ); } -void -__glXDisp_Fogiv(GLbyte * pc) +void __glXDisp_Fogiv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 0); + const GLint * params; params = (const GLint *) (pc + 4); - CALL_Fogiv(GET_DISPATCH(), (pname, params)); + CALL_Fogiv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDisp_FrontFace(GLbyte * pc) +void __glXDisp_FrontFace(GLbyte * pc) { - CALL_FrontFace(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_FrontFace( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_Hint(GLbyte * pc) +void __glXDisp_Hint(GLbyte * pc) { - CALL_Hint(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4) - )); + CALL_Hint( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); } -void -__glXDisp_Lightf(GLbyte * pc) +void __glXDisp_Lightf(GLbyte * pc) { - CALL_Lightf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_Lightf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_Lightfv(GLbyte * pc) +void __glXDisp_Lightfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_Lightfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_Lightfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_Lighti(GLbyte * pc) +void __glXDisp_Lighti(GLbyte * pc) { - CALL_Lighti(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLint *) (pc + 8) - )); + CALL_Lighti( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_Lightiv(GLbyte * pc) +void __glXDisp_Lightiv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_Lightiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_Lightiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_LightModelf(GLbyte * pc) +void __glXDisp_LightModelf(GLbyte * pc) { - CALL_LightModelf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLfloat *) (pc + 4) - )); + CALL_LightModelf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_LightModelfv(GLbyte * pc) +void __glXDisp_LightModelfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 0); + const GLfloat * params; params = (const GLfloat *) (pc + 4); - CALL_LightModelfv(GET_DISPATCH(), (pname, params)); + CALL_LightModelfv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDisp_LightModeli(GLbyte * pc) +void __glXDisp_LightModeli(GLbyte * pc) { - CALL_LightModeli(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLint *) (pc + 4) - )); + CALL_LightModeli( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4) + ) ); } -void -__glXDisp_LightModeliv(GLbyte * pc) +void __glXDisp_LightModeliv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 0); + const GLint * params; params = (const GLint *) (pc + 4); - CALL_LightModeliv(GET_DISPATCH(), (pname, params)); + CALL_LightModeliv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDisp_LineStipple(GLbyte * pc) +void __glXDisp_LineStipple(GLbyte * pc) { - CALL_LineStipple(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLushort *) (pc + 4) - )); + CALL_LineStipple( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLushort *)(pc + 4) + ) ); } -void -__glXDisp_LineWidth(GLbyte * pc) +void __glXDisp_LineWidth(GLbyte * pc) { - CALL_LineWidth(GET_DISPATCH(), (*(GLfloat *) (pc + 0) - )); + CALL_LineWidth( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_Materialf(GLbyte * pc) +void __glXDisp_Materialf(GLbyte * pc) { - CALL_Materialf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_Materialf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_Materialfv(GLbyte * pc) +void __glXDisp_Materialfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_Materialfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_Materialfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_Materiali(GLbyte * pc) +void __glXDisp_Materiali(GLbyte * pc) { - CALL_Materiali(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLint *) (pc + 8) - )); + CALL_Materiali( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_Materialiv(GLbyte * pc) +void __glXDisp_Materialiv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_Materialiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_Materialiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_PointSize(GLbyte * pc) +void __glXDisp_PointSize(GLbyte * pc) { - CALL_PointSize(GET_DISPATCH(), (*(GLfloat *) (pc + 0) - )); + CALL_PointSize( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_PolygonMode(GLbyte * pc) +void __glXDisp_PolygonMode(GLbyte * pc) { - CALL_PolygonMode(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4) - )); + CALL_PolygonMode( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); } -void -__glXDisp_PolygonStipple(GLbyte * pc) +void __glXDisp_PolygonStipple(GLbyte * pc) { - const GLubyte *const mask = (const GLubyte *) ((pc + 20)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLubyte * const mask = (const GLubyte *) (pc + 20); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_PolygonStipple(GET_DISPATCH(), (mask)); + CALL_PolygonStipple( GET_DISPATCH(), ( + mask + ) ); } -void -__glXDisp_Scissor(GLbyte * pc) +void __glXDisp_Scissor(GLbyte * pc) { - CALL_Scissor(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLint *) (pc + 4), - *(GLsizei *) (pc + 8), *(GLsizei *) (pc + 12) - )); + CALL_Scissor( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLint *)(pc + 4), + *(GLsizei *)(pc + 8), + *(GLsizei *)(pc + 12) + ) ); } -void -__glXDisp_ShadeModel(GLbyte * pc) +void __glXDisp_ShadeModel(GLbyte * pc) { - CALL_ShadeModel(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_ShadeModel( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_TexParameterf(GLbyte * pc) +void __glXDisp_TexParameterf(GLbyte * pc) { - CALL_TexParameterf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLfloat *) (pc + 8) - )); + CALL_TexParameterf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_TexParameterfv(GLbyte * pc) +void __glXDisp_TexParameterfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_TexParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexParameteri(GLbyte * pc) +void __glXDisp_TexParameteri(GLbyte * pc) { - CALL_TexParameteri(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLint *) (pc + 8) - )); + CALL_TexParameteri( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_TexParameteriv(GLbyte * pc) +void __glXDisp_TexParameteriv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_TexParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexImage1D(GLbyte * pc) +void __glXDisp_TexImage1D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 52)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_TexImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLint *) (pc + 24), - *(GLint *) (pc + 28), - *(GLsizei *) (pc + 32), - *(GLint *) (pc + 40), - *(GLenum *) (pc + 44), - *(GLenum *) (pc + 48), pixels)); + CALL_TexImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLint *)(pc + 24), + *(GLint *)(pc + 28), + *(GLsizei *)(pc + 32), + *(GLint *)(pc + 40), + *(GLenum *)(pc + 44), + *(GLenum *)(pc + 48), + pixels + ) ); } -void -__glXDisp_TexImage2D(GLbyte * pc) +void __glXDisp_TexImage2D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 52)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_TexImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLint *) (pc + 24), - *(GLint *) (pc + 28), - *(GLsizei *) (pc + 32), - *(GLsizei *) (pc + 36), - *(GLint *) (pc + 40), - *(GLenum *) (pc + 44), - *(GLenum *) (pc + 48), pixels)); + CALL_TexImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLint *)(pc + 24), + *(GLint *)(pc + 28), + *(GLsizei *)(pc + 32), + *(GLsizei *)(pc + 36), + *(GLint *)(pc + 40), + *(GLenum *)(pc + 44), + *(GLenum *)(pc + 48), + pixels + ) ); } -void -__glXDisp_TexEnvf(GLbyte * pc) +void __glXDisp_TexEnvf(GLbyte * pc) { - CALL_TexEnvf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_TexEnvf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_TexEnvfv(GLbyte * pc) +void __glXDisp_TexEnvfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_TexEnvfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexEnvfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexEnvi(GLbyte * pc) +void __glXDisp_TexEnvi(GLbyte * pc) { - CALL_TexEnvi(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLint *) (pc + 8) - )); + CALL_TexEnvi( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_TexEnviv(GLbyte * pc) +void __glXDisp_TexEnviv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_TexEnviv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexEnviv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexGend(GLbyte * pc) +void __glXDisp_TexGend(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_TexGend(GET_DISPATCH(), (*(GLenum *) (pc + 8), - *(GLenum *) (pc + 12), *(GLdouble *) (pc + 0) - )); + CALL_TexGend( GET_DISPATCH(), ( + *(GLenum *)(pc + 8), + *(GLenum *)(pc + 12), + *(GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_TexGendv(GLbyte * pc) +void __glXDisp_TexGendv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLdouble *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLdouble * params; #ifdef __GLX_ALIGN64 const GLuint compsize = __glTexGendv_size(pname); const GLuint cmdlen = 12 + __GLX_PAD((compsize * 8)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif params = (const GLdouble *) (pc + 8); - CALL_TexGendv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexGendv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexGenf(GLbyte * pc) +void __glXDisp_TexGenf(GLbyte * pc) { - CALL_TexGenf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_TexGenf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_TexGenfv(GLbyte * pc) +void __glXDisp_TexGenfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_TexGenfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexGenfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_TexGeni(GLbyte * pc) +void __glXDisp_TexGeni(GLbyte * pc) { - CALL_TexGeni(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLint *) (pc + 8) - )); + CALL_TexGeni( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_TexGeniv(GLbyte * pc) +void __glXDisp_TexGeniv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_TexGeniv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_TexGeniv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_InitNames(GLbyte * pc) +void __glXDisp_InitNames(GLbyte * pc) { - CALL_InitNames(GET_DISPATCH(), ()); + CALL_InitNames( GET_DISPATCH(), () ); } -void -__glXDisp_LoadName(GLbyte * pc) +void __glXDisp_LoadName(GLbyte * pc) { - CALL_LoadName(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_LoadName( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_PassThrough(GLbyte * pc) +void __glXDisp_PassThrough(GLbyte * pc) { - CALL_PassThrough(GET_DISPATCH(), (*(GLfloat *) (pc + 0) - )); + CALL_PassThrough( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_PopName(GLbyte * pc) +void __glXDisp_PopName(GLbyte * pc) { - CALL_PopName(GET_DISPATCH(), ()); + CALL_PopName( GET_DISPATCH(), () ); } -void -__glXDisp_PushName(GLbyte * pc) +void __glXDisp_PushName(GLbyte * pc) { - CALL_PushName(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_PushName( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_DrawBuffer(GLbyte * pc) +void __glXDisp_DrawBuffer(GLbyte * pc) { - CALL_DrawBuffer(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_DrawBuffer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_Clear(GLbyte * pc) +void __glXDisp_Clear(GLbyte * pc) { - CALL_Clear(GET_DISPATCH(), (*(GLbitfield *) (pc + 0) - )); + CALL_Clear( GET_DISPATCH(), ( + *(GLbitfield *)(pc + 0) + ) ); } -void -__glXDisp_ClearAccum(GLbyte * pc) +void __glXDisp_ClearAccum(GLbyte * pc) { - CALL_ClearAccum(GET_DISPATCH(), (*(GLfloat *) (pc + 0), - *(GLfloat *) (pc + 4), - *(GLfloat *) (pc + 8), - *(GLfloat *) (pc + 12) - )); + CALL_ClearAccum( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8), + *(GLfloat *)(pc + 12) + ) ); } -void -__glXDisp_ClearIndex(GLbyte * pc) +void __glXDisp_ClearIndex(GLbyte * pc) { - CALL_ClearIndex(GET_DISPATCH(), (*(GLfloat *) (pc + 0) - )); + CALL_ClearIndex( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_ClearColor(GLbyte * pc) +void __glXDisp_ClearColor(GLbyte * pc) { - CALL_ClearColor(GET_DISPATCH(), (*(GLclampf *) (pc + 0), - *(GLclampf *) (pc + 4), - *(GLclampf *) (pc + 8), - *(GLclampf *) (pc + 12) - )); + CALL_ClearColor( GET_DISPATCH(), ( + *(GLclampf *)(pc + 0), + *(GLclampf *)(pc + 4), + *(GLclampf *)(pc + 8), + *(GLclampf *)(pc + 12) + ) ); } -void -__glXDisp_ClearStencil(GLbyte * pc) +void __glXDisp_ClearStencil(GLbyte * pc) { - CALL_ClearStencil(GET_DISPATCH(), (*(GLint *) (pc + 0) - )); + CALL_ClearStencil( GET_DISPATCH(), ( + *(GLint *)(pc + 0) + ) ); } -void -__glXDisp_ClearDepth(GLbyte * pc) +void __glXDisp_ClearDepth(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_ClearDepth(GET_DISPATCH(), (*(GLclampd *) (pc + 0) - )); + CALL_ClearDepth( GET_DISPATCH(), ( + *(GLclampd *)(pc + 0) + ) ); } -void -__glXDisp_StencilMask(GLbyte * pc) +void __glXDisp_StencilMask(GLbyte * pc) { - CALL_StencilMask(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_StencilMask( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_ColorMask(GLbyte * pc) +void __glXDisp_ColorMask(GLbyte * pc) { - CALL_ColorMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0), - *(GLboolean *) (pc + 1), - *(GLboolean *) (pc + 2), - *(GLboolean *) (pc + 3) - )); + CALL_ColorMask( GET_DISPATCH(), ( + *(GLboolean *)(pc + 0), + *(GLboolean *)(pc + 1), + *(GLboolean *)(pc + 2), + *(GLboolean *)(pc + 3) + ) ); } -void -__glXDisp_DepthMask(GLbyte * pc) +void __glXDisp_DepthMask(GLbyte * pc) { - CALL_DepthMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0) - )); + CALL_DepthMask( GET_DISPATCH(), ( + *(GLboolean *)(pc + 0) + ) ); } -void -__glXDisp_IndexMask(GLbyte * pc) +void __glXDisp_IndexMask(GLbyte * pc) { - CALL_IndexMask(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + CALL_IndexMask( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); } -void -__glXDisp_Accum(GLbyte * pc) +void __glXDisp_Accum(GLbyte * pc) { - CALL_Accum(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLfloat *) (pc + 4) - )); + CALL_Accum( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_Disable(GLbyte * pc) +void __glXDisp_Disable(GLbyte * pc) { - CALL_Disable(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_Disable( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_Enable(GLbyte * pc) +void __glXDisp_Enable(GLbyte * pc) { - CALL_Enable(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_Enable( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_PopAttrib(GLbyte * pc) +void __glXDisp_PopAttrib(GLbyte * pc) { - CALL_PopAttrib(GET_DISPATCH(), ()); + CALL_PopAttrib( GET_DISPATCH(), () ); } -void -__glXDisp_PushAttrib(GLbyte * pc) +void __glXDisp_PushAttrib(GLbyte * pc) { - CALL_PushAttrib(GET_DISPATCH(), (*(GLbitfield *) (pc + 0) - )); + CALL_PushAttrib( GET_DISPATCH(), ( + *(GLbitfield *)(pc + 0) + ) ); } -void -__glXDisp_MapGrid1d(GLbyte * pc) +void __glXDisp_MapGrid1d(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_MapGrid1d(GET_DISPATCH(), (*(GLint *) (pc + 16), - *(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8) - )); + CALL_MapGrid1d( GET_DISPATCH(), ( + *(GLint *)(pc + 16), + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_MapGrid1f(GLbyte * pc) +void __glXDisp_MapGrid1f(GLbyte * pc) { - CALL_MapGrid1f(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLfloat *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_MapGrid1f( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_MapGrid2d(GLbyte * pc) +void __glXDisp_MapGrid2d(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); pc -= 4; } #endif - CALL_MapGrid2d(GET_DISPATCH(), (*(GLint *) (pc + 32), - *(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), - *(GLint *) (pc + 36), - *(GLdouble *) (pc + 16), - *(GLdouble *) (pc + 24) - )); + CALL_MapGrid2d( GET_DISPATCH(), ( + *(GLint *)(pc + 32), + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLint *)(pc + 36), + *(GLdouble *)(pc + 16), + *(GLdouble *)(pc + 24) + ) ); } -void -__glXDisp_MapGrid2f(GLbyte * pc) +void __glXDisp_MapGrid2f(GLbyte * pc) { - CALL_MapGrid2f(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLfloat *) (pc + 4), - *(GLfloat *) (pc + 8), - *(GLint *) (pc + 12), - *(GLfloat *) (pc + 16), - *(GLfloat *) (pc + 20) - )); + CALL_MapGrid2f( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8), + *(GLint *)(pc + 12), + *(GLfloat *)(pc + 16), + *(GLfloat *)(pc + 20) + ) ); } -void -__glXDisp_EvalCoord1dv(GLbyte * pc) +void __glXDisp_EvalCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_EvalCoord1dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_EvalCoord1dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_EvalCoord1fv(GLbyte * pc) +void __glXDisp_EvalCoord1fv(GLbyte * pc) { - CALL_EvalCoord1fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_EvalCoord1fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_EvalCoord2dv(GLbyte * pc) +void __glXDisp_EvalCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_EvalCoord2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_EvalCoord2dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_EvalCoord2fv(GLbyte * pc) +void __glXDisp_EvalCoord2fv(GLbyte * pc) { - CALL_EvalCoord2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_EvalCoord2fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_EvalMesh1(GLbyte * pc) +void __glXDisp_EvalMesh1(GLbyte * pc) { - CALL_EvalMesh1(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), *(GLint *) (pc + 8) - )); + CALL_EvalMesh1( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_EvalPoint1(GLbyte * pc) +void __glXDisp_EvalPoint1(GLbyte * pc) { - CALL_EvalPoint1(GET_DISPATCH(), (*(GLint *) (pc + 0) - )); + CALL_EvalPoint1( GET_DISPATCH(), ( + *(GLint *)(pc + 0) + ) ); } -void -__glXDisp_EvalMesh2(GLbyte * pc) +void __glXDisp_EvalMesh2(GLbyte * pc) { - CALL_EvalMesh2(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), *(GLint *) (pc + 16) - )); + CALL_EvalMesh2( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16) + ) ); } -void -__glXDisp_EvalPoint2(GLbyte * pc) +void __glXDisp_EvalPoint2(GLbyte * pc) { - CALL_EvalPoint2(GET_DISPATCH(), (*(GLint *) (pc + 0), *(GLint *) (pc + 4) - )); + CALL_EvalPoint2( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLint *)(pc + 4) + ) ); } -void -__glXDisp_AlphaFunc(GLbyte * pc) +void __glXDisp_AlphaFunc(GLbyte * pc) { - CALL_AlphaFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLclampf *) (pc + 4) - )); + CALL_AlphaFunc( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLclampf *)(pc + 4) + ) ); } -void -__glXDisp_BlendFunc(GLbyte * pc) +void __glXDisp_BlendFunc(GLbyte * pc) { - CALL_BlendFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4) - )); + CALL_BlendFunc( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); } -void -__glXDisp_LogicOp(GLbyte * pc) +void __glXDisp_LogicOp(GLbyte * pc) { - CALL_LogicOp(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_LogicOp( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_StencilFunc(GLbyte * pc) +void __glXDisp_StencilFunc(GLbyte * pc) { - CALL_StencilFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), *(GLuint *) (pc + 8) - )); + CALL_StencilFunc( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLuint *)(pc + 8) + ) ); } -void -__glXDisp_StencilOp(GLbyte * pc) +void __glXDisp_StencilOp(GLbyte * pc) { - CALL_StencilOp(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLenum *) (pc + 8) - )); + CALL_StencilOp( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8) + ) ); } -void -__glXDisp_DepthFunc(GLbyte * pc) +void __glXDisp_DepthFunc(GLbyte * pc) { - CALL_DepthFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_DepthFunc( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_PixelZoom(GLbyte * pc) +void __glXDisp_PixelZoom(GLbyte * pc) { - CALL_PixelZoom(GET_DISPATCH(), (*(GLfloat *) (pc + 0), *(GLfloat *) (pc + 4) - )); + CALL_PixelZoom( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_PixelTransferf(GLbyte * pc) +void __glXDisp_PixelTransferf(GLbyte * pc) { - CALL_PixelTransferf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLfloat *) (pc + 4) - )); + CALL_PixelTransferf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_PixelTransferi(GLbyte * pc) +void __glXDisp_PixelTransferi(GLbyte * pc) { - CALL_PixelTransferi(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4) - )); + CALL_PixelTransferi( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4) + ) ); } -int -__glXDisp_PixelStoref(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_PixelStoref(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_PixelStoref(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLfloat *) (pc + 4) - )); + if ( cx != NULL ) { + CALL_PixelStoref( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_PixelStorei(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_PixelStorei(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_PixelStorei(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4) - )); + if ( cx != NULL ) { + CALL_PixelStorei( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4) + ) ); error = Success; } return error; } -void -__glXDisp_PixelMapfv(GLbyte * pc) +void __glXDisp_PixelMapfv(GLbyte * pc) { - const GLsizei mapsize = *(GLsizei *) (pc + 4); + const GLsizei mapsize = *(GLsizei *)(pc + 4); - CALL_PixelMapfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - mapsize, (const GLfloat *) (pc + 8) - )); + CALL_PixelMapfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + mapsize, + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_PixelMapuiv(GLbyte * pc) +void __glXDisp_PixelMapuiv(GLbyte * pc) { - const GLsizei mapsize = *(GLsizei *) (pc + 4); + const GLsizei mapsize = *(GLsizei *)(pc + 4); - CALL_PixelMapuiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - mapsize, (const GLuint *) (pc + 8) - )); + CALL_PixelMapuiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + mapsize, + (const GLuint *)(pc + 8) + ) ); } -void -__glXDisp_PixelMapusv(GLbyte * pc) +void __glXDisp_PixelMapusv(GLbyte * pc) { - const GLsizei mapsize = *(GLsizei *) (pc + 4); + const GLsizei mapsize = *(GLsizei *)(pc + 4); - CALL_PixelMapusv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - mapsize, (const GLushort *) (pc + 8) - )); + CALL_PixelMapusv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + mapsize, + (const GLushort *)(pc + 8) + ) ); } -void -__glXDisp_ReadBuffer(GLbyte * pc) +void __glXDisp_ReadBuffer(GLbyte * pc) { - CALL_ReadBuffer(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_ReadBuffer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_CopyPixels(GLbyte * pc) +void __glXDisp_CopyPixels(GLbyte * pc) { - CALL_CopyPixels(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLint *) (pc + 4), - *(GLsizei *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLenum *) (pc + 16) - )); + CALL_CopyPixels( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLint *)(pc + 4), + *(GLsizei *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLenum *)(pc + 16) + ) ); } -void -__glXDisp_DrawPixels(GLbyte * pc) +void __glXDisp_DrawPixels(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 36)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 36); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_DrawPixels(GET_DISPATCH(), (*(GLsizei *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLenum *) (pc + 28), - *(GLenum *) (pc + 32), pixels)); + CALL_DrawPixels( GET_DISPATCH(), ( + *(GLsizei *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLenum *)(pc + 28), + *(GLenum *)(pc + 32), + pixels + ) ); } -int -__glXDisp_GetBooleanv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetBooleanv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 0); const GLuint compsize = __glGetBooleanv_size(pname); GLboolean answerBuffer[200]; - GLboolean *params = - __glXGetAnswerBuffer(cl, compsize, answerBuffer, - sizeof(answerBuffer), 1); + GLboolean * params = __glXGetAnswerBuffer(cl, compsize, answerBuffer, sizeof(answerBuffer), 1); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetBooleanv(GET_DISPATCH(), (pname, params)); + CALL_GetBooleanv( GET_DISPATCH(), ( + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 1, GL_FALSE, 0); error = Success; } @@ -1739,18 +1796,19 @@ __glXDisp_GetBooleanv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetClipPlane(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetClipPlane(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLdouble equation[4]; - - CALL_GetClipPlane(GET_DISPATCH(), (*(GLenum *) (pc + 0), equation)); + CALL_GetClipPlane( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + equation + ) ); __glXSendReply(cl->client, equation, 4, 8, GL_TRUE, 0); error = Success; } @@ -1758,28 +1816,27 @@ __glXDisp_GetClipPlane(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetDoublev(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetDoublev(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 0); const GLuint compsize = __glGetDoublev_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetDoublev(GET_DISPATCH(), (pname, params)); + CALL_GetDoublev( GET_DISPATCH(), ( + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -1787,18 +1844,16 @@ __glXDisp_GetDoublev(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetError(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetError(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLenum retval; - - retval = CALL_GetError(GET_DISPATCH(), ()); + retval = CALL_GetError( GET_DISPATCH(), () ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -1806,28 +1861,27 @@ __glXDisp_GetError(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetFloatv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetFloatv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 0); const GLuint compsize = __glGetFloatv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetFloatv(GET_DISPATCH(), (pname, params)); + CALL_GetFloatv( GET_DISPATCH(), ( + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -1835,28 +1889,27 @@ __glXDisp_GetFloatv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetIntegerv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetIntegerv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 0); const GLuint compsize = __glGetIntegerv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetIntegerv(GET_DISPATCH(), (pname, params)); + CALL_GetIntegerv( GET_DISPATCH(), ( + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -1864,28 +1917,28 @@ __glXDisp_GetIntegerv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetLightfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetLightfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetLightfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetLightfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetLightfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -1893,28 +1946,28 @@ __glXDisp_GetLightfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetLightiv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetLightiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetLightiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetLightiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetLightiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -1922,29 +1975,29 @@ __glXDisp_GetLightiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMapdv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMapdv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = *(GLenum *) (pc + 0); - const GLenum query = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum target = *(GLenum *)(pc + 0); + const GLenum query = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetMapdv_size(target, query); + const GLuint compsize = __glGetMapdv_size(target,query); GLdouble answerBuffer[200]; - GLdouble *v = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * v = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapdv(GET_DISPATCH(), (target, query, v)); + CALL_GetMapdv( GET_DISPATCH(), ( + target, + query, + v + ) ); __glXSendReply(cl->client, v, compsize, 8, GL_FALSE, 0); error = Success; } @@ -1952,29 +2005,29 @@ __glXDisp_GetMapdv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMapfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMapfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = *(GLenum *) (pc + 0); - const GLenum query = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum target = *(GLenum *)(pc + 0); + const GLenum query = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetMapfv_size(target, query); + const GLuint compsize = __glGetMapfv_size(target,query); GLfloat answerBuffer[200]; - GLfloat *v = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapfv(GET_DISPATCH(), (target, query, v)); + CALL_GetMapfv( GET_DISPATCH(), ( + target, + query, + v + ) ); __glXSendReply(cl->client, v, compsize, 4, GL_FALSE, 0); error = Success; } @@ -1982,29 +2035,29 @@ __glXDisp_GetMapfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMapiv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMapiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = *(GLenum *) (pc + 0); - const GLenum query = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum target = *(GLenum *)(pc + 0); + const GLenum query = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetMapiv_size(target, query); + const GLuint compsize = __glGetMapiv_size(target,query); GLint answerBuffer[200]; - GLint *v = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapiv(GET_DISPATCH(), (target, query, v)); + CALL_GetMapiv( GET_DISPATCH(), ( + target, + query, + v + ) ); __glXSendReply(cl->client, v, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2012,29 +2065,28 @@ __glXDisp_GetMapiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMaterialfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMaterialfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMaterialfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMaterialfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMaterialfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2042,29 +2094,28 @@ __glXDisp_GetMaterialfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMaterialiv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMaterialiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMaterialiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMaterialiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMaterialiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2072,28 +2123,27 @@ __glXDisp_GetMaterialiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum map = *(GLenum *)(pc + 0); const GLuint compsize = __glGetPixelMapfv_size(map); GLfloat answerBuffer[200]; - GLfloat *values = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapfv(GET_DISPATCH(), (map, values)); + CALL_GetPixelMapfv( GET_DISPATCH(), ( + map, + values + ) ); __glXSendReply(cl->client, values, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2101,28 +2151,27 @@ __glXDisp_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum map = *(GLenum *)(pc + 0); const GLuint compsize = __glGetPixelMapuiv_size(map); GLuint answerBuffer[200]; - GLuint *values = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLuint * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapuiv(GET_DISPATCH(), (map, values)); + CALL_GetPixelMapuiv( GET_DISPATCH(), ( + map, + values + ) ); __glXSendReply(cl->client, values, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2130,28 +2179,27 @@ __glXDisp_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = *(GLenum *) (pc + 0); + if ( cx != NULL ) { + const GLenum map = *(GLenum *)(pc + 0); const GLuint compsize = __glGetPixelMapusv_size(map); GLushort answerBuffer[200]; - GLushort *values = - __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, - sizeof(answerBuffer), 2); + GLushort * values = __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, sizeof(answerBuffer), 2); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapusv(GET_DISPATCH(), (map, values)); + CALL_GetPixelMapusv( GET_DISPATCH(), ( + map, + values + ) ); __glXSendReply(cl->client, values, compsize, 2, GL_FALSE, 0); error = Success; } @@ -2159,28 +2207,28 @@ __glXDisp_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexEnvfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexEnvfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetTexEnvfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2188,28 +2236,28 @@ __glXDisp_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexEnviv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexEnviv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexEnviv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexEnviv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetTexEnviv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2217,28 +2265,28 @@ __glXDisp_GetTexEnviv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexGendv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexGendv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexGendv_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGendv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetTexGendv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -2246,28 +2294,28 @@ __glXDisp_GetTexGendv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexGenfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexGenfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexGenfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGenfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetTexGenfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2275,28 +2323,28 @@ __glXDisp_GetTexGenfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexGeniv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexGeniv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexGeniv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGeniv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params)); + CALL_GetTexGeniv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2304,29 +2352,28 @@ __glXDisp_GetTexGeniv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetTexParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2334,29 +2381,28 @@ __glXDisp_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetTexParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetTexParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2364,30 +2410,29 @@ __glXDisp_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 8); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 8); const GLuint compsize = __glGetTexLevelParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexLevelParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - pname, params)); + CALL_GetTexLevelParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2395,30 +2440,29 @@ __glXDisp_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 8); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 8); const GLuint compsize = __glGetTexLevelParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexLevelParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - pname, params)); + CALL_GetTexLevelParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2426,19 +2470,18 @@ __glXDisp_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsEnabled(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsEnabled(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsEnabled(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + retval = CALL_IsEnabled( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2446,19 +2489,18 @@ __glXDisp_IsEnabled(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsList(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsList(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + retval = CALL_IsList( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2466,249 +2508,251 @@ __glXDisp_IsList(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_DepthRange(GLbyte * pc) +void __glXDisp_DepthRange(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_DepthRange(GET_DISPATCH(), (*(GLclampd *) (pc + 0), - *(GLclampd *) (pc + 8) - )); + CALL_DepthRange( GET_DISPATCH(), ( + *(GLclampd *)(pc + 0), + *(GLclampd *)(pc + 8) + ) ); } -void -__glXDisp_Frustum(GLbyte * pc) +void __glXDisp_Frustum(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 48); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 48); pc -= 4; } #endif - CALL_Frustum(GET_DISPATCH(), (*(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), - *(GLdouble *) (pc + 16), - *(GLdouble *) (pc + 24), - *(GLdouble *) (pc + 32), - *(GLdouble *) (pc + 40) - )); + CALL_Frustum( GET_DISPATCH(), ( + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLdouble *)(pc + 16), + *(GLdouble *)(pc + 24), + *(GLdouble *)(pc + 32), + *(GLdouble *)(pc + 40) + ) ); } -void -__glXDisp_LoadIdentity(GLbyte * pc) +void __glXDisp_LoadIdentity(GLbyte * pc) { - CALL_LoadIdentity(GET_DISPATCH(), ()); + CALL_LoadIdentity( GET_DISPATCH(), () ); } -void -__glXDisp_LoadMatrixf(GLbyte * pc) +void __glXDisp_LoadMatrixf(GLbyte * pc) { - CALL_LoadMatrixf(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_LoadMatrixf( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_LoadMatrixd(GLbyte * pc) +void __glXDisp_LoadMatrixd(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 128); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 128); pc -= 4; } #endif - CALL_LoadMatrixd(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_LoadMatrixd( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_MatrixMode(GLbyte * pc) +void __glXDisp_MatrixMode(GLbyte * pc) { - CALL_MatrixMode(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_MatrixMode( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_MultMatrixf(GLbyte * pc) +void __glXDisp_MultMatrixf(GLbyte * pc) { - CALL_MultMatrixf(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + CALL_MultMatrixf( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); } -void -__glXDisp_MultMatrixd(GLbyte * pc) +void __glXDisp_MultMatrixd(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 128); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 128); pc -= 4; } #endif - CALL_MultMatrixd(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + CALL_MultMatrixd( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_Ortho(GLbyte * pc) +void __glXDisp_Ortho(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 48); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 48); pc -= 4; } #endif - CALL_Ortho(GET_DISPATCH(), (*(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), - *(GLdouble *) (pc + 16), - *(GLdouble *) (pc + 24), - *(GLdouble *) (pc + 32), *(GLdouble *) (pc + 40) - )); + CALL_Ortho( GET_DISPATCH(), ( + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLdouble *)(pc + 16), + *(GLdouble *)(pc + 24), + *(GLdouble *)(pc + 32), + *(GLdouble *)(pc + 40) + ) ); } -void -__glXDisp_PopMatrix(GLbyte * pc) +void __glXDisp_PopMatrix(GLbyte * pc) { - CALL_PopMatrix(GET_DISPATCH(), ()); + CALL_PopMatrix( GET_DISPATCH(), () ); } -void -__glXDisp_PushMatrix(GLbyte * pc) +void __glXDisp_PushMatrix(GLbyte * pc) { - CALL_PushMatrix(GET_DISPATCH(), ()); + CALL_PushMatrix( GET_DISPATCH(), () ); } -void -__glXDisp_Rotated(GLbyte * pc) +void __glXDisp_Rotated(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Rotated(GET_DISPATCH(), (*(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), - *(GLdouble *) (pc + 16), - *(GLdouble *) (pc + 24) - )); + CALL_Rotated( GET_DISPATCH(), ( + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLdouble *)(pc + 16), + *(GLdouble *)(pc + 24) + ) ); } -void -__glXDisp_Rotatef(GLbyte * pc) +void __glXDisp_Rotatef(GLbyte * pc) { - CALL_Rotatef(GET_DISPATCH(), (*(GLfloat *) (pc + 0), - *(GLfloat *) (pc + 4), - *(GLfloat *) (pc + 8), *(GLfloat *) (pc + 12) - )); + CALL_Rotatef( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8), + *(GLfloat *)(pc + 12) + ) ); } -void -__glXDisp_Scaled(GLbyte * pc) +void __glXDisp_Scaled(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Scaled(GET_DISPATCH(), (*(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), *(GLdouble *) (pc + 16) - )); + CALL_Scaled( GET_DISPATCH(), ( + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLdouble *)(pc + 16) + ) ); } -void -__glXDisp_Scalef(GLbyte * pc) +void __glXDisp_Scalef(GLbyte * pc) { - CALL_Scalef(GET_DISPATCH(), (*(GLfloat *) (pc + 0), - *(GLfloat *) (pc + 4), *(GLfloat *) (pc + 8) - )); + CALL_Scalef( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_Translated(GLbyte * pc) +void __glXDisp_Translated(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Translated(GET_DISPATCH(), (*(GLdouble *) (pc + 0), - *(GLdouble *) (pc + 8), - *(GLdouble *) (pc + 16) - )); + CALL_Translated( GET_DISPATCH(), ( + *(GLdouble *)(pc + 0), + *(GLdouble *)(pc + 8), + *(GLdouble *)(pc + 16) + ) ); } -void -__glXDisp_Translatef(GLbyte * pc) +void __glXDisp_Translatef(GLbyte * pc) { - CALL_Translatef(GET_DISPATCH(), (*(GLfloat *) (pc + 0), - *(GLfloat *) (pc + 4), - *(GLfloat *) (pc + 8) - )); + CALL_Translatef( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_Viewport(GLbyte * pc) +void __glXDisp_Viewport(GLbyte * pc) { - CALL_Viewport(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLint *) (pc + 4), - *(GLsizei *) (pc + 8), *(GLsizei *) (pc + 12) - )); + CALL_Viewport( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLint *)(pc + 4), + *(GLsizei *)(pc + 8), + *(GLsizei *)(pc + 12) + ) ); } -void -__glXDisp_BindTexture(GLbyte * pc) +void __glXDisp_BindTexture(GLbyte * pc) { - CALL_BindTexture(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLuint *) (pc + 4) - )); + CALL_BindTexture( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4) + ) ); } -void -__glXDisp_Indexubv(GLbyte * pc) +void __glXDisp_Indexubv(GLbyte * pc) { - CALL_Indexubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Indexubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDisp_PolygonOffset(GLbyte * pc) +void __glXDisp_PolygonOffset(GLbyte * pc) { - CALL_PolygonOffset(GET_DISPATCH(), (*(GLfloat *) (pc + 0), - *(GLfloat *) (pc + 4) - )); + CALL_PolygonOffset( GET_DISPATCH(), ( + *(GLfloat *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -int -__glXDisp_AreTexturesResident(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_AreTexturesResident(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); GLboolean retval; GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreTexturesResident(GET_DISPATCH(), - (n, (const GLuint *) (pc + 4), - residences)); + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreTexturesResident( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4), + residences + ) ); __glXSendReply(cl->client, residences, n, 1, GL_TRUE, retval); error = Success; } @@ -2716,25 +2760,24 @@ __glXDisp_AreTexturesResident(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); GLboolean retval; GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreTexturesResident(GET_DISPATCH(), - (n, (const GLuint *) (pc + 4), - residences)); + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreTexturesResident( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4), + residences + ) ); __glXSendReply(cl->client, residences, n, 1, GL_TRUE, retval); error = Success; } @@ -2742,113 +2785,115 @@ __glXDisp_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_CopyTexImage1D(GLbyte * pc) +void __glXDisp_CopyTexImage1D(GLbyte * pc) { - CALL_CopyTexImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLsizei *) (pc + 20), - *(GLint *) (pc + 24) - )); + CALL_CopyTexImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLsizei *)(pc + 20), + *(GLint *)(pc + 24) + ) ); } -void -__glXDisp_CopyTexImage2D(GLbyte * pc) +void __glXDisp_CopyTexImage2D(GLbyte * pc) { - CALL_CopyTexImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLsizei *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLint *) (pc + 28) - )); + CALL_CopyTexImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLsizei *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLint *)(pc + 28) + ) ); } -void -__glXDisp_CopyTexSubImage1D(GLbyte * pc) +void __glXDisp_CopyTexSubImage1D(GLbyte * pc) { - CALL_CopyTexSubImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLsizei *) (pc + 20) - )); + CALL_CopyTexSubImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLsizei *)(pc + 20) + ) ); } -void -__glXDisp_CopyTexSubImage2D(GLbyte * pc) +void __glXDisp_CopyTexSubImage2D(GLbyte * pc) { - CALL_CopyTexSubImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLint *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLsizei *) (pc + 28) - )); + CALL_CopyTexSubImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLint *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLsizei *)(pc + 28) + ) ); } -int -__glXDisp_DeleteTextures(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_DeleteTextures(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_DeleteTextures(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); + CALL_DeleteTextures( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_DeleteTexturesEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_DeleteTextures(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); + CALL_DeleteTextures( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_GenTextures(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GenTextures(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); GLuint answerBuffer[200]; - GLuint *textures = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenTextures(GET_DISPATCH(), (n, textures)); + GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenTextures( GET_DISPATCH(), ( + n, + textures + ) ); __glXSendReply(cl->client, textures, n, 4, GL_TRUE, 0); error = Success; } @@ -2856,22 +2901,22 @@ __glXDisp_GenTextures(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); GLuint answerBuffer[200]; - GLuint *textures = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenTextures(GET_DISPATCH(), (n, textures)); + GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenTextures( GET_DISPATCH(), ( + n, + textures + ) ); __glXSendReply(cl->client, textures, n, 4, GL_TRUE, 0); error = Success; } @@ -2879,19 +2924,18 @@ __glXDisp_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsTexture(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsTexture(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsTexture(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + retval = CALL_IsTexture( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2899,19 +2943,18 @@ __glXDisp_IsTexture(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsTextureEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsTextureEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsTexture(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + retval = CALL_IsTexture( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2919,168 +2962,165 @@ __glXDisp_IsTextureEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_PrioritizeTextures(GLbyte * pc) +void __glXDisp_PrioritizeTextures(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 0); + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_PrioritizeTextures(GET_DISPATCH(), (n, - (const GLuint *) (pc + 4), - (const GLclampf *) (pc + 4) - )); + CALL_PrioritizeTextures( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4), + (const GLclampf *)(pc + 4) + ) ); } -void -__glXDisp_TexSubImage1D(GLbyte * pc) +void __glXDisp_TexSubImage1D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 56)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_TexSubImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLint *) (pc + 24), - *(GLint *) (pc + 28), - *(GLsizei *) (pc + 36), - *(GLenum *) (pc + 44), - *(GLenum *) (pc + 48), pixels)); + CALL_TexSubImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLint *)(pc + 24), + *(GLint *)(pc + 28), + *(GLsizei *)(pc + 36), + *(GLenum *)(pc + 44), + *(GLenum *)(pc + 48), + pixels + ) ); } -void -__glXDisp_TexSubImage2D(GLbyte * pc) +void __glXDisp_TexSubImage2D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 56)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_TexSubImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLint *) (pc + 24), - *(GLint *) (pc + 28), - *(GLint *) (pc + 32), - *(GLsizei *) (pc + 36), - *(GLsizei *) (pc + 40), - *(GLenum *) (pc + 44), - *(GLenum *) (pc + 48), pixels)); + CALL_TexSubImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLint *)(pc + 24), + *(GLint *)(pc + 28), + *(GLint *)(pc + 32), + *(GLsizei *)(pc + 36), + *(GLsizei *)(pc + 40), + *(GLenum *)(pc + 44), + *(GLenum *)(pc + 48), + pixels + ) ); } -void -__glXDisp_BlendColor(GLbyte * pc) +void __glXDisp_BlendColor(GLbyte * pc) { - CALL_BlendColor(GET_DISPATCH(), (*(GLclampf *) (pc + 0), - *(GLclampf *) (pc + 4), - *(GLclampf *) (pc + 8), - *(GLclampf *) (pc + 12) - )); + CALL_BlendColor( GET_DISPATCH(), ( + *(GLclampf *)(pc + 0), + *(GLclampf *)(pc + 4), + *(GLclampf *)(pc + 8), + *(GLclampf *)(pc + 12) + ) ); } -void -__glXDisp_BlendEquation(GLbyte * pc) +void __glXDisp_BlendEquation(GLbyte * pc) { - CALL_BlendEquation(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_BlendEquation( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_ColorTable(GLbyte * pc) +void __glXDisp_ColorTable(GLbyte * pc) { - const GLvoid *const table = (const GLvoid *) ((pc + 40)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const table = (const GLvoid *) (pc + 40); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_ColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLenum *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLenum *) (pc + 32), - *(GLenum *) (pc + 36), table)); + CALL_ColorTable( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLenum *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLenum *)(pc + 32), + *(GLenum *)(pc + 36), + table + ) ); } -void -__glXDisp_ColorTableParameterfv(GLbyte * pc) -{ - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; +void __glXDisp_ColorTableParameterfv(GLbyte * pc) +{ + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_ColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_ColorTableParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_ColorTableParameteriv(GLbyte * pc) +void __glXDisp_ColorTableParameteriv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_ColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_ColorTableParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_CopyColorTable(GLbyte * pc) +void __glXDisp_CopyColorTable(GLbyte * pc) { - CALL_CopyColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLsizei *) (pc + 16) - )); + CALL_CopyColorTable( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLsizei *)(pc + 16) + ) ); } -int -__glXDisp_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetColorTableParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetColorTableParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3088,29 +3128,28 @@ __glXDisp_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetColorTableParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetColorTableParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3118,29 +3157,28 @@ __glXDisp_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetColorTableParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetColorTableParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3148,29 +3186,28 @@ __glXDisp_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetColorTableParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetColorTableParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3178,178 +3215,175 @@ __glXDisp_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_ColorSubTable(GLbyte * pc) +void __glXDisp_ColorSubTable(GLbyte * pc) { - const GLvoid *const data = (const GLvoid *) ((pc + 40)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const data = (const GLvoid *) (pc + 40); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_ColorSubTable(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLenum *) (pc + 32), - *(GLenum *) (pc + 36), data)); + CALL_ColorSubTable( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLenum *)(pc + 32), + *(GLenum *)(pc + 36), + data + ) ); } -void -__glXDisp_CopyColorSubTable(GLbyte * pc) +void __glXDisp_CopyColorSubTable(GLbyte * pc) { - CALL_CopyColorSubTable(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLsizei *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLsizei *) (pc + 16) - )); + CALL_CopyColorSubTable( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLsizei *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLsizei *)(pc + 16) + ) ); } -void -__glXDisp_ConvolutionFilter1D(GLbyte * pc) +void __glXDisp_ConvolutionFilter1D(GLbyte * pc) { - const GLvoid *const image = (const GLvoid *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const image = (const GLvoid *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_ConvolutionFilter1D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLenum *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLenum *) (pc + 36), - *(GLenum *) (pc + 40), image)); + CALL_ConvolutionFilter1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLenum *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLenum *)(pc + 36), + *(GLenum *)(pc + 40), + image + ) ); } -void -__glXDisp_ConvolutionFilter2D(GLbyte * pc) +void __glXDisp_ConvolutionFilter2D(GLbyte * pc) { - const GLvoid *const image = (const GLvoid *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const image = (const GLvoid *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); - CALL_ConvolutionFilter2D(GET_DISPATCH(), (*(GLenum *) (pc + 20), - *(GLenum *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLsizei *) (pc + 32), - *(GLenum *) (pc + 36), - *(GLenum *) (pc + 40), image)); + CALL_ConvolutionFilter2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 20), + *(GLenum *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLsizei *)(pc + 32), + *(GLenum *)(pc + 36), + *(GLenum *)(pc + 40), + image + ) ); } -void -__glXDisp_ConvolutionParameterf(GLbyte * pc) +void __glXDisp_ConvolutionParameterf(GLbyte * pc) { - CALL_ConvolutionParameterf(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLfloat *) (pc + 8) - )); + CALL_ConvolutionParameterf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_ConvolutionParameterfv(GLbyte * pc) +void __glXDisp_ConvolutionParameterfv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLfloat *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLfloat * params; params = (const GLfloat *) (pc + 8); - CALL_ConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_ConvolutionParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_ConvolutionParameteri(GLbyte * pc) +void __glXDisp_ConvolutionParameteri(GLbyte * pc) { - CALL_ConvolutionParameteri(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLint *) (pc + 8) - )); + CALL_ConvolutionParameteri( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8) + ) ); } -void -__glXDisp_ConvolutionParameteriv(GLbyte * pc) +void __glXDisp_ConvolutionParameteriv(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 4); - const GLint *params; + const GLenum pname = *(GLenum *)(pc + 4); + const GLint * params; params = (const GLint *) (pc + 8); - CALL_ConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_ConvolutionParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); } -void -__glXDisp_CopyConvolutionFilter1D(GLbyte * pc) +void __glXDisp_CopyConvolutionFilter1D(GLbyte * pc) { - CALL_CopyConvolutionFilter1D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLsizei *) (pc + 16) - )); + CALL_CopyConvolutionFilter1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLsizei *)(pc + 16) + ) ); } -void -__glXDisp_CopyConvolutionFilter2D(GLbyte * pc) +void __glXDisp_CopyConvolutionFilter2D(GLbyte * pc) { - CALL_CopyConvolutionFilter2D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLsizei *) (pc + 16), - *(GLsizei *) (pc + 20) - )); + CALL_CopyConvolutionFilter2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLsizei *)(pc + 16), + *(GLsizei *)(pc + 20) + ) ); } -int -__glXDisp_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetConvolutionParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetConvolutionParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3357,29 +3391,28 @@ __glXDisp_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetConvolutionParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetConvolutionParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3387,29 +3420,28 @@ __glXDisp_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetConvolutionParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetConvolutionParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3417,29 +3449,28 @@ __glXDisp_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetConvolutionParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetConvolutionParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3447,29 +3478,28 @@ __glXDisp_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetHistogramParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetHistogramParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3477,29 +3507,28 @@ __glXDisp_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetHistogramParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetHistogramParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3507,29 +3536,28 @@ __glXDisp_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetHistogramParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetHistogramParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3537,29 +3565,28 @@ __glXDisp_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetHistogramParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetHistogramParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3567,29 +3594,28 @@ __glXDisp_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMinmaxParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMinmaxParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3597,29 +3623,28 @@ __glXDisp_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMinmaxParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMinmaxParameterfv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3627,29 +3652,28 @@ __glXDisp_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMinmaxParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMinmaxParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3657,29 +3681,28 @@ __glXDisp_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetMinmaxParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetMinmaxParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3687,497 +3710,649 @@ __glXDisp_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_Histogram(GLbyte * pc) -{ - CALL_Histogram(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLsizei *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLboolean *) (pc + 12) - )); -} - -void -__glXDisp_Minmax(GLbyte * pc) -{ - CALL_Minmax(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), *(GLboolean *) (pc + 8) - )); -} - -void -__glXDisp_ResetHistogram(GLbyte * pc) +void __glXDisp_Histogram(GLbyte * pc) +{ + CALL_Histogram( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLsizei *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLboolean *)(pc + 12) + ) ); +} + +void __glXDisp_Minmax(GLbyte * pc) { - CALL_ResetHistogram(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_Minmax( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLboolean *)(pc + 8) + ) ); } -void -__glXDisp_ResetMinmax(GLbyte * pc) +void __glXDisp_ResetHistogram(GLbyte * pc) { - CALL_ResetMinmax(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_ResetHistogram( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_TexImage3D(GLbyte * pc) +void __glXDisp_ResetMinmax(GLbyte * pc) { - const CARD32 ptr_is_null = *(CARD32 *) (pc + 76); - const GLvoid *const pixels = - (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80)); - __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc); + CALL_ResetMinmax( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); +} - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); +void __glXDisp_TexImage3D(GLbyte * pc) +{ + const CARD32 ptr_is_null = *(CARD32 *)(pc + 76); + const GLvoid * const pixels = (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80)); + __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); - CALL_TexImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 36), - *(GLint *) (pc + 40), - *(GLint *) (pc + 44), - *(GLsizei *) (pc + 48), - *(GLsizei *) (pc + 52), - *(GLsizei *) (pc + 56), - *(GLint *) (pc + 64), - *(GLenum *) (pc + 68), - *(GLenum *) (pc + 72), pixels)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); + + CALL_TexImage3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 36), + *(GLint *)(pc + 40), + *(GLint *)(pc + 44), + *(GLsizei *)(pc + 48), + *(GLsizei *)(pc + 52), + *(GLsizei *)(pc + 56), + *(GLint *)(pc + 64), + *(GLenum *)(pc + 68), + *(GLenum *)(pc + 72), + pixels + ) ); } -void -__glXDisp_TexSubImage3D(GLbyte * pc) +void __glXDisp_TexSubImage3D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 88)); - __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 88); + __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) ); + + CALL_TexSubImage3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 36), + *(GLint *)(pc + 40), + *(GLint *)(pc + 44), + *(GLint *)(pc + 48), + *(GLint *)(pc + 52), + *(GLsizei *)(pc + 60), + *(GLsizei *)(pc + 64), + *(GLsizei *)(pc + 68), + *(GLenum *)(pc + 76), + *(GLenum *)(pc + 80), + pixels + ) ); +} - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment)); +void __glXDisp_CopyTexSubImage3D(GLbyte * pc) +{ + CALL_CopyTexSubImage3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLint *)(pc + 20), + *(GLint *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLsizei *)(pc + 32) + ) ); +} - CALL_TexSubImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 36), - *(GLint *) (pc + 40), - *(GLint *) (pc + 44), - *(GLint *) (pc + 48), - *(GLint *) (pc + 52), - *(GLsizei *) (pc + 60), - *(GLsizei *) (pc + 64), - *(GLsizei *) (pc + 68), - *(GLenum *) (pc + 76), - *(GLenum *) (pc + 80), pixels)); +void __glXDisp_ActiveTexture(GLbyte * pc) +{ + CALL_ActiveTexture( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_CopyTexSubImage3D(GLbyte * pc) -{ - CALL_CopyTexSubImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLint *) (pc + 20), - *(GLint *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLsizei *) (pc + 32) - )); -} - -void -__glXDisp_ActiveTextureARB(GLbyte * pc) -{ - CALL_ActiveTextureARB(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); -} - -void -__glXDisp_MultiTexCoord1dvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_MultiTexCoord1dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 8), - (const GLdouble *) (pc + 0) - )); + CALL_MultiTexCoord1dv( GET_DISPATCH(), ( + *(GLenum *)(pc + 8), + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_MultiTexCoord1fvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord1fvARB(GLbyte * pc) { - CALL_MultiTexCoord1fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_MultiTexCoord1fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord1ivARB(GLbyte * pc) +void __glXDisp_MultiTexCoord1iv(GLbyte * pc) { - CALL_MultiTexCoord1ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLint *) (pc + 4) - )); + CALL_MultiTexCoord1iv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLint *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord1svARB(GLbyte * pc) +void __glXDisp_MultiTexCoord1sv(GLbyte * pc) { - CALL_MultiTexCoord1svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_MultiTexCoord1sv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord2dvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_MultiTexCoord2dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 16), - (const GLdouble *) (pc + 0) - )); + CALL_MultiTexCoord2dv( GET_DISPATCH(), ( + *(GLenum *)(pc + 16), + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_MultiTexCoord2fvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord2fvARB(GLbyte * pc) { - CALL_MultiTexCoord2fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_MultiTexCoord2fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord2ivARB(GLbyte * pc) +void __glXDisp_MultiTexCoord2iv(GLbyte * pc) { - CALL_MultiTexCoord2ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLint *) (pc + 4) - )); + CALL_MultiTexCoord2iv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLint *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord2svARB(GLbyte * pc) +void __glXDisp_MultiTexCoord2sv(GLbyte * pc) { - CALL_MultiTexCoord2svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_MultiTexCoord2sv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord3dvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_MultiTexCoord3dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 24), - (const GLdouble *) (pc + 0) - )); + CALL_MultiTexCoord3dv( GET_DISPATCH(), ( + *(GLenum *)(pc + 24), + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_MultiTexCoord3fvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord3fvARB(GLbyte * pc) { - CALL_MultiTexCoord3fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_MultiTexCoord3fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord3ivARB(GLbyte * pc) +void __glXDisp_MultiTexCoord3iv(GLbyte * pc) { - CALL_MultiTexCoord3ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLint *) (pc + 4) - )); + CALL_MultiTexCoord3iv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLint *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord3svARB(GLbyte * pc) +void __glXDisp_MultiTexCoord3sv(GLbyte * pc) { - CALL_MultiTexCoord3svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_MultiTexCoord3sv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord4dvARB(GLbyte * pc) +void __glXDisp_MultiTexCoord4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_MultiTexCoord4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 32), - (const GLdouble *) (pc + 0) - )); + CALL_MultiTexCoord4dv( GET_DISPATCH(), ( + *(GLenum *)(pc + 32), + (const GLdouble *)(pc + 0) + ) ); +} + +void __glXDisp_MultiTexCoord4fvARB(GLbyte * pc) +{ + CALL_MultiTexCoord4fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); +} + +void __glXDisp_MultiTexCoord4iv(GLbyte * pc) +{ + CALL_MultiTexCoord4iv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLint *)(pc + 4) + ) ); +} + +void __glXDisp_MultiTexCoord4sv(GLbyte * pc) +{ + CALL_MultiTexCoord4sv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_MultiTexCoord4fvARB(GLbyte * pc) +void __glXDisp_CompressedTexImage1D(GLbyte * pc) { - CALL_MultiTexCoord4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + const GLsizei imageSize = *(GLsizei *)(pc + 20); + + CALL_CompressedTexImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLint *)(pc + 16), + imageSize, + (const GLvoid *)(pc + 24) + ) ); } -void -__glXDisp_MultiTexCoord4ivARB(GLbyte * pc) +void __glXDisp_CompressedTexImage2D(GLbyte * pc) { - CALL_MultiTexCoord4ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLint *) (pc + 4) - )); + const GLsizei imageSize = *(GLsizei *)(pc + 24); + + CALL_CompressedTexImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLsizei *)(pc + 16), + *(GLint *)(pc + 20), + imageSize, + (const GLvoid *)(pc + 28) + ) ); } -void -__glXDisp_MultiTexCoord4svARB(GLbyte * pc) +void __glXDisp_CompressedTexImage3D(GLbyte * pc) { - CALL_MultiTexCoord4svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - (const GLshort *) (pc + 4) - )); + const GLsizei imageSize = *(GLsizei *)(pc + 28); + + CALL_CompressedTexImage3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLsizei *)(pc + 16), + *(GLsizei *)(pc + 20), + *(GLint *)(pc + 24), + imageSize, + (const GLvoid *)(pc + 32) + ) ); } -void -__glXDisp_SampleCoverageARB(GLbyte * pc) +void __glXDisp_CompressedTexSubImage1D(GLbyte * pc) { - CALL_SampleCoverageARB(GET_DISPATCH(), (*(GLclampf *) (pc + 0), - *(GLboolean *) (pc + 4) - )); + const GLsizei imageSize = *(GLsizei *)(pc + 20); + + CALL_CompressedTexSubImage1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLenum *)(pc + 16), + imageSize, + (const GLvoid *)(pc + 24) + ) ); } -void -__glXDisp_CompressedTexImage1DARB(GLbyte * pc) +void __glXDisp_CompressedTexSubImage2D(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 20); + const GLsizei imageSize = *(GLsizei *)(pc + 28); - CALL_CompressedTexImage1DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLint *) (pc + 16), - imageSize, - (const GLvoid *) (pc + 24) - )); + CALL_CompressedTexSubImage2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLsizei *)(pc + 16), + *(GLsizei *)(pc + 20), + *(GLenum *)(pc + 24), + imageSize, + (const GLvoid *)(pc + 32) + ) ); } -void -__glXDisp_CompressedTexImage2DARB(GLbyte * pc) +void __glXDisp_CompressedTexSubImage3D(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 24); + const GLsizei imageSize = *(GLsizei *)(pc + 36); - CALL_CompressedTexImage2DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLsizei *) (pc + 16), - *(GLint *) (pc + 20), - imageSize, - (const GLvoid *) (pc + 28) - )); + CALL_CompressedTexSubImage3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLsizei *)(pc + 20), + *(GLsizei *)(pc + 24), + *(GLsizei *)(pc + 28), + *(GLenum *)(pc + 32), + imageSize, + (const GLvoid *)(pc + 40) + ) ); } -void -__glXDisp_CompressedTexImage3DARB(GLbyte * pc) +void __glXDisp_SampleCoverage(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 28); + CALL_SampleCoverage( GET_DISPATCH(), ( + *(GLclampf *)(pc + 0), + *(GLboolean *)(pc + 4) + ) ); +} - CALL_CompressedTexImage3DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLsizei *) (pc + 16), - *(GLsizei *) (pc + 20), - *(GLint *) (pc + 24), - imageSize, - (const GLvoid *) (pc + 32) - )); +void __glXDisp_BlendFuncSeparate(GLbyte * pc) +{ + CALL_BlendFuncSeparate( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLenum *)(pc + 12) + ) ); } -void -__glXDisp_CompressedTexSubImage1DARB(GLbyte * pc) +void __glXDisp_FogCoorddv(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 20); +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); + pc -= 4; + } +#endif + + CALL_FogCoorddv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); +} - CALL_CompressedTexSubImage1DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLenum *) (pc + 16), - imageSize, - (const GLvoid *) (pc + 24) - )); +void __glXDisp_PointParameterf(GLbyte * pc) +{ + CALL_PointParameterf( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_CompressedTexSubImage2DARB(GLbyte * pc) +void __glXDisp_PointParameterfv(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 28); + const GLenum pname = *(GLenum *)(pc + 0); + const GLfloat * params; + + params = (const GLfloat *) (pc + 4); - CALL_CompressedTexSubImage2DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLsizei *) (pc + 16), - *(GLsizei *) (pc + 20), - *(GLenum *) (pc + 24), - imageSize, - (const GLvoid *) (pc + 32) - )); + CALL_PointParameterfv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDisp_CompressedTexSubImage3DARB(GLbyte * pc) +void __glXDisp_PointParameteri(GLbyte * pc) { - const GLsizei imageSize = *(GLsizei *) (pc + 36); + CALL_PointParameteri( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLint *)(pc + 4) + ) ); +} + +void __glXDisp_PointParameteriv(GLbyte * pc) +{ + const GLenum pname = *(GLenum *)(pc + 0); + const GLint * params; + + params = (const GLint *) (pc + 4); + + CALL_PointParameteriv( GET_DISPATCH(), ( + pname, + params + ) ); +} - CALL_CompressedTexSubImage3DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLsizei *) (pc + 20), - *(GLsizei *) (pc + 24), - *(GLsizei *) (pc + 28), - *(GLenum *) (pc + 32), - imageSize, - (const GLvoid *) (pc + 40) - )); +void __glXDisp_SecondaryColor3bv(GLbyte * pc) +{ + CALL_SecondaryColor3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -int -__glXDisp_GetProgramEnvParameterdvARB(__GLXclientState * cl, GLbyte * pc) +void __glXDisp_SecondaryColor3dv(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); + pc -= 4; + } +#endif + + CALL_SecondaryColor3dv( GET_DISPATCH(), ( + (const GLdouble *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3iv(GLbyte * pc) +{ + CALL_SecondaryColor3iv( GET_DISPATCH(), ( + (const GLint *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3sv(GLbyte * pc) +{ + CALL_SecondaryColor3sv( GET_DISPATCH(), ( + (const GLshort *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3ubv(GLbyte * pc) +{ + CALL_SecondaryColor3ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3uiv(GLbyte * pc) +{ + CALL_SecondaryColor3uiv( GET_DISPATCH(), ( + (const GLuint *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3usv(GLbyte * pc) +{ + CALL_SecondaryColor3usv( GET_DISPATCH(), ( + (const GLushort *)(pc + 0) + ) ); +} + +void __glXDisp_WindowPos3fv(GLbyte * pc) +{ + CALL_WindowPos3fv( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); +} + +void __glXDisp_BeginQuery(GLbyte * pc) +{ + CALL_BeginQuery( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4) + ) ); +} + +int __glXDisp_DeleteQueries(__GLXclientState *cl, GLbyte *pc) +{ + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLdouble params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_GetProgramEnvParameterdvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - params)); - __glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0); + CALL_DeleteQueries( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); error = Success; } return error; } -int -__glXDisp_GetProgramEnvParameterfvARB(__GLXclientState * cl, GLbyte * pc) +void __glXDisp_EndQuery(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + CALL_EndQuery( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); +} + +int __glXDisp_GenQueries(__GLXclientState *cl, GLbyte *pc) +{ + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLfloat params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_GetProgramEnvParameterfvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - params)); - __glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0); + GLuint answerBuffer[200]; + GLuint * ids = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenQueries( GET_DISPATCH(), ( + n, + ids + ) ); + __glXSendReply(cl->client, ids, n, 4, GL_TRUE, 0); error = Success; } return error; } -int -__glXDisp_GetProgramLocalParameterdvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetQueryObjectiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLdouble params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - CALL_GetProgramLocalParameterdvARB(GET_DISPATCH(), - (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), params)); - __glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0); + const GLuint compsize = __glGetQueryObjectiv_size(pname); + GLint answerBuffer[200]; + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); + + if (params == NULL) return BadAlloc; + __glXClearErrorOccured(); + + CALL_GetQueryObjectiv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); + __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDisp_GetProgramLocalParameterfvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetQueryObjectuiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLfloat params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - CALL_GetProgramLocalParameterfvARB(GET_DISPATCH(), - (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), params)); - __glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0); + const GLuint compsize = __glGetQueryObjectuiv_size(pname); + GLuint answerBuffer[200]; + GLuint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); + + if (params == NULL) return BadAlloc; + __glXClearErrorOccured(); + + CALL_GetQueryObjectuiv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); + __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDisp_GetProgramivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetQueryiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetProgramivARB_size(pname); + const GLuint compsize = __glGetQueryiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetProgramivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetQueryiv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4185,29 +4360,65 @@ __glXDisp_GetProgramivARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribdvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsQuery(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsQuery( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); + __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); + error = Success; + } + + return error; +} + +void __glXDisp_BlendEquationSeparate(GLbyte * pc) +{ + CALL_BlendEquationSeparate( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); +} + +void __glXDisp_DrawBuffers(GLbyte * pc) +{ + const GLsizei n = *(GLsizei *)(pc + 0); + + CALL_DrawBuffers( GET_DISPATCH(), ( + n, + (const GLenum *)(pc + 4) + ) ); +} + +int __glXDisp_GetVertexAttribdv(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetVertexAttribdvARB_size(pname); + const GLuint compsize = __glGetVertexAttribdv_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribdvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribdv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -4215,29 +4426,28 @@ __glXDisp_GetVertexAttribdvARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetVertexAttribfv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetVertexAttribfvARB_size(pname); + const GLuint compsize = __glGetVertexAttribfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribfvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribfv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4245,29 +4455,28 @@ __glXDisp_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetVertexAttribiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetVertexAttribivARB_size(pname); + const GLuint compsize = __glGetVertexAttribiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribiv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4275,420 +4484,351 @@ __glXDisp_GetVertexAttribivARB(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc) +void __glXDisp_VertexAttrib1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_ProgramEnvParameter4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - (const GLdouble *) (pc + 8) - )); + CALL_VertexAttrib1dv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib1sv(GLbyte * pc) { - CALL_ProgramEnvParameter4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - (const GLfloat *) (pc + 8) - )); + CALL_VertexAttrib1sv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc) +void __glXDisp_VertexAttrib2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_ProgramLocalParameter4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - (const GLdouble *) (pc + - 8) - )); + CALL_VertexAttrib2dv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib2sv(GLbyte * pc) { - CALL_ProgramLocalParameter4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - (const GLfloat *) (pc + 8) - )); + CALL_VertexAttrib2sv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_ProgramStringARB(GLbyte * pc) -{ - const GLsizei len = *(GLsizei *) (pc + 8); - - CALL_ProgramStringARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - len, (const GLvoid *) (pc + 12) - )); -} - -void -__glXDisp_VertexAttrib1dvARB(GLbyte * pc) +void __glXDisp_VertexAttrib3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_VertexAttrib1dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib3dv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib1fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib3sv(GLbyte * pc) { - CALL_VertexAttrib1fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib3sv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib1svARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Nbv(GLbyte * pc) { - CALL_VertexAttrib1svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib4Nbv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLbyte *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2dvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Niv(GLbyte * pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); - pc -= 4; - } -#endif - - CALL_VertexAttrib2dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib4Niv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLint *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Nsv(GLbyte * pc) { - CALL_VertexAttrib2fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib4Nsv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2svARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Nubv(GLbyte * pc) { - CALL_VertexAttrib2svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib3dvARB(GLbyte * pc) -{ -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); - pc -= 4; - } -#endif - - CALL_VertexAttrib3dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib4Nubv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib3fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Nuiv(GLbyte * pc) { - CALL_VertexAttrib3fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib4Nuiv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLuint *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib3svARB(GLbyte * pc) +void __glXDisp_VertexAttrib4Nusv(GLbyte * pc) { - CALL_VertexAttrib3svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib4Nusv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLushort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4NbvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4bv(GLbyte * pc) { - CALL_VertexAttrib4NbvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLbyte *) (pc + 4) - )); + CALL_VertexAttrib4bv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLbyte *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4NivARB(GLbyte * pc) -{ - CALL_VertexAttrib4NivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLint *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4NsvARB(GLbyte * pc) -{ - CALL_VertexAttrib4NsvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4NubvARB(GLbyte * pc) -{ - CALL_VertexAttrib4NubvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLubyte *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4NuivARB(GLbyte * pc) -{ - CALL_VertexAttrib4NuivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLuint *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4NusvARB(GLbyte * pc) -{ - CALL_VertexAttrib4NusvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLushort *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4bvARB(GLbyte * pc) -{ - CALL_VertexAttrib4bvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLbyte *) (pc + 4) - )); -} - -void -__glXDisp_VertexAttrib4dvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_VertexAttrib4dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib4dv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4fvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4iv(GLbyte * pc) { - CALL_VertexAttrib4fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib4iv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLint *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4ivARB(GLbyte * pc) +void __glXDisp_VertexAttrib4sv(GLbyte * pc) { - CALL_VertexAttrib4ivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLint *) (pc + 4) - )); + CALL_VertexAttrib4sv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4svARB(GLbyte * pc) +void __glXDisp_VertexAttrib4ubv(GLbyte * pc) { - CALL_VertexAttrib4svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib4ubv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4ubvARB(GLbyte * pc) +void __glXDisp_VertexAttrib4uiv(GLbyte * pc) { - CALL_VertexAttrib4ubvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLubyte *) (pc + 4) - )); + CALL_VertexAttrib4uiv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLuint *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4uivARB(GLbyte * pc) +void __glXDisp_VertexAttrib4usv(GLbyte * pc) { - CALL_VertexAttrib4uivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLuint *) (pc + 4) - )); + CALL_VertexAttrib4usv( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLushort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4usvARB(GLbyte * pc) +void __glXDisp_ClampColor(GLbyte * pc) { - CALL_VertexAttrib4usvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLushort *) (pc + 4) - )); + CALL_ClampColor( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4) + ) ); } -void -__glXDisp_BeginQueryARB(GLbyte * pc) +void __glXDisp_BindProgramARB(GLbyte * pc) { - CALL_BeginQueryARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4) - )); + CALL_BindProgramARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4) + ) ); } -int -__glXDisp_DeleteQueriesARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_DeleteProgramsARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_DeleteQueriesARB(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); + CALL_DeleteProgramsARB( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); error = Success; } return error; } -void -__glXDisp_EndQueryARB(GLbyte * pc) -{ - CALL_EndQueryARB(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); -} - -int -__glXDisp_GenQueriesARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GenProgramsARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); GLuint answerBuffer[200]; - GLuint *ids = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenQueriesARB(GET_DISPATCH(), (n, ids)); - __glXSendReply(cl->client, ids, n, 4, GL_TRUE, 0); + GLuint * programs = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenProgramsARB( GET_DISPATCH(), ( + n, + programs + ) ); + __glXSendReply(cl->client, programs, n, 4, GL_TRUE, 0); error = Success; } return error; } -int -__glXDisp_GetQueryObjectivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLdouble params[4]; + CALL_GetProgramEnvParameterdvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + params + ) ); + __glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0); + error = Success; + } - const GLuint compsize = __glGetQueryObjectivARB_size(pname); - GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + return error; +} - if (params == NULL) - return BadAlloc; - __glXClearErrorOccured(); +int __glXDisp_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - CALL_GetQueryObjectivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); - __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLfloat params[4]; + CALL_GetProgramEnvParameterfvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + params + ) ); + __glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDisp_GetQueryObjectuivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLdouble params[4]; + CALL_GetProgramLocalParameterdvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + params + ) ); + __glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0); + error = Success; + } - const GLuint compsize = __glGetQueryObjectuivARB_size(pname); - GLuint answerBuffer[200]; - GLuint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + return error; +} - if (params == NULL) - return BadAlloc; - __glXClearErrorOccured(); +int __glXDisp_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - CALL_GetQueryObjectuivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); - __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLfloat params[4]; + CALL_GetProgramLocalParameterfvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + params + ) ); + __glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDisp_GetQueryivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramivARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); - const GLuint compsize = __glGetQueryivARB_size(pname); + const GLuint compsize = __glGetProgramivARB_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetQueryivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - pname, params)); + CALL_GetProgramivARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4696,19 +4836,18 @@ __glXDisp_GetQueryivARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsQueryARB(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsProgramARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsQueryARB(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); + retval = CALL_IsProgramARB( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -4716,269 +4855,459 @@ __glXDisp_IsQueryARB(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_DrawBuffersARB(GLbyte * pc) +void __glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc) +{ +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); + pc -= 4; + } +#endif + + CALL_ProgramEnvParameter4dvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + (const GLdouble *)(pc + 8) + ) ); +} + +void __glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc) +{ + CALL_ProgramEnvParameter4fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + (const GLfloat *)(pc + 8) + ) ); +} + +void __glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 0); +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); + pc -= 4; + } +#endif - CALL_DrawBuffersARB(GET_DISPATCH(), (n, (const GLenum *) (pc + 4) - )); + CALL_ProgramLocalParameter4dvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + (const GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_ClampColorARB(GLbyte * pc) +void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc) { - CALL_ClampColorARB(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4) - )); + CALL_ProgramLocalParameter4fvARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_RenderbufferStorageMultisample(GLbyte * pc) +void __glXDisp_ProgramStringARB(GLbyte * pc) { - CALL_RenderbufferStorageMultisample(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLsizei *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLsizei *) (pc + 12), - *(GLsizei *) (pc + 16) - )); + const GLsizei len = *(GLsizei *)(pc + 8); + + CALL_ProgramStringARB( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + len, + (const GLvoid *)(pc + 12) + ) ); } -void -__glXDisp_SampleMaskSGIS(GLbyte * pc) +void __glXDisp_VertexAttrib1fvARB(GLbyte * pc) { - CALL_SampleMaskSGIS(GET_DISPATCH(), (*(GLclampf *) (pc + 0), - *(GLboolean *) (pc + 4) - )); + CALL_VertexAttrib1fvARB( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_SamplePatternSGIS(GLbyte * pc) +void __glXDisp_VertexAttrib2fvARB(GLbyte * pc) { - CALL_SamplePatternSGIS(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_VertexAttrib2fvARB( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_PointParameterfEXT(GLbyte * pc) +void __glXDisp_VertexAttrib3fvARB(GLbyte * pc) { - CALL_PointParameterfEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLfloat *) (pc + 4) - )); + CALL_VertexAttrib3fvARB( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_PointParameterfvEXT(GLbyte * pc) +void __glXDisp_VertexAttrib4fvARB(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLfloat *params; + CALL_VertexAttrib4fvARB( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); +} - params = (const GLfloat *) (pc + 4); +void __glXDisp_BindFramebuffer(GLbyte * pc) +{ + CALL_BindFramebuffer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4) + ) ); +} - CALL_PointParameterfvEXT(GET_DISPATCH(), (pname, params)); +void __glXDisp_BindRenderbuffer(GLbyte * pc) +{ + CALL_BindRenderbuffer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4) + ) ); } -void -__glXDisp_SecondaryColor3bvEXT(GLbyte * pc) +void __glXDisp_BlitFramebuffer(GLbyte * pc) { - CALL_SecondaryColor3bvEXT(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_BlitFramebuffer( GET_DISPATCH(), ( + *(GLint *)(pc + 0), + *(GLint *)(pc + 4), + *(GLint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLint *)(pc + 20), + *(GLint *)(pc + 24), + *(GLint *)(pc + 28), + *(GLbitfield *)(pc + 32), + *(GLenum *)(pc + 36) + ) ); } -void -__glXDisp_SecondaryColor3dvEXT(GLbyte * pc) +int __glXDisp_CheckFramebufferStatus(__GLXclientState *cl, GLbyte *pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); - pc -= 4; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLenum retval; + retval = CALL_CheckFramebufferStatus( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); + __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); + error = Success; } -#endif - CALL_SecondaryColor3dvEXT(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + return error; } -void -__glXDisp_SecondaryColor3fvEXT(GLbyte * pc) +void __glXDisp_DeleteFramebuffers(GLbyte * pc) { - CALL_SecondaryColor3fvEXT(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + const GLsizei n = *(GLsizei *)(pc + 0); + + CALL_DeleteFramebuffers( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); } -void -__glXDisp_SecondaryColor3ivEXT(GLbyte * pc) +void __glXDisp_DeleteRenderbuffers(GLbyte * pc) { - CALL_SecondaryColor3ivEXT(GET_DISPATCH(), ((const GLint *) (pc + 0) - )); + const GLsizei n = *(GLsizei *)(pc + 0); + + CALL_DeleteRenderbuffers( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); } -void -__glXDisp_SecondaryColor3svEXT(GLbyte * pc) +void __glXDisp_FramebufferRenderbuffer(GLbyte * pc) { - CALL_SecondaryColor3svEXT(GET_DISPATCH(), ((const GLshort *) (pc + 0) - )); + CALL_FramebufferRenderbuffer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLuint *)(pc + 12) + ) ); } -void -__glXDisp_SecondaryColor3ubvEXT(GLbyte * pc) +void __glXDisp_FramebufferTexture1D(GLbyte * pc) { - CALL_SecondaryColor3ubvEXT(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_FramebufferTexture1D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLuint *)(pc + 12), + *(GLint *)(pc + 16) + ) ); } -void -__glXDisp_SecondaryColor3uivEXT(GLbyte * pc) +void __glXDisp_FramebufferTexture2D(GLbyte * pc) { - CALL_SecondaryColor3uivEXT(GET_DISPATCH(), ((const GLuint *) (pc + 0) - )); + CALL_FramebufferTexture2D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLuint *)(pc + 12), + *(GLint *)(pc + 16) + ) ); } -void -__glXDisp_SecondaryColor3usvEXT(GLbyte * pc) +void __glXDisp_FramebufferTexture3D(GLbyte * pc) { - CALL_SecondaryColor3usvEXT(GET_DISPATCH(), ((const GLushort *) (pc + 0) - )); + CALL_FramebufferTexture3D( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLuint *)(pc + 12), + *(GLint *)(pc + 16), + *(GLint *)(pc + 20) + ) ); } -void -__glXDisp_FogCoorddvEXT(GLbyte * pc) +void __glXDisp_FramebufferTextureLayer(GLbyte * pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); - pc -= 4; + CALL_FramebufferTextureLayer( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLuint *)(pc + 8), + *(GLint *)(pc + 12), + *(GLint *)(pc + 16) + ) ); +} + +int __glXDisp_GenFramebuffers(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); + + GLuint answerBuffer[200]; + GLuint * framebuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenFramebuffers( GET_DISPATCH(), ( + n, + framebuffers + ) ); + __glXSendReply(cl->client, framebuffers, n, 4, GL_TRUE, 0); + error = Success; } -#endif - CALL_FogCoorddvEXT(GET_DISPATCH(), ((const GLdouble *) (pc + 0) - )); + return error; } -void -__glXDisp_FogCoordfvEXT(GLbyte * pc) +int __glXDisp_GenRenderbuffers(__GLXclientState *cl, GLbyte *pc) { - CALL_FogCoordfvEXT(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); + + GLuint answerBuffer[200]; + GLuint * renderbuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenRenderbuffers( GET_DISPATCH(), ( + n, + renderbuffers + ) ); + __glXSendReply(cl->client, renderbuffers, n, 4, GL_TRUE, 0); + error = Success; + } + + return error; } -void -__glXDisp_BlendFuncSeparateEXT(GLbyte * pc) +void __glXDisp_GenerateMipmap(GLbyte * pc) { - CALL_BlendFuncSeparateEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLenum *) (pc + 12) - )); + CALL_GenerateMipmap( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -void -__glXDisp_WindowPos3fvMESA(GLbyte * pc) +int __glXDisp_GetFramebufferAttachmentParameteriv(__GLXclientState *cl, GLbyte *pc) { - CALL_WindowPos3fvMESA(GET_DISPATCH(), ((const GLfloat *) (pc + 0) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLint params[1]; + CALL_GetFramebufferAttachmentParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLenum *)(pc + 8), + params + ) ); + __glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0); + error = Success; + } + + return error; } -int -__glXDisp_AreProgramsResidentNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetRenderbufferParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); - - GLboolean retval; - GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreProgramsResidentNV(GET_DISPATCH(), - (n, (const GLuint *) (pc + 4), - residences)); - __glXSendReply(cl->client, residences, n, 1, GL_FALSE, retval); + if ( cx != NULL ) { + GLint params[1]; + CALL_GetRenderbufferParameteriv( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + params + ) ); + __glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0); error = Success; } return error; } -void -__glXDisp_BindProgramNV(GLbyte * pc) +int __glXDisp_IsFramebuffer(__GLXclientState *cl, GLbyte *pc) { - CALL_BindProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsFramebuffer( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); + __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); + error = Success; + } + + return error; } -int -__glXDisp_DeleteProgramsNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_IsRenderbuffer(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); - - CALL_DeleteProgramsNV(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsRenderbuffer( GET_DISPATCH(), ( + *(GLuint *)(pc + 0) + ) ); + __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } return error; } -void -__glXDisp_ExecuteProgramNV(GLbyte * pc) +void __glXDisp_RenderbufferStorage(GLbyte * pc) { - CALL_ExecuteProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - (const GLfloat *) (pc + 8) - )); + CALL_RenderbufferStorage( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLenum *)(pc + 4), + *(GLsizei *)(pc + 8), + *(GLsizei *)(pc + 12) + ) ); } -int -__glXDisp_GenProgramsNV(__GLXclientState * cl, GLbyte * pc) +void __glXDisp_RenderbufferStorageMultisample(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + CALL_RenderbufferStorageMultisample( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLsizei *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLsizei *)(pc + 12), + *(GLsizei *)(pc + 16) + ) ); +} + +void __glXDisp_SampleMaskSGIS(GLbyte * pc) +{ + CALL_SampleMaskSGIS( GET_DISPATCH(), ( + *(GLclampf *)(pc + 0), + *(GLboolean *)(pc + 4) + ) ); +} + +void __glXDisp_SamplePatternSGIS(GLbyte * pc) +{ + CALL_SamplePatternSGIS( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); +} + +void __glXDisp_SecondaryColor3fvEXT(GLbyte * pc) +{ + CALL_SecondaryColor3fvEXT( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); +} + +void __glXDisp_FogCoordfvEXT(GLbyte * pc) +{ + CALL_FogCoordfvEXT( GET_DISPATCH(), ( + (const GLfloat *)(pc + 0) + ) ); +} + +int __glXDisp_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); + if ( cx != NULL ) { + const GLsizei n = *(GLsizei *)(pc + 0); - GLuint answerBuffer[200]; - GLuint *programs = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenProgramsNV(GET_DISPATCH(), (n, programs)); - __glXSendReply(cl->client, programs, n, 4, GL_TRUE, 0); + GLboolean retval; + GLboolean answerBuffer[200]; + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreProgramsResidentNV( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4), + residences + ) ); + __glXSendReply(cl->client, residences, n, 1, GL_FALSE, retval); error = Success; } return error; } -int -__glXDisp_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc) +void __glXDisp_ExecuteProgramNV(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + CALL_ExecuteProgramNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + (const GLfloat *)(pc + 8) + ) ); +} + +int __glXDisp_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLdouble params[4]; - - CALL_GetProgramParameterdvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - *(GLenum *) (pc + 8), - params)); + CALL_GetProgramParameterdvNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + *(GLenum *)(pc + 8), + params + ) ); __glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0); error = Success; } @@ -4986,21 +5315,21 @@ __glXDisp_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLfloat params[4]; - - CALL_GetProgramParameterfvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - *(GLenum *) (pc + 8), - params)); + CALL_GetProgramParameterfvNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + *(GLenum *)(pc + 8), + params + ) ); __glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } @@ -5008,29 +5337,28 @@ __glXDisp_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetProgramivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetProgramivNV_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetProgramivNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetProgramivNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5038,20 +5366,21 @@ __glXDisp_GetProgramivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLint params[1]; - - CALL_GetTrackMatrixivNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - *(GLenum *) (pc + 8), params)); + CALL_GetTrackMatrixivNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + *(GLenum *)(pc + 8), + params + ) ); __glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0); error = Success; } @@ -5059,29 +5388,28 @@ __glXDisp_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetVertexAttribdvNV_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribdvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribdvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -5089,29 +5417,28 @@ __glXDisp_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetVertexAttribfvNV_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribfvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribfvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5119,29 +5446,28 @@ __glXDisp_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = *(GLenum *) (pc + 4); + if ( cx != NULL ) { + const GLenum pname = *(GLenum *)(pc + 4); const GLuint compsize = __glGetVertexAttribivNV_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribivNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - pname, params)); + CALL_GetVertexAttribivNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + pname, + params + ) ); __glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5149,432 +5475,401 @@ __glXDisp_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_IsProgramNV(__GLXclientState * cl, GLbyte * pc) +void __glXDisp_LoadProgramNV(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + const GLsizei len = *(GLsizei *)(pc + 8); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsProgramNV(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); - __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; + CALL_LoadProgramNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + len, + (const GLubyte *)(pc + 12) + ) ); } -void -__glXDisp_LoadProgramNV(GLbyte * pc) +void __glXDisp_ProgramParameters4dvNV(GLbyte * pc) { - const GLsizei len = *(GLsizei *) (pc + 8); - - CALL_LoadProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - len, (const GLubyte *) (pc + 12) - )); -} - -void -__glXDisp_ProgramParameters4dvNV(GLbyte * pc) -{ - const GLsizei num = *(GLsizei *) (pc + 8); + const GLsizei num = *(GLsizei *)(pc + 8); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 16 + __GLX_PAD((num * 32)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_ProgramParameters4dvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - num, - (const GLdouble *) (pc + 12) - )); + CALL_ProgramParameters4dvNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + num, + (const GLdouble *)(pc + 12) + ) ); } -void -__glXDisp_ProgramParameters4fvNV(GLbyte * pc) +void __glXDisp_ProgramParameters4fvNV(GLbyte * pc) { - const GLsizei num = *(GLsizei *) (pc + 8); + const GLsizei num = *(GLsizei *)(pc + 8); - CALL_ProgramParameters4fvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - num, - (const GLfloat *) (pc + 12) - )); + CALL_ProgramParameters4fvNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + num, + (const GLfloat *)(pc + 12) + ) ); } -void -__glXDisp_RequestResidentProgramsNV(GLbyte * pc) +void __glXDisp_RequestResidentProgramsNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 0); + const GLsizei n = *(GLsizei *)(pc + 0); - CALL_RequestResidentProgramsNV(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); + CALL_RequestResidentProgramsNV( GET_DISPATCH(), ( + n, + (const GLuint *)(pc + 4) + ) ); } -void -__glXDisp_TrackMatrixNV(GLbyte * pc) +void __glXDisp_TrackMatrixNV(GLbyte * pc) { - CALL_TrackMatrixNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLenum *) (pc + 12) - )); + CALL_TrackMatrixNV( GET_DISPATCH(), ( + *(GLenum *)(pc + 0), + *(GLuint *)(pc + 4), + *(GLenum *)(pc + 8), + *(GLenum *)(pc + 12) + ) ); } -void -__glXDisp_VertexAttrib1dvNV(GLbyte * pc) +void __glXDisp_VertexAttrib1dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_VertexAttrib1dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib1dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib1fvNV(GLbyte * pc) +void __glXDisp_VertexAttrib1fvNV(GLbyte * pc) { - CALL_VertexAttrib1fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib1fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib1svNV(GLbyte * pc) +void __glXDisp_VertexAttrib1svNV(GLbyte * pc) { - CALL_VertexAttrib1svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib1svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2dvNV(GLbyte * pc) +void __glXDisp_VertexAttrib2dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_VertexAttrib2dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib2dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2fvNV(GLbyte * pc) +void __glXDisp_VertexAttrib2fvNV(GLbyte * pc) { - CALL_VertexAttrib2fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib2fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib2svNV(GLbyte * pc) +void __glXDisp_VertexAttrib2svNV(GLbyte * pc) { - CALL_VertexAttrib2svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib2svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib3dvNV(GLbyte * pc) +void __glXDisp_VertexAttrib3dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_VertexAttrib3dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib3dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib3fvNV(GLbyte * pc) +void __glXDisp_VertexAttrib3fvNV(GLbyte * pc) { - CALL_VertexAttrib3fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib3fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib3svNV(GLbyte * pc) +void __glXDisp_VertexAttrib3svNV(GLbyte * pc) { - CALL_VertexAttrib3svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib3svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4dvNV(GLbyte * pc) +void __glXDisp_VertexAttrib4dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_VertexAttrib4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLdouble *) (pc + 4) - )); + CALL_VertexAttrib4dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLdouble *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4fvNV(GLbyte * pc) +void __glXDisp_VertexAttrib4fvNV(GLbyte * pc) { - CALL_VertexAttrib4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLfloat *) (pc + 4) - )); + CALL_VertexAttrib4fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLfloat *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4svNV(GLbyte * pc) +void __glXDisp_VertexAttrib4svNV(GLbyte * pc) { - CALL_VertexAttrib4svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLshort *) (pc + 4) - )); + CALL_VertexAttrib4svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLshort *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttrib4ubvNV(GLbyte * pc) +void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc) { - CALL_VertexAttrib4ubvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - (const GLubyte *) (pc + 4) - )); + CALL_VertexAttrib4ubvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDisp_VertexAttribs1dvNV(GLbyte * pc) +void __glXDisp_VertexAttribs1dvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 8)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs1dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLdouble *) (pc + 8) - )); + CALL_VertexAttribs1dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs1fvNV(GLbyte * pc) +void __glXDisp_VertexAttribs1fvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs1fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLfloat *) (pc + 8) - )); + CALL_VertexAttribs1fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs1svNV(GLbyte * pc) +void __glXDisp_VertexAttribs1svNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs1svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLshort *) (pc + 8) - )); + CALL_VertexAttribs1svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLshort *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs2dvNV(GLbyte * pc) +void __glXDisp_VertexAttribs2dvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 16)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs2dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLdouble *) (pc + 8) - )); + CALL_VertexAttribs2dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs2fvNV(GLbyte * pc) +void __glXDisp_VertexAttribs2fvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs2fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLfloat *) (pc + 8) - )); + CALL_VertexAttribs2fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs2svNV(GLbyte * pc) +void __glXDisp_VertexAttribs2svNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs2svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLshort *) (pc + 8) - )); + CALL_VertexAttribs2svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLshort *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs3dvNV(GLbyte * pc) +void __glXDisp_VertexAttribs3dvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 24)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs3dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLdouble *) (pc + 8) - )); + CALL_VertexAttribs3dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs3fvNV(GLbyte * pc) +void __glXDisp_VertexAttribs3fvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs3fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLfloat *) (pc + 8) - )); + CALL_VertexAttribs3fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs3svNV(GLbyte * pc) +void __glXDisp_VertexAttribs3svNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs3svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLshort *) (pc + 8) - )); + CALL_VertexAttribs3svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLshort *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs4dvNV(GLbyte * pc) +void __glXDisp_VertexAttribs4dvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 32)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLdouble *) (pc + 8) - )); + CALL_VertexAttribs4dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLdouble *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs4fvNV(GLbyte * pc) +void __glXDisp_VertexAttribs4fvNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_VertexAttribs4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLfloat *) (pc + 8) - )); + CALL_VertexAttribs4fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLfloat *)(pc + 8) + ) ); } -void -__glXDisp_VertexAttribs4svNV(GLbyte * pc) +void __glXDisp_VertexAttribs4svNV(GLbyte * pc) { - const GLsizei n = *(GLsizei *) (pc + 4); - - CALL_VertexAttribs4svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLshort *) (pc + 8) - )); -} - -void -__glXDisp_VertexAttribs4ubvNV(GLbyte * pc) -{ - const GLsizei n = *(GLsizei *) (pc + 4); - - CALL_VertexAttribs4ubvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - n, (const GLubyte *) (pc + 8) - )); -} + const GLsizei n = *(GLsizei *)(pc + 4); -void -__glXDisp_PointParameteriNV(GLbyte * pc) -{ - CALL_PointParameteriNV(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLint *) (pc + 4) - )); + CALL_VertexAttribs4svNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLshort *)(pc + 8) + ) ); } -void -__glXDisp_PointParameterivNV(GLbyte * pc) +void __glXDisp_VertexAttribs4ubvNV(GLbyte * pc) { - const GLenum pname = *(GLenum *) (pc + 0); - const GLint *params; - - params = (const GLint *) (pc + 4); + const GLsizei n = *(GLsizei *)(pc + 4); - CALL_PointParameterivNV(GET_DISPATCH(), (pname, params)); + CALL_VertexAttribs4ubvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + n, + (const GLubyte *)(pc + 8) + ) ); } -void -__glXDisp_ActiveStencilFaceEXT(GLbyte * pc) +void __glXDisp_ActiveStencilFaceEXT(GLbyte * pc) { - CALL_ActiveStencilFaceEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); + CALL_ActiveStencilFaceEXT( GET_DISPATCH(), ( + *(GLenum *)(pc + 0) + ) ); } -int -__glXDisp_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei len = *(GLsizei *) (pc + 4); + if ( cx != NULL ) { + const GLsizei len = *(GLsizei *)(pc + 4); GLdouble params[4]; - - CALL_GetProgramNamedParameterdvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - len, - (const GLubyte *) (pc - + - 8), - params)); + CALL_GetProgramNamedParameterdvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + len, + (const GLubyte *)(pc + 8), + params + ) ); __glXSendReply(cl->client, params, 4, 8, GL_TRUE, 0); error = Success; } @@ -5582,25 +5877,23 @@ __glXDisp_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDisp_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDisp_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); + __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei len = *(GLsizei *) (pc + 4); + if ( cx != NULL ) { + const GLsizei len = *(GLsizei *)(pc + 4); GLfloat params[4]; - - CALL_GetProgramNamedParameterfvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - len, - (const GLubyte *) (pc - + - 8), - params)); + CALL_GetProgramNamedParameterfvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + len, + (const GLubyte *)(pc + 8), + params + ) ); __glXSendReply(cl->client, params, 4, 4, GL_TRUE, 0); error = Success; } @@ -5608,319 +5901,35 @@ __glXDisp_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc) +void __glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc) { - const GLsizei len = *(GLsizei *) (pc + 36); + const GLsizei len = *(GLsizei *)(pc + 36); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 44 + __GLX_PAD(len) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_ProgramNamedParameter4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 32), - len, - (const GLubyte *) (pc + - 40), - (const GLdouble *) (pc + 0) - )); + CALL_ProgramNamedParameter4dvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 32), + len, + (const GLubyte *)(pc + 40), + (const GLdouble *)(pc + 0) + ) ); } -void -__glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc) +void __glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc) { - const GLsizei len = *(GLsizei *) (pc + 4); - - CALL_ProgramNamedParameter4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0), - len, - (const GLubyte *) (pc + - 24), - (const GLfloat *) (pc + 8) - )); -} + const GLsizei len = *(GLsizei *)(pc + 4); -void -__glXDisp_BlendEquationSeparateEXT(GLbyte * pc) -{ - CALL_BlendEquationSeparateEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4) - )); -} - -void -__glXDisp_BindFramebufferEXT(GLbyte * pc) -{ - CALL_BindFramebufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4) - )); -} - -void -__glXDisp_BindRenderbufferEXT(GLbyte * pc) -{ - CALL_BindRenderbufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLuint *) (pc + 4) - )); + CALL_ProgramNamedParameter4fvNV( GET_DISPATCH(), ( + *(GLuint *)(pc + 0), + len, + (const GLubyte *)(pc + 24), + (const GLfloat *)(pc + 8) + ) ); } -int -__glXDisp_CheckFramebufferStatusEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLenum retval; - - retval = - CALL_CheckFramebufferStatusEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); - __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -void -__glXDisp_DeleteFramebuffersEXT(GLbyte * pc) -{ - const GLsizei n = *(GLsizei *) (pc + 0); - - CALL_DeleteFramebuffersEXT(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); -} - -void -__glXDisp_DeleteRenderbuffersEXT(GLbyte * pc) -{ - const GLsizei n = *(GLsizei *) (pc + 0); - - CALL_DeleteRenderbuffersEXT(GET_DISPATCH(), (n, (const GLuint *) (pc + 4) - )); -} - -void -__glXDisp_FramebufferRenderbufferEXT(GLbyte * pc) -{ - CALL_FramebufferRenderbufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLuint *) (pc + 12) - )); -} - -void -__glXDisp_FramebufferTexture1DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture1DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLuint *) (pc + 12), - *(GLint *) (pc + 16) - )); -} - -void -__glXDisp_FramebufferTexture2DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture2DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLuint *) (pc + 12), - *(GLint *) (pc + 16) - )); -} - -void -__glXDisp_FramebufferTexture3DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture3DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - *(GLuint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLint *) (pc + 20) - )); -} - -int -__glXDisp_GenFramebuffersEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); - - GLuint answerBuffer[200]; - GLuint *framebuffers = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenFramebuffersEXT(GET_DISPATCH(), (n, framebuffers)); - __glXSendReply(cl->client, framebuffers, n, 4, GL_TRUE, 0); - error = Success; - } - - return error; -} - -int -__glXDisp_GenRenderbuffersEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = *(GLsizei *) (pc + 0); - - GLuint answerBuffer[200]; - GLuint *renderbuffers = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenRenderbuffersEXT(GET_DISPATCH(), (n, renderbuffers)); - __glXSendReply(cl->client, renderbuffers, n, 4, GL_TRUE, 0); - error = Success; - } - - return error; -} - -void -__glXDisp_GenerateMipmapEXT(GLbyte * pc) -{ - CALL_GenerateMipmapEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0) - )); -} - -int -__glXDisp_GetFramebufferAttachmentParameterivEXT(__GLXclientState * cl, - GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLint params[1]; - - CALL_GetFramebufferAttachmentParameterivEXT(GET_DISPATCH(), - (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLenum *) (pc + 8), - params)); - __glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0); - error = Success; - } - - return error; -} - -int -__glXDisp_GetRenderbufferParameterivEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLint params[1]; - - CALL_GetRenderbufferParameterivEXT(GET_DISPATCH(), - (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), params)); - __glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0); - error = Success; - } - - return error; -} - -int -__glXDisp_IsFramebufferEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsFramebufferEXT(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); - __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -int -__glXDisp_IsRenderbufferEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsRenderbufferEXT(GET_DISPATCH(), (*(GLuint *) (pc + 0) - )); - __glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -void -__glXDisp_RenderbufferStorageEXT(GLbyte * pc) -{ - CALL_RenderbufferStorageEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLsizei *) (pc + 8), - *(GLsizei *) (pc + 12) - )); -} - -void -__glXDisp_BlitFramebufferEXT(GLbyte * pc) -{ - CALL_BlitFramebufferEXT(GET_DISPATCH(), (*(GLint *) (pc + 0), - *(GLint *) (pc + 4), - *(GLint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16), - *(GLint *) (pc + 20), - *(GLint *) (pc + 24), - *(GLint *) (pc + 28), - *(GLbitfield *) (pc + 32), - *(GLenum *) (pc + 36) - )); -} - -void -__glXDisp_FramebufferTextureLayerEXT(GLbyte * pc) -{ - CALL_FramebufferTextureLayerEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0), - *(GLenum *) (pc + 4), - *(GLuint *) (pc + 8), - *(GLint *) (pc + 12), - *(GLint *) (pc + 16) - )); -} diff --git a/xorg-server/glx/indirect_dispatch.h b/xorg-server/glx/indirect_dispatch.h index d75dbe062..2ec1faf56 100644 --- a/xorg-server/glx/indirect_dispatch.h +++ b/xorg-server/glx/indirect_dispatch.h @@ -1,1457 +1,1050 @@ -/* DO NOT EDIT - This file generated automatically by glX_proto_recv.py (from Mesa) script */ - -/* - * (C) Copyright IBM Corporation 2005 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#if !defined( _INDIRECT_DISPATCH_H_ ) -#define _INDIRECT_DISPATCH_H_ - -#include <X11/Xfuncproto.h> - -struct __GLXclientStateRec; - -extern _X_HIDDEN void __glXDisp_MapGrid1d(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MapGrid1d(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MapGrid1f(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MapGrid1f(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_NewList(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_NewList(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_LoadIdentity(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LoadIdentity(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SampleCoverageARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SampleCoverageARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ConvolutionFilter1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BeginQueryARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BeginQueryARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PointParameteriNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PointParameteriNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord1iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord1iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ActiveTextureARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ActiveTextureARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BlitFramebufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlitFramebufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterdvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterdvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Histogram(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Histogram(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetMapfv(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMapfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_RasterPos4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PolygonStipple(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PolygonStipple(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BlendEquationSeparateEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlendEquationSeparateEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetPixelMapfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetPixelMapfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Color3uiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3uiv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsEnabled(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsEnabled(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib4svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EvalCoord2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalCoord2fv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DestroyPixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyPixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMapiv(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMapiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_SwapBuffers(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_SwapBuffers(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Indexubv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Indexubv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_Render(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_Render(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetQueryivARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetQueryivARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexImage3D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexImage3D(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_MakeContextCurrent(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_MakeContextCurrent(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetFBConfigs(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetFBConfigs(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Color3ubv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3ubv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetQueryObjectivARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetQueryObjectivARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Vertex3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexSubImage2DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage2DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs3fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs3fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LightModeliv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LightModeliv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib1svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs1dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs1dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Normal3bv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Normal3bv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_VendorPrivate(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_VendorPrivate(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexGeniv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGeniv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib1fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyConvolutionFilter1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BlendColor(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlendColor(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Scalef(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Scalef(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Normal3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Normal3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PassThrough(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PassThrough(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FramebufferTextureLayerEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FramebufferTextureLayerEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Viewport(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Viewport(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NusvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NusvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyTexSubImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_DepthRange(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DepthRange(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ResetHistogram(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ResetHistogram(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterfvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterfvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_PointParameterfEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PointParameterfEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord2sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord2sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexImage3DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexImage3DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetConvolutionParameteriv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameteriv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetConvolutionParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Vertex2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex2dv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetVisualConfigs(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVisualConfigs(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_MultiTexCoord1fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord3iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CopyContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CopyContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Color3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PointSize(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PointSize(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PopName(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PopName(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NbvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NbvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex4sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexEnvfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexEnvfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_LineStipple(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LineStipple(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexEnvi(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexEnvi(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetClipPlane(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetClipPlane(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttribs3dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs3dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Scaled(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Scaled(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CallLists(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CallLists(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_AlphaFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_AlphaFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord2iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord2iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexImage1DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexImage1DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Rotated(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rotated(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_ReadPixels(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_ReadPixels(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_EdgeFlagv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EdgeFlagv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexParameterf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexParameterf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexParameteri(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexParameteri(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DestroyContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_DrawPixels(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DrawPixels(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord2svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord3svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_GenerateMipmapEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_GenerateMipmapEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GenLists(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenLists(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_MapGrid2d(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MapGrid2d(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MapGrid2f(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MapGrid2f(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Scissor(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Scissor(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Fogf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Fogf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexSubImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexSubImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4usv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4usv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Fogi(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Fogi(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PixelMapfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelMapfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color3usv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3usv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_AreTexturesResident(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_AreTexturesResident(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_AreTexturesResidentEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_AreTexturesResidentEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_PointParameterfvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PointParameterfvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color3bv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3bv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SecondaryColor3bvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3bvEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterfvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterfvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_RenderbufferStorageEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RenderbufferStorageEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ColorTable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorTable(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Accum(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Accum(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexImage(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexImage(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ConvolutionFilter2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_Finish(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_Finish(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ClearStencil(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClearStencil(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib3dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs4ubvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ConvolutionParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord1fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord1fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ClearIndex(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClearIndex(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LoadMatrixd(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LoadMatrixd(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PushMatrix(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PushMatrix(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ConvolutionParameterfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterfv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexGendv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexGendv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetVertexAttribfvNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_LoadProgramNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LoadProgramNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_EndList(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_EndList(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EvalCoord1fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalCoord1fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EvalMesh2(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalMesh2(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex4fv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CheckFramebufferStatusEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CheckFramebufferStatusEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetVertexAttribivARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetFBConfigsSGIX(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetFBConfigsSGIX(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_CreateNewContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateNewContext(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMinmax(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmax(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMinmaxEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmaxEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Normal3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Normal3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_End(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_End(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs2dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs2dvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateContextAttribsARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateContextAttribsARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetProgramParameterfvNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramParameterfvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_BindTexture(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BindTexture(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexSubImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexSubImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexGenfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGenfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4bvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4bvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateContextWithConfigSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateContextWithConfigSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_FramebufferTexture3DEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FramebufferTexture3DEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CopySubBufferMESA(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CopySubBufferMESA(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_BlendEquation(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlendEquation(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetError(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetError(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexCoord3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Indexdv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Indexdv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FramebufferTexture2DEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FramebufferTexture2DEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PushName(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PushName(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord2dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateGLXPbufferSGIX(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateGLXPbufferSGIX(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_MultiTexCoord1svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EndQueryARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EndQueryARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_DepthMask(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DepthMask(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetMaterialiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMaterialiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_StencilOp(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_StencilOp(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Ortho(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Ortho(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexEnvfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexEnvfv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_QueryServerString(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_QueryServerString(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_LoadMatrixf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LoadMatrixf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4bv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4bv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SecondaryColor3usvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3usvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib2fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DeleteLists(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DeleteLists(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_LogicOp(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LogicOp(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RenderbufferStorageMultisample(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord4fv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_WaitX(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_WaitX(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_SecondaryColor3uivEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3uivEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FramebufferRenderbufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FramebufferRenderbufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib1dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GenTextures(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenTextures(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GenTexturesEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenTexturesEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_FramebufferTexture1DEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FramebufferTexture1DEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetDrawableAttributes(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributes(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_RasterPos2sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos2sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4ubv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4ubv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_DrawBuffer(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DrawBuffer(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord1sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord1sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateGLXPixmapWithConfigSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_DepthFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DepthFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PixelMapusv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelMapusv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PointParameterivNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PointParameterivNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BlendFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlendFunc(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_WaitGL(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_WaitGL(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_MultiTexCoord3dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_Flush(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_Flush(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Color4uiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4uiv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BindFramebufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BindFramebufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PushAttrib(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PushAttrib(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DestroyPbuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyPbuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_WindowPos3fvMESA(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_WindowPos3fvMESA(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib1svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1svNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_QueryExtensionsString(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_QueryExtensionsString(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_RasterPos3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyTexSubImage3D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage3D(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetColorTable(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTable(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetColorTableSGI(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTableSGI(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Indexiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Indexiv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_CopyColorTable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyColorTable(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetHistogramParameterfv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetHistogramParameterfvEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfvEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Frustum(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Frustum(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetString(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetString(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_CreateGLXPixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexEnvf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexEnvf(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramStringARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramStringARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_MultiTexCoord3ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib1dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DeleteTextures(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DeleteTextures(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_DeleteTexturesEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DeleteTexturesEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetTexLevelParameteriv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameteriv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ClearAccum(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClearAccum(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_QueryVersion(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_QueryVersion(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetVertexAttribfvARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_SecondaryColor3ivEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3ivEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord4iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord4iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetDrawableAttributesSGIX(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributesSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_ColorTableParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorTableParameteriv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4ubvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ubvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyTexImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyTexImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Lightfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Lightfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ClearDepth(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClearDepth(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ColorSubTable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorSubTable(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord4ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4ivARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreatePixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreatePixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Lightiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Lightiv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetQueryObjectuivARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetQueryObjectuivARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetTexParameteriv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexParameteriv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GenRenderbuffersEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenRenderbuffersEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib2dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs2svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs2svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Rectdv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rectdv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Materialiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Materialiv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SampleMaskSGIS(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SampleMaskSGIS(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SecondaryColor3fvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PolygonMode(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PolygonMode(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexSubImage1DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage1DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib2dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetVertexAttribivNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_IsQueryARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsQueryARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexGeni(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGeni(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexGenf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGenf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexGend(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGend(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetPolygonStipple(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetPolygonStipple(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib2svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NuivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NuivARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetVertexAttribdvNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_DestroyWindow(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyWindow(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Color4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsProgramNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsProgramNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_PixelZoom(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelZoom(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ColorTableParameterfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorTableParameterfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PixelMapuiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelMapuiv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3dv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsTexture(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsTexture(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_IsTextureEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsTextureEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_SetClientInfo2ARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_SetClientInfo2ARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_DeleteQueriesARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DeleteQueriesARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMapdv(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMapdv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_DestroyGLXPixmap(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyGLXPixmap(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_SamplePatternSGIS(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SamplePatternSGIS(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_PixelStoref(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_PixelStoref(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_PrioritizeTextures(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PrioritizeTextures(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_PixelStorei(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_PixelStorei(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib4usvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4usvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DestroyGLXPbufferSGIX(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DestroyGLXPbufferSGIX(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_EvalCoord2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalCoord2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib3svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ColorMaterial(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorMaterial(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexSubImage3DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage3DARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsFramebufferEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsFramebufferEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetVertexAttribdvARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetSeparableFilter(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetSeparableFilter(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetSeparableFilterEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetSeparableFilterEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_RequestResidentProgramsNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RequestResidentProgramsNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_FeedbackBuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_FeedbackBuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_RasterPos2iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos2iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FrontFace(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FrontFace(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_RenderLarge(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_RenderLarge(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PolygonOffset(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PolygonOffset(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ExecuteProgramNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ExecuteProgramNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Normal3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Normal3dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Lightf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Lightf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MatrixMode(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MatrixMode(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetPixelMapusv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetPixelMapusv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Lighti(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Lighti(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetFramebufferAttachmentParameterivEXT(struct - __GLXclientStateRec - *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetFramebufferAttachmentParameterivEXT(struct - __GLXclientStateRec - *, - GLbyte - *); -extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributesSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributesSGIX(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_MultiTexCoord4dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4dvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreatePbuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreatePbuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetDoublev(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetDoublev(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_MultMatrixd(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultMatrixd(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultMatrixf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultMatrixf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos4sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NsvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NsvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib3fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ClearColor(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClearColor(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsDirect(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsDirect(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_DeleteFramebuffersEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DeleteFramebuffersEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexEnviv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexEnviv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexSubImage3D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexSubImage3D(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_SwapIntervalSGI(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_SwapIntervalSGI(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetColorTableParameterfv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetColorTableParameterfvSGI(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfvSGI(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Bitmap(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Bitmap(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexLevelParameterfv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameterfv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GenFramebuffersEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenFramebuffersEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetProgramParameterdvNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramParameterdvNV(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Vertex2sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex2sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetIntegerv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetIntegerv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterfvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterfvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetTrackMatrixivNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTrackMatrixivNV(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib3svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3svNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexEnviv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexEnviv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_VendorPrivateWithReply(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_VendorPrivateWithReply(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_SeparableFilter2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SeparableFilter2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Map1d(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Map1d(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Map1f(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Map1f(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CompressedTexImage2DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CompressedTexImage2DARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexImage2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramParameters4fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramParameters4fvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramivNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramivNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributes(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributes(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMinmaxParameteriv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameteriv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMinmaxParameterivEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_PixelTransferf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelTransferf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyTexImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyTexImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Fogiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Fogiv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord1dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord1dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PixelTransferi(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PixelTransferi(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SecondaryColor3ubvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3ubvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib3fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Clear(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Clear(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ReadBuffer(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ReadBuffer(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ConvolutionParameteri(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionParameteri(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LightModeli(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LightModeli(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ListBase(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ListBase(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ConvolutionParameterf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterf(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetColorTableParameteriv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTableParameteriv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetColorTableParameterivSGI(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterivSGI(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_ReleaseTexImageEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_ReleaseTexImageEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_CallList(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CallList(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs2fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs2fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Rectiv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rectiv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_SecondaryColor3dvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3dvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex2fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BindRenderbufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BindRenderbufferEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex3sv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_SetClientInfoARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_SetClientInfoARB(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_BindTexImageEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_BindTexImageEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_DeleteProgramsNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_DeleteProgramsNV(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_EvalMesh1(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalMesh1(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs1fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs1fvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord1dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1dvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex2iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex2iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramStringNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_LineWidth(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LineWidth(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib2fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexGendv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexGendv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ResetMinmax(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ResetMinmax(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfvEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfvEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttribs4dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs4dvNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetMaterialfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMaterialfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_UseXFont(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_UseXFont(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ShadeModel(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ShadeModel(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Materialfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Materialfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FogCoordfvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FogCoordfvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord1ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord2ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2ivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_DrawArrays(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DrawArrays(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color3iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color3iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterdvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterdvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetHistogramParameteriv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogramParameteriv(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetHistogramParameterivEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_Rotatef(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rotatef(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramivARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramivARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_BlendFuncSeparateEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BlendFuncSeparateEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramParameters4dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramParameters4dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EvalPoint2(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalPoint2(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_EvalPoint1(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalPoint1(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PopMatrix(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PopMatrix(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_MakeCurrentReadSGI(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_MakeCurrentReadSGI(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetTexGeniv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexGeniv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_MakeCurrent(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_MakeCurrent(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Map2d(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Map2d(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Map2f(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Map2f(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ProgramStringARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ProgramStringARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetConvolutionFilter(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilter(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetConvolutionFilterEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilterEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetCompressedTexImageARB(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetCompressedTexImageARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetTexGenfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexGenfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetHistogram(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogram(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetHistogramEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetHistogramEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ActiveStencilFaceEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Materialf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Materialf(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Materiali(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Materiali(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Indexsv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Indexsv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord4svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LightModelfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LightModelfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexCoord2dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord2dv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GenQueriesARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenQueriesARB(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_EvalCoord1dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_EvalCoord1dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Translated(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Translated(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Translatef(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Translatef(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_StencilMask(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_StencilMask(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ClampColorARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClampColorARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_CreateWindow(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_CreateWindow(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetLightiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetLightiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_IsList(struct __GLXclientStateRec *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsList(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_RenderMode(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_RenderMode(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_DrawBuffersARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DrawBuffersARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LoadName(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LoadName(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyTexSubImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage1D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CullFace(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CullFace(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_QueryContextInfoEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_QueryContextInfoEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttribs3svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs3svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_StencilFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_StencilFunc(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyPixels(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyPixels(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Rectsv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rectsv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_CopyConvolutionFilter2D(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TexParameterfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexParameterfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4uivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4uivARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_ClipPlane(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ClipPlane(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_TrackMatrixNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TrackMatrixNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetPixelMapuiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetPixelMapuiv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Indexfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Indexfv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_QueryContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_QueryContext(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_SecondaryColor3svEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_SecondaryColor3svEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord3fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_IndexMask(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_IndexMask(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_BindProgramNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_BindProgramNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4svARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetFloatv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetFloatv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_TexCoord3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_PopAttrib(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_PopAttrib(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Fogfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Fogfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_InitNames(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_InitNames(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Normal3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Normal3sv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Minmax(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Minmax(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_FogCoorddvEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_FogCoorddvEXT(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetBooleanv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetBooleanv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Hint(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Hint(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Color4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Color4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib2svARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib2svARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_AreProgramsResidentNV(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_AreProgramsResidentNV(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_CopyColorSubTable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_CopyColorSubTable(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_DeleteRenderbuffersEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_DeleteRenderbuffersEXT(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib4NubvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NubvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttrib3dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib3dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex4iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex4iv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterdvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterdvARB(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_TexCoord4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_TexCoord4dv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Begin(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Begin(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_ClientInfo(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_ClientInfo(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Rectfv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Rectfv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_LightModelf(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_LightModelf(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetTexParameterfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetTexParameterfv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GetLightfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetLightfv(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_Disable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Disable(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_MultiTexCoord2fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetRenderbufferParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetRenderbufferParameterivEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_SelectBuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_SelectBuffer(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_ColorMask(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_ColorMask(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_RasterPos4iv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_RasterPos4iv(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Enable(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Enable(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs4svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs4svNV(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfv(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfv(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfvEXT(struct - __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfvEXT(struct - __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib1fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib1fvARB(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_VertexAttribs1svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttribs1svNV(GLbyte * pc); -extern _X_HIDDEN void __glXDisp_Vertex3fv(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_Vertex3fv(GLbyte * pc); -extern _X_HIDDEN int __glXDisp_IsRenderbufferEXT(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_IsRenderbufferEXT(struct __GLXclientStateRec - *, GLbyte *); -extern _X_HIDDEN int __glXDisp_GenProgramsNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN int __glXDispSwap_GenProgramsNV(struct __GLXclientStateRec *, - GLbyte *); -extern _X_HIDDEN void __glXDisp_VertexAttrib4dvNV(GLbyte * pc); -extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dvNV(GLbyte * pc); - -#endif /* !defined( _INDIRECT_DISPATCH_H_ ) */ +/* DO NOT EDIT - This file generated automatically by glX_proto_recv.py (from Mesa) script */
+
+/*
+ * (C) Copyright IBM Corporation 2005
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#if !defined( _INDIRECT_DISPATCH_H_ )
+# define _INDIRECT_DISPATCH_H_
+
+# include <X11/Xfuncproto.h>
+
+struct __GLXclientStateRec;
+
+extern _X_HIDDEN void __glXDisp_MapGrid1d(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MapGrid1d(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MapGrid1f(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MapGrid1f(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_NewList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_NewList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LoadIdentity(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LoadIdentity(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ConvolutionFilter1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord1iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord1iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TrackMatrixNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TrackMatrixNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Histogram(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Histogram(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_RasterPos4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PolygonStipple(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PolygonStipple(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetPixelMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Color3uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3uiv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_IsEnabled(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsEnabled(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalCoord2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalCoord2fv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DestroyPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_FramebufferTexture1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FramebufferTexture1D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetMapiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_SwapBuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SwapBuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Indexubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Indexubv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_Render(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Render(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexImage3D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_MakeContextCurrent(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeContextCurrent(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFBConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFBConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_LightModeliv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LightModeliv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs1dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs1dvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Normal3bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Normal3bv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_VendorPrivate(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_VendorPrivate(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateGLXPixmapWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Vertex3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RenderbufferStorage(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RenderbufferStorage(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyConvolutionFilter1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenQueries(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenQueries(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BlendColor(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlendColor(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CompressedTexImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Scalef(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Scalef(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Normal3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Normal3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PassThrough(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PassThrough(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Viewport(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Viewport(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyTexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_DepthRange(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DepthRange(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetQueryiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ResetHistogram(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ResetHistogram(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_CompressedTexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Nbv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Nbv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs2svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs2svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3sv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Vertex2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex2dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVisualConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVisualConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_DeleteRenderbuffers(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DeleteRenderbuffers(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord1fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord3iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CopyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CopyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PointSize(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PointSize(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PopName(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PopName(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Nusv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Nusv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ClampColor(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClampColor(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexEnvfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexEnvfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LineStipple(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LineStipple(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexEnvi(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexEnvi(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetClipPlane(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetClipPlane(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttribs3dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs3dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_LightModeli(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LightModeli(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Scaled(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Scaled(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CallLists(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CallLists(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_AlphaFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_AlphaFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Rotated(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rotated(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_ReadPixels(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ReadPixels(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_EdgeFlagv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EdgeFlagv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CompressedTexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexParameterf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexParameterf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexParameteri(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexParameteri(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DestroyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_DrawPixels(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DrawPixels(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3sv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_MapGrid2d(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MapGrid2d(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MapGrid2f(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MapGrid2f(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Scissor(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Scissor(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Fogf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Fogf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Fogi(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Fogi(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PixelMapfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelMapfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_AreTexturesResident(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreTexturesResident(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_AreTexturesResidentEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreTexturesResidentEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Color3bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2fvARB(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ColorTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Accum(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Accum(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexImage(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexImage(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ConvolutionFilter2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_Finish(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Finish(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ClearStencil(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClearStencil(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs4ubvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ConvolutionParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord1fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord1fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ClearIndex(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClearIndex(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_LoadMatrixd(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LoadMatrixd(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PushMatrix(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PushMatrix(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ConvolutionParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterfv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexGendv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGendv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LoadProgramNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LoadProgramNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_EndList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_EndList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_EvalCoord1fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalCoord1fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalMesh2(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalMesh2(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs3fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs3fvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFBConfigsSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFBConfigsSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BindFramebuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BindFramebuffer(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreateNewContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateNewContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmax(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmax(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BlendFuncSeparate(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlendFuncSeparate(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Normal3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Normal3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_End(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_End(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs3svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs3svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs2dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs2dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord3fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BindTexture(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BindTexture(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexSubImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexGenfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGenfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_DrawBuffers(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DrawBuffers(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreateContextWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateContextWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CopySubBufferMESA(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CopySubBufferMESA(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BlendEquation(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlendEquation(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetError(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetError(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexCoord3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Indexdv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Indexdv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PushName(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PushName(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreateGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsRenderbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsRenderbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_DepthMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DepthMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetMaterialiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMaterialiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_StencilOp(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_StencilOp(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_FramebufferTextureLayer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FramebufferTextureLayer(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexEnvfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexEnvfv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_QueryServerString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryServerString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LoadMatrixf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LoadMatrixf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4bv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetCompressedTexImage(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetCompressedTexImage(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DeleteLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LogicOp(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LogicOp(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RenderbufferStorageMultisample(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ActiveTexture(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ActiveTexture(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3bv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_WaitX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_WaitX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1fvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenTextures(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenTextures(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_RasterPos2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_DrawBuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DrawBuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexGeniv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGeniv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_DepthFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DepthFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PixelMapusv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelMapusv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_BlendFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlendFunc(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_WaitGL(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_WaitGL(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_CompressedTexImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_Flush(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Flush(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Color4uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PushAttrib(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PushAttrib(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DestroyPbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyPbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexParameteriv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_QueryExtensionsString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryExtensionsString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_RasterPos3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyTexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetColorTable(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTable(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Indexiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Indexiv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreateContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_CopyColorTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyColorTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PointParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PointParameterfv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Frustum(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Frustum(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexEnvf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexEnvf(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenProgramsARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenProgramsARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteTextures(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteTextures(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexLevelParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ClearAccum(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClearAccum(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_QueryVersion(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryVersion(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexCoord4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_FramebufferTexture3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FramebufferTexture3D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ColorTableParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorTableParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyTexImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyTexImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Lightfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Lightfv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetFramebufferAttachmentParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFramebufferAttachmentParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ClearDepth(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClearDepth(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ColorSubTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorSubTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4fv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreatePixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreatePixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Lightiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Lightiv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3sv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_IsQuery(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsQuery(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Rectdv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rectdv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SamplePatternSGIS(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SamplePatternSGIS(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Materialiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Materialiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3fvEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PolygonMode(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PolygonMode(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Niv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Niv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramStringARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexGeni(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGeni(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexGenf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGenf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexGend(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGend(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetPolygonStipple(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPolygonStipple(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs1fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs1fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib2dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DestroyWindow(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyWindow(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Color4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PixelZoom(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelZoom(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ColorTableParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorTableParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PixelMapuiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelMapuiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_IsTexture(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsTexture(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsTextureEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsTextureEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_BeginQuery(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BeginQuery(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetMapdv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapdv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DestroyGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_PixelStoref(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_PixelStoref(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_PrioritizeTextures(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PrioritizeTextures(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_PixelStorei(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_PixelStorei(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_EvalCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ColorMaterial(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorMaterial(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttribs1svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs1svNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetSeparableFilter(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetSeparableFilter(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetSeparableFilterEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetSeparableFilterEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_RequestResidentProgramsNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RequestResidentProgramsNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_FeedbackBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_FeedbackBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_RasterPos2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_FrontFace(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FrontFace(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_RenderLarge(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_RenderLarge(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_PolygonOffset(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PolygonOffset(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ExecuteProgramNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ExecuteProgramNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribdv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Normal3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Normal3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Lightf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Lightf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MatrixMode(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MatrixMode(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetPixelMapusv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapusv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Lighti(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Lighti(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenFramebuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenFramebuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsFramebuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsFramebuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BlendEquationSeparate(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlendEquationSeparate(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreatePbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreatePbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetDoublev(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDoublev(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_MultMatrixd(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultMatrixd(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultMatrixf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultMatrixf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CompressedTexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ClearColor(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClearColor(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_IsDirect(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsDirect(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PointParameteri(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PointParameteri(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PointParameterf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PointParameterf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexEnviv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexEnviv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_SwapIntervalSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SwapIntervalSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_FramebufferTexture2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FramebufferTexture2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Bitmap(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Bitmap(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexLevelParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CheckFramebufferStatus(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CheckFramebufferStatus(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Vertex2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex2sv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetIntegerv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetIntegerv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BindProgramARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BindProgramARB(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTrackMatrixivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTrackMatrixivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3svNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexEnviv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexEnviv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_VendorPrivateWithReply(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_VendorPrivateWithReply(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_SeparableFilter2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SeparableFilter2D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetQueryObjectuiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryObjectuiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Map1d(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Map1d(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Map1f(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Map1f(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexImage2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexImage2D(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_PixelTransferf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelTransferf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyTexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyTexImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Fogiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Fogiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EndQuery(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EndQuery(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PixelTransferi(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PixelTransferi(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Clear(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Clear(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ReadBuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ReadBuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ConvolutionParameteri(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionParameteri(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Ortho(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Ortho(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ListBase(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ListBase(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ConvolutionParameterf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterf(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ReleaseTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ReleaseTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_CallList(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CallList(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_GenerateMipmap(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_GenerateMipmap(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Rectiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rectiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord1iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex2fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SampleMaskSGIS(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SampleMaskSGIS(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex3sv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetQueryObjectiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryObjectiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalMesh1(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalMesh1(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CompressedTexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage3D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex2iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex2iv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramStringNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LineWidth(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LineWidth(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexGendv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexGendv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ResetMinmax(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ResetMinmax(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMaterialfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMaterialfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_WindowPos3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_WindowPos3fv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DeleteProgramsARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteProgramsARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_UseXFont(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_UseXFont(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ShadeModel(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ShadeModel(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Materialfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Materialfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_FogCoordfvEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FogCoordfvEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_DrawArrays(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DrawArrays(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SampleCoverage(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SampleCoverage(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color3iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4ubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ubv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_PointParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PointParameteriv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Rotatef(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rotatef(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetProgramivARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramivARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BindRenderbuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BindRenderbuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramParameters4dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramParameters4dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalPoint2(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalPoint2(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalPoint1(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalPoint1(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PopMatrix(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PopMatrix(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_DeleteFramebuffers(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_DeleteFramebuffers(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_MakeCurrentReadSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeCurrentReadSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexGeniv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGeniv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_MakeCurrent(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeCurrent(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_FramebufferRenderbuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FramebufferRenderbuffer(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_IsProgramARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsProgramARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4uiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Nsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Nsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Map2d(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Map2d(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Map2f(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Map2f(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramStringARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramStringARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4bv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4bv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetConvolutionFilter(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilter(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionFilterEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilterEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttribs4dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs4dvNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexGenfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGenfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogram(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogram(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ActiveStencilFaceEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Materialf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Materialf(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Materiali(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Materiali(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Indexsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Indexsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib1fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib1fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_LightModelfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LightModelfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord2dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ProgramParameters4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ProgramParameters4fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_EvalCoord1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_EvalCoord1dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Translated(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Translated(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Translatef(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Translatef(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_StencilMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_StencilMask(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_CreateWindow(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateWindow(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetLightiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetLightiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_RenderMode(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_RenderMode(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_LoadName(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LoadName(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyTexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage1D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CullFace(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CullFace(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_QueryContextInfoEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryContextInfoEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttribs2fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs2fvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_StencilFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_StencilFunc(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyPixels(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyPixels(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Rectsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rectsv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_CopyConvolutionFilter2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexParameterfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Nubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Nubv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_ClipPlane(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ClipPlane(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3usv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord3dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetPixelMapuiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapuiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Indexfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Indexfv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_QueryContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_BlitFramebuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_BlitFramebuffer(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_IndexMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_IndexMask(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetFloatv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFloatv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_TexCoord3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_FogCoorddv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_FogCoorddv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_PopAttrib(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_PopAttrib(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Fogfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Fogfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_InitNames(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_InitNames(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Normal3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Normal3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Minmax(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Minmax(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_DeleteQueries(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteQueries(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetBooleanv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetBooleanv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Hint(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Hint(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Color4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Color4dv(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_AreProgramsResidentNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreProgramsResidentNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_CopyColorSubTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_CopyColorSubTable(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_VertexAttrib3dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib3dvNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_TexCoord4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_TexCoord4dv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Begin(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Begin(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_ClientInfo(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ClientInfo(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Rectfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Rectfv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_LightModelf(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_LightModelf(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetTexParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetLightfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetLightfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_Disable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Disable(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord2fvARB(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_SelectBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SelectBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_ColorMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_ColorMask(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_RasterPos4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_RasterPos4iv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Enable(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Enable(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GetRenderbufferParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetRenderbufferParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttribs4svNV(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttribs4svNV(GLbyte * pc);
+extern _X_HIDDEN int __glXDisp_GenRenderbuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenRenderbuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN void __glXDisp_VertexAttrib4Nuiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_VertexAttrib4Nuiv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_Vertex3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_Vertex3fv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_SecondaryColor3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_SecondaryColor3sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDisp_MultiTexCoord2sv(GLbyte * pc);
+extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2sv(GLbyte * pc);
+
+#endif /* !defined( _INDIRECT_DISPATCH_H_ ) */
diff --git a/xorg-server/glx/indirect_dispatch_swap.c b/xorg-server/glx/indirect_dispatch_swap.c index 80010b3f7..b96439626 100644 --- a/xorg-server/glx/indirect_dispatch_swap.c +++ b/xorg-server/glx/indirect_dispatch_swap.c @@ -25,6 +25,11 @@ * SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif +#include "glheader.h" + #include <X11/Xmd.h> #include <GL/gl.h> #include <GL/glxproto.h> @@ -47,91 +52,66 @@ typedef struct { __GLX_PIXEL_3D_HDR; } __GLXpixel3DHeader; -extern GLboolean __glXErrorOccured(void); -extern void __glXClearErrorOccured(void); +extern GLboolean __glXErrorOccured( void ); +extern void __glXClearErrorOccured( void ); -static const unsigned dummy_answer[2] = { 0, 0 }; +static const unsigned dummy_answer[2] = {0, 0}; static GLsizei -bswap_CARD32(const void *src) +bswap_CARD32( const void * src ) { - union { - uint32_t dst; - GLsizei ret; - } x; - - x.dst = bswap_32(*(uint32_t *) src); + union { uint32_t dst; GLsizei ret; } x; + x.dst = bswap_32( *(uint32_t *) src ); return x.ret; } static GLshort -bswap_CARD16(const void *src) +bswap_CARD16( const void * src ) { - union { - uint16_t dst; - GLshort ret; - } x; - - x.dst = bswap_16(*(uint16_t *) src); + union { uint16_t dst; GLshort ret; } x; + x.dst = bswap_16( *(uint16_t *) src ); return x.ret; } static GLenum -bswap_ENUM(const void *src) +bswap_ENUM( const void * src ) { - union { - uint32_t dst; - GLenum ret; - } x; - - x.dst = bswap_32(*(uint32_t *) src); + union { uint32_t dst; GLenum ret; } x; + x.dst = bswap_32( *(uint32_t *) src ); return x.ret; } static GLsync -bswap_CARD64(const void *src) +bswap_CARD64( const void * src ) { - union { - uint64_t dst; - GLsync ret; - } x; - - x.dst = bswap_64(*(uint64_t *) src); + union { uint64_t dst; GLsync ret; } x; + x.dst = bswap_64( *(uint64_t *) src ); return x.ret; } static GLdouble -bswap_FLOAT64(const void *src) +bswap_FLOAT64( const void * src ) { - union { - uint64_t dst; - GLdouble ret; - } x; - - x.dst = bswap_64(*(uint64_t *) src); + union { uint64_t dst; GLdouble ret; } x; + x.dst = bswap_64( *(uint64_t *) src ); return x.ret; } static GLfloat -bswap_FLOAT32(const void *src) +bswap_FLOAT32( const void * src ) { - union { - uint32_t dst; - GLfloat ret; - } x; - - x.dst = bswap_32(*(uint32_t *) src); + union { uint32_t dst; GLfloat ret; } x; + x.dst = bswap_32( *(uint32_t *) src ); return x.ret; } static void * -bswap_16_array(uint16_t * src, unsigned count) +bswap_16_array( uint16_t * src, unsigned count ) { - unsigned i; - - for (i = 0; i < count; i++) { - uint16_t temp = bswap_16(src[i]); + unsigned i; + for ( i = 0 ; i < count ; i++ ) { + uint16_t temp = bswap_16( src[i] ); src[i] = temp; } @@ -139,13 +119,12 @@ bswap_16_array(uint16_t * src, unsigned count) } static void * -bswap_32_array(uint32_t * src, unsigned count) +bswap_32_array( uint32_t * src, unsigned count ) { - unsigned i; - - for (i = 0; i < count; i++) { - uint32_t temp = bswap_32(src[i]); + unsigned i; + for ( i = 0 ; i < count ; i++ ) { + uint32_t temp = bswap_32( src[i] ); src[i] = temp; } @@ -153,126 +132,119 @@ bswap_32_array(uint32_t * src, unsigned count) } static void * -bswap_64_array(uint64_t * src, unsigned count) +bswap_64_array( uint64_t * src, unsigned count ) { - unsigned i; - - for (i = 0; i < count; i++) { - uint64_t temp = bswap_64(src[i]); + unsigned i; + for ( i = 0 ; i < count ; i++ ) { + uint64_t temp = bswap_64( src[i] ); src[i] = temp; } return src; } -int -__glXDispSwap_NewList(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_NewList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_NewList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + if ( cx != NULL ) { + CALL_NewList( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_EndList(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_EndList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_EndList(GET_DISPATCH(), ()); + if ( cx != NULL ) { + CALL_EndList( GET_DISPATCH(), () ); error = Success; } return error; } -void -__glXDispSwap_CallList(GLbyte * pc) +void __glXDispSwap_CallList(GLbyte * pc) { - CALL_CallList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_CallList( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_CallLists(GLbyte * pc) +void __glXDispSwap_CallLists(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - const GLenum type = (GLenum) bswap_ENUM(pc + 4); - const GLvoid *lists; + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + const GLenum type = (GLenum )bswap_ENUM ( pc + 4 ); + const GLvoid * lists; - switch (type) { + switch(type) { case GL_BYTE: case GL_UNSIGNED_BYTE: case GL_2_BYTES: case GL_3_BYTES: case GL_4_BYTES: - lists = (const GLvoid *) (pc + 8); - break; + lists = (const GLvoid *) (pc + 8); break; case GL_SHORT: case GL_UNSIGNED_SHORT: - lists = (const GLvoid *) bswap_16_array((uint16_t *) (pc + 8), n); - break; + lists = (const GLvoid *) bswap_16_array( (uint16_t *) (pc + 8), n ); break; case GL_INT: case GL_UNSIGNED_INT: case GL_FLOAT: - lists = (const GLvoid *) bswap_32_array((uint32_t *) (pc + 8), n); - break; + lists = (const GLvoid *) bswap_32_array( (uint32_t *) (pc + 8), n ); break; default: return; } - CALL_CallLists(GET_DISPATCH(), (n, type, lists)); + CALL_CallLists( GET_DISPATCH(), ( + n, + type, + lists + ) ); } -int -__glXDispSwap_DeleteLists(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_DeleteLists(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_DeleteLists(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (GLsizei) bswap_CARD32(pc + 4) - )); + if ( cx != NULL ) { + CALL_DeleteLists( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (GLsizei )bswap_CARD32 ( pc + 4 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_GenLists(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GenLists(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLuint retval; - - retval = CALL_GenLists(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 0) - )); + retval = CALL_GenLists( GET_DISPATCH(), ( + (GLsizei )bswap_CARD32 ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -280,1757 +252,1648 @@ __glXDispSwap_GenLists(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_ListBase(GLbyte * pc) +void __glXDispSwap_ListBase(GLbyte * pc) { - CALL_ListBase(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_ListBase( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_Begin(GLbyte * pc) +void __glXDispSwap_Begin(GLbyte * pc) { - CALL_Begin(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_Begin( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_Bitmap(GLbyte * pc) +void __glXDispSwap_Bitmap(GLbyte * pc) { - const GLubyte *const bitmap = (const GLubyte *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLubyte * const bitmap = (const GLubyte *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_Bitmap(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 20), - (GLsizei) bswap_CARD32(pc + 24), - (GLfloat) bswap_FLOAT32(pc + 28), - (GLfloat) bswap_FLOAT32(pc + 32), - (GLfloat) bswap_FLOAT32(pc + 36), - (GLfloat) bswap_FLOAT32(pc + 40), bitmap)); + CALL_Bitmap( GET_DISPATCH(), ( + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLfloat )bswap_FLOAT32( pc + 28 ), + (GLfloat )bswap_FLOAT32( pc + 32 ), + (GLfloat )bswap_FLOAT32( pc + 36 ), + (GLfloat )bswap_FLOAT32( pc + 40 ), + bitmap + ) ); } -void -__glXDispSwap_Color3bv(GLbyte * pc) +void __glXDispSwap_Color3bv(GLbyte * pc) { - CALL_Color3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Color3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDispSwap_Color3dv(GLbyte * pc) +void __glXDispSwap_Color3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Color3dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 3) - )); + CALL_Color3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color3fv(GLbyte * pc) +void __glXDispSwap_Color3fv(GLbyte * pc) { - CALL_Color3fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Color3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color3iv(GLbyte * pc) +void __glXDispSwap_Color3iv(GLbyte * pc) { - CALL_Color3iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Color3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color3sv(GLbyte * pc) +void __glXDispSwap_Color3sv(GLbyte * pc) { - CALL_Color3sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_Color3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color3ubv(GLbyte * pc) +void __glXDispSwap_Color3ubv(GLbyte * pc) { - CALL_Color3ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Color3ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDispSwap_Color3uiv(GLbyte * pc) +void __glXDispSwap_Color3uiv(GLbyte * pc) { - CALL_Color3uiv(GET_DISPATCH(), ((const GLuint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Color3uiv( GET_DISPATCH(), ( + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color3usv(GLbyte * pc) +void __glXDispSwap_Color3usv(GLbyte * pc) { - CALL_Color3usv(GET_DISPATCH(), ((const GLushort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_Color3usv( GET_DISPATCH(), ( + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Color4bv(GLbyte * pc) +void __glXDispSwap_Color4bv(GLbyte * pc) { - CALL_Color4bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Color4bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDispSwap_Color4dv(GLbyte * pc) +void __glXDispSwap_Color4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Color4dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 4) - )); + CALL_Color4dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Color4fv(GLbyte * pc) +void __glXDispSwap_Color4fv(GLbyte * pc) { - CALL_Color4fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_Color4fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Color4iv(GLbyte * pc) +void __glXDispSwap_Color4iv(GLbyte * pc) { - CALL_Color4iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_Color4iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Color4sv(GLbyte * pc) +void __glXDispSwap_Color4sv(GLbyte * pc) { - CALL_Color4sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 4) - )); + CALL_Color4sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Color4ubv(GLbyte * pc) +void __glXDispSwap_Color4ubv(GLbyte * pc) { - CALL_Color4ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Color4ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDispSwap_Color4uiv(GLbyte * pc) +void __glXDispSwap_Color4uiv(GLbyte * pc) { - CALL_Color4uiv(GET_DISPATCH(), ((const GLuint *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_Color4uiv( GET_DISPATCH(), ( + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Color4usv(GLbyte * pc) +void __glXDispSwap_Color4usv(GLbyte * pc) { - CALL_Color4usv(GET_DISPATCH(), ((const GLushort *) - bswap_16_array((uint16_t *) (pc + 0), 4) - )); + CALL_Color4usv( GET_DISPATCH(), ( + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_EdgeFlagv(GLbyte * pc) +void __glXDispSwap_EdgeFlagv(GLbyte * pc) { - CALL_EdgeFlagv(GET_DISPATCH(), ((const GLboolean *) (pc + 0) - )); + CALL_EdgeFlagv( GET_DISPATCH(), ( + (const GLboolean *)(pc + 0) + ) ); } -void -__glXDispSwap_End(GLbyte * pc) +void __glXDispSwap_End(GLbyte * pc) { - CALL_End(GET_DISPATCH(), ()); + CALL_End( GET_DISPATCH(), () ); } -void -__glXDispSwap_Indexdv(GLbyte * pc) +void __glXDispSwap_Indexdv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_Indexdv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 1) - )); + CALL_Indexdv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_Indexfv(GLbyte * pc) +void __glXDispSwap_Indexfv(GLbyte * pc) { - CALL_Indexfv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + CALL_Indexfv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_Indexiv(GLbyte * pc) +void __glXDispSwap_Indexiv(GLbyte * pc) { - CALL_Indexiv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + CALL_Indexiv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_Indexsv(GLbyte * pc) +void __glXDispSwap_Indexsv(GLbyte * pc) { - CALL_Indexsv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 1) - )); + CALL_Indexsv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_Normal3bv(GLbyte * pc) +void __glXDispSwap_Normal3bv(GLbyte * pc) { - CALL_Normal3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_Normal3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); } -void -__glXDispSwap_Normal3dv(GLbyte * pc) +void __glXDispSwap_Normal3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Normal3dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 3) - )); + CALL_Normal3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Normal3fv(GLbyte * pc) +void __glXDispSwap_Normal3fv(GLbyte * pc) { - CALL_Normal3fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Normal3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Normal3iv(GLbyte * pc) +void __glXDispSwap_Normal3iv(GLbyte * pc) { - CALL_Normal3iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Normal3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Normal3sv(GLbyte * pc) +void __glXDispSwap_Normal3sv(GLbyte * pc) { - CALL_Normal3sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_Normal3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_RasterPos2dv(GLbyte * pc) +void __glXDispSwap_RasterPos2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_RasterPos2dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 2) - )); + CALL_RasterPos2dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_RasterPos2fv(GLbyte * pc) +void __glXDispSwap_RasterPos2fv(GLbyte * pc) { - CALL_RasterPos2fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_RasterPos2fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_RasterPos2iv(GLbyte * pc) +void __glXDispSwap_RasterPos2iv(GLbyte * pc) { - CALL_RasterPos2iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_RasterPos2iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_RasterPos2sv(GLbyte * pc) +void __glXDispSwap_RasterPos2sv(GLbyte * pc) { - CALL_RasterPos2sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 2) - )); + CALL_RasterPos2sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_RasterPos3dv(GLbyte * pc) +void __glXDispSwap_RasterPos3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_RasterPos3dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 3) - )); + CALL_RasterPos3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_RasterPos3fv(GLbyte * pc) +void __glXDispSwap_RasterPos3fv(GLbyte * pc) { - CALL_RasterPos3fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_RasterPos3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_RasterPos3iv(GLbyte * pc) +void __glXDispSwap_RasterPos3iv(GLbyte * pc) { - CALL_RasterPos3iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_RasterPos3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_RasterPos3sv(GLbyte * pc) +void __glXDispSwap_RasterPos3sv(GLbyte * pc) { - CALL_RasterPos3sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_RasterPos3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_RasterPos4dv(GLbyte * pc) +void __glXDispSwap_RasterPos4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_RasterPos4dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 4) - )); + CALL_RasterPos4dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_RasterPos4fv(GLbyte * pc) +void __glXDispSwap_RasterPos4fv(GLbyte * pc) { - CALL_RasterPos4fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_RasterPos4fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_RasterPos4iv(GLbyte * pc) +void __glXDispSwap_RasterPos4iv(GLbyte * pc) { - CALL_RasterPos4iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_RasterPos4iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_RasterPos4sv(GLbyte * pc) +void __glXDispSwap_RasterPos4sv(GLbyte * pc) { - CALL_RasterPos4sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 4) - )); + CALL_RasterPos4sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Rectdv(GLbyte * pc) +void __glXDispSwap_Rectdv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Rectdv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 2), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + 16), 2) - )); + CALL_Rectdv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 16), 2 ) + ) ); } -void -__glXDispSwap_Rectfv(GLbyte * pc) +void __glXDispSwap_Rectfv(GLbyte * pc) { - CALL_Rectfv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 2), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + 8), 2) - )); + CALL_Rectfv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 2 ) + ) ); } -void -__glXDispSwap_Rectiv(GLbyte * pc) +void __glXDispSwap_Rectiv(GLbyte * pc) { - CALL_Rectiv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 2), - (const GLint *) - bswap_32_array((uint32_t *) (pc + 8), 2) - )); + CALL_Rectiv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 8), 2 ) + ) ); } -void -__glXDispSwap_Rectsv(GLbyte * pc) +void __glXDispSwap_Rectsv(GLbyte * pc) { - CALL_Rectsv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 2), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + 4), 2) - )); + CALL_Rectsv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_TexCoord1dv(GLbyte * pc) +void __glXDispSwap_TexCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_TexCoord1dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 1) - )); + CALL_TexCoord1dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_TexCoord1fv(GLbyte * pc) +void __glXDispSwap_TexCoord1fv(GLbyte * pc) { - CALL_TexCoord1fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + CALL_TexCoord1fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_TexCoord1iv(GLbyte * pc) +void __glXDispSwap_TexCoord1iv(GLbyte * pc) { - CALL_TexCoord1iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + CALL_TexCoord1iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_TexCoord1sv(GLbyte * pc) +void __glXDispSwap_TexCoord1sv(GLbyte * pc) { - CALL_TexCoord1sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 1) - )); + CALL_TexCoord1sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_TexCoord2dv(GLbyte * pc) +void __glXDispSwap_TexCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_TexCoord2dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 2) - )); + CALL_TexCoord2dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_TexCoord2fv(GLbyte * pc) +void __glXDispSwap_TexCoord2fv(GLbyte * pc) { - CALL_TexCoord2fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_TexCoord2fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_TexCoord2iv(GLbyte * pc) +void __glXDispSwap_TexCoord2iv(GLbyte * pc) { - CALL_TexCoord2iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_TexCoord2iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_TexCoord2sv(GLbyte * pc) +void __glXDispSwap_TexCoord2sv(GLbyte * pc) { - CALL_TexCoord2sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 2) - )); + CALL_TexCoord2sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_TexCoord3dv(GLbyte * pc) +void __glXDispSwap_TexCoord3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_TexCoord3dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 3) - )); + CALL_TexCoord3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_TexCoord3fv(GLbyte * pc) +void __glXDispSwap_TexCoord3fv(GLbyte * pc) { - CALL_TexCoord3fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_TexCoord3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_TexCoord3iv(GLbyte * pc) +void __glXDispSwap_TexCoord3iv(GLbyte * pc) { - CALL_TexCoord3iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_TexCoord3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_TexCoord3sv(GLbyte * pc) +void __glXDispSwap_TexCoord3sv(GLbyte * pc) { - CALL_TexCoord3sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_TexCoord3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_TexCoord4dv(GLbyte * pc) +void __glXDispSwap_TexCoord4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_TexCoord4dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 4) - )); + CALL_TexCoord4dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_TexCoord4fv(GLbyte * pc) +void __glXDispSwap_TexCoord4fv(GLbyte * pc) { - CALL_TexCoord4fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_TexCoord4fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_TexCoord4iv(GLbyte * pc) +void __glXDispSwap_TexCoord4iv(GLbyte * pc) { - CALL_TexCoord4iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_TexCoord4iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_TexCoord4sv(GLbyte * pc) +void __glXDispSwap_TexCoord4sv(GLbyte * pc) { - CALL_TexCoord4sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 4) - )); + CALL_TexCoord4sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Vertex2dv(GLbyte * pc) +void __glXDispSwap_Vertex2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_Vertex2dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 2) - )); + CALL_Vertex2dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_Vertex2fv(GLbyte * pc) +void __glXDispSwap_Vertex2fv(GLbyte * pc) { - CALL_Vertex2fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_Vertex2fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_Vertex2iv(GLbyte * pc) +void __glXDispSwap_Vertex2iv(GLbyte * pc) { - CALL_Vertex2iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_Vertex2iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_Vertex2sv(GLbyte * pc) +void __glXDispSwap_Vertex2sv(GLbyte * pc) { - CALL_Vertex2sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 2) - )); + CALL_Vertex2sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_Vertex3dv(GLbyte * pc) +void __glXDispSwap_Vertex3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Vertex3dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 3) - )); + CALL_Vertex3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Vertex3fv(GLbyte * pc) +void __glXDispSwap_Vertex3fv(GLbyte * pc) { - CALL_Vertex3fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Vertex3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Vertex3iv(GLbyte * pc) +void __glXDispSwap_Vertex3iv(GLbyte * pc) { - CALL_Vertex3iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 3) - )); + CALL_Vertex3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Vertex3sv(GLbyte * pc) +void __glXDispSwap_Vertex3sv(GLbyte * pc) { - CALL_Vertex3sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 3) - )); + CALL_Vertex3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_Vertex4dv(GLbyte * pc) +void __glXDispSwap_Vertex4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Vertex4dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 4) - )); + CALL_Vertex4dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Vertex4fv(GLbyte * pc) +void __glXDispSwap_Vertex4fv(GLbyte * pc) { - CALL_Vertex4fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_Vertex4fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Vertex4iv(GLbyte * pc) +void __glXDispSwap_Vertex4iv(GLbyte * pc) { - CALL_Vertex4iv(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + 0), 4) - )); + CALL_Vertex4iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_Vertex4sv(GLbyte * pc) +void __glXDispSwap_Vertex4sv(GLbyte * pc) { - CALL_Vertex4sv(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + 0), 4) - )); + CALL_Vertex4sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_ClipPlane(GLbyte * pc) +void __glXDispSwap_ClipPlane(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_ClipPlane(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 32), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 4) - )); + CALL_ClipPlane( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 32 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_ColorMaterial(GLbyte * pc) +void __glXDispSwap_ColorMaterial(GLbyte * pc) { - CALL_ColorMaterial(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + CALL_ColorMaterial( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_CullFace(GLbyte * pc) +void __glXDispSwap_CullFace(GLbyte * pc) { - CALL_CullFace(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_CullFace( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_Fogf(GLbyte * pc) +void __glXDispSwap_Fogf(GLbyte * pc) { - CALL_Fogf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_Fogf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_Fogfv(GLbyte * pc) +void __glXDispSwap_Fogfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4), - __glFogfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glFogfv_size(pname) ); - CALL_Fogfv(GET_DISPATCH(), (pname, params)); + CALL_Fogfv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDispSwap_Fogi(GLbyte * pc) +void __glXDispSwap_Fogi(GLbyte * pc) { - CALL_Fogi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + CALL_Fogi( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); } -void -__glXDispSwap_Fogiv(GLbyte * pc) +void __glXDispSwap_Fogiv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 4), - __glFogiv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glFogiv_size(pname) ); - CALL_Fogiv(GET_DISPATCH(), (pname, params)); + CALL_Fogiv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDispSwap_FrontFace(GLbyte * pc) +void __glXDispSwap_FrontFace(GLbyte * pc) { - CALL_FrontFace(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_FrontFace( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_Hint(GLbyte * pc) +void __glXDispSwap_Hint(GLbyte * pc) { - CALL_Hint(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + CALL_Hint( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_Lightf(GLbyte * pc) +void __glXDispSwap_Lightf(GLbyte * pc) { - CALL_Lightf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_Lightf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_Lightfv(GLbyte * pc) +void __glXDispSwap_Lightfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glLightfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glLightfv_size(pname) ); - CALL_Lightfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_Lightfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_Lighti(GLbyte * pc) +void __glXDispSwap_Lighti(GLbyte * pc) { - CALL_Lighti(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_Lighti( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_Lightiv(GLbyte * pc) +void __glXDispSwap_Lightiv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glLightiv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glLightiv_size(pname) ); - CALL_Lightiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_Lightiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_LightModelf(GLbyte * pc) +void __glXDispSwap_LightModelf(GLbyte * pc) { - CALL_LightModelf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_LightModelf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_LightModelfv(GLbyte * pc) +void __glXDispSwap_LightModelfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4), - __glLightModelfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glLightModelfv_size(pname) ); - CALL_LightModelfv(GET_DISPATCH(), (pname, params)); + CALL_LightModelfv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDispSwap_LightModeli(GLbyte * pc) +void __glXDispSwap_LightModeli(GLbyte * pc) { - CALL_LightModeli(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + CALL_LightModeli( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); } -void -__glXDispSwap_LightModeliv(GLbyte * pc) +void __glXDispSwap_LightModeliv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 4), - __glLightModeliv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glLightModeliv_size(pname) ); - CALL_LightModeliv(GET_DISPATCH(), (pname, params)); + CALL_LightModeliv( GET_DISPATCH(), ( + pname, + params + ) ); } -void -__glXDispSwap_LineStipple(GLbyte * pc) +void __glXDispSwap_LineStipple(GLbyte * pc) { - CALL_LineStipple(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLushort) bswap_CARD16(pc + 4) - )); + CALL_LineStipple( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLushort)bswap_CARD16 ( pc + 4 ) + ) ); } -void -__glXDispSwap_LineWidth(GLbyte * pc) +void __glXDispSwap_LineWidth(GLbyte * pc) { - CALL_LineWidth(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0) - )); + CALL_LineWidth( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ) + ) ); } -void -__glXDispSwap_Materialf(GLbyte * pc) +void __glXDispSwap_Materialf(GLbyte * pc) { - CALL_Materialf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_Materialf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_Materialfv(GLbyte * pc) +void __glXDispSwap_Materialfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glMaterialfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glMaterialfv_size(pname) ); - CALL_Materialfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_Materialfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_Materiali(GLbyte * pc) +void __glXDispSwap_Materiali(GLbyte * pc) { - CALL_Materiali(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_Materiali( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_Materialiv(GLbyte * pc) +void __glXDispSwap_Materialiv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glMaterialiv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glMaterialiv_size(pname) ); - CALL_Materialiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_Materialiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_PointSize(GLbyte * pc) +void __glXDispSwap_PointSize(GLbyte * pc) { - CALL_PointSize(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0) - )); + CALL_PointSize( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ) + ) ); } -void -__glXDispSwap_PolygonMode(GLbyte * pc) +void __glXDispSwap_PolygonMode(GLbyte * pc) { - CALL_PolygonMode(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + CALL_PolygonMode( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_PolygonStipple(GLbyte * pc) +void __glXDispSwap_PolygonStipple(GLbyte * pc) { - const GLubyte *const mask = (const GLubyte *) ((pc + 20)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLubyte * const mask = (const GLubyte *) (pc + 20); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_PolygonStipple(GET_DISPATCH(), (mask)); + CALL_PolygonStipple( GET_DISPATCH(), ( + mask + ) ); } -void -__glXDispSwap_Scissor(GLbyte * pc) +void __glXDispSwap_Scissor(GLbyte * pc) { - CALL_Scissor(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLsizei) bswap_CARD32(pc + 8), - (GLsizei) bswap_CARD32(pc + 12) - )); + CALL_Scissor( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLsizei )bswap_CARD32 ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ) + ) ); } -void -__glXDispSwap_ShadeModel(GLbyte * pc) +void __glXDispSwap_ShadeModel(GLbyte * pc) { - CALL_ShadeModel(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_ShadeModel( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_TexParameterf(GLbyte * pc) +void __glXDispSwap_TexParameterf(GLbyte * pc) { - CALL_TexParameterf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_TexParameterf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_TexParameterfv(GLbyte * pc) +void __glXDispSwap_TexParameterfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glTexParameterfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexParameterfv_size(pname) ); - CALL_TexParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_TexParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexParameteri(GLbyte * pc) +void __glXDispSwap_TexParameteri(GLbyte * pc) { - CALL_TexParameteri(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_TexParameteri( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_TexParameteriv(GLbyte * pc) +void __glXDispSwap_TexParameteriv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glTexParameteriv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexParameteriv_size(pname) ); - CALL_TexParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_TexParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexImage1D(GLbyte * pc) +void __glXDispSwap_TexImage1D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 52)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_TexImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28), - (GLsizei) bswap_CARD32(pc + 32), - (GLint) bswap_CARD32(pc + 40), - (GLenum) bswap_ENUM(pc + 44), - (GLenum) bswap_ENUM(pc + 48), pixels)); + CALL_TexImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ), + (GLsizei )bswap_CARD32 ( pc + 32 ), + (GLint )bswap_CARD32 ( pc + 40 ), + (GLenum )bswap_ENUM ( pc + 44 ), + (GLenum )bswap_ENUM ( pc + 48 ), + pixels + ) ); } -void -__glXDispSwap_TexImage2D(GLbyte * pc) +void __glXDispSwap_TexImage2D(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 52)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_TexImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28), - (GLsizei) bswap_CARD32(pc + 32), - (GLsizei) bswap_CARD32(pc + 36), - (GLint) bswap_CARD32(pc + 40), - (GLenum) bswap_ENUM(pc + 44), - (GLenum) bswap_ENUM(pc + 48), pixels)); + CALL_TexImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ), + (GLsizei )bswap_CARD32 ( pc + 32 ), + (GLsizei )bswap_CARD32 ( pc + 36 ), + (GLint )bswap_CARD32 ( pc + 40 ), + (GLenum )bswap_ENUM ( pc + 44 ), + (GLenum )bswap_ENUM ( pc + 48 ), + pixels + ) ); } -void -__glXDispSwap_TexEnvf(GLbyte * pc) +void __glXDispSwap_TexEnvf(GLbyte * pc) { - CALL_TexEnvf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_TexEnvf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_TexEnvfv(GLbyte * pc) +void __glXDispSwap_TexEnvfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glTexEnvfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexEnvfv_size(pname) ); - CALL_TexEnvfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_TexEnvfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexEnvi(GLbyte * pc) +void __glXDispSwap_TexEnvi(GLbyte * pc) { - CALL_TexEnvi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_TexEnvi( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_TexEnviv(GLbyte * pc) +void __glXDispSwap_TexEnviv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glTexEnviv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexEnviv_size(pname) ); - CALL_TexEnviv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_TexEnviv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexGend(GLbyte * pc) +void __glXDispSwap_TexGend(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_TexGend(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 8), - (GLenum) bswap_ENUM(pc + 12), - (GLdouble) bswap_FLOAT64(pc + 0) - )); + CALL_TexGend( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 8 ), + (GLenum )bswap_ENUM ( pc + 12 ), + (GLdouble)bswap_FLOAT64( pc + 0 ) + ) ); } -void -__glXDispSwap_TexGendv(GLbyte * pc) +void __glXDispSwap_TexGendv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLdouble *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLdouble * params; #ifdef __GLX_ALIGN64 const GLuint compsize = __glTexGendv_size(pname); const GLuint cmdlen = 12 + __GLX_PAD((compsize * 8)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - params = - (const GLdouble *) bswap_64_array((uint64_t *) (pc + 8), - __glTexGendv_size(pname)); + params = (const GLdouble *) bswap_64_array( (uint64_t *) (pc + 8), __glTexGendv_size(pname) ); - CALL_TexGendv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_TexGendv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexGenf(GLbyte * pc) +void __glXDispSwap_TexGenf(GLbyte * pc) { - CALL_TexGenf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_TexGenf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_TexGenfv(GLbyte * pc) +void __glXDispSwap_TexGenfv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glTexGenfv_size(pname)); + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexGenfv_size(pname) ); - CALL_TexGenfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_TexGenfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_TexGeni(GLbyte * pc) +void __glXDispSwap_TexGeni(GLbyte * pc) { - CALL_TexGeni(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_TexGeni( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_TexGeniv(GLbyte * pc) +void __glXDispSwap_TexGeniv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glTexGeniv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexGeniv_size(pname) ); - CALL_TexGeniv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params)); + CALL_TexGeniv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_InitNames(GLbyte * pc) +void __glXDispSwap_InitNames(GLbyte * pc) { - CALL_InitNames(GET_DISPATCH(), ()); + CALL_InitNames( GET_DISPATCH(), () ); } -void -__glXDispSwap_LoadName(GLbyte * pc) +void __glXDispSwap_LoadName(GLbyte * pc) { - CALL_LoadName(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_LoadName( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_PassThrough(GLbyte * pc) +void __glXDispSwap_PassThrough(GLbyte * pc) { - CALL_PassThrough(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0) - )); + CALL_PassThrough( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ) + ) ); } -void -__glXDispSwap_PopName(GLbyte * pc) +void __glXDispSwap_PopName(GLbyte * pc) { - CALL_PopName(GET_DISPATCH(), ()); + CALL_PopName( GET_DISPATCH(), () ); } -void -__glXDispSwap_PushName(GLbyte * pc) +void __glXDispSwap_PushName(GLbyte * pc) { - CALL_PushName(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_PushName( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_DrawBuffer(GLbyte * pc) +void __glXDispSwap_DrawBuffer(GLbyte * pc) { - CALL_DrawBuffer(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_DrawBuffer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_Clear(GLbyte * pc) +void __glXDispSwap_Clear(GLbyte * pc) { - CALL_Clear(GET_DISPATCH(), ((GLbitfield) bswap_CARD32(pc + 0) - )); + CALL_Clear( GET_DISPATCH(), ( + (GLbitfield)bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_ClearAccum(GLbyte * pc) +void __glXDispSwap_ClearAccum(GLbyte * pc) { - CALL_ClearAccum(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8), - (GLfloat) bswap_FLOAT32(pc + 12) - )); + CALL_ClearAccum( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ), + (GLfloat )bswap_FLOAT32( pc + 12 ) + ) ); } -void -__glXDispSwap_ClearIndex(GLbyte * pc) +void __glXDispSwap_ClearIndex(GLbyte * pc) { - CALL_ClearIndex(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0) - )); + CALL_ClearIndex( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ) + ) ); } -void -__glXDispSwap_ClearColor(GLbyte * pc) +void __glXDispSwap_ClearColor(GLbyte * pc) { - CALL_ClearColor(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0), - (GLclampf) bswap_FLOAT32(pc + 4), - (GLclampf) bswap_FLOAT32(pc + 8), - (GLclampf) bswap_FLOAT32(pc + 12) - )); + CALL_ClearColor( GET_DISPATCH(), ( + (GLclampf)bswap_FLOAT32( pc + 0 ), + (GLclampf)bswap_FLOAT32( pc + 4 ), + (GLclampf)bswap_FLOAT32( pc + 8 ), + (GLclampf)bswap_FLOAT32( pc + 12 ) + ) ); } -void -__glXDispSwap_ClearStencil(GLbyte * pc) +void __glXDispSwap_ClearStencil(GLbyte * pc) { - CALL_ClearStencil(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0) - )); + CALL_ClearStencil( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_ClearDepth(GLbyte * pc) +void __glXDispSwap_ClearDepth(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_ClearDepth(GET_DISPATCH(), ((GLclampd) bswap_FLOAT64(pc + 0) - )); + CALL_ClearDepth( GET_DISPATCH(), ( + (GLclampd)bswap_FLOAT64( pc + 0 ) + ) ); } -void -__glXDispSwap_StencilMask(GLbyte * pc) +void __glXDispSwap_StencilMask(GLbyte * pc) { - CALL_StencilMask(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_StencilMask( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_ColorMask(GLbyte * pc) +void __glXDispSwap_ColorMask(GLbyte * pc) { - CALL_ColorMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0), - *(GLboolean *) (pc + 1), - *(GLboolean *) (pc + 2), - *(GLboolean *) (pc + 3) - )); + CALL_ColorMask( GET_DISPATCH(), ( + *(GLboolean *)(pc + 0), + *(GLboolean *)(pc + 1), + *(GLboolean *)(pc + 2), + *(GLboolean *)(pc + 3) + ) ); } -void -__glXDispSwap_DepthMask(GLbyte * pc) +void __glXDispSwap_DepthMask(GLbyte * pc) { - CALL_DepthMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0) - )); + CALL_DepthMask( GET_DISPATCH(), ( + *(GLboolean *)(pc + 0) + ) ); } -void -__glXDispSwap_IndexMask(GLbyte * pc) +void __glXDispSwap_IndexMask(GLbyte * pc) { - CALL_IndexMask(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + CALL_IndexMask( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_Accum(GLbyte * pc) +void __glXDispSwap_Accum(GLbyte * pc) { - CALL_Accum(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_Accum( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_Disable(GLbyte * pc) +void __glXDispSwap_Disable(GLbyte * pc) { - CALL_Disable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_Disable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_Enable(GLbyte * pc) +void __glXDispSwap_Enable(GLbyte * pc) { - CALL_Enable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_Enable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_PopAttrib(GLbyte * pc) +void __glXDispSwap_PopAttrib(GLbyte * pc) { - CALL_PopAttrib(GET_DISPATCH(), ()); + CALL_PopAttrib( GET_DISPATCH(), () ); } -void -__glXDispSwap_PushAttrib(GLbyte * pc) +void __glXDispSwap_PushAttrib(GLbyte * pc) { - CALL_PushAttrib(GET_DISPATCH(), ((GLbitfield) bswap_CARD32(pc + 0) - )); + CALL_PushAttrib( GET_DISPATCH(), ( + (GLbitfield)bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_MapGrid1d(GLbyte * pc) +void __glXDispSwap_MapGrid1d(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_MapGrid1d(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 16), - (GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8) - )); + CALL_MapGrid1d( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 16 ), + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ) + ) ); } -void -__glXDispSwap_MapGrid1f(GLbyte * pc) +void __glXDispSwap_MapGrid1f(GLbyte * pc) { - CALL_MapGrid1f(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_MapGrid1f( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_MapGrid2d(GLbyte * pc) +void __glXDispSwap_MapGrid2d(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); pc -= 4; } #endif - CALL_MapGrid2d(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 32), - (GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLint) bswap_CARD32(pc + 36), - (GLdouble) bswap_FLOAT64(pc + 16), - (GLdouble) bswap_FLOAT64(pc + 24) - )); + CALL_MapGrid2d( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 32 ), + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 36 ), + (GLdouble)bswap_FLOAT64( pc + 16 ), + (GLdouble)bswap_FLOAT64( pc + 24 ) + ) ); } -void -__glXDispSwap_MapGrid2f(GLbyte * pc) +void __glXDispSwap_MapGrid2f(GLbyte * pc) { - CALL_MapGrid2f(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLfloat) bswap_FLOAT32(pc + 16), - (GLfloat) bswap_FLOAT32(pc + 20) - )); + CALL_MapGrid2f( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLfloat )bswap_FLOAT32( pc + 16 ), + (GLfloat )bswap_FLOAT32( pc + 20 ) + ) ); } -void -__glXDispSwap_EvalCoord1dv(GLbyte * pc) +void __glXDispSwap_EvalCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); pc -= 4; } #endif - CALL_EvalCoord1dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 1) - )); + CALL_EvalCoord1dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_EvalCoord1fv(GLbyte * pc) +void __glXDispSwap_EvalCoord1fv(GLbyte * pc) { - CALL_EvalCoord1fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + CALL_EvalCoord1fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_EvalCoord2dv(GLbyte * pc) +void __glXDispSwap_EvalCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_EvalCoord2dv(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 2) - )); + CALL_EvalCoord2dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_EvalCoord2fv(GLbyte * pc) +void __glXDispSwap_EvalCoord2fv(GLbyte * pc) { - CALL_EvalCoord2fv(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 2) - )); + CALL_EvalCoord2fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_EvalMesh1(GLbyte * pc) +void __glXDispSwap_EvalMesh1(GLbyte * pc) { - CALL_EvalMesh1(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_EvalMesh1( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_EvalPoint1(GLbyte * pc) +void __glXDispSwap_EvalPoint1(GLbyte * pc) { - CALL_EvalPoint1(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0) - )); + CALL_EvalPoint1( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ) + ) ); } -void -__glXDispSwap_EvalMesh2(GLbyte * pc) +void __glXDispSwap_EvalMesh2(GLbyte * pc) { - CALL_EvalMesh2(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16) - )); + CALL_EvalMesh2( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ) + ) ); } -void -__glXDispSwap_EvalPoint2(GLbyte * pc) +void __glXDispSwap_EvalPoint2(GLbyte * pc) { - CALL_EvalPoint2(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + CALL_EvalPoint2( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); } -void -__glXDispSwap_AlphaFunc(GLbyte * pc) +void __glXDispSwap_AlphaFunc(GLbyte * pc) { - CALL_AlphaFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLclampf) bswap_FLOAT32(pc + 4) - )); + CALL_AlphaFunc( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLclampf)bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_BlendFunc(GLbyte * pc) +void __glXDispSwap_BlendFunc(GLbyte * pc) { - CALL_BlendFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + CALL_BlendFunc( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_LogicOp(GLbyte * pc) +void __glXDispSwap_LogicOp(GLbyte * pc) { - CALL_LogicOp(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_LogicOp( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_StencilFunc(GLbyte * pc) +void __glXDispSwap_StencilFunc(GLbyte * pc) { - CALL_StencilFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLuint) bswap_CARD32(pc + 8) - )); + CALL_StencilFunc( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLuint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_StencilOp(GLbyte * pc) +void __glXDispSwap_StencilOp(GLbyte * pc) { - CALL_StencilOp(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLenum) bswap_ENUM(pc + 8) - )); + CALL_StencilOp( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ) + ) ); } -void -__glXDispSwap_DepthFunc(GLbyte * pc) +void __glXDispSwap_DepthFunc(GLbyte * pc) { - CALL_DepthFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_DepthFunc( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_PixelZoom(GLbyte * pc) +void __glXDispSwap_PixelZoom(GLbyte * pc) { - CALL_PixelZoom(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_PixelZoom( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_PixelTransferf(GLbyte * pc) +void __glXDispSwap_PixelTransferf(GLbyte * pc) { - CALL_PixelTransferf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_PixelTransferf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -void -__glXDispSwap_PixelTransferi(GLbyte * pc) +void __glXDispSwap_PixelTransferi(GLbyte * pc) { - CALL_PixelTransferi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + CALL_PixelTransferi( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); } -int -__glXDispSwap_PixelStoref(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_PixelStoref(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_PixelStoref(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + if ( cx != NULL ) { + CALL_PixelStoref( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_PixelStorei(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_PixelStorei(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - CALL_PixelStorei(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + if ( cx != NULL ) { + CALL_PixelStorei( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); error = Success; } return error; } -void -__glXDispSwap_PixelMapfv(GLbyte * pc) +void __glXDispSwap_PixelMapfv(GLbyte * pc) { - const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_PixelMapfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - mapsize, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + 8), 0) - )); + CALL_PixelMapfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + mapsize, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_PixelMapuiv(GLbyte * pc) +void __glXDispSwap_PixelMapuiv(GLbyte * pc) { - const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_PixelMapuiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - mapsize, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + 8), 0) - )); + CALL_PixelMapuiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + mapsize, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_PixelMapusv(GLbyte * pc) +void __glXDispSwap_PixelMapusv(GLbyte * pc) { - const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_PixelMapusv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - mapsize, - (const GLushort *) - bswap_16_array((uint16_t *) (pc + 8), 0) - )); + CALL_PixelMapusv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + mapsize, + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_ReadBuffer(GLbyte * pc) +void __glXDispSwap_ReadBuffer(GLbyte * pc) { - CALL_ReadBuffer(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_ReadBuffer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_CopyPixels(GLbyte * pc) +void __glXDispSwap_CopyPixels(GLbyte * pc) { - CALL_CopyPixels(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLsizei) bswap_CARD32(pc + 8), - (GLsizei) bswap_CARD32(pc + 12), - (GLenum) bswap_ENUM(pc + 16) - )); + CALL_CopyPixels( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLsizei )bswap_CARD32 ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLenum )bswap_ENUM ( pc + 16 ) + ) ); } -void -__glXDispSwap_DrawPixels(GLbyte * pc) +void __glXDispSwap_DrawPixels(GLbyte * pc) { - const GLvoid *const pixels = (const GLvoid *) ((pc + 36)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const pixels = (const GLvoid *) (pc + 36); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_DrawPixels(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 20), - (GLsizei) bswap_CARD32(pc + 24), - (GLenum) bswap_ENUM(pc + 28), - (GLenum) bswap_ENUM(pc + 32), pixels)); + CALL_DrawPixels( GET_DISPATCH(), ( + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLenum )bswap_ENUM ( pc + 28 ), + (GLenum )bswap_ENUM ( pc + 32 ), + pixels + ) ); } -int -__glXDispSwap_GetBooleanv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetBooleanv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetBooleanv_size(pname); GLboolean answerBuffer[200]; - GLboolean *params = - __glXGetAnswerBuffer(cl, compsize, answerBuffer, - sizeof(answerBuffer), 1); + GLboolean * params = __glXGetAnswerBuffer(cl, compsize, answerBuffer, sizeof(answerBuffer), 1); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetBooleanv(GET_DISPATCH(), (pname, params)); + CALL_GetBooleanv( GET_DISPATCH(), ( + pname, + params + ) ); __glXSendReplySwap(cl->client, params, compsize, 1, GL_FALSE, 0); error = Success; } @@ -2038,21 +1901,20 @@ __glXDispSwap_GetBooleanv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetClipPlane(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetClipPlane(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLdouble equation[4]; - - CALL_GetClipPlane(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - equation)); - (void) bswap_64_array((uint64_t *) equation, 4); + CALL_GetClipPlane( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + equation + ) ); + (void) bswap_64_array( (uint64_t *) equation, 4 ); __glXSendReplySwap(cl->client, equation, 4, 8, GL_TRUE, 0); error = Success; } @@ -2060,30 +1922,28 @@ __glXDispSwap_GetClipPlane(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetDoublev(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetDoublev(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetDoublev_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetDoublev(GET_DISPATCH(), (pname, params)); - (void) bswap_64_array((uint64_t *) params, compsize); + CALL_GetDoublev( GET_DISPATCH(), ( + pname, + params + ) ); + (void) bswap_64_array( (uint64_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -2091,19 +1951,16 @@ __glXDispSwap_GetDoublev(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetError(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetError(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLenum retval; - - retval = CALL_GetError(GET_DISPATCH(), ()); + retval = CALL_GetError( GET_DISPATCH(), () ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2111,30 +1968,28 @@ __glXDispSwap_GetError(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetFloatv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetFloatv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetFloatv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetFloatv(GET_DISPATCH(), (pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetFloatv( GET_DISPATCH(), ( + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2142,30 +1997,28 @@ __glXDispSwap_GetFloatv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetIntegerv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetIntegerv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetIntegerv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetIntegerv(GET_DISPATCH(), (pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetIntegerv( GET_DISPATCH(), ( + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2173,31 +2026,29 @@ __glXDispSwap_GetIntegerv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetLightfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetLightfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetLightfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetLightfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetLightfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2205,31 +2056,29 @@ __glXDispSwap_GetLightfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetLightiv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetLightiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetLightiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetLightiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetLightiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2237,31 +2086,30 @@ __glXDispSwap_GetLightiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMapdv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMapdv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = (GLenum) bswap_ENUM(pc + 0); - const GLenum query = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum target = (GLenum )bswap_ENUM ( pc + 0 ); + const GLenum query = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetMapdv_size(target, query); + const GLuint compsize = __glGetMapdv_size(target,query); GLdouble answerBuffer[200]; - GLdouble *v = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * v = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapdv(GET_DISPATCH(), (target, query, v)); - (void) bswap_64_array((uint64_t *) v, compsize); + CALL_GetMapdv( GET_DISPATCH(), ( + target, + query, + v + ) ); + (void) bswap_64_array( (uint64_t *) v, compsize ); __glXSendReplySwap(cl->client, v, compsize, 8, GL_FALSE, 0); error = Success; } @@ -2269,31 +2117,30 @@ __glXDispSwap_GetMapdv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMapfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMapfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = (GLenum) bswap_ENUM(pc + 0); - const GLenum query = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum target = (GLenum )bswap_ENUM ( pc + 0 ); + const GLenum query = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetMapfv_size(target, query); + const GLuint compsize = __glGetMapfv_size(target,query); GLfloat answerBuffer[200]; - GLfloat *v = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapfv(GET_DISPATCH(), (target, query, v)); - (void) bswap_32_array((uint32_t *) v, compsize); + CALL_GetMapfv( GET_DISPATCH(), ( + target, + query, + v + ) ); + (void) bswap_32_array( (uint32_t *) v, compsize ); __glXSendReplySwap(cl->client, v, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2301,31 +2148,30 @@ __glXDispSwap_GetMapfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMapiv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMapiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum target = (GLenum) bswap_ENUM(pc + 0); - const GLenum query = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum target = (GLenum )bswap_ENUM ( pc + 0 ); + const GLenum query = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetMapiv_size(target, query); + const GLuint compsize = __glGetMapiv_size(target,query); GLint answerBuffer[200]; - GLint *v = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (v == NULL) - return BadAlloc; + if (v == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMapiv(GET_DISPATCH(), (target, query, v)); - (void) bswap_32_array((uint32_t *) v, compsize); + CALL_GetMapiv( GET_DISPATCH(), ( + target, + query, + v + ) ); + (void) bswap_32_array( (uint32_t *) v, compsize ); __glXSendReplySwap(cl->client, v, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2333,31 +2179,29 @@ __glXDispSwap_GetMapiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMaterialfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMaterialfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMaterialfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMaterialfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMaterialfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2365,31 +2209,29 @@ __glXDispSwap_GetMaterialfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMaterialiv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMaterialiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMaterialiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMaterialiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMaterialiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2397,30 +2239,28 @@ __glXDispSwap_GetMaterialiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum map = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetPixelMapfv_size(map); GLfloat answerBuffer[200]; - GLfloat *values = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapfv(GET_DISPATCH(), (map, values)); - (void) bswap_32_array((uint32_t *) values, compsize); + CALL_GetPixelMapfv( GET_DISPATCH(), ( + map, + values + ) ); + (void) bswap_32_array( (uint32_t *) values, compsize ); __glXSendReplySwap(cl->client, values, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2428,30 +2268,28 @@ __glXDispSwap_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum map = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetPixelMapuiv_size(map); GLuint answerBuffer[200]; - GLuint *values = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLuint * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapuiv(GET_DISPATCH(), (map, values)); - (void) bswap_32_array((uint32_t *) values, compsize); + CALL_GetPixelMapuiv( GET_DISPATCH(), ( + map, + values + ) ); + (void) bswap_32_array( (uint32_t *) values, compsize ); __glXSendReplySwap(cl->client, values, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2459,30 +2297,28 @@ __glXDispSwap_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum map = (GLenum) bswap_ENUM(pc + 0); + if ( cx != NULL ) { + const GLenum map = (GLenum )bswap_ENUM ( pc + 0 ); const GLuint compsize = __glGetPixelMapusv_size(map); GLushort answerBuffer[200]; - GLushort *values = - __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, - sizeof(answerBuffer), 2); + GLushort * values = __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, sizeof(answerBuffer), 2); - if (values == NULL) - return BadAlloc; + if (values == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetPixelMapusv(GET_DISPATCH(), (map, values)); - (void) bswap_16_array((uint16_t *) values, compsize); + CALL_GetPixelMapusv( GET_DISPATCH(), ( + map, + values + ) ); + (void) bswap_16_array( (uint16_t *) values, compsize ); __glXSendReplySwap(cl->client, values, compsize, 2, GL_FALSE, 0); error = Success; } @@ -2490,31 +2326,29 @@ __glXDispSwap_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexEnvfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexEnvfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexEnvfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2522,31 +2356,29 @@ __glXDispSwap_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexEnviv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexEnviv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexEnviv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexEnviv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexEnviv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2554,31 +2386,29 @@ __glXDispSwap_GetTexEnviv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexGendv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexGendv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexGendv_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGendv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_64_array((uint64_t *) params, compsize); + CALL_GetTexGendv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_64_array( (uint64_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -2586,31 +2416,29 @@ __glXDispSwap_GetTexGendv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexGenfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexGenfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexGenfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGenfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexGenfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2618,31 +2446,29 @@ __glXDispSwap_GetTexGenfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexGeniv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexGeniv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexGeniv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexGeniv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexGeniv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2650,31 +2476,29 @@ __glXDispSwap_GetTexGeniv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2682,31 +2506,29 @@ __glXDispSwap_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetTexParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2714,34 +2536,30 @@ __glXDispSwap_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 8); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 8 ); const GLuint compsize = __glGetTexLevelParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexLevelParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + - 4), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexLevelParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2749,34 +2567,30 @@ __glXDispSwap_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 8); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 8 ); const GLuint compsize = __glGetTexLevelParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetTexLevelParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + - 4), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetTexLevelParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -2784,20 +2598,18 @@ __glXDispSwap_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsEnabled(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsEnabled(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsEnabled(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + retval = CALL_IsEnabled( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2805,20 +2617,18 @@ __glXDispSwap_IsEnabled(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsList(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsList(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + retval = CALL_IsList( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -2826,262 +2636,251 @@ __glXDispSwap_IsList(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_DepthRange(GLbyte * pc) +void __glXDispSwap_DepthRange(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 16); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 16); pc -= 4; } #endif - CALL_DepthRange(GET_DISPATCH(), ((GLclampd) bswap_FLOAT64(pc + 0), - (GLclampd) bswap_FLOAT64(pc + 8) - )); + CALL_DepthRange( GET_DISPATCH(), ( + (GLclampd)bswap_FLOAT64( pc + 0 ), + (GLclampd)bswap_FLOAT64( pc + 8 ) + ) ); } -void -__glXDispSwap_Frustum(GLbyte * pc) +void __glXDispSwap_Frustum(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 48); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 48); pc -= 4; } #endif - CALL_Frustum(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLdouble) bswap_FLOAT64(pc + 16), - (GLdouble) bswap_FLOAT64(pc + 24), - (GLdouble) bswap_FLOAT64(pc + 32), - (GLdouble) bswap_FLOAT64(pc + 40) - )); + CALL_Frustum( GET_DISPATCH(), ( + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLdouble)bswap_FLOAT64( pc + 16 ), + (GLdouble)bswap_FLOAT64( pc + 24 ), + (GLdouble)bswap_FLOAT64( pc + 32 ), + (GLdouble)bswap_FLOAT64( pc + 40 ) + ) ); } -void -__glXDispSwap_LoadIdentity(GLbyte * pc) +void __glXDispSwap_LoadIdentity(GLbyte * pc) { - CALL_LoadIdentity(GET_DISPATCH(), ()); + CALL_LoadIdentity( GET_DISPATCH(), () ); } -void -__glXDispSwap_LoadMatrixf(GLbyte * pc) +void __glXDispSwap_LoadMatrixf(GLbyte * pc) { - CALL_LoadMatrixf(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 16) - )); + CALL_LoadMatrixf( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 16 ) + ) ); } -void -__glXDispSwap_LoadMatrixd(GLbyte * pc) +void __glXDispSwap_LoadMatrixd(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 128); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 128); pc -= 4; } #endif - CALL_LoadMatrixd(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 16) - )); + CALL_LoadMatrixd( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 16 ) + ) ); } -void -__glXDispSwap_MatrixMode(GLbyte * pc) +void __glXDispSwap_MatrixMode(GLbyte * pc) { - CALL_MatrixMode(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_MatrixMode( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_MultMatrixf(GLbyte * pc) +void __glXDispSwap_MultMatrixf(GLbyte * pc) { - CALL_MultMatrixf(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 16) - )); + CALL_MultMatrixf( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 16 ) + ) ); } -void -__glXDispSwap_MultMatrixd(GLbyte * pc) +void __glXDispSwap_MultMatrixd(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 128); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 128); pc -= 4; } #endif - CALL_MultMatrixd(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 16) - )); + CALL_MultMatrixd( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 16 ) + ) ); } -void -__glXDispSwap_Ortho(GLbyte * pc) +void __glXDispSwap_Ortho(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 48); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 48); pc -= 4; } #endif - CALL_Ortho(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLdouble) bswap_FLOAT64(pc + 16), - (GLdouble) bswap_FLOAT64(pc + 24), - (GLdouble) bswap_FLOAT64(pc + 32), - (GLdouble) bswap_FLOAT64(pc + 40) - )); + CALL_Ortho( GET_DISPATCH(), ( + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLdouble)bswap_FLOAT64( pc + 16 ), + (GLdouble)bswap_FLOAT64( pc + 24 ), + (GLdouble)bswap_FLOAT64( pc + 32 ), + (GLdouble)bswap_FLOAT64( pc + 40 ) + ) ); } -void -__glXDispSwap_PopMatrix(GLbyte * pc) +void __glXDispSwap_PopMatrix(GLbyte * pc) { - CALL_PopMatrix(GET_DISPATCH(), ()); + CALL_PopMatrix( GET_DISPATCH(), () ); } -void -__glXDispSwap_PushMatrix(GLbyte * pc) +void __glXDispSwap_PushMatrix(GLbyte * pc) { - CALL_PushMatrix(GET_DISPATCH(), ()); + CALL_PushMatrix( GET_DISPATCH(), () ); } -void -__glXDispSwap_Rotated(GLbyte * pc) +void __glXDispSwap_Rotated(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 32); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 32); pc -= 4; } #endif - CALL_Rotated(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLdouble) bswap_FLOAT64(pc + 16), - (GLdouble) bswap_FLOAT64(pc + 24) - )); + CALL_Rotated( GET_DISPATCH(), ( + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLdouble)bswap_FLOAT64( pc + 16 ), + (GLdouble)bswap_FLOAT64( pc + 24 ) + ) ); } -void -__glXDispSwap_Rotatef(GLbyte * pc) +void __glXDispSwap_Rotatef(GLbyte * pc) { - CALL_Rotatef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8), - (GLfloat) bswap_FLOAT32(pc + 12) - )); + CALL_Rotatef( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ), + (GLfloat )bswap_FLOAT32( pc + 12 ) + ) ); } -void -__glXDispSwap_Scaled(GLbyte * pc) +void __glXDispSwap_Scaled(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Scaled(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLdouble) bswap_FLOAT64(pc + 16) - )); + CALL_Scaled( GET_DISPATCH(), ( + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLdouble)bswap_FLOAT64( pc + 16 ) + ) ); } -void -__glXDispSwap_Scalef(GLbyte * pc) +void __glXDispSwap_Scalef(GLbyte * pc) { - CALL_Scalef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_Scalef( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_Translated(GLbyte * pc) +void __glXDispSwap_Translated(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); pc -= 4; } #endif - CALL_Translated(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0), - (GLdouble) bswap_FLOAT64(pc + 8), - (GLdouble) bswap_FLOAT64(pc + 16) - )); + CALL_Translated( GET_DISPATCH(), ( + (GLdouble)bswap_FLOAT64( pc + 0 ), + (GLdouble)bswap_FLOAT64( pc + 8 ), + (GLdouble)bswap_FLOAT64( pc + 16 ) + ) ); } -void -__glXDispSwap_Translatef(GLbyte * pc) +void __glXDispSwap_Translatef(GLbyte * pc) { - CALL_Translatef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); + CALL_Translatef( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); } -void -__glXDispSwap_Viewport(GLbyte * pc) +void __glXDispSwap_Viewport(GLbyte * pc) { - CALL_Viewport(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLsizei) bswap_CARD32(pc + 8), - (GLsizei) bswap_CARD32(pc + 12) - )); + CALL_Viewport( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLsizei )bswap_CARD32 ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ) + ) ); } -void -__glXDispSwap_BindTexture(GLbyte * pc) +void __glXDispSwap_BindTexture(GLbyte * pc) { - CALL_BindTexture(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4) - )); + CALL_BindTexture( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ) + ) ); } -void -__glXDispSwap_Indexubv(GLbyte * pc) +void __glXDispSwap_Indexubv(GLbyte * pc) { - CALL_Indexubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_Indexubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); } -void -__glXDispSwap_PolygonOffset(GLbyte * pc) +void __glXDispSwap_PolygonOffset(GLbyte * pc) { - CALL_PolygonOffset(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_PolygonOffset( GET_DISPATCH(), ( + (GLfloat )bswap_FLOAT32( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); } -int -__glXDispSwap_AreTexturesResident(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_AreTexturesResident(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); GLboolean retval; GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreTexturesResident(GET_DISPATCH(), - (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + 4), 0), - residences)); + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreTexturesResident( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ), + residences + ) ); __glXSendReplySwap(cl->client, residences, n, 1, GL_TRUE, retval); error = Success; } @@ -3089,28 +2888,24 @@ __glXDispSwap_AreTexturesResident(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); GLboolean retval; GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreTexturesResident(GET_DISPATCH(), - (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + 4), 0), - residences)); + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreTexturesResident( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ), + residences + ) ); __glXSendReplySwap(cl->client, residences, n, 1, GL_TRUE, retval); error = Success; } @@ -3118,123 +2913,116 @@ __glXDispSwap_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_CopyTexImage1D(GLbyte * pc) +void __glXDispSwap_CopyTexImage1D(GLbyte * pc) { - CALL_CopyTexImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLsizei) bswap_CARD32(pc + 20), - (GLint) bswap_CARD32(pc + 24) - )); + CALL_CopyTexImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ) + ) ); } -void -__glXDispSwap_CopyTexImage2D(GLbyte * pc) +void __glXDispSwap_CopyTexImage2D(GLbyte * pc) { - CALL_CopyTexImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLsizei) bswap_CARD32(pc + 20), - (GLsizei) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28) - )); + CALL_CopyTexImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ) + ) ); } -void -__glXDispSwap_CopyTexSubImage1D(GLbyte * pc) +void __glXDispSwap_CopyTexSubImage1D(GLbyte * pc) { - CALL_CopyTexSubImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLsizei) bswap_CARD32(pc + 20) - )); + CALL_CopyTexSubImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ) + ) ); } -void -__glXDispSwap_CopyTexSubImage2D(GLbyte * pc) +void __glXDispSwap_CopyTexSubImage2D(GLbyte * pc) { - CALL_CopyTexSubImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLint) bswap_CARD32(pc + 20), - (GLsizei) bswap_CARD32(pc + 24), - (GLsizei) bswap_CARD32(pc + 28) - )); + CALL_CopyTexSubImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLint )bswap_CARD32 ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ) + ) ); } -int -__glXDispSwap_DeleteTextures(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_DeleteTextures(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteTextures(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), 0) - )); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DeleteTextures( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_DeleteTexturesEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteTextures(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), 0) - )); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DeleteTextures( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_GenTextures(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GenTextures(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); GLuint answerBuffer[200]; - GLuint *textures = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenTextures(GET_DISPATCH(), (n, textures)); - (void) bswap_32_array((uint32_t *) textures, n); + GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenTextures( GET_DISPATCH(), ( + n, + textures + ) ); + (void) bswap_32_array( (uint32_t *) textures, n ); __glXSendReplySwap(cl->client, textures, n, 4, GL_TRUE, 0); error = Success; } @@ -3242,24 +3030,23 @@ __glXDispSwap_GenTextures(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); GLuint answerBuffer[200]; - GLuint *textures = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenTextures(GET_DISPATCH(), (n, textures)); - (void) bswap_32_array((uint32_t *) textures, n); + GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenTextures( GET_DISPATCH(), ( + n, + textures + ) ); + (void) bswap_32_array( (uint32_t *) textures, n ); __glXSendReplySwap(cl->client, textures, n, 4, GL_TRUE, 0); error = Success; } @@ -3267,20 +3054,18 @@ __glXDispSwap_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsTexture(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsTexture(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsTexture(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + retval = CALL_IsTexture( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -3288,20 +3073,18 @@ __glXDispSwap_IsTexture(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsTextureEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsTextureEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsTexture(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + retval = CALL_IsTexture( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -3309,192 +3092,166 @@ __glXDispSwap_IsTextureEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_PrioritizeTextures(GLbyte * pc) -{ - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_PrioritizeTextures(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), - 0), - (const GLclampf *) - bswap_32_array((uint32_t *) (pc + - 4), 0) - )); -} - -void -__glXDispSwap_TexSubImage1D(GLbyte * pc) -{ - const GLvoid *const pixels = (const GLvoid *) ((pc + 56)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); - - CALL_TexSubImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28), - (GLsizei) bswap_CARD32(pc + 36), - (GLenum) bswap_ENUM(pc + 44), - (GLenum) bswap_ENUM(pc + 48), pixels)); -} - -void -__glXDispSwap_TexSubImage2D(GLbyte * pc) -{ - const GLvoid *const pixels = (const GLvoid *) ((pc + 56)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); +void __glXDispSwap_PrioritizeTextures(GLbyte * pc) +{ + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_PrioritizeTextures( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ), + (const GLclampf *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); +} + +void __glXDispSwap_TexSubImage1D(GLbyte * pc) +{ + const GLvoid * const pixels = (const GLvoid *) (pc + 56); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_TexSubImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ), + (GLsizei )bswap_CARD32 ( pc + 36 ), + (GLenum )bswap_ENUM ( pc + 44 ), + (GLenum )bswap_ENUM ( pc + 48 ), + pixels + ) ); +} + +void __glXDispSwap_TexSubImage2D(GLbyte * pc) +{ + const GLvoid * const pixels = (const GLvoid *) (pc + 56); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_TexSubImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28), - (GLint) bswap_CARD32(pc + 32), - (GLsizei) bswap_CARD32(pc + 36), - (GLsizei) bswap_CARD32(pc + 40), - (GLenum) bswap_ENUM(pc + 44), - (GLenum) bswap_ENUM(pc + 48), pixels)); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_TexSubImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ), + (GLint )bswap_CARD32 ( pc + 32 ), + (GLsizei )bswap_CARD32 ( pc + 36 ), + (GLsizei )bswap_CARD32 ( pc + 40 ), + (GLenum )bswap_ENUM ( pc + 44 ), + (GLenum )bswap_ENUM ( pc + 48 ), + pixels + ) ); } -void -__glXDispSwap_BlendColor(GLbyte * pc) +void __glXDispSwap_BlendColor(GLbyte * pc) { - CALL_BlendColor(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0), - (GLclampf) bswap_FLOAT32(pc + 4), - (GLclampf) bswap_FLOAT32(pc + 8), - (GLclampf) bswap_FLOAT32(pc + 12) - )); + CALL_BlendColor( GET_DISPATCH(), ( + (GLclampf)bswap_FLOAT32( pc + 0 ), + (GLclampf)bswap_FLOAT32( pc + 4 ), + (GLclampf)bswap_FLOAT32( pc + 8 ), + (GLclampf)bswap_FLOAT32( pc + 12 ) + ) ); } -void -__glXDispSwap_BlendEquation(GLbyte * pc) +void __glXDispSwap_BlendEquation(GLbyte * pc) { - CALL_BlendEquation(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + CALL_BlendEquation( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_ColorTable(GLbyte * pc) +void __glXDispSwap_ColorTable(GLbyte * pc) { - const GLvoid *const table = (const GLvoid *) ((pc + 40)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); + const GLvoid * const table = (const GLvoid *) (pc + 40); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_ColorTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLenum) bswap_ENUM(pc + 24), - (GLsizei) bswap_CARD32(pc + 28), - (GLenum) bswap_ENUM(pc + 32), - (GLenum) bswap_ENUM(pc + 36), table)); -} - -void -__glXDispSwap_ColorTableParameterfv(GLbyte * pc) -{ - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; - - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glColorTableParameterfv_size(pname)); + CALL_ColorTable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLenum )bswap_ENUM ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLenum )bswap_ENUM ( pc + 32 ), + (GLenum )bswap_ENUM ( pc + 36 ), + table + ) ); +} - CALL_ColorTableParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); +void __glXDispSwap_ColorTableParameterfv(GLbyte * pc) +{ + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; + + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glColorTableParameterfv_size(pname) ); + + CALL_ColorTableParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_ColorTableParameteriv(GLbyte * pc) +void __glXDispSwap_ColorTableParameteriv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glColorTableParameteriv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glColorTableParameteriv_size(pname) ); - CALL_ColorTableParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_ColorTableParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_CopyColorTable(GLbyte * pc) +void __glXDispSwap_CopyColorTable(GLbyte * pc) { - CALL_CopyColorTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLsizei) bswap_CARD32(pc + 16) - )); + CALL_CopyColorTable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ) + ) ); } -int -__glXDispSwap_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetColorTableParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetColorTableParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3502,32 +3259,29 @@ __glXDispSwap_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetColorTableParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetColorTableParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3535,32 +3289,29 @@ __glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetColorTableParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetColorTableParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3568,32 +3319,29 @@ __glXDispSwap_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetColorTableParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetColorTableParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetColorTableParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3601,203 +3349,176 @@ __glXDispSwap_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_ColorSubTable(GLbyte * pc) -{ - const GLvoid *const data = (const GLvoid *) ((pc + 40)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); - - CALL_ColorSubTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLsizei) bswap_CARD32(pc + 24), - (GLsizei) bswap_CARD32(pc + 28), - (GLenum) bswap_ENUM(pc + 32), - (GLenum) bswap_ENUM(pc + 36), data)); -} - -void -__glXDispSwap_CopyColorSubTable(GLbyte * pc) -{ - CALL_CopyColorSubTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLsizei) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLsizei) bswap_CARD32(pc + 16) - )); -} - -void -__glXDispSwap_ConvolutionFilter1D(GLbyte * pc) -{ - const GLvoid *const image = (const GLvoid *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); +void __glXDispSwap_ColorSubTable(GLbyte * pc) +{ + const GLvoid * const data = (const GLvoid *) (pc + 40); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); - CALL_ConvolutionFilter1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLenum) bswap_ENUM(pc + 24), - (GLsizei) bswap_CARD32(pc + 28), - (GLenum) bswap_ENUM(pc + 36), - (GLenum) bswap_ENUM(pc + 40), - image)); -} - -void -__glXDispSwap_ConvolutionFilter2D(GLbyte * pc) -{ - const GLvoid *const image = (const GLvoid *) ((pc + 44)); - __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); - - CALL_ConvolutionFilter2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20), - (GLenum) bswap_ENUM(pc + 24), - (GLsizei) bswap_CARD32(pc + 28), - (GLsizei) bswap_CARD32(pc + 32), - (GLenum) bswap_ENUM(pc + 36), - (GLenum) bswap_ENUM(pc + 40), - image)); -} - -void -__glXDispSwap_ConvolutionParameterf(GLbyte * pc) -{ - CALL_ConvolutionParameterf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLfloat) bswap_FLOAT32(pc + 8) - )); -} - -void -__glXDispSwap_ConvolutionParameterfv(GLbyte * pc) -{ - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLfloat *params; - - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8), - __glConvolutionParameterfv_size - (pname)); + CALL_ColorSubTable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLenum )bswap_ENUM ( pc + 32 ), + (GLenum )bswap_ENUM ( pc + 36 ), + data + ) ); +} + +void __glXDispSwap_CopyColorSubTable(GLbyte * pc) +{ + CALL_CopyColorSubTable( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLsizei )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ) + ) ); +} + +void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc) +{ + const GLvoid * const image = (const GLvoid *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_ConvolutionFilter1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLenum )bswap_ENUM ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLenum )bswap_ENUM ( pc + 36 ), + (GLenum )bswap_ENUM ( pc + 40 ), + image + ) ); +} + +void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc) +{ + const GLvoid * const image = (const GLvoid *) (pc + 44); + __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_ConvolutionFilter2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 20 ), + (GLenum )bswap_ENUM ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLsizei )bswap_CARD32 ( pc + 32 ), + (GLenum )bswap_ENUM ( pc + 36 ), + (GLenum )bswap_ENUM ( pc + 40 ), + image + ) ); +} + +void __glXDispSwap_ConvolutionParameterf(GLbyte * pc) +{ + CALL_ConvolutionParameterf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLfloat )bswap_FLOAT32( pc + 8 ) + ) ); +} + +void __glXDispSwap_ConvolutionParameterfv(GLbyte * pc) +{ + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLfloat * params; + + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glConvolutionParameterfv_size(pname) ); - CALL_ConvolutionParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); + CALL_ConvolutionParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); } -void -__glXDispSwap_ConvolutionParameteri(GLbyte * pc) +void __glXDispSwap_ConvolutionParameteri(GLbyte * pc) { - CALL_ConvolutionParameteri(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8) - )); + CALL_ConvolutionParameteri( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ) + ) ); } -void -__glXDispSwap_ConvolutionParameteriv(GLbyte * pc) +void __glXDispSwap_ConvolutionParameteriv(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - const GLint *params; + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + const GLint * params; - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 8), - __glConvolutionParameteriv_size(pname)); + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glConvolutionParameteriv_size(pname) ); - CALL_ConvolutionParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); -} + CALL_ConvolutionParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); +} -void -__glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc) -{ - CALL_CopyConvolutionFilter1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLsizei) bswap_CARD32(pc + - 16) - )); +void __glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc) +{ + CALL_CopyConvolutionFilter1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ) + ) ); } -void -__glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc) +void __glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc) { - CALL_CopyConvolutionFilter2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLsizei) bswap_CARD32(pc + - 16), - (GLsizei) bswap_CARD32(pc + - 20) - )); + CALL_CopyConvolutionFilter2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ) + ) ); } -int -__glXDispSwap_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetConvolutionParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetConvolutionParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3805,32 +3526,29 @@ __glXDispSwap_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetConvolutionParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetConvolutionParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3838,32 +3556,29 @@ __glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetConvolutionParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetConvolutionParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3871,32 +3586,29 @@ __glXDispSwap_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetConvolutionParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetConvolutionParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetConvolutionParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3904,32 +3616,29 @@ __glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetHistogramParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetHistogramParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3937,32 +3646,29 @@ __glXDispSwap_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetHistogramParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameterfv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetHistogramParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -3970,32 +3676,29 @@ __glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetHistogramParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetHistogramParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4003,32 +3706,29 @@ __glXDispSwap_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetHistogramParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetHistogramParameteriv(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetHistogramParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4036,31 +3736,29 @@ __glXDispSwap_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMinmaxParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMinmaxParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4068,31 +3766,29 @@ __glXDispSwap_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMinmaxParameterfv_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMinmaxParameterfv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4100,31 +3796,29 @@ __glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMinmaxParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMinmaxParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4132,31 +3826,29 @@ __glXDispSwap_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetMinmaxParameteriv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetMinmaxParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetMinmaxParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4164,605 +3856,593 @@ __glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_Histogram(GLbyte * pc) -{ - CALL_Histogram(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLsizei) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - *(GLboolean *) (pc + 12) - )); -} - -void -__glXDispSwap_Minmax(GLbyte * pc) -{ - CALL_Minmax(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - *(GLboolean *) (pc + 8) - )); -} - -void -__glXDispSwap_ResetHistogram(GLbyte * pc) -{ - CALL_ResetHistogram(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -void -__glXDispSwap_ResetMinmax(GLbyte * pc) -{ - CALL_ResetMinmax(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -void -__glXDispSwap_TexImage3D(GLbyte * pc) -{ - const CARD32 ptr_is_null = *(CARD32 *) (pc + 76); - const GLvoid *const pixels = - (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80)); - __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_IMAGE_HEIGHT, - (GLint) bswap_CARD32(&hdr->imageHeight))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_IMAGES, - (GLint) bswap_CARD32(&hdr->skipImages))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); - - CALL_TexImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 36), - (GLint) bswap_CARD32(pc + 40), - (GLint) bswap_CARD32(pc + 44), - (GLsizei) bswap_CARD32(pc + 48), - (GLsizei) bswap_CARD32(pc + 52), - (GLsizei) bswap_CARD32(pc + 56), - (GLint) bswap_CARD32(pc + 64), - (GLenum) bswap_ENUM(pc + 68), - (GLenum) bswap_ENUM(pc + 72), pixels)); -} - -void -__glXDispSwap_TexSubImage3D(GLbyte * pc) -{ - const GLvoid *const pixels = (const GLvoid *) ((pc + 88)); - __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc); - - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes)); - CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst)); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ROW_LENGTH, - (GLint) bswap_CARD32(&hdr->rowLength))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_IMAGE_HEIGHT, - (GLint) bswap_CARD32(&hdr->imageHeight))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_ROWS, - (GLint) bswap_CARD32(&hdr->skipRows))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_IMAGES, - (GLint) bswap_CARD32(&hdr->skipImages))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_SKIP_PIXELS, - (GLint) bswap_CARD32(&hdr->skipPixels))); - CALL_PixelStorei(GET_DISPATCH(), - (GL_UNPACK_ALIGNMENT, - (GLint) bswap_CARD32(&hdr->alignment))); - - CALL_TexSubImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 36), - (GLint) bswap_CARD32(pc + 40), - (GLint) bswap_CARD32(pc + 44), - (GLint) bswap_CARD32(pc + 48), - (GLint) bswap_CARD32(pc + 52), - (GLsizei) bswap_CARD32(pc + 60), - (GLsizei) bswap_CARD32(pc + 64), - (GLsizei) bswap_CARD32(pc + 68), - (GLenum) bswap_ENUM(pc + 76), - (GLenum) bswap_ENUM(pc + 80), pixels)); -} - -void -__glXDispSwap_CopyTexSubImage3D(GLbyte * pc) -{ - CALL_CopyTexSubImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLint) bswap_CARD32(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLsizei) bswap_CARD32(pc + 28), - (GLsizei) bswap_CARD32(pc + 32) - )); -} - -void -__glXDispSwap_ActiveTextureARB(GLbyte * pc) -{ - CALL_ActiveTextureARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -void -__glXDispSwap_MultiTexCoord1dvARB(GLbyte * pc) +void __glXDispSwap_Histogram(GLbyte * pc) +{ + CALL_Histogram( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLsizei )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + *(GLboolean *)(pc + 12) + ) ); +} + +void __glXDispSwap_Minmax(GLbyte * pc) +{ + CALL_Minmax( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + *(GLboolean *)(pc + 8) + ) ); +} + +void __glXDispSwap_ResetHistogram(GLbyte * pc) +{ + CALL_ResetHistogram( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); +} + +void __glXDispSwap_ResetMinmax(GLbyte * pc) +{ + CALL_ResetMinmax( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); +} + +void __glXDispSwap_TexImage3D(GLbyte * pc) +{ + const CARD32 ptr_is_null = *(CARD32 *)(pc + 76); + const GLvoid * const pixels = (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80)); + __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) bswap_CARD32( & hdr->imageHeight )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) bswap_CARD32( & hdr->skipImages )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_TexImage3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 36 ), + (GLint )bswap_CARD32 ( pc + 40 ), + (GLint )bswap_CARD32 ( pc + 44 ), + (GLsizei )bswap_CARD32 ( pc + 48 ), + (GLsizei )bswap_CARD32 ( pc + 52 ), + (GLsizei )bswap_CARD32 ( pc + 56 ), + (GLint )bswap_CARD32 ( pc + 64 ), + (GLenum )bswap_ENUM ( pc + 68 ), + (GLenum )bswap_ENUM ( pc + 72 ), + pixels + ) ); +} + +void __glXDispSwap_TexSubImage3D(GLbyte * pc) +{ + const GLvoid * const pixels = (const GLvoid *) (pc + 88); + __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); + + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) bswap_CARD32( & hdr->imageHeight )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) bswap_CARD32( & hdr->skipImages )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) ); + CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) ); + + CALL_TexSubImage3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 36 ), + (GLint )bswap_CARD32 ( pc + 40 ), + (GLint )bswap_CARD32 ( pc + 44 ), + (GLint )bswap_CARD32 ( pc + 48 ), + (GLint )bswap_CARD32 ( pc + 52 ), + (GLsizei )bswap_CARD32 ( pc + 60 ), + (GLsizei )bswap_CARD32 ( pc + 64 ), + (GLsizei )bswap_CARD32 ( pc + 68 ), + (GLenum )bswap_ENUM ( pc + 76 ), + (GLenum )bswap_ENUM ( pc + 80 ), + pixels + ) ); +} + +void __glXDispSwap_CopyTexSubImage3D(GLbyte * pc) +{ + CALL_CopyTexSubImage3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLint )bswap_CARD32 ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLsizei )bswap_CARD32 ( pc + 32 ) + ) ); +} + +void __glXDispSwap_ActiveTexture(GLbyte * pc) +{ + CALL_ActiveTexture( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); +} + +void __glXDispSwap_MultiTexCoord1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_MultiTexCoord1dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 8), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 0), - 1) - )); + CALL_MultiTexCoord1dv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 8 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 ) + ) ); } -void -__glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc) { - CALL_MultiTexCoord1fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), - 1) - )); + CALL_MultiTexCoord1fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_MultiTexCoord1ivARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord1iv(GLbyte * pc) { - CALL_MultiTexCoord1ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), - 1) - )); + CALL_MultiTexCoord1iv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_MultiTexCoord1svARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord1sv(GLbyte * pc) { - CALL_MultiTexCoord1svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), - 1) - )); + CALL_MultiTexCoord1sv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_MultiTexCoord2dvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_MultiTexCoord2dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 16), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 0), - 2) - )); + CALL_MultiTexCoord2dv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 16 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ) + ) ); } -void -__glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc) { - CALL_MultiTexCoord2fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), - 2) - )); + CALL_MultiTexCoord2fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_MultiTexCoord2ivARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord2iv(GLbyte * pc) { - CALL_MultiTexCoord2ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), - 2) - )); + CALL_MultiTexCoord2iv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_MultiTexCoord2svARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord2sv(GLbyte * pc) { - CALL_MultiTexCoord2svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), - 2) - )); + CALL_MultiTexCoord2sv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_MultiTexCoord3dvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_MultiTexCoord3dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 24), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 0), - 3) - )); + CALL_MultiTexCoord3dv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 24 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -void -__glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc) { - CALL_MultiTexCoord3fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), - 3) - )); + CALL_MultiTexCoord3fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_MultiTexCoord3ivARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord3iv(GLbyte * pc) { - CALL_MultiTexCoord3ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), - 3) - )); + CALL_MultiTexCoord3iv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_MultiTexCoord3svARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord3sv(GLbyte * pc) { - CALL_MultiTexCoord3svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), - 3) - )); + CALL_MultiTexCoord3sv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_MultiTexCoord4dvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_MultiTexCoord4dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 32), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 0), - 4) - )); + CALL_MultiTexCoord4dv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 32 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc) { - CALL_MultiTexCoord4fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), - 4) - )); + CALL_MultiTexCoord4fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } - -void -__glXDispSwap_MultiTexCoord4ivARB(GLbyte * pc) + +void __glXDispSwap_MultiTexCoord4iv(GLbyte * pc) { - CALL_MultiTexCoord4ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), - 4) - )); + CALL_MultiTexCoord4iv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_MultiTexCoord4svARB(GLbyte * pc) +void __glXDispSwap_MultiTexCoord4sv(GLbyte * pc) { - CALL_MultiTexCoord4svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), - 4) - )); -} - -void -__glXDispSwap_SampleCoverageARB(GLbyte * pc) -{ - CALL_SampleCoverageARB(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0), - *(GLboolean *) (pc + 4) - )); -} - -void -__glXDispSwap_CompressedTexImage1DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 20); - - CALL_CompressedTexImage1DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLsizei) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + 16), - imageSize, - (const GLvoid *) (pc + 24) - )); -} - -void -__glXDispSwap_CompressedTexImage2DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 24); - - CALL_CompressedTexImage2DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLsizei) bswap_CARD32(pc + - 12), - (GLsizei) bswap_CARD32(pc + - 16), - (GLint) bswap_CARD32(pc + 20), - imageSize, - (const GLvoid *) (pc + 28) - )); -} - -void -__glXDispSwap_CompressedTexImage3DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 28); - - CALL_CompressedTexImage3DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLsizei) bswap_CARD32(pc + - 12), - (GLsizei) bswap_CARD32(pc + - 16), - (GLsizei) bswap_CARD32(pc + - 20), - (GLint) bswap_CARD32(pc + 24), - imageSize, - (const GLvoid *) (pc + 32) - )); -} - -void -__glXDispSwap_CompressedTexSubImage1DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 20); - - CALL_CompressedTexSubImage1DARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + - 4), - (GLint) bswap_CARD32(pc + - 8), - (GLsizei) bswap_CARD32(pc + - 12), - (GLenum) bswap_ENUM(pc + - 16), - imageSize, - (const GLvoid *) (pc + 24) - )); -} - -void -__glXDispSwap_CompressedTexSubImage2DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 28); - - CALL_CompressedTexSubImage2DARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + - 4), - (GLint) bswap_CARD32(pc + - 8), - (GLint) bswap_CARD32(pc + - 12), - (GLsizei) bswap_CARD32(pc + - 16), - (GLsizei) bswap_CARD32(pc + - 20), - (GLenum) bswap_ENUM(pc + - 24), - imageSize, - (const GLvoid *) (pc + 32) - )); -} - -void -__glXDispSwap_CompressedTexSubImage3DARB(GLbyte * pc) -{ - const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 36); - - CALL_CompressedTexSubImage3DARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + - 4), - (GLint) bswap_CARD32(pc + - 8), - (GLint) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + - 16), - (GLsizei) bswap_CARD32(pc + - 20), - (GLsizei) bswap_CARD32(pc + - 24), - (GLsizei) bswap_CARD32(pc + - 28), - (GLenum) bswap_ENUM(pc + - 32), - imageSize, - (const GLvoid *) (pc + 40) - )); -} - -int -__glXDispSwap_GetProgramEnvParameterdvARB(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + CALL_MultiTexCoord4sv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); +} - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLdouble params[4]; +void __glXDispSwap_CompressedTexImage1D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 20 ); - CALL_GetProgramEnvParameterdvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) - bswap_CARD32(pc + 4), - params)); - (void) bswap_64_array((uint64_t *) params, 4); - __glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0); - error = Success; + CALL_CompressedTexImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + imageSize, + (const GLvoid *)(pc + 24) + ) ); +} + +void __glXDispSwap_CompressedTexImage2D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 24 ); + + CALL_CompressedTexImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ), + (GLint )bswap_CARD32 ( pc + 20 ), + imageSize, + (const GLvoid *)(pc + 28) + ) ); +} + +void __glXDispSwap_CompressedTexImage3D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 28 ); + + CALL_CompressedTexImage3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + imageSize, + (const GLvoid *)(pc + 32) + ) ); +} + +void __glXDispSwap_CompressedTexSubImage1D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 20 ); + + CALL_CompressedTexSubImage1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLenum )bswap_ENUM ( pc + 16 ), + imageSize, + (const GLvoid *)(pc + 24) + ) ); +} + +void __glXDispSwap_CompressedTexSubImage2D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 28 ); + + CALL_CompressedTexSubImage2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLenum )bswap_ENUM ( pc + 24 ), + imageSize, + (const GLvoid *)(pc + 32) + ) ); +} + +void __glXDispSwap_CompressedTexSubImage3D(GLbyte * pc) +{ + const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 36 ); + + CALL_CompressedTexSubImage3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLsizei )bswap_CARD32 ( pc + 20 ), + (GLsizei )bswap_CARD32 ( pc + 24 ), + (GLsizei )bswap_CARD32 ( pc + 28 ), + (GLenum )bswap_ENUM ( pc + 32 ), + imageSize, + (const GLvoid *)(pc + 40) + ) ); +} + +void __glXDispSwap_SampleCoverage(GLbyte * pc) +{ + CALL_SampleCoverage( GET_DISPATCH(), ( + (GLclampf)bswap_FLOAT32( pc + 0 ), + *(GLboolean *)(pc + 4) + ) ); +} + +void __glXDispSwap_BlendFuncSeparate(GLbyte * pc) +{ + CALL_BlendFuncSeparate( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLenum )bswap_ENUM ( pc + 12 ) + ) ); +} + +void __glXDispSwap_FogCoorddv(GLbyte * pc) +{ +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 8); + pc -= 4; } +#endif - return error; + CALL_FogCoorddv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 ) + ) ); } -int -__glXDispSwap_GetProgramEnvParameterfvARB(__GLXclientState * cl, GLbyte * pc) +void __glXDispSwap_PointParameterf(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + CALL_PointParameterf( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLfloat )bswap_FLOAT32( pc + 4 ) + ) ); +} - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLfloat params[4]; +void __glXDispSwap_PointParameterfv(GLbyte * pc) +{ + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLfloat * params; - CALL_GetProgramEnvParameterfvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) - bswap_CARD32(pc + 4), - params)); - (void) bswap_32_array((uint32_t *) params, 4); - __glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0); - error = Success; + params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glPointParameterfv_size(pname) ); + + CALL_PointParameterfv( GET_DISPATCH(), ( + pname, + params + ) ); +} + +void __glXDispSwap_PointParameteri(GLbyte * pc) +{ + CALL_PointParameteri( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ) + ) ); +} + +void __glXDispSwap_PointParameteriv(GLbyte * pc) +{ + const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 ); + const GLint * params; + + params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glPointParameteriv_size(pname) ); + + CALL_PointParameteriv( GET_DISPATCH(), ( + pname, + params + ) ); +} + +void __glXDispSwap_SecondaryColor3bv(GLbyte * pc) +{ + CALL_SecondaryColor3bv( GET_DISPATCH(), ( + (const GLbyte *)(pc + 0) + ) ); +} + +void __glXDispSwap_SecondaryColor3dv(GLbyte * pc) +{ +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 24); + pc -= 4; } +#endif - return error; + CALL_SecondaryColor3dv( GET_DISPATCH(), ( + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 ) + ) ); } -int -__glXDispSwap_GetProgramLocalParameterdvARB(__GLXclientState * cl, GLbyte * pc) +void __glXDispSwap_SecondaryColor3iv(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + CALL_SecondaryColor3iv( GET_DISPATCH(), ( + (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_SecondaryColor3sv(GLbyte * pc) +{ + CALL_SecondaryColor3sv( GET_DISPATCH(), ( + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_SecondaryColor3ubv(GLbyte * pc) +{ + CALL_SecondaryColor3ubv( GET_DISPATCH(), ( + (const GLubyte *)(pc + 0) + ) ); +} + +void __glXDispSwap_SecondaryColor3uiv(GLbyte * pc) +{ + CALL_SecondaryColor3uiv( GET_DISPATCH(), ( + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_SecondaryColor3usv(GLbyte * pc) +{ + CALL_SecondaryColor3usv( GET_DISPATCH(), ( + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_WindowPos3fv(GLbyte * pc) +{ + CALL_WindowPos3fv( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_BeginQuery(GLbyte * pc) +{ + CALL_BeginQuery( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ) + ) ); +} + +int __glXDispSwap_DeleteQueries(__GLXclientState *cl, GLbyte *pc) +{ + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLdouble params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); - CALL_GetProgramLocalParameterdvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) - bswap_CARD32(pc + - 4), - params)); - (void) bswap_64_array((uint64_t *) params, 4); - __glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0); + CALL_DeleteQueries( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); error = Success; } return error; } -int -__glXDispSwap_GetProgramLocalParameterfvARB(__GLXclientState * cl, GLbyte * pc) +void __glXDispSwap_EndQuery(GLbyte * pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + CALL_EndQuery( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); +} + +int __glXDispSwap_GenQueries(__GLXclientState *cl, GLbyte *pc) +{ + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLfloat params[4]; + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); - CALL_GetProgramLocalParameterfvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) - bswap_CARD32(pc + - 4), - params)); - (void) bswap_32_array((uint32_t *) params, 4); - __glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0); + GLuint answerBuffer[200]; + GLuint * ids = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenQueries( GET_DISPATCH(), ( + n, + ids + ) ); + (void) bswap_32_array( (uint32_t *) ids, n ); + __glXSendReplySwap(cl->client, ids, n, 4, GL_TRUE, 0); error = Success; } return error; } -int -__glXDispSwap_GetProgramivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetQueryObjectiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetProgramivARB_size(pname); + const GLuint compsize = __glGetQueryObjectiv_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetProgramivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetQueryObjectiv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4770,65 +4450,59 @@ __glXDispSwap_GetProgramivARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetVertexAttribdvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetQueryObjectuiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetVertexAttribdvARB_size(pname); - GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + const GLuint compsize = __glGetQueryObjectuiv_size(pname); + GLuint answerBuffer[200]; + GLuint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribdvARB(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), pname, - params)); - (void) bswap_64_array((uint64_t *) params, compsize); - __glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0); + CALL_GetQueryObjectuiv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); + __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDispSwap_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetQueryiv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetVertexAttribfvARB_size(pname); - GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + const GLuint compsize = __glGetQueryiv_size(pname); + GLint answerBuffer[200]; + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribfvARB(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetQueryiv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -4836,528 +4510,484 @@ __glXDispSwap_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetVertexAttribivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsQuery(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXSingleReq * const req = (xGLXSingleReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); - - const GLuint compsize = __glGetVertexAttribivARB_size(pname); - GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); - - if (params == NULL) - return BadAlloc; - __glXClearErrorOccured(); - - CALL_GetVertexAttribivARB(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); - __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); + pc += __GLX_SINGLE_HDR_SIZE; + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsQuery( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); + __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } return error; } -void -__glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc) +void __glXDispSwap_BlendEquationSeparate(GLbyte * pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); - pc -= 4; - } -#endif - - CALL_ProgramEnvParameter4dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (const GLdouble *) - bswap_64_array((uint64_t - *) (pc + 8), - 4) - )); + CALL_BlendEquationSeparate( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc) +void __glXDispSwap_DrawBuffers(GLbyte * pc) { - CALL_ProgramEnvParameter4fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (const GLfloat *) - bswap_32_array((uint32_t - *) (pc + 8), - 4) - )); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DrawBuffers( GET_DISPATCH(), ( + n, + (const GLenum *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); } -void -__glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc) +int __glXDispSwap_GetVertexAttribdv(__GLXclientState *cl, GLbyte *pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 40); - pc -= 4; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + + const GLuint compsize = __glGetVertexAttribdv_size(pname); + GLdouble answerBuffer[200]; + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); + + if (params == NULL) return BadAlloc; + __glXClearErrorOccured(); + + CALL_GetVertexAttribdv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_64_array( (uint64_t *) params, compsize ); + __glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0); + error = Success; } -#endif - CALL_ProgramLocalParameter4dvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (const GLdouble *) - bswap_64_array((uint64_t - *) (pc + - 8), 4) - )); + return error; } -void -__glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc) +int __glXDispSwap_GetVertexAttribfv(__GLXclientState *cl, GLbyte *pc) { - CALL_ProgramLocalParameter4fvARB(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (const GLfloat *) - bswap_32_array((uint32_t - *) (pc + - 8), 4) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + + const GLuint compsize = __glGetVertexAttribfv_size(pname); + GLfloat answerBuffer[200]; + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); + + if (params == NULL) return BadAlloc; + __glXClearErrorOccured(); + + CALL_GetVertexAttribfv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); + __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); + error = Success; + } + + return error; } -void -__glXDispSwap_ProgramStringARB(GLbyte * pc) +int __glXDispSwap_GetVertexAttribiv(__GLXclientState *cl, GLbyte *pc) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 8); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); + + const GLuint compsize = __glGetVertexAttribiv_size(pname); + GLint answerBuffer[200]; + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); + + if (params == NULL) return BadAlloc; + __glXClearErrorOccured(); + + CALL_GetVertexAttribiv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); + __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); + error = Success; + } - CALL_ProgramStringARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - len, (const GLvoid *) (pc + 12) - )); + return error; } -void -__glXDispSwap_VertexAttrib1dvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib1dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_VertexAttrib1dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 1) - )); + CALL_VertexAttrib1dv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_VertexAttrib1fvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib1sv(GLbyte * pc) { - CALL_VertexAttrib1fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 1) - )); + CALL_VertexAttrib1sv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_VertexAttrib1svARB(GLbyte * pc) -{ - CALL_VertexAttrib1svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 1) - )); -} - -void -__glXDispSwap_VertexAttrib2dvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib2dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_VertexAttrib2dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 2) - )); + CALL_VertexAttrib2dv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_VertexAttrib2fvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib2sv(GLbyte * pc) { - CALL_VertexAttrib2fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 2) - )); + CALL_VertexAttrib2sv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_VertexAttrib2svARB(GLbyte * pc) -{ - CALL_VertexAttrib2svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 2) - )); -} - -void -__glXDispSwap_VertexAttrib3dvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib3dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_VertexAttrib3dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 3) - )); -} - -void -__glXDispSwap_VertexAttrib3fvARB(GLbyte * pc) -{ - CALL_VertexAttrib3fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 3) - )); + CALL_VertexAttrib3dv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_VertexAttrib3svARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib3sv(GLbyte * pc) { - CALL_VertexAttrib3svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 3) - )); + CALL_VertexAttrib3sv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_VertexAttrib4NbvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Nbv(GLbyte * pc) { - CALL_VertexAttrib4NbvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLbyte *) (pc + 4) - )); + CALL_VertexAttrib4Nbv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLbyte *)(pc + 4) + ) ); } -void -__glXDispSwap_VertexAttrib4NivARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Niv(GLbyte * pc) { - CALL_VertexAttrib4NivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), - 4) - )); + CALL_VertexAttrib4Niv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4NsvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Nsv(GLbyte * pc) { - CALL_VertexAttrib4NsvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), - 4) - )); + CALL_VertexAttrib4Nsv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4NubvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Nubv(GLbyte * pc) { - CALL_VertexAttrib4NubvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLubyte *) (pc + 4) - )); + CALL_VertexAttrib4Nubv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDispSwap_VertexAttrib4NuivARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Nuiv(GLbyte * pc) { - CALL_VertexAttrib4NuivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), - 4) - )); + CALL_VertexAttrib4Nuiv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4NusvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4Nusv(GLbyte * pc) { - CALL_VertexAttrib4NusvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLushort *) - bswap_16_array((uint16_t *) (pc + - 4), - 4) - )); + CALL_VertexAttrib4Nusv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4bvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4bv(GLbyte * pc) { - CALL_VertexAttrib4bvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLbyte *) (pc + 4) - )); + CALL_VertexAttrib4bv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLbyte *)(pc + 4) + ) ); } -void -__glXDispSwap_VertexAttrib4dvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4dv(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_VertexAttrib4dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4dv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4fvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4iv(GLbyte * pc) { - CALL_VertexAttrib4fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4iv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4ivARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4sv(GLbyte * pc) { - CALL_VertexAttrib4ivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLint *) - bswap_32_array((uint32_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4sv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4svARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4ubv(GLbyte * pc) { - CALL_VertexAttrib4svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4ubv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDispSwap_VertexAttrib4ubvARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4uiv(GLbyte * pc) { - CALL_VertexAttrib4ubvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLubyte *) (pc + 4) - )); + CALL_VertexAttrib4uiv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4uivARB(GLbyte * pc) +void __glXDispSwap_VertexAttrib4usv(GLbyte * pc) { - CALL_VertexAttrib4uivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), - 4) - )); + CALL_VertexAttrib4usv( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLushort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4usvARB(GLbyte * pc) +void __glXDispSwap_ClampColor(GLbyte * pc) { - CALL_VertexAttrib4usvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLushort *) - bswap_16_array((uint16_t *) (pc + - 4), - 4) - )); + CALL_ClampColor( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ) + ) ); } -void -__glXDispSwap_BeginQueryARB(GLbyte * pc) +void __glXDispSwap_BindProgramARB(GLbyte * pc) { - CALL_BeginQueryARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4) - )); + CALL_BindProgramARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ) + ) ); } -int -__glXDispSwap_DeleteQueriesARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_DeleteProgramsARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteQueriesARB(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), - 0) - )); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DeleteProgramsARB( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); error = Success; } return error; } -void -__glXDispSwap_EndQueryARB(GLbyte * pc) +int __glXDispSwap_GenProgramsARB(__GLXclientState *cl, GLbyte *pc) { - CALL_EndQueryARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -int -__glXDispSwap_GenQueriesARB(__GLXclientState * cl, GLbyte * pc) -{ - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); GLuint answerBuffer[200]; - GLuint *ids = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenQueriesARB(GET_DISPATCH(), (n, ids)); - (void) bswap_32_array((uint32_t *) ids, n); - __glXSendReplySwap(cl->client, ids, n, 4, GL_TRUE, 0); + GLuint * programs = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenProgramsARB( GET_DISPATCH(), ( + n, + programs + ) ); + (void) bswap_32_array( (uint32_t *) programs, n ); + __glXSendReplySwap(cl->client, programs, n, 4, GL_TRUE, 0); error = Success; } return error; } -int -__glXDispSwap_GetQueryObjectivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLdouble params[4]; + CALL_GetProgramEnvParameterdvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + params + ) ); + (void) bswap_64_array( (uint64_t *) params, 4 ); + __glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0); + error = Success; + } - const GLuint compsize = __glGetQueryObjectivARB_size(pname); - GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + return error; +} - if (params == NULL) - return BadAlloc; - __glXClearErrorOccured(); +int __glXDispSwap_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - CALL_GetQueryObjectivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); - __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLfloat params[4]; + CALL_GetProgramEnvParameterfvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 4 ); + __glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDispSwap_GetQueryObjectuivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLdouble params[4]; + CALL_GetProgramLocalParameterdvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + params + ) ); + (void) bswap_64_array( (uint64_t *) params, 4 ); + __glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0); + error = Success; + } - const GLuint compsize = __glGetQueryObjectuivARB_size(pname); - GLuint answerBuffer[200]; - GLuint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + return error; +} - if (params == NULL) - return BadAlloc; - __glXClearErrorOccured(); +int __glXDispSwap_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - CALL_GetQueryObjectuivARB(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), pname, - params)); - (void) bswap_32_array((uint32_t *) params, compsize); - __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLfloat params[4]; + CALL_GetProgramLocalParameterfvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 4 ); + __glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } return error; } -int -__glXDispSwap_GetQueryivARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramivARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); - const GLuint compsize = __glGetQueryivARB_size(pname); + const GLuint compsize = __glGetProgramivARB_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetQueryivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetProgramivARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5365,20 +4995,18 @@ __glXDispSwap_GetQueryivARB(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsQueryARB(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsProgramARB(__GLXclientState *cl, GLbyte *pc) { - xGLXSingleReq *const req = (xGLXSingleReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); - pc += __GLX_SINGLE_HDR_SIZE; - if (cx != NULL) { + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { GLboolean retval; - - retval = CALL_IsQueryARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); + retval = CALL_IsProgramARB( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } @@ -5386,321 +5014,464 @@ __glXDispSwap_IsQueryARB(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_DrawBuffersARB(GLbyte * pc) +void __glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); + pc -= 4; + } +#endif - CALL_DrawBuffersARB(GET_DISPATCH(), (n, - (const GLenum *) - bswap_32_array((uint32_t *) (pc + 4), - 0) - )); + CALL_ProgramEnvParameter4dvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 4 ) + ) ); } -void -__glXDispSwap_ClampColorARB(GLbyte * pc) +void __glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc) { - CALL_ClampColorARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); + CALL_ProgramEnvParameter4fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 ) + ) ); } -void -__glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc) +void __glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc) { - CALL_RenderbufferStorageMultisample(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLsizei) - bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc - + - 8), - (GLsizei) - bswap_CARD32(pc + 12), - (GLsizei) - bswap_CARD32(pc + 16) - )); +#ifdef __GLX_ALIGN64 + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 40); + pc -= 4; + } +#endif + + CALL_ProgramLocalParameter4dvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 4 ) + ) ); } -void -__glXDispSwap_SampleMaskSGIS(GLbyte * pc) +void __glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc) { - CALL_SampleMaskSGIS(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0), - *(GLboolean *) (pc + 4) - )); + CALL_ProgramLocalParameter4fvARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 ) + ) ); } -void -__glXDispSwap_SamplePatternSGIS(GLbyte * pc) +void __glXDispSwap_ProgramStringARB(GLbyte * pc) { - CALL_SamplePatternSGIS(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 8 ); + + CALL_ProgramStringARB( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + len, + (const GLvoid *)(pc + 12) + ) ); } -void -__glXDispSwap_PointParameterfEXT(GLbyte * pc) +void __glXDispSwap_VertexAttrib1fvARB(GLbyte * pc) { - CALL_PointParameterfEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLfloat) bswap_FLOAT32(pc + 4) - )); + CALL_VertexAttrib1fvARB( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_PointParameterfvEXT(GLbyte * pc) +void __glXDispSwap_VertexAttrib2fvARB(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLfloat *params; + CALL_VertexAttrib2fvARB( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 ) + ) ); +} - params = - (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4), - __glPointParameterfvEXT_size(pname)); +void __glXDispSwap_VertexAttrib3fvARB(GLbyte * pc) +{ + CALL_VertexAttrib3fvARB( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 ) + ) ); +} - CALL_PointParameterfvEXT(GET_DISPATCH(), (pname, params)); +void __glXDispSwap_VertexAttrib4fvARB(GLbyte * pc) +{ + CALL_VertexAttrib4fvARB( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_SecondaryColor3bvEXT(GLbyte * pc) +void __glXDispSwap_BindFramebuffer(GLbyte * pc) { - CALL_SecondaryColor3bvEXT(GET_DISPATCH(), ((const GLbyte *) (pc + 0) - )); + CALL_BindFramebuffer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ) + ) ); } -void -__glXDispSwap_SecondaryColor3dvEXT(GLbyte * pc) +void __glXDispSwap_BindRenderbuffer(GLbyte * pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 24); - pc -= 4; + CALL_BindRenderbuffer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ) + ) ); +} + +void __glXDispSwap_BlitFramebuffer(GLbyte * pc) +{ + CALL_BlitFramebuffer( GET_DISPATCH(), ( + (GLint )bswap_CARD32 ( pc + 0 ), + (GLint )bswap_CARD32 ( pc + 4 ), + (GLint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLint )bswap_CARD32 ( pc + 20 ), + (GLint )bswap_CARD32 ( pc + 24 ), + (GLint )bswap_CARD32 ( pc + 28 ), + (GLbitfield)bswap_CARD32 ( pc + 32 ), + (GLenum )bswap_ENUM ( pc + 36 ) + ) ); +} + +int __glXDispSwap_CheckFramebufferStatus(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLenum retval; + retval = CALL_CheckFramebufferStatus( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); + __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); + error = Success; } -#endif - CALL_SecondaryColor3dvEXT(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 0), - 3) - )); + return error; } -void -__glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc) +void __glXDispSwap_DeleteFramebuffers(GLbyte * pc) { - CALL_SecondaryColor3fvEXT(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 0), - 3) - )); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DeleteFramebuffers( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); } -void -__glXDispSwap_SecondaryColor3ivEXT(GLbyte * pc) +void __glXDispSwap_DeleteRenderbuffers(GLbyte * pc) { - CALL_SecondaryColor3ivEXT(GET_DISPATCH(), ((const GLint *) - bswap_32_array((uint32_t *) (pc + - 0), - 3) - )); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + CALL_DeleteRenderbuffers( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); } -void -__glXDispSwap_SecondaryColor3svEXT(GLbyte * pc) +void __glXDispSwap_FramebufferRenderbuffer(GLbyte * pc) { - CALL_SecondaryColor3svEXT(GET_DISPATCH(), ((const GLshort *) - bswap_16_array((uint16_t *) (pc + - 0), - 3) - )); + CALL_FramebufferRenderbuffer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLuint )bswap_CARD32 ( pc + 12 ) + ) ); } -void -__glXDispSwap_SecondaryColor3ubvEXT(GLbyte * pc) +void __glXDispSwap_FramebufferTexture1D(GLbyte * pc) { - CALL_SecondaryColor3ubvEXT(GET_DISPATCH(), ((const GLubyte *) (pc + 0) - )); + CALL_FramebufferTexture1D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLuint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ) + ) ); } -void -__glXDispSwap_SecondaryColor3uivEXT(GLbyte * pc) +void __glXDispSwap_FramebufferTexture2D(GLbyte * pc) { - CALL_SecondaryColor3uivEXT(GET_DISPATCH(), ((const GLuint *) - bswap_32_array((uint32_t *) (pc - + - 0), - 3) - )); + CALL_FramebufferTexture2D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLuint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ) + ) ); } -void -__glXDispSwap_SecondaryColor3usvEXT(GLbyte * pc) +void __glXDispSwap_FramebufferTexture3D(GLbyte * pc) { - CALL_SecondaryColor3usvEXT(GET_DISPATCH(), ((const GLushort *) - bswap_16_array((uint16_t *) (pc - + - 0), - 3) - )); + CALL_FramebufferTexture3D( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLuint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ), + (GLint )bswap_CARD32 ( pc + 20 ) + ) ); } -void -__glXDispSwap_FogCoorddvEXT(GLbyte * pc) +void __glXDispSwap_FramebufferTextureLayer(GLbyte * pc) { -#ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 8); - pc -= 4; + CALL_FramebufferTextureLayer( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLuint )bswap_CARD32 ( pc + 8 ), + (GLint )bswap_CARD32 ( pc + 12 ), + (GLint )bswap_CARD32 ( pc + 16 ) + ) ); +} + +int __glXDispSwap_GenFramebuffers(__GLXclientState *cl, GLbyte *pc) +{ + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + GLuint answerBuffer[200]; + GLuint * framebuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenFramebuffers( GET_DISPATCH(), ( + n, + framebuffers + ) ); + (void) bswap_32_array( (uint32_t *) framebuffers, n ); + __glXSendReplySwap(cl->client, framebuffers, n, 4, GL_TRUE, 0); + error = Success; } -#endif - CALL_FogCoorddvEXT(GET_DISPATCH(), ((const GLdouble *) - bswap_64_array((uint64_t *) (pc + 0), 1) - )); + return error; } -void -__glXDispSwap_FogCoordfvEXT(GLbyte * pc) +int __glXDispSwap_GenRenderbuffers(__GLXclientState *cl, GLbyte *pc) { - CALL_FogCoordfvEXT(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), 1) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); + + GLuint answerBuffer[200]; + GLuint * renderbuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4); + CALL_GenRenderbuffers( GET_DISPATCH(), ( + n, + renderbuffers + ) ); + (void) bswap_32_array( (uint32_t *) renderbuffers, n ); + __glXSendReplySwap(cl->client, renderbuffers, n, 4, GL_TRUE, 0); + error = Success; + } + + return error; } -void -__glXDispSwap_BlendFuncSeparateEXT(GLbyte * pc) +void __glXDispSwap_GenerateMipmap(GLbyte * pc) { - CALL_BlendFuncSeparateEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLenum) bswap_ENUM(pc + 12) - )); + CALL_GenerateMipmap( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_WindowPos3fvMESA(GLbyte * pc) +int __glXDispSwap_GetFramebufferAttachmentParameteriv(__GLXclientState *cl, GLbyte *pc) { - CALL_WindowPos3fvMESA(GET_DISPATCH(), ((const GLfloat *) - bswap_32_array((uint32_t *) (pc + 0), - 3) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLint params[1]; + CALL_GetFramebufferAttachmentParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 1 ); + __glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0); + error = Success; + } + + return error; } -int -__glXDispSwap_AreProgramsResidentNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetRenderbufferParameteriv(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - GLboolean retval; - GLboolean answerBuffer[200]; - GLboolean *residences = - __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); - retval = - CALL_AreProgramsResidentNV(GET_DISPATCH(), - (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + 4), - 0), residences)); - __glXSendReplySwap(cl->client, residences, n, 1, GL_FALSE, retval); + if ( cx != NULL ) { + GLint params[1]; + CALL_GetRenderbufferParameteriv( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 1 ); + __glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0); error = Success; } return error; } -void -__glXDispSwap_BindProgramNV(GLbyte * pc) +int __glXDispSwap_IsFramebuffer(__GLXclientState *cl, GLbyte *pc) { - CALL_BindProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4) - )); + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; + int error; + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); + + pc += __GLX_VENDPRIV_HDR_SIZE; + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsFramebuffer( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); + __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); + error = Success; + } + + return error; } -int -__glXDispSwap_DeleteProgramsNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_IsRenderbuffer(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteProgramsNV(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc + - 4), - 0) - )); + if ( cx != NULL ) { + GLboolean retval; + retval = CALL_IsRenderbuffer( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ) + ) ); + __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); error = Success; } return error; } -void -__glXDispSwap_ExecuteProgramNV(GLbyte * pc) +void __glXDispSwap_RenderbufferStorage(GLbyte * pc) +{ + CALL_RenderbufferStorage( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLenum )bswap_ENUM ( pc + 4 ), + (GLsizei )bswap_CARD32 ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ) + ) ); +} + +void __glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc) +{ + CALL_RenderbufferStorageMultisample( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLsizei )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLsizei )bswap_CARD32 ( pc + 12 ), + (GLsizei )bswap_CARD32 ( pc + 16 ) + ) ); +} + +void __glXDispSwap_SampleMaskSGIS(GLbyte * pc) +{ + CALL_SampleMaskSGIS( GET_DISPATCH(), ( + (GLclampf)bswap_FLOAT32( pc + 0 ), + *(GLboolean *)(pc + 4) + ) ); +} + +void __glXDispSwap_SamplePatternSGIS(GLbyte * pc) +{ + CALL_SamplePatternSGIS( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); +} + +void __glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc) +{ + CALL_SecondaryColor3fvEXT( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 ) + ) ); +} + +void __glXDispSwap_FogCoordfvEXT(GLbyte * pc) { - CALL_ExecuteProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + 8), - 4) - )); + CALL_FogCoordfvEXT( GET_DISPATCH(), ( + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 ) + ) ); } -int -__glXDispSwap_GenProgramsNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + if ( cx != NULL ) { + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); - GLuint answerBuffer[200]; - GLuint *programs = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenProgramsNV(GET_DISPATCH(), (n, programs)); - (void) bswap_32_array((uint32_t *) programs, n); - __glXSendReplySwap(cl->client, programs, n, 4, GL_TRUE, 0); + GLboolean retval; + GLboolean answerBuffer[200]; + GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1); + retval = CALL_AreProgramsResidentNV( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ), + residences + ) ); + __glXSendReplySwap(cl->client, residences, n, 1, GL_FALSE, retval); error = Success; } return error; } -int -__glXDispSwap_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc) +void __glXDispSwap_ExecuteProgramNV(GLbyte * pc) +{ + CALL_ExecuteProgramNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 ) + ) ); +} + +int __glXDispSwap_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLdouble params[4]; - - CALL_GetProgramParameterdvNV(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (GLenum) bswap_ENUM(pc + - 8), - params)); - (void) bswap_64_array((uint64_t *) params, 4); + CALL_GetProgramParameterdvNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + params + ) ); + (void) bswap_64_array( (uint64_t *) params, 4 ); __glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0); error = Success; } @@ -5708,26 +5479,22 @@ __glXDispSwap_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLfloat params[4]; - - CALL_GetProgramParameterfvNV(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + - 4), - (GLenum) bswap_ENUM(pc + - 8), - params)); - (void) bswap_32_array((uint32_t *) params, 4); + CALL_GetProgramParameterfvNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 4 ); __glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0); error = Success; } @@ -5735,31 +5502,29 @@ __glXDispSwap_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetProgramivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetProgramivNV_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetProgramivNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetProgramivNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5767,23 +5532,22 @@ __glXDispSwap_GetProgramivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { + if ( cx != NULL ) { GLint params[1]; - - CALL_GetTrackMatrixivNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - params)); - (void) bswap_32_array((uint32_t *) params, 1); + CALL_GetTrackMatrixivNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 1 ); __glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0); error = Success; } @@ -5791,31 +5555,29 @@ __glXDispSwap_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetVertexAttribdvNV_size(pname); GLdouble answerBuffer[200]; - GLdouble *params = - __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, - sizeof(answerBuffer), 8); + GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribdvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - pname, params)); - (void) bswap_64_array((uint64_t *) params, compsize); + CALL_GetVertexAttribdvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_64_array( (uint64_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0); error = Success; } @@ -5823,31 +5585,29 @@ __glXDispSwap_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetVertexAttribfvNV_size(pname); GLfloat answerBuffer[200]; - GLfloat *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribfvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetVertexAttribfvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5855,31 +5615,29 @@ __glXDispSwap_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 4); + if ( cx != NULL ) { + const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 ); const GLuint compsize = __glGetVertexAttribivNV_size(pname); GLint answerBuffer[200]; - GLint *params = - __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, - sizeof(answerBuffer), 4); + GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4); - if (params == NULL) - return BadAlloc; + if (params == NULL) return BadAlloc; __glXClearErrorOccured(); - CALL_GetVertexAttribivNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - pname, params)); - (void) bswap_32_array((uint32_t *) params, compsize); + CALL_GetVertexAttribivNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + pname, + params + ) ); + (void) bswap_32_array( (uint32_t *) params, compsize ); __glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0); error = Success; } @@ -5887,510 +5645,402 @@ __glXDispSwap_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_IsProgramNV(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsProgramNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0) - )); - __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -void -__glXDispSwap_LoadProgramNV(GLbyte * pc) +void __glXDispSwap_LoadProgramNV(GLbyte * pc) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 8); + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 8 ); - CALL_LoadProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - len, (const GLubyte *) (pc + 12) - )); + CALL_LoadProgramNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + len, + (const GLubyte *)(pc + 12) + ) ); } -void -__glXDispSwap_ProgramParameters4dvNV(GLbyte * pc) +void __glXDispSwap_ProgramParameters4dvNV(GLbyte * pc) { - const GLsizei num = (GLsizei) bswap_CARD32(pc + 8); + const GLsizei num = (GLsizei )bswap_CARD32 ( pc + 8 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 16 + __GLX_PAD((num * 32)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_ProgramParameters4dvNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - num, - (const GLdouble *) - bswap_64_array((uint64_t *) (pc - + - 12), - 0) - )); + CALL_ProgramParameters4dvNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + num, + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 12), 0 ) + ) ); } -void -__glXDispSwap_ProgramParameters4fvNV(GLbyte * pc) +void __glXDispSwap_ProgramParameters4fvNV(GLbyte * pc) { - const GLsizei num = (GLsizei) bswap_CARD32(pc + 8); + const GLsizei num = (GLsizei )bswap_CARD32 ( pc + 8 ); - CALL_ProgramParameters4fvNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - num, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc - + - 12), - 0) - )); + CALL_ProgramParameters4fvNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + num, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 12), 0 ) + ) ); } -void -__glXDispSwap_RequestResidentProgramsNV(GLbyte * pc) +void __glXDispSwap_RequestResidentProgramsNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 ); - CALL_RequestResidentProgramsNV(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t - *) (pc + 4), - 0) - )); + CALL_RequestResidentProgramsNV( GET_DISPATCH(), ( + n, + (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ) + ) ); } -void -__glXDispSwap_TrackMatrixNV(GLbyte * pc) +void __glXDispSwap_TrackMatrixNV(GLbyte * pc) { - CALL_TrackMatrixNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLenum) bswap_ENUM(pc + 12) - )); + CALL_TrackMatrixNV( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ), + (GLuint )bswap_CARD32 ( pc + 4 ), + (GLenum )bswap_ENUM ( pc + 8 ), + (GLenum )bswap_ENUM ( pc + 12 ) + ) ); } -void -__glXDispSwap_VertexAttrib1dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib1dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 12); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 12); pc -= 4; } #endif - CALL_VertexAttrib1dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 1) - )); + CALL_VertexAttrib1dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_VertexAttrib1fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib1fvNV(GLbyte * pc) { - CALL_VertexAttrib1fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 1) - )); + CALL_VertexAttrib1fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_VertexAttrib1svNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib1svNV(GLbyte * pc) { - CALL_VertexAttrib1svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 1) - )); + CALL_VertexAttrib1svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 ) + ) ); } -void -__glXDispSwap_VertexAttrib2dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib2dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 20); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 20); pc -= 4; } #endif - CALL_VertexAttrib2dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 2) - )); + CALL_VertexAttrib2dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_VertexAttrib2fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib2fvNV(GLbyte * pc) { - CALL_VertexAttrib2fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 2) - )); + CALL_VertexAttrib2fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_VertexAttrib2svNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib2svNV(GLbyte * pc) { - CALL_VertexAttrib2svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 2) - )); + CALL_VertexAttrib2svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 ) + ) ); } -void -__glXDispSwap_VertexAttrib3dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib3dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 28); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 28); pc -= 4; } #endif - CALL_VertexAttrib3dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 3) - )); + CALL_VertexAttrib3dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_VertexAttrib3fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib3fvNV(GLbyte * pc) { - CALL_VertexAttrib3fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 3) - )); + CALL_VertexAttrib3fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_VertexAttrib3svNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib3svNV(GLbyte * pc) { - CALL_VertexAttrib3svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 3) - )); + CALL_VertexAttrib3svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 ) + ) ); } -void -__glXDispSwap_VertexAttrib4dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib4dvNV(GLbyte * pc) { #ifdef __GLX_ALIGN64 - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, 36); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, 36); pc -= 4; } #endif - CALL_VertexAttrib4dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib4fvNV(GLbyte * pc) { - CALL_VertexAttrib4fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4svNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib4svNV(GLbyte * pc) { - CALL_VertexAttrib4svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 4), 4) - )); + CALL_VertexAttrib4svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 ) + ) ); } -void -__glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc) +void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc) { - CALL_VertexAttrib4ubvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - (const GLubyte *) (pc + 4) - )); + CALL_VertexAttrib4ubvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + (const GLubyte *)(pc + 4) + ) ); } -void -__glXDispSwap_VertexAttribs1dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs1dvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 8)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs1dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs1dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs1fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs1fvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs1fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs1fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs1svNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs1svNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs1svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs1svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs2dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs2dvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 16)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs2dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs2dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs2fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs2fvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs2fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs2fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs2svNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs2svNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs2svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs2svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs3dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs3dvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 24)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs3dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs3dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs3fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs3fvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs3fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs3fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs3svNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs3svNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs3svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs3svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs4dvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs4dvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 12 + __GLX_PAD((n * 32)) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_VertexAttribs4dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLdouble *) - bswap_64_array((uint64_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs4dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs4fvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs4fvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs4fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLfloat *) - bswap_32_array((uint32_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs4fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs4svNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs4svNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_VertexAttribs4svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, - (const GLshort *) - bswap_16_array((uint16_t *) (pc + - 8), 0) - )); + CALL_VertexAttribs4svNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 ) + ) ); } -void -__glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc) +void __glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 4); - - CALL_VertexAttribs4ubvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0), - n, (const GLubyte *) (pc + 8) - )); -} + const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 ); -void -__glXDispSwap_PointParameteriNV(GLbyte * pc) -{ - CALL_PointParameteriNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLint) bswap_CARD32(pc + 4) - )); + CALL_VertexAttribs4ubvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + n, + (const GLubyte *)(pc + 8) + ) ); } -void -__glXDispSwap_PointParameterivNV(GLbyte * pc) +void __glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc) { - const GLenum pname = (GLenum) bswap_ENUM(pc + 0); - const GLint *params; - - params = - (const GLint *) bswap_32_array((uint32_t *) (pc + 4), - __glPointParameterivNV_size(pname)); - - CALL_PointParameterivNV(GET_DISPATCH(), (pname, params)); + CALL_ActiveStencilFaceEXT( GET_DISPATCH(), ( + (GLenum )bswap_ENUM ( pc + 0 ) + ) ); } -void -__glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc) +int __glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc) { - CALL_ActiveStencilFaceEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -int -__glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 4); + if ( cx != NULL ) { + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 ); GLdouble params[4]; - - CALL_GetProgramNamedParameterdvNV(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), - len, - (const GLubyte *) (pc - + - 8), - params)); - (void) bswap_64_array((uint64_t *) params, 4); + CALL_GetProgramNamedParameterdvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + len, + (const GLubyte *)(pc + 8), + params + ) ); + (void) bswap_64_array( (uint64_t *) params, 4 ); __glXSendReplySwap(cl->client, params, 4, 8, GL_TRUE, 0); error = Success; } @@ -6398,28 +6048,24 @@ __glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc) return error; } -int -__glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc) +int __glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc) { - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; + xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc; int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); + __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error); pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 4); + if ( cx != NULL ) { + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 ); GLfloat params[4]; - - CALL_GetProgramNamedParameterfvNV(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), - len, - (const GLubyte *) (pc - + - 8), - params)); - (void) bswap_32_array((uint32_t *) params, 4); + CALL_GetProgramNamedParameterfvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + len, + (const GLubyte *)(pc + 8), + params + ) ); + (void) bswap_32_array( (uint32_t *) params, 4 ); __glXSendReplySwap(cl->client, params, 4, 4, GL_TRUE, 0); error = Success; } @@ -6427,368 +6073,35 @@ __glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc) return error; } -void -__glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc) +void __glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 36); + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 36 ); #ifdef __GLX_ALIGN64 const GLuint cmdlen = 44 + __GLX_PAD(len) - 4; - - if ((unsigned long) (pc) & 7) { - (void) memmove(pc - 4, pc, cmdlen); + if ((unsigned long)(pc) & 7) { + (void) memmove(pc-4, pc, cmdlen); pc -= 4; } #endif - CALL_ProgramNamedParameter4dvNV(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 32), len, - (const GLubyte *) (pc + - 40), - (const GLdouble *) - bswap_64_array((uint64_t - *) (pc + - 0), 4) - )); + CALL_ProgramNamedParameter4dvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 32 ), + len, + (const GLubyte *)(pc + 40), + (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 ) + ) ); } -void -__glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc) +void __glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc) { - const GLsizei len = (GLsizei) bswap_CARD32(pc + 4); + const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 ); - CALL_ProgramNamedParameter4fvNV(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0), len, - (const GLubyte *) (pc + - 24), - (const GLfloat *) - bswap_32_array((uint32_t - *) (pc + - 8), 4) - )); + CALL_ProgramNamedParameter4fvNV( GET_DISPATCH(), ( + (GLuint )bswap_CARD32 ( pc + 0 ), + len, + (const GLubyte *)(pc + 24), + (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 ) + ) ); } -void -__glXDispSwap_BlendEquationSeparateEXT(GLbyte * pc) -{ - CALL_BlendEquationSeparateEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4) - )); -} - -void -__glXDispSwap_BindFramebufferEXT(GLbyte * pc) -{ - CALL_BindFramebufferEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4) - )); -} - -void -__glXDispSwap_BindRenderbufferEXT(GLbyte * pc) -{ - CALL_BindRenderbufferEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLuint) bswap_CARD32(pc + 4) - )); -} - -int -__glXDispSwap_CheckFramebufferStatusEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLenum retval; - - retval = CALL_CheckFramebufferStatusEXT(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + - 0) - )); - __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -void -__glXDispSwap_DeleteFramebuffersEXT(GLbyte * pc) -{ - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteFramebuffersEXT(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc - + - 4), - 0) - )); -} - -void -__glXDispSwap_DeleteRenderbuffersEXT(GLbyte * pc) -{ - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - CALL_DeleteRenderbuffersEXT(GET_DISPATCH(), (n, - (const GLuint *) - bswap_32_array((uint32_t *) (pc - + - 4), - 0) - )); -} - -void -__glXDispSwap_FramebufferRenderbufferEXT(GLbyte * pc) -{ - CALL_FramebufferRenderbufferEXT(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + - 4), - (GLenum) bswap_ENUM(pc + - 8), - (GLuint) bswap_CARD32(pc + - 12) - )); -} - -void -__glXDispSwap_FramebufferTexture1DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture1DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLuint) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + 16) - )); -} - -void -__glXDispSwap_FramebufferTexture2DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture2DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLuint) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + 16) - )); -} - -void -__glXDispSwap_FramebufferTexture3DEXT(GLbyte * pc) -{ - CALL_FramebufferTexture3DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLenum) bswap_ENUM(pc + 8), - (GLuint) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + 16), - (GLint) bswap_CARD32(pc + 20) - )); -} - -int -__glXDispSwap_GenFramebuffersEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - GLuint answerBuffer[200]; - GLuint *framebuffers = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenFramebuffersEXT(GET_DISPATCH(), (n, framebuffers)); - (void) bswap_32_array((uint32_t *) framebuffers, n); - __glXSendReplySwap(cl->client, framebuffers, n, 4, GL_TRUE, 0); - error = Success; - } - - return error; -} - -int -__glXDispSwap_GenRenderbuffersEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - const GLsizei n = (GLsizei) bswap_CARD32(pc + 0); - - GLuint answerBuffer[200]; - GLuint *renderbuffers = - __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), - 4); - CALL_GenRenderbuffersEXT(GET_DISPATCH(), (n, renderbuffers)); - (void) bswap_32_array((uint32_t *) renderbuffers, n); - __glXSendReplySwap(cl->client, renderbuffers, n, 4, GL_TRUE, 0); - error = Success; - } - - return error; -} - -void -__glXDispSwap_GenerateMipmapEXT(GLbyte * pc) -{ - CALL_GenerateMipmapEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0) - )); -} - -int -__glXDispSwap_GetFramebufferAttachmentParameterivEXT(__GLXclientState * cl, - GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLint params[1]; - - CALL_GetFramebufferAttachmentParameterivEXT(GET_DISPATCH(), ((GLenum) - bswap_ENUM - (pc + 0), - (GLenum) - bswap_ENUM - (pc + 4), - (GLenum) - bswap_ENUM - (pc + 8), - params)); - (void) bswap_32_array((uint32_t *) params, 1); - __glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0); - error = Success; - } - - return error; -} - -int -__glXDispSwap_GetRenderbufferParameterivEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLint params[1]; - - CALL_GetRenderbufferParameterivEXT(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLenum) - bswap_ENUM(pc + 4), - params)); - (void) bswap_32_array((uint32_t *) params, 1); - __glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0); - error = Success; - } - - return error; -} - -int -__glXDispSwap_IsFramebufferEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsFramebufferEXT(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0) - )); - __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -int -__glXDispSwap_IsRenderbufferEXT(__GLXclientState * cl, GLbyte * pc) -{ - xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc; - int error; - __GLXcontext *const cx = - __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error); - - pc += __GLX_VENDPRIV_HDR_SIZE; - if (cx != NULL) { - GLboolean retval; - - retval = CALL_IsRenderbufferEXT(GET_DISPATCH(), ((GLuint) - bswap_CARD32(pc + 0) - )); - __glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval); - error = Success; - } - - return error; -} - -void -__glXDispSwap_RenderbufferStorageEXT(GLbyte * pc) -{ - CALL_RenderbufferStorageEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + 4), - (GLsizei) bswap_CARD32(pc + 8), - (GLsizei) bswap_CARD32(pc + 12) - )); -} - -void -__glXDispSwap_BlitFramebufferEXT(GLbyte * pc) -{ - CALL_BlitFramebufferEXT(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0), - (GLint) bswap_CARD32(pc + 4), - (GLint) bswap_CARD32(pc + 8), - (GLint) bswap_CARD32(pc + 12), - (GLint) bswap_CARD32(pc + 16), - (GLint) bswap_CARD32(pc + 20), - (GLint) bswap_CARD32(pc + 24), - (GLint) bswap_CARD32(pc + 28), - (GLbitfield) bswap_CARD32(pc + 32), - (GLenum) bswap_ENUM(pc + 36) - )); -} - -void -__glXDispSwap_FramebufferTextureLayerEXT(GLbyte * pc) -{ - CALL_FramebufferTextureLayerEXT(GET_DISPATCH(), ((GLenum) - bswap_ENUM(pc + 0), - (GLenum) bswap_ENUM(pc + - 4), - (GLuint) bswap_CARD32(pc + - 8), - (GLint) bswap_CARD32(pc + - 12), - (GLint) bswap_CARD32(pc + - 16) - )); -} diff --git a/xorg-server/glx/indirect_program.c b/xorg-server/glx/indirect_program.c index 0114d7347..17204c17d 100644 --- a/xorg-server/glx/indirect_program.c +++ b/xorg-server/glx/indirect_program.c @@ -32,6 +32,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxbyteorder.h" diff --git a/xorg-server/glx/indirect_reqsize.c b/xorg-server/glx/indirect_reqsize.c index 86ea9700f..a87f7d230 100644 --- a/xorg-server/glx/indirect_reqsize.c +++ b/xorg-server/glx/indirect_reqsize.c @@ -25,6 +25,15 @@ * SOFTWARE. */ + +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#else + +#include "glheader.h" + +#endif + #include <GL/gl.h> #include "glxserver.h" #include "glxbyteorder.h" @@ -34,24 +43,25 @@ #define __GLX_PAD(x) (((x) + 3) & ~3) #if defined(__CYGWIN__) || defined(__MINGW32__) -#undef HAVE_ALIAS +# undef HAVE_ALIAS #endif #ifdef HAVE_ALIAS -#define ALIAS2(from,to) \ +# define ALIAS2(from,to) \ GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \ __attribute__ ((alias( # to ))); -#define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize ) +# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize ) #else -#define ALIAS(from,to) \ +# define ALIAS(from,to) \ GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \ { return __glX ## to ## ReqSize( pc, swap ); } #endif + int -__glXCallListsReqSize(const GLbyte * pc, Bool swap) +__glXCallListsReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 0); - GLenum type = *(GLenum *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 0); +GLenum type = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -64,15 +74,15 @@ __glXCallListsReqSize(const GLbyte * pc, Bool swap) } int -__glXBitmapReqSize(const GLbyte * pc, Bool swap) +__glXBitmapReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLsizei width = *(GLsizei *) (pc + 20); - GLsizei height = *(GLsizei *) (pc + 24); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLsizei width = *(GLsizei *)(pc + 20); +GLsizei height = *(GLsizei *)(pc + 24); if (swap) { row_length = bswap_32(row_length); @@ -88,9 +98,9 @@ __glXBitmapReqSize(const GLbyte * pc, Bool swap) } int -__glXFogfvReqSize(const GLbyte * pc, Bool swap) +__glXFogfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 0); +GLenum pname = * (GLenum *)(pc + 0); GLsizei compsize; if (swap) { @@ -102,9 +112,9 @@ __glXFogfvReqSize(const GLbyte * pc, Bool swap) } int -__glXLightfvReqSize(const GLbyte * pc, Bool swap) +__glXLightfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -116,9 +126,9 @@ __glXLightfvReqSize(const GLbyte * pc, Bool swap) } int -__glXLightModelfvReqSize(const GLbyte * pc, Bool swap) +__glXLightModelfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 0); +GLenum pname = * (GLenum *)(pc + 0); GLsizei compsize; if (swap) { @@ -130,9 +140,9 @@ __glXLightModelfvReqSize(const GLbyte * pc, Bool swap) } int -__glXMaterialfvReqSize(const GLbyte * pc, Bool swap) +__glXMaterialfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -144,13 +154,13 @@ __glXMaterialfvReqSize(const GLbyte * pc, Bool swap) } int -__glXPolygonStippleReqSize(const GLbyte * pc, Bool swap) +__glXPolygonStippleReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); if (swap) { row_length = bswap_32(row_length); @@ -164,9 +174,9 @@ __glXPolygonStippleReqSize(const GLbyte * pc, Bool swap) } int -__glXTexParameterfvReqSize(const GLbyte * pc, Bool swap) +__glXTexParameterfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -178,17 +188,17 @@ __glXTexParameterfvReqSize(const GLbyte * pc, Bool swap) } int -__glXTexImage1DReqSize(const GLbyte * pc, Bool swap) +__glXTexImage1DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 32); - GLenum format = *(GLenum *) (pc + 44); - GLenum type = *(GLenum *) (pc + 48); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 32); +GLenum format = * (GLenum *)(pc + 44); +GLenum type = * (GLenum *)(pc + 48); if (swap) { row_length = bswap_32(row_length); @@ -206,18 +216,18 @@ __glXTexImage1DReqSize(const GLbyte * pc, Bool swap) } int -__glXTexImage2DReqSize(const GLbyte * pc, Bool swap) +__glXTexImage2DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 32); - GLsizei height = *(GLsizei *) (pc + 36); - GLenum format = *(GLenum *) (pc + 44); - GLenum type = *(GLenum *) (pc + 48); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 32); +GLsizei height = *(GLsizei *)(pc + 36); +GLenum format = * (GLenum *)(pc + 44); +GLenum type = * (GLenum *)(pc + 48); if (swap) { row_length = bswap_32(row_length); @@ -236,9 +246,9 @@ __glXTexImage2DReqSize(const GLbyte * pc, Bool swap) } int -__glXTexEnvfvReqSize(const GLbyte * pc, Bool swap) +__glXTexEnvfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -250,9 +260,9 @@ __glXTexEnvfvReqSize(const GLbyte * pc, Bool swap) } int -__glXTexGendvReqSize(const GLbyte * pc, Bool swap) +__glXTexGendvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -264,9 +274,9 @@ __glXTexGendvReqSize(const GLbyte * pc, Bool swap) } int -__glXTexGenfvReqSize(const GLbyte * pc, Bool swap) +__glXTexGenfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -278,9 +288,9 @@ __glXTexGenfvReqSize(const GLbyte * pc, Bool swap) } int -__glXPixelMapfvReqSize(const GLbyte * pc, Bool swap) +__glXPixelMapfvReqSize( const GLbyte * pc, Bool swap ) { - GLsizei mapsize = *(GLsizei *) (pc + 4); +GLsizei mapsize = *(GLsizei *)(pc + 4); if (swap) { mapsize = bswap_32(mapsize); @@ -290,9 +300,9 @@ __glXPixelMapfvReqSize(const GLbyte * pc, Bool swap) } int -__glXPixelMapusvReqSize(const GLbyte * pc, Bool swap) +__glXPixelMapusvReqSize( const GLbyte * pc, Bool swap ) { - GLsizei mapsize = *(GLsizei *) (pc + 4); +GLsizei mapsize = *(GLsizei *)(pc + 4); if (swap) { mapsize = bswap_32(mapsize); @@ -302,17 +312,17 @@ __glXPixelMapusvReqSize(const GLbyte * pc, Bool swap) } int -__glXDrawPixelsReqSize(const GLbyte * pc, Bool swap) +__glXDrawPixelsReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLsizei width = *(GLsizei *) (pc + 20); - GLsizei height = *(GLsizei *) (pc + 24); - GLenum format = *(GLenum *) (pc + 28); - GLenum type = *(GLenum *) (pc + 32); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLsizei width = *(GLsizei *)(pc + 20); +GLsizei height = *(GLsizei *)(pc + 24); +GLenum format = * (GLenum *)(pc + 28); +GLenum type = * (GLenum *)(pc + 32); if (swap) { row_length = bswap_32(row_length); @@ -330,9 +340,9 @@ __glXDrawPixelsReqSize(const GLbyte * pc, Bool swap) } int -__glXPrioritizeTexturesReqSize(const GLbyte * pc, Bool swap) +__glXPrioritizeTexturesReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 0); +GLsizei n = *(GLsizei *)(pc + 0); if (swap) { n = bswap_32(n); @@ -342,17 +352,17 @@ __glXPrioritizeTexturesReqSize(const GLbyte * pc, Bool swap) } int -__glXTexSubImage1DReqSize(const GLbyte * pc, Bool swap) +__glXTexSubImage1DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 36); - GLenum format = *(GLenum *) (pc + 44); - GLenum type = *(GLenum *) (pc + 48); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 36); +GLenum format = * (GLenum *)(pc + 44); +GLenum type = * (GLenum *)(pc + 48); if (swap) { row_length = bswap_32(row_length); @@ -370,18 +380,18 @@ __glXTexSubImage1DReqSize(const GLbyte * pc, Bool swap) } int -__glXTexSubImage2DReqSize(const GLbyte * pc, Bool swap) +__glXTexSubImage2DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 36); - GLsizei height = *(GLsizei *) (pc + 40); - GLenum format = *(GLenum *) (pc + 44); - GLenum type = *(GLenum *) (pc + 48); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 36); +GLsizei height = *(GLsizei *)(pc + 40); +GLenum format = * (GLenum *)(pc + 44); +GLenum type = * (GLenum *)(pc + 48); if (swap) { row_length = bswap_32(row_length); @@ -400,17 +410,17 @@ __glXTexSubImage2DReqSize(const GLbyte * pc, Bool swap) } int -__glXColorTableReqSize(const GLbyte * pc, Bool swap) +__glXColorTableReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 28); - GLenum format = *(GLenum *) (pc + 32); - GLenum type = *(GLenum *) (pc + 36); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 28); +GLenum format = * (GLenum *)(pc + 32); +GLenum type = * (GLenum *)(pc + 36); if (swap) { row_length = bswap_32(row_length); @@ -428,9 +438,9 @@ __glXColorTableReqSize(const GLbyte * pc, Bool swap) } int -__glXColorTableParameterfvReqSize(const GLbyte * pc, Bool swap) +__glXColorTableParameterfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -442,17 +452,17 @@ __glXColorTableParameterfvReqSize(const GLbyte * pc, Bool swap) } int -__glXColorSubTableReqSize(const GLbyte * pc, Bool swap) +__glXColorSubTableReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei count = *(GLsizei *) (pc + 28); - GLenum format = *(GLenum *) (pc + 32); - GLenum type = *(GLenum *) (pc + 36); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei count = *(GLsizei *)(pc + 28); +GLenum format = * (GLenum *)(pc + 32); +GLenum type = * (GLenum *)(pc + 36); if (swap) { row_length = bswap_32(row_length); @@ -470,17 +480,17 @@ __glXColorSubTableReqSize(const GLbyte * pc, Bool swap) } int -__glXConvolutionFilter1DReqSize(const GLbyte * pc, Bool swap) +__glXConvolutionFilter1DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 28); - GLenum format = *(GLenum *) (pc + 36); - GLenum type = *(GLenum *) (pc + 40); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 28); +GLenum format = * (GLenum *)(pc + 36); +GLenum type = * (GLenum *)(pc + 40); if (swap) { row_length = bswap_32(row_length); @@ -498,18 +508,18 @@ __glXConvolutionFilter1DReqSize(const GLbyte * pc, Bool swap) } int -__glXConvolutionFilter2DReqSize(const GLbyte * pc, Bool swap) +__glXConvolutionFilter2DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); + GLint row_length = * (GLint *)(pc + 4); GLint image_height = 0; - GLint skip_images = 0; - GLint skip_rows = *(GLint *) (pc + 8); - GLint alignment = *(GLint *) (pc + 16); - GLenum target = *(GLenum *) (pc + 20); - GLsizei width = *(GLsizei *) (pc + 28); - GLsizei height = *(GLsizei *) (pc + 32); - GLenum format = *(GLenum *) (pc + 36); - GLenum type = *(GLenum *) (pc + 40); + GLint skip_images = 0; + GLint skip_rows = * (GLint *)(pc + 8); + GLint alignment = * (GLint *)(pc + 16); +GLenum target = * (GLenum *)(pc + 20); +GLsizei width = *(GLsizei *)(pc + 28); +GLsizei height = *(GLsizei *)(pc + 32); +GLenum format = * (GLenum *)(pc + 36); +GLenum type = * (GLenum *)(pc + 40); if (swap) { row_length = bswap_32(row_length); @@ -528,9 +538,9 @@ __glXConvolutionFilter2DReqSize(const GLbyte * pc, Bool swap) } int -__glXConvolutionParameterfvReqSize(const GLbyte * pc, Bool swap) +__glXConvolutionParameterfvReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 4); +GLenum pname = * (GLenum *)(pc + 4); GLsizei compsize; if (swap) { @@ -542,19 +552,19 @@ __glXConvolutionParameterfvReqSize(const GLbyte * pc, Bool swap) } int -__glXTexImage3DReqSize(const GLbyte * pc, Bool swap) +__glXTexImage3DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); - GLint image_height = *(GLint *) (pc + 8); - GLint skip_rows = *(GLint *) (pc + 16); - GLint skip_images = *(GLint *) (pc + 20); - GLint alignment = *(GLint *) (pc + 32); - GLenum target = *(GLenum *) (pc + 36); - GLsizei width = *(GLsizei *) (pc + 48); - GLsizei height = *(GLsizei *) (pc + 52); - GLsizei depth = *(GLsizei *) (pc + 56); - GLenum format = *(GLenum *) (pc + 68); - GLenum type = *(GLenum *) (pc + 72); + GLint row_length = * (GLint *)(pc + 4); + GLint image_height = * (GLint *)(pc + 8); + GLint skip_rows = * (GLint *)(pc + 16); + GLint skip_images = * (GLint *)(pc + 20); + GLint alignment = * (GLint *)(pc + 32); +GLenum target = * (GLenum *)(pc + 36); +GLsizei width = *(GLsizei *)(pc + 48); +GLsizei height = *(GLsizei *)(pc + 52); +GLsizei depth = *(GLsizei *)(pc + 56); +GLenum format = * (GLenum *)(pc + 68); +GLenum type = * (GLenum *)(pc + 72); if (swap) { row_length = bswap_32(row_length); @@ -570,8 +580,8 @@ __glXTexImage3DReqSize(const GLbyte * pc, Bool swap) type = bswap_32(type); } - if (*(CARD32 *) (pc + 76)) - return 0; + if (*(CARD32 *) (pc + 76)) + return 0; return __glXImageSize(format, type, target, width, height, depth, image_height, row_length, skip_images, @@ -579,19 +589,19 @@ __glXTexImage3DReqSize(const GLbyte * pc, Bool swap) } int -__glXTexSubImage3DReqSize(const GLbyte * pc, Bool swap) +__glXTexSubImage3DReqSize( const GLbyte * pc, Bool swap ) { - GLint row_length = *(GLint *) (pc + 4); - GLint image_height = *(GLint *) (pc + 8); - GLint skip_rows = *(GLint *) (pc + 16); - GLint skip_images = *(GLint *) (pc + 20); - GLint alignment = *(GLint *) (pc + 32); - GLenum target = *(GLenum *) (pc + 36); - GLsizei width = *(GLsizei *) (pc + 60); - GLsizei height = *(GLsizei *) (pc + 64); - GLsizei depth = *(GLsizei *) (pc + 68); - GLenum format = *(GLenum *) (pc + 76); - GLenum type = *(GLenum *) (pc + 80); + GLint row_length = * (GLint *)(pc + 4); + GLint image_height = * (GLint *)(pc + 8); + GLint skip_rows = * (GLint *)(pc + 16); + GLint skip_images = * (GLint *)(pc + 20); + GLint alignment = * (GLint *)(pc + 32); +GLenum target = * (GLenum *)(pc + 36); +GLsizei width = *(GLsizei *)(pc + 60); +GLsizei height = *(GLsizei *)(pc + 64); +GLsizei depth = *(GLsizei *)(pc + 68); +GLenum format = * (GLenum *)(pc + 76); +GLenum type = * (GLenum *)(pc + 80); if (swap) { row_length = bswap_32(row_length); @@ -613,9 +623,9 @@ __glXTexSubImage3DReqSize(const GLbyte * pc, Bool swap) } int -__glXCompressedTexImage1DARBReqSize(const GLbyte * pc, Bool swap) +__glXCompressedTexImage1DReqSize( const GLbyte * pc, Bool swap ) { - GLsizei imageSize = *(GLsizei *) (pc + 20); +GLsizei imageSize = *(GLsizei *)(pc + 20); if (swap) { imageSize = bswap_32(imageSize); @@ -625,9 +635,9 @@ __glXCompressedTexImage1DARBReqSize(const GLbyte * pc, Bool swap) } int -__glXCompressedTexImage2DARBReqSize(const GLbyte * pc, Bool swap) +__glXCompressedTexImage2DReqSize( const GLbyte * pc, Bool swap ) { - GLsizei imageSize = *(GLsizei *) (pc + 24); +GLsizei imageSize = *(GLsizei *)(pc + 24); if (swap) { imageSize = bswap_32(imageSize); @@ -637,9 +647,9 @@ __glXCompressedTexImage2DARBReqSize(const GLbyte * pc, Bool swap) } int -__glXCompressedTexImage3DARBReqSize(const GLbyte * pc, Bool swap) +__glXCompressedTexImage3DReqSize( const GLbyte * pc, Bool swap ) { - GLsizei imageSize = *(GLsizei *) (pc + 28); +GLsizei imageSize = *(GLsizei *)(pc + 28); if (swap) { imageSize = bswap_32(imageSize); @@ -649,9 +659,9 @@ __glXCompressedTexImage3DARBReqSize(const GLbyte * pc, Bool swap) } int -__glXCompressedTexSubImage3DARBReqSize(const GLbyte * pc, Bool swap) +__glXCompressedTexSubImage3DReqSize( const GLbyte * pc, Bool swap ) { - GLsizei imageSize = *(GLsizei *) (pc + 36); +GLsizei imageSize = *(GLsizei *)(pc + 36); if (swap) { imageSize = bswap_32(imageSize); @@ -661,21 +671,23 @@ __glXCompressedTexSubImage3DARBReqSize(const GLbyte * pc, Bool swap) } int -__glXProgramStringARBReqSize(const GLbyte * pc, Bool swap) +__glXPointParameterfvReqSize( const GLbyte * pc, Bool swap ) { - GLsizei len = *(GLsizei *) (pc + 8); +GLenum pname = * (GLenum *)(pc + 0); + GLsizei compsize; if (swap) { - len = bswap_32(len); + pname = bswap_32(pname); } - return __GLX_PAD(len); + compsize = __glPointParameterfv_size(pname); + return __GLX_PAD((compsize * 4)); } int -__glXDrawBuffersARBReqSize(const GLbyte * pc, Bool swap) +__glXDrawBuffersReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 0); +GLsizei n = *(GLsizei *)(pc + 0); if (swap) { n = bswap_32(n); @@ -685,23 +697,21 @@ __glXDrawBuffersARBReqSize(const GLbyte * pc, Bool swap) } int -__glXPointParameterfvEXTReqSize(const GLbyte * pc, Bool swap) +__glXProgramStringARBReqSize( const GLbyte * pc, Bool swap ) { - GLenum pname = *(GLenum *) (pc + 0); - GLsizei compsize; +GLsizei len = *(GLsizei *)(pc + 8); if (swap) { - pname = bswap_32(pname); + len = bswap_32(len); } - compsize = __glPointParameterfvEXT_size(pname); - return __GLX_PAD((compsize * 4)); + return __GLX_PAD(len); } int -__glXProgramParameters4dvNVReqSize(const GLbyte * pc, Bool swap) +__glXProgramParameters4dvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei num = *(GLsizei *) (pc + 8); +GLsizei num = *(GLsizei *)(pc + 8); if (swap) { num = bswap_32(num); @@ -711,9 +721,9 @@ __glXProgramParameters4dvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXProgramParameters4fvNVReqSize(const GLbyte * pc, Bool swap) +__glXProgramParameters4fvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei num = *(GLsizei *) (pc + 8); +GLsizei num = *(GLsizei *)(pc + 8); if (swap) { num = bswap_32(num); @@ -723,9 +733,9 @@ __glXProgramParameters4fvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs1dvNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs1dvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -735,9 +745,9 @@ __glXVertexAttribs1dvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs2dvNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs2dvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -747,9 +757,9 @@ __glXVertexAttribs2dvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs3dvNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs3dvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -759,9 +769,9 @@ __glXVertexAttribs3dvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs3fvNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs3fvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -771,9 +781,9 @@ __glXVertexAttribs3fvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs3svNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs3svNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -783,9 +793,9 @@ __glXVertexAttribs3svNVReqSize(const GLbyte * pc, Bool swap) } int -__glXVertexAttribs4dvNVReqSize(const GLbyte * pc, Bool swap) +__glXVertexAttribs4dvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei n = *(GLsizei *) (pc + 4); +GLsizei n = *(GLsizei *)(pc + 4); if (swap) { n = bswap_32(n); @@ -795,9 +805,9 @@ __glXVertexAttribs4dvNVReqSize(const GLbyte * pc, Bool swap) } int -__glXProgramNamedParameter4fvNVReqSize(const GLbyte * pc, Bool swap) +__glXProgramNamedParameter4fvNVReqSize( const GLbyte * pc, Bool swap ) { - GLsizei len = *(GLsizei *) (pc + 4); +GLsizei len = *(GLsizei *)(pc + 4); if (swap) { len = bswap_32(len); @@ -806,28 +816,28 @@ __glXProgramNamedParameter4fvNVReqSize(const GLbyte * pc, Bool swap) return __GLX_PAD(len); } -ALIAS(Fogiv, Fogfv) - ALIAS(Lightiv, Lightfv) - ALIAS(LightModeliv, LightModelfv) - ALIAS(Materialiv, Materialfv) - ALIAS(TexParameteriv, TexParameterfv) - ALIAS(TexEnviv, TexEnvfv) - ALIAS(TexGeniv, TexGenfv) - ALIAS(PixelMapuiv, PixelMapfv) - ALIAS(ColorTableParameteriv, ColorTableParameterfv) - ALIAS(ConvolutionParameteriv, ConvolutionParameterfv) - ALIAS(CompressedTexSubImage1DARB, CompressedTexImage1DARB) - ALIAS(CompressedTexSubImage2DARB, CompressedTexImage3DARB) - ALIAS(LoadProgramNV, ProgramStringARB) - ALIAS(RequestResidentProgramsNV, DrawBuffersARB) - ALIAS(VertexAttribs1fvNV, PixelMapfv) - ALIAS(VertexAttribs1svNV, PixelMapusv) - ALIAS(VertexAttribs2fvNV, VertexAttribs1dvNV) - ALIAS(VertexAttribs2svNV, PixelMapfv) - ALIAS(VertexAttribs4fvNV, VertexAttribs2dvNV) - ALIAS(VertexAttribs4svNV, VertexAttribs1dvNV) - ALIAS(VertexAttribs4ubvNV, PixelMapfv) - ALIAS(PointParameterivNV, PointParameterfvEXT) - ALIAS(ProgramNamedParameter4dvNV, CompressedTexSubImage3DARB) - ALIAS(DeleteFramebuffersEXT, DrawBuffersARB) - ALIAS(DeleteRenderbuffersEXT, DrawBuffersARB) +ALIAS( Fogiv, Fogfv ) +ALIAS( Lightiv, Lightfv ) +ALIAS( LightModeliv, LightModelfv ) +ALIAS( Materialiv, Materialfv ) +ALIAS( TexParameteriv, TexParameterfv ) +ALIAS( TexEnviv, TexEnvfv ) +ALIAS( TexGeniv, TexGenfv ) +ALIAS( PixelMapuiv, PixelMapfv ) +ALIAS( ColorTableParameteriv, ColorTableParameterfv ) +ALIAS( ConvolutionParameteriv, ConvolutionParameterfv ) +ALIAS( CompressedTexSubImage1D, CompressedTexImage1D ) +ALIAS( CompressedTexSubImage2D, CompressedTexImage3D ) +ALIAS( PointParameteriv, PointParameterfv ) +ALIAS( DeleteFramebuffers, DrawBuffers ) +ALIAS( DeleteRenderbuffers, DrawBuffers ) +ALIAS( LoadProgramNV, ProgramStringARB ) +ALIAS( RequestResidentProgramsNV, DrawBuffers ) +ALIAS( VertexAttribs1fvNV, PixelMapfv ) +ALIAS( VertexAttribs1svNV, PixelMapusv ) +ALIAS( VertexAttribs2fvNV, VertexAttribs1dvNV ) +ALIAS( VertexAttribs2svNV, PixelMapfv ) +ALIAS( VertexAttribs4fvNV, VertexAttribs2dvNV ) +ALIAS( VertexAttribs4svNV, VertexAttribs1dvNV ) +ALIAS( VertexAttribs4ubvNV, PixelMapfv ) +ALIAS( ProgramNamedParameter4dvNV, CompressedTexSubImage3D ) diff --git a/xorg-server/glx/indirect_reqsize.h b/xorg-server/glx/indirect_reqsize.h index d2c1da762..1b7bd6ebf 100644 --- a/xorg-server/glx/indirect_reqsize.h +++ b/xorg-server/glx/indirect_reqsize.h @@ -26,139 +26,91 @@ */ #if !defined( _INDIRECT_REQSIZE_H_ ) -#define _INDIRECT_REQSIZE_H_ +# define _INDIRECT_REQSIZE_H_ #include <X11/Xfuncproto.h> -#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) -#define PURE __attribute__((pure)) -#else -#define PURE -#endif +# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# define PURE __attribute__((pure)) +# else +# define PURE +# endif -extern PURE _X_HIDDEN int __glXCallListsReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXBitmapReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXFogfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXFogivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXLightfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXLightivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXLightModelfvReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXLightModelivReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXMaterialfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXMaterialivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXPolygonStippleReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexParameterfvReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexParameterivReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexImage1DReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexImage2DReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexEnvfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexEnvivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexGendvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexGenfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexGenivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXMap1dReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXMap1fReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXMap2dReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXMap2fReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXPixelMapfvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXPixelMapuivReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXPixelMapusvReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXDrawPixelsReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXDrawArraysReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXPrioritizeTexturesReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexSubImage1DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexSubImage2DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXColorTableReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXColorTableParameterfvReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXColorTableParameterivReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXColorSubTableReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXConvolutionFilter1DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXConvolutionFilter2DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXConvolutionParameterfvReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXConvolutionParameterivReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXSeparableFilter2DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXTexImage3DReqSize(const GLbyte * pc, Bool swap); -extern PURE _X_HIDDEN int __glXTexSubImage3DReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexImage1DARBReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexImage2DARBReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexImage3DARBReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexSubImage1DARBReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexSubImage2DARBReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXCompressedTexSubImage3DARBReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXProgramStringARBReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXDrawBuffersARBReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXPointParameterfvEXTReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXLoadProgramNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXProgramParameters4dvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXProgramParameters4fvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXRequestResidentProgramsNVReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs1dvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs1fvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs1svNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs2dvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs2fvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs2svNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs3dvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs3fvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs3svNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs4dvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs4fvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs4svNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXVertexAttribs4ubvNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXPointParameterivNVReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXProgramNamedParameter4dvNVReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXProgramNamedParameter4fvNVReqSize(const GLbyte * - pc, Bool swap); -extern PURE _X_HIDDEN int __glXDeleteFramebuffersEXTReqSize(const GLbyte * pc, - Bool swap); -extern PURE _X_HIDDEN int __glXDeleteRenderbuffersEXTReqSize(const GLbyte * pc, - Bool swap); +extern PURE _X_HIDDEN int __glXCallListsReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXBitmapReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXFogfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXFogivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXLightfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXLightivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXLightModelfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXLightModelivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMaterialfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMaterialivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPolygonStippleReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexParameterfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexParameterivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexImage1DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexImage2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexEnvfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexEnvivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexGendvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexGenfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexGenivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMap1dReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMap1fReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMap2dReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXMap2fReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPixelMapfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPixelMapuivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPixelMapusvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXDrawPixelsReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXDrawArraysReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPrioritizeTexturesReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexSubImage1DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexSubImage2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXColorTableReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXColorTableParameterfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXColorTableParameterivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXColorSubTableReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXConvolutionFilter1DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXConvolutionFilter2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXConvolutionParameterfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXConvolutionParameterivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXSeparableFilter2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexImage3DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXTexSubImage3DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexImage1DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexImage2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexImage3DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexSubImage1DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexSubImage2DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXCompressedTexSubImage3DReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPointParameterfvReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXPointParameterivReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXDrawBuffersReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXProgramStringARBReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXDeleteFramebuffersReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXDeleteRenderbuffersReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXLoadProgramNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXProgramParameters4dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXProgramParameters4fvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXRequestResidentProgramsNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs1dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs1fvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs1svNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs2dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs2fvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs2svNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs3dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs3fvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs3svNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs4dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs4fvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs4svNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXVertexAttribs4ubvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXProgramNamedParameter4dvNVReqSize(const GLbyte *pc, Bool swap); +extern PURE _X_HIDDEN int __glXProgramNamedParameter4fvNVReqSize(const GLbyte *pc, Bool swap); -#undef PURE +# undef PURE -#endif /* !defined( _INDIRECT_REQSIZE_H_ ) */ +#endif /* !defined( _INDIRECT_REQSIZE_H_ ) */ diff --git a/xorg-server/glx/indirect_size.h b/xorg-server/glx/indirect_size.h index 56ffc1c68..b1be16b3c 100644 --- a/xorg-server/glx/indirect_size.h +++ b/xorg-server/glx/indirect_size.h @@ -1,83 +1,57 @@ -/* DO NOT EDIT - This file generated automatically by glX_proto_size.py (from Mesa) script */ - -/* - * (C) Copyright IBM Corporation 2004 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * IBM, - * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#if !defined( _INDIRECT_SIZE_H_ ) -#define _INDIRECT_SIZE_H_ - -/** - * \file - * Prototypes for functions used to determine the number of data elements in - * various GLX protocol messages. - * - * \author Ian Romanick <idr@us.ibm.com> - */ - -#include <X11/Xfuncproto.h> - -#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) -#define PURE __attribute__((pure)) -#else -#define PURE -#endif - -#if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) -#define FASTCALL __attribute__((fastcall)) -#else -#define FASTCALL -#endif - -extern _X_INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterfvEXT_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum); - -#undef PURE -#undef FASTCALL - -#endif /* !defined( _INDIRECT_SIZE_H_ ) */ +/* DO NOT EDIT - This file generated automatically by glX_proto_size.py (from Mesa) script */
+
+/*
+ * (C) Copyright IBM Corporation 2004
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * IBM,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#if !defined( _INDIRECT_SIZE_H_ )
+# define _INDIRECT_SIZE_H_
+
+/**
+ * \file
+ * Prototypes for functions used to determine the number of data elements in
+ * various GLX protocol messages.
+ *
+ * \author Ian Romanick <idr@us.ibm.com>
+ */
+
+#include <X11/Xfuncproto.h>
+
+# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+# define PURE __attribute__((pure))
+# else
+# define PURE
+# endif
+
+# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
+# define FASTCALL __attribute__((fastcall))
+# else
+# define FASTCALL
+# endif
+
+
+# undef PURE
+# undef FASTCALL
+
+#endif /* !defined( _INDIRECT_SIZE_H_ ) */
diff --git a/xorg-server/glx/indirect_size_get.c b/xorg-server/glx/indirect_size_get.c index da3a6cb85..f3329298a 100644 --- a/xorg-server/glx/indirect_size_get.c +++ b/xorg-server/glx/indirect_size_get.c @@ -25,1212 +25,1226 @@ * SOFTWARE. */ -#include <X11/Xfuncproto.h> + +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#else + +#include "glheader.h" + +#endif + #include <GL/gl.h> #include "indirect_size_get.h" #include "glxserver.h" #include "indirect_util.h" #include "indirect_size.h" -#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) -#define PURE __attribute__((pure)) -#else -#define PURE -#endif +# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# define PURE __attribute__((pure)) +# else +# define PURE +# endif + +# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) +# define FASTCALL __attribute__((fastcall)) +# else +# define FASTCALL +# endif -#if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) -#define FASTCALL __attribute__((fastcall)) -#else -#define FASTCALL -#endif #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(GLX_USE_APPLEGL) -#undef HAVE_ALIAS +# undef HAVE_ALIAS #endif #ifdef HAVE_ALIAS -#define ALIAS2(from,to) \ +# define ALIAS2(from,to) \ _X_INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \ __attribute__ ((alias( # to ))); -#define ALIAS(from,to) ALIAS2( from, __gl ## to ## _size ) +# define ALIAS(from,to) ALIAS2( from, __gl ## to ## _size ) #else -#define ALIAS(from,to) \ +# define ALIAS(from,to) \ _X_INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \ { return __gl ## to ## _size( e ); } #endif + _X_INTERNAL PURE FASTCALL GLint -__glCallLists_size(GLenum e) +__glCallLists_size( GLenum e ) { - switch (e) { - case GL_BYTE: - case GL_UNSIGNED_BYTE: - return 1; - case GL_SHORT: - case GL_UNSIGNED_SHORT: - case GL_2_BYTES: - case GL_HALF_FLOAT: - return 2; - case GL_3_BYTES: - return 3; - case GL_INT: - case GL_UNSIGNED_INT: - case GL_FLOAT: - case GL_4_BYTES: - return 4; - default: - return 0; + switch( e ) { + case GL_BYTE: + case GL_UNSIGNED_BYTE: + return 1; + case GL_SHORT: + case GL_UNSIGNED_SHORT: + case GL_2_BYTES: + case GL_HALF_FLOAT: + return 2; + case GL_3_BYTES: + return 3; + case GL_INT: + case GL_UNSIGNED_INT: + case GL_FLOAT: + case GL_4_BYTES: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glFogfv_size(GLenum e) +__glFogfv_size( GLenum e ) { - switch (e) { - case GL_FOG_INDEX: - case GL_FOG_DENSITY: - case GL_FOG_START: - case GL_FOG_END: - case GL_FOG_MODE: - case GL_FOG_OFFSET_VALUE_SGIX: - case GL_FOG_DISTANCE_MODE_NV: - return 1; - case GL_FOG_COLOR: - return 4; - default: - return 0; + switch( e ) { + case GL_FOG_INDEX: + case GL_FOG_DENSITY: + case GL_FOG_START: + case GL_FOG_END: + case GL_FOG_MODE: + case GL_FOG_OFFSET_VALUE_SGIX: + case GL_FOG_DISTANCE_MODE_NV: + return 1; + case GL_FOG_COLOR: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glLightfv_size(GLenum e) +__glLightfv_size( GLenum e ) { - switch (e) { - case GL_SPOT_EXPONENT: - case GL_SPOT_CUTOFF: - case GL_CONSTANT_ATTENUATION: - case GL_LINEAR_ATTENUATION: - case GL_QUADRATIC_ATTENUATION: - return 1; - case GL_SPOT_DIRECTION: - return 3; - case GL_AMBIENT: - case GL_DIFFUSE: - case GL_SPECULAR: - case GL_POSITION: - return 4; - default: - return 0; + switch( e ) { + case GL_SPOT_EXPONENT: + case GL_SPOT_CUTOFF: + case GL_CONSTANT_ATTENUATION: + case GL_LINEAR_ATTENUATION: + case GL_QUADRATIC_ATTENUATION: + return 1; + case GL_SPOT_DIRECTION: + return 3; + case GL_AMBIENT: + case GL_DIFFUSE: + case GL_SPECULAR: + case GL_POSITION: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glLightModelfv_size(GLenum e) +__glLightModelfv_size( GLenum e ) { - switch (e) { - case GL_LIGHT_MODEL_LOCAL_VIEWER: - case GL_LIGHT_MODEL_TWO_SIDE: - case GL_LIGHT_MODEL_COLOR_CONTROL: + switch( e ) { + case GL_LIGHT_MODEL_LOCAL_VIEWER: + case GL_LIGHT_MODEL_TWO_SIDE: + case GL_LIGHT_MODEL_COLOR_CONTROL: /* case GL_LIGHT_MODEL_COLOR_CONTROL_EXT:*/ - return 1; - case GL_LIGHT_MODEL_AMBIENT: - return 4; - default: - return 0; + return 1; + case GL_LIGHT_MODEL_AMBIENT: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glMaterialfv_size(GLenum e) +__glMaterialfv_size( GLenum e ) { - switch (e) { - case GL_SHININESS: - return 1; - case GL_COLOR_INDEXES: - return 3; - case GL_AMBIENT: - case GL_DIFFUSE: - case GL_SPECULAR: - case GL_EMISSION: - case GL_AMBIENT_AND_DIFFUSE: - return 4; - default: - return 0; + switch( e ) { + case GL_SHININESS: + return 1; + case GL_COLOR_INDEXES: + return 3; + case GL_AMBIENT: + case GL_DIFFUSE: + case GL_SPECULAR: + case GL_EMISSION: + case GL_AMBIENT_AND_DIFFUSE: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glTexParameterfv_size(GLenum e) +__glTexParameterfv_size( GLenum e ) { - switch (e) { - case GL_TEXTURE_MAG_FILTER: - case GL_TEXTURE_MIN_FILTER: - case GL_TEXTURE_WRAP_S: - case GL_TEXTURE_WRAP_T: - case GL_TEXTURE_PRIORITY: - case GL_TEXTURE_WRAP_R: - case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB: + switch( e ) { + case GL_TEXTURE_MAG_FILTER: + case GL_TEXTURE_MIN_FILTER: + case GL_TEXTURE_WRAP_S: + case GL_TEXTURE_WRAP_T: + case GL_TEXTURE_PRIORITY: + case GL_TEXTURE_WRAP_R: + case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB: /* case GL_SHADOW_AMBIENT_SGIX:*/ - case GL_TEXTURE_MIN_LOD: - case GL_TEXTURE_MAX_LOD: - case GL_TEXTURE_BASE_LEVEL: - case GL_TEXTURE_MAX_LEVEL: - case GL_TEXTURE_CLIPMAP_FRAME_SGIX: - case GL_TEXTURE_LOD_BIAS_S_SGIX: - case GL_TEXTURE_LOD_BIAS_T_SGIX: - case GL_TEXTURE_LOD_BIAS_R_SGIX: - case GL_GENERATE_MIPMAP: + case GL_TEXTURE_MIN_LOD: + case GL_TEXTURE_MAX_LOD: + case GL_TEXTURE_BASE_LEVEL: + case GL_TEXTURE_MAX_LEVEL: + case GL_TEXTURE_CLIPMAP_FRAME_SGIX: + case GL_TEXTURE_LOD_BIAS_S_SGIX: + case GL_TEXTURE_LOD_BIAS_T_SGIX: + case GL_TEXTURE_LOD_BIAS_R_SGIX: + case GL_GENERATE_MIPMAP: /* case GL_GENERATE_MIPMAP_SGIS:*/ - case GL_TEXTURE_COMPARE_SGIX: - case GL_TEXTURE_COMPARE_OPERATOR_SGIX: - case GL_TEXTURE_MAX_CLAMP_S_SGIX: - case GL_TEXTURE_MAX_CLAMP_T_SGIX: - case GL_TEXTURE_MAX_CLAMP_R_SGIX: - case GL_TEXTURE_MAX_ANISOTROPY_EXT: - case GL_TEXTURE_LOD_BIAS: + case GL_TEXTURE_COMPARE_SGIX: + case GL_TEXTURE_COMPARE_OPERATOR_SGIX: + case GL_TEXTURE_MAX_CLAMP_S_SGIX: + case GL_TEXTURE_MAX_CLAMP_T_SGIX: + case GL_TEXTURE_MAX_CLAMP_R_SGIX: + case GL_TEXTURE_MAX_ANISOTROPY_EXT: + case GL_TEXTURE_LOD_BIAS: /* case GL_TEXTURE_LOD_BIAS_EXT:*/ - case GL_TEXTURE_STORAGE_HINT_APPLE: - case GL_STORAGE_PRIVATE_APPLE: - case GL_STORAGE_CACHED_APPLE: - case GL_STORAGE_SHARED_APPLE: - case GL_DEPTH_TEXTURE_MODE: + case GL_TEXTURE_STORAGE_HINT_APPLE: + case GL_STORAGE_PRIVATE_APPLE: + case GL_STORAGE_CACHED_APPLE: + case GL_STORAGE_SHARED_APPLE: + case GL_DEPTH_TEXTURE_MODE: /* case GL_DEPTH_TEXTURE_MODE_ARB:*/ - case GL_TEXTURE_COMPARE_MODE: + case GL_TEXTURE_COMPARE_MODE: /* case GL_TEXTURE_COMPARE_MODE_ARB:*/ - case GL_TEXTURE_COMPARE_FUNC: + case GL_TEXTURE_COMPARE_FUNC: /* case GL_TEXTURE_COMPARE_FUNC_ARB:*/ - case GL_TEXTURE_UNSIGNED_REMAP_MODE_NV: - return 1; - case GL_TEXTURE_CLIPMAP_CENTER_SGIX: - case GL_TEXTURE_CLIPMAP_OFFSET_SGIX: - return 2; - case GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: - return 3; - case GL_TEXTURE_BORDER_COLOR: - case GL_POST_TEXTURE_FILTER_BIAS_SGIX: - case GL_POST_TEXTURE_FILTER_SCALE_SGIX: - return 4; - default: - return 0; + case GL_TEXTURE_UNSIGNED_REMAP_MODE_NV: + return 1; + case GL_TEXTURE_CLIPMAP_CENTER_SGIX: + case GL_TEXTURE_CLIPMAP_OFFSET_SGIX: + return 2; + case GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: + return 3; + case GL_TEXTURE_BORDER_COLOR: + case GL_POST_TEXTURE_FILTER_BIAS_SGIX: + case GL_POST_TEXTURE_FILTER_SCALE_SGIX: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glTexEnvfv_size(GLenum e) +__glTexEnvfv_size( GLenum e ) { - switch (e) { - case GL_ALPHA_SCALE: - case GL_TEXTURE_ENV_MODE: - case GL_TEXTURE_LOD_BIAS: - case GL_COMBINE_RGB: - case GL_COMBINE_ALPHA: - case GL_RGB_SCALE: - case GL_SOURCE0_RGB: - case GL_SOURCE1_RGB: - case GL_SOURCE2_RGB: - case GL_SOURCE3_RGB_NV: - case GL_SOURCE0_ALPHA: - case GL_SOURCE1_ALPHA: - case GL_SOURCE2_ALPHA: - case GL_SOURCE3_ALPHA_NV: - case GL_OPERAND0_RGB: - case GL_OPERAND1_RGB: - case GL_OPERAND2_RGB: - case GL_OPERAND3_RGB_NV: - case GL_OPERAND0_ALPHA: - case GL_OPERAND1_ALPHA: - case GL_OPERAND2_ALPHA: - case GL_OPERAND3_ALPHA_NV: - case GL_BUMP_TARGET_ATI: - case GL_COORD_REPLACE_ARB: + switch( e ) { + case GL_ALPHA_SCALE: + case GL_TEXTURE_ENV_MODE: + case GL_TEXTURE_LOD_BIAS: + case GL_COMBINE_RGB: + case GL_COMBINE_ALPHA: + case GL_RGB_SCALE: + case GL_SOURCE0_RGB: + case GL_SOURCE1_RGB: + case GL_SOURCE2_RGB: + case GL_SOURCE3_RGB_NV: + case GL_SOURCE0_ALPHA: + case GL_SOURCE1_ALPHA: + case GL_SOURCE2_ALPHA: + case GL_SOURCE3_ALPHA_NV: + case GL_OPERAND0_RGB: + case GL_OPERAND1_RGB: + case GL_OPERAND2_RGB: + case GL_OPERAND3_RGB_NV: + case GL_OPERAND0_ALPHA: + case GL_OPERAND1_ALPHA: + case GL_OPERAND2_ALPHA: + case GL_OPERAND3_ALPHA_NV: + case GL_BUMP_TARGET_ATI: + case GL_COORD_REPLACE_ARB: /* case GL_COORD_REPLACE_NV:*/ - return 1; - case GL_TEXTURE_ENV_COLOR: - return 4; - default: - return 0; + return 1; + case GL_TEXTURE_ENV_COLOR: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glTexGendv_size(GLenum e) +__glTexGendv_size( GLenum e ) { - switch (e) { - case GL_TEXTURE_GEN_MODE: - return 1; - case GL_OBJECT_PLANE: - case GL_EYE_PLANE: - return 4; - default: - return 0; + switch( e ) { + case GL_TEXTURE_GEN_MODE: + return 1; + case GL_OBJECT_PLANE: + case GL_EYE_PLANE: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glMap1d_size(GLenum e) +__glMap1d_size( GLenum e ) { - switch (e) { - case GL_MAP1_INDEX: - case GL_MAP1_TEXTURE_COORD_1: - return 1; - case GL_MAP1_TEXTURE_COORD_2: - return 2; - case GL_MAP1_NORMAL: - case GL_MAP1_TEXTURE_COORD_3: - case GL_MAP1_VERTEX_3: - return 3; - case GL_MAP1_COLOR_4: - case GL_MAP1_TEXTURE_COORD_4: - case GL_MAP1_VERTEX_4: - return 4; - default: - return 0; + switch( e ) { + case GL_MAP1_INDEX: + case GL_MAP1_TEXTURE_COORD_1: + return 1; + case GL_MAP1_TEXTURE_COORD_2: + return 2; + case GL_MAP1_NORMAL: + case GL_MAP1_TEXTURE_COORD_3: + case GL_MAP1_VERTEX_3: + return 3; + case GL_MAP1_COLOR_4: + case GL_MAP1_TEXTURE_COORD_4: + case GL_MAP1_VERTEX_4: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glMap2d_size(GLenum e) +__glMap2d_size( GLenum e ) { - switch (e) { - case GL_MAP2_INDEX: - case GL_MAP2_TEXTURE_COORD_1: - return 1; - case GL_MAP2_TEXTURE_COORD_2: - return 2; - case GL_MAP2_NORMAL: - case GL_MAP2_TEXTURE_COORD_3: - case GL_MAP2_VERTEX_3: - return 3; - case GL_MAP2_COLOR_4: - case GL_MAP2_TEXTURE_COORD_4: - case GL_MAP2_VERTEX_4: - return 4; - default: - return 0; + switch( e ) { + case GL_MAP2_INDEX: + case GL_MAP2_TEXTURE_COORD_1: + return 1; + case GL_MAP2_TEXTURE_COORD_2: + return 2; + case GL_MAP2_NORMAL: + case GL_MAP2_TEXTURE_COORD_3: + case GL_MAP2_VERTEX_3: + return 3; + case GL_MAP2_COLOR_4: + case GL_MAP2_TEXTURE_COORD_4: + case GL_MAP2_VERTEX_4: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetBooleanv_size(GLenum e) +__glGetBooleanv_size( GLenum e ) { - switch (e) { - case GL_CURRENT_INDEX: - case GL_CURRENT_RASTER_INDEX: - case GL_CURRENT_RASTER_POSITION_VALID: - case GL_CURRENT_RASTER_DISTANCE: - case GL_POINT_SMOOTH: - case GL_POINT_SIZE: - case GL_SMOOTH_POINT_SIZE_GRANULARITY: - case GL_LINE_SMOOTH: - case GL_LINE_WIDTH: - case GL_LINE_WIDTH_GRANULARITY: - case GL_LINE_STIPPLE: - case GL_LINE_STIPPLE_PATTERN: - case GL_LINE_STIPPLE_REPEAT: - case GL_LIST_MODE: - case GL_MAX_LIST_NESTING: - case GL_LIST_BASE: - case GL_LIST_INDEX: - case GL_POLYGON_SMOOTH: - case GL_POLYGON_STIPPLE: - case GL_EDGE_FLAG: - case GL_CULL_FACE: - case GL_CULL_FACE_MODE: - case GL_FRONT_FACE: - case GL_LIGHTING: - case GL_LIGHT_MODEL_LOCAL_VIEWER: - case GL_LIGHT_MODEL_TWO_SIDE: - case GL_SHADE_MODEL: - case GL_COLOR_MATERIAL_FACE: - case GL_COLOR_MATERIAL_PARAMETER: - case GL_COLOR_MATERIAL: - case GL_FOG: - case GL_FOG_INDEX: - case GL_FOG_DENSITY: - case GL_FOG_START: - case GL_FOG_END: - case GL_FOG_MODE: - case GL_DEPTH_TEST: - case GL_DEPTH_WRITEMASK: - case GL_DEPTH_CLEAR_VALUE: - case GL_DEPTH_FUNC: - case GL_STENCIL_TEST: - case GL_STENCIL_CLEAR_VALUE: - case GL_STENCIL_FUNC: - case GL_STENCIL_VALUE_MASK: - case GL_STENCIL_FAIL: - case GL_STENCIL_PASS_DEPTH_FAIL: - case GL_STENCIL_PASS_DEPTH_PASS: - case GL_STENCIL_REF: - case GL_STENCIL_WRITEMASK: - case GL_MATRIX_MODE: - case GL_NORMALIZE: - case GL_MODELVIEW_STACK_DEPTH: - case GL_PROJECTION_STACK_DEPTH: - case GL_TEXTURE_STACK_DEPTH: - case GL_ATTRIB_STACK_DEPTH: - case GL_CLIENT_ATTRIB_STACK_DEPTH: - case GL_ALPHA_TEST: - case GL_ALPHA_TEST_FUNC: - case GL_ALPHA_TEST_REF: - case GL_DITHER: - case GL_BLEND_DST: - case GL_BLEND_SRC: - case GL_BLEND: - case GL_LOGIC_OP_MODE: - case GL_LOGIC_OP: - case GL_AUX_BUFFERS: - case GL_DRAW_BUFFER: - case GL_READ_BUFFER: - case GL_SCISSOR_TEST: - case GL_INDEX_CLEAR_VALUE: - case GL_INDEX_WRITEMASK: - case GL_INDEX_MODE: - case GL_RGBA_MODE: - case GL_DOUBLEBUFFER: - case GL_STEREO: - case GL_RENDER_MODE: - case GL_PERSPECTIVE_CORRECTION_HINT: - case GL_POINT_SMOOTH_HINT: - case GL_LINE_SMOOTH_HINT: - case GL_POLYGON_SMOOTH_HINT: - case GL_FOG_HINT: - case GL_TEXTURE_GEN_S: - case GL_TEXTURE_GEN_T: - case GL_TEXTURE_GEN_R: - case GL_TEXTURE_GEN_Q: - case GL_PIXEL_MAP_I_TO_I: - case GL_PIXEL_MAP_I_TO_I_SIZE: - case GL_PIXEL_MAP_S_TO_S_SIZE: - case GL_PIXEL_MAP_I_TO_R_SIZE: - case GL_PIXEL_MAP_I_TO_G_SIZE: - case GL_PIXEL_MAP_I_TO_B_SIZE: - case GL_PIXEL_MAP_I_TO_A_SIZE: - case GL_PIXEL_MAP_R_TO_R_SIZE: - case GL_PIXEL_MAP_G_TO_G_SIZE: - case GL_PIXEL_MAP_B_TO_B_SIZE: - case GL_PIXEL_MAP_A_TO_A_SIZE: - case GL_UNPACK_SWAP_BYTES: - case GL_UNPACK_LSB_FIRST: - case GL_UNPACK_ROW_LENGTH: - case GL_UNPACK_SKIP_ROWS: - case GL_UNPACK_SKIP_PIXELS: - case GL_UNPACK_ALIGNMENT: - case GL_PACK_SWAP_BYTES: - case GL_PACK_LSB_FIRST: - case GL_PACK_ROW_LENGTH: - case GL_PACK_SKIP_ROWS: - case GL_PACK_SKIP_PIXELS: - case GL_PACK_ALIGNMENT: - case GL_MAP_COLOR: - case GL_MAP_STENCIL: - case GL_INDEX_SHIFT: - case GL_INDEX_OFFSET: - case GL_RED_SCALE: - case GL_RED_BIAS: - case GL_ZOOM_X: - case GL_ZOOM_Y: - case GL_GREEN_SCALE: - case GL_GREEN_BIAS: - case GL_BLUE_SCALE: - case GL_BLUE_BIAS: - case GL_ALPHA_SCALE: - case GL_ALPHA_BIAS: - case GL_DEPTH_SCALE: - case GL_DEPTH_BIAS: - case GL_MAX_EVAL_ORDER: - case GL_MAX_LIGHTS: - case GL_MAX_CLIP_PLANES: - case GL_MAX_TEXTURE_SIZE: - case GL_MAX_PIXEL_MAP_TABLE: - case GL_MAX_ATTRIB_STACK_DEPTH: - case GL_MAX_MODELVIEW_STACK_DEPTH: - case GL_MAX_NAME_STACK_DEPTH: - case GL_MAX_PROJECTION_STACK_DEPTH: - case GL_MAX_TEXTURE_STACK_DEPTH: - case GL_MAX_CLIENT_ATTRIB_STACK_DEPTH: - case GL_SUBPIXEL_BITS: - case GL_INDEX_BITS: - case GL_RED_BITS: - case GL_GREEN_BITS: - case GL_BLUE_BITS: - case GL_ALPHA_BITS: - case GL_DEPTH_BITS: - case GL_STENCIL_BITS: - case GL_ACCUM_RED_BITS: - case GL_ACCUM_GREEN_BITS: - case GL_ACCUM_BLUE_BITS: - case GL_ACCUM_ALPHA_BITS: - case GL_NAME_STACK_DEPTH: - case GL_AUTO_NORMAL: - case GL_MAP1_COLOR_4: - case GL_MAP1_INDEX: - case GL_MAP1_NORMAL: - case GL_MAP1_TEXTURE_COORD_1: - case GL_MAP1_TEXTURE_COORD_2: - case GL_MAP1_TEXTURE_COORD_3: - case GL_MAP1_TEXTURE_COORD_4: - case GL_MAP1_VERTEX_3: - case GL_MAP1_VERTEX_4: - case GL_MAP2_COLOR_4: - case GL_MAP2_INDEX: - case GL_MAP2_NORMAL: - case GL_MAP2_TEXTURE_COORD_1: - case GL_MAP2_TEXTURE_COORD_2: - case GL_MAP2_TEXTURE_COORD_3: - case GL_MAP2_TEXTURE_COORD_4: - case GL_MAP2_VERTEX_3: - case GL_MAP2_VERTEX_4: - case GL_MAP1_GRID_SEGMENTS: - case GL_TEXTURE_1D: - case GL_TEXTURE_2D: - case GL_POLYGON_OFFSET_UNITS: - case GL_CLIP_PLANE0: - case GL_CLIP_PLANE1: - case GL_CLIP_PLANE2: - case GL_CLIP_PLANE3: - case GL_CLIP_PLANE4: - case GL_CLIP_PLANE5: - case GL_LIGHT0: - case GL_LIGHT1: - case GL_LIGHT2: - case GL_LIGHT3: - case GL_LIGHT4: - case GL_LIGHT5: - case GL_LIGHT6: - case GL_LIGHT7: - case GL_BLEND_EQUATION: + switch( e ) { + case GL_CURRENT_INDEX: + case GL_CURRENT_RASTER_INDEX: + case GL_CURRENT_RASTER_POSITION_VALID: + case GL_CURRENT_RASTER_DISTANCE: + case GL_POINT_SMOOTH: + case GL_POINT_SIZE: + case GL_SMOOTH_POINT_SIZE_GRANULARITY: + case GL_LINE_SMOOTH: + case GL_LINE_WIDTH: + case GL_LINE_WIDTH_GRANULARITY: + case GL_LINE_STIPPLE: + case GL_LINE_STIPPLE_PATTERN: + case GL_LINE_STIPPLE_REPEAT: + case GL_LIST_MODE: + case GL_MAX_LIST_NESTING: + case GL_LIST_BASE: + case GL_LIST_INDEX: + case GL_POLYGON_SMOOTH: + case GL_POLYGON_STIPPLE: + case GL_EDGE_FLAG: + case GL_CULL_FACE: + case GL_CULL_FACE_MODE: + case GL_FRONT_FACE: + case GL_LIGHTING: + case GL_LIGHT_MODEL_LOCAL_VIEWER: + case GL_LIGHT_MODEL_TWO_SIDE: + case GL_SHADE_MODEL: + case GL_COLOR_MATERIAL_FACE: + case GL_COLOR_MATERIAL_PARAMETER: + case GL_COLOR_MATERIAL: + case GL_FOG: + case GL_FOG_INDEX: + case GL_FOG_DENSITY: + case GL_FOG_START: + case GL_FOG_END: + case GL_FOG_MODE: + case GL_DEPTH_TEST: + case GL_DEPTH_WRITEMASK: + case GL_DEPTH_CLEAR_VALUE: + case GL_DEPTH_FUNC: + case GL_STENCIL_TEST: + case GL_STENCIL_CLEAR_VALUE: + case GL_STENCIL_FUNC: + case GL_STENCIL_VALUE_MASK: + case GL_STENCIL_FAIL: + case GL_STENCIL_PASS_DEPTH_FAIL: + case GL_STENCIL_PASS_DEPTH_PASS: + case GL_STENCIL_REF: + case GL_STENCIL_WRITEMASK: + case GL_MATRIX_MODE: + case GL_NORMALIZE: + case GL_MODELVIEW_STACK_DEPTH: + case GL_PROJECTION_STACK_DEPTH: + case GL_TEXTURE_STACK_DEPTH: + case GL_ATTRIB_STACK_DEPTH: + case GL_CLIENT_ATTRIB_STACK_DEPTH: + case GL_ALPHA_TEST: + case GL_ALPHA_TEST_FUNC: + case GL_ALPHA_TEST_REF: + case GL_DITHER: + case GL_BLEND_DST: + case GL_BLEND_SRC: + case GL_BLEND: + case GL_LOGIC_OP_MODE: + case GL_LOGIC_OP: + case GL_AUX_BUFFERS: + case GL_DRAW_BUFFER: + case GL_READ_BUFFER: + case GL_SCISSOR_TEST: + case GL_INDEX_CLEAR_VALUE: + case GL_INDEX_WRITEMASK: + case GL_INDEX_MODE: + case GL_RGBA_MODE: + case GL_DOUBLEBUFFER: + case GL_STEREO: + case GL_RENDER_MODE: + case GL_PERSPECTIVE_CORRECTION_HINT: + case GL_POINT_SMOOTH_HINT: + case GL_LINE_SMOOTH_HINT: + case GL_POLYGON_SMOOTH_HINT: + case GL_FOG_HINT: + case GL_TEXTURE_GEN_S: + case GL_TEXTURE_GEN_T: + case GL_TEXTURE_GEN_R: + case GL_TEXTURE_GEN_Q: + case GL_PIXEL_MAP_I_TO_I: + case GL_PIXEL_MAP_I_TO_I_SIZE: + case GL_PIXEL_MAP_S_TO_S_SIZE: + case GL_PIXEL_MAP_I_TO_R_SIZE: + case GL_PIXEL_MAP_I_TO_G_SIZE: + case GL_PIXEL_MAP_I_TO_B_SIZE: + case GL_PIXEL_MAP_I_TO_A_SIZE: + case GL_PIXEL_MAP_R_TO_R_SIZE: + case GL_PIXEL_MAP_G_TO_G_SIZE: + case GL_PIXEL_MAP_B_TO_B_SIZE: + case GL_PIXEL_MAP_A_TO_A_SIZE: + case GL_UNPACK_SWAP_BYTES: + case GL_UNPACK_LSB_FIRST: + case GL_UNPACK_ROW_LENGTH: + case GL_UNPACK_SKIP_ROWS: + case GL_UNPACK_SKIP_PIXELS: + case GL_UNPACK_ALIGNMENT: + case GL_PACK_SWAP_BYTES: + case GL_PACK_LSB_FIRST: + case GL_PACK_ROW_LENGTH: + case GL_PACK_SKIP_ROWS: + case GL_PACK_SKIP_PIXELS: + case GL_PACK_ALIGNMENT: + case GL_MAP_COLOR: + case GL_MAP_STENCIL: + case GL_INDEX_SHIFT: + case GL_INDEX_OFFSET: + case GL_RED_SCALE: + case GL_RED_BIAS: + case GL_ZOOM_X: + case GL_ZOOM_Y: + case GL_GREEN_SCALE: + case GL_GREEN_BIAS: + case GL_BLUE_SCALE: + case GL_BLUE_BIAS: + case GL_ALPHA_SCALE: + case GL_ALPHA_BIAS: + case GL_DEPTH_SCALE: + case GL_DEPTH_BIAS: + case GL_MAX_EVAL_ORDER: + case GL_MAX_LIGHTS: + case GL_MAX_CLIP_PLANES: + case GL_MAX_TEXTURE_SIZE: + case GL_MAX_PIXEL_MAP_TABLE: + case GL_MAX_ATTRIB_STACK_DEPTH: + case GL_MAX_MODELVIEW_STACK_DEPTH: + case GL_MAX_NAME_STACK_DEPTH: + case GL_MAX_PROJECTION_STACK_DEPTH: + case GL_MAX_TEXTURE_STACK_DEPTH: + case GL_MAX_CLIENT_ATTRIB_STACK_DEPTH: + case GL_SUBPIXEL_BITS: + case GL_INDEX_BITS: + case GL_RED_BITS: + case GL_GREEN_BITS: + case GL_BLUE_BITS: + case GL_ALPHA_BITS: + case GL_DEPTH_BITS: + case GL_STENCIL_BITS: + case GL_ACCUM_RED_BITS: + case GL_ACCUM_GREEN_BITS: + case GL_ACCUM_BLUE_BITS: + case GL_ACCUM_ALPHA_BITS: + case GL_NAME_STACK_DEPTH: + case GL_AUTO_NORMAL: + case GL_MAP1_COLOR_4: + case GL_MAP1_INDEX: + case GL_MAP1_NORMAL: + case GL_MAP1_TEXTURE_COORD_1: + case GL_MAP1_TEXTURE_COORD_2: + case GL_MAP1_TEXTURE_COORD_3: + case GL_MAP1_TEXTURE_COORD_4: + case GL_MAP1_VERTEX_3: + case GL_MAP1_VERTEX_4: + case GL_MAP2_COLOR_4: + case GL_MAP2_INDEX: + case GL_MAP2_NORMAL: + case GL_MAP2_TEXTURE_COORD_1: + case GL_MAP2_TEXTURE_COORD_2: + case GL_MAP2_TEXTURE_COORD_3: + case GL_MAP2_TEXTURE_COORD_4: + case GL_MAP2_VERTEX_3: + case GL_MAP2_VERTEX_4: + case GL_MAP1_GRID_SEGMENTS: + case GL_TEXTURE_1D: + case GL_TEXTURE_2D: + case GL_POLYGON_OFFSET_UNITS: + case GL_CLIP_PLANE0: + case GL_CLIP_PLANE1: + case GL_CLIP_PLANE2: + case GL_CLIP_PLANE3: + case GL_CLIP_PLANE4: + case GL_CLIP_PLANE5: + case GL_LIGHT0: + case GL_LIGHT1: + case GL_LIGHT2: + case GL_LIGHT3: + case GL_LIGHT4: + case GL_LIGHT5: + case GL_LIGHT6: + case GL_LIGHT7: + case GL_BLEND_EQUATION: /* case GL_BLEND_EQUATION_EXT:*/ - case GL_CONVOLUTION_1D: - case GL_CONVOLUTION_2D: - case GL_SEPARABLE_2D: - case GL_MAX_CONVOLUTION_WIDTH: + case GL_CONVOLUTION_1D: + case GL_CONVOLUTION_2D: + case GL_SEPARABLE_2D: + case GL_MAX_CONVOLUTION_WIDTH: /* case GL_MAX_CONVOLUTION_WIDTH_EXT:*/ - case GL_MAX_CONVOLUTION_HEIGHT: + case GL_MAX_CONVOLUTION_HEIGHT: /* case GL_MAX_CONVOLUTION_HEIGHT_EXT:*/ - case GL_POST_CONVOLUTION_RED_SCALE: + case GL_POST_CONVOLUTION_RED_SCALE: /* case GL_POST_CONVOLUTION_RED_SCALE_EXT:*/ - case GL_POST_CONVOLUTION_GREEN_SCALE: + case GL_POST_CONVOLUTION_GREEN_SCALE: /* case GL_POST_CONVOLUTION_GREEN_SCALE_EXT:*/ - case GL_POST_CONVOLUTION_BLUE_SCALE: + case GL_POST_CONVOLUTION_BLUE_SCALE: /* case GL_POST_CONVOLUTION_BLUE_SCALE_EXT:*/ - case GL_POST_CONVOLUTION_ALPHA_SCALE: + case GL_POST_CONVOLUTION_ALPHA_SCALE: /* case GL_POST_CONVOLUTION_ALPHA_SCALE_EXT:*/ - case GL_POST_CONVOLUTION_RED_BIAS: + case GL_POST_CONVOLUTION_RED_BIAS: /* case GL_POST_CONVOLUTION_RED_BIAS_EXT:*/ - case GL_POST_CONVOLUTION_GREEN_BIAS: + case GL_POST_CONVOLUTION_GREEN_BIAS: /* case GL_POST_CONVOLUTION_GREEN_BIAS_EXT:*/ - case GL_POST_CONVOLUTION_BLUE_BIAS: + case GL_POST_CONVOLUTION_BLUE_BIAS: /* case GL_POST_CONVOLUTION_BLUE_BIAS_EXT:*/ - case GL_POST_CONVOLUTION_ALPHA_BIAS: + case GL_POST_CONVOLUTION_ALPHA_BIAS: /* case GL_POST_CONVOLUTION_ALPHA_BIAS_EXT:*/ - case GL_HISTOGRAM: - case GL_MINMAX: - case GL_POLYGON_OFFSET_FACTOR: - case GL_RESCALE_NORMAL: + case GL_HISTOGRAM: + case GL_MINMAX: + case GL_POLYGON_OFFSET_FACTOR: + case GL_RESCALE_NORMAL: /* case GL_RESCALE_NORMAL_EXT:*/ - case GL_TEXTURE_BINDING_1D: - case GL_TEXTURE_BINDING_2D: - case GL_TEXTURE_BINDING_3D: - case GL_PACK_SKIP_IMAGES: - case GL_PACK_IMAGE_HEIGHT: - case GL_UNPACK_SKIP_IMAGES: - case GL_UNPACK_IMAGE_HEIGHT: - case GL_TEXTURE_3D: - case GL_MAX_3D_TEXTURE_SIZE: - case GL_VERTEX_ARRAY: - case GL_NORMAL_ARRAY: - case GL_COLOR_ARRAY: - case GL_INDEX_ARRAY: - case GL_TEXTURE_COORD_ARRAY: - case GL_EDGE_FLAG_ARRAY: - case GL_VERTEX_ARRAY_SIZE: - case GL_VERTEX_ARRAY_TYPE: - case GL_VERTEX_ARRAY_STRIDE: - case GL_NORMAL_ARRAY_TYPE: - case GL_NORMAL_ARRAY_STRIDE: - case GL_COLOR_ARRAY_SIZE: - case GL_COLOR_ARRAY_TYPE: - case GL_COLOR_ARRAY_STRIDE: - case GL_INDEX_ARRAY_TYPE: - case GL_INDEX_ARRAY_STRIDE: - case GL_TEXTURE_COORD_ARRAY_SIZE: - case GL_TEXTURE_COORD_ARRAY_TYPE: - case GL_TEXTURE_COORD_ARRAY_STRIDE: - case GL_EDGE_FLAG_ARRAY_STRIDE: - case GL_MULTISAMPLE: + case GL_TEXTURE_BINDING_1D: + case GL_TEXTURE_BINDING_2D: + case GL_TEXTURE_BINDING_3D: + case GL_PACK_SKIP_IMAGES: + case GL_PACK_IMAGE_HEIGHT: + case GL_UNPACK_SKIP_IMAGES: + case GL_UNPACK_IMAGE_HEIGHT: + case GL_TEXTURE_3D: + case GL_MAX_3D_TEXTURE_SIZE: + case GL_VERTEX_ARRAY: + case GL_NORMAL_ARRAY: + case GL_COLOR_ARRAY: + case GL_INDEX_ARRAY: + case GL_TEXTURE_COORD_ARRAY: + case GL_EDGE_FLAG_ARRAY: + case GL_VERTEX_ARRAY_SIZE: + case GL_VERTEX_ARRAY_TYPE: + case GL_VERTEX_ARRAY_STRIDE: + case GL_NORMAL_ARRAY_TYPE: + case GL_NORMAL_ARRAY_STRIDE: + case GL_COLOR_ARRAY_SIZE: + case GL_COLOR_ARRAY_TYPE: + case GL_COLOR_ARRAY_STRIDE: + case GL_INDEX_ARRAY_TYPE: + case GL_INDEX_ARRAY_STRIDE: + case GL_TEXTURE_COORD_ARRAY_SIZE: + case GL_TEXTURE_COORD_ARRAY_TYPE: + case GL_TEXTURE_COORD_ARRAY_STRIDE: + case GL_EDGE_FLAG_ARRAY_STRIDE: + case GL_MULTISAMPLE: /* case GL_MULTISAMPLE_ARB:*/ - case GL_SAMPLE_ALPHA_TO_COVERAGE: + case GL_SAMPLE_ALPHA_TO_COVERAGE: /* case GL_SAMPLE_ALPHA_TO_COVERAGE_ARB:*/ - case GL_SAMPLE_ALPHA_TO_ONE: + case GL_SAMPLE_ALPHA_TO_ONE: /* case GL_SAMPLE_ALPHA_TO_ONE_ARB:*/ - case GL_SAMPLE_COVERAGE: + case GL_SAMPLE_COVERAGE: /* case GL_SAMPLE_COVERAGE_ARB:*/ - case GL_SAMPLE_BUFFERS: + case GL_SAMPLE_BUFFERS: /* case GL_SAMPLE_BUFFERS_ARB:*/ - case GL_SAMPLES: + case GL_SAMPLES: /* case GL_SAMPLES_ARB:*/ - case GL_SAMPLE_COVERAGE_VALUE: + case GL_SAMPLE_COVERAGE_VALUE: /* case GL_SAMPLE_COVERAGE_VALUE_ARB:*/ - case GL_SAMPLE_COVERAGE_INVERT: + case GL_SAMPLE_COVERAGE_INVERT: /* case GL_SAMPLE_COVERAGE_INVERT_ARB:*/ - case GL_COLOR_MATRIX_STACK_DEPTH: - case GL_MAX_COLOR_MATRIX_STACK_DEPTH: - case GL_POST_COLOR_MATRIX_RED_SCALE: - case GL_POST_COLOR_MATRIX_GREEN_SCALE: - case GL_POST_COLOR_MATRIX_BLUE_SCALE: - case GL_POST_COLOR_MATRIX_ALPHA_SCALE: - case GL_POST_COLOR_MATRIX_RED_BIAS: - case GL_POST_COLOR_MATRIX_GREEN_BIAS: - case GL_POST_COLOR_MATRIX_BLUE_BIAS: - case GL_POST_COLOR_MATRIX_ALPHA_BIAS: - case GL_BLEND_DST_RGB: - case GL_BLEND_SRC_RGB: - case GL_BLEND_DST_ALPHA: - case GL_BLEND_SRC_ALPHA: - case GL_COLOR_TABLE: - case GL_POST_CONVOLUTION_COLOR_TABLE: - case GL_POST_COLOR_MATRIX_COLOR_TABLE: - case GL_MAX_ELEMENTS_VERTICES: - case GL_MAX_ELEMENTS_INDICES: - case GL_CLIP_VOLUME_CLIPPING_HINT_EXT: - case GL_POINT_SIZE_MIN: - case GL_POINT_SIZE_MAX: - case GL_POINT_FADE_THRESHOLD_SIZE: - case GL_OCCLUSION_TEST_HP: - case GL_OCCLUSION_TEST_RESULT_HP: - case GL_LIGHT_MODEL_COLOR_CONTROL: - case GL_RESET_NOTIFICATION_STRATEGY_ARB: - case GL_CURRENT_FOG_COORD: - case GL_FOG_COORDINATE_ARRAY_TYPE: - case GL_FOG_COORDINATE_ARRAY_STRIDE: - case GL_FOG_COORD_ARRAY: - case GL_COLOR_SUM_ARB: - case GL_SECONDARY_COLOR_ARRAY_SIZE: - case GL_SECONDARY_COLOR_ARRAY_TYPE: - case GL_SECONDARY_COLOR_ARRAY_STRIDE: - case GL_SECONDARY_COLOR_ARRAY: - case GL_ACTIVE_TEXTURE: + case GL_COLOR_MATRIX_STACK_DEPTH: + case GL_MAX_COLOR_MATRIX_STACK_DEPTH: + case GL_POST_COLOR_MATRIX_RED_SCALE: + case GL_POST_COLOR_MATRIX_GREEN_SCALE: + case GL_POST_COLOR_MATRIX_BLUE_SCALE: + case GL_POST_COLOR_MATRIX_ALPHA_SCALE: + case GL_POST_COLOR_MATRIX_RED_BIAS: + case GL_POST_COLOR_MATRIX_GREEN_BIAS: + case GL_POST_COLOR_MATRIX_BLUE_BIAS: + case GL_POST_COLOR_MATRIX_ALPHA_BIAS: + case GL_BLEND_DST_RGB: + case GL_BLEND_SRC_RGB: + case GL_BLEND_DST_ALPHA: + case GL_BLEND_SRC_ALPHA: + case GL_COLOR_TABLE: + case GL_POST_CONVOLUTION_COLOR_TABLE: + case GL_POST_COLOR_MATRIX_COLOR_TABLE: + case GL_MAX_ELEMENTS_VERTICES: + case GL_MAX_ELEMENTS_INDICES: + case GL_CLIP_VOLUME_CLIPPING_HINT_EXT: + case GL_POINT_SIZE_MIN: + case GL_POINT_SIZE_MAX: + case GL_POINT_FADE_THRESHOLD_SIZE: + case GL_OCCLUSION_TEST_HP: + case GL_OCCLUSION_TEST_RESULT_HP: + case GL_LIGHT_MODEL_COLOR_CONTROL: + case GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB: + case GL_RESET_NOTIFICATION_STRATEGY_ARB: + case GL_CURRENT_FOG_COORD: + case GL_FOG_COORDINATE_ARRAY_TYPE: + case GL_FOG_COORDINATE_ARRAY_STRIDE: + case GL_FOG_COORD_ARRAY: + case GL_COLOR_SUM_ARB: + case GL_SECONDARY_COLOR_ARRAY_SIZE: + case GL_SECONDARY_COLOR_ARRAY_TYPE: + case GL_SECONDARY_COLOR_ARRAY_STRIDE: + case GL_SECONDARY_COLOR_ARRAY: + case GL_ACTIVE_TEXTURE: /* case GL_ACTIVE_TEXTURE_ARB:*/ - case GL_CLIENT_ACTIVE_TEXTURE: + case GL_CLIENT_ACTIVE_TEXTURE: /* case GL_CLIENT_ACTIVE_TEXTURE_ARB:*/ - case GL_MAX_TEXTURE_UNITS: + case GL_MAX_TEXTURE_UNITS: /* case GL_MAX_TEXTURE_UNITS_ARB:*/ - case GL_MAX_RENDERBUFFER_SIZE: + case GL_MAX_RENDERBUFFER_SIZE: /* case GL_MAX_RENDERBUFFER_SIZE_EXT:*/ - case GL_TEXTURE_COMPRESSION_HINT: + case GL_TEXTURE_COMPRESSION_HINT: /* case GL_TEXTURE_COMPRESSION_HINT_ARB:*/ - case GL_TEXTURE_RECTANGLE_ARB: + case GL_TEXTURE_RECTANGLE_ARB: /* case GL_TEXTURE_RECTANGLE_NV:*/ - case GL_TEXTURE_BINDING_RECTANGLE_ARB: + case GL_TEXTURE_BINDING_RECTANGLE_ARB: /* case GL_TEXTURE_BINDING_RECTANGLE_NV:*/ - case GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB: + case GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB: /* case GL_MAX_RECTANGLE_TEXTURE_SIZE_NV:*/ - case GL_MAX_TEXTURE_LOD_BIAS: - case GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: - case GL_MAX_SHININESS_NV: - case GL_MAX_SPOT_EXPONENT_NV: - case GL_TEXTURE_CUBE_MAP: + case GL_MAX_TEXTURE_LOD_BIAS: + case GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: + case GL_MAX_SHININESS_NV: + case GL_MAX_SPOT_EXPONENT_NV: + case GL_TEXTURE_CUBE_MAP: /* case GL_TEXTURE_CUBE_MAP_ARB:*/ - case GL_TEXTURE_BINDING_CUBE_MAP: + case GL_TEXTURE_BINDING_CUBE_MAP: /* case GL_TEXTURE_BINDING_CUBE_MAP_ARB:*/ - case GL_MAX_CUBE_MAP_TEXTURE_SIZE: + case GL_MAX_CUBE_MAP_TEXTURE_SIZE: /* case GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB:*/ - case GL_MULTISAMPLE_FILTER_HINT_NV: - case GL_FOG_DISTANCE_MODE_NV: - case GL_VERTEX_PROGRAM_ARB: - case GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB: - case GL_MAX_PROGRAM_MATRICES_ARB: - case GL_CURRENT_MATRIX_STACK_DEPTH_ARB: - case GL_VERTEX_PROGRAM_POINT_SIZE_ARB: - case GL_VERTEX_PROGRAM_TWO_SIDE_ARB: - case GL_PROGRAM_ERROR_POSITION_ARB: - case GL_DEPTH_CLAMP: + case GL_MULTISAMPLE_FILTER_HINT_NV: + case GL_FOG_DISTANCE_MODE_NV: + case GL_VERTEX_PROGRAM_ARB: + case GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB: + case GL_MAX_PROGRAM_MATRICES_ARB: + case GL_CURRENT_MATRIX_STACK_DEPTH_ARB: + case GL_VERTEX_PROGRAM_POINT_SIZE_ARB: + case GL_VERTEX_PROGRAM_TWO_SIDE_ARB: + case GL_PROGRAM_ERROR_POSITION_ARB: + case GL_DEPTH_CLAMP: /* case GL_DEPTH_CLAMP_NV:*/ - case GL_NUM_COMPRESSED_TEXTURE_FORMATS: + case GL_NUM_COMPRESSED_TEXTURE_FORMATS: /* case GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB:*/ - case GL_MAX_VERTEX_UNITS_ARB: - case GL_ACTIVE_VERTEX_UNITS_ARB: - case GL_WEIGHT_SUM_UNITY_ARB: - case GL_VERTEX_BLEND_ARB: - case GL_CURRENT_WEIGHT_ARB: - case GL_WEIGHT_ARRAY_TYPE_ARB: - case GL_WEIGHT_ARRAY_STRIDE_ARB: - case GL_WEIGHT_ARRAY_SIZE_ARB: - case GL_WEIGHT_ARRAY_ARB: - case GL_PACK_INVERT_MESA: - case GL_STENCIL_BACK_FUNC_ATI: - case GL_STENCIL_BACK_FAIL_ATI: - case GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI: - case GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI: - case GL_FRAGMENT_PROGRAM_ARB: - case GL_MAX_DRAW_BUFFERS_ARB: -/* case GL_MAX_DRAW_BUFFERS_NV:*/ - case GL_DRAW_BUFFER0_ARB: + case GL_MAX_VERTEX_UNITS_ARB: + case GL_ACTIVE_VERTEX_UNITS_ARB: + case GL_WEIGHT_SUM_UNITY_ARB: + case GL_VERTEX_BLEND_ARB: + case GL_CURRENT_WEIGHT_ARB: + case GL_WEIGHT_ARRAY_TYPE_ARB: + case GL_WEIGHT_ARRAY_STRIDE_ARB: + case GL_WEIGHT_ARRAY_SIZE_ARB: + case GL_WEIGHT_ARRAY_ARB: + case GL_PACK_INVERT_MESA: + case GL_STENCIL_BACK_FUNC_ATI: + case GL_STENCIL_BACK_FAIL_ATI: + case GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI: + case GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI: + case GL_FRAGMENT_PROGRAM_ARB: + case GL_MAX_DRAW_BUFFERS_ARB: +/* case GL_MAX_DRAW_BUFFERS_ATI:*/ + case GL_DRAW_BUFFER0_ARB: /* case GL_DRAW_BUFFER0_ATI:*/ - case GL_DRAW_BUFFER1_ARB: -/* case GL_DRAW_BUFFER1_NV:*/ - case GL_DRAW_BUFFER2_ARB: + case GL_DRAW_BUFFER1_ARB: +/* case GL_DRAW_BUFFER1_ATI:*/ + case GL_DRAW_BUFFER2_ARB: /* case GL_DRAW_BUFFER2_ATI:*/ - case GL_DRAW_BUFFER3_ARB: + case GL_DRAW_BUFFER3_ARB: /* case GL_DRAW_BUFFER3_ATI:*/ - case GL_DRAW_BUFFER4_ARB: + case GL_DRAW_BUFFER4_ARB: /* case GL_DRAW_BUFFER4_ATI:*/ - case GL_DRAW_BUFFER5_ARB: + case GL_DRAW_BUFFER5_ARB: /* case GL_DRAW_BUFFER5_ATI:*/ - case GL_DRAW_BUFFER6_ARB: + case GL_DRAW_BUFFER6_ARB: /* case GL_DRAW_BUFFER6_ATI:*/ - case GL_DRAW_BUFFER7_ARB: + case GL_DRAW_BUFFER7_ARB: /* case GL_DRAW_BUFFER7_ATI:*/ - case GL_DRAW_BUFFER8_ARB: + case GL_DRAW_BUFFER8_ARB: /* case GL_DRAW_BUFFER8_ATI:*/ - case GL_DRAW_BUFFER9_ARB: + case GL_DRAW_BUFFER9_ARB: /* case GL_DRAW_BUFFER9_ATI:*/ - case GL_DRAW_BUFFER10_ARB: -/* case GL_DRAW_BUFFER10_NV:*/ - case GL_DRAW_BUFFER11_ARB: -/* case GL_DRAW_BUFFER11_NV:*/ - case GL_DRAW_BUFFER12_ARB: + case GL_DRAW_BUFFER10_ARB: +/* case GL_DRAW_BUFFER10_ATI:*/ + case GL_DRAW_BUFFER11_ARB: +/* case GL_DRAW_BUFFER11_ATI:*/ + case GL_DRAW_BUFFER12_ARB: /* case GL_DRAW_BUFFER12_ATI:*/ - case GL_DRAW_BUFFER13_ARB: + case GL_DRAW_BUFFER13_ARB: /* case GL_DRAW_BUFFER13_ATI:*/ - case GL_DRAW_BUFFER14_ARB: -/* case GL_DRAW_BUFFER14_NV:*/ - case GL_DRAW_BUFFER15_ARB: + case GL_DRAW_BUFFER14_ARB: +/* case GL_DRAW_BUFFER14_ATI:*/ + case GL_DRAW_BUFFER15_ARB: /* case GL_DRAW_BUFFER15_ATI:*/ - case GL_BLEND_EQUATION_ALPHA_EXT: - case GL_MATRIX_PALETTE_ARB: - case GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB: - case GL_MAX_PALETTE_MATRICES_ARB: - case GL_CURRENT_PALETTE_MATRIX_ARB: - case GL_MATRIX_INDEX_ARRAY_ARB: - case GL_CURRENT_MATRIX_INDEX_ARB: - case GL_MATRIX_INDEX_ARRAY_SIZE_ARB: - case GL_MATRIX_INDEX_ARRAY_TYPE_ARB: - case GL_MATRIX_INDEX_ARRAY_STRIDE_ARB: - case GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT: - case GL_POINT_SPRITE_ARB: + case GL_BLEND_EQUATION_ALPHA_EXT: + case GL_MATRIX_PALETTE_ARB: + case GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB: + case GL_MAX_PALETTE_MATRICES_ARB: + case GL_CURRENT_PALETTE_MATRIX_ARB: + case GL_MATRIX_INDEX_ARRAY_ARB: + case GL_CURRENT_MATRIX_INDEX_ARB: + case GL_MATRIX_INDEX_ARRAY_SIZE_ARB: + case GL_MATRIX_INDEX_ARRAY_TYPE_ARB: + case GL_MATRIX_INDEX_ARRAY_STRIDE_ARB: + case GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT: + case GL_TEXTURE_CUBE_MAP_SEAMLESS: + case GL_POINT_SPRITE_ARB: /* case GL_POINT_SPRITE_NV:*/ - case GL_POINT_SPRITE_R_MODE_NV: - case GL_MAX_VERTEX_ATTRIBS_ARB: - case GL_MAX_TEXTURE_COORDS_ARB: - case GL_MAX_TEXTURE_IMAGE_UNITS_ARB: - case GL_DEPTH_BOUNDS_TEST_EXT: - case GL_ARRAY_BUFFER_BINDING_ARB: - case GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB: - case GL_VERTEX_ARRAY_BUFFER_BINDING_ARB: - case GL_NORMAL_ARRAY_BUFFER_BINDING_ARB: - case GL_COLOR_ARRAY_BUFFER_BINDING_ARB: - case GL_INDEX_ARRAY_BUFFER_BINDING_ARB: - case GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB: - case GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB: - case GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB: - case GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB: - case GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB: - case GL_TEXTURE_CUBE_MAP_SEAMLESS: - case GL_MAX_ARRAY_TEXTURE_LAYERS_EXT: - case GL_STENCIL_TEST_TWO_SIDE_EXT: - case GL_ACTIVE_STENCIL_FACE_EXT: - case GL_SAMPLER_BINDING: - case GL_TEXTURE_BINDING_1D_ARRAY_EXT: - case GL_TEXTURE_BINDING_2D_ARRAY_EXT: - case GL_FRAMEBUFFER_BINDING: + case GL_POINT_SPRITE_R_MODE_NV: + case GL_MAX_VERTEX_ATTRIBS_ARB: + case GL_MAX_TEXTURE_COORDS_ARB: + case GL_MAX_TEXTURE_IMAGE_UNITS_ARB: + case GL_DEPTH_BOUNDS_TEST_EXT: + case GL_ARRAY_BUFFER_BINDING_ARB: + case GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB: + case GL_VERTEX_ARRAY_BUFFER_BINDING_ARB: + case GL_NORMAL_ARRAY_BUFFER_BINDING_ARB: + case GL_COLOR_ARRAY_BUFFER_BINDING_ARB: + case GL_INDEX_ARRAY_BUFFER_BINDING_ARB: + case GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB: + case GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB: + case GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB: + case GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB: + case GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB: + case GL_MAX_ARRAY_TEXTURE_LAYERS_EXT: + case GL_STENCIL_TEST_TWO_SIDE_EXT: + case GL_ACTIVE_STENCIL_FACE_EXT: + case GL_SAMPLER_BINDING: + case GL_TEXTURE_BINDING_1D_ARRAY_EXT: + case GL_TEXTURE_BINDING_2D_ARRAY_EXT: + case GL_FRAMEBUFFER_BINDING: /* case GL_DRAW_FRAMEBUFFER_BINDING_EXT:*/ - case GL_RENDERBUFFER_BINDING: + case GL_RENDERBUFFER_BINDING: /* case GL_RENDERBUFFER_BINDING_EXT:*/ - case GL_READ_FRAMEBUFFER_BINDING: + case GL_READ_FRAMEBUFFER_BINDING: /* case GL_READ_FRAMEBUFFER_BINDING_EXT:*/ - case GL_MAX_COLOR_ATTACHMENTS: + case GL_MAX_COLOR_ATTACHMENTS: /* case GL_MAX_COLOR_ATTACHMENTS_EXT:*/ - case GL_MAX_SAMPLES: + case GL_MAX_SAMPLES: /* case GL_MAX_SAMPLES_EXT:*/ - case GL_MAX_SERVER_WAIT_TIMEOUT: - case GL_RASTER_POSITION_UNCLIPPED_IBM: - return 1; - case GL_SMOOTH_POINT_SIZE_RANGE: - case GL_LINE_WIDTH_RANGE: - case GL_POLYGON_MODE: - case GL_DEPTH_RANGE: - case GL_MAX_VIEWPORT_DIMS: - case GL_MAP1_GRID_DOMAIN: - case GL_MAP2_GRID_SEGMENTS: - case GL_ALIASED_POINT_SIZE_RANGE: - case GL_ALIASED_LINE_WIDTH_RANGE: - case GL_DEPTH_BOUNDS_EXT: - return 2; - case GL_CURRENT_NORMAL: - case GL_POINT_DISTANCE_ATTENUATION: - return 3; - case GL_CURRENT_COLOR: - case GL_CURRENT_TEXTURE_COORDS: - case GL_CURRENT_RASTER_COLOR: - case GL_CURRENT_RASTER_TEXTURE_COORDS: - case GL_CURRENT_RASTER_POSITION: - case GL_LIGHT_MODEL_AMBIENT: - case GL_FOG_COLOR: - case GL_ACCUM_CLEAR_VALUE: - case GL_VIEWPORT: - case GL_SCISSOR_BOX: - case GL_COLOR_CLEAR_VALUE: - case GL_COLOR_WRITEMASK: - case GL_MAP2_GRID_DOMAIN: - case GL_BLEND_COLOR: + case GL_MAX_SERVER_WAIT_TIMEOUT: + case GL_MAX_DEBUG_MESSAGE_LENGTH_ARB: + case GL_MAX_DEBUG_LOGGED_MESSAGES_ARB: + case GL_DEBUG_LOGGED_MESSAGES_ARB: + case GL_RASTER_POSITION_UNCLIPPED_IBM: + return 1; + case GL_SMOOTH_POINT_SIZE_RANGE: + case GL_LINE_WIDTH_RANGE: + case GL_POLYGON_MODE: + case GL_DEPTH_RANGE: + case GL_MAX_VIEWPORT_DIMS: + case GL_MAP1_GRID_DOMAIN: + case GL_MAP2_GRID_SEGMENTS: + case GL_ALIASED_POINT_SIZE_RANGE: + case GL_ALIASED_LINE_WIDTH_RANGE: + case GL_DEPTH_BOUNDS_EXT: + return 2; + case GL_CURRENT_NORMAL: + case GL_POINT_DISTANCE_ATTENUATION: + return 3; + case GL_CURRENT_COLOR: + case GL_CURRENT_TEXTURE_COORDS: + case GL_CURRENT_RASTER_COLOR: + case GL_CURRENT_RASTER_TEXTURE_COORDS: + case GL_CURRENT_RASTER_POSITION: + case GL_LIGHT_MODEL_AMBIENT: + case GL_FOG_COLOR: + case GL_ACCUM_CLEAR_VALUE: + case GL_VIEWPORT: + case GL_SCISSOR_BOX: + case GL_COLOR_CLEAR_VALUE: + case GL_COLOR_WRITEMASK: + case GL_MAP2_GRID_DOMAIN: + case GL_BLEND_COLOR: /* case GL_BLEND_COLOR_EXT:*/ - case GL_CURRENT_SECONDARY_COLOR: - return 4; - case GL_MODELVIEW_MATRIX: - case GL_PROJECTION_MATRIX: - case GL_TEXTURE_MATRIX: - case GL_MODELVIEW0_ARB: - case GL_COLOR_MATRIX: - case GL_MODELVIEW1_ARB: - case GL_CURRENT_MATRIX_ARB: - case GL_MODELVIEW2_ARB: - case GL_MODELVIEW3_ARB: - case GL_MODELVIEW4_ARB: - case GL_MODELVIEW5_ARB: - case GL_MODELVIEW6_ARB: - case GL_MODELVIEW7_ARB: - case GL_MODELVIEW8_ARB: - case GL_MODELVIEW9_ARB: - case GL_MODELVIEW10_ARB: - case GL_MODELVIEW11_ARB: - case GL_MODELVIEW12_ARB: - case GL_MODELVIEW13_ARB: - case GL_MODELVIEW14_ARB: - case GL_MODELVIEW15_ARB: - case GL_MODELVIEW16_ARB: - case GL_MODELVIEW17_ARB: - case GL_MODELVIEW18_ARB: - case GL_MODELVIEW19_ARB: - case GL_MODELVIEW20_ARB: - case GL_MODELVIEW21_ARB: - case GL_MODELVIEW22_ARB: - case GL_MODELVIEW23_ARB: - case GL_MODELVIEW24_ARB: - case GL_MODELVIEW25_ARB: - case GL_MODELVIEW26_ARB: - case GL_MODELVIEW27_ARB: - case GL_MODELVIEW28_ARB: - case GL_MODELVIEW29_ARB: - case GL_MODELVIEW30_ARB: - case GL_MODELVIEW31_ARB: - case GL_TRANSPOSE_CURRENT_MATRIX_ARB: - return 16; - case GL_FOG_COORDINATE_SOURCE: - case GL_COMPRESSED_TEXTURE_FORMATS: - case GL_RGBA_INTEGER_MODE_EXT: - return __glGetBooleanv_variable_size(e); - default: - return 0; + case GL_CURRENT_SECONDARY_COLOR: + return 4; + case GL_MODELVIEW_MATRIX: + case GL_PROJECTION_MATRIX: + case GL_TEXTURE_MATRIX: + case GL_MODELVIEW0_ARB: + case GL_COLOR_MATRIX: + case GL_MODELVIEW1_ARB: + case GL_CURRENT_MATRIX_ARB: + case GL_MODELVIEW2_ARB: + case GL_MODELVIEW3_ARB: + case GL_MODELVIEW4_ARB: + case GL_MODELVIEW5_ARB: + case GL_MODELVIEW6_ARB: + case GL_MODELVIEW7_ARB: + case GL_MODELVIEW8_ARB: + case GL_MODELVIEW9_ARB: + case GL_MODELVIEW10_ARB: + case GL_MODELVIEW11_ARB: + case GL_MODELVIEW12_ARB: + case GL_MODELVIEW13_ARB: + case GL_MODELVIEW14_ARB: + case GL_MODELVIEW15_ARB: + case GL_MODELVIEW16_ARB: + case GL_MODELVIEW17_ARB: + case GL_MODELVIEW18_ARB: + case GL_MODELVIEW19_ARB: + case GL_MODELVIEW20_ARB: + case GL_MODELVIEW21_ARB: + case GL_MODELVIEW22_ARB: + case GL_MODELVIEW23_ARB: + case GL_MODELVIEW24_ARB: + case GL_MODELVIEW25_ARB: + case GL_MODELVIEW26_ARB: + case GL_MODELVIEW27_ARB: + case GL_MODELVIEW28_ARB: + case GL_MODELVIEW29_ARB: + case GL_MODELVIEW30_ARB: + case GL_MODELVIEW31_ARB: + case GL_TRANSPOSE_CURRENT_MATRIX_ARB: + return 16; + case GL_FOG_COORDINATE_SOURCE: + case GL_COMPRESSED_TEXTURE_FORMATS: + case GL_MIN_PROGRAM_TEXEL_OFFSET: + case GL_MAX_PROGRAM_TEXEL_OFFSET: + case GL_RGBA_INTEGER_MODE_EXT: + return __glGetBooleanv_variable_size( e ); + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetTexParameterfv_size(GLenum e) +__glGetTexParameterfv_size( GLenum e ) { - switch (e) { - case GL_TEXTURE_MAG_FILTER: - case GL_TEXTURE_MIN_FILTER: - case GL_TEXTURE_WRAP_S: - case GL_TEXTURE_WRAP_T: - case GL_TEXTURE_PRIORITY: - case GL_TEXTURE_RESIDENT: - case GL_TEXTURE_WRAP_R: - case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB: + switch( e ) { + case GL_TEXTURE_MAG_FILTER: + case GL_TEXTURE_MIN_FILTER: + case GL_TEXTURE_WRAP_S: + case GL_TEXTURE_WRAP_T: + case GL_TEXTURE_PRIORITY: + case GL_TEXTURE_RESIDENT: + case GL_TEXTURE_WRAP_R: + case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB: /* case GL_SHADOW_AMBIENT_SGIX:*/ - case GL_TEXTURE_MIN_LOD: - case GL_TEXTURE_MAX_LOD: - case GL_TEXTURE_BASE_LEVEL: - case GL_TEXTURE_MAX_LEVEL: - case GL_TEXTURE_CLIPMAP_FRAME_SGIX: - case GL_TEXTURE_LOD_BIAS_S_SGIX: - case GL_TEXTURE_LOD_BIAS_T_SGIX: - case GL_TEXTURE_LOD_BIAS_R_SGIX: - case GL_GENERATE_MIPMAP: + case GL_TEXTURE_MIN_LOD: + case GL_TEXTURE_MAX_LOD: + case GL_TEXTURE_BASE_LEVEL: + case GL_TEXTURE_MAX_LEVEL: + case GL_TEXTURE_CLIPMAP_FRAME_SGIX: + case GL_TEXTURE_LOD_BIAS_S_SGIX: + case GL_TEXTURE_LOD_BIAS_T_SGIX: + case GL_TEXTURE_LOD_BIAS_R_SGIX: + case GL_GENERATE_MIPMAP: /* case GL_GENERATE_MIPMAP_SGIS:*/ - case GL_TEXTURE_COMPARE_SGIX: - case GL_TEXTURE_COMPARE_OPERATOR_SGIX: - case GL_TEXTURE_MAX_CLAMP_S_SGIX: - case GL_TEXTURE_MAX_CLAMP_T_SGIX: - case GL_TEXTURE_MAX_CLAMP_R_SGIX: - case GL_TEXTURE_MAX_ANISOTROPY_EXT: - case GL_TEXTURE_LOD_BIAS: + case GL_TEXTURE_COMPARE_SGIX: + case GL_TEXTURE_COMPARE_OPERATOR_SGIX: + case GL_TEXTURE_MAX_CLAMP_S_SGIX: + case GL_TEXTURE_MAX_CLAMP_T_SGIX: + case GL_TEXTURE_MAX_CLAMP_R_SGIX: + case GL_TEXTURE_MAX_ANISOTROPY_EXT: + case GL_TEXTURE_LOD_BIAS: /* case GL_TEXTURE_LOD_BIAS_EXT:*/ - case GL_TEXTURE_RANGE_LENGTH_APPLE: - case GL_TEXTURE_STORAGE_HINT_APPLE: - case GL_DEPTH_TEXTURE_MODE: + case GL_TEXTURE_RANGE_LENGTH_APPLE: + case GL_TEXTURE_STORAGE_HINT_APPLE: + case GL_DEPTH_TEXTURE_MODE: /* case GL_DEPTH_TEXTURE_MODE_ARB:*/ - case GL_TEXTURE_COMPARE_MODE: + case GL_TEXTURE_COMPARE_MODE: /* case GL_TEXTURE_COMPARE_MODE_ARB:*/ - case GL_TEXTURE_COMPARE_FUNC: + case GL_TEXTURE_COMPARE_FUNC: /* case GL_TEXTURE_COMPARE_FUNC_ARB:*/ - case GL_TEXTURE_UNSIGNED_REMAP_MODE_NV: - return 1; - case GL_TEXTURE_CLIPMAP_CENTER_SGIX: - case GL_TEXTURE_CLIPMAP_OFFSET_SGIX: - return 2; - case GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: - return 3; - case GL_TEXTURE_BORDER_COLOR: - case GL_POST_TEXTURE_FILTER_BIAS_SGIX: - case GL_POST_TEXTURE_FILTER_SCALE_SGIX: - return 4; - default: - return 0; + case GL_TEXTURE_UNSIGNED_REMAP_MODE_NV: + return 1; + case GL_TEXTURE_CLIPMAP_CENTER_SGIX: + case GL_TEXTURE_CLIPMAP_OFFSET_SGIX: + return 2; + case GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: + return 3; + case GL_TEXTURE_BORDER_COLOR: + case GL_POST_TEXTURE_FILTER_BIAS_SGIX: + case GL_POST_TEXTURE_FILTER_SCALE_SGIX: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetTexLevelParameterfv_size(GLenum e) +__glGetTexLevelParameterfv_size( GLenum e ) { - switch (e) { - case GL_TEXTURE_WIDTH: - case GL_TEXTURE_HEIGHT: - case GL_TEXTURE_COMPONENTS: - case GL_TEXTURE_BORDER: - case GL_TEXTURE_RED_SIZE: + switch( e ) { + case GL_TEXTURE_WIDTH: + case GL_TEXTURE_HEIGHT: + case GL_TEXTURE_COMPONENTS: + case GL_TEXTURE_BORDER: + case GL_TEXTURE_RED_SIZE: /* case GL_TEXTURE_RED_SIZE_EXT:*/ - case GL_TEXTURE_GREEN_SIZE: + case GL_TEXTURE_GREEN_SIZE: /* case GL_TEXTURE_GREEN_SIZE_EXT:*/ - case GL_TEXTURE_BLUE_SIZE: + case GL_TEXTURE_BLUE_SIZE: /* case GL_TEXTURE_BLUE_SIZE_EXT:*/ - case GL_TEXTURE_ALPHA_SIZE: + case GL_TEXTURE_ALPHA_SIZE: /* case GL_TEXTURE_ALPHA_SIZE_EXT:*/ - case GL_TEXTURE_LUMINANCE_SIZE: + case GL_TEXTURE_LUMINANCE_SIZE: /* case GL_TEXTURE_LUMINANCE_SIZE_EXT:*/ - case GL_TEXTURE_INTENSITY_SIZE: + case GL_TEXTURE_INTENSITY_SIZE: /* case GL_TEXTURE_INTENSITY_SIZE_EXT:*/ - case GL_TEXTURE_DEPTH: - case GL_TEXTURE_INDEX_SIZE_EXT: - case GL_TEXTURE_COMPRESSED_IMAGE_SIZE: + case GL_TEXTURE_DEPTH: + case GL_TEXTURE_INDEX_SIZE_EXT: + case GL_TEXTURE_COMPRESSED_IMAGE_SIZE: /* case GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB:*/ - case GL_TEXTURE_COMPRESSED: + case GL_TEXTURE_COMPRESSED: /* case GL_TEXTURE_COMPRESSED_ARB:*/ - case GL_TEXTURE_DEPTH_SIZE: + case GL_TEXTURE_DEPTH_SIZE: /* case GL_TEXTURE_DEPTH_SIZE_ARB:*/ - case GL_TEXTURE_STENCIL_SIZE: + case GL_TEXTURE_STENCIL_SIZE: /* case GL_TEXTURE_STENCIL_SIZE_EXT:*/ - return 1; - default: - return 0; + return 1; + default: return 0; + } +} + +_X_INTERNAL PURE FASTCALL GLint +__glGetPointerv_size( GLenum e ) +{ + switch( e ) { + case GL_DEBUG_CALLBACK_FUNCTION_ARB: + case GL_DEBUG_CALLBACK_USER_PARAM_ARB: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glColorTableParameterfv_size(GLenum e) +__glColorTableParameterfv_size( GLenum e ) { - switch (e) { - case GL_COLOR_TABLE_SCALE: - case GL_COLOR_TABLE_BIAS: - return 4; - default: - return 0; + switch( e ) { + case GL_COLOR_TABLE_SCALE: + case GL_COLOR_TABLE_BIAS: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetColorTableParameterfv_size(GLenum e) +__glGetColorTableParameterfv_size( GLenum e ) { - switch (e) { - case GL_COLOR_TABLE_FORMAT: + switch( e ) { + case GL_COLOR_TABLE_FORMAT: /* case GL_COLOR_TABLE_FORMAT_EXT:*/ - case GL_COLOR_TABLE_WIDTH: + case GL_COLOR_TABLE_WIDTH: /* case GL_COLOR_TABLE_WIDTH_EXT:*/ - case GL_COLOR_TABLE_RED_SIZE: + case GL_COLOR_TABLE_RED_SIZE: /* case GL_COLOR_TABLE_RED_SIZE_EXT:*/ - case GL_COLOR_TABLE_GREEN_SIZE: + case GL_COLOR_TABLE_GREEN_SIZE: /* case GL_COLOR_TABLE_GREEN_SIZE_EXT:*/ - case GL_COLOR_TABLE_BLUE_SIZE: + case GL_COLOR_TABLE_BLUE_SIZE: /* case GL_COLOR_TABLE_BLUE_SIZE_EXT:*/ - case GL_COLOR_TABLE_ALPHA_SIZE: + case GL_COLOR_TABLE_ALPHA_SIZE: /* case GL_COLOR_TABLE_ALPHA_SIZE_EXT:*/ - case GL_COLOR_TABLE_LUMINANCE_SIZE: + case GL_COLOR_TABLE_LUMINANCE_SIZE: /* case GL_COLOR_TABLE_LUMINANCE_SIZE_EXT:*/ - case GL_COLOR_TABLE_INTENSITY_SIZE: + case GL_COLOR_TABLE_INTENSITY_SIZE: /* case GL_COLOR_TABLE_INTENSITY_SIZE_EXT:*/ - return 1; - case GL_COLOR_TABLE_SCALE: - case GL_COLOR_TABLE_BIAS: - return 4; - default: - return 0; + return 1; + case GL_COLOR_TABLE_SCALE: + case GL_COLOR_TABLE_BIAS: + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glConvolutionParameterfv_size(GLenum e) +__glConvolutionParameterfv_size( GLenum e ) { - switch (e) { - case GL_CONVOLUTION_BORDER_MODE: + switch( e ) { + case GL_CONVOLUTION_BORDER_MODE: /* case GL_CONVOLUTION_BORDER_MODE_EXT:*/ - return 1; - case GL_CONVOLUTION_FILTER_SCALE: + return 1; + case GL_CONVOLUTION_FILTER_SCALE: /* case GL_CONVOLUTION_FILTER_SCALE_EXT:*/ - case GL_CONVOLUTION_FILTER_BIAS: + case GL_CONVOLUTION_FILTER_BIAS: /* case GL_CONVOLUTION_FILTER_BIAS_EXT:*/ - case GL_CONVOLUTION_BORDER_COLOR: + case GL_CONVOLUTION_BORDER_COLOR: /* case GL_CONVOLUTION_BORDER_COLOR_HP:*/ - return 4; - default: - return 0; + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetConvolutionParameterfv_size(GLenum e) +__glGetConvolutionParameterfv_size( GLenum e ) { - switch (e) { - case GL_CONVOLUTION_BORDER_MODE: + switch( e ) { + case GL_CONVOLUTION_BORDER_MODE: /* case GL_CONVOLUTION_BORDER_MODE_EXT:*/ - case GL_CONVOLUTION_FORMAT: + case GL_CONVOLUTION_FORMAT: /* case GL_CONVOLUTION_FORMAT_EXT:*/ - case GL_CONVOLUTION_WIDTH: + case GL_CONVOLUTION_WIDTH: /* case GL_CONVOLUTION_WIDTH_EXT:*/ - case GL_CONVOLUTION_HEIGHT: + case GL_CONVOLUTION_HEIGHT: /* case GL_CONVOLUTION_HEIGHT_EXT:*/ - case GL_MAX_CONVOLUTION_WIDTH: + case GL_MAX_CONVOLUTION_WIDTH: /* case GL_MAX_CONVOLUTION_WIDTH_EXT:*/ - case GL_MAX_CONVOLUTION_HEIGHT: + case GL_MAX_CONVOLUTION_HEIGHT: /* case GL_MAX_CONVOLUTION_HEIGHT_EXT:*/ - return 1; - case GL_CONVOLUTION_FILTER_SCALE: + return 1; + case GL_CONVOLUTION_FILTER_SCALE: /* case GL_CONVOLUTION_FILTER_SCALE_EXT:*/ - case GL_CONVOLUTION_FILTER_BIAS: + case GL_CONVOLUTION_FILTER_BIAS: /* case GL_CONVOLUTION_FILTER_BIAS_EXT:*/ - case GL_CONVOLUTION_BORDER_COLOR: + case GL_CONVOLUTION_BORDER_COLOR: /* case GL_CONVOLUTION_BORDER_COLOR_HP:*/ - return 4; - default: - return 0; + return 4; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetHistogramParameterfv_size(GLenum e) +__glGetHistogramParameterfv_size( GLenum e ) { - switch (e) { - case GL_HISTOGRAM_WIDTH: - case GL_HISTOGRAM_FORMAT: - case GL_HISTOGRAM_RED_SIZE: - case GL_HISTOGRAM_GREEN_SIZE: - case GL_HISTOGRAM_BLUE_SIZE: - case GL_HISTOGRAM_ALPHA_SIZE: - case GL_HISTOGRAM_LUMINANCE_SIZE: - case GL_HISTOGRAM_SINK: - return 1; - default: - return 0; + switch( e ) { + case GL_HISTOGRAM_WIDTH: + case GL_HISTOGRAM_FORMAT: + case GL_HISTOGRAM_RED_SIZE: + case GL_HISTOGRAM_GREEN_SIZE: + case GL_HISTOGRAM_BLUE_SIZE: + case GL_HISTOGRAM_ALPHA_SIZE: + case GL_HISTOGRAM_LUMINANCE_SIZE: + case GL_HISTOGRAM_SINK: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetMinmaxParameterfv_size(GLenum e) +__glGetMinmaxParameterfv_size( GLenum e ) { - switch (e) { - case GL_MINMAX_FORMAT: - case GL_MINMAX_SINK: - return 1; - default: - return 0; + switch( e ) { + case GL_MINMAX_FORMAT: + case GL_MINMAX_SINK: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetProgramivARB_size(GLenum e) +__glPointParameterfv_size( GLenum e ) { - switch (e) { - case GL_PROGRAM_LENGTH_ARB: - case GL_PROGRAM_BINDING_ARB: - case GL_PROGRAM_ALU_INSTRUCTIONS_ARB: - case GL_PROGRAM_TEX_INSTRUCTIONS_ARB: - case GL_PROGRAM_TEX_INDIRECTIONS_ARB: - case GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: - case GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB: - case GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: - case GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB: - case GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: - case GL_PROGRAM_FORMAT_ARB: - case GL_PROGRAM_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_INSTRUCTIONS_ARB: - case GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB: - case GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB: - case GL_PROGRAM_TEMPORARIES_ARB: - case GL_MAX_PROGRAM_TEMPORARIES_ARB: - case GL_PROGRAM_NATIVE_TEMPORARIES_ARB: - case GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB: - case GL_PROGRAM_PARAMETERS_ARB: - case GL_MAX_PROGRAM_PARAMETERS_ARB: - case GL_PROGRAM_NATIVE_PARAMETERS_ARB: - case GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB: - case GL_PROGRAM_ATTRIBS_ARB: - case GL_MAX_PROGRAM_ATTRIBS_ARB: - case GL_PROGRAM_NATIVE_ATTRIBS_ARB: - case GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB: - case GL_PROGRAM_ADDRESS_REGISTERS_ARB: - case GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB: - case GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB: - case GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB: - case GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB: - case GL_MAX_PROGRAM_ENV_PARAMETERS_ARB: - case GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB: - case GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV: - case GL_MAX_PROGRAM_CALL_DEPTH_NV: - case GL_MAX_PROGRAM_IF_DEPTH_NV: - case GL_MAX_PROGRAM_LOOP_DEPTH_NV: - case GL_MAX_PROGRAM_LOOP_COUNT_NV: - return 1; - default: - return 0; + switch( e ) { + case GL_POINT_SIZE_MIN: +/* case GL_POINT_SIZE_MIN_ARB:*/ +/* case GL_POINT_SIZE_MIN_SGIS:*/ + case GL_POINT_SIZE_MAX: +/* case GL_POINT_SIZE_MAX_ARB:*/ +/* case GL_POINT_SIZE_MAX_SGIS:*/ + case GL_POINT_FADE_THRESHOLD_SIZE: +/* case GL_POINT_FADE_THRESHOLD_SIZE_ARB:*/ +/* case GL_POINT_FADE_THRESHOLD_SIZE_SGIS:*/ + case GL_POINT_SPRITE_R_MODE_NV: + case GL_POINT_SPRITE_COORD_ORIGIN: + return 1; + case GL_POINT_DISTANCE_ATTENUATION: +/* case GL_POINT_DISTANCE_ATTENUATION_ARB:*/ +/* case GL_POINT_DISTANCE_ATTENUATION_SGIS:*/ + return 3; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetVertexAttribdvARB_size(GLenum e) +__glGetQueryObjectiv_size( GLenum e ) { - switch (e) { - case GL_VERTEX_PROGRAM_ARB: - case GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB: - case GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB: - case GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB: - case GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB: - case GL_CURRENT_VERTEX_ATTRIB_ARB: - case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB: - return 1; - default: - return 0; + switch( e ) { + case GL_QUERY_RESULT_ARB: + case GL_QUERY_RESULT_AVAILABLE_ARB: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetQueryObjectivARB_size(GLenum e) +__glGetQueryiv_size( GLenum e ) { - switch (e) { - case GL_QUERY_RESULT_ARB: - case GL_QUERY_RESULT_AVAILABLE_ARB: - return 1; - default: - return 0; + switch( e ) { + case GL_QUERY_COUNTER_BITS_ARB: + case GL_CURRENT_QUERY_ARB: + case GL_ANY_SAMPLES_PASSED: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetQueryivARB_size(GLenum e) +__glGetVertexAttribdv_size( GLenum e ) { - switch (e) { - case GL_QUERY_COUNTER_BITS_ARB: - case GL_CURRENT_QUERY_ARB: - return 1; - default: - return 0; + switch( e ) { + case GL_VERTEX_PROGRAM_ARB: + case GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB: + case GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB: + case GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB: + case GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB: + case GL_CURRENT_VERTEX_ATTRIB_ARB: + case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glPointParameterfvEXT_size(GLenum e) +__glGetProgramivARB_size( GLenum e ) { - switch (e) { - case GL_POINT_SIZE_MIN: -/* case GL_POINT_SIZE_MIN_ARB:*/ -/* case GL_POINT_SIZE_MIN_SGIS:*/ - case GL_POINT_SIZE_MAX: -/* case GL_POINT_SIZE_MAX_ARB:*/ -/* case GL_POINT_SIZE_MAX_SGIS:*/ - case GL_POINT_FADE_THRESHOLD_SIZE: -/* case GL_POINT_FADE_THRESHOLD_SIZE_ARB:*/ -/* case GL_POINT_FADE_THRESHOLD_SIZE_SGIS:*/ - case GL_POINT_SPRITE_R_MODE_NV: - case GL_POINT_SPRITE_COORD_ORIGIN: - return 1; - case GL_POINT_DISTANCE_ATTENUATION: -/* case GL_POINT_DISTANCE_ATTENUATION_ARB:*/ -/* case GL_POINT_DISTANCE_ATTENUATION_SGIS:*/ - return 3; - default: - return 0; + switch( e ) { + case GL_PROGRAM_LENGTH_ARB: + case GL_PROGRAM_BINDING_ARB: + case GL_PROGRAM_ALU_INSTRUCTIONS_ARB: + case GL_PROGRAM_TEX_INSTRUCTIONS_ARB: + case GL_PROGRAM_TEX_INDIRECTIONS_ARB: + case GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: + case GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB: + case GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: + case GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB: + case GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: + case GL_PROGRAM_FORMAT_ARB: + case GL_PROGRAM_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_INSTRUCTIONS_ARB: + case GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB: + case GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB: + case GL_PROGRAM_TEMPORARIES_ARB: + case GL_MAX_PROGRAM_TEMPORARIES_ARB: + case GL_PROGRAM_NATIVE_TEMPORARIES_ARB: + case GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB: + case GL_PROGRAM_PARAMETERS_ARB: + case GL_MAX_PROGRAM_PARAMETERS_ARB: + case GL_PROGRAM_NATIVE_PARAMETERS_ARB: + case GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB: + case GL_PROGRAM_ATTRIBS_ARB: + case GL_MAX_PROGRAM_ATTRIBS_ARB: + case GL_PROGRAM_NATIVE_ATTRIBS_ARB: + case GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB: + case GL_PROGRAM_ADDRESS_REGISTERS_ARB: + case GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB: + case GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB: + case GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB: + case GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB: + case GL_MAX_PROGRAM_ENV_PARAMETERS_ARB: + case GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB: + case GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV: + case GL_MAX_PROGRAM_CALL_DEPTH_NV: + case GL_MAX_PROGRAM_IF_DEPTH_NV: + case GL_MAX_PROGRAM_LOOP_DEPTH_NV: + case GL_MAX_PROGRAM_LOOP_COUNT_NV: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetProgramivNV_size(GLenum e) +__glGetFramebufferAttachmentParameteriv_size( GLenum e ) { - switch (e) { - case GL_PROGRAM_LENGTH_NV: - case GL_PROGRAM_TARGET_NV: - case GL_PROGRAM_RESIDENT_NV: - return 1; - default: - return 0; + switch( e ) { + case GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: + case GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: + case GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: + case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: +/* case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT:*/ + case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: +/* case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT:*/ + case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: +/* case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT:*/ + case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: +/* case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT:*/ + case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetVertexAttribdvNV_size(GLenum e) +__glGetProgramivNV_size( GLenum e ) { - switch (e) { - case GL_ATTRIB_ARRAY_SIZE_NV: - case GL_ATTRIB_ARRAY_STRIDE_NV: - case GL_ATTRIB_ARRAY_TYPE_NV: - case GL_CURRENT_ATTRIB_NV: - return 1; - default: - return 0; + switch( e ) { + case GL_PROGRAM_LENGTH_NV: + case GL_PROGRAM_TARGET_NV: + case GL_PROGRAM_RESIDENT_NV: + return 1; + default: return 0; } } _X_INTERNAL PURE FASTCALL GLint -__glGetFramebufferAttachmentParameterivEXT_size(GLenum e) +__glGetVertexAttribdvNV_size( GLenum e ) { - switch (e) { - case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT: - case GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT: - case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT: - case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT: - case GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT: - return 1; - default: - return 0; + switch( e ) { + case GL_ATTRIB_ARRAY_SIZE_NV: + case GL_ATTRIB_ARRAY_STRIDE_NV: + case GL_ATTRIB_ARRAY_TYPE_NV: + case GL_CURRENT_ATTRIB_NV: + return 1; + default: return 0; } } -ALIAS(Fogiv, Fogfv) - ALIAS(Lightiv, Lightfv) - ALIAS(LightModeliv, LightModelfv) - ALIAS(Materialiv, Materialfv) - ALIAS(TexParameteriv, TexParameterfv) - ALIAS(TexEnviv, TexEnvfv) - ALIAS(TexGenfv, TexGendv) - ALIAS(TexGeniv, TexGendv) - ALIAS(Map1f, Map1d) - ALIAS(Map2f, Map2d) - ALIAS(GetDoublev, GetBooleanv) - ALIAS(GetFloatv, GetBooleanv) - ALIAS(GetIntegerv, GetBooleanv) - ALIAS(GetLightfv, Lightfv) - ALIAS(GetLightiv, Lightfv) - ALIAS(GetMaterialfv, Materialfv) - ALIAS(GetMaterialiv, Materialfv) - ALIAS(GetTexEnvfv, TexEnvfv) - ALIAS(GetTexEnviv, TexEnvfv) - ALIAS(GetTexGendv, TexGendv) - ALIAS(GetTexGenfv, TexGendv) - ALIAS(GetTexGeniv, TexGendv) - ALIAS(GetTexParameteriv, GetTexParameterfv) - ALIAS(GetTexLevelParameteriv, GetTexLevelParameterfv) - ALIAS(ColorTableParameteriv, ColorTableParameterfv) - ALIAS(GetColorTableParameteriv, GetColorTableParameterfv) - ALIAS(ConvolutionParameteriv, ConvolutionParameterfv) - ALIAS(GetConvolutionParameteriv, GetConvolutionParameterfv) - ALIAS(GetHistogramParameteriv, GetHistogramParameterfv) - ALIAS(GetMinmaxParameteriv, GetMinmaxParameterfv) - ALIAS(GetVertexAttribfvARB, GetVertexAttribdvARB) - ALIAS(GetVertexAttribivARB, GetVertexAttribdvARB) - ALIAS(GetQueryObjectuivARB, GetQueryObjectivARB) - ALIAS(GetVertexAttribfvNV, GetVertexAttribdvNV) - ALIAS(GetVertexAttribivNV, GetVertexAttribdvNV) - ALIAS(PointParameterivNV, PointParameterfvEXT) -#undef PURE -#undef FASTCALL +ALIAS( Fogiv, Fogfv ) +ALIAS( Lightiv, Lightfv ) +ALIAS( LightModeliv, LightModelfv ) +ALIAS( Materialiv, Materialfv ) +ALIAS( TexParameteriv, TexParameterfv ) +ALIAS( TexEnviv, TexEnvfv ) +ALIAS( TexGenfv, TexGendv ) +ALIAS( TexGeniv, TexGendv ) +ALIAS( Map1f, Map1d ) +ALIAS( Map2f, Map2d ) +ALIAS( GetDoublev, GetBooleanv ) +ALIAS( GetFloatv, GetBooleanv ) +ALIAS( GetIntegerv, GetBooleanv ) +ALIAS( GetLightfv, Lightfv ) +ALIAS( GetLightiv, Lightfv ) +ALIAS( GetMaterialfv, Materialfv ) +ALIAS( GetMaterialiv, Materialfv ) +ALIAS( GetTexEnvfv, TexEnvfv ) +ALIAS( GetTexEnviv, TexEnvfv ) +ALIAS( GetTexGendv, TexGendv ) +ALIAS( GetTexGenfv, TexGendv ) +ALIAS( GetTexGeniv, TexGendv ) +ALIAS( GetTexParameteriv, GetTexParameterfv ) +ALIAS( GetTexLevelParameteriv, GetTexLevelParameterfv ) +ALIAS( ColorTableParameteriv, ColorTableParameterfv ) +ALIAS( GetColorTableParameteriv, GetColorTableParameterfv ) +ALIAS( ConvolutionParameteriv, ConvolutionParameterfv ) +ALIAS( GetConvolutionParameteriv, GetConvolutionParameterfv ) +ALIAS( GetHistogramParameteriv, GetHistogramParameterfv ) +ALIAS( GetMinmaxParameteriv, GetMinmaxParameterfv ) +ALIAS( PointParameteriv, PointParameterfv ) +ALIAS( GetQueryObjectuiv, GetQueryObjectiv ) +ALIAS( GetVertexAttribfv, GetVertexAttribdv ) +ALIAS( GetVertexAttribiv, GetVertexAttribdv ) +ALIAS( GetVertexAttribfvNV, GetVertexAttribdvNV ) +ALIAS( GetVertexAttribivNV, GetVertexAttribdvNV ) + +# undef PURE +# undef FASTCALL diff --git a/xorg-server/glx/indirect_size_get.h b/xorg-server/glx/indirect_size_get.h index 4cfb3a6ba..8c2027653 100644 --- a/xorg-server/glx/indirect_size_get.h +++ b/xorg-server/glx/indirect_size_get.h @@ -26,7 +26,7 @@ */ #if !defined( _INDIRECT_SIZE_GET_H_ ) -#define _INDIRECT_SIZE_GET_H_ +# define _INDIRECT_SIZE_GET_H_ /** * \file @@ -38,18 +38,38 @@ #include <X11/Xfuncproto.h> -#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) -#define PURE __attribute__((pure)) -#else -#define PURE -#endif +# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# define PURE __attribute__((pure)) +# else +# define PURE +# endif -#if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) -#define FASTCALL __attribute__((fastcall)) -#else -#define FASTCALL -#endif +# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) +# define FASTCALL __attribute__((fastcall)) +# else +# define FASTCALL +# endif +extern _X_INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetBooleanv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetDoublev_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetFloatv_size(GLenum); @@ -67,33 +87,35 @@ extern _X_INTERNAL PURE FASTCALL GLint __glGetTexParameterfv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetTexParameteriv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetTexLevelParameterfv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetTexLevelParameteriv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint -__glGetColorTableParameterfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint -__glGetColorTableParameteriv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint -__glGetConvolutionParameterfv_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint -__glGetConvolutionParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetPointerv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetColorTableParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetColorTableParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetConvolutionParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetConvolutionParameteriv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetHistogramParameterfv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetHistogramParameteriv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetMinmaxParameterfv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetMinmaxParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glPointParameteriv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryObjectiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryObjectuiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryiv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribdv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribfv_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribiv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetProgramivARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribivARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryObjectivARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryObjectuivARB_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint __glGetQueryivARB_size(GLenum); +extern _X_INTERNAL PURE FASTCALL GLint __glGetFramebufferAttachmentParameteriv_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetProgramivNV_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvNV_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvNV_size(GLenum); extern _X_INTERNAL PURE FASTCALL GLint __glGetVertexAttribivNV_size(GLenum); -extern _X_INTERNAL PURE FASTCALL GLint -__glGetFramebufferAttachmentParameterivEXT_size(GLenum); -#undef PURE -#undef FASTCALL +# undef PURE +# undef FASTCALL -#endif /* !defined( _INDIRECT_SIZE_GET_H_ ) */ +#endif /* !defined( _INDIRECT_SIZE_GET_H_ ) */ diff --git a/xorg-server/glx/indirect_table.c b/xorg-server/glx/indirect_table.c index 8922e43fd..4ab3ba3e8 100644 --- a/xorg-server/glx/indirect_table.c +++ b/xorg-server/glx/indirect_table.c @@ -25,6 +25,10 @@ * SOFTWARE. */ +#ifndef HAVE_DIX_CONFIG_H +#include "glheader.h" +#endif + #include <inttypes.h> #include "glxserver.h" #include "glxext.h" @@ -78,8 +82,7 @@ static const void *Single_function_table[112][2] = { /* [ 1] = 1 */ {__glXDisp_Render, __glXDispSwap_Render}, /* [ 2] = 2 */ {__glXDisp_RenderLarge, __glXDispSwap_RenderLarge}, /* [ 3] = 3 */ {__glXDisp_CreateContext, __glXDispSwap_CreateContext}, - /* [ 4] = 4 */ {__glXDisp_DestroyContext, - __glXDispSwap_DestroyContext}, + /* [ 4] = 4 */ {__glXDisp_DestroyContext, __glXDispSwap_DestroyContext}, /* [ 5] = 5 */ {__glXDisp_MakeCurrent, __glXDispSwap_MakeCurrent}, /* [ 6] = 6 */ {__glXDisp_IsDirect, __glXDispSwap_IsDirect}, /* [ 7] = 7 */ {__glXDisp_QueryVersion, __glXDispSwap_QueryVersion}, @@ -88,43 +91,29 @@ static const void *Single_function_table[112][2] = { /* [ 10] = 10 */ {__glXDisp_CopyContext, __glXDispSwap_CopyContext}, /* [ 11] = 11 */ {__glXDisp_SwapBuffers, __glXDispSwap_SwapBuffers}, /* [ 12] = 12 */ {__glXDisp_UseXFont, __glXDispSwap_UseXFont}, - /* [ 13] = 13 */ {__glXDisp_CreateGLXPixmap, - __glXDispSwap_CreateGLXPixmap}, - /* [ 14] = 14 */ {__glXDisp_GetVisualConfigs, - __glXDispSwap_GetVisualConfigs}, - /* [ 15] = 15 */ {__glXDisp_DestroyGLXPixmap, - __glXDispSwap_DestroyGLXPixmap}, + /* [ 13] = 13 */ {__glXDisp_CreateGLXPixmap, __glXDispSwap_CreateGLXPixmap}, + /* [ 14] = 14 */ {__glXDisp_GetVisualConfigs, __glXDispSwap_GetVisualConfigs}, + /* [ 15] = 15 */ {__glXDisp_DestroyGLXPixmap, __glXDispSwap_DestroyGLXPixmap}, /* [ 16] = 16 */ {__glXDisp_VendorPrivate, __glXDispSwap_VendorPrivate}, - /* [ 17] = 17 */ {__glXDisp_VendorPrivateWithReply, - __glXDispSwap_VendorPrivateWithReply}, - /* [ 18] = 18 */ {__glXDisp_QueryExtensionsString, - __glXDispSwap_QueryExtensionsString}, - /* [ 19] = 19 */ {__glXDisp_QueryServerString, - __glXDispSwap_QueryServerString}, + /* [ 17] = 17 */ {__glXDisp_VendorPrivateWithReply, __glXDispSwap_VendorPrivateWithReply}, + /* [ 18] = 18 */ {__glXDisp_QueryExtensionsString, __glXDispSwap_QueryExtensionsString}, + /* [ 19] = 19 */ {__glXDisp_QueryServerString, __glXDispSwap_QueryServerString}, /* [ 20] = 20 */ {__glXDisp_ClientInfo, __glXDispSwap_ClientInfo}, /* [ 21] = 21 */ {__glXDisp_GetFBConfigs, __glXDispSwap_GetFBConfigs}, /* [ 22] = 22 */ {__glXDisp_CreatePixmap, __glXDispSwap_CreatePixmap}, /* [ 23] = 23 */ {__glXDisp_DestroyPixmap, __glXDispSwap_DestroyPixmap}, - /* [ 24] = 24 */ {__glXDisp_CreateNewContext, - __glXDispSwap_CreateNewContext}, + /* [ 24] = 24 */ {__glXDisp_CreateNewContext, __glXDispSwap_CreateNewContext}, /* [ 25] = 25 */ {__glXDisp_QueryContext, __glXDispSwap_QueryContext}, - /* [ 26] = 26 */ {__glXDisp_MakeContextCurrent, - __glXDispSwap_MakeContextCurrent}, + /* [ 26] = 26 */ {__glXDisp_MakeContextCurrent, __glXDispSwap_MakeContextCurrent}, /* [ 27] = 27 */ {__glXDisp_CreatePbuffer, __glXDispSwap_CreatePbuffer}, - /* [ 28] = 28 */ {__glXDisp_DestroyPbuffer, - __glXDispSwap_DestroyPbuffer}, - /* [ 29] = 29 */ {__glXDisp_GetDrawableAttributes, - __glXDispSwap_GetDrawableAttributes}, - /* [ 30] = 30 */ {__glXDisp_ChangeDrawableAttributes, - __glXDispSwap_ChangeDrawableAttributes}, + /* [ 28] = 28 */ {__glXDisp_DestroyPbuffer, __glXDispSwap_DestroyPbuffer}, + /* [ 29] = 29 */ {__glXDisp_GetDrawableAttributes, __glXDispSwap_GetDrawableAttributes}, + /* [ 30] = 30 */ {__glXDisp_ChangeDrawableAttributes, __glXDispSwap_ChangeDrawableAttributes}, /* [ 31] = 31 */ {__glXDisp_CreateWindow, __glXDispSwap_CreateWindow}, /* [ 32] = 32 */ {__glXDisp_DestroyWindow, __glXDispSwap_DestroyWindow}, - /* [ 33] = 33 */ {__glXDisp_SetClientInfoARB, - __glXDispSwap_SetClientInfoARB}, - /* [ 34] = 34 */ {__glXDisp_CreateContextAttribsARB, - __glXDispSwap_CreateContextAttribsARB}, - /* [ 35] = 35 */ {__glXDisp_SetClientInfo2ARB, - __glXDispSwap_SetClientInfo2ARB}, + /* [ 33] = 33 */ {NULL, NULL}, + /* [ 34] = 34 */ {NULL, NULL}, + /* [ 35] = 35 */ {NULL, NULL}, /* [ 36] = 36 */ {NULL, NULL}, /* [ 37] = 37 */ {NULL, NULL}, /* [ 38] = 38 */ {NULL, NULL}, @@ -138,8 +127,7 @@ static const void *Single_function_table[112][2] = { /* [ 46] = 102 */ {__glXDisp_EndList, __glXDispSwap_EndList}, /* [ 47] = 103 */ {__glXDisp_DeleteLists, __glXDispSwap_DeleteLists}, /* [ 48] = 104 */ {__glXDisp_GenLists, __glXDispSwap_GenLists}, - /* [ 49] = 105 */ {__glXDisp_FeedbackBuffer, - __glXDispSwap_FeedbackBuffer}, + /* [ 49] = 105 */ {__glXDisp_FeedbackBuffer, __glXDispSwap_FeedbackBuffer}, /* [ 50] = 106 */ {__glXDisp_SelectBuffer, __glXDispSwap_SelectBuffer}, /* [ 51] = 107 */ {__glXDisp_RenderMode, __glXDispSwap_RenderMode}, /* [ 52] = 108 */ {__glXDisp_Finish, __glXDispSwap_Finish}, @@ -160,12 +148,9 @@ static const void *Single_function_table[112][2] = { /* [ 67] = 123 */ {__glXDisp_GetMaterialfv, __glXDispSwap_GetMaterialfv}, /* [ 68] = 124 */ {__glXDisp_GetMaterialiv, __glXDispSwap_GetMaterialiv}, /* [ 69] = 125 */ {__glXDisp_GetPixelMapfv, __glXDispSwap_GetPixelMapfv}, - /* [ 70] = 126 */ {__glXDisp_GetPixelMapuiv, - __glXDispSwap_GetPixelMapuiv}, - /* [ 71] = 127 */ {__glXDisp_GetPixelMapusv, - __glXDispSwap_GetPixelMapusv}, - /* [ 72] = 128 */ {__glXDisp_GetPolygonStipple, - __glXDispSwap_GetPolygonStipple}, + /* [ 70] = 126 */ {__glXDisp_GetPixelMapuiv, __glXDispSwap_GetPixelMapuiv}, + /* [ 71] = 127 */ {__glXDisp_GetPixelMapusv, __glXDispSwap_GetPixelMapusv}, + /* [ 72] = 128 */ {__glXDisp_GetPolygonStipple, __glXDispSwap_GetPolygonStipple}, /* [ 73] = 129 */ {__glXDisp_GetString, __glXDispSwap_GetString}, /* [ 74] = 130 */ {__glXDisp_GetTexEnvfv, __glXDispSwap_GetTexEnvfv}, /* [ 75] = 131 */ {__glXDisp_GetTexEnviv, __glXDispSwap_GetTexEnviv}, @@ -173,57 +158,37 @@ static const void *Single_function_table[112][2] = { /* [ 77] = 133 */ {__glXDisp_GetTexGenfv, __glXDispSwap_GetTexGenfv}, /* [ 78] = 134 */ {__glXDisp_GetTexGeniv, __glXDispSwap_GetTexGeniv}, /* [ 79] = 135 */ {__glXDisp_GetTexImage, __glXDispSwap_GetTexImage}, - /* [ 80] = 136 */ {__glXDisp_GetTexParameterfv, - __glXDispSwap_GetTexParameterfv}, - /* [ 81] = 137 */ {__glXDisp_GetTexParameteriv, - __glXDispSwap_GetTexParameteriv}, - /* [ 82] = 138 */ {__glXDisp_GetTexLevelParameterfv, - __glXDispSwap_GetTexLevelParameterfv}, - /* [ 83] = 139 */ {__glXDisp_GetTexLevelParameteriv, - __glXDispSwap_GetTexLevelParameteriv}, + /* [ 80] = 136 */ {__glXDisp_GetTexParameterfv, __glXDispSwap_GetTexParameterfv}, + /* [ 81] = 137 */ {__glXDisp_GetTexParameteriv, __glXDispSwap_GetTexParameteriv}, + /* [ 82] = 138 */ {__glXDisp_GetTexLevelParameterfv, __glXDispSwap_GetTexLevelParameterfv}, + /* [ 83] = 139 */ {__glXDisp_GetTexLevelParameteriv, __glXDispSwap_GetTexLevelParameteriv}, /* [ 84] = 140 */ {__glXDisp_IsEnabled, __glXDispSwap_IsEnabled}, /* [ 85] = 141 */ {__glXDisp_IsList, __glXDispSwap_IsList}, /* [ 86] = 142 */ {__glXDisp_Flush, __glXDispSwap_Flush}, - /* [ 87] = 143 */ {__glXDisp_AreTexturesResident, - __glXDispSwap_AreTexturesResident}, - /* [ 88] = 144 */ {__glXDisp_DeleteTextures, - __glXDispSwap_DeleteTextures}, + /* [ 87] = 143 */ {__glXDisp_AreTexturesResident, __glXDispSwap_AreTexturesResident}, + /* [ 88] = 144 */ {__glXDisp_DeleteTextures, __glXDispSwap_DeleteTextures}, /* [ 89] = 145 */ {__glXDisp_GenTextures, __glXDispSwap_GenTextures}, /* [ 90] = 146 */ {__glXDisp_IsTexture, __glXDispSwap_IsTexture}, /* [ 91] = 147 */ {__glXDisp_GetColorTable, __glXDispSwap_GetColorTable}, - /* [ 92] = 148 */ {__glXDisp_GetColorTableParameterfv, - __glXDispSwap_GetColorTableParameterfv}, - /* [ 93] = 149 */ {__glXDisp_GetColorTableParameteriv, - __glXDispSwap_GetColorTableParameteriv}, - /* [ 94] = 150 */ {__glXDisp_GetConvolutionFilter, - __glXDispSwap_GetConvolutionFilter}, - /* [ 95] = 151 */ {__glXDisp_GetConvolutionParameterfv, - __glXDispSwap_GetConvolutionParameterfv}, - /* [ 96] = 152 */ {__glXDisp_GetConvolutionParameteriv, - __glXDispSwap_GetConvolutionParameteriv}, - /* [ 97] = 153 */ {__glXDisp_GetSeparableFilter, - __glXDispSwap_GetSeparableFilter}, + /* [ 92] = 148 */ {__glXDisp_GetColorTableParameterfv, __glXDispSwap_GetColorTableParameterfv}, + /* [ 93] = 149 */ {__glXDisp_GetColorTableParameteriv, __glXDispSwap_GetColorTableParameteriv}, + /* [ 94] = 150 */ {__glXDisp_GetConvolutionFilter, __glXDispSwap_GetConvolutionFilter}, + /* [ 95] = 151 */ {__glXDisp_GetConvolutionParameterfv, __glXDispSwap_GetConvolutionParameterfv}, + /* [ 96] = 152 */ {__glXDisp_GetConvolutionParameteriv, __glXDispSwap_GetConvolutionParameteriv}, + /* [ 97] = 153 */ {__glXDisp_GetSeparableFilter, __glXDispSwap_GetSeparableFilter}, /* [ 98] = 154 */ {__glXDisp_GetHistogram, __glXDispSwap_GetHistogram}, - /* [ 99] = 155 */ {__glXDisp_GetHistogramParameterfv, - __glXDispSwap_GetHistogramParameterfv}, - /* [ 100] = 156 */ {__glXDisp_GetHistogramParameteriv, - __glXDispSwap_GetHistogramParameteriv}, + /* [ 99] = 155 */ {__glXDisp_GetHistogramParameterfv, __glXDispSwap_GetHistogramParameterfv}, + /* [ 100] = 156 */ {__glXDisp_GetHistogramParameteriv, __glXDispSwap_GetHistogramParameteriv}, /* [ 101] = 157 */ {__glXDisp_GetMinmax, __glXDispSwap_GetMinmax}, - /* [ 102] = 158 */ {__glXDisp_GetMinmaxParameterfv, - __glXDispSwap_GetMinmaxParameterfv}, - /* [ 103] = 159 */ {__glXDisp_GetMinmaxParameteriv, - __glXDispSwap_GetMinmaxParameteriv}, - /* [ 104] = 160 */ {__glXDisp_GetCompressedTexImageARB, - __glXDispSwap_GetCompressedTexImageARB}, - /* [ 105] = 161 */ {__glXDisp_DeleteQueriesARB, - __glXDispSwap_DeleteQueriesARB}, - /* [ 106] = 162 */ {__glXDisp_GenQueriesARB, __glXDispSwap_GenQueriesARB}, - /* [ 107] = 163 */ {__glXDisp_IsQueryARB, __glXDispSwap_IsQueryARB}, - /* [ 108] = 164 */ {__glXDisp_GetQueryivARB, __glXDispSwap_GetQueryivARB}, - /* [ 109] = 165 */ {__glXDisp_GetQueryObjectivARB, - __glXDispSwap_GetQueryObjectivARB}, - /* [ 110] = 166 */ {__glXDisp_GetQueryObjectuivARB, - __glXDispSwap_GetQueryObjectuivARB}, + /* [ 102] = 158 */ {__glXDisp_GetMinmaxParameterfv, __glXDispSwap_GetMinmaxParameterfv}, + /* [ 103] = 159 */ {__glXDisp_GetMinmaxParameteriv, __glXDispSwap_GetMinmaxParameteriv}, + /* [ 104] = 160 */ {__glXDisp_GetCompressedTexImage, __glXDispSwap_GetCompressedTexImage}, + /* [ 105] = 161 */ {__glXDisp_DeleteQueries, __glXDispSwap_DeleteQueries}, + /* [ 106] = 162 */ {__glXDisp_GenQueries, __glXDispSwap_GenQueries}, + /* [ 107] = 163 */ {__glXDisp_IsQuery, __glXDispSwap_IsQuery}, + /* [ 108] = 164 */ {__glXDisp_GetQueryiv, __glXDispSwap_GetQueryiv}, + /* [ 109] = 165 */ {__glXDisp_GetQueryObjectiv, __glXDispSwap_GetQueryObjectiv}, + /* [ 110] = 166 */ {__glXDisp_GetQueryObjectuiv, __glXDispSwap_GetQueryObjectuiv}, /* [ 111] = 167 */ {NULL, NULL}, }; @@ -475,16 +440,13 @@ static const void *Render_function_table[408][2] = { /* [ 99] = 99 */ {__glXDisp_Materialiv, __glXDispSwap_Materialiv}, /* [ 100] = 100 */ {__glXDisp_PointSize, __glXDispSwap_PointSize}, /* [ 101] = 101 */ {__glXDisp_PolygonMode, __glXDispSwap_PolygonMode}, - /* [ 102] = 102 */ {__glXDisp_PolygonStipple, - __glXDispSwap_PolygonStipple}, + /* [ 102] = 102 */ {__glXDisp_PolygonStipple, __glXDispSwap_PolygonStipple}, /* [ 103] = 103 */ {__glXDisp_Scissor, __glXDispSwap_Scissor}, /* [ 104] = 104 */ {__glXDisp_ShadeModel, __glXDispSwap_ShadeModel}, /* [ 105] = 105 */ {__glXDisp_TexParameterf, __glXDispSwap_TexParameterf}, - /* [ 106] = 106 */ {__glXDisp_TexParameterfv, - __glXDispSwap_TexParameterfv}, + /* [ 106] = 106 */ {__glXDisp_TexParameterfv, __glXDispSwap_TexParameterfv}, /* [ 107] = 107 */ {__glXDisp_TexParameteri, __glXDispSwap_TexParameteri}, - /* [ 108] = 108 */ {__glXDisp_TexParameteriv, - __glXDispSwap_TexParameteriv}, + /* [ 108] = 108 */ {__glXDisp_TexParameteriv, __glXDispSwap_TexParameteriv}, /* [ 109] = 109 */ {__glXDisp_TexImage1D, __glXDispSwap_TexImage1D}, /* [ 110] = 110 */ {__glXDisp_TexImage2D, __glXDispSwap_TexImage2D}, /* [ 111] = 111 */ {__glXDisp_TexEnvf, __glXDispSwap_TexEnvf}, @@ -542,10 +504,8 @@ static const void *Render_function_table[408][2] = { /* [ 163] = 163 */ {__glXDisp_StencilOp, __glXDispSwap_StencilOp}, /* [ 164] = 164 */ {__glXDisp_DepthFunc, __glXDispSwap_DepthFunc}, /* [ 165] = 165 */ {__glXDisp_PixelZoom, __glXDispSwap_PixelZoom}, - /* [ 166] = 166 */ {__glXDisp_PixelTransferf, - __glXDispSwap_PixelTransferf}, - /* [ 167] = 167 */ {__glXDisp_PixelTransferi, - __glXDispSwap_PixelTransferi}, + /* [ 166] = 166 */ {__glXDisp_PixelTransferf, __glXDispSwap_PixelTransferf}, + /* [ 167] = 167 */ {__glXDisp_PixelTransferi, __glXDispSwap_PixelTransferi}, /* [ 168] = 168 */ {__glXDisp_PixelMapfv, __glXDispSwap_PixelMapfv}, /* [ 169] = 169 */ {__glXDisp_PixelMapuiv, __glXDispSwap_PixelMapuiv}, /* [ 170] = 170 */ {__glXDisp_PixelMapusv, __glXDispSwap_PixelMapusv}, @@ -574,54 +534,30 @@ static const void *Render_function_table[408][2] = { /* [ 193] = 193 */ {__glXDisp_DrawArrays, __glXDispSwap_DrawArrays}, /* [ 194] = 194 */ {__glXDisp_Indexubv, __glXDispSwap_Indexubv}, /* [ 195] = 195 */ {__glXDisp_ColorSubTable, __glXDispSwap_ColorSubTable}, - /* [ 196] = 196 */ {__glXDisp_CopyColorSubTable, - __glXDispSwap_CopyColorSubTable}, - /* [ 197] = 197 */ {__glXDisp_ActiveTextureARB, - __glXDispSwap_ActiveTextureARB}, - /* [ 198] = 198 */ {__glXDisp_MultiTexCoord1dvARB, - __glXDispSwap_MultiTexCoord1dvARB}, - /* [ 199] = 199 */ {__glXDisp_MultiTexCoord1fvARB, - __glXDispSwap_MultiTexCoord1fvARB}, - /* [ 200] = 200 */ {__glXDisp_MultiTexCoord1ivARB, - __glXDispSwap_MultiTexCoord1ivARB}, - /* [ 201] = 201 */ {__glXDisp_MultiTexCoord1svARB, - __glXDispSwap_MultiTexCoord1svARB}, - /* [ 202] = 202 */ {__glXDisp_MultiTexCoord2dvARB, - __glXDispSwap_MultiTexCoord2dvARB}, - /* [ 203] = 203 */ {__glXDisp_MultiTexCoord2fvARB, - __glXDispSwap_MultiTexCoord2fvARB}, - /* [ 204] = 204 */ {__glXDisp_MultiTexCoord2ivARB, - __glXDispSwap_MultiTexCoord2ivARB}, - /* [ 205] = 205 */ {__glXDisp_MultiTexCoord2svARB, - __glXDispSwap_MultiTexCoord2svARB}, - /* [ 206] = 206 */ {__glXDisp_MultiTexCoord3dvARB, - __glXDispSwap_MultiTexCoord3dvARB}, - /* [ 207] = 207 */ {__glXDisp_MultiTexCoord3fvARB, - __glXDispSwap_MultiTexCoord3fvARB}, - /* [ 208] = 208 */ {__glXDisp_MultiTexCoord3ivARB, - __glXDispSwap_MultiTexCoord3ivARB}, - /* [ 209] = 209 */ {__glXDisp_MultiTexCoord3svARB, - __glXDispSwap_MultiTexCoord3svARB}, - /* [ 210] = 210 */ {__glXDisp_MultiTexCoord4dvARB, - __glXDispSwap_MultiTexCoord4dvARB}, - /* [ 211] = 211 */ {__glXDisp_MultiTexCoord4fvARB, - __glXDispSwap_MultiTexCoord4fvARB}, - /* [ 212] = 212 */ {__glXDisp_MultiTexCoord4ivARB, - __glXDispSwap_MultiTexCoord4ivARB}, - /* [ 213] = 213 */ {__glXDisp_MultiTexCoord4svARB, - __glXDispSwap_MultiTexCoord4svARB}, - /* [ 214] = 214 */ {__glXDisp_CompressedTexImage1DARB, - __glXDispSwap_CompressedTexImage1DARB}, - /* [ 215] = 215 */ {__glXDisp_CompressedTexImage2DARB, - __glXDispSwap_CompressedTexImage2DARB}, - /* [ 216] = 216 */ {__glXDisp_CompressedTexImage3DARB, - __glXDispSwap_CompressedTexImage3DARB}, - /* [ 217] = 217 */ {__glXDisp_CompressedTexSubImage1DARB, - __glXDispSwap_CompressedTexSubImage1DARB}, - /* [ 218] = 218 */ {__glXDisp_CompressedTexSubImage2DARB, - __glXDispSwap_CompressedTexSubImage2DARB}, - /* [ 219] = 219 */ {__glXDisp_CompressedTexSubImage3DARB, - __glXDispSwap_CompressedTexSubImage3DARB}, + /* [ 196] = 196 */ {__glXDisp_CopyColorSubTable, __glXDispSwap_CopyColorSubTable}, + /* [ 197] = 197 */ {__glXDisp_ActiveTexture, __glXDispSwap_ActiveTexture}, + /* [ 198] = 198 */ {__glXDisp_MultiTexCoord1dv, __glXDispSwap_MultiTexCoord1dv}, + /* [ 199] = 199 */ {__glXDisp_MultiTexCoord1fvARB, __glXDispSwap_MultiTexCoord1fvARB}, + /* [ 200] = 200 */ {__glXDisp_MultiTexCoord1iv, __glXDispSwap_MultiTexCoord1iv}, + /* [ 201] = 201 */ {__glXDisp_MultiTexCoord1sv, __glXDispSwap_MultiTexCoord1sv}, + /* [ 202] = 202 */ {__glXDisp_MultiTexCoord2dv, __glXDispSwap_MultiTexCoord2dv}, + /* [ 203] = 203 */ {__glXDisp_MultiTexCoord2fvARB, __glXDispSwap_MultiTexCoord2fvARB}, + /* [ 204] = 204 */ {__glXDisp_MultiTexCoord2iv, __glXDispSwap_MultiTexCoord2iv}, + /* [ 205] = 205 */ {__glXDisp_MultiTexCoord2sv, __glXDispSwap_MultiTexCoord2sv}, + /* [ 206] = 206 */ {__glXDisp_MultiTexCoord3dv, __glXDispSwap_MultiTexCoord3dv}, + /* [ 207] = 207 */ {__glXDisp_MultiTexCoord3fvARB, __glXDispSwap_MultiTexCoord3fvARB}, + /* [ 208] = 208 */ {__glXDisp_MultiTexCoord3iv, __glXDispSwap_MultiTexCoord3iv}, + /* [ 209] = 209 */ {__glXDisp_MultiTexCoord3sv, __glXDispSwap_MultiTexCoord3sv}, + /* [ 210] = 210 */ {__glXDisp_MultiTexCoord4dv, __glXDispSwap_MultiTexCoord4dv}, + /* [ 211] = 211 */ {__glXDisp_MultiTexCoord4fvARB, __glXDispSwap_MultiTexCoord4fvARB}, + /* [ 212] = 212 */ {__glXDisp_MultiTexCoord4iv, __glXDispSwap_MultiTexCoord4iv}, + /* [ 213] = 213 */ {__glXDisp_MultiTexCoord4sv, __glXDispSwap_MultiTexCoord4sv}, + /* [ 214] = 214 */ {__glXDisp_CompressedTexImage1D, __glXDispSwap_CompressedTexImage1D}, + /* [ 215] = 215 */ {__glXDisp_CompressedTexImage2D, __glXDispSwap_CompressedTexImage2D}, + /* [ 216] = 216 */ {__glXDisp_CompressedTexImage3D, __glXDispSwap_CompressedTexImage3D}, + /* [ 217] = 217 */ {__glXDisp_CompressedTexSubImage1D, __glXDispSwap_CompressedTexSubImage1D}, + /* [ 218] = 218 */ {__glXDisp_CompressedTexSubImage2D, __glXDispSwap_CompressedTexSubImage2D}, + /* [ 219] = 219 */ {__glXDisp_CompressedTexSubImage3D, __glXDispSwap_CompressedTexSubImage3D}, /* [ 220] = 220 */ {NULL, NULL}, /* [ 221] = 221 */ {NULL, NULL}, /* [ 222] = 222 */ {NULL, NULL}, @@ -631,35 +567,26 @@ static const void *Render_function_table[408][2] = { /* [ 226] = 226 */ {NULL, NULL}, /* [ 227] = 227 */ {NULL, NULL}, /* [ 228] = 228 */ {NULL, NULL}, - /* [ 229] = 229 */ {__glXDisp_SampleCoverageARB, - __glXDispSwap_SampleCoverageARB}, - /* [ 230] = 230 */ {__glXDisp_WindowPos3fvMESA, - __glXDispSwap_WindowPos3fvMESA}, - /* [ 231] = 231 */ {__glXDisp_BeginQueryARB, __glXDispSwap_BeginQueryARB}, - /* [ 232] = 232 */ {__glXDisp_EndQueryARB, __glXDispSwap_EndQueryARB}, - /* [ 233] = 233 */ {__glXDisp_DrawBuffersARB, - __glXDispSwap_DrawBuffersARB}, - /* [ 234] = 234 */ {__glXDisp_ClampColorARB, __glXDispSwap_ClampColorARB}, + /* [ 229] = 229 */ {__glXDisp_SampleCoverage, __glXDispSwap_SampleCoverage}, + /* [ 230] = 230 */ {__glXDisp_WindowPos3fv, __glXDispSwap_WindowPos3fv}, + /* [ 231] = 231 */ {__glXDisp_BeginQuery, __glXDispSwap_BeginQuery}, + /* [ 232] = 232 */ {__glXDisp_EndQuery, __glXDispSwap_EndQuery}, + /* [ 233] = 233 */ {__glXDisp_DrawBuffers, __glXDispSwap_DrawBuffers}, + /* [ 234] = 234 */ {__glXDisp_ClampColor, __glXDispSwap_ClampColor}, /* [ 235] = 235 */ {NULL, NULL}, /* [ 236] = 236 */ {NULL, NULL}, - /* [ 237] = 237 */ {__glXDisp_FramebufferTextureLayerEXT, - __glXDispSwap_FramebufferTextureLayerEXT}, + /* [ 237] = 237 */ {__glXDisp_FramebufferTextureLayer, __glXDispSwap_FramebufferTextureLayer}, /* [ 238] = 238 */ {NULL, NULL}, /* [ 239] = 239 */ {NULL, NULL}, - /* [ 240] = 2048 */ {__glXDisp_SampleMaskSGIS, - __glXDispSwap_SampleMaskSGIS}, - /* [ 241] = 2049 */ {__glXDisp_SamplePatternSGIS, - __glXDispSwap_SamplePatternSGIS}, + /* [ 240] = 2048 */ {__glXDisp_SampleMaskSGIS, __glXDispSwap_SampleMaskSGIS}, + /* [ 241] = 2049 */ {__glXDisp_SamplePatternSGIS, __glXDispSwap_SamplePatternSGIS}, /* [ 242] = 2050 */ {NULL, NULL}, /* [ 243] = 2051 */ {NULL, NULL}, /* [ 244] = 2052 */ {NULL, NULL}, /* [ 245] = 2053 */ {__glXDisp_ColorTable, __glXDispSwap_ColorTable}, - /* [ 246] = 2054 */ {__glXDisp_ColorTableParameterfv, - __glXDispSwap_ColorTableParameterfv}, - /* [ 247] = 2055 */ {__glXDisp_ColorTableParameteriv, - __glXDispSwap_ColorTableParameteriv}, - /* [ 248] = 2056 */ {__glXDisp_CopyColorTable, - __glXDispSwap_CopyColorTable}, + /* [ 246] = 2054 */ {__glXDisp_ColorTableParameterfv, __glXDispSwap_ColorTableParameterfv}, + /* [ 247] = 2055 */ {__glXDisp_ColorTableParameteriv, __glXDispSwap_ColorTableParameteriv}, + /* [ 248] = 2056 */ {__glXDisp_CopyColorTable, __glXDispSwap_CopyColorTable}, /* [ 249] = 2057 */ {NULL, NULL}, /* [ 250] = 2058 */ {NULL, NULL}, /* [ 251] = 2059 */ {NULL, NULL}, @@ -668,10 +595,8 @@ static const void *Render_function_table[408][2] = { /* [ 254] = 2062 */ {NULL, NULL}, /* [ 255] = 2063 */ {NULL, NULL}, /* [ 256] = 2064 */ {NULL, NULL}, - /* [ 257] = 2065 */ {__glXDisp_PointParameterfEXT, - __glXDispSwap_PointParameterfEXT}, - /* [ 258] = 2066 */ {__glXDisp_PointParameterfvEXT, - __glXDispSwap_PointParameterfvEXT}, + /* [ 257] = 2065 */ {__glXDisp_PointParameterf, __glXDispSwap_PointParameterf}, + /* [ 258] = 2066 */ {__glXDisp_PointParameterfv, __glXDispSwap_PointParameterfv}, /* [ 259] = 2067 */ {NULL, NULL}, /* [ 260] = 2068 */ {NULL, NULL}, /* [ 261] = 2069 */ {NULL, NULL}, @@ -682,734 +607,633 @@ static const void *Render_function_table[408][2] = { /* [ 266] = 4098 */ {NULL, NULL}, /* [ 267] = 4099 */ {__glXDisp_TexSubImage1D, __glXDispSwap_TexSubImage1D}, /* [ 268] = 4100 */ {__glXDisp_TexSubImage2D, __glXDispSwap_TexSubImage2D}, - /* [ 269] = 4101 */ {__glXDisp_ConvolutionFilter1D, - __glXDispSwap_ConvolutionFilter1D}, - /* [ 270] = 4102 */ {__glXDisp_ConvolutionFilter2D, - __glXDispSwap_ConvolutionFilter2D}, - /* [ 271] = 4103 */ {__glXDisp_ConvolutionParameterf, - __glXDispSwap_ConvolutionParameterf}, - /* [ 272] = 4104 */ {__glXDisp_ConvolutionParameterfv, - __glXDispSwap_ConvolutionParameterfv}, - /* [ 273] = 4105 */ {__glXDisp_ConvolutionParameteri, - __glXDispSwap_ConvolutionParameteri}, - /* [ 274] = 4106 */ {__glXDisp_ConvolutionParameteriv, - __glXDispSwap_ConvolutionParameteriv}, - /* [ 275] = 4107 */ {__glXDisp_CopyConvolutionFilter1D, - __glXDispSwap_CopyConvolutionFilter1D}, - /* [ 276] = 4108 */ {__glXDisp_CopyConvolutionFilter2D, - __glXDispSwap_CopyConvolutionFilter2D}, - /* [ 277] = 4109 */ {__glXDisp_SeparableFilter2D, - __glXDispSwap_SeparableFilter2D}, + /* [ 269] = 4101 */ {__glXDisp_ConvolutionFilter1D, __glXDispSwap_ConvolutionFilter1D}, + /* [ 270] = 4102 */ {__glXDisp_ConvolutionFilter2D, __glXDispSwap_ConvolutionFilter2D}, + /* [ 271] = 4103 */ {__glXDisp_ConvolutionParameterf, __glXDispSwap_ConvolutionParameterf}, + /* [ 272] = 4104 */ {__glXDisp_ConvolutionParameterfv, __glXDispSwap_ConvolutionParameterfv}, + /* [ 273] = 4105 */ {__glXDisp_ConvolutionParameteri, __glXDispSwap_ConvolutionParameteri}, + /* [ 274] = 4106 */ {__glXDisp_ConvolutionParameteriv, __glXDispSwap_ConvolutionParameteriv}, + /* [ 275] = 4107 */ {__glXDisp_CopyConvolutionFilter1D, __glXDispSwap_CopyConvolutionFilter1D}, + /* [ 276] = 4108 */ {__glXDisp_CopyConvolutionFilter2D, __glXDispSwap_CopyConvolutionFilter2D}, + /* [ 277] = 4109 */ {__glXDisp_SeparableFilter2D, __glXDispSwap_SeparableFilter2D}, /* [ 278] = 4110 */ {__glXDisp_Histogram, __glXDispSwap_Histogram}, /* [ 279] = 4111 */ {__glXDisp_Minmax, __glXDispSwap_Minmax}, - /* [ 280] = 4112 */ {__glXDisp_ResetHistogram, - __glXDispSwap_ResetHistogram}, + /* [ 280] = 4112 */ {__glXDisp_ResetHistogram, __glXDispSwap_ResetHistogram}, /* [ 281] = 4113 */ {__glXDisp_ResetMinmax, __glXDispSwap_ResetMinmax}, /* [ 282] = 4114 */ {__glXDisp_TexImage3D, __glXDispSwap_TexImage3D}, /* [ 283] = 4115 */ {__glXDisp_TexSubImage3D, __glXDispSwap_TexSubImage3D}, /* [ 284] = 4116 */ {NULL, NULL}, /* [ 285] = 4117 */ {__glXDisp_BindTexture, __glXDispSwap_BindTexture}, - /* [ 286] = 4118 */ {__glXDisp_PrioritizeTextures, - __glXDispSwap_PrioritizeTextures}, - /* [ 287] = 4119 */ {__glXDisp_CopyTexImage1D, - __glXDispSwap_CopyTexImage1D}, - /* [ 288] = 4120 */ {__glXDisp_CopyTexImage2D, - __glXDispSwap_CopyTexImage2D}, - /* [ 289] = 4121 */ {__glXDisp_CopyTexSubImage1D, - __glXDispSwap_CopyTexSubImage1D}, - /* [ 290] = 4122 */ {__glXDisp_CopyTexSubImage2D, - __glXDispSwap_CopyTexSubImage2D}, - /* [ 291] = 4123 */ {__glXDisp_CopyTexSubImage3D, - __glXDispSwap_CopyTexSubImage3D}, + /* [ 286] = 4118 */ {__glXDisp_PrioritizeTextures, __glXDispSwap_PrioritizeTextures}, + /* [ 287] = 4119 */ {__glXDisp_CopyTexImage1D, __glXDispSwap_CopyTexImage1D}, + /* [ 288] = 4120 */ {__glXDisp_CopyTexImage2D, __glXDispSwap_CopyTexImage2D}, + /* [ 289] = 4121 */ {__glXDisp_CopyTexSubImage1D, __glXDispSwap_CopyTexSubImage1D}, + /* [ 290] = 4122 */ {__glXDisp_CopyTexSubImage2D, __glXDispSwap_CopyTexSubImage2D}, + /* [ 291] = 4123 */ {__glXDisp_CopyTexSubImage3D, __glXDispSwap_CopyTexSubImage3D}, /* [ 292] = 4124 */ {__glXDisp_FogCoordfvEXT, __glXDispSwap_FogCoordfvEXT}, - /* [ 293] = 4125 */ {__glXDisp_FogCoorddvEXT, __glXDispSwap_FogCoorddvEXT}, - /* [ 294] = 4126 */ {__glXDisp_SecondaryColor3bvEXT, - __glXDispSwap_SecondaryColor3bvEXT}, - /* [ 295] = 4127 */ {__glXDisp_SecondaryColor3svEXT, - __glXDispSwap_SecondaryColor3svEXT}, + /* [ 293] = 4125 */ {__glXDisp_FogCoorddv, __glXDispSwap_FogCoorddv}, + /* [ 294] = 4126 */ {__glXDisp_SecondaryColor3bv, __glXDispSwap_SecondaryColor3bv}, + /* [ 295] = 4127 */ {__glXDisp_SecondaryColor3sv, __glXDispSwap_SecondaryColor3sv}, /* [ 296] = 4176 */ {NULL, NULL}, /* [ 297] = 4177 */ {NULL, NULL}, /* [ 298] = 4178 */ {NULL, NULL}, /* [ 299] = 4179 */ {NULL, NULL}, - /* [ 300] = 4180 */ {__glXDisp_BindProgramNV, __glXDispSwap_BindProgramNV}, - /* [ 301] = 4181 */ {__glXDisp_ExecuteProgramNV, - __glXDispSwap_ExecuteProgramNV}, - /* [ 302] = 4182 */ {__glXDisp_RequestResidentProgramsNV, - __glXDispSwap_RequestResidentProgramsNV}, + /* [ 300] = 4180 */ {__glXDisp_BindProgramARB, __glXDispSwap_BindProgramARB}, + /* [ 301] = 4181 */ {__glXDisp_ExecuteProgramNV, __glXDispSwap_ExecuteProgramNV}, + /* [ 302] = 4182 */ {__glXDisp_RequestResidentProgramsNV, __glXDispSwap_RequestResidentProgramsNV}, /* [ 303] = 4183 */ {__glXDisp_LoadProgramNV, __glXDispSwap_LoadProgramNV}, - /* [ 304] = 4184 */ {__glXDisp_ProgramEnvParameter4fvARB, - __glXDispSwap_ProgramEnvParameter4fvARB}, - /* [ 305] = 4185 */ {__glXDisp_ProgramEnvParameter4dvARB, - __glXDispSwap_ProgramEnvParameter4dvARB}, - /* [ 306] = 4186 */ {__glXDisp_ProgramParameters4fvNV, - __glXDispSwap_ProgramParameters4fvNV}, - /* [ 307] = 4187 */ {__glXDisp_ProgramParameters4dvNV, - __glXDispSwap_ProgramParameters4dvNV}, + /* [ 304] = 4184 */ {__glXDisp_ProgramEnvParameter4fvARB, __glXDispSwap_ProgramEnvParameter4fvARB}, + /* [ 305] = 4185 */ {__glXDisp_ProgramEnvParameter4dvARB, __glXDispSwap_ProgramEnvParameter4dvARB}, + /* [ 306] = 4186 */ {__glXDisp_ProgramParameters4fvNV, __glXDispSwap_ProgramParameters4fvNV}, + /* [ 307] = 4187 */ {__glXDisp_ProgramParameters4dvNV, __glXDispSwap_ProgramParameters4dvNV}, /* [ 308] = 4188 */ {__glXDisp_TrackMatrixNV, __glXDispSwap_TrackMatrixNV}, - /* [ 309] = 4189 */ {__glXDisp_VertexAttrib1svARB, - __glXDispSwap_VertexAttrib1svARB}, - /* [ 310] = 4190 */ {__glXDisp_VertexAttrib2svARB, - __glXDispSwap_VertexAttrib2svARB}, - /* [ 311] = 4191 */ {__glXDisp_VertexAttrib3svARB, - __glXDispSwap_VertexAttrib3svARB}, - /* [ 312] = 4192 */ {__glXDisp_VertexAttrib4svARB, - __glXDispSwap_VertexAttrib4svARB}, - /* [ 313] = 4193 */ {__glXDisp_VertexAttrib1fvARB, - __glXDispSwap_VertexAttrib1fvARB}, - /* [ 314] = 4194 */ {__glXDisp_VertexAttrib2fvARB, - __glXDispSwap_VertexAttrib2fvARB}, - /* [ 315] = 4195 */ {__glXDisp_VertexAttrib3fvARB, - __glXDispSwap_VertexAttrib3fvARB}, - /* [ 316] = 4196 */ {__glXDisp_VertexAttrib4fvARB, - __glXDispSwap_VertexAttrib4fvARB}, - /* [ 317] = 4197 */ {__glXDisp_VertexAttrib1dvARB, - __glXDispSwap_VertexAttrib1dvARB}, - /* [ 318] = 4198 */ {__glXDisp_VertexAttrib2dvARB, - __glXDispSwap_VertexAttrib2dvARB}, - /* [ 319] = 4199 */ {__glXDisp_VertexAttrib3dvARB, - __glXDispSwap_VertexAttrib3dvARB}, - /* [ 320] = 4200 */ {__glXDisp_VertexAttrib4dvARB, - __glXDispSwap_VertexAttrib4dvARB}, - /* [ 321] = 4201 */ {__glXDisp_VertexAttrib4NubvARB, - __glXDispSwap_VertexAttrib4NubvARB}, - /* [ 322] = 4202 */ {__glXDisp_VertexAttribs1svNV, - __glXDispSwap_VertexAttribs1svNV}, - /* [ 323] = 4203 */ {__glXDisp_VertexAttribs2svNV, - __glXDispSwap_VertexAttribs2svNV}, - /* [ 324] = 4204 */ {__glXDisp_VertexAttribs3svNV, - __glXDispSwap_VertexAttribs3svNV}, - /* [ 325] = 4205 */ {__glXDisp_VertexAttribs4svNV, - __glXDispSwap_VertexAttribs4svNV}, - /* [ 326] = 4206 */ {__glXDisp_VertexAttribs1fvNV, - __glXDispSwap_VertexAttribs1fvNV}, - /* [ 327] = 4207 */ {__glXDisp_VertexAttribs2fvNV, - __glXDispSwap_VertexAttribs2fvNV}, - /* [ 328] = 4208 */ {__glXDisp_VertexAttribs3fvNV, - __glXDispSwap_VertexAttribs3fvNV}, - /* [ 329] = 4209 */ {__glXDisp_VertexAttribs4fvNV, - __glXDispSwap_VertexAttribs4fvNV}, - /* [ 330] = 4210 */ {__glXDisp_VertexAttribs1dvNV, - __glXDispSwap_VertexAttribs1dvNV}, - /* [ 331] = 4211 */ {__glXDisp_VertexAttribs2dvNV, - __glXDispSwap_VertexAttribs2dvNV}, - /* [ 332] = 4212 */ {__glXDisp_VertexAttribs3dvNV, - __glXDispSwap_VertexAttribs3dvNV}, - /* [ 333] = 4213 */ {__glXDisp_VertexAttribs4dvNV, - __glXDispSwap_VertexAttribs4dvNV}, - /* [ 334] = 4214 */ {__glXDisp_VertexAttribs4ubvNV, - __glXDispSwap_VertexAttribs4ubvNV}, - /* [ 335] = 4215 */ {__glXDisp_ProgramLocalParameter4fvARB, - __glXDispSwap_ProgramLocalParameter4fvARB}, - /* [ 336] = 4216 */ {__glXDisp_ProgramLocalParameter4dvARB, - __glXDispSwap_ProgramLocalParameter4dvARB}, - /* [ 337] = 4217 */ {__glXDisp_ProgramStringARB, - __glXDispSwap_ProgramStringARB}, - /* [ 338] = 4218 */ {__glXDisp_ProgramNamedParameter4fvNV, - __glXDispSwap_ProgramNamedParameter4fvNV}, - /* [ 339] = 4219 */ {__glXDisp_ProgramNamedParameter4dvNV, - __glXDispSwap_ProgramNamedParameter4dvNV}, - /* [ 340] = 4220 */ {__glXDisp_ActiveStencilFaceEXT, - __glXDispSwap_ActiveStencilFaceEXT}, - /* [ 341] = 4221 */ {__glXDisp_PointParameteriNV, - __glXDispSwap_PointParameteriNV}, - /* [ 342] = 4222 */ {__glXDisp_PointParameterivNV, - __glXDispSwap_PointParameterivNV}, + /* [ 309] = 4189 */ {__glXDisp_VertexAttrib1sv, __glXDispSwap_VertexAttrib1sv}, + /* [ 310] = 4190 */ {__glXDisp_VertexAttrib2sv, __glXDispSwap_VertexAttrib2sv}, + /* [ 311] = 4191 */ {__glXDisp_VertexAttrib3sv, __glXDispSwap_VertexAttrib3sv}, + /* [ 312] = 4192 */ {__glXDisp_VertexAttrib4sv, __glXDispSwap_VertexAttrib4sv}, + /* [ 313] = 4193 */ {__glXDisp_VertexAttrib1fvARB, __glXDispSwap_VertexAttrib1fvARB}, + /* [ 314] = 4194 */ {__glXDisp_VertexAttrib2fvARB, __glXDispSwap_VertexAttrib2fvARB}, + /* [ 315] = 4195 */ {__glXDisp_VertexAttrib3fvARB, __glXDispSwap_VertexAttrib3fvARB}, + /* [ 316] = 4196 */ {__glXDisp_VertexAttrib4fvARB, __glXDispSwap_VertexAttrib4fvARB}, + /* [ 317] = 4197 */ {__glXDisp_VertexAttrib1dv, __glXDispSwap_VertexAttrib1dv}, + /* [ 318] = 4198 */ {__glXDisp_VertexAttrib2dv, __glXDispSwap_VertexAttrib2dv}, + /* [ 319] = 4199 */ {__glXDisp_VertexAttrib3dv, __glXDispSwap_VertexAttrib3dv}, + /* [ 320] = 4200 */ {__glXDisp_VertexAttrib4dv, __glXDispSwap_VertexAttrib4dv}, + /* [ 321] = 4201 */ {__glXDisp_VertexAttrib4Nubv, __glXDispSwap_VertexAttrib4Nubv}, + /* [ 322] = 4202 */ {__glXDisp_VertexAttribs1svNV, __glXDispSwap_VertexAttribs1svNV}, + /* [ 323] = 4203 */ {__glXDisp_VertexAttribs2svNV, __glXDispSwap_VertexAttribs2svNV}, + /* [ 324] = 4204 */ {__glXDisp_VertexAttribs3svNV, __glXDispSwap_VertexAttribs3svNV}, + /* [ 325] = 4205 */ {__glXDisp_VertexAttribs4svNV, __glXDispSwap_VertexAttribs4svNV}, + /* [ 326] = 4206 */ {__glXDisp_VertexAttribs1fvNV, __glXDispSwap_VertexAttribs1fvNV}, + /* [ 327] = 4207 */ {__glXDisp_VertexAttribs2fvNV, __glXDispSwap_VertexAttribs2fvNV}, + /* [ 328] = 4208 */ {__glXDisp_VertexAttribs3fvNV, __glXDispSwap_VertexAttribs3fvNV}, + /* [ 329] = 4209 */ {__glXDisp_VertexAttribs4fvNV, __glXDispSwap_VertexAttribs4fvNV}, + /* [ 330] = 4210 */ {__glXDisp_VertexAttribs1dvNV, __glXDispSwap_VertexAttribs1dvNV}, + /* [ 331] = 4211 */ {__glXDisp_VertexAttribs2dvNV, __glXDispSwap_VertexAttribs2dvNV}, + /* [ 332] = 4212 */ {__glXDisp_VertexAttribs3dvNV, __glXDispSwap_VertexAttribs3dvNV}, + /* [ 333] = 4213 */ {__glXDisp_VertexAttribs4dvNV, __glXDispSwap_VertexAttribs4dvNV}, + /* [ 334] = 4214 */ {__glXDisp_VertexAttribs4ubvNV, __glXDispSwap_VertexAttribs4ubvNV}, + /* [ 335] = 4215 */ {__glXDisp_ProgramLocalParameter4fvARB, __glXDispSwap_ProgramLocalParameter4fvARB}, + /* [ 336] = 4216 */ {__glXDisp_ProgramLocalParameter4dvARB, __glXDispSwap_ProgramLocalParameter4dvARB}, + /* [ 337] = 4217 */ {__glXDisp_ProgramStringARB, __glXDispSwap_ProgramStringARB}, + /* [ 338] = 4218 */ {__glXDisp_ProgramNamedParameter4fvNV, __glXDispSwap_ProgramNamedParameter4fvNV}, + /* [ 339] = 4219 */ {__glXDisp_ProgramNamedParameter4dvNV, __glXDispSwap_ProgramNamedParameter4dvNV}, + /* [ 340] = 4220 */ {__glXDisp_ActiveStencilFaceEXT, __glXDispSwap_ActiveStencilFaceEXT}, + /* [ 341] = 4221 */ {__glXDisp_PointParameteri, __glXDispSwap_PointParameteri}, + /* [ 342] = 4222 */ {__glXDisp_PointParameteriv, __glXDispSwap_PointParameteriv}, /* [ 343] = 4223 */ {NULL, NULL}, /* [ 344] = 4224 */ {NULL, NULL}, /* [ 345] = 4225 */ {NULL, NULL}, /* [ 346] = 4226 */ {NULL, NULL}, /* [ 347] = 4227 */ {NULL, NULL}, - /* [ 348] = 4228 */ {__glXDisp_BlendEquationSeparateEXT, - __glXDispSwap_BlendEquationSeparateEXT}, + /* [ 348] = 4228 */ {__glXDisp_BlendEquationSeparate, __glXDispSwap_BlendEquationSeparate}, /* [ 349] = 4229 */ {NULL, NULL}, - /* [ 350] = 4230 */ {__glXDisp_VertexAttrib4bvARB, - __glXDispSwap_VertexAttrib4bvARB}, - /* [ 351] = 4231 */ {__glXDisp_VertexAttrib4ivARB, - __glXDispSwap_VertexAttrib4ivARB}, - /* [ 352] = 4232 */ {__glXDisp_VertexAttrib4ubvARB, - __glXDispSwap_VertexAttrib4ubvARB}, - /* [ 353] = 4233 */ {__glXDisp_VertexAttrib4usvARB, - __glXDispSwap_VertexAttrib4usvARB}, - /* [ 354] = 4234 */ {__glXDisp_VertexAttrib4uivARB, - __glXDispSwap_VertexAttrib4uivARB}, - /* [ 355] = 4235 */ {__glXDisp_VertexAttrib4NbvARB, - __glXDispSwap_VertexAttrib4NbvARB}, - /* [ 356] = 4236 */ {__glXDisp_VertexAttrib4NsvARB, - __glXDispSwap_VertexAttrib4NsvARB}, - /* [ 357] = 4237 */ {__glXDisp_VertexAttrib4NivARB, - __glXDispSwap_VertexAttrib4NivARB}, - /* [ 358] = 4238 */ {__glXDisp_VertexAttrib4NusvARB, - __glXDispSwap_VertexAttrib4NusvARB}, - /* [ 359] = 4239 */ {__glXDisp_VertexAttrib4NuivARB, - __glXDispSwap_VertexAttrib4NuivARB}, - /* [ 360] = 4320 */ {__glXDisp_DeleteFramebuffersEXT, - __glXDispSwap_DeleteFramebuffersEXT}, - /* [ 361] = 4321 */ {__glXDisp_FramebufferTexture1DEXT, - __glXDispSwap_FramebufferTexture1DEXT}, - /* [ 362] = 4322 */ {__glXDisp_FramebufferTexture2DEXT, - __glXDispSwap_FramebufferTexture2DEXT}, - /* [ 363] = 4323 */ {__glXDisp_FramebufferTexture3DEXT, - __glXDispSwap_FramebufferTexture3DEXT}, - /* [ 364] = 4324 */ {__glXDisp_FramebufferRenderbufferEXT, - __glXDispSwap_FramebufferRenderbufferEXT}, - /* [ 365] = 4325 */ {__glXDisp_GenerateMipmapEXT, - __glXDispSwap_GenerateMipmapEXT}, + /* [ 350] = 4230 */ {__glXDisp_VertexAttrib4bv, __glXDispSwap_VertexAttrib4bv}, + /* [ 351] = 4231 */ {__glXDisp_VertexAttrib4iv, __glXDispSwap_VertexAttrib4iv}, + /* [ 352] = 4232 */ {__glXDisp_VertexAttrib4ubv, __glXDispSwap_VertexAttrib4ubv}, + /* [ 353] = 4233 */ {__glXDisp_VertexAttrib4usv, __glXDispSwap_VertexAttrib4usv}, + /* [ 354] = 4234 */ {__glXDisp_VertexAttrib4uiv, __glXDispSwap_VertexAttrib4uiv}, + /* [ 355] = 4235 */ {__glXDisp_VertexAttrib4Nbv, __glXDispSwap_VertexAttrib4Nbv}, + /* [ 356] = 4236 */ {__glXDisp_VertexAttrib4Nsv, __glXDispSwap_VertexAttrib4Nsv}, + /* [ 357] = 4237 */ {__glXDisp_VertexAttrib4Niv, __glXDispSwap_VertexAttrib4Niv}, + /* [ 358] = 4238 */ {__glXDisp_VertexAttrib4Nusv, __glXDispSwap_VertexAttrib4Nusv}, + /* [ 359] = 4239 */ {__glXDisp_VertexAttrib4Nuiv, __glXDispSwap_VertexAttrib4Nuiv}, + /* [ 360] = 4320 */ {__glXDisp_DeleteFramebuffers, __glXDispSwap_DeleteFramebuffers}, + /* [ 361] = 4321 */ {__glXDisp_FramebufferTexture1D, __glXDispSwap_FramebufferTexture1D}, + /* [ 362] = 4322 */ {__glXDisp_FramebufferTexture2D, __glXDispSwap_FramebufferTexture2D}, + /* [ 363] = 4323 */ {__glXDisp_FramebufferTexture3D, __glXDispSwap_FramebufferTexture3D}, + /* [ 364] = 4324 */ {__glXDisp_FramebufferRenderbuffer, __glXDispSwap_FramebufferRenderbuffer}, + /* [ 365] = 4325 */ {__glXDisp_GenerateMipmap, __glXDispSwap_GenerateMipmap}, /* [ 366] = 4326 */ {NULL, NULL}, /* [ 367] = 4327 */ {NULL, NULL}, /* [ 368] = 4328 */ {NULL, NULL}, /* [ 369] = 4329 */ {NULL, NULL}, - /* [ 370] = 4330 */ {__glXDisp_BlitFramebufferEXT, - __glXDispSwap_BlitFramebufferEXT}, - /* [ 371] = 4331 */ {__glXDisp_RenderbufferStorageMultisample, - __glXDispSwap_RenderbufferStorageMultisample}, + /* [ 370] = 4330 */ {__glXDisp_BlitFramebuffer, __glXDispSwap_BlitFramebuffer}, + /* [ 371] = 4331 */ {__glXDisp_RenderbufferStorageMultisample, __glXDispSwap_RenderbufferStorageMultisample}, /* [ 372] = 4332 */ {NULL, NULL}, /* [ 373] = 4333 */ {NULL, NULL}, /* [ 374] = 4334 */ {NULL, NULL}, /* [ 375] = 4335 */ {NULL, NULL}, - /* [ 376] = 4128 */ {__glXDisp_SecondaryColor3ivEXT, - __glXDispSwap_SecondaryColor3ivEXT}, - /* [ 377] = 4129 */ {__glXDisp_SecondaryColor3fvEXT, - __glXDispSwap_SecondaryColor3fvEXT}, - /* [ 378] = 4130 */ {__glXDisp_SecondaryColor3dvEXT, - __glXDispSwap_SecondaryColor3dvEXT}, - /* [ 379] = 4131 */ {__glXDisp_SecondaryColor3ubvEXT, - __glXDispSwap_SecondaryColor3ubvEXT}, - /* [ 380] = 4132 */ {__glXDisp_SecondaryColor3usvEXT, - __glXDispSwap_SecondaryColor3usvEXT}, - /* [ 381] = 4133 */ {__glXDisp_SecondaryColor3uivEXT, - __glXDispSwap_SecondaryColor3uivEXT}, - /* [ 382] = 4134 */ {__glXDisp_BlendFuncSeparateEXT, - __glXDispSwap_BlendFuncSeparateEXT}, + /* [ 376] = 4128 */ {__glXDisp_SecondaryColor3iv, __glXDispSwap_SecondaryColor3iv}, + /* [ 377] = 4129 */ {__glXDisp_SecondaryColor3fvEXT, __glXDispSwap_SecondaryColor3fvEXT}, + /* [ 378] = 4130 */ {__glXDisp_SecondaryColor3dv, __glXDispSwap_SecondaryColor3dv}, + /* [ 379] = 4131 */ {__glXDisp_SecondaryColor3ubv, __glXDispSwap_SecondaryColor3ubv}, + /* [ 380] = 4132 */ {__glXDisp_SecondaryColor3usv, __glXDispSwap_SecondaryColor3usv}, + /* [ 381] = 4133 */ {__glXDisp_SecondaryColor3uiv, __glXDispSwap_SecondaryColor3uiv}, + /* [ 382] = 4134 */ {__glXDisp_BlendFuncSeparate, __glXDispSwap_BlendFuncSeparate}, /* [ 383] = 4135 */ {NULL, NULL}, /* [ 384] = 4264 */ {NULL, NULL}, - /* [ 385] = 4265 */ {__glXDisp_VertexAttrib1svNV, - __glXDispSwap_VertexAttrib1svNV}, - /* [ 386] = 4266 */ {__glXDisp_VertexAttrib2svNV, - __glXDispSwap_VertexAttrib2svNV}, - /* [ 387] = 4267 */ {__glXDisp_VertexAttrib3svNV, - __glXDispSwap_VertexAttrib3svNV}, - /* [ 388] = 4268 */ {__glXDisp_VertexAttrib4svNV, - __glXDispSwap_VertexAttrib4svNV}, - /* [ 389] = 4269 */ {__glXDisp_VertexAttrib1fvNV, - __glXDispSwap_VertexAttrib1fvNV}, - /* [ 390] = 4270 */ {__glXDisp_VertexAttrib2fvNV, - __glXDispSwap_VertexAttrib2fvNV}, - /* [ 391] = 4271 */ {__glXDisp_VertexAttrib3fvNV, - __glXDispSwap_VertexAttrib3fvNV}, - /* [ 392] = 4272 */ {__glXDisp_VertexAttrib4fvNV, - __glXDispSwap_VertexAttrib4fvNV}, - /* [ 393] = 4273 */ {__glXDisp_VertexAttrib1dvNV, - __glXDispSwap_VertexAttrib1dvNV}, - /* [ 394] = 4274 */ {__glXDisp_VertexAttrib2dvNV, - __glXDispSwap_VertexAttrib2dvNV}, - /* [ 395] = 4275 */ {__glXDisp_VertexAttrib3dvNV, - __glXDispSwap_VertexAttrib3dvNV}, - /* [ 396] = 4276 */ {__glXDisp_VertexAttrib4dvNV, - __glXDispSwap_VertexAttrib4dvNV}, - /* [ 397] = 4277 */ {__glXDisp_VertexAttrib4ubvNV, - __glXDispSwap_VertexAttrib4ubvNV}, + /* [ 385] = 4265 */ {__glXDisp_VertexAttrib1svNV, __glXDispSwap_VertexAttrib1svNV}, + /* [ 386] = 4266 */ {__glXDisp_VertexAttrib2svNV, __glXDispSwap_VertexAttrib2svNV}, + /* [ 387] = 4267 */ {__glXDisp_VertexAttrib3svNV, __glXDispSwap_VertexAttrib3svNV}, + /* [ 388] = 4268 */ {__glXDisp_VertexAttrib4svNV, __glXDispSwap_VertexAttrib4svNV}, + /* [ 389] = 4269 */ {__glXDisp_VertexAttrib1fvNV, __glXDispSwap_VertexAttrib1fvNV}, + /* [ 390] = 4270 */ {__glXDisp_VertexAttrib2fvNV, __glXDispSwap_VertexAttrib2fvNV}, + /* [ 391] = 4271 */ {__glXDisp_VertexAttrib3fvNV, __glXDispSwap_VertexAttrib3fvNV}, + /* [ 392] = 4272 */ {__glXDisp_VertexAttrib4fvNV, __glXDispSwap_VertexAttrib4fvNV}, + /* [ 393] = 4273 */ {__glXDisp_VertexAttrib1dvNV, __glXDispSwap_VertexAttrib1dvNV}, + /* [ 394] = 4274 */ {__glXDisp_VertexAttrib2dvNV, __glXDispSwap_VertexAttrib2dvNV}, + /* [ 395] = 4275 */ {__glXDisp_VertexAttrib3dvNV, __glXDispSwap_VertexAttrib3dvNV}, + /* [ 396] = 4276 */ {__glXDisp_VertexAttrib4dvNV, __glXDispSwap_VertexAttrib4dvNV}, + /* [ 397] = 4277 */ {__glXDisp_VertexAttrib4ubvNV, __glXDispSwap_VertexAttrib4ubvNV}, /* [ 398] = 4278 */ {NULL, NULL}, /* [ 399] = 4279 */ {NULL, NULL}, /* [ 400] = 4312 */ {NULL, NULL}, /* [ 401] = 4313 */ {NULL, NULL}, /* [ 402] = 4314 */ {NULL, NULL}, /* [ 403] = 4315 */ {NULL, NULL}, - /* [ 404] = 4316 */ {__glXDisp_BindRenderbufferEXT, - __glXDispSwap_BindRenderbufferEXT}, - /* [ 405] = 4317 */ {__glXDisp_DeleteRenderbuffersEXT, - __glXDispSwap_DeleteRenderbuffersEXT}, - /* [ 406] = 4318 */ {__glXDisp_RenderbufferStorageEXT, - __glXDispSwap_RenderbufferStorageEXT}, - /* [ 407] = 4319 */ {__glXDisp_BindFramebufferEXT, - __glXDispSwap_BindFramebufferEXT}, + /* [ 404] = 4316 */ {__glXDisp_BindRenderbuffer, __glXDispSwap_BindRenderbuffer}, + /* [ 405] = 4317 */ {__glXDisp_DeleteRenderbuffers, __glXDispSwap_DeleteRenderbuffers}, + /* [ 406] = 4318 */ {__glXDisp_RenderbufferStorage, __glXDispSwap_RenderbufferStorage}, + /* [ 407] = 4319 */ {__glXDisp_BindFramebuffer, __glXDispSwap_BindFramebuffer}, }; static const int_fast16_t Render_size_table[408][2] = { - /* [ 0] = 0 */ {0, ~0}, - /* [ 1] = 1 */ {8, ~0}, - /* [ 2] = 2 */ {12, 0}, - /* [ 3] = 3 */ {8, ~0}, - /* [ 4] = 4 */ {8, ~0}, - /* [ 5] = 5 */ {48, 1}, - /* [ 6] = 6 */ {8, ~0}, - /* [ 7] = 7 */ {28, ~0}, - /* [ 8] = 8 */ {16, ~0}, - /* [ 9] = 9 */ {16, ~0}, - /* [ 10] = 10 */ {12, ~0}, - /* [ 11] = 11 */ {8, ~0}, - /* [ 12] = 12 */ {16, ~0}, - /* [ 13] = 13 */ {12, ~0}, - /* [ 14] = 14 */ {8, ~0}, - /* [ 15] = 15 */ {36, ~0}, - /* [ 16] = 16 */ {20, ~0}, - /* [ 17] = 17 */ {20, ~0}, - /* [ 18] = 18 */ {12, ~0}, - /* [ 19] = 19 */ {8, ~0}, - /* [ 20] = 20 */ {20, ~0}, - /* [ 21] = 21 */ {12, ~0}, - /* [ 22] = 22 */ {8, ~0}, - /* [ 23] = 23 */ {4, ~0}, - /* [ 24] = 24 */ {12, ~0}, - /* [ 25] = 25 */ {8, ~0}, - /* [ 26] = 26 */ {8, ~0}, - /* [ 27] = 27 */ {8, ~0}, - /* [ 28] = 28 */ {8, ~0}, - /* [ 29] = 29 */ {28, ~0}, - /* [ 30] = 30 */ {16, ~0}, - /* [ 31] = 31 */ {16, ~0}, - /* [ 32] = 32 */ {12, ~0}, - /* [ 33] = 33 */ {20, ~0}, - /* [ 34] = 34 */ {12, ~0}, - /* [ 35] = 35 */ {12, ~0}, - /* [ 36] = 36 */ {8, ~0}, - /* [ 37] = 37 */ {28, ~0}, - /* [ 38] = 38 */ {16, ~0}, - /* [ 39] = 39 */ {16, ~0}, - /* [ 40] = 40 */ {12, ~0}, - /* [ 41] = 41 */ {36, ~0}, - /* [ 42] = 42 */ {20, ~0}, - /* [ 43] = 43 */ {20, ~0}, - /* [ 44] = 44 */ {12, ~0}, - /* [ 45] = 45 */ {36, ~0}, - /* [ 46] = 46 */ {20, ~0}, - /* [ 47] = 47 */ {20, ~0}, - /* [ 48] = 48 */ {12, ~0}, - /* [ 49] = 49 */ {12, ~0}, - /* [ 50] = 50 */ {8, ~0}, - /* [ 51] = 51 */ {8, ~0}, - /* [ 52] = 52 */ {8, ~0}, - /* [ 53] = 53 */ {20, ~0}, - /* [ 54] = 54 */ {12, ~0}, - /* [ 55] = 55 */ {12, ~0}, - /* [ 56] = 56 */ {8, ~0}, - /* [ 57] = 57 */ {28, ~0}, - /* [ 58] = 58 */ {16, ~0}, - /* [ 59] = 59 */ {16, ~0}, - /* [ 60] = 60 */ {12, ~0}, - /* [ 61] = 61 */ {36, ~0}, - /* [ 62] = 62 */ {20, ~0}, - /* [ 63] = 63 */ {20, ~0}, - /* [ 64] = 64 */ {12, ~0}, - /* [ 65] = 65 */ {20, ~0}, - /* [ 66] = 66 */ {12, ~0}, - /* [ 67] = 67 */ {12, ~0}, - /* [ 68] = 68 */ {8, ~0}, - /* [ 69] = 69 */ {28, ~0}, - /* [ 70] = 70 */ {16, ~0}, - /* [ 71] = 71 */ {16, ~0}, - /* [ 72] = 72 */ {12, ~0}, - /* [ 73] = 73 */ {36, ~0}, - /* [ 74] = 74 */ {20, ~0}, - /* [ 75] = 75 */ {20, ~0}, - /* [ 76] = 76 */ {12, ~0}, - /* [ 77] = 77 */ {40, ~0}, - /* [ 78] = 78 */ {12, ~0}, - /* [ 79] = 79 */ {8, ~0}, - /* [ 80] = 80 */ {12, ~0}, - /* [ 81] = 81 */ {8, 2}, - /* [ 82] = 82 */ {12, ~0}, - /* [ 83] = 83 */ {8, 3}, - /* [ 84] = 84 */ {8, ~0}, - /* [ 85] = 85 */ {12, ~0}, - /* [ 86] = 86 */ {16, ~0}, - /* [ 87] = 87 */ {12, 4}, - /* [ 88] = 88 */ {16, ~0}, - /* [ 89] = 89 */ {12, 5}, - /* [ 90] = 90 */ {12, ~0}, - /* [ 91] = 91 */ {8, 6}, - /* [ 92] = 92 */ {12, ~0}, - /* [ 93] = 93 */ {8, 7}, - /* [ 94] = 94 */ {12, ~0}, - /* [ 95] = 95 */ {8, ~0}, - /* [ 96] = 96 */ {16, ~0}, - /* [ 97] = 97 */ {12, 8}, - /* [ 98] = 98 */ {16, ~0}, - /* [ 99] = 99 */ {12, 9}, - /* [100] = 100 */ {8, ~0}, - /* [101] = 101 */ {12, ~0}, - /* [102] = 102 */ {24, 10}, - /* [103] = 103 */ {20, ~0}, - /* [104] = 104 */ {8, ~0}, - /* [105] = 105 */ {16, ~0}, - /* [106] = 106 */ {12, 11}, - /* [107] = 107 */ {16, ~0}, - /* [108] = 108 */ {12, 12}, - /* [109] = 109 */ {56, 13}, - /* [110] = 110 */ {56, 14}, - /* [111] = 111 */ {16, ~0}, - /* [112] = 112 */ {12, 15}, - /* [113] = 113 */ {16, ~0}, - /* [114] = 114 */ {12, 16}, - /* [115] = 115 */ {20, ~0}, - /* [116] = 116 */ {12, 17}, - /* [117] = 117 */ {16, ~0}, - /* [118] = 118 */ {12, 18}, - /* [119] = 119 */ {16, ~0}, - /* [120] = 120 */ {12, 19}, - /* [121] = 121 */ {4, ~0}, - /* [122] = 122 */ {8, ~0}, - /* [123] = 123 */ {8, ~0}, - /* [124] = 124 */ {4, ~0}, - /* [125] = 125 */ {8, ~0}, - /* [126] = 126 */ {8, ~0}, - /* [127] = 127 */ {8, ~0}, - /* [128] = 128 */ {20, ~0}, - /* [129] = 129 */ {8, ~0}, - /* [130] = 130 */ {20, ~0}, - /* [131] = 131 */ {8, ~0}, - /* [132] = 132 */ {12, ~0}, - /* [133] = 133 */ {8, ~0}, - /* [134] = 134 */ {8, ~0}, - /* [135] = 135 */ {8, ~0}, - /* [136] = 136 */ {8, ~0}, - /* [137] = 137 */ {12, ~0}, - /* [138] = 138 */ {8, ~0}, - /* [139] = 139 */ {8, ~0}, - /* [140] = 140 */ {0, ~0}, - /* [141] = 141 */ {4, ~0}, - /* [142] = 142 */ {8, ~0}, - /* [143] = 143 */ {28, 20}, - /* [144] = 144 */ {20, 21}, - /* [145] = 145 */ {48, 22}, - /* [146] = 146 */ {32, 23}, - /* [147] = 147 */ {24, ~0}, - /* [148] = 148 */ {16, ~0}, - /* [149] = 149 */ {44, ~0}, - /* [150] = 150 */ {28, ~0}, - /* [151] = 151 */ {12, ~0}, - /* [152] = 152 */ {8, ~0}, - /* [153] = 153 */ {20, ~0}, - /* [154] = 154 */ {12, ~0}, - /* [155] = 155 */ {16, ~0}, - /* [156] = 156 */ {8, ~0}, - /* [157] = 157 */ {24, ~0}, - /* [158] = 158 */ {12, ~0}, - /* [159] = 159 */ {12, ~0}, - /* [160] = 160 */ {12, ~0}, - /* [161] = 161 */ {8, ~0}, - /* [162] = 162 */ {16, ~0}, - /* [163] = 163 */ {16, ~0}, - /* [164] = 164 */ {8, ~0}, - /* [165] = 165 */ {12, ~0}, - /* [166] = 166 */ {12, ~0}, - /* [167] = 167 */ {12, ~0}, - /* [168] = 168 */ {12, 24}, - /* [169] = 169 */ {12, 25}, - /* [170] = 170 */ {12, 26}, - /* [171] = 171 */ {8, ~0}, - /* [172] = 172 */ {24, ~0}, - /* [173] = 173 */ {40, 27}, - /* [174] = 174 */ {20, ~0}, - /* [175] = 175 */ {52, ~0}, - /* [176] = 176 */ {4, ~0}, - /* [177] = 177 */ {68, ~0}, + /* [ 0] = 0 */ { 0, ~0}, + /* [ 1] = 1 */ { 8, ~0}, + /* [ 2] = 2 */ { 12, 0}, + /* [ 3] = 3 */ { 8, ~0}, + /* [ 4] = 4 */ { 8, ~0}, + /* [ 5] = 5 */ { 48, 1}, + /* [ 6] = 6 */ { 8, ~0}, + /* [ 7] = 7 */ { 28, ~0}, + /* [ 8] = 8 */ { 16, ~0}, + /* [ 9] = 9 */ { 16, ~0}, + /* [ 10] = 10 */ { 12, ~0}, + /* [ 11] = 11 */ { 8, ~0}, + /* [ 12] = 12 */ { 16, ~0}, + /* [ 13] = 13 */ { 12, ~0}, + /* [ 14] = 14 */ { 8, ~0}, + /* [ 15] = 15 */ { 36, ~0}, + /* [ 16] = 16 */ { 20, ~0}, + /* [ 17] = 17 */ { 20, ~0}, + /* [ 18] = 18 */ { 12, ~0}, + /* [ 19] = 19 */ { 8, ~0}, + /* [ 20] = 20 */ { 20, ~0}, + /* [ 21] = 21 */ { 12, ~0}, + /* [ 22] = 22 */ { 8, ~0}, + /* [ 23] = 23 */ { 4, ~0}, + /* [ 24] = 24 */ { 12, ~0}, + /* [ 25] = 25 */ { 8, ~0}, + /* [ 26] = 26 */ { 8, ~0}, + /* [ 27] = 27 */ { 8, ~0}, + /* [ 28] = 28 */ { 8, ~0}, + /* [ 29] = 29 */ { 28, ~0}, + /* [ 30] = 30 */ { 16, ~0}, + /* [ 31] = 31 */ { 16, ~0}, + /* [ 32] = 32 */ { 12, ~0}, + /* [ 33] = 33 */ { 20, ~0}, + /* [ 34] = 34 */ { 12, ~0}, + /* [ 35] = 35 */ { 12, ~0}, + /* [ 36] = 36 */ { 8, ~0}, + /* [ 37] = 37 */ { 28, ~0}, + /* [ 38] = 38 */ { 16, ~0}, + /* [ 39] = 39 */ { 16, ~0}, + /* [ 40] = 40 */ { 12, ~0}, + /* [ 41] = 41 */ { 36, ~0}, + /* [ 42] = 42 */ { 20, ~0}, + /* [ 43] = 43 */ { 20, ~0}, + /* [ 44] = 44 */ { 12, ~0}, + /* [ 45] = 45 */ { 36, ~0}, + /* [ 46] = 46 */ { 20, ~0}, + /* [ 47] = 47 */ { 20, ~0}, + /* [ 48] = 48 */ { 12, ~0}, + /* [ 49] = 49 */ { 12, ~0}, + /* [ 50] = 50 */ { 8, ~0}, + /* [ 51] = 51 */ { 8, ~0}, + /* [ 52] = 52 */ { 8, ~0}, + /* [ 53] = 53 */ { 20, ~0}, + /* [ 54] = 54 */ { 12, ~0}, + /* [ 55] = 55 */ { 12, ~0}, + /* [ 56] = 56 */ { 8, ~0}, + /* [ 57] = 57 */ { 28, ~0}, + /* [ 58] = 58 */ { 16, ~0}, + /* [ 59] = 59 */ { 16, ~0}, + /* [ 60] = 60 */ { 12, ~0}, + /* [ 61] = 61 */ { 36, ~0}, + /* [ 62] = 62 */ { 20, ~0}, + /* [ 63] = 63 */ { 20, ~0}, + /* [ 64] = 64 */ { 12, ~0}, + /* [ 65] = 65 */ { 20, ~0}, + /* [ 66] = 66 */ { 12, ~0}, + /* [ 67] = 67 */ { 12, ~0}, + /* [ 68] = 68 */ { 8, ~0}, + /* [ 69] = 69 */ { 28, ~0}, + /* [ 70] = 70 */ { 16, ~0}, + /* [ 71] = 71 */ { 16, ~0}, + /* [ 72] = 72 */ { 12, ~0}, + /* [ 73] = 73 */ { 36, ~0}, + /* [ 74] = 74 */ { 20, ~0}, + /* [ 75] = 75 */ { 20, ~0}, + /* [ 76] = 76 */ { 12, ~0}, + /* [ 77] = 77 */ { 40, ~0}, + /* [ 78] = 78 */ { 12, ~0}, + /* [ 79] = 79 */ { 8, ~0}, + /* [ 80] = 80 */ { 12, ~0}, + /* [ 81] = 81 */ { 8, 2}, + /* [ 82] = 82 */ { 12, ~0}, + /* [ 83] = 83 */ { 8, 3}, + /* [ 84] = 84 */ { 8, ~0}, + /* [ 85] = 85 */ { 12, ~0}, + /* [ 86] = 86 */ { 16, ~0}, + /* [ 87] = 87 */ { 12, 4}, + /* [ 88] = 88 */ { 16, ~0}, + /* [ 89] = 89 */ { 12, 5}, + /* [ 90] = 90 */ { 12, ~0}, + /* [ 91] = 91 */ { 8, 6}, + /* [ 92] = 92 */ { 12, ~0}, + /* [ 93] = 93 */ { 8, 7}, + /* [ 94] = 94 */ { 12, ~0}, + /* [ 95] = 95 */ { 8, ~0}, + /* [ 96] = 96 */ { 16, ~0}, + /* [ 97] = 97 */ { 12, 8}, + /* [ 98] = 98 */ { 16, ~0}, + /* [ 99] = 99 */ { 12, 9}, + /* [100] = 100 */ { 8, ~0}, + /* [101] = 101 */ { 12, ~0}, + /* [102] = 102 */ { 24, 10}, + /* [103] = 103 */ { 20, ~0}, + /* [104] = 104 */ { 8, ~0}, + /* [105] = 105 */ { 16, ~0}, + /* [106] = 106 */ { 12, 11}, + /* [107] = 107 */ { 16, ~0}, + /* [108] = 108 */ { 12, 12}, + /* [109] = 109 */ { 56, 13}, + /* [110] = 110 */ { 56, 14}, + /* [111] = 111 */ { 16, ~0}, + /* [112] = 112 */ { 12, 15}, + /* [113] = 113 */ { 16, ~0}, + /* [114] = 114 */ { 12, 16}, + /* [115] = 115 */ { 20, ~0}, + /* [116] = 116 */ { 12, 17}, + /* [117] = 117 */ { 16, ~0}, + /* [118] = 118 */ { 12, 18}, + /* [119] = 119 */ { 16, ~0}, + /* [120] = 120 */ { 12, 19}, + /* [121] = 121 */ { 4, ~0}, + /* [122] = 122 */ { 8, ~0}, + /* [123] = 123 */ { 8, ~0}, + /* [124] = 124 */ { 4, ~0}, + /* [125] = 125 */ { 8, ~0}, + /* [126] = 126 */ { 8, ~0}, + /* [127] = 127 */ { 8, ~0}, + /* [128] = 128 */ { 20, ~0}, + /* [129] = 129 */ { 8, ~0}, + /* [130] = 130 */ { 20, ~0}, + /* [131] = 131 */ { 8, ~0}, + /* [132] = 132 */ { 12, ~0}, + /* [133] = 133 */ { 8, ~0}, + /* [134] = 134 */ { 8, ~0}, + /* [135] = 135 */ { 8, ~0}, + /* [136] = 136 */ { 8, ~0}, + /* [137] = 137 */ { 12, ~0}, + /* [138] = 138 */ { 8, ~0}, + /* [139] = 139 */ { 8, ~0}, + /* [140] = 140 */ { 0, ~0}, + /* [141] = 141 */ { 4, ~0}, + /* [142] = 142 */ { 8, ~0}, + /* [143] = 143 */ { 28, 20}, + /* [144] = 144 */ { 20, 21}, + /* [145] = 145 */ { 48, 22}, + /* [146] = 146 */ { 32, 23}, + /* [147] = 147 */ { 24, ~0}, + /* [148] = 148 */ { 16, ~0}, + /* [149] = 149 */ { 44, ~0}, + /* [150] = 150 */ { 28, ~0}, + /* [151] = 151 */ { 12, ~0}, + /* [152] = 152 */ { 8, ~0}, + /* [153] = 153 */ { 20, ~0}, + /* [154] = 154 */ { 12, ~0}, + /* [155] = 155 */ { 16, ~0}, + /* [156] = 156 */ { 8, ~0}, + /* [157] = 157 */ { 24, ~0}, + /* [158] = 158 */ { 12, ~0}, + /* [159] = 159 */ { 12, ~0}, + /* [160] = 160 */ { 12, ~0}, + /* [161] = 161 */ { 8, ~0}, + /* [162] = 162 */ { 16, ~0}, + /* [163] = 163 */ { 16, ~0}, + /* [164] = 164 */ { 8, ~0}, + /* [165] = 165 */ { 12, ~0}, + /* [166] = 166 */ { 12, ~0}, + /* [167] = 167 */ { 12, ~0}, + /* [168] = 168 */ { 12, 24}, + /* [169] = 169 */ { 12, 25}, + /* [170] = 170 */ { 12, 26}, + /* [171] = 171 */ { 8, ~0}, + /* [172] = 172 */ { 24, ~0}, + /* [173] = 173 */ { 40, 27}, + /* [174] = 174 */ { 20, ~0}, + /* [175] = 175 */ { 52, ~0}, + /* [176] = 176 */ { 4, ~0}, + /* [177] = 177 */ { 68, ~0}, /* [178] = 178 */ {132, ~0}, - /* [179] = 179 */ {8, ~0}, - /* [180] = 180 */ {68, ~0}, + /* [179] = 179 */ { 8, ~0}, + /* [180] = 180 */ { 68, ~0}, /* [181] = 181 */ {132, ~0}, - /* [182] = 182 */ {52, ~0}, - /* [183] = 183 */ {4, ~0}, - /* [184] = 184 */ {4, ~0}, - /* [185] = 185 */ {36, ~0}, - /* [186] = 186 */ {20, ~0}, - /* [187] = 187 */ {28, ~0}, - /* [188] = 188 */ {16, ~0}, - /* [189] = 189 */ {28, ~0}, - /* [190] = 190 */ {16, ~0}, - /* [191] = 191 */ {20, ~0}, - /* [192] = 192 */ {12, ~0}, - /* [193] = 193 */ {16, 28}, - /* [194] = 194 */ {8, ~0}, - /* [195] = 195 */ {44, 29}, - /* [196] = 196 */ {24, ~0}, - /* [197] = 197 */ {8, ~0}, - /* [198] = 198 */ {16, ~0}, - /* [199] = 199 */ {12, ~0}, - /* [200] = 200 */ {12, ~0}, - /* [201] = 201 */ {12, ~0}, - /* [202] = 202 */ {24, ~0}, - /* [203] = 203 */ {16, ~0}, - /* [204] = 204 */ {16, ~0}, - /* [205] = 205 */ {12, ~0}, - /* [206] = 206 */ {32, ~0}, - /* [207] = 207 */ {20, ~0}, - /* [208] = 208 */ {20, ~0}, - /* [209] = 209 */ {16, ~0}, - /* [210] = 210 */ {40, ~0}, - /* [211] = 211 */ {24, ~0}, - /* [212] = 212 */ {24, ~0}, - /* [213] = 213 */ {16, ~0}, - /* [214] = 214 */ {28, 30}, - /* [215] = 215 */ {32, 31}, - /* [216] = 216 */ {36, 32}, - /* [217] = 217 */ {28, 33}, - /* [218] = 218 */ {36, 34}, - /* [219] = 219 */ {44, 35}, - /* [220] = 220 */ {0, ~0}, - /* [221] = 221 */ {0, ~0}, - /* [222] = 222 */ {0, ~0}, - /* [223] = 223 */ {0, ~0}, - /* [224] = 224 */ {0, ~0}, - /* [225] = 225 */ {0, ~0}, - /* [226] = 226 */ {0, ~0}, - /* [227] = 227 */ {0, ~0}, - /* [228] = 228 */ {0, ~0}, - /* [229] = 229 */ {12, ~0}, - /* [230] = 230 */ {16, ~0}, - /* [231] = 231 */ {12, ~0}, - /* [232] = 232 */ {8, ~0}, - /* [233] = 233 */ {8, 36}, - /* [234] = 234 */ {12, ~0}, - /* [235] = 235 */ {0, ~0}, - /* [236] = 236 */ {0, ~0}, - /* [237] = 237 */ {24, ~0}, - /* [238] = 238 */ {0, ~0}, - /* [239] = 239 */ {0, ~0}, - /* [240] = 2048 */ {12, ~0}, - /* [241] = 2049 */ {8, ~0}, - /* [242] = 2050 */ {0, ~0}, - /* [243] = 2051 */ {0, ~0}, - /* [244] = 2052 */ {0, ~0}, - /* [245] = 2053 */ {44, 37}, - /* [246] = 2054 */ {12, 38}, - /* [247] = 2055 */ {12, 39}, - /* [248] = 2056 */ {24, ~0}, - /* [249] = 2057 */ {0, ~0}, - /* [250] = 2058 */ {0, ~0}, - /* [251] = 2059 */ {0, ~0}, - /* [252] = 2060 */ {0, ~0}, - /* [253] = 2061 */ {0, ~0}, - /* [254] = 2062 */ {0, ~0}, - /* [255] = 2063 */ {0, ~0}, - /* [256] = 2064 */ {0, ~0}, - /* [257] = 2065 */ {12, ~0}, - /* [258] = 2066 */ {8, 40}, - /* [259] = 2067 */ {0, ~0}, - /* [260] = 2068 */ {0, ~0}, - /* [261] = 2069 */ {0, ~0}, - /* [262] = 2070 */ {0, ~0}, - /* [263] = 2071 */ {0, ~0}, - /* [264] = 4096 */ {20, ~0}, - /* [265] = 4097 */ {8, ~0}, - /* [266] = 4098 */ {0, ~0}, - /* [267] = 4099 */ {60, 41}, - /* [268] = 4100 */ {60, 42}, - /* [269] = 4101 */ {48, 43}, - /* [270] = 4102 */ {48, 44}, - /* [271] = 4103 */ {16, ~0}, - /* [272] = 4104 */ {12, 45}, - /* [273] = 4105 */ {16, ~0}, - /* [274] = 4106 */ {12, 46}, - /* [275] = 4107 */ {24, ~0}, - /* [276] = 4108 */ {28, ~0}, - /* [277] = 4109 */ {32, 47}, - /* [278] = 4110 */ {20, ~0}, - /* [279] = 4111 */ {16, ~0}, - /* [280] = 4112 */ {8, ~0}, - /* [281] = 4113 */ {8, ~0}, - /* [282] = 4114 */ {84, 48}, - /* [283] = 4115 */ {92, 49}, - /* [284] = 4116 */ {0, ~0}, - /* [285] = 4117 */ {12, ~0}, - /* [286] = 4118 */ {8, 50}, - /* [287] = 4119 */ {32, ~0}, - /* [288] = 4120 */ {36, ~0}, - /* [289] = 4121 */ {28, ~0}, - /* [290] = 4122 */ {36, ~0}, - /* [291] = 4123 */ {40, ~0}, - /* [292] = 4124 */ {8, ~0}, - /* [293] = 4125 */ {12, ~0}, - /* [294] = 4126 */ {8, ~0}, - /* [295] = 4127 */ {12, ~0}, - /* [296] = 4176 */ {0, ~0}, - /* [297] = 4177 */ {0, ~0}, - /* [298] = 4178 */ {0, ~0}, - /* [299] = 4179 */ {0, ~0}, - /* [300] = 4180 */ {12, ~0}, - /* [301] = 4181 */ {28, ~0}, - /* [302] = 4182 */ {8, 51}, - /* [303] = 4183 */ {16, 52}, - /* [304] = 4184 */ {28, ~0}, - /* [305] = 4185 */ {44, ~0}, - /* [306] = 4186 */ {16, 53}, - /* [307] = 4187 */ {16, 54}, - /* [308] = 4188 */ {20, ~0}, - /* [309] = 4189 */ {12, ~0}, - /* [310] = 4190 */ {12, ~0}, - /* [311] = 4191 */ {16, ~0}, - /* [312] = 4192 */ {16, ~0}, - /* [313] = 4193 */ {12, ~0}, - /* [314] = 4194 */ {16, ~0}, - /* [315] = 4195 */ {20, ~0}, - /* [316] = 4196 */ {24, ~0}, - /* [317] = 4197 */ {16, ~0}, - /* [318] = 4198 */ {24, ~0}, - /* [319] = 4199 */ {32, ~0}, - /* [320] = 4200 */ {40, ~0}, - /* [321] = 4201 */ {12, ~0}, - /* [322] = 4202 */ {12, 55}, - /* [323] = 4203 */ {12, 56}, - /* [324] = 4204 */ {12, 57}, - /* [325] = 4205 */ {12, 58}, - /* [326] = 4206 */ {12, 59}, - /* [327] = 4207 */ {12, 60}, - /* [328] = 4208 */ {12, 61}, - /* [329] = 4209 */ {12, 62}, - /* [330] = 4210 */ {12, 63}, - /* [331] = 4211 */ {12, 64}, - /* [332] = 4212 */ {12, 65}, - /* [333] = 4213 */ {12, 66}, - /* [334] = 4214 */ {12, 67}, - /* [335] = 4215 */ {28, ~0}, - /* [336] = 4216 */ {44, ~0}, - /* [337] = 4217 */ {16, 68}, - /* [338] = 4218 */ {28, 69}, - /* [339] = 4219 */ {44, 70}, - /* [340] = 4220 */ {8, ~0}, - /* [341] = 4221 */ {12, ~0}, - /* [342] = 4222 */ {8, 71}, - /* [343] = 4223 */ {0, ~0}, - /* [344] = 4224 */ {0, ~0}, - /* [345] = 4225 */ {0, ~0}, - /* [346] = 4226 */ {0, ~0}, - /* [347] = 4227 */ {0, ~0}, - /* [348] = 4228 */ {12, ~0}, - /* [349] = 4229 */ {0, ~0}, - /* [350] = 4230 */ {12, ~0}, - /* [351] = 4231 */ {24, ~0}, - /* [352] = 4232 */ {12, ~0}, - /* [353] = 4233 */ {16, ~0}, - /* [354] = 4234 */ {24, ~0}, - /* [355] = 4235 */ {12, ~0}, - /* [356] = 4236 */ {16, ~0}, - /* [357] = 4237 */ {24, ~0}, - /* [358] = 4238 */ {16, ~0}, - /* [359] = 4239 */ {24, ~0}, - /* [360] = 4320 */ {8, 72}, - /* [361] = 4321 */ {24, ~0}, - /* [362] = 4322 */ {24, ~0}, - /* [363] = 4323 */ {28, ~0}, - /* [364] = 4324 */ {20, ~0}, - /* [365] = 4325 */ {8, ~0}, - /* [366] = 4326 */ {0, ~0}, - /* [367] = 4327 */ {0, ~0}, - /* [368] = 4328 */ {0, ~0}, - /* [369] = 4329 */ {0, ~0}, - /* [370] = 4330 */ {44, ~0}, - /* [371] = 4331 */ {24, ~0}, - /* [372] = 4332 */ {0, ~0}, - /* [373] = 4333 */ {0, ~0}, - /* [374] = 4334 */ {0, ~0}, - /* [375] = 4335 */ {0, ~0}, - /* [376] = 4128 */ {16, ~0}, - /* [377] = 4129 */ {16, ~0}, - /* [378] = 4130 */ {28, ~0}, - /* [379] = 4131 */ {8, ~0}, - /* [380] = 4132 */ {12, ~0}, - /* [381] = 4133 */ {16, ~0}, - /* [382] = 4134 */ {20, ~0}, - /* [383] = 4135 */ {0, ~0}, - /* [384] = 4264 */ {0, ~0}, - /* [385] = 4265 */ {12, ~0}, - /* [386] = 4266 */ {12, ~0}, - /* [387] = 4267 */ {16, ~0}, - /* [388] = 4268 */ {16, ~0}, - /* [389] = 4269 */ {12, ~0}, - /* [390] = 4270 */ {16, ~0}, - /* [391] = 4271 */ {20, ~0}, - /* [392] = 4272 */ {24, ~0}, - /* [393] = 4273 */ {16, ~0}, - /* [394] = 4274 */ {24, ~0}, - /* [395] = 4275 */ {32, ~0}, - /* [396] = 4276 */ {40, ~0}, - /* [397] = 4277 */ {12, ~0}, - /* [398] = 4278 */ {0, ~0}, - /* [399] = 4279 */ {0, ~0}, - /* [400] = 4312 */ {0, ~0}, - /* [401] = 4313 */ {0, ~0}, - /* [402] = 4314 */ {0, ~0}, - /* [403] = 4315 */ {0, ~0}, - /* [404] = 4316 */ {12, ~0}, - /* [405] = 4317 */ {8, 73}, - /* [406] = 4318 */ {20, ~0}, - /* [407] = 4319 */ {12, ~0}, + /* [182] = 182 */ { 52, ~0}, + /* [183] = 183 */ { 4, ~0}, + /* [184] = 184 */ { 4, ~0}, + /* [185] = 185 */ { 36, ~0}, + /* [186] = 186 */ { 20, ~0}, + /* [187] = 187 */ { 28, ~0}, + /* [188] = 188 */ { 16, ~0}, + /* [189] = 189 */ { 28, ~0}, + /* [190] = 190 */ { 16, ~0}, + /* [191] = 191 */ { 20, ~0}, + /* [192] = 192 */ { 12, ~0}, + /* [193] = 193 */ { 16, 28}, + /* [194] = 194 */ { 8, ~0}, + /* [195] = 195 */ { 44, 29}, + /* [196] = 196 */ { 24, ~0}, + /* [197] = 197 */ { 8, ~0}, + /* [198] = 198 */ { 16, ~0}, + /* [199] = 199 */ { 12, ~0}, + /* [200] = 200 */ { 12, ~0}, + /* [201] = 201 */ { 12, ~0}, + /* [202] = 202 */ { 24, ~0}, + /* [203] = 203 */ { 16, ~0}, + /* [204] = 204 */ { 16, ~0}, + /* [205] = 205 */ { 12, ~0}, + /* [206] = 206 */ { 32, ~0}, + /* [207] = 207 */ { 20, ~0}, + /* [208] = 208 */ { 20, ~0}, + /* [209] = 209 */ { 16, ~0}, + /* [210] = 210 */ { 40, ~0}, + /* [211] = 211 */ { 24, ~0}, + /* [212] = 212 */ { 24, ~0}, + /* [213] = 213 */ { 16, ~0}, + /* [214] = 214 */ { 28, 30}, + /* [215] = 215 */ { 32, 31}, + /* [216] = 216 */ { 36, 32}, + /* [217] = 217 */ { 28, 33}, + /* [218] = 218 */ { 36, 34}, + /* [219] = 219 */ { 44, 35}, + /* [220] = 220 */ { 0, ~0}, + /* [221] = 221 */ { 0, ~0}, + /* [222] = 222 */ { 0, ~0}, + /* [223] = 223 */ { 0, ~0}, + /* [224] = 224 */ { 0, ~0}, + /* [225] = 225 */ { 0, ~0}, + /* [226] = 226 */ { 0, ~0}, + /* [227] = 227 */ { 0, ~0}, + /* [228] = 228 */ { 0, ~0}, + /* [229] = 229 */ { 12, ~0}, + /* [230] = 230 */ { 16, ~0}, + /* [231] = 231 */ { 12, ~0}, + /* [232] = 232 */ { 8, ~0}, + /* [233] = 233 */ { 8, 36}, + /* [234] = 234 */ { 12, ~0}, + /* [235] = 235 */ { 0, ~0}, + /* [236] = 236 */ { 0, ~0}, + /* [237] = 237 */ { 24, ~0}, + /* [238] = 238 */ { 0, ~0}, + /* [239] = 239 */ { 0, ~0}, + /* [240] = 2048 */ { 12, ~0}, + /* [241] = 2049 */ { 8, ~0}, + /* [242] = 2050 */ { 0, ~0}, + /* [243] = 2051 */ { 0, ~0}, + /* [244] = 2052 */ { 0, ~0}, + /* [245] = 2053 */ { 44, 37}, + /* [246] = 2054 */ { 12, 38}, + /* [247] = 2055 */ { 12, 39}, + /* [248] = 2056 */ { 24, ~0}, + /* [249] = 2057 */ { 0, ~0}, + /* [250] = 2058 */ { 0, ~0}, + /* [251] = 2059 */ { 0, ~0}, + /* [252] = 2060 */ { 0, ~0}, + /* [253] = 2061 */ { 0, ~0}, + /* [254] = 2062 */ { 0, ~0}, + /* [255] = 2063 */ { 0, ~0}, + /* [256] = 2064 */ { 0, ~0}, + /* [257] = 2065 */ { 12, ~0}, + /* [258] = 2066 */ { 8, 40}, + /* [259] = 2067 */ { 0, ~0}, + /* [260] = 2068 */ { 0, ~0}, + /* [261] = 2069 */ { 0, ~0}, + /* [262] = 2070 */ { 0, ~0}, + /* [263] = 2071 */ { 0, ~0}, + /* [264] = 4096 */ { 20, ~0}, + /* [265] = 4097 */ { 8, ~0}, + /* [266] = 4098 */ { 0, ~0}, + /* [267] = 4099 */ { 60, 41}, + /* [268] = 4100 */ { 60, 42}, + /* [269] = 4101 */ { 48, 43}, + /* [270] = 4102 */ { 48, 44}, + /* [271] = 4103 */ { 16, ~0}, + /* [272] = 4104 */ { 12, 45}, + /* [273] = 4105 */ { 16, ~0}, + /* [274] = 4106 */ { 12, 46}, + /* [275] = 4107 */ { 24, ~0}, + /* [276] = 4108 */ { 28, ~0}, + /* [277] = 4109 */ { 32, 47}, + /* [278] = 4110 */ { 20, ~0}, + /* [279] = 4111 */ { 16, ~0}, + /* [280] = 4112 */ { 8, ~0}, + /* [281] = 4113 */ { 8, ~0}, + /* [282] = 4114 */ { 84, 48}, + /* [283] = 4115 */ { 92, 49}, + /* [284] = 4116 */ { 0, ~0}, + /* [285] = 4117 */ { 12, ~0}, + /* [286] = 4118 */ { 8, 50}, + /* [287] = 4119 */ { 32, ~0}, + /* [288] = 4120 */ { 36, ~0}, + /* [289] = 4121 */ { 28, ~0}, + /* [290] = 4122 */ { 36, ~0}, + /* [291] = 4123 */ { 40, ~0}, + /* [292] = 4124 */ { 8, ~0}, + /* [293] = 4125 */ { 12, ~0}, + /* [294] = 4126 */ { 8, ~0}, + /* [295] = 4127 */ { 12, ~0}, + /* [296] = 4176 */ { 0, ~0}, + /* [297] = 4177 */ { 0, ~0}, + /* [298] = 4178 */ { 0, ~0}, + /* [299] = 4179 */ { 0, ~0}, + /* [300] = 4180 */ { 12, ~0}, + /* [301] = 4181 */ { 28, ~0}, + /* [302] = 4182 */ { 8, 51}, + /* [303] = 4183 */ { 16, 52}, + /* [304] = 4184 */ { 28, ~0}, + /* [305] = 4185 */ { 44, ~0}, + /* [306] = 4186 */ { 16, 53}, + /* [307] = 4187 */ { 16, 54}, + /* [308] = 4188 */ { 20, ~0}, + /* [309] = 4189 */ { 12, ~0}, + /* [310] = 4190 */ { 12, ~0}, + /* [311] = 4191 */ { 16, ~0}, + /* [312] = 4192 */ { 16, ~0}, + /* [313] = 4193 */ { 12, ~0}, + /* [314] = 4194 */ { 16, ~0}, + /* [315] = 4195 */ { 20, ~0}, + /* [316] = 4196 */ { 24, ~0}, + /* [317] = 4197 */ { 16, ~0}, + /* [318] = 4198 */ { 24, ~0}, + /* [319] = 4199 */ { 32, ~0}, + /* [320] = 4200 */ { 40, ~0}, + /* [321] = 4201 */ { 12, ~0}, + /* [322] = 4202 */ { 12, 55}, + /* [323] = 4203 */ { 12, 56}, + /* [324] = 4204 */ { 12, 57}, + /* [325] = 4205 */ { 12, 58}, + /* [326] = 4206 */ { 12, 59}, + /* [327] = 4207 */ { 12, 60}, + /* [328] = 4208 */ { 12, 61}, + /* [329] = 4209 */ { 12, 62}, + /* [330] = 4210 */ { 12, 63}, + /* [331] = 4211 */ { 12, 64}, + /* [332] = 4212 */ { 12, 65}, + /* [333] = 4213 */ { 12, 66}, + /* [334] = 4214 */ { 12, 67}, + /* [335] = 4215 */ { 28, ~0}, + /* [336] = 4216 */ { 44, ~0}, + /* [337] = 4217 */ { 16, 68}, + /* [338] = 4218 */ { 28, 69}, + /* [339] = 4219 */ { 44, 70}, + /* [340] = 4220 */ { 8, ~0}, + /* [341] = 4221 */ { 12, ~0}, + /* [342] = 4222 */ { 8, 71}, + /* [343] = 4223 */ { 0, ~0}, + /* [344] = 4224 */ { 0, ~0}, + /* [345] = 4225 */ { 0, ~0}, + /* [346] = 4226 */ { 0, ~0}, + /* [347] = 4227 */ { 0, ~0}, + /* [348] = 4228 */ { 12, ~0}, + /* [349] = 4229 */ { 0, ~0}, + /* [350] = 4230 */ { 12, ~0}, + /* [351] = 4231 */ { 24, ~0}, + /* [352] = 4232 */ { 12, ~0}, + /* [353] = 4233 */ { 16, ~0}, + /* [354] = 4234 */ { 24, ~0}, + /* [355] = 4235 */ { 12, ~0}, + /* [356] = 4236 */ { 16, ~0}, + /* [357] = 4237 */ { 24, ~0}, + /* [358] = 4238 */ { 16, ~0}, + /* [359] = 4239 */ { 24, ~0}, + /* [360] = 4320 */ { 8, 72}, + /* [361] = 4321 */ { 24, ~0}, + /* [362] = 4322 */ { 24, ~0}, + /* [363] = 4323 */ { 28, ~0}, + /* [364] = 4324 */ { 20, ~0}, + /* [365] = 4325 */ { 8, ~0}, + /* [366] = 4326 */ { 0, ~0}, + /* [367] = 4327 */ { 0, ~0}, + /* [368] = 4328 */ { 0, ~0}, + /* [369] = 4329 */ { 0, ~0}, + /* [370] = 4330 */ { 44, ~0}, + /* [371] = 4331 */ { 24, ~0}, + /* [372] = 4332 */ { 0, ~0}, + /* [373] = 4333 */ { 0, ~0}, + /* [374] = 4334 */ { 0, ~0}, + /* [375] = 4335 */ { 0, ~0}, + /* [376] = 4128 */ { 16, ~0}, + /* [377] = 4129 */ { 16, ~0}, + /* [378] = 4130 */ { 28, ~0}, + /* [379] = 4131 */ { 8, ~0}, + /* [380] = 4132 */ { 12, ~0}, + /* [381] = 4133 */ { 16, ~0}, + /* [382] = 4134 */ { 20, ~0}, + /* [383] = 4135 */ { 0, ~0}, + /* [384] = 4264 */ { 0, ~0}, + /* [385] = 4265 */ { 12, ~0}, + /* [386] = 4266 */ { 12, ~0}, + /* [387] = 4267 */ { 16, ~0}, + /* [388] = 4268 */ { 16, ~0}, + /* [389] = 4269 */ { 12, ~0}, + /* [390] = 4270 */ { 16, ~0}, + /* [391] = 4271 */ { 20, ~0}, + /* [392] = 4272 */ { 24, ~0}, + /* [393] = 4273 */ { 16, ~0}, + /* [394] = 4274 */ { 24, ~0}, + /* [395] = 4275 */ { 32, ~0}, + /* [396] = 4276 */ { 40, ~0}, + /* [397] = 4277 */ { 12, ~0}, + /* [398] = 4278 */ { 0, ~0}, + /* [399] = 4279 */ { 0, ~0}, + /* [400] = 4312 */ { 0, ~0}, + /* [401] = 4313 */ { 0, ~0}, + /* [402] = 4314 */ { 0, ~0}, + /* [403] = 4315 */ { 0, ~0}, + /* [404] = 4316 */ { 12, ~0}, + /* [405] = 4317 */ { 8, 73}, + /* [406] = 4318 */ { 20, ~0}, + /* [407] = 4319 */ { 12, ~0}, }; static const gl_proto_size_func Render_size_func_table[74] = { - __glXCallListsReqSize, - __glXBitmapReqSize, - __glXFogfvReqSize, - __glXFogivReqSize, - __glXLightfvReqSize, - __glXLightivReqSize, - __glXLightModelfvReqSize, - __glXLightModelivReqSize, - __glXMaterialfvReqSize, - __glXMaterialivReqSize, - __glXPolygonStippleReqSize, - __glXTexParameterfvReqSize, - __glXTexParameterivReqSize, - __glXTexImage1DReqSize, - __glXTexImage2DReqSize, - __glXTexEnvfvReqSize, - __glXTexEnvivReqSize, - __glXTexGendvReqSize, - __glXTexGenfvReqSize, - __glXTexGenivReqSize, - __glXMap1dReqSize, - __glXMap1fReqSize, - __glXMap2dReqSize, - __glXMap2fReqSize, - __glXPixelMapfvReqSize, - __glXPixelMapuivReqSize, - __glXPixelMapusvReqSize, - __glXDrawPixelsReqSize, - __glXDrawArraysReqSize, - __glXColorSubTableReqSize, - __glXCompressedTexImage1DARBReqSize, - __glXCompressedTexImage2DARBReqSize, - __glXCompressedTexImage3DARBReqSize, - __glXCompressedTexSubImage1DARBReqSize, - __glXCompressedTexSubImage2DARBReqSize, - __glXCompressedTexSubImage3DARBReqSize, - __glXDrawBuffersARBReqSize, - __glXColorTableReqSize, - __glXColorTableParameterfvReqSize, - __glXColorTableParameterivReqSize, - __glXPointParameterfvEXTReqSize, - __glXTexSubImage1DReqSize, - __glXTexSubImage2DReqSize, - __glXConvolutionFilter1DReqSize, - __glXConvolutionFilter2DReqSize, - __glXConvolutionParameterfvReqSize, - __glXConvolutionParameterivReqSize, - __glXSeparableFilter2DReqSize, - __glXTexImage3DReqSize, - __glXTexSubImage3DReqSize, - __glXPrioritizeTexturesReqSize, - __glXRequestResidentProgramsNVReqSize, - __glXLoadProgramNVReqSize, - __glXProgramParameters4fvNVReqSize, - __glXProgramParameters4dvNVReqSize, - __glXVertexAttribs1svNVReqSize, - __glXVertexAttribs2svNVReqSize, - __glXVertexAttribs3svNVReqSize, - __glXVertexAttribs4svNVReqSize, - __glXVertexAttribs1fvNVReqSize, - __glXVertexAttribs2fvNVReqSize, - __glXVertexAttribs3fvNVReqSize, - __glXVertexAttribs4fvNVReqSize, - __glXVertexAttribs1dvNVReqSize, - __glXVertexAttribs2dvNVReqSize, - __glXVertexAttribs3dvNVReqSize, - __glXVertexAttribs4dvNVReqSize, - __glXVertexAttribs4ubvNVReqSize, - __glXProgramStringARBReqSize, - __glXProgramNamedParameter4fvNVReqSize, - __glXProgramNamedParameter4dvNVReqSize, - __glXPointParameterivNVReqSize, - __glXDeleteFramebuffersEXTReqSize, - __glXDeleteRenderbuffersEXTReqSize, + __glXCallListsReqSize, + __glXBitmapReqSize, + __glXFogfvReqSize, + __glXFogivReqSize, + __glXLightfvReqSize, + __glXLightivReqSize, + __glXLightModelfvReqSize, + __glXLightModelivReqSize, + __glXMaterialfvReqSize, + __glXMaterialivReqSize, + __glXPolygonStippleReqSize, + __glXTexParameterfvReqSize, + __glXTexParameterivReqSize, + __glXTexImage1DReqSize, + __glXTexImage2DReqSize, + __glXTexEnvfvReqSize, + __glXTexEnvivReqSize, + __glXTexGendvReqSize, + __glXTexGenfvReqSize, + __glXTexGenivReqSize, + __glXMap1dReqSize, + __glXMap1fReqSize, + __glXMap2dReqSize, + __glXMap2fReqSize, + __glXPixelMapfvReqSize, + __glXPixelMapuivReqSize, + __glXPixelMapusvReqSize, + __glXDrawPixelsReqSize, + __glXDrawArraysReqSize, + __glXColorSubTableReqSize, + __glXCompressedTexImage1DReqSize, + __glXCompressedTexImage2DReqSize, + __glXCompressedTexImage3DReqSize, + __glXCompressedTexSubImage1DReqSize, + __glXCompressedTexSubImage2DReqSize, + __glXCompressedTexSubImage3DReqSize, + __glXDrawBuffersReqSize, + __glXColorTableReqSize, + __glXColorTableParameterfvReqSize, + __glXColorTableParameterivReqSize, + __glXPointParameterfvReqSize, + __glXTexSubImage1DReqSize, + __glXTexSubImage2DReqSize, + __glXConvolutionFilter1DReqSize, + __glXConvolutionFilter2DReqSize, + __glXConvolutionParameterfvReqSize, + __glXConvolutionParameterivReqSize, + __glXSeparableFilter2DReqSize, + __glXTexImage3DReqSize, + __glXTexSubImage3DReqSize, + __glXPrioritizeTexturesReqSize, + __glXRequestResidentProgramsNVReqSize, + __glXLoadProgramNVReqSize, + __glXProgramParameters4fvNVReqSize, + __glXProgramParameters4dvNVReqSize, + __glXVertexAttribs1svNVReqSize, + __glXVertexAttribs2svNVReqSize, + __glXVertexAttribs3svNVReqSize, + __glXVertexAttribs4svNVReqSize, + __glXVertexAttribs1fvNVReqSize, + __glXVertexAttribs2fvNVReqSize, + __glXVertexAttribs3fvNVReqSize, + __glXVertexAttribs4fvNVReqSize, + __glXVertexAttribs1dvNVReqSize, + __glXVertexAttribs2dvNVReqSize, + __glXVertexAttribs3dvNVReqSize, + __glXVertexAttribs4dvNVReqSize, + __glXVertexAttribs4ubvNVReqSize, + __glXProgramStringARBReqSize, + __glXProgramNamedParameter4fvNVReqSize, + __glXProgramNamedParameter4dvNVReqSize, + __glXPointParameterivReqSize, + __glXDeleteFramebuffersReqSize, + __glXDeleteRenderbuffersReqSize, }; const struct __glXDispatchInfo Render_dispatch_info = { @@ -1671,35 +1495,22 @@ static const int_fast16_t VendorPriv_dispatch_tree[152] = { static const void *VendorPriv_function_table[104][2] = { /* [ 0] = 0 */ {NULL, NULL}, - /* [ 1] = 1 */ {__glXDisp_GetConvolutionFilterEXT, - __glXDispSwap_GetConvolutionFilterEXT}, - /* [ 2] = 2 */ {__glXDisp_GetConvolutionParameterfvEXT, - __glXDispSwap_GetConvolutionParameterfvEXT}, - /* [ 3] = 3 */ {__glXDisp_GetConvolutionParameterivEXT, - __glXDispSwap_GetConvolutionParameterivEXT}, - /* [ 4] = 4 */ {__glXDisp_GetSeparableFilterEXT, - __glXDispSwap_GetSeparableFilterEXT}, - /* [ 5] = 5 */ {__glXDisp_GetHistogramEXT, - __glXDispSwap_GetHistogramEXT}, - /* [ 6] = 6 */ {__glXDisp_GetHistogramParameterfvEXT, - __glXDispSwap_GetHistogramParameterfvEXT}, - /* [ 7] = 7 */ {__glXDisp_GetHistogramParameterivEXT, - __glXDispSwap_GetHistogramParameterivEXT}, + /* [ 1] = 1 */ {__glXDisp_GetConvolutionFilterEXT, __glXDispSwap_GetConvolutionFilterEXT}, + /* [ 2] = 2 */ {__glXDisp_GetConvolutionParameterfvEXT, __glXDispSwap_GetConvolutionParameterfvEXT}, + /* [ 3] = 3 */ {__glXDisp_GetConvolutionParameterivEXT, __glXDispSwap_GetConvolutionParameterivEXT}, + /* [ 4] = 4 */ {__glXDisp_GetSeparableFilterEXT, __glXDispSwap_GetSeparableFilterEXT}, + /* [ 5] = 5 */ {__glXDisp_GetHistogramEXT, __glXDispSwap_GetHistogramEXT}, + /* [ 6] = 6 */ {__glXDisp_GetHistogramParameterfvEXT, __glXDispSwap_GetHistogramParameterfvEXT}, + /* [ 7] = 7 */ {__glXDisp_GetHistogramParameterivEXT, __glXDispSwap_GetHistogramParameterivEXT}, /* [ 8] = 8 */ {__glXDisp_GetMinmaxEXT, __glXDispSwap_GetMinmaxEXT}, - /* [ 9] = 9 */ {__glXDisp_GetMinmaxParameterfvEXT, - __glXDispSwap_GetMinmaxParameterfvEXT}, - /* [ 10] = 10 */ {__glXDisp_GetMinmaxParameterivEXT, - __glXDispSwap_GetMinmaxParameterivEXT}, - /* [ 11] = 11 */ {__glXDisp_AreTexturesResidentEXT, - __glXDispSwap_AreTexturesResidentEXT}, - /* [ 12] = 12 */ {__glXDisp_DeleteTexturesEXT, - __glXDispSwap_DeleteTexturesEXT}, - /* [ 13] = 13 */ {__glXDisp_GenTexturesEXT, - __glXDispSwap_GenTexturesEXT}, + /* [ 9] = 9 */ {__glXDisp_GetMinmaxParameterfvEXT, __glXDispSwap_GetMinmaxParameterfvEXT}, + /* [ 10] = 10 */ {__glXDisp_GetMinmaxParameterivEXT, __glXDispSwap_GetMinmaxParameterivEXT}, + /* [ 11] = 11 */ {__glXDisp_AreTexturesResidentEXT, __glXDispSwap_AreTexturesResidentEXT}, + /* [ 12] = 12 */ {__glXDisp_DeleteTexturesEXT, __glXDispSwap_DeleteTexturesEXT}, + /* [ 13] = 13 */ {__glXDisp_GenTexturesEXT, __glXDispSwap_GenTexturesEXT}, /* [ 14] = 14 */ {__glXDisp_IsTextureEXT, __glXDispSwap_IsTextureEXT}, /* [ 15] = 15 */ {NULL, NULL}, - /* [ 16] = 1024 */ {__glXDisp_QueryContextInfoEXT, - __glXDispSwap_QueryContextInfoEXT}, + /* [ 16] = 1024 */ {__glXDisp_QueryContextInfoEXT, __glXDispSwap_QueryContextInfoEXT}, /* [ 17] = 1025 */ {NULL, NULL}, /* [ 18] = 1026 */ {NULL, NULL}, /* [ 19] = 1027 */ {NULL, NULL}, @@ -1707,52 +1518,34 @@ static const void *VendorPriv_function_table[104][2] = { /* [ 21] = 1029 */ {NULL, NULL}, /* [ 22] = 1030 */ {NULL, NULL}, /* [ 23] = 1031 */ {NULL, NULL}, - /* [ 24] = 1296 */ {__glXDisp_GetProgramEnvParameterfvARB, - __glXDispSwap_GetProgramEnvParameterfvARB}, - /* [ 25] = 1297 */ {__glXDisp_GetProgramEnvParameterdvARB, - __glXDispSwap_GetProgramEnvParameterdvARB}, - /* [ 26] = 1298 */ {__glXDisp_GetProgramivNV, - __glXDispSwap_GetProgramivNV}, - /* [ 27] = 1299 */ {__glXDisp_GetProgramStringNV, - __glXDispSwap_GetProgramStringNV}, - /* [ 28] = 1300 */ {__glXDisp_GetTrackMatrixivNV, - __glXDispSwap_GetTrackMatrixivNV}, - /* [ 29] = 1301 */ {__glXDisp_GetVertexAttribdvARB, - __glXDispSwap_GetVertexAttribdvARB}, - /* [ 30] = 1302 */ {__glXDisp_GetVertexAttribfvARB, - __glXDispSwap_GetVertexAttribfvARB}, - /* [ 31] = 1303 */ {__glXDisp_GetVertexAttribivNV, - __glXDispSwap_GetVertexAttribivNV}, - /* [ 32] = 1304 */ {__glXDisp_IsProgramNV, __glXDispSwap_IsProgramNV}, - /* [ 33] = 1305 */ {__glXDisp_GetProgramLocalParameterfvARB, - __glXDispSwap_GetProgramLocalParameterfvARB}, - /* [ 34] = 1306 */ {__glXDisp_GetProgramLocalParameterdvARB, - __glXDispSwap_GetProgramLocalParameterdvARB}, - /* [ 35] = 1307 */ {__glXDisp_GetProgramivARB, - __glXDispSwap_GetProgramivARB}, - /* [ 36] = 1308 */ {__glXDisp_GetProgramStringARB, - __glXDispSwap_GetProgramStringARB}, + /* [ 24] = 1296 */ {__glXDisp_GetProgramEnvParameterfvARB, __glXDispSwap_GetProgramEnvParameterfvARB}, + /* [ 25] = 1297 */ {__glXDisp_GetProgramParameterdvNV, __glXDispSwap_GetProgramParameterdvNV}, + /* [ 26] = 1298 */ {__glXDisp_GetProgramivNV, __glXDispSwap_GetProgramivNV}, + /* [ 27] = 1299 */ {__glXDisp_GetProgramStringNV, __glXDispSwap_GetProgramStringNV}, + /* [ 28] = 1300 */ {__glXDisp_GetTrackMatrixivNV, __glXDispSwap_GetTrackMatrixivNV}, + /* [ 29] = 1301 */ {__glXDisp_GetVertexAttribdv, __glXDispSwap_GetVertexAttribdv}, + /* [ 30] = 1302 */ {__glXDisp_GetVertexAttribfvNV, __glXDispSwap_GetVertexAttribfvNV}, + /* [ 31] = 1303 */ {__glXDisp_GetVertexAttribivNV, __glXDispSwap_GetVertexAttribivNV}, + /* [ 32] = 1304 */ {__glXDisp_IsProgramARB, __glXDispSwap_IsProgramARB}, + /* [ 33] = 1305 */ {__glXDisp_GetProgramLocalParameterfvARB, __glXDispSwap_GetProgramLocalParameterfvARB}, + /* [ 34] = 1306 */ {__glXDisp_GetProgramLocalParameterdvARB, __glXDispSwap_GetProgramLocalParameterdvARB}, + /* [ 35] = 1307 */ {__glXDisp_GetProgramivARB, __glXDispSwap_GetProgramivARB}, + /* [ 36] = 1308 */ {__glXDisp_GetProgramStringARB, __glXDispSwap_GetProgramStringARB}, /* [ 37] = 1309 */ {NULL, NULL}, - /* [ 38] = 1310 */ {__glXDisp_GetProgramNamedParameterfvNV, - __glXDispSwap_GetProgramNamedParameterfvNV}, - /* [ 39] = 1311 */ {__glXDisp_GetProgramNamedParameterdvNV, - __glXDispSwap_GetProgramNamedParameterdvNV}, + /* [ 38] = 1310 */ {__glXDisp_GetProgramNamedParameterfvNV, __glXDispSwap_GetProgramNamedParameterfvNV}, + /* [ 39] = 1311 */ {__glXDisp_GetProgramNamedParameterdvNV, __glXDispSwap_GetProgramNamedParameterdvNV}, /* [ 40] = 1288 */ {NULL, NULL}, /* [ 41] = 1289 */ {NULL, NULL}, /* [ 42] = 1290 */ {NULL, NULL}, /* [ 43] = 1291 */ {NULL, NULL}, /* [ 44] = 1292 */ {NULL, NULL}, - /* [ 45] = 1293 */ {__glXDisp_AreProgramsResidentNV, - __glXDispSwap_AreProgramsResidentNV}, - /* [ 46] = 1294 */ {__glXDisp_DeleteProgramsNV, - __glXDispSwap_DeleteProgramsNV}, - /* [ 47] = 1295 */ {__glXDisp_GenProgramsNV, __glXDispSwap_GenProgramsNV}, + /* [ 45] = 1293 */ {__glXDisp_AreProgramsResidentNV, __glXDispSwap_AreProgramsResidentNV}, + /* [ 46] = 1294 */ {__glXDisp_DeleteProgramsARB, __glXDispSwap_DeleteProgramsARB}, + /* [ 47] = 1295 */ {__glXDisp_GenProgramsARB, __glXDispSwap_GenProgramsARB}, /* [ 48] = 1328 */ {NULL, NULL}, /* [ 49] = 1329 */ {NULL, NULL}, - /* [ 50] = 1330 */ {__glXDisp_BindTexImageEXT, - __glXDispSwap_BindTexImageEXT}, - /* [ 51] = 1331 */ {__glXDisp_ReleaseTexImageEXT, - __glXDispSwap_ReleaseTexImageEXT}, + /* [ 50] = 1330 */ {__glXDisp_BindTexImageEXT, __glXDispSwap_BindTexImageEXT}, + /* [ 51] = 1331 */ {__glXDisp_ReleaseTexImageEXT, __glXDispSwap_ReleaseTexImageEXT}, /* [ 52] = 1332 */ {NULL, NULL}, /* [ 53] = 1333 */ {NULL, NULL}, /* [ 54] = 1334 */ {NULL, NULL}, @@ -1763,63 +1556,43 @@ static const void *VendorPriv_function_table[104][2] = { /* [ 59] = 1419 */ {NULL, NULL}, /* [ 60] = 1420 */ {NULL, NULL}, /* [ 61] = 1421 */ {NULL, NULL}, - /* [ 62] = 1422 */ {__glXDisp_IsRenderbufferEXT, - __glXDispSwap_IsRenderbufferEXT}, - /* [ 63] = 1423 */ {__glXDisp_GenRenderbuffersEXT, - __glXDispSwap_GenRenderbuffersEXT}, - /* [ 64] = 1424 */ {__glXDisp_GetRenderbufferParameterivEXT, - __glXDispSwap_GetRenderbufferParameterivEXT}, - /* [ 65] = 1425 */ {__glXDisp_IsFramebufferEXT, - __glXDispSwap_IsFramebufferEXT}, - /* [ 66] = 1426 */ {__glXDisp_GenFramebuffersEXT, - __glXDispSwap_GenFramebuffersEXT}, - /* [ 67] = 1427 */ {__glXDisp_CheckFramebufferStatusEXT, - __glXDispSwap_CheckFramebufferStatusEXT}, - /* [ 68] = 1428 */ {__glXDisp_GetFramebufferAttachmentParameterivEXT, - __glXDispSwap_GetFramebufferAttachmentParameterivEXT}, + /* [ 62] = 1422 */ {__glXDisp_IsRenderbuffer, __glXDispSwap_IsRenderbuffer}, + /* [ 63] = 1423 */ {__glXDisp_GenRenderbuffers, __glXDispSwap_GenRenderbuffers}, + /* [ 64] = 1424 */ {__glXDisp_GetRenderbufferParameteriv, __glXDispSwap_GetRenderbufferParameteriv}, + /* [ 65] = 1425 */ {__glXDisp_IsFramebuffer, __glXDispSwap_IsFramebuffer}, + /* [ 66] = 1426 */ {__glXDisp_GenFramebuffers, __glXDispSwap_GenFramebuffers}, + /* [ 67] = 1427 */ {__glXDisp_CheckFramebufferStatus, __glXDispSwap_CheckFramebufferStatus}, + /* [ 68] = 1428 */ {__glXDisp_GetFramebufferAttachmentParameteriv, __glXDispSwap_GetFramebufferAttachmentParameteriv}, /* [ 69] = 1429 */ {NULL, NULL}, /* [ 70] = 1430 */ {NULL, NULL}, /* [ 71] = 1431 */ {NULL, NULL}, /* [ 72] = 4096 */ {NULL, NULL}, /* [ 73] = 4097 */ {NULL, NULL}, - /* [ 74] = 4098 */ {__glXDisp_GetColorTableSGI, - __glXDispSwap_GetColorTableSGI}, - /* [ 75] = 4099 */ {__glXDisp_GetColorTableParameterfvSGI, - __glXDispSwap_GetColorTableParameterfvSGI}, - /* [ 76] = 4100 */ {__glXDisp_GetColorTableParameterivSGI, - __glXDispSwap_GetColorTableParameterivSGI}, + /* [ 74] = 4098 */ {__glXDisp_GetColorTableSGI, __glXDispSwap_GetColorTableSGI}, + /* [ 75] = 4099 */ {__glXDisp_GetColorTableParameterfvSGI, __glXDispSwap_GetColorTableParameterfvSGI}, + /* [ 76] = 4100 */ {__glXDisp_GetColorTableParameterivSGI, __glXDispSwap_GetColorTableParameterivSGI}, /* [ 77] = 4101 */ {NULL, NULL}, /* [ 78] = 4102 */ {NULL, NULL}, /* [ 79] = 4103 */ {NULL, NULL}, /* [ 80] = 5152 */ {NULL, NULL}, /* [ 81] = 5153 */ {NULL, NULL}, - /* [ 82] = 5154 */ {__glXDisp_CopySubBufferMESA, - __glXDispSwap_CopySubBufferMESA}, + /* [ 82] = 5154 */ {__glXDisp_CopySubBufferMESA, __glXDispSwap_CopySubBufferMESA}, /* [ 83] = 5155 */ {NULL, NULL}, /* [ 84] = 5156 */ {NULL, NULL}, /* [ 85] = 5157 */ {NULL, NULL}, /* [ 86] = 5158 */ {NULL, NULL}, /* [ 87] = 5159 */ {NULL, NULL}, - /* [ 88] = 65536 */ {__glXDisp_SwapIntervalSGI, - __glXDispSwap_SwapIntervalSGI}, - /* [ 89] = 65537 */ {__glXDisp_MakeCurrentReadSGI, - __glXDispSwap_MakeCurrentReadSGI}, + /* [ 88] = 65536 */ {__glXDisp_SwapIntervalSGI, __glXDispSwap_SwapIntervalSGI}, + /* [ 89] = 65537 */ {__glXDisp_MakeCurrentReadSGI, __glXDispSwap_MakeCurrentReadSGI}, /* [ 90] = 65538 */ {NULL, NULL}, /* [ 91] = 65539 */ {NULL, NULL}, - /* [ 92] = 65540 */ {__glXDisp_GetFBConfigsSGIX, - __glXDispSwap_GetFBConfigsSGIX}, - /* [ 93] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX, - __glXDispSwap_CreateContextWithConfigSGIX}, - /* [ 94] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX, - __glXDispSwap_CreateGLXPixmapWithConfigSGIX}, - /* [ 95] = 65543 */ {__glXDisp_CreateGLXPbufferSGIX, - __glXDispSwap_CreateGLXPbufferSGIX}, - /* [ 96] = 65544 */ {__glXDisp_DestroyGLXPbufferSGIX, - __glXDispSwap_DestroyGLXPbufferSGIX}, - /* [ 97] = 65545 */ {__glXDisp_ChangeDrawableAttributesSGIX, - __glXDispSwap_ChangeDrawableAttributesSGIX}, - /* [ 98] = 65546 */ {__glXDisp_GetDrawableAttributesSGIX, - __glXDispSwap_GetDrawableAttributesSGIX}, + /* [ 92] = 65540 */ {__glXDisp_GetFBConfigsSGIX, __glXDispSwap_GetFBConfigsSGIX}, + /* [ 93] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX, __glXDispSwap_CreateContextWithConfigSGIX}, + /* [ 94] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX, __glXDispSwap_CreateGLXPixmapWithConfigSGIX}, + /* [ 95] = 65543 */ {__glXDisp_CreateGLXPbufferSGIX, __glXDispSwap_CreateGLXPbufferSGIX}, + /* [ 96] = 65544 */ {__glXDisp_DestroyGLXPbufferSGIX, __glXDispSwap_DestroyGLXPbufferSGIX}, + /* [ 97] = 65545 */ {__glXDisp_ChangeDrawableAttributesSGIX, __glXDispSwap_ChangeDrawableAttributesSGIX}, + /* [ 98] = 65546 */ {__glXDisp_GetDrawableAttributesSGIX, __glXDispSwap_GetDrawableAttributesSGIX}, /* [ 99] = 65547 */ {NULL, NULL}, /* [ 100] = 65548 */ {NULL, NULL}, /* [ 101] = 65549 */ {NULL, NULL}, @@ -1834,3 +1607,4 @@ const struct __glXDispatchInfo VendorPriv_dispatch_info = { NULL, NULL }; + diff --git a/xorg-server/glx/indirect_texture_compression.c b/xorg-server/glx/indirect_texture_compression.c index 5c2d06b42..a1a946e5c 100644 --- a/xorg-server/glx/indirect_texture_compression.c +++ b/xorg-server/glx/indirect_texture_compression.c @@ -26,6 +26,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxbyteorder.h" @@ -34,13 +35,14 @@ #include "unpack.h" #include "indirect_size_get.h" #include "indirect_dispatch.h" +#include "GL/gl.h" #include "glapitable.h" #include "glapi.h" #include "glthread.h" #include "dispatch.h" int -__glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte * pc) +__glXDisp_GetCompressedTexImage(struct __GLXclientStateRec *cl, GLbyte * pc) { xGLXSingleReq *const req = (xGLXSingleReq *) pc; int error; @@ -62,7 +64,7 @@ __glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte * pc) if (compsize != 0) { __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1); __glXClearErrorOccured(); - CALL_GetCompressedTexImageARB(GET_DISPATCH(), + CALL_GetCompressedTexImage(GET_DISPATCH(), (target, level, answer)); } @@ -84,7 +86,7 @@ __glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte * pc) } int -__glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, +__glXDispSwap_GetCompressedTexImage(struct __GLXclientStateRec *cl, GLbyte * pc) { xGLXSingleReq *const req = (xGLXSingleReq *) pc; @@ -108,7 +110,7 @@ __glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, if (compsize != 0) { __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1); __glXClearErrorOccured(); - CALL_GetCompressedTexImageARB(GET_DISPATCH(), + CALL_GetCompressedTexImage(GET_DISPATCH(), (target, level, answer)); } diff --git a/xorg-server/glx/indirect_util.c b/xorg-server/glx/indirect_util.c index a30b1f880..8ab5afb16 100644 --- a/xorg-server/glx/indirect_util.c +++ b/xorg-server/glx/indirect_util.c @@ -26,6 +26,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <string.h> diff --git a/xorg-server/glx/makefile b/xorg-server/glx/makefile new file mode 100644 index 000000000..89aa37658 --- /dev/null +++ b/xorg-server/glx/makefile @@ -0,0 +1,45 @@ +LIBRARY=libglx
+
+DEFINES += GLAPIENTRY=__stdcall _GLAPI_NO_EXPORTS
+
+
+glapi_sources = \
+ indirect_dispatch.c \
+ indirect_dispatch_swap.c \
+ indirect_reqsize.c \
+ indirect_size_get.c \
+ indirect_table.c \
+ glapi.c \
+ glthread.c \
+
+
+CSRCS = \
+ $(indirect_sources) \
+ $(glapi_sources) \
+ clientinfo.c \
+ createcontext.c \
+ extension_string.c \
+ indirect_util.c \
+ indirect_program.c \
+ indirect_texture_compression.c \
+ glxcmds.c \
+ glxcmdsswap.c \
+ glxext.c \
+ glxdriswrast.c \
+ glxdricommon.c \
+ glxscreens.c \
+ render2.c \
+ render2swap.c \
+ renderpix.c \
+ renderpixswap.c \
+ rensize.c \
+ single2.c \
+ single2swap.c \
+ singlepix.c \
+ singlepixswap.c \
+ singlesize.c \
+ swap_interval.c \
+ xfont.c
+
+INCLUDES := $(MHMAKECONF)\mesalib\include $(INCLUDES)
+
diff --git a/xorg-server/glx/render2.c b/xorg-server/glx/render2.c index 8cf74a691..01e33d5c9 100644 --- a/xorg-server/glx/render2.c +++ b/xorg-server/glx/render2.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <glxserver.h> #include "unpack.h" @@ -242,12 +243,12 @@ __glXDisp_DrawArrays(GLbyte * pc) break; case GL_SECONDARY_COLOR_ARRAY: CALL_EnableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY)); - CALL_SecondaryColorPointerEXT(GET_DISPATCH(), + CALL_SecondaryColorPointer(GET_DISPATCH(), (numVals, datatype, stride, pc)); break; case GL_FOG_COORD_ARRAY: CALL_EnableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY)); - CALL_FogCoordPointerEXT(GET_DISPATCH(), (datatype, stride, pc)); + CALL_FogCoordPointer(GET_DISPATCH(), (datatype, stride, pc)); break; default: break; diff --git a/xorg-server/glx/render2swap.c b/xorg-server/glx/render2swap.c index 8b5d9daff..435fa26ad 100644 --- a/xorg-server/glx/render2swap.c +++ b/xorg-server/glx/render2swap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "unpack.h" @@ -364,12 +365,12 @@ __glXDispSwap_DrawArrays(GLbyte * pc) break; case GL_SECONDARY_COLOR_ARRAY: CALL_EnableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY)); - CALL_SecondaryColorPointerEXT(GET_DISPATCH(), + CALL_SecondaryColorPointer(GET_DISPATCH(), (numVals, datatype, stride, pc)); break; case GL_FOG_COORD_ARRAY: CALL_EnableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY)); - CALL_FogCoordPointerEXT(GET_DISPATCH(), (datatype, stride, pc)); + CALL_FogCoordPointer(GET_DISPATCH(), (datatype, stride, pc)); break; default: break; diff --git a/xorg-server/glx/renderpix.c b/xorg-server/glx/renderpix.c index 6fccde61f..97c5b9c7f 100644 --- a/xorg-server/glx/renderpix.c +++ b/xorg-server/glx/renderpix.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "unpack.h" diff --git a/xorg-server/glx/renderpixswap.c b/xorg-server/glx/renderpixswap.c index 24423cdef..79392409b 100644 --- a/xorg-server/glx/renderpixswap.c +++ b/xorg-server/glx/renderpixswap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "unpack.h" diff --git a/xorg-server/glx/rensize.c b/xorg-server/glx/rensize.c index bcc3a53ad..38a7bf0ec 100644 --- a/xorg-server/glx/rensize.c +++ b/xorg-server/glx/rensize.c @@ -30,6 +30,10 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> +#else + +#include "glheader.h" + #endif #include <GL/gl.h> @@ -226,12 +230,14 @@ __glXImageSize(GLenum format, GLenum type, GLenum target, case GL_INTENSITY: elementsPerGroup = 1; break; + case GL_RG: case GL_422_EXT: case GL_422_REV_EXT: case GL_422_AVERAGE_EXT: case GL_422_REV_AVERAGE_EXT: case GL_DEPTH_STENCIL_NV: case GL_DEPTH_STENCIL_MESA: + case GL_YCBCR_422_APPLE: case GL_YCBCR_MESA: case GL_LUMINANCE_ALPHA: elementsPerGroup = 2; diff --git a/xorg-server/glx/single2.c b/xorg-server/glx/single2.c index 9597d29fe..4bf65ed93 100644 --- a/xorg-server/glx/single2.c +++ b/xorg-server/glx/single2.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <string.h> #include <stdio.h> @@ -193,14 +194,12 @@ __glXDisp_RenderMode(__GLXclientState * cl, GLbyte * pc) */ noChangeAllowed:; client = cl->client; - reply = (xGLXRenderModeReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = nitems, - .retval = retval, - .size = nitems, - .newMode = newMode - }; + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = nitems; + reply.retval = retval; + reply.size = nitems; + reply.newMode = newMode; WriteToClient(client, sz_xGLXRenderModeReply, &reply); if (retBytes) { WriteToClient(client, retBytes, retBuffer); diff --git a/xorg-server/glx/single2swap.c b/xorg-server/glx/single2swap.c index 1ca532836..47ff3e4c7 100644 --- a/xorg-server/glx/single2swap.c +++ b/xorg-server/glx/single2swap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxutil.h" @@ -205,14 +206,12 @@ __glXDispSwap_RenderMode(__GLXclientState * cl, GLbyte * pc) */ noChangeAllowed:; client = cl->client; - reply = (xGLXRenderModeReply) { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = nitems, - .retval = retval, - .size = nitems, - .newMode = newMode - }; + reply.type = X_Reply; + reply.sequenceNumber = client->sequence; + reply.length = nitems; + reply.retval = retval; + reply.size = nitems; + reply.newMode = newMode; __GLX_SWAP_SHORT(&reply.sequenceNumber); __GLX_SWAP_INT(&reply.length); __GLX_SWAP_INT(&reply.retval); diff --git a/xorg-server/glx/singlepix.c b/xorg-server/glx/singlepix.c index fb6868d2d..10fd651df 100644 --- a/xorg-server/glx/singlepix.c +++ b/xorg-server/glx/singlepix.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxext.h" diff --git a/xorg-server/glx/singlepixswap.c b/xorg-server/glx/singlepixswap.c index c777cea00..7e20ed6bb 100644 --- a/xorg-server/glx/singlepixswap.c +++ b/xorg-server/glx/singlepixswap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxext.h" diff --git a/xorg-server/glx/singlesize.c b/xorg-server/glx/singlesize.c index 777ebb35e..5cfac92f8 100644 --- a/xorg-server/glx/singlesize.c +++ b/xorg-server/glx/singlesize.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include <GL/gl.h> #include "glxserver.h" diff --git a/xorg-server/glx/swap_interval.c b/xorg-server/glx/swap_interval.c index 7533d2642..4eb97a535 100644 --- a/xorg-server/glx/swap_interval.c +++ b/xorg-server/glx/swap_interval.c @@ -25,6 +25,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxutil.h" diff --git a/xorg-server/glx/xfont.c b/xorg-server/glx/xfont.c index b203866d9..5a7a8bfcd 100644 --- a/xorg-server/glx/xfont.c +++ b/xorg-server/glx/xfont.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "glxutil.h" |