/* 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_ typedef PROC _glapi_proc; /** * \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_GetBufferParameteri64v 438 #define _gloffset_GetInteger64i_v 439 #define _gloffset_LoadTransposeMatrixdARB 441 #define _gloffset_LoadTransposeMatrixfARB 442 #define _gloffset_MultTransposeMatrixdARB 443 #define _gloffset_MultTransposeMatrixfARB 444 #define _gloffset_SampleCoverageARB 445 #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_AttachObjectARB 529 #define _gloffset_DeleteObjectARB 533 #define _gloffset_DetachObjectARB 534 #define _gloffset_GetAttachedObjectsARB 536 #define _gloffset_GetHandleARB 537 #define _gloffset_GetInfoLogARB 538 #define _gloffset_GetObjectParameterfvARB 539 #define _gloffset_GetObjectParameterivARB 540 #define _gloffset_GetActiveAttribARB 569 #define _gloffset_FlushMappedBufferRange 580 #define _gloffset_MapBufferRange 581 #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_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_FogCoordPointerEXT 729 #define _gloffset_FogCoorddEXT 730 #define _gloffset_FogCoorddvEXT 731 #define _gloffset_FogCoordfEXT 732 #define _gloffset_FogCoordfvEXT 733 #define _gloffset_PixelTexGenSGIX 734 #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_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_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_PointParameteriNV 863 #define _gloffset_PointParameterivNV 864 #define _gloffset_ActiveStencilFaceEXT 865 #define _gloffset_DepthBoundsEXT 878 #define _gloffset_BufferParameteriAPPLE 898 #define _gloffset_FlushMappedBufferRangeAPPLE 899 #define _gloffset_BindFragDataLocationEXT 900 #define _gloffset_GetFragDataLocationEXT 901 #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_GetTexParameterPointervAPPLE 957 #define _gloffset_TextureRangeAPPLE 958 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_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_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_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_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_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_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 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_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_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_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_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_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 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_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_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_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_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_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); } #endif /* !defined( _DISPATCH_H_ ) */