| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 1 | /* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */ |
| 2 | |
| 3 | /* |
| 4 | * (C) Copyright IBM Corporation 2005 |
| 5 | * All Rights Reserved. |
| 6 | * |
| 7 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 8 | * copy of this software and associated documentation files (the "Software"), |
| 9 | * to deal in the Software without restriction, including without limitation |
| 10 | * the rights to use, copy, modify, merge, publish, distribute, sub license, |
| 11 | * and/or sell copies of the Software, and to permit persons to whom the |
| 12 | * Software is furnished to do so, subject to the following conditions: |
| 13 | * |
| 14 | * The above copyright notice and this permission notice (including the next |
| 15 | * paragraph) shall be included in all copies or substantial portions of the |
| 16 | * Software. |
| 17 | * |
| 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 19 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 | * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
| 21 | * IBM, |
| 22 | * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 23 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF |
| 24 | * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 25 | * SOFTWARE. |
| 26 | */ |
| 27 | |
| 28 | #if !defined( _GLAPI_DISPATCH_H_ ) |
| 29 | # define _GLAPI_DISPATCH_H_ |
| 30 | |
| 31 | |
| Chia-I Wu | 6e99e6d | 2009-10-16 16:04:06 +0800 | [diff] [blame] | 32 | /* this file should not be included directly in mesa */ |
| 33 | |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 34 | /** |
| 35 | * \file glapidispatch.h |
| 36 | * Macros for handling GL dispatch tables. |
| 37 | * |
| 38 | * For each known GL function, there are 3 macros in this file. The first |
| 39 | * macro is named CALL_FuncName and is used to call that GL function using |
| 40 | * the specified dispatch table. The other 2 macros, called GET_FuncName |
| 41 | * can SET_FuncName, are used to get and set the dispatch pointer for the |
| 42 | * named function in the specified dispatch table. |
| 43 | */ |
| 44 | |
| 45 | #define CALL_by_offset(disp, cast, offset, parameters) \ |
| 46 | (*(cast (GET_by_offset(disp, offset)))) parameters |
| 47 | #define GET_by_offset(disp, offset) \ |
| 48 | (offset >= 0) ? (((_glapi_proc *)(disp))[offset]) : NULL |
| 49 | #define SET_by_offset(disp, offset, fn) \ |
| 50 | do { \ |
| 51 | if ( (offset) < 0 ) { \ |
| 52 | /* fprintf( stderr, "[%s:%u] SET_by_offset(%p, %d, %s)!\n", */ \ |
| 53 | /* __func__, __LINE__, disp, offset, # fn); */ \ |
| 54 | /* abort(); */ \ |
| 55 | } \ |
| 56 | else { \ |
| 57 | ( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \ |
| 58 | } \ |
| 59 | } while(0) |
| 60 | |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 61 | /* total number of offsets below */ |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 62 | #define _gloffset_COUNT 929 |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 63 | |
| 64 | #define _gloffset_NewList 0 |
| 65 | #define _gloffset_EndList 1 |
| 66 | #define _gloffset_CallList 2 |
| 67 | #define _gloffset_CallLists 3 |
| 68 | #define _gloffset_DeleteLists 4 |
| 69 | #define _gloffset_GenLists 5 |
| 70 | #define _gloffset_ListBase 6 |
| 71 | #define _gloffset_Begin 7 |
| 72 | #define _gloffset_Bitmap 8 |
| 73 | #define _gloffset_Color3b 9 |
| 74 | #define _gloffset_Color3bv 10 |
| 75 | #define _gloffset_Color3d 11 |
| 76 | #define _gloffset_Color3dv 12 |
| 77 | #define _gloffset_Color3f 13 |
| 78 | #define _gloffset_Color3fv 14 |
| 79 | #define _gloffset_Color3i 15 |
| 80 | #define _gloffset_Color3iv 16 |
| 81 | #define _gloffset_Color3s 17 |
| 82 | #define _gloffset_Color3sv 18 |
| 83 | #define _gloffset_Color3ub 19 |
| 84 | #define _gloffset_Color3ubv 20 |
| 85 | #define _gloffset_Color3ui 21 |
| 86 | #define _gloffset_Color3uiv 22 |
| 87 | #define _gloffset_Color3us 23 |
| 88 | #define _gloffset_Color3usv 24 |
| 89 | #define _gloffset_Color4b 25 |
| 90 | #define _gloffset_Color4bv 26 |
| 91 | #define _gloffset_Color4d 27 |
| 92 | #define _gloffset_Color4dv 28 |
| 93 | #define _gloffset_Color4f 29 |
| 94 | #define _gloffset_Color4fv 30 |
| 95 | #define _gloffset_Color4i 31 |
| 96 | #define _gloffset_Color4iv 32 |
| 97 | #define _gloffset_Color4s 33 |
| 98 | #define _gloffset_Color4sv 34 |
| 99 | #define _gloffset_Color4ub 35 |
| 100 | #define _gloffset_Color4ubv 36 |
| 101 | #define _gloffset_Color4ui 37 |
| 102 | #define _gloffset_Color4uiv 38 |
| 103 | #define _gloffset_Color4us 39 |
| 104 | #define _gloffset_Color4usv 40 |
| 105 | #define _gloffset_EdgeFlag 41 |
| 106 | #define _gloffset_EdgeFlagv 42 |
| 107 | #define _gloffset_End 43 |
| 108 | #define _gloffset_Indexd 44 |
| 109 | #define _gloffset_Indexdv 45 |
| 110 | #define _gloffset_Indexf 46 |
| 111 | #define _gloffset_Indexfv 47 |
| 112 | #define _gloffset_Indexi 48 |
| 113 | #define _gloffset_Indexiv 49 |
| 114 | #define _gloffset_Indexs 50 |
| 115 | #define _gloffset_Indexsv 51 |
| 116 | #define _gloffset_Normal3b 52 |
| 117 | #define _gloffset_Normal3bv 53 |
| 118 | #define _gloffset_Normal3d 54 |
| 119 | #define _gloffset_Normal3dv 55 |
| 120 | #define _gloffset_Normal3f 56 |
| 121 | #define _gloffset_Normal3fv 57 |
| 122 | #define _gloffset_Normal3i 58 |
| 123 | #define _gloffset_Normal3iv 59 |
| 124 | #define _gloffset_Normal3s 60 |
| 125 | #define _gloffset_Normal3sv 61 |
| 126 | #define _gloffset_RasterPos2d 62 |
| 127 | #define _gloffset_RasterPos2dv 63 |
| 128 | #define _gloffset_RasterPos2f 64 |
| 129 | #define _gloffset_RasterPos2fv 65 |
| 130 | #define _gloffset_RasterPos2i 66 |
| 131 | #define _gloffset_RasterPos2iv 67 |
| 132 | #define _gloffset_RasterPos2s 68 |
| 133 | #define _gloffset_RasterPos2sv 69 |
| 134 | #define _gloffset_RasterPos3d 70 |
| 135 | #define _gloffset_RasterPos3dv 71 |
| 136 | #define _gloffset_RasterPos3f 72 |
| 137 | #define _gloffset_RasterPos3fv 73 |
| 138 | #define _gloffset_RasterPos3i 74 |
| 139 | #define _gloffset_RasterPos3iv 75 |
| 140 | #define _gloffset_RasterPos3s 76 |
| 141 | #define _gloffset_RasterPos3sv 77 |
| 142 | #define _gloffset_RasterPos4d 78 |
| 143 | #define _gloffset_RasterPos4dv 79 |
| 144 | #define _gloffset_RasterPos4f 80 |
| 145 | #define _gloffset_RasterPos4fv 81 |
| 146 | #define _gloffset_RasterPos4i 82 |
| 147 | #define _gloffset_RasterPos4iv 83 |
| 148 | #define _gloffset_RasterPos4s 84 |
| 149 | #define _gloffset_RasterPos4sv 85 |
| 150 | #define _gloffset_Rectd 86 |
| 151 | #define _gloffset_Rectdv 87 |
| 152 | #define _gloffset_Rectf 88 |
| 153 | #define _gloffset_Rectfv 89 |
| 154 | #define _gloffset_Recti 90 |
| 155 | #define _gloffset_Rectiv 91 |
| 156 | #define _gloffset_Rects 92 |
| 157 | #define _gloffset_Rectsv 93 |
| 158 | #define _gloffset_TexCoord1d 94 |
| 159 | #define _gloffset_TexCoord1dv 95 |
| 160 | #define _gloffset_TexCoord1f 96 |
| 161 | #define _gloffset_TexCoord1fv 97 |
| 162 | #define _gloffset_TexCoord1i 98 |
| 163 | #define _gloffset_TexCoord1iv 99 |
| 164 | #define _gloffset_TexCoord1s 100 |
| 165 | #define _gloffset_TexCoord1sv 101 |
| 166 | #define _gloffset_TexCoord2d 102 |
| 167 | #define _gloffset_TexCoord2dv 103 |
| 168 | #define _gloffset_TexCoord2f 104 |
| 169 | #define _gloffset_TexCoord2fv 105 |
| 170 | #define _gloffset_TexCoord2i 106 |
| 171 | #define _gloffset_TexCoord2iv 107 |
| 172 | #define _gloffset_TexCoord2s 108 |
| 173 | #define _gloffset_TexCoord2sv 109 |
| 174 | #define _gloffset_TexCoord3d 110 |
| 175 | #define _gloffset_TexCoord3dv 111 |
| 176 | #define _gloffset_TexCoord3f 112 |
| 177 | #define _gloffset_TexCoord3fv 113 |
| 178 | #define _gloffset_TexCoord3i 114 |
| 179 | #define _gloffset_TexCoord3iv 115 |
| 180 | #define _gloffset_TexCoord3s 116 |
| 181 | #define _gloffset_TexCoord3sv 117 |
| 182 | #define _gloffset_TexCoord4d 118 |
| 183 | #define _gloffset_TexCoord4dv 119 |
| 184 | #define _gloffset_TexCoord4f 120 |
| 185 | #define _gloffset_TexCoord4fv 121 |
| 186 | #define _gloffset_TexCoord4i 122 |
| 187 | #define _gloffset_TexCoord4iv 123 |
| 188 | #define _gloffset_TexCoord4s 124 |
| 189 | #define _gloffset_TexCoord4sv 125 |
| 190 | #define _gloffset_Vertex2d 126 |
| 191 | #define _gloffset_Vertex2dv 127 |
| 192 | #define _gloffset_Vertex2f 128 |
| 193 | #define _gloffset_Vertex2fv 129 |
| 194 | #define _gloffset_Vertex2i 130 |
| 195 | #define _gloffset_Vertex2iv 131 |
| 196 | #define _gloffset_Vertex2s 132 |
| 197 | #define _gloffset_Vertex2sv 133 |
| 198 | #define _gloffset_Vertex3d 134 |
| 199 | #define _gloffset_Vertex3dv 135 |
| 200 | #define _gloffset_Vertex3f 136 |
| 201 | #define _gloffset_Vertex3fv 137 |
| 202 | #define _gloffset_Vertex3i 138 |
| 203 | #define _gloffset_Vertex3iv 139 |
| 204 | #define _gloffset_Vertex3s 140 |
| 205 | #define _gloffset_Vertex3sv 141 |
| 206 | #define _gloffset_Vertex4d 142 |
| 207 | #define _gloffset_Vertex4dv 143 |
| 208 | #define _gloffset_Vertex4f 144 |
| 209 | #define _gloffset_Vertex4fv 145 |
| 210 | #define _gloffset_Vertex4i 146 |
| 211 | #define _gloffset_Vertex4iv 147 |
| 212 | #define _gloffset_Vertex4s 148 |
| 213 | #define _gloffset_Vertex4sv 149 |
| 214 | #define _gloffset_ClipPlane 150 |
| 215 | #define _gloffset_ColorMaterial 151 |
| 216 | #define _gloffset_CullFace 152 |
| 217 | #define _gloffset_Fogf 153 |
| 218 | #define _gloffset_Fogfv 154 |
| 219 | #define _gloffset_Fogi 155 |
| 220 | #define _gloffset_Fogiv 156 |
| 221 | #define _gloffset_FrontFace 157 |
| 222 | #define _gloffset_Hint 158 |
| 223 | #define _gloffset_Lightf 159 |
| 224 | #define _gloffset_Lightfv 160 |
| 225 | #define _gloffset_Lighti 161 |
| 226 | #define _gloffset_Lightiv 162 |
| 227 | #define _gloffset_LightModelf 163 |
| 228 | #define _gloffset_LightModelfv 164 |
| 229 | #define _gloffset_LightModeli 165 |
| 230 | #define _gloffset_LightModeliv 166 |
| 231 | #define _gloffset_LineStipple 167 |
| 232 | #define _gloffset_LineWidth 168 |
| 233 | #define _gloffset_Materialf 169 |
| 234 | #define _gloffset_Materialfv 170 |
| 235 | #define _gloffset_Materiali 171 |
| 236 | #define _gloffset_Materialiv 172 |
| 237 | #define _gloffset_PointSize 173 |
| 238 | #define _gloffset_PolygonMode 174 |
| 239 | #define _gloffset_PolygonStipple 175 |
| 240 | #define _gloffset_Scissor 176 |
| 241 | #define _gloffset_ShadeModel 177 |
| 242 | #define _gloffset_TexParameterf 178 |
| 243 | #define _gloffset_TexParameterfv 179 |
| 244 | #define _gloffset_TexParameteri 180 |
| 245 | #define _gloffset_TexParameteriv 181 |
| 246 | #define _gloffset_TexImage1D 182 |
| 247 | #define _gloffset_TexImage2D 183 |
| 248 | #define _gloffset_TexEnvf 184 |
| 249 | #define _gloffset_TexEnvfv 185 |
| 250 | #define _gloffset_TexEnvi 186 |
| 251 | #define _gloffset_TexEnviv 187 |
| 252 | #define _gloffset_TexGend 188 |
| 253 | #define _gloffset_TexGendv 189 |
| 254 | #define _gloffset_TexGenf 190 |
| 255 | #define _gloffset_TexGenfv 191 |
| 256 | #define _gloffset_TexGeni 192 |
| 257 | #define _gloffset_TexGeniv 193 |
| 258 | #define _gloffset_FeedbackBuffer 194 |
| 259 | #define _gloffset_SelectBuffer 195 |
| 260 | #define _gloffset_RenderMode 196 |
| 261 | #define _gloffset_InitNames 197 |
| 262 | #define _gloffset_LoadName 198 |
| 263 | #define _gloffset_PassThrough 199 |
| 264 | #define _gloffset_PopName 200 |
| 265 | #define _gloffset_PushName 201 |
| 266 | #define _gloffset_DrawBuffer 202 |
| 267 | #define _gloffset_Clear 203 |
| 268 | #define _gloffset_ClearAccum 204 |
| 269 | #define _gloffset_ClearIndex 205 |
| 270 | #define _gloffset_ClearColor 206 |
| 271 | #define _gloffset_ClearStencil 207 |
| 272 | #define _gloffset_ClearDepth 208 |
| 273 | #define _gloffset_StencilMask 209 |
| 274 | #define _gloffset_ColorMask 210 |
| 275 | #define _gloffset_DepthMask 211 |
| 276 | #define _gloffset_IndexMask 212 |
| 277 | #define _gloffset_Accum 213 |
| 278 | #define _gloffset_Disable 214 |
| 279 | #define _gloffset_Enable 215 |
| 280 | #define _gloffset_Finish 216 |
| 281 | #define _gloffset_Flush 217 |
| 282 | #define _gloffset_PopAttrib 218 |
| 283 | #define _gloffset_PushAttrib 219 |
| 284 | #define _gloffset_Map1d 220 |
| 285 | #define _gloffset_Map1f 221 |
| 286 | #define _gloffset_Map2d 222 |
| 287 | #define _gloffset_Map2f 223 |
| 288 | #define _gloffset_MapGrid1d 224 |
| 289 | #define _gloffset_MapGrid1f 225 |
| 290 | #define _gloffset_MapGrid2d 226 |
| 291 | #define _gloffset_MapGrid2f 227 |
| 292 | #define _gloffset_EvalCoord1d 228 |
| 293 | #define _gloffset_EvalCoord1dv 229 |
| 294 | #define _gloffset_EvalCoord1f 230 |
| 295 | #define _gloffset_EvalCoord1fv 231 |
| 296 | #define _gloffset_EvalCoord2d 232 |
| 297 | #define _gloffset_EvalCoord2dv 233 |
| 298 | #define _gloffset_EvalCoord2f 234 |
| 299 | #define _gloffset_EvalCoord2fv 235 |
| 300 | #define _gloffset_EvalMesh1 236 |
| 301 | #define _gloffset_EvalPoint1 237 |
| 302 | #define _gloffset_EvalMesh2 238 |
| 303 | #define _gloffset_EvalPoint2 239 |
| 304 | #define _gloffset_AlphaFunc 240 |
| 305 | #define _gloffset_BlendFunc 241 |
| 306 | #define _gloffset_LogicOp 242 |
| 307 | #define _gloffset_StencilFunc 243 |
| 308 | #define _gloffset_StencilOp 244 |
| 309 | #define _gloffset_DepthFunc 245 |
| 310 | #define _gloffset_PixelZoom 246 |
| 311 | #define _gloffset_PixelTransferf 247 |
| 312 | #define _gloffset_PixelTransferi 248 |
| 313 | #define _gloffset_PixelStoref 249 |
| 314 | #define _gloffset_PixelStorei 250 |
| 315 | #define _gloffset_PixelMapfv 251 |
| 316 | #define _gloffset_PixelMapuiv 252 |
| 317 | #define _gloffset_PixelMapusv 253 |
| 318 | #define _gloffset_ReadBuffer 254 |
| 319 | #define _gloffset_CopyPixels 255 |
| 320 | #define _gloffset_ReadPixels 256 |
| 321 | #define _gloffset_DrawPixels 257 |
| 322 | #define _gloffset_GetBooleanv 258 |
| 323 | #define _gloffset_GetClipPlane 259 |
| 324 | #define _gloffset_GetDoublev 260 |
| 325 | #define _gloffset_GetError 261 |
| 326 | #define _gloffset_GetFloatv 262 |
| 327 | #define _gloffset_GetIntegerv 263 |
| 328 | #define _gloffset_GetLightfv 264 |
| 329 | #define _gloffset_GetLightiv 265 |
| 330 | #define _gloffset_GetMapdv 266 |
| 331 | #define _gloffset_GetMapfv 267 |
| 332 | #define _gloffset_GetMapiv 268 |
| 333 | #define _gloffset_GetMaterialfv 269 |
| 334 | #define _gloffset_GetMaterialiv 270 |
| 335 | #define _gloffset_GetPixelMapfv 271 |
| 336 | #define _gloffset_GetPixelMapuiv 272 |
| 337 | #define _gloffset_GetPixelMapusv 273 |
| 338 | #define _gloffset_GetPolygonStipple 274 |
| 339 | #define _gloffset_GetString 275 |
| 340 | #define _gloffset_GetTexEnvfv 276 |
| 341 | #define _gloffset_GetTexEnviv 277 |
| 342 | #define _gloffset_GetTexGendv 278 |
| 343 | #define _gloffset_GetTexGenfv 279 |
| 344 | #define _gloffset_GetTexGeniv 280 |
| 345 | #define _gloffset_GetTexImage 281 |
| 346 | #define _gloffset_GetTexParameterfv 282 |
| 347 | #define _gloffset_GetTexParameteriv 283 |
| 348 | #define _gloffset_GetTexLevelParameterfv 284 |
| 349 | #define _gloffset_GetTexLevelParameteriv 285 |
| 350 | #define _gloffset_IsEnabled 286 |
| 351 | #define _gloffset_IsList 287 |
| 352 | #define _gloffset_DepthRange 288 |
| 353 | #define _gloffset_Frustum 289 |
| 354 | #define _gloffset_LoadIdentity 290 |
| 355 | #define _gloffset_LoadMatrixf 291 |
| 356 | #define _gloffset_LoadMatrixd 292 |
| 357 | #define _gloffset_MatrixMode 293 |
| 358 | #define _gloffset_MultMatrixf 294 |
| 359 | #define _gloffset_MultMatrixd 295 |
| 360 | #define _gloffset_Ortho 296 |
| 361 | #define _gloffset_PopMatrix 297 |
| 362 | #define _gloffset_PushMatrix 298 |
| 363 | #define _gloffset_Rotated 299 |
| 364 | #define _gloffset_Rotatef 300 |
| 365 | #define _gloffset_Scaled 301 |
| 366 | #define _gloffset_Scalef 302 |
| 367 | #define _gloffset_Translated 303 |
| 368 | #define _gloffset_Translatef 304 |
| 369 | #define _gloffset_Viewport 305 |
| 370 | #define _gloffset_ArrayElement 306 |
| 371 | #define _gloffset_BindTexture 307 |
| 372 | #define _gloffset_ColorPointer 308 |
| 373 | #define _gloffset_DisableClientState 309 |
| 374 | #define _gloffset_DrawArrays 310 |
| 375 | #define _gloffset_DrawElements 311 |
| 376 | #define _gloffset_EdgeFlagPointer 312 |
| 377 | #define _gloffset_EnableClientState 313 |
| 378 | #define _gloffset_IndexPointer 314 |
| 379 | #define _gloffset_Indexub 315 |
| 380 | #define _gloffset_Indexubv 316 |
| 381 | #define _gloffset_InterleavedArrays 317 |
| 382 | #define _gloffset_NormalPointer 318 |
| 383 | #define _gloffset_PolygonOffset 319 |
| 384 | #define _gloffset_TexCoordPointer 320 |
| 385 | #define _gloffset_VertexPointer 321 |
| 386 | #define _gloffset_AreTexturesResident 322 |
| 387 | #define _gloffset_CopyTexImage1D 323 |
| 388 | #define _gloffset_CopyTexImage2D 324 |
| 389 | #define _gloffset_CopyTexSubImage1D 325 |
| 390 | #define _gloffset_CopyTexSubImage2D 326 |
| 391 | #define _gloffset_DeleteTextures 327 |
| 392 | #define _gloffset_GenTextures 328 |
| 393 | #define _gloffset_GetPointerv 329 |
| 394 | #define _gloffset_IsTexture 330 |
| 395 | #define _gloffset_PrioritizeTextures 331 |
| 396 | #define _gloffset_TexSubImage1D 332 |
| 397 | #define _gloffset_TexSubImage2D 333 |
| 398 | #define _gloffset_PopClientAttrib 334 |
| 399 | #define _gloffset_PushClientAttrib 335 |
| 400 | #define _gloffset_BlendColor 336 |
| 401 | #define _gloffset_BlendEquation 337 |
| 402 | #define _gloffset_DrawRangeElements 338 |
| 403 | #define _gloffset_ColorTable 339 |
| 404 | #define _gloffset_ColorTableParameterfv 340 |
| 405 | #define _gloffset_ColorTableParameteriv 341 |
| 406 | #define _gloffset_CopyColorTable 342 |
| 407 | #define _gloffset_GetColorTable 343 |
| 408 | #define _gloffset_GetColorTableParameterfv 344 |
| 409 | #define _gloffset_GetColorTableParameteriv 345 |
| 410 | #define _gloffset_ColorSubTable 346 |
| 411 | #define _gloffset_CopyColorSubTable 347 |
| 412 | #define _gloffset_ConvolutionFilter1D 348 |
| 413 | #define _gloffset_ConvolutionFilter2D 349 |
| 414 | #define _gloffset_ConvolutionParameterf 350 |
| 415 | #define _gloffset_ConvolutionParameterfv 351 |
| 416 | #define _gloffset_ConvolutionParameteri 352 |
| 417 | #define _gloffset_ConvolutionParameteriv 353 |
| 418 | #define _gloffset_CopyConvolutionFilter1D 354 |
| 419 | #define _gloffset_CopyConvolutionFilter2D 355 |
| 420 | #define _gloffset_GetConvolutionFilter 356 |
| 421 | #define _gloffset_GetConvolutionParameterfv 357 |
| 422 | #define _gloffset_GetConvolutionParameteriv 358 |
| 423 | #define _gloffset_GetSeparableFilter 359 |
| 424 | #define _gloffset_SeparableFilter2D 360 |
| 425 | #define _gloffset_GetHistogram 361 |
| 426 | #define _gloffset_GetHistogramParameterfv 362 |
| 427 | #define _gloffset_GetHistogramParameteriv 363 |
| 428 | #define _gloffset_GetMinmax 364 |
| 429 | #define _gloffset_GetMinmaxParameterfv 365 |
| 430 | #define _gloffset_GetMinmaxParameteriv 366 |
| 431 | #define _gloffset_Histogram 367 |
| 432 | #define _gloffset_Minmax 368 |
| 433 | #define _gloffset_ResetHistogram 369 |
| 434 | #define _gloffset_ResetMinmax 370 |
| 435 | #define _gloffset_TexImage3D 371 |
| 436 | #define _gloffset_TexSubImage3D 372 |
| 437 | #define _gloffset_CopyTexSubImage3D 373 |
| 438 | #define _gloffset_ActiveTextureARB 374 |
| 439 | #define _gloffset_ClientActiveTextureARB 375 |
| 440 | #define _gloffset_MultiTexCoord1dARB 376 |
| 441 | #define _gloffset_MultiTexCoord1dvARB 377 |
| 442 | #define _gloffset_MultiTexCoord1fARB 378 |
| 443 | #define _gloffset_MultiTexCoord1fvARB 379 |
| 444 | #define _gloffset_MultiTexCoord1iARB 380 |
| 445 | #define _gloffset_MultiTexCoord1ivARB 381 |
| 446 | #define _gloffset_MultiTexCoord1sARB 382 |
| 447 | #define _gloffset_MultiTexCoord1svARB 383 |
| 448 | #define _gloffset_MultiTexCoord2dARB 384 |
| 449 | #define _gloffset_MultiTexCoord2dvARB 385 |
| 450 | #define _gloffset_MultiTexCoord2fARB 386 |
| 451 | #define _gloffset_MultiTexCoord2fvARB 387 |
| 452 | #define _gloffset_MultiTexCoord2iARB 388 |
| 453 | #define _gloffset_MultiTexCoord2ivARB 389 |
| 454 | #define _gloffset_MultiTexCoord2sARB 390 |
| 455 | #define _gloffset_MultiTexCoord2svARB 391 |
| 456 | #define _gloffset_MultiTexCoord3dARB 392 |
| 457 | #define _gloffset_MultiTexCoord3dvARB 393 |
| 458 | #define _gloffset_MultiTexCoord3fARB 394 |
| 459 | #define _gloffset_MultiTexCoord3fvARB 395 |
| 460 | #define _gloffset_MultiTexCoord3iARB 396 |
| 461 | #define _gloffset_MultiTexCoord3ivARB 397 |
| 462 | #define _gloffset_MultiTexCoord3sARB 398 |
| 463 | #define _gloffset_MultiTexCoord3svARB 399 |
| 464 | #define _gloffset_MultiTexCoord4dARB 400 |
| 465 | #define _gloffset_MultiTexCoord4dvARB 401 |
| 466 | #define _gloffset_MultiTexCoord4fARB 402 |
| 467 | #define _gloffset_MultiTexCoord4fvARB 403 |
| 468 | #define _gloffset_MultiTexCoord4iARB 404 |
| 469 | #define _gloffset_MultiTexCoord4ivARB 405 |
| 470 | #define _gloffset_MultiTexCoord4sARB 406 |
| 471 | #define _gloffset_MultiTexCoord4svARB 407 |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 472 | |
| Chia-I Wu | 6e99e6d | 2009-10-16 16:04:06 +0800 | [diff] [blame] | 473 | #if !defined(_GLAPI_USE_REMAP_TABLE) |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 474 | |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 475 | #define _gloffset_AttachShader 408 |
| 476 | #define _gloffset_CreateProgram 409 |
| 477 | #define _gloffset_CreateShader 410 |
| 478 | #define _gloffset_DeleteProgram 411 |
| 479 | #define _gloffset_DeleteShader 412 |
| 480 | #define _gloffset_DetachShader 413 |
| 481 | #define _gloffset_GetAttachedShaders 414 |
| 482 | #define _gloffset_GetProgramInfoLog 415 |
| 483 | #define _gloffset_GetProgramiv 416 |
| 484 | #define _gloffset_GetShaderInfoLog 417 |
| 485 | #define _gloffset_GetShaderiv 418 |
| 486 | #define _gloffset_IsProgram 419 |
| 487 | #define _gloffset_IsShader 420 |
| 488 | #define _gloffset_StencilFuncSeparate 421 |
| 489 | #define _gloffset_StencilMaskSeparate 422 |
| 490 | #define _gloffset_StencilOpSeparate 423 |
| 491 | #define _gloffset_UniformMatrix2x3fv 424 |
| 492 | #define _gloffset_UniformMatrix2x4fv 425 |
| 493 | #define _gloffset_UniformMatrix3x2fv 426 |
| 494 | #define _gloffset_UniformMatrix3x4fv 427 |
| 495 | #define _gloffset_UniformMatrix4x2fv 428 |
| 496 | #define _gloffset_UniformMatrix4x3fv 429 |
| Brian Paul | 5ed51e9 | 2010-11-21 09:19:23 -0700 | [diff] [blame] | 497 | #define _gloffset_ClampColor 430 |
| 498 | #define _gloffset_ClearBufferfi 431 |
| 499 | #define _gloffset_ClearBufferfv 432 |
| 500 | #define _gloffset_ClearBufferiv 433 |
| 501 | #define _gloffset_ClearBufferuiv 434 |
| 502 | #define _gloffset_GetStringi 435 |
| 503 | #define _gloffset_TexBuffer 436 |
| 504 | #define _gloffset_FramebufferTexture 437 |
| 505 | #define _gloffset_GetBufferParameteri64v 438 |
| 506 | #define _gloffset_GetInteger64i_v 439 |
| 507 | #define _gloffset_VertexAttribDivisor 440 |
| 508 | #define _gloffset_LoadTransposeMatrixdARB 441 |
| 509 | #define _gloffset_LoadTransposeMatrixfARB 442 |
| 510 | #define _gloffset_MultTransposeMatrixdARB 443 |
| 511 | #define _gloffset_MultTransposeMatrixfARB 444 |
| 512 | #define _gloffset_SampleCoverageARB 445 |
| 513 | #define _gloffset_CompressedTexImage1DARB 446 |
| 514 | #define _gloffset_CompressedTexImage2DARB 447 |
| 515 | #define _gloffset_CompressedTexImage3DARB 448 |
| 516 | #define _gloffset_CompressedTexSubImage1DARB 449 |
| 517 | #define _gloffset_CompressedTexSubImage2DARB 450 |
| 518 | #define _gloffset_CompressedTexSubImage3DARB 451 |
| 519 | #define _gloffset_GetCompressedTexImageARB 452 |
| 520 | #define _gloffset_DisableVertexAttribArrayARB 453 |
| 521 | #define _gloffset_EnableVertexAttribArrayARB 454 |
| 522 | #define _gloffset_GetProgramEnvParameterdvARB 455 |
| 523 | #define _gloffset_GetProgramEnvParameterfvARB 456 |
| 524 | #define _gloffset_GetProgramLocalParameterdvARB 457 |
| 525 | #define _gloffset_GetProgramLocalParameterfvARB 458 |
| 526 | #define _gloffset_GetProgramStringARB 459 |
| 527 | #define _gloffset_GetProgramivARB 460 |
| 528 | #define _gloffset_GetVertexAttribdvARB 461 |
| 529 | #define _gloffset_GetVertexAttribfvARB 462 |
| 530 | #define _gloffset_GetVertexAttribivARB 463 |
| 531 | #define _gloffset_ProgramEnvParameter4dARB 464 |
| 532 | #define _gloffset_ProgramEnvParameter4dvARB 465 |
| 533 | #define _gloffset_ProgramEnvParameter4fARB 466 |
| 534 | #define _gloffset_ProgramEnvParameter4fvARB 467 |
| 535 | #define _gloffset_ProgramLocalParameter4dARB 468 |
| 536 | #define _gloffset_ProgramLocalParameter4dvARB 469 |
| 537 | #define _gloffset_ProgramLocalParameter4fARB 470 |
| 538 | #define _gloffset_ProgramLocalParameter4fvARB 471 |
| 539 | #define _gloffset_ProgramStringARB 472 |
| 540 | #define _gloffset_VertexAttrib1dARB 473 |
| 541 | #define _gloffset_VertexAttrib1dvARB 474 |
| 542 | #define _gloffset_VertexAttrib1fARB 475 |
| 543 | #define _gloffset_VertexAttrib1fvARB 476 |
| 544 | #define _gloffset_VertexAttrib1sARB 477 |
| 545 | #define _gloffset_VertexAttrib1svARB 478 |
| 546 | #define _gloffset_VertexAttrib2dARB 479 |
| 547 | #define _gloffset_VertexAttrib2dvARB 480 |
| 548 | #define _gloffset_VertexAttrib2fARB 481 |
| 549 | #define _gloffset_VertexAttrib2fvARB 482 |
| 550 | #define _gloffset_VertexAttrib2sARB 483 |
| 551 | #define _gloffset_VertexAttrib2svARB 484 |
| 552 | #define _gloffset_VertexAttrib3dARB 485 |
| 553 | #define _gloffset_VertexAttrib3dvARB 486 |
| 554 | #define _gloffset_VertexAttrib3fARB 487 |
| 555 | #define _gloffset_VertexAttrib3fvARB 488 |
| 556 | #define _gloffset_VertexAttrib3sARB 489 |
| 557 | #define _gloffset_VertexAttrib3svARB 490 |
| 558 | #define _gloffset_VertexAttrib4NbvARB 491 |
| 559 | #define _gloffset_VertexAttrib4NivARB 492 |
| 560 | #define _gloffset_VertexAttrib4NsvARB 493 |
| 561 | #define _gloffset_VertexAttrib4NubARB 494 |
| 562 | #define _gloffset_VertexAttrib4NubvARB 495 |
| 563 | #define _gloffset_VertexAttrib4NuivARB 496 |
| 564 | #define _gloffset_VertexAttrib4NusvARB 497 |
| 565 | #define _gloffset_VertexAttrib4bvARB 498 |
| 566 | #define _gloffset_VertexAttrib4dARB 499 |
| 567 | #define _gloffset_VertexAttrib4dvARB 500 |
| 568 | #define _gloffset_VertexAttrib4fARB 501 |
| 569 | #define _gloffset_VertexAttrib4fvARB 502 |
| 570 | #define _gloffset_VertexAttrib4ivARB 503 |
| 571 | #define _gloffset_VertexAttrib4sARB 504 |
| 572 | #define _gloffset_VertexAttrib4svARB 505 |
| 573 | #define _gloffset_VertexAttrib4ubvARB 506 |
| 574 | #define _gloffset_VertexAttrib4uivARB 507 |
| 575 | #define _gloffset_VertexAttrib4usvARB 508 |
| 576 | #define _gloffset_VertexAttribPointerARB 509 |
| 577 | #define _gloffset_BindBufferARB 510 |
| 578 | #define _gloffset_BufferDataARB 511 |
| 579 | #define _gloffset_BufferSubDataARB 512 |
| 580 | #define _gloffset_DeleteBuffersARB 513 |
| 581 | #define _gloffset_GenBuffersARB 514 |
| 582 | #define _gloffset_GetBufferParameterivARB 515 |
| 583 | #define _gloffset_GetBufferPointervARB 516 |
| 584 | #define _gloffset_GetBufferSubDataARB 517 |
| 585 | #define _gloffset_IsBufferARB 518 |
| 586 | #define _gloffset_MapBufferARB 519 |
| 587 | #define _gloffset_UnmapBufferARB 520 |
| 588 | #define _gloffset_BeginQueryARB 521 |
| 589 | #define _gloffset_DeleteQueriesARB 522 |
| 590 | #define _gloffset_EndQueryARB 523 |
| 591 | #define _gloffset_GenQueriesARB 524 |
| 592 | #define _gloffset_GetQueryObjectivARB 525 |
| 593 | #define _gloffset_GetQueryObjectuivARB 526 |
| 594 | #define _gloffset_GetQueryivARB 527 |
| 595 | #define _gloffset_IsQueryARB 528 |
| 596 | #define _gloffset_AttachObjectARB 529 |
| 597 | #define _gloffset_CompileShaderARB 530 |
| 598 | #define _gloffset_CreateProgramObjectARB 531 |
| 599 | #define _gloffset_CreateShaderObjectARB 532 |
| 600 | #define _gloffset_DeleteObjectARB 533 |
| 601 | #define _gloffset_DetachObjectARB 534 |
| 602 | #define _gloffset_GetActiveUniformARB 535 |
| 603 | #define _gloffset_GetAttachedObjectsARB 536 |
| 604 | #define _gloffset_GetHandleARB 537 |
| 605 | #define _gloffset_GetInfoLogARB 538 |
| 606 | #define _gloffset_GetObjectParameterfvARB 539 |
| 607 | #define _gloffset_GetObjectParameterivARB 540 |
| 608 | #define _gloffset_GetShaderSourceARB 541 |
| 609 | #define _gloffset_GetUniformLocationARB 542 |
| 610 | #define _gloffset_GetUniformfvARB 543 |
| 611 | #define _gloffset_GetUniformivARB 544 |
| 612 | #define _gloffset_LinkProgramARB 545 |
| 613 | #define _gloffset_ShaderSourceARB 546 |
| 614 | #define _gloffset_Uniform1fARB 547 |
| 615 | #define _gloffset_Uniform1fvARB 548 |
| 616 | #define _gloffset_Uniform1iARB 549 |
| 617 | #define _gloffset_Uniform1ivARB 550 |
| 618 | #define _gloffset_Uniform2fARB 551 |
| 619 | #define _gloffset_Uniform2fvARB 552 |
| 620 | #define _gloffset_Uniform2iARB 553 |
| 621 | #define _gloffset_Uniform2ivARB 554 |
| 622 | #define _gloffset_Uniform3fARB 555 |
| 623 | #define _gloffset_Uniform3fvARB 556 |
| 624 | #define _gloffset_Uniform3iARB 557 |
| 625 | #define _gloffset_Uniform3ivARB 558 |
| 626 | #define _gloffset_Uniform4fARB 559 |
| 627 | #define _gloffset_Uniform4fvARB 560 |
| 628 | #define _gloffset_Uniform4iARB 561 |
| 629 | #define _gloffset_Uniform4ivARB 562 |
| 630 | #define _gloffset_UniformMatrix2fvARB 563 |
| 631 | #define _gloffset_UniformMatrix3fvARB 564 |
| 632 | #define _gloffset_UniformMatrix4fvARB 565 |
| 633 | #define _gloffset_UseProgramObjectARB 566 |
| 634 | #define _gloffset_ValidateProgramARB 567 |
| 635 | #define _gloffset_BindAttribLocationARB 568 |
| 636 | #define _gloffset_GetActiveAttribARB 569 |
| 637 | #define _gloffset_GetAttribLocationARB 570 |
| 638 | #define _gloffset_DrawBuffersARB 571 |
| Marek Olšák | 3bdd12e | 2011-02-16 00:02:15 +0100 | [diff] [blame] | 639 | #define _gloffset_ClampColorARB 572 |
| 640 | #define _gloffset_DrawArraysInstancedARB 573 |
| 641 | #define _gloffset_DrawElementsInstancedARB 574 |
| 642 | #define _gloffset_RenderbufferStorageMultisample 575 |
| 643 | #define _gloffset_FramebufferTextureARB 576 |
| 644 | #define _gloffset_FramebufferTextureFaceARB 577 |
| 645 | #define _gloffset_ProgramParameteriARB 578 |
| 646 | #define _gloffset_VertexAttribDivisorARB 579 |
| 647 | #define _gloffset_FlushMappedBufferRange 580 |
| 648 | #define _gloffset_MapBufferRange 581 |
| Brian Paul | 9a77e28 | 2011-04-05 18:50:39 -0600 | [diff] [blame] | 649 | #define _gloffset_TexBufferARB 582 |
| 650 | #define _gloffset_BindVertexArray 583 |
| 651 | #define _gloffset_GenVertexArrays 584 |
| 652 | #define _gloffset_CopyBufferSubData 585 |
| 653 | #define _gloffset_ClientWaitSync 586 |
| 654 | #define _gloffset_DeleteSync 587 |
| 655 | #define _gloffset_FenceSync 588 |
| 656 | #define _gloffset_GetInteger64v 589 |
| 657 | #define _gloffset_GetSynciv 590 |
| 658 | #define _gloffset_IsSync 591 |
| 659 | #define _gloffset_WaitSync 592 |
| 660 | #define _gloffset_DrawElementsBaseVertex 593 |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 661 | #define _gloffset_DrawElementsInstancedBaseVertex 594 |
| 662 | #define _gloffset_DrawRangeElementsBaseVertex 595 |
| 663 | #define _gloffset_MultiDrawElementsBaseVertex 596 |
| 664 | #define _gloffset_BlendEquationSeparateiARB 597 |
| 665 | #define _gloffset_BlendEquationiARB 598 |
| 666 | #define _gloffset_BlendFuncSeparateiARB 599 |
| 667 | #define _gloffset_BlendFunciARB 600 |
| 668 | #define _gloffset_BindSampler 601 |
| 669 | #define _gloffset_DeleteSamplers 602 |
| 670 | #define _gloffset_GenSamplers 603 |
| 671 | #define _gloffset_GetSamplerParameterIiv 604 |
| 672 | #define _gloffset_GetSamplerParameterIuiv 605 |
| 673 | #define _gloffset_GetSamplerParameterfv 606 |
| 674 | #define _gloffset_GetSamplerParameteriv 607 |
| 675 | #define _gloffset_IsSampler 608 |
| 676 | #define _gloffset_SamplerParameterIiv 609 |
| 677 | #define _gloffset_SamplerParameterIuiv 610 |
| 678 | #define _gloffset_SamplerParameterf 611 |
| 679 | #define _gloffset_SamplerParameterfv 612 |
| 680 | #define _gloffset_SamplerParameteri 613 |
| 681 | #define _gloffset_SamplerParameteriv 614 |
| 682 | #define _gloffset_BindTransformFeedback 615 |
| 683 | #define _gloffset_DeleteTransformFeedbacks 616 |
| 684 | #define _gloffset_DrawTransformFeedback 617 |
| 685 | #define _gloffset_GenTransformFeedbacks 618 |
| 686 | #define _gloffset_IsTransformFeedback 619 |
| 687 | #define _gloffset_PauseTransformFeedback 620 |
| 688 | #define _gloffset_ResumeTransformFeedback 621 |
| 689 | #define _gloffset_ClearDepthf 622 |
| 690 | #define _gloffset_DepthRangef 623 |
| 691 | #define _gloffset_GetShaderPrecisionFormat 624 |
| 692 | #define _gloffset_ReleaseShaderCompiler 625 |
| 693 | #define _gloffset_ShaderBinary 626 |
| 694 | #define _gloffset_GetGraphicsResetStatusARB 627 |
| 695 | #define _gloffset_GetnColorTableARB 628 |
| 696 | #define _gloffset_GetnCompressedTexImageARB 629 |
| 697 | #define _gloffset_GetnConvolutionFilterARB 630 |
| 698 | #define _gloffset_GetnHistogramARB 631 |
| 699 | #define _gloffset_GetnMapdvARB 632 |
| 700 | #define _gloffset_GetnMapfvARB 633 |
| 701 | #define _gloffset_GetnMapivARB 634 |
| 702 | #define _gloffset_GetnMinmaxARB 635 |
| 703 | #define _gloffset_GetnPixelMapfvARB 636 |
| 704 | #define _gloffset_GetnPixelMapuivARB 637 |
| 705 | #define _gloffset_GetnPixelMapusvARB 638 |
| 706 | #define _gloffset_GetnPolygonStippleARB 639 |
| 707 | #define _gloffset_GetnSeparableFilterARB 640 |
| 708 | #define _gloffset_GetnTexImageARB 641 |
| 709 | #define _gloffset_GetnUniformdvARB 642 |
| 710 | #define _gloffset_GetnUniformfvARB 643 |
| 711 | #define _gloffset_GetnUniformivARB 644 |
| 712 | #define _gloffset_GetnUniformuivARB 645 |
| 713 | #define _gloffset_ReadnPixelsARB 646 |
| 714 | #define _gloffset_PolygonOffsetEXT 647 |
| 715 | #define _gloffset_GetPixelTexGenParameterfvSGIS 648 |
| 716 | #define _gloffset_GetPixelTexGenParameterivSGIS 649 |
| 717 | #define _gloffset_PixelTexGenParameterfSGIS 650 |
| 718 | #define _gloffset_PixelTexGenParameterfvSGIS 651 |
| 719 | #define _gloffset_PixelTexGenParameteriSGIS 652 |
| 720 | #define _gloffset_PixelTexGenParameterivSGIS 653 |
| 721 | #define _gloffset_SampleMaskSGIS 654 |
| 722 | #define _gloffset_SamplePatternSGIS 655 |
| 723 | #define _gloffset_ColorPointerEXT 656 |
| 724 | #define _gloffset_EdgeFlagPointerEXT 657 |
| 725 | #define _gloffset_IndexPointerEXT 658 |
| 726 | #define _gloffset_NormalPointerEXT 659 |
| 727 | #define _gloffset_TexCoordPointerEXT 660 |
| 728 | #define _gloffset_VertexPointerEXT 661 |
| 729 | #define _gloffset_PointParameterfEXT 662 |
| 730 | #define _gloffset_PointParameterfvEXT 663 |
| 731 | #define _gloffset_LockArraysEXT 664 |
| 732 | #define _gloffset_UnlockArraysEXT 665 |
| 733 | #define _gloffset_SecondaryColor3bEXT 666 |
| 734 | #define _gloffset_SecondaryColor3bvEXT 667 |
| 735 | #define _gloffset_SecondaryColor3dEXT 668 |
| 736 | #define _gloffset_SecondaryColor3dvEXT 669 |
| 737 | #define _gloffset_SecondaryColor3fEXT 670 |
| 738 | #define _gloffset_SecondaryColor3fvEXT 671 |
| 739 | #define _gloffset_SecondaryColor3iEXT 672 |
| 740 | #define _gloffset_SecondaryColor3ivEXT 673 |
| 741 | #define _gloffset_SecondaryColor3sEXT 674 |
| 742 | #define _gloffset_SecondaryColor3svEXT 675 |
| 743 | #define _gloffset_SecondaryColor3ubEXT 676 |
| 744 | #define _gloffset_SecondaryColor3ubvEXT 677 |
| 745 | #define _gloffset_SecondaryColor3uiEXT 678 |
| 746 | #define _gloffset_SecondaryColor3uivEXT 679 |
| 747 | #define _gloffset_SecondaryColor3usEXT 680 |
| 748 | #define _gloffset_SecondaryColor3usvEXT 681 |
| 749 | #define _gloffset_SecondaryColorPointerEXT 682 |
| 750 | #define _gloffset_MultiDrawArraysEXT 683 |
| 751 | #define _gloffset_MultiDrawElementsEXT 684 |
| 752 | #define _gloffset_FogCoordPointerEXT 685 |
| 753 | #define _gloffset_FogCoorddEXT 686 |
| 754 | #define _gloffset_FogCoorddvEXT 687 |
| 755 | #define _gloffset_FogCoordfEXT 688 |
| 756 | #define _gloffset_FogCoordfvEXT 689 |
| 757 | #define _gloffset_PixelTexGenSGIX 690 |
| 758 | #define _gloffset_BlendFuncSeparateEXT 691 |
| 759 | #define _gloffset_FlushVertexArrayRangeNV 692 |
| 760 | #define _gloffset_VertexArrayRangeNV 693 |
| 761 | #define _gloffset_CombinerInputNV 694 |
| 762 | #define _gloffset_CombinerOutputNV 695 |
| 763 | #define _gloffset_CombinerParameterfNV 696 |
| 764 | #define _gloffset_CombinerParameterfvNV 697 |
| 765 | #define _gloffset_CombinerParameteriNV 698 |
| 766 | #define _gloffset_CombinerParameterivNV 699 |
| 767 | #define _gloffset_FinalCombinerInputNV 700 |
| 768 | #define _gloffset_GetCombinerInputParameterfvNV 701 |
| 769 | #define _gloffset_GetCombinerInputParameterivNV 702 |
| 770 | #define _gloffset_GetCombinerOutputParameterfvNV 703 |
| 771 | #define _gloffset_GetCombinerOutputParameterivNV 704 |
| 772 | #define _gloffset_GetFinalCombinerInputParameterfvNV 705 |
| 773 | #define _gloffset_GetFinalCombinerInputParameterivNV 706 |
| 774 | #define _gloffset_ResizeBuffersMESA 707 |
| 775 | #define _gloffset_WindowPos2dMESA 708 |
| 776 | #define _gloffset_WindowPos2dvMESA 709 |
| 777 | #define _gloffset_WindowPos2fMESA 710 |
| 778 | #define _gloffset_WindowPos2fvMESA 711 |
| 779 | #define _gloffset_WindowPos2iMESA 712 |
| 780 | #define _gloffset_WindowPos2ivMESA 713 |
| 781 | #define _gloffset_WindowPos2sMESA 714 |
| 782 | #define _gloffset_WindowPos2svMESA 715 |
| 783 | #define _gloffset_WindowPos3dMESA 716 |
| 784 | #define _gloffset_WindowPos3dvMESA 717 |
| 785 | #define _gloffset_WindowPos3fMESA 718 |
| 786 | #define _gloffset_WindowPos3fvMESA 719 |
| 787 | #define _gloffset_WindowPos3iMESA 720 |
| 788 | #define _gloffset_WindowPos3ivMESA 721 |
| 789 | #define _gloffset_WindowPos3sMESA 722 |
| 790 | #define _gloffset_WindowPos3svMESA 723 |
| 791 | #define _gloffset_WindowPos4dMESA 724 |
| 792 | #define _gloffset_WindowPos4dvMESA 725 |
| 793 | #define _gloffset_WindowPos4fMESA 726 |
| 794 | #define _gloffset_WindowPos4fvMESA 727 |
| 795 | #define _gloffset_WindowPos4iMESA 728 |
| 796 | #define _gloffset_WindowPos4ivMESA 729 |
| 797 | #define _gloffset_WindowPos4sMESA 730 |
| 798 | #define _gloffset_WindowPos4svMESA 731 |
| 799 | #define _gloffset_MultiModeDrawArraysIBM 732 |
| 800 | #define _gloffset_MultiModeDrawElementsIBM 733 |
| 801 | #define _gloffset_DeleteFencesNV 734 |
| 802 | #define _gloffset_FinishFenceNV 735 |
| 803 | #define _gloffset_GenFencesNV 736 |
| 804 | #define _gloffset_GetFenceivNV 737 |
| 805 | #define _gloffset_IsFenceNV 738 |
| 806 | #define _gloffset_SetFenceNV 739 |
| 807 | #define _gloffset_TestFenceNV 740 |
| 808 | #define _gloffset_AreProgramsResidentNV 741 |
| 809 | #define _gloffset_BindProgramNV 742 |
| 810 | #define _gloffset_DeleteProgramsNV 743 |
| 811 | #define _gloffset_ExecuteProgramNV 744 |
| 812 | #define _gloffset_GenProgramsNV 745 |
| 813 | #define _gloffset_GetProgramParameterdvNV 746 |
| 814 | #define _gloffset_GetProgramParameterfvNV 747 |
| 815 | #define _gloffset_GetProgramStringNV 748 |
| 816 | #define _gloffset_GetProgramivNV 749 |
| 817 | #define _gloffset_GetTrackMatrixivNV 750 |
| 818 | #define _gloffset_GetVertexAttribPointervNV 751 |
| 819 | #define _gloffset_GetVertexAttribdvNV 752 |
| 820 | #define _gloffset_GetVertexAttribfvNV 753 |
| 821 | #define _gloffset_GetVertexAttribivNV 754 |
| 822 | #define _gloffset_IsProgramNV 755 |
| 823 | #define _gloffset_LoadProgramNV 756 |
| 824 | #define _gloffset_ProgramParameters4dvNV 757 |
| 825 | #define _gloffset_ProgramParameters4fvNV 758 |
| 826 | #define _gloffset_RequestResidentProgramsNV 759 |
| 827 | #define _gloffset_TrackMatrixNV 760 |
| 828 | #define _gloffset_VertexAttrib1dNV 761 |
| 829 | #define _gloffset_VertexAttrib1dvNV 762 |
| 830 | #define _gloffset_VertexAttrib1fNV 763 |
| 831 | #define _gloffset_VertexAttrib1fvNV 764 |
| 832 | #define _gloffset_VertexAttrib1sNV 765 |
| 833 | #define _gloffset_VertexAttrib1svNV 766 |
| 834 | #define _gloffset_VertexAttrib2dNV 767 |
| 835 | #define _gloffset_VertexAttrib2dvNV 768 |
| 836 | #define _gloffset_VertexAttrib2fNV 769 |
| 837 | #define _gloffset_VertexAttrib2fvNV 770 |
| 838 | #define _gloffset_VertexAttrib2sNV 771 |
| 839 | #define _gloffset_VertexAttrib2svNV 772 |
| 840 | #define _gloffset_VertexAttrib3dNV 773 |
| 841 | #define _gloffset_VertexAttrib3dvNV 774 |
| 842 | #define _gloffset_VertexAttrib3fNV 775 |
| 843 | #define _gloffset_VertexAttrib3fvNV 776 |
| 844 | #define _gloffset_VertexAttrib3sNV 777 |
| 845 | #define _gloffset_VertexAttrib3svNV 778 |
| 846 | #define _gloffset_VertexAttrib4dNV 779 |
| 847 | #define _gloffset_VertexAttrib4dvNV 780 |
| 848 | #define _gloffset_VertexAttrib4fNV 781 |
| 849 | #define _gloffset_VertexAttrib4fvNV 782 |
| 850 | #define _gloffset_VertexAttrib4sNV 783 |
| 851 | #define _gloffset_VertexAttrib4svNV 784 |
| 852 | #define _gloffset_VertexAttrib4ubNV 785 |
| 853 | #define _gloffset_VertexAttrib4ubvNV 786 |
| 854 | #define _gloffset_VertexAttribPointerNV 787 |
| 855 | #define _gloffset_VertexAttribs1dvNV 788 |
| 856 | #define _gloffset_VertexAttribs1fvNV 789 |
| 857 | #define _gloffset_VertexAttribs1svNV 790 |
| 858 | #define _gloffset_VertexAttribs2dvNV 791 |
| 859 | #define _gloffset_VertexAttribs2fvNV 792 |
| 860 | #define _gloffset_VertexAttribs2svNV 793 |
| 861 | #define _gloffset_VertexAttribs3dvNV 794 |
| 862 | #define _gloffset_VertexAttribs3fvNV 795 |
| 863 | #define _gloffset_VertexAttribs3svNV 796 |
| 864 | #define _gloffset_VertexAttribs4dvNV 797 |
| 865 | #define _gloffset_VertexAttribs4fvNV 798 |
| 866 | #define _gloffset_VertexAttribs4svNV 799 |
| 867 | #define _gloffset_VertexAttribs4ubvNV 800 |
| 868 | #define _gloffset_GetTexBumpParameterfvATI 801 |
| 869 | #define _gloffset_GetTexBumpParameterivATI 802 |
| 870 | #define _gloffset_TexBumpParameterfvATI 803 |
| 871 | #define _gloffset_TexBumpParameterivATI 804 |
| 872 | #define _gloffset_AlphaFragmentOp1ATI 805 |
| 873 | #define _gloffset_AlphaFragmentOp2ATI 806 |
| 874 | #define _gloffset_AlphaFragmentOp3ATI 807 |
| 875 | #define _gloffset_BeginFragmentShaderATI 808 |
| 876 | #define _gloffset_BindFragmentShaderATI 809 |
| 877 | #define _gloffset_ColorFragmentOp1ATI 810 |
| 878 | #define _gloffset_ColorFragmentOp2ATI 811 |
| 879 | #define _gloffset_ColorFragmentOp3ATI 812 |
| 880 | #define _gloffset_DeleteFragmentShaderATI 813 |
| 881 | #define _gloffset_EndFragmentShaderATI 814 |
| 882 | #define _gloffset_GenFragmentShadersATI 815 |
| 883 | #define _gloffset_PassTexCoordATI 816 |
| 884 | #define _gloffset_SampleMapATI 817 |
| 885 | #define _gloffset_SetFragmentShaderConstantATI 818 |
| 886 | #define _gloffset_PointParameteriNV 819 |
| 887 | #define _gloffset_PointParameterivNV 820 |
| 888 | #define _gloffset_ActiveStencilFaceEXT 821 |
| 889 | #define _gloffset_BindVertexArrayAPPLE 822 |
| 890 | #define _gloffset_DeleteVertexArraysAPPLE 823 |
| 891 | #define _gloffset_GenVertexArraysAPPLE 824 |
| 892 | #define _gloffset_IsVertexArrayAPPLE 825 |
| 893 | #define _gloffset_GetProgramNamedParameterdvNV 826 |
| 894 | #define _gloffset_GetProgramNamedParameterfvNV 827 |
| 895 | #define _gloffset_ProgramNamedParameter4dNV 828 |
| 896 | #define _gloffset_ProgramNamedParameter4dvNV 829 |
| 897 | #define _gloffset_ProgramNamedParameter4fNV 830 |
| 898 | #define _gloffset_ProgramNamedParameter4fvNV 831 |
| 899 | #define _gloffset_PrimitiveRestartIndexNV 832 |
| 900 | #define _gloffset_PrimitiveRestartNV 833 |
| 901 | #define _gloffset_DepthBoundsEXT 834 |
| 902 | #define _gloffset_BlendEquationSeparateEXT 835 |
| 903 | #define _gloffset_BindFramebufferEXT 836 |
| 904 | #define _gloffset_BindRenderbufferEXT 837 |
| 905 | #define _gloffset_CheckFramebufferStatusEXT 838 |
| 906 | #define _gloffset_DeleteFramebuffersEXT 839 |
| 907 | #define _gloffset_DeleteRenderbuffersEXT 840 |
| 908 | #define _gloffset_FramebufferRenderbufferEXT 841 |
| 909 | #define _gloffset_FramebufferTexture1DEXT 842 |
| 910 | #define _gloffset_FramebufferTexture2DEXT 843 |
| 911 | #define _gloffset_FramebufferTexture3DEXT 844 |
| 912 | #define _gloffset_GenFramebuffersEXT 845 |
| 913 | #define _gloffset_GenRenderbuffersEXT 846 |
| 914 | #define _gloffset_GenerateMipmapEXT 847 |
| 915 | #define _gloffset_GetFramebufferAttachmentParameterivEXT 848 |
| 916 | #define _gloffset_GetRenderbufferParameterivEXT 849 |
| 917 | #define _gloffset_IsFramebufferEXT 850 |
| 918 | #define _gloffset_IsRenderbufferEXT 851 |
| 919 | #define _gloffset_RenderbufferStorageEXT 852 |
| 920 | #define _gloffset_BlitFramebufferEXT 853 |
| 921 | #define _gloffset_BufferParameteriAPPLE 854 |
| 922 | #define _gloffset_FlushMappedBufferRangeAPPLE 855 |
| 923 | #define _gloffset_BindFragDataLocationEXT 856 |
| 924 | #define _gloffset_GetFragDataLocationEXT 857 |
| 925 | #define _gloffset_GetUniformuivEXT 858 |
| 926 | #define _gloffset_GetVertexAttribIivEXT 859 |
| 927 | #define _gloffset_GetVertexAttribIuivEXT 860 |
| 928 | #define _gloffset_Uniform1uiEXT 861 |
| 929 | #define _gloffset_Uniform1uivEXT 862 |
| 930 | #define _gloffset_Uniform2uiEXT 863 |
| 931 | #define _gloffset_Uniform2uivEXT 864 |
| 932 | #define _gloffset_Uniform3uiEXT 865 |
| 933 | #define _gloffset_Uniform3uivEXT 866 |
| 934 | #define _gloffset_Uniform4uiEXT 867 |
| 935 | #define _gloffset_Uniform4uivEXT 868 |
| 936 | #define _gloffset_VertexAttribI1iEXT 869 |
| 937 | #define _gloffset_VertexAttribI1ivEXT 870 |
| 938 | #define _gloffset_VertexAttribI1uiEXT 871 |
| 939 | #define _gloffset_VertexAttribI1uivEXT 872 |
| 940 | #define _gloffset_VertexAttribI2iEXT 873 |
| 941 | #define _gloffset_VertexAttribI2ivEXT 874 |
| 942 | #define _gloffset_VertexAttribI2uiEXT 875 |
| 943 | #define _gloffset_VertexAttribI2uivEXT 876 |
| 944 | #define _gloffset_VertexAttribI3iEXT 877 |
| 945 | #define _gloffset_VertexAttribI3ivEXT 878 |
| 946 | #define _gloffset_VertexAttribI3uiEXT 879 |
| 947 | #define _gloffset_VertexAttribI3uivEXT 880 |
| 948 | #define _gloffset_VertexAttribI4bvEXT 881 |
| 949 | #define _gloffset_VertexAttribI4iEXT 882 |
| 950 | #define _gloffset_VertexAttribI4ivEXT 883 |
| 951 | #define _gloffset_VertexAttribI4svEXT 884 |
| 952 | #define _gloffset_VertexAttribI4ubvEXT 885 |
| 953 | #define _gloffset_VertexAttribI4uiEXT 886 |
| 954 | #define _gloffset_VertexAttribI4uivEXT 887 |
| 955 | #define _gloffset_VertexAttribI4usvEXT 888 |
| 956 | #define _gloffset_VertexAttribIPointerEXT 889 |
| 957 | #define _gloffset_FramebufferTextureLayerEXT 890 |
| 958 | #define _gloffset_ColorMaskIndexedEXT 891 |
| 959 | #define _gloffset_DisableIndexedEXT 892 |
| 960 | #define _gloffset_EnableIndexedEXT 893 |
| 961 | #define _gloffset_GetBooleanIndexedvEXT 894 |
| 962 | #define _gloffset_GetIntegerIndexedvEXT 895 |
| 963 | #define _gloffset_IsEnabledIndexedEXT 896 |
| 964 | #define _gloffset_ClearColorIiEXT 897 |
| 965 | #define _gloffset_ClearColorIuiEXT 898 |
| 966 | #define _gloffset_GetTexParameterIivEXT 899 |
| 967 | #define _gloffset_GetTexParameterIuivEXT 900 |
| 968 | #define _gloffset_TexParameterIivEXT 901 |
| 969 | #define _gloffset_TexParameterIuivEXT 902 |
| 970 | #define _gloffset_BeginConditionalRenderNV 903 |
| 971 | #define _gloffset_EndConditionalRenderNV 904 |
| 972 | #define _gloffset_BeginTransformFeedbackEXT 905 |
| 973 | #define _gloffset_BindBufferBaseEXT 906 |
| 974 | #define _gloffset_BindBufferOffsetEXT 907 |
| 975 | #define _gloffset_BindBufferRangeEXT 908 |
| 976 | #define _gloffset_EndTransformFeedbackEXT 909 |
| 977 | #define _gloffset_GetTransformFeedbackVaryingEXT 910 |
| 978 | #define _gloffset_TransformFeedbackVaryingsEXT 911 |
| 979 | #define _gloffset_ProvokingVertexEXT 912 |
| 980 | #define _gloffset_GetTexParameterPointervAPPLE 913 |
| 981 | #define _gloffset_TextureRangeAPPLE 914 |
| 982 | #define _gloffset_GetObjectParameterivAPPLE 915 |
| 983 | #define _gloffset_ObjectPurgeableAPPLE 916 |
| 984 | #define _gloffset_ObjectUnpurgeableAPPLE 917 |
| 985 | #define _gloffset_ActiveProgramEXT 918 |
| 986 | #define _gloffset_CreateShaderProgramEXT 919 |
| 987 | #define _gloffset_UseShaderProgramEXT 920 |
| 988 | #define _gloffset_TextureBarrierNV 921 |
| 989 | #define _gloffset_StencilFuncSeparateATI 922 |
| 990 | #define _gloffset_ProgramEnvParameters4fvEXT 923 |
| 991 | #define _gloffset_ProgramLocalParameters4fvEXT 924 |
| 992 | #define _gloffset_GetQueryObjecti64vEXT 925 |
| 993 | #define _gloffset_GetQueryObjectui64vEXT 926 |
| 994 | #define _gloffset_EGLImageTargetRenderbufferStorageOES 927 |
| 995 | #define _gloffset_EGLImageTargetTexture2DOES 928 |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 996 | |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 997 | #else /* !_GLAPI_USE_REMAP_TABLE */ |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 998 | |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 999 | #define driDispatchRemapTable_size 521 |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 1000 | extern int driDispatchRemapTable[ driDispatchRemapTable_size ]; |
| 1001 | |
| 1002 | #define AttachShader_remap_index 0 |
| 1003 | #define CreateProgram_remap_index 1 |
| 1004 | #define CreateShader_remap_index 2 |
| 1005 | #define DeleteProgram_remap_index 3 |
| 1006 | #define DeleteShader_remap_index 4 |
| 1007 | #define DetachShader_remap_index 5 |
| 1008 | #define GetAttachedShaders_remap_index 6 |
| 1009 | #define GetProgramInfoLog_remap_index 7 |
| 1010 | #define GetProgramiv_remap_index 8 |
| 1011 | #define GetShaderInfoLog_remap_index 9 |
| 1012 | #define GetShaderiv_remap_index 10 |
| 1013 | #define IsProgram_remap_index 11 |
| 1014 | #define IsShader_remap_index 12 |
| 1015 | #define StencilFuncSeparate_remap_index 13 |
| 1016 | #define StencilMaskSeparate_remap_index 14 |
| 1017 | #define StencilOpSeparate_remap_index 15 |
| 1018 | #define UniformMatrix2x3fv_remap_index 16 |
| 1019 | #define UniformMatrix2x4fv_remap_index 17 |
| 1020 | #define UniformMatrix3x2fv_remap_index 18 |
| 1021 | #define UniformMatrix3x4fv_remap_index 19 |
| 1022 | #define UniformMatrix4x2fv_remap_index 20 |
| 1023 | #define UniformMatrix4x3fv_remap_index 21 |
| Brian Paul | 5ed51e9 | 2010-11-21 09:19:23 -0700 | [diff] [blame] | 1024 | #define ClampColor_remap_index 22 |
| 1025 | #define ClearBufferfi_remap_index 23 |
| 1026 | #define ClearBufferfv_remap_index 24 |
| 1027 | #define ClearBufferiv_remap_index 25 |
| 1028 | #define ClearBufferuiv_remap_index 26 |
| 1029 | #define GetStringi_remap_index 27 |
| 1030 | #define TexBuffer_remap_index 28 |
| 1031 | #define FramebufferTexture_remap_index 29 |
| 1032 | #define GetBufferParameteri64v_remap_index 30 |
| 1033 | #define GetInteger64i_v_remap_index 31 |
| 1034 | #define VertexAttribDivisor_remap_index 32 |
| 1035 | #define LoadTransposeMatrixdARB_remap_index 33 |
| 1036 | #define LoadTransposeMatrixfARB_remap_index 34 |
| 1037 | #define MultTransposeMatrixdARB_remap_index 35 |
| 1038 | #define MultTransposeMatrixfARB_remap_index 36 |
| 1039 | #define SampleCoverageARB_remap_index 37 |
| 1040 | #define CompressedTexImage1DARB_remap_index 38 |
| 1041 | #define CompressedTexImage2DARB_remap_index 39 |
| 1042 | #define CompressedTexImage3DARB_remap_index 40 |
| 1043 | #define CompressedTexSubImage1DARB_remap_index 41 |
| 1044 | #define CompressedTexSubImage2DARB_remap_index 42 |
| 1045 | #define CompressedTexSubImage3DARB_remap_index 43 |
| 1046 | #define GetCompressedTexImageARB_remap_index 44 |
| 1047 | #define DisableVertexAttribArrayARB_remap_index 45 |
| 1048 | #define EnableVertexAttribArrayARB_remap_index 46 |
| 1049 | #define GetProgramEnvParameterdvARB_remap_index 47 |
| 1050 | #define GetProgramEnvParameterfvARB_remap_index 48 |
| 1051 | #define GetProgramLocalParameterdvARB_remap_index 49 |
| 1052 | #define GetProgramLocalParameterfvARB_remap_index 50 |
| 1053 | #define GetProgramStringARB_remap_index 51 |
| 1054 | #define GetProgramivARB_remap_index 52 |
| 1055 | #define GetVertexAttribdvARB_remap_index 53 |
| 1056 | #define GetVertexAttribfvARB_remap_index 54 |
| 1057 | #define GetVertexAttribivARB_remap_index 55 |
| 1058 | #define ProgramEnvParameter4dARB_remap_index 56 |
| 1059 | #define ProgramEnvParameter4dvARB_remap_index 57 |
| 1060 | #define ProgramEnvParameter4fARB_remap_index 58 |
| 1061 | #define ProgramEnvParameter4fvARB_remap_index 59 |
| 1062 | #define ProgramLocalParameter4dARB_remap_index 60 |
| 1063 | #define ProgramLocalParameter4dvARB_remap_index 61 |
| 1064 | #define ProgramLocalParameter4fARB_remap_index 62 |
| 1065 | #define ProgramLocalParameter4fvARB_remap_index 63 |
| 1066 | #define ProgramStringARB_remap_index 64 |
| 1067 | #define VertexAttrib1dARB_remap_index 65 |
| 1068 | #define VertexAttrib1dvARB_remap_index 66 |
| 1069 | #define VertexAttrib1fARB_remap_index 67 |
| 1070 | #define VertexAttrib1fvARB_remap_index 68 |
| 1071 | #define VertexAttrib1sARB_remap_index 69 |
| 1072 | #define VertexAttrib1svARB_remap_index 70 |
| 1073 | #define VertexAttrib2dARB_remap_index 71 |
| 1074 | #define VertexAttrib2dvARB_remap_index 72 |
| 1075 | #define VertexAttrib2fARB_remap_index 73 |
| 1076 | #define VertexAttrib2fvARB_remap_index 74 |
| 1077 | #define VertexAttrib2sARB_remap_index 75 |
| 1078 | #define VertexAttrib2svARB_remap_index 76 |
| 1079 | #define VertexAttrib3dARB_remap_index 77 |
| 1080 | #define VertexAttrib3dvARB_remap_index 78 |
| 1081 | #define VertexAttrib3fARB_remap_index 79 |
| 1082 | #define VertexAttrib3fvARB_remap_index 80 |
| 1083 | #define VertexAttrib3sARB_remap_index 81 |
| 1084 | #define VertexAttrib3svARB_remap_index 82 |
| 1085 | #define VertexAttrib4NbvARB_remap_index 83 |
| 1086 | #define VertexAttrib4NivARB_remap_index 84 |
| 1087 | #define VertexAttrib4NsvARB_remap_index 85 |
| 1088 | #define VertexAttrib4NubARB_remap_index 86 |
| 1089 | #define VertexAttrib4NubvARB_remap_index 87 |
| 1090 | #define VertexAttrib4NuivARB_remap_index 88 |
| 1091 | #define VertexAttrib4NusvARB_remap_index 89 |
| 1092 | #define VertexAttrib4bvARB_remap_index 90 |
| 1093 | #define VertexAttrib4dARB_remap_index 91 |
| 1094 | #define VertexAttrib4dvARB_remap_index 92 |
| 1095 | #define VertexAttrib4fARB_remap_index 93 |
| 1096 | #define VertexAttrib4fvARB_remap_index 94 |
| 1097 | #define VertexAttrib4ivARB_remap_index 95 |
| 1098 | #define VertexAttrib4sARB_remap_index 96 |
| 1099 | #define VertexAttrib4svARB_remap_index 97 |
| 1100 | #define VertexAttrib4ubvARB_remap_index 98 |
| 1101 | #define VertexAttrib4uivARB_remap_index 99 |
| 1102 | #define VertexAttrib4usvARB_remap_index 100 |
| 1103 | #define VertexAttribPointerARB_remap_index 101 |
| 1104 | #define BindBufferARB_remap_index 102 |
| 1105 | #define BufferDataARB_remap_index 103 |
| 1106 | #define BufferSubDataARB_remap_index 104 |
| 1107 | #define DeleteBuffersARB_remap_index 105 |
| 1108 | #define GenBuffersARB_remap_index 106 |
| 1109 | #define GetBufferParameterivARB_remap_index 107 |
| 1110 | #define GetBufferPointervARB_remap_index 108 |
| 1111 | #define GetBufferSubDataARB_remap_index 109 |
| 1112 | #define IsBufferARB_remap_index 110 |
| 1113 | #define MapBufferARB_remap_index 111 |
| 1114 | #define UnmapBufferARB_remap_index 112 |
| 1115 | #define BeginQueryARB_remap_index 113 |
| 1116 | #define DeleteQueriesARB_remap_index 114 |
| 1117 | #define EndQueryARB_remap_index 115 |
| 1118 | #define GenQueriesARB_remap_index 116 |
| 1119 | #define GetQueryObjectivARB_remap_index 117 |
| 1120 | #define GetQueryObjectuivARB_remap_index 118 |
| 1121 | #define GetQueryivARB_remap_index 119 |
| 1122 | #define IsQueryARB_remap_index 120 |
| 1123 | #define AttachObjectARB_remap_index 121 |
| 1124 | #define CompileShaderARB_remap_index 122 |
| 1125 | #define CreateProgramObjectARB_remap_index 123 |
| 1126 | #define CreateShaderObjectARB_remap_index 124 |
| 1127 | #define DeleteObjectARB_remap_index 125 |
| 1128 | #define DetachObjectARB_remap_index 126 |
| 1129 | #define GetActiveUniformARB_remap_index 127 |
| 1130 | #define GetAttachedObjectsARB_remap_index 128 |
| 1131 | #define GetHandleARB_remap_index 129 |
| 1132 | #define GetInfoLogARB_remap_index 130 |
| 1133 | #define GetObjectParameterfvARB_remap_index 131 |
| 1134 | #define GetObjectParameterivARB_remap_index 132 |
| 1135 | #define GetShaderSourceARB_remap_index 133 |
| 1136 | #define GetUniformLocationARB_remap_index 134 |
| 1137 | #define GetUniformfvARB_remap_index 135 |
| 1138 | #define GetUniformivARB_remap_index 136 |
| 1139 | #define LinkProgramARB_remap_index 137 |
| 1140 | #define ShaderSourceARB_remap_index 138 |
| 1141 | #define Uniform1fARB_remap_index 139 |
| 1142 | #define Uniform1fvARB_remap_index 140 |
| 1143 | #define Uniform1iARB_remap_index 141 |
| 1144 | #define Uniform1ivARB_remap_index 142 |
| 1145 | #define Uniform2fARB_remap_index 143 |
| 1146 | #define Uniform2fvARB_remap_index 144 |
| 1147 | #define Uniform2iARB_remap_index 145 |
| 1148 | #define Uniform2ivARB_remap_index 146 |
| 1149 | #define Uniform3fARB_remap_index 147 |
| 1150 | #define Uniform3fvARB_remap_index 148 |
| 1151 | #define Uniform3iARB_remap_index 149 |
| 1152 | #define Uniform3ivARB_remap_index 150 |
| 1153 | #define Uniform4fARB_remap_index 151 |
| 1154 | #define Uniform4fvARB_remap_index 152 |
| 1155 | #define Uniform4iARB_remap_index 153 |
| 1156 | #define Uniform4ivARB_remap_index 154 |
| 1157 | #define UniformMatrix2fvARB_remap_index 155 |
| 1158 | #define UniformMatrix3fvARB_remap_index 156 |
| 1159 | #define UniformMatrix4fvARB_remap_index 157 |
| 1160 | #define UseProgramObjectARB_remap_index 158 |
| 1161 | #define ValidateProgramARB_remap_index 159 |
| 1162 | #define BindAttribLocationARB_remap_index 160 |
| 1163 | #define GetActiveAttribARB_remap_index 161 |
| 1164 | #define GetAttribLocationARB_remap_index 162 |
| 1165 | #define DrawBuffersARB_remap_index 163 |
| Marek Olšák | 3bdd12e | 2011-02-16 00:02:15 +0100 | [diff] [blame] | 1166 | #define ClampColorARB_remap_index 164 |
| 1167 | #define DrawArraysInstancedARB_remap_index 165 |
| 1168 | #define DrawElementsInstancedARB_remap_index 166 |
| 1169 | #define RenderbufferStorageMultisample_remap_index 167 |
| 1170 | #define FramebufferTextureARB_remap_index 168 |
| 1171 | #define FramebufferTextureFaceARB_remap_index 169 |
| 1172 | #define ProgramParameteriARB_remap_index 170 |
| 1173 | #define VertexAttribDivisorARB_remap_index 171 |
| 1174 | #define FlushMappedBufferRange_remap_index 172 |
| 1175 | #define MapBufferRange_remap_index 173 |
| Brian Paul | 9a77e28 | 2011-04-05 18:50:39 -0600 | [diff] [blame] | 1176 | #define TexBufferARB_remap_index 174 |
| 1177 | #define BindVertexArray_remap_index 175 |
| 1178 | #define GenVertexArrays_remap_index 176 |
| 1179 | #define CopyBufferSubData_remap_index 177 |
| 1180 | #define ClientWaitSync_remap_index 178 |
| 1181 | #define DeleteSync_remap_index 179 |
| 1182 | #define FenceSync_remap_index 180 |
| 1183 | #define GetInteger64v_remap_index 181 |
| 1184 | #define GetSynciv_remap_index 182 |
| 1185 | #define IsSync_remap_index 183 |
| 1186 | #define WaitSync_remap_index 184 |
| 1187 | #define DrawElementsBaseVertex_remap_index 185 |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 1188 | #define DrawElementsInstancedBaseVertex_remap_index 186 |
| 1189 | #define DrawRangeElementsBaseVertex_remap_index 187 |
| 1190 | #define MultiDrawElementsBaseVertex_remap_index 188 |
| 1191 | #define BlendEquationSeparateiARB_remap_index 189 |
| 1192 | #define BlendEquationiARB_remap_index 190 |
| 1193 | #define BlendFuncSeparateiARB_remap_index 191 |
| 1194 | #define BlendFunciARB_remap_index 192 |
| 1195 | #define BindSampler_remap_index 193 |
| 1196 | #define DeleteSamplers_remap_index 194 |
| 1197 | #define GenSamplers_remap_index 195 |
| 1198 | #define GetSamplerParameterIiv_remap_index 196 |
| 1199 | #define GetSamplerParameterIuiv_remap_index 197 |
| 1200 | #define GetSamplerParameterfv_remap_index 198 |
| 1201 | #define GetSamplerParameteriv_remap_index 199 |
| 1202 | #define IsSampler_remap_index 200 |
| 1203 | #define SamplerParameterIiv_remap_index 201 |
| 1204 | #define SamplerParameterIuiv_remap_index 202 |
| 1205 | #define SamplerParameterf_remap_index 203 |
| 1206 | #define SamplerParameterfv_remap_index 204 |
| 1207 | #define SamplerParameteri_remap_index 205 |
| 1208 | #define SamplerParameteriv_remap_index 206 |
| 1209 | #define BindTransformFeedback_remap_index 207 |
| 1210 | #define DeleteTransformFeedbacks_remap_index 208 |
| 1211 | #define DrawTransformFeedback_remap_index 209 |
| 1212 | #define GenTransformFeedbacks_remap_index 210 |
| 1213 | #define IsTransformFeedback_remap_index 211 |
| 1214 | #define PauseTransformFeedback_remap_index 212 |
| 1215 | #define ResumeTransformFeedback_remap_index 213 |
| 1216 | #define ClearDepthf_remap_index 214 |
| 1217 | #define DepthRangef_remap_index 215 |
| 1218 | #define GetShaderPrecisionFormat_remap_index 216 |
| 1219 | #define ReleaseShaderCompiler_remap_index 217 |
| 1220 | #define ShaderBinary_remap_index 218 |
| 1221 | #define GetGraphicsResetStatusARB_remap_index 219 |
| 1222 | #define GetnColorTableARB_remap_index 220 |
| 1223 | #define GetnCompressedTexImageARB_remap_index 221 |
| 1224 | #define GetnConvolutionFilterARB_remap_index 222 |
| 1225 | #define GetnHistogramARB_remap_index 223 |
| 1226 | #define GetnMapdvARB_remap_index 224 |
| 1227 | #define GetnMapfvARB_remap_index 225 |
| 1228 | #define GetnMapivARB_remap_index 226 |
| 1229 | #define GetnMinmaxARB_remap_index 227 |
| 1230 | #define GetnPixelMapfvARB_remap_index 228 |
| 1231 | #define GetnPixelMapuivARB_remap_index 229 |
| 1232 | #define GetnPixelMapusvARB_remap_index 230 |
| 1233 | #define GetnPolygonStippleARB_remap_index 231 |
| 1234 | #define GetnSeparableFilterARB_remap_index 232 |
| 1235 | #define GetnTexImageARB_remap_index 233 |
| 1236 | #define GetnUniformdvARB_remap_index 234 |
| 1237 | #define GetnUniformfvARB_remap_index 235 |
| 1238 | #define GetnUniformivARB_remap_index 236 |
| 1239 | #define GetnUniformuivARB_remap_index 237 |
| 1240 | #define ReadnPixelsARB_remap_index 238 |
| 1241 | #define PolygonOffsetEXT_remap_index 239 |
| 1242 | #define GetPixelTexGenParameterfvSGIS_remap_index 240 |
| 1243 | #define GetPixelTexGenParameterivSGIS_remap_index 241 |
| 1244 | #define PixelTexGenParameterfSGIS_remap_index 242 |
| 1245 | #define PixelTexGenParameterfvSGIS_remap_index 243 |
| 1246 | #define PixelTexGenParameteriSGIS_remap_index 244 |
| 1247 | #define PixelTexGenParameterivSGIS_remap_index 245 |
| 1248 | #define SampleMaskSGIS_remap_index 246 |
| 1249 | #define SamplePatternSGIS_remap_index 247 |
| 1250 | #define ColorPointerEXT_remap_index 248 |
| 1251 | #define EdgeFlagPointerEXT_remap_index 249 |
| 1252 | #define IndexPointerEXT_remap_index 250 |
| 1253 | #define NormalPointerEXT_remap_index 251 |
| 1254 | #define TexCoordPointerEXT_remap_index 252 |
| 1255 | #define VertexPointerEXT_remap_index 253 |
| 1256 | #define PointParameterfEXT_remap_index 254 |
| 1257 | #define PointParameterfvEXT_remap_index 255 |
| 1258 | #define LockArraysEXT_remap_index 256 |
| 1259 | #define UnlockArraysEXT_remap_index 257 |
| 1260 | #define SecondaryColor3bEXT_remap_index 258 |
| 1261 | #define SecondaryColor3bvEXT_remap_index 259 |
| 1262 | #define SecondaryColor3dEXT_remap_index 260 |
| 1263 | #define SecondaryColor3dvEXT_remap_index 261 |
| 1264 | #define SecondaryColor3fEXT_remap_index 262 |
| 1265 | #define SecondaryColor3fvEXT_remap_index 263 |
| 1266 | #define SecondaryColor3iEXT_remap_index 264 |
| 1267 | #define SecondaryColor3ivEXT_remap_index 265 |
| 1268 | #define SecondaryColor3sEXT_remap_index 266 |
| 1269 | #define SecondaryColor3svEXT_remap_index 267 |
| 1270 | #define SecondaryColor3ubEXT_remap_index 268 |
| 1271 | #define SecondaryColor3ubvEXT_remap_index 269 |
| 1272 | #define SecondaryColor3uiEXT_remap_index 270 |
| 1273 | #define SecondaryColor3uivEXT_remap_index 271 |
| 1274 | #define SecondaryColor3usEXT_remap_index 272 |
| 1275 | #define SecondaryColor3usvEXT_remap_index 273 |
| 1276 | #define SecondaryColorPointerEXT_remap_index 274 |
| 1277 | #define MultiDrawArraysEXT_remap_index 275 |
| 1278 | #define MultiDrawElementsEXT_remap_index 276 |
| 1279 | #define FogCoordPointerEXT_remap_index 277 |
| 1280 | #define FogCoorddEXT_remap_index 278 |
| 1281 | #define FogCoorddvEXT_remap_index 279 |
| 1282 | #define FogCoordfEXT_remap_index 280 |
| 1283 | #define FogCoordfvEXT_remap_index 281 |
| 1284 | #define PixelTexGenSGIX_remap_index 282 |
| 1285 | #define BlendFuncSeparateEXT_remap_index 283 |
| 1286 | #define FlushVertexArrayRangeNV_remap_index 284 |
| 1287 | #define VertexArrayRangeNV_remap_index 285 |
| 1288 | #define CombinerInputNV_remap_index 286 |
| 1289 | #define CombinerOutputNV_remap_index 287 |
| 1290 | #define CombinerParameterfNV_remap_index 288 |
| 1291 | #define CombinerParameterfvNV_remap_index 289 |
| 1292 | #define CombinerParameteriNV_remap_index 290 |
| 1293 | #define CombinerParameterivNV_remap_index 291 |
| 1294 | #define FinalCombinerInputNV_remap_index 292 |
| 1295 | #define GetCombinerInputParameterfvNV_remap_index 293 |
| 1296 | #define GetCombinerInputParameterivNV_remap_index 294 |
| 1297 | #define GetCombinerOutputParameterfvNV_remap_index 295 |
| 1298 | #define GetCombinerOutputParameterivNV_remap_index 296 |
| 1299 | #define GetFinalCombinerInputParameterfvNV_remap_index 297 |
| 1300 | #define GetFinalCombinerInputParameterivNV_remap_index 298 |
| 1301 | #define ResizeBuffersMESA_remap_index 299 |
| 1302 | #define WindowPos2dMESA_remap_index 300 |
| 1303 | #define WindowPos2dvMESA_remap_index 301 |
| 1304 | #define WindowPos2fMESA_remap_index 302 |
| 1305 | #define WindowPos2fvMESA_remap_index 303 |
| 1306 | #define WindowPos2iMESA_remap_index 304 |
| 1307 | #define WindowPos2ivMESA_remap_index 305 |
| 1308 | #define WindowPos2sMESA_remap_index 306 |
| 1309 | #define WindowPos2svMESA_remap_index 307 |
| 1310 | #define WindowPos3dMESA_remap_index 308 |
| 1311 | #define WindowPos3dvMESA_remap_index 309 |
| 1312 | #define WindowPos3fMESA_remap_index 310 |
| 1313 | #define WindowPos3fvMESA_remap_index 311 |
| 1314 | #define WindowPos3iMESA_remap_index 312 |
| 1315 | #define WindowPos3ivMESA_remap_index 313 |
| 1316 | #define WindowPos3sMESA_remap_index 314 |
| 1317 | #define WindowPos3svMESA_remap_index 315 |
| 1318 | #define WindowPos4dMESA_remap_index 316 |
| 1319 | #define WindowPos4dvMESA_remap_index 317 |
| 1320 | #define WindowPos4fMESA_remap_index 318 |
| 1321 | #define WindowPos4fvMESA_remap_index 319 |
| 1322 | #define WindowPos4iMESA_remap_index 320 |
| 1323 | #define WindowPos4ivMESA_remap_index 321 |
| 1324 | #define WindowPos4sMESA_remap_index 322 |
| 1325 | #define WindowPos4svMESA_remap_index 323 |
| 1326 | #define MultiModeDrawArraysIBM_remap_index 324 |
| 1327 | #define MultiModeDrawElementsIBM_remap_index 325 |
| 1328 | #define DeleteFencesNV_remap_index 326 |
| 1329 | #define FinishFenceNV_remap_index 327 |
| 1330 | #define GenFencesNV_remap_index 328 |
| 1331 | #define GetFenceivNV_remap_index 329 |
| 1332 | #define IsFenceNV_remap_index 330 |
| 1333 | #define SetFenceNV_remap_index 331 |
| 1334 | #define TestFenceNV_remap_index 332 |
| 1335 | #define AreProgramsResidentNV_remap_index 333 |
| 1336 | #define BindProgramNV_remap_index 334 |
| 1337 | #define DeleteProgramsNV_remap_index 335 |
| 1338 | #define ExecuteProgramNV_remap_index 336 |
| 1339 | #define GenProgramsNV_remap_index 337 |
| 1340 | #define GetProgramParameterdvNV_remap_index 338 |
| 1341 | #define GetProgramParameterfvNV_remap_index 339 |
| 1342 | #define GetProgramStringNV_remap_index 340 |
| 1343 | #define GetProgramivNV_remap_index 341 |
| 1344 | #define GetTrackMatrixivNV_remap_index 342 |
| 1345 | #define GetVertexAttribPointervNV_remap_index 343 |
| 1346 | #define GetVertexAttribdvNV_remap_index 344 |
| 1347 | #define GetVertexAttribfvNV_remap_index 345 |
| 1348 | #define GetVertexAttribivNV_remap_index 346 |
| 1349 | #define IsProgramNV_remap_index 347 |
| 1350 | #define LoadProgramNV_remap_index 348 |
| 1351 | #define ProgramParameters4dvNV_remap_index 349 |
| 1352 | #define ProgramParameters4fvNV_remap_index 350 |
| 1353 | #define RequestResidentProgramsNV_remap_index 351 |
| 1354 | #define TrackMatrixNV_remap_index 352 |
| 1355 | #define VertexAttrib1dNV_remap_index 353 |
| 1356 | #define VertexAttrib1dvNV_remap_index 354 |
| 1357 | #define VertexAttrib1fNV_remap_index 355 |
| 1358 | #define VertexAttrib1fvNV_remap_index 356 |
| 1359 | #define VertexAttrib1sNV_remap_index 357 |
| 1360 | #define VertexAttrib1svNV_remap_index 358 |
| 1361 | #define VertexAttrib2dNV_remap_index 359 |
| 1362 | #define VertexAttrib2dvNV_remap_index 360 |
| 1363 | #define VertexAttrib2fNV_remap_index 361 |
| 1364 | #define VertexAttrib2fvNV_remap_index 362 |
| 1365 | #define VertexAttrib2sNV_remap_index 363 |
| 1366 | #define VertexAttrib2svNV_remap_index 364 |
| 1367 | #define VertexAttrib3dNV_remap_index 365 |
| 1368 | #define VertexAttrib3dvNV_remap_index 366 |
| 1369 | #define VertexAttrib3fNV_remap_index 367 |
| 1370 | #define VertexAttrib3fvNV_remap_index 368 |
| 1371 | #define VertexAttrib3sNV_remap_index 369 |
| 1372 | #define VertexAttrib3svNV_remap_index 370 |
| 1373 | #define VertexAttrib4dNV_remap_index 371 |
| 1374 | #define VertexAttrib4dvNV_remap_index 372 |
| 1375 | #define VertexAttrib4fNV_remap_index 373 |
| 1376 | #define VertexAttrib4fvNV_remap_index 374 |
| 1377 | #define VertexAttrib4sNV_remap_index 375 |
| 1378 | #define VertexAttrib4svNV_remap_index 376 |
| 1379 | #define VertexAttrib4ubNV_remap_index 377 |
| 1380 | #define VertexAttrib4ubvNV_remap_index 378 |
| 1381 | #define VertexAttribPointerNV_remap_index 379 |
| 1382 | #define VertexAttribs1dvNV_remap_index 380 |
| 1383 | #define VertexAttribs1fvNV_remap_index 381 |
| 1384 | #define VertexAttribs1svNV_remap_index 382 |
| 1385 | #define VertexAttribs2dvNV_remap_index 383 |
| 1386 | #define VertexAttribs2fvNV_remap_index 384 |
| 1387 | #define VertexAttribs2svNV_remap_index 385 |
| 1388 | #define VertexAttribs3dvNV_remap_index 386 |
| 1389 | #define VertexAttribs3fvNV_remap_index 387 |
| 1390 | #define VertexAttribs3svNV_remap_index 388 |
| 1391 | #define VertexAttribs4dvNV_remap_index 389 |
| 1392 | #define VertexAttribs4fvNV_remap_index 390 |
| 1393 | #define VertexAttribs4svNV_remap_index 391 |
| 1394 | #define VertexAttribs4ubvNV_remap_index 392 |
| 1395 | #define GetTexBumpParameterfvATI_remap_index 393 |
| 1396 | #define GetTexBumpParameterivATI_remap_index 394 |
| 1397 | #define TexBumpParameterfvATI_remap_index 395 |
| 1398 | #define TexBumpParameterivATI_remap_index 396 |
| 1399 | #define AlphaFragmentOp1ATI_remap_index 397 |
| 1400 | #define AlphaFragmentOp2ATI_remap_index 398 |
| 1401 | #define AlphaFragmentOp3ATI_remap_index 399 |
| 1402 | #define BeginFragmentShaderATI_remap_index 400 |
| 1403 | #define BindFragmentShaderATI_remap_index 401 |
| 1404 | #define ColorFragmentOp1ATI_remap_index 402 |
| 1405 | #define ColorFragmentOp2ATI_remap_index 403 |
| 1406 | #define ColorFragmentOp3ATI_remap_index 404 |
| 1407 | #define DeleteFragmentShaderATI_remap_index 405 |
| 1408 | #define EndFragmentShaderATI_remap_index 406 |
| 1409 | #define GenFragmentShadersATI_remap_index 407 |
| 1410 | #define PassTexCoordATI_remap_index 408 |
| 1411 | #define SampleMapATI_remap_index 409 |
| 1412 | #define SetFragmentShaderConstantATI_remap_index 410 |
| 1413 | #define PointParameteriNV_remap_index 411 |
| 1414 | #define PointParameterivNV_remap_index 412 |
| 1415 | #define ActiveStencilFaceEXT_remap_index 413 |
| 1416 | #define BindVertexArrayAPPLE_remap_index 414 |
| 1417 | #define DeleteVertexArraysAPPLE_remap_index 415 |
| 1418 | #define GenVertexArraysAPPLE_remap_index 416 |
| 1419 | #define IsVertexArrayAPPLE_remap_index 417 |
| 1420 | #define GetProgramNamedParameterdvNV_remap_index 418 |
| 1421 | #define GetProgramNamedParameterfvNV_remap_index 419 |
| 1422 | #define ProgramNamedParameter4dNV_remap_index 420 |
| 1423 | #define ProgramNamedParameter4dvNV_remap_index 421 |
| 1424 | #define ProgramNamedParameter4fNV_remap_index 422 |
| 1425 | #define ProgramNamedParameter4fvNV_remap_index 423 |
| 1426 | #define PrimitiveRestartIndexNV_remap_index 424 |
| 1427 | #define PrimitiveRestartNV_remap_index 425 |
| 1428 | #define DepthBoundsEXT_remap_index 426 |
| 1429 | #define BlendEquationSeparateEXT_remap_index 427 |
| 1430 | #define BindFramebufferEXT_remap_index 428 |
| 1431 | #define BindRenderbufferEXT_remap_index 429 |
| 1432 | #define CheckFramebufferStatusEXT_remap_index 430 |
| 1433 | #define DeleteFramebuffersEXT_remap_index 431 |
| 1434 | #define DeleteRenderbuffersEXT_remap_index 432 |
| 1435 | #define FramebufferRenderbufferEXT_remap_index 433 |
| 1436 | #define FramebufferTexture1DEXT_remap_index 434 |
| 1437 | #define FramebufferTexture2DEXT_remap_index 435 |
| 1438 | #define FramebufferTexture3DEXT_remap_index 436 |
| 1439 | #define GenFramebuffersEXT_remap_index 437 |
| 1440 | #define GenRenderbuffersEXT_remap_index 438 |
| 1441 | #define GenerateMipmapEXT_remap_index 439 |
| 1442 | #define GetFramebufferAttachmentParameterivEXT_remap_index 440 |
| 1443 | #define GetRenderbufferParameterivEXT_remap_index 441 |
| 1444 | #define IsFramebufferEXT_remap_index 442 |
| 1445 | #define IsRenderbufferEXT_remap_index 443 |
| 1446 | #define RenderbufferStorageEXT_remap_index 444 |
| 1447 | #define BlitFramebufferEXT_remap_index 445 |
| 1448 | #define BufferParameteriAPPLE_remap_index 446 |
| 1449 | #define FlushMappedBufferRangeAPPLE_remap_index 447 |
| 1450 | #define BindFragDataLocationEXT_remap_index 448 |
| 1451 | #define GetFragDataLocationEXT_remap_index 449 |
| 1452 | #define GetUniformuivEXT_remap_index 450 |
| 1453 | #define GetVertexAttribIivEXT_remap_index 451 |
| 1454 | #define GetVertexAttribIuivEXT_remap_index 452 |
| 1455 | #define Uniform1uiEXT_remap_index 453 |
| 1456 | #define Uniform1uivEXT_remap_index 454 |
| 1457 | #define Uniform2uiEXT_remap_index 455 |
| 1458 | #define Uniform2uivEXT_remap_index 456 |
| 1459 | #define Uniform3uiEXT_remap_index 457 |
| 1460 | #define Uniform3uivEXT_remap_index 458 |
| 1461 | #define Uniform4uiEXT_remap_index 459 |
| 1462 | #define Uniform4uivEXT_remap_index 460 |
| 1463 | #define VertexAttribI1iEXT_remap_index 461 |
| 1464 | #define VertexAttribI1ivEXT_remap_index 462 |
| 1465 | #define VertexAttribI1uiEXT_remap_index 463 |
| 1466 | #define VertexAttribI1uivEXT_remap_index 464 |
| 1467 | #define VertexAttribI2iEXT_remap_index 465 |
| 1468 | #define VertexAttribI2ivEXT_remap_index 466 |
| 1469 | #define VertexAttribI2uiEXT_remap_index 467 |
| 1470 | #define VertexAttribI2uivEXT_remap_index 468 |
| 1471 | #define VertexAttribI3iEXT_remap_index 469 |
| 1472 | #define VertexAttribI3ivEXT_remap_index 470 |
| 1473 | #define VertexAttribI3uiEXT_remap_index 471 |
| 1474 | #define VertexAttribI3uivEXT_remap_index 472 |
| 1475 | #define VertexAttribI4bvEXT_remap_index 473 |
| 1476 | #define VertexAttribI4iEXT_remap_index 474 |
| 1477 | #define VertexAttribI4ivEXT_remap_index 475 |
| 1478 | #define VertexAttribI4svEXT_remap_index 476 |
| 1479 | #define VertexAttribI4ubvEXT_remap_index 477 |
| 1480 | #define VertexAttribI4uiEXT_remap_index 478 |
| 1481 | #define VertexAttribI4uivEXT_remap_index 479 |
| 1482 | #define VertexAttribI4usvEXT_remap_index 480 |
| 1483 | #define VertexAttribIPointerEXT_remap_index 481 |
| 1484 | #define FramebufferTextureLayerEXT_remap_index 482 |
| 1485 | #define ColorMaskIndexedEXT_remap_index 483 |
| 1486 | #define DisableIndexedEXT_remap_index 484 |
| 1487 | #define EnableIndexedEXT_remap_index 485 |
| 1488 | #define GetBooleanIndexedvEXT_remap_index 486 |
| 1489 | #define GetIntegerIndexedvEXT_remap_index 487 |
| 1490 | #define IsEnabledIndexedEXT_remap_index 488 |
| 1491 | #define ClearColorIiEXT_remap_index 489 |
| 1492 | #define ClearColorIuiEXT_remap_index 490 |
| 1493 | #define GetTexParameterIivEXT_remap_index 491 |
| 1494 | #define GetTexParameterIuivEXT_remap_index 492 |
| 1495 | #define TexParameterIivEXT_remap_index 493 |
| 1496 | #define TexParameterIuivEXT_remap_index 494 |
| 1497 | #define BeginConditionalRenderNV_remap_index 495 |
| 1498 | #define EndConditionalRenderNV_remap_index 496 |
| 1499 | #define BeginTransformFeedbackEXT_remap_index 497 |
| 1500 | #define BindBufferBaseEXT_remap_index 498 |
| 1501 | #define BindBufferOffsetEXT_remap_index 499 |
| 1502 | #define BindBufferRangeEXT_remap_index 500 |
| 1503 | #define EndTransformFeedbackEXT_remap_index 501 |
| 1504 | #define GetTransformFeedbackVaryingEXT_remap_index 502 |
| 1505 | #define TransformFeedbackVaryingsEXT_remap_index 503 |
| 1506 | #define ProvokingVertexEXT_remap_index 504 |
| 1507 | #define GetTexParameterPointervAPPLE_remap_index 505 |
| 1508 | #define TextureRangeAPPLE_remap_index 506 |
| 1509 | #define GetObjectParameterivAPPLE_remap_index 507 |
| 1510 | #define ObjectPurgeableAPPLE_remap_index 508 |
| 1511 | #define ObjectUnpurgeableAPPLE_remap_index 509 |
| 1512 | #define ActiveProgramEXT_remap_index 510 |
| 1513 | #define CreateShaderProgramEXT_remap_index 511 |
| 1514 | #define UseShaderProgramEXT_remap_index 512 |
| 1515 | #define TextureBarrierNV_remap_index 513 |
| 1516 | #define StencilFuncSeparateATI_remap_index 514 |
| 1517 | #define ProgramEnvParameters4fvEXT_remap_index 515 |
| 1518 | #define ProgramLocalParameters4fvEXT_remap_index 516 |
| 1519 | #define GetQueryObjecti64vEXT_remap_index 517 |
| 1520 | #define GetQueryObjectui64vEXT_remap_index 518 |
| 1521 | #define EGLImageTargetRenderbufferStorageOES_remap_index 519 |
| 1522 | #define EGLImageTargetTexture2DOES_remap_index 520 |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 1523 | |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1524 | #define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index] |
| 1525 | #define _gloffset_CreateProgram driDispatchRemapTable[CreateProgram_remap_index] |
| 1526 | #define _gloffset_CreateShader driDispatchRemapTable[CreateShader_remap_index] |
| 1527 | #define _gloffset_DeleteProgram driDispatchRemapTable[DeleteProgram_remap_index] |
| 1528 | #define _gloffset_DeleteShader driDispatchRemapTable[DeleteShader_remap_index] |
| 1529 | #define _gloffset_DetachShader driDispatchRemapTable[DetachShader_remap_index] |
| 1530 | #define _gloffset_GetAttachedShaders driDispatchRemapTable[GetAttachedShaders_remap_index] |
| 1531 | #define _gloffset_GetProgramInfoLog driDispatchRemapTable[GetProgramInfoLog_remap_index] |
| 1532 | #define _gloffset_GetProgramiv driDispatchRemapTable[GetProgramiv_remap_index] |
| 1533 | #define _gloffset_GetShaderInfoLog driDispatchRemapTable[GetShaderInfoLog_remap_index] |
| 1534 | #define _gloffset_GetShaderiv driDispatchRemapTable[GetShaderiv_remap_index] |
| 1535 | #define _gloffset_IsProgram driDispatchRemapTable[IsProgram_remap_index] |
| 1536 | #define _gloffset_IsShader driDispatchRemapTable[IsShader_remap_index] |
| 1537 | #define _gloffset_StencilFuncSeparate driDispatchRemapTable[StencilFuncSeparate_remap_index] |
| 1538 | #define _gloffset_StencilMaskSeparate driDispatchRemapTable[StencilMaskSeparate_remap_index] |
| 1539 | #define _gloffset_StencilOpSeparate driDispatchRemapTable[StencilOpSeparate_remap_index] |
| 1540 | #define _gloffset_UniformMatrix2x3fv driDispatchRemapTable[UniformMatrix2x3fv_remap_index] |
| 1541 | #define _gloffset_UniformMatrix2x4fv driDispatchRemapTable[UniformMatrix2x4fv_remap_index] |
| 1542 | #define _gloffset_UniformMatrix3x2fv driDispatchRemapTable[UniformMatrix3x2fv_remap_index] |
| 1543 | #define _gloffset_UniformMatrix3x4fv driDispatchRemapTable[UniformMatrix3x4fv_remap_index] |
| 1544 | #define _gloffset_UniformMatrix4x2fv driDispatchRemapTable[UniformMatrix4x2fv_remap_index] |
| 1545 | #define _gloffset_UniformMatrix4x3fv driDispatchRemapTable[UniformMatrix4x3fv_remap_index] |
| Brian Paul | 5ed51e9 | 2010-11-21 09:19:23 -0700 | [diff] [blame] | 1546 | #define _gloffset_ClampColor driDispatchRemapTable[ClampColor_remap_index] |
| 1547 | #define _gloffset_ClearBufferfi driDispatchRemapTable[ClearBufferfi_remap_index] |
| 1548 | #define _gloffset_ClearBufferfv driDispatchRemapTable[ClearBufferfv_remap_index] |
| 1549 | #define _gloffset_ClearBufferiv driDispatchRemapTable[ClearBufferiv_remap_index] |
| 1550 | #define _gloffset_ClearBufferuiv driDispatchRemapTable[ClearBufferuiv_remap_index] |
| 1551 | #define _gloffset_GetStringi driDispatchRemapTable[GetStringi_remap_index] |
| 1552 | #define _gloffset_TexBuffer driDispatchRemapTable[TexBuffer_remap_index] |
| 1553 | #define _gloffset_FramebufferTexture driDispatchRemapTable[FramebufferTexture_remap_index] |
| 1554 | #define _gloffset_GetBufferParameteri64v driDispatchRemapTable[GetBufferParameteri64v_remap_index] |
| 1555 | #define _gloffset_GetInteger64i_v driDispatchRemapTable[GetInteger64i_v_remap_index] |
| 1556 | #define _gloffset_VertexAttribDivisor driDispatchRemapTable[VertexAttribDivisor_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1557 | #define _gloffset_LoadTransposeMatrixdARB driDispatchRemapTable[LoadTransposeMatrixdARB_remap_index] |
| 1558 | #define _gloffset_LoadTransposeMatrixfARB driDispatchRemapTable[LoadTransposeMatrixfARB_remap_index] |
| 1559 | #define _gloffset_MultTransposeMatrixdARB driDispatchRemapTable[MultTransposeMatrixdARB_remap_index] |
| 1560 | #define _gloffset_MultTransposeMatrixfARB driDispatchRemapTable[MultTransposeMatrixfARB_remap_index] |
| 1561 | #define _gloffset_SampleCoverageARB driDispatchRemapTable[SampleCoverageARB_remap_index] |
| 1562 | #define _gloffset_CompressedTexImage1DARB driDispatchRemapTable[CompressedTexImage1DARB_remap_index] |
| 1563 | #define _gloffset_CompressedTexImage2DARB driDispatchRemapTable[CompressedTexImage2DARB_remap_index] |
| 1564 | #define _gloffset_CompressedTexImage3DARB driDispatchRemapTable[CompressedTexImage3DARB_remap_index] |
| 1565 | #define _gloffset_CompressedTexSubImage1DARB driDispatchRemapTable[CompressedTexSubImage1DARB_remap_index] |
| 1566 | #define _gloffset_CompressedTexSubImage2DARB driDispatchRemapTable[CompressedTexSubImage2DARB_remap_index] |
| 1567 | #define _gloffset_CompressedTexSubImage3DARB driDispatchRemapTable[CompressedTexSubImage3DARB_remap_index] |
| 1568 | #define _gloffset_GetCompressedTexImageARB driDispatchRemapTable[GetCompressedTexImageARB_remap_index] |
| 1569 | #define _gloffset_DisableVertexAttribArrayARB driDispatchRemapTable[DisableVertexAttribArrayARB_remap_index] |
| 1570 | #define _gloffset_EnableVertexAttribArrayARB driDispatchRemapTable[EnableVertexAttribArrayARB_remap_index] |
| 1571 | #define _gloffset_GetProgramEnvParameterdvARB driDispatchRemapTable[GetProgramEnvParameterdvARB_remap_index] |
| 1572 | #define _gloffset_GetProgramEnvParameterfvARB driDispatchRemapTable[GetProgramEnvParameterfvARB_remap_index] |
| 1573 | #define _gloffset_GetProgramLocalParameterdvARB driDispatchRemapTable[GetProgramLocalParameterdvARB_remap_index] |
| 1574 | #define _gloffset_GetProgramLocalParameterfvARB driDispatchRemapTable[GetProgramLocalParameterfvARB_remap_index] |
| 1575 | #define _gloffset_GetProgramStringARB driDispatchRemapTable[GetProgramStringARB_remap_index] |
| 1576 | #define _gloffset_GetProgramivARB driDispatchRemapTable[GetProgramivARB_remap_index] |
| 1577 | #define _gloffset_GetVertexAttribdvARB driDispatchRemapTable[GetVertexAttribdvARB_remap_index] |
| 1578 | #define _gloffset_GetVertexAttribfvARB driDispatchRemapTable[GetVertexAttribfvARB_remap_index] |
| 1579 | #define _gloffset_GetVertexAttribivARB driDispatchRemapTable[GetVertexAttribivARB_remap_index] |
| 1580 | #define _gloffset_ProgramEnvParameter4dARB driDispatchRemapTable[ProgramEnvParameter4dARB_remap_index] |
| 1581 | #define _gloffset_ProgramEnvParameter4dvARB driDispatchRemapTable[ProgramEnvParameter4dvARB_remap_index] |
| 1582 | #define _gloffset_ProgramEnvParameter4fARB driDispatchRemapTable[ProgramEnvParameter4fARB_remap_index] |
| 1583 | #define _gloffset_ProgramEnvParameter4fvARB driDispatchRemapTable[ProgramEnvParameter4fvARB_remap_index] |
| 1584 | #define _gloffset_ProgramLocalParameter4dARB driDispatchRemapTable[ProgramLocalParameter4dARB_remap_index] |
| 1585 | #define _gloffset_ProgramLocalParameter4dvARB driDispatchRemapTable[ProgramLocalParameter4dvARB_remap_index] |
| 1586 | #define _gloffset_ProgramLocalParameter4fARB driDispatchRemapTable[ProgramLocalParameter4fARB_remap_index] |
| 1587 | #define _gloffset_ProgramLocalParameter4fvARB driDispatchRemapTable[ProgramLocalParameter4fvARB_remap_index] |
| 1588 | #define _gloffset_ProgramStringARB driDispatchRemapTable[ProgramStringARB_remap_index] |
| 1589 | #define _gloffset_VertexAttrib1dARB driDispatchRemapTable[VertexAttrib1dARB_remap_index] |
| 1590 | #define _gloffset_VertexAttrib1dvARB driDispatchRemapTable[VertexAttrib1dvARB_remap_index] |
| 1591 | #define _gloffset_VertexAttrib1fARB driDispatchRemapTable[VertexAttrib1fARB_remap_index] |
| 1592 | #define _gloffset_VertexAttrib1fvARB driDispatchRemapTable[VertexAttrib1fvARB_remap_index] |
| 1593 | #define _gloffset_VertexAttrib1sARB driDispatchRemapTable[VertexAttrib1sARB_remap_index] |
| 1594 | #define _gloffset_VertexAttrib1svARB driDispatchRemapTable[VertexAttrib1svARB_remap_index] |
| 1595 | #define _gloffset_VertexAttrib2dARB driDispatchRemapTable[VertexAttrib2dARB_remap_index] |
| 1596 | #define _gloffset_VertexAttrib2dvARB driDispatchRemapTable[VertexAttrib2dvARB_remap_index] |
| 1597 | #define _gloffset_VertexAttrib2fARB driDispatchRemapTable[VertexAttrib2fARB_remap_index] |
| 1598 | #define _gloffset_VertexAttrib2fvARB driDispatchRemapTable[VertexAttrib2fvARB_remap_index] |
| 1599 | #define _gloffset_VertexAttrib2sARB driDispatchRemapTable[VertexAttrib2sARB_remap_index] |
| 1600 | #define _gloffset_VertexAttrib2svARB driDispatchRemapTable[VertexAttrib2svARB_remap_index] |
| 1601 | #define _gloffset_VertexAttrib3dARB driDispatchRemapTable[VertexAttrib3dARB_remap_index] |
| 1602 | #define _gloffset_VertexAttrib3dvARB driDispatchRemapTable[VertexAttrib3dvARB_remap_index] |
| 1603 | #define _gloffset_VertexAttrib3fARB driDispatchRemapTable[VertexAttrib3fARB_remap_index] |
| 1604 | #define _gloffset_VertexAttrib3fvARB driDispatchRemapTable[VertexAttrib3fvARB_remap_index] |
| 1605 | #define _gloffset_VertexAttrib3sARB driDispatchRemapTable[VertexAttrib3sARB_remap_index] |
| 1606 | #define _gloffset_VertexAttrib3svARB driDispatchRemapTable[VertexAttrib3svARB_remap_index] |
| 1607 | #define _gloffset_VertexAttrib4NbvARB driDispatchRemapTable[VertexAttrib4NbvARB_remap_index] |
| 1608 | #define _gloffset_VertexAttrib4NivARB driDispatchRemapTable[VertexAttrib4NivARB_remap_index] |
| 1609 | #define _gloffset_VertexAttrib4NsvARB driDispatchRemapTable[VertexAttrib4NsvARB_remap_index] |
| 1610 | #define _gloffset_VertexAttrib4NubARB driDispatchRemapTable[VertexAttrib4NubARB_remap_index] |
| 1611 | #define _gloffset_VertexAttrib4NubvARB driDispatchRemapTable[VertexAttrib4NubvARB_remap_index] |
| 1612 | #define _gloffset_VertexAttrib4NuivARB driDispatchRemapTable[VertexAttrib4NuivARB_remap_index] |
| 1613 | #define _gloffset_VertexAttrib4NusvARB driDispatchRemapTable[VertexAttrib4NusvARB_remap_index] |
| 1614 | #define _gloffset_VertexAttrib4bvARB driDispatchRemapTable[VertexAttrib4bvARB_remap_index] |
| 1615 | #define _gloffset_VertexAttrib4dARB driDispatchRemapTable[VertexAttrib4dARB_remap_index] |
| 1616 | #define _gloffset_VertexAttrib4dvARB driDispatchRemapTable[VertexAttrib4dvARB_remap_index] |
| 1617 | #define _gloffset_VertexAttrib4fARB driDispatchRemapTable[VertexAttrib4fARB_remap_index] |
| 1618 | #define _gloffset_VertexAttrib4fvARB driDispatchRemapTable[VertexAttrib4fvARB_remap_index] |
| 1619 | #define _gloffset_VertexAttrib4ivARB driDispatchRemapTable[VertexAttrib4ivARB_remap_index] |
| 1620 | #define _gloffset_VertexAttrib4sARB driDispatchRemapTable[VertexAttrib4sARB_remap_index] |
| 1621 | #define _gloffset_VertexAttrib4svARB driDispatchRemapTable[VertexAttrib4svARB_remap_index] |
| 1622 | #define _gloffset_VertexAttrib4ubvARB driDispatchRemapTable[VertexAttrib4ubvARB_remap_index] |
| 1623 | #define _gloffset_VertexAttrib4uivARB driDispatchRemapTable[VertexAttrib4uivARB_remap_index] |
| 1624 | #define _gloffset_VertexAttrib4usvARB driDispatchRemapTable[VertexAttrib4usvARB_remap_index] |
| 1625 | #define _gloffset_VertexAttribPointerARB driDispatchRemapTable[VertexAttribPointerARB_remap_index] |
| 1626 | #define _gloffset_BindBufferARB driDispatchRemapTable[BindBufferARB_remap_index] |
| 1627 | #define _gloffset_BufferDataARB driDispatchRemapTable[BufferDataARB_remap_index] |
| 1628 | #define _gloffset_BufferSubDataARB driDispatchRemapTable[BufferSubDataARB_remap_index] |
| 1629 | #define _gloffset_DeleteBuffersARB driDispatchRemapTable[DeleteBuffersARB_remap_index] |
| 1630 | #define _gloffset_GenBuffersARB driDispatchRemapTable[GenBuffersARB_remap_index] |
| 1631 | #define _gloffset_GetBufferParameterivARB driDispatchRemapTable[GetBufferParameterivARB_remap_index] |
| 1632 | #define _gloffset_GetBufferPointervARB driDispatchRemapTable[GetBufferPointervARB_remap_index] |
| 1633 | #define _gloffset_GetBufferSubDataARB driDispatchRemapTable[GetBufferSubDataARB_remap_index] |
| 1634 | #define _gloffset_IsBufferARB driDispatchRemapTable[IsBufferARB_remap_index] |
| 1635 | #define _gloffset_MapBufferARB driDispatchRemapTable[MapBufferARB_remap_index] |
| 1636 | #define _gloffset_UnmapBufferARB driDispatchRemapTable[UnmapBufferARB_remap_index] |
| 1637 | #define _gloffset_BeginQueryARB driDispatchRemapTable[BeginQueryARB_remap_index] |
| 1638 | #define _gloffset_DeleteQueriesARB driDispatchRemapTable[DeleteQueriesARB_remap_index] |
| 1639 | #define _gloffset_EndQueryARB driDispatchRemapTable[EndQueryARB_remap_index] |
| 1640 | #define _gloffset_GenQueriesARB driDispatchRemapTable[GenQueriesARB_remap_index] |
| 1641 | #define _gloffset_GetQueryObjectivARB driDispatchRemapTable[GetQueryObjectivARB_remap_index] |
| 1642 | #define _gloffset_GetQueryObjectuivARB driDispatchRemapTable[GetQueryObjectuivARB_remap_index] |
| 1643 | #define _gloffset_GetQueryivARB driDispatchRemapTable[GetQueryivARB_remap_index] |
| 1644 | #define _gloffset_IsQueryARB driDispatchRemapTable[IsQueryARB_remap_index] |
| 1645 | #define _gloffset_AttachObjectARB driDispatchRemapTable[AttachObjectARB_remap_index] |
| 1646 | #define _gloffset_CompileShaderARB driDispatchRemapTable[CompileShaderARB_remap_index] |
| 1647 | #define _gloffset_CreateProgramObjectARB driDispatchRemapTable[CreateProgramObjectARB_remap_index] |
| 1648 | #define _gloffset_CreateShaderObjectARB driDispatchRemapTable[CreateShaderObjectARB_remap_index] |
| 1649 | #define _gloffset_DeleteObjectARB driDispatchRemapTable[DeleteObjectARB_remap_index] |
| 1650 | #define _gloffset_DetachObjectARB driDispatchRemapTable[DetachObjectARB_remap_index] |
| 1651 | #define _gloffset_GetActiveUniformARB driDispatchRemapTable[GetActiveUniformARB_remap_index] |
| 1652 | #define _gloffset_GetAttachedObjectsARB driDispatchRemapTable[GetAttachedObjectsARB_remap_index] |
| 1653 | #define _gloffset_GetHandleARB driDispatchRemapTable[GetHandleARB_remap_index] |
| 1654 | #define _gloffset_GetInfoLogARB driDispatchRemapTable[GetInfoLogARB_remap_index] |
| 1655 | #define _gloffset_GetObjectParameterfvARB driDispatchRemapTable[GetObjectParameterfvARB_remap_index] |
| 1656 | #define _gloffset_GetObjectParameterivARB driDispatchRemapTable[GetObjectParameterivARB_remap_index] |
| 1657 | #define _gloffset_GetShaderSourceARB driDispatchRemapTable[GetShaderSourceARB_remap_index] |
| 1658 | #define _gloffset_GetUniformLocationARB driDispatchRemapTable[GetUniformLocationARB_remap_index] |
| 1659 | #define _gloffset_GetUniformfvARB driDispatchRemapTable[GetUniformfvARB_remap_index] |
| 1660 | #define _gloffset_GetUniformivARB driDispatchRemapTable[GetUniformivARB_remap_index] |
| 1661 | #define _gloffset_LinkProgramARB driDispatchRemapTable[LinkProgramARB_remap_index] |
| 1662 | #define _gloffset_ShaderSourceARB driDispatchRemapTable[ShaderSourceARB_remap_index] |
| 1663 | #define _gloffset_Uniform1fARB driDispatchRemapTable[Uniform1fARB_remap_index] |
| 1664 | #define _gloffset_Uniform1fvARB driDispatchRemapTable[Uniform1fvARB_remap_index] |
| 1665 | #define _gloffset_Uniform1iARB driDispatchRemapTable[Uniform1iARB_remap_index] |
| 1666 | #define _gloffset_Uniform1ivARB driDispatchRemapTable[Uniform1ivARB_remap_index] |
| 1667 | #define _gloffset_Uniform2fARB driDispatchRemapTable[Uniform2fARB_remap_index] |
| 1668 | #define _gloffset_Uniform2fvARB driDispatchRemapTable[Uniform2fvARB_remap_index] |
| 1669 | #define _gloffset_Uniform2iARB driDispatchRemapTable[Uniform2iARB_remap_index] |
| 1670 | #define _gloffset_Uniform2ivARB driDispatchRemapTable[Uniform2ivARB_remap_index] |
| 1671 | #define _gloffset_Uniform3fARB driDispatchRemapTable[Uniform3fARB_remap_index] |
| 1672 | #define _gloffset_Uniform3fvARB driDispatchRemapTable[Uniform3fvARB_remap_index] |
| 1673 | #define _gloffset_Uniform3iARB driDispatchRemapTable[Uniform3iARB_remap_index] |
| 1674 | #define _gloffset_Uniform3ivARB driDispatchRemapTable[Uniform3ivARB_remap_index] |
| 1675 | #define _gloffset_Uniform4fARB driDispatchRemapTable[Uniform4fARB_remap_index] |
| 1676 | #define _gloffset_Uniform4fvARB driDispatchRemapTable[Uniform4fvARB_remap_index] |
| 1677 | #define _gloffset_Uniform4iARB driDispatchRemapTable[Uniform4iARB_remap_index] |
| 1678 | #define _gloffset_Uniform4ivARB driDispatchRemapTable[Uniform4ivARB_remap_index] |
| 1679 | #define _gloffset_UniformMatrix2fvARB driDispatchRemapTable[UniformMatrix2fvARB_remap_index] |
| 1680 | #define _gloffset_UniformMatrix3fvARB driDispatchRemapTable[UniformMatrix3fvARB_remap_index] |
| 1681 | #define _gloffset_UniformMatrix4fvARB driDispatchRemapTable[UniformMatrix4fvARB_remap_index] |
| 1682 | #define _gloffset_UseProgramObjectARB driDispatchRemapTable[UseProgramObjectARB_remap_index] |
| 1683 | #define _gloffset_ValidateProgramARB driDispatchRemapTable[ValidateProgramARB_remap_index] |
| 1684 | #define _gloffset_BindAttribLocationARB driDispatchRemapTable[BindAttribLocationARB_remap_index] |
| 1685 | #define _gloffset_GetActiveAttribARB driDispatchRemapTable[GetActiveAttribARB_remap_index] |
| 1686 | #define _gloffset_GetAttribLocationARB driDispatchRemapTable[GetAttribLocationARB_remap_index] |
| 1687 | #define _gloffset_DrawBuffersARB driDispatchRemapTable[DrawBuffersARB_remap_index] |
| Marek Olšák | 3bdd12e | 2011-02-16 00:02:15 +0100 | [diff] [blame] | 1688 | #define _gloffset_ClampColorARB driDispatchRemapTable[ClampColorARB_remap_index] |
| Brian Paul | 5ed51e9 | 2010-11-21 09:19:23 -0700 | [diff] [blame] | 1689 | #define _gloffset_DrawArraysInstancedARB driDispatchRemapTable[DrawArraysInstancedARB_remap_index] |
| 1690 | #define _gloffset_DrawElementsInstancedARB driDispatchRemapTable[DrawElementsInstancedARB_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1691 | #define _gloffset_RenderbufferStorageMultisample driDispatchRemapTable[RenderbufferStorageMultisample_remap_index] |
| 1692 | #define _gloffset_FramebufferTextureARB driDispatchRemapTable[FramebufferTextureARB_remap_index] |
| 1693 | #define _gloffset_FramebufferTextureFaceARB driDispatchRemapTable[FramebufferTextureFaceARB_remap_index] |
| 1694 | #define _gloffset_ProgramParameteriARB driDispatchRemapTable[ProgramParameteriARB_remap_index] |
| Brian Paul | 1250e23 | 2011-01-15 10:32:34 -0700 | [diff] [blame] | 1695 | #define _gloffset_VertexAttribDivisorARB driDispatchRemapTable[VertexAttribDivisorARB_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1696 | #define _gloffset_FlushMappedBufferRange driDispatchRemapTable[FlushMappedBufferRange_remap_index] |
| 1697 | #define _gloffset_MapBufferRange driDispatchRemapTable[MapBufferRange_remap_index] |
| Brian Paul | 9a77e28 | 2011-04-05 18:50:39 -0600 | [diff] [blame] | 1698 | #define _gloffset_TexBufferARB driDispatchRemapTable[TexBufferARB_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1699 | #define _gloffset_BindVertexArray driDispatchRemapTable[BindVertexArray_remap_index] |
| 1700 | #define _gloffset_GenVertexArrays driDispatchRemapTable[GenVertexArrays_remap_index] |
| 1701 | #define _gloffset_CopyBufferSubData driDispatchRemapTable[CopyBufferSubData_remap_index] |
| 1702 | #define _gloffset_ClientWaitSync driDispatchRemapTable[ClientWaitSync_remap_index] |
| 1703 | #define _gloffset_DeleteSync driDispatchRemapTable[DeleteSync_remap_index] |
| 1704 | #define _gloffset_FenceSync driDispatchRemapTable[FenceSync_remap_index] |
| 1705 | #define _gloffset_GetInteger64v driDispatchRemapTable[GetInteger64v_remap_index] |
| 1706 | #define _gloffset_GetSynciv driDispatchRemapTable[GetSynciv_remap_index] |
| 1707 | #define _gloffset_IsSync driDispatchRemapTable[IsSync_remap_index] |
| 1708 | #define _gloffset_WaitSync driDispatchRemapTable[WaitSync_remap_index] |
| 1709 | #define _gloffset_DrawElementsBaseVertex driDispatchRemapTable[DrawElementsBaseVertex_remap_index] |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 1710 | #define _gloffset_DrawElementsInstancedBaseVertex driDispatchRemapTable[DrawElementsInstancedBaseVertex_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1711 | #define _gloffset_DrawRangeElementsBaseVertex driDispatchRemapTable[DrawRangeElementsBaseVertex_remap_index] |
| 1712 | #define _gloffset_MultiDrawElementsBaseVertex driDispatchRemapTable[MultiDrawElementsBaseVertex_remap_index] |
| Brian Paul | 5613078 | 2011-01-11 20:55:42 -0700 | [diff] [blame] | 1713 | #define _gloffset_BlendEquationSeparateiARB driDispatchRemapTable[BlendEquationSeparateiARB_remap_index] |
| 1714 | #define _gloffset_BlendEquationiARB driDispatchRemapTable[BlendEquationiARB_remap_index] |
| 1715 | #define _gloffset_BlendFuncSeparateiARB driDispatchRemapTable[BlendFuncSeparateiARB_remap_index] |
| 1716 | #define _gloffset_BlendFunciARB driDispatchRemapTable[BlendFunciARB_remap_index] |
| Brian Paul | 1cbd3a1 | 2011-04-10 12:42:24 -0600 | [diff] [blame] | 1717 | #define _gloffset_BindSampler driDispatchRemapTable[BindSampler_remap_index] |
| 1718 | #define _gloffset_DeleteSamplers driDispatchRemapTable[DeleteSamplers_remap_index] |
| 1719 | #define _gloffset_GenSamplers driDispatchRemapTable[GenSamplers_remap_index] |
| 1720 | #define _gloffset_GetSamplerParameterIiv driDispatchRemapTable[GetSamplerParameterIiv_remap_index] |
| 1721 | #define _gloffset_GetSamplerParameterIuiv driDispatchRemapTable[GetSamplerParameterIuiv_remap_index] |
| 1722 | #define _gloffset_GetSamplerParameterfv driDispatchRemapTable[GetSamplerParameterfv_remap_index] |
| 1723 | #define _gloffset_GetSamplerParameteriv driDispatchRemapTable[GetSamplerParameteriv_remap_index] |
| 1724 | #define _gloffset_IsSampler driDispatchRemapTable[IsSampler_remap_index] |
| 1725 | #define _gloffset_SamplerParameterIiv driDispatchRemapTable[SamplerParameterIiv_remap_index] |
| 1726 | #define _gloffset_SamplerParameterIuiv driDispatchRemapTable[SamplerParameterIuiv_remap_index] |
| 1727 | #define _gloffset_SamplerParameterf driDispatchRemapTable[SamplerParameterf_remap_index] |
| 1728 | #define _gloffset_SamplerParameterfv driDispatchRemapTable[SamplerParameterfv_remap_index] |
| 1729 | #define _gloffset_SamplerParameteri driDispatchRemapTable[SamplerParameteri_remap_index] |
| 1730 | #define _gloffset_SamplerParameteriv driDispatchRemapTable[SamplerParameteriv_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1731 | #define _gloffset_BindTransformFeedback driDispatchRemapTable[BindTransformFeedback_remap_index] |
| 1732 | #define _gloffset_DeleteTransformFeedbacks driDispatchRemapTable[DeleteTransformFeedbacks_remap_index] |
| 1733 | #define _gloffset_DrawTransformFeedback driDispatchRemapTable[DrawTransformFeedback_remap_index] |
| 1734 | #define _gloffset_GenTransformFeedbacks driDispatchRemapTable[GenTransformFeedbacks_remap_index] |
| 1735 | #define _gloffset_IsTransformFeedback driDispatchRemapTable[IsTransformFeedback_remap_index] |
| 1736 | #define _gloffset_PauseTransformFeedback driDispatchRemapTable[PauseTransformFeedback_remap_index] |
| 1737 | #define _gloffset_ResumeTransformFeedback driDispatchRemapTable[ResumeTransformFeedback_remap_index] |
| Eric Anholt | 841ad6b | 2011-01-14 14:03:52 -0800 | [diff] [blame] | 1738 | #define _gloffset_ClearDepthf driDispatchRemapTable[ClearDepthf_remap_index] |
| 1739 | #define _gloffset_DepthRangef driDispatchRemapTable[DepthRangef_remap_index] |
| 1740 | #define _gloffset_GetShaderPrecisionFormat driDispatchRemapTable[GetShaderPrecisionFormat_remap_index] |
| 1741 | #define _gloffset_ReleaseShaderCompiler driDispatchRemapTable[ReleaseShaderCompiler_remap_index] |
| 1742 | #define _gloffset_ShaderBinary driDispatchRemapTable[ShaderBinary_remap_index] |
| Brian Paul | 6b329b9 | 2011-04-26 14:54:41 -0600 | [diff] [blame] | 1743 | #define _gloffset_GetGraphicsResetStatusARB driDispatchRemapTable[GetGraphicsResetStatusARB_remap_index] |
| 1744 | #define _gloffset_GetnColorTableARB driDispatchRemapTable[GetnColorTableARB_remap_index] |
| 1745 | #define _gloffset_GetnCompressedTexImageARB driDispatchRemapTable[GetnCompressedTexImageARB_remap_index] |
| 1746 | #define _gloffset_GetnConvolutionFilterARB driDispatchRemapTable[GetnConvolutionFilterARB_remap_index] |
| 1747 | #define _gloffset_GetnHistogramARB driDispatchRemapTable[GetnHistogramARB_remap_index] |
| 1748 | #define _gloffset_GetnMapdvARB driDispatchRemapTable[GetnMapdvARB_remap_index] |
| 1749 | #define _gloffset_GetnMapfvARB driDispatchRemapTable[GetnMapfvARB_remap_index] |
| 1750 | #define _gloffset_GetnMapivARB driDispatchRemapTable[GetnMapivARB_remap_index] |
| 1751 | #define _gloffset_GetnMinmaxARB driDispatchRemapTable[GetnMinmaxARB_remap_index] |
| 1752 | #define _gloffset_GetnPixelMapfvARB driDispatchRemapTable[GetnPixelMapfvARB_remap_index] |
| 1753 | #define _gloffset_GetnPixelMapuivARB driDispatchRemapTable[GetnPixelMapuivARB_remap_index] |
| 1754 | #define _gloffset_GetnPixelMapusvARB driDispatchRemapTable[GetnPixelMapusvARB_remap_index] |
| 1755 | #define _gloffset_GetnPolygonStippleARB driDispatchRemapTable[GetnPolygonStippleARB_remap_index] |
| 1756 | #define _gloffset_GetnSeparableFilterARB driDispatchRemapTable[GetnSeparableFilterARB_remap_index] |
| 1757 | #define _gloffset_GetnTexImageARB driDispatchRemapTable[GetnTexImageARB_remap_index] |
| 1758 | #define _gloffset_GetnUniformdvARB driDispatchRemapTable[GetnUniformdvARB_remap_index] |
| 1759 | #define _gloffset_GetnUniformfvARB driDispatchRemapTable[GetnUniformfvARB_remap_index] |
| 1760 | #define _gloffset_GetnUniformivARB driDispatchRemapTable[GetnUniformivARB_remap_index] |
| 1761 | #define _gloffset_GetnUniformuivARB driDispatchRemapTable[GetnUniformuivARB_remap_index] |
| 1762 | #define _gloffset_ReadnPixelsARB driDispatchRemapTable[ReadnPixelsARB_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 1763 | #define _gloffset_PolygonOffsetEXT driDispatchRemapTable[PolygonOffsetEXT_remap_index] |
| 1764 | #define _gloffset_GetPixelTexGenParameterfvSGIS driDispatchRemapTable[GetPixelTexGenParameterfvSGIS_remap_index] |
| 1765 | #define _gloffset_GetPixelTexGenParameterivSGIS driDispatchRemapTable[GetPixelTexGenParameterivSGIS_remap_index] |
| 1766 | #define _gloffset_PixelTexGenParameterfSGIS driDispatchRemapTable[PixelTexGenParameterfSGIS_remap_index] |
| 1767 | #define _gloffset_PixelTexGenParameterfvSGIS driDispatchRemapTable[PixelTexGenParameterfvSGIS_remap_index] |
| 1768 | #define _gloffset_PixelTexGenParameteriSGIS driDispatchRemapTable[PixelTexGenParameteriSGIS_remap_index] |
| 1769 | #define _gloffset_PixelTexGenParameterivSGIS driDispatchRemapTable[PixelTexGenParameterivSGIS_remap_index] |
| 1770 | #define _gloffset_SampleMaskSGIS driDispatchRemapTable[SampleMaskSGIS_remap_index] |
| 1771 | #define _gloffset_SamplePatternSGIS driDispatchRemapTable[SamplePatternSGIS_remap_index] |
| 1772 | #define _gloffset_ColorPointerEXT driDispatchRemapTable[ColorPointerEXT_remap_index] |
| 1773 | #define _gloffset_EdgeFlagPointerEXT driDispatchRemapTable[EdgeFlagPointerEXT_remap_index] |
| 1774 | #define _gloffset_IndexPointerEXT driDispatchRemapTable[IndexPointerEXT_remap_index] |
| 1775 | #define _gloffset_NormalPointerEXT driDispatchRemapTable[NormalPointerEXT_remap_index] |
| 1776 | #define _gloffset_TexCoordPointerEXT driDispatchRemapTable[TexCoordPointerEXT_remap_index] |
| 1777 | #define _gloffset_VertexPointerEXT driDispatchRemapTable[VertexPointerEXT_remap_index] |
| 1778 | #define _gloffset_PointParameterfEXT driDispatchRemapTable[PointParameterfEXT_remap_index] |
| 1779 | #define _gloffset_PointParameterfvEXT driDispatchRemapTable[PointParameterfvEXT_remap_index] |
| 1780 | #define _gloffset_LockArraysEXT driDispatchRemapTable[LockArraysEXT_remap_index] |
| 1781 | #define _gloffset_UnlockArraysEXT driDispatchRemapTable[UnlockArraysEXT_remap_index] |
| 1782 | #define _gloffset_SecondaryColor3bEXT driDispatchRemapTable[SecondaryColor3bEXT_remap_index] |
| 1783 | #define _gloffset_SecondaryColor3bvEXT driDispatchRemapTable[SecondaryColor3bvEXT_remap_index] |
| 1784 | #define _gloffset_SecondaryColor3dEXT driDispatchRemapTable[SecondaryColor3dEXT_remap_index] |
| 1785 | #define _gloffset_SecondaryColor3dvEXT driDispatchRemapTable[SecondaryColor3dvEXT_remap_index] |
| 1786 | #define _gloffset_SecondaryColor3fEXT driDispatchRemapTable[SecondaryColor3fEXT_remap_index] |
| 1787 | #define _gloffset_SecondaryColor3fvEXT driDispatchRemapTable[SecondaryColor3fvEXT_remap_index] |
| 1788 | #define _gloffset_SecondaryColor3iEXT driDispatchRemapTable[SecondaryColor3iEXT_remap_index] |
| 1789 | #define _gloffset_SecondaryColor3ivEXT driDispatchRemapTable[SecondaryColor3ivEXT_remap_index] |
| 1790 | #define _gloffset_SecondaryColor3sEXT driDispatchRemapTable[SecondaryColor3sEXT_remap_index] |
| 1791 | #define _gloffset_SecondaryColor3svEXT driDispatchRemapTable[SecondaryColor3svEXT_remap_index] |
| 1792 | #define _gloffset_SecondaryColor3ubEXT driDispatchRemapTable[SecondaryColor3ubEXT_remap_index] |
| 1793 | #define _gloffset_SecondaryColor3ubvEXT driDispatchRemapTable[SecondaryColor3ubvEXT_remap_index] |
| 1794 | #define _gloffset_SecondaryColor3uiEXT driDispatchRemapTable[SecondaryColor3uiEXT_remap_index] |
| 1795 | #define _gloffset_SecondaryColor3uivEXT driDispatchRemapTable[SecondaryColor3uivEXT_remap_index] |
| 1796 | #define _gloffset_SecondaryColor3usEXT driDispatchRemapTable[SecondaryColor3usEXT_remap_index] |
| 1797 | #define _gloffset_SecondaryColor3usvEXT driDispatchRemapTable[SecondaryColor3usvEXT_remap_index] |
| 1798 | #define _gloffset_SecondaryColorPointerEXT driDispatchRemapTable[SecondaryColorPointerEXT_remap_index] |
| 1799 | #define _gloffset_MultiDrawArraysEXT driDispatchRemapTable[MultiDrawArraysEXT_remap_index] |
| 1800 | #define _gloffset_MultiDrawElementsEXT driDispatchRemapTable[MultiDrawElementsEXT_remap_index] |
| 1801 | #define _gloffset_FogCoordPointerEXT driDispatchRemapTable[FogCoordPointerEXT_remap_index] |
| 1802 | #define _gloffset_FogCoorddEXT driDispatchRemapTable[FogCoorddEXT_remap_index] |
| 1803 | #define _gloffset_FogCoorddvEXT driDispatchRemapTable[FogCoorddvEXT_remap_index] |
| 1804 | #define _gloffset_FogCoordfEXT driDispatchRemapTable[FogCoordfEXT_remap_index] |
| 1805 | #define _gloffset_FogCoordfvEXT driDispatchRemapTable[FogCoordfvEXT_remap_index] |
| 1806 | #define _gloffset_PixelTexGenSGIX driDispatchRemapTable[PixelTexGenSGIX_remap_index] |
| 1807 | #define _gloffset_BlendFuncSeparateEXT driDispatchRemapTable[BlendFuncSeparateEXT_remap_index] |
| 1808 | #define _gloffset_FlushVertexArrayRangeNV driDispatchRemapTable[FlushVertexArrayRangeNV_remap_index] |
| 1809 | #define _gloffset_VertexArrayRangeNV driDispatchRemapTable[VertexArrayRangeNV_remap_index] |
| 1810 | #define _gloffset_CombinerInputNV driDispatchRemapTable[CombinerInputNV_remap_index] |
| 1811 | #define _gloffset_CombinerOutputNV driDispatchRemapTable[CombinerOutputNV_remap_index] |
| 1812 | #define _gloffset_CombinerParameterfNV driDispatchRemapTable[CombinerParameterfNV_remap_index] |
| 1813 | #define _gloffset_CombinerParameterfvNV driDispatchRemapTable[CombinerParameterfvNV_remap_index] |
| 1814 | #define _gloffset_CombinerParameteriNV driDispatchRemapTable[CombinerParameteriNV_remap_index] |
| 1815 | #define _gloffset_CombinerParameterivNV driDispatchRemapTable[CombinerParameterivNV_remap_index] |
| 1816 | #define _gloffset_FinalCombinerInputNV driDispatchRemapTable[FinalCombinerInputNV_remap_index] |
| 1817 | #define _gloffset_GetCombinerInputParameterfvNV driDispatchRemapTable[GetCombinerInputParameterfvNV_remap_index] |
| 1818 | #define _gloffset_GetCombinerInputParameterivNV driDispatchRemapTable[GetCombinerInputParameterivNV_remap_index] |
| 1819 | #define _gloffset_GetCombinerOutputParameterfvNV driDispatchRemapTable[GetCombinerOutputParameterfvNV_remap_index] |
| 1820 | #define _gloffset_GetCombinerOutputParameterivNV driDispatchRemapTable[GetCombinerOutputParameterivNV_remap_index] |
| 1821 | #define _gloffset_GetFinalCombinerInputParameterfvNV driDispatchRemapTable[GetFinalCombinerInputParameterfvNV_remap_index] |
| 1822 | #define _gloffset_GetFinalCombinerInputParameterivNV driDispatchRemapTable[GetFinalCombinerInputParameterivNV_remap_index] |
| 1823 | #define _gloffset_ResizeBuffersMESA driDispatchRemapTable[ResizeBuffersMESA_remap_index] |
| 1824 | #define _gloffset_WindowPos2dMESA driDispatchRemapTable[WindowPos2dMESA_remap_index] |
| 1825 | #define _gloffset_WindowPos2dvMESA driDispatchRemapTable[WindowPos2dvMESA_remap_index] |
| 1826 | #define _gloffset_WindowPos2fMESA driDispatchRemapTable[WindowPos2fMESA_remap_index] |
| 1827 | #define _gloffset_WindowPos2fvMESA driDispatchRemapTable[WindowPos2fvMESA_remap_index] |
| 1828 | #define _gloffset_WindowPos2iMESA driDispatchRemapTable[WindowPos2iMESA_remap_index] |
| 1829 | #define _gloffset_WindowPos2ivMESA driDispatchRemapTable[WindowPos2ivMESA_remap_index] |
| 1830 | #define _gloffset_WindowPos2sMESA driDispatchRemapTable[WindowPos2sMESA_remap_index] |
| 1831 | #define _gloffset_WindowPos2svMESA driDispatchRemapTable[WindowPos2svMESA_remap_index] |
| 1832 | #define _gloffset_WindowPos3dMESA driDispatchRemapTable[WindowPos3dMESA_remap_index] |
| 1833 | #define _gloffset_WindowPos3dvMESA driDispatchRemapTable[WindowPos3dvMESA_remap_index] |
| 1834 | #define _gloffset_WindowPos3fMESA driDispatchRemapTable[WindowPos3fMESA_remap_index] |
| 1835 | #define _gloffset_WindowPos3fvMESA driDispatchRemapTable[WindowPos3fvMESA_remap_index] |
| 1836 | #define _gloffset_WindowPos3iMESA driDispatchRemapTable[WindowPos3iMESA_remap_index] |
| 1837 | #define _gloffset_WindowPos3ivMESA driDispatchRemapTable[WindowPos3ivMESA_remap_index] |
| 1838 | #define _gloffset_WindowPos3sMESA driDispatchRemapTable[WindowPos3sMESA_remap_index] |
| 1839 | #define _gloffset_WindowPos3svMESA driDispatchRemapTable[WindowPos3svMESA_remap_index] |
| 1840 | #define _gloffset_WindowPos4dMESA driDispatchRemapTable[WindowPos4dMESA_remap_index] |
| 1841 | #define _gloffset_WindowPos4dvMESA driDispatchRemapTable[WindowPos4dvMESA_remap_index] |
| 1842 | #define _gloffset_WindowPos4fMESA driDispatchRemapTable[WindowPos4fMESA_remap_index] |
| 1843 | #define _gloffset_WindowPos4fvMESA driDispatchRemapTable[WindowPos4fvMESA_remap_index] |
| 1844 | #define _gloffset_WindowPos4iMESA driDispatchRemapTable[WindowPos4iMESA_remap_index] |
| 1845 | #define _gloffset_WindowPos4ivMESA driDispatchRemapTable[WindowPos4ivMESA_remap_index] |
| 1846 | #define _gloffset_WindowPos4sMESA driDispatchRemapTable[WindowPos4sMESA_remap_index] |
| 1847 | #define _gloffset_WindowPos4svMESA driDispatchRemapTable[WindowPos4svMESA_remap_index] |
| 1848 | #define _gloffset_MultiModeDrawArraysIBM driDispatchRemapTable[MultiModeDrawArraysIBM_remap_index] |
| 1849 | #define _gloffset_MultiModeDrawElementsIBM driDispatchRemapTable[MultiModeDrawElementsIBM_remap_index] |
| 1850 | #define _gloffset_DeleteFencesNV driDispatchRemapTable[DeleteFencesNV_remap_index] |
| 1851 | #define _gloffset_FinishFenceNV driDispatchRemapTable[FinishFenceNV_remap_index] |
| 1852 | #define _gloffset_GenFencesNV driDispatchRemapTable[GenFencesNV_remap_index] |
| 1853 | #define _gloffset_GetFenceivNV driDispatchRemapTable[GetFenceivNV_remap_index] |
| 1854 | #define _gloffset_IsFenceNV driDispatchRemapTable[IsFenceNV_remap_index] |
| 1855 | #define _gloffset_SetFenceNV driDispatchRemapTable[SetFenceNV_remap_index] |
| 1856 | #define _gloffset_TestFenceNV driDispatchRemapTable[TestFenceNV_remap_index] |
| 1857 | #define _gloffset_AreProgramsResidentNV driDispatchRemapTable[AreProgramsResidentNV_remap_index] |
| 1858 | #define _gloffset_BindProgramNV driDispatchRemapTable[BindProgramNV_remap_index] |
| 1859 | #define _gloffset_DeleteProgramsNV driDispatchRemapTable[DeleteProgramsNV_remap_index] |
| 1860 | #define _gloffset_ExecuteProgramNV driDispatchRemapTable[ExecuteProgramNV_remap_index] |
| 1861 | #define _gloffset_GenProgramsNV driDispatchRemapTable[GenProgramsNV_remap_index] |
| 1862 | #define _gloffset_GetProgramParameterdvNV driDispatchRemapTable[GetProgramParameterdvNV_remap_index] |
| 1863 | #define _gloffset_GetProgramParameterfvNV driDispatchRemapTable[GetProgramParameterfvNV_remap_index] |
| 1864 | #define _gloffset_GetProgramStringNV driDispatchRemapTable[GetProgramStringNV_remap_index] |
| 1865 | #define _gloffset_GetProgramivNV driDispatchRemapTable[GetProgramivNV_remap_index] |
| 1866 | #define _gloffset_GetTrackMatrixivNV driDispatchRemapTable[GetTrackMatrixivNV_remap_index] |
| 1867 | #define _gloffset_GetVertexAttribPointervNV driDispatchRemapTable[GetVertexAttribPointervNV_remap_index] |
| 1868 | #define _gloffset_GetVertexAttribdvNV driDispatchRemapTable[GetVertexAttribdvNV_remap_index] |
| 1869 | #define _gloffset_GetVertexAttribfvNV driDispatchRemapTable[GetVertexAttribfvNV_remap_index] |
| 1870 | #define _gloffset_GetVertexAttribivNV driDispatchRemapTable[GetVertexAttribivNV_remap_index] |
| 1871 | #define _gloffset_IsProgramNV driDispatchRemapTable[IsProgramNV_remap_index] |
| 1872 | #define _gloffset_LoadProgramNV driDispatchRemapTable[LoadProgramNV_remap_index] |
| 1873 | #define _gloffset_ProgramParameters4dvNV driDispatchRemapTable[ProgramParameters4dvNV_remap_index] |
| 1874 | #define _gloffset_ProgramParameters4fvNV driDispatchRemapTable[ProgramParameters4fvNV_remap_index] |
| 1875 | #define _gloffset_RequestResidentProgramsNV driDispatchRemapTable[RequestResidentProgramsNV_remap_index] |
| 1876 | #define _gloffset_TrackMatrixNV driDispatchRemapTable[TrackMatrixNV_remap_index] |
| 1877 | #define _gloffset_VertexAttrib1dNV driDispatchRemapTable[VertexAttrib1dNV_remap_index] |
| 1878 | #define _gloffset_VertexAttrib1dvNV driDispatchRemapTable[VertexAttrib1dvNV_remap_index] |
| 1879 | #define _gloffset_VertexAttrib1fNV driDispatchRemapTable[VertexAttrib1fNV_remap_index] |
| 1880 | #define _gloffset_VertexAttrib1fvNV driDispatchRemapTable[VertexAttrib1fvNV_remap_index] |
| 1881 | #define _gloffset_VertexAttrib1sNV driDispatchRemapTable[VertexAttrib1sNV_remap_index] |
| 1882 | #define _gloffset_VertexAttrib1svNV driDispatchRemapTable[VertexAttrib1svNV_remap_index] |
| 1883 | #define _gloffset_VertexAttrib2dNV driDispatchRemapTable[VertexAttrib2dNV_remap_index] |
| 1884 | #define _gloffset_VertexAttrib2dvNV driDispatchRemapTable[VertexAttrib2dvNV_remap_index] |
| 1885 | #define _gloffset_VertexAttrib2fNV driDispatchRemapTable[VertexAttrib2fNV_remap_index] |
| 1886 | #define _gloffset_VertexAttrib2fvNV driDispatchRemapTable[VertexAttrib2fvNV_remap_index] |
| 1887 | #define _gloffset_VertexAttrib2sNV driDispatchRemapTable[VertexAttrib2sNV_remap_index] |
| 1888 | #define _gloffset_VertexAttrib2svNV driDispatchRemapTable[VertexAttrib2svNV_remap_index] |
| 1889 | #define _gloffset_VertexAttrib3dNV driDispatchRemapTable[VertexAttrib3dNV_remap_index] |
| 1890 | #define _gloffset_VertexAttrib3dvNV driDispatchRemapTable[VertexAttrib3dvNV_remap_index] |
| 1891 | #define _gloffset_VertexAttrib3fNV driDispatchRemapTable[VertexAttrib3fNV_remap_index] |
| 1892 | #define _gloffset_VertexAttrib3fvNV driDispatchRemapTable[VertexAttrib3fvNV_remap_index] |
| 1893 | #define _gloffset_VertexAttrib3sNV driDispatchRemapTable[VertexAttrib3sNV_remap_index] |
| 1894 | #define _gloffset_VertexAttrib3svNV driDispatchRemapTable[VertexAttrib3svNV_remap_index] |
| 1895 | #define _gloffset_VertexAttrib4dNV driDispatchRemapTable[VertexAttrib4dNV_remap_index] |
| 1896 | #define _gloffset_VertexAttrib4dvNV driDispatchRemapTable[VertexAttrib4dvNV_remap_index] |
| 1897 | #define _gloffset_VertexAttrib4fNV driDispatchRemapTable[VertexAttrib4fNV_remap_index] |
| 1898 | #define _gloffset_VertexAttrib4fvNV driDispatchRemapTable[VertexAttrib4fvNV_remap_index] |
| 1899 | #define _gloffset_VertexAttrib4sNV driDispatchRemapTable[VertexAttrib4sNV_remap_index] |
| 1900 | #define _gloffset_VertexAttrib4svNV driDispatchRemapTable[VertexAttrib4svNV_remap_index] |
| 1901 | #define _gloffset_VertexAttrib4ubNV driDispatchRemapTable[VertexAttrib4ubNV_remap_index] |
| 1902 | #define _gloffset_VertexAttrib4ubvNV driDispatchRemapTable[VertexAttrib4ubvNV_remap_index] |
| 1903 | #define _gloffset_VertexAttribPointerNV driDispatchRemapTable[VertexAttribPointerNV_remap_index] |
| 1904 | #define _gloffset_VertexAttribs1dvNV driDispatchRemapTable[VertexAttribs1dvNV_remap_index] |
| 1905 | #define _gloffset_VertexAttribs1fvNV driDispatchRemapTable[VertexAttribs1fvNV_remap_index] |
| 1906 | #define _gloffset_VertexAttribs1svNV driDispatchRemapTable[VertexAttribs1svNV_remap_index] |
| 1907 | #define _gloffset_VertexAttribs2dvNV driDispatchRemapTable[VertexAttribs2dvNV_remap_index] |
| 1908 | #define _gloffset_VertexAttribs2fvNV driDispatchRemapTable[VertexAttribs2fvNV_remap_index] |
| 1909 | #define _gloffset_VertexAttribs2svNV driDispatchRemapTable[VertexAttribs2svNV_remap_index] |
| 1910 | #define _gloffset_VertexAttribs3dvNV driDispatchRemapTable[VertexAttribs3dvNV_remap_index] |
| 1911 | #define _gloffset_VertexAttribs3fvNV driDispatchRemapTable[VertexAttribs3fvNV_remap_index] |
| 1912 | #define _gloffset_VertexAttribs3svNV driDispatchRemapTable[VertexAttribs3svNV_remap_index] |
| 1913 | #define _gloffset_VertexAttribs4dvNV driDispatchRemapTable[VertexAttribs4dvNV_remap_index] |
| 1914 | #define _gloffset_VertexAttribs4fvNV driDispatchRemapTable[VertexAttribs4fvNV_remap_index] |
| 1915 | #define _gloffset_VertexAttribs4svNV driDispatchRemapTable[VertexAttribs4svNV_remap_index] |
| 1916 | #define _gloffset_VertexAttribs4ubvNV driDispatchRemapTable[VertexAttribs4ubvNV_remap_index] |
| 1917 | #define _gloffset_GetTexBumpParameterfvATI driDispatchRemapTable[GetTexBumpParameterfvATI_remap_index] |
| 1918 | #define _gloffset_GetTexBumpParameterivATI driDispatchRemapTable[GetTexBumpParameterivATI_remap_index] |
| 1919 | #define _gloffset_TexBumpParameterfvATI driDispatchRemapTable[TexBumpParameterfvATI_remap_index] |
| 1920 | #define _gloffset_TexBumpParameterivATI driDispatchRemapTable[TexBumpParameterivATI_remap_index] |
| 1921 | #define _gloffset_AlphaFragmentOp1ATI driDispatchRemapTable[AlphaFragmentOp1ATI_remap_index] |
| 1922 | #define _gloffset_AlphaFragmentOp2ATI driDispatchRemapTable[AlphaFragmentOp2ATI_remap_index] |
| 1923 | #define _gloffset_AlphaFragmentOp3ATI driDispatchRemapTable[AlphaFragmentOp3ATI_remap_index] |
| 1924 | #define _gloffset_BeginFragmentShaderATI driDispatchRemapTable[BeginFragmentShaderATI_remap_index] |
| 1925 | #define _gloffset_BindFragmentShaderATI driDispatchRemapTable[BindFragmentShaderATI_remap_index] |
| 1926 | #define _gloffset_ColorFragmentOp1ATI driDispatchRemapTable[ColorFragmentOp1ATI_remap_index] |
| 1927 | #define _gloffset_ColorFragmentOp2ATI driDispatchRemapTable[ColorFragmentOp2ATI_remap_index] |
| 1928 | #define _gloffset_ColorFragmentOp3ATI driDispatchRemapTable[ColorFragmentOp3ATI_remap_index] |
| 1929 | #define _gloffset_DeleteFragmentShaderATI driDispatchRemapTable[DeleteFragmentShaderATI_remap_index] |
| 1930 | #define _gloffset_EndFragmentShaderATI driDispatchRemapTable[EndFragmentShaderATI_remap_index] |
| 1931 | #define _gloffset_GenFragmentShadersATI driDispatchRemapTable[GenFragmentShadersATI_remap_index] |
| 1932 | #define _gloffset_PassTexCoordATI driDispatchRemapTable[PassTexCoordATI_remap_index] |
| 1933 | #define _gloffset_SampleMapATI driDispatchRemapTable[SampleMapATI_remap_index] |
| 1934 | #define _gloffset_SetFragmentShaderConstantATI driDispatchRemapTable[SetFragmentShaderConstantATI_remap_index] |
| 1935 | #define _gloffset_PointParameteriNV driDispatchRemapTable[PointParameteriNV_remap_index] |
| 1936 | #define _gloffset_PointParameterivNV driDispatchRemapTable[PointParameterivNV_remap_index] |
| 1937 | #define _gloffset_ActiveStencilFaceEXT driDispatchRemapTable[ActiveStencilFaceEXT_remap_index] |
| 1938 | #define _gloffset_BindVertexArrayAPPLE driDispatchRemapTable[BindVertexArrayAPPLE_remap_index] |
| 1939 | #define _gloffset_DeleteVertexArraysAPPLE driDispatchRemapTable[DeleteVertexArraysAPPLE_remap_index] |
| 1940 | #define _gloffset_GenVertexArraysAPPLE driDispatchRemapTable[GenVertexArraysAPPLE_remap_index] |
| 1941 | #define _gloffset_IsVertexArrayAPPLE driDispatchRemapTable[IsVertexArrayAPPLE_remap_index] |
| 1942 | #define _gloffset_GetProgramNamedParameterdvNV driDispatchRemapTable[GetProgramNamedParameterdvNV_remap_index] |
| 1943 | #define _gloffset_GetProgramNamedParameterfvNV driDispatchRemapTable[GetProgramNamedParameterfvNV_remap_index] |
| 1944 | #define _gloffset_ProgramNamedParameter4dNV driDispatchRemapTable[ProgramNamedParameter4dNV_remap_index] |
| 1945 | #define _gloffset_ProgramNamedParameter4dvNV driDispatchRemapTable[ProgramNamedParameter4dvNV_remap_index] |
| 1946 | #define _gloffset_ProgramNamedParameter4fNV driDispatchRemapTable[ProgramNamedParameter4fNV_remap_index] |
| 1947 | #define _gloffset_ProgramNamedParameter4fvNV driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index] |
| 1948 | #define _gloffset_PrimitiveRestartIndexNV driDispatchRemapTable[PrimitiveRestartIndexNV_remap_index] |
| 1949 | #define _gloffset_PrimitiveRestartNV driDispatchRemapTable[PrimitiveRestartNV_remap_index] |
| 1950 | #define _gloffset_DepthBoundsEXT driDispatchRemapTable[DepthBoundsEXT_remap_index] |
| 1951 | #define _gloffset_BlendEquationSeparateEXT driDispatchRemapTable[BlendEquationSeparateEXT_remap_index] |
| 1952 | #define _gloffset_BindFramebufferEXT driDispatchRemapTable[BindFramebufferEXT_remap_index] |
| 1953 | #define _gloffset_BindRenderbufferEXT driDispatchRemapTable[BindRenderbufferEXT_remap_index] |
| 1954 | #define _gloffset_CheckFramebufferStatusEXT driDispatchRemapTable[CheckFramebufferStatusEXT_remap_index] |
| 1955 | #define _gloffset_DeleteFramebuffersEXT driDispatchRemapTable[DeleteFramebuffersEXT_remap_index] |
| 1956 | #define _gloffset_DeleteRenderbuffersEXT driDispatchRemapTable[DeleteRenderbuffersEXT_remap_index] |
| 1957 | #define _gloffset_FramebufferRenderbufferEXT driDispatchRemapTable[FramebufferRenderbufferEXT_remap_index] |
| 1958 | #define _gloffset_FramebufferTexture1DEXT driDispatchRemapTable[FramebufferTexture1DEXT_remap_index] |
| 1959 | #define _gloffset_FramebufferTexture2DEXT driDispatchRemapTable[FramebufferTexture2DEXT_remap_index] |
| 1960 | #define _gloffset_FramebufferTexture3DEXT driDispatchRemapTable[FramebufferTexture3DEXT_remap_index] |
| 1961 | #define _gloffset_GenFramebuffersEXT driDispatchRemapTable[GenFramebuffersEXT_remap_index] |
| 1962 | #define _gloffset_GenRenderbuffersEXT driDispatchRemapTable[GenRenderbuffersEXT_remap_index] |
| 1963 | #define _gloffset_GenerateMipmapEXT driDispatchRemapTable[GenerateMipmapEXT_remap_index] |
| 1964 | #define _gloffset_GetFramebufferAttachmentParameterivEXT driDispatchRemapTable[GetFramebufferAttachmentParameterivEXT_remap_index] |
| 1965 | #define _gloffset_GetRenderbufferParameterivEXT driDispatchRemapTable[GetRenderbufferParameterivEXT_remap_index] |
| 1966 | #define _gloffset_IsFramebufferEXT driDispatchRemapTable[IsFramebufferEXT_remap_index] |
| 1967 | #define _gloffset_IsRenderbufferEXT driDispatchRemapTable[IsRenderbufferEXT_remap_index] |
| 1968 | #define _gloffset_RenderbufferStorageEXT driDispatchRemapTable[RenderbufferStorageEXT_remap_index] |
| 1969 | #define _gloffset_BlitFramebufferEXT driDispatchRemapTable[BlitFramebufferEXT_remap_index] |
| 1970 | #define _gloffset_BufferParameteriAPPLE driDispatchRemapTable[BufferParameteriAPPLE_remap_index] |
| 1971 | #define _gloffset_FlushMappedBufferRangeAPPLE driDispatchRemapTable[FlushMappedBufferRangeAPPLE_remap_index] |
| Chia-I Wu | 9de5c6a | 2010-10-29 12:45:04 +0800 | [diff] [blame] | 1972 | #define _gloffset_BindFragDataLocationEXT driDispatchRemapTable[BindFragDataLocationEXT_remap_index] |
| 1973 | #define _gloffset_GetFragDataLocationEXT driDispatchRemapTable[GetFragDataLocationEXT_remap_index] |
| 1974 | #define _gloffset_GetUniformuivEXT driDispatchRemapTable[GetUniformuivEXT_remap_index] |
| 1975 | #define _gloffset_GetVertexAttribIivEXT driDispatchRemapTable[GetVertexAttribIivEXT_remap_index] |
| 1976 | #define _gloffset_GetVertexAttribIuivEXT driDispatchRemapTable[GetVertexAttribIuivEXT_remap_index] |
| 1977 | #define _gloffset_Uniform1uiEXT driDispatchRemapTable[Uniform1uiEXT_remap_index] |
| 1978 | #define _gloffset_Uniform1uivEXT driDispatchRemapTable[Uniform1uivEXT_remap_index] |
| 1979 | #define _gloffset_Uniform2uiEXT driDispatchRemapTable[Uniform2uiEXT_remap_index] |
| 1980 | #define _gloffset_Uniform2uivEXT driDispatchRemapTable[Uniform2uivEXT_remap_index] |
| 1981 | #define _gloffset_Uniform3uiEXT driDispatchRemapTable[Uniform3uiEXT_remap_index] |
| 1982 | #define _gloffset_Uniform3uivEXT driDispatchRemapTable[Uniform3uivEXT_remap_index] |
| 1983 | #define _gloffset_Uniform4uiEXT driDispatchRemapTable[Uniform4uiEXT_remap_index] |
| 1984 | #define _gloffset_Uniform4uivEXT driDispatchRemapTable[Uniform4uivEXT_remap_index] |
| 1985 | #define _gloffset_VertexAttribI1iEXT driDispatchRemapTable[VertexAttribI1iEXT_remap_index] |
| 1986 | #define _gloffset_VertexAttribI1ivEXT driDispatchRemapTable[VertexAttribI1ivEXT_remap_index] |
| 1987 | #define _gloffset_VertexAttribI1uiEXT driDispatchRemapTable[VertexAttribI1uiEXT_remap_index] |
| 1988 | #define _gloffset_VertexAttribI1uivEXT driDispatchRemapTable[VertexAttribI1uivEXT_remap_index] |
| 1989 | #define _gloffset_VertexAttribI2iEXT driDispatchRemapTable[VertexAttribI2iEXT_remap_index] |
| 1990 | #define _gloffset_VertexAttribI2ivEXT driDispatchRemapTable[VertexAttribI2ivEXT_remap_index] |
| 1991 | #define _gloffset_VertexAttribI2uiEXT driDispatchRemapTable[VertexAttribI2uiEXT_remap_index] |
| 1992 | #define _gloffset_VertexAttribI2uivEXT driDispatchRemapTable[VertexAttribI2uivEXT_remap_index] |
| 1993 | #define _gloffset_VertexAttribI3iEXT driDispatchRemapTable[VertexAttribI3iEXT_remap_index] |
| 1994 | #define _gloffset_VertexAttribI3ivEXT driDispatchRemapTable[VertexAttribI3ivEXT_remap_index] |
| 1995 | #define _gloffset_VertexAttribI3uiEXT driDispatchRemapTable[VertexAttribI3uiEXT_remap_index] |
| 1996 | #define _gloffset_VertexAttribI3uivEXT driDispatchRemapTable[VertexAttribI3uivEXT_remap_index] |
| 1997 | #define _gloffset_VertexAttribI4bvEXT driDispatchRemapTable[VertexAttribI4bvEXT_remap_index] |
| 1998 | #define _gloffset_VertexAttribI4iEXT driDispatchRemapTable[VertexAttribI4iEXT_remap_index] |
| 1999 | #define _gloffset_VertexAttribI4ivEXT driDispatchRemapTable[VertexAttribI4ivEXT_remap_index] |
| 2000 | #define _gloffset_VertexAttribI4svEXT driDispatchRemapTable[VertexAttribI4svEXT_remap_index] |
| 2001 | #define _gloffset_VertexAttribI4ubvEXT driDispatchRemapTable[VertexAttribI4ubvEXT_remap_index] |
| 2002 | #define _gloffset_VertexAttribI4uiEXT driDispatchRemapTable[VertexAttribI4uiEXT_remap_index] |
| 2003 | #define _gloffset_VertexAttribI4uivEXT driDispatchRemapTable[VertexAttribI4uivEXT_remap_index] |
| 2004 | #define _gloffset_VertexAttribI4usvEXT driDispatchRemapTable[VertexAttribI4usvEXT_remap_index] |
| 2005 | #define _gloffset_VertexAttribIPointerEXT driDispatchRemapTable[VertexAttribIPointerEXT_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 2006 | #define _gloffset_FramebufferTextureLayerEXT driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index] |
| 2007 | #define _gloffset_ColorMaskIndexedEXT driDispatchRemapTable[ColorMaskIndexedEXT_remap_index] |
| 2008 | #define _gloffset_DisableIndexedEXT driDispatchRemapTable[DisableIndexedEXT_remap_index] |
| 2009 | #define _gloffset_EnableIndexedEXT driDispatchRemapTable[EnableIndexedEXT_remap_index] |
| 2010 | #define _gloffset_GetBooleanIndexedvEXT driDispatchRemapTable[GetBooleanIndexedvEXT_remap_index] |
| 2011 | #define _gloffset_GetIntegerIndexedvEXT driDispatchRemapTable[GetIntegerIndexedvEXT_remap_index] |
| 2012 | #define _gloffset_IsEnabledIndexedEXT driDispatchRemapTable[IsEnabledIndexedEXT_remap_index] |
| 2013 | #define _gloffset_ClearColorIiEXT driDispatchRemapTable[ClearColorIiEXT_remap_index] |
| 2014 | #define _gloffset_ClearColorIuiEXT driDispatchRemapTable[ClearColorIuiEXT_remap_index] |
| 2015 | #define _gloffset_GetTexParameterIivEXT driDispatchRemapTable[GetTexParameterIivEXT_remap_index] |
| 2016 | #define _gloffset_GetTexParameterIuivEXT driDispatchRemapTable[GetTexParameterIuivEXT_remap_index] |
| 2017 | #define _gloffset_TexParameterIivEXT driDispatchRemapTable[TexParameterIivEXT_remap_index] |
| 2018 | #define _gloffset_TexParameterIuivEXT driDispatchRemapTable[TexParameterIuivEXT_remap_index] |
| 2019 | #define _gloffset_BeginConditionalRenderNV driDispatchRemapTable[BeginConditionalRenderNV_remap_index] |
| 2020 | #define _gloffset_EndConditionalRenderNV driDispatchRemapTable[EndConditionalRenderNV_remap_index] |
| 2021 | #define _gloffset_BeginTransformFeedbackEXT driDispatchRemapTable[BeginTransformFeedbackEXT_remap_index] |
| 2022 | #define _gloffset_BindBufferBaseEXT driDispatchRemapTable[BindBufferBaseEXT_remap_index] |
| 2023 | #define _gloffset_BindBufferOffsetEXT driDispatchRemapTable[BindBufferOffsetEXT_remap_index] |
| 2024 | #define _gloffset_BindBufferRangeEXT driDispatchRemapTable[BindBufferRangeEXT_remap_index] |
| 2025 | #define _gloffset_EndTransformFeedbackEXT driDispatchRemapTable[EndTransformFeedbackEXT_remap_index] |
| 2026 | #define _gloffset_GetTransformFeedbackVaryingEXT driDispatchRemapTable[GetTransformFeedbackVaryingEXT_remap_index] |
| 2027 | #define _gloffset_TransformFeedbackVaryingsEXT driDispatchRemapTable[TransformFeedbackVaryingsEXT_remap_index] |
| 2028 | #define _gloffset_ProvokingVertexEXT driDispatchRemapTable[ProvokingVertexEXT_remap_index] |
| 2029 | #define _gloffset_GetTexParameterPointervAPPLE driDispatchRemapTable[GetTexParameterPointervAPPLE_remap_index] |
| 2030 | #define _gloffset_TextureRangeAPPLE driDispatchRemapTable[TextureRangeAPPLE_remap_index] |
| 2031 | #define _gloffset_GetObjectParameterivAPPLE driDispatchRemapTable[GetObjectParameterivAPPLE_remap_index] |
| 2032 | #define _gloffset_ObjectPurgeableAPPLE driDispatchRemapTable[ObjectPurgeableAPPLE_remap_index] |
| 2033 | #define _gloffset_ObjectUnpurgeableAPPLE driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index] |
| Chia-I Wu | 9de5c6a | 2010-10-29 12:45:04 +0800 | [diff] [blame] | 2034 | #define _gloffset_ActiveProgramEXT driDispatchRemapTable[ActiveProgramEXT_remap_index] |
| 2035 | #define _gloffset_CreateShaderProgramEXT driDispatchRemapTable[CreateShaderProgramEXT_remap_index] |
| 2036 | #define _gloffset_UseShaderProgramEXT driDispatchRemapTable[UseShaderProgramEXT_remap_index] |
| Marek Olšák | 7fa53f3 | 2011-03-08 11:30:54 +0100 | [diff] [blame] | 2037 | #define _gloffset_TextureBarrierNV driDispatchRemapTable[TextureBarrierNV_remap_index] |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 2038 | #define _gloffset_StencilFuncSeparateATI driDispatchRemapTable[StencilFuncSeparateATI_remap_index] |
| 2039 | #define _gloffset_ProgramEnvParameters4fvEXT driDispatchRemapTable[ProgramEnvParameters4fvEXT_remap_index] |
| 2040 | #define _gloffset_ProgramLocalParameters4fvEXT driDispatchRemapTable[ProgramLocalParameters4fvEXT_remap_index] |
| 2041 | #define _gloffset_GetQueryObjecti64vEXT driDispatchRemapTable[GetQueryObjecti64vEXT_remap_index] |
| 2042 | #define _gloffset_GetQueryObjectui64vEXT driDispatchRemapTable[GetQueryObjectui64vEXT_remap_index] |
| 2043 | #define _gloffset_EGLImageTargetRenderbufferStorageOES driDispatchRemapTable[EGLImageTargetRenderbufferStorageOES_remap_index] |
| 2044 | #define _gloffset_EGLImageTargetTexture2DOES driDispatchRemapTable[EGLImageTargetTexture2DOES_remap_index] |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 2045 | |
| Chia-I Wu | 07b8545 | 2010-10-26 00:16:49 +0800 | [diff] [blame] | 2046 | #endif /* _GLAPI_USE_REMAP_TABLE */ |
| 2047 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2048 | typedef void (GLAPIENTRYP _glptr_NewList)(GLuint, GLenum); |
| 2049 | #define CALL_NewList(disp, parameters) \ |
| 2050 | (* GET_NewList(disp)) parameters |
| 2051 | static INLINE _glptr_NewList GET_NewList(struct _glapi_table *disp) { |
| 2052 | return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList)); |
| 2053 | } |
| 2054 | |
| 2055 | static INLINE void SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2056 | SET_by_offset(disp, _gloffset_NewList, fn); |
| 2057 | } |
| 2058 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2059 | typedef void (GLAPIENTRYP _glptr_EndList)(void); |
| 2060 | #define CALL_EndList(disp, parameters) \ |
| 2061 | (* GET_EndList(disp)) parameters |
| 2062 | static INLINE _glptr_EndList GET_EndList(struct _glapi_table *disp) { |
| 2063 | return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList)); |
| 2064 | } |
| 2065 | |
| 2066 | static INLINE void SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2067 | SET_by_offset(disp, _gloffset_EndList, fn); |
| 2068 | } |
| 2069 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2070 | typedef void (GLAPIENTRYP _glptr_CallList)(GLuint); |
| 2071 | #define CALL_CallList(disp, parameters) \ |
| 2072 | (* GET_CallList(disp)) parameters |
| 2073 | static INLINE _glptr_CallList GET_CallList(struct _glapi_table *disp) { |
| 2074 | return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList)); |
| 2075 | } |
| 2076 | |
| 2077 | static INLINE void SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2078 | SET_by_offset(disp, _gloffset_CallList, fn); |
| 2079 | } |
| 2080 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2081 | typedef void (GLAPIENTRYP _glptr_CallLists)(GLsizei, GLenum, const GLvoid *); |
| 2082 | #define CALL_CallLists(disp, parameters) \ |
| 2083 | (* GET_CallLists(disp)) parameters |
| 2084 | static INLINE _glptr_CallLists GET_CallLists(struct _glapi_table *disp) { |
| 2085 | return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists)); |
| 2086 | } |
| 2087 | |
| 2088 | static INLINE void SET_CallLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2089 | SET_by_offset(disp, _gloffset_CallLists, fn); |
| 2090 | } |
| 2091 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2092 | typedef void (GLAPIENTRYP _glptr_DeleteLists)(GLuint, GLsizei); |
| 2093 | #define CALL_DeleteLists(disp, parameters) \ |
| 2094 | (* GET_DeleteLists(disp)) parameters |
| 2095 | static INLINE _glptr_DeleteLists GET_DeleteLists(struct _glapi_table *disp) { |
| 2096 | return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists)); |
| 2097 | } |
| 2098 | |
| 2099 | static INLINE void SET_DeleteLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2100 | SET_by_offset(disp, _gloffset_DeleteLists, fn); |
| 2101 | } |
| 2102 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2103 | typedef GLuint (GLAPIENTRYP _glptr_GenLists)(GLsizei); |
| 2104 | #define CALL_GenLists(disp, parameters) \ |
| 2105 | (* GET_GenLists(disp)) parameters |
| 2106 | static INLINE _glptr_GenLists GET_GenLists(struct _glapi_table *disp) { |
| 2107 | return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists)); |
| 2108 | } |
| 2109 | |
| 2110 | static INLINE void SET_GenLists(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2111 | SET_by_offset(disp, _gloffset_GenLists, fn); |
| 2112 | } |
| 2113 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2114 | typedef void (GLAPIENTRYP _glptr_ListBase)(GLuint); |
| 2115 | #define CALL_ListBase(disp, parameters) \ |
| 2116 | (* GET_ListBase(disp)) parameters |
| 2117 | static INLINE _glptr_ListBase GET_ListBase(struct _glapi_table *disp) { |
| 2118 | return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase)); |
| 2119 | } |
| 2120 | |
| 2121 | static INLINE void SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2122 | SET_by_offset(disp, _gloffset_ListBase, fn); |
| 2123 | } |
| 2124 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2125 | typedef void (GLAPIENTRYP _glptr_Begin)(GLenum); |
| 2126 | #define CALL_Begin(disp, parameters) \ |
| 2127 | (* GET_Begin(disp)) parameters |
| 2128 | static INLINE _glptr_Begin GET_Begin(struct _glapi_table *disp) { |
| 2129 | return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin)); |
| 2130 | } |
| 2131 | |
| 2132 | static INLINE void SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2133 | SET_by_offset(disp, _gloffset_Begin, fn); |
| 2134 | } |
| 2135 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2136 | typedef void (GLAPIENTRYP _glptr_Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *); |
| 2137 | #define CALL_Bitmap(disp, parameters) \ |
| 2138 | (* GET_Bitmap(disp)) parameters |
| 2139 | static INLINE _glptr_Bitmap GET_Bitmap(struct _glapi_table *disp) { |
| 2140 | return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap)); |
| 2141 | } |
| 2142 | |
| 2143 | static INLINE void SET_Bitmap(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2144 | SET_by_offset(disp, _gloffset_Bitmap, fn); |
| 2145 | } |
| 2146 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2147 | typedef void (GLAPIENTRYP _glptr_Color3b)(GLbyte, GLbyte, GLbyte); |
| 2148 | #define CALL_Color3b(disp, parameters) \ |
| 2149 | (* GET_Color3b(disp)) parameters |
| 2150 | static INLINE _glptr_Color3b GET_Color3b(struct _glapi_table *disp) { |
| 2151 | return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b)); |
| 2152 | } |
| 2153 | |
| 2154 | static INLINE void SET_Color3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2155 | SET_by_offset(disp, _gloffset_Color3b, fn); |
| 2156 | } |
| 2157 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2158 | typedef void (GLAPIENTRYP _glptr_Color3bv)(const GLbyte *); |
| 2159 | #define CALL_Color3bv(disp, parameters) \ |
| 2160 | (* GET_Color3bv(disp)) parameters |
| 2161 | static INLINE _glptr_Color3bv GET_Color3bv(struct _glapi_table *disp) { |
| 2162 | return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv)); |
| 2163 | } |
| 2164 | |
| 2165 | static INLINE void SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2166 | SET_by_offset(disp, _gloffset_Color3bv, fn); |
| 2167 | } |
| 2168 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2169 | typedef void (GLAPIENTRYP _glptr_Color3d)(GLdouble, GLdouble, GLdouble); |
| 2170 | #define CALL_Color3d(disp, parameters) \ |
| 2171 | (* GET_Color3d(disp)) parameters |
| 2172 | static INLINE _glptr_Color3d GET_Color3d(struct _glapi_table *disp) { |
| 2173 | return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d)); |
| 2174 | } |
| 2175 | |
| 2176 | static INLINE void SET_Color3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2177 | SET_by_offset(disp, _gloffset_Color3d, fn); |
| 2178 | } |
| 2179 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2180 | typedef void (GLAPIENTRYP _glptr_Color3dv)(const GLdouble *); |
| 2181 | #define CALL_Color3dv(disp, parameters) \ |
| 2182 | (* GET_Color3dv(disp)) parameters |
| 2183 | static INLINE _glptr_Color3dv GET_Color3dv(struct _glapi_table *disp) { |
| 2184 | return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv)); |
| 2185 | } |
| 2186 | |
| 2187 | static INLINE void SET_Color3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2188 | SET_by_offset(disp, _gloffset_Color3dv, fn); |
| 2189 | } |
| 2190 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2191 | typedef void (GLAPIENTRYP _glptr_Color3f)(GLfloat, GLfloat, GLfloat); |
| 2192 | #define CALL_Color3f(disp, parameters) \ |
| 2193 | (* GET_Color3f(disp)) parameters |
| 2194 | static INLINE _glptr_Color3f GET_Color3f(struct _glapi_table *disp) { |
| 2195 | return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f)); |
| 2196 | } |
| 2197 | |
| 2198 | static INLINE void SET_Color3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2199 | SET_by_offset(disp, _gloffset_Color3f, fn); |
| 2200 | } |
| 2201 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2202 | typedef void (GLAPIENTRYP _glptr_Color3fv)(const GLfloat *); |
| 2203 | #define CALL_Color3fv(disp, parameters) \ |
| 2204 | (* GET_Color3fv(disp)) parameters |
| 2205 | static INLINE _glptr_Color3fv GET_Color3fv(struct _glapi_table *disp) { |
| 2206 | return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv)); |
| 2207 | } |
| 2208 | |
| 2209 | static INLINE void SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2210 | SET_by_offset(disp, _gloffset_Color3fv, fn); |
| 2211 | } |
| 2212 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2213 | typedef void (GLAPIENTRYP _glptr_Color3i)(GLint, GLint, GLint); |
| 2214 | #define CALL_Color3i(disp, parameters) \ |
| 2215 | (* GET_Color3i(disp)) parameters |
| 2216 | static INLINE _glptr_Color3i GET_Color3i(struct _glapi_table *disp) { |
| 2217 | return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i)); |
| 2218 | } |
| 2219 | |
| 2220 | static INLINE void SET_Color3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2221 | SET_by_offset(disp, _gloffset_Color3i, fn); |
| 2222 | } |
| 2223 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2224 | typedef void (GLAPIENTRYP _glptr_Color3iv)(const GLint *); |
| 2225 | #define CALL_Color3iv(disp, parameters) \ |
| 2226 | (* GET_Color3iv(disp)) parameters |
| 2227 | static INLINE _glptr_Color3iv GET_Color3iv(struct _glapi_table *disp) { |
| 2228 | return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv)); |
| 2229 | } |
| 2230 | |
| 2231 | static INLINE void SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2232 | SET_by_offset(disp, _gloffset_Color3iv, fn); |
| 2233 | } |
| 2234 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2235 | typedef void (GLAPIENTRYP _glptr_Color3s)(GLshort, GLshort, GLshort); |
| 2236 | #define CALL_Color3s(disp, parameters) \ |
| 2237 | (* GET_Color3s(disp)) parameters |
| 2238 | static INLINE _glptr_Color3s GET_Color3s(struct _glapi_table *disp) { |
| 2239 | return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s)); |
| 2240 | } |
| 2241 | |
| 2242 | static INLINE void SET_Color3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2243 | SET_by_offset(disp, _gloffset_Color3s, fn); |
| 2244 | } |
| 2245 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2246 | typedef void (GLAPIENTRYP _glptr_Color3sv)(const GLshort *); |
| 2247 | #define CALL_Color3sv(disp, parameters) \ |
| 2248 | (* GET_Color3sv(disp)) parameters |
| 2249 | static INLINE _glptr_Color3sv GET_Color3sv(struct _glapi_table *disp) { |
| 2250 | return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv)); |
| 2251 | } |
| 2252 | |
| 2253 | static INLINE void SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2254 | SET_by_offset(disp, _gloffset_Color3sv, fn); |
| 2255 | } |
| 2256 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2257 | typedef void (GLAPIENTRYP _glptr_Color3ub)(GLubyte, GLubyte, GLubyte); |
| 2258 | #define CALL_Color3ub(disp, parameters) \ |
| 2259 | (* GET_Color3ub(disp)) parameters |
| 2260 | static INLINE _glptr_Color3ub GET_Color3ub(struct _glapi_table *disp) { |
| 2261 | return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub)); |
| 2262 | } |
| 2263 | |
| 2264 | static INLINE void SET_Color3ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2265 | SET_by_offset(disp, _gloffset_Color3ub, fn); |
| 2266 | } |
| 2267 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2268 | typedef void (GLAPIENTRYP _glptr_Color3ubv)(const GLubyte *); |
| 2269 | #define CALL_Color3ubv(disp, parameters) \ |
| 2270 | (* GET_Color3ubv(disp)) parameters |
| 2271 | static INLINE _glptr_Color3ubv GET_Color3ubv(struct _glapi_table *disp) { |
| 2272 | return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv)); |
| 2273 | } |
| 2274 | |
| 2275 | static INLINE void SET_Color3ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2276 | SET_by_offset(disp, _gloffset_Color3ubv, fn); |
| 2277 | } |
| 2278 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2279 | typedef void (GLAPIENTRYP _glptr_Color3ui)(GLuint, GLuint, GLuint); |
| 2280 | #define CALL_Color3ui(disp, parameters) \ |
| 2281 | (* GET_Color3ui(disp)) parameters |
| 2282 | static INLINE _glptr_Color3ui GET_Color3ui(struct _glapi_table *disp) { |
| 2283 | return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui)); |
| 2284 | } |
| 2285 | |
| 2286 | static INLINE void SET_Color3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2287 | SET_by_offset(disp, _gloffset_Color3ui, fn); |
| 2288 | } |
| 2289 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2290 | typedef void (GLAPIENTRYP _glptr_Color3uiv)(const GLuint *); |
| 2291 | #define CALL_Color3uiv(disp, parameters) \ |
| 2292 | (* GET_Color3uiv(disp)) parameters |
| 2293 | static INLINE _glptr_Color3uiv GET_Color3uiv(struct _glapi_table *disp) { |
| 2294 | return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv)); |
| 2295 | } |
| 2296 | |
| 2297 | static INLINE void SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2298 | SET_by_offset(disp, _gloffset_Color3uiv, fn); |
| 2299 | } |
| 2300 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2301 | typedef void (GLAPIENTRYP _glptr_Color3us)(GLushort, GLushort, GLushort); |
| 2302 | #define CALL_Color3us(disp, parameters) \ |
| 2303 | (* GET_Color3us(disp)) parameters |
| 2304 | static INLINE _glptr_Color3us GET_Color3us(struct _glapi_table *disp) { |
| 2305 | return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us)); |
| 2306 | } |
| 2307 | |
| 2308 | static INLINE void SET_Color3us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2309 | SET_by_offset(disp, _gloffset_Color3us, fn); |
| 2310 | } |
| 2311 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2312 | typedef void (GLAPIENTRYP _glptr_Color3usv)(const GLushort *); |
| 2313 | #define CALL_Color3usv(disp, parameters) \ |
| 2314 | (* GET_Color3usv(disp)) parameters |
| 2315 | static INLINE _glptr_Color3usv GET_Color3usv(struct _glapi_table *disp) { |
| 2316 | return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv)); |
| 2317 | } |
| 2318 | |
| 2319 | static INLINE void SET_Color3usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2320 | SET_by_offset(disp, _gloffset_Color3usv, fn); |
| 2321 | } |
| 2322 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2323 | typedef void (GLAPIENTRYP _glptr_Color4b)(GLbyte, GLbyte, GLbyte, GLbyte); |
| 2324 | #define CALL_Color4b(disp, parameters) \ |
| 2325 | (* GET_Color4b(disp)) parameters |
| 2326 | static INLINE _glptr_Color4b GET_Color4b(struct _glapi_table *disp) { |
| 2327 | return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b)); |
| 2328 | } |
| 2329 | |
| 2330 | static INLINE void SET_Color4b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte, GLbyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2331 | SET_by_offset(disp, _gloffset_Color4b, fn); |
| 2332 | } |
| 2333 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2334 | typedef void (GLAPIENTRYP _glptr_Color4bv)(const GLbyte *); |
| 2335 | #define CALL_Color4bv(disp, parameters) \ |
| 2336 | (* GET_Color4bv(disp)) parameters |
| 2337 | static INLINE _glptr_Color4bv GET_Color4bv(struct _glapi_table *disp) { |
| 2338 | return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv)); |
| 2339 | } |
| 2340 | |
| 2341 | static INLINE void SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2342 | SET_by_offset(disp, _gloffset_Color4bv, fn); |
| 2343 | } |
| 2344 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2345 | typedef void (GLAPIENTRYP _glptr_Color4d)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 2346 | #define CALL_Color4d(disp, parameters) \ |
| 2347 | (* GET_Color4d(disp)) parameters |
| 2348 | static INLINE _glptr_Color4d GET_Color4d(struct _glapi_table *disp) { |
| 2349 | return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d)); |
| 2350 | } |
| 2351 | |
| 2352 | static INLINE void SET_Color4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2353 | SET_by_offset(disp, _gloffset_Color4d, fn); |
| 2354 | } |
| 2355 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2356 | typedef void (GLAPIENTRYP _glptr_Color4dv)(const GLdouble *); |
| 2357 | #define CALL_Color4dv(disp, parameters) \ |
| 2358 | (* GET_Color4dv(disp)) parameters |
| 2359 | static INLINE _glptr_Color4dv GET_Color4dv(struct _glapi_table *disp) { |
| 2360 | return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv)); |
| 2361 | } |
| 2362 | |
| 2363 | static INLINE void SET_Color4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2364 | SET_by_offset(disp, _gloffset_Color4dv, fn); |
| 2365 | } |
| 2366 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2367 | typedef void (GLAPIENTRYP _glptr_Color4f)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 2368 | #define CALL_Color4f(disp, parameters) \ |
| 2369 | (* GET_Color4f(disp)) parameters |
| 2370 | static INLINE _glptr_Color4f GET_Color4f(struct _glapi_table *disp) { |
| 2371 | return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f)); |
| 2372 | } |
| 2373 | |
| 2374 | static INLINE void SET_Color4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2375 | SET_by_offset(disp, _gloffset_Color4f, fn); |
| 2376 | } |
| 2377 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2378 | typedef void (GLAPIENTRYP _glptr_Color4fv)(const GLfloat *); |
| 2379 | #define CALL_Color4fv(disp, parameters) \ |
| 2380 | (* GET_Color4fv(disp)) parameters |
| 2381 | static INLINE _glptr_Color4fv GET_Color4fv(struct _glapi_table *disp) { |
| 2382 | return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv)); |
| 2383 | } |
| 2384 | |
| 2385 | static INLINE void SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2386 | SET_by_offset(disp, _gloffset_Color4fv, fn); |
| 2387 | } |
| 2388 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2389 | typedef void (GLAPIENTRYP _glptr_Color4i)(GLint, GLint, GLint, GLint); |
| 2390 | #define CALL_Color4i(disp, parameters) \ |
| 2391 | (* GET_Color4i(disp)) parameters |
| 2392 | static INLINE _glptr_Color4i GET_Color4i(struct _glapi_table *disp) { |
| 2393 | return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i)); |
| 2394 | } |
| 2395 | |
| 2396 | static INLINE void SET_Color4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2397 | SET_by_offset(disp, _gloffset_Color4i, fn); |
| 2398 | } |
| 2399 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2400 | typedef void (GLAPIENTRYP _glptr_Color4iv)(const GLint *); |
| 2401 | #define CALL_Color4iv(disp, parameters) \ |
| 2402 | (* GET_Color4iv(disp)) parameters |
| 2403 | static INLINE _glptr_Color4iv GET_Color4iv(struct _glapi_table *disp) { |
| 2404 | return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv)); |
| 2405 | } |
| 2406 | |
| 2407 | static INLINE void SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2408 | SET_by_offset(disp, _gloffset_Color4iv, fn); |
| 2409 | } |
| 2410 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2411 | typedef void (GLAPIENTRYP _glptr_Color4s)(GLshort, GLshort, GLshort, GLshort); |
| 2412 | #define CALL_Color4s(disp, parameters) \ |
| 2413 | (* GET_Color4s(disp)) parameters |
| 2414 | static INLINE _glptr_Color4s GET_Color4s(struct _glapi_table *disp) { |
| 2415 | return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s)); |
| 2416 | } |
| 2417 | |
| 2418 | static INLINE void SET_Color4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2419 | SET_by_offset(disp, _gloffset_Color4s, fn); |
| 2420 | } |
| 2421 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2422 | typedef void (GLAPIENTRYP _glptr_Color4sv)(const GLshort *); |
| 2423 | #define CALL_Color4sv(disp, parameters) \ |
| 2424 | (* GET_Color4sv(disp)) parameters |
| 2425 | static INLINE _glptr_Color4sv GET_Color4sv(struct _glapi_table *disp) { |
| 2426 | return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv)); |
| 2427 | } |
| 2428 | |
| 2429 | static INLINE void SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2430 | SET_by_offset(disp, _gloffset_Color4sv, fn); |
| 2431 | } |
| 2432 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2433 | typedef void (GLAPIENTRYP _glptr_Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte); |
| 2434 | #define CALL_Color4ub(disp, parameters) \ |
| 2435 | (* GET_Color4ub(disp)) parameters |
| 2436 | static INLINE _glptr_Color4ub GET_Color4ub(struct _glapi_table *disp) { |
| 2437 | return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub)); |
| 2438 | } |
| 2439 | |
| 2440 | static INLINE void SET_Color4ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte, GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2441 | SET_by_offset(disp, _gloffset_Color4ub, fn); |
| 2442 | } |
| 2443 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2444 | typedef void (GLAPIENTRYP _glptr_Color4ubv)(const GLubyte *); |
| 2445 | #define CALL_Color4ubv(disp, parameters) \ |
| 2446 | (* GET_Color4ubv(disp)) parameters |
| 2447 | static INLINE _glptr_Color4ubv GET_Color4ubv(struct _glapi_table *disp) { |
| 2448 | return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv)); |
| 2449 | } |
| 2450 | |
| 2451 | static INLINE void SET_Color4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2452 | SET_by_offset(disp, _gloffset_Color4ubv, fn); |
| 2453 | } |
| 2454 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2455 | typedef void (GLAPIENTRYP _glptr_Color4ui)(GLuint, GLuint, GLuint, GLuint); |
| 2456 | #define CALL_Color4ui(disp, parameters) \ |
| 2457 | (* GET_Color4ui(disp)) parameters |
| 2458 | static INLINE _glptr_Color4ui GET_Color4ui(struct _glapi_table *disp) { |
| 2459 | return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui)); |
| 2460 | } |
| 2461 | |
| 2462 | static INLINE void SET_Color4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2463 | SET_by_offset(disp, _gloffset_Color4ui, fn); |
| 2464 | } |
| 2465 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2466 | typedef void (GLAPIENTRYP _glptr_Color4uiv)(const GLuint *); |
| 2467 | #define CALL_Color4uiv(disp, parameters) \ |
| 2468 | (* GET_Color4uiv(disp)) parameters |
| 2469 | static INLINE _glptr_Color4uiv GET_Color4uiv(struct _glapi_table *disp) { |
| 2470 | return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv)); |
| 2471 | } |
| 2472 | |
| 2473 | static INLINE void SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2474 | SET_by_offset(disp, _gloffset_Color4uiv, fn); |
| 2475 | } |
| 2476 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2477 | typedef void (GLAPIENTRYP _glptr_Color4us)(GLushort, GLushort, GLushort, GLushort); |
| 2478 | #define CALL_Color4us(disp, parameters) \ |
| 2479 | (* GET_Color4us(disp)) parameters |
| 2480 | static INLINE _glptr_Color4us GET_Color4us(struct _glapi_table *disp) { |
| 2481 | return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us)); |
| 2482 | } |
| 2483 | |
| 2484 | static INLINE void SET_Color4us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort, GLushort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2485 | SET_by_offset(disp, _gloffset_Color4us, fn); |
| 2486 | } |
| 2487 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2488 | typedef void (GLAPIENTRYP _glptr_Color4usv)(const GLushort *); |
| 2489 | #define CALL_Color4usv(disp, parameters) \ |
| 2490 | (* GET_Color4usv(disp)) parameters |
| 2491 | static INLINE _glptr_Color4usv GET_Color4usv(struct _glapi_table *disp) { |
| 2492 | return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv)); |
| 2493 | } |
| 2494 | |
| 2495 | static INLINE void SET_Color4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2496 | SET_by_offset(disp, _gloffset_Color4usv, fn); |
| 2497 | } |
| 2498 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2499 | typedef void (GLAPIENTRYP _glptr_EdgeFlag)(GLboolean); |
| 2500 | #define CALL_EdgeFlag(disp, parameters) \ |
| 2501 | (* GET_EdgeFlag(disp)) parameters |
| 2502 | static INLINE _glptr_EdgeFlag GET_EdgeFlag(struct _glapi_table *disp) { |
| 2503 | return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag)); |
| 2504 | } |
| 2505 | |
| 2506 | static INLINE void SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2507 | SET_by_offset(disp, _gloffset_EdgeFlag, fn); |
| 2508 | } |
| 2509 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2510 | typedef void (GLAPIENTRYP _glptr_EdgeFlagv)(const GLboolean *); |
| 2511 | #define CALL_EdgeFlagv(disp, parameters) \ |
| 2512 | (* GET_EdgeFlagv(disp)) parameters |
| 2513 | static INLINE _glptr_EdgeFlagv GET_EdgeFlagv(struct _glapi_table *disp) { |
| 2514 | return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv)); |
| 2515 | } |
| 2516 | |
| 2517 | static INLINE void SET_EdgeFlagv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2518 | SET_by_offset(disp, _gloffset_EdgeFlagv, fn); |
| 2519 | } |
| 2520 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2521 | typedef void (GLAPIENTRYP _glptr_End)(void); |
| 2522 | #define CALL_End(disp, parameters) \ |
| 2523 | (* GET_End(disp)) parameters |
| 2524 | static INLINE _glptr_End GET_End(struct _glapi_table *disp) { |
| 2525 | return (_glptr_End) (GET_by_offset(disp, _gloffset_End)); |
| 2526 | } |
| 2527 | |
| 2528 | static INLINE void SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2529 | SET_by_offset(disp, _gloffset_End, fn); |
| 2530 | } |
| 2531 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2532 | typedef void (GLAPIENTRYP _glptr_Indexd)(GLdouble); |
| 2533 | #define CALL_Indexd(disp, parameters) \ |
| 2534 | (* GET_Indexd(disp)) parameters |
| 2535 | static INLINE _glptr_Indexd GET_Indexd(struct _glapi_table *disp) { |
| 2536 | return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd)); |
| 2537 | } |
| 2538 | |
| 2539 | static INLINE void SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2540 | SET_by_offset(disp, _gloffset_Indexd, fn); |
| 2541 | } |
| 2542 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2543 | typedef void (GLAPIENTRYP _glptr_Indexdv)(const GLdouble *); |
| 2544 | #define CALL_Indexdv(disp, parameters) \ |
| 2545 | (* GET_Indexdv(disp)) parameters |
| 2546 | static INLINE _glptr_Indexdv GET_Indexdv(struct _glapi_table *disp) { |
| 2547 | return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv)); |
| 2548 | } |
| 2549 | |
| 2550 | static INLINE void SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2551 | SET_by_offset(disp, _gloffset_Indexdv, fn); |
| 2552 | } |
| 2553 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2554 | typedef void (GLAPIENTRYP _glptr_Indexf)(GLfloat); |
| 2555 | #define CALL_Indexf(disp, parameters) \ |
| 2556 | (* GET_Indexf(disp)) parameters |
| 2557 | static INLINE _glptr_Indexf GET_Indexf(struct _glapi_table *disp) { |
| 2558 | return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf)); |
| 2559 | } |
| 2560 | |
| 2561 | static INLINE void SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2562 | SET_by_offset(disp, _gloffset_Indexf, fn); |
| 2563 | } |
| 2564 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2565 | typedef void (GLAPIENTRYP _glptr_Indexfv)(const GLfloat *); |
| 2566 | #define CALL_Indexfv(disp, parameters) \ |
| 2567 | (* GET_Indexfv(disp)) parameters |
| 2568 | static INLINE _glptr_Indexfv GET_Indexfv(struct _glapi_table *disp) { |
| 2569 | return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv)); |
| 2570 | } |
| 2571 | |
| 2572 | static INLINE void SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2573 | SET_by_offset(disp, _gloffset_Indexfv, fn); |
| 2574 | } |
| 2575 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2576 | typedef void (GLAPIENTRYP _glptr_Indexi)(GLint); |
| 2577 | #define CALL_Indexi(disp, parameters) \ |
| 2578 | (* GET_Indexi(disp)) parameters |
| 2579 | static INLINE _glptr_Indexi GET_Indexi(struct _glapi_table *disp) { |
| 2580 | return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi)); |
| 2581 | } |
| 2582 | |
| 2583 | static INLINE void SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2584 | SET_by_offset(disp, _gloffset_Indexi, fn); |
| 2585 | } |
| 2586 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2587 | typedef void (GLAPIENTRYP _glptr_Indexiv)(const GLint *); |
| 2588 | #define CALL_Indexiv(disp, parameters) \ |
| 2589 | (* GET_Indexiv(disp)) parameters |
| 2590 | static INLINE _glptr_Indexiv GET_Indexiv(struct _glapi_table *disp) { |
| 2591 | return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv)); |
| 2592 | } |
| 2593 | |
| 2594 | static INLINE void SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2595 | SET_by_offset(disp, _gloffset_Indexiv, fn); |
| 2596 | } |
| 2597 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2598 | typedef void (GLAPIENTRYP _glptr_Indexs)(GLshort); |
| 2599 | #define CALL_Indexs(disp, parameters) \ |
| 2600 | (* GET_Indexs(disp)) parameters |
| 2601 | static INLINE _glptr_Indexs GET_Indexs(struct _glapi_table *disp) { |
| 2602 | return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs)); |
| 2603 | } |
| 2604 | |
| 2605 | static INLINE void SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2606 | SET_by_offset(disp, _gloffset_Indexs, fn); |
| 2607 | } |
| 2608 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2609 | typedef void (GLAPIENTRYP _glptr_Indexsv)(const GLshort *); |
| 2610 | #define CALL_Indexsv(disp, parameters) \ |
| 2611 | (* GET_Indexsv(disp)) parameters |
| 2612 | static INLINE _glptr_Indexsv GET_Indexsv(struct _glapi_table *disp) { |
| 2613 | return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv)); |
| 2614 | } |
| 2615 | |
| 2616 | static INLINE void SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2617 | SET_by_offset(disp, _gloffset_Indexsv, fn); |
| 2618 | } |
| 2619 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2620 | typedef void (GLAPIENTRYP _glptr_Normal3b)(GLbyte, GLbyte, GLbyte); |
| 2621 | #define CALL_Normal3b(disp, parameters) \ |
| 2622 | (* GET_Normal3b(disp)) parameters |
| 2623 | static INLINE _glptr_Normal3b GET_Normal3b(struct _glapi_table *disp) { |
| 2624 | return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b)); |
| 2625 | } |
| 2626 | |
| 2627 | static INLINE void SET_Normal3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2628 | SET_by_offset(disp, _gloffset_Normal3b, fn); |
| 2629 | } |
| 2630 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2631 | typedef void (GLAPIENTRYP _glptr_Normal3bv)(const GLbyte *); |
| 2632 | #define CALL_Normal3bv(disp, parameters) \ |
| 2633 | (* GET_Normal3bv(disp)) parameters |
| 2634 | static INLINE _glptr_Normal3bv GET_Normal3bv(struct _glapi_table *disp) { |
| 2635 | return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv)); |
| 2636 | } |
| 2637 | |
| 2638 | static INLINE void SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2639 | SET_by_offset(disp, _gloffset_Normal3bv, fn); |
| 2640 | } |
| 2641 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2642 | typedef void (GLAPIENTRYP _glptr_Normal3d)(GLdouble, GLdouble, GLdouble); |
| 2643 | #define CALL_Normal3d(disp, parameters) \ |
| 2644 | (* GET_Normal3d(disp)) parameters |
| 2645 | static INLINE _glptr_Normal3d GET_Normal3d(struct _glapi_table *disp) { |
| 2646 | return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d)); |
| 2647 | } |
| 2648 | |
| 2649 | static INLINE void SET_Normal3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2650 | SET_by_offset(disp, _gloffset_Normal3d, fn); |
| 2651 | } |
| 2652 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2653 | typedef void (GLAPIENTRYP _glptr_Normal3dv)(const GLdouble *); |
| 2654 | #define CALL_Normal3dv(disp, parameters) \ |
| 2655 | (* GET_Normal3dv(disp)) parameters |
| 2656 | static INLINE _glptr_Normal3dv GET_Normal3dv(struct _glapi_table *disp) { |
| 2657 | return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv)); |
| 2658 | } |
| 2659 | |
| 2660 | static INLINE void SET_Normal3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2661 | SET_by_offset(disp, _gloffset_Normal3dv, fn); |
| 2662 | } |
| 2663 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2664 | typedef void (GLAPIENTRYP _glptr_Normal3f)(GLfloat, GLfloat, GLfloat); |
| 2665 | #define CALL_Normal3f(disp, parameters) \ |
| 2666 | (* GET_Normal3f(disp)) parameters |
| 2667 | static INLINE _glptr_Normal3f GET_Normal3f(struct _glapi_table *disp) { |
| 2668 | return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f)); |
| 2669 | } |
| 2670 | |
| 2671 | static INLINE void SET_Normal3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2672 | SET_by_offset(disp, _gloffset_Normal3f, fn); |
| 2673 | } |
| 2674 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2675 | typedef void (GLAPIENTRYP _glptr_Normal3fv)(const GLfloat *); |
| 2676 | #define CALL_Normal3fv(disp, parameters) \ |
| 2677 | (* GET_Normal3fv(disp)) parameters |
| 2678 | static INLINE _glptr_Normal3fv GET_Normal3fv(struct _glapi_table *disp) { |
| 2679 | return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv)); |
| 2680 | } |
| 2681 | |
| 2682 | static INLINE void SET_Normal3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2683 | SET_by_offset(disp, _gloffset_Normal3fv, fn); |
| 2684 | } |
| 2685 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2686 | typedef void (GLAPIENTRYP _glptr_Normal3i)(GLint, GLint, GLint); |
| 2687 | #define CALL_Normal3i(disp, parameters) \ |
| 2688 | (* GET_Normal3i(disp)) parameters |
| 2689 | static INLINE _glptr_Normal3i GET_Normal3i(struct _glapi_table *disp) { |
| 2690 | return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i)); |
| 2691 | } |
| 2692 | |
| 2693 | static INLINE void SET_Normal3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2694 | SET_by_offset(disp, _gloffset_Normal3i, fn); |
| 2695 | } |
| 2696 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2697 | typedef void (GLAPIENTRYP _glptr_Normal3iv)(const GLint *); |
| 2698 | #define CALL_Normal3iv(disp, parameters) \ |
| 2699 | (* GET_Normal3iv(disp)) parameters |
| 2700 | static INLINE _glptr_Normal3iv GET_Normal3iv(struct _glapi_table *disp) { |
| 2701 | return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv)); |
| 2702 | } |
| 2703 | |
| 2704 | static INLINE void SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2705 | SET_by_offset(disp, _gloffset_Normal3iv, fn); |
| 2706 | } |
| 2707 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2708 | typedef void (GLAPIENTRYP _glptr_Normal3s)(GLshort, GLshort, GLshort); |
| 2709 | #define CALL_Normal3s(disp, parameters) \ |
| 2710 | (* GET_Normal3s(disp)) parameters |
| 2711 | static INLINE _glptr_Normal3s GET_Normal3s(struct _glapi_table *disp) { |
| 2712 | return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s)); |
| 2713 | } |
| 2714 | |
| 2715 | static INLINE void SET_Normal3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2716 | SET_by_offset(disp, _gloffset_Normal3s, fn); |
| 2717 | } |
| 2718 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2719 | typedef void (GLAPIENTRYP _glptr_Normal3sv)(const GLshort *); |
| 2720 | #define CALL_Normal3sv(disp, parameters) \ |
| 2721 | (* GET_Normal3sv(disp)) parameters |
| 2722 | static INLINE _glptr_Normal3sv GET_Normal3sv(struct _glapi_table *disp) { |
| 2723 | return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv)); |
| 2724 | } |
| 2725 | |
| 2726 | static INLINE void SET_Normal3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2727 | SET_by_offset(disp, _gloffset_Normal3sv, fn); |
| 2728 | } |
| 2729 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2730 | typedef void (GLAPIENTRYP _glptr_RasterPos2d)(GLdouble, GLdouble); |
| 2731 | #define CALL_RasterPos2d(disp, parameters) \ |
| 2732 | (* GET_RasterPos2d(disp)) parameters |
| 2733 | static INLINE _glptr_RasterPos2d GET_RasterPos2d(struct _glapi_table *disp) { |
| 2734 | return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d)); |
| 2735 | } |
| 2736 | |
| 2737 | static INLINE void SET_RasterPos2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2738 | SET_by_offset(disp, _gloffset_RasterPos2d, fn); |
| 2739 | } |
| 2740 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2741 | typedef void (GLAPIENTRYP _glptr_RasterPos2dv)(const GLdouble *); |
| 2742 | #define CALL_RasterPos2dv(disp, parameters) \ |
| 2743 | (* GET_RasterPos2dv(disp)) parameters |
| 2744 | static INLINE _glptr_RasterPos2dv GET_RasterPos2dv(struct _glapi_table *disp) { |
| 2745 | return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv)); |
| 2746 | } |
| 2747 | |
| 2748 | static INLINE void SET_RasterPos2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2749 | SET_by_offset(disp, _gloffset_RasterPos2dv, fn); |
| 2750 | } |
| 2751 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2752 | typedef void (GLAPIENTRYP _glptr_RasterPos2f)(GLfloat, GLfloat); |
| 2753 | #define CALL_RasterPos2f(disp, parameters) \ |
| 2754 | (* GET_RasterPos2f(disp)) parameters |
| 2755 | static INLINE _glptr_RasterPos2f GET_RasterPos2f(struct _glapi_table *disp) { |
| 2756 | return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f)); |
| 2757 | } |
| 2758 | |
| 2759 | static INLINE void SET_RasterPos2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2760 | SET_by_offset(disp, _gloffset_RasterPos2f, fn); |
| 2761 | } |
| 2762 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2763 | typedef void (GLAPIENTRYP _glptr_RasterPos2fv)(const GLfloat *); |
| 2764 | #define CALL_RasterPos2fv(disp, parameters) \ |
| 2765 | (* GET_RasterPos2fv(disp)) parameters |
| 2766 | static INLINE _glptr_RasterPos2fv GET_RasterPos2fv(struct _glapi_table *disp) { |
| 2767 | return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv)); |
| 2768 | } |
| 2769 | |
| 2770 | static INLINE void SET_RasterPos2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2771 | SET_by_offset(disp, _gloffset_RasterPos2fv, fn); |
| 2772 | } |
| 2773 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2774 | typedef void (GLAPIENTRYP _glptr_RasterPos2i)(GLint, GLint); |
| 2775 | #define CALL_RasterPos2i(disp, parameters) \ |
| 2776 | (* GET_RasterPos2i(disp)) parameters |
| 2777 | static INLINE _glptr_RasterPos2i GET_RasterPos2i(struct _glapi_table *disp) { |
| 2778 | return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i)); |
| 2779 | } |
| 2780 | |
| 2781 | static INLINE void SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2782 | SET_by_offset(disp, _gloffset_RasterPos2i, fn); |
| 2783 | } |
| 2784 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2785 | typedef void (GLAPIENTRYP _glptr_RasterPos2iv)(const GLint *); |
| 2786 | #define CALL_RasterPos2iv(disp, parameters) \ |
| 2787 | (* GET_RasterPos2iv(disp)) parameters |
| 2788 | static INLINE _glptr_RasterPos2iv GET_RasterPos2iv(struct _glapi_table *disp) { |
| 2789 | return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv)); |
| 2790 | } |
| 2791 | |
| 2792 | static INLINE void SET_RasterPos2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2793 | SET_by_offset(disp, _gloffset_RasterPos2iv, fn); |
| 2794 | } |
| 2795 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2796 | typedef void (GLAPIENTRYP _glptr_RasterPos2s)(GLshort, GLshort); |
| 2797 | #define CALL_RasterPos2s(disp, parameters) \ |
| 2798 | (* GET_RasterPos2s(disp)) parameters |
| 2799 | static INLINE _glptr_RasterPos2s GET_RasterPos2s(struct _glapi_table *disp) { |
| 2800 | return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s)); |
| 2801 | } |
| 2802 | |
| 2803 | static INLINE void SET_RasterPos2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2804 | SET_by_offset(disp, _gloffset_RasterPos2s, fn); |
| 2805 | } |
| 2806 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2807 | typedef void (GLAPIENTRYP _glptr_RasterPos2sv)(const GLshort *); |
| 2808 | #define CALL_RasterPos2sv(disp, parameters) \ |
| 2809 | (* GET_RasterPos2sv(disp)) parameters |
| 2810 | static INLINE _glptr_RasterPos2sv GET_RasterPos2sv(struct _glapi_table *disp) { |
| 2811 | return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv)); |
| 2812 | } |
| 2813 | |
| 2814 | static INLINE void SET_RasterPos2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2815 | SET_by_offset(disp, _gloffset_RasterPos2sv, fn); |
| 2816 | } |
| 2817 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2818 | typedef void (GLAPIENTRYP _glptr_RasterPos3d)(GLdouble, GLdouble, GLdouble); |
| 2819 | #define CALL_RasterPos3d(disp, parameters) \ |
| 2820 | (* GET_RasterPos3d(disp)) parameters |
| 2821 | static INLINE _glptr_RasterPos3d GET_RasterPos3d(struct _glapi_table *disp) { |
| 2822 | return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d)); |
| 2823 | } |
| 2824 | |
| 2825 | static INLINE void SET_RasterPos3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2826 | SET_by_offset(disp, _gloffset_RasterPos3d, fn); |
| 2827 | } |
| 2828 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2829 | typedef void (GLAPIENTRYP _glptr_RasterPos3dv)(const GLdouble *); |
| 2830 | #define CALL_RasterPos3dv(disp, parameters) \ |
| 2831 | (* GET_RasterPos3dv(disp)) parameters |
| 2832 | static INLINE _glptr_RasterPos3dv GET_RasterPos3dv(struct _glapi_table *disp) { |
| 2833 | return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv)); |
| 2834 | } |
| 2835 | |
| 2836 | static INLINE void SET_RasterPos3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2837 | SET_by_offset(disp, _gloffset_RasterPos3dv, fn); |
| 2838 | } |
| 2839 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2840 | typedef void (GLAPIENTRYP _glptr_RasterPos3f)(GLfloat, GLfloat, GLfloat); |
| 2841 | #define CALL_RasterPos3f(disp, parameters) \ |
| 2842 | (* GET_RasterPos3f(disp)) parameters |
| 2843 | static INLINE _glptr_RasterPos3f GET_RasterPos3f(struct _glapi_table *disp) { |
| 2844 | return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f)); |
| 2845 | } |
| 2846 | |
| 2847 | static INLINE void SET_RasterPos3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2848 | SET_by_offset(disp, _gloffset_RasterPos3f, fn); |
| 2849 | } |
| 2850 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2851 | typedef void (GLAPIENTRYP _glptr_RasterPos3fv)(const GLfloat *); |
| 2852 | #define CALL_RasterPos3fv(disp, parameters) \ |
| 2853 | (* GET_RasterPos3fv(disp)) parameters |
| 2854 | static INLINE _glptr_RasterPos3fv GET_RasterPos3fv(struct _glapi_table *disp) { |
| 2855 | return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv)); |
| 2856 | } |
| 2857 | |
| 2858 | static INLINE void SET_RasterPos3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2859 | SET_by_offset(disp, _gloffset_RasterPos3fv, fn); |
| 2860 | } |
| 2861 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2862 | typedef void (GLAPIENTRYP _glptr_RasterPos3i)(GLint, GLint, GLint); |
| 2863 | #define CALL_RasterPos3i(disp, parameters) \ |
| 2864 | (* GET_RasterPos3i(disp)) parameters |
| 2865 | static INLINE _glptr_RasterPos3i GET_RasterPos3i(struct _glapi_table *disp) { |
| 2866 | return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i)); |
| 2867 | } |
| 2868 | |
| 2869 | static INLINE void SET_RasterPos3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2870 | SET_by_offset(disp, _gloffset_RasterPos3i, fn); |
| 2871 | } |
| 2872 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2873 | typedef void (GLAPIENTRYP _glptr_RasterPos3iv)(const GLint *); |
| 2874 | #define CALL_RasterPos3iv(disp, parameters) \ |
| 2875 | (* GET_RasterPos3iv(disp)) parameters |
| 2876 | static INLINE _glptr_RasterPos3iv GET_RasterPos3iv(struct _glapi_table *disp) { |
| 2877 | return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv)); |
| 2878 | } |
| 2879 | |
| 2880 | static INLINE void SET_RasterPos3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2881 | SET_by_offset(disp, _gloffset_RasterPos3iv, fn); |
| 2882 | } |
| 2883 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2884 | typedef void (GLAPIENTRYP _glptr_RasterPos3s)(GLshort, GLshort, GLshort); |
| 2885 | #define CALL_RasterPos3s(disp, parameters) \ |
| 2886 | (* GET_RasterPos3s(disp)) parameters |
| 2887 | static INLINE _glptr_RasterPos3s GET_RasterPos3s(struct _glapi_table *disp) { |
| 2888 | return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s)); |
| 2889 | } |
| 2890 | |
| 2891 | static INLINE void SET_RasterPos3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2892 | SET_by_offset(disp, _gloffset_RasterPos3s, fn); |
| 2893 | } |
| 2894 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2895 | typedef void (GLAPIENTRYP _glptr_RasterPos3sv)(const GLshort *); |
| 2896 | #define CALL_RasterPos3sv(disp, parameters) \ |
| 2897 | (* GET_RasterPos3sv(disp)) parameters |
| 2898 | static INLINE _glptr_RasterPos3sv GET_RasterPos3sv(struct _glapi_table *disp) { |
| 2899 | return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv)); |
| 2900 | } |
| 2901 | |
| 2902 | static INLINE void SET_RasterPos3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2903 | SET_by_offset(disp, _gloffset_RasterPos3sv, fn); |
| 2904 | } |
| 2905 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2906 | typedef void (GLAPIENTRYP _glptr_RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 2907 | #define CALL_RasterPos4d(disp, parameters) \ |
| 2908 | (* GET_RasterPos4d(disp)) parameters |
| 2909 | static INLINE _glptr_RasterPos4d GET_RasterPos4d(struct _glapi_table *disp) { |
| 2910 | return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d)); |
| 2911 | } |
| 2912 | |
| 2913 | static INLINE void SET_RasterPos4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2914 | SET_by_offset(disp, _gloffset_RasterPos4d, fn); |
| 2915 | } |
| 2916 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2917 | typedef void (GLAPIENTRYP _glptr_RasterPos4dv)(const GLdouble *); |
| 2918 | #define CALL_RasterPos4dv(disp, parameters) \ |
| 2919 | (* GET_RasterPos4dv(disp)) parameters |
| 2920 | static INLINE _glptr_RasterPos4dv GET_RasterPos4dv(struct _glapi_table *disp) { |
| 2921 | return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv)); |
| 2922 | } |
| 2923 | |
| 2924 | static INLINE void SET_RasterPos4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2925 | SET_by_offset(disp, _gloffset_RasterPos4dv, fn); |
| 2926 | } |
| 2927 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2928 | typedef void (GLAPIENTRYP _glptr_RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 2929 | #define CALL_RasterPos4f(disp, parameters) \ |
| 2930 | (* GET_RasterPos4f(disp)) parameters |
| 2931 | static INLINE _glptr_RasterPos4f GET_RasterPos4f(struct _glapi_table *disp) { |
| 2932 | return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f)); |
| 2933 | } |
| 2934 | |
| 2935 | static INLINE void SET_RasterPos4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2936 | SET_by_offset(disp, _gloffset_RasterPos4f, fn); |
| 2937 | } |
| 2938 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2939 | typedef void (GLAPIENTRYP _glptr_RasterPos4fv)(const GLfloat *); |
| 2940 | #define CALL_RasterPos4fv(disp, parameters) \ |
| 2941 | (* GET_RasterPos4fv(disp)) parameters |
| 2942 | static INLINE _glptr_RasterPos4fv GET_RasterPos4fv(struct _glapi_table *disp) { |
| 2943 | return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv)); |
| 2944 | } |
| 2945 | |
| 2946 | static INLINE void SET_RasterPos4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2947 | SET_by_offset(disp, _gloffset_RasterPos4fv, fn); |
| 2948 | } |
| 2949 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2950 | typedef void (GLAPIENTRYP _glptr_RasterPos4i)(GLint, GLint, GLint, GLint); |
| 2951 | #define CALL_RasterPos4i(disp, parameters) \ |
| 2952 | (* GET_RasterPos4i(disp)) parameters |
| 2953 | static INLINE _glptr_RasterPos4i GET_RasterPos4i(struct _glapi_table *disp) { |
| 2954 | return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i)); |
| 2955 | } |
| 2956 | |
| 2957 | static INLINE void SET_RasterPos4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2958 | SET_by_offset(disp, _gloffset_RasterPos4i, fn); |
| 2959 | } |
| 2960 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2961 | typedef void (GLAPIENTRYP _glptr_RasterPos4iv)(const GLint *); |
| 2962 | #define CALL_RasterPos4iv(disp, parameters) \ |
| 2963 | (* GET_RasterPos4iv(disp)) parameters |
| 2964 | static INLINE _glptr_RasterPos4iv GET_RasterPos4iv(struct _glapi_table *disp) { |
| 2965 | return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv)); |
| 2966 | } |
| 2967 | |
| 2968 | static INLINE void SET_RasterPos4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2969 | SET_by_offset(disp, _gloffset_RasterPos4iv, fn); |
| 2970 | } |
| 2971 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2972 | typedef void (GLAPIENTRYP _glptr_RasterPos4s)(GLshort, GLshort, GLshort, GLshort); |
| 2973 | #define CALL_RasterPos4s(disp, parameters) \ |
| 2974 | (* GET_RasterPos4s(disp)) parameters |
| 2975 | static INLINE _glptr_RasterPos4s GET_RasterPos4s(struct _glapi_table *disp) { |
| 2976 | return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s)); |
| 2977 | } |
| 2978 | |
| 2979 | static INLINE void SET_RasterPos4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2980 | SET_by_offset(disp, _gloffset_RasterPos4s, fn); |
| 2981 | } |
| 2982 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2983 | typedef void (GLAPIENTRYP _glptr_RasterPos4sv)(const GLshort *); |
| 2984 | #define CALL_RasterPos4sv(disp, parameters) \ |
| 2985 | (* GET_RasterPos4sv(disp)) parameters |
| 2986 | static INLINE _glptr_RasterPos4sv GET_RasterPos4sv(struct _glapi_table *disp) { |
| 2987 | return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv)); |
| 2988 | } |
| 2989 | |
| 2990 | static INLINE void SET_RasterPos4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 2991 | SET_by_offset(disp, _gloffset_RasterPos4sv, fn); |
| 2992 | } |
| 2993 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 2994 | typedef void (GLAPIENTRYP _glptr_Rectd)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 2995 | #define CALL_Rectd(disp, parameters) \ |
| 2996 | (* GET_Rectd(disp)) parameters |
| 2997 | static INLINE _glptr_Rectd GET_Rectd(struct _glapi_table *disp) { |
| 2998 | return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd)); |
| 2999 | } |
| 3000 | |
| 3001 | static INLINE void SET_Rectd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3002 | SET_by_offset(disp, _gloffset_Rectd, fn); |
| 3003 | } |
| 3004 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3005 | typedef void (GLAPIENTRYP _glptr_Rectdv)(const GLdouble *, const GLdouble *); |
| 3006 | #define CALL_Rectdv(disp, parameters) \ |
| 3007 | (* GET_Rectdv(disp)) parameters |
| 3008 | static INLINE _glptr_Rectdv GET_Rectdv(struct _glapi_table *disp) { |
| 3009 | return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv)); |
| 3010 | } |
| 3011 | |
| 3012 | static INLINE void SET_Rectdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3013 | SET_by_offset(disp, _gloffset_Rectdv, fn); |
| 3014 | } |
| 3015 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3016 | typedef void (GLAPIENTRYP _glptr_Rectf)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 3017 | #define CALL_Rectf(disp, parameters) \ |
| 3018 | (* GET_Rectf(disp)) parameters |
| 3019 | static INLINE _glptr_Rectf GET_Rectf(struct _glapi_table *disp) { |
| 3020 | return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf)); |
| 3021 | } |
| 3022 | |
| 3023 | static INLINE void SET_Rectf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3024 | SET_by_offset(disp, _gloffset_Rectf, fn); |
| 3025 | } |
| 3026 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3027 | typedef void (GLAPIENTRYP _glptr_Rectfv)(const GLfloat *, const GLfloat *); |
| 3028 | #define CALL_Rectfv(disp, parameters) \ |
| 3029 | (* GET_Rectfv(disp)) parameters |
| 3030 | static INLINE _glptr_Rectfv GET_Rectfv(struct _glapi_table *disp) { |
| 3031 | return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv)); |
| 3032 | } |
| 3033 | |
| 3034 | static INLINE void SET_Rectfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3035 | SET_by_offset(disp, _gloffset_Rectfv, fn); |
| 3036 | } |
| 3037 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3038 | typedef void (GLAPIENTRYP _glptr_Recti)(GLint, GLint, GLint, GLint); |
| 3039 | #define CALL_Recti(disp, parameters) \ |
| 3040 | (* GET_Recti(disp)) parameters |
| 3041 | static INLINE _glptr_Recti GET_Recti(struct _glapi_table *disp) { |
| 3042 | return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti)); |
| 3043 | } |
| 3044 | |
| 3045 | static INLINE void SET_Recti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3046 | SET_by_offset(disp, _gloffset_Recti, fn); |
| 3047 | } |
| 3048 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3049 | typedef void (GLAPIENTRYP _glptr_Rectiv)(const GLint *, const GLint *); |
| 3050 | #define CALL_Rectiv(disp, parameters) \ |
| 3051 | (* GET_Rectiv(disp)) parameters |
| 3052 | static INLINE _glptr_Rectiv GET_Rectiv(struct _glapi_table *disp) { |
| 3053 | return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv)); |
| 3054 | } |
| 3055 | |
| 3056 | static INLINE void SET_Rectiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3057 | SET_by_offset(disp, _gloffset_Rectiv, fn); |
| 3058 | } |
| 3059 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3060 | typedef void (GLAPIENTRYP _glptr_Rects)(GLshort, GLshort, GLshort, GLshort); |
| 3061 | #define CALL_Rects(disp, parameters) \ |
| 3062 | (* GET_Rects(disp)) parameters |
| 3063 | static INLINE _glptr_Rects GET_Rects(struct _glapi_table *disp) { |
| 3064 | return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects)); |
| 3065 | } |
| 3066 | |
| 3067 | static INLINE void SET_Rects(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3068 | SET_by_offset(disp, _gloffset_Rects, fn); |
| 3069 | } |
| 3070 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3071 | typedef void (GLAPIENTRYP _glptr_Rectsv)(const GLshort *, const GLshort *); |
| 3072 | #define CALL_Rectsv(disp, parameters) \ |
| 3073 | (* GET_Rectsv(disp)) parameters |
| 3074 | static INLINE _glptr_Rectsv GET_Rectsv(struct _glapi_table *disp) { |
| 3075 | return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv)); |
| 3076 | } |
| 3077 | |
| 3078 | static INLINE void SET_Rectsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3079 | SET_by_offset(disp, _gloffset_Rectsv, fn); |
| 3080 | } |
| 3081 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3082 | typedef void (GLAPIENTRYP _glptr_TexCoord1d)(GLdouble); |
| 3083 | #define CALL_TexCoord1d(disp, parameters) \ |
| 3084 | (* GET_TexCoord1d(disp)) parameters |
| 3085 | static INLINE _glptr_TexCoord1d GET_TexCoord1d(struct _glapi_table *disp) { |
| 3086 | return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d)); |
| 3087 | } |
| 3088 | |
| 3089 | static INLINE void SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3090 | SET_by_offset(disp, _gloffset_TexCoord1d, fn); |
| 3091 | } |
| 3092 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3093 | typedef void (GLAPIENTRYP _glptr_TexCoord1dv)(const GLdouble *); |
| 3094 | #define CALL_TexCoord1dv(disp, parameters) \ |
| 3095 | (* GET_TexCoord1dv(disp)) parameters |
| 3096 | static INLINE _glptr_TexCoord1dv GET_TexCoord1dv(struct _glapi_table *disp) { |
| 3097 | return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv)); |
| 3098 | } |
| 3099 | |
| 3100 | static INLINE void SET_TexCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3101 | SET_by_offset(disp, _gloffset_TexCoord1dv, fn); |
| 3102 | } |
| 3103 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3104 | typedef void (GLAPIENTRYP _glptr_TexCoord1f)(GLfloat); |
| 3105 | #define CALL_TexCoord1f(disp, parameters) \ |
| 3106 | (* GET_TexCoord1f(disp)) parameters |
| 3107 | static INLINE _glptr_TexCoord1f GET_TexCoord1f(struct _glapi_table *disp) { |
| 3108 | return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f)); |
| 3109 | } |
| 3110 | |
| 3111 | static INLINE void SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3112 | SET_by_offset(disp, _gloffset_TexCoord1f, fn); |
| 3113 | } |
| 3114 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3115 | typedef void (GLAPIENTRYP _glptr_TexCoord1fv)(const GLfloat *); |
| 3116 | #define CALL_TexCoord1fv(disp, parameters) \ |
| 3117 | (* GET_TexCoord1fv(disp)) parameters |
| 3118 | static INLINE _glptr_TexCoord1fv GET_TexCoord1fv(struct _glapi_table *disp) { |
| 3119 | return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv)); |
| 3120 | } |
| 3121 | |
| 3122 | static INLINE void SET_TexCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3123 | SET_by_offset(disp, _gloffset_TexCoord1fv, fn); |
| 3124 | } |
| 3125 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3126 | typedef void (GLAPIENTRYP _glptr_TexCoord1i)(GLint); |
| 3127 | #define CALL_TexCoord1i(disp, parameters) \ |
| 3128 | (* GET_TexCoord1i(disp)) parameters |
| 3129 | static INLINE _glptr_TexCoord1i GET_TexCoord1i(struct _glapi_table *disp) { |
| 3130 | return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i)); |
| 3131 | } |
| 3132 | |
| 3133 | static INLINE void SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3134 | SET_by_offset(disp, _gloffset_TexCoord1i, fn); |
| 3135 | } |
| 3136 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3137 | typedef void (GLAPIENTRYP _glptr_TexCoord1iv)(const GLint *); |
| 3138 | #define CALL_TexCoord1iv(disp, parameters) \ |
| 3139 | (* GET_TexCoord1iv(disp)) parameters |
| 3140 | static INLINE _glptr_TexCoord1iv GET_TexCoord1iv(struct _glapi_table *disp) { |
| 3141 | return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv)); |
| 3142 | } |
| 3143 | |
| 3144 | static INLINE void SET_TexCoord1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3145 | SET_by_offset(disp, _gloffset_TexCoord1iv, fn); |
| 3146 | } |
| 3147 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3148 | typedef void (GLAPIENTRYP _glptr_TexCoord1s)(GLshort); |
| 3149 | #define CALL_TexCoord1s(disp, parameters) \ |
| 3150 | (* GET_TexCoord1s(disp)) parameters |
| 3151 | static INLINE _glptr_TexCoord1s GET_TexCoord1s(struct _glapi_table *disp) { |
| 3152 | return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s)); |
| 3153 | } |
| 3154 | |
| 3155 | static INLINE void SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3156 | SET_by_offset(disp, _gloffset_TexCoord1s, fn); |
| 3157 | } |
| 3158 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3159 | typedef void (GLAPIENTRYP _glptr_TexCoord1sv)(const GLshort *); |
| 3160 | #define CALL_TexCoord1sv(disp, parameters) \ |
| 3161 | (* GET_TexCoord1sv(disp)) parameters |
| 3162 | static INLINE _glptr_TexCoord1sv GET_TexCoord1sv(struct _glapi_table *disp) { |
| 3163 | return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv)); |
| 3164 | } |
| 3165 | |
| 3166 | static INLINE void SET_TexCoord1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3167 | SET_by_offset(disp, _gloffset_TexCoord1sv, fn); |
| 3168 | } |
| 3169 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3170 | typedef void (GLAPIENTRYP _glptr_TexCoord2d)(GLdouble, GLdouble); |
| 3171 | #define CALL_TexCoord2d(disp, parameters) \ |
| 3172 | (* GET_TexCoord2d(disp)) parameters |
| 3173 | static INLINE _glptr_TexCoord2d GET_TexCoord2d(struct _glapi_table *disp) { |
| 3174 | return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d)); |
| 3175 | } |
| 3176 | |
| 3177 | static INLINE void SET_TexCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3178 | SET_by_offset(disp, _gloffset_TexCoord2d, fn); |
| 3179 | } |
| 3180 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3181 | typedef void (GLAPIENTRYP _glptr_TexCoord2dv)(const GLdouble *); |
| 3182 | #define CALL_TexCoord2dv(disp, parameters) \ |
| 3183 | (* GET_TexCoord2dv(disp)) parameters |
| 3184 | static INLINE _glptr_TexCoord2dv GET_TexCoord2dv(struct _glapi_table *disp) { |
| 3185 | return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv)); |
| 3186 | } |
| 3187 | |
| 3188 | static INLINE void SET_TexCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3189 | SET_by_offset(disp, _gloffset_TexCoord2dv, fn); |
| 3190 | } |
| 3191 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3192 | typedef void (GLAPIENTRYP _glptr_TexCoord2f)(GLfloat, GLfloat); |
| 3193 | #define CALL_TexCoord2f(disp, parameters) \ |
| 3194 | (* GET_TexCoord2f(disp)) parameters |
| 3195 | static INLINE _glptr_TexCoord2f GET_TexCoord2f(struct _glapi_table *disp) { |
| 3196 | return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f)); |
| 3197 | } |
| 3198 | |
| 3199 | static INLINE void SET_TexCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3200 | SET_by_offset(disp, _gloffset_TexCoord2f, fn); |
| 3201 | } |
| 3202 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3203 | typedef void (GLAPIENTRYP _glptr_TexCoord2fv)(const GLfloat *); |
| 3204 | #define CALL_TexCoord2fv(disp, parameters) \ |
| 3205 | (* GET_TexCoord2fv(disp)) parameters |
| 3206 | static INLINE _glptr_TexCoord2fv GET_TexCoord2fv(struct _glapi_table *disp) { |
| 3207 | return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv)); |
| 3208 | } |
| 3209 | |
| 3210 | static INLINE void SET_TexCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3211 | SET_by_offset(disp, _gloffset_TexCoord2fv, fn); |
| 3212 | } |
| 3213 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3214 | typedef void (GLAPIENTRYP _glptr_TexCoord2i)(GLint, GLint); |
| 3215 | #define CALL_TexCoord2i(disp, parameters) \ |
| 3216 | (* GET_TexCoord2i(disp)) parameters |
| 3217 | static INLINE _glptr_TexCoord2i GET_TexCoord2i(struct _glapi_table *disp) { |
| 3218 | return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i)); |
| 3219 | } |
| 3220 | |
| 3221 | static INLINE void SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3222 | SET_by_offset(disp, _gloffset_TexCoord2i, fn); |
| 3223 | } |
| 3224 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3225 | typedef void (GLAPIENTRYP _glptr_TexCoord2iv)(const GLint *); |
| 3226 | #define CALL_TexCoord2iv(disp, parameters) \ |
| 3227 | (* GET_TexCoord2iv(disp)) parameters |
| 3228 | static INLINE _glptr_TexCoord2iv GET_TexCoord2iv(struct _glapi_table *disp) { |
| 3229 | return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv)); |
| 3230 | } |
| 3231 | |
| 3232 | static INLINE void SET_TexCoord2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3233 | SET_by_offset(disp, _gloffset_TexCoord2iv, fn); |
| 3234 | } |
| 3235 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3236 | typedef void (GLAPIENTRYP _glptr_TexCoord2s)(GLshort, GLshort); |
| 3237 | #define CALL_TexCoord2s(disp, parameters) \ |
| 3238 | (* GET_TexCoord2s(disp)) parameters |
| 3239 | static INLINE _glptr_TexCoord2s GET_TexCoord2s(struct _glapi_table *disp) { |
| 3240 | return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s)); |
| 3241 | } |
| 3242 | |
| 3243 | static INLINE void SET_TexCoord2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3244 | SET_by_offset(disp, _gloffset_TexCoord2s, fn); |
| 3245 | } |
| 3246 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3247 | typedef void (GLAPIENTRYP _glptr_TexCoord2sv)(const GLshort *); |
| 3248 | #define CALL_TexCoord2sv(disp, parameters) \ |
| 3249 | (* GET_TexCoord2sv(disp)) parameters |
| 3250 | static INLINE _glptr_TexCoord2sv GET_TexCoord2sv(struct _glapi_table *disp) { |
| 3251 | return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv)); |
| 3252 | } |
| 3253 | |
| 3254 | static INLINE void SET_TexCoord2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3255 | SET_by_offset(disp, _gloffset_TexCoord2sv, fn); |
| 3256 | } |
| 3257 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3258 | typedef void (GLAPIENTRYP _glptr_TexCoord3d)(GLdouble, GLdouble, GLdouble); |
| 3259 | #define CALL_TexCoord3d(disp, parameters) \ |
| 3260 | (* GET_TexCoord3d(disp)) parameters |
| 3261 | static INLINE _glptr_TexCoord3d GET_TexCoord3d(struct _glapi_table *disp) { |
| 3262 | return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d)); |
| 3263 | } |
| 3264 | |
| 3265 | static INLINE void SET_TexCoord3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3266 | SET_by_offset(disp, _gloffset_TexCoord3d, fn); |
| 3267 | } |
| 3268 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3269 | typedef void (GLAPIENTRYP _glptr_TexCoord3dv)(const GLdouble *); |
| 3270 | #define CALL_TexCoord3dv(disp, parameters) \ |
| 3271 | (* GET_TexCoord3dv(disp)) parameters |
| 3272 | static INLINE _glptr_TexCoord3dv GET_TexCoord3dv(struct _glapi_table *disp) { |
| 3273 | return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv)); |
| 3274 | } |
| 3275 | |
| 3276 | static INLINE void SET_TexCoord3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3277 | SET_by_offset(disp, _gloffset_TexCoord3dv, fn); |
| 3278 | } |
| 3279 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3280 | typedef void (GLAPIENTRYP _glptr_TexCoord3f)(GLfloat, GLfloat, GLfloat); |
| 3281 | #define CALL_TexCoord3f(disp, parameters) \ |
| 3282 | (* GET_TexCoord3f(disp)) parameters |
| 3283 | static INLINE _glptr_TexCoord3f GET_TexCoord3f(struct _glapi_table *disp) { |
| 3284 | return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f)); |
| 3285 | } |
| 3286 | |
| 3287 | static INLINE void SET_TexCoord3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3288 | SET_by_offset(disp, _gloffset_TexCoord3f, fn); |
| 3289 | } |
| 3290 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3291 | typedef void (GLAPIENTRYP _glptr_TexCoord3fv)(const GLfloat *); |
| 3292 | #define CALL_TexCoord3fv(disp, parameters) \ |
| 3293 | (* GET_TexCoord3fv(disp)) parameters |
| 3294 | static INLINE _glptr_TexCoord3fv GET_TexCoord3fv(struct _glapi_table *disp) { |
| 3295 | return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv)); |
| 3296 | } |
| 3297 | |
| 3298 | static INLINE void SET_TexCoord3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3299 | SET_by_offset(disp, _gloffset_TexCoord3fv, fn); |
| 3300 | } |
| 3301 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3302 | typedef void (GLAPIENTRYP _glptr_TexCoord3i)(GLint, GLint, GLint); |
| 3303 | #define CALL_TexCoord3i(disp, parameters) \ |
| 3304 | (* GET_TexCoord3i(disp)) parameters |
| 3305 | static INLINE _glptr_TexCoord3i GET_TexCoord3i(struct _glapi_table *disp) { |
| 3306 | return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i)); |
| 3307 | } |
| 3308 | |
| 3309 | static INLINE void SET_TexCoord3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3310 | SET_by_offset(disp, _gloffset_TexCoord3i, fn); |
| 3311 | } |
| 3312 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3313 | typedef void (GLAPIENTRYP _glptr_TexCoord3iv)(const GLint *); |
| 3314 | #define CALL_TexCoord3iv(disp, parameters) \ |
| 3315 | (* GET_TexCoord3iv(disp)) parameters |
| 3316 | static INLINE _glptr_TexCoord3iv GET_TexCoord3iv(struct _glapi_table *disp) { |
| 3317 | return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv)); |
| 3318 | } |
| 3319 | |
| 3320 | static INLINE void SET_TexCoord3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3321 | SET_by_offset(disp, _gloffset_TexCoord3iv, fn); |
| 3322 | } |
| 3323 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3324 | typedef void (GLAPIENTRYP _glptr_TexCoord3s)(GLshort, GLshort, GLshort); |
| 3325 | #define CALL_TexCoord3s(disp, parameters) \ |
| 3326 | (* GET_TexCoord3s(disp)) parameters |
| 3327 | static INLINE _glptr_TexCoord3s GET_TexCoord3s(struct _glapi_table *disp) { |
| 3328 | return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s)); |
| 3329 | } |
| 3330 | |
| 3331 | static INLINE void SET_TexCoord3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3332 | SET_by_offset(disp, _gloffset_TexCoord3s, fn); |
| 3333 | } |
| 3334 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3335 | typedef void (GLAPIENTRYP _glptr_TexCoord3sv)(const GLshort *); |
| 3336 | #define CALL_TexCoord3sv(disp, parameters) \ |
| 3337 | (* GET_TexCoord3sv(disp)) parameters |
| 3338 | static INLINE _glptr_TexCoord3sv GET_TexCoord3sv(struct _glapi_table *disp) { |
| 3339 | return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv)); |
| 3340 | } |
| 3341 | |
| 3342 | static INLINE void SET_TexCoord3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3343 | SET_by_offset(disp, _gloffset_TexCoord3sv, fn); |
| 3344 | } |
| 3345 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3346 | typedef void (GLAPIENTRYP _glptr_TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 3347 | #define CALL_TexCoord4d(disp, parameters) \ |
| 3348 | (* GET_TexCoord4d(disp)) parameters |
| 3349 | static INLINE _glptr_TexCoord4d GET_TexCoord4d(struct _glapi_table *disp) { |
| 3350 | return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d)); |
| 3351 | } |
| 3352 | |
| 3353 | static INLINE void SET_TexCoord4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3354 | SET_by_offset(disp, _gloffset_TexCoord4d, fn); |
| 3355 | } |
| 3356 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3357 | typedef void (GLAPIENTRYP _glptr_TexCoord4dv)(const GLdouble *); |
| 3358 | #define CALL_TexCoord4dv(disp, parameters) \ |
| 3359 | (* GET_TexCoord4dv(disp)) parameters |
| 3360 | static INLINE _glptr_TexCoord4dv GET_TexCoord4dv(struct _glapi_table *disp) { |
| 3361 | return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv)); |
| 3362 | } |
| 3363 | |
| 3364 | static INLINE void SET_TexCoord4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3365 | SET_by_offset(disp, _gloffset_TexCoord4dv, fn); |
| 3366 | } |
| 3367 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3368 | typedef void (GLAPIENTRYP _glptr_TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 3369 | #define CALL_TexCoord4f(disp, parameters) \ |
| 3370 | (* GET_TexCoord4f(disp)) parameters |
| 3371 | static INLINE _glptr_TexCoord4f GET_TexCoord4f(struct _glapi_table *disp) { |
| 3372 | return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f)); |
| 3373 | } |
| 3374 | |
| 3375 | static INLINE void SET_TexCoord4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3376 | SET_by_offset(disp, _gloffset_TexCoord4f, fn); |
| 3377 | } |
| 3378 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3379 | typedef void (GLAPIENTRYP _glptr_TexCoord4fv)(const GLfloat *); |
| 3380 | #define CALL_TexCoord4fv(disp, parameters) \ |
| 3381 | (* GET_TexCoord4fv(disp)) parameters |
| 3382 | static INLINE _glptr_TexCoord4fv GET_TexCoord4fv(struct _glapi_table *disp) { |
| 3383 | return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv)); |
| 3384 | } |
| 3385 | |
| 3386 | static INLINE void SET_TexCoord4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3387 | SET_by_offset(disp, _gloffset_TexCoord4fv, fn); |
| 3388 | } |
| 3389 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3390 | typedef void (GLAPIENTRYP _glptr_TexCoord4i)(GLint, GLint, GLint, GLint); |
| 3391 | #define CALL_TexCoord4i(disp, parameters) \ |
| 3392 | (* GET_TexCoord4i(disp)) parameters |
| 3393 | static INLINE _glptr_TexCoord4i GET_TexCoord4i(struct _glapi_table *disp) { |
| 3394 | return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i)); |
| 3395 | } |
| 3396 | |
| 3397 | static INLINE void SET_TexCoord4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3398 | SET_by_offset(disp, _gloffset_TexCoord4i, fn); |
| 3399 | } |
| 3400 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3401 | typedef void (GLAPIENTRYP _glptr_TexCoord4iv)(const GLint *); |
| 3402 | #define CALL_TexCoord4iv(disp, parameters) \ |
| 3403 | (* GET_TexCoord4iv(disp)) parameters |
| 3404 | static INLINE _glptr_TexCoord4iv GET_TexCoord4iv(struct _glapi_table *disp) { |
| 3405 | return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv)); |
| 3406 | } |
| 3407 | |
| 3408 | static INLINE void SET_TexCoord4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3409 | SET_by_offset(disp, _gloffset_TexCoord4iv, fn); |
| 3410 | } |
| 3411 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3412 | typedef void (GLAPIENTRYP _glptr_TexCoord4s)(GLshort, GLshort, GLshort, GLshort); |
| 3413 | #define CALL_TexCoord4s(disp, parameters) \ |
| 3414 | (* GET_TexCoord4s(disp)) parameters |
| 3415 | static INLINE _glptr_TexCoord4s GET_TexCoord4s(struct _glapi_table *disp) { |
| 3416 | return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s)); |
| 3417 | } |
| 3418 | |
| 3419 | static INLINE void SET_TexCoord4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3420 | SET_by_offset(disp, _gloffset_TexCoord4s, fn); |
| 3421 | } |
| 3422 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3423 | typedef void (GLAPIENTRYP _glptr_TexCoord4sv)(const GLshort *); |
| 3424 | #define CALL_TexCoord4sv(disp, parameters) \ |
| 3425 | (* GET_TexCoord4sv(disp)) parameters |
| 3426 | static INLINE _glptr_TexCoord4sv GET_TexCoord4sv(struct _glapi_table *disp) { |
| 3427 | return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv)); |
| 3428 | } |
| 3429 | |
| 3430 | static INLINE void SET_TexCoord4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3431 | SET_by_offset(disp, _gloffset_TexCoord4sv, fn); |
| 3432 | } |
| 3433 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3434 | typedef void (GLAPIENTRYP _glptr_Vertex2d)(GLdouble, GLdouble); |
| 3435 | #define CALL_Vertex2d(disp, parameters) \ |
| 3436 | (* GET_Vertex2d(disp)) parameters |
| 3437 | static INLINE _glptr_Vertex2d GET_Vertex2d(struct _glapi_table *disp) { |
| 3438 | return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d)); |
| 3439 | } |
| 3440 | |
| 3441 | static INLINE void SET_Vertex2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3442 | SET_by_offset(disp, _gloffset_Vertex2d, fn); |
| 3443 | } |
| 3444 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3445 | typedef void (GLAPIENTRYP _glptr_Vertex2dv)(const GLdouble *); |
| 3446 | #define CALL_Vertex2dv(disp, parameters) \ |
| 3447 | (* GET_Vertex2dv(disp)) parameters |
| 3448 | static INLINE _glptr_Vertex2dv GET_Vertex2dv(struct _glapi_table *disp) { |
| 3449 | return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv)); |
| 3450 | } |
| 3451 | |
| 3452 | static INLINE void SET_Vertex2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3453 | SET_by_offset(disp, _gloffset_Vertex2dv, fn); |
| 3454 | } |
| 3455 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3456 | typedef void (GLAPIENTRYP _glptr_Vertex2f)(GLfloat, GLfloat); |
| 3457 | #define CALL_Vertex2f(disp, parameters) \ |
| 3458 | (* GET_Vertex2f(disp)) parameters |
| 3459 | static INLINE _glptr_Vertex2f GET_Vertex2f(struct _glapi_table *disp) { |
| 3460 | return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f)); |
| 3461 | } |
| 3462 | |
| 3463 | static INLINE void SET_Vertex2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3464 | SET_by_offset(disp, _gloffset_Vertex2f, fn); |
| 3465 | } |
| 3466 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3467 | typedef void (GLAPIENTRYP _glptr_Vertex2fv)(const GLfloat *); |
| 3468 | #define CALL_Vertex2fv(disp, parameters) \ |
| 3469 | (* GET_Vertex2fv(disp)) parameters |
| 3470 | static INLINE _glptr_Vertex2fv GET_Vertex2fv(struct _glapi_table *disp) { |
| 3471 | return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv)); |
| 3472 | } |
| 3473 | |
| 3474 | static INLINE void SET_Vertex2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3475 | SET_by_offset(disp, _gloffset_Vertex2fv, fn); |
| 3476 | } |
| 3477 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3478 | typedef void (GLAPIENTRYP _glptr_Vertex2i)(GLint, GLint); |
| 3479 | #define CALL_Vertex2i(disp, parameters) \ |
| 3480 | (* GET_Vertex2i(disp)) parameters |
| 3481 | static INLINE _glptr_Vertex2i GET_Vertex2i(struct _glapi_table *disp) { |
| 3482 | return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i)); |
| 3483 | } |
| 3484 | |
| 3485 | static INLINE void SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3486 | SET_by_offset(disp, _gloffset_Vertex2i, fn); |
| 3487 | } |
| 3488 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3489 | typedef void (GLAPIENTRYP _glptr_Vertex2iv)(const GLint *); |
| 3490 | #define CALL_Vertex2iv(disp, parameters) \ |
| 3491 | (* GET_Vertex2iv(disp)) parameters |
| 3492 | static INLINE _glptr_Vertex2iv GET_Vertex2iv(struct _glapi_table *disp) { |
| 3493 | return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv)); |
| 3494 | } |
| 3495 | |
| 3496 | static INLINE void SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3497 | SET_by_offset(disp, _gloffset_Vertex2iv, fn); |
| 3498 | } |
| 3499 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3500 | typedef void (GLAPIENTRYP _glptr_Vertex2s)(GLshort, GLshort); |
| 3501 | #define CALL_Vertex2s(disp, parameters) \ |
| 3502 | (* GET_Vertex2s(disp)) parameters |
| 3503 | static INLINE _glptr_Vertex2s GET_Vertex2s(struct _glapi_table *disp) { |
| 3504 | return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s)); |
| 3505 | } |
| 3506 | |
| 3507 | static INLINE void SET_Vertex2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3508 | SET_by_offset(disp, _gloffset_Vertex2s, fn); |
| 3509 | } |
| 3510 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3511 | typedef void (GLAPIENTRYP _glptr_Vertex2sv)(const GLshort *); |
| 3512 | #define CALL_Vertex2sv(disp, parameters) \ |
| 3513 | (* GET_Vertex2sv(disp)) parameters |
| 3514 | static INLINE _glptr_Vertex2sv GET_Vertex2sv(struct _glapi_table *disp) { |
| 3515 | return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv)); |
| 3516 | } |
| 3517 | |
| 3518 | static INLINE void SET_Vertex2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3519 | SET_by_offset(disp, _gloffset_Vertex2sv, fn); |
| 3520 | } |
| 3521 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3522 | typedef void (GLAPIENTRYP _glptr_Vertex3d)(GLdouble, GLdouble, GLdouble); |
| 3523 | #define CALL_Vertex3d(disp, parameters) \ |
| 3524 | (* GET_Vertex3d(disp)) parameters |
| 3525 | static INLINE _glptr_Vertex3d GET_Vertex3d(struct _glapi_table *disp) { |
| 3526 | return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d)); |
| 3527 | } |
| 3528 | |
| 3529 | static INLINE void SET_Vertex3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3530 | SET_by_offset(disp, _gloffset_Vertex3d, fn); |
| 3531 | } |
| 3532 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3533 | typedef void (GLAPIENTRYP _glptr_Vertex3dv)(const GLdouble *); |
| 3534 | #define CALL_Vertex3dv(disp, parameters) \ |
| 3535 | (* GET_Vertex3dv(disp)) parameters |
| 3536 | static INLINE _glptr_Vertex3dv GET_Vertex3dv(struct _glapi_table *disp) { |
| 3537 | return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv)); |
| 3538 | } |
| 3539 | |
| 3540 | static INLINE void SET_Vertex3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3541 | SET_by_offset(disp, _gloffset_Vertex3dv, fn); |
| 3542 | } |
| 3543 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3544 | typedef void (GLAPIENTRYP _glptr_Vertex3f)(GLfloat, GLfloat, GLfloat); |
| 3545 | #define CALL_Vertex3f(disp, parameters) \ |
| 3546 | (* GET_Vertex3f(disp)) parameters |
| 3547 | static INLINE _glptr_Vertex3f GET_Vertex3f(struct _glapi_table *disp) { |
| 3548 | return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f)); |
| 3549 | } |
| 3550 | |
| 3551 | static INLINE void SET_Vertex3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3552 | SET_by_offset(disp, _gloffset_Vertex3f, fn); |
| 3553 | } |
| 3554 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3555 | typedef void (GLAPIENTRYP _glptr_Vertex3fv)(const GLfloat *); |
| 3556 | #define CALL_Vertex3fv(disp, parameters) \ |
| 3557 | (* GET_Vertex3fv(disp)) parameters |
| 3558 | static INLINE _glptr_Vertex3fv GET_Vertex3fv(struct _glapi_table *disp) { |
| 3559 | return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv)); |
| 3560 | } |
| 3561 | |
| 3562 | static INLINE void SET_Vertex3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3563 | SET_by_offset(disp, _gloffset_Vertex3fv, fn); |
| 3564 | } |
| 3565 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3566 | typedef void (GLAPIENTRYP _glptr_Vertex3i)(GLint, GLint, GLint); |
| 3567 | #define CALL_Vertex3i(disp, parameters) \ |
| 3568 | (* GET_Vertex3i(disp)) parameters |
| 3569 | static INLINE _glptr_Vertex3i GET_Vertex3i(struct _glapi_table *disp) { |
| 3570 | return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i)); |
| 3571 | } |
| 3572 | |
| 3573 | static INLINE void SET_Vertex3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3574 | SET_by_offset(disp, _gloffset_Vertex3i, fn); |
| 3575 | } |
| 3576 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3577 | typedef void (GLAPIENTRYP _glptr_Vertex3iv)(const GLint *); |
| 3578 | #define CALL_Vertex3iv(disp, parameters) \ |
| 3579 | (* GET_Vertex3iv(disp)) parameters |
| 3580 | static INLINE _glptr_Vertex3iv GET_Vertex3iv(struct _glapi_table *disp) { |
| 3581 | return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv)); |
| 3582 | } |
| 3583 | |
| 3584 | static INLINE void SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3585 | SET_by_offset(disp, _gloffset_Vertex3iv, fn); |
| 3586 | } |
| 3587 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3588 | typedef void (GLAPIENTRYP _glptr_Vertex3s)(GLshort, GLshort, GLshort); |
| 3589 | #define CALL_Vertex3s(disp, parameters) \ |
| 3590 | (* GET_Vertex3s(disp)) parameters |
| 3591 | static INLINE _glptr_Vertex3s GET_Vertex3s(struct _glapi_table *disp) { |
| 3592 | return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s)); |
| 3593 | } |
| 3594 | |
| 3595 | static INLINE void SET_Vertex3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3596 | SET_by_offset(disp, _gloffset_Vertex3s, fn); |
| 3597 | } |
| 3598 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3599 | typedef void (GLAPIENTRYP _glptr_Vertex3sv)(const GLshort *); |
| 3600 | #define CALL_Vertex3sv(disp, parameters) \ |
| 3601 | (* GET_Vertex3sv(disp)) parameters |
| 3602 | static INLINE _glptr_Vertex3sv GET_Vertex3sv(struct _glapi_table *disp) { |
| 3603 | return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv)); |
| 3604 | } |
| 3605 | |
| 3606 | static INLINE void SET_Vertex3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3607 | SET_by_offset(disp, _gloffset_Vertex3sv, fn); |
| 3608 | } |
| 3609 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3610 | typedef void (GLAPIENTRYP _glptr_Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 3611 | #define CALL_Vertex4d(disp, parameters) \ |
| 3612 | (* GET_Vertex4d(disp)) parameters |
| 3613 | static INLINE _glptr_Vertex4d GET_Vertex4d(struct _glapi_table *disp) { |
| 3614 | return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d)); |
| 3615 | } |
| 3616 | |
| 3617 | static INLINE void SET_Vertex4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3618 | SET_by_offset(disp, _gloffset_Vertex4d, fn); |
| 3619 | } |
| 3620 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3621 | typedef void (GLAPIENTRYP _glptr_Vertex4dv)(const GLdouble *); |
| 3622 | #define CALL_Vertex4dv(disp, parameters) \ |
| 3623 | (* GET_Vertex4dv(disp)) parameters |
| 3624 | static INLINE _glptr_Vertex4dv GET_Vertex4dv(struct _glapi_table *disp) { |
| 3625 | return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv)); |
| 3626 | } |
| 3627 | |
| 3628 | static INLINE void SET_Vertex4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3629 | SET_by_offset(disp, _gloffset_Vertex4dv, fn); |
| 3630 | } |
| 3631 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3632 | typedef void (GLAPIENTRYP _glptr_Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 3633 | #define CALL_Vertex4f(disp, parameters) \ |
| 3634 | (* GET_Vertex4f(disp)) parameters |
| 3635 | static INLINE _glptr_Vertex4f GET_Vertex4f(struct _glapi_table *disp) { |
| 3636 | return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f)); |
| 3637 | } |
| 3638 | |
| 3639 | static INLINE void SET_Vertex4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3640 | SET_by_offset(disp, _gloffset_Vertex4f, fn); |
| 3641 | } |
| 3642 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3643 | typedef void (GLAPIENTRYP _glptr_Vertex4fv)(const GLfloat *); |
| 3644 | #define CALL_Vertex4fv(disp, parameters) \ |
| 3645 | (* GET_Vertex4fv(disp)) parameters |
| 3646 | static INLINE _glptr_Vertex4fv GET_Vertex4fv(struct _glapi_table *disp) { |
| 3647 | return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv)); |
| 3648 | } |
| 3649 | |
| 3650 | static INLINE void SET_Vertex4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3651 | SET_by_offset(disp, _gloffset_Vertex4fv, fn); |
| 3652 | } |
| 3653 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3654 | typedef void (GLAPIENTRYP _glptr_Vertex4i)(GLint, GLint, GLint, GLint); |
| 3655 | #define CALL_Vertex4i(disp, parameters) \ |
| 3656 | (* GET_Vertex4i(disp)) parameters |
| 3657 | static INLINE _glptr_Vertex4i GET_Vertex4i(struct _glapi_table *disp) { |
| 3658 | return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i)); |
| 3659 | } |
| 3660 | |
| 3661 | static INLINE void SET_Vertex4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3662 | SET_by_offset(disp, _gloffset_Vertex4i, fn); |
| 3663 | } |
| 3664 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3665 | typedef void (GLAPIENTRYP _glptr_Vertex4iv)(const GLint *); |
| 3666 | #define CALL_Vertex4iv(disp, parameters) \ |
| 3667 | (* GET_Vertex4iv(disp)) parameters |
| 3668 | static INLINE _glptr_Vertex4iv GET_Vertex4iv(struct _glapi_table *disp) { |
| 3669 | return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv)); |
| 3670 | } |
| 3671 | |
| 3672 | static INLINE void SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3673 | SET_by_offset(disp, _gloffset_Vertex4iv, fn); |
| 3674 | } |
| 3675 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3676 | typedef void (GLAPIENTRYP _glptr_Vertex4s)(GLshort, GLshort, GLshort, GLshort); |
| 3677 | #define CALL_Vertex4s(disp, parameters) \ |
| 3678 | (* GET_Vertex4s(disp)) parameters |
| 3679 | static INLINE _glptr_Vertex4s GET_Vertex4s(struct _glapi_table *disp) { |
| 3680 | return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s)); |
| 3681 | } |
| 3682 | |
| 3683 | static INLINE void SET_Vertex4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3684 | SET_by_offset(disp, _gloffset_Vertex4s, fn); |
| 3685 | } |
| 3686 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3687 | typedef void (GLAPIENTRYP _glptr_Vertex4sv)(const GLshort *); |
| 3688 | #define CALL_Vertex4sv(disp, parameters) \ |
| 3689 | (* GET_Vertex4sv(disp)) parameters |
| 3690 | static INLINE _glptr_Vertex4sv GET_Vertex4sv(struct _glapi_table *disp) { |
| 3691 | return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv)); |
| 3692 | } |
| 3693 | |
| 3694 | static INLINE void SET_Vertex4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3695 | SET_by_offset(disp, _gloffset_Vertex4sv, fn); |
| 3696 | } |
| 3697 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3698 | typedef void (GLAPIENTRYP _glptr_ClipPlane)(GLenum, const GLdouble *); |
| 3699 | #define CALL_ClipPlane(disp, parameters) \ |
| 3700 | (* GET_ClipPlane(disp)) parameters |
| 3701 | static INLINE _glptr_ClipPlane GET_ClipPlane(struct _glapi_table *disp) { |
| 3702 | return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane)); |
| 3703 | } |
| 3704 | |
| 3705 | static INLINE void SET_ClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3706 | SET_by_offset(disp, _gloffset_ClipPlane, fn); |
| 3707 | } |
| 3708 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3709 | typedef void (GLAPIENTRYP _glptr_ColorMaterial)(GLenum, GLenum); |
| 3710 | #define CALL_ColorMaterial(disp, parameters) \ |
| 3711 | (* GET_ColorMaterial(disp)) parameters |
| 3712 | static INLINE _glptr_ColorMaterial GET_ColorMaterial(struct _glapi_table *disp) { |
| 3713 | return (_glptr_ColorMaterial) (GET_by_offset(disp, _gloffset_ColorMaterial)); |
| 3714 | } |
| 3715 | |
| 3716 | static INLINE void SET_ColorMaterial(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3717 | SET_by_offset(disp, _gloffset_ColorMaterial, fn); |
| 3718 | } |
| 3719 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3720 | typedef void (GLAPIENTRYP _glptr_CullFace)(GLenum); |
| 3721 | #define CALL_CullFace(disp, parameters) \ |
| 3722 | (* GET_CullFace(disp)) parameters |
| 3723 | static INLINE _glptr_CullFace GET_CullFace(struct _glapi_table *disp) { |
| 3724 | return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace)); |
| 3725 | } |
| 3726 | |
| 3727 | static INLINE void SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3728 | SET_by_offset(disp, _gloffset_CullFace, fn); |
| 3729 | } |
| 3730 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3731 | typedef void (GLAPIENTRYP _glptr_Fogf)(GLenum, GLfloat); |
| 3732 | #define CALL_Fogf(disp, parameters) \ |
| 3733 | (* GET_Fogf(disp)) parameters |
| 3734 | static INLINE _glptr_Fogf GET_Fogf(struct _glapi_table *disp) { |
| 3735 | return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf)); |
| 3736 | } |
| 3737 | |
| 3738 | static INLINE void SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3739 | SET_by_offset(disp, _gloffset_Fogf, fn); |
| 3740 | } |
| 3741 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3742 | typedef void (GLAPIENTRYP _glptr_Fogfv)(GLenum, const GLfloat *); |
| 3743 | #define CALL_Fogfv(disp, parameters) \ |
| 3744 | (* GET_Fogfv(disp)) parameters |
| 3745 | static INLINE _glptr_Fogfv GET_Fogfv(struct _glapi_table *disp) { |
| 3746 | return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv)); |
| 3747 | } |
| 3748 | |
| 3749 | static INLINE void SET_Fogfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3750 | SET_by_offset(disp, _gloffset_Fogfv, fn); |
| 3751 | } |
| 3752 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3753 | typedef void (GLAPIENTRYP _glptr_Fogi)(GLenum, GLint); |
| 3754 | #define CALL_Fogi(disp, parameters) \ |
| 3755 | (* GET_Fogi(disp)) parameters |
| 3756 | static INLINE _glptr_Fogi GET_Fogi(struct _glapi_table *disp) { |
| 3757 | return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi)); |
| 3758 | } |
| 3759 | |
| 3760 | static INLINE void SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3761 | SET_by_offset(disp, _gloffset_Fogi, fn); |
| 3762 | } |
| 3763 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3764 | typedef void (GLAPIENTRYP _glptr_Fogiv)(GLenum, const GLint *); |
| 3765 | #define CALL_Fogiv(disp, parameters) \ |
| 3766 | (* GET_Fogiv(disp)) parameters |
| 3767 | static INLINE _glptr_Fogiv GET_Fogiv(struct _glapi_table *disp) { |
| 3768 | return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv)); |
| 3769 | } |
| 3770 | |
| 3771 | static INLINE void SET_Fogiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3772 | SET_by_offset(disp, _gloffset_Fogiv, fn); |
| 3773 | } |
| 3774 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3775 | typedef void (GLAPIENTRYP _glptr_FrontFace)(GLenum); |
| 3776 | #define CALL_FrontFace(disp, parameters) \ |
| 3777 | (* GET_FrontFace(disp)) parameters |
| 3778 | static INLINE _glptr_FrontFace GET_FrontFace(struct _glapi_table *disp) { |
| 3779 | return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace)); |
| 3780 | } |
| 3781 | |
| 3782 | static INLINE void SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3783 | SET_by_offset(disp, _gloffset_FrontFace, fn); |
| 3784 | } |
| 3785 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3786 | typedef void (GLAPIENTRYP _glptr_Hint)(GLenum, GLenum); |
| 3787 | #define CALL_Hint(disp, parameters) \ |
| 3788 | (* GET_Hint(disp)) parameters |
| 3789 | static INLINE _glptr_Hint GET_Hint(struct _glapi_table *disp) { |
| 3790 | return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint)); |
| 3791 | } |
| 3792 | |
| 3793 | static INLINE void SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3794 | SET_by_offset(disp, _gloffset_Hint, fn); |
| 3795 | } |
| 3796 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3797 | typedef void (GLAPIENTRYP _glptr_Lightf)(GLenum, GLenum, GLfloat); |
| 3798 | #define CALL_Lightf(disp, parameters) \ |
| 3799 | (* GET_Lightf(disp)) parameters |
| 3800 | static INLINE _glptr_Lightf GET_Lightf(struct _glapi_table *disp) { |
| 3801 | return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf)); |
| 3802 | } |
| 3803 | |
| 3804 | static INLINE void SET_Lightf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3805 | SET_by_offset(disp, _gloffset_Lightf, fn); |
| 3806 | } |
| 3807 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3808 | typedef void (GLAPIENTRYP _glptr_Lightfv)(GLenum, GLenum, const GLfloat *); |
| 3809 | #define CALL_Lightfv(disp, parameters) \ |
| 3810 | (* GET_Lightfv(disp)) parameters |
| 3811 | static INLINE _glptr_Lightfv GET_Lightfv(struct _glapi_table *disp) { |
| 3812 | return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv)); |
| 3813 | } |
| 3814 | |
| 3815 | static INLINE void SET_Lightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3816 | SET_by_offset(disp, _gloffset_Lightfv, fn); |
| 3817 | } |
| 3818 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3819 | typedef void (GLAPIENTRYP _glptr_Lighti)(GLenum, GLenum, GLint); |
| 3820 | #define CALL_Lighti(disp, parameters) \ |
| 3821 | (* GET_Lighti(disp)) parameters |
| 3822 | static INLINE _glptr_Lighti GET_Lighti(struct _glapi_table *disp) { |
| 3823 | return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti)); |
| 3824 | } |
| 3825 | |
| 3826 | static INLINE void SET_Lighti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3827 | SET_by_offset(disp, _gloffset_Lighti, fn); |
| 3828 | } |
| 3829 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3830 | typedef void (GLAPIENTRYP _glptr_Lightiv)(GLenum, GLenum, const GLint *); |
| 3831 | #define CALL_Lightiv(disp, parameters) \ |
| 3832 | (* GET_Lightiv(disp)) parameters |
| 3833 | static INLINE _glptr_Lightiv GET_Lightiv(struct _glapi_table *disp) { |
| 3834 | return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv)); |
| 3835 | } |
| 3836 | |
| 3837 | static INLINE void SET_Lightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3838 | SET_by_offset(disp, _gloffset_Lightiv, fn); |
| 3839 | } |
| 3840 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3841 | typedef void (GLAPIENTRYP _glptr_LightModelf)(GLenum, GLfloat); |
| 3842 | #define CALL_LightModelf(disp, parameters) \ |
| 3843 | (* GET_LightModelf(disp)) parameters |
| 3844 | static INLINE _glptr_LightModelf GET_LightModelf(struct _glapi_table *disp) { |
| 3845 | return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf)); |
| 3846 | } |
| 3847 | |
| 3848 | static INLINE void SET_LightModelf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3849 | SET_by_offset(disp, _gloffset_LightModelf, fn); |
| 3850 | } |
| 3851 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3852 | typedef void (GLAPIENTRYP _glptr_LightModelfv)(GLenum, const GLfloat *); |
| 3853 | #define CALL_LightModelfv(disp, parameters) \ |
| 3854 | (* GET_LightModelfv(disp)) parameters |
| 3855 | static INLINE _glptr_LightModelfv GET_LightModelfv(struct _glapi_table *disp) { |
| 3856 | return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv)); |
| 3857 | } |
| 3858 | |
| 3859 | static INLINE void SET_LightModelfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3860 | SET_by_offset(disp, _gloffset_LightModelfv, fn); |
| 3861 | } |
| 3862 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3863 | typedef void (GLAPIENTRYP _glptr_LightModeli)(GLenum, GLint); |
| 3864 | #define CALL_LightModeli(disp, parameters) \ |
| 3865 | (* GET_LightModeli(disp)) parameters |
| 3866 | static INLINE _glptr_LightModeli GET_LightModeli(struct _glapi_table *disp) { |
| 3867 | return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli)); |
| 3868 | } |
| 3869 | |
| 3870 | static INLINE void SET_LightModeli(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3871 | SET_by_offset(disp, _gloffset_LightModeli, fn); |
| 3872 | } |
| 3873 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3874 | typedef void (GLAPIENTRYP _glptr_LightModeliv)(GLenum, const GLint *); |
| 3875 | #define CALL_LightModeliv(disp, parameters) \ |
| 3876 | (* GET_LightModeliv(disp)) parameters |
| 3877 | static INLINE _glptr_LightModeliv GET_LightModeliv(struct _glapi_table *disp) { |
| 3878 | return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv)); |
| 3879 | } |
| 3880 | |
| 3881 | static INLINE void SET_LightModeliv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3882 | SET_by_offset(disp, _gloffset_LightModeliv, fn); |
| 3883 | } |
| 3884 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3885 | typedef void (GLAPIENTRYP _glptr_LineStipple)(GLint, GLushort); |
| 3886 | #define CALL_LineStipple(disp, parameters) \ |
| 3887 | (* GET_LineStipple(disp)) parameters |
| 3888 | static INLINE _glptr_LineStipple GET_LineStipple(struct _glapi_table *disp) { |
| 3889 | return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple)); |
| 3890 | } |
| 3891 | |
| 3892 | static INLINE void SET_LineStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLushort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3893 | SET_by_offset(disp, _gloffset_LineStipple, fn); |
| 3894 | } |
| 3895 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3896 | typedef void (GLAPIENTRYP _glptr_LineWidth)(GLfloat); |
| 3897 | #define CALL_LineWidth(disp, parameters) \ |
| 3898 | (* GET_LineWidth(disp)) parameters |
| 3899 | static INLINE _glptr_LineWidth GET_LineWidth(struct _glapi_table *disp) { |
| 3900 | return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth)); |
| 3901 | } |
| 3902 | |
| 3903 | static INLINE void SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3904 | SET_by_offset(disp, _gloffset_LineWidth, fn); |
| 3905 | } |
| 3906 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3907 | typedef void (GLAPIENTRYP _glptr_Materialf)(GLenum, GLenum, GLfloat); |
| 3908 | #define CALL_Materialf(disp, parameters) \ |
| 3909 | (* GET_Materialf(disp)) parameters |
| 3910 | static INLINE _glptr_Materialf GET_Materialf(struct _glapi_table *disp) { |
| 3911 | return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf)); |
| 3912 | } |
| 3913 | |
| 3914 | static INLINE void SET_Materialf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3915 | SET_by_offset(disp, _gloffset_Materialf, fn); |
| 3916 | } |
| 3917 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3918 | typedef void (GLAPIENTRYP _glptr_Materialfv)(GLenum, GLenum, const GLfloat *); |
| 3919 | #define CALL_Materialfv(disp, parameters) \ |
| 3920 | (* GET_Materialfv(disp)) parameters |
| 3921 | static INLINE _glptr_Materialfv GET_Materialfv(struct _glapi_table *disp) { |
| 3922 | return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv)); |
| 3923 | } |
| 3924 | |
| 3925 | static INLINE void SET_Materialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3926 | SET_by_offset(disp, _gloffset_Materialfv, fn); |
| 3927 | } |
| 3928 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3929 | typedef void (GLAPIENTRYP _glptr_Materiali)(GLenum, GLenum, GLint); |
| 3930 | #define CALL_Materiali(disp, parameters) \ |
| 3931 | (* GET_Materiali(disp)) parameters |
| 3932 | static INLINE _glptr_Materiali GET_Materiali(struct _glapi_table *disp) { |
| 3933 | return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali)); |
| 3934 | } |
| 3935 | |
| 3936 | static INLINE void SET_Materiali(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3937 | SET_by_offset(disp, _gloffset_Materiali, fn); |
| 3938 | } |
| 3939 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3940 | typedef void (GLAPIENTRYP _glptr_Materialiv)(GLenum, GLenum, const GLint *); |
| 3941 | #define CALL_Materialiv(disp, parameters) \ |
| 3942 | (* GET_Materialiv(disp)) parameters |
| 3943 | static INLINE _glptr_Materialiv GET_Materialiv(struct _glapi_table *disp) { |
| 3944 | return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv)); |
| 3945 | } |
| 3946 | |
| 3947 | static INLINE void SET_Materialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3948 | SET_by_offset(disp, _gloffset_Materialiv, fn); |
| 3949 | } |
| 3950 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3951 | typedef void (GLAPIENTRYP _glptr_PointSize)(GLfloat); |
| 3952 | #define CALL_PointSize(disp, parameters) \ |
| 3953 | (* GET_PointSize(disp)) parameters |
| 3954 | static INLINE _glptr_PointSize GET_PointSize(struct _glapi_table *disp) { |
| 3955 | return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize)); |
| 3956 | } |
| 3957 | |
| 3958 | static INLINE void SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3959 | SET_by_offset(disp, _gloffset_PointSize, fn); |
| 3960 | } |
| 3961 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3962 | typedef void (GLAPIENTRYP _glptr_PolygonMode)(GLenum, GLenum); |
| 3963 | #define CALL_PolygonMode(disp, parameters) \ |
| 3964 | (* GET_PolygonMode(disp)) parameters |
| 3965 | static INLINE _glptr_PolygonMode GET_PolygonMode(struct _glapi_table *disp) { |
| 3966 | return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode)); |
| 3967 | } |
| 3968 | |
| 3969 | static INLINE void SET_PolygonMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3970 | SET_by_offset(disp, _gloffset_PolygonMode, fn); |
| 3971 | } |
| 3972 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3973 | typedef void (GLAPIENTRYP _glptr_PolygonStipple)(const GLubyte *); |
| 3974 | #define CALL_PolygonStipple(disp, parameters) \ |
| 3975 | (* GET_PolygonStipple(disp)) parameters |
| 3976 | static INLINE _glptr_PolygonStipple GET_PolygonStipple(struct _glapi_table *disp) { |
| 3977 | return (_glptr_PolygonStipple) (GET_by_offset(disp, _gloffset_PolygonStipple)); |
| 3978 | } |
| 3979 | |
| 3980 | static INLINE void SET_PolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3981 | SET_by_offset(disp, _gloffset_PolygonStipple, fn); |
| 3982 | } |
| 3983 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3984 | typedef void (GLAPIENTRYP _glptr_Scissor)(GLint, GLint, GLsizei, GLsizei); |
| 3985 | #define CALL_Scissor(disp, parameters) \ |
| 3986 | (* GET_Scissor(disp)) parameters |
| 3987 | static INLINE _glptr_Scissor GET_Scissor(struct _glapi_table *disp) { |
| 3988 | return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor)); |
| 3989 | } |
| 3990 | |
| 3991 | static INLINE void SET_Scissor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 3992 | SET_by_offset(disp, _gloffset_Scissor, fn); |
| 3993 | } |
| 3994 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 3995 | typedef void (GLAPIENTRYP _glptr_ShadeModel)(GLenum); |
| 3996 | #define CALL_ShadeModel(disp, parameters) \ |
| 3997 | (* GET_ShadeModel(disp)) parameters |
| 3998 | static INLINE _glptr_ShadeModel GET_ShadeModel(struct _glapi_table *disp) { |
| 3999 | return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel)); |
| 4000 | } |
| 4001 | |
| 4002 | static INLINE void SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4003 | SET_by_offset(disp, _gloffset_ShadeModel, fn); |
| 4004 | } |
| 4005 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4006 | typedef void (GLAPIENTRYP _glptr_TexParameterf)(GLenum, GLenum, GLfloat); |
| 4007 | #define CALL_TexParameterf(disp, parameters) \ |
| 4008 | (* GET_TexParameterf(disp)) parameters |
| 4009 | static INLINE _glptr_TexParameterf GET_TexParameterf(struct _glapi_table *disp) { |
| 4010 | return (_glptr_TexParameterf) (GET_by_offset(disp, _gloffset_TexParameterf)); |
| 4011 | } |
| 4012 | |
| 4013 | static INLINE void SET_TexParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4014 | SET_by_offset(disp, _gloffset_TexParameterf, fn); |
| 4015 | } |
| 4016 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4017 | typedef void (GLAPIENTRYP _glptr_TexParameterfv)(GLenum, GLenum, const GLfloat *); |
| 4018 | #define CALL_TexParameterfv(disp, parameters) \ |
| 4019 | (* GET_TexParameterfv(disp)) parameters |
| 4020 | static INLINE _glptr_TexParameterfv GET_TexParameterfv(struct _glapi_table *disp) { |
| 4021 | return (_glptr_TexParameterfv) (GET_by_offset(disp, _gloffset_TexParameterfv)); |
| 4022 | } |
| 4023 | |
| 4024 | static INLINE void SET_TexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4025 | SET_by_offset(disp, _gloffset_TexParameterfv, fn); |
| 4026 | } |
| 4027 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4028 | typedef void (GLAPIENTRYP _glptr_TexParameteri)(GLenum, GLenum, GLint); |
| 4029 | #define CALL_TexParameteri(disp, parameters) \ |
| 4030 | (* GET_TexParameteri(disp)) parameters |
| 4031 | static INLINE _glptr_TexParameteri GET_TexParameteri(struct _glapi_table *disp) { |
| 4032 | return (_glptr_TexParameteri) (GET_by_offset(disp, _gloffset_TexParameteri)); |
| 4033 | } |
| 4034 | |
| 4035 | static INLINE void SET_TexParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4036 | SET_by_offset(disp, _gloffset_TexParameteri, fn); |
| 4037 | } |
| 4038 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4039 | typedef void (GLAPIENTRYP _glptr_TexParameteriv)(GLenum, GLenum, const GLint *); |
| 4040 | #define CALL_TexParameteriv(disp, parameters) \ |
| 4041 | (* GET_TexParameteriv(disp)) parameters |
| 4042 | static INLINE _glptr_TexParameteriv GET_TexParameteriv(struct _glapi_table *disp) { |
| 4043 | return (_glptr_TexParameteriv) (GET_by_offset(disp, _gloffset_TexParameteriv)); |
| 4044 | } |
| 4045 | |
| 4046 | static INLINE void SET_TexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4047 | SET_by_offset(disp, _gloffset_TexParameteriv, fn); |
| 4048 | } |
| 4049 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4050 | typedef void (GLAPIENTRYP _glptr_TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *); |
| 4051 | #define CALL_TexImage1D(disp, parameters) \ |
| 4052 | (* GET_TexImage1D(disp)) parameters |
| 4053 | static INLINE _glptr_TexImage1D GET_TexImage1D(struct _glapi_table *disp) { |
| 4054 | return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D)); |
| 4055 | } |
| 4056 | |
| 4057 | static INLINE void SET_TexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4058 | SET_by_offset(disp, _gloffset_TexImage1D, fn); |
| 4059 | } |
| 4060 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4061 | typedef void (GLAPIENTRYP _glptr_TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); |
| 4062 | #define CALL_TexImage2D(disp, parameters) \ |
| 4063 | (* GET_TexImage2D(disp)) parameters |
| 4064 | static INLINE _glptr_TexImage2D GET_TexImage2D(struct _glapi_table *disp) { |
| 4065 | return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D)); |
| 4066 | } |
| 4067 | |
| 4068 | static INLINE void SET_TexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4069 | SET_by_offset(disp, _gloffset_TexImage2D, fn); |
| 4070 | } |
| 4071 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4072 | typedef void (GLAPIENTRYP _glptr_TexEnvf)(GLenum, GLenum, GLfloat); |
| 4073 | #define CALL_TexEnvf(disp, parameters) \ |
| 4074 | (* GET_TexEnvf(disp)) parameters |
| 4075 | static INLINE _glptr_TexEnvf GET_TexEnvf(struct _glapi_table *disp) { |
| 4076 | return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf)); |
| 4077 | } |
| 4078 | |
| 4079 | static INLINE void SET_TexEnvf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4080 | SET_by_offset(disp, _gloffset_TexEnvf, fn); |
| 4081 | } |
| 4082 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4083 | typedef void (GLAPIENTRYP _glptr_TexEnvfv)(GLenum, GLenum, const GLfloat *); |
| 4084 | #define CALL_TexEnvfv(disp, parameters) \ |
| 4085 | (* GET_TexEnvfv(disp)) parameters |
| 4086 | static INLINE _glptr_TexEnvfv GET_TexEnvfv(struct _glapi_table *disp) { |
| 4087 | return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv)); |
| 4088 | } |
| 4089 | |
| 4090 | static INLINE void SET_TexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4091 | SET_by_offset(disp, _gloffset_TexEnvfv, fn); |
| 4092 | } |
| 4093 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4094 | typedef void (GLAPIENTRYP _glptr_TexEnvi)(GLenum, GLenum, GLint); |
| 4095 | #define CALL_TexEnvi(disp, parameters) \ |
| 4096 | (* GET_TexEnvi(disp)) parameters |
| 4097 | static INLINE _glptr_TexEnvi GET_TexEnvi(struct _glapi_table *disp) { |
| 4098 | return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi)); |
| 4099 | } |
| 4100 | |
| 4101 | static INLINE void SET_TexEnvi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4102 | SET_by_offset(disp, _gloffset_TexEnvi, fn); |
| 4103 | } |
| 4104 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4105 | typedef void (GLAPIENTRYP _glptr_TexEnviv)(GLenum, GLenum, const GLint *); |
| 4106 | #define CALL_TexEnviv(disp, parameters) \ |
| 4107 | (* GET_TexEnviv(disp)) parameters |
| 4108 | static INLINE _glptr_TexEnviv GET_TexEnviv(struct _glapi_table *disp) { |
| 4109 | return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv)); |
| 4110 | } |
| 4111 | |
| 4112 | static INLINE void SET_TexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4113 | SET_by_offset(disp, _gloffset_TexEnviv, fn); |
| 4114 | } |
| 4115 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4116 | typedef void (GLAPIENTRYP _glptr_TexGend)(GLenum, GLenum, GLdouble); |
| 4117 | #define CALL_TexGend(disp, parameters) \ |
| 4118 | (* GET_TexGend(disp)) parameters |
| 4119 | static INLINE _glptr_TexGend GET_TexGend(struct _glapi_table *disp) { |
| 4120 | return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend)); |
| 4121 | } |
| 4122 | |
| 4123 | static INLINE void SET_TexGend(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4124 | SET_by_offset(disp, _gloffset_TexGend, fn); |
| 4125 | } |
| 4126 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4127 | typedef void (GLAPIENTRYP _glptr_TexGendv)(GLenum, GLenum, const GLdouble *); |
| 4128 | #define CALL_TexGendv(disp, parameters) \ |
| 4129 | (* GET_TexGendv(disp)) parameters |
| 4130 | static INLINE _glptr_TexGendv GET_TexGendv(struct _glapi_table *disp) { |
| 4131 | return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv)); |
| 4132 | } |
| 4133 | |
| 4134 | static INLINE void SET_TexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4135 | SET_by_offset(disp, _gloffset_TexGendv, fn); |
| 4136 | } |
| 4137 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4138 | typedef void (GLAPIENTRYP _glptr_TexGenf)(GLenum, GLenum, GLfloat); |
| 4139 | #define CALL_TexGenf(disp, parameters) \ |
| 4140 | (* GET_TexGenf(disp)) parameters |
| 4141 | static INLINE _glptr_TexGenf GET_TexGenf(struct _glapi_table *disp) { |
| 4142 | return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf)); |
| 4143 | } |
| 4144 | |
| 4145 | static INLINE void SET_TexGenf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4146 | SET_by_offset(disp, _gloffset_TexGenf, fn); |
| 4147 | } |
| 4148 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4149 | typedef void (GLAPIENTRYP _glptr_TexGenfv)(GLenum, GLenum, const GLfloat *); |
| 4150 | #define CALL_TexGenfv(disp, parameters) \ |
| 4151 | (* GET_TexGenfv(disp)) parameters |
| 4152 | static INLINE _glptr_TexGenfv GET_TexGenfv(struct _glapi_table *disp) { |
| 4153 | return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv)); |
| 4154 | } |
| 4155 | |
| 4156 | static INLINE void SET_TexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4157 | SET_by_offset(disp, _gloffset_TexGenfv, fn); |
| 4158 | } |
| 4159 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4160 | typedef void (GLAPIENTRYP _glptr_TexGeni)(GLenum, GLenum, GLint); |
| 4161 | #define CALL_TexGeni(disp, parameters) \ |
| 4162 | (* GET_TexGeni(disp)) parameters |
| 4163 | static INLINE _glptr_TexGeni GET_TexGeni(struct _glapi_table *disp) { |
| 4164 | return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni)); |
| 4165 | } |
| 4166 | |
| 4167 | static INLINE void SET_TexGeni(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4168 | SET_by_offset(disp, _gloffset_TexGeni, fn); |
| 4169 | } |
| 4170 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4171 | typedef void (GLAPIENTRYP _glptr_TexGeniv)(GLenum, GLenum, const GLint *); |
| 4172 | #define CALL_TexGeniv(disp, parameters) \ |
| 4173 | (* GET_TexGeniv(disp)) parameters |
| 4174 | static INLINE _glptr_TexGeniv GET_TexGeniv(struct _glapi_table *disp) { |
| 4175 | return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv)); |
| 4176 | } |
| 4177 | |
| 4178 | static INLINE void SET_TexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4179 | SET_by_offset(disp, _gloffset_TexGeniv, fn); |
| 4180 | } |
| 4181 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4182 | typedef void (GLAPIENTRYP _glptr_FeedbackBuffer)(GLsizei, GLenum, GLfloat *); |
| 4183 | #define CALL_FeedbackBuffer(disp, parameters) \ |
| 4184 | (* GET_FeedbackBuffer(disp)) parameters |
| 4185 | static INLINE _glptr_FeedbackBuffer GET_FeedbackBuffer(struct _glapi_table *disp) { |
| 4186 | return (_glptr_FeedbackBuffer) (GET_by_offset(disp, _gloffset_FeedbackBuffer)); |
| 4187 | } |
| 4188 | |
| 4189 | static INLINE void SET_FeedbackBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4190 | SET_by_offset(disp, _gloffset_FeedbackBuffer, fn); |
| 4191 | } |
| 4192 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4193 | typedef void (GLAPIENTRYP _glptr_SelectBuffer)(GLsizei, GLuint *); |
| 4194 | #define CALL_SelectBuffer(disp, parameters) \ |
| 4195 | (* GET_SelectBuffer(disp)) parameters |
| 4196 | static INLINE _glptr_SelectBuffer GET_SelectBuffer(struct _glapi_table *disp) { |
| 4197 | return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer)); |
| 4198 | } |
| 4199 | |
| 4200 | static INLINE void SET_SelectBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4201 | SET_by_offset(disp, _gloffset_SelectBuffer, fn); |
| 4202 | } |
| 4203 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4204 | typedef GLint (GLAPIENTRYP _glptr_RenderMode)(GLenum); |
| 4205 | #define CALL_RenderMode(disp, parameters) \ |
| 4206 | (* GET_RenderMode(disp)) parameters |
| 4207 | static INLINE _glptr_RenderMode GET_RenderMode(struct _glapi_table *disp) { |
| 4208 | return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode)); |
| 4209 | } |
| 4210 | |
| 4211 | static INLINE void SET_RenderMode(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4212 | SET_by_offset(disp, _gloffset_RenderMode, fn); |
| 4213 | } |
| 4214 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4215 | typedef void (GLAPIENTRYP _glptr_InitNames)(void); |
| 4216 | #define CALL_InitNames(disp, parameters) \ |
| 4217 | (* GET_InitNames(disp)) parameters |
| 4218 | static INLINE _glptr_InitNames GET_InitNames(struct _glapi_table *disp) { |
| 4219 | return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames)); |
| 4220 | } |
| 4221 | |
| 4222 | static INLINE void SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4223 | SET_by_offset(disp, _gloffset_InitNames, fn); |
| 4224 | } |
| 4225 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4226 | typedef void (GLAPIENTRYP _glptr_LoadName)(GLuint); |
| 4227 | #define CALL_LoadName(disp, parameters) \ |
| 4228 | (* GET_LoadName(disp)) parameters |
| 4229 | static INLINE _glptr_LoadName GET_LoadName(struct _glapi_table *disp) { |
| 4230 | return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName)); |
| 4231 | } |
| 4232 | |
| 4233 | static INLINE void SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4234 | SET_by_offset(disp, _gloffset_LoadName, fn); |
| 4235 | } |
| 4236 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4237 | typedef void (GLAPIENTRYP _glptr_PassThrough)(GLfloat); |
| 4238 | #define CALL_PassThrough(disp, parameters) \ |
| 4239 | (* GET_PassThrough(disp)) parameters |
| 4240 | static INLINE _glptr_PassThrough GET_PassThrough(struct _glapi_table *disp) { |
| 4241 | return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough)); |
| 4242 | } |
| 4243 | |
| 4244 | static INLINE void SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4245 | SET_by_offset(disp, _gloffset_PassThrough, fn); |
| 4246 | } |
| 4247 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4248 | typedef void (GLAPIENTRYP _glptr_PopName)(void); |
| 4249 | #define CALL_PopName(disp, parameters) \ |
| 4250 | (* GET_PopName(disp)) parameters |
| 4251 | static INLINE _glptr_PopName GET_PopName(struct _glapi_table *disp) { |
| 4252 | return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName)); |
| 4253 | } |
| 4254 | |
| 4255 | static INLINE void SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4256 | SET_by_offset(disp, _gloffset_PopName, fn); |
| 4257 | } |
| 4258 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4259 | typedef void (GLAPIENTRYP _glptr_PushName)(GLuint); |
| 4260 | #define CALL_PushName(disp, parameters) \ |
| 4261 | (* GET_PushName(disp)) parameters |
| 4262 | static INLINE _glptr_PushName GET_PushName(struct _glapi_table *disp) { |
| 4263 | return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName)); |
| 4264 | } |
| 4265 | |
| 4266 | static INLINE void SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4267 | SET_by_offset(disp, _gloffset_PushName, fn); |
| 4268 | } |
| 4269 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4270 | typedef void (GLAPIENTRYP _glptr_DrawBuffer)(GLenum); |
| 4271 | #define CALL_DrawBuffer(disp, parameters) \ |
| 4272 | (* GET_DrawBuffer(disp)) parameters |
| 4273 | static INLINE _glptr_DrawBuffer GET_DrawBuffer(struct _glapi_table *disp) { |
| 4274 | return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer)); |
| 4275 | } |
| 4276 | |
| 4277 | static INLINE void SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4278 | SET_by_offset(disp, _gloffset_DrawBuffer, fn); |
| 4279 | } |
| 4280 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4281 | typedef void (GLAPIENTRYP _glptr_Clear)(GLbitfield); |
| 4282 | #define CALL_Clear(disp, parameters) \ |
| 4283 | (* GET_Clear(disp)) parameters |
| 4284 | static INLINE _glptr_Clear GET_Clear(struct _glapi_table *disp) { |
| 4285 | return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear)); |
| 4286 | } |
| 4287 | |
| 4288 | static INLINE void SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4289 | SET_by_offset(disp, _gloffset_Clear, fn); |
| 4290 | } |
| 4291 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4292 | typedef void (GLAPIENTRYP _glptr_ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 4293 | #define CALL_ClearAccum(disp, parameters) \ |
| 4294 | (* GET_ClearAccum(disp)) parameters |
| 4295 | static INLINE _glptr_ClearAccum GET_ClearAccum(struct _glapi_table *disp) { |
| 4296 | return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum)); |
| 4297 | } |
| 4298 | |
| 4299 | static INLINE void SET_ClearAccum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4300 | SET_by_offset(disp, _gloffset_ClearAccum, fn); |
| 4301 | } |
| 4302 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4303 | typedef void (GLAPIENTRYP _glptr_ClearIndex)(GLfloat); |
| 4304 | #define CALL_ClearIndex(disp, parameters) \ |
| 4305 | (* GET_ClearIndex(disp)) parameters |
| 4306 | static INLINE _glptr_ClearIndex GET_ClearIndex(struct _glapi_table *disp) { |
| 4307 | return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex)); |
| 4308 | } |
| 4309 | |
| 4310 | static INLINE void SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4311 | SET_by_offset(disp, _gloffset_ClearIndex, fn); |
| 4312 | } |
| 4313 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4314 | typedef void (GLAPIENTRYP _glptr_ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf); |
| 4315 | #define CALL_ClearColor(disp, parameters) \ |
| 4316 | (* GET_ClearColor(disp)) parameters |
| 4317 | static INLINE _glptr_ClearColor GET_ClearColor(struct _glapi_table *disp) { |
| 4318 | return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor)); |
| 4319 | } |
| 4320 | |
| 4321 | static INLINE void SET_ClearColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4322 | SET_by_offset(disp, _gloffset_ClearColor, fn); |
| 4323 | } |
| 4324 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4325 | typedef void (GLAPIENTRYP _glptr_ClearStencil)(GLint); |
| 4326 | #define CALL_ClearStencil(disp, parameters) \ |
| 4327 | (* GET_ClearStencil(disp)) parameters |
| 4328 | static INLINE _glptr_ClearStencil GET_ClearStencil(struct _glapi_table *disp) { |
| 4329 | return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil)); |
| 4330 | } |
| 4331 | |
| 4332 | static INLINE void SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4333 | SET_by_offset(disp, _gloffset_ClearStencil, fn); |
| 4334 | } |
| 4335 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4336 | typedef void (GLAPIENTRYP _glptr_ClearDepth)(GLclampd); |
| 4337 | #define CALL_ClearDepth(disp, parameters) \ |
| 4338 | (* GET_ClearDepth(disp)) parameters |
| 4339 | static INLINE _glptr_ClearDepth GET_ClearDepth(struct _glapi_table *disp) { |
| 4340 | return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth)); |
| 4341 | } |
| 4342 | |
| 4343 | static INLINE void SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4344 | SET_by_offset(disp, _gloffset_ClearDepth, fn); |
| 4345 | } |
| 4346 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4347 | typedef void (GLAPIENTRYP _glptr_StencilMask)(GLuint); |
| 4348 | #define CALL_StencilMask(disp, parameters) \ |
| 4349 | (* GET_StencilMask(disp)) parameters |
| 4350 | static INLINE _glptr_StencilMask GET_StencilMask(struct _glapi_table *disp) { |
| 4351 | return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask)); |
| 4352 | } |
| 4353 | |
| 4354 | static INLINE void SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4355 | SET_by_offset(disp, _gloffset_StencilMask, fn); |
| 4356 | } |
| 4357 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4358 | typedef void (GLAPIENTRYP _glptr_ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean); |
| 4359 | #define CALL_ColorMask(disp, parameters) \ |
| 4360 | (* GET_ColorMask(disp)) parameters |
| 4361 | static INLINE _glptr_ColorMask GET_ColorMask(struct _glapi_table *disp) { |
| 4362 | return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask)); |
| 4363 | } |
| 4364 | |
| 4365 | static INLINE void SET_ColorMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean, GLboolean, GLboolean, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4366 | SET_by_offset(disp, _gloffset_ColorMask, fn); |
| 4367 | } |
| 4368 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4369 | typedef void (GLAPIENTRYP _glptr_DepthMask)(GLboolean); |
| 4370 | #define CALL_DepthMask(disp, parameters) \ |
| 4371 | (* GET_DepthMask(disp)) parameters |
| 4372 | static INLINE _glptr_DepthMask GET_DepthMask(struct _glapi_table *disp) { |
| 4373 | return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask)); |
| 4374 | } |
| 4375 | |
| 4376 | static INLINE void SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4377 | SET_by_offset(disp, _gloffset_DepthMask, fn); |
| 4378 | } |
| 4379 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4380 | typedef void (GLAPIENTRYP _glptr_IndexMask)(GLuint); |
| 4381 | #define CALL_IndexMask(disp, parameters) \ |
| 4382 | (* GET_IndexMask(disp)) parameters |
| 4383 | static INLINE _glptr_IndexMask GET_IndexMask(struct _glapi_table *disp) { |
| 4384 | return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask)); |
| 4385 | } |
| 4386 | |
| 4387 | static INLINE void SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4388 | SET_by_offset(disp, _gloffset_IndexMask, fn); |
| 4389 | } |
| 4390 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4391 | typedef void (GLAPIENTRYP _glptr_Accum)(GLenum, GLfloat); |
| 4392 | #define CALL_Accum(disp, parameters) \ |
| 4393 | (* GET_Accum(disp)) parameters |
| 4394 | static INLINE _glptr_Accum GET_Accum(struct _glapi_table *disp) { |
| 4395 | return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum)); |
| 4396 | } |
| 4397 | |
| 4398 | static INLINE void SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4399 | SET_by_offset(disp, _gloffset_Accum, fn); |
| 4400 | } |
| 4401 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4402 | typedef void (GLAPIENTRYP _glptr_Disable)(GLenum); |
| 4403 | #define CALL_Disable(disp, parameters) \ |
| 4404 | (* GET_Disable(disp)) parameters |
| 4405 | static INLINE _glptr_Disable GET_Disable(struct _glapi_table *disp) { |
| 4406 | return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable)); |
| 4407 | } |
| 4408 | |
| 4409 | static INLINE void SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4410 | SET_by_offset(disp, _gloffset_Disable, fn); |
| 4411 | } |
| 4412 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4413 | typedef void (GLAPIENTRYP _glptr_Enable)(GLenum); |
| 4414 | #define CALL_Enable(disp, parameters) \ |
| 4415 | (* GET_Enable(disp)) parameters |
| 4416 | static INLINE _glptr_Enable GET_Enable(struct _glapi_table *disp) { |
| 4417 | return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable)); |
| 4418 | } |
| 4419 | |
| 4420 | static INLINE void SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4421 | SET_by_offset(disp, _gloffset_Enable, fn); |
| 4422 | } |
| 4423 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4424 | typedef void (GLAPIENTRYP _glptr_Finish)(void); |
| 4425 | #define CALL_Finish(disp, parameters) \ |
| 4426 | (* GET_Finish(disp)) parameters |
| 4427 | static INLINE _glptr_Finish GET_Finish(struct _glapi_table *disp) { |
| 4428 | return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish)); |
| 4429 | } |
| 4430 | |
| 4431 | static INLINE void SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4432 | SET_by_offset(disp, _gloffset_Finish, fn); |
| 4433 | } |
| 4434 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4435 | typedef void (GLAPIENTRYP _glptr_Flush)(void); |
| 4436 | #define CALL_Flush(disp, parameters) \ |
| 4437 | (* GET_Flush(disp)) parameters |
| 4438 | static INLINE _glptr_Flush GET_Flush(struct _glapi_table *disp) { |
| 4439 | return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush)); |
| 4440 | } |
| 4441 | |
| 4442 | static INLINE void SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4443 | SET_by_offset(disp, _gloffset_Flush, fn); |
| 4444 | } |
| 4445 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4446 | typedef void (GLAPIENTRYP _glptr_PopAttrib)(void); |
| 4447 | #define CALL_PopAttrib(disp, parameters) \ |
| 4448 | (* GET_PopAttrib(disp)) parameters |
| 4449 | static INLINE _glptr_PopAttrib GET_PopAttrib(struct _glapi_table *disp) { |
| 4450 | return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib)); |
| 4451 | } |
| 4452 | |
| 4453 | static INLINE void SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4454 | SET_by_offset(disp, _gloffset_PopAttrib, fn); |
| 4455 | } |
| 4456 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4457 | typedef void (GLAPIENTRYP _glptr_PushAttrib)(GLbitfield); |
| 4458 | #define CALL_PushAttrib(disp, parameters) \ |
| 4459 | (* GET_PushAttrib(disp)) parameters |
| 4460 | static INLINE _glptr_PushAttrib GET_PushAttrib(struct _glapi_table *disp) { |
| 4461 | return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib)); |
| 4462 | } |
| 4463 | |
| 4464 | static INLINE void SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4465 | SET_by_offset(disp, _gloffset_PushAttrib, fn); |
| 4466 | } |
| 4467 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4468 | typedef void (GLAPIENTRYP _glptr_Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *); |
| 4469 | #define CALL_Map1d(disp, parameters) \ |
| 4470 | (* GET_Map1d(disp)) parameters |
| 4471 | static INLINE _glptr_Map1d GET_Map1d(struct _glapi_table *disp) { |
| 4472 | return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d)); |
| 4473 | } |
| 4474 | |
| 4475 | static INLINE void SET_Map1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4476 | SET_by_offset(disp, _gloffset_Map1d, fn); |
| 4477 | } |
| 4478 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4479 | typedef void (GLAPIENTRYP _glptr_Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *); |
| 4480 | #define CALL_Map1f(disp, parameters) \ |
| 4481 | (* GET_Map1f(disp)) parameters |
| 4482 | static INLINE _glptr_Map1f GET_Map1f(struct _glapi_table *disp) { |
| 4483 | return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f)); |
| 4484 | } |
| 4485 | |
| 4486 | static INLINE void SET_Map1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4487 | SET_by_offset(disp, _gloffset_Map1f, fn); |
| 4488 | } |
| 4489 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4490 | typedef void (GLAPIENTRYP _glptr_Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); |
| 4491 | #define CALL_Map2d(disp, parameters) \ |
| 4492 | (* GET_Map2d(disp)) parameters |
| 4493 | static INLINE _glptr_Map2d GET_Map2d(struct _glapi_table *disp) { |
| 4494 | return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d)); |
| 4495 | } |
| 4496 | |
| 4497 | static INLINE void SET_Map2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4498 | SET_by_offset(disp, _gloffset_Map2d, fn); |
| 4499 | } |
| 4500 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4501 | typedef void (GLAPIENTRYP _glptr_Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); |
| 4502 | #define CALL_Map2f(disp, parameters) \ |
| 4503 | (* GET_Map2f(disp)) parameters |
| 4504 | static INLINE _glptr_Map2f GET_Map2f(struct _glapi_table *disp) { |
| 4505 | return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f)); |
| 4506 | } |
| 4507 | |
| 4508 | static INLINE void SET_Map2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4509 | SET_by_offset(disp, _gloffset_Map2f, fn); |
| 4510 | } |
| 4511 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4512 | typedef void (GLAPIENTRYP _glptr_MapGrid1d)(GLint, GLdouble, GLdouble); |
| 4513 | #define CALL_MapGrid1d(disp, parameters) \ |
| 4514 | (* GET_MapGrid1d(disp)) parameters |
| 4515 | static INLINE _glptr_MapGrid1d GET_MapGrid1d(struct _glapi_table *disp) { |
| 4516 | return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d)); |
| 4517 | } |
| 4518 | |
| 4519 | static INLINE void SET_MapGrid1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4520 | SET_by_offset(disp, _gloffset_MapGrid1d, fn); |
| 4521 | } |
| 4522 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4523 | typedef void (GLAPIENTRYP _glptr_MapGrid1f)(GLint, GLfloat, GLfloat); |
| 4524 | #define CALL_MapGrid1f(disp, parameters) \ |
| 4525 | (* GET_MapGrid1f(disp)) parameters |
| 4526 | static INLINE _glptr_MapGrid1f GET_MapGrid1f(struct _glapi_table *disp) { |
| 4527 | return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f)); |
| 4528 | } |
| 4529 | |
| 4530 | static INLINE void SET_MapGrid1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4531 | SET_by_offset(disp, _gloffset_MapGrid1f, fn); |
| 4532 | } |
| 4533 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4534 | typedef void (GLAPIENTRYP _glptr_MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble); |
| 4535 | #define CALL_MapGrid2d(disp, parameters) \ |
| 4536 | (* GET_MapGrid2d(disp)) parameters |
| 4537 | static INLINE _glptr_MapGrid2d GET_MapGrid2d(struct _glapi_table *disp) { |
| 4538 | return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d)); |
| 4539 | } |
| 4540 | |
| 4541 | static INLINE void SET_MapGrid2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4542 | SET_by_offset(disp, _gloffset_MapGrid2d, fn); |
| 4543 | } |
| 4544 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4545 | typedef void (GLAPIENTRYP _glptr_MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat); |
| 4546 | #define CALL_MapGrid2f(disp, parameters) \ |
| 4547 | (* GET_MapGrid2f(disp)) parameters |
| 4548 | static INLINE _glptr_MapGrid2f GET_MapGrid2f(struct _glapi_table *disp) { |
| 4549 | return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f)); |
| 4550 | } |
| 4551 | |
| 4552 | static INLINE void SET_MapGrid2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4553 | SET_by_offset(disp, _gloffset_MapGrid2f, fn); |
| 4554 | } |
| 4555 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4556 | typedef void (GLAPIENTRYP _glptr_EvalCoord1d)(GLdouble); |
| 4557 | #define CALL_EvalCoord1d(disp, parameters) \ |
| 4558 | (* GET_EvalCoord1d(disp)) parameters |
| 4559 | static INLINE _glptr_EvalCoord1d GET_EvalCoord1d(struct _glapi_table *disp) { |
| 4560 | return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d)); |
| 4561 | } |
| 4562 | |
| 4563 | static INLINE void SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4564 | SET_by_offset(disp, _gloffset_EvalCoord1d, fn); |
| 4565 | } |
| 4566 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4567 | typedef void (GLAPIENTRYP _glptr_EvalCoord1dv)(const GLdouble *); |
| 4568 | #define CALL_EvalCoord1dv(disp, parameters) \ |
| 4569 | (* GET_EvalCoord1dv(disp)) parameters |
| 4570 | static INLINE _glptr_EvalCoord1dv GET_EvalCoord1dv(struct _glapi_table *disp) { |
| 4571 | return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv)); |
| 4572 | } |
| 4573 | |
| 4574 | static INLINE void SET_EvalCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4575 | SET_by_offset(disp, _gloffset_EvalCoord1dv, fn); |
| 4576 | } |
| 4577 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4578 | typedef void (GLAPIENTRYP _glptr_EvalCoord1f)(GLfloat); |
| 4579 | #define CALL_EvalCoord1f(disp, parameters) \ |
| 4580 | (* GET_EvalCoord1f(disp)) parameters |
| 4581 | static INLINE _glptr_EvalCoord1f GET_EvalCoord1f(struct _glapi_table *disp) { |
| 4582 | return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f)); |
| 4583 | } |
| 4584 | |
| 4585 | static INLINE void SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4586 | SET_by_offset(disp, _gloffset_EvalCoord1f, fn); |
| 4587 | } |
| 4588 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4589 | typedef void (GLAPIENTRYP _glptr_EvalCoord1fv)(const GLfloat *); |
| 4590 | #define CALL_EvalCoord1fv(disp, parameters) \ |
| 4591 | (* GET_EvalCoord1fv(disp)) parameters |
| 4592 | static INLINE _glptr_EvalCoord1fv GET_EvalCoord1fv(struct _glapi_table *disp) { |
| 4593 | return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv)); |
| 4594 | } |
| 4595 | |
| 4596 | static INLINE void SET_EvalCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4597 | SET_by_offset(disp, _gloffset_EvalCoord1fv, fn); |
| 4598 | } |
| 4599 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4600 | typedef void (GLAPIENTRYP _glptr_EvalCoord2d)(GLdouble, GLdouble); |
| 4601 | #define CALL_EvalCoord2d(disp, parameters) \ |
| 4602 | (* GET_EvalCoord2d(disp)) parameters |
| 4603 | static INLINE _glptr_EvalCoord2d GET_EvalCoord2d(struct _glapi_table *disp) { |
| 4604 | return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d)); |
| 4605 | } |
| 4606 | |
| 4607 | static INLINE void SET_EvalCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4608 | SET_by_offset(disp, _gloffset_EvalCoord2d, fn); |
| 4609 | } |
| 4610 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4611 | typedef void (GLAPIENTRYP _glptr_EvalCoord2dv)(const GLdouble *); |
| 4612 | #define CALL_EvalCoord2dv(disp, parameters) \ |
| 4613 | (* GET_EvalCoord2dv(disp)) parameters |
| 4614 | static INLINE _glptr_EvalCoord2dv GET_EvalCoord2dv(struct _glapi_table *disp) { |
| 4615 | return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv)); |
| 4616 | } |
| 4617 | |
| 4618 | static INLINE void SET_EvalCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4619 | SET_by_offset(disp, _gloffset_EvalCoord2dv, fn); |
| 4620 | } |
| 4621 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4622 | typedef void (GLAPIENTRYP _glptr_EvalCoord2f)(GLfloat, GLfloat); |
| 4623 | #define CALL_EvalCoord2f(disp, parameters) \ |
| 4624 | (* GET_EvalCoord2f(disp)) parameters |
| 4625 | static INLINE _glptr_EvalCoord2f GET_EvalCoord2f(struct _glapi_table *disp) { |
| 4626 | return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f)); |
| 4627 | } |
| 4628 | |
| 4629 | static INLINE void SET_EvalCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4630 | SET_by_offset(disp, _gloffset_EvalCoord2f, fn); |
| 4631 | } |
| 4632 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4633 | typedef void (GLAPIENTRYP _glptr_EvalCoord2fv)(const GLfloat *); |
| 4634 | #define CALL_EvalCoord2fv(disp, parameters) \ |
| 4635 | (* GET_EvalCoord2fv(disp)) parameters |
| 4636 | static INLINE _glptr_EvalCoord2fv GET_EvalCoord2fv(struct _glapi_table *disp) { |
| 4637 | return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv)); |
| 4638 | } |
| 4639 | |
| 4640 | static INLINE void SET_EvalCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4641 | SET_by_offset(disp, _gloffset_EvalCoord2fv, fn); |
| 4642 | } |
| 4643 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4644 | typedef void (GLAPIENTRYP _glptr_EvalMesh1)(GLenum, GLint, GLint); |
| 4645 | #define CALL_EvalMesh1(disp, parameters) \ |
| 4646 | (* GET_EvalMesh1(disp)) parameters |
| 4647 | static INLINE _glptr_EvalMesh1 GET_EvalMesh1(struct _glapi_table *disp) { |
| 4648 | return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1)); |
| 4649 | } |
| 4650 | |
| 4651 | static INLINE void SET_EvalMesh1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4652 | SET_by_offset(disp, _gloffset_EvalMesh1, fn); |
| 4653 | } |
| 4654 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4655 | typedef void (GLAPIENTRYP _glptr_EvalPoint1)(GLint); |
| 4656 | #define CALL_EvalPoint1(disp, parameters) \ |
| 4657 | (* GET_EvalPoint1(disp)) parameters |
| 4658 | static INLINE _glptr_EvalPoint1 GET_EvalPoint1(struct _glapi_table *disp) { |
| 4659 | return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1)); |
| 4660 | } |
| 4661 | |
| 4662 | static INLINE void SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4663 | SET_by_offset(disp, _gloffset_EvalPoint1, fn); |
| 4664 | } |
| 4665 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4666 | typedef void (GLAPIENTRYP _glptr_EvalMesh2)(GLenum, GLint, GLint, GLint, GLint); |
| 4667 | #define CALL_EvalMesh2(disp, parameters) \ |
| 4668 | (* GET_EvalMesh2(disp)) parameters |
| 4669 | static INLINE _glptr_EvalMesh2 GET_EvalMesh2(struct _glapi_table *disp) { |
| 4670 | return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2)); |
| 4671 | } |
| 4672 | |
| 4673 | static INLINE void SET_EvalMesh2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4674 | SET_by_offset(disp, _gloffset_EvalMesh2, fn); |
| 4675 | } |
| 4676 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4677 | typedef void (GLAPIENTRYP _glptr_EvalPoint2)(GLint, GLint); |
| 4678 | #define CALL_EvalPoint2(disp, parameters) \ |
| 4679 | (* GET_EvalPoint2(disp)) parameters |
| 4680 | static INLINE _glptr_EvalPoint2 GET_EvalPoint2(struct _glapi_table *disp) { |
| 4681 | return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2)); |
| 4682 | } |
| 4683 | |
| 4684 | static INLINE void SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4685 | SET_by_offset(disp, _gloffset_EvalPoint2, fn); |
| 4686 | } |
| 4687 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4688 | typedef void (GLAPIENTRYP _glptr_AlphaFunc)(GLenum, GLclampf); |
| 4689 | #define CALL_AlphaFunc(disp, parameters) \ |
| 4690 | (* GET_AlphaFunc(disp)) parameters |
| 4691 | static INLINE _glptr_AlphaFunc GET_AlphaFunc(struct _glapi_table *disp) { |
| 4692 | return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc)); |
| 4693 | } |
| 4694 | |
| 4695 | static INLINE void SET_AlphaFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampf)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4696 | SET_by_offset(disp, _gloffset_AlphaFunc, fn); |
| 4697 | } |
| 4698 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4699 | typedef void (GLAPIENTRYP _glptr_BlendFunc)(GLenum, GLenum); |
| 4700 | #define CALL_BlendFunc(disp, parameters) \ |
| 4701 | (* GET_BlendFunc(disp)) parameters |
| 4702 | static INLINE _glptr_BlendFunc GET_BlendFunc(struct _glapi_table *disp) { |
| 4703 | return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc)); |
| 4704 | } |
| 4705 | |
| 4706 | static INLINE void SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4707 | SET_by_offset(disp, _gloffset_BlendFunc, fn); |
| 4708 | } |
| 4709 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4710 | typedef void (GLAPIENTRYP _glptr_LogicOp)(GLenum); |
| 4711 | #define CALL_LogicOp(disp, parameters) \ |
| 4712 | (* GET_LogicOp(disp)) parameters |
| 4713 | static INLINE _glptr_LogicOp GET_LogicOp(struct _glapi_table *disp) { |
| 4714 | return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp)); |
| 4715 | } |
| 4716 | |
| 4717 | static INLINE void SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4718 | SET_by_offset(disp, _gloffset_LogicOp, fn); |
| 4719 | } |
| 4720 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4721 | typedef void (GLAPIENTRYP _glptr_StencilFunc)(GLenum, GLint, GLuint); |
| 4722 | #define CALL_StencilFunc(disp, parameters) \ |
| 4723 | (* GET_StencilFunc(disp)) parameters |
| 4724 | static INLINE _glptr_StencilFunc GET_StencilFunc(struct _glapi_table *disp) { |
| 4725 | return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc)); |
| 4726 | } |
| 4727 | |
| 4728 | static INLINE void SET_StencilFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4729 | SET_by_offset(disp, _gloffset_StencilFunc, fn); |
| 4730 | } |
| 4731 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4732 | typedef void (GLAPIENTRYP _glptr_StencilOp)(GLenum, GLenum, GLenum); |
| 4733 | #define CALL_StencilOp(disp, parameters) \ |
| 4734 | (* GET_StencilOp(disp)) parameters |
| 4735 | static INLINE _glptr_StencilOp GET_StencilOp(struct _glapi_table *disp) { |
| 4736 | return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp)); |
| 4737 | } |
| 4738 | |
| 4739 | static INLINE void SET_StencilOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4740 | SET_by_offset(disp, _gloffset_StencilOp, fn); |
| 4741 | } |
| 4742 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4743 | typedef void (GLAPIENTRYP _glptr_DepthFunc)(GLenum); |
| 4744 | #define CALL_DepthFunc(disp, parameters) \ |
| 4745 | (* GET_DepthFunc(disp)) parameters |
| 4746 | static INLINE _glptr_DepthFunc GET_DepthFunc(struct _glapi_table *disp) { |
| 4747 | return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc)); |
| 4748 | } |
| 4749 | |
| 4750 | static INLINE void SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4751 | SET_by_offset(disp, _gloffset_DepthFunc, fn); |
| 4752 | } |
| 4753 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4754 | typedef void (GLAPIENTRYP _glptr_PixelZoom)(GLfloat, GLfloat); |
| 4755 | #define CALL_PixelZoom(disp, parameters) \ |
| 4756 | (* GET_PixelZoom(disp)) parameters |
| 4757 | static INLINE _glptr_PixelZoom GET_PixelZoom(struct _glapi_table *disp) { |
| 4758 | return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom)); |
| 4759 | } |
| 4760 | |
| 4761 | static INLINE void SET_PixelZoom(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4762 | SET_by_offset(disp, _gloffset_PixelZoom, fn); |
| 4763 | } |
| 4764 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4765 | typedef void (GLAPIENTRYP _glptr_PixelTransferf)(GLenum, GLfloat); |
| 4766 | #define CALL_PixelTransferf(disp, parameters) \ |
| 4767 | (* GET_PixelTransferf(disp)) parameters |
| 4768 | static INLINE _glptr_PixelTransferf GET_PixelTransferf(struct _glapi_table *disp) { |
| 4769 | return (_glptr_PixelTransferf) (GET_by_offset(disp, _gloffset_PixelTransferf)); |
| 4770 | } |
| 4771 | |
| 4772 | static INLINE void SET_PixelTransferf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4773 | SET_by_offset(disp, _gloffset_PixelTransferf, fn); |
| 4774 | } |
| 4775 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4776 | typedef void (GLAPIENTRYP _glptr_PixelTransferi)(GLenum, GLint); |
| 4777 | #define CALL_PixelTransferi(disp, parameters) \ |
| 4778 | (* GET_PixelTransferi(disp)) parameters |
| 4779 | static INLINE _glptr_PixelTransferi GET_PixelTransferi(struct _glapi_table *disp) { |
| 4780 | return (_glptr_PixelTransferi) (GET_by_offset(disp, _gloffset_PixelTransferi)); |
| 4781 | } |
| 4782 | |
| 4783 | static INLINE void SET_PixelTransferi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4784 | SET_by_offset(disp, _gloffset_PixelTransferi, fn); |
| 4785 | } |
| 4786 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4787 | typedef void (GLAPIENTRYP _glptr_PixelStoref)(GLenum, GLfloat); |
| 4788 | #define CALL_PixelStoref(disp, parameters) \ |
| 4789 | (* GET_PixelStoref(disp)) parameters |
| 4790 | static INLINE _glptr_PixelStoref GET_PixelStoref(struct _glapi_table *disp) { |
| 4791 | return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref)); |
| 4792 | } |
| 4793 | |
| 4794 | static INLINE void SET_PixelStoref(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4795 | SET_by_offset(disp, _gloffset_PixelStoref, fn); |
| 4796 | } |
| 4797 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4798 | typedef void (GLAPIENTRYP _glptr_PixelStorei)(GLenum, GLint); |
| 4799 | #define CALL_PixelStorei(disp, parameters) \ |
| 4800 | (* GET_PixelStorei(disp)) parameters |
| 4801 | static INLINE _glptr_PixelStorei GET_PixelStorei(struct _glapi_table *disp) { |
| 4802 | return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei)); |
| 4803 | } |
| 4804 | |
| 4805 | static INLINE void SET_PixelStorei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4806 | SET_by_offset(disp, _gloffset_PixelStorei, fn); |
| 4807 | } |
| 4808 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4809 | typedef void (GLAPIENTRYP _glptr_PixelMapfv)(GLenum, GLsizei, const GLfloat *); |
| 4810 | #define CALL_PixelMapfv(disp, parameters) \ |
| 4811 | (* GET_PixelMapfv(disp)) parameters |
| 4812 | static INLINE _glptr_PixelMapfv GET_PixelMapfv(struct _glapi_table *disp) { |
| 4813 | return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv)); |
| 4814 | } |
| 4815 | |
| 4816 | static INLINE void SET_PixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4817 | SET_by_offset(disp, _gloffset_PixelMapfv, fn); |
| 4818 | } |
| 4819 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4820 | typedef void (GLAPIENTRYP _glptr_PixelMapuiv)(GLenum, GLsizei, const GLuint *); |
| 4821 | #define CALL_PixelMapuiv(disp, parameters) \ |
| 4822 | (* GET_PixelMapuiv(disp)) parameters |
| 4823 | static INLINE _glptr_PixelMapuiv GET_PixelMapuiv(struct _glapi_table *disp) { |
| 4824 | return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv)); |
| 4825 | } |
| 4826 | |
| 4827 | static INLINE void SET_PixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4828 | SET_by_offset(disp, _gloffset_PixelMapuiv, fn); |
| 4829 | } |
| 4830 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4831 | typedef void (GLAPIENTRYP _glptr_PixelMapusv)(GLenum, GLsizei, const GLushort *); |
| 4832 | #define CALL_PixelMapusv(disp, parameters) \ |
| 4833 | (* GET_PixelMapusv(disp)) parameters |
| 4834 | static INLINE _glptr_PixelMapusv GET_PixelMapusv(struct _glapi_table *disp) { |
| 4835 | return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv)); |
| 4836 | } |
| 4837 | |
| 4838 | static INLINE void SET_PixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4839 | SET_by_offset(disp, _gloffset_PixelMapusv, fn); |
| 4840 | } |
| 4841 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4842 | typedef void (GLAPIENTRYP _glptr_ReadBuffer)(GLenum); |
| 4843 | #define CALL_ReadBuffer(disp, parameters) \ |
| 4844 | (* GET_ReadBuffer(disp)) parameters |
| 4845 | static INLINE _glptr_ReadBuffer GET_ReadBuffer(struct _glapi_table *disp) { |
| 4846 | return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer)); |
| 4847 | } |
| 4848 | |
| 4849 | static INLINE void SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4850 | SET_by_offset(disp, _gloffset_ReadBuffer, fn); |
| 4851 | } |
| 4852 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4853 | typedef void (GLAPIENTRYP _glptr_CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum); |
| 4854 | #define CALL_CopyPixels(disp, parameters) \ |
| 4855 | (* GET_CopyPixels(disp)) parameters |
| 4856 | static INLINE _glptr_CopyPixels GET_CopyPixels(struct _glapi_table *disp) { |
| 4857 | return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels)); |
| 4858 | } |
| 4859 | |
| 4860 | static INLINE void SET_CopyPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4861 | SET_by_offset(disp, _gloffset_CopyPixels, fn); |
| 4862 | } |
| 4863 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4864 | typedef void (GLAPIENTRYP _glptr_ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *); |
| 4865 | #define CALL_ReadPixels(disp, parameters) \ |
| 4866 | (* GET_ReadPixels(disp)) parameters |
| 4867 | static INLINE _glptr_ReadPixels GET_ReadPixels(struct _glapi_table *disp) { |
| 4868 | return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels)); |
| 4869 | } |
| 4870 | |
| 4871 | static INLINE void SET_ReadPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4872 | SET_by_offset(disp, _gloffset_ReadPixels, fn); |
| 4873 | } |
| 4874 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4875 | typedef void (GLAPIENTRYP _glptr_DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); |
| 4876 | #define CALL_DrawPixels(disp, parameters) \ |
| 4877 | (* GET_DrawPixels(disp)) parameters |
| 4878 | static INLINE _glptr_DrawPixels GET_DrawPixels(struct _glapi_table *disp) { |
| 4879 | return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels)); |
| 4880 | } |
| 4881 | |
| 4882 | static INLINE void SET_DrawPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4883 | SET_by_offset(disp, _gloffset_DrawPixels, fn); |
| 4884 | } |
| 4885 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4886 | typedef void (GLAPIENTRYP _glptr_GetBooleanv)(GLenum, GLboolean *); |
| 4887 | #define CALL_GetBooleanv(disp, parameters) \ |
| 4888 | (* GET_GetBooleanv(disp)) parameters |
| 4889 | static INLINE _glptr_GetBooleanv GET_GetBooleanv(struct _glapi_table *disp) { |
| 4890 | return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv)); |
| 4891 | } |
| 4892 | |
| 4893 | static INLINE void SET_GetBooleanv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4894 | SET_by_offset(disp, _gloffset_GetBooleanv, fn); |
| 4895 | } |
| 4896 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4897 | typedef void (GLAPIENTRYP _glptr_GetClipPlane)(GLenum, GLdouble *); |
| 4898 | #define CALL_GetClipPlane(disp, parameters) \ |
| 4899 | (* GET_GetClipPlane(disp)) parameters |
| 4900 | static INLINE _glptr_GetClipPlane GET_GetClipPlane(struct _glapi_table *disp) { |
| 4901 | return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane)); |
| 4902 | } |
| 4903 | |
| 4904 | static INLINE void SET_GetClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4905 | SET_by_offset(disp, _gloffset_GetClipPlane, fn); |
| 4906 | } |
| 4907 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4908 | typedef void (GLAPIENTRYP _glptr_GetDoublev)(GLenum, GLdouble *); |
| 4909 | #define CALL_GetDoublev(disp, parameters) \ |
| 4910 | (* GET_GetDoublev(disp)) parameters |
| 4911 | static INLINE _glptr_GetDoublev GET_GetDoublev(struct _glapi_table *disp) { |
| 4912 | return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev)); |
| 4913 | } |
| 4914 | |
| 4915 | static INLINE void SET_GetDoublev(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4916 | SET_by_offset(disp, _gloffset_GetDoublev, fn); |
| 4917 | } |
| 4918 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4919 | typedef GLenum (GLAPIENTRYP _glptr_GetError)(void); |
| 4920 | #define CALL_GetError(disp, parameters) \ |
| 4921 | (* GET_GetError(disp)) parameters |
| 4922 | static INLINE _glptr_GetError GET_GetError(struct _glapi_table *disp) { |
| 4923 | return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError)); |
| 4924 | } |
| 4925 | |
| 4926 | static INLINE void SET_GetError(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4927 | SET_by_offset(disp, _gloffset_GetError, fn); |
| 4928 | } |
| 4929 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4930 | typedef void (GLAPIENTRYP _glptr_GetFloatv)(GLenum, GLfloat *); |
| 4931 | #define CALL_GetFloatv(disp, parameters) \ |
| 4932 | (* GET_GetFloatv(disp)) parameters |
| 4933 | static INLINE _glptr_GetFloatv GET_GetFloatv(struct _glapi_table *disp) { |
| 4934 | return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv)); |
| 4935 | } |
| 4936 | |
| 4937 | static INLINE void SET_GetFloatv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4938 | SET_by_offset(disp, _gloffset_GetFloatv, fn); |
| 4939 | } |
| 4940 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4941 | typedef void (GLAPIENTRYP _glptr_GetIntegerv)(GLenum, GLint *); |
| 4942 | #define CALL_GetIntegerv(disp, parameters) \ |
| 4943 | (* GET_GetIntegerv(disp)) parameters |
| 4944 | static INLINE _glptr_GetIntegerv GET_GetIntegerv(struct _glapi_table *disp) { |
| 4945 | return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv)); |
| 4946 | } |
| 4947 | |
| 4948 | static INLINE void SET_GetIntegerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4949 | SET_by_offset(disp, _gloffset_GetIntegerv, fn); |
| 4950 | } |
| 4951 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4952 | typedef void (GLAPIENTRYP _glptr_GetLightfv)(GLenum, GLenum, GLfloat *); |
| 4953 | #define CALL_GetLightfv(disp, parameters) \ |
| 4954 | (* GET_GetLightfv(disp)) parameters |
| 4955 | static INLINE _glptr_GetLightfv GET_GetLightfv(struct _glapi_table *disp) { |
| 4956 | return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv)); |
| 4957 | } |
| 4958 | |
| 4959 | static INLINE void SET_GetLightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4960 | SET_by_offset(disp, _gloffset_GetLightfv, fn); |
| 4961 | } |
| 4962 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4963 | typedef void (GLAPIENTRYP _glptr_GetLightiv)(GLenum, GLenum, GLint *); |
| 4964 | #define CALL_GetLightiv(disp, parameters) \ |
| 4965 | (* GET_GetLightiv(disp)) parameters |
| 4966 | static INLINE _glptr_GetLightiv GET_GetLightiv(struct _glapi_table *disp) { |
| 4967 | return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv)); |
| 4968 | } |
| 4969 | |
| 4970 | static INLINE void SET_GetLightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4971 | SET_by_offset(disp, _gloffset_GetLightiv, fn); |
| 4972 | } |
| 4973 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4974 | typedef void (GLAPIENTRYP _glptr_GetMapdv)(GLenum, GLenum, GLdouble *); |
| 4975 | #define CALL_GetMapdv(disp, parameters) \ |
| 4976 | (* GET_GetMapdv(disp)) parameters |
| 4977 | static INLINE _glptr_GetMapdv GET_GetMapdv(struct _glapi_table *disp) { |
| 4978 | return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv)); |
| 4979 | } |
| 4980 | |
| 4981 | static INLINE void SET_GetMapdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4982 | SET_by_offset(disp, _gloffset_GetMapdv, fn); |
| 4983 | } |
| 4984 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4985 | typedef void (GLAPIENTRYP _glptr_GetMapfv)(GLenum, GLenum, GLfloat *); |
| 4986 | #define CALL_GetMapfv(disp, parameters) \ |
| 4987 | (* GET_GetMapfv(disp)) parameters |
| 4988 | static INLINE _glptr_GetMapfv GET_GetMapfv(struct _glapi_table *disp) { |
| 4989 | return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv)); |
| 4990 | } |
| 4991 | |
| 4992 | static INLINE void SET_GetMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 4993 | SET_by_offset(disp, _gloffset_GetMapfv, fn); |
| 4994 | } |
| 4995 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 4996 | typedef void (GLAPIENTRYP _glptr_GetMapiv)(GLenum, GLenum, GLint *); |
| 4997 | #define CALL_GetMapiv(disp, parameters) \ |
| 4998 | (* GET_GetMapiv(disp)) parameters |
| 4999 | static INLINE _glptr_GetMapiv GET_GetMapiv(struct _glapi_table *disp) { |
| 5000 | return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv)); |
| 5001 | } |
| 5002 | |
| 5003 | static INLINE void SET_GetMapiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5004 | SET_by_offset(disp, _gloffset_GetMapiv, fn); |
| 5005 | } |
| 5006 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5007 | typedef void (GLAPIENTRYP _glptr_GetMaterialfv)(GLenum, GLenum, GLfloat *); |
| 5008 | #define CALL_GetMaterialfv(disp, parameters) \ |
| 5009 | (* GET_GetMaterialfv(disp)) parameters |
| 5010 | static INLINE _glptr_GetMaterialfv GET_GetMaterialfv(struct _glapi_table *disp) { |
| 5011 | return (_glptr_GetMaterialfv) (GET_by_offset(disp, _gloffset_GetMaterialfv)); |
| 5012 | } |
| 5013 | |
| 5014 | static INLINE void SET_GetMaterialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5015 | SET_by_offset(disp, _gloffset_GetMaterialfv, fn); |
| 5016 | } |
| 5017 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5018 | typedef void (GLAPIENTRYP _glptr_GetMaterialiv)(GLenum, GLenum, GLint *); |
| 5019 | #define CALL_GetMaterialiv(disp, parameters) \ |
| 5020 | (* GET_GetMaterialiv(disp)) parameters |
| 5021 | static INLINE _glptr_GetMaterialiv GET_GetMaterialiv(struct _glapi_table *disp) { |
| 5022 | return (_glptr_GetMaterialiv) (GET_by_offset(disp, _gloffset_GetMaterialiv)); |
| 5023 | } |
| 5024 | |
| 5025 | static INLINE void SET_GetMaterialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5026 | SET_by_offset(disp, _gloffset_GetMaterialiv, fn); |
| 5027 | } |
| 5028 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5029 | typedef void (GLAPIENTRYP _glptr_GetPixelMapfv)(GLenum, GLfloat *); |
| 5030 | #define CALL_GetPixelMapfv(disp, parameters) \ |
| 5031 | (* GET_GetPixelMapfv(disp)) parameters |
| 5032 | static INLINE _glptr_GetPixelMapfv GET_GetPixelMapfv(struct _glapi_table *disp) { |
| 5033 | return (_glptr_GetPixelMapfv) (GET_by_offset(disp, _gloffset_GetPixelMapfv)); |
| 5034 | } |
| 5035 | |
| 5036 | static INLINE void SET_GetPixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5037 | SET_by_offset(disp, _gloffset_GetPixelMapfv, fn); |
| 5038 | } |
| 5039 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5040 | typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv)(GLenum, GLuint *); |
| 5041 | #define CALL_GetPixelMapuiv(disp, parameters) \ |
| 5042 | (* GET_GetPixelMapuiv(disp)) parameters |
| 5043 | static INLINE _glptr_GetPixelMapuiv GET_GetPixelMapuiv(struct _glapi_table *disp) { |
| 5044 | return (_glptr_GetPixelMapuiv) (GET_by_offset(disp, _gloffset_GetPixelMapuiv)); |
| 5045 | } |
| 5046 | |
| 5047 | static INLINE void SET_GetPixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5048 | SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn); |
| 5049 | } |
| 5050 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5051 | typedef void (GLAPIENTRYP _glptr_GetPixelMapusv)(GLenum, GLushort *); |
| 5052 | #define CALL_GetPixelMapusv(disp, parameters) \ |
| 5053 | (* GET_GetPixelMapusv(disp)) parameters |
| 5054 | static INLINE _glptr_GetPixelMapusv GET_GetPixelMapusv(struct _glapi_table *disp) { |
| 5055 | return (_glptr_GetPixelMapusv) (GET_by_offset(disp, _gloffset_GetPixelMapusv)); |
| 5056 | } |
| 5057 | |
| 5058 | static INLINE void SET_GetPixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5059 | SET_by_offset(disp, _gloffset_GetPixelMapusv, fn); |
| 5060 | } |
| 5061 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5062 | typedef void (GLAPIENTRYP _glptr_GetPolygonStipple)(GLubyte *); |
| 5063 | #define CALL_GetPolygonStipple(disp, parameters) \ |
| 5064 | (* GET_GetPolygonStipple(disp)) parameters |
| 5065 | static INLINE _glptr_GetPolygonStipple GET_GetPolygonStipple(struct _glapi_table *disp) { |
| 5066 | return (_glptr_GetPolygonStipple) (GET_by_offset(disp, _gloffset_GetPolygonStipple)); |
| 5067 | } |
| 5068 | |
| 5069 | static INLINE void SET_GetPolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5070 | SET_by_offset(disp, _gloffset_GetPolygonStipple, fn); |
| 5071 | } |
| 5072 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5073 | typedef const GLubyte * (GLAPIENTRYP _glptr_GetString)(GLenum); |
| 5074 | #define CALL_GetString(disp, parameters) \ |
| 5075 | (* GET_GetString(disp)) parameters |
| 5076 | static INLINE _glptr_GetString GET_GetString(struct _glapi_table *disp) { |
| 5077 | return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString)); |
| 5078 | } |
| 5079 | |
| 5080 | static INLINE void SET_GetString(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5081 | SET_by_offset(disp, _gloffset_GetString, fn); |
| 5082 | } |
| 5083 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5084 | typedef void (GLAPIENTRYP _glptr_GetTexEnvfv)(GLenum, GLenum, GLfloat *); |
| 5085 | #define CALL_GetTexEnvfv(disp, parameters) \ |
| 5086 | (* GET_GetTexEnvfv(disp)) parameters |
| 5087 | static INLINE _glptr_GetTexEnvfv GET_GetTexEnvfv(struct _glapi_table *disp) { |
| 5088 | return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv)); |
| 5089 | } |
| 5090 | |
| 5091 | static INLINE void SET_GetTexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5092 | SET_by_offset(disp, _gloffset_GetTexEnvfv, fn); |
| 5093 | } |
| 5094 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5095 | typedef void (GLAPIENTRYP _glptr_GetTexEnviv)(GLenum, GLenum, GLint *); |
| 5096 | #define CALL_GetTexEnviv(disp, parameters) \ |
| 5097 | (* GET_GetTexEnviv(disp)) parameters |
| 5098 | static INLINE _glptr_GetTexEnviv GET_GetTexEnviv(struct _glapi_table *disp) { |
| 5099 | return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv)); |
| 5100 | } |
| 5101 | |
| 5102 | static INLINE void SET_GetTexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5103 | SET_by_offset(disp, _gloffset_GetTexEnviv, fn); |
| 5104 | } |
| 5105 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5106 | typedef void (GLAPIENTRYP _glptr_GetTexGendv)(GLenum, GLenum, GLdouble *); |
| 5107 | #define CALL_GetTexGendv(disp, parameters) \ |
| 5108 | (* GET_GetTexGendv(disp)) parameters |
| 5109 | static INLINE _glptr_GetTexGendv GET_GetTexGendv(struct _glapi_table *disp) { |
| 5110 | return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv)); |
| 5111 | } |
| 5112 | |
| 5113 | static INLINE void SET_GetTexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5114 | SET_by_offset(disp, _gloffset_GetTexGendv, fn); |
| 5115 | } |
| 5116 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5117 | typedef void (GLAPIENTRYP _glptr_GetTexGenfv)(GLenum, GLenum, GLfloat *); |
| 5118 | #define CALL_GetTexGenfv(disp, parameters) \ |
| 5119 | (* GET_GetTexGenfv(disp)) parameters |
| 5120 | static INLINE _glptr_GetTexGenfv GET_GetTexGenfv(struct _glapi_table *disp) { |
| 5121 | return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv)); |
| 5122 | } |
| 5123 | |
| 5124 | static INLINE void SET_GetTexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5125 | SET_by_offset(disp, _gloffset_GetTexGenfv, fn); |
| 5126 | } |
| 5127 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5128 | typedef void (GLAPIENTRYP _glptr_GetTexGeniv)(GLenum, GLenum, GLint *); |
| 5129 | #define CALL_GetTexGeniv(disp, parameters) \ |
| 5130 | (* GET_GetTexGeniv(disp)) parameters |
| 5131 | static INLINE _glptr_GetTexGeniv GET_GetTexGeniv(struct _glapi_table *disp) { |
| 5132 | return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv)); |
| 5133 | } |
| 5134 | |
| 5135 | static INLINE void SET_GetTexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5136 | SET_by_offset(disp, _gloffset_GetTexGeniv, fn); |
| 5137 | } |
| 5138 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5139 | typedef void (GLAPIENTRYP _glptr_GetTexImage)(GLenum, GLint, GLenum, GLenum, GLvoid *); |
| 5140 | #define CALL_GetTexImage(disp, parameters) \ |
| 5141 | (* GET_GetTexImage(disp)) parameters |
| 5142 | static INLINE _glptr_GetTexImage GET_GetTexImage(struct _glapi_table *disp) { |
| 5143 | return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage)); |
| 5144 | } |
| 5145 | |
| 5146 | static INLINE void SET_GetTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5147 | SET_by_offset(disp, _gloffset_GetTexImage, fn); |
| 5148 | } |
| 5149 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5150 | typedef void (GLAPIENTRYP _glptr_GetTexParameterfv)(GLenum, GLenum, GLfloat *); |
| 5151 | #define CALL_GetTexParameterfv(disp, parameters) \ |
| 5152 | (* GET_GetTexParameterfv(disp)) parameters |
| 5153 | static INLINE _glptr_GetTexParameterfv GET_GetTexParameterfv(struct _glapi_table *disp) { |
| 5154 | return (_glptr_GetTexParameterfv) (GET_by_offset(disp, _gloffset_GetTexParameterfv)); |
| 5155 | } |
| 5156 | |
| 5157 | static INLINE void SET_GetTexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5158 | SET_by_offset(disp, _gloffset_GetTexParameterfv, fn); |
| 5159 | } |
| 5160 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5161 | typedef void (GLAPIENTRYP _glptr_GetTexParameteriv)(GLenum, GLenum, GLint *); |
| 5162 | #define CALL_GetTexParameteriv(disp, parameters) \ |
| 5163 | (* GET_GetTexParameteriv(disp)) parameters |
| 5164 | static INLINE _glptr_GetTexParameteriv GET_GetTexParameteriv(struct _glapi_table *disp) { |
| 5165 | return (_glptr_GetTexParameteriv) (GET_by_offset(disp, _gloffset_GetTexParameteriv)); |
| 5166 | } |
| 5167 | |
| 5168 | static INLINE void SET_GetTexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5169 | SET_by_offset(disp, _gloffset_GetTexParameteriv, fn); |
| 5170 | } |
| 5171 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5172 | typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *); |
| 5173 | #define CALL_GetTexLevelParameterfv(disp, parameters) \ |
| 5174 | (* GET_GetTexLevelParameterfv(disp)) parameters |
| 5175 | static INLINE _glptr_GetTexLevelParameterfv GET_GetTexLevelParameterfv(struct _glapi_table *disp) { |
| 5176 | return (_glptr_GetTexLevelParameterfv) (GET_by_offset(disp, _gloffset_GetTexLevelParameterfv)); |
| 5177 | } |
| 5178 | |
| 5179 | static INLINE void SET_GetTexLevelParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5180 | SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn); |
| 5181 | } |
| 5182 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5183 | typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *); |
| 5184 | #define CALL_GetTexLevelParameteriv(disp, parameters) \ |
| 5185 | (* GET_GetTexLevelParameteriv(disp)) parameters |
| 5186 | static INLINE _glptr_GetTexLevelParameteriv GET_GetTexLevelParameteriv(struct _glapi_table *disp) { |
| 5187 | return (_glptr_GetTexLevelParameteriv) (GET_by_offset(disp, _gloffset_GetTexLevelParameteriv)); |
| 5188 | } |
| 5189 | |
| 5190 | static INLINE void SET_GetTexLevelParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5191 | SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn); |
| 5192 | } |
| 5193 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5194 | typedef GLboolean (GLAPIENTRYP _glptr_IsEnabled)(GLenum); |
| 5195 | #define CALL_IsEnabled(disp, parameters) \ |
| 5196 | (* GET_IsEnabled(disp)) parameters |
| 5197 | static INLINE _glptr_IsEnabled GET_IsEnabled(struct _glapi_table *disp) { |
| 5198 | return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled)); |
| 5199 | } |
| 5200 | |
| 5201 | static INLINE void SET_IsEnabled(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5202 | SET_by_offset(disp, _gloffset_IsEnabled, fn); |
| 5203 | } |
| 5204 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5205 | typedef GLboolean (GLAPIENTRYP _glptr_IsList)(GLuint); |
| 5206 | #define CALL_IsList(disp, parameters) \ |
| 5207 | (* GET_IsList(disp)) parameters |
| 5208 | static INLINE _glptr_IsList GET_IsList(struct _glapi_table *disp) { |
| 5209 | return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList)); |
| 5210 | } |
| 5211 | |
| 5212 | static INLINE void SET_IsList(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5213 | SET_by_offset(disp, _gloffset_IsList, fn); |
| 5214 | } |
| 5215 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5216 | typedef void (GLAPIENTRYP _glptr_DepthRange)(GLclampd, GLclampd); |
| 5217 | #define CALL_DepthRange(disp, parameters) \ |
| 5218 | (* GET_DepthRange(disp)) parameters |
| 5219 | static INLINE _glptr_DepthRange GET_DepthRange(struct _glapi_table *disp) { |
| 5220 | return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange)); |
| 5221 | } |
| 5222 | |
| 5223 | static INLINE void SET_DepthRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5224 | SET_by_offset(disp, _gloffset_DepthRange, fn); |
| 5225 | } |
| 5226 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5227 | typedef void (GLAPIENTRYP _glptr_Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); |
| 5228 | #define CALL_Frustum(disp, parameters) \ |
| 5229 | (* GET_Frustum(disp)) parameters |
| 5230 | static INLINE _glptr_Frustum GET_Frustum(struct _glapi_table *disp) { |
| 5231 | return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum)); |
| 5232 | } |
| 5233 | |
| 5234 | static INLINE void SET_Frustum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5235 | SET_by_offset(disp, _gloffset_Frustum, fn); |
| 5236 | } |
| 5237 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5238 | typedef void (GLAPIENTRYP _glptr_LoadIdentity)(void); |
| 5239 | #define CALL_LoadIdentity(disp, parameters) \ |
| 5240 | (* GET_LoadIdentity(disp)) parameters |
| 5241 | static INLINE _glptr_LoadIdentity GET_LoadIdentity(struct _glapi_table *disp) { |
| 5242 | return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity)); |
| 5243 | } |
| 5244 | |
| 5245 | static INLINE void SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5246 | SET_by_offset(disp, _gloffset_LoadIdentity, fn); |
| 5247 | } |
| 5248 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5249 | typedef void (GLAPIENTRYP _glptr_LoadMatrixf)(const GLfloat *); |
| 5250 | #define CALL_LoadMatrixf(disp, parameters) \ |
| 5251 | (* GET_LoadMatrixf(disp)) parameters |
| 5252 | static INLINE _glptr_LoadMatrixf GET_LoadMatrixf(struct _glapi_table *disp) { |
| 5253 | return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf)); |
| 5254 | } |
| 5255 | |
| 5256 | static INLINE void SET_LoadMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5257 | SET_by_offset(disp, _gloffset_LoadMatrixf, fn); |
| 5258 | } |
| 5259 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5260 | typedef void (GLAPIENTRYP _glptr_LoadMatrixd)(const GLdouble *); |
| 5261 | #define CALL_LoadMatrixd(disp, parameters) \ |
| 5262 | (* GET_LoadMatrixd(disp)) parameters |
| 5263 | static INLINE _glptr_LoadMatrixd GET_LoadMatrixd(struct _glapi_table *disp) { |
| 5264 | return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd)); |
| 5265 | } |
| 5266 | |
| 5267 | static INLINE void SET_LoadMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5268 | SET_by_offset(disp, _gloffset_LoadMatrixd, fn); |
| 5269 | } |
| 5270 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5271 | typedef void (GLAPIENTRYP _glptr_MatrixMode)(GLenum); |
| 5272 | #define CALL_MatrixMode(disp, parameters) \ |
| 5273 | (* GET_MatrixMode(disp)) parameters |
| 5274 | static INLINE _glptr_MatrixMode GET_MatrixMode(struct _glapi_table *disp) { |
| 5275 | return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode)); |
| 5276 | } |
| 5277 | |
| 5278 | static INLINE void SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5279 | SET_by_offset(disp, _gloffset_MatrixMode, fn); |
| 5280 | } |
| 5281 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5282 | typedef void (GLAPIENTRYP _glptr_MultMatrixf)(const GLfloat *); |
| 5283 | #define CALL_MultMatrixf(disp, parameters) \ |
| 5284 | (* GET_MultMatrixf(disp)) parameters |
| 5285 | static INLINE _glptr_MultMatrixf GET_MultMatrixf(struct _glapi_table *disp) { |
| 5286 | return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf)); |
| 5287 | } |
| 5288 | |
| 5289 | static INLINE void SET_MultMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5290 | SET_by_offset(disp, _gloffset_MultMatrixf, fn); |
| 5291 | } |
| 5292 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5293 | typedef void (GLAPIENTRYP _glptr_MultMatrixd)(const GLdouble *); |
| 5294 | #define CALL_MultMatrixd(disp, parameters) \ |
| 5295 | (* GET_MultMatrixd(disp)) parameters |
| 5296 | static INLINE _glptr_MultMatrixd GET_MultMatrixd(struct _glapi_table *disp) { |
| 5297 | return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd)); |
| 5298 | } |
| 5299 | |
| 5300 | static INLINE void SET_MultMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5301 | SET_by_offset(disp, _gloffset_MultMatrixd, fn); |
| 5302 | } |
| 5303 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5304 | typedef void (GLAPIENTRYP _glptr_Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); |
| 5305 | #define CALL_Ortho(disp, parameters) \ |
| 5306 | (* GET_Ortho(disp)) parameters |
| 5307 | static INLINE _glptr_Ortho GET_Ortho(struct _glapi_table *disp) { |
| 5308 | return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho)); |
| 5309 | } |
| 5310 | |
| 5311 | static INLINE void SET_Ortho(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5312 | SET_by_offset(disp, _gloffset_Ortho, fn); |
| 5313 | } |
| 5314 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5315 | typedef void (GLAPIENTRYP _glptr_PopMatrix)(void); |
| 5316 | #define CALL_PopMatrix(disp, parameters) \ |
| 5317 | (* GET_PopMatrix(disp)) parameters |
| 5318 | static INLINE _glptr_PopMatrix GET_PopMatrix(struct _glapi_table *disp) { |
| 5319 | return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix)); |
| 5320 | } |
| 5321 | |
| 5322 | static INLINE void SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5323 | SET_by_offset(disp, _gloffset_PopMatrix, fn); |
| 5324 | } |
| 5325 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5326 | typedef void (GLAPIENTRYP _glptr_PushMatrix)(void); |
| 5327 | #define CALL_PushMatrix(disp, parameters) \ |
| 5328 | (* GET_PushMatrix(disp)) parameters |
| 5329 | static INLINE _glptr_PushMatrix GET_PushMatrix(struct _glapi_table *disp) { |
| 5330 | return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix)); |
| 5331 | } |
| 5332 | |
| 5333 | static INLINE void SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5334 | SET_by_offset(disp, _gloffset_PushMatrix, fn); |
| 5335 | } |
| 5336 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5337 | typedef void (GLAPIENTRYP _glptr_Rotated)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 5338 | #define CALL_Rotated(disp, parameters) \ |
| 5339 | (* GET_Rotated(disp)) parameters |
| 5340 | static INLINE _glptr_Rotated GET_Rotated(struct _glapi_table *disp) { |
| 5341 | return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated)); |
| 5342 | } |
| 5343 | |
| 5344 | static INLINE void SET_Rotated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5345 | SET_by_offset(disp, _gloffset_Rotated, fn); |
| 5346 | } |
| 5347 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5348 | typedef void (GLAPIENTRYP _glptr_Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 5349 | #define CALL_Rotatef(disp, parameters) \ |
| 5350 | (* GET_Rotatef(disp)) parameters |
| 5351 | static INLINE _glptr_Rotatef GET_Rotatef(struct _glapi_table *disp) { |
| 5352 | return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef)); |
| 5353 | } |
| 5354 | |
| 5355 | static INLINE void SET_Rotatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5356 | SET_by_offset(disp, _gloffset_Rotatef, fn); |
| 5357 | } |
| 5358 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5359 | typedef void (GLAPIENTRYP _glptr_Scaled)(GLdouble, GLdouble, GLdouble); |
| 5360 | #define CALL_Scaled(disp, parameters) \ |
| 5361 | (* GET_Scaled(disp)) parameters |
| 5362 | static INLINE _glptr_Scaled GET_Scaled(struct _glapi_table *disp) { |
| 5363 | return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled)); |
| 5364 | } |
| 5365 | |
| 5366 | static INLINE void SET_Scaled(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5367 | SET_by_offset(disp, _gloffset_Scaled, fn); |
| 5368 | } |
| 5369 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5370 | typedef void (GLAPIENTRYP _glptr_Scalef)(GLfloat, GLfloat, GLfloat); |
| 5371 | #define CALL_Scalef(disp, parameters) \ |
| 5372 | (* GET_Scalef(disp)) parameters |
| 5373 | static INLINE _glptr_Scalef GET_Scalef(struct _glapi_table *disp) { |
| 5374 | return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef)); |
| 5375 | } |
| 5376 | |
| 5377 | static INLINE void SET_Scalef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5378 | SET_by_offset(disp, _gloffset_Scalef, fn); |
| 5379 | } |
| 5380 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5381 | typedef void (GLAPIENTRYP _glptr_Translated)(GLdouble, GLdouble, GLdouble); |
| 5382 | #define CALL_Translated(disp, parameters) \ |
| 5383 | (* GET_Translated(disp)) parameters |
| 5384 | static INLINE _glptr_Translated GET_Translated(struct _glapi_table *disp) { |
| 5385 | return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated)); |
| 5386 | } |
| 5387 | |
| 5388 | static INLINE void SET_Translated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5389 | SET_by_offset(disp, _gloffset_Translated, fn); |
| 5390 | } |
| 5391 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5392 | typedef void (GLAPIENTRYP _glptr_Translatef)(GLfloat, GLfloat, GLfloat); |
| 5393 | #define CALL_Translatef(disp, parameters) \ |
| 5394 | (* GET_Translatef(disp)) parameters |
| 5395 | static INLINE _glptr_Translatef GET_Translatef(struct _glapi_table *disp) { |
| 5396 | return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef)); |
| 5397 | } |
| 5398 | |
| 5399 | static INLINE void SET_Translatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5400 | SET_by_offset(disp, _gloffset_Translatef, fn); |
| 5401 | } |
| 5402 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5403 | typedef void (GLAPIENTRYP _glptr_Viewport)(GLint, GLint, GLsizei, GLsizei); |
| 5404 | #define CALL_Viewport(disp, parameters) \ |
| 5405 | (* GET_Viewport(disp)) parameters |
| 5406 | static INLINE _glptr_Viewport GET_Viewport(struct _glapi_table *disp) { |
| 5407 | return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport)); |
| 5408 | } |
| 5409 | |
| 5410 | static INLINE void SET_Viewport(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5411 | SET_by_offset(disp, _gloffset_Viewport, fn); |
| 5412 | } |
| 5413 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5414 | typedef void (GLAPIENTRYP _glptr_ArrayElement)(GLint); |
| 5415 | #define CALL_ArrayElement(disp, parameters) \ |
| 5416 | (* GET_ArrayElement(disp)) parameters |
| 5417 | static INLINE _glptr_ArrayElement GET_ArrayElement(struct _glapi_table *disp) { |
| 5418 | return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement)); |
| 5419 | } |
| 5420 | |
| 5421 | static INLINE void SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5422 | SET_by_offset(disp, _gloffset_ArrayElement, fn); |
| 5423 | } |
| 5424 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5425 | typedef void (GLAPIENTRYP _glptr_BindTexture)(GLenum, GLuint); |
| 5426 | #define CALL_BindTexture(disp, parameters) \ |
| 5427 | (* GET_BindTexture(disp)) parameters |
| 5428 | static INLINE _glptr_BindTexture GET_BindTexture(struct _glapi_table *disp) { |
| 5429 | return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture)); |
| 5430 | } |
| 5431 | |
| 5432 | static INLINE void SET_BindTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5433 | SET_by_offset(disp, _gloffset_BindTexture, fn); |
| 5434 | } |
| 5435 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5436 | typedef void (GLAPIENTRYP _glptr_ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *); |
| 5437 | #define CALL_ColorPointer(disp, parameters) \ |
| 5438 | (* GET_ColorPointer(disp)) parameters |
| 5439 | static INLINE _glptr_ColorPointer GET_ColorPointer(struct _glapi_table *disp) { |
| 5440 | return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer)); |
| 5441 | } |
| 5442 | |
| 5443 | static INLINE void SET_ColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5444 | SET_by_offset(disp, _gloffset_ColorPointer, fn); |
| 5445 | } |
| 5446 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5447 | typedef void (GLAPIENTRYP _glptr_DisableClientState)(GLenum); |
| 5448 | #define CALL_DisableClientState(disp, parameters) \ |
| 5449 | (* GET_DisableClientState(disp)) parameters |
| 5450 | static INLINE _glptr_DisableClientState GET_DisableClientState(struct _glapi_table *disp) { |
| 5451 | return (_glptr_DisableClientState) (GET_by_offset(disp, _gloffset_DisableClientState)); |
| 5452 | } |
| 5453 | |
| 5454 | static INLINE void SET_DisableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5455 | SET_by_offset(disp, _gloffset_DisableClientState, fn); |
| 5456 | } |
| 5457 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5458 | typedef void (GLAPIENTRYP _glptr_DrawArrays)(GLenum, GLint, GLsizei); |
| 5459 | #define CALL_DrawArrays(disp, parameters) \ |
| 5460 | (* GET_DrawArrays(disp)) parameters |
| 5461 | static INLINE _glptr_DrawArrays GET_DrawArrays(struct _glapi_table *disp) { |
| 5462 | return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays)); |
| 5463 | } |
| 5464 | |
| 5465 | static INLINE void SET_DrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5466 | SET_by_offset(disp, _gloffset_DrawArrays, fn); |
| 5467 | } |
| 5468 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5469 | typedef void (GLAPIENTRYP _glptr_DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *); |
| 5470 | #define CALL_DrawElements(disp, parameters) \ |
| 5471 | (* GET_DrawElements(disp)) parameters |
| 5472 | static INLINE _glptr_DrawElements GET_DrawElements(struct _glapi_table *disp) { |
| 5473 | return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements)); |
| 5474 | } |
| 5475 | |
| 5476 | static INLINE void SET_DrawElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5477 | SET_by_offset(disp, _gloffset_DrawElements, fn); |
| 5478 | } |
| 5479 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5480 | typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer)(GLsizei, const GLvoid *); |
| 5481 | #define CALL_EdgeFlagPointer(disp, parameters) \ |
| 5482 | (* GET_EdgeFlagPointer(disp)) parameters |
| 5483 | static INLINE _glptr_EdgeFlagPointer GET_EdgeFlagPointer(struct _glapi_table *disp) { |
| 5484 | return (_glptr_EdgeFlagPointer) (GET_by_offset(disp, _gloffset_EdgeFlagPointer)); |
| 5485 | } |
| 5486 | |
| 5487 | static INLINE void SET_EdgeFlagPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5488 | SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn); |
| 5489 | } |
| 5490 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5491 | typedef void (GLAPIENTRYP _glptr_EnableClientState)(GLenum); |
| 5492 | #define CALL_EnableClientState(disp, parameters) \ |
| 5493 | (* GET_EnableClientState(disp)) parameters |
| 5494 | static INLINE _glptr_EnableClientState GET_EnableClientState(struct _glapi_table *disp) { |
| 5495 | return (_glptr_EnableClientState) (GET_by_offset(disp, _gloffset_EnableClientState)); |
| 5496 | } |
| 5497 | |
| 5498 | static INLINE void SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5499 | SET_by_offset(disp, _gloffset_EnableClientState, fn); |
| 5500 | } |
| 5501 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5502 | typedef void (GLAPIENTRYP _glptr_IndexPointer)(GLenum, GLsizei, const GLvoid *); |
| 5503 | #define CALL_IndexPointer(disp, parameters) \ |
| 5504 | (* GET_IndexPointer(disp)) parameters |
| 5505 | static INLINE _glptr_IndexPointer GET_IndexPointer(struct _glapi_table *disp) { |
| 5506 | return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer)); |
| 5507 | } |
| 5508 | |
| 5509 | static INLINE void SET_IndexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5510 | SET_by_offset(disp, _gloffset_IndexPointer, fn); |
| 5511 | } |
| 5512 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5513 | typedef void (GLAPIENTRYP _glptr_Indexub)(GLubyte); |
| 5514 | #define CALL_Indexub(disp, parameters) \ |
| 5515 | (* GET_Indexub(disp)) parameters |
| 5516 | static INLINE _glptr_Indexub GET_Indexub(struct _glapi_table *disp) { |
| 5517 | return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub)); |
| 5518 | } |
| 5519 | |
| 5520 | static INLINE void SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5521 | SET_by_offset(disp, _gloffset_Indexub, fn); |
| 5522 | } |
| 5523 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5524 | typedef void (GLAPIENTRYP _glptr_Indexubv)(const GLubyte *); |
| 5525 | #define CALL_Indexubv(disp, parameters) \ |
| 5526 | (* GET_Indexubv(disp)) parameters |
| 5527 | static INLINE _glptr_Indexubv GET_Indexubv(struct _glapi_table *disp) { |
| 5528 | return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv)); |
| 5529 | } |
| 5530 | |
| 5531 | static INLINE void SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5532 | SET_by_offset(disp, _gloffset_Indexubv, fn); |
| 5533 | } |
| 5534 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5535 | typedef void (GLAPIENTRYP _glptr_InterleavedArrays)(GLenum, GLsizei, const GLvoid *); |
| 5536 | #define CALL_InterleavedArrays(disp, parameters) \ |
| 5537 | (* GET_InterleavedArrays(disp)) parameters |
| 5538 | static INLINE _glptr_InterleavedArrays GET_InterleavedArrays(struct _glapi_table *disp) { |
| 5539 | return (_glptr_InterleavedArrays) (GET_by_offset(disp, _gloffset_InterleavedArrays)); |
| 5540 | } |
| 5541 | |
| 5542 | static INLINE void SET_InterleavedArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5543 | SET_by_offset(disp, _gloffset_InterleavedArrays, fn); |
| 5544 | } |
| 5545 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5546 | typedef void (GLAPIENTRYP _glptr_NormalPointer)(GLenum, GLsizei, const GLvoid *); |
| 5547 | #define CALL_NormalPointer(disp, parameters) \ |
| 5548 | (* GET_NormalPointer(disp)) parameters |
| 5549 | static INLINE _glptr_NormalPointer GET_NormalPointer(struct _glapi_table *disp) { |
| 5550 | return (_glptr_NormalPointer) (GET_by_offset(disp, _gloffset_NormalPointer)); |
| 5551 | } |
| 5552 | |
| 5553 | static INLINE void SET_NormalPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5554 | SET_by_offset(disp, _gloffset_NormalPointer, fn); |
| 5555 | } |
| 5556 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5557 | typedef void (GLAPIENTRYP _glptr_PolygonOffset)(GLfloat, GLfloat); |
| 5558 | #define CALL_PolygonOffset(disp, parameters) \ |
| 5559 | (* GET_PolygonOffset(disp)) parameters |
| 5560 | static INLINE _glptr_PolygonOffset GET_PolygonOffset(struct _glapi_table *disp) { |
| 5561 | return (_glptr_PolygonOffset) (GET_by_offset(disp, _gloffset_PolygonOffset)); |
| 5562 | } |
| 5563 | |
| 5564 | static INLINE void SET_PolygonOffset(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5565 | SET_by_offset(disp, _gloffset_PolygonOffset, fn); |
| 5566 | } |
| 5567 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5568 | typedef void (GLAPIENTRYP _glptr_TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *); |
| 5569 | #define CALL_TexCoordPointer(disp, parameters) \ |
| 5570 | (* GET_TexCoordPointer(disp)) parameters |
| 5571 | static INLINE _glptr_TexCoordPointer GET_TexCoordPointer(struct _glapi_table *disp) { |
| 5572 | return (_glptr_TexCoordPointer) (GET_by_offset(disp, _gloffset_TexCoordPointer)); |
| 5573 | } |
| 5574 | |
| 5575 | static INLINE void SET_TexCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5576 | SET_by_offset(disp, _gloffset_TexCoordPointer, fn); |
| 5577 | } |
| 5578 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5579 | typedef void (GLAPIENTRYP _glptr_VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *); |
| 5580 | #define CALL_VertexPointer(disp, parameters) \ |
| 5581 | (* GET_VertexPointer(disp)) parameters |
| 5582 | static INLINE _glptr_VertexPointer GET_VertexPointer(struct _glapi_table *disp) { |
| 5583 | return (_glptr_VertexPointer) (GET_by_offset(disp, _gloffset_VertexPointer)); |
| 5584 | } |
| 5585 | |
| 5586 | static INLINE void SET_VertexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5587 | SET_by_offset(disp, _gloffset_VertexPointer, fn); |
| 5588 | } |
| 5589 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5590 | typedef GLboolean (GLAPIENTRYP _glptr_AreTexturesResident)(GLsizei, const GLuint *, GLboolean *); |
| 5591 | #define CALL_AreTexturesResident(disp, parameters) \ |
| 5592 | (* GET_AreTexturesResident(disp)) parameters |
| 5593 | static INLINE _glptr_AreTexturesResident GET_AreTexturesResident(struct _glapi_table *disp) { |
| 5594 | return (_glptr_AreTexturesResident) (GET_by_offset(disp, _gloffset_AreTexturesResident)); |
| 5595 | } |
| 5596 | |
| 5597 | static INLINE void SET_AreTexturesResident(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5598 | SET_by_offset(disp, _gloffset_AreTexturesResident, fn); |
| 5599 | } |
| 5600 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5601 | typedef void (GLAPIENTRYP _glptr_CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); |
| 5602 | #define CALL_CopyTexImage1D(disp, parameters) \ |
| 5603 | (* GET_CopyTexImage1D(disp)) parameters |
| 5604 | static INLINE _glptr_CopyTexImage1D GET_CopyTexImage1D(struct _glapi_table *disp) { |
| 5605 | return (_glptr_CopyTexImage1D) (GET_by_offset(disp, _gloffset_CopyTexImage1D)); |
| 5606 | } |
| 5607 | |
| 5608 | static INLINE void SET_CopyTexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5609 | SET_by_offset(disp, _gloffset_CopyTexImage1D, fn); |
| 5610 | } |
| 5611 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5612 | typedef void (GLAPIENTRYP _glptr_CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); |
| 5613 | #define CALL_CopyTexImage2D(disp, parameters) \ |
| 5614 | (* GET_CopyTexImage2D(disp)) parameters |
| 5615 | static INLINE _glptr_CopyTexImage2D GET_CopyTexImage2D(struct _glapi_table *disp) { |
| 5616 | return (_glptr_CopyTexImage2D) (GET_by_offset(disp, _gloffset_CopyTexImage2D)); |
| 5617 | } |
| 5618 | |
| 5619 | static INLINE void SET_CopyTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5620 | SET_by_offset(disp, _gloffset_CopyTexImage2D, fn); |
| 5621 | } |
| 5622 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5623 | typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei); |
| 5624 | #define CALL_CopyTexSubImage1D(disp, parameters) \ |
| 5625 | (* GET_CopyTexSubImage1D(disp)) parameters |
| 5626 | static INLINE _glptr_CopyTexSubImage1D GET_CopyTexSubImage1D(struct _glapi_table *disp) { |
| 5627 | return (_glptr_CopyTexSubImage1D) (GET_by_offset(disp, _gloffset_CopyTexSubImage1D)); |
| 5628 | } |
| 5629 | |
| 5630 | static INLINE void SET_CopyTexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5631 | SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn); |
| 5632 | } |
| 5633 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5634 | typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); |
| 5635 | #define CALL_CopyTexSubImage2D(disp, parameters) \ |
| 5636 | (* GET_CopyTexSubImage2D(disp)) parameters |
| 5637 | static INLINE _glptr_CopyTexSubImage2D GET_CopyTexSubImage2D(struct _glapi_table *disp) { |
| 5638 | return (_glptr_CopyTexSubImage2D) (GET_by_offset(disp, _gloffset_CopyTexSubImage2D)); |
| 5639 | } |
| 5640 | |
| 5641 | static INLINE void SET_CopyTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5642 | SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn); |
| 5643 | } |
| 5644 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5645 | typedef void (GLAPIENTRYP _glptr_DeleteTextures)(GLsizei, const GLuint *); |
| 5646 | #define CALL_DeleteTextures(disp, parameters) \ |
| 5647 | (* GET_DeleteTextures(disp)) parameters |
| 5648 | static INLINE _glptr_DeleteTextures GET_DeleteTextures(struct _glapi_table *disp) { |
| 5649 | return (_glptr_DeleteTextures) (GET_by_offset(disp, _gloffset_DeleteTextures)); |
| 5650 | } |
| 5651 | |
| 5652 | static INLINE void SET_DeleteTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5653 | SET_by_offset(disp, _gloffset_DeleteTextures, fn); |
| 5654 | } |
| 5655 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5656 | typedef void (GLAPIENTRYP _glptr_GenTextures)(GLsizei, GLuint *); |
| 5657 | #define CALL_GenTextures(disp, parameters) \ |
| 5658 | (* GET_GenTextures(disp)) parameters |
| 5659 | static INLINE _glptr_GenTextures GET_GenTextures(struct _glapi_table *disp) { |
| 5660 | return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures)); |
| 5661 | } |
| 5662 | |
| 5663 | static INLINE void SET_GenTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5664 | SET_by_offset(disp, _gloffset_GenTextures, fn); |
| 5665 | } |
| 5666 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5667 | typedef void (GLAPIENTRYP _glptr_GetPointerv)(GLenum, GLvoid **); |
| 5668 | #define CALL_GetPointerv(disp, parameters) \ |
| 5669 | (* GET_GetPointerv(disp)) parameters |
| 5670 | static INLINE _glptr_GetPointerv GET_GetPointerv(struct _glapi_table *disp) { |
| 5671 | return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv)); |
| 5672 | } |
| 5673 | |
| 5674 | static INLINE void SET_GetPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid **)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5675 | SET_by_offset(disp, _gloffset_GetPointerv, fn); |
| 5676 | } |
| 5677 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5678 | typedef GLboolean (GLAPIENTRYP _glptr_IsTexture)(GLuint); |
| 5679 | #define CALL_IsTexture(disp, parameters) \ |
| 5680 | (* GET_IsTexture(disp)) parameters |
| 5681 | static INLINE _glptr_IsTexture GET_IsTexture(struct _glapi_table *disp) { |
| 5682 | return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture)); |
| 5683 | } |
| 5684 | |
| 5685 | static INLINE void SET_IsTexture(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5686 | SET_by_offset(disp, _gloffset_IsTexture, fn); |
| 5687 | } |
| 5688 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5689 | typedef void (GLAPIENTRYP _glptr_PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *); |
| 5690 | #define CALL_PrioritizeTextures(disp, parameters) \ |
| 5691 | (* GET_PrioritizeTextures(disp)) parameters |
| 5692 | static INLINE _glptr_PrioritizeTextures GET_PrioritizeTextures(struct _glapi_table *disp) { |
| 5693 | return (_glptr_PrioritizeTextures) (GET_by_offset(disp, _gloffset_PrioritizeTextures)); |
| 5694 | } |
| 5695 | |
| 5696 | static INLINE void SET_PrioritizeTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, const GLclampf *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5697 | SET_by_offset(disp, _gloffset_PrioritizeTextures, fn); |
| 5698 | } |
| 5699 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5700 | typedef void (GLAPIENTRYP _glptr_TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5701 | #define CALL_TexSubImage1D(disp, parameters) \ |
| 5702 | (* GET_TexSubImage1D(disp)) parameters |
| 5703 | static INLINE _glptr_TexSubImage1D GET_TexSubImage1D(struct _glapi_table *disp) { |
| 5704 | return (_glptr_TexSubImage1D) (GET_by_offset(disp, _gloffset_TexSubImage1D)); |
| 5705 | } |
| 5706 | |
| 5707 | static INLINE void SET_TexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5708 | SET_by_offset(disp, _gloffset_TexSubImage1D, fn); |
| 5709 | } |
| 5710 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5711 | typedef void (GLAPIENTRYP _glptr_TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5712 | #define CALL_TexSubImage2D(disp, parameters) \ |
| 5713 | (* GET_TexSubImage2D(disp)) parameters |
| 5714 | static INLINE _glptr_TexSubImage2D GET_TexSubImage2D(struct _glapi_table *disp) { |
| 5715 | return (_glptr_TexSubImage2D) (GET_by_offset(disp, _gloffset_TexSubImage2D)); |
| 5716 | } |
| 5717 | |
| 5718 | static INLINE void SET_TexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5719 | SET_by_offset(disp, _gloffset_TexSubImage2D, fn); |
| 5720 | } |
| 5721 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5722 | typedef void (GLAPIENTRYP _glptr_PopClientAttrib)(void); |
| 5723 | #define CALL_PopClientAttrib(disp, parameters) \ |
| 5724 | (* GET_PopClientAttrib(disp)) parameters |
| 5725 | static INLINE _glptr_PopClientAttrib GET_PopClientAttrib(struct _glapi_table *disp) { |
| 5726 | return (_glptr_PopClientAttrib) (GET_by_offset(disp, _gloffset_PopClientAttrib)); |
| 5727 | } |
| 5728 | |
| 5729 | static INLINE void SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5730 | SET_by_offset(disp, _gloffset_PopClientAttrib, fn); |
| 5731 | } |
| 5732 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5733 | typedef void (GLAPIENTRYP _glptr_PushClientAttrib)(GLbitfield); |
| 5734 | #define CALL_PushClientAttrib(disp, parameters) \ |
| 5735 | (* GET_PushClientAttrib(disp)) parameters |
| 5736 | static INLINE _glptr_PushClientAttrib GET_PushClientAttrib(struct _glapi_table *disp) { |
| 5737 | return (_glptr_PushClientAttrib) (GET_by_offset(disp, _gloffset_PushClientAttrib)); |
| 5738 | } |
| 5739 | |
| 5740 | static INLINE void SET_PushClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5741 | SET_by_offset(disp, _gloffset_PushClientAttrib, fn); |
| 5742 | } |
| 5743 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5744 | typedef void (GLAPIENTRYP _glptr_BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf); |
| 5745 | #define CALL_BlendColor(disp, parameters) \ |
| 5746 | (* GET_BlendColor(disp)) parameters |
| 5747 | static INLINE _glptr_BlendColor GET_BlendColor(struct _glapi_table *disp) { |
| 5748 | return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor)); |
| 5749 | } |
| 5750 | |
| 5751 | static INLINE void SET_BlendColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5752 | SET_by_offset(disp, _gloffset_BlendColor, fn); |
| 5753 | } |
| 5754 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5755 | typedef void (GLAPIENTRYP _glptr_BlendEquation)(GLenum); |
| 5756 | #define CALL_BlendEquation(disp, parameters) \ |
| 5757 | (* GET_BlendEquation(disp)) parameters |
| 5758 | static INLINE _glptr_BlendEquation GET_BlendEquation(struct _glapi_table *disp) { |
| 5759 | return (_glptr_BlendEquation) (GET_by_offset(disp, _gloffset_BlendEquation)); |
| 5760 | } |
| 5761 | |
| 5762 | static INLINE void SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5763 | SET_by_offset(disp, _gloffset_BlendEquation, fn); |
| 5764 | } |
| 5765 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5766 | typedef void (GLAPIENTRYP _glptr_DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); |
| 5767 | #define CALL_DrawRangeElements(disp, parameters) \ |
| 5768 | (* GET_DrawRangeElements(disp)) parameters |
| 5769 | static INLINE _glptr_DrawRangeElements GET_DrawRangeElements(struct _glapi_table *disp) { |
| 5770 | return (_glptr_DrawRangeElements) (GET_by_offset(disp, _gloffset_DrawRangeElements)); |
| 5771 | } |
| 5772 | |
| 5773 | static INLINE void SET_DrawRangeElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5774 | SET_by_offset(disp, _gloffset_DrawRangeElements, fn); |
| 5775 | } |
| 5776 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5777 | typedef void (GLAPIENTRYP _glptr_ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5778 | #define CALL_ColorTable(disp, parameters) \ |
| 5779 | (* GET_ColorTable(disp)) parameters |
| 5780 | static INLINE _glptr_ColorTable GET_ColorTable(struct _glapi_table *disp) { |
| 5781 | return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable)); |
| 5782 | } |
| 5783 | |
| 5784 | static INLINE void SET_ColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5785 | SET_by_offset(disp, _gloffset_ColorTable, fn); |
| 5786 | } |
| 5787 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5788 | typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv)(GLenum, GLenum, const GLfloat *); |
| 5789 | #define CALL_ColorTableParameterfv(disp, parameters) \ |
| 5790 | (* GET_ColorTableParameterfv(disp)) parameters |
| 5791 | static INLINE _glptr_ColorTableParameterfv GET_ColorTableParameterfv(struct _glapi_table *disp) { |
| 5792 | return (_glptr_ColorTableParameterfv) (GET_by_offset(disp, _gloffset_ColorTableParameterfv)); |
| 5793 | } |
| 5794 | |
| 5795 | static INLINE void SET_ColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5796 | SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn); |
| 5797 | } |
| 5798 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5799 | typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv)(GLenum, GLenum, const GLint *); |
| 5800 | #define CALL_ColorTableParameteriv(disp, parameters) \ |
| 5801 | (* GET_ColorTableParameteriv(disp)) parameters |
| 5802 | static INLINE _glptr_ColorTableParameteriv GET_ColorTableParameteriv(struct _glapi_table *disp) { |
| 5803 | return (_glptr_ColorTableParameteriv) (GET_by_offset(disp, _gloffset_ColorTableParameteriv)); |
| 5804 | } |
| 5805 | |
| 5806 | static INLINE void SET_ColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5807 | SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn); |
| 5808 | } |
| 5809 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5810 | typedef void (GLAPIENTRYP _glptr_CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei); |
| 5811 | #define CALL_CopyColorTable(disp, parameters) \ |
| 5812 | (* GET_CopyColorTable(disp)) parameters |
| 5813 | static INLINE _glptr_CopyColorTable GET_CopyColorTable(struct _glapi_table *disp) { |
| 5814 | return (_glptr_CopyColorTable) (GET_by_offset(disp, _gloffset_CopyColorTable)); |
| 5815 | } |
| 5816 | |
| 5817 | static INLINE void SET_CopyColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5818 | SET_by_offset(disp, _gloffset_CopyColorTable, fn); |
| 5819 | } |
| 5820 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5821 | typedef void (GLAPIENTRYP _glptr_GetColorTable)(GLenum, GLenum, GLenum, GLvoid *); |
| 5822 | #define CALL_GetColorTable(disp, parameters) \ |
| 5823 | (* GET_GetColorTable(disp)) parameters |
| 5824 | static INLINE _glptr_GetColorTable GET_GetColorTable(struct _glapi_table *disp) { |
| 5825 | return (_glptr_GetColorTable) (GET_by_offset(disp, _gloffset_GetColorTable)); |
| 5826 | } |
| 5827 | |
| 5828 | static INLINE void SET_GetColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5829 | SET_by_offset(disp, _gloffset_GetColorTable, fn); |
| 5830 | } |
| 5831 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5832 | typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv)(GLenum, GLenum, GLfloat *); |
| 5833 | #define CALL_GetColorTableParameterfv(disp, parameters) \ |
| 5834 | (* GET_GetColorTableParameterfv(disp)) parameters |
| 5835 | static INLINE _glptr_GetColorTableParameterfv GET_GetColorTableParameterfv(struct _glapi_table *disp) { |
| 5836 | return (_glptr_GetColorTableParameterfv) (GET_by_offset(disp, _gloffset_GetColorTableParameterfv)); |
| 5837 | } |
| 5838 | |
| 5839 | static INLINE void SET_GetColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5840 | SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn); |
| 5841 | } |
| 5842 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5843 | typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv)(GLenum, GLenum, GLint *); |
| 5844 | #define CALL_GetColorTableParameteriv(disp, parameters) \ |
| 5845 | (* GET_GetColorTableParameteriv(disp)) parameters |
| 5846 | static INLINE _glptr_GetColorTableParameteriv GET_GetColorTableParameteriv(struct _glapi_table *disp) { |
| 5847 | return (_glptr_GetColorTableParameteriv) (GET_by_offset(disp, _gloffset_GetColorTableParameteriv)); |
| 5848 | } |
| 5849 | |
| 5850 | static INLINE void SET_GetColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5851 | SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn); |
| 5852 | } |
| 5853 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5854 | typedef void (GLAPIENTRYP _glptr_ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5855 | #define CALL_ColorSubTable(disp, parameters) \ |
| 5856 | (* GET_ColorSubTable(disp)) parameters |
| 5857 | static INLINE _glptr_ColorSubTable GET_ColorSubTable(struct _glapi_table *disp) { |
| 5858 | return (_glptr_ColorSubTable) (GET_by_offset(disp, _gloffset_ColorSubTable)); |
| 5859 | } |
| 5860 | |
| 5861 | static INLINE void SET_ColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5862 | SET_by_offset(disp, _gloffset_ColorSubTable, fn); |
| 5863 | } |
| 5864 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5865 | typedef void (GLAPIENTRYP _glptr_CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei); |
| 5866 | #define CALL_CopyColorSubTable(disp, parameters) \ |
| 5867 | (* GET_CopyColorSubTable(disp)) parameters |
| 5868 | static INLINE _glptr_CopyColorSubTable GET_CopyColorSubTable(struct _glapi_table *disp) { |
| 5869 | return (_glptr_CopyColorSubTable) (GET_by_offset(disp, _gloffset_CopyColorSubTable)); |
| 5870 | } |
| 5871 | |
| 5872 | static INLINE void SET_CopyColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5873 | SET_by_offset(disp, _gloffset_CopyColorSubTable, fn); |
| 5874 | } |
| 5875 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5876 | typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5877 | #define CALL_ConvolutionFilter1D(disp, parameters) \ |
| 5878 | (* GET_ConvolutionFilter1D(disp)) parameters |
| 5879 | static INLINE _glptr_ConvolutionFilter1D GET_ConvolutionFilter1D(struct _glapi_table *disp) { |
| 5880 | return (_glptr_ConvolutionFilter1D) (GET_by_offset(disp, _gloffset_ConvolutionFilter1D)); |
| 5881 | } |
| 5882 | |
| 5883 | static INLINE void SET_ConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5884 | SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn); |
| 5885 | } |
| 5886 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5887 | typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); |
| 5888 | #define CALL_ConvolutionFilter2D(disp, parameters) \ |
| 5889 | (* GET_ConvolutionFilter2D(disp)) parameters |
| 5890 | static INLINE _glptr_ConvolutionFilter2D GET_ConvolutionFilter2D(struct _glapi_table *disp) { |
| 5891 | return (_glptr_ConvolutionFilter2D) (GET_by_offset(disp, _gloffset_ConvolutionFilter2D)); |
| 5892 | } |
| 5893 | |
| 5894 | static INLINE void SET_ConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5895 | SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn); |
| 5896 | } |
| 5897 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5898 | typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf)(GLenum, GLenum, GLfloat); |
| 5899 | #define CALL_ConvolutionParameterf(disp, parameters) \ |
| 5900 | (* GET_ConvolutionParameterf(disp)) parameters |
| 5901 | static INLINE _glptr_ConvolutionParameterf GET_ConvolutionParameterf(struct _glapi_table *disp) { |
| 5902 | return (_glptr_ConvolutionParameterf) (GET_by_offset(disp, _gloffset_ConvolutionParameterf)); |
| 5903 | } |
| 5904 | |
| 5905 | static INLINE void SET_ConvolutionParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5906 | SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn); |
| 5907 | } |
| 5908 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5909 | typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *); |
| 5910 | #define CALL_ConvolutionParameterfv(disp, parameters) \ |
| 5911 | (* GET_ConvolutionParameterfv(disp)) parameters |
| 5912 | static INLINE _glptr_ConvolutionParameterfv GET_ConvolutionParameterfv(struct _glapi_table *disp) { |
| 5913 | return (_glptr_ConvolutionParameterfv) (GET_by_offset(disp, _gloffset_ConvolutionParameterfv)); |
| 5914 | } |
| 5915 | |
| 5916 | static INLINE void SET_ConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5917 | SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn); |
| 5918 | } |
| 5919 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5920 | typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri)(GLenum, GLenum, GLint); |
| 5921 | #define CALL_ConvolutionParameteri(disp, parameters) \ |
| 5922 | (* GET_ConvolutionParameteri(disp)) parameters |
| 5923 | static INLINE _glptr_ConvolutionParameteri GET_ConvolutionParameteri(struct _glapi_table *disp) { |
| 5924 | return (_glptr_ConvolutionParameteri) (GET_by_offset(disp, _gloffset_ConvolutionParameteri)); |
| 5925 | } |
| 5926 | |
| 5927 | static INLINE void SET_ConvolutionParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5928 | SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn); |
| 5929 | } |
| 5930 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5931 | typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv)(GLenum, GLenum, const GLint *); |
| 5932 | #define CALL_ConvolutionParameteriv(disp, parameters) \ |
| 5933 | (* GET_ConvolutionParameteriv(disp)) parameters |
| 5934 | static INLINE _glptr_ConvolutionParameteriv GET_ConvolutionParameteriv(struct _glapi_table *disp) { |
| 5935 | return (_glptr_ConvolutionParameteriv) (GET_by_offset(disp, _gloffset_ConvolutionParameteriv)); |
| 5936 | } |
| 5937 | |
| 5938 | static INLINE void SET_ConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5939 | SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn); |
| 5940 | } |
| 5941 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5942 | typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D)(GLenum, GLenum, GLint, GLint, GLsizei); |
| 5943 | #define CALL_CopyConvolutionFilter1D(disp, parameters) \ |
| 5944 | (* GET_CopyConvolutionFilter1D(disp)) parameters |
| 5945 | static INLINE _glptr_CopyConvolutionFilter1D GET_CopyConvolutionFilter1D(struct _glapi_table *disp) { |
| 5946 | return (_glptr_CopyConvolutionFilter1D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter1D)); |
| 5947 | } |
| 5948 | |
| 5949 | static INLINE void SET_CopyConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5950 | SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn); |
| 5951 | } |
| 5952 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5953 | typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); |
| 5954 | #define CALL_CopyConvolutionFilter2D(disp, parameters) \ |
| 5955 | (* GET_CopyConvolutionFilter2D(disp)) parameters |
| 5956 | static INLINE _glptr_CopyConvolutionFilter2D GET_CopyConvolutionFilter2D(struct _glapi_table *disp) { |
| 5957 | return (_glptr_CopyConvolutionFilter2D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter2D)); |
| 5958 | } |
| 5959 | |
| 5960 | static INLINE void SET_CopyConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5961 | SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn); |
| 5962 | } |
| 5963 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5964 | typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *); |
| 5965 | #define CALL_GetConvolutionFilter(disp, parameters) \ |
| 5966 | (* GET_GetConvolutionFilter(disp)) parameters |
| 5967 | static INLINE _glptr_GetConvolutionFilter GET_GetConvolutionFilter(struct _glapi_table *disp) { |
| 5968 | return (_glptr_GetConvolutionFilter) (GET_by_offset(disp, _gloffset_GetConvolutionFilter)); |
| 5969 | } |
| 5970 | |
| 5971 | static INLINE void SET_GetConvolutionFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5972 | SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn); |
| 5973 | } |
| 5974 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5975 | typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *); |
| 5976 | #define CALL_GetConvolutionParameterfv(disp, parameters) \ |
| 5977 | (* GET_GetConvolutionParameterfv(disp)) parameters |
| 5978 | static INLINE _glptr_GetConvolutionParameterfv GET_GetConvolutionParameterfv(struct _glapi_table *disp) { |
| 5979 | return (_glptr_GetConvolutionParameterfv) (GET_by_offset(disp, _gloffset_GetConvolutionParameterfv)); |
| 5980 | } |
| 5981 | |
| 5982 | static INLINE void SET_GetConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5983 | SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn); |
| 5984 | } |
| 5985 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5986 | typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv)(GLenum, GLenum, GLint *); |
| 5987 | #define CALL_GetConvolutionParameteriv(disp, parameters) \ |
| 5988 | (* GET_GetConvolutionParameteriv(disp)) parameters |
| 5989 | static INLINE _glptr_GetConvolutionParameteriv GET_GetConvolutionParameteriv(struct _glapi_table *disp) { |
| 5990 | return (_glptr_GetConvolutionParameteriv) (GET_by_offset(disp, _gloffset_GetConvolutionParameteriv)); |
| 5991 | } |
| 5992 | |
| 5993 | static INLINE void SET_GetConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 5994 | SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn); |
| 5995 | } |
| 5996 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 5997 | typedef void (GLAPIENTRYP _glptr_GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); |
| 5998 | #define CALL_GetSeparableFilter(disp, parameters) \ |
| 5999 | (* GET_GetSeparableFilter(disp)) parameters |
| 6000 | static INLINE _glptr_GetSeparableFilter GET_GetSeparableFilter(struct _glapi_table *disp) { |
| 6001 | return (_glptr_GetSeparableFilter) (GET_by_offset(disp, _gloffset_GetSeparableFilter)); |
| 6002 | } |
| 6003 | |
| 6004 | static INLINE void SET_GetSeparableFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6005 | SET_by_offset(disp, _gloffset_GetSeparableFilter, fn); |
| 6006 | } |
| 6007 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6008 | typedef void (GLAPIENTRYP _glptr_SeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); |
| 6009 | #define CALL_SeparableFilter2D(disp, parameters) \ |
| 6010 | (* GET_SeparableFilter2D(disp)) parameters |
| 6011 | static INLINE _glptr_SeparableFilter2D GET_SeparableFilter2D(struct _glapi_table *disp) { |
| 6012 | return (_glptr_SeparableFilter2D) (GET_by_offset(disp, _gloffset_SeparableFilter2D)); |
| 6013 | } |
| 6014 | |
| 6015 | static INLINE void SET_SeparableFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6016 | SET_by_offset(disp, _gloffset_SeparableFilter2D, fn); |
| 6017 | } |
| 6018 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6019 | typedef void (GLAPIENTRYP _glptr_GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *); |
| 6020 | #define CALL_GetHistogram(disp, parameters) \ |
| 6021 | (* GET_GetHistogram(disp)) parameters |
| 6022 | static INLINE _glptr_GetHistogram GET_GetHistogram(struct _glapi_table *disp) { |
| 6023 | return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram)); |
| 6024 | } |
| 6025 | |
| 6026 | static INLINE void SET_GetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6027 | SET_by_offset(disp, _gloffset_GetHistogram, fn); |
| 6028 | } |
| 6029 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6030 | typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv)(GLenum, GLenum, GLfloat *); |
| 6031 | #define CALL_GetHistogramParameterfv(disp, parameters) \ |
| 6032 | (* GET_GetHistogramParameterfv(disp)) parameters |
| 6033 | static INLINE _glptr_GetHistogramParameterfv GET_GetHistogramParameterfv(struct _glapi_table *disp) { |
| 6034 | return (_glptr_GetHistogramParameterfv) (GET_by_offset(disp, _gloffset_GetHistogramParameterfv)); |
| 6035 | } |
| 6036 | |
| 6037 | static INLINE void SET_GetHistogramParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6038 | SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn); |
| 6039 | } |
| 6040 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6041 | typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv)(GLenum, GLenum, GLint *); |
| 6042 | #define CALL_GetHistogramParameteriv(disp, parameters) \ |
| 6043 | (* GET_GetHistogramParameteriv(disp)) parameters |
| 6044 | static INLINE _glptr_GetHistogramParameteriv GET_GetHistogramParameteriv(struct _glapi_table *disp) { |
| 6045 | return (_glptr_GetHistogramParameteriv) (GET_by_offset(disp, _gloffset_GetHistogramParameteriv)); |
| 6046 | } |
| 6047 | |
| 6048 | static INLINE void SET_GetHistogramParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6049 | SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn); |
| 6050 | } |
| 6051 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6052 | typedef void (GLAPIENTRYP _glptr_GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *); |
| 6053 | #define CALL_GetMinmax(disp, parameters) \ |
| 6054 | (* GET_GetMinmax(disp)) parameters |
| 6055 | static INLINE _glptr_GetMinmax GET_GetMinmax(struct _glapi_table *disp) { |
| 6056 | return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax)); |
| 6057 | } |
| 6058 | |
| 6059 | static INLINE void SET_GetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6060 | SET_by_offset(disp, _gloffset_GetMinmax, fn); |
| 6061 | } |
| 6062 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6063 | typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *); |
| 6064 | #define CALL_GetMinmaxParameterfv(disp, parameters) \ |
| 6065 | (* GET_GetMinmaxParameterfv(disp)) parameters |
| 6066 | static INLINE _glptr_GetMinmaxParameterfv GET_GetMinmaxParameterfv(struct _glapi_table *disp) { |
| 6067 | return (_glptr_GetMinmaxParameterfv) (GET_by_offset(disp, _gloffset_GetMinmaxParameterfv)); |
| 6068 | } |
| 6069 | |
| 6070 | static INLINE void SET_GetMinmaxParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6071 | SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn); |
| 6072 | } |
| 6073 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6074 | typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv)(GLenum, GLenum, GLint *); |
| 6075 | #define CALL_GetMinmaxParameteriv(disp, parameters) \ |
| 6076 | (* GET_GetMinmaxParameteriv(disp)) parameters |
| 6077 | static INLINE _glptr_GetMinmaxParameteriv GET_GetMinmaxParameteriv(struct _glapi_table *disp) { |
| 6078 | return (_glptr_GetMinmaxParameteriv) (GET_by_offset(disp, _gloffset_GetMinmaxParameteriv)); |
| 6079 | } |
| 6080 | |
| 6081 | static INLINE void SET_GetMinmaxParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6082 | SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn); |
| 6083 | } |
| 6084 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6085 | typedef void (GLAPIENTRYP _glptr_Histogram)(GLenum, GLsizei, GLenum, GLboolean); |
| 6086 | #define CALL_Histogram(disp, parameters) \ |
| 6087 | (* GET_Histogram(disp)) parameters |
| 6088 | static INLINE _glptr_Histogram GET_Histogram(struct _glapi_table *disp) { |
| 6089 | return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram)); |
| 6090 | } |
| 6091 | |
| 6092 | static INLINE void SET_Histogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6093 | SET_by_offset(disp, _gloffset_Histogram, fn); |
| 6094 | } |
| 6095 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6096 | typedef void (GLAPIENTRYP _glptr_Minmax)(GLenum, GLenum, GLboolean); |
| 6097 | #define CALL_Minmax(disp, parameters) \ |
| 6098 | (* GET_Minmax(disp)) parameters |
| 6099 | static INLINE _glptr_Minmax GET_Minmax(struct _glapi_table *disp) { |
| 6100 | return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax)); |
| 6101 | } |
| 6102 | |
| 6103 | static INLINE void SET_Minmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6104 | SET_by_offset(disp, _gloffset_Minmax, fn); |
| 6105 | } |
| 6106 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6107 | typedef void (GLAPIENTRYP _glptr_ResetHistogram)(GLenum); |
| 6108 | #define CALL_ResetHistogram(disp, parameters) \ |
| 6109 | (* GET_ResetHistogram(disp)) parameters |
| 6110 | static INLINE _glptr_ResetHistogram GET_ResetHistogram(struct _glapi_table *disp) { |
| 6111 | return (_glptr_ResetHistogram) (GET_by_offset(disp, _gloffset_ResetHistogram)); |
| 6112 | } |
| 6113 | |
| 6114 | static INLINE void SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6115 | SET_by_offset(disp, _gloffset_ResetHistogram, fn); |
| 6116 | } |
| 6117 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6118 | typedef void (GLAPIENTRYP _glptr_ResetMinmax)(GLenum); |
| 6119 | #define CALL_ResetMinmax(disp, parameters) \ |
| 6120 | (* GET_ResetMinmax(disp)) parameters |
| 6121 | static INLINE _glptr_ResetMinmax GET_ResetMinmax(struct _glapi_table *disp) { |
| 6122 | return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax)); |
| 6123 | } |
| 6124 | |
| 6125 | static INLINE void SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6126 | SET_by_offset(disp, _gloffset_ResetMinmax, fn); |
| 6127 | } |
| 6128 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6129 | typedef void (GLAPIENTRYP _glptr_TexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); |
| 6130 | #define CALL_TexImage3D(disp, parameters) \ |
| 6131 | (* GET_TexImage3D(disp)) parameters |
| 6132 | static INLINE _glptr_TexImage3D GET_TexImage3D(struct _glapi_table *disp) { |
| 6133 | return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D)); |
| 6134 | } |
| 6135 | |
| 6136 | static INLINE void SET_TexImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6137 | SET_by_offset(disp, _gloffset_TexImage3D, fn); |
| 6138 | } |
| 6139 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6140 | typedef void (GLAPIENTRYP _glptr_TexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); |
| 6141 | #define CALL_TexSubImage3D(disp, parameters) \ |
| 6142 | (* GET_TexSubImage3D(disp)) parameters |
| 6143 | static INLINE _glptr_TexSubImage3D GET_TexSubImage3D(struct _glapi_table *disp) { |
| 6144 | return (_glptr_TexSubImage3D) (GET_by_offset(disp, _gloffset_TexSubImage3D)); |
| 6145 | } |
| 6146 | |
| 6147 | static INLINE void SET_TexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6148 | SET_by_offset(disp, _gloffset_TexSubImage3D, fn); |
| 6149 | } |
| 6150 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6151 | typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); |
| 6152 | #define CALL_CopyTexSubImage3D(disp, parameters) \ |
| 6153 | (* GET_CopyTexSubImage3D(disp)) parameters |
| 6154 | static INLINE _glptr_CopyTexSubImage3D GET_CopyTexSubImage3D(struct _glapi_table *disp) { |
| 6155 | return (_glptr_CopyTexSubImage3D) (GET_by_offset(disp, _gloffset_CopyTexSubImage3D)); |
| 6156 | } |
| 6157 | |
| 6158 | static INLINE void SET_CopyTexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6159 | SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn); |
| 6160 | } |
| 6161 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6162 | typedef void (GLAPIENTRYP _glptr_ActiveTextureARB)(GLenum); |
| 6163 | #define CALL_ActiveTextureARB(disp, parameters) \ |
| 6164 | (* GET_ActiveTextureARB(disp)) parameters |
| 6165 | static INLINE _glptr_ActiveTextureARB GET_ActiveTextureARB(struct _glapi_table *disp) { |
| 6166 | return (_glptr_ActiveTextureARB) (GET_by_offset(disp, _gloffset_ActiveTextureARB)); |
| 6167 | } |
| 6168 | |
| 6169 | static INLINE void SET_ActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6170 | SET_by_offset(disp, _gloffset_ActiveTextureARB, fn); |
| 6171 | } |
| 6172 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6173 | typedef void (GLAPIENTRYP _glptr_ClientActiveTextureARB)(GLenum); |
| 6174 | #define CALL_ClientActiveTextureARB(disp, parameters) \ |
| 6175 | (* GET_ClientActiveTextureARB(disp)) parameters |
| 6176 | static INLINE _glptr_ClientActiveTextureARB GET_ClientActiveTextureARB(struct _glapi_table *disp) { |
| 6177 | return (_glptr_ClientActiveTextureARB) (GET_by_offset(disp, _gloffset_ClientActiveTextureARB)); |
| 6178 | } |
| 6179 | |
| 6180 | static INLINE void SET_ClientActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6181 | SET_by_offset(disp, _gloffset_ClientActiveTextureARB, fn); |
| 6182 | } |
| 6183 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6184 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dARB)(GLenum, GLdouble); |
| 6185 | #define CALL_MultiTexCoord1dARB(disp, parameters) \ |
| 6186 | (* GET_MultiTexCoord1dARB(disp)) parameters |
| 6187 | static INLINE _glptr_MultiTexCoord1dARB GET_MultiTexCoord1dARB(struct _glapi_table *disp) { |
| 6188 | return (_glptr_MultiTexCoord1dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dARB)); |
| 6189 | } |
| 6190 | |
| 6191 | static INLINE void SET_MultiTexCoord1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6192 | SET_by_offset(disp, _gloffset_MultiTexCoord1dARB, fn); |
| 6193 | } |
| 6194 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6195 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dvARB)(GLenum, const GLdouble *); |
| 6196 | #define CALL_MultiTexCoord1dvARB(disp, parameters) \ |
| 6197 | (* GET_MultiTexCoord1dvARB(disp)) parameters |
| 6198 | static INLINE _glptr_MultiTexCoord1dvARB GET_MultiTexCoord1dvARB(struct _glapi_table *disp) { |
| 6199 | return (_glptr_MultiTexCoord1dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dvARB)); |
| 6200 | } |
| 6201 | |
| 6202 | static INLINE void SET_MultiTexCoord1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6203 | SET_by_offset(disp, _gloffset_MultiTexCoord1dvARB, fn); |
| 6204 | } |
| 6205 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6206 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB)(GLenum, GLfloat); |
| 6207 | #define CALL_MultiTexCoord1fARB(disp, parameters) \ |
| 6208 | (* GET_MultiTexCoord1fARB(disp)) parameters |
| 6209 | static INLINE _glptr_MultiTexCoord1fARB GET_MultiTexCoord1fARB(struct _glapi_table *disp) { |
| 6210 | return (_glptr_MultiTexCoord1fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fARB)); |
| 6211 | } |
| 6212 | |
| 6213 | static INLINE void SET_MultiTexCoord1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6214 | SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn); |
| 6215 | } |
| 6216 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6217 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB)(GLenum, const GLfloat *); |
| 6218 | #define CALL_MultiTexCoord1fvARB(disp, parameters) \ |
| 6219 | (* GET_MultiTexCoord1fvARB(disp)) parameters |
| 6220 | static INLINE _glptr_MultiTexCoord1fvARB GET_MultiTexCoord1fvARB(struct _glapi_table *disp) { |
| 6221 | return (_glptr_MultiTexCoord1fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fvARB)); |
| 6222 | } |
| 6223 | |
| 6224 | static INLINE void SET_MultiTexCoord1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6225 | SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn); |
| 6226 | } |
| 6227 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6228 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iARB)(GLenum, GLint); |
| 6229 | #define CALL_MultiTexCoord1iARB(disp, parameters) \ |
| 6230 | (* GET_MultiTexCoord1iARB(disp)) parameters |
| 6231 | static INLINE _glptr_MultiTexCoord1iARB GET_MultiTexCoord1iARB(struct _glapi_table *disp) { |
| 6232 | return (_glptr_MultiTexCoord1iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1iARB)); |
| 6233 | } |
| 6234 | |
| 6235 | static INLINE void SET_MultiTexCoord1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6236 | SET_by_offset(disp, _gloffset_MultiTexCoord1iARB, fn); |
| 6237 | } |
| 6238 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6239 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1ivARB)(GLenum, const GLint *); |
| 6240 | #define CALL_MultiTexCoord1ivARB(disp, parameters) \ |
| 6241 | (* GET_MultiTexCoord1ivARB(disp)) parameters |
| 6242 | static INLINE _glptr_MultiTexCoord1ivARB GET_MultiTexCoord1ivARB(struct _glapi_table *disp) { |
| 6243 | return (_glptr_MultiTexCoord1ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1ivARB)); |
| 6244 | } |
| 6245 | |
| 6246 | static INLINE void SET_MultiTexCoord1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6247 | SET_by_offset(disp, _gloffset_MultiTexCoord1ivARB, fn); |
| 6248 | } |
| 6249 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6250 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sARB)(GLenum, GLshort); |
| 6251 | #define CALL_MultiTexCoord1sARB(disp, parameters) \ |
| 6252 | (* GET_MultiTexCoord1sARB(disp)) parameters |
| 6253 | static INLINE _glptr_MultiTexCoord1sARB GET_MultiTexCoord1sARB(struct _glapi_table *disp) { |
| 6254 | return (_glptr_MultiTexCoord1sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1sARB)); |
| 6255 | } |
| 6256 | |
| 6257 | static INLINE void SET_MultiTexCoord1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6258 | SET_by_offset(disp, _gloffset_MultiTexCoord1sARB, fn); |
| 6259 | } |
| 6260 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6261 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord1svARB)(GLenum, const GLshort *); |
| 6262 | #define CALL_MultiTexCoord1svARB(disp, parameters) \ |
| 6263 | (* GET_MultiTexCoord1svARB(disp)) parameters |
| 6264 | static INLINE _glptr_MultiTexCoord1svARB GET_MultiTexCoord1svARB(struct _glapi_table *disp) { |
| 6265 | return (_glptr_MultiTexCoord1svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1svARB)); |
| 6266 | } |
| 6267 | |
| 6268 | static INLINE void SET_MultiTexCoord1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6269 | SET_by_offset(disp, _gloffset_MultiTexCoord1svARB, fn); |
| 6270 | } |
| 6271 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6272 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dARB)(GLenum, GLdouble, GLdouble); |
| 6273 | #define CALL_MultiTexCoord2dARB(disp, parameters) \ |
| 6274 | (* GET_MultiTexCoord2dARB(disp)) parameters |
| 6275 | static INLINE _glptr_MultiTexCoord2dARB GET_MultiTexCoord2dARB(struct _glapi_table *disp) { |
| 6276 | return (_glptr_MultiTexCoord2dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dARB)); |
| 6277 | } |
| 6278 | |
| 6279 | static INLINE void SET_MultiTexCoord2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6280 | SET_by_offset(disp, _gloffset_MultiTexCoord2dARB, fn); |
| 6281 | } |
| 6282 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6283 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dvARB)(GLenum, const GLdouble *); |
| 6284 | #define CALL_MultiTexCoord2dvARB(disp, parameters) \ |
| 6285 | (* GET_MultiTexCoord2dvARB(disp)) parameters |
| 6286 | static INLINE _glptr_MultiTexCoord2dvARB GET_MultiTexCoord2dvARB(struct _glapi_table *disp) { |
| 6287 | return (_glptr_MultiTexCoord2dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dvARB)); |
| 6288 | } |
| 6289 | |
| 6290 | static INLINE void SET_MultiTexCoord2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6291 | SET_by_offset(disp, _gloffset_MultiTexCoord2dvARB, fn); |
| 6292 | } |
| 6293 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6294 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat); |
| 6295 | #define CALL_MultiTexCoord2fARB(disp, parameters) \ |
| 6296 | (* GET_MultiTexCoord2fARB(disp)) parameters |
| 6297 | static INLINE _glptr_MultiTexCoord2fARB GET_MultiTexCoord2fARB(struct _glapi_table *disp) { |
| 6298 | return (_glptr_MultiTexCoord2fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fARB)); |
| 6299 | } |
| 6300 | |
| 6301 | static INLINE void SET_MultiTexCoord2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6302 | SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn); |
| 6303 | } |
| 6304 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6305 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB)(GLenum, const GLfloat *); |
| 6306 | #define CALL_MultiTexCoord2fvARB(disp, parameters) \ |
| 6307 | (* GET_MultiTexCoord2fvARB(disp)) parameters |
| 6308 | static INLINE _glptr_MultiTexCoord2fvARB GET_MultiTexCoord2fvARB(struct _glapi_table *disp) { |
| 6309 | return (_glptr_MultiTexCoord2fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fvARB)); |
| 6310 | } |
| 6311 | |
| 6312 | static INLINE void SET_MultiTexCoord2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6313 | SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn); |
| 6314 | } |
| 6315 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6316 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iARB)(GLenum, GLint, GLint); |
| 6317 | #define CALL_MultiTexCoord2iARB(disp, parameters) \ |
| 6318 | (* GET_MultiTexCoord2iARB(disp)) parameters |
| 6319 | static INLINE _glptr_MultiTexCoord2iARB GET_MultiTexCoord2iARB(struct _glapi_table *disp) { |
| 6320 | return (_glptr_MultiTexCoord2iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2iARB)); |
| 6321 | } |
| 6322 | |
| 6323 | static INLINE void SET_MultiTexCoord2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6324 | SET_by_offset(disp, _gloffset_MultiTexCoord2iARB, fn); |
| 6325 | } |
| 6326 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6327 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2ivARB)(GLenum, const GLint *); |
| 6328 | #define CALL_MultiTexCoord2ivARB(disp, parameters) \ |
| 6329 | (* GET_MultiTexCoord2ivARB(disp)) parameters |
| 6330 | static INLINE _glptr_MultiTexCoord2ivARB GET_MultiTexCoord2ivARB(struct _glapi_table *disp) { |
| 6331 | return (_glptr_MultiTexCoord2ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2ivARB)); |
| 6332 | } |
| 6333 | |
| 6334 | static INLINE void SET_MultiTexCoord2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6335 | SET_by_offset(disp, _gloffset_MultiTexCoord2ivARB, fn); |
| 6336 | } |
| 6337 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6338 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sARB)(GLenum, GLshort, GLshort); |
| 6339 | #define CALL_MultiTexCoord2sARB(disp, parameters) \ |
| 6340 | (* GET_MultiTexCoord2sARB(disp)) parameters |
| 6341 | static INLINE _glptr_MultiTexCoord2sARB GET_MultiTexCoord2sARB(struct _glapi_table *disp) { |
| 6342 | return (_glptr_MultiTexCoord2sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2sARB)); |
| 6343 | } |
| 6344 | |
| 6345 | static INLINE void SET_MultiTexCoord2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6346 | SET_by_offset(disp, _gloffset_MultiTexCoord2sARB, fn); |
| 6347 | } |
| 6348 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6349 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord2svARB)(GLenum, const GLshort *); |
| 6350 | #define CALL_MultiTexCoord2svARB(disp, parameters) \ |
| 6351 | (* GET_MultiTexCoord2svARB(disp)) parameters |
| 6352 | static INLINE _glptr_MultiTexCoord2svARB GET_MultiTexCoord2svARB(struct _glapi_table *disp) { |
| 6353 | return (_glptr_MultiTexCoord2svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2svARB)); |
| 6354 | } |
| 6355 | |
| 6356 | static INLINE void SET_MultiTexCoord2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6357 | SET_by_offset(disp, _gloffset_MultiTexCoord2svARB, fn); |
| 6358 | } |
| 6359 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6360 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dARB)(GLenum, GLdouble, GLdouble, GLdouble); |
| 6361 | #define CALL_MultiTexCoord3dARB(disp, parameters) \ |
| 6362 | (* GET_MultiTexCoord3dARB(disp)) parameters |
| 6363 | static INLINE _glptr_MultiTexCoord3dARB GET_MultiTexCoord3dARB(struct _glapi_table *disp) { |
| 6364 | return (_glptr_MultiTexCoord3dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dARB)); |
| 6365 | } |
| 6366 | |
| 6367 | static INLINE void SET_MultiTexCoord3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6368 | SET_by_offset(disp, _gloffset_MultiTexCoord3dARB, fn); |
| 6369 | } |
| 6370 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6371 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dvARB)(GLenum, const GLdouble *); |
| 6372 | #define CALL_MultiTexCoord3dvARB(disp, parameters) \ |
| 6373 | (* GET_MultiTexCoord3dvARB(disp)) parameters |
| 6374 | static INLINE _glptr_MultiTexCoord3dvARB GET_MultiTexCoord3dvARB(struct _glapi_table *disp) { |
| 6375 | return (_glptr_MultiTexCoord3dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dvARB)); |
| 6376 | } |
| 6377 | |
| 6378 | static INLINE void SET_MultiTexCoord3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6379 | SET_by_offset(disp, _gloffset_MultiTexCoord3dvARB, fn); |
| 6380 | } |
| 6381 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6382 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat); |
| 6383 | #define CALL_MultiTexCoord3fARB(disp, parameters) \ |
| 6384 | (* GET_MultiTexCoord3fARB(disp)) parameters |
| 6385 | static INLINE _glptr_MultiTexCoord3fARB GET_MultiTexCoord3fARB(struct _glapi_table *disp) { |
| 6386 | return (_glptr_MultiTexCoord3fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fARB)); |
| 6387 | } |
| 6388 | |
| 6389 | static INLINE void SET_MultiTexCoord3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6390 | SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn); |
| 6391 | } |
| 6392 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6393 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB)(GLenum, const GLfloat *); |
| 6394 | #define CALL_MultiTexCoord3fvARB(disp, parameters) \ |
| 6395 | (* GET_MultiTexCoord3fvARB(disp)) parameters |
| 6396 | static INLINE _glptr_MultiTexCoord3fvARB GET_MultiTexCoord3fvARB(struct _glapi_table *disp) { |
| 6397 | return (_glptr_MultiTexCoord3fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fvARB)); |
| 6398 | } |
| 6399 | |
| 6400 | static INLINE void SET_MultiTexCoord3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6401 | SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn); |
| 6402 | } |
| 6403 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6404 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iARB)(GLenum, GLint, GLint, GLint); |
| 6405 | #define CALL_MultiTexCoord3iARB(disp, parameters) \ |
| 6406 | (* GET_MultiTexCoord3iARB(disp)) parameters |
| 6407 | static INLINE _glptr_MultiTexCoord3iARB GET_MultiTexCoord3iARB(struct _glapi_table *disp) { |
| 6408 | return (_glptr_MultiTexCoord3iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3iARB)); |
| 6409 | } |
| 6410 | |
| 6411 | static INLINE void SET_MultiTexCoord3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6412 | SET_by_offset(disp, _gloffset_MultiTexCoord3iARB, fn); |
| 6413 | } |
| 6414 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6415 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3ivARB)(GLenum, const GLint *); |
| 6416 | #define CALL_MultiTexCoord3ivARB(disp, parameters) \ |
| 6417 | (* GET_MultiTexCoord3ivARB(disp)) parameters |
| 6418 | static INLINE _glptr_MultiTexCoord3ivARB GET_MultiTexCoord3ivARB(struct _glapi_table *disp) { |
| 6419 | return (_glptr_MultiTexCoord3ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3ivARB)); |
| 6420 | } |
| 6421 | |
| 6422 | static INLINE void SET_MultiTexCoord3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6423 | SET_by_offset(disp, _gloffset_MultiTexCoord3ivARB, fn); |
| 6424 | } |
| 6425 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6426 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sARB)(GLenum, GLshort, GLshort, GLshort); |
| 6427 | #define CALL_MultiTexCoord3sARB(disp, parameters) \ |
| 6428 | (* GET_MultiTexCoord3sARB(disp)) parameters |
| 6429 | static INLINE _glptr_MultiTexCoord3sARB GET_MultiTexCoord3sARB(struct _glapi_table *disp) { |
| 6430 | return (_glptr_MultiTexCoord3sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3sARB)); |
| 6431 | } |
| 6432 | |
| 6433 | static INLINE void SET_MultiTexCoord3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6434 | SET_by_offset(disp, _gloffset_MultiTexCoord3sARB, fn); |
| 6435 | } |
| 6436 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6437 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord3svARB)(GLenum, const GLshort *); |
| 6438 | #define CALL_MultiTexCoord3svARB(disp, parameters) \ |
| 6439 | (* GET_MultiTexCoord3svARB(disp)) parameters |
| 6440 | static INLINE _glptr_MultiTexCoord3svARB GET_MultiTexCoord3svARB(struct _glapi_table *disp) { |
| 6441 | return (_glptr_MultiTexCoord3svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3svARB)); |
| 6442 | } |
| 6443 | |
| 6444 | static INLINE void SET_MultiTexCoord3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6445 | SET_by_offset(disp, _gloffset_MultiTexCoord3svARB, fn); |
| 6446 | } |
| 6447 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6448 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dARB)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble); |
| 6449 | #define CALL_MultiTexCoord4dARB(disp, parameters) \ |
| 6450 | (* GET_MultiTexCoord4dARB(disp)) parameters |
| 6451 | static INLINE _glptr_MultiTexCoord4dARB GET_MultiTexCoord4dARB(struct _glapi_table *disp) { |
| 6452 | return (_glptr_MultiTexCoord4dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dARB)); |
| 6453 | } |
| 6454 | |
| 6455 | static INLINE void SET_MultiTexCoord4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6456 | SET_by_offset(disp, _gloffset_MultiTexCoord4dARB, fn); |
| 6457 | } |
| 6458 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6459 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dvARB)(GLenum, const GLdouble *); |
| 6460 | #define CALL_MultiTexCoord4dvARB(disp, parameters) \ |
| 6461 | (* GET_MultiTexCoord4dvARB(disp)) parameters |
| 6462 | static INLINE _glptr_MultiTexCoord4dvARB GET_MultiTexCoord4dvARB(struct _glapi_table *disp) { |
| 6463 | return (_glptr_MultiTexCoord4dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dvARB)); |
| 6464 | } |
| 6465 | |
| 6466 | static INLINE void SET_MultiTexCoord4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6467 | SET_by_offset(disp, _gloffset_MultiTexCoord4dvARB, fn); |
| 6468 | } |
| 6469 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6470 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat); |
| 6471 | #define CALL_MultiTexCoord4fARB(disp, parameters) \ |
| 6472 | (* GET_MultiTexCoord4fARB(disp)) parameters |
| 6473 | static INLINE _glptr_MultiTexCoord4fARB GET_MultiTexCoord4fARB(struct _glapi_table *disp) { |
| 6474 | return (_glptr_MultiTexCoord4fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fARB)); |
| 6475 | } |
| 6476 | |
| 6477 | static INLINE void SET_MultiTexCoord4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6478 | SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn); |
| 6479 | } |
| 6480 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6481 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB)(GLenum, const GLfloat *); |
| 6482 | #define CALL_MultiTexCoord4fvARB(disp, parameters) \ |
| 6483 | (* GET_MultiTexCoord4fvARB(disp)) parameters |
| 6484 | static INLINE _glptr_MultiTexCoord4fvARB GET_MultiTexCoord4fvARB(struct _glapi_table *disp) { |
| 6485 | return (_glptr_MultiTexCoord4fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fvARB)); |
| 6486 | } |
| 6487 | |
| 6488 | static INLINE void SET_MultiTexCoord4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6489 | SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn); |
| 6490 | } |
| 6491 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6492 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iARB)(GLenum, GLint, GLint, GLint, GLint); |
| 6493 | #define CALL_MultiTexCoord4iARB(disp, parameters) \ |
| 6494 | (* GET_MultiTexCoord4iARB(disp)) parameters |
| 6495 | static INLINE _glptr_MultiTexCoord4iARB GET_MultiTexCoord4iARB(struct _glapi_table *disp) { |
| 6496 | return (_glptr_MultiTexCoord4iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4iARB)); |
| 6497 | } |
| 6498 | |
| 6499 | static INLINE void SET_MultiTexCoord4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6500 | SET_by_offset(disp, _gloffset_MultiTexCoord4iARB, fn); |
| 6501 | } |
| 6502 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6503 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4ivARB)(GLenum, const GLint *); |
| 6504 | #define CALL_MultiTexCoord4ivARB(disp, parameters) \ |
| 6505 | (* GET_MultiTexCoord4ivARB(disp)) parameters |
| 6506 | static INLINE _glptr_MultiTexCoord4ivARB GET_MultiTexCoord4ivARB(struct _glapi_table *disp) { |
| 6507 | return (_glptr_MultiTexCoord4ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4ivARB)); |
| 6508 | } |
| 6509 | |
| 6510 | static INLINE void SET_MultiTexCoord4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6511 | SET_by_offset(disp, _gloffset_MultiTexCoord4ivARB, fn); |
| 6512 | } |
| 6513 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6514 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort); |
| 6515 | #define CALL_MultiTexCoord4sARB(disp, parameters) \ |
| 6516 | (* GET_MultiTexCoord4sARB(disp)) parameters |
| 6517 | static INLINE _glptr_MultiTexCoord4sARB GET_MultiTexCoord4sARB(struct _glapi_table *disp) { |
| 6518 | return (_glptr_MultiTexCoord4sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4sARB)); |
| 6519 | } |
| 6520 | |
| 6521 | static INLINE void SET_MultiTexCoord4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6522 | SET_by_offset(disp, _gloffset_MultiTexCoord4sARB, fn); |
| 6523 | } |
| 6524 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6525 | typedef void (GLAPIENTRYP _glptr_MultiTexCoord4svARB)(GLenum, const GLshort *); |
| 6526 | #define CALL_MultiTexCoord4svARB(disp, parameters) \ |
| 6527 | (* GET_MultiTexCoord4svARB(disp)) parameters |
| 6528 | static INLINE _glptr_MultiTexCoord4svARB GET_MultiTexCoord4svARB(struct _glapi_table *disp) { |
| 6529 | return (_glptr_MultiTexCoord4svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4svARB)); |
| 6530 | } |
| 6531 | |
| 6532 | static INLINE void SET_MultiTexCoord4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6533 | SET_by_offset(disp, _gloffset_MultiTexCoord4svARB, fn); |
| 6534 | } |
| 6535 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6536 | typedef void (GLAPIENTRYP _glptr_AttachShader)(GLuint, GLuint); |
| 6537 | #define CALL_AttachShader(disp, parameters) \ |
| 6538 | (* GET_AttachShader(disp)) parameters |
| 6539 | static INLINE _glptr_AttachShader GET_AttachShader(struct _glapi_table *disp) { |
| 6540 | return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader)); |
| 6541 | } |
| 6542 | |
| 6543 | static INLINE void SET_AttachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6544 | SET_by_offset(disp, _gloffset_AttachShader, fn); |
| 6545 | } |
| 6546 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6547 | typedef GLuint (GLAPIENTRYP _glptr_CreateProgram)(void); |
| 6548 | #define CALL_CreateProgram(disp, parameters) \ |
| 6549 | (* GET_CreateProgram(disp)) parameters |
| 6550 | static INLINE _glptr_CreateProgram GET_CreateProgram(struct _glapi_table *disp) { |
| 6551 | return (_glptr_CreateProgram) (GET_by_offset(disp, _gloffset_CreateProgram)); |
| 6552 | } |
| 6553 | |
| 6554 | static INLINE void SET_CreateProgram(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6555 | SET_by_offset(disp, _gloffset_CreateProgram, fn); |
| 6556 | } |
| 6557 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6558 | typedef GLuint (GLAPIENTRYP _glptr_CreateShader)(GLenum); |
| 6559 | #define CALL_CreateShader(disp, parameters) \ |
| 6560 | (* GET_CreateShader(disp)) parameters |
| 6561 | static INLINE _glptr_CreateShader GET_CreateShader(struct _glapi_table *disp) { |
| 6562 | return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader)); |
| 6563 | } |
| 6564 | |
| 6565 | static INLINE void SET_CreateShader(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6566 | SET_by_offset(disp, _gloffset_CreateShader, fn); |
| 6567 | } |
| 6568 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6569 | typedef void (GLAPIENTRYP _glptr_DeleteProgram)(GLuint); |
| 6570 | #define CALL_DeleteProgram(disp, parameters) \ |
| 6571 | (* GET_DeleteProgram(disp)) parameters |
| 6572 | static INLINE _glptr_DeleteProgram GET_DeleteProgram(struct _glapi_table *disp) { |
| 6573 | return (_glptr_DeleteProgram) (GET_by_offset(disp, _gloffset_DeleteProgram)); |
| 6574 | } |
| 6575 | |
| 6576 | static INLINE void SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6577 | SET_by_offset(disp, _gloffset_DeleteProgram, fn); |
| 6578 | } |
| 6579 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6580 | typedef void (GLAPIENTRYP _glptr_DeleteShader)(GLuint); |
| 6581 | #define CALL_DeleteShader(disp, parameters) \ |
| 6582 | (* GET_DeleteShader(disp)) parameters |
| 6583 | static INLINE _glptr_DeleteShader GET_DeleteShader(struct _glapi_table *disp) { |
| 6584 | return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader)); |
| 6585 | } |
| 6586 | |
| 6587 | static INLINE void SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6588 | SET_by_offset(disp, _gloffset_DeleteShader, fn); |
| 6589 | } |
| 6590 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6591 | typedef void (GLAPIENTRYP _glptr_DetachShader)(GLuint, GLuint); |
| 6592 | #define CALL_DetachShader(disp, parameters) \ |
| 6593 | (* GET_DetachShader(disp)) parameters |
| 6594 | static INLINE _glptr_DetachShader GET_DetachShader(struct _glapi_table *disp) { |
| 6595 | return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader)); |
| 6596 | } |
| 6597 | |
| 6598 | static INLINE void SET_DetachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6599 | SET_by_offset(disp, _gloffset_DetachShader, fn); |
| 6600 | } |
| 6601 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6602 | typedef void (GLAPIENTRYP _glptr_GetAttachedShaders)(GLuint, GLsizei, GLsizei *, GLuint *); |
| 6603 | #define CALL_GetAttachedShaders(disp, parameters) \ |
| 6604 | (* GET_GetAttachedShaders(disp)) parameters |
| 6605 | static INLINE _glptr_GetAttachedShaders GET_GetAttachedShaders(struct _glapi_table *disp) { |
| 6606 | return (_glptr_GetAttachedShaders) (GET_by_offset(disp, _gloffset_GetAttachedShaders)); |
| 6607 | } |
| 6608 | |
| 6609 | static INLINE void SET_GetAttachedShaders(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6610 | SET_by_offset(disp, _gloffset_GetAttachedShaders, fn); |
| 6611 | } |
| 6612 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6613 | typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *); |
| 6614 | #define CALL_GetProgramInfoLog(disp, parameters) \ |
| 6615 | (* GET_GetProgramInfoLog(disp)) parameters |
| 6616 | static INLINE _glptr_GetProgramInfoLog GET_GetProgramInfoLog(struct _glapi_table *disp) { |
| 6617 | return (_glptr_GetProgramInfoLog) (GET_by_offset(disp, _gloffset_GetProgramInfoLog)); |
| 6618 | } |
| 6619 | |
| 6620 | static INLINE void SET_GetProgramInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6621 | SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn); |
| 6622 | } |
| 6623 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6624 | typedef void (GLAPIENTRYP _glptr_GetProgramiv)(GLuint, GLenum, GLint *); |
| 6625 | #define CALL_GetProgramiv(disp, parameters) \ |
| 6626 | (* GET_GetProgramiv(disp)) parameters |
| 6627 | static INLINE _glptr_GetProgramiv GET_GetProgramiv(struct _glapi_table *disp) { |
| 6628 | return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv)); |
| 6629 | } |
| 6630 | |
| 6631 | static INLINE void SET_GetProgramiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6632 | SET_by_offset(disp, _gloffset_GetProgramiv, fn); |
| 6633 | } |
| 6634 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6635 | typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *); |
| 6636 | #define CALL_GetShaderInfoLog(disp, parameters) \ |
| 6637 | (* GET_GetShaderInfoLog(disp)) parameters |
| 6638 | static INLINE _glptr_GetShaderInfoLog GET_GetShaderInfoLog(struct _glapi_table *disp) { |
| 6639 | return (_glptr_GetShaderInfoLog) (GET_by_offset(disp, _gloffset_GetShaderInfoLog)); |
| 6640 | } |
| 6641 | |
| 6642 | static INLINE void SET_GetShaderInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6643 | SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn); |
| 6644 | } |
| 6645 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6646 | typedef void (GLAPIENTRYP _glptr_GetShaderiv)(GLuint, GLenum, GLint *); |
| 6647 | #define CALL_GetShaderiv(disp, parameters) \ |
| 6648 | (* GET_GetShaderiv(disp)) parameters |
| 6649 | static INLINE _glptr_GetShaderiv GET_GetShaderiv(struct _glapi_table *disp) { |
| 6650 | return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv)); |
| 6651 | } |
| 6652 | |
| 6653 | static INLINE void SET_GetShaderiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6654 | SET_by_offset(disp, _gloffset_GetShaderiv, fn); |
| 6655 | } |
| 6656 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6657 | typedef GLboolean (GLAPIENTRYP _glptr_IsProgram)(GLuint); |
| 6658 | #define CALL_IsProgram(disp, parameters) \ |
| 6659 | (* GET_IsProgram(disp)) parameters |
| 6660 | static INLINE _glptr_IsProgram GET_IsProgram(struct _glapi_table *disp) { |
| 6661 | return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram)); |
| 6662 | } |
| 6663 | |
| 6664 | static INLINE void SET_IsProgram(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6665 | SET_by_offset(disp, _gloffset_IsProgram, fn); |
| 6666 | } |
| 6667 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6668 | typedef GLboolean (GLAPIENTRYP _glptr_IsShader)(GLuint); |
| 6669 | #define CALL_IsShader(disp, parameters) \ |
| 6670 | (* GET_IsShader(disp)) parameters |
| 6671 | static INLINE _glptr_IsShader GET_IsShader(struct _glapi_table *disp) { |
| 6672 | return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader)); |
| 6673 | } |
| 6674 | |
| 6675 | static INLINE void SET_IsShader(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6676 | SET_by_offset(disp, _gloffset_IsShader, fn); |
| 6677 | } |
| 6678 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6679 | typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate)(GLenum, GLenum, GLint, GLuint); |
| 6680 | #define CALL_StencilFuncSeparate(disp, parameters) \ |
| 6681 | (* GET_StencilFuncSeparate(disp)) parameters |
| 6682 | static INLINE _glptr_StencilFuncSeparate GET_StencilFuncSeparate(struct _glapi_table *disp) { |
| 6683 | return (_glptr_StencilFuncSeparate) (GET_by_offset(disp, _gloffset_StencilFuncSeparate)); |
| 6684 | } |
| 6685 | |
| 6686 | static INLINE void SET_StencilFuncSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6687 | SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn); |
| 6688 | } |
| 6689 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6690 | typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate)(GLenum, GLuint); |
| 6691 | #define CALL_StencilMaskSeparate(disp, parameters) \ |
| 6692 | (* GET_StencilMaskSeparate(disp)) parameters |
| 6693 | static INLINE _glptr_StencilMaskSeparate GET_StencilMaskSeparate(struct _glapi_table *disp) { |
| 6694 | return (_glptr_StencilMaskSeparate) (GET_by_offset(disp, _gloffset_StencilMaskSeparate)); |
| 6695 | } |
| 6696 | |
| 6697 | static INLINE void SET_StencilMaskSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6698 | SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn); |
| 6699 | } |
| 6700 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6701 | typedef void (GLAPIENTRYP _glptr_StencilOpSeparate)(GLenum, GLenum, GLenum, GLenum); |
| 6702 | #define CALL_StencilOpSeparate(disp, parameters) \ |
| 6703 | (* GET_StencilOpSeparate(disp)) parameters |
| 6704 | static INLINE _glptr_StencilOpSeparate GET_StencilOpSeparate(struct _glapi_table *disp) { |
| 6705 | return (_glptr_StencilOpSeparate) (GET_by_offset(disp, _gloffset_StencilOpSeparate)); |
| 6706 | } |
| 6707 | |
| 6708 | static INLINE void SET_StencilOpSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6709 | SET_by_offset(disp, _gloffset_StencilOpSeparate, fn); |
| 6710 | } |
| 6711 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6712 | typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6713 | #define CALL_UniformMatrix2x3fv(disp, parameters) \ |
| 6714 | (* GET_UniformMatrix2x3fv(disp)) parameters |
| 6715 | static INLINE _glptr_UniformMatrix2x3fv GET_UniformMatrix2x3fv(struct _glapi_table *disp) { |
| 6716 | return (_glptr_UniformMatrix2x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x3fv)); |
| 6717 | } |
| 6718 | |
| 6719 | static INLINE void SET_UniformMatrix2x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6720 | SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn); |
| 6721 | } |
| 6722 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6723 | typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6724 | #define CALL_UniformMatrix2x4fv(disp, parameters) \ |
| 6725 | (* GET_UniformMatrix2x4fv(disp)) parameters |
| 6726 | static INLINE _glptr_UniformMatrix2x4fv GET_UniformMatrix2x4fv(struct _glapi_table *disp) { |
| 6727 | return (_glptr_UniformMatrix2x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x4fv)); |
| 6728 | } |
| 6729 | |
| 6730 | static INLINE void SET_UniformMatrix2x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6731 | SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn); |
| 6732 | } |
| 6733 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6734 | typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6735 | #define CALL_UniformMatrix3x2fv(disp, parameters) \ |
| 6736 | (* GET_UniformMatrix3x2fv(disp)) parameters |
| 6737 | static INLINE _glptr_UniformMatrix3x2fv GET_UniformMatrix3x2fv(struct _glapi_table *disp) { |
| 6738 | return (_glptr_UniformMatrix3x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x2fv)); |
| 6739 | } |
| 6740 | |
| 6741 | static INLINE void SET_UniformMatrix3x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6742 | SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn); |
| 6743 | } |
| 6744 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6745 | typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6746 | #define CALL_UniformMatrix3x4fv(disp, parameters) \ |
| 6747 | (* GET_UniformMatrix3x4fv(disp)) parameters |
| 6748 | static INLINE _glptr_UniformMatrix3x4fv GET_UniformMatrix3x4fv(struct _glapi_table *disp) { |
| 6749 | return (_glptr_UniformMatrix3x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x4fv)); |
| 6750 | } |
| 6751 | |
| 6752 | static INLINE void SET_UniformMatrix3x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6753 | SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn); |
| 6754 | } |
| 6755 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6756 | typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6757 | #define CALL_UniformMatrix4x2fv(disp, parameters) \ |
| 6758 | (* GET_UniformMatrix4x2fv(disp)) parameters |
| 6759 | static INLINE _glptr_UniformMatrix4x2fv GET_UniformMatrix4x2fv(struct _glapi_table *disp) { |
| 6760 | return (_glptr_UniformMatrix4x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x2fv)); |
| 6761 | } |
| 6762 | |
| 6763 | static INLINE void SET_UniformMatrix4x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6764 | SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn); |
| 6765 | } |
| 6766 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6767 | typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 6768 | #define CALL_UniformMatrix4x3fv(disp, parameters) \ |
| 6769 | (* GET_UniformMatrix4x3fv(disp)) parameters |
| 6770 | static INLINE _glptr_UniformMatrix4x3fv GET_UniformMatrix4x3fv(struct _glapi_table *disp) { |
| 6771 | return (_glptr_UniformMatrix4x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x3fv)); |
| 6772 | } |
| 6773 | |
| 6774 | static INLINE void SET_UniformMatrix4x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6775 | SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn); |
| 6776 | } |
| 6777 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6778 | typedef void (GLAPIENTRYP _glptr_ClampColor)(GLenum, GLenum); |
| 6779 | #define CALL_ClampColor(disp, parameters) \ |
| 6780 | (* GET_ClampColor(disp)) parameters |
| 6781 | static INLINE _glptr_ClampColor GET_ClampColor(struct _glapi_table *disp) { |
| 6782 | return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor)); |
| 6783 | } |
| 6784 | |
| 6785 | static INLINE void SET_ClampColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6786 | SET_by_offset(disp, _gloffset_ClampColor, fn); |
| 6787 | } |
| 6788 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6789 | typedef void (GLAPIENTRYP _glptr_ClearBufferfi)(GLenum, GLint, GLfloat, GLint); |
| 6790 | #define CALL_ClearBufferfi(disp, parameters) \ |
| 6791 | (* GET_ClearBufferfi(disp)) parameters |
| 6792 | static INLINE _glptr_ClearBufferfi GET_ClearBufferfi(struct _glapi_table *disp) { |
| 6793 | return (_glptr_ClearBufferfi) (GET_by_offset(disp, _gloffset_ClearBufferfi)); |
| 6794 | } |
| 6795 | |
| 6796 | static INLINE void SET_ClearBufferfi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLfloat, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6797 | SET_by_offset(disp, _gloffset_ClearBufferfi, fn); |
| 6798 | } |
| 6799 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6800 | typedef void (GLAPIENTRYP _glptr_ClearBufferfv)(GLenum, GLint, const GLfloat *); |
| 6801 | #define CALL_ClearBufferfv(disp, parameters) \ |
| 6802 | (* GET_ClearBufferfv(disp)) parameters |
| 6803 | static INLINE _glptr_ClearBufferfv GET_ClearBufferfv(struct _glapi_table *disp) { |
| 6804 | return (_glptr_ClearBufferfv) (GET_by_offset(disp, _gloffset_ClearBufferfv)); |
| 6805 | } |
| 6806 | |
| 6807 | static INLINE void SET_ClearBufferfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6808 | SET_by_offset(disp, _gloffset_ClearBufferfv, fn); |
| 6809 | } |
| 6810 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6811 | typedef void (GLAPIENTRYP _glptr_ClearBufferiv)(GLenum, GLint, const GLint *); |
| 6812 | #define CALL_ClearBufferiv(disp, parameters) \ |
| 6813 | (* GET_ClearBufferiv(disp)) parameters |
| 6814 | static INLINE _glptr_ClearBufferiv GET_ClearBufferiv(struct _glapi_table *disp) { |
| 6815 | return (_glptr_ClearBufferiv) (GET_by_offset(disp, _gloffset_ClearBufferiv)); |
| 6816 | } |
| 6817 | |
| 6818 | static INLINE void SET_ClearBufferiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6819 | SET_by_offset(disp, _gloffset_ClearBufferiv, fn); |
| 6820 | } |
| 6821 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6822 | typedef void (GLAPIENTRYP _glptr_ClearBufferuiv)(GLenum, GLint, const GLuint *); |
| 6823 | #define CALL_ClearBufferuiv(disp, parameters) \ |
| 6824 | (* GET_ClearBufferuiv(disp)) parameters |
| 6825 | static INLINE _glptr_ClearBufferuiv GET_ClearBufferuiv(struct _glapi_table *disp) { |
| 6826 | return (_glptr_ClearBufferuiv) (GET_by_offset(disp, _gloffset_ClearBufferuiv)); |
| 6827 | } |
| 6828 | |
| 6829 | static INLINE void SET_ClearBufferuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6830 | SET_by_offset(disp, _gloffset_ClearBufferuiv, fn); |
| 6831 | } |
| 6832 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6833 | typedef const GLubyte * (GLAPIENTRYP _glptr_GetStringi)(GLenum, GLuint); |
| 6834 | #define CALL_GetStringi(disp, parameters) \ |
| 6835 | (* GET_GetStringi(disp)) parameters |
| 6836 | static INLINE _glptr_GetStringi GET_GetStringi(struct _glapi_table *disp) { |
| 6837 | return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi)); |
| 6838 | } |
| 6839 | |
| 6840 | static INLINE void SET_GetStringi(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6841 | SET_by_offset(disp, _gloffset_GetStringi, fn); |
| 6842 | } |
| 6843 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6844 | typedef void (GLAPIENTRYP _glptr_TexBuffer)(GLenum, GLenum, GLuint); |
| 6845 | #define CALL_TexBuffer(disp, parameters) \ |
| 6846 | (* GET_TexBuffer(disp)) parameters |
| 6847 | static INLINE _glptr_TexBuffer GET_TexBuffer(struct _glapi_table *disp) { |
| 6848 | return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer)); |
| 6849 | } |
| 6850 | |
| 6851 | static INLINE void SET_TexBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6852 | SET_by_offset(disp, _gloffset_TexBuffer, fn); |
| 6853 | } |
| 6854 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6855 | typedef void (GLAPIENTRYP _glptr_FramebufferTexture)(GLenum, GLenum, GLuint, GLint); |
| 6856 | #define CALL_FramebufferTexture(disp, parameters) \ |
| 6857 | (* GET_FramebufferTexture(disp)) parameters |
| 6858 | static INLINE _glptr_FramebufferTexture GET_FramebufferTexture(struct _glapi_table *disp) { |
| 6859 | return (_glptr_FramebufferTexture) (GET_by_offset(disp, _gloffset_FramebufferTexture)); |
| 6860 | } |
| 6861 | |
| 6862 | static INLINE void SET_FramebufferTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6863 | SET_by_offset(disp, _gloffset_FramebufferTexture, fn); |
| 6864 | } |
| 6865 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6866 | typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v)(GLenum, GLenum, GLint64 *); |
| 6867 | #define CALL_GetBufferParameteri64v(disp, parameters) \ |
| 6868 | (* GET_GetBufferParameteri64v(disp)) parameters |
| 6869 | static INLINE _glptr_GetBufferParameteri64v GET_GetBufferParameteri64v(struct _glapi_table *disp) { |
| 6870 | return (_glptr_GetBufferParameteri64v) (GET_by_offset(disp, _gloffset_GetBufferParameteri64v)); |
| 6871 | } |
| 6872 | |
| 6873 | static INLINE void SET_GetBufferParameteri64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint64 *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6874 | SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn); |
| 6875 | } |
| 6876 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6877 | typedef void (GLAPIENTRYP _glptr_GetInteger64i_v)(GLenum, GLuint, GLint64 *); |
| 6878 | #define CALL_GetInteger64i_v(disp, parameters) \ |
| 6879 | (* GET_GetInteger64i_v(disp)) parameters |
| 6880 | static INLINE _glptr_GetInteger64i_v GET_GetInteger64i_v(struct _glapi_table *disp) { |
| 6881 | return (_glptr_GetInteger64i_v) (GET_by_offset(disp, _gloffset_GetInteger64i_v)); |
| 6882 | } |
| 6883 | |
| 6884 | static INLINE void SET_GetInteger64i_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint64 *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6885 | SET_by_offset(disp, _gloffset_GetInteger64i_v, fn); |
| 6886 | } |
| 6887 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6888 | typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor)(GLuint, GLuint); |
| 6889 | #define CALL_VertexAttribDivisor(disp, parameters) \ |
| 6890 | (* GET_VertexAttribDivisor(disp)) parameters |
| 6891 | static INLINE _glptr_VertexAttribDivisor GET_VertexAttribDivisor(struct _glapi_table *disp) { |
| 6892 | return (_glptr_VertexAttribDivisor) (GET_by_offset(disp, _gloffset_VertexAttribDivisor)); |
| 6893 | } |
| 6894 | |
| 6895 | static INLINE void SET_VertexAttribDivisor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6896 | SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn); |
| 6897 | } |
| 6898 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6899 | typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixdARB)(const GLdouble *); |
| 6900 | #define CALL_LoadTransposeMatrixdARB(disp, parameters) \ |
| 6901 | (* GET_LoadTransposeMatrixdARB(disp)) parameters |
| 6902 | static INLINE _glptr_LoadTransposeMatrixdARB GET_LoadTransposeMatrixdARB(struct _glapi_table *disp) { |
| 6903 | return (_glptr_LoadTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB)); |
| 6904 | } |
| 6905 | |
| 6906 | static INLINE void SET_LoadTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6907 | SET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB, fn); |
| 6908 | } |
| 6909 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6910 | typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixfARB)(const GLfloat *); |
| 6911 | #define CALL_LoadTransposeMatrixfARB(disp, parameters) \ |
| 6912 | (* GET_LoadTransposeMatrixfARB(disp)) parameters |
| 6913 | static INLINE _glptr_LoadTransposeMatrixfARB GET_LoadTransposeMatrixfARB(struct _glapi_table *disp) { |
| 6914 | return (_glptr_LoadTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB)); |
| 6915 | } |
| 6916 | |
| 6917 | static INLINE void SET_LoadTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6918 | SET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB, fn); |
| 6919 | } |
| 6920 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6921 | typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixdARB)(const GLdouble *); |
| 6922 | #define CALL_MultTransposeMatrixdARB(disp, parameters) \ |
| 6923 | (* GET_MultTransposeMatrixdARB(disp)) parameters |
| 6924 | static INLINE _glptr_MultTransposeMatrixdARB GET_MultTransposeMatrixdARB(struct _glapi_table *disp) { |
| 6925 | return (_glptr_MultTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixdARB)); |
| 6926 | } |
| 6927 | |
| 6928 | static INLINE void SET_MultTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6929 | SET_by_offset(disp, _gloffset_MultTransposeMatrixdARB, fn); |
| 6930 | } |
| 6931 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6932 | typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixfARB)(const GLfloat *); |
| 6933 | #define CALL_MultTransposeMatrixfARB(disp, parameters) \ |
| 6934 | (* GET_MultTransposeMatrixfARB(disp)) parameters |
| 6935 | static INLINE _glptr_MultTransposeMatrixfARB GET_MultTransposeMatrixfARB(struct _glapi_table *disp) { |
| 6936 | return (_glptr_MultTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixfARB)); |
| 6937 | } |
| 6938 | |
| 6939 | static INLINE void SET_MultTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6940 | SET_by_offset(disp, _gloffset_MultTransposeMatrixfARB, fn); |
| 6941 | } |
| 6942 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6943 | typedef void (GLAPIENTRYP _glptr_SampleCoverageARB)(GLclampf, GLboolean); |
| 6944 | #define CALL_SampleCoverageARB(disp, parameters) \ |
| 6945 | (* GET_SampleCoverageARB(disp)) parameters |
| 6946 | static INLINE _glptr_SampleCoverageARB GET_SampleCoverageARB(struct _glapi_table *disp) { |
| 6947 | return (_glptr_SampleCoverageARB) (GET_by_offset(disp, _gloffset_SampleCoverageARB)); |
| 6948 | } |
| 6949 | |
| 6950 | static INLINE void SET_SampleCoverageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6951 | SET_by_offset(disp, _gloffset_SampleCoverageARB, fn); |
| 6952 | } |
| 6953 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6954 | typedef void (GLAPIENTRYP _glptr_CompressedTexImage1DARB)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); |
| 6955 | #define CALL_CompressedTexImage1DARB(disp, parameters) \ |
| 6956 | (* GET_CompressedTexImage1DARB(disp)) parameters |
| 6957 | static INLINE _glptr_CompressedTexImage1DARB GET_CompressedTexImage1DARB(struct _glapi_table *disp) { |
| 6958 | return (_glptr_CompressedTexImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage1DARB)); |
| 6959 | } |
| 6960 | |
| 6961 | static INLINE void SET_CompressedTexImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6962 | SET_by_offset(disp, _gloffset_CompressedTexImage1DARB, fn); |
| 6963 | } |
| 6964 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6965 | typedef void (GLAPIENTRYP _glptr_CompressedTexImage2DARB)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); |
| 6966 | #define CALL_CompressedTexImage2DARB(disp, parameters) \ |
| 6967 | (* GET_CompressedTexImage2DARB(disp)) parameters |
| 6968 | static INLINE _glptr_CompressedTexImage2DARB GET_CompressedTexImage2DARB(struct _glapi_table *disp) { |
| 6969 | return (_glptr_CompressedTexImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage2DARB)); |
| 6970 | } |
| 6971 | |
| 6972 | static INLINE void SET_CompressedTexImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6973 | SET_by_offset(disp, _gloffset_CompressedTexImage2DARB, fn); |
| 6974 | } |
| 6975 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6976 | typedef void (GLAPIENTRYP _glptr_CompressedTexImage3DARB)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); |
| 6977 | #define CALL_CompressedTexImage3DARB(disp, parameters) \ |
| 6978 | (* GET_CompressedTexImage3DARB(disp)) parameters |
| 6979 | static INLINE _glptr_CompressedTexImage3DARB GET_CompressedTexImage3DARB(struct _glapi_table *disp) { |
| 6980 | return (_glptr_CompressedTexImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage3DARB)); |
| 6981 | } |
| 6982 | |
| 6983 | static INLINE void SET_CompressedTexImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6984 | SET_by_offset(disp, _gloffset_CompressedTexImage3DARB, fn); |
| 6985 | } |
| 6986 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6987 | typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1DARB)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); |
| 6988 | #define CALL_CompressedTexSubImage1DARB(disp, parameters) \ |
| 6989 | (* GET_CompressedTexSubImage1DARB(disp)) parameters |
| 6990 | static INLINE _glptr_CompressedTexSubImage1DARB GET_CompressedTexSubImage1DARB(struct _glapi_table *disp) { |
| 6991 | return (_glptr_CompressedTexSubImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB)); |
| 6992 | } |
| 6993 | |
| 6994 | static INLINE void SET_CompressedTexSubImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 6995 | SET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB, fn); |
| 6996 | } |
| 6997 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 6998 | typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2DARB)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); |
| 6999 | #define CALL_CompressedTexSubImage2DARB(disp, parameters) \ |
| 7000 | (* GET_CompressedTexSubImage2DARB(disp)) parameters |
| 7001 | static INLINE _glptr_CompressedTexSubImage2DARB GET_CompressedTexSubImage2DARB(struct _glapi_table *disp) { |
| 7002 | return (_glptr_CompressedTexSubImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB)); |
| 7003 | } |
| 7004 | |
| 7005 | static INLINE void SET_CompressedTexSubImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7006 | SET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB, fn); |
| 7007 | } |
| 7008 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7009 | typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3DARB)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); |
| 7010 | #define CALL_CompressedTexSubImage3DARB(disp, parameters) \ |
| 7011 | (* GET_CompressedTexSubImage3DARB(disp)) parameters |
| 7012 | static INLINE _glptr_CompressedTexSubImage3DARB GET_CompressedTexSubImage3DARB(struct _glapi_table *disp) { |
| 7013 | return (_glptr_CompressedTexSubImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB)); |
| 7014 | } |
| 7015 | |
| 7016 | static INLINE void SET_CompressedTexSubImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7017 | SET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB, fn); |
| 7018 | } |
| 7019 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7020 | typedef void (GLAPIENTRYP _glptr_GetCompressedTexImageARB)(GLenum, GLint, GLvoid *); |
| 7021 | #define CALL_GetCompressedTexImageARB(disp, parameters) \ |
| 7022 | (* GET_GetCompressedTexImageARB(disp)) parameters |
| 7023 | static INLINE _glptr_GetCompressedTexImageARB GET_GetCompressedTexImageARB(struct _glapi_table *disp) { |
| 7024 | return (_glptr_GetCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetCompressedTexImageARB)); |
| 7025 | } |
| 7026 | |
| 7027 | static INLINE void SET_GetCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7028 | SET_by_offset(disp, _gloffset_GetCompressedTexImageARB, fn); |
| 7029 | } |
| 7030 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7031 | typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArrayARB)(GLuint); |
| 7032 | #define CALL_DisableVertexAttribArrayARB(disp, parameters) \ |
| 7033 | (* GET_DisableVertexAttribArrayARB(disp)) parameters |
| 7034 | static INLINE _glptr_DisableVertexAttribArrayARB GET_DisableVertexAttribArrayARB(struct _glapi_table *disp) { |
| 7035 | return (_glptr_DisableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB)); |
| 7036 | } |
| 7037 | |
| 7038 | static INLINE void SET_DisableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7039 | SET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB, fn); |
| 7040 | } |
| 7041 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7042 | typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArrayARB)(GLuint); |
| 7043 | #define CALL_EnableVertexAttribArrayARB(disp, parameters) \ |
| 7044 | (* GET_EnableVertexAttribArrayARB(disp)) parameters |
| 7045 | static INLINE _glptr_EnableVertexAttribArrayARB GET_EnableVertexAttribArrayARB(struct _glapi_table *disp) { |
| 7046 | return (_glptr_EnableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB)); |
| 7047 | } |
| 7048 | |
| 7049 | static INLINE void SET_EnableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7050 | SET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB, fn); |
| 7051 | } |
| 7052 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7053 | typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB)(GLenum, GLuint, GLdouble *); |
| 7054 | #define CALL_GetProgramEnvParameterdvARB(disp, parameters) \ |
| 7055 | (* GET_GetProgramEnvParameterdvARB(disp)) parameters |
| 7056 | static INLINE _glptr_GetProgramEnvParameterdvARB GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp) { |
| 7057 | return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB)); |
| 7058 | } |
| 7059 | |
| 7060 | static INLINE void SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7061 | SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn); |
| 7062 | } |
| 7063 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7064 | typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB)(GLenum, GLuint, GLfloat *); |
| 7065 | #define CALL_GetProgramEnvParameterfvARB(disp, parameters) \ |
| 7066 | (* GET_GetProgramEnvParameterfvARB(disp)) parameters |
| 7067 | static INLINE _glptr_GetProgramEnvParameterfvARB GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp) { |
| 7068 | return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB)); |
| 7069 | } |
| 7070 | |
| 7071 | static INLINE void SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7072 | SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn); |
| 7073 | } |
| 7074 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7075 | typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB)(GLenum, GLuint, GLdouble *); |
| 7076 | #define CALL_GetProgramLocalParameterdvARB(disp, parameters) \ |
| 7077 | (* GET_GetProgramLocalParameterdvARB(disp)) parameters |
| 7078 | static INLINE _glptr_GetProgramLocalParameterdvARB GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp) { |
| 7079 | return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB)); |
| 7080 | } |
| 7081 | |
| 7082 | static INLINE void SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7083 | SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn); |
| 7084 | } |
| 7085 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7086 | typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB)(GLenum, GLuint, GLfloat *); |
| 7087 | #define CALL_GetProgramLocalParameterfvARB(disp, parameters) \ |
| 7088 | (* GET_GetProgramLocalParameterfvARB(disp)) parameters |
| 7089 | static INLINE _glptr_GetProgramLocalParameterfvARB GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp) { |
| 7090 | return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB)); |
| 7091 | } |
| 7092 | |
| 7093 | static INLINE void SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7094 | SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn); |
| 7095 | } |
| 7096 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7097 | typedef void (GLAPIENTRYP _glptr_GetProgramStringARB)(GLenum, GLenum, GLvoid *); |
| 7098 | #define CALL_GetProgramStringARB(disp, parameters) \ |
| 7099 | (* GET_GetProgramStringARB(disp)) parameters |
| 7100 | static INLINE _glptr_GetProgramStringARB GET_GetProgramStringARB(struct _glapi_table *disp) { |
| 7101 | return (_glptr_GetProgramStringARB) (GET_by_offset(disp, _gloffset_GetProgramStringARB)); |
| 7102 | } |
| 7103 | |
| 7104 | static INLINE void SET_GetProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7105 | SET_by_offset(disp, _gloffset_GetProgramStringARB, fn); |
| 7106 | } |
| 7107 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7108 | typedef void (GLAPIENTRYP _glptr_GetProgramivARB)(GLenum, GLenum, GLint *); |
| 7109 | #define CALL_GetProgramivARB(disp, parameters) \ |
| 7110 | (* GET_GetProgramivARB(disp)) parameters |
| 7111 | static INLINE _glptr_GetProgramivARB GET_GetProgramivARB(struct _glapi_table *disp) { |
| 7112 | return (_glptr_GetProgramivARB) (GET_by_offset(disp, _gloffset_GetProgramivARB)); |
| 7113 | } |
| 7114 | |
| 7115 | static INLINE void SET_GetProgramivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7116 | SET_by_offset(disp, _gloffset_GetProgramivARB, fn); |
| 7117 | } |
| 7118 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7119 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvARB)(GLuint, GLenum, GLdouble *); |
| 7120 | #define CALL_GetVertexAttribdvARB(disp, parameters) \ |
| 7121 | (* GET_GetVertexAttribdvARB(disp)) parameters |
| 7122 | static INLINE _glptr_GetVertexAttribdvARB GET_GetVertexAttribdvARB(struct _glapi_table *disp) { |
| 7123 | return (_glptr_GetVertexAttribdvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribdvARB)); |
| 7124 | } |
| 7125 | |
| 7126 | static INLINE void SET_GetVertexAttribdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7127 | SET_by_offset(disp, _gloffset_GetVertexAttribdvARB, fn); |
| 7128 | } |
| 7129 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7130 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvARB)(GLuint, GLenum, GLfloat *); |
| 7131 | #define CALL_GetVertexAttribfvARB(disp, parameters) \ |
| 7132 | (* GET_GetVertexAttribfvARB(disp)) parameters |
| 7133 | static INLINE _glptr_GetVertexAttribfvARB GET_GetVertexAttribfvARB(struct _glapi_table *disp) { |
| 7134 | return (_glptr_GetVertexAttribfvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribfvARB)); |
| 7135 | } |
| 7136 | |
| 7137 | static INLINE void SET_GetVertexAttribfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7138 | SET_by_offset(disp, _gloffset_GetVertexAttribfvARB, fn); |
| 7139 | } |
| 7140 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7141 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribivARB)(GLuint, GLenum, GLint *); |
| 7142 | #define CALL_GetVertexAttribivARB(disp, parameters) \ |
| 7143 | (* GET_GetVertexAttribivARB(disp)) parameters |
| 7144 | static INLINE _glptr_GetVertexAttribivARB GET_GetVertexAttribivARB(struct _glapi_table *disp) { |
| 7145 | return (_glptr_GetVertexAttribivARB) (GET_by_offset(disp, _gloffset_GetVertexAttribivARB)); |
| 7146 | } |
| 7147 | |
| 7148 | static INLINE void SET_GetVertexAttribivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7149 | SET_by_offset(disp, _gloffset_GetVertexAttribivARB, fn); |
| 7150 | } |
| 7151 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7152 | typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); |
| 7153 | #define CALL_ProgramEnvParameter4dARB(disp, parameters) \ |
| 7154 | (* GET_ProgramEnvParameter4dARB(disp)) parameters |
| 7155 | static INLINE _glptr_ProgramEnvParameter4dARB GET_ProgramEnvParameter4dARB(struct _glapi_table *disp) { |
| 7156 | return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB)); |
| 7157 | } |
| 7158 | |
| 7159 | static INLINE void SET_ProgramEnvParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7160 | SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn); |
| 7161 | } |
| 7162 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7163 | typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB)(GLenum, GLuint, const GLdouble *); |
| 7164 | #define CALL_ProgramEnvParameter4dvARB(disp, parameters) \ |
| 7165 | (* GET_ProgramEnvParameter4dvARB(disp)) parameters |
| 7166 | static INLINE _glptr_ProgramEnvParameter4dvARB GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp) { |
| 7167 | return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB)); |
| 7168 | } |
| 7169 | |
| 7170 | static INLINE void SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7171 | SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn); |
| 7172 | } |
| 7173 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7174 | typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); |
| 7175 | #define CALL_ProgramEnvParameter4fARB(disp, parameters) \ |
| 7176 | (* GET_ProgramEnvParameter4fARB(disp)) parameters |
| 7177 | static INLINE _glptr_ProgramEnvParameter4fARB GET_ProgramEnvParameter4fARB(struct _glapi_table *disp) { |
| 7178 | return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB)); |
| 7179 | } |
| 7180 | |
| 7181 | static INLINE void SET_ProgramEnvParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7182 | SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn); |
| 7183 | } |
| 7184 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7185 | typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB)(GLenum, GLuint, const GLfloat *); |
| 7186 | #define CALL_ProgramEnvParameter4fvARB(disp, parameters) \ |
| 7187 | (* GET_ProgramEnvParameter4fvARB(disp)) parameters |
| 7188 | static INLINE _glptr_ProgramEnvParameter4fvARB GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp) { |
| 7189 | return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB)); |
| 7190 | } |
| 7191 | |
| 7192 | static INLINE void SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7193 | SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn); |
| 7194 | } |
| 7195 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7196 | typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); |
| 7197 | #define CALL_ProgramLocalParameter4dARB(disp, parameters) \ |
| 7198 | (* GET_ProgramLocalParameter4dARB(disp)) parameters |
| 7199 | static INLINE _glptr_ProgramLocalParameter4dARB GET_ProgramLocalParameter4dARB(struct _glapi_table *disp) { |
| 7200 | return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB)); |
| 7201 | } |
| 7202 | |
| 7203 | static INLINE void SET_ProgramLocalParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7204 | SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn); |
| 7205 | } |
| 7206 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7207 | typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB)(GLenum, GLuint, const GLdouble *); |
| 7208 | #define CALL_ProgramLocalParameter4dvARB(disp, parameters) \ |
| 7209 | (* GET_ProgramLocalParameter4dvARB(disp)) parameters |
| 7210 | static INLINE _glptr_ProgramLocalParameter4dvARB GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp) { |
| 7211 | return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB)); |
| 7212 | } |
| 7213 | |
| 7214 | static INLINE void SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7215 | SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn); |
| 7216 | } |
| 7217 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7218 | typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); |
| 7219 | #define CALL_ProgramLocalParameter4fARB(disp, parameters) \ |
| 7220 | (* GET_ProgramLocalParameter4fARB(disp)) parameters |
| 7221 | static INLINE _glptr_ProgramLocalParameter4fARB GET_ProgramLocalParameter4fARB(struct _glapi_table *disp) { |
| 7222 | return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB)); |
| 7223 | } |
| 7224 | |
| 7225 | static INLINE void SET_ProgramLocalParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7226 | SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn); |
| 7227 | } |
| 7228 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7229 | typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *); |
| 7230 | #define CALL_ProgramLocalParameter4fvARB(disp, parameters) \ |
| 7231 | (* GET_ProgramLocalParameter4fvARB(disp)) parameters |
| 7232 | static INLINE _glptr_ProgramLocalParameter4fvARB GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp) { |
| 7233 | return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB)); |
| 7234 | } |
| 7235 | |
| 7236 | static INLINE void SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7237 | SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn); |
| 7238 | } |
| 7239 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7240 | typedef void (GLAPIENTRYP _glptr_ProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *); |
| 7241 | #define CALL_ProgramStringARB(disp, parameters) \ |
| 7242 | (* GET_ProgramStringARB(disp)) parameters |
| 7243 | static INLINE _glptr_ProgramStringARB GET_ProgramStringARB(struct _glapi_table *disp) { |
| 7244 | return (_glptr_ProgramStringARB) (GET_by_offset(disp, _gloffset_ProgramStringARB)); |
| 7245 | } |
| 7246 | |
| 7247 | static INLINE void SET_ProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7248 | SET_by_offset(disp, _gloffset_ProgramStringARB, fn); |
| 7249 | } |
| 7250 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7251 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1dARB)(GLuint, GLdouble); |
| 7252 | #define CALL_VertexAttrib1dARB(disp, parameters) \ |
| 7253 | (* GET_VertexAttrib1dARB(disp)) parameters |
| 7254 | static INLINE _glptr_VertexAttrib1dARB GET_VertexAttrib1dARB(struct _glapi_table *disp) { |
| 7255 | return (_glptr_VertexAttrib1dARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dARB)); |
| 7256 | } |
| 7257 | |
| 7258 | static INLINE void SET_VertexAttrib1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7259 | SET_by_offset(disp, _gloffset_VertexAttrib1dARB, fn); |
| 7260 | } |
| 7261 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7262 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvARB)(GLuint, const GLdouble *); |
| 7263 | #define CALL_VertexAttrib1dvARB(disp, parameters) \ |
| 7264 | (* GET_VertexAttrib1dvARB(disp)) parameters |
| 7265 | static INLINE _glptr_VertexAttrib1dvARB GET_VertexAttrib1dvARB(struct _glapi_table *disp) { |
| 7266 | return (_glptr_VertexAttrib1dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dvARB)); |
| 7267 | } |
| 7268 | |
| 7269 | static INLINE void SET_VertexAttrib1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7270 | SET_by_offset(disp, _gloffset_VertexAttrib1dvARB, fn); |
| 7271 | } |
| 7272 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7273 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB)(GLuint, GLfloat); |
| 7274 | #define CALL_VertexAttrib1fARB(disp, parameters) \ |
| 7275 | (* GET_VertexAttrib1fARB(disp)) parameters |
| 7276 | static INLINE _glptr_VertexAttrib1fARB GET_VertexAttrib1fARB(struct _glapi_table *disp) { |
| 7277 | return (_glptr_VertexAttrib1fARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fARB)); |
| 7278 | } |
| 7279 | |
| 7280 | static INLINE void SET_VertexAttrib1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7281 | SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn); |
| 7282 | } |
| 7283 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7284 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB)(GLuint, const GLfloat *); |
| 7285 | #define CALL_VertexAttrib1fvARB(disp, parameters) \ |
| 7286 | (* GET_VertexAttrib1fvARB(disp)) parameters |
| 7287 | static INLINE _glptr_VertexAttrib1fvARB GET_VertexAttrib1fvARB(struct _glapi_table *disp) { |
| 7288 | return (_glptr_VertexAttrib1fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fvARB)); |
| 7289 | } |
| 7290 | |
| 7291 | static INLINE void SET_VertexAttrib1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7292 | SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn); |
| 7293 | } |
| 7294 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7295 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1sARB)(GLuint, GLshort); |
| 7296 | #define CALL_VertexAttrib1sARB(disp, parameters) \ |
| 7297 | (* GET_VertexAttrib1sARB(disp)) parameters |
| 7298 | static INLINE _glptr_VertexAttrib1sARB GET_VertexAttrib1sARB(struct _glapi_table *disp) { |
| 7299 | return (_glptr_VertexAttrib1sARB) (GET_by_offset(disp, _gloffset_VertexAttrib1sARB)); |
| 7300 | } |
| 7301 | |
| 7302 | static INLINE void SET_VertexAttrib1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7303 | SET_by_offset(disp, _gloffset_VertexAttrib1sARB, fn); |
| 7304 | } |
| 7305 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7306 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1svARB)(GLuint, const GLshort *); |
| 7307 | #define CALL_VertexAttrib1svARB(disp, parameters) \ |
| 7308 | (* GET_VertexAttrib1svARB(disp)) parameters |
| 7309 | static INLINE _glptr_VertexAttrib1svARB GET_VertexAttrib1svARB(struct _glapi_table *disp) { |
| 7310 | return (_glptr_VertexAttrib1svARB) (GET_by_offset(disp, _gloffset_VertexAttrib1svARB)); |
| 7311 | } |
| 7312 | |
| 7313 | static INLINE void SET_VertexAttrib1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7314 | SET_by_offset(disp, _gloffset_VertexAttrib1svARB, fn); |
| 7315 | } |
| 7316 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7317 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2dARB)(GLuint, GLdouble, GLdouble); |
| 7318 | #define CALL_VertexAttrib2dARB(disp, parameters) \ |
| 7319 | (* GET_VertexAttrib2dARB(disp)) parameters |
| 7320 | static INLINE _glptr_VertexAttrib2dARB GET_VertexAttrib2dARB(struct _glapi_table *disp) { |
| 7321 | return (_glptr_VertexAttrib2dARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dARB)); |
| 7322 | } |
| 7323 | |
| 7324 | static INLINE void SET_VertexAttrib2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7325 | SET_by_offset(disp, _gloffset_VertexAttrib2dARB, fn); |
| 7326 | } |
| 7327 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7328 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvARB)(GLuint, const GLdouble *); |
| 7329 | #define CALL_VertexAttrib2dvARB(disp, parameters) \ |
| 7330 | (* GET_VertexAttrib2dvARB(disp)) parameters |
| 7331 | static INLINE _glptr_VertexAttrib2dvARB GET_VertexAttrib2dvARB(struct _glapi_table *disp) { |
| 7332 | return (_glptr_VertexAttrib2dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dvARB)); |
| 7333 | } |
| 7334 | |
| 7335 | static INLINE void SET_VertexAttrib2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7336 | SET_by_offset(disp, _gloffset_VertexAttrib2dvARB, fn); |
| 7337 | } |
| 7338 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7339 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB)(GLuint, GLfloat, GLfloat); |
| 7340 | #define CALL_VertexAttrib2fARB(disp, parameters) \ |
| 7341 | (* GET_VertexAttrib2fARB(disp)) parameters |
| 7342 | static INLINE _glptr_VertexAttrib2fARB GET_VertexAttrib2fARB(struct _glapi_table *disp) { |
| 7343 | return (_glptr_VertexAttrib2fARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fARB)); |
| 7344 | } |
| 7345 | |
| 7346 | static INLINE void SET_VertexAttrib2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7347 | SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn); |
| 7348 | } |
| 7349 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7350 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB)(GLuint, const GLfloat *); |
| 7351 | #define CALL_VertexAttrib2fvARB(disp, parameters) \ |
| 7352 | (* GET_VertexAttrib2fvARB(disp)) parameters |
| 7353 | static INLINE _glptr_VertexAttrib2fvARB GET_VertexAttrib2fvARB(struct _glapi_table *disp) { |
| 7354 | return (_glptr_VertexAttrib2fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fvARB)); |
| 7355 | } |
| 7356 | |
| 7357 | static INLINE void SET_VertexAttrib2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7358 | SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn); |
| 7359 | } |
| 7360 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7361 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2sARB)(GLuint, GLshort, GLshort); |
| 7362 | #define CALL_VertexAttrib2sARB(disp, parameters) \ |
| 7363 | (* GET_VertexAttrib2sARB(disp)) parameters |
| 7364 | static INLINE _glptr_VertexAttrib2sARB GET_VertexAttrib2sARB(struct _glapi_table *disp) { |
| 7365 | return (_glptr_VertexAttrib2sARB) (GET_by_offset(disp, _gloffset_VertexAttrib2sARB)); |
| 7366 | } |
| 7367 | |
| 7368 | static INLINE void SET_VertexAttrib2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7369 | SET_by_offset(disp, _gloffset_VertexAttrib2sARB, fn); |
| 7370 | } |
| 7371 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7372 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2svARB)(GLuint, const GLshort *); |
| 7373 | #define CALL_VertexAttrib2svARB(disp, parameters) \ |
| 7374 | (* GET_VertexAttrib2svARB(disp)) parameters |
| 7375 | static INLINE _glptr_VertexAttrib2svARB GET_VertexAttrib2svARB(struct _glapi_table *disp) { |
| 7376 | return (_glptr_VertexAttrib2svARB) (GET_by_offset(disp, _gloffset_VertexAttrib2svARB)); |
| 7377 | } |
| 7378 | |
| 7379 | static INLINE void SET_VertexAttrib2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7380 | SET_by_offset(disp, _gloffset_VertexAttrib2svARB, fn); |
| 7381 | } |
| 7382 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7383 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3dARB)(GLuint, GLdouble, GLdouble, GLdouble); |
| 7384 | #define CALL_VertexAttrib3dARB(disp, parameters) \ |
| 7385 | (* GET_VertexAttrib3dARB(disp)) parameters |
| 7386 | static INLINE _glptr_VertexAttrib3dARB GET_VertexAttrib3dARB(struct _glapi_table *disp) { |
| 7387 | return (_glptr_VertexAttrib3dARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dARB)); |
| 7388 | } |
| 7389 | |
| 7390 | static INLINE void SET_VertexAttrib3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7391 | SET_by_offset(disp, _gloffset_VertexAttrib3dARB, fn); |
| 7392 | } |
| 7393 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7394 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvARB)(GLuint, const GLdouble *); |
| 7395 | #define CALL_VertexAttrib3dvARB(disp, parameters) \ |
| 7396 | (* GET_VertexAttrib3dvARB(disp)) parameters |
| 7397 | static INLINE _glptr_VertexAttrib3dvARB GET_VertexAttrib3dvARB(struct _glapi_table *disp) { |
| 7398 | return (_glptr_VertexAttrib3dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dvARB)); |
| 7399 | } |
| 7400 | |
| 7401 | static INLINE void SET_VertexAttrib3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7402 | SET_by_offset(disp, _gloffset_VertexAttrib3dvARB, fn); |
| 7403 | } |
| 7404 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7405 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB)(GLuint, GLfloat, GLfloat, GLfloat); |
| 7406 | #define CALL_VertexAttrib3fARB(disp, parameters) \ |
| 7407 | (* GET_VertexAttrib3fARB(disp)) parameters |
| 7408 | static INLINE _glptr_VertexAttrib3fARB GET_VertexAttrib3fARB(struct _glapi_table *disp) { |
| 7409 | return (_glptr_VertexAttrib3fARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fARB)); |
| 7410 | } |
| 7411 | |
| 7412 | static INLINE void SET_VertexAttrib3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7413 | SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn); |
| 7414 | } |
| 7415 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7416 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB)(GLuint, const GLfloat *); |
| 7417 | #define CALL_VertexAttrib3fvARB(disp, parameters) \ |
| 7418 | (* GET_VertexAttrib3fvARB(disp)) parameters |
| 7419 | static INLINE _glptr_VertexAttrib3fvARB GET_VertexAttrib3fvARB(struct _glapi_table *disp) { |
| 7420 | return (_glptr_VertexAttrib3fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fvARB)); |
| 7421 | } |
| 7422 | |
| 7423 | static INLINE void SET_VertexAttrib3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7424 | SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn); |
| 7425 | } |
| 7426 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7427 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3sARB)(GLuint, GLshort, GLshort, GLshort); |
| 7428 | #define CALL_VertexAttrib3sARB(disp, parameters) \ |
| 7429 | (* GET_VertexAttrib3sARB(disp)) parameters |
| 7430 | static INLINE _glptr_VertexAttrib3sARB GET_VertexAttrib3sARB(struct _glapi_table *disp) { |
| 7431 | return (_glptr_VertexAttrib3sARB) (GET_by_offset(disp, _gloffset_VertexAttrib3sARB)); |
| 7432 | } |
| 7433 | |
| 7434 | static INLINE void SET_VertexAttrib3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7435 | SET_by_offset(disp, _gloffset_VertexAttrib3sARB, fn); |
| 7436 | } |
| 7437 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7438 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3svARB)(GLuint, const GLshort *); |
| 7439 | #define CALL_VertexAttrib3svARB(disp, parameters) \ |
| 7440 | (* GET_VertexAttrib3svARB(disp)) parameters |
| 7441 | static INLINE _glptr_VertexAttrib3svARB GET_VertexAttrib3svARB(struct _glapi_table *disp) { |
| 7442 | return (_glptr_VertexAttrib3svARB) (GET_by_offset(disp, _gloffset_VertexAttrib3svARB)); |
| 7443 | } |
| 7444 | |
| 7445 | static INLINE void SET_VertexAttrib3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7446 | SET_by_offset(disp, _gloffset_VertexAttrib3svARB, fn); |
| 7447 | } |
| 7448 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7449 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NbvARB)(GLuint, const GLbyte *); |
| 7450 | #define CALL_VertexAttrib4NbvARB(disp, parameters) \ |
| 7451 | (* GET_VertexAttrib4NbvARB(disp)) parameters |
| 7452 | static INLINE _glptr_VertexAttrib4NbvARB GET_VertexAttrib4NbvARB(struct _glapi_table *disp) { |
| 7453 | return (_glptr_VertexAttrib4NbvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NbvARB)); |
| 7454 | } |
| 7455 | |
| 7456 | static INLINE void SET_VertexAttrib4NbvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7457 | SET_by_offset(disp, _gloffset_VertexAttrib4NbvARB, fn); |
| 7458 | } |
| 7459 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7460 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NivARB)(GLuint, const GLint *); |
| 7461 | #define CALL_VertexAttrib4NivARB(disp, parameters) \ |
| 7462 | (* GET_VertexAttrib4NivARB(disp)) parameters |
| 7463 | static INLINE _glptr_VertexAttrib4NivARB GET_VertexAttrib4NivARB(struct _glapi_table *disp) { |
| 7464 | return (_glptr_VertexAttrib4NivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NivARB)); |
| 7465 | } |
| 7466 | |
| 7467 | static INLINE void SET_VertexAttrib4NivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7468 | SET_by_offset(disp, _gloffset_VertexAttrib4NivARB, fn); |
| 7469 | } |
| 7470 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7471 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NsvARB)(GLuint, const GLshort *); |
| 7472 | #define CALL_VertexAttrib4NsvARB(disp, parameters) \ |
| 7473 | (* GET_VertexAttrib4NsvARB(disp)) parameters |
| 7474 | static INLINE _glptr_VertexAttrib4NsvARB GET_VertexAttrib4NsvARB(struct _glapi_table *disp) { |
| 7475 | return (_glptr_VertexAttrib4NsvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NsvARB)); |
| 7476 | } |
| 7477 | |
| 7478 | static INLINE void SET_VertexAttrib4NsvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7479 | SET_by_offset(disp, _gloffset_VertexAttrib4NsvARB, fn); |
| 7480 | } |
| 7481 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7482 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubARB)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte); |
| 7483 | #define CALL_VertexAttrib4NubARB(disp, parameters) \ |
| 7484 | (* GET_VertexAttrib4NubARB(disp)) parameters |
| 7485 | static INLINE _glptr_VertexAttrib4NubARB GET_VertexAttrib4NubARB(struct _glapi_table *disp) { |
| 7486 | return (_glptr_VertexAttrib4NubARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubARB)); |
| 7487 | } |
| 7488 | |
| 7489 | static INLINE void SET_VertexAttrib4NubARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7490 | SET_by_offset(disp, _gloffset_VertexAttrib4NubARB, fn); |
| 7491 | } |
| 7492 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7493 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubvARB)(GLuint, const GLubyte *); |
| 7494 | #define CALL_VertexAttrib4NubvARB(disp, parameters) \ |
| 7495 | (* GET_VertexAttrib4NubvARB(disp)) parameters |
| 7496 | static INLINE _glptr_VertexAttrib4NubvARB GET_VertexAttrib4NubvARB(struct _glapi_table *disp) { |
| 7497 | return (_glptr_VertexAttrib4NubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubvARB)); |
| 7498 | } |
| 7499 | |
| 7500 | static INLINE void SET_VertexAttrib4NubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7501 | SET_by_offset(disp, _gloffset_VertexAttrib4NubvARB, fn); |
| 7502 | } |
| 7503 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7504 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NuivARB)(GLuint, const GLuint *); |
| 7505 | #define CALL_VertexAttrib4NuivARB(disp, parameters) \ |
| 7506 | (* GET_VertexAttrib4NuivARB(disp)) parameters |
| 7507 | static INLINE _glptr_VertexAttrib4NuivARB GET_VertexAttrib4NuivARB(struct _glapi_table *disp) { |
| 7508 | return (_glptr_VertexAttrib4NuivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NuivARB)); |
| 7509 | } |
| 7510 | |
| 7511 | static INLINE void SET_VertexAttrib4NuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7512 | SET_by_offset(disp, _gloffset_VertexAttrib4NuivARB, fn); |
| 7513 | } |
| 7514 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7515 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4NusvARB)(GLuint, const GLushort *); |
| 7516 | #define CALL_VertexAttrib4NusvARB(disp, parameters) \ |
| 7517 | (* GET_VertexAttrib4NusvARB(disp)) parameters |
| 7518 | static INLINE _glptr_VertexAttrib4NusvARB GET_VertexAttrib4NusvARB(struct _glapi_table *disp) { |
| 7519 | return (_glptr_VertexAttrib4NusvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NusvARB)); |
| 7520 | } |
| 7521 | |
| 7522 | static INLINE void SET_VertexAttrib4NusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7523 | SET_by_offset(disp, _gloffset_VertexAttrib4NusvARB, fn); |
| 7524 | } |
| 7525 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7526 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4bvARB)(GLuint, const GLbyte *); |
| 7527 | #define CALL_VertexAttrib4bvARB(disp, parameters) \ |
| 7528 | (* GET_VertexAttrib4bvARB(disp)) parameters |
| 7529 | static INLINE _glptr_VertexAttrib4bvARB GET_VertexAttrib4bvARB(struct _glapi_table *disp) { |
| 7530 | return (_glptr_VertexAttrib4bvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4bvARB)); |
| 7531 | } |
| 7532 | |
| 7533 | static INLINE void SET_VertexAttrib4bvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7534 | SET_by_offset(disp, _gloffset_VertexAttrib4bvARB, fn); |
| 7535 | } |
| 7536 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7537 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4dARB)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble); |
| 7538 | #define CALL_VertexAttrib4dARB(disp, parameters) \ |
| 7539 | (* GET_VertexAttrib4dARB(disp)) parameters |
| 7540 | static INLINE _glptr_VertexAttrib4dARB GET_VertexAttrib4dARB(struct _glapi_table *disp) { |
| 7541 | return (_glptr_VertexAttrib4dARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dARB)); |
| 7542 | } |
| 7543 | |
| 7544 | static INLINE void SET_VertexAttrib4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7545 | SET_by_offset(disp, _gloffset_VertexAttrib4dARB, fn); |
| 7546 | } |
| 7547 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7548 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvARB)(GLuint, const GLdouble *); |
| 7549 | #define CALL_VertexAttrib4dvARB(disp, parameters) \ |
| 7550 | (* GET_VertexAttrib4dvARB(disp)) parameters |
| 7551 | static INLINE _glptr_VertexAttrib4dvARB GET_VertexAttrib4dvARB(struct _glapi_table *disp) { |
| 7552 | return (_glptr_VertexAttrib4dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dvARB)); |
| 7553 | } |
| 7554 | |
| 7555 | static INLINE void SET_VertexAttrib4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7556 | SET_by_offset(disp, _gloffset_VertexAttrib4dvARB, fn); |
| 7557 | } |
| 7558 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7559 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat); |
| 7560 | #define CALL_VertexAttrib4fARB(disp, parameters) \ |
| 7561 | (* GET_VertexAttrib4fARB(disp)) parameters |
| 7562 | static INLINE _glptr_VertexAttrib4fARB GET_VertexAttrib4fARB(struct _glapi_table *disp) { |
| 7563 | return (_glptr_VertexAttrib4fARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fARB)); |
| 7564 | } |
| 7565 | |
| 7566 | static INLINE void SET_VertexAttrib4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7567 | SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn); |
| 7568 | } |
| 7569 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7570 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB)(GLuint, const GLfloat *); |
| 7571 | #define CALL_VertexAttrib4fvARB(disp, parameters) \ |
| 7572 | (* GET_VertexAttrib4fvARB(disp)) parameters |
| 7573 | static INLINE _glptr_VertexAttrib4fvARB GET_VertexAttrib4fvARB(struct _glapi_table *disp) { |
| 7574 | return (_glptr_VertexAttrib4fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fvARB)); |
| 7575 | } |
| 7576 | |
| 7577 | static INLINE void SET_VertexAttrib4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7578 | SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn); |
| 7579 | } |
| 7580 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7581 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4ivARB)(GLuint, const GLint *); |
| 7582 | #define CALL_VertexAttrib4ivARB(disp, parameters) \ |
| 7583 | (* GET_VertexAttrib4ivARB(disp)) parameters |
| 7584 | static INLINE _glptr_VertexAttrib4ivARB GET_VertexAttrib4ivARB(struct _glapi_table *disp) { |
| 7585 | return (_glptr_VertexAttrib4ivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ivARB)); |
| 7586 | } |
| 7587 | |
| 7588 | static INLINE void SET_VertexAttrib4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7589 | SET_by_offset(disp, _gloffset_VertexAttrib4ivARB, fn); |
| 7590 | } |
| 7591 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7592 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4sARB)(GLuint, GLshort, GLshort, GLshort, GLshort); |
| 7593 | #define CALL_VertexAttrib4sARB(disp, parameters) \ |
| 7594 | (* GET_VertexAttrib4sARB(disp)) parameters |
| 7595 | static INLINE _glptr_VertexAttrib4sARB GET_VertexAttrib4sARB(struct _glapi_table *disp) { |
| 7596 | return (_glptr_VertexAttrib4sARB) (GET_by_offset(disp, _gloffset_VertexAttrib4sARB)); |
| 7597 | } |
| 7598 | |
| 7599 | static INLINE void SET_VertexAttrib4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7600 | SET_by_offset(disp, _gloffset_VertexAttrib4sARB, fn); |
| 7601 | } |
| 7602 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7603 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4svARB)(GLuint, const GLshort *); |
| 7604 | #define CALL_VertexAttrib4svARB(disp, parameters) \ |
| 7605 | (* GET_VertexAttrib4svARB(disp)) parameters |
| 7606 | static INLINE _glptr_VertexAttrib4svARB GET_VertexAttrib4svARB(struct _glapi_table *disp) { |
| 7607 | return (_glptr_VertexAttrib4svARB) (GET_by_offset(disp, _gloffset_VertexAttrib4svARB)); |
| 7608 | } |
| 7609 | |
| 7610 | static INLINE void SET_VertexAttrib4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7611 | SET_by_offset(disp, _gloffset_VertexAttrib4svARB, fn); |
| 7612 | } |
| 7613 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7614 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvARB)(GLuint, const GLubyte *); |
| 7615 | #define CALL_VertexAttrib4ubvARB(disp, parameters) \ |
| 7616 | (* GET_VertexAttrib4ubvARB(disp)) parameters |
| 7617 | static INLINE _glptr_VertexAttrib4ubvARB GET_VertexAttrib4ubvARB(struct _glapi_table *disp) { |
| 7618 | return (_glptr_VertexAttrib4ubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvARB)); |
| 7619 | } |
| 7620 | |
| 7621 | static INLINE void SET_VertexAttrib4ubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7622 | SET_by_offset(disp, _gloffset_VertexAttrib4ubvARB, fn); |
| 7623 | } |
| 7624 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7625 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4uivARB)(GLuint, const GLuint *); |
| 7626 | #define CALL_VertexAttrib4uivARB(disp, parameters) \ |
| 7627 | (* GET_VertexAttrib4uivARB(disp)) parameters |
| 7628 | static INLINE _glptr_VertexAttrib4uivARB GET_VertexAttrib4uivARB(struct _glapi_table *disp) { |
| 7629 | return (_glptr_VertexAttrib4uivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4uivARB)); |
| 7630 | } |
| 7631 | |
| 7632 | static INLINE void SET_VertexAttrib4uivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7633 | SET_by_offset(disp, _gloffset_VertexAttrib4uivARB, fn); |
| 7634 | } |
| 7635 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7636 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4usvARB)(GLuint, const GLushort *); |
| 7637 | #define CALL_VertexAttrib4usvARB(disp, parameters) \ |
| 7638 | (* GET_VertexAttrib4usvARB(disp)) parameters |
| 7639 | static INLINE _glptr_VertexAttrib4usvARB GET_VertexAttrib4usvARB(struct _glapi_table *disp) { |
| 7640 | return (_glptr_VertexAttrib4usvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4usvARB)); |
| 7641 | } |
| 7642 | |
| 7643 | static INLINE void SET_VertexAttrib4usvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7644 | SET_by_offset(disp, _gloffset_VertexAttrib4usvARB, fn); |
| 7645 | } |
| 7646 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7647 | typedef void (GLAPIENTRYP _glptr_VertexAttribPointerARB)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); |
| 7648 | #define CALL_VertexAttribPointerARB(disp, parameters) \ |
| 7649 | (* GET_VertexAttribPointerARB(disp)) parameters |
| 7650 | static INLINE _glptr_VertexAttribPointerARB GET_VertexAttribPointerARB(struct _glapi_table *disp) { |
| 7651 | return (_glptr_VertexAttribPointerARB) (GET_by_offset(disp, _gloffset_VertexAttribPointerARB)); |
| 7652 | } |
| 7653 | |
| 7654 | static INLINE void SET_VertexAttribPointerARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7655 | SET_by_offset(disp, _gloffset_VertexAttribPointerARB, fn); |
| 7656 | } |
| 7657 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7658 | typedef void (GLAPIENTRYP _glptr_BindBufferARB)(GLenum, GLuint); |
| 7659 | #define CALL_BindBufferARB(disp, parameters) \ |
| 7660 | (* GET_BindBufferARB(disp)) parameters |
| 7661 | static INLINE _glptr_BindBufferARB GET_BindBufferARB(struct _glapi_table *disp) { |
| 7662 | return (_glptr_BindBufferARB) (GET_by_offset(disp, _gloffset_BindBufferARB)); |
| 7663 | } |
| 7664 | |
| 7665 | static INLINE void SET_BindBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7666 | SET_by_offset(disp, _gloffset_BindBufferARB, fn); |
| 7667 | } |
| 7668 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7669 | typedef void (GLAPIENTRYP _glptr_BufferDataARB)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum); |
| 7670 | #define CALL_BufferDataARB(disp, parameters) \ |
| 7671 | (* GET_BufferDataARB(disp)) parameters |
| 7672 | static INLINE _glptr_BufferDataARB GET_BufferDataARB(struct _glapi_table *disp) { |
| 7673 | return (_glptr_BufferDataARB) (GET_by_offset(disp, _gloffset_BufferDataARB)); |
| 7674 | } |
| 7675 | |
| 7676 | static INLINE void SET_BufferDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7677 | SET_by_offset(disp, _gloffset_BufferDataARB, fn); |
| 7678 | } |
| 7679 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7680 | typedef void (GLAPIENTRYP _glptr_BufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); |
| 7681 | #define CALL_BufferSubDataARB(disp, parameters) \ |
| 7682 | (* GET_BufferSubDataARB(disp)) parameters |
| 7683 | static INLINE _glptr_BufferSubDataARB GET_BufferSubDataARB(struct _glapi_table *disp) { |
| 7684 | return (_glptr_BufferSubDataARB) (GET_by_offset(disp, _gloffset_BufferSubDataARB)); |
| 7685 | } |
| 7686 | |
| 7687 | static INLINE void SET_BufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7688 | SET_by_offset(disp, _gloffset_BufferSubDataARB, fn); |
| 7689 | } |
| 7690 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7691 | typedef void (GLAPIENTRYP _glptr_DeleteBuffersARB)(GLsizei, const GLuint *); |
| 7692 | #define CALL_DeleteBuffersARB(disp, parameters) \ |
| 7693 | (* GET_DeleteBuffersARB(disp)) parameters |
| 7694 | static INLINE _glptr_DeleteBuffersARB GET_DeleteBuffersARB(struct _glapi_table *disp) { |
| 7695 | return (_glptr_DeleteBuffersARB) (GET_by_offset(disp, _gloffset_DeleteBuffersARB)); |
| 7696 | } |
| 7697 | |
| 7698 | static INLINE void SET_DeleteBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7699 | SET_by_offset(disp, _gloffset_DeleteBuffersARB, fn); |
| 7700 | } |
| 7701 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7702 | typedef void (GLAPIENTRYP _glptr_GenBuffersARB)(GLsizei, GLuint *); |
| 7703 | #define CALL_GenBuffersARB(disp, parameters) \ |
| 7704 | (* GET_GenBuffersARB(disp)) parameters |
| 7705 | static INLINE _glptr_GenBuffersARB GET_GenBuffersARB(struct _glapi_table *disp) { |
| 7706 | return (_glptr_GenBuffersARB) (GET_by_offset(disp, _gloffset_GenBuffersARB)); |
| 7707 | } |
| 7708 | |
| 7709 | static INLINE void SET_GenBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7710 | SET_by_offset(disp, _gloffset_GenBuffersARB, fn); |
| 7711 | } |
| 7712 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7713 | typedef void (GLAPIENTRYP _glptr_GetBufferParameterivARB)(GLenum, GLenum, GLint *); |
| 7714 | #define CALL_GetBufferParameterivARB(disp, parameters) \ |
| 7715 | (* GET_GetBufferParameterivARB(disp)) parameters |
| 7716 | static INLINE _glptr_GetBufferParameterivARB GET_GetBufferParameterivARB(struct _glapi_table *disp) { |
| 7717 | return (_glptr_GetBufferParameterivARB) (GET_by_offset(disp, _gloffset_GetBufferParameterivARB)); |
| 7718 | } |
| 7719 | |
| 7720 | static INLINE void SET_GetBufferParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7721 | SET_by_offset(disp, _gloffset_GetBufferParameterivARB, fn); |
| 7722 | } |
| 7723 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7724 | typedef void (GLAPIENTRYP _glptr_GetBufferPointervARB)(GLenum, GLenum, GLvoid **); |
| 7725 | #define CALL_GetBufferPointervARB(disp, parameters) \ |
| 7726 | (* GET_GetBufferPointervARB(disp)) parameters |
| 7727 | static INLINE _glptr_GetBufferPointervARB GET_GetBufferPointervARB(struct _glapi_table *disp) { |
| 7728 | return (_glptr_GetBufferPointervARB) (GET_by_offset(disp, _gloffset_GetBufferPointervARB)); |
| 7729 | } |
| 7730 | |
| 7731 | static INLINE void SET_GetBufferPointervARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7732 | SET_by_offset(disp, _gloffset_GetBufferPointervARB, fn); |
| 7733 | } |
| 7734 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7735 | typedef void (GLAPIENTRYP _glptr_GetBufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); |
| 7736 | #define CALL_GetBufferSubDataARB(disp, parameters) \ |
| 7737 | (* GET_GetBufferSubDataARB(disp)) parameters |
| 7738 | static INLINE _glptr_GetBufferSubDataARB GET_GetBufferSubDataARB(struct _glapi_table *disp) { |
| 7739 | return (_glptr_GetBufferSubDataARB) (GET_by_offset(disp, _gloffset_GetBufferSubDataARB)); |
| 7740 | } |
| 7741 | |
| 7742 | static INLINE void SET_GetBufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7743 | SET_by_offset(disp, _gloffset_GetBufferSubDataARB, fn); |
| 7744 | } |
| 7745 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7746 | typedef GLboolean (GLAPIENTRYP _glptr_IsBufferARB)(GLuint); |
| 7747 | #define CALL_IsBufferARB(disp, parameters) \ |
| 7748 | (* GET_IsBufferARB(disp)) parameters |
| 7749 | static INLINE _glptr_IsBufferARB GET_IsBufferARB(struct _glapi_table *disp) { |
| 7750 | return (_glptr_IsBufferARB) (GET_by_offset(disp, _gloffset_IsBufferARB)); |
| 7751 | } |
| 7752 | |
| 7753 | static INLINE void SET_IsBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7754 | SET_by_offset(disp, _gloffset_IsBufferARB, fn); |
| 7755 | } |
| 7756 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7757 | typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferARB)(GLenum, GLenum); |
| 7758 | #define CALL_MapBufferARB(disp, parameters) \ |
| 7759 | (* GET_MapBufferARB(disp)) parameters |
| 7760 | static INLINE _glptr_MapBufferARB GET_MapBufferARB(struct _glapi_table *disp) { |
| 7761 | return (_glptr_MapBufferARB) (GET_by_offset(disp, _gloffset_MapBufferARB)); |
| 7762 | } |
| 7763 | |
| 7764 | static INLINE void SET_MapBufferARB(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7765 | SET_by_offset(disp, _gloffset_MapBufferARB, fn); |
| 7766 | } |
| 7767 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7768 | typedef GLboolean (GLAPIENTRYP _glptr_UnmapBufferARB)(GLenum); |
| 7769 | #define CALL_UnmapBufferARB(disp, parameters) \ |
| 7770 | (* GET_UnmapBufferARB(disp)) parameters |
| 7771 | static INLINE _glptr_UnmapBufferARB GET_UnmapBufferARB(struct _glapi_table *disp) { |
| 7772 | return (_glptr_UnmapBufferARB) (GET_by_offset(disp, _gloffset_UnmapBufferARB)); |
| 7773 | } |
| 7774 | |
| 7775 | static INLINE void SET_UnmapBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7776 | SET_by_offset(disp, _gloffset_UnmapBufferARB, fn); |
| 7777 | } |
| 7778 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7779 | typedef void (GLAPIENTRYP _glptr_BeginQueryARB)(GLenum, GLuint); |
| 7780 | #define CALL_BeginQueryARB(disp, parameters) \ |
| 7781 | (* GET_BeginQueryARB(disp)) parameters |
| 7782 | static INLINE _glptr_BeginQueryARB GET_BeginQueryARB(struct _glapi_table *disp) { |
| 7783 | return (_glptr_BeginQueryARB) (GET_by_offset(disp, _gloffset_BeginQueryARB)); |
| 7784 | } |
| 7785 | |
| 7786 | static INLINE void SET_BeginQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7787 | SET_by_offset(disp, _gloffset_BeginQueryARB, fn); |
| 7788 | } |
| 7789 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7790 | typedef void (GLAPIENTRYP _glptr_DeleteQueriesARB)(GLsizei, const GLuint *); |
| 7791 | #define CALL_DeleteQueriesARB(disp, parameters) \ |
| 7792 | (* GET_DeleteQueriesARB(disp)) parameters |
| 7793 | static INLINE _glptr_DeleteQueriesARB GET_DeleteQueriesARB(struct _glapi_table *disp) { |
| 7794 | return (_glptr_DeleteQueriesARB) (GET_by_offset(disp, _gloffset_DeleteQueriesARB)); |
| 7795 | } |
| 7796 | |
| 7797 | static INLINE void SET_DeleteQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7798 | SET_by_offset(disp, _gloffset_DeleteQueriesARB, fn); |
| 7799 | } |
| 7800 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7801 | typedef void (GLAPIENTRYP _glptr_EndQueryARB)(GLenum); |
| 7802 | #define CALL_EndQueryARB(disp, parameters) \ |
| 7803 | (* GET_EndQueryARB(disp)) parameters |
| 7804 | static INLINE _glptr_EndQueryARB GET_EndQueryARB(struct _glapi_table *disp) { |
| 7805 | return (_glptr_EndQueryARB) (GET_by_offset(disp, _gloffset_EndQueryARB)); |
| 7806 | } |
| 7807 | |
| 7808 | static INLINE void SET_EndQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7809 | SET_by_offset(disp, _gloffset_EndQueryARB, fn); |
| 7810 | } |
| 7811 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7812 | typedef void (GLAPIENTRYP _glptr_GenQueriesARB)(GLsizei, GLuint *); |
| 7813 | #define CALL_GenQueriesARB(disp, parameters) \ |
| 7814 | (* GET_GenQueriesARB(disp)) parameters |
| 7815 | static INLINE _glptr_GenQueriesARB GET_GenQueriesARB(struct _glapi_table *disp) { |
| 7816 | return (_glptr_GenQueriesARB) (GET_by_offset(disp, _gloffset_GenQueriesARB)); |
| 7817 | } |
| 7818 | |
| 7819 | static INLINE void SET_GenQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7820 | SET_by_offset(disp, _gloffset_GenQueriesARB, fn); |
| 7821 | } |
| 7822 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7823 | typedef void (GLAPIENTRYP _glptr_GetQueryObjectivARB)(GLuint, GLenum, GLint *); |
| 7824 | #define CALL_GetQueryObjectivARB(disp, parameters) \ |
| 7825 | (* GET_GetQueryObjectivARB(disp)) parameters |
| 7826 | static INLINE _glptr_GetQueryObjectivARB GET_GetQueryObjectivARB(struct _glapi_table *disp) { |
| 7827 | return (_glptr_GetQueryObjectivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectivARB)); |
| 7828 | } |
| 7829 | |
| 7830 | static INLINE void SET_GetQueryObjectivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7831 | SET_by_offset(disp, _gloffset_GetQueryObjectivARB, fn); |
| 7832 | } |
| 7833 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7834 | typedef void (GLAPIENTRYP _glptr_GetQueryObjectuivARB)(GLuint, GLenum, GLuint *); |
| 7835 | #define CALL_GetQueryObjectuivARB(disp, parameters) \ |
| 7836 | (* GET_GetQueryObjectuivARB(disp)) parameters |
| 7837 | static INLINE _glptr_GetQueryObjectuivARB GET_GetQueryObjectuivARB(struct _glapi_table *disp) { |
| 7838 | return (_glptr_GetQueryObjectuivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectuivARB)); |
| 7839 | } |
| 7840 | |
| 7841 | static INLINE void SET_GetQueryObjectuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7842 | SET_by_offset(disp, _gloffset_GetQueryObjectuivARB, fn); |
| 7843 | } |
| 7844 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7845 | typedef void (GLAPIENTRYP _glptr_GetQueryivARB)(GLenum, GLenum, GLint *); |
| 7846 | #define CALL_GetQueryivARB(disp, parameters) \ |
| 7847 | (* GET_GetQueryivARB(disp)) parameters |
| 7848 | static INLINE _glptr_GetQueryivARB GET_GetQueryivARB(struct _glapi_table *disp) { |
| 7849 | return (_glptr_GetQueryivARB) (GET_by_offset(disp, _gloffset_GetQueryivARB)); |
| 7850 | } |
| 7851 | |
| 7852 | static INLINE void SET_GetQueryivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7853 | SET_by_offset(disp, _gloffset_GetQueryivARB, fn); |
| 7854 | } |
| 7855 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7856 | typedef GLboolean (GLAPIENTRYP _glptr_IsQueryARB)(GLuint); |
| 7857 | #define CALL_IsQueryARB(disp, parameters) \ |
| 7858 | (* GET_IsQueryARB(disp)) parameters |
| 7859 | static INLINE _glptr_IsQueryARB GET_IsQueryARB(struct _glapi_table *disp) { |
| 7860 | return (_glptr_IsQueryARB) (GET_by_offset(disp, _gloffset_IsQueryARB)); |
| 7861 | } |
| 7862 | |
| 7863 | static INLINE void SET_IsQueryARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7864 | SET_by_offset(disp, _gloffset_IsQueryARB, fn); |
| 7865 | } |
| 7866 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7867 | typedef void (GLAPIENTRYP _glptr_AttachObjectARB)(GLhandleARB, GLhandleARB); |
| 7868 | #define CALL_AttachObjectARB(disp, parameters) \ |
| 7869 | (* GET_AttachObjectARB(disp)) parameters |
| 7870 | static INLINE _glptr_AttachObjectARB GET_AttachObjectARB(struct _glapi_table *disp) { |
| 7871 | return (_glptr_AttachObjectARB) (GET_by_offset(disp, _gloffset_AttachObjectARB)); |
| 7872 | } |
| 7873 | |
| 7874 | static INLINE void SET_AttachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7875 | SET_by_offset(disp, _gloffset_AttachObjectARB, fn); |
| 7876 | } |
| 7877 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7878 | typedef void (GLAPIENTRYP _glptr_CompileShaderARB)(GLhandleARB); |
| 7879 | #define CALL_CompileShaderARB(disp, parameters) \ |
| 7880 | (* GET_CompileShaderARB(disp)) parameters |
| 7881 | static INLINE _glptr_CompileShaderARB GET_CompileShaderARB(struct _glapi_table *disp) { |
| 7882 | return (_glptr_CompileShaderARB) (GET_by_offset(disp, _gloffset_CompileShaderARB)); |
| 7883 | } |
| 7884 | |
| 7885 | static INLINE void SET_CompileShaderARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7886 | SET_by_offset(disp, _gloffset_CompileShaderARB, fn); |
| 7887 | } |
| 7888 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7889 | typedef GLhandleARB (GLAPIENTRYP _glptr_CreateProgramObjectARB)(void); |
| 7890 | #define CALL_CreateProgramObjectARB(disp, parameters) \ |
| 7891 | (* GET_CreateProgramObjectARB(disp)) parameters |
| 7892 | static INLINE _glptr_CreateProgramObjectARB GET_CreateProgramObjectARB(struct _glapi_table *disp) { |
| 7893 | return (_glptr_CreateProgramObjectARB) (GET_by_offset(disp, _gloffset_CreateProgramObjectARB)); |
| 7894 | } |
| 7895 | |
| 7896 | static INLINE void SET_CreateProgramObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7897 | SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn); |
| 7898 | } |
| 7899 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7900 | typedef GLhandleARB (GLAPIENTRYP _glptr_CreateShaderObjectARB)(GLenum); |
| 7901 | #define CALL_CreateShaderObjectARB(disp, parameters) \ |
| 7902 | (* GET_CreateShaderObjectARB(disp)) parameters |
| 7903 | static INLINE _glptr_CreateShaderObjectARB GET_CreateShaderObjectARB(struct _glapi_table *disp) { |
| 7904 | return (_glptr_CreateShaderObjectARB) (GET_by_offset(disp, _gloffset_CreateShaderObjectARB)); |
| 7905 | } |
| 7906 | |
| 7907 | static INLINE void SET_CreateShaderObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7908 | SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn); |
| 7909 | } |
| 7910 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7911 | typedef void (GLAPIENTRYP _glptr_DeleteObjectARB)(GLhandleARB); |
| 7912 | #define CALL_DeleteObjectARB(disp, parameters) \ |
| 7913 | (* GET_DeleteObjectARB(disp)) parameters |
| 7914 | static INLINE _glptr_DeleteObjectARB GET_DeleteObjectARB(struct _glapi_table *disp) { |
| 7915 | return (_glptr_DeleteObjectARB) (GET_by_offset(disp, _gloffset_DeleteObjectARB)); |
| 7916 | } |
| 7917 | |
| 7918 | static INLINE void SET_DeleteObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7919 | SET_by_offset(disp, _gloffset_DeleteObjectARB, fn); |
| 7920 | } |
| 7921 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7922 | typedef void (GLAPIENTRYP _glptr_DetachObjectARB)(GLhandleARB, GLhandleARB); |
| 7923 | #define CALL_DetachObjectARB(disp, parameters) \ |
| 7924 | (* GET_DetachObjectARB(disp)) parameters |
| 7925 | static INLINE _glptr_DetachObjectARB GET_DetachObjectARB(struct _glapi_table *disp) { |
| 7926 | return (_glptr_DetachObjectARB) (GET_by_offset(disp, _gloffset_DetachObjectARB)); |
| 7927 | } |
| 7928 | |
| 7929 | static INLINE void SET_DetachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7930 | SET_by_offset(disp, _gloffset_DetachObjectARB, fn); |
| 7931 | } |
| 7932 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7933 | typedef void (GLAPIENTRYP _glptr_GetActiveUniformARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); |
| 7934 | #define CALL_GetActiveUniformARB(disp, parameters) \ |
| 7935 | (* GET_GetActiveUniformARB(disp)) parameters |
| 7936 | static INLINE _glptr_GetActiveUniformARB GET_GetActiveUniformARB(struct _glapi_table *disp) { |
| 7937 | return (_glptr_GetActiveUniformARB) (GET_by_offset(disp, _gloffset_GetActiveUniformARB)); |
| 7938 | } |
| 7939 | |
| 7940 | static INLINE void SET_GetActiveUniformARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7941 | SET_by_offset(disp, _gloffset_GetActiveUniformARB, fn); |
| 7942 | } |
| 7943 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7944 | typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); |
| 7945 | #define CALL_GetAttachedObjectsARB(disp, parameters) \ |
| 7946 | (* GET_GetAttachedObjectsARB(disp)) parameters |
| 7947 | static INLINE _glptr_GetAttachedObjectsARB GET_GetAttachedObjectsARB(struct _glapi_table *disp) { |
| 7948 | return (_glptr_GetAttachedObjectsARB) (GET_by_offset(disp, _gloffset_GetAttachedObjectsARB)); |
| 7949 | } |
| 7950 | |
| 7951 | static INLINE void SET_GetAttachedObjectsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7952 | SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn); |
| 7953 | } |
| 7954 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7955 | typedef GLhandleARB (GLAPIENTRYP _glptr_GetHandleARB)(GLenum); |
| 7956 | #define CALL_GetHandleARB(disp, parameters) \ |
| 7957 | (* GET_GetHandleARB(disp)) parameters |
| 7958 | static INLINE _glptr_GetHandleARB GET_GetHandleARB(struct _glapi_table *disp) { |
| 7959 | return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB)); |
| 7960 | } |
| 7961 | |
| 7962 | static INLINE void SET_GetHandleARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7963 | SET_by_offset(disp, _gloffset_GetHandleARB, fn); |
| 7964 | } |
| 7965 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7966 | typedef void (GLAPIENTRYP _glptr_GetInfoLogARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *); |
| 7967 | #define CALL_GetInfoLogARB(disp, parameters) \ |
| 7968 | (* GET_GetInfoLogARB(disp)) parameters |
| 7969 | static INLINE _glptr_GetInfoLogARB GET_GetInfoLogARB(struct _glapi_table *disp) { |
| 7970 | return (_glptr_GetInfoLogARB) (GET_by_offset(disp, _gloffset_GetInfoLogARB)); |
| 7971 | } |
| 7972 | |
| 7973 | static INLINE void SET_GetInfoLogARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7974 | SET_by_offset(disp, _gloffset_GetInfoLogARB, fn); |
| 7975 | } |
| 7976 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7977 | typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB)(GLhandleARB, GLenum, GLfloat *); |
| 7978 | #define CALL_GetObjectParameterfvARB(disp, parameters) \ |
| 7979 | (* GET_GetObjectParameterfvARB(disp)) parameters |
| 7980 | static INLINE _glptr_GetObjectParameterfvARB GET_GetObjectParameterfvARB(struct _glapi_table *disp) { |
| 7981 | return (_glptr_GetObjectParameterfvARB) (GET_by_offset(disp, _gloffset_GetObjectParameterfvARB)); |
| 7982 | } |
| 7983 | |
| 7984 | static INLINE void SET_GetObjectParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7985 | SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn); |
| 7986 | } |
| 7987 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7988 | typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB)(GLhandleARB, GLenum, GLint *); |
| 7989 | #define CALL_GetObjectParameterivARB(disp, parameters) \ |
| 7990 | (* GET_GetObjectParameterivARB(disp)) parameters |
| 7991 | static INLINE _glptr_GetObjectParameterivARB GET_GetObjectParameterivARB(struct _glapi_table *disp) { |
| 7992 | return (_glptr_GetObjectParameterivARB) (GET_by_offset(disp, _gloffset_GetObjectParameterivARB)); |
| 7993 | } |
| 7994 | |
| 7995 | static INLINE void SET_GetObjectParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 7996 | SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn); |
| 7997 | } |
| 7998 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 7999 | typedef void (GLAPIENTRYP _glptr_GetShaderSourceARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *); |
| 8000 | #define CALL_GetShaderSourceARB(disp, parameters) \ |
| 8001 | (* GET_GetShaderSourceARB(disp)) parameters |
| 8002 | static INLINE _glptr_GetShaderSourceARB GET_GetShaderSourceARB(struct _glapi_table *disp) { |
| 8003 | return (_glptr_GetShaderSourceARB) (GET_by_offset(disp, _gloffset_GetShaderSourceARB)); |
| 8004 | } |
| 8005 | |
| 8006 | static INLINE void SET_GetShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8007 | SET_by_offset(disp, _gloffset_GetShaderSourceARB, fn); |
| 8008 | } |
| 8009 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8010 | typedef GLint (GLAPIENTRYP _glptr_GetUniformLocationARB)(GLhandleARB, const GLcharARB *); |
| 8011 | #define CALL_GetUniformLocationARB(disp, parameters) \ |
| 8012 | (* GET_GetUniformLocationARB(disp)) parameters |
| 8013 | static INLINE _glptr_GetUniformLocationARB GET_GetUniformLocationARB(struct _glapi_table *disp) { |
| 8014 | return (_glptr_GetUniformLocationARB) (GET_by_offset(disp, _gloffset_GetUniformLocationARB)); |
| 8015 | } |
| 8016 | |
| 8017 | static INLINE void SET_GetUniformLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8018 | SET_by_offset(disp, _gloffset_GetUniformLocationARB, fn); |
| 8019 | } |
| 8020 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8021 | typedef void (GLAPIENTRYP _glptr_GetUniformfvARB)(GLhandleARB, GLint, GLfloat *); |
| 8022 | #define CALL_GetUniformfvARB(disp, parameters) \ |
| 8023 | (* GET_GetUniformfvARB(disp)) parameters |
| 8024 | static INLINE _glptr_GetUniformfvARB GET_GetUniformfvARB(struct _glapi_table *disp) { |
| 8025 | return (_glptr_GetUniformfvARB) (GET_by_offset(disp, _gloffset_GetUniformfvARB)); |
| 8026 | } |
| 8027 | |
| 8028 | static INLINE void SET_GetUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8029 | SET_by_offset(disp, _gloffset_GetUniformfvARB, fn); |
| 8030 | } |
| 8031 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8032 | typedef void (GLAPIENTRYP _glptr_GetUniformivARB)(GLhandleARB, GLint, GLint *); |
| 8033 | #define CALL_GetUniformivARB(disp, parameters) \ |
| 8034 | (* GET_GetUniformivARB(disp)) parameters |
| 8035 | static INLINE _glptr_GetUniformivARB GET_GetUniformivARB(struct _glapi_table *disp) { |
| 8036 | return (_glptr_GetUniformivARB) (GET_by_offset(disp, _gloffset_GetUniformivARB)); |
| 8037 | } |
| 8038 | |
| 8039 | static INLINE void SET_GetUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8040 | SET_by_offset(disp, _gloffset_GetUniformivARB, fn); |
| 8041 | } |
| 8042 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8043 | typedef void (GLAPIENTRYP _glptr_LinkProgramARB)(GLhandleARB); |
| 8044 | #define CALL_LinkProgramARB(disp, parameters) \ |
| 8045 | (* GET_LinkProgramARB(disp)) parameters |
| 8046 | static INLINE _glptr_LinkProgramARB GET_LinkProgramARB(struct _glapi_table *disp) { |
| 8047 | return (_glptr_LinkProgramARB) (GET_by_offset(disp, _gloffset_LinkProgramARB)); |
| 8048 | } |
| 8049 | |
| 8050 | static INLINE void SET_LinkProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8051 | SET_by_offset(disp, _gloffset_LinkProgramARB, fn); |
| 8052 | } |
| 8053 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8054 | typedef void (GLAPIENTRYP _glptr_ShaderSourceARB)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *); |
| 8055 | #define CALL_ShaderSourceARB(disp, parameters) \ |
| 8056 | (* GET_ShaderSourceARB(disp)) parameters |
| 8057 | static INLINE _glptr_ShaderSourceARB GET_ShaderSourceARB(struct _glapi_table *disp) { |
| 8058 | return (_glptr_ShaderSourceARB) (GET_by_offset(disp, _gloffset_ShaderSourceARB)); |
| 8059 | } |
| 8060 | |
| 8061 | static INLINE void SET_ShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8062 | SET_by_offset(disp, _gloffset_ShaderSourceARB, fn); |
| 8063 | } |
| 8064 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8065 | typedef void (GLAPIENTRYP _glptr_Uniform1fARB)(GLint, GLfloat); |
| 8066 | #define CALL_Uniform1fARB(disp, parameters) \ |
| 8067 | (* GET_Uniform1fARB(disp)) parameters |
| 8068 | static INLINE _glptr_Uniform1fARB GET_Uniform1fARB(struct _glapi_table *disp) { |
| 8069 | return (_glptr_Uniform1fARB) (GET_by_offset(disp, _gloffset_Uniform1fARB)); |
| 8070 | } |
| 8071 | |
| 8072 | static INLINE void SET_Uniform1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8073 | SET_by_offset(disp, _gloffset_Uniform1fARB, fn); |
| 8074 | } |
| 8075 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8076 | typedef void (GLAPIENTRYP _glptr_Uniform1fvARB)(GLint, GLsizei, const GLfloat *); |
| 8077 | #define CALL_Uniform1fvARB(disp, parameters) \ |
| 8078 | (* GET_Uniform1fvARB(disp)) parameters |
| 8079 | static INLINE _glptr_Uniform1fvARB GET_Uniform1fvARB(struct _glapi_table *disp) { |
| 8080 | return (_glptr_Uniform1fvARB) (GET_by_offset(disp, _gloffset_Uniform1fvARB)); |
| 8081 | } |
| 8082 | |
| 8083 | static INLINE void SET_Uniform1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8084 | SET_by_offset(disp, _gloffset_Uniform1fvARB, fn); |
| 8085 | } |
| 8086 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8087 | typedef void (GLAPIENTRYP _glptr_Uniform1iARB)(GLint, GLint); |
| 8088 | #define CALL_Uniform1iARB(disp, parameters) \ |
| 8089 | (* GET_Uniform1iARB(disp)) parameters |
| 8090 | static INLINE _glptr_Uniform1iARB GET_Uniform1iARB(struct _glapi_table *disp) { |
| 8091 | return (_glptr_Uniform1iARB) (GET_by_offset(disp, _gloffset_Uniform1iARB)); |
| 8092 | } |
| 8093 | |
| 8094 | static INLINE void SET_Uniform1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8095 | SET_by_offset(disp, _gloffset_Uniform1iARB, fn); |
| 8096 | } |
| 8097 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8098 | typedef void (GLAPIENTRYP _glptr_Uniform1ivARB)(GLint, GLsizei, const GLint *); |
| 8099 | #define CALL_Uniform1ivARB(disp, parameters) \ |
| 8100 | (* GET_Uniform1ivARB(disp)) parameters |
| 8101 | static INLINE _glptr_Uniform1ivARB GET_Uniform1ivARB(struct _glapi_table *disp) { |
| 8102 | return (_glptr_Uniform1ivARB) (GET_by_offset(disp, _gloffset_Uniform1ivARB)); |
| 8103 | } |
| 8104 | |
| 8105 | static INLINE void SET_Uniform1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8106 | SET_by_offset(disp, _gloffset_Uniform1ivARB, fn); |
| 8107 | } |
| 8108 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8109 | typedef void (GLAPIENTRYP _glptr_Uniform2fARB)(GLint, GLfloat, GLfloat); |
| 8110 | #define CALL_Uniform2fARB(disp, parameters) \ |
| 8111 | (* GET_Uniform2fARB(disp)) parameters |
| 8112 | static INLINE _glptr_Uniform2fARB GET_Uniform2fARB(struct _glapi_table *disp) { |
| 8113 | return (_glptr_Uniform2fARB) (GET_by_offset(disp, _gloffset_Uniform2fARB)); |
| 8114 | } |
| 8115 | |
| 8116 | static INLINE void SET_Uniform2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8117 | SET_by_offset(disp, _gloffset_Uniform2fARB, fn); |
| 8118 | } |
| 8119 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8120 | typedef void (GLAPIENTRYP _glptr_Uniform2fvARB)(GLint, GLsizei, const GLfloat *); |
| 8121 | #define CALL_Uniform2fvARB(disp, parameters) \ |
| 8122 | (* GET_Uniform2fvARB(disp)) parameters |
| 8123 | static INLINE _glptr_Uniform2fvARB GET_Uniform2fvARB(struct _glapi_table *disp) { |
| 8124 | return (_glptr_Uniform2fvARB) (GET_by_offset(disp, _gloffset_Uniform2fvARB)); |
| 8125 | } |
| 8126 | |
| 8127 | static INLINE void SET_Uniform2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8128 | SET_by_offset(disp, _gloffset_Uniform2fvARB, fn); |
| 8129 | } |
| 8130 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8131 | typedef void (GLAPIENTRYP _glptr_Uniform2iARB)(GLint, GLint, GLint); |
| 8132 | #define CALL_Uniform2iARB(disp, parameters) \ |
| 8133 | (* GET_Uniform2iARB(disp)) parameters |
| 8134 | static INLINE _glptr_Uniform2iARB GET_Uniform2iARB(struct _glapi_table *disp) { |
| 8135 | return (_glptr_Uniform2iARB) (GET_by_offset(disp, _gloffset_Uniform2iARB)); |
| 8136 | } |
| 8137 | |
| 8138 | static INLINE void SET_Uniform2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8139 | SET_by_offset(disp, _gloffset_Uniform2iARB, fn); |
| 8140 | } |
| 8141 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8142 | typedef void (GLAPIENTRYP _glptr_Uniform2ivARB)(GLint, GLsizei, const GLint *); |
| 8143 | #define CALL_Uniform2ivARB(disp, parameters) \ |
| 8144 | (* GET_Uniform2ivARB(disp)) parameters |
| 8145 | static INLINE _glptr_Uniform2ivARB GET_Uniform2ivARB(struct _glapi_table *disp) { |
| 8146 | return (_glptr_Uniform2ivARB) (GET_by_offset(disp, _gloffset_Uniform2ivARB)); |
| 8147 | } |
| 8148 | |
| 8149 | static INLINE void SET_Uniform2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8150 | SET_by_offset(disp, _gloffset_Uniform2ivARB, fn); |
| 8151 | } |
| 8152 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8153 | typedef void (GLAPIENTRYP _glptr_Uniform3fARB)(GLint, GLfloat, GLfloat, GLfloat); |
| 8154 | #define CALL_Uniform3fARB(disp, parameters) \ |
| 8155 | (* GET_Uniform3fARB(disp)) parameters |
| 8156 | static INLINE _glptr_Uniform3fARB GET_Uniform3fARB(struct _glapi_table *disp) { |
| 8157 | return (_glptr_Uniform3fARB) (GET_by_offset(disp, _gloffset_Uniform3fARB)); |
| 8158 | } |
| 8159 | |
| 8160 | static INLINE void SET_Uniform3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8161 | SET_by_offset(disp, _gloffset_Uniform3fARB, fn); |
| 8162 | } |
| 8163 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8164 | typedef void (GLAPIENTRYP _glptr_Uniform3fvARB)(GLint, GLsizei, const GLfloat *); |
| 8165 | #define CALL_Uniform3fvARB(disp, parameters) \ |
| 8166 | (* GET_Uniform3fvARB(disp)) parameters |
| 8167 | static INLINE _glptr_Uniform3fvARB GET_Uniform3fvARB(struct _glapi_table *disp) { |
| 8168 | return (_glptr_Uniform3fvARB) (GET_by_offset(disp, _gloffset_Uniform3fvARB)); |
| 8169 | } |
| 8170 | |
| 8171 | static INLINE void SET_Uniform3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8172 | SET_by_offset(disp, _gloffset_Uniform3fvARB, fn); |
| 8173 | } |
| 8174 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8175 | typedef void (GLAPIENTRYP _glptr_Uniform3iARB)(GLint, GLint, GLint, GLint); |
| 8176 | #define CALL_Uniform3iARB(disp, parameters) \ |
| 8177 | (* GET_Uniform3iARB(disp)) parameters |
| 8178 | static INLINE _glptr_Uniform3iARB GET_Uniform3iARB(struct _glapi_table *disp) { |
| 8179 | return (_glptr_Uniform3iARB) (GET_by_offset(disp, _gloffset_Uniform3iARB)); |
| 8180 | } |
| 8181 | |
| 8182 | static INLINE void SET_Uniform3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8183 | SET_by_offset(disp, _gloffset_Uniform3iARB, fn); |
| 8184 | } |
| 8185 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8186 | typedef void (GLAPIENTRYP _glptr_Uniform3ivARB)(GLint, GLsizei, const GLint *); |
| 8187 | #define CALL_Uniform3ivARB(disp, parameters) \ |
| 8188 | (* GET_Uniform3ivARB(disp)) parameters |
| 8189 | static INLINE _glptr_Uniform3ivARB GET_Uniform3ivARB(struct _glapi_table *disp) { |
| 8190 | return (_glptr_Uniform3ivARB) (GET_by_offset(disp, _gloffset_Uniform3ivARB)); |
| 8191 | } |
| 8192 | |
| 8193 | static INLINE void SET_Uniform3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8194 | SET_by_offset(disp, _gloffset_Uniform3ivARB, fn); |
| 8195 | } |
| 8196 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8197 | typedef void (GLAPIENTRYP _glptr_Uniform4fARB)(GLint, GLfloat, GLfloat, GLfloat, GLfloat); |
| 8198 | #define CALL_Uniform4fARB(disp, parameters) \ |
| 8199 | (* GET_Uniform4fARB(disp)) parameters |
| 8200 | static INLINE _glptr_Uniform4fARB GET_Uniform4fARB(struct _glapi_table *disp) { |
| 8201 | return (_glptr_Uniform4fARB) (GET_by_offset(disp, _gloffset_Uniform4fARB)); |
| 8202 | } |
| 8203 | |
| 8204 | static INLINE void SET_Uniform4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8205 | SET_by_offset(disp, _gloffset_Uniform4fARB, fn); |
| 8206 | } |
| 8207 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8208 | typedef void (GLAPIENTRYP _glptr_Uniform4fvARB)(GLint, GLsizei, const GLfloat *); |
| 8209 | #define CALL_Uniform4fvARB(disp, parameters) \ |
| 8210 | (* GET_Uniform4fvARB(disp)) parameters |
| 8211 | static INLINE _glptr_Uniform4fvARB GET_Uniform4fvARB(struct _glapi_table *disp) { |
| 8212 | return (_glptr_Uniform4fvARB) (GET_by_offset(disp, _gloffset_Uniform4fvARB)); |
| 8213 | } |
| 8214 | |
| 8215 | static INLINE void SET_Uniform4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8216 | SET_by_offset(disp, _gloffset_Uniform4fvARB, fn); |
| 8217 | } |
| 8218 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8219 | typedef void (GLAPIENTRYP _glptr_Uniform4iARB)(GLint, GLint, GLint, GLint, GLint); |
| 8220 | #define CALL_Uniform4iARB(disp, parameters) \ |
| 8221 | (* GET_Uniform4iARB(disp)) parameters |
| 8222 | static INLINE _glptr_Uniform4iARB GET_Uniform4iARB(struct _glapi_table *disp) { |
| 8223 | return (_glptr_Uniform4iARB) (GET_by_offset(disp, _gloffset_Uniform4iARB)); |
| 8224 | } |
| 8225 | |
| 8226 | static INLINE void SET_Uniform4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8227 | SET_by_offset(disp, _gloffset_Uniform4iARB, fn); |
| 8228 | } |
| 8229 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8230 | typedef void (GLAPIENTRYP _glptr_Uniform4ivARB)(GLint, GLsizei, const GLint *); |
| 8231 | #define CALL_Uniform4ivARB(disp, parameters) \ |
| 8232 | (* GET_Uniform4ivARB(disp)) parameters |
| 8233 | static INLINE _glptr_Uniform4ivARB GET_Uniform4ivARB(struct _glapi_table *disp) { |
| 8234 | return (_glptr_Uniform4ivARB) (GET_by_offset(disp, _gloffset_Uniform4ivARB)); |
| 8235 | } |
| 8236 | |
| 8237 | static INLINE void SET_Uniform4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8238 | SET_by_offset(disp, _gloffset_Uniform4ivARB, fn); |
| 8239 | } |
| 8240 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8241 | typedef void (GLAPIENTRYP _glptr_UniformMatrix2fvARB)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 8242 | #define CALL_UniformMatrix2fvARB(disp, parameters) \ |
| 8243 | (* GET_UniformMatrix2fvARB(disp)) parameters |
| 8244 | static INLINE _glptr_UniformMatrix2fvARB GET_UniformMatrix2fvARB(struct _glapi_table *disp) { |
| 8245 | return (_glptr_UniformMatrix2fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix2fvARB)); |
| 8246 | } |
| 8247 | |
| 8248 | static INLINE void SET_UniformMatrix2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8249 | SET_by_offset(disp, _gloffset_UniformMatrix2fvARB, fn); |
| 8250 | } |
| 8251 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8252 | typedef void (GLAPIENTRYP _glptr_UniformMatrix3fvARB)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 8253 | #define CALL_UniformMatrix3fvARB(disp, parameters) \ |
| 8254 | (* GET_UniformMatrix3fvARB(disp)) parameters |
| 8255 | static INLINE _glptr_UniformMatrix3fvARB GET_UniformMatrix3fvARB(struct _glapi_table *disp) { |
| 8256 | return (_glptr_UniformMatrix3fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix3fvARB)); |
| 8257 | } |
| 8258 | |
| 8259 | static INLINE void SET_UniformMatrix3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8260 | SET_by_offset(disp, _gloffset_UniformMatrix3fvARB, fn); |
| 8261 | } |
| 8262 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8263 | typedef void (GLAPIENTRYP _glptr_UniformMatrix4fvARB)(GLint, GLsizei, GLboolean, const GLfloat *); |
| 8264 | #define CALL_UniformMatrix4fvARB(disp, parameters) \ |
| 8265 | (* GET_UniformMatrix4fvARB(disp)) parameters |
| 8266 | static INLINE _glptr_UniformMatrix4fvARB GET_UniformMatrix4fvARB(struct _glapi_table *disp) { |
| 8267 | return (_glptr_UniformMatrix4fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix4fvARB)); |
| 8268 | } |
| 8269 | |
| 8270 | static INLINE void SET_UniformMatrix4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8271 | SET_by_offset(disp, _gloffset_UniformMatrix4fvARB, fn); |
| 8272 | } |
| 8273 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8274 | typedef void (GLAPIENTRYP _glptr_UseProgramObjectARB)(GLhandleARB); |
| 8275 | #define CALL_UseProgramObjectARB(disp, parameters) \ |
| 8276 | (* GET_UseProgramObjectARB(disp)) parameters |
| 8277 | static INLINE _glptr_UseProgramObjectARB GET_UseProgramObjectARB(struct _glapi_table *disp) { |
| 8278 | return (_glptr_UseProgramObjectARB) (GET_by_offset(disp, _gloffset_UseProgramObjectARB)); |
| 8279 | } |
| 8280 | |
| 8281 | static INLINE void SET_UseProgramObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8282 | SET_by_offset(disp, _gloffset_UseProgramObjectARB, fn); |
| 8283 | } |
| 8284 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8285 | typedef void (GLAPIENTRYP _glptr_ValidateProgramARB)(GLhandleARB); |
| 8286 | #define CALL_ValidateProgramARB(disp, parameters) \ |
| 8287 | (* GET_ValidateProgramARB(disp)) parameters |
| 8288 | static INLINE _glptr_ValidateProgramARB GET_ValidateProgramARB(struct _glapi_table *disp) { |
| 8289 | return (_glptr_ValidateProgramARB) (GET_by_offset(disp, _gloffset_ValidateProgramARB)); |
| 8290 | } |
| 8291 | |
| 8292 | static INLINE void SET_ValidateProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8293 | SET_by_offset(disp, _gloffset_ValidateProgramARB, fn); |
| 8294 | } |
| 8295 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8296 | typedef void (GLAPIENTRYP _glptr_BindAttribLocationARB)(GLhandleARB, GLuint, const GLcharARB *); |
| 8297 | #define CALL_BindAttribLocationARB(disp, parameters) \ |
| 8298 | (* GET_BindAttribLocationARB(disp)) parameters |
| 8299 | static INLINE _glptr_BindAttribLocationARB GET_BindAttribLocationARB(struct _glapi_table *disp) { |
| 8300 | return (_glptr_BindAttribLocationARB) (GET_by_offset(disp, _gloffset_BindAttribLocationARB)); |
| 8301 | } |
| 8302 | |
| 8303 | static INLINE void SET_BindAttribLocationARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, const GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8304 | SET_by_offset(disp, _gloffset_BindAttribLocationARB, fn); |
| 8305 | } |
| 8306 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8307 | typedef void (GLAPIENTRYP _glptr_GetActiveAttribARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); |
| 8308 | #define CALL_GetActiveAttribARB(disp, parameters) \ |
| 8309 | (* GET_GetActiveAttribARB(disp)) parameters |
| 8310 | static INLINE _glptr_GetActiveAttribARB GET_GetActiveAttribARB(struct _glapi_table *disp) { |
| 8311 | return (_glptr_GetActiveAttribARB) (GET_by_offset(disp, _gloffset_GetActiveAttribARB)); |
| 8312 | } |
| 8313 | |
| 8314 | static INLINE void SET_GetActiveAttribARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8315 | SET_by_offset(disp, _gloffset_GetActiveAttribARB, fn); |
| 8316 | } |
| 8317 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8318 | typedef GLint (GLAPIENTRYP _glptr_GetAttribLocationARB)(GLhandleARB, const GLcharARB *); |
| 8319 | #define CALL_GetAttribLocationARB(disp, parameters) \ |
| 8320 | (* GET_GetAttribLocationARB(disp)) parameters |
| 8321 | static INLINE _glptr_GetAttribLocationARB GET_GetAttribLocationARB(struct _glapi_table *disp) { |
| 8322 | return (_glptr_GetAttribLocationARB) (GET_by_offset(disp, _gloffset_GetAttribLocationARB)); |
| 8323 | } |
| 8324 | |
| 8325 | static INLINE void SET_GetAttribLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8326 | SET_by_offset(disp, _gloffset_GetAttribLocationARB, fn); |
| 8327 | } |
| 8328 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8329 | typedef void (GLAPIENTRYP _glptr_DrawBuffersARB)(GLsizei, const GLenum *); |
| 8330 | #define CALL_DrawBuffersARB(disp, parameters) \ |
| 8331 | (* GET_DrawBuffersARB(disp)) parameters |
| 8332 | static INLINE _glptr_DrawBuffersARB GET_DrawBuffersARB(struct _glapi_table *disp) { |
| 8333 | return (_glptr_DrawBuffersARB) (GET_by_offset(disp, _gloffset_DrawBuffersARB)); |
| 8334 | } |
| 8335 | |
| 8336 | static INLINE void SET_DrawBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLenum *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8337 | SET_by_offset(disp, _gloffset_DrawBuffersARB, fn); |
| 8338 | } |
| 8339 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8340 | typedef void (GLAPIENTRYP _glptr_ClampColorARB)(GLenum, GLenum); |
| 8341 | #define CALL_ClampColorARB(disp, parameters) \ |
| 8342 | (* GET_ClampColorARB(disp)) parameters |
| 8343 | static INLINE _glptr_ClampColorARB GET_ClampColorARB(struct _glapi_table *disp) { |
| 8344 | return (_glptr_ClampColorARB) (GET_by_offset(disp, _gloffset_ClampColorARB)); |
| 8345 | } |
| 8346 | |
| 8347 | static INLINE void SET_ClampColorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8348 | SET_by_offset(disp, _gloffset_ClampColorARB, fn); |
| 8349 | } |
| 8350 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8351 | typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB)(GLenum, GLint, GLsizei, GLsizei); |
| 8352 | #define CALL_DrawArraysInstancedARB(disp, parameters) \ |
| 8353 | (* GET_DrawArraysInstancedARB(disp)) parameters |
| 8354 | static INLINE _glptr_DrawArraysInstancedARB GET_DrawArraysInstancedARB(struct _glapi_table *disp) { |
| 8355 | return (_glptr_DrawArraysInstancedARB) (GET_by_offset(disp, _gloffset_DrawArraysInstancedARB)); |
| 8356 | } |
| 8357 | |
| 8358 | static INLINE void SET_DrawArraysInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8359 | SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn); |
| 8360 | } |
| 8361 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8362 | typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); |
| 8363 | #define CALL_DrawElementsInstancedARB(disp, parameters) \ |
| 8364 | (* GET_DrawElementsInstancedARB(disp)) parameters |
| 8365 | static INLINE _glptr_DrawElementsInstancedARB GET_DrawElementsInstancedARB(struct _glapi_table *disp) { |
| 8366 | return (_glptr_DrawElementsInstancedARB) (GET_by_offset(disp, _gloffset_DrawElementsInstancedARB)); |
| 8367 | } |
| 8368 | |
| 8369 | static INLINE void SET_DrawElementsInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8370 | SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn); |
| 8371 | } |
| 8372 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8373 | typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei); |
| 8374 | #define CALL_RenderbufferStorageMultisample(disp, parameters) \ |
| 8375 | (* GET_RenderbufferStorageMultisample(disp)) parameters |
| 8376 | static INLINE _glptr_RenderbufferStorageMultisample GET_RenderbufferStorageMultisample(struct _glapi_table *disp) { |
| 8377 | return (_glptr_RenderbufferStorageMultisample) (GET_by_offset(disp, _gloffset_RenderbufferStorageMultisample)); |
| 8378 | } |
| 8379 | |
| 8380 | static INLINE void SET_RenderbufferStorageMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8381 | SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn); |
| 8382 | } |
| 8383 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8384 | typedef void (GLAPIENTRYP _glptr_FramebufferTextureARB)(GLenum, GLenum, GLuint, GLint); |
| 8385 | #define CALL_FramebufferTextureARB(disp, parameters) \ |
| 8386 | (* GET_FramebufferTextureARB(disp)) parameters |
| 8387 | static INLINE _glptr_FramebufferTextureARB GET_FramebufferTextureARB(struct _glapi_table *disp) { |
| 8388 | return (_glptr_FramebufferTextureARB) (GET_by_offset(disp, _gloffset_FramebufferTextureARB)); |
| 8389 | } |
| 8390 | |
| 8391 | static INLINE void SET_FramebufferTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8392 | SET_by_offset(disp, _gloffset_FramebufferTextureARB, fn); |
| 8393 | } |
| 8394 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8395 | typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB)(GLenum, GLenum, GLuint, GLint, GLenum); |
| 8396 | #define CALL_FramebufferTextureFaceARB(disp, parameters) \ |
| 8397 | (* GET_FramebufferTextureFaceARB(disp)) parameters |
| 8398 | static INLINE _glptr_FramebufferTextureFaceARB GET_FramebufferTextureFaceARB(struct _glapi_table *disp) { |
| 8399 | return (_glptr_FramebufferTextureFaceARB) (GET_by_offset(disp, _gloffset_FramebufferTextureFaceARB)); |
| 8400 | } |
| 8401 | |
| 8402 | static INLINE void SET_FramebufferTextureFaceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8403 | SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn); |
| 8404 | } |
| 8405 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8406 | typedef void (GLAPIENTRYP _glptr_ProgramParameteriARB)(GLuint, GLenum, GLint); |
| 8407 | #define CALL_ProgramParameteriARB(disp, parameters) \ |
| 8408 | (* GET_ProgramParameteriARB(disp)) parameters |
| 8409 | static INLINE _glptr_ProgramParameteriARB GET_ProgramParameteriARB(struct _glapi_table *disp) { |
| 8410 | return (_glptr_ProgramParameteriARB) (GET_by_offset(disp, _gloffset_ProgramParameteriARB)); |
| 8411 | } |
| 8412 | |
| 8413 | static INLINE void SET_ProgramParameteriARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8414 | SET_by_offset(disp, _gloffset_ProgramParameteriARB, fn); |
| 8415 | } |
| 8416 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8417 | typedef void (GLAPIENTRYP _glptr_VertexAttribDivisorARB)(GLuint, GLuint); |
| 8418 | #define CALL_VertexAttribDivisorARB(disp, parameters) \ |
| 8419 | (* GET_VertexAttribDivisorARB(disp)) parameters |
| 8420 | static INLINE _glptr_VertexAttribDivisorARB GET_VertexAttribDivisorARB(struct _glapi_table *disp) { |
| 8421 | return (_glptr_VertexAttribDivisorARB) (GET_by_offset(disp, _gloffset_VertexAttribDivisorARB)); |
| 8422 | } |
| 8423 | |
| 8424 | static INLINE void SET_VertexAttribDivisorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8425 | SET_by_offset(disp, _gloffset_VertexAttribDivisorARB, fn); |
| 8426 | } |
| 8427 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8428 | typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr); |
| 8429 | #define CALL_FlushMappedBufferRange(disp, parameters) \ |
| 8430 | (* GET_FlushMappedBufferRange(disp)) parameters |
| 8431 | static INLINE _glptr_FlushMappedBufferRange GET_FlushMappedBufferRange(struct _glapi_table *disp) { |
| 8432 | return (_glptr_FlushMappedBufferRange) (GET_by_offset(disp, _gloffset_FlushMappedBufferRange)); |
| 8433 | } |
| 8434 | |
| 8435 | static INLINE void SET_FlushMappedBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8436 | SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn); |
| 8437 | } |
| 8438 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8439 | typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield); |
| 8440 | #define CALL_MapBufferRange(disp, parameters) \ |
| 8441 | (* GET_MapBufferRange(disp)) parameters |
| 8442 | static INLINE _glptr_MapBufferRange GET_MapBufferRange(struct _glapi_table *disp) { |
| 8443 | return (_glptr_MapBufferRange) (GET_by_offset(disp, _gloffset_MapBufferRange)); |
| 8444 | } |
| 8445 | |
| 8446 | static INLINE void SET_MapBufferRange(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, GLbitfield)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8447 | SET_by_offset(disp, _gloffset_MapBufferRange, fn); |
| 8448 | } |
| 8449 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8450 | typedef void (GLAPIENTRYP _glptr_TexBufferARB)(GLenum, GLenum, GLuint); |
| 8451 | #define CALL_TexBufferARB(disp, parameters) \ |
| 8452 | (* GET_TexBufferARB(disp)) parameters |
| 8453 | static INLINE _glptr_TexBufferARB GET_TexBufferARB(struct _glapi_table *disp) { |
| 8454 | return (_glptr_TexBufferARB) (GET_by_offset(disp, _gloffset_TexBufferARB)); |
| 8455 | } |
| 8456 | |
| 8457 | static INLINE void SET_TexBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8458 | SET_by_offset(disp, _gloffset_TexBufferARB, fn); |
| 8459 | } |
| 8460 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8461 | typedef void (GLAPIENTRYP _glptr_BindVertexArray)(GLuint); |
| 8462 | #define CALL_BindVertexArray(disp, parameters) \ |
| 8463 | (* GET_BindVertexArray(disp)) parameters |
| 8464 | static INLINE _glptr_BindVertexArray GET_BindVertexArray(struct _glapi_table *disp) { |
| 8465 | return (_glptr_BindVertexArray) (GET_by_offset(disp, _gloffset_BindVertexArray)); |
| 8466 | } |
| 8467 | |
| 8468 | static INLINE void SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8469 | SET_by_offset(disp, _gloffset_BindVertexArray, fn); |
| 8470 | } |
| 8471 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8472 | typedef void (GLAPIENTRYP _glptr_GenVertexArrays)(GLsizei, GLuint *); |
| 8473 | #define CALL_GenVertexArrays(disp, parameters) \ |
| 8474 | (* GET_GenVertexArrays(disp)) parameters |
| 8475 | static INLINE _glptr_GenVertexArrays GET_GenVertexArrays(struct _glapi_table *disp) { |
| 8476 | return (_glptr_GenVertexArrays) (GET_by_offset(disp, _gloffset_GenVertexArrays)); |
| 8477 | } |
| 8478 | |
| 8479 | static INLINE void SET_GenVertexArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8480 | SET_by_offset(disp, _gloffset_GenVertexArrays, fn); |
| 8481 | } |
| 8482 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8483 | typedef void (GLAPIENTRYP _glptr_CopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr); |
| 8484 | #define CALL_CopyBufferSubData(disp, parameters) \ |
| 8485 | (* GET_CopyBufferSubData(disp)) parameters |
| 8486 | static INLINE _glptr_CopyBufferSubData GET_CopyBufferSubData(struct _glapi_table *disp) { |
| 8487 | return (_glptr_CopyBufferSubData) (GET_by_offset(disp, _gloffset_CopyBufferSubData)); |
| 8488 | } |
| 8489 | |
| 8490 | static INLINE void SET_CopyBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8491 | SET_by_offset(disp, _gloffset_CopyBufferSubData, fn); |
| 8492 | } |
| 8493 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8494 | typedef GLenum (GLAPIENTRYP _glptr_ClientWaitSync)(GLsync, GLbitfield, GLuint64); |
| 8495 | #define CALL_ClientWaitSync(disp, parameters) \ |
| 8496 | (* GET_ClientWaitSync(disp)) parameters |
| 8497 | static INLINE _glptr_ClientWaitSync GET_ClientWaitSync(struct _glapi_table *disp) { |
| 8498 | return (_glptr_ClientWaitSync) (GET_by_offset(disp, _gloffset_ClientWaitSync)); |
| 8499 | } |
| 8500 | |
| 8501 | static INLINE void SET_ClientWaitSync(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8502 | SET_by_offset(disp, _gloffset_ClientWaitSync, fn); |
| 8503 | } |
| 8504 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8505 | typedef void (GLAPIENTRYP _glptr_DeleteSync)(GLsync); |
| 8506 | #define CALL_DeleteSync(disp, parameters) \ |
| 8507 | (* GET_DeleteSync(disp)) parameters |
| 8508 | static INLINE _glptr_DeleteSync GET_DeleteSync(struct _glapi_table *disp) { |
| 8509 | return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync)); |
| 8510 | } |
| 8511 | |
| 8512 | static INLINE void SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8513 | SET_by_offset(disp, _gloffset_DeleteSync, fn); |
| 8514 | } |
| 8515 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8516 | typedef GLsync (GLAPIENTRYP _glptr_FenceSync)(GLenum, GLbitfield); |
| 8517 | #define CALL_FenceSync(disp, parameters) \ |
| 8518 | (* GET_FenceSync(disp)) parameters |
| 8519 | static INLINE _glptr_FenceSync GET_FenceSync(struct _glapi_table *disp) { |
| 8520 | return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync)); |
| 8521 | } |
| 8522 | |
| 8523 | static INLINE void SET_FenceSync(struct _glapi_table *disp, GLsync (GLAPIENTRYP fn)(GLenum, GLbitfield)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8524 | SET_by_offset(disp, _gloffset_FenceSync, fn); |
| 8525 | } |
| 8526 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8527 | typedef void (GLAPIENTRYP _glptr_GetInteger64v)(GLenum, GLint64 *); |
| 8528 | #define CALL_GetInteger64v(disp, parameters) \ |
| 8529 | (* GET_GetInteger64v(disp)) parameters |
| 8530 | static INLINE _glptr_GetInteger64v GET_GetInteger64v(struct _glapi_table *disp) { |
| 8531 | return (_glptr_GetInteger64v) (GET_by_offset(disp, _gloffset_GetInteger64v)); |
| 8532 | } |
| 8533 | |
| 8534 | static INLINE void SET_GetInteger64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint64 *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8535 | SET_by_offset(disp, _gloffset_GetInteger64v, fn); |
| 8536 | } |
| 8537 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8538 | typedef void (GLAPIENTRYP _glptr_GetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GLint *); |
| 8539 | #define CALL_GetSynciv(disp, parameters) \ |
| 8540 | (* GET_GetSynciv(disp)) parameters |
| 8541 | static INLINE _glptr_GetSynciv GET_GetSynciv(struct _glapi_table *disp) { |
| 8542 | return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv)); |
| 8543 | } |
| 8544 | |
| 8545 | static INLINE void SET_GetSynciv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLenum, GLsizei, GLsizei *, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8546 | SET_by_offset(disp, _gloffset_GetSynciv, fn); |
| 8547 | } |
| 8548 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8549 | typedef GLboolean (GLAPIENTRYP _glptr_IsSync)(GLsync); |
| 8550 | #define CALL_IsSync(disp, parameters) \ |
| 8551 | (* GET_IsSync(disp)) parameters |
| 8552 | static INLINE _glptr_IsSync GET_IsSync(struct _glapi_table *disp) { |
| 8553 | return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync)); |
| 8554 | } |
| 8555 | |
| 8556 | static INLINE void SET_IsSync(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsync)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8557 | SET_by_offset(disp, _gloffset_IsSync, fn); |
| 8558 | } |
| 8559 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8560 | typedef void (GLAPIENTRYP _glptr_WaitSync)(GLsync, GLbitfield, GLuint64); |
| 8561 | #define CALL_WaitSync(disp, parameters) \ |
| 8562 | (* GET_WaitSync(disp)) parameters |
| 8563 | static INLINE _glptr_WaitSync GET_WaitSync(struct _glapi_table *disp) { |
| 8564 | return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync)); |
| 8565 | } |
| 8566 | |
| 8567 | static INLINE void SET_WaitSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8568 | SET_by_offset(disp, _gloffset_WaitSync, fn); |
| 8569 | } |
| 8570 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8571 | typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLint); |
| 8572 | #define CALL_DrawElementsBaseVertex(disp, parameters) \ |
| 8573 | (* GET_DrawElementsBaseVertex(disp)) parameters |
| 8574 | static INLINE _glptr_DrawElementsBaseVertex GET_DrawElementsBaseVertex(struct _glapi_table *disp) { |
| 8575 | return (_glptr_DrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsBaseVertex)); |
| 8576 | } |
| 8577 | |
| 8578 | static INLINE void SET_DrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8579 | SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn); |
| 8580 | } |
| 8581 | |
| Pierre-Eric Pelloux-Prayer | 0dae946 | 2011-05-31 13:34:34 +0200 | [diff] [blame] | 8582 | typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint); |
| 8583 | #define CALL_DrawElementsInstancedBaseVertex(disp, parameters) \ |
| 8584 | (* GET_DrawElementsInstancedBaseVertex(disp)) parameters |
| 8585 | static INLINE _glptr_DrawElementsInstancedBaseVertex GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp) { |
| 8586 | return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex)); |
| 8587 | } |
| 8588 | |
| 8589 | static INLINE void SET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint)) { |
| 8590 | SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex, fn); |
| 8591 | } |
| 8592 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8593 | typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint); |
| 8594 | #define CALL_DrawRangeElementsBaseVertex(disp, parameters) \ |
| 8595 | (* GET_DrawRangeElementsBaseVertex(disp)) parameters |
| 8596 | static INLINE _glptr_DrawRangeElementsBaseVertex GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp) { |
| 8597 | return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex)); |
| 8598 | } |
| 8599 | |
| 8600 | static INLINE void SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8601 | SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn); |
| 8602 | } |
| 8603 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8604 | typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *); |
| 8605 | #define CALL_MultiDrawElementsBaseVertex(disp, parameters) \ |
| 8606 | (* GET_MultiDrawElementsBaseVertex(disp)) parameters |
| 8607 | static INLINE _glptr_MultiDrawElementsBaseVertex GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp) { |
| 8608 | return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex)); |
| 8609 | } |
| 8610 | |
| 8611 | static INLINE void SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8612 | SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn); |
| 8613 | } |
| 8614 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8615 | typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB)(GLuint, GLenum, GLenum); |
| 8616 | #define CALL_BlendEquationSeparateiARB(disp, parameters) \ |
| 8617 | (* GET_BlendEquationSeparateiARB(disp)) parameters |
| 8618 | static INLINE _glptr_BlendEquationSeparateiARB GET_BlendEquationSeparateiARB(struct _glapi_table *disp) { |
| 8619 | return (_glptr_BlendEquationSeparateiARB) (GET_by_offset(disp, _gloffset_BlendEquationSeparateiARB)); |
| 8620 | } |
| 8621 | |
| 8622 | static INLINE void SET_BlendEquationSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8623 | SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn); |
| 8624 | } |
| 8625 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8626 | typedef void (GLAPIENTRYP _glptr_BlendEquationiARB)(GLuint, GLenum); |
| 8627 | #define CALL_BlendEquationiARB(disp, parameters) \ |
| 8628 | (* GET_BlendEquationiARB(disp)) parameters |
| 8629 | static INLINE _glptr_BlendEquationiARB GET_BlendEquationiARB(struct _glapi_table *disp) { |
| 8630 | return (_glptr_BlendEquationiARB) (GET_by_offset(disp, _gloffset_BlendEquationiARB)); |
| 8631 | } |
| 8632 | |
| 8633 | static INLINE void SET_BlendEquationiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8634 | SET_by_offset(disp, _gloffset_BlendEquationiARB, fn); |
| 8635 | } |
| 8636 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8637 | typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum); |
| 8638 | #define CALL_BlendFuncSeparateiARB(disp, parameters) \ |
| 8639 | (* GET_BlendFuncSeparateiARB(disp)) parameters |
| 8640 | static INLINE _glptr_BlendFuncSeparateiARB GET_BlendFuncSeparateiARB(struct _glapi_table *disp) { |
| 8641 | return (_glptr_BlendFuncSeparateiARB) (GET_by_offset(disp, _gloffset_BlendFuncSeparateiARB)); |
| 8642 | } |
| 8643 | |
| 8644 | static INLINE void SET_BlendFuncSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8645 | SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn); |
| 8646 | } |
| 8647 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8648 | typedef void (GLAPIENTRYP _glptr_BlendFunciARB)(GLuint, GLenum, GLenum); |
| 8649 | #define CALL_BlendFunciARB(disp, parameters) \ |
| 8650 | (* GET_BlendFunciARB(disp)) parameters |
| 8651 | static INLINE _glptr_BlendFunciARB GET_BlendFunciARB(struct _glapi_table *disp) { |
| 8652 | return (_glptr_BlendFunciARB) (GET_by_offset(disp, _gloffset_BlendFunciARB)); |
| 8653 | } |
| 8654 | |
| 8655 | static INLINE void SET_BlendFunciARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8656 | SET_by_offset(disp, _gloffset_BlendFunciARB, fn); |
| 8657 | } |
| 8658 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8659 | typedef void (GLAPIENTRYP _glptr_BindSampler)(GLuint, GLuint); |
| 8660 | #define CALL_BindSampler(disp, parameters) \ |
| 8661 | (* GET_BindSampler(disp)) parameters |
| 8662 | static INLINE _glptr_BindSampler GET_BindSampler(struct _glapi_table *disp) { |
| 8663 | return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler)); |
| 8664 | } |
| 8665 | |
| 8666 | static INLINE void SET_BindSampler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8667 | SET_by_offset(disp, _gloffset_BindSampler, fn); |
| 8668 | } |
| 8669 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8670 | typedef void (GLAPIENTRYP _glptr_DeleteSamplers)(GLsizei, const GLuint *); |
| 8671 | #define CALL_DeleteSamplers(disp, parameters) \ |
| 8672 | (* GET_DeleteSamplers(disp)) parameters |
| 8673 | static INLINE _glptr_DeleteSamplers GET_DeleteSamplers(struct _glapi_table *disp) { |
| 8674 | return (_glptr_DeleteSamplers) (GET_by_offset(disp, _gloffset_DeleteSamplers)); |
| 8675 | } |
| 8676 | |
| 8677 | static INLINE void SET_DeleteSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8678 | SET_by_offset(disp, _gloffset_DeleteSamplers, fn); |
| 8679 | } |
| 8680 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8681 | typedef void (GLAPIENTRYP _glptr_GenSamplers)(GLsizei, GLuint *); |
| 8682 | #define CALL_GenSamplers(disp, parameters) \ |
| 8683 | (* GET_GenSamplers(disp)) parameters |
| 8684 | static INLINE _glptr_GenSamplers GET_GenSamplers(struct _glapi_table *disp) { |
| 8685 | return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers)); |
| 8686 | } |
| 8687 | |
| 8688 | static INLINE void SET_GenSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8689 | SET_by_offset(disp, _gloffset_GenSamplers, fn); |
| 8690 | } |
| 8691 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8692 | typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv)(GLuint, GLenum, GLint *); |
| 8693 | #define CALL_GetSamplerParameterIiv(disp, parameters) \ |
| 8694 | (* GET_GetSamplerParameterIiv(disp)) parameters |
| 8695 | static INLINE _glptr_GetSamplerParameterIiv GET_GetSamplerParameterIiv(struct _glapi_table *disp) { |
| 8696 | return (_glptr_GetSamplerParameterIiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIiv)); |
| 8697 | } |
| 8698 | |
| 8699 | static INLINE void SET_GetSamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8700 | SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn); |
| 8701 | } |
| 8702 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8703 | typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv)(GLuint, GLenum, GLuint *); |
| 8704 | #define CALL_GetSamplerParameterIuiv(disp, parameters) \ |
| 8705 | (* GET_GetSamplerParameterIuiv(disp)) parameters |
| 8706 | static INLINE _glptr_GetSamplerParameterIuiv GET_GetSamplerParameterIuiv(struct _glapi_table *disp) { |
| 8707 | return (_glptr_GetSamplerParameterIuiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIuiv)); |
| 8708 | } |
| 8709 | |
| 8710 | static INLINE void SET_GetSamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8711 | SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn); |
| 8712 | } |
| 8713 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8714 | typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv)(GLuint, GLenum, GLfloat *); |
| 8715 | #define CALL_GetSamplerParameterfv(disp, parameters) \ |
| 8716 | (* GET_GetSamplerParameterfv(disp)) parameters |
| 8717 | static INLINE _glptr_GetSamplerParameterfv GET_GetSamplerParameterfv(struct _glapi_table *disp) { |
| 8718 | return (_glptr_GetSamplerParameterfv) (GET_by_offset(disp, _gloffset_GetSamplerParameterfv)); |
| 8719 | } |
| 8720 | |
| 8721 | static INLINE void SET_GetSamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8722 | SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn); |
| 8723 | } |
| 8724 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8725 | typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv)(GLuint, GLenum, GLint *); |
| 8726 | #define CALL_GetSamplerParameteriv(disp, parameters) \ |
| 8727 | (* GET_GetSamplerParameteriv(disp)) parameters |
| 8728 | static INLINE _glptr_GetSamplerParameteriv GET_GetSamplerParameteriv(struct _glapi_table *disp) { |
| 8729 | return (_glptr_GetSamplerParameteriv) (GET_by_offset(disp, _gloffset_GetSamplerParameteriv)); |
| 8730 | } |
| 8731 | |
| 8732 | static INLINE void SET_GetSamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8733 | SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn); |
| 8734 | } |
| 8735 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8736 | typedef GLboolean (GLAPIENTRYP _glptr_IsSampler)(GLuint); |
| 8737 | #define CALL_IsSampler(disp, parameters) \ |
| 8738 | (* GET_IsSampler(disp)) parameters |
| 8739 | static INLINE _glptr_IsSampler GET_IsSampler(struct _glapi_table *disp) { |
| 8740 | return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler)); |
| 8741 | } |
| 8742 | |
| 8743 | static INLINE void SET_IsSampler(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8744 | SET_by_offset(disp, _gloffset_IsSampler, fn); |
| 8745 | } |
| 8746 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8747 | typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv)(GLuint, GLenum, const GLint *); |
| 8748 | #define CALL_SamplerParameterIiv(disp, parameters) \ |
| 8749 | (* GET_SamplerParameterIiv(disp)) parameters |
| 8750 | static INLINE _glptr_SamplerParameterIiv GET_SamplerParameterIiv(struct _glapi_table *disp) { |
| 8751 | return (_glptr_SamplerParameterIiv) (GET_by_offset(disp, _gloffset_SamplerParameterIiv)); |
| 8752 | } |
| 8753 | |
| 8754 | static INLINE void SET_SamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8755 | SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn); |
| 8756 | } |
| 8757 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8758 | typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv)(GLuint, GLenum, const GLuint *); |
| 8759 | #define CALL_SamplerParameterIuiv(disp, parameters) \ |
| 8760 | (* GET_SamplerParameterIuiv(disp)) parameters |
| 8761 | static INLINE _glptr_SamplerParameterIuiv GET_SamplerParameterIuiv(struct _glapi_table *disp) { |
| 8762 | return (_glptr_SamplerParameterIuiv) (GET_by_offset(disp, _gloffset_SamplerParameterIuiv)); |
| 8763 | } |
| 8764 | |
| 8765 | static INLINE void SET_SamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8766 | SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn); |
| 8767 | } |
| 8768 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8769 | typedef void (GLAPIENTRYP _glptr_SamplerParameterf)(GLuint, GLenum, GLfloat); |
| 8770 | #define CALL_SamplerParameterf(disp, parameters) \ |
| 8771 | (* GET_SamplerParameterf(disp)) parameters |
| 8772 | static INLINE _glptr_SamplerParameterf GET_SamplerParameterf(struct _glapi_table *disp) { |
| 8773 | return (_glptr_SamplerParameterf) (GET_by_offset(disp, _gloffset_SamplerParameterf)); |
| 8774 | } |
| 8775 | |
| 8776 | static INLINE void SET_SamplerParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8777 | SET_by_offset(disp, _gloffset_SamplerParameterf, fn); |
| 8778 | } |
| 8779 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8780 | typedef void (GLAPIENTRYP _glptr_SamplerParameterfv)(GLuint, GLenum, const GLfloat *); |
| 8781 | #define CALL_SamplerParameterfv(disp, parameters) \ |
| 8782 | (* GET_SamplerParameterfv(disp)) parameters |
| 8783 | static INLINE _glptr_SamplerParameterfv GET_SamplerParameterfv(struct _glapi_table *disp) { |
| 8784 | return (_glptr_SamplerParameterfv) (GET_by_offset(disp, _gloffset_SamplerParameterfv)); |
| 8785 | } |
| 8786 | |
| 8787 | static INLINE void SET_SamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8788 | SET_by_offset(disp, _gloffset_SamplerParameterfv, fn); |
| 8789 | } |
| 8790 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8791 | typedef void (GLAPIENTRYP _glptr_SamplerParameteri)(GLuint, GLenum, GLint); |
| 8792 | #define CALL_SamplerParameteri(disp, parameters) \ |
| 8793 | (* GET_SamplerParameteri(disp)) parameters |
| 8794 | static INLINE _glptr_SamplerParameteri GET_SamplerParameteri(struct _glapi_table *disp) { |
| 8795 | return (_glptr_SamplerParameteri) (GET_by_offset(disp, _gloffset_SamplerParameteri)); |
| 8796 | } |
| 8797 | |
| 8798 | static INLINE void SET_SamplerParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8799 | SET_by_offset(disp, _gloffset_SamplerParameteri, fn); |
| 8800 | } |
| 8801 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8802 | typedef void (GLAPIENTRYP _glptr_SamplerParameteriv)(GLuint, GLenum, const GLint *); |
| 8803 | #define CALL_SamplerParameteriv(disp, parameters) \ |
| 8804 | (* GET_SamplerParameteriv(disp)) parameters |
| 8805 | static INLINE _glptr_SamplerParameteriv GET_SamplerParameteriv(struct _glapi_table *disp) { |
| 8806 | return (_glptr_SamplerParameteriv) (GET_by_offset(disp, _gloffset_SamplerParameteriv)); |
| 8807 | } |
| 8808 | |
| 8809 | static INLINE void SET_SamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8810 | SET_by_offset(disp, _gloffset_SamplerParameteriv, fn); |
| 8811 | } |
| 8812 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8813 | typedef void (GLAPIENTRYP _glptr_BindTransformFeedback)(GLenum, GLuint); |
| 8814 | #define CALL_BindTransformFeedback(disp, parameters) \ |
| 8815 | (* GET_BindTransformFeedback(disp)) parameters |
| 8816 | static INLINE _glptr_BindTransformFeedback GET_BindTransformFeedback(struct _glapi_table *disp) { |
| 8817 | return (_glptr_BindTransformFeedback) (GET_by_offset(disp, _gloffset_BindTransformFeedback)); |
| 8818 | } |
| 8819 | |
| 8820 | static INLINE void SET_BindTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8821 | SET_by_offset(disp, _gloffset_BindTransformFeedback, fn); |
| 8822 | } |
| 8823 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8824 | typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks)(GLsizei, const GLuint *); |
| 8825 | #define CALL_DeleteTransformFeedbacks(disp, parameters) \ |
| 8826 | (* GET_DeleteTransformFeedbacks(disp)) parameters |
| 8827 | static INLINE _glptr_DeleteTransformFeedbacks GET_DeleteTransformFeedbacks(struct _glapi_table *disp) { |
| 8828 | return (_glptr_DeleteTransformFeedbacks) (GET_by_offset(disp, _gloffset_DeleteTransformFeedbacks)); |
| 8829 | } |
| 8830 | |
| 8831 | static INLINE void SET_DeleteTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8832 | SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn); |
| 8833 | } |
| 8834 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8835 | typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback)(GLenum, GLuint); |
| 8836 | #define CALL_DrawTransformFeedback(disp, parameters) \ |
| 8837 | (* GET_DrawTransformFeedback(disp)) parameters |
| 8838 | static INLINE _glptr_DrawTransformFeedback GET_DrawTransformFeedback(struct _glapi_table *disp) { |
| 8839 | return (_glptr_DrawTransformFeedback) (GET_by_offset(disp, _gloffset_DrawTransformFeedback)); |
| 8840 | } |
| 8841 | |
| 8842 | static INLINE void SET_DrawTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8843 | SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn); |
| 8844 | } |
| 8845 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8846 | typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks)(GLsizei, GLuint *); |
| 8847 | #define CALL_GenTransformFeedbacks(disp, parameters) \ |
| 8848 | (* GET_GenTransformFeedbacks(disp)) parameters |
| 8849 | static INLINE _glptr_GenTransformFeedbacks GET_GenTransformFeedbacks(struct _glapi_table *disp) { |
| 8850 | return (_glptr_GenTransformFeedbacks) (GET_by_offset(disp, _gloffset_GenTransformFeedbacks)); |
| 8851 | } |
| 8852 | |
| 8853 | static INLINE void SET_GenTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8854 | SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn); |
| 8855 | } |
| 8856 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8857 | typedef GLboolean (GLAPIENTRYP _glptr_IsTransformFeedback)(GLuint); |
| 8858 | #define CALL_IsTransformFeedback(disp, parameters) \ |
| 8859 | (* GET_IsTransformFeedback(disp)) parameters |
| 8860 | static INLINE _glptr_IsTransformFeedback GET_IsTransformFeedback(struct _glapi_table *disp) { |
| 8861 | return (_glptr_IsTransformFeedback) (GET_by_offset(disp, _gloffset_IsTransformFeedback)); |
| 8862 | } |
| 8863 | |
| 8864 | static INLINE void SET_IsTransformFeedback(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8865 | SET_by_offset(disp, _gloffset_IsTransformFeedback, fn); |
| 8866 | } |
| 8867 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8868 | typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback)(void); |
| 8869 | #define CALL_PauseTransformFeedback(disp, parameters) \ |
| 8870 | (* GET_PauseTransformFeedback(disp)) parameters |
| 8871 | static INLINE _glptr_PauseTransformFeedback GET_PauseTransformFeedback(struct _glapi_table *disp) { |
| 8872 | return (_glptr_PauseTransformFeedback) (GET_by_offset(disp, _gloffset_PauseTransformFeedback)); |
| 8873 | } |
| 8874 | |
| 8875 | static INLINE void SET_PauseTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8876 | SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn); |
| 8877 | } |
| 8878 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8879 | typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback)(void); |
| 8880 | #define CALL_ResumeTransformFeedback(disp, parameters) \ |
| 8881 | (* GET_ResumeTransformFeedback(disp)) parameters |
| 8882 | static INLINE _glptr_ResumeTransformFeedback GET_ResumeTransformFeedback(struct _glapi_table *disp) { |
| 8883 | return (_glptr_ResumeTransformFeedback) (GET_by_offset(disp, _gloffset_ResumeTransformFeedback)); |
| 8884 | } |
| 8885 | |
| 8886 | static INLINE void SET_ResumeTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8887 | SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn); |
| 8888 | } |
| 8889 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8890 | typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf); |
| 8891 | #define CALL_ClearDepthf(disp, parameters) \ |
| 8892 | (* GET_ClearDepthf(disp)) parameters |
| 8893 | static INLINE _glptr_ClearDepthf GET_ClearDepthf(struct _glapi_table *disp) { |
| 8894 | return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf)); |
| 8895 | } |
| 8896 | |
| 8897 | static INLINE void SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8898 | SET_by_offset(disp, _gloffset_ClearDepthf, fn); |
| 8899 | } |
| 8900 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8901 | typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf); |
| 8902 | #define CALL_DepthRangef(disp, parameters) \ |
| 8903 | (* GET_DepthRangef(disp)) parameters |
| 8904 | static INLINE _glptr_DepthRangef GET_DepthRangef(struct _glapi_table *disp) { |
| 8905 | return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef)); |
| 8906 | } |
| 8907 | |
| 8908 | static INLINE void SET_DepthRangef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8909 | SET_by_offset(disp, _gloffset_DepthRangef, fn); |
| 8910 | } |
| 8911 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8912 | typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *); |
| 8913 | #define CALL_GetShaderPrecisionFormat(disp, parameters) \ |
| 8914 | (* GET_GetShaderPrecisionFormat(disp)) parameters |
| 8915 | static INLINE _glptr_GetShaderPrecisionFormat GET_GetShaderPrecisionFormat(struct _glapi_table *disp) { |
| 8916 | return (_glptr_GetShaderPrecisionFormat) (GET_by_offset(disp, _gloffset_GetShaderPrecisionFormat)); |
| 8917 | } |
| 8918 | |
| 8919 | static INLINE void SET_GetShaderPrecisionFormat(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8920 | SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn); |
| 8921 | } |
| 8922 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8923 | typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler)(void); |
| 8924 | #define CALL_ReleaseShaderCompiler(disp, parameters) \ |
| 8925 | (* GET_ReleaseShaderCompiler(disp)) parameters |
| 8926 | static INLINE _glptr_ReleaseShaderCompiler GET_ReleaseShaderCompiler(struct _glapi_table *disp) { |
| 8927 | return (_glptr_ReleaseShaderCompiler) (GET_by_offset(disp, _gloffset_ReleaseShaderCompiler)); |
| 8928 | } |
| 8929 | |
| 8930 | static INLINE void SET_ReleaseShaderCompiler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8931 | SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn); |
| 8932 | } |
| 8933 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8934 | typedef void (GLAPIENTRYP _glptr_ShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei); |
| 8935 | #define CALL_ShaderBinary(disp, parameters) \ |
| 8936 | (* GET_ShaderBinary(disp)) parameters |
| 8937 | static INLINE _glptr_ShaderBinary GET_ShaderBinary(struct _glapi_table *disp) { |
| 8938 | return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary)); |
| 8939 | } |
| 8940 | |
| 8941 | static INLINE void SET_ShaderBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8942 | SET_by_offset(disp, _gloffset_ShaderBinary, fn); |
| 8943 | } |
| 8944 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8945 | typedef GLenum (GLAPIENTRYP _glptr_GetGraphicsResetStatusARB)(void); |
| 8946 | #define CALL_GetGraphicsResetStatusARB(disp, parameters) \ |
| 8947 | (* GET_GetGraphicsResetStatusARB(disp)) parameters |
| 8948 | static INLINE _glptr_GetGraphicsResetStatusARB GET_GetGraphicsResetStatusARB(struct _glapi_table *disp) { |
| 8949 | return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB)); |
| 8950 | } |
| 8951 | |
| 8952 | static INLINE void SET_GetGraphicsResetStatusARB(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8953 | SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn); |
| 8954 | } |
| 8955 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8956 | typedef void (GLAPIENTRYP _glptr_GetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *); |
| 8957 | #define CALL_GetnColorTableARB(disp, parameters) \ |
| 8958 | (* GET_GetnColorTableARB(disp)) parameters |
| 8959 | static INLINE _glptr_GetnColorTableARB GET_GetnColorTableARB(struct _glapi_table *disp) { |
| 8960 | return (_glptr_GetnColorTableARB) (GET_by_offset(disp, _gloffset_GetnColorTableARB)); |
| 8961 | } |
| 8962 | |
| 8963 | static INLINE void SET_GetnColorTableARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8964 | SET_by_offset(disp, _gloffset_GetnColorTableARB, fn); |
| 8965 | } |
| 8966 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8967 | typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *); |
| 8968 | #define CALL_GetnCompressedTexImageARB(disp, parameters) \ |
| 8969 | (* GET_GetnCompressedTexImageARB(disp)) parameters |
| 8970 | static INLINE _glptr_GetnCompressedTexImageARB GET_GetnCompressedTexImageARB(struct _glapi_table *disp) { |
| 8971 | return (_glptr_GetnCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetnCompressedTexImageARB)); |
| 8972 | } |
| 8973 | |
| 8974 | static INLINE void SET_GetnCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8975 | SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn); |
| 8976 | } |
| 8977 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8978 | typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *); |
| 8979 | #define CALL_GetnConvolutionFilterARB(disp, parameters) \ |
| 8980 | (* GET_GetnConvolutionFilterARB(disp)) parameters |
| 8981 | static INLINE _glptr_GetnConvolutionFilterARB GET_GetnConvolutionFilterARB(struct _glapi_table *disp) { |
| 8982 | return (_glptr_GetnConvolutionFilterARB) (GET_by_offset(disp, _gloffset_GetnConvolutionFilterARB)); |
| 8983 | } |
| 8984 | |
| 8985 | static INLINE void SET_GetnConvolutionFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8986 | SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn); |
| 8987 | } |
| 8988 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 8989 | typedef void (GLAPIENTRYP _glptr_GetnHistogramARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *); |
| 8990 | #define CALL_GetnHistogramARB(disp, parameters) \ |
| 8991 | (* GET_GetnHistogramARB(disp)) parameters |
| 8992 | static INLINE _glptr_GetnHistogramARB GET_GetnHistogramARB(struct _glapi_table *disp) { |
| 8993 | return (_glptr_GetnHistogramARB) (GET_by_offset(disp, _gloffset_GetnHistogramARB)); |
| 8994 | } |
| 8995 | |
| 8996 | static INLINE void SET_GetnHistogramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 8997 | SET_by_offset(disp, _gloffset_GetnHistogramARB, fn); |
| 8998 | } |
| 8999 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9000 | typedef void (GLAPIENTRYP _glptr_GetnMapdvARB)(GLenum, GLenum, GLsizei, GLdouble *); |
| 9001 | #define CALL_GetnMapdvARB(disp, parameters) \ |
| 9002 | (* GET_GetnMapdvARB(disp)) parameters |
| 9003 | static INLINE _glptr_GetnMapdvARB GET_GetnMapdvARB(struct _glapi_table *disp) { |
| 9004 | return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB)); |
| 9005 | } |
| 9006 | |
| 9007 | static INLINE void SET_GetnMapdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9008 | SET_by_offset(disp, _gloffset_GetnMapdvARB, fn); |
| 9009 | } |
| 9010 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9011 | typedef void (GLAPIENTRYP _glptr_GetnMapfvARB)(GLenum, GLenum, GLsizei, GLfloat *); |
| 9012 | #define CALL_GetnMapfvARB(disp, parameters) \ |
| 9013 | (* GET_GetnMapfvARB(disp)) parameters |
| 9014 | static INLINE _glptr_GetnMapfvARB GET_GetnMapfvARB(struct _glapi_table *disp) { |
| 9015 | return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB)); |
| 9016 | } |
| 9017 | |
| 9018 | static INLINE void SET_GetnMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9019 | SET_by_offset(disp, _gloffset_GetnMapfvARB, fn); |
| 9020 | } |
| 9021 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9022 | typedef void (GLAPIENTRYP _glptr_GetnMapivARB)(GLenum, GLenum, GLsizei, GLint *); |
| 9023 | #define CALL_GetnMapivARB(disp, parameters) \ |
| 9024 | (* GET_GetnMapivARB(disp)) parameters |
| 9025 | static INLINE _glptr_GetnMapivARB GET_GetnMapivARB(struct _glapi_table *disp) { |
| 9026 | return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB)); |
| 9027 | } |
| 9028 | |
| 9029 | static INLINE void SET_GetnMapivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9030 | SET_by_offset(disp, _gloffset_GetnMapivARB, fn); |
| 9031 | } |
| 9032 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9033 | typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *); |
| 9034 | #define CALL_GetnMinmaxARB(disp, parameters) \ |
| 9035 | (* GET_GetnMinmaxARB(disp)) parameters |
| 9036 | static INLINE _glptr_GetnMinmaxARB GET_GetnMinmaxARB(struct _glapi_table *disp) { |
| 9037 | return (_glptr_GetnMinmaxARB) (GET_by_offset(disp, _gloffset_GetnMinmaxARB)); |
| 9038 | } |
| 9039 | |
| 9040 | static INLINE void SET_GetnMinmaxARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9041 | SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn); |
| 9042 | } |
| 9043 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9044 | typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB)(GLenum, GLsizei, GLfloat *); |
| 9045 | #define CALL_GetnPixelMapfvARB(disp, parameters) \ |
| 9046 | (* GET_GetnPixelMapfvARB(disp)) parameters |
| 9047 | static INLINE _glptr_GetnPixelMapfvARB GET_GetnPixelMapfvARB(struct _glapi_table *disp) { |
| 9048 | return (_glptr_GetnPixelMapfvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapfvARB)); |
| 9049 | } |
| 9050 | |
| 9051 | static INLINE void SET_GetnPixelMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9052 | SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn); |
| 9053 | } |
| 9054 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9055 | typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB)(GLenum, GLsizei, GLuint *); |
| 9056 | #define CALL_GetnPixelMapuivARB(disp, parameters) \ |
| 9057 | (* GET_GetnPixelMapuivARB(disp)) parameters |
| 9058 | static INLINE _glptr_GetnPixelMapuivARB GET_GetnPixelMapuivARB(struct _glapi_table *disp) { |
| 9059 | return (_glptr_GetnPixelMapuivARB) (GET_by_offset(disp, _gloffset_GetnPixelMapuivARB)); |
| 9060 | } |
| 9061 | |
| 9062 | static INLINE void SET_GetnPixelMapuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9063 | SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn); |
| 9064 | } |
| 9065 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9066 | typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB)(GLenum, GLsizei, GLushort *); |
| 9067 | #define CALL_GetnPixelMapusvARB(disp, parameters) \ |
| 9068 | (* GET_GetnPixelMapusvARB(disp)) parameters |
| 9069 | static INLINE _glptr_GetnPixelMapusvARB GET_GetnPixelMapusvARB(struct _glapi_table *disp) { |
| 9070 | return (_glptr_GetnPixelMapusvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapusvARB)); |
| 9071 | } |
| 9072 | |
| 9073 | static INLINE void SET_GetnPixelMapusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9074 | SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn); |
| 9075 | } |
| 9076 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9077 | typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB)(GLsizei, GLubyte *); |
| 9078 | #define CALL_GetnPolygonStippleARB(disp, parameters) \ |
| 9079 | (* GET_GetnPolygonStippleARB(disp)) parameters |
| 9080 | static INLINE _glptr_GetnPolygonStippleARB GET_GetnPolygonStippleARB(struct _glapi_table *disp) { |
| 9081 | return (_glptr_GetnPolygonStippleARB) (GET_by_offset(disp, _gloffset_GetnPolygonStippleARB)); |
| 9082 | } |
| 9083 | |
| 9084 | static INLINE void SET_GetnPolygonStippleARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9085 | SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn); |
| 9086 | } |
| 9087 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9088 | typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *); |
| 9089 | #define CALL_GetnSeparableFilterARB(disp, parameters) \ |
| 9090 | (* GET_GetnSeparableFilterARB(disp)) parameters |
| 9091 | static INLINE _glptr_GetnSeparableFilterARB GET_GetnSeparableFilterARB(struct _glapi_table *disp) { |
| 9092 | return (_glptr_GetnSeparableFilterARB) (GET_by_offset(disp, _gloffset_GetnSeparableFilterARB)); |
| 9093 | } |
| 9094 | |
| 9095 | static INLINE void SET_GetnSeparableFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9096 | SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn); |
| 9097 | } |
| 9098 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9099 | typedef void (GLAPIENTRYP _glptr_GetnTexImageARB)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *); |
| 9100 | #define CALL_GetnTexImageARB(disp, parameters) \ |
| 9101 | (* GET_GetnTexImageARB(disp)) parameters |
| 9102 | static INLINE _glptr_GetnTexImageARB GET_GetnTexImageARB(struct _glapi_table *disp) { |
| 9103 | return (_glptr_GetnTexImageARB) (GET_by_offset(disp, _gloffset_GetnTexImageARB)); |
| 9104 | } |
| 9105 | |
| 9106 | static INLINE void SET_GetnTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9107 | SET_by_offset(disp, _gloffset_GetnTexImageARB, fn); |
| 9108 | } |
| 9109 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9110 | typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB)(GLhandleARB, GLint, GLsizei, GLdouble *); |
| 9111 | #define CALL_GetnUniformdvARB(disp, parameters) \ |
| 9112 | (* GET_GetnUniformdvARB(disp)) parameters |
| 9113 | static INLINE _glptr_GetnUniformdvARB GET_GetnUniformdvARB(struct _glapi_table *disp) { |
| 9114 | return (_glptr_GetnUniformdvARB) (GET_by_offset(disp, _gloffset_GetnUniformdvARB)); |
| 9115 | } |
| 9116 | |
| 9117 | static INLINE void SET_GetnUniformdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9118 | SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn); |
| 9119 | } |
| 9120 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9121 | typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB)(GLhandleARB, GLint, GLsizei, GLfloat *); |
| 9122 | #define CALL_GetnUniformfvARB(disp, parameters) \ |
| 9123 | (* GET_GetnUniformfvARB(disp)) parameters |
| 9124 | static INLINE _glptr_GetnUniformfvARB GET_GetnUniformfvARB(struct _glapi_table *disp) { |
| 9125 | return (_glptr_GetnUniformfvARB) (GET_by_offset(disp, _gloffset_GetnUniformfvARB)); |
| 9126 | } |
| 9127 | |
| 9128 | static INLINE void SET_GetnUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9129 | SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn); |
| 9130 | } |
| 9131 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9132 | typedef void (GLAPIENTRYP _glptr_GetnUniformivARB)(GLhandleARB, GLint, GLsizei, GLint *); |
| 9133 | #define CALL_GetnUniformivARB(disp, parameters) \ |
| 9134 | (* GET_GetnUniformivARB(disp)) parameters |
| 9135 | static INLINE _glptr_GetnUniformivARB GET_GetnUniformivARB(struct _glapi_table *disp) { |
| 9136 | return (_glptr_GetnUniformivARB) (GET_by_offset(disp, _gloffset_GetnUniformivARB)); |
| 9137 | } |
| 9138 | |
| 9139 | static INLINE void SET_GetnUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9140 | SET_by_offset(disp, _gloffset_GetnUniformivARB, fn); |
| 9141 | } |
| 9142 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9143 | typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB)(GLhandleARB, GLint, GLsizei, GLuint *); |
| 9144 | #define CALL_GetnUniformuivARB(disp, parameters) \ |
| 9145 | (* GET_GetnUniformuivARB(disp)) parameters |
| 9146 | static INLINE _glptr_GetnUniformuivARB GET_GetnUniformuivARB(struct _glapi_table *disp) { |
| 9147 | return (_glptr_GetnUniformuivARB) (GET_by_offset(disp, _gloffset_GetnUniformuivARB)); |
| 9148 | } |
| 9149 | |
| 9150 | static INLINE void SET_GetnUniformuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9151 | SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn); |
| 9152 | } |
| 9153 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9154 | typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *); |
| 9155 | #define CALL_ReadnPixelsARB(disp, parameters) \ |
| 9156 | (* GET_ReadnPixelsARB(disp)) parameters |
| 9157 | static INLINE _glptr_ReadnPixelsARB GET_ReadnPixelsARB(struct _glapi_table *disp) { |
| 9158 | return (_glptr_ReadnPixelsARB) (GET_by_offset(disp, _gloffset_ReadnPixelsARB)); |
| 9159 | } |
| 9160 | |
| 9161 | static INLINE void SET_ReadnPixelsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9162 | SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn); |
| 9163 | } |
| 9164 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9165 | typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT)(GLfloat, GLfloat); |
| 9166 | #define CALL_PolygonOffsetEXT(disp, parameters) \ |
| 9167 | (* GET_PolygonOffsetEXT(disp)) parameters |
| 9168 | static INLINE _glptr_PolygonOffsetEXT GET_PolygonOffsetEXT(struct _glapi_table *disp) { |
| 9169 | return (_glptr_PolygonOffsetEXT) (GET_by_offset(disp, _gloffset_PolygonOffsetEXT)); |
| 9170 | } |
| 9171 | |
| 9172 | static INLINE void SET_PolygonOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9173 | SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn); |
| 9174 | } |
| 9175 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9176 | typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterfvSGIS)(GLenum, GLfloat *); |
| 9177 | #define CALL_GetPixelTexGenParameterfvSGIS(disp, parameters) \ |
| 9178 | (* GET_GetPixelTexGenParameterfvSGIS(disp)) parameters |
| 9179 | static INLINE _glptr_GetPixelTexGenParameterfvSGIS GET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp) { |
| 9180 | return (_glptr_GetPixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS)); |
| 9181 | } |
| 9182 | |
| 9183 | static INLINE void SET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9184 | SET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS, fn); |
| 9185 | } |
| 9186 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9187 | typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterivSGIS)(GLenum, GLint *); |
| 9188 | #define CALL_GetPixelTexGenParameterivSGIS(disp, parameters) \ |
| 9189 | (* GET_GetPixelTexGenParameterivSGIS(disp)) parameters |
| 9190 | static INLINE _glptr_GetPixelTexGenParameterivSGIS GET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp) { |
| 9191 | return (_glptr_GetPixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS)); |
| 9192 | } |
| 9193 | |
| 9194 | static INLINE void SET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9195 | SET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS, fn); |
| 9196 | } |
| 9197 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9198 | typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfSGIS)(GLenum, GLfloat); |
| 9199 | #define CALL_PixelTexGenParameterfSGIS(disp, parameters) \ |
| 9200 | (* GET_PixelTexGenParameterfSGIS(disp)) parameters |
| 9201 | static INLINE _glptr_PixelTexGenParameterfSGIS GET_PixelTexGenParameterfSGIS(struct _glapi_table *disp) { |
| 9202 | return (_glptr_PixelTexGenParameterfSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS)); |
| 9203 | } |
| 9204 | |
| 9205 | static INLINE void SET_PixelTexGenParameterfSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9206 | SET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS, fn); |
| 9207 | } |
| 9208 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9209 | typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfvSGIS)(GLenum, const GLfloat *); |
| 9210 | #define CALL_PixelTexGenParameterfvSGIS(disp, parameters) \ |
| 9211 | (* GET_PixelTexGenParameterfvSGIS(disp)) parameters |
| 9212 | static INLINE _glptr_PixelTexGenParameterfvSGIS GET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp) { |
| 9213 | return (_glptr_PixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS)); |
| 9214 | } |
| 9215 | |
| 9216 | static INLINE void SET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9217 | SET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS, fn); |
| 9218 | } |
| 9219 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9220 | typedef void (GLAPIENTRYP _glptr_PixelTexGenParameteriSGIS)(GLenum, GLint); |
| 9221 | #define CALL_PixelTexGenParameteriSGIS(disp, parameters) \ |
| 9222 | (* GET_PixelTexGenParameteriSGIS(disp)) parameters |
| 9223 | static INLINE _glptr_PixelTexGenParameteriSGIS GET_PixelTexGenParameteriSGIS(struct _glapi_table *disp) { |
| 9224 | return (_glptr_PixelTexGenParameteriSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS)); |
| 9225 | } |
| 9226 | |
| 9227 | static INLINE void SET_PixelTexGenParameteriSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9228 | SET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS, fn); |
| 9229 | } |
| 9230 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9231 | typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterivSGIS)(GLenum, const GLint *); |
| 9232 | #define CALL_PixelTexGenParameterivSGIS(disp, parameters) \ |
| 9233 | (* GET_PixelTexGenParameterivSGIS(disp)) parameters |
| 9234 | static INLINE _glptr_PixelTexGenParameterivSGIS GET_PixelTexGenParameterivSGIS(struct _glapi_table *disp) { |
| 9235 | return (_glptr_PixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS)); |
| 9236 | } |
| 9237 | |
| 9238 | static INLINE void SET_PixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9239 | SET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS, fn); |
| 9240 | } |
| 9241 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9242 | typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS)(GLclampf, GLboolean); |
| 9243 | #define CALL_SampleMaskSGIS(disp, parameters) \ |
| 9244 | (* GET_SampleMaskSGIS(disp)) parameters |
| 9245 | static INLINE _glptr_SampleMaskSGIS GET_SampleMaskSGIS(struct _glapi_table *disp) { |
| 9246 | return (_glptr_SampleMaskSGIS) (GET_by_offset(disp, _gloffset_SampleMaskSGIS)); |
| 9247 | } |
| 9248 | |
| 9249 | static INLINE void SET_SampleMaskSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9250 | SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn); |
| 9251 | } |
| 9252 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9253 | typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS)(GLenum); |
| 9254 | #define CALL_SamplePatternSGIS(disp, parameters) \ |
| 9255 | (* GET_SamplePatternSGIS(disp)) parameters |
| 9256 | static INLINE _glptr_SamplePatternSGIS GET_SamplePatternSGIS(struct _glapi_table *disp) { |
| 9257 | return (_glptr_SamplePatternSGIS) (GET_by_offset(disp, _gloffset_SamplePatternSGIS)); |
| 9258 | } |
| 9259 | |
| 9260 | static INLINE void SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9261 | SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn); |
| 9262 | } |
| 9263 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9264 | typedef void (GLAPIENTRYP _glptr_ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); |
| 9265 | #define CALL_ColorPointerEXT(disp, parameters) \ |
| 9266 | (* GET_ColorPointerEXT(disp)) parameters |
| 9267 | static INLINE _glptr_ColorPointerEXT GET_ColorPointerEXT(struct _glapi_table *disp) { |
| 9268 | return (_glptr_ColorPointerEXT) (GET_by_offset(disp, _gloffset_ColorPointerEXT)); |
| 9269 | } |
| 9270 | |
| 9271 | static INLINE void SET_ColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9272 | SET_by_offset(disp, _gloffset_ColorPointerEXT, fn); |
| 9273 | } |
| 9274 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9275 | typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *); |
| 9276 | #define CALL_EdgeFlagPointerEXT(disp, parameters) \ |
| 9277 | (* GET_EdgeFlagPointerEXT(disp)) parameters |
| 9278 | static INLINE _glptr_EdgeFlagPointerEXT GET_EdgeFlagPointerEXT(struct _glapi_table *disp) { |
| 9279 | return (_glptr_EdgeFlagPointerEXT) (GET_by_offset(disp, _gloffset_EdgeFlagPointerEXT)); |
| 9280 | } |
| 9281 | |
| 9282 | static INLINE void SET_EdgeFlagPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, const GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9283 | SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn); |
| 9284 | } |
| 9285 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9286 | typedef void (GLAPIENTRYP _glptr_IndexPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *); |
| 9287 | #define CALL_IndexPointerEXT(disp, parameters) \ |
| 9288 | (* GET_IndexPointerEXT(disp)) parameters |
| 9289 | static INLINE _glptr_IndexPointerEXT GET_IndexPointerEXT(struct _glapi_table *disp) { |
| 9290 | return (_glptr_IndexPointerEXT) (GET_by_offset(disp, _gloffset_IndexPointerEXT)); |
| 9291 | } |
| 9292 | |
| 9293 | static INLINE void SET_IndexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9294 | SET_by_offset(disp, _gloffset_IndexPointerEXT, fn); |
| 9295 | } |
| 9296 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9297 | typedef void (GLAPIENTRYP _glptr_NormalPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *); |
| 9298 | #define CALL_NormalPointerEXT(disp, parameters) \ |
| 9299 | (* GET_NormalPointerEXT(disp)) parameters |
| 9300 | static INLINE _glptr_NormalPointerEXT GET_NormalPointerEXT(struct _glapi_table *disp) { |
| 9301 | return (_glptr_NormalPointerEXT) (GET_by_offset(disp, _gloffset_NormalPointerEXT)); |
| 9302 | } |
| 9303 | |
| 9304 | static INLINE void SET_NormalPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9305 | SET_by_offset(disp, _gloffset_NormalPointerEXT, fn); |
| 9306 | } |
| 9307 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9308 | typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); |
| 9309 | #define CALL_TexCoordPointerEXT(disp, parameters) \ |
| 9310 | (* GET_TexCoordPointerEXT(disp)) parameters |
| 9311 | static INLINE _glptr_TexCoordPointerEXT GET_TexCoordPointerEXT(struct _glapi_table *disp) { |
| 9312 | return (_glptr_TexCoordPointerEXT) (GET_by_offset(disp, _gloffset_TexCoordPointerEXT)); |
| 9313 | } |
| 9314 | |
| 9315 | static INLINE void SET_TexCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9316 | SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn); |
| 9317 | } |
| 9318 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9319 | typedef void (GLAPIENTRYP _glptr_VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); |
| 9320 | #define CALL_VertexPointerEXT(disp, parameters) \ |
| 9321 | (* GET_VertexPointerEXT(disp)) parameters |
| 9322 | static INLINE _glptr_VertexPointerEXT GET_VertexPointerEXT(struct _glapi_table *disp) { |
| 9323 | return (_glptr_VertexPointerEXT) (GET_by_offset(disp, _gloffset_VertexPointerEXT)); |
| 9324 | } |
| 9325 | |
| 9326 | static INLINE void SET_VertexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9327 | SET_by_offset(disp, _gloffset_VertexPointerEXT, fn); |
| 9328 | } |
| 9329 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9330 | typedef void (GLAPIENTRYP _glptr_PointParameterfEXT)(GLenum, GLfloat); |
| 9331 | #define CALL_PointParameterfEXT(disp, parameters) \ |
| 9332 | (* GET_PointParameterfEXT(disp)) parameters |
| 9333 | static INLINE _glptr_PointParameterfEXT GET_PointParameterfEXT(struct _glapi_table *disp) { |
| 9334 | return (_glptr_PointParameterfEXT) (GET_by_offset(disp, _gloffset_PointParameterfEXT)); |
| 9335 | } |
| 9336 | |
| 9337 | static INLINE void SET_PointParameterfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9338 | SET_by_offset(disp, _gloffset_PointParameterfEXT, fn); |
| 9339 | } |
| 9340 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9341 | typedef void (GLAPIENTRYP _glptr_PointParameterfvEXT)(GLenum, const GLfloat *); |
| 9342 | #define CALL_PointParameterfvEXT(disp, parameters) \ |
| 9343 | (* GET_PointParameterfvEXT(disp)) parameters |
| 9344 | static INLINE _glptr_PointParameterfvEXT GET_PointParameterfvEXT(struct _glapi_table *disp) { |
| 9345 | return (_glptr_PointParameterfvEXT) (GET_by_offset(disp, _gloffset_PointParameterfvEXT)); |
| 9346 | } |
| 9347 | |
| 9348 | static INLINE void SET_PointParameterfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9349 | SET_by_offset(disp, _gloffset_PointParameterfvEXT, fn); |
| 9350 | } |
| 9351 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9352 | typedef void (GLAPIENTRYP _glptr_LockArraysEXT)(GLint, GLsizei); |
| 9353 | #define CALL_LockArraysEXT(disp, parameters) \ |
| 9354 | (* GET_LockArraysEXT(disp)) parameters |
| 9355 | static INLINE _glptr_LockArraysEXT GET_LockArraysEXT(struct _glapi_table *disp) { |
| 9356 | return (_glptr_LockArraysEXT) (GET_by_offset(disp, _gloffset_LockArraysEXT)); |
| 9357 | } |
| 9358 | |
| 9359 | static INLINE void SET_LockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9360 | SET_by_offset(disp, _gloffset_LockArraysEXT, fn); |
| 9361 | } |
| 9362 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9363 | typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT)(void); |
| 9364 | #define CALL_UnlockArraysEXT(disp, parameters) \ |
| 9365 | (* GET_UnlockArraysEXT(disp)) parameters |
| 9366 | static INLINE _glptr_UnlockArraysEXT GET_UnlockArraysEXT(struct _glapi_table *disp) { |
| 9367 | return (_glptr_UnlockArraysEXT) (GET_by_offset(disp, _gloffset_UnlockArraysEXT)); |
| 9368 | } |
| 9369 | |
| 9370 | static INLINE void SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9371 | SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn); |
| 9372 | } |
| 9373 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9374 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3bEXT)(GLbyte, GLbyte, GLbyte); |
| 9375 | #define CALL_SecondaryColor3bEXT(disp, parameters) \ |
| 9376 | (* GET_SecondaryColor3bEXT(disp)) parameters |
| 9377 | static INLINE _glptr_SecondaryColor3bEXT GET_SecondaryColor3bEXT(struct _glapi_table *disp) { |
| 9378 | return (_glptr_SecondaryColor3bEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bEXT)); |
| 9379 | } |
| 9380 | |
| 9381 | static INLINE void SET_SecondaryColor3bEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9382 | SET_by_offset(disp, _gloffset_SecondaryColor3bEXT, fn); |
| 9383 | } |
| 9384 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9385 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3bvEXT)(const GLbyte *); |
| 9386 | #define CALL_SecondaryColor3bvEXT(disp, parameters) \ |
| 9387 | (* GET_SecondaryColor3bvEXT(disp)) parameters |
| 9388 | static INLINE _glptr_SecondaryColor3bvEXT GET_SecondaryColor3bvEXT(struct _glapi_table *disp) { |
| 9389 | return (_glptr_SecondaryColor3bvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bvEXT)); |
| 9390 | } |
| 9391 | |
| 9392 | static INLINE void SET_SecondaryColor3bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9393 | SET_by_offset(disp, _gloffset_SecondaryColor3bvEXT, fn); |
| 9394 | } |
| 9395 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9396 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3dEXT)(GLdouble, GLdouble, GLdouble); |
| 9397 | #define CALL_SecondaryColor3dEXT(disp, parameters) \ |
| 9398 | (* GET_SecondaryColor3dEXT(disp)) parameters |
| 9399 | static INLINE _glptr_SecondaryColor3dEXT GET_SecondaryColor3dEXT(struct _glapi_table *disp) { |
| 9400 | return (_glptr_SecondaryColor3dEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dEXT)); |
| 9401 | } |
| 9402 | |
| 9403 | static INLINE void SET_SecondaryColor3dEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9404 | SET_by_offset(disp, _gloffset_SecondaryColor3dEXT, fn); |
| 9405 | } |
| 9406 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9407 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3dvEXT)(const GLdouble *); |
| 9408 | #define CALL_SecondaryColor3dvEXT(disp, parameters) \ |
| 9409 | (* GET_SecondaryColor3dvEXT(disp)) parameters |
| 9410 | static INLINE _glptr_SecondaryColor3dvEXT GET_SecondaryColor3dvEXT(struct _glapi_table *disp) { |
| 9411 | return (_glptr_SecondaryColor3dvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dvEXT)); |
| 9412 | } |
| 9413 | |
| 9414 | static INLINE void SET_SecondaryColor3dvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9415 | SET_by_offset(disp, _gloffset_SecondaryColor3dvEXT, fn); |
| 9416 | } |
| 9417 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9418 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT)(GLfloat, GLfloat, GLfloat); |
| 9419 | #define CALL_SecondaryColor3fEXT(disp, parameters) \ |
| 9420 | (* GET_SecondaryColor3fEXT(disp)) parameters |
| 9421 | static INLINE _glptr_SecondaryColor3fEXT GET_SecondaryColor3fEXT(struct _glapi_table *disp) { |
| 9422 | return (_glptr_SecondaryColor3fEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fEXT)); |
| 9423 | } |
| 9424 | |
| 9425 | static INLINE void SET_SecondaryColor3fEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9426 | SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn); |
| 9427 | } |
| 9428 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9429 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT)(const GLfloat *); |
| 9430 | #define CALL_SecondaryColor3fvEXT(disp, parameters) \ |
| 9431 | (* GET_SecondaryColor3fvEXT(disp)) parameters |
| 9432 | static INLINE _glptr_SecondaryColor3fvEXT GET_SecondaryColor3fvEXT(struct _glapi_table *disp) { |
| 9433 | return (_glptr_SecondaryColor3fvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fvEXT)); |
| 9434 | } |
| 9435 | |
| 9436 | static INLINE void SET_SecondaryColor3fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9437 | SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn); |
| 9438 | } |
| 9439 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9440 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3iEXT)(GLint, GLint, GLint); |
| 9441 | #define CALL_SecondaryColor3iEXT(disp, parameters) \ |
| 9442 | (* GET_SecondaryColor3iEXT(disp)) parameters |
| 9443 | static INLINE _glptr_SecondaryColor3iEXT GET_SecondaryColor3iEXT(struct _glapi_table *disp) { |
| 9444 | return (_glptr_SecondaryColor3iEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3iEXT)); |
| 9445 | } |
| 9446 | |
| 9447 | static INLINE void SET_SecondaryColor3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9448 | SET_by_offset(disp, _gloffset_SecondaryColor3iEXT, fn); |
| 9449 | } |
| 9450 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9451 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3ivEXT)(const GLint *); |
| 9452 | #define CALL_SecondaryColor3ivEXT(disp, parameters) \ |
| 9453 | (* GET_SecondaryColor3ivEXT(disp)) parameters |
| 9454 | static INLINE _glptr_SecondaryColor3ivEXT GET_SecondaryColor3ivEXT(struct _glapi_table *disp) { |
| 9455 | return (_glptr_SecondaryColor3ivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ivEXT)); |
| 9456 | } |
| 9457 | |
| 9458 | static INLINE void SET_SecondaryColor3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9459 | SET_by_offset(disp, _gloffset_SecondaryColor3ivEXT, fn); |
| 9460 | } |
| 9461 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9462 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3sEXT)(GLshort, GLshort, GLshort); |
| 9463 | #define CALL_SecondaryColor3sEXT(disp, parameters) \ |
| 9464 | (* GET_SecondaryColor3sEXT(disp)) parameters |
| 9465 | static INLINE _glptr_SecondaryColor3sEXT GET_SecondaryColor3sEXT(struct _glapi_table *disp) { |
| 9466 | return (_glptr_SecondaryColor3sEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3sEXT)); |
| 9467 | } |
| 9468 | |
| 9469 | static INLINE void SET_SecondaryColor3sEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9470 | SET_by_offset(disp, _gloffset_SecondaryColor3sEXT, fn); |
| 9471 | } |
| 9472 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9473 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3svEXT)(const GLshort *); |
| 9474 | #define CALL_SecondaryColor3svEXT(disp, parameters) \ |
| 9475 | (* GET_SecondaryColor3svEXT(disp)) parameters |
| 9476 | static INLINE _glptr_SecondaryColor3svEXT GET_SecondaryColor3svEXT(struct _glapi_table *disp) { |
| 9477 | return (_glptr_SecondaryColor3svEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3svEXT)); |
| 9478 | } |
| 9479 | |
| 9480 | static INLINE void SET_SecondaryColor3svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9481 | SET_by_offset(disp, _gloffset_SecondaryColor3svEXT, fn); |
| 9482 | } |
| 9483 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9484 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubEXT)(GLubyte, GLubyte, GLubyte); |
| 9485 | #define CALL_SecondaryColor3ubEXT(disp, parameters) \ |
| 9486 | (* GET_SecondaryColor3ubEXT(disp)) parameters |
| 9487 | static INLINE _glptr_SecondaryColor3ubEXT GET_SecondaryColor3ubEXT(struct _glapi_table *disp) { |
| 9488 | return (_glptr_SecondaryColor3ubEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubEXT)); |
| 9489 | } |
| 9490 | |
| 9491 | static INLINE void SET_SecondaryColor3ubEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9492 | SET_by_offset(disp, _gloffset_SecondaryColor3ubEXT, fn); |
| 9493 | } |
| 9494 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9495 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubvEXT)(const GLubyte *); |
| 9496 | #define CALL_SecondaryColor3ubvEXT(disp, parameters) \ |
| 9497 | (* GET_SecondaryColor3ubvEXT(disp)) parameters |
| 9498 | static INLINE _glptr_SecondaryColor3ubvEXT GET_SecondaryColor3ubvEXT(struct _glapi_table *disp) { |
| 9499 | return (_glptr_SecondaryColor3ubvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT)); |
| 9500 | } |
| 9501 | |
| 9502 | static INLINE void SET_SecondaryColor3ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9503 | SET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT, fn); |
| 9504 | } |
| 9505 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9506 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiEXT)(GLuint, GLuint, GLuint); |
| 9507 | #define CALL_SecondaryColor3uiEXT(disp, parameters) \ |
| 9508 | (* GET_SecondaryColor3uiEXT(disp)) parameters |
| 9509 | static INLINE _glptr_SecondaryColor3uiEXT GET_SecondaryColor3uiEXT(struct _glapi_table *disp) { |
| 9510 | return (_glptr_SecondaryColor3uiEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uiEXT)); |
| 9511 | } |
| 9512 | |
| 9513 | static INLINE void SET_SecondaryColor3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9514 | SET_by_offset(disp, _gloffset_SecondaryColor3uiEXT, fn); |
| 9515 | } |
| 9516 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9517 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3uivEXT)(const GLuint *); |
| 9518 | #define CALL_SecondaryColor3uivEXT(disp, parameters) \ |
| 9519 | (* GET_SecondaryColor3uivEXT(disp)) parameters |
| 9520 | static INLINE _glptr_SecondaryColor3uivEXT GET_SecondaryColor3uivEXT(struct _glapi_table *disp) { |
| 9521 | return (_glptr_SecondaryColor3uivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uivEXT)); |
| 9522 | } |
| 9523 | |
| 9524 | static INLINE void SET_SecondaryColor3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9525 | SET_by_offset(disp, _gloffset_SecondaryColor3uivEXT, fn); |
| 9526 | } |
| 9527 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9528 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3usEXT)(GLushort, GLushort, GLushort); |
| 9529 | #define CALL_SecondaryColor3usEXT(disp, parameters) \ |
| 9530 | (* GET_SecondaryColor3usEXT(disp)) parameters |
| 9531 | static INLINE _glptr_SecondaryColor3usEXT GET_SecondaryColor3usEXT(struct _glapi_table *disp) { |
| 9532 | return (_glptr_SecondaryColor3usEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usEXT)); |
| 9533 | } |
| 9534 | |
| 9535 | static INLINE void SET_SecondaryColor3usEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9536 | SET_by_offset(disp, _gloffset_SecondaryColor3usEXT, fn); |
| 9537 | } |
| 9538 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9539 | typedef void (GLAPIENTRYP _glptr_SecondaryColor3usvEXT)(const GLushort *); |
| 9540 | #define CALL_SecondaryColor3usvEXT(disp, parameters) \ |
| 9541 | (* GET_SecondaryColor3usvEXT(disp)) parameters |
| 9542 | static INLINE _glptr_SecondaryColor3usvEXT GET_SecondaryColor3usvEXT(struct _glapi_table *disp) { |
| 9543 | return (_glptr_SecondaryColor3usvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usvEXT)); |
| 9544 | } |
| 9545 | |
| 9546 | static INLINE void SET_SecondaryColor3usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9547 | SET_by_offset(disp, _gloffset_SecondaryColor3usvEXT, fn); |
| 9548 | } |
| 9549 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9550 | typedef void (GLAPIENTRYP _glptr_SecondaryColorPointerEXT)(GLint, GLenum, GLsizei, const GLvoid *); |
| 9551 | #define CALL_SecondaryColorPointerEXT(disp, parameters) \ |
| 9552 | (* GET_SecondaryColorPointerEXT(disp)) parameters |
| 9553 | static INLINE _glptr_SecondaryColorPointerEXT GET_SecondaryColorPointerEXT(struct _glapi_table *disp) { |
| 9554 | return (_glptr_SecondaryColorPointerEXT) (GET_by_offset(disp, _gloffset_SecondaryColorPointerEXT)); |
| 9555 | } |
| 9556 | |
| 9557 | static INLINE void SET_SecondaryColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9558 | SET_by_offset(disp, _gloffset_SecondaryColorPointerEXT, fn); |
| 9559 | } |
| 9560 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9561 | typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT)(GLenum, const GLint *, const GLsizei *, GLsizei); |
| 9562 | #define CALL_MultiDrawArraysEXT(disp, parameters) \ |
| 9563 | (* GET_MultiDrawArraysEXT(disp)) parameters |
| 9564 | static INLINE _glptr_MultiDrawArraysEXT GET_MultiDrawArraysEXT(struct _glapi_table *disp) { |
| 9565 | return (_glptr_MultiDrawArraysEXT) (GET_by_offset(disp, _gloffset_MultiDrawArraysEXT)); |
| 9566 | } |
| 9567 | |
| 9568 | static INLINE void SET_MultiDrawArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *, const GLsizei *, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9569 | SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn); |
| 9570 | } |
| 9571 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9572 | typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei); |
| 9573 | #define CALL_MultiDrawElementsEXT(disp, parameters) \ |
| 9574 | (* GET_MultiDrawElementsEXT(disp)) parameters |
| 9575 | static INLINE _glptr_MultiDrawElementsEXT GET_MultiDrawElementsEXT(struct _glapi_table *disp) { |
| 9576 | return (_glptr_MultiDrawElementsEXT) (GET_by_offset(disp, _gloffset_MultiDrawElementsEXT)); |
| 9577 | } |
| 9578 | |
| 9579 | static INLINE void SET_MultiDrawElementsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9580 | SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn); |
| 9581 | } |
| 9582 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9583 | typedef void (GLAPIENTRYP _glptr_FogCoordPointerEXT)(GLenum, GLsizei, const GLvoid *); |
| 9584 | #define CALL_FogCoordPointerEXT(disp, parameters) \ |
| 9585 | (* GET_FogCoordPointerEXT(disp)) parameters |
| 9586 | static INLINE _glptr_FogCoordPointerEXT GET_FogCoordPointerEXT(struct _glapi_table *disp) { |
| 9587 | return (_glptr_FogCoordPointerEXT) (GET_by_offset(disp, _gloffset_FogCoordPointerEXT)); |
| 9588 | } |
| 9589 | |
| 9590 | static INLINE void SET_FogCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9591 | SET_by_offset(disp, _gloffset_FogCoordPointerEXT, fn); |
| 9592 | } |
| 9593 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9594 | typedef void (GLAPIENTRYP _glptr_FogCoorddEXT)(GLdouble); |
| 9595 | #define CALL_FogCoorddEXT(disp, parameters) \ |
| 9596 | (* GET_FogCoorddEXT(disp)) parameters |
| 9597 | static INLINE _glptr_FogCoorddEXT GET_FogCoorddEXT(struct _glapi_table *disp) { |
| 9598 | return (_glptr_FogCoorddEXT) (GET_by_offset(disp, _gloffset_FogCoorddEXT)); |
| 9599 | } |
| 9600 | |
| 9601 | static INLINE void SET_FogCoorddEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9602 | SET_by_offset(disp, _gloffset_FogCoorddEXT, fn); |
| 9603 | } |
| 9604 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9605 | typedef void (GLAPIENTRYP _glptr_FogCoorddvEXT)(const GLdouble *); |
| 9606 | #define CALL_FogCoorddvEXT(disp, parameters) \ |
| 9607 | (* GET_FogCoorddvEXT(disp)) parameters |
| 9608 | static INLINE _glptr_FogCoorddvEXT GET_FogCoorddvEXT(struct _glapi_table *disp) { |
| 9609 | return (_glptr_FogCoorddvEXT) (GET_by_offset(disp, _gloffset_FogCoorddvEXT)); |
| 9610 | } |
| 9611 | |
| 9612 | static INLINE void SET_FogCoorddvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9613 | SET_by_offset(disp, _gloffset_FogCoorddvEXT, fn); |
| 9614 | } |
| 9615 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9616 | typedef void (GLAPIENTRYP _glptr_FogCoordfEXT)(GLfloat); |
| 9617 | #define CALL_FogCoordfEXT(disp, parameters) \ |
| 9618 | (* GET_FogCoordfEXT(disp)) parameters |
| 9619 | static INLINE _glptr_FogCoordfEXT GET_FogCoordfEXT(struct _glapi_table *disp) { |
| 9620 | return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT)); |
| 9621 | } |
| 9622 | |
| 9623 | static INLINE void SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9624 | SET_by_offset(disp, _gloffset_FogCoordfEXT, fn); |
| 9625 | } |
| 9626 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9627 | typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT)(const GLfloat *); |
| 9628 | #define CALL_FogCoordfvEXT(disp, parameters) \ |
| 9629 | (* GET_FogCoordfvEXT(disp)) parameters |
| 9630 | static INLINE _glptr_FogCoordfvEXT GET_FogCoordfvEXT(struct _glapi_table *disp) { |
| 9631 | return (_glptr_FogCoordfvEXT) (GET_by_offset(disp, _gloffset_FogCoordfvEXT)); |
| 9632 | } |
| 9633 | |
| 9634 | static INLINE void SET_FogCoordfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9635 | SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn); |
| 9636 | } |
| 9637 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9638 | typedef void (GLAPIENTRYP _glptr_PixelTexGenSGIX)(GLenum); |
| 9639 | #define CALL_PixelTexGenSGIX(disp, parameters) \ |
| 9640 | (* GET_PixelTexGenSGIX(disp)) parameters |
| 9641 | static INLINE _glptr_PixelTexGenSGIX GET_PixelTexGenSGIX(struct _glapi_table *disp) { |
| 9642 | return (_glptr_PixelTexGenSGIX) (GET_by_offset(disp, _gloffset_PixelTexGenSGIX)); |
| 9643 | } |
| 9644 | |
| 9645 | static INLINE void SET_PixelTexGenSGIX(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9646 | SET_by_offset(disp, _gloffset_PixelTexGenSGIX, fn); |
| 9647 | } |
| 9648 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9649 | typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateEXT)(GLenum, GLenum, GLenum, GLenum); |
| 9650 | #define CALL_BlendFuncSeparateEXT(disp, parameters) \ |
| 9651 | (* GET_BlendFuncSeparateEXT(disp)) parameters |
| 9652 | static INLINE _glptr_BlendFuncSeparateEXT GET_BlendFuncSeparateEXT(struct _glapi_table *disp) { |
| 9653 | return (_glptr_BlendFuncSeparateEXT) (GET_by_offset(disp, _gloffset_BlendFuncSeparateEXT)); |
| 9654 | } |
| 9655 | |
| 9656 | static INLINE void SET_BlendFuncSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9657 | SET_by_offset(disp, _gloffset_BlendFuncSeparateEXT, fn); |
| 9658 | } |
| 9659 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9660 | typedef void (GLAPIENTRYP _glptr_FlushVertexArrayRangeNV)(void); |
| 9661 | #define CALL_FlushVertexArrayRangeNV(disp, parameters) \ |
| 9662 | (* GET_FlushVertexArrayRangeNV(disp)) parameters |
| 9663 | static INLINE _glptr_FlushVertexArrayRangeNV GET_FlushVertexArrayRangeNV(struct _glapi_table *disp) { |
| 9664 | return (_glptr_FlushVertexArrayRangeNV) (GET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV)); |
| 9665 | } |
| 9666 | |
| 9667 | static INLINE void SET_FlushVertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9668 | SET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV, fn); |
| 9669 | } |
| 9670 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9671 | typedef void (GLAPIENTRYP _glptr_VertexArrayRangeNV)(GLsizei, const GLvoid *); |
| 9672 | #define CALL_VertexArrayRangeNV(disp, parameters) \ |
| 9673 | (* GET_VertexArrayRangeNV(disp)) parameters |
| 9674 | static INLINE _glptr_VertexArrayRangeNV GET_VertexArrayRangeNV(struct _glapi_table *disp) { |
| 9675 | return (_glptr_VertexArrayRangeNV) (GET_by_offset(disp, _gloffset_VertexArrayRangeNV)); |
| 9676 | } |
| 9677 | |
| 9678 | static INLINE void SET_VertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9679 | SET_by_offset(disp, _gloffset_VertexArrayRangeNV, fn); |
| 9680 | } |
| 9681 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9682 | typedef void (GLAPIENTRYP _glptr_CombinerInputNV)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); |
| 9683 | #define CALL_CombinerInputNV(disp, parameters) \ |
| 9684 | (* GET_CombinerInputNV(disp)) parameters |
| 9685 | static INLINE _glptr_CombinerInputNV GET_CombinerInputNV(struct _glapi_table *disp) { |
| 9686 | return (_glptr_CombinerInputNV) (GET_by_offset(disp, _gloffset_CombinerInputNV)); |
| 9687 | } |
| 9688 | |
| 9689 | static INLINE void SET_CombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9690 | SET_by_offset(disp, _gloffset_CombinerInputNV, fn); |
| 9691 | } |
| 9692 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9693 | typedef void (GLAPIENTRYP _glptr_CombinerOutputNV)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); |
| 9694 | #define CALL_CombinerOutputNV(disp, parameters) \ |
| 9695 | (* GET_CombinerOutputNV(disp)) parameters |
| 9696 | static INLINE _glptr_CombinerOutputNV GET_CombinerOutputNV(struct _glapi_table *disp) { |
| 9697 | return (_glptr_CombinerOutputNV) (GET_by_offset(disp, _gloffset_CombinerOutputNV)); |
| 9698 | } |
| 9699 | |
| 9700 | static INLINE void SET_CombinerOutputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9701 | SET_by_offset(disp, _gloffset_CombinerOutputNV, fn); |
| 9702 | } |
| 9703 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9704 | typedef void (GLAPIENTRYP _glptr_CombinerParameterfNV)(GLenum, GLfloat); |
| 9705 | #define CALL_CombinerParameterfNV(disp, parameters) \ |
| 9706 | (* GET_CombinerParameterfNV(disp)) parameters |
| 9707 | static INLINE _glptr_CombinerParameterfNV GET_CombinerParameterfNV(struct _glapi_table *disp) { |
| 9708 | return (_glptr_CombinerParameterfNV) (GET_by_offset(disp, _gloffset_CombinerParameterfNV)); |
| 9709 | } |
| 9710 | |
| 9711 | static INLINE void SET_CombinerParameterfNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9712 | SET_by_offset(disp, _gloffset_CombinerParameterfNV, fn); |
| 9713 | } |
| 9714 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9715 | typedef void (GLAPIENTRYP _glptr_CombinerParameterfvNV)(GLenum, const GLfloat *); |
| 9716 | #define CALL_CombinerParameterfvNV(disp, parameters) \ |
| 9717 | (* GET_CombinerParameterfvNV(disp)) parameters |
| 9718 | static INLINE _glptr_CombinerParameterfvNV GET_CombinerParameterfvNV(struct _glapi_table *disp) { |
| 9719 | return (_glptr_CombinerParameterfvNV) (GET_by_offset(disp, _gloffset_CombinerParameterfvNV)); |
| 9720 | } |
| 9721 | |
| 9722 | static INLINE void SET_CombinerParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9723 | SET_by_offset(disp, _gloffset_CombinerParameterfvNV, fn); |
| 9724 | } |
| 9725 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9726 | typedef void (GLAPIENTRYP _glptr_CombinerParameteriNV)(GLenum, GLint); |
| 9727 | #define CALL_CombinerParameteriNV(disp, parameters) \ |
| 9728 | (* GET_CombinerParameteriNV(disp)) parameters |
| 9729 | static INLINE _glptr_CombinerParameteriNV GET_CombinerParameteriNV(struct _glapi_table *disp) { |
| 9730 | return (_glptr_CombinerParameteriNV) (GET_by_offset(disp, _gloffset_CombinerParameteriNV)); |
| 9731 | } |
| 9732 | |
| 9733 | static INLINE void SET_CombinerParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9734 | SET_by_offset(disp, _gloffset_CombinerParameteriNV, fn); |
| 9735 | } |
| 9736 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9737 | typedef void (GLAPIENTRYP _glptr_CombinerParameterivNV)(GLenum, const GLint *); |
| 9738 | #define CALL_CombinerParameterivNV(disp, parameters) \ |
| 9739 | (* GET_CombinerParameterivNV(disp)) parameters |
| 9740 | static INLINE _glptr_CombinerParameterivNV GET_CombinerParameterivNV(struct _glapi_table *disp) { |
| 9741 | return (_glptr_CombinerParameterivNV) (GET_by_offset(disp, _gloffset_CombinerParameterivNV)); |
| 9742 | } |
| 9743 | |
| 9744 | static INLINE void SET_CombinerParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9745 | SET_by_offset(disp, _gloffset_CombinerParameterivNV, fn); |
| 9746 | } |
| 9747 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9748 | typedef void (GLAPIENTRYP _glptr_FinalCombinerInputNV)(GLenum, GLenum, GLenum, GLenum); |
| 9749 | #define CALL_FinalCombinerInputNV(disp, parameters) \ |
| 9750 | (* GET_FinalCombinerInputNV(disp)) parameters |
| 9751 | static INLINE _glptr_FinalCombinerInputNV GET_FinalCombinerInputNV(struct _glapi_table *disp) { |
| 9752 | return (_glptr_FinalCombinerInputNV) (GET_by_offset(disp, _gloffset_FinalCombinerInputNV)); |
| 9753 | } |
| 9754 | |
| 9755 | static INLINE void SET_FinalCombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9756 | SET_by_offset(disp, _gloffset_FinalCombinerInputNV, fn); |
| 9757 | } |
| 9758 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9759 | typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterfvNV)(GLenum, GLenum, GLenum, GLenum, GLfloat *); |
| 9760 | #define CALL_GetCombinerInputParameterfvNV(disp, parameters) \ |
| 9761 | (* GET_GetCombinerInputParameterfvNV(disp)) parameters |
| 9762 | static INLINE _glptr_GetCombinerInputParameterfvNV GET_GetCombinerInputParameterfvNV(struct _glapi_table *disp) { |
| 9763 | return (_glptr_GetCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV)); |
| 9764 | } |
| 9765 | |
| 9766 | static INLINE void SET_GetCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9767 | SET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV, fn); |
| 9768 | } |
| 9769 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9770 | typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterivNV)(GLenum, GLenum, GLenum, GLenum, GLint *); |
| 9771 | #define CALL_GetCombinerInputParameterivNV(disp, parameters) \ |
| 9772 | (* GET_GetCombinerInputParameterivNV(disp)) parameters |
| 9773 | static INLINE _glptr_GetCombinerInputParameterivNV GET_GetCombinerInputParameterivNV(struct _glapi_table *disp) { |
| 9774 | return (_glptr_GetCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV)); |
| 9775 | } |
| 9776 | |
| 9777 | static INLINE void SET_GetCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9778 | SET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV, fn); |
| 9779 | } |
| 9780 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9781 | typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterfvNV)(GLenum, GLenum, GLenum, GLfloat *); |
| 9782 | #define CALL_GetCombinerOutputParameterfvNV(disp, parameters) \ |
| 9783 | (* GET_GetCombinerOutputParameterfvNV(disp)) parameters |
| 9784 | static INLINE _glptr_GetCombinerOutputParameterfvNV GET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp) { |
| 9785 | return (_glptr_GetCombinerOutputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV)); |
| 9786 | } |
| 9787 | |
| 9788 | static INLINE void SET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9789 | SET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV, fn); |
| 9790 | } |
| 9791 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9792 | typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterivNV)(GLenum, GLenum, GLenum, GLint *); |
| 9793 | #define CALL_GetCombinerOutputParameterivNV(disp, parameters) \ |
| 9794 | (* GET_GetCombinerOutputParameterivNV(disp)) parameters |
| 9795 | static INLINE _glptr_GetCombinerOutputParameterivNV GET_GetCombinerOutputParameterivNV(struct _glapi_table *disp) { |
| 9796 | return (_glptr_GetCombinerOutputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV)); |
| 9797 | } |
| 9798 | |
| 9799 | static INLINE void SET_GetCombinerOutputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9800 | SET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV, fn); |
| 9801 | } |
| 9802 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9803 | typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterfvNV)(GLenum, GLenum, GLfloat *); |
| 9804 | #define CALL_GetFinalCombinerInputParameterfvNV(disp, parameters) \ |
| 9805 | (* GET_GetFinalCombinerInputParameterfvNV(disp)) parameters |
| 9806 | static INLINE _glptr_GetFinalCombinerInputParameterfvNV GET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp) { |
| 9807 | return (_glptr_GetFinalCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV)); |
| 9808 | } |
| 9809 | |
| 9810 | static INLINE void SET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9811 | SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV, fn); |
| 9812 | } |
| 9813 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9814 | typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterivNV)(GLenum, GLenum, GLint *); |
| 9815 | #define CALL_GetFinalCombinerInputParameterivNV(disp, parameters) \ |
| 9816 | (* GET_GetFinalCombinerInputParameterivNV(disp)) parameters |
| 9817 | static INLINE _glptr_GetFinalCombinerInputParameterivNV GET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp) { |
| 9818 | return (_glptr_GetFinalCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV)); |
| 9819 | } |
| 9820 | |
| 9821 | static INLINE void SET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9822 | SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV, fn); |
| 9823 | } |
| 9824 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9825 | typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA)(void); |
| 9826 | #define CALL_ResizeBuffersMESA(disp, parameters) \ |
| 9827 | (* GET_ResizeBuffersMESA(disp)) parameters |
| 9828 | static INLINE _glptr_ResizeBuffersMESA GET_ResizeBuffersMESA(struct _glapi_table *disp) { |
| 9829 | return (_glptr_ResizeBuffersMESA) (GET_by_offset(disp, _gloffset_ResizeBuffersMESA)); |
| 9830 | } |
| 9831 | |
| 9832 | static INLINE void SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9833 | SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn); |
| 9834 | } |
| 9835 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9836 | typedef void (GLAPIENTRYP _glptr_WindowPos2dMESA)(GLdouble, GLdouble); |
| 9837 | #define CALL_WindowPos2dMESA(disp, parameters) \ |
| 9838 | (* GET_WindowPos2dMESA(disp)) parameters |
| 9839 | static INLINE _glptr_WindowPos2dMESA GET_WindowPos2dMESA(struct _glapi_table *disp) { |
| 9840 | return (_glptr_WindowPos2dMESA) (GET_by_offset(disp, _gloffset_WindowPos2dMESA)); |
| 9841 | } |
| 9842 | |
| 9843 | static INLINE void SET_WindowPos2dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9844 | SET_by_offset(disp, _gloffset_WindowPos2dMESA, fn); |
| 9845 | } |
| 9846 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9847 | typedef void (GLAPIENTRYP _glptr_WindowPos2dvMESA)(const GLdouble *); |
| 9848 | #define CALL_WindowPos2dvMESA(disp, parameters) \ |
| 9849 | (* GET_WindowPos2dvMESA(disp)) parameters |
| 9850 | static INLINE _glptr_WindowPos2dvMESA GET_WindowPos2dvMESA(struct _glapi_table *disp) { |
| 9851 | return (_glptr_WindowPos2dvMESA) (GET_by_offset(disp, _gloffset_WindowPos2dvMESA)); |
| 9852 | } |
| 9853 | |
| 9854 | static INLINE void SET_WindowPos2dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9855 | SET_by_offset(disp, _gloffset_WindowPos2dvMESA, fn); |
| 9856 | } |
| 9857 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9858 | typedef void (GLAPIENTRYP _glptr_WindowPos2fMESA)(GLfloat, GLfloat); |
| 9859 | #define CALL_WindowPos2fMESA(disp, parameters) \ |
| 9860 | (* GET_WindowPos2fMESA(disp)) parameters |
| 9861 | static INLINE _glptr_WindowPos2fMESA GET_WindowPos2fMESA(struct _glapi_table *disp) { |
| 9862 | return (_glptr_WindowPos2fMESA) (GET_by_offset(disp, _gloffset_WindowPos2fMESA)); |
| 9863 | } |
| 9864 | |
| 9865 | static INLINE void SET_WindowPos2fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9866 | SET_by_offset(disp, _gloffset_WindowPos2fMESA, fn); |
| 9867 | } |
| 9868 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9869 | typedef void (GLAPIENTRYP _glptr_WindowPos2fvMESA)(const GLfloat *); |
| 9870 | #define CALL_WindowPos2fvMESA(disp, parameters) \ |
| 9871 | (* GET_WindowPos2fvMESA(disp)) parameters |
| 9872 | static INLINE _glptr_WindowPos2fvMESA GET_WindowPos2fvMESA(struct _glapi_table *disp) { |
| 9873 | return (_glptr_WindowPos2fvMESA) (GET_by_offset(disp, _gloffset_WindowPos2fvMESA)); |
| 9874 | } |
| 9875 | |
| 9876 | static INLINE void SET_WindowPos2fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9877 | SET_by_offset(disp, _gloffset_WindowPos2fvMESA, fn); |
| 9878 | } |
| 9879 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9880 | typedef void (GLAPIENTRYP _glptr_WindowPos2iMESA)(GLint, GLint); |
| 9881 | #define CALL_WindowPos2iMESA(disp, parameters) \ |
| 9882 | (* GET_WindowPos2iMESA(disp)) parameters |
| 9883 | static INLINE _glptr_WindowPos2iMESA GET_WindowPos2iMESA(struct _glapi_table *disp) { |
| 9884 | return (_glptr_WindowPos2iMESA) (GET_by_offset(disp, _gloffset_WindowPos2iMESA)); |
| 9885 | } |
| 9886 | |
| 9887 | static INLINE void SET_WindowPos2iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9888 | SET_by_offset(disp, _gloffset_WindowPos2iMESA, fn); |
| 9889 | } |
| 9890 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9891 | typedef void (GLAPIENTRYP _glptr_WindowPos2ivMESA)(const GLint *); |
| 9892 | #define CALL_WindowPos2ivMESA(disp, parameters) \ |
| 9893 | (* GET_WindowPos2ivMESA(disp)) parameters |
| 9894 | static INLINE _glptr_WindowPos2ivMESA GET_WindowPos2ivMESA(struct _glapi_table *disp) { |
| 9895 | return (_glptr_WindowPos2ivMESA) (GET_by_offset(disp, _gloffset_WindowPos2ivMESA)); |
| 9896 | } |
| 9897 | |
| 9898 | static INLINE void SET_WindowPos2ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9899 | SET_by_offset(disp, _gloffset_WindowPos2ivMESA, fn); |
| 9900 | } |
| 9901 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9902 | typedef void (GLAPIENTRYP _glptr_WindowPos2sMESA)(GLshort, GLshort); |
| 9903 | #define CALL_WindowPos2sMESA(disp, parameters) \ |
| 9904 | (* GET_WindowPos2sMESA(disp)) parameters |
| 9905 | static INLINE _glptr_WindowPos2sMESA GET_WindowPos2sMESA(struct _glapi_table *disp) { |
| 9906 | return (_glptr_WindowPos2sMESA) (GET_by_offset(disp, _gloffset_WindowPos2sMESA)); |
| 9907 | } |
| 9908 | |
| 9909 | static INLINE void SET_WindowPos2sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9910 | SET_by_offset(disp, _gloffset_WindowPos2sMESA, fn); |
| 9911 | } |
| 9912 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9913 | typedef void (GLAPIENTRYP _glptr_WindowPos2svMESA)(const GLshort *); |
| 9914 | #define CALL_WindowPos2svMESA(disp, parameters) \ |
| 9915 | (* GET_WindowPos2svMESA(disp)) parameters |
| 9916 | static INLINE _glptr_WindowPos2svMESA GET_WindowPos2svMESA(struct _glapi_table *disp) { |
| 9917 | return (_glptr_WindowPos2svMESA) (GET_by_offset(disp, _gloffset_WindowPos2svMESA)); |
| 9918 | } |
| 9919 | |
| 9920 | static INLINE void SET_WindowPos2svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9921 | SET_by_offset(disp, _gloffset_WindowPos2svMESA, fn); |
| 9922 | } |
| 9923 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9924 | typedef void (GLAPIENTRYP _glptr_WindowPos3dMESA)(GLdouble, GLdouble, GLdouble); |
| 9925 | #define CALL_WindowPos3dMESA(disp, parameters) \ |
| 9926 | (* GET_WindowPos3dMESA(disp)) parameters |
| 9927 | static INLINE _glptr_WindowPos3dMESA GET_WindowPos3dMESA(struct _glapi_table *disp) { |
| 9928 | return (_glptr_WindowPos3dMESA) (GET_by_offset(disp, _gloffset_WindowPos3dMESA)); |
| 9929 | } |
| 9930 | |
| 9931 | static INLINE void SET_WindowPos3dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9932 | SET_by_offset(disp, _gloffset_WindowPos3dMESA, fn); |
| 9933 | } |
| 9934 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9935 | typedef void (GLAPIENTRYP _glptr_WindowPos3dvMESA)(const GLdouble *); |
| 9936 | #define CALL_WindowPos3dvMESA(disp, parameters) \ |
| 9937 | (* GET_WindowPos3dvMESA(disp)) parameters |
| 9938 | static INLINE _glptr_WindowPos3dvMESA GET_WindowPos3dvMESA(struct _glapi_table *disp) { |
| 9939 | return (_glptr_WindowPos3dvMESA) (GET_by_offset(disp, _gloffset_WindowPos3dvMESA)); |
| 9940 | } |
| 9941 | |
| 9942 | static INLINE void SET_WindowPos3dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9943 | SET_by_offset(disp, _gloffset_WindowPos3dvMESA, fn); |
| 9944 | } |
| 9945 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9946 | typedef void (GLAPIENTRYP _glptr_WindowPos3fMESA)(GLfloat, GLfloat, GLfloat); |
| 9947 | #define CALL_WindowPos3fMESA(disp, parameters) \ |
| 9948 | (* GET_WindowPos3fMESA(disp)) parameters |
| 9949 | static INLINE _glptr_WindowPos3fMESA GET_WindowPos3fMESA(struct _glapi_table *disp) { |
| 9950 | return (_glptr_WindowPos3fMESA) (GET_by_offset(disp, _gloffset_WindowPos3fMESA)); |
| 9951 | } |
| 9952 | |
| 9953 | static INLINE void SET_WindowPos3fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9954 | SET_by_offset(disp, _gloffset_WindowPos3fMESA, fn); |
| 9955 | } |
| 9956 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9957 | typedef void (GLAPIENTRYP _glptr_WindowPos3fvMESA)(const GLfloat *); |
| 9958 | #define CALL_WindowPos3fvMESA(disp, parameters) \ |
| 9959 | (* GET_WindowPos3fvMESA(disp)) parameters |
| 9960 | static INLINE _glptr_WindowPos3fvMESA GET_WindowPos3fvMESA(struct _glapi_table *disp) { |
| 9961 | return (_glptr_WindowPos3fvMESA) (GET_by_offset(disp, _gloffset_WindowPos3fvMESA)); |
| 9962 | } |
| 9963 | |
| 9964 | static INLINE void SET_WindowPos3fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9965 | SET_by_offset(disp, _gloffset_WindowPos3fvMESA, fn); |
| 9966 | } |
| 9967 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9968 | typedef void (GLAPIENTRYP _glptr_WindowPos3iMESA)(GLint, GLint, GLint); |
| 9969 | #define CALL_WindowPos3iMESA(disp, parameters) \ |
| 9970 | (* GET_WindowPos3iMESA(disp)) parameters |
| 9971 | static INLINE _glptr_WindowPos3iMESA GET_WindowPos3iMESA(struct _glapi_table *disp) { |
| 9972 | return (_glptr_WindowPos3iMESA) (GET_by_offset(disp, _gloffset_WindowPos3iMESA)); |
| 9973 | } |
| 9974 | |
| 9975 | static INLINE void SET_WindowPos3iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9976 | SET_by_offset(disp, _gloffset_WindowPos3iMESA, fn); |
| 9977 | } |
| 9978 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9979 | typedef void (GLAPIENTRYP _glptr_WindowPos3ivMESA)(const GLint *); |
| 9980 | #define CALL_WindowPos3ivMESA(disp, parameters) \ |
| 9981 | (* GET_WindowPos3ivMESA(disp)) parameters |
| 9982 | static INLINE _glptr_WindowPos3ivMESA GET_WindowPos3ivMESA(struct _glapi_table *disp) { |
| 9983 | return (_glptr_WindowPos3ivMESA) (GET_by_offset(disp, _gloffset_WindowPos3ivMESA)); |
| 9984 | } |
| 9985 | |
| 9986 | static INLINE void SET_WindowPos3ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9987 | SET_by_offset(disp, _gloffset_WindowPos3ivMESA, fn); |
| 9988 | } |
| 9989 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 9990 | typedef void (GLAPIENTRYP _glptr_WindowPos3sMESA)(GLshort, GLshort, GLshort); |
| 9991 | #define CALL_WindowPos3sMESA(disp, parameters) \ |
| 9992 | (* GET_WindowPos3sMESA(disp)) parameters |
| 9993 | static INLINE _glptr_WindowPos3sMESA GET_WindowPos3sMESA(struct _glapi_table *disp) { |
| 9994 | return (_glptr_WindowPos3sMESA) (GET_by_offset(disp, _gloffset_WindowPos3sMESA)); |
| 9995 | } |
| 9996 | |
| 9997 | static INLINE void SET_WindowPos3sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 9998 | SET_by_offset(disp, _gloffset_WindowPos3sMESA, fn); |
| 9999 | } |
| 10000 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10001 | typedef void (GLAPIENTRYP _glptr_WindowPos3svMESA)(const GLshort *); |
| 10002 | #define CALL_WindowPos3svMESA(disp, parameters) \ |
| 10003 | (* GET_WindowPos3svMESA(disp)) parameters |
| 10004 | static INLINE _glptr_WindowPos3svMESA GET_WindowPos3svMESA(struct _glapi_table *disp) { |
| 10005 | return (_glptr_WindowPos3svMESA) (GET_by_offset(disp, _gloffset_WindowPos3svMESA)); |
| 10006 | } |
| 10007 | |
| 10008 | static INLINE void SET_WindowPos3svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10009 | SET_by_offset(disp, _gloffset_WindowPos3svMESA, fn); |
| 10010 | } |
| 10011 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10012 | typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA)(GLdouble, GLdouble, GLdouble, GLdouble); |
| 10013 | #define CALL_WindowPos4dMESA(disp, parameters) \ |
| 10014 | (* GET_WindowPos4dMESA(disp)) parameters |
| 10015 | static INLINE _glptr_WindowPos4dMESA GET_WindowPos4dMESA(struct _glapi_table *disp) { |
| 10016 | return (_glptr_WindowPos4dMESA) (GET_by_offset(disp, _gloffset_WindowPos4dMESA)); |
| 10017 | } |
| 10018 | |
| 10019 | static INLINE void SET_WindowPos4dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10020 | SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn); |
| 10021 | } |
| 10022 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10023 | typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA)(const GLdouble *); |
| 10024 | #define CALL_WindowPos4dvMESA(disp, parameters) \ |
| 10025 | (* GET_WindowPos4dvMESA(disp)) parameters |
| 10026 | static INLINE _glptr_WindowPos4dvMESA GET_WindowPos4dvMESA(struct _glapi_table *disp) { |
| 10027 | return (_glptr_WindowPos4dvMESA) (GET_by_offset(disp, _gloffset_WindowPos4dvMESA)); |
| 10028 | } |
| 10029 | |
| 10030 | static INLINE void SET_WindowPos4dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10031 | SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn); |
| 10032 | } |
| 10033 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10034 | typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA)(GLfloat, GLfloat, GLfloat, GLfloat); |
| 10035 | #define CALL_WindowPos4fMESA(disp, parameters) \ |
| 10036 | (* GET_WindowPos4fMESA(disp)) parameters |
| 10037 | static INLINE _glptr_WindowPos4fMESA GET_WindowPos4fMESA(struct _glapi_table *disp) { |
| 10038 | return (_glptr_WindowPos4fMESA) (GET_by_offset(disp, _gloffset_WindowPos4fMESA)); |
| 10039 | } |
| 10040 | |
| 10041 | static INLINE void SET_WindowPos4fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10042 | SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn); |
| 10043 | } |
| 10044 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10045 | typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA)(const GLfloat *); |
| 10046 | #define CALL_WindowPos4fvMESA(disp, parameters) \ |
| 10047 | (* GET_WindowPos4fvMESA(disp)) parameters |
| 10048 | static INLINE _glptr_WindowPos4fvMESA GET_WindowPos4fvMESA(struct _glapi_table *disp) { |
| 10049 | return (_glptr_WindowPos4fvMESA) (GET_by_offset(disp, _gloffset_WindowPos4fvMESA)); |
| 10050 | } |
| 10051 | |
| 10052 | static INLINE void SET_WindowPos4fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10053 | SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn); |
| 10054 | } |
| 10055 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10056 | typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA)(GLint, GLint, GLint, GLint); |
| 10057 | #define CALL_WindowPos4iMESA(disp, parameters) \ |
| 10058 | (* GET_WindowPos4iMESA(disp)) parameters |
| 10059 | static INLINE _glptr_WindowPos4iMESA GET_WindowPos4iMESA(struct _glapi_table *disp) { |
| 10060 | return (_glptr_WindowPos4iMESA) (GET_by_offset(disp, _gloffset_WindowPos4iMESA)); |
| 10061 | } |
| 10062 | |
| 10063 | static INLINE void SET_WindowPos4iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10064 | SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn); |
| 10065 | } |
| 10066 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10067 | typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA)(const GLint *); |
| 10068 | #define CALL_WindowPos4ivMESA(disp, parameters) \ |
| 10069 | (* GET_WindowPos4ivMESA(disp)) parameters |
| 10070 | static INLINE _glptr_WindowPos4ivMESA GET_WindowPos4ivMESA(struct _glapi_table *disp) { |
| 10071 | return (_glptr_WindowPos4ivMESA) (GET_by_offset(disp, _gloffset_WindowPos4ivMESA)); |
| 10072 | } |
| 10073 | |
| 10074 | static INLINE void SET_WindowPos4ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10075 | SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn); |
| 10076 | } |
| 10077 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10078 | typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort); |
| 10079 | #define CALL_WindowPos4sMESA(disp, parameters) \ |
| 10080 | (* GET_WindowPos4sMESA(disp)) parameters |
| 10081 | static INLINE _glptr_WindowPos4sMESA GET_WindowPos4sMESA(struct _glapi_table *disp) { |
| 10082 | return (_glptr_WindowPos4sMESA) (GET_by_offset(disp, _gloffset_WindowPos4sMESA)); |
| 10083 | } |
| 10084 | |
| 10085 | static INLINE void SET_WindowPos4sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10086 | SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn); |
| 10087 | } |
| 10088 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10089 | typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA)(const GLshort *); |
| 10090 | #define CALL_WindowPos4svMESA(disp, parameters) \ |
| 10091 | (* GET_WindowPos4svMESA(disp)) parameters |
| 10092 | static INLINE _glptr_WindowPos4svMESA GET_WindowPos4svMESA(struct _glapi_table *disp) { |
| 10093 | return (_glptr_WindowPos4svMESA) (GET_by_offset(disp, _gloffset_WindowPos4svMESA)); |
| 10094 | } |
| 10095 | |
| 10096 | static INLINE void SET_WindowPos4svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10097 | SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn); |
| 10098 | } |
| 10099 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10100 | typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); |
| 10101 | #define CALL_MultiModeDrawArraysIBM(disp, parameters) \ |
| 10102 | (* GET_MultiModeDrawArraysIBM(disp)) parameters |
| 10103 | static INLINE _glptr_MultiModeDrawArraysIBM GET_MultiModeDrawArraysIBM(struct _glapi_table *disp) { |
| 10104 | return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM)); |
| 10105 | } |
| 10106 | |
| 10107 | static INLINE void SET_MultiModeDrawArraysIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10108 | SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn); |
| 10109 | } |
| 10110 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10111 | typedef void (GLAPIENTRYP _glptr_MultiModeDrawElementsIBM)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint); |
| 10112 | #define CALL_MultiModeDrawElementsIBM(disp, parameters) \ |
| 10113 | (* GET_MultiModeDrawElementsIBM(disp)) parameters |
| 10114 | static INLINE _glptr_MultiModeDrawElementsIBM GET_MultiModeDrawElementsIBM(struct _glapi_table *disp) { |
| 10115 | return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM)); |
| 10116 | } |
| 10117 | |
| 10118 | static INLINE void SET_MultiModeDrawElementsIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10119 | SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn); |
| 10120 | } |
| 10121 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10122 | typedef void (GLAPIENTRYP _glptr_DeleteFencesNV)(GLsizei, const GLuint *); |
| 10123 | #define CALL_DeleteFencesNV(disp, parameters) \ |
| 10124 | (* GET_DeleteFencesNV(disp)) parameters |
| 10125 | static INLINE _glptr_DeleteFencesNV GET_DeleteFencesNV(struct _glapi_table *disp) { |
| 10126 | return (_glptr_DeleteFencesNV) (GET_by_offset(disp, _gloffset_DeleteFencesNV)); |
| 10127 | } |
| 10128 | |
| 10129 | static INLINE void SET_DeleteFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10130 | SET_by_offset(disp, _gloffset_DeleteFencesNV, fn); |
| 10131 | } |
| 10132 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10133 | typedef void (GLAPIENTRYP _glptr_FinishFenceNV)(GLuint); |
| 10134 | #define CALL_FinishFenceNV(disp, parameters) \ |
| 10135 | (* GET_FinishFenceNV(disp)) parameters |
| 10136 | static INLINE _glptr_FinishFenceNV GET_FinishFenceNV(struct _glapi_table *disp) { |
| 10137 | return (_glptr_FinishFenceNV) (GET_by_offset(disp, _gloffset_FinishFenceNV)); |
| 10138 | } |
| 10139 | |
| 10140 | static INLINE void SET_FinishFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10141 | SET_by_offset(disp, _gloffset_FinishFenceNV, fn); |
| 10142 | } |
| 10143 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10144 | typedef void (GLAPIENTRYP _glptr_GenFencesNV)(GLsizei, GLuint *); |
| 10145 | #define CALL_GenFencesNV(disp, parameters) \ |
| 10146 | (* GET_GenFencesNV(disp)) parameters |
| 10147 | static INLINE _glptr_GenFencesNV GET_GenFencesNV(struct _glapi_table *disp) { |
| 10148 | return (_glptr_GenFencesNV) (GET_by_offset(disp, _gloffset_GenFencesNV)); |
| 10149 | } |
| 10150 | |
| 10151 | static INLINE void SET_GenFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10152 | SET_by_offset(disp, _gloffset_GenFencesNV, fn); |
| 10153 | } |
| 10154 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10155 | typedef void (GLAPIENTRYP _glptr_GetFenceivNV)(GLuint, GLenum, GLint *); |
| 10156 | #define CALL_GetFenceivNV(disp, parameters) \ |
| 10157 | (* GET_GetFenceivNV(disp)) parameters |
| 10158 | static INLINE _glptr_GetFenceivNV GET_GetFenceivNV(struct _glapi_table *disp) { |
| 10159 | return (_glptr_GetFenceivNV) (GET_by_offset(disp, _gloffset_GetFenceivNV)); |
| 10160 | } |
| 10161 | |
| 10162 | static INLINE void SET_GetFenceivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10163 | SET_by_offset(disp, _gloffset_GetFenceivNV, fn); |
| 10164 | } |
| 10165 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10166 | typedef GLboolean (GLAPIENTRYP _glptr_IsFenceNV)(GLuint); |
| 10167 | #define CALL_IsFenceNV(disp, parameters) \ |
| 10168 | (* GET_IsFenceNV(disp)) parameters |
| 10169 | static INLINE _glptr_IsFenceNV GET_IsFenceNV(struct _glapi_table *disp) { |
| 10170 | return (_glptr_IsFenceNV) (GET_by_offset(disp, _gloffset_IsFenceNV)); |
| 10171 | } |
| 10172 | |
| 10173 | static INLINE void SET_IsFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10174 | SET_by_offset(disp, _gloffset_IsFenceNV, fn); |
| 10175 | } |
| 10176 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10177 | typedef void (GLAPIENTRYP _glptr_SetFenceNV)(GLuint, GLenum); |
| 10178 | #define CALL_SetFenceNV(disp, parameters) \ |
| 10179 | (* GET_SetFenceNV(disp)) parameters |
| 10180 | static INLINE _glptr_SetFenceNV GET_SetFenceNV(struct _glapi_table *disp) { |
| 10181 | return (_glptr_SetFenceNV) (GET_by_offset(disp, _gloffset_SetFenceNV)); |
| 10182 | } |
| 10183 | |
| 10184 | static INLINE void SET_SetFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10185 | SET_by_offset(disp, _gloffset_SetFenceNV, fn); |
| 10186 | } |
| 10187 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10188 | typedef GLboolean (GLAPIENTRYP _glptr_TestFenceNV)(GLuint); |
| 10189 | #define CALL_TestFenceNV(disp, parameters) \ |
| 10190 | (* GET_TestFenceNV(disp)) parameters |
| 10191 | static INLINE _glptr_TestFenceNV GET_TestFenceNV(struct _glapi_table *disp) { |
| 10192 | return (_glptr_TestFenceNV) (GET_by_offset(disp, _gloffset_TestFenceNV)); |
| 10193 | } |
| 10194 | |
| 10195 | static INLINE void SET_TestFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10196 | SET_by_offset(disp, _gloffset_TestFenceNV, fn); |
| 10197 | } |
| 10198 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10199 | typedef GLboolean (GLAPIENTRYP _glptr_AreProgramsResidentNV)(GLsizei, const GLuint *, GLboolean *); |
| 10200 | #define CALL_AreProgramsResidentNV(disp, parameters) \ |
| 10201 | (* GET_AreProgramsResidentNV(disp)) parameters |
| 10202 | static INLINE _glptr_AreProgramsResidentNV GET_AreProgramsResidentNV(struct _glapi_table *disp) { |
| 10203 | return (_glptr_AreProgramsResidentNV) (GET_by_offset(disp, _gloffset_AreProgramsResidentNV)); |
| 10204 | } |
| 10205 | |
| 10206 | static INLINE void SET_AreProgramsResidentNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10207 | SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn); |
| 10208 | } |
| 10209 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10210 | typedef void (GLAPIENTRYP _glptr_BindProgramNV)(GLenum, GLuint); |
| 10211 | #define CALL_BindProgramNV(disp, parameters) \ |
| 10212 | (* GET_BindProgramNV(disp)) parameters |
| 10213 | static INLINE _glptr_BindProgramNV GET_BindProgramNV(struct _glapi_table *disp) { |
| 10214 | return (_glptr_BindProgramNV) (GET_by_offset(disp, _gloffset_BindProgramNV)); |
| 10215 | } |
| 10216 | |
| 10217 | static INLINE void SET_BindProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10218 | SET_by_offset(disp, _gloffset_BindProgramNV, fn); |
| 10219 | } |
| 10220 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10221 | typedef void (GLAPIENTRYP _glptr_DeleteProgramsNV)(GLsizei, const GLuint *); |
| 10222 | #define CALL_DeleteProgramsNV(disp, parameters) \ |
| 10223 | (* GET_DeleteProgramsNV(disp)) parameters |
| 10224 | static INLINE _glptr_DeleteProgramsNV GET_DeleteProgramsNV(struct _glapi_table *disp) { |
| 10225 | return (_glptr_DeleteProgramsNV) (GET_by_offset(disp, _gloffset_DeleteProgramsNV)); |
| 10226 | } |
| 10227 | |
| 10228 | static INLINE void SET_DeleteProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10229 | SET_by_offset(disp, _gloffset_DeleteProgramsNV, fn); |
| 10230 | } |
| 10231 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10232 | typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV)(GLenum, GLuint, const GLfloat *); |
| 10233 | #define CALL_ExecuteProgramNV(disp, parameters) \ |
| 10234 | (* GET_ExecuteProgramNV(disp)) parameters |
| 10235 | static INLINE _glptr_ExecuteProgramNV GET_ExecuteProgramNV(struct _glapi_table *disp) { |
| 10236 | return (_glptr_ExecuteProgramNV) (GET_by_offset(disp, _gloffset_ExecuteProgramNV)); |
| 10237 | } |
| 10238 | |
| 10239 | static INLINE void SET_ExecuteProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10240 | SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn); |
| 10241 | } |
| 10242 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10243 | typedef void (GLAPIENTRYP _glptr_GenProgramsNV)(GLsizei, GLuint *); |
| 10244 | #define CALL_GenProgramsNV(disp, parameters) \ |
| 10245 | (* GET_GenProgramsNV(disp)) parameters |
| 10246 | static INLINE _glptr_GenProgramsNV GET_GenProgramsNV(struct _glapi_table *disp) { |
| 10247 | return (_glptr_GenProgramsNV) (GET_by_offset(disp, _gloffset_GenProgramsNV)); |
| 10248 | } |
| 10249 | |
| 10250 | static INLINE void SET_GenProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10251 | SET_by_offset(disp, _gloffset_GenProgramsNV, fn); |
| 10252 | } |
| 10253 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10254 | typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV)(GLenum, GLuint, GLenum, GLdouble *); |
| 10255 | #define CALL_GetProgramParameterdvNV(disp, parameters) \ |
| 10256 | (* GET_GetProgramParameterdvNV(disp)) parameters |
| 10257 | static INLINE _glptr_GetProgramParameterdvNV GET_GetProgramParameterdvNV(struct _glapi_table *disp) { |
| 10258 | return (_glptr_GetProgramParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterdvNV)); |
| 10259 | } |
| 10260 | |
| 10261 | static INLINE void SET_GetProgramParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10262 | SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn); |
| 10263 | } |
| 10264 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10265 | typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV)(GLenum, GLuint, GLenum, GLfloat *); |
| 10266 | #define CALL_GetProgramParameterfvNV(disp, parameters) \ |
| 10267 | (* GET_GetProgramParameterfvNV(disp)) parameters |
| 10268 | static INLINE _glptr_GetProgramParameterfvNV GET_GetProgramParameterfvNV(struct _glapi_table *disp) { |
| 10269 | return (_glptr_GetProgramParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterfvNV)); |
| 10270 | } |
| 10271 | |
| 10272 | static INLINE void SET_GetProgramParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10273 | SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn); |
| 10274 | } |
| 10275 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10276 | typedef void (GLAPIENTRYP _glptr_GetProgramStringNV)(GLuint, GLenum, GLubyte *); |
| 10277 | #define CALL_GetProgramStringNV(disp, parameters) \ |
| 10278 | (* GET_GetProgramStringNV(disp)) parameters |
| 10279 | static INLINE _glptr_GetProgramStringNV GET_GetProgramStringNV(struct _glapi_table *disp) { |
| 10280 | return (_glptr_GetProgramStringNV) (GET_by_offset(disp, _gloffset_GetProgramStringNV)); |
| 10281 | } |
| 10282 | |
| 10283 | static INLINE void SET_GetProgramStringNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10284 | SET_by_offset(disp, _gloffset_GetProgramStringNV, fn); |
| 10285 | } |
| 10286 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10287 | typedef void (GLAPIENTRYP _glptr_GetProgramivNV)(GLuint, GLenum, GLint *); |
| 10288 | #define CALL_GetProgramivNV(disp, parameters) \ |
| 10289 | (* GET_GetProgramivNV(disp)) parameters |
| 10290 | static INLINE _glptr_GetProgramivNV GET_GetProgramivNV(struct _glapi_table *disp) { |
| 10291 | return (_glptr_GetProgramivNV) (GET_by_offset(disp, _gloffset_GetProgramivNV)); |
| 10292 | } |
| 10293 | |
| 10294 | static INLINE void SET_GetProgramivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10295 | SET_by_offset(disp, _gloffset_GetProgramivNV, fn); |
| 10296 | } |
| 10297 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10298 | typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV)(GLenum, GLuint, GLenum, GLint *); |
| 10299 | #define CALL_GetTrackMatrixivNV(disp, parameters) \ |
| 10300 | (* GET_GetTrackMatrixivNV(disp)) parameters |
| 10301 | static INLINE _glptr_GetTrackMatrixivNV GET_GetTrackMatrixivNV(struct _glapi_table *disp) { |
| 10302 | return (_glptr_GetTrackMatrixivNV) (GET_by_offset(disp, _gloffset_GetTrackMatrixivNV)); |
| 10303 | } |
| 10304 | |
| 10305 | static INLINE void SET_GetTrackMatrixivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10306 | SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn); |
| 10307 | } |
| 10308 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10309 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointervNV)(GLuint, GLenum, GLvoid **); |
| 10310 | #define CALL_GetVertexAttribPointervNV(disp, parameters) \ |
| 10311 | (* GET_GetVertexAttribPointervNV(disp)) parameters |
| 10312 | static INLINE _glptr_GetVertexAttribPointervNV GET_GetVertexAttribPointervNV(struct _glapi_table *disp) { |
| 10313 | return (_glptr_GetVertexAttribPointervNV) (GET_by_offset(disp, _gloffset_GetVertexAttribPointervNV)); |
| 10314 | } |
| 10315 | |
| 10316 | static INLINE void SET_GetVertexAttribPointervNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLvoid **)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10317 | SET_by_offset(disp, _gloffset_GetVertexAttribPointervNV, fn); |
| 10318 | } |
| 10319 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10320 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV)(GLuint, GLenum, GLdouble *); |
| 10321 | #define CALL_GetVertexAttribdvNV(disp, parameters) \ |
| 10322 | (* GET_GetVertexAttribdvNV(disp)) parameters |
| 10323 | static INLINE _glptr_GetVertexAttribdvNV GET_GetVertexAttribdvNV(struct _glapi_table *disp) { |
| 10324 | return (_glptr_GetVertexAttribdvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribdvNV)); |
| 10325 | } |
| 10326 | |
| 10327 | static INLINE void SET_GetVertexAttribdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10328 | SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn); |
| 10329 | } |
| 10330 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10331 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV)(GLuint, GLenum, GLfloat *); |
| 10332 | #define CALL_GetVertexAttribfvNV(disp, parameters) \ |
| 10333 | (* GET_GetVertexAttribfvNV(disp)) parameters |
| 10334 | static INLINE _glptr_GetVertexAttribfvNV GET_GetVertexAttribfvNV(struct _glapi_table *disp) { |
| 10335 | return (_glptr_GetVertexAttribfvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribfvNV)); |
| 10336 | } |
| 10337 | |
| 10338 | static INLINE void SET_GetVertexAttribfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10339 | SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn); |
| 10340 | } |
| 10341 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10342 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV)(GLuint, GLenum, GLint *); |
| 10343 | #define CALL_GetVertexAttribivNV(disp, parameters) \ |
| 10344 | (* GET_GetVertexAttribivNV(disp)) parameters |
| 10345 | static INLINE _glptr_GetVertexAttribivNV GET_GetVertexAttribivNV(struct _glapi_table *disp) { |
| 10346 | return (_glptr_GetVertexAttribivNV) (GET_by_offset(disp, _gloffset_GetVertexAttribivNV)); |
| 10347 | } |
| 10348 | |
| 10349 | static INLINE void SET_GetVertexAttribivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10350 | SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn); |
| 10351 | } |
| 10352 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10353 | typedef GLboolean (GLAPIENTRYP _glptr_IsProgramNV)(GLuint); |
| 10354 | #define CALL_IsProgramNV(disp, parameters) \ |
| 10355 | (* GET_IsProgramNV(disp)) parameters |
| 10356 | static INLINE _glptr_IsProgramNV GET_IsProgramNV(struct _glapi_table *disp) { |
| 10357 | return (_glptr_IsProgramNV) (GET_by_offset(disp, _gloffset_IsProgramNV)); |
| 10358 | } |
| 10359 | |
| 10360 | static INLINE void SET_IsProgramNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10361 | SET_by_offset(disp, _gloffset_IsProgramNV, fn); |
| 10362 | } |
| 10363 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10364 | typedef void (GLAPIENTRYP _glptr_LoadProgramNV)(GLenum, GLuint, GLsizei, const GLubyte *); |
| 10365 | #define CALL_LoadProgramNV(disp, parameters) \ |
| 10366 | (* GET_LoadProgramNV(disp)) parameters |
| 10367 | static INLINE _glptr_LoadProgramNV GET_LoadProgramNV(struct _glapi_table *disp) { |
| 10368 | return (_glptr_LoadProgramNV) (GET_by_offset(disp, _gloffset_LoadProgramNV)); |
| 10369 | } |
| 10370 | |
| 10371 | static INLINE void SET_LoadProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10372 | SET_by_offset(disp, _gloffset_LoadProgramNV, fn); |
| 10373 | } |
| 10374 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10375 | typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV)(GLenum, GLuint, GLsizei, const GLdouble *); |
| 10376 | #define CALL_ProgramParameters4dvNV(disp, parameters) \ |
| 10377 | (* GET_ProgramParameters4dvNV(disp)) parameters |
| 10378 | static INLINE _glptr_ProgramParameters4dvNV GET_ProgramParameters4dvNV(struct _glapi_table *disp) { |
| 10379 | return (_glptr_ProgramParameters4dvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4dvNV)); |
| 10380 | } |
| 10381 | |
| 10382 | static INLINE void SET_ProgramParameters4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10383 | SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn); |
| 10384 | } |
| 10385 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10386 | typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV)(GLenum, GLuint, GLsizei, const GLfloat *); |
| 10387 | #define CALL_ProgramParameters4fvNV(disp, parameters) \ |
| 10388 | (* GET_ProgramParameters4fvNV(disp)) parameters |
| 10389 | static INLINE _glptr_ProgramParameters4fvNV GET_ProgramParameters4fvNV(struct _glapi_table *disp) { |
| 10390 | return (_glptr_ProgramParameters4fvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4fvNV)); |
| 10391 | } |
| 10392 | |
| 10393 | static INLINE void SET_ProgramParameters4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10394 | SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn); |
| 10395 | } |
| 10396 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10397 | typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV)(GLsizei, const GLuint *); |
| 10398 | #define CALL_RequestResidentProgramsNV(disp, parameters) \ |
| 10399 | (* GET_RequestResidentProgramsNV(disp)) parameters |
| 10400 | static INLINE _glptr_RequestResidentProgramsNV GET_RequestResidentProgramsNV(struct _glapi_table *disp) { |
| 10401 | return (_glptr_RequestResidentProgramsNV) (GET_by_offset(disp, _gloffset_RequestResidentProgramsNV)); |
| 10402 | } |
| 10403 | |
| 10404 | static INLINE void SET_RequestResidentProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10405 | SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn); |
| 10406 | } |
| 10407 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10408 | typedef void (GLAPIENTRYP _glptr_TrackMatrixNV)(GLenum, GLuint, GLenum, GLenum); |
| 10409 | #define CALL_TrackMatrixNV(disp, parameters) \ |
| 10410 | (* GET_TrackMatrixNV(disp)) parameters |
| 10411 | static INLINE _glptr_TrackMatrixNV GET_TrackMatrixNV(struct _glapi_table *disp) { |
| 10412 | return (_glptr_TrackMatrixNV) (GET_by_offset(disp, _gloffset_TrackMatrixNV)); |
| 10413 | } |
| 10414 | |
| 10415 | static INLINE void SET_TrackMatrixNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10416 | SET_by_offset(disp, _gloffset_TrackMatrixNV, fn); |
| 10417 | } |
| 10418 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10419 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV)(GLuint, GLdouble); |
| 10420 | #define CALL_VertexAttrib1dNV(disp, parameters) \ |
| 10421 | (* GET_VertexAttrib1dNV(disp)) parameters |
| 10422 | static INLINE _glptr_VertexAttrib1dNV GET_VertexAttrib1dNV(struct _glapi_table *disp) { |
| 10423 | return (_glptr_VertexAttrib1dNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dNV)); |
| 10424 | } |
| 10425 | |
| 10426 | static INLINE void SET_VertexAttrib1dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10427 | SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn); |
| 10428 | } |
| 10429 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10430 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *); |
| 10431 | #define CALL_VertexAttrib1dvNV(disp, parameters) \ |
| 10432 | (* GET_VertexAttrib1dvNV(disp)) parameters |
| 10433 | static INLINE _glptr_VertexAttrib1dvNV GET_VertexAttrib1dvNV(struct _glapi_table *disp) { |
| 10434 | return (_glptr_VertexAttrib1dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dvNV)); |
| 10435 | } |
| 10436 | |
| 10437 | static INLINE void SET_VertexAttrib1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10438 | SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn); |
| 10439 | } |
| 10440 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10441 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat); |
| 10442 | #define CALL_VertexAttrib1fNV(disp, parameters) \ |
| 10443 | (* GET_VertexAttrib1fNV(disp)) parameters |
| 10444 | static INLINE _glptr_VertexAttrib1fNV GET_VertexAttrib1fNV(struct _glapi_table *disp) { |
| 10445 | return (_glptr_VertexAttrib1fNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fNV)); |
| 10446 | } |
| 10447 | |
| 10448 | static INLINE void SET_VertexAttrib1fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10449 | SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn); |
| 10450 | } |
| 10451 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10452 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *); |
| 10453 | #define CALL_VertexAttrib1fvNV(disp, parameters) \ |
| 10454 | (* GET_VertexAttrib1fvNV(disp)) parameters |
| 10455 | static INLINE _glptr_VertexAttrib1fvNV GET_VertexAttrib1fvNV(struct _glapi_table *disp) { |
| 10456 | return (_glptr_VertexAttrib1fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fvNV)); |
| 10457 | } |
| 10458 | |
| 10459 | static INLINE void SET_VertexAttrib1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10460 | SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn); |
| 10461 | } |
| 10462 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10463 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV)(GLuint, GLshort); |
| 10464 | #define CALL_VertexAttrib1sNV(disp, parameters) \ |
| 10465 | (* GET_VertexAttrib1sNV(disp)) parameters |
| 10466 | static INLINE _glptr_VertexAttrib1sNV GET_VertexAttrib1sNV(struct _glapi_table *disp) { |
| 10467 | return (_glptr_VertexAttrib1sNV) (GET_by_offset(disp, _gloffset_VertexAttrib1sNV)); |
| 10468 | } |
| 10469 | |
| 10470 | static INLINE void SET_VertexAttrib1sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10471 | SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn); |
| 10472 | } |
| 10473 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10474 | typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV)(GLuint, const GLshort *); |
| 10475 | #define CALL_VertexAttrib1svNV(disp, parameters) \ |
| 10476 | (* GET_VertexAttrib1svNV(disp)) parameters |
| 10477 | static INLINE _glptr_VertexAttrib1svNV GET_VertexAttrib1svNV(struct _glapi_table *disp) { |
| 10478 | return (_glptr_VertexAttrib1svNV) (GET_by_offset(disp, _gloffset_VertexAttrib1svNV)); |
| 10479 | } |
| 10480 | |
| 10481 | static INLINE void SET_VertexAttrib1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10482 | SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn); |
| 10483 | } |
| 10484 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10485 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV)(GLuint, GLdouble, GLdouble); |
| 10486 | #define CALL_VertexAttrib2dNV(disp, parameters) \ |
| 10487 | (* GET_VertexAttrib2dNV(disp)) parameters |
| 10488 | static INLINE _glptr_VertexAttrib2dNV GET_VertexAttrib2dNV(struct _glapi_table *disp) { |
| 10489 | return (_glptr_VertexAttrib2dNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dNV)); |
| 10490 | } |
| 10491 | |
| 10492 | static INLINE void SET_VertexAttrib2dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10493 | SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn); |
| 10494 | } |
| 10495 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10496 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *); |
| 10497 | #define CALL_VertexAttrib2dvNV(disp, parameters) \ |
| 10498 | (* GET_VertexAttrib2dvNV(disp)) parameters |
| 10499 | static INLINE _glptr_VertexAttrib2dvNV GET_VertexAttrib2dvNV(struct _glapi_table *disp) { |
| 10500 | return (_glptr_VertexAttrib2dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dvNV)); |
| 10501 | } |
| 10502 | |
| 10503 | static INLINE void SET_VertexAttrib2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10504 | SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn); |
| 10505 | } |
| 10506 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10507 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat); |
| 10508 | #define CALL_VertexAttrib2fNV(disp, parameters) \ |
| 10509 | (* GET_VertexAttrib2fNV(disp)) parameters |
| 10510 | static INLINE _glptr_VertexAttrib2fNV GET_VertexAttrib2fNV(struct _glapi_table *disp) { |
| 10511 | return (_glptr_VertexAttrib2fNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fNV)); |
| 10512 | } |
| 10513 | |
| 10514 | static INLINE void SET_VertexAttrib2fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10515 | SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn); |
| 10516 | } |
| 10517 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10518 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *); |
| 10519 | #define CALL_VertexAttrib2fvNV(disp, parameters) \ |
| 10520 | (* GET_VertexAttrib2fvNV(disp)) parameters |
| 10521 | static INLINE _glptr_VertexAttrib2fvNV GET_VertexAttrib2fvNV(struct _glapi_table *disp) { |
| 10522 | return (_glptr_VertexAttrib2fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fvNV)); |
| 10523 | } |
| 10524 | |
| 10525 | static INLINE void SET_VertexAttrib2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10526 | SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn); |
| 10527 | } |
| 10528 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10529 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV)(GLuint, GLshort, GLshort); |
| 10530 | #define CALL_VertexAttrib2sNV(disp, parameters) \ |
| 10531 | (* GET_VertexAttrib2sNV(disp)) parameters |
| 10532 | static INLINE _glptr_VertexAttrib2sNV GET_VertexAttrib2sNV(struct _glapi_table *disp) { |
| 10533 | return (_glptr_VertexAttrib2sNV) (GET_by_offset(disp, _gloffset_VertexAttrib2sNV)); |
| 10534 | } |
| 10535 | |
| 10536 | static INLINE void SET_VertexAttrib2sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10537 | SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn); |
| 10538 | } |
| 10539 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10540 | typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV)(GLuint, const GLshort *); |
| 10541 | #define CALL_VertexAttrib2svNV(disp, parameters) \ |
| 10542 | (* GET_VertexAttrib2svNV(disp)) parameters |
| 10543 | static INLINE _glptr_VertexAttrib2svNV GET_VertexAttrib2svNV(struct _glapi_table *disp) { |
| 10544 | return (_glptr_VertexAttrib2svNV) (GET_by_offset(disp, _gloffset_VertexAttrib2svNV)); |
| 10545 | } |
| 10546 | |
| 10547 | static INLINE void SET_VertexAttrib2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10548 | SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn); |
| 10549 | } |
| 10550 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10551 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV)(GLuint, GLdouble, GLdouble, GLdouble); |
| 10552 | #define CALL_VertexAttrib3dNV(disp, parameters) \ |
| 10553 | (* GET_VertexAttrib3dNV(disp)) parameters |
| 10554 | static INLINE _glptr_VertexAttrib3dNV GET_VertexAttrib3dNV(struct _glapi_table *disp) { |
| 10555 | return (_glptr_VertexAttrib3dNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dNV)); |
| 10556 | } |
| 10557 | |
| 10558 | static INLINE void SET_VertexAttrib3dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10559 | SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn); |
| 10560 | } |
| 10561 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10562 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *); |
| 10563 | #define CALL_VertexAttrib3dvNV(disp, parameters) \ |
| 10564 | (* GET_VertexAttrib3dvNV(disp)) parameters |
| 10565 | static INLINE _glptr_VertexAttrib3dvNV GET_VertexAttrib3dvNV(struct _glapi_table *disp) { |
| 10566 | return (_glptr_VertexAttrib3dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dvNV)); |
| 10567 | } |
| 10568 | |
| 10569 | static INLINE void SET_VertexAttrib3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10570 | SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn); |
| 10571 | } |
| 10572 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10573 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat); |
| 10574 | #define CALL_VertexAttrib3fNV(disp, parameters) \ |
| 10575 | (* GET_VertexAttrib3fNV(disp)) parameters |
| 10576 | static INLINE _glptr_VertexAttrib3fNV GET_VertexAttrib3fNV(struct _glapi_table *disp) { |
| 10577 | return (_glptr_VertexAttrib3fNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fNV)); |
| 10578 | } |
| 10579 | |
| 10580 | static INLINE void SET_VertexAttrib3fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10581 | SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn); |
| 10582 | } |
| 10583 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10584 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *); |
| 10585 | #define CALL_VertexAttrib3fvNV(disp, parameters) \ |
| 10586 | (* GET_VertexAttrib3fvNV(disp)) parameters |
| 10587 | static INLINE _glptr_VertexAttrib3fvNV GET_VertexAttrib3fvNV(struct _glapi_table *disp) { |
| 10588 | return (_glptr_VertexAttrib3fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fvNV)); |
| 10589 | } |
| 10590 | |
| 10591 | static INLINE void SET_VertexAttrib3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10592 | SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn); |
| 10593 | } |
| 10594 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10595 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV)(GLuint, GLshort, GLshort, GLshort); |
| 10596 | #define CALL_VertexAttrib3sNV(disp, parameters) \ |
| 10597 | (* GET_VertexAttrib3sNV(disp)) parameters |
| 10598 | static INLINE _glptr_VertexAttrib3sNV GET_VertexAttrib3sNV(struct _glapi_table *disp) { |
| 10599 | return (_glptr_VertexAttrib3sNV) (GET_by_offset(disp, _gloffset_VertexAttrib3sNV)); |
| 10600 | } |
| 10601 | |
| 10602 | static INLINE void SET_VertexAttrib3sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10603 | SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn); |
| 10604 | } |
| 10605 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10606 | typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV)(GLuint, const GLshort *); |
| 10607 | #define CALL_VertexAttrib3svNV(disp, parameters) \ |
| 10608 | (* GET_VertexAttrib3svNV(disp)) parameters |
| 10609 | static INLINE _glptr_VertexAttrib3svNV GET_VertexAttrib3svNV(struct _glapi_table *disp) { |
| 10610 | return (_glptr_VertexAttrib3svNV) (GET_by_offset(disp, _gloffset_VertexAttrib3svNV)); |
| 10611 | } |
| 10612 | |
| 10613 | static INLINE void SET_VertexAttrib3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10614 | SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn); |
| 10615 | } |
| 10616 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10617 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble); |
| 10618 | #define CALL_VertexAttrib4dNV(disp, parameters) \ |
| 10619 | (* GET_VertexAttrib4dNV(disp)) parameters |
| 10620 | static INLINE _glptr_VertexAttrib4dNV GET_VertexAttrib4dNV(struct _glapi_table *disp) { |
| 10621 | return (_glptr_VertexAttrib4dNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dNV)); |
| 10622 | } |
| 10623 | |
| 10624 | static INLINE void SET_VertexAttrib4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10625 | SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn); |
| 10626 | } |
| 10627 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10628 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *); |
| 10629 | #define CALL_VertexAttrib4dvNV(disp, parameters) \ |
| 10630 | (* GET_VertexAttrib4dvNV(disp)) parameters |
| 10631 | static INLINE _glptr_VertexAttrib4dvNV GET_VertexAttrib4dvNV(struct _glapi_table *disp) { |
| 10632 | return (_glptr_VertexAttrib4dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dvNV)); |
| 10633 | } |
| 10634 | |
| 10635 | static INLINE void SET_VertexAttrib4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10636 | SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn); |
| 10637 | } |
| 10638 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10639 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat); |
| 10640 | #define CALL_VertexAttrib4fNV(disp, parameters) \ |
| 10641 | (* GET_VertexAttrib4fNV(disp)) parameters |
| 10642 | static INLINE _glptr_VertexAttrib4fNV GET_VertexAttrib4fNV(struct _glapi_table *disp) { |
| 10643 | return (_glptr_VertexAttrib4fNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fNV)); |
| 10644 | } |
| 10645 | |
| 10646 | static INLINE void SET_VertexAttrib4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10647 | SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn); |
| 10648 | } |
| 10649 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10650 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *); |
| 10651 | #define CALL_VertexAttrib4fvNV(disp, parameters) \ |
| 10652 | (* GET_VertexAttrib4fvNV(disp)) parameters |
| 10653 | static INLINE _glptr_VertexAttrib4fvNV GET_VertexAttrib4fvNV(struct _glapi_table *disp) { |
| 10654 | return (_glptr_VertexAttrib4fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fvNV)); |
| 10655 | } |
| 10656 | |
| 10657 | static INLINE void SET_VertexAttrib4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10658 | SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn); |
| 10659 | } |
| 10660 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10661 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV)(GLuint, GLshort, GLshort, GLshort, GLshort); |
| 10662 | #define CALL_VertexAttrib4sNV(disp, parameters) \ |
| 10663 | (* GET_VertexAttrib4sNV(disp)) parameters |
| 10664 | static INLINE _glptr_VertexAttrib4sNV GET_VertexAttrib4sNV(struct _glapi_table *disp) { |
| 10665 | return (_glptr_VertexAttrib4sNV) (GET_by_offset(disp, _gloffset_VertexAttrib4sNV)); |
| 10666 | } |
| 10667 | |
| 10668 | static INLINE void SET_VertexAttrib4sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10669 | SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn); |
| 10670 | } |
| 10671 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10672 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV)(GLuint, const GLshort *); |
| 10673 | #define CALL_VertexAttrib4svNV(disp, parameters) \ |
| 10674 | (* GET_VertexAttrib4svNV(disp)) parameters |
| 10675 | static INLINE _glptr_VertexAttrib4svNV GET_VertexAttrib4svNV(struct _glapi_table *disp) { |
| 10676 | return (_glptr_VertexAttrib4svNV) (GET_by_offset(disp, _gloffset_VertexAttrib4svNV)); |
| 10677 | } |
| 10678 | |
| 10679 | static INLINE void SET_VertexAttrib4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10680 | SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn); |
| 10681 | } |
| 10682 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10683 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte); |
| 10684 | #define CALL_VertexAttrib4ubNV(disp, parameters) \ |
| 10685 | (* GET_VertexAttrib4ubNV(disp)) parameters |
| 10686 | static INLINE _glptr_VertexAttrib4ubNV GET_VertexAttrib4ubNV(struct _glapi_table *disp) { |
| 10687 | return (_glptr_VertexAttrib4ubNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubNV)); |
| 10688 | } |
| 10689 | |
| 10690 | static INLINE void SET_VertexAttrib4ubNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10691 | SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn); |
| 10692 | } |
| 10693 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10694 | typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV)(GLuint, const GLubyte *); |
| 10695 | #define CALL_VertexAttrib4ubvNV(disp, parameters) \ |
| 10696 | (* GET_VertexAttrib4ubvNV(disp)) parameters |
| 10697 | static INLINE _glptr_VertexAttrib4ubvNV GET_VertexAttrib4ubvNV(struct _glapi_table *disp) { |
| 10698 | return (_glptr_VertexAttrib4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvNV)); |
| 10699 | } |
| 10700 | |
| 10701 | static INLINE void SET_VertexAttrib4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10702 | SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn); |
| 10703 | } |
| 10704 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10705 | typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV)(GLuint, GLint, GLenum, GLsizei, const GLvoid *); |
| 10706 | #define CALL_VertexAttribPointerNV(disp, parameters) \ |
| 10707 | (* GET_VertexAttribPointerNV(disp)) parameters |
| 10708 | static INLINE _glptr_VertexAttribPointerNV GET_VertexAttribPointerNV(struct _glapi_table *disp) { |
| 10709 | return (_glptr_VertexAttribPointerNV) (GET_by_offset(disp, _gloffset_VertexAttribPointerNV)); |
| 10710 | } |
| 10711 | |
| 10712 | static INLINE void SET_VertexAttribPointerNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10713 | SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn); |
| 10714 | } |
| 10715 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10716 | typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV)(GLuint, GLsizei, const GLdouble *); |
| 10717 | #define CALL_VertexAttribs1dvNV(disp, parameters) \ |
| 10718 | (* GET_VertexAttribs1dvNV(disp)) parameters |
| 10719 | static INLINE _glptr_VertexAttribs1dvNV GET_VertexAttribs1dvNV(struct _glapi_table *disp) { |
| 10720 | return (_glptr_VertexAttribs1dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1dvNV)); |
| 10721 | } |
| 10722 | |
| 10723 | static INLINE void SET_VertexAttribs1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10724 | SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn); |
| 10725 | } |
| 10726 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10727 | typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV)(GLuint, GLsizei, const GLfloat *); |
| 10728 | #define CALL_VertexAttribs1fvNV(disp, parameters) \ |
| 10729 | (* GET_VertexAttribs1fvNV(disp)) parameters |
| 10730 | static INLINE _glptr_VertexAttribs1fvNV GET_VertexAttribs1fvNV(struct _glapi_table *disp) { |
| 10731 | return (_glptr_VertexAttribs1fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1fvNV)); |
| 10732 | } |
| 10733 | |
| 10734 | static INLINE void SET_VertexAttribs1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10735 | SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn); |
| 10736 | } |
| 10737 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10738 | typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV)(GLuint, GLsizei, const GLshort *); |
| 10739 | #define CALL_VertexAttribs1svNV(disp, parameters) \ |
| 10740 | (* GET_VertexAttribs1svNV(disp)) parameters |
| 10741 | static INLINE _glptr_VertexAttribs1svNV GET_VertexAttribs1svNV(struct _glapi_table *disp) { |
| 10742 | return (_glptr_VertexAttribs1svNV) (GET_by_offset(disp, _gloffset_VertexAttribs1svNV)); |
| 10743 | } |
| 10744 | |
| 10745 | static INLINE void SET_VertexAttribs1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10746 | SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn); |
| 10747 | } |
| 10748 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10749 | typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV)(GLuint, GLsizei, const GLdouble *); |
| 10750 | #define CALL_VertexAttribs2dvNV(disp, parameters) \ |
| 10751 | (* GET_VertexAttribs2dvNV(disp)) parameters |
| 10752 | static INLINE _glptr_VertexAttribs2dvNV GET_VertexAttribs2dvNV(struct _glapi_table *disp) { |
| 10753 | return (_glptr_VertexAttribs2dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2dvNV)); |
| 10754 | } |
| 10755 | |
| 10756 | static INLINE void SET_VertexAttribs2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10757 | SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn); |
| 10758 | } |
| 10759 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10760 | typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV)(GLuint, GLsizei, const GLfloat *); |
| 10761 | #define CALL_VertexAttribs2fvNV(disp, parameters) \ |
| 10762 | (* GET_VertexAttribs2fvNV(disp)) parameters |
| 10763 | static INLINE _glptr_VertexAttribs2fvNV GET_VertexAttribs2fvNV(struct _glapi_table *disp) { |
| 10764 | return (_glptr_VertexAttribs2fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2fvNV)); |
| 10765 | } |
| 10766 | |
| 10767 | static INLINE void SET_VertexAttribs2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10768 | SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn); |
| 10769 | } |
| 10770 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10771 | typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV)(GLuint, GLsizei, const GLshort *); |
| 10772 | #define CALL_VertexAttribs2svNV(disp, parameters) \ |
| 10773 | (* GET_VertexAttribs2svNV(disp)) parameters |
| 10774 | static INLINE _glptr_VertexAttribs2svNV GET_VertexAttribs2svNV(struct _glapi_table *disp) { |
| 10775 | return (_glptr_VertexAttribs2svNV) (GET_by_offset(disp, _gloffset_VertexAttribs2svNV)); |
| 10776 | } |
| 10777 | |
| 10778 | static INLINE void SET_VertexAttribs2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10779 | SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn); |
| 10780 | } |
| 10781 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10782 | typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV)(GLuint, GLsizei, const GLdouble *); |
| 10783 | #define CALL_VertexAttribs3dvNV(disp, parameters) \ |
| 10784 | (* GET_VertexAttribs3dvNV(disp)) parameters |
| 10785 | static INLINE _glptr_VertexAttribs3dvNV GET_VertexAttribs3dvNV(struct _glapi_table *disp) { |
| 10786 | return (_glptr_VertexAttribs3dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3dvNV)); |
| 10787 | } |
| 10788 | |
| 10789 | static INLINE void SET_VertexAttribs3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10790 | SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn); |
| 10791 | } |
| 10792 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10793 | typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV)(GLuint, GLsizei, const GLfloat *); |
| 10794 | #define CALL_VertexAttribs3fvNV(disp, parameters) \ |
| 10795 | (* GET_VertexAttribs3fvNV(disp)) parameters |
| 10796 | static INLINE _glptr_VertexAttribs3fvNV GET_VertexAttribs3fvNV(struct _glapi_table *disp) { |
| 10797 | return (_glptr_VertexAttribs3fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3fvNV)); |
| 10798 | } |
| 10799 | |
| 10800 | static INLINE void SET_VertexAttribs3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10801 | SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn); |
| 10802 | } |
| 10803 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10804 | typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV)(GLuint, GLsizei, const GLshort *); |
| 10805 | #define CALL_VertexAttribs3svNV(disp, parameters) \ |
| 10806 | (* GET_VertexAttribs3svNV(disp)) parameters |
| 10807 | static INLINE _glptr_VertexAttribs3svNV GET_VertexAttribs3svNV(struct _glapi_table *disp) { |
| 10808 | return (_glptr_VertexAttribs3svNV) (GET_by_offset(disp, _gloffset_VertexAttribs3svNV)); |
| 10809 | } |
| 10810 | |
| 10811 | static INLINE void SET_VertexAttribs3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10812 | SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn); |
| 10813 | } |
| 10814 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10815 | typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV)(GLuint, GLsizei, const GLdouble *); |
| 10816 | #define CALL_VertexAttribs4dvNV(disp, parameters) \ |
| 10817 | (* GET_VertexAttribs4dvNV(disp)) parameters |
| 10818 | static INLINE _glptr_VertexAttribs4dvNV GET_VertexAttribs4dvNV(struct _glapi_table *disp) { |
| 10819 | return (_glptr_VertexAttribs4dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4dvNV)); |
| 10820 | } |
| 10821 | |
| 10822 | static INLINE void SET_VertexAttribs4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10823 | SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn); |
| 10824 | } |
| 10825 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10826 | typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV)(GLuint, GLsizei, const GLfloat *); |
| 10827 | #define CALL_VertexAttribs4fvNV(disp, parameters) \ |
| 10828 | (* GET_VertexAttribs4fvNV(disp)) parameters |
| 10829 | static INLINE _glptr_VertexAttribs4fvNV GET_VertexAttribs4fvNV(struct _glapi_table *disp) { |
| 10830 | return (_glptr_VertexAttribs4fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4fvNV)); |
| 10831 | } |
| 10832 | |
| 10833 | static INLINE void SET_VertexAttribs4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10834 | SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn); |
| 10835 | } |
| 10836 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10837 | typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV)(GLuint, GLsizei, const GLshort *); |
| 10838 | #define CALL_VertexAttribs4svNV(disp, parameters) \ |
| 10839 | (* GET_VertexAttribs4svNV(disp)) parameters |
| 10840 | static INLINE _glptr_VertexAttribs4svNV GET_VertexAttribs4svNV(struct _glapi_table *disp) { |
| 10841 | return (_glptr_VertexAttribs4svNV) (GET_by_offset(disp, _gloffset_VertexAttribs4svNV)); |
| 10842 | } |
| 10843 | |
| 10844 | static INLINE void SET_VertexAttribs4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10845 | SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn); |
| 10846 | } |
| 10847 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10848 | typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *); |
| 10849 | #define CALL_VertexAttribs4ubvNV(disp, parameters) \ |
| 10850 | (* GET_VertexAttribs4ubvNV(disp)) parameters |
| 10851 | static INLINE _glptr_VertexAttribs4ubvNV GET_VertexAttribs4ubvNV(struct _glapi_table *disp) { |
| 10852 | return (_glptr_VertexAttribs4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4ubvNV)); |
| 10853 | } |
| 10854 | |
| 10855 | static INLINE void SET_VertexAttribs4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10856 | SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn); |
| 10857 | } |
| 10858 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10859 | typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI)(GLenum, GLfloat *); |
| 10860 | #define CALL_GetTexBumpParameterfvATI(disp, parameters) \ |
| 10861 | (* GET_GetTexBumpParameterfvATI(disp)) parameters |
| 10862 | static INLINE _glptr_GetTexBumpParameterfvATI GET_GetTexBumpParameterfvATI(struct _glapi_table *disp) { |
| 10863 | return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI)); |
| 10864 | } |
| 10865 | |
| 10866 | static INLINE void SET_GetTexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10867 | SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn); |
| 10868 | } |
| 10869 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10870 | typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI)(GLenum, GLint *); |
| 10871 | #define CALL_GetTexBumpParameterivATI(disp, parameters) \ |
| 10872 | (* GET_GetTexBumpParameterivATI(disp)) parameters |
| 10873 | static INLINE _glptr_GetTexBumpParameterivATI GET_GetTexBumpParameterivATI(struct _glapi_table *disp) { |
| 10874 | return (_glptr_GetTexBumpParameterivATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterivATI)); |
| 10875 | } |
| 10876 | |
| 10877 | static INLINE void SET_GetTexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10878 | SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn); |
| 10879 | } |
| 10880 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10881 | typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI)(GLenum, const GLfloat *); |
| 10882 | #define CALL_TexBumpParameterfvATI(disp, parameters) \ |
| 10883 | (* GET_TexBumpParameterfvATI(disp)) parameters |
| 10884 | static INLINE _glptr_TexBumpParameterfvATI GET_TexBumpParameterfvATI(struct _glapi_table *disp) { |
| 10885 | return (_glptr_TexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_TexBumpParameterfvATI)); |
| 10886 | } |
| 10887 | |
| 10888 | static INLINE void SET_TexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10889 | SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn); |
| 10890 | } |
| 10891 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10892 | typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI)(GLenum, const GLint *); |
| 10893 | #define CALL_TexBumpParameterivATI(disp, parameters) \ |
| 10894 | (* GET_TexBumpParameterivATI(disp)) parameters |
| 10895 | static INLINE _glptr_TexBumpParameterivATI GET_TexBumpParameterivATI(struct _glapi_table *disp) { |
| 10896 | return (_glptr_TexBumpParameterivATI) (GET_by_offset(disp, _gloffset_TexBumpParameterivATI)); |
| 10897 | } |
| 10898 | |
| 10899 | static INLINE void SET_TexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10900 | SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn); |
| 10901 | } |
| 10902 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10903 | typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10904 | #define CALL_AlphaFragmentOp1ATI(disp, parameters) \ |
| 10905 | (* GET_AlphaFragmentOp1ATI(disp)) parameters |
| 10906 | static INLINE _glptr_AlphaFragmentOp1ATI GET_AlphaFragmentOp1ATI(struct _glapi_table *disp) { |
| 10907 | return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI)); |
| 10908 | } |
| 10909 | |
| 10910 | static INLINE void SET_AlphaFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10911 | SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn); |
| 10912 | } |
| 10913 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10914 | typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10915 | #define CALL_AlphaFragmentOp2ATI(disp, parameters) \ |
| 10916 | (* GET_AlphaFragmentOp2ATI(disp)) parameters |
| 10917 | static INLINE _glptr_AlphaFragmentOp2ATI GET_AlphaFragmentOp2ATI(struct _glapi_table *disp) { |
| 10918 | return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI)); |
| 10919 | } |
| 10920 | |
| 10921 | static INLINE void SET_AlphaFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10922 | SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn); |
| 10923 | } |
| 10924 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10925 | typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10926 | #define CALL_AlphaFragmentOp3ATI(disp, parameters) \ |
| 10927 | (* GET_AlphaFragmentOp3ATI(disp)) parameters |
| 10928 | static INLINE _glptr_AlphaFragmentOp3ATI GET_AlphaFragmentOp3ATI(struct _glapi_table *disp) { |
| 10929 | return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI)); |
| 10930 | } |
| 10931 | |
| 10932 | static INLINE void SET_AlphaFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10933 | SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn); |
| 10934 | } |
| 10935 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10936 | typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI)(void); |
| 10937 | #define CALL_BeginFragmentShaderATI(disp, parameters) \ |
| 10938 | (* GET_BeginFragmentShaderATI(disp)) parameters |
| 10939 | static INLINE _glptr_BeginFragmentShaderATI GET_BeginFragmentShaderATI(struct _glapi_table *disp) { |
| 10940 | return (_glptr_BeginFragmentShaderATI) (GET_by_offset(disp, _gloffset_BeginFragmentShaderATI)); |
| 10941 | } |
| 10942 | |
| 10943 | static INLINE void SET_BeginFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10944 | SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn); |
| 10945 | } |
| 10946 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10947 | typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI)(GLuint); |
| 10948 | #define CALL_BindFragmentShaderATI(disp, parameters) \ |
| 10949 | (* GET_BindFragmentShaderATI(disp)) parameters |
| 10950 | static INLINE _glptr_BindFragmentShaderATI GET_BindFragmentShaderATI(struct _glapi_table *disp) { |
| 10951 | return (_glptr_BindFragmentShaderATI) (GET_by_offset(disp, _gloffset_BindFragmentShaderATI)); |
| 10952 | } |
| 10953 | |
| 10954 | static INLINE void SET_BindFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10955 | SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn); |
| 10956 | } |
| 10957 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10958 | typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10959 | #define CALL_ColorFragmentOp1ATI(disp, parameters) \ |
| 10960 | (* GET_ColorFragmentOp1ATI(disp)) parameters |
| 10961 | static INLINE _glptr_ColorFragmentOp1ATI GET_ColorFragmentOp1ATI(struct _glapi_table *disp) { |
| 10962 | return (_glptr_ColorFragmentOp1ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp1ATI)); |
| 10963 | } |
| 10964 | |
| 10965 | static INLINE void SET_ColorFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10966 | SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn); |
| 10967 | } |
| 10968 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10969 | typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10970 | #define CALL_ColorFragmentOp2ATI(disp, parameters) \ |
| 10971 | (* GET_ColorFragmentOp2ATI(disp)) parameters |
| 10972 | static INLINE _glptr_ColorFragmentOp2ATI GET_ColorFragmentOp2ATI(struct _glapi_table *disp) { |
| 10973 | return (_glptr_ColorFragmentOp2ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp2ATI)); |
| 10974 | } |
| 10975 | |
| 10976 | static INLINE void SET_ColorFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10977 | SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn); |
| 10978 | } |
| 10979 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10980 | typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); |
| 10981 | #define CALL_ColorFragmentOp3ATI(disp, parameters) \ |
| 10982 | (* GET_ColorFragmentOp3ATI(disp)) parameters |
| 10983 | static INLINE _glptr_ColorFragmentOp3ATI GET_ColorFragmentOp3ATI(struct _glapi_table *disp) { |
| 10984 | return (_glptr_ColorFragmentOp3ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp3ATI)); |
| 10985 | } |
| 10986 | |
| 10987 | static INLINE void SET_ColorFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10988 | SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn); |
| 10989 | } |
| 10990 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 10991 | typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI)(GLuint); |
| 10992 | #define CALL_DeleteFragmentShaderATI(disp, parameters) \ |
| 10993 | (* GET_DeleteFragmentShaderATI(disp)) parameters |
| 10994 | static INLINE _glptr_DeleteFragmentShaderATI GET_DeleteFragmentShaderATI(struct _glapi_table *disp) { |
| 10995 | return (_glptr_DeleteFragmentShaderATI) (GET_by_offset(disp, _gloffset_DeleteFragmentShaderATI)); |
| 10996 | } |
| 10997 | |
| 10998 | static INLINE void SET_DeleteFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 10999 | SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn); |
| 11000 | } |
| 11001 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11002 | typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI)(void); |
| 11003 | #define CALL_EndFragmentShaderATI(disp, parameters) \ |
| 11004 | (* GET_EndFragmentShaderATI(disp)) parameters |
| 11005 | static INLINE _glptr_EndFragmentShaderATI GET_EndFragmentShaderATI(struct _glapi_table *disp) { |
| 11006 | return (_glptr_EndFragmentShaderATI) (GET_by_offset(disp, _gloffset_EndFragmentShaderATI)); |
| 11007 | } |
| 11008 | |
| 11009 | static INLINE void SET_EndFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11010 | SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn); |
| 11011 | } |
| 11012 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11013 | typedef GLuint (GLAPIENTRYP _glptr_GenFragmentShadersATI)(GLuint); |
| 11014 | #define CALL_GenFragmentShadersATI(disp, parameters) \ |
| 11015 | (* GET_GenFragmentShadersATI(disp)) parameters |
| 11016 | static INLINE _glptr_GenFragmentShadersATI GET_GenFragmentShadersATI(struct _glapi_table *disp) { |
| 11017 | return (_glptr_GenFragmentShadersATI) (GET_by_offset(disp, _gloffset_GenFragmentShadersATI)); |
| 11018 | } |
| 11019 | |
| 11020 | static INLINE void SET_GenFragmentShadersATI(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11021 | SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn); |
| 11022 | } |
| 11023 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11024 | typedef void (GLAPIENTRYP _glptr_PassTexCoordATI)(GLuint, GLuint, GLenum); |
| 11025 | #define CALL_PassTexCoordATI(disp, parameters) \ |
| 11026 | (* GET_PassTexCoordATI(disp)) parameters |
| 11027 | static INLINE _glptr_PassTexCoordATI GET_PassTexCoordATI(struct _glapi_table *disp) { |
| 11028 | return (_glptr_PassTexCoordATI) (GET_by_offset(disp, _gloffset_PassTexCoordATI)); |
| 11029 | } |
| 11030 | |
| 11031 | static INLINE void SET_PassTexCoordATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11032 | SET_by_offset(disp, _gloffset_PassTexCoordATI, fn); |
| 11033 | } |
| 11034 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11035 | typedef void (GLAPIENTRYP _glptr_SampleMapATI)(GLuint, GLuint, GLenum); |
| 11036 | #define CALL_SampleMapATI(disp, parameters) \ |
| 11037 | (* GET_SampleMapATI(disp)) parameters |
| 11038 | static INLINE _glptr_SampleMapATI GET_SampleMapATI(struct _glapi_table *disp) { |
| 11039 | return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI)); |
| 11040 | } |
| 11041 | |
| 11042 | static INLINE void SET_SampleMapATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11043 | SET_by_offset(disp, _gloffset_SampleMapATI, fn); |
| 11044 | } |
| 11045 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11046 | typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI)(GLuint, const GLfloat *); |
| 11047 | #define CALL_SetFragmentShaderConstantATI(disp, parameters) \ |
| 11048 | (* GET_SetFragmentShaderConstantATI(disp)) parameters |
| 11049 | static INLINE _glptr_SetFragmentShaderConstantATI GET_SetFragmentShaderConstantATI(struct _glapi_table *disp) { |
| 11050 | return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI)); |
| 11051 | } |
| 11052 | |
| 11053 | static INLINE void SET_SetFragmentShaderConstantATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11054 | SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn); |
| 11055 | } |
| 11056 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11057 | typedef void (GLAPIENTRYP _glptr_PointParameteriNV)(GLenum, GLint); |
| 11058 | #define CALL_PointParameteriNV(disp, parameters) \ |
| 11059 | (* GET_PointParameteriNV(disp)) parameters |
| 11060 | static INLINE _glptr_PointParameteriNV GET_PointParameteriNV(struct _glapi_table *disp) { |
| 11061 | return (_glptr_PointParameteriNV) (GET_by_offset(disp, _gloffset_PointParameteriNV)); |
| 11062 | } |
| 11063 | |
| 11064 | static INLINE void SET_PointParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11065 | SET_by_offset(disp, _gloffset_PointParameteriNV, fn); |
| 11066 | } |
| 11067 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11068 | typedef void (GLAPIENTRYP _glptr_PointParameterivNV)(GLenum, const GLint *); |
| 11069 | #define CALL_PointParameterivNV(disp, parameters) \ |
| 11070 | (* GET_PointParameterivNV(disp)) parameters |
| 11071 | static INLINE _glptr_PointParameterivNV GET_PointParameterivNV(struct _glapi_table *disp) { |
| 11072 | return (_glptr_PointParameterivNV) (GET_by_offset(disp, _gloffset_PointParameterivNV)); |
| 11073 | } |
| 11074 | |
| 11075 | static INLINE void SET_PointParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11076 | SET_by_offset(disp, _gloffset_PointParameterivNV, fn); |
| 11077 | } |
| 11078 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11079 | typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT)(GLenum); |
| 11080 | #define CALL_ActiveStencilFaceEXT(disp, parameters) \ |
| 11081 | (* GET_ActiveStencilFaceEXT(disp)) parameters |
| 11082 | static INLINE _glptr_ActiveStencilFaceEXT GET_ActiveStencilFaceEXT(struct _glapi_table *disp) { |
| 11083 | return (_glptr_ActiveStencilFaceEXT) (GET_by_offset(disp, _gloffset_ActiveStencilFaceEXT)); |
| 11084 | } |
| 11085 | |
| 11086 | static INLINE void SET_ActiveStencilFaceEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11087 | SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn); |
| 11088 | } |
| 11089 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11090 | typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE)(GLuint); |
| 11091 | #define CALL_BindVertexArrayAPPLE(disp, parameters) \ |
| 11092 | (* GET_BindVertexArrayAPPLE(disp)) parameters |
| 11093 | static INLINE _glptr_BindVertexArrayAPPLE GET_BindVertexArrayAPPLE(struct _glapi_table *disp) { |
| 11094 | return (_glptr_BindVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_BindVertexArrayAPPLE)); |
| 11095 | } |
| 11096 | |
| 11097 | static INLINE void SET_BindVertexArrayAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11098 | SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn); |
| 11099 | } |
| 11100 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11101 | typedef void (GLAPIENTRYP _glptr_DeleteVertexArraysAPPLE)(GLsizei, const GLuint *); |
| 11102 | #define CALL_DeleteVertexArraysAPPLE(disp, parameters) \ |
| 11103 | (* GET_DeleteVertexArraysAPPLE(disp)) parameters |
| 11104 | static INLINE _glptr_DeleteVertexArraysAPPLE GET_DeleteVertexArraysAPPLE(struct _glapi_table *disp) { |
| 11105 | return (_glptr_DeleteVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE)); |
| 11106 | } |
| 11107 | |
| 11108 | static INLINE void SET_DeleteVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11109 | SET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE, fn); |
| 11110 | } |
| 11111 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11112 | typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE)(GLsizei, GLuint *); |
| 11113 | #define CALL_GenVertexArraysAPPLE(disp, parameters) \ |
| 11114 | (* GET_GenVertexArraysAPPLE(disp)) parameters |
| 11115 | static INLINE _glptr_GenVertexArraysAPPLE GET_GenVertexArraysAPPLE(struct _glapi_table *disp) { |
| 11116 | return (_glptr_GenVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_GenVertexArraysAPPLE)); |
| 11117 | } |
| 11118 | |
| 11119 | static INLINE void SET_GenVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11120 | SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn); |
| 11121 | } |
| 11122 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11123 | typedef GLboolean (GLAPIENTRYP _glptr_IsVertexArrayAPPLE)(GLuint); |
| 11124 | #define CALL_IsVertexArrayAPPLE(disp, parameters) \ |
| 11125 | (* GET_IsVertexArrayAPPLE(disp)) parameters |
| 11126 | static INLINE _glptr_IsVertexArrayAPPLE GET_IsVertexArrayAPPLE(struct _glapi_table *disp) { |
| 11127 | return (_glptr_IsVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_IsVertexArrayAPPLE)); |
| 11128 | } |
| 11129 | |
| 11130 | static INLINE void SET_IsVertexArrayAPPLE(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11131 | SET_by_offset(disp, _gloffset_IsVertexArrayAPPLE, fn); |
| 11132 | } |
| 11133 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11134 | typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV)(GLuint, GLsizei, const GLubyte *, GLdouble *); |
| 11135 | #define CALL_GetProgramNamedParameterdvNV(disp, parameters) \ |
| 11136 | (* GET_GetProgramNamedParameterdvNV(disp)) parameters |
| 11137 | static INLINE _glptr_GetProgramNamedParameterdvNV GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp) { |
| 11138 | return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV)); |
| 11139 | } |
| 11140 | |
| 11141 | static INLINE void SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11142 | SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn); |
| 11143 | } |
| 11144 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11145 | typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV)(GLuint, GLsizei, const GLubyte *, GLfloat *); |
| 11146 | #define CALL_GetProgramNamedParameterfvNV(disp, parameters) \ |
| 11147 | (* GET_GetProgramNamedParameterfvNV(disp)) parameters |
| 11148 | static INLINE _glptr_GetProgramNamedParameterfvNV GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp) { |
| 11149 | return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV)); |
| 11150 | } |
| 11151 | |
| 11152 | static INLINE void SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11153 | SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn); |
| 11154 | } |
| 11155 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11156 | typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); |
| 11157 | #define CALL_ProgramNamedParameter4dNV(disp, parameters) \ |
| 11158 | (* GET_ProgramNamedParameter4dNV(disp)) parameters |
| 11159 | static INLINE _glptr_ProgramNamedParameter4dNV GET_ProgramNamedParameter4dNV(struct _glapi_table *disp) { |
| 11160 | return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV)); |
| 11161 | } |
| 11162 | |
| 11163 | static INLINE void SET_ProgramNamedParameter4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11164 | SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn); |
| 11165 | } |
| 11166 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11167 | typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV)(GLuint, GLsizei, const GLubyte *, const GLdouble *); |
| 11168 | #define CALL_ProgramNamedParameter4dvNV(disp, parameters) \ |
| 11169 | (* GET_ProgramNamedParameter4dvNV(disp)) parameters |
| 11170 | static INLINE _glptr_ProgramNamedParameter4dvNV GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp) { |
| 11171 | return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV)); |
| 11172 | } |
| 11173 | |
| 11174 | static INLINE void SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLdouble *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11175 | SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn); |
| 11176 | } |
| 11177 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11178 | typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); |
| 11179 | #define CALL_ProgramNamedParameter4fNV(disp, parameters) \ |
| 11180 | (* GET_ProgramNamedParameter4fNV(disp)) parameters |
| 11181 | static INLINE _glptr_ProgramNamedParameter4fNV GET_ProgramNamedParameter4fNV(struct _glapi_table *disp) { |
| 11182 | return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV)); |
| 11183 | } |
| 11184 | |
| 11185 | static INLINE void SET_ProgramNamedParameter4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11186 | SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn); |
| 11187 | } |
| 11188 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11189 | typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV)(GLuint, GLsizei, const GLubyte *, const GLfloat *); |
| 11190 | #define CALL_ProgramNamedParameter4fvNV(disp, parameters) \ |
| 11191 | (* GET_ProgramNamedParameter4fvNV(disp)) parameters |
| 11192 | static INLINE _glptr_ProgramNamedParameter4fvNV GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp) { |
| 11193 | return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV)); |
| 11194 | } |
| 11195 | |
| 11196 | static INLINE void SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11197 | SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn); |
| 11198 | } |
| 11199 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11200 | typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndexNV)(GLuint); |
| 11201 | #define CALL_PrimitiveRestartIndexNV(disp, parameters) \ |
| 11202 | (* GET_PrimitiveRestartIndexNV(disp)) parameters |
| 11203 | static INLINE _glptr_PrimitiveRestartIndexNV GET_PrimitiveRestartIndexNV(struct _glapi_table *disp) { |
| 11204 | return (_glptr_PrimitiveRestartIndexNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV)); |
| 11205 | } |
| 11206 | |
| 11207 | static INLINE void SET_PrimitiveRestartIndexNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11208 | SET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV, fn); |
| 11209 | } |
| 11210 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11211 | typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV)(void); |
| 11212 | #define CALL_PrimitiveRestartNV(disp, parameters) \ |
| 11213 | (* GET_PrimitiveRestartNV(disp)) parameters |
| 11214 | static INLINE _glptr_PrimitiveRestartNV GET_PrimitiveRestartNV(struct _glapi_table *disp) { |
| 11215 | return (_glptr_PrimitiveRestartNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartNV)); |
| 11216 | } |
| 11217 | |
| 11218 | static INLINE void SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11219 | SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn); |
| 11220 | } |
| 11221 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11222 | typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT)(GLclampd, GLclampd); |
| 11223 | #define CALL_DepthBoundsEXT(disp, parameters) \ |
| 11224 | (* GET_DepthBoundsEXT(disp)) parameters |
| 11225 | static INLINE _glptr_DepthBoundsEXT GET_DepthBoundsEXT(struct _glapi_table *disp) { |
| 11226 | return (_glptr_DepthBoundsEXT) (GET_by_offset(disp, _gloffset_DepthBoundsEXT)); |
| 11227 | } |
| 11228 | |
| 11229 | static INLINE void SET_DepthBoundsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11230 | SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn); |
| 11231 | } |
| 11232 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11233 | typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateEXT)(GLenum, GLenum); |
| 11234 | #define CALL_BlendEquationSeparateEXT(disp, parameters) \ |
| 11235 | (* GET_BlendEquationSeparateEXT(disp)) parameters |
| 11236 | static INLINE _glptr_BlendEquationSeparateEXT GET_BlendEquationSeparateEXT(struct _glapi_table *disp) { |
| 11237 | return (_glptr_BlendEquationSeparateEXT) (GET_by_offset(disp, _gloffset_BlendEquationSeparateEXT)); |
| 11238 | } |
| 11239 | |
| 11240 | static INLINE void SET_BlendEquationSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11241 | SET_by_offset(disp, _gloffset_BlendEquationSeparateEXT, fn); |
| 11242 | } |
| 11243 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11244 | typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT)(GLenum, GLuint); |
| 11245 | #define CALL_BindFramebufferEXT(disp, parameters) \ |
| 11246 | (* GET_BindFramebufferEXT(disp)) parameters |
| 11247 | static INLINE _glptr_BindFramebufferEXT GET_BindFramebufferEXT(struct _glapi_table *disp) { |
| 11248 | return (_glptr_BindFramebufferEXT) (GET_by_offset(disp, _gloffset_BindFramebufferEXT)); |
| 11249 | } |
| 11250 | |
| 11251 | static INLINE void SET_BindFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11252 | SET_by_offset(disp, _gloffset_BindFramebufferEXT, fn); |
| 11253 | } |
| 11254 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11255 | typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT)(GLenum, GLuint); |
| 11256 | #define CALL_BindRenderbufferEXT(disp, parameters) \ |
| 11257 | (* GET_BindRenderbufferEXT(disp)) parameters |
| 11258 | static INLINE _glptr_BindRenderbufferEXT GET_BindRenderbufferEXT(struct _glapi_table *disp) { |
| 11259 | return (_glptr_BindRenderbufferEXT) (GET_by_offset(disp, _gloffset_BindRenderbufferEXT)); |
| 11260 | } |
| 11261 | |
| 11262 | static INLINE void SET_BindRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11263 | SET_by_offset(disp, _gloffset_BindRenderbufferEXT, fn); |
| 11264 | } |
| 11265 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11266 | typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatusEXT)(GLenum); |
| 11267 | #define CALL_CheckFramebufferStatusEXT(disp, parameters) \ |
| 11268 | (* GET_CheckFramebufferStatusEXT(disp)) parameters |
| 11269 | static INLINE _glptr_CheckFramebufferStatusEXT GET_CheckFramebufferStatusEXT(struct _glapi_table *disp) { |
| 11270 | return (_glptr_CheckFramebufferStatusEXT) (GET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT)); |
| 11271 | } |
| 11272 | |
| 11273 | static INLINE void SET_CheckFramebufferStatusEXT(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11274 | SET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT, fn); |
| 11275 | } |
| 11276 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11277 | typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersEXT)(GLsizei, const GLuint *); |
| 11278 | #define CALL_DeleteFramebuffersEXT(disp, parameters) \ |
| 11279 | (* GET_DeleteFramebuffersEXT(disp)) parameters |
| 11280 | static INLINE _glptr_DeleteFramebuffersEXT GET_DeleteFramebuffersEXT(struct _glapi_table *disp) { |
| 11281 | return (_glptr_DeleteFramebuffersEXT) (GET_by_offset(disp, _gloffset_DeleteFramebuffersEXT)); |
| 11282 | } |
| 11283 | |
| 11284 | static INLINE void SET_DeleteFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11285 | SET_by_offset(disp, _gloffset_DeleteFramebuffersEXT, fn); |
| 11286 | } |
| 11287 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11288 | typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersEXT)(GLsizei, const GLuint *); |
| 11289 | #define CALL_DeleteRenderbuffersEXT(disp, parameters) \ |
| 11290 | (* GET_DeleteRenderbuffersEXT(disp)) parameters |
| 11291 | static INLINE _glptr_DeleteRenderbuffersEXT GET_DeleteRenderbuffersEXT(struct _glapi_table *disp) { |
| 11292 | return (_glptr_DeleteRenderbuffersEXT) (GET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT)); |
| 11293 | } |
| 11294 | |
| 11295 | static INLINE void SET_DeleteRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11296 | SET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT, fn); |
| 11297 | } |
| 11298 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11299 | typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferEXT)(GLenum, GLenum, GLenum, GLuint); |
| 11300 | #define CALL_FramebufferRenderbufferEXT(disp, parameters) \ |
| 11301 | (* GET_FramebufferRenderbufferEXT(disp)) parameters |
| 11302 | static INLINE _glptr_FramebufferRenderbufferEXT GET_FramebufferRenderbufferEXT(struct _glapi_table *disp) { |
| 11303 | return (_glptr_FramebufferRenderbufferEXT) (GET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT)); |
| 11304 | } |
| 11305 | |
| 11306 | static INLINE void SET_FramebufferRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11307 | SET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT, fn); |
| 11308 | } |
| 11309 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11310 | typedef void (GLAPIENTRYP _glptr_FramebufferTexture1DEXT)(GLenum, GLenum, GLenum, GLuint, GLint); |
| 11311 | #define CALL_FramebufferTexture1DEXT(disp, parameters) \ |
| 11312 | (* GET_FramebufferTexture1DEXT(disp)) parameters |
| 11313 | static INLINE _glptr_FramebufferTexture1DEXT GET_FramebufferTexture1DEXT(struct _glapi_table *disp) { |
| 11314 | return (_glptr_FramebufferTexture1DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture1DEXT)); |
| 11315 | } |
| 11316 | |
| 11317 | static INLINE void SET_FramebufferTexture1DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11318 | SET_by_offset(disp, _gloffset_FramebufferTexture1DEXT, fn); |
| 11319 | } |
| 11320 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11321 | typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DEXT)(GLenum, GLenum, GLenum, GLuint, GLint); |
| 11322 | #define CALL_FramebufferTexture2DEXT(disp, parameters) \ |
| 11323 | (* GET_FramebufferTexture2DEXT(disp)) parameters |
| 11324 | static INLINE _glptr_FramebufferTexture2DEXT GET_FramebufferTexture2DEXT(struct _glapi_table *disp) { |
| 11325 | return (_glptr_FramebufferTexture2DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture2DEXT)); |
| 11326 | } |
| 11327 | |
| 11328 | static INLINE void SET_FramebufferTexture2DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11329 | SET_by_offset(disp, _gloffset_FramebufferTexture2DEXT, fn); |
| 11330 | } |
| 11331 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11332 | typedef void (GLAPIENTRYP _glptr_FramebufferTexture3DEXT)(GLenum, GLenum, GLenum, GLuint, GLint, GLint); |
| 11333 | #define CALL_FramebufferTexture3DEXT(disp, parameters) \ |
| 11334 | (* GET_FramebufferTexture3DEXT(disp)) parameters |
| 11335 | static INLINE _glptr_FramebufferTexture3DEXT GET_FramebufferTexture3DEXT(struct _glapi_table *disp) { |
| 11336 | return (_glptr_FramebufferTexture3DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture3DEXT)); |
| 11337 | } |
| 11338 | |
| 11339 | static INLINE void SET_FramebufferTexture3DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11340 | SET_by_offset(disp, _gloffset_FramebufferTexture3DEXT, fn); |
| 11341 | } |
| 11342 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11343 | typedef void (GLAPIENTRYP _glptr_GenFramebuffersEXT)(GLsizei, GLuint *); |
| 11344 | #define CALL_GenFramebuffersEXT(disp, parameters) \ |
| 11345 | (* GET_GenFramebuffersEXT(disp)) parameters |
| 11346 | static INLINE _glptr_GenFramebuffersEXT GET_GenFramebuffersEXT(struct _glapi_table *disp) { |
| 11347 | return (_glptr_GenFramebuffersEXT) (GET_by_offset(disp, _gloffset_GenFramebuffersEXT)); |
| 11348 | } |
| 11349 | |
| 11350 | static INLINE void SET_GenFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11351 | SET_by_offset(disp, _gloffset_GenFramebuffersEXT, fn); |
| 11352 | } |
| 11353 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11354 | typedef void (GLAPIENTRYP _glptr_GenRenderbuffersEXT)(GLsizei, GLuint *); |
| 11355 | #define CALL_GenRenderbuffersEXT(disp, parameters) \ |
| 11356 | (* GET_GenRenderbuffersEXT(disp)) parameters |
| 11357 | static INLINE _glptr_GenRenderbuffersEXT GET_GenRenderbuffersEXT(struct _glapi_table *disp) { |
| 11358 | return (_glptr_GenRenderbuffersEXT) (GET_by_offset(disp, _gloffset_GenRenderbuffersEXT)); |
| 11359 | } |
| 11360 | |
| 11361 | static INLINE void SET_GenRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11362 | SET_by_offset(disp, _gloffset_GenRenderbuffersEXT, fn); |
| 11363 | } |
| 11364 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11365 | typedef void (GLAPIENTRYP _glptr_GenerateMipmapEXT)(GLenum); |
| 11366 | #define CALL_GenerateMipmapEXT(disp, parameters) \ |
| 11367 | (* GET_GenerateMipmapEXT(disp)) parameters |
| 11368 | static INLINE _glptr_GenerateMipmapEXT GET_GenerateMipmapEXT(struct _glapi_table *disp) { |
| 11369 | return (_glptr_GenerateMipmapEXT) (GET_by_offset(disp, _gloffset_GenerateMipmapEXT)); |
| 11370 | } |
| 11371 | |
| 11372 | static INLINE void SET_GenerateMipmapEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11373 | SET_by_offset(disp, _gloffset_GenerateMipmapEXT, fn); |
| 11374 | } |
| 11375 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11376 | typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameterivEXT)(GLenum, GLenum, GLenum, GLint *); |
| 11377 | #define CALL_GetFramebufferAttachmentParameterivEXT(disp, parameters) \ |
| 11378 | (* GET_GetFramebufferAttachmentParameterivEXT(disp)) parameters |
| 11379 | static INLINE _glptr_GetFramebufferAttachmentParameterivEXT GET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp) { |
| 11380 | return (_glptr_GetFramebufferAttachmentParameterivEXT) (GET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT)); |
| 11381 | } |
| 11382 | |
| 11383 | static INLINE void SET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11384 | SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT, fn); |
| 11385 | } |
| 11386 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11387 | typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivEXT)(GLenum, GLenum, GLint *); |
| 11388 | #define CALL_GetRenderbufferParameterivEXT(disp, parameters) \ |
| 11389 | (* GET_GetRenderbufferParameterivEXT(disp)) parameters |
| 11390 | static INLINE _glptr_GetRenderbufferParameterivEXT GET_GetRenderbufferParameterivEXT(struct _glapi_table *disp) { |
| 11391 | return (_glptr_GetRenderbufferParameterivEXT) (GET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT)); |
| 11392 | } |
| 11393 | |
| 11394 | static INLINE void SET_GetRenderbufferParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11395 | SET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT, fn); |
| 11396 | } |
| 11397 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11398 | typedef GLboolean (GLAPIENTRYP _glptr_IsFramebufferEXT)(GLuint); |
| 11399 | #define CALL_IsFramebufferEXT(disp, parameters) \ |
| 11400 | (* GET_IsFramebufferEXT(disp)) parameters |
| 11401 | static INLINE _glptr_IsFramebufferEXT GET_IsFramebufferEXT(struct _glapi_table *disp) { |
| 11402 | return (_glptr_IsFramebufferEXT) (GET_by_offset(disp, _gloffset_IsFramebufferEXT)); |
| 11403 | } |
| 11404 | |
| 11405 | static INLINE void SET_IsFramebufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11406 | SET_by_offset(disp, _gloffset_IsFramebufferEXT, fn); |
| 11407 | } |
| 11408 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11409 | typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbufferEXT)(GLuint); |
| 11410 | #define CALL_IsRenderbufferEXT(disp, parameters) \ |
| 11411 | (* GET_IsRenderbufferEXT(disp)) parameters |
| 11412 | static INLINE _glptr_IsRenderbufferEXT GET_IsRenderbufferEXT(struct _glapi_table *disp) { |
| 11413 | return (_glptr_IsRenderbufferEXT) (GET_by_offset(disp, _gloffset_IsRenderbufferEXT)); |
| 11414 | } |
| 11415 | |
| 11416 | static INLINE void SET_IsRenderbufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11417 | SET_by_offset(disp, _gloffset_IsRenderbufferEXT, fn); |
| 11418 | } |
| 11419 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11420 | typedef void (GLAPIENTRYP _glptr_RenderbufferStorageEXT)(GLenum, GLenum, GLsizei, GLsizei); |
| 11421 | #define CALL_RenderbufferStorageEXT(disp, parameters) \ |
| 11422 | (* GET_RenderbufferStorageEXT(disp)) parameters |
| 11423 | static INLINE _glptr_RenderbufferStorageEXT GET_RenderbufferStorageEXT(struct _glapi_table *disp) { |
| 11424 | return (_glptr_RenderbufferStorageEXT) (GET_by_offset(disp, _gloffset_RenderbufferStorageEXT)); |
| 11425 | } |
| 11426 | |
| 11427 | static INLINE void SET_RenderbufferStorageEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11428 | SET_by_offset(disp, _gloffset_RenderbufferStorageEXT, fn); |
| 11429 | } |
| 11430 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11431 | typedef void (GLAPIENTRYP _glptr_BlitFramebufferEXT)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); |
| 11432 | #define CALL_BlitFramebufferEXT(disp, parameters) \ |
| 11433 | (* GET_BlitFramebufferEXT(disp)) parameters |
| 11434 | static INLINE _glptr_BlitFramebufferEXT GET_BlitFramebufferEXT(struct _glapi_table *disp) { |
| 11435 | return (_glptr_BlitFramebufferEXT) (GET_by_offset(disp, _gloffset_BlitFramebufferEXT)); |
| 11436 | } |
| 11437 | |
| 11438 | static INLINE void SET_BlitFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11439 | SET_by_offset(disp, _gloffset_BlitFramebufferEXT, fn); |
| 11440 | } |
| 11441 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11442 | typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE)(GLenum, GLenum, GLint); |
| 11443 | #define CALL_BufferParameteriAPPLE(disp, parameters) \ |
| 11444 | (* GET_BufferParameteriAPPLE(disp)) parameters |
| 11445 | static INLINE _glptr_BufferParameteriAPPLE GET_BufferParameteriAPPLE(struct _glapi_table *disp) { |
| 11446 | return (_glptr_BufferParameteriAPPLE) (GET_by_offset(disp, _gloffset_BufferParameteriAPPLE)); |
| 11447 | } |
| 11448 | |
| 11449 | static INLINE void SET_BufferParameteriAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11450 | SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn); |
| 11451 | } |
| 11452 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11453 | typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE)(GLenum, GLintptr, GLsizeiptr); |
| 11454 | #define CALL_FlushMappedBufferRangeAPPLE(disp, parameters) \ |
| 11455 | (* GET_FlushMappedBufferRangeAPPLE(disp)) parameters |
| 11456 | static INLINE _glptr_FlushMappedBufferRangeAPPLE GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp) { |
| 11457 | return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE)); |
| 11458 | } |
| 11459 | |
| 11460 | static INLINE void SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11461 | SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn); |
| 11462 | } |
| 11463 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11464 | typedef void (GLAPIENTRYP _glptr_BindFragDataLocationEXT)(GLuint, GLuint, const GLchar *); |
| 11465 | #define CALL_BindFragDataLocationEXT(disp, parameters) \ |
| 11466 | (* GET_BindFragDataLocationEXT(disp)) parameters |
| 11467 | static INLINE _glptr_BindFragDataLocationEXT GET_BindFragDataLocationEXT(struct _glapi_table *disp) { |
| 11468 | return (_glptr_BindFragDataLocationEXT) (GET_by_offset(disp, _gloffset_BindFragDataLocationEXT)); |
| 11469 | } |
| 11470 | |
| 11471 | static INLINE void SET_BindFragDataLocationEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11472 | SET_by_offset(disp, _gloffset_BindFragDataLocationEXT, fn); |
| 11473 | } |
| 11474 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11475 | typedef GLint (GLAPIENTRYP _glptr_GetFragDataLocationEXT)(GLuint, const GLchar *); |
| 11476 | #define CALL_GetFragDataLocationEXT(disp, parameters) \ |
| 11477 | (* GET_GetFragDataLocationEXT(disp)) parameters |
| 11478 | static INLINE _glptr_GetFragDataLocationEXT GET_GetFragDataLocationEXT(struct _glapi_table *disp) { |
| 11479 | return (_glptr_GetFragDataLocationEXT) (GET_by_offset(disp, _gloffset_GetFragDataLocationEXT)); |
| 11480 | } |
| 11481 | |
| 11482 | static INLINE void SET_GetFragDataLocationEXT(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11483 | SET_by_offset(disp, _gloffset_GetFragDataLocationEXT, fn); |
| 11484 | } |
| 11485 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11486 | typedef void (GLAPIENTRYP _glptr_GetUniformuivEXT)(GLuint, GLint, GLuint *); |
| 11487 | #define CALL_GetUniformuivEXT(disp, parameters) \ |
| 11488 | (* GET_GetUniformuivEXT(disp)) parameters |
| 11489 | static INLINE _glptr_GetUniformuivEXT GET_GetUniformuivEXT(struct _glapi_table *disp) { |
| 11490 | return (_glptr_GetUniformuivEXT) (GET_by_offset(disp, _gloffset_GetUniformuivEXT)); |
| 11491 | } |
| 11492 | |
| 11493 | static INLINE void SET_GetUniformuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11494 | SET_by_offset(disp, _gloffset_GetUniformuivEXT, fn); |
| 11495 | } |
| 11496 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11497 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribIivEXT)(GLuint, GLenum, GLint *); |
| 11498 | #define CALL_GetVertexAttribIivEXT(disp, parameters) \ |
| 11499 | (* GET_GetVertexAttribIivEXT(disp)) parameters |
| 11500 | static INLINE _glptr_GetVertexAttribIivEXT GET_GetVertexAttribIivEXT(struct _glapi_table *disp) { |
| 11501 | return (_glptr_GetVertexAttribIivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIivEXT)); |
| 11502 | } |
| 11503 | |
| 11504 | static INLINE void SET_GetVertexAttribIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11505 | SET_by_offset(disp, _gloffset_GetVertexAttribIivEXT, fn); |
| 11506 | } |
| 11507 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11508 | typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuivEXT)(GLuint, GLenum, GLuint *); |
| 11509 | #define CALL_GetVertexAttribIuivEXT(disp, parameters) \ |
| 11510 | (* GET_GetVertexAttribIuivEXT(disp)) parameters |
| 11511 | static INLINE _glptr_GetVertexAttribIuivEXT GET_GetVertexAttribIuivEXT(struct _glapi_table *disp) { |
| 11512 | return (_glptr_GetVertexAttribIuivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT)); |
| 11513 | } |
| 11514 | |
| 11515 | static INLINE void SET_GetVertexAttribIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11516 | SET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT, fn); |
| 11517 | } |
| 11518 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11519 | typedef void (GLAPIENTRYP _glptr_Uniform1uiEXT)(GLint, GLuint); |
| 11520 | #define CALL_Uniform1uiEXT(disp, parameters) \ |
| 11521 | (* GET_Uniform1uiEXT(disp)) parameters |
| 11522 | static INLINE _glptr_Uniform1uiEXT GET_Uniform1uiEXT(struct _glapi_table *disp) { |
| 11523 | return (_glptr_Uniform1uiEXT) (GET_by_offset(disp, _gloffset_Uniform1uiEXT)); |
| 11524 | } |
| 11525 | |
| 11526 | static INLINE void SET_Uniform1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11527 | SET_by_offset(disp, _gloffset_Uniform1uiEXT, fn); |
| 11528 | } |
| 11529 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11530 | typedef void (GLAPIENTRYP _glptr_Uniform1uivEXT)(GLint, GLsizei, const GLuint *); |
| 11531 | #define CALL_Uniform1uivEXT(disp, parameters) \ |
| 11532 | (* GET_Uniform1uivEXT(disp)) parameters |
| 11533 | static INLINE _glptr_Uniform1uivEXT GET_Uniform1uivEXT(struct _glapi_table *disp) { |
| 11534 | return (_glptr_Uniform1uivEXT) (GET_by_offset(disp, _gloffset_Uniform1uivEXT)); |
| 11535 | } |
| 11536 | |
| 11537 | static INLINE void SET_Uniform1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11538 | SET_by_offset(disp, _gloffset_Uniform1uivEXT, fn); |
| 11539 | } |
| 11540 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11541 | typedef void (GLAPIENTRYP _glptr_Uniform2uiEXT)(GLint, GLuint, GLuint); |
| 11542 | #define CALL_Uniform2uiEXT(disp, parameters) \ |
| 11543 | (* GET_Uniform2uiEXT(disp)) parameters |
| 11544 | static INLINE _glptr_Uniform2uiEXT GET_Uniform2uiEXT(struct _glapi_table *disp) { |
| 11545 | return (_glptr_Uniform2uiEXT) (GET_by_offset(disp, _gloffset_Uniform2uiEXT)); |
| 11546 | } |
| 11547 | |
| 11548 | static INLINE void SET_Uniform2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11549 | SET_by_offset(disp, _gloffset_Uniform2uiEXT, fn); |
| 11550 | } |
| 11551 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11552 | typedef void (GLAPIENTRYP _glptr_Uniform2uivEXT)(GLint, GLsizei, const GLuint *); |
| 11553 | #define CALL_Uniform2uivEXT(disp, parameters) \ |
| 11554 | (* GET_Uniform2uivEXT(disp)) parameters |
| 11555 | static INLINE _glptr_Uniform2uivEXT GET_Uniform2uivEXT(struct _glapi_table *disp) { |
| 11556 | return (_glptr_Uniform2uivEXT) (GET_by_offset(disp, _gloffset_Uniform2uivEXT)); |
| 11557 | } |
| 11558 | |
| 11559 | static INLINE void SET_Uniform2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11560 | SET_by_offset(disp, _gloffset_Uniform2uivEXT, fn); |
| 11561 | } |
| 11562 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11563 | typedef void (GLAPIENTRYP _glptr_Uniform3uiEXT)(GLint, GLuint, GLuint, GLuint); |
| 11564 | #define CALL_Uniform3uiEXT(disp, parameters) \ |
| 11565 | (* GET_Uniform3uiEXT(disp)) parameters |
| 11566 | static INLINE _glptr_Uniform3uiEXT GET_Uniform3uiEXT(struct _glapi_table *disp) { |
| 11567 | return (_glptr_Uniform3uiEXT) (GET_by_offset(disp, _gloffset_Uniform3uiEXT)); |
| 11568 | } |
| 11569 | |
| 11570 | static INLINE void SET_Uniform3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11571 | SET_by_offset(disp, _gloffset_Uniform3uiEXT, fn); |
| 11572 | } |
| 11573 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11574 | typedef void (GLAPIENTRYP _glptr_Uniform3uivEXT)(GLint, GLsizei, const GLuint *); |
| 11575 | #define CALL_Uniform3uivEXT(disp, parameters) \ |
| 11576 | (* GET_Uniform3uivEXT(disp)) parameters |
| 11577 | static INLINE _glptr_Uniform3uivEXT GET_Uniform3uivEXT(struct _glapi_table *disp) { |
| 11578 | return (_glptr_Uniform3uivEXT) (GET_by_offset(disp, _gloffset_Uniform3uivEXT)); |
| 11579 | } |
| 11580 | |
| 11581 | static INLINE void SET_Uniform3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11582 | SET_by_offset(disp, _gloffset_Uniform3uivEXT, fn); |
| 11583 | } |
| 11584 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11585 | typedef void (GLAPIENTRYP _glptr_Uniform4uiEXT)(GLint, GLuint, GLuint, GLuint, GLuint); |
| 11586 | #define CALL_Uniform4uiEXT(disp, parameters) \ |
| 11587 | (* GET_Uniform4uiEXT(disp)) parameters |
| 11588 | static INLINE _glptr_Uniform4uiEXT GET_Uniform4uiEXT(struct _glapi_table *disp) { |
| 11589 | return (_glptr_Uniform4uiEXT) (GET_by_offset(disp, _gloffset_Uniform4uiEXT)); |
| 11590 | } |
| 11591 | |
| 11592 | static INLINE void SET_Uniform4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11593 | SET_by_offset(disp, _gloffset_Uniform4uiEXT, fn); |
| 11594 | } |
| 11595 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11596 | typedef void (GLAPIENTRYP _glptr_Uniform4uivEXT)(GLint, GLsizei, const GLuint *); |
| 11597 | #define CALL_Uniform4uivEXT(disp, parameters) \ |
| 11598 | (* GET_Uniform4uivEXT(disp)) parameters |
| 11599 | static INLINE _glptr_Uniform4uivEXT GET_Uniform4uivEXT(struct _glapi_table *disp) { |
| 11600 | return (_glptr_Uniform4uivEXT) (GET_by_offset(disp, _gloffset_Uniform4uivEXT)); |
| 11601 | } |
| 11602 | |
| 11603 | static INLINE void SET_Uniform4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11604 | SET_by_offset(disp, _gloffset_Uniform4uivEXT, fn); |
| 11605 | } |
| 11606 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11607 | typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT)(GLuint, GLint); |
| 11608 | #define CALL_VertexAttribI1iEXT(disp, parameters) \ |
| 11609 | (* GET_VertexAttribI1iEXT(disp)) parameters |
| 11610 | static INLINE _glptr_VertexAttribI1iEXT GET_VertexAttribI1iEXT(struct _glapi_table *disp) { |
| 11611 | return (_glptr_VertexAttribI1iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1iEXT)); |
| 11612 | } |
| 11613 | |
| 11614 | static INLINE void SET_VertexAttribI1iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11615 | SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn); |
| 11616 | } |
| 11617 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11618 | typedef void (GLAPIENTRYP _glptr_VertexAttribI1ivEXT)(GLuint, const GLint *); |
| 11619 | #define CALL_VertexAttribI1ivEXT(disp, parameters) \ |
| 11620 | (* GET_VertexAttribI1ivEXT(disp)) parameters |
| 11621 | static INLINE _glptr_VertexAttribI1ivEXT GET_VertexAttribI1ivEXT(struct _glapi_table *disp) { |
| 11622 | return (_glptr_VertexAttribI1ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1ivEXT)); |
| 11623 | } |
| 11624 | |
| 11625 | static INLINE void SET_VertexAttribI1ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11626 | SET_by_offset(disp, _gloffset_VertexAttribI1ivEXT, fn); |
| 11627 | } |
| 11628 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11629 | typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT)(GLuint, GLuint); |
| 11630 | #define CALL_VertexAttribI1uiEXT(disp, parameters) \ |
| 11631 | (* GET_VertexAttribI1uiEXT(disp)) parameters |
| 11632 | static INLINE _glptr_VertexAttribI1uiEXT GET_VertexAttribI1uiEXT(struct _glapi_table *disp) { |
| 11633 | return (_glptr_VertexAttribI1uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uiEXT)); |
| 11634 | } |
| 11635 | |
| 11636 | static INLINE void SET_VertexAttribI1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11637 | SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn); |
| 11638 | } |
| 11639 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11640 | typedef void (GLAPIENTRYP _glptr_VertexAttribI1uivEXT)(GLuint, const GLuint *); |
| 11641 | #define CALL_VertexAttribI1uivEXT(disp, parameters) \ |
| 11642 | (* GET_VertexAttribI1uivEXT(disp)) parameters |
| 11643 | static INLINE _glptr_VertexAttribI1uivEXT GET_VertexAttribI1uivEXT(struct _glapi_table *disp) { |
| 11644 | return (_glptr_VertexAttribI1uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uivEXT)); |
| 11645 | } |
| 11646 | |
| 11647 | static INLINE void SET_VertexAttribI1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11648 | SET_by_offset(disp, _gloffset_VertexAttribI1uivEXT, fn); |
| 11649 | } |
| 11650 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11651 | typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT)(GLuint, GLint, GLint); |
| 11652 | #define CALL_VertexAttribI2iEXT(disp, parameters) \ |
| 11653 | (* GET_VertexAttribI2iEXT(disp)) parameters |
| 11654 | static INLINE _glptr_VertexAttribI2iEXT GET_VertexAttribI2iEXT(struct _glapi_table *disp) { |
| 11655 | return (_glptr_VertexAttribI2iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2iEXT)); |
| 11656 | } |
| 11657 | |
| 11658 | static INLINE void SET_VertexAttribI2iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11659 | SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn); |
| 11660 | } |
| 11661 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11662 | typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT)(GLuint, const GLint *); |
| 11663 | #define CALL_VertexAttribI2ivEXT(disp, parameters) \ |
| 11664 | (* GET_VertexAttribI2ivEXT(disp)) parameters |
| 11665 | static INLINE _glptr_VertexAttribI2ivEXT GET_VertexAttribI2ivEXT(struct _glapi_table *disp) { |
| 11666 | return (_glptr_VertexAttribI2ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2ivEXT)); |
| 11667 | } |
| 11668 | |
| 11669 | static INLINE void SET_VertexAttribI2ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11670 | SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn); |
| 11671 | } |
| 11672 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11673 | typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT)(GLuint, GLuint, GLuint); |
| 11674 | #define CALL_VertexAttribI2uiEXT(disp, parameters) \ |
| 11675 | (* GET_VertexAttribI2uiEXT(disp)) parameters |
| 11676 | static INLINE _glptr_VertexAttribI2uiEXT GET_VertexAttribI2uiEXT(struct _glapi_table *disp) { |
| 11677 | return (_glptr_VertexAttribI2uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uiEXT)); |
| 11678 | } |
| 11679 | |
| 11680 | static INLINE void SET_VertexAttribI2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11681 | SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn); |
| 11682 | } |
| 11683 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11684 | typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT)(GLuint, const GLuint *); |
| 11685 | #define CALL_VertexAttribI2uivEXT(disp, parameters) \ |
| 11686 | (* GET_VertexAttribI2uivEXT(disp)) parameters |
| 11687 | static INLINE _glptr_VertexAttribI2uivEXT GET_VertexAttribI2uivEXT(struct _glapi_table *disp) { |
| 11688 | return (_glptr_VertexAttribI2uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uivEXT)); |
| 11689 | } |
| 11690 | |
| 11691 | static INLINE void SET_VertexAttribI2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11692 | SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn); |
| 11693 | } |
| 11694 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11695 | typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT)(GLuint, GLint, GLint, GLint); |
| 11696 | #define CALL_VertexAttribI3iEXT(disp, parameters) \ |
| 11697 | (* GET_VertexAttribI3iEXT(disp)) parameters |
| 11698 | static INLINE _glptr_VertexAttribI3iEXT GET_VertexAttribI3iEXT(struct _glapi_table *disp) { |
| 11699 | return (_glptr_VertexAttribI3iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3iEXT)); |
| 11700 | } |
| 11701 | |
| 11702 | static INLINE void SET_VertexAttribI3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11703 | SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn); |
| 11704 | } |
| 11705 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11706 | typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT)(GLuint, const GLint *); |
| 11707 | #define CALL_VertexAttribI3ivEXT(disp, parameters) \ |
| 11708 | (* GET_VertexAttribI3ivEXT(disp)) parameters |
| 11709 | static INLINE _glptr_VertexAttribI3ivEXT GET_VertexAttribI3ivEXT(struct _glapi_table *disp) { |
| 11710 | return (_glptr_VertexAttribI3ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3ivEXT)); |
| 11711 | } |
| 11712 | |
| 11713 | static INLINE void SET_VertexAttribI3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11714 | SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn); |
| 11715 | } |
| 11716 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11717 | typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT)(GLuint, GLuint, GLuint, GLuint); |
| 11718 | #define CALL_VertexAttribI3uiEXT(disp, parameters) \ |
| 11719 | (* GET_VertexAttribI3uiEXT(disp)) parameters |
| 11720 | static INLINE _glptr_VertexAttribI3uiEXT GET_VertexAttribI3uiEXT(struct _glapi_table *disp) { |
| 11721 | return (_glptr_VertexAttribI3uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uiEXT)); |
| 11722 | } |
| 11723 | |
| 11724 | static INLINE void SET_VertexAttribI3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11725 | SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn); |
| 11726 | } |
| 11727 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11728 | typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT)(GLuint, const GLuint *); |
| 11729 | #define CALL_VertexAttribI3uivEXT(disp, parameters) \ |
| 11730 | (* GET_VertexAttribI3uivEXT(disp)) parameters |
| 11731 | static INLINE _glptr_VertexAttribI3uivEXT GET_VertexAttribI3uivEXT(struct _glapi_table *disp) { |
| 11732 | return (_glptr_VertexAttribI3uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uivEXT)); |
| 11733 | } |
| 11734 | |
| 11735 | static INLINE void SET_VertexAttribI3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11736 | SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn); |
| 11737 | } |
| 11738 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11739 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4bvEXT)(GLuint, const GLbyte *); |
| 11740 | #define CALL_VertexAttribI4bvEXT(disp, parameters) \ |
| 11741 | (* GET_VertexAttribI4bvEXT(disp)) parameters |
| 11742 | static INLINE _glptr_VertexAttribI4bvEXT GET_VertexAttribI4bvEXT(struct _glapi_table *disp) { |
| 11743 | return (_glptr_VertexAttribI4bvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4bvEXT)); |
| 11744 | } |
| 11745 | |
| 11746 | static INLINE void SET_VertexAttribI4bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11747 | SET_by_offset(disp, _gloffset_VertexAttribI4bvEXT, fn); |
| 11748 | } |
| 11749 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11750 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT)(GLuint, GLint, GLint, GLint, GLint); |
| 11751 | #define CALL_VertexAttribI4iEXT(disp, parameters) \ |
| 11752 | (* GET_VertexAttribI4iEXT(disp)) parameters |
| 11753 | static INLINE _glptr_VertexAttribI4iEXT GET_VertexAttribI4iEXT(struct _glapi_table *disp) { |
| 11754 | return (_glptr_VertexAttribI4iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4iEXT)); |
| 11755 | } |
| 11756 | |
| 11757 | static INLINE void SET_VertexAttribI4iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11758 | SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn); |
| 11759 | } |
| 11760 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11761 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT)(GLuint, const GLint *); |
| 11762 | #define CALL_VertexAttribI4ivEXT(disp, parameters) \ |
| 11763 | (* GET_VertexAttribI4ivEXT(disp)) parameters |
| 11764 | static INLINE _glptr_VertexAttribI4ivEXT GET_VertexAttribI4ivEXT(struct _glapi_table *disp) { |
| 11765 | return (_glptr_VertexAttribI4ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ivEXT)); |
| 11766 | } |
| 11767 | |
| 11768 | static INLINE void SET_VertexAttribI4ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11769 | SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn); |
| 11770 | } |
| 11771 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11772 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4svEXT)(GLuint, const GLshort *); |
| 11773 | #define CALL_VertexAttribI4svEXT(disp, parameters) \ |
| 11774 | (* GET_VertexAttribI4svEXT(disp)) parameters |
| 11775 | static INLINE _glptr_VertexAttribI4svEXT GET_VertexAttribI4svEXT(struct _glapi_table *disp) { |
| 11776 | return (_glptr_VertexAttribI4svEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4svEXT)); |
| 11777 | } |
| 11778 | |
| 11779 | static INLINE void SET_VertexAttribI4svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11780 | SET_by_offset(disp, _gloffset_VertexAttribI4svEXT, fn); |
| 11781 | } |
| 11782 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11783 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubvEXT)(GLuint, const GLubyte *); |
| 11784 | #define CALL_VertexAttribI4ubvEXT(disp, parameters) \ |
| 11785 | (* GET_VertexAttribI4ubvEXT(disp)) parameters |
| 11786 | static INLINE _glptr_VertexAttribI4ubvEXT GET_VertexAttribI4ubvEXT(struct _glapi_table *disp) { |
| 11787 | return (_glptr_VertexAttribI4ubvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT)); |
| 11788 | } |
| 11789 | |
| 11790 | static INLINE void SET_VertexAttribI4ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11791 | SET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT, fn); |
| 11792 | } |
| 11793 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11794 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT)(GLuint, GLuint, GLuint, GLuint, GLuint); |
| 11795 | #define CALL_VertexAttribI4uiEXT(disp, parameters) \ |
| 11796 | (* GET_VertexAttribI4uiEXT(disp)) parameters |
| 11797 | static INLINE _glptr_VertexAttribI4uiEXT GET_VertexAttribI4uiEXT(struct _glapi_table *disp) { |
| 11798 | return (_glptr_VertexAttribI4uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uiEXT)); |
| 11799 | } |
| 11800 | |
| 11801 | static INLINE void SET_VertexAttribI4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11802 | SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn); |
| 11803 | } |
| 11804 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11805 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT)(GLuint, const GLuint *); |
| 11806 | #define CALL_VertexAttribI4uivEXT(disp, parameters) \ |
| 11807 | (* GET_VertexAttribI4uivEXT(disp)) parameters |
| 11808 | static INLINE _glptr_VertexAttribI4uivEXT GET_VertexAttribI4uivEXT(struct _glapi_table *disp) { |
| 11809 | return (_glptr_VertexAttribI4uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uivEXT)); |
| 11810 | } |
| 11811 | |
| 11812 | static INLINE void SET_VertexAttribI4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11813 | SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn); |
| 11814 | } |
| 11815 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11816 | typedef void (GLAPIENTRYP _glptr_VertexAttribI4usvEXT)(GLuint, const GLushort *); |
| 11817 | #define CALL_VertexAttribI4usvEXT(disp, parameters) \ |
| 11818 | (* GET_VertexAttribI4usvEXT(disp)) parameters |
| 11819 | static INLINE _glptr_VertexAttribI4usvEXT GET_VertexAttribI4usvEXT(struct _glapi_table *disp) { |
| 11820 | return (_glptr_VertexAttribI4usvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4usvEXT)); |
| 11821 | } |
| 11822 | |
| 11823 | static INLINE void SET_VertexAttribI4usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11824 | SET_by_offset(disp, _gloffset_VertexAttribI4usvEXT, fn); |
| 11825 | } |
| 11826 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11827 | typedef void (GLAPIENTRYP _glptr_VertexAttribIPointerEXT)(GLuint, GLint, GLenum, GLsizei, const GLvoid *); |
| 11828 | #define CALL_VertexAttribIPointerEXT(disp, parameters) \ |
| 11829 | (* GET_VertexAttribIPointerEXT(disp)) parameters |
| 11830 | static INLINE _glptr_VertexAttribIPointerEXT GET_VertexAttribIPointerEXT(struct _glapi_table *disp) { |
| 11831 | return (_glptr_VertexAttribIPointerEXT) (GET_by_offset(disp, _gloffset_VertexAttribIPointerEXT)); |
| 11832 | } |
| 11833 | |
| 11834 | static INLINE void SET_VertexAttribIPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11835 | SET_by_offset(disp, _gloffset_VertexAttribIPointerEXT, fn); |
| 11836 | } |
| 11837 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11838 | typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayerEXT)(GLenum, GLenum, GLuint, GLint, GLint); |
| 11839 | #define CALL_FramebufferTextureLayerEXT(disp, parameters) \ |
| 11840 | (* GET_FramebufferTextureLayerEXT(disp)) parameters |
| 11841 | static INLINE _glptr_FramebufferTextureLayerEXT GET_FramebufferTextureLayerEXT(struct _glapi_table *disp) { |
| 11842 | return (_glptr_FramebufferTextureLayerEXT) (GET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT)); |
| 11843 | } |
| 11844 | |
| 11845 | static INLINE void SET_FramebufferTextureLayerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11846 | SET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT, fn); |
| 11847 | } |
| 11848 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11849 | typedef void (GLAPIENTRYP _glptr_ColorMaskIndexedEXT)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean); |
| 11850 | #define CALL_ColorMaskIndexedEXT(disp, parameters) \ |
| 11851 | (* GET_ColorMaskIndexedEXT(disp)) parameters |
| 11852 | static INLINE _glptr_ColorMaskIndexedEXT GET_ColorMaskIndexedEXT(struct _glapi_table *disp) { |
| 11853 | return (_glptr_ColorMaskIndexedEXT) (GET_by_offset(disp, _gloffset_ColorMaskIndexedEXT)); |
| 11854 | } |
| 11855 | |
| 11856 | static INLINE void SET_ColorMaskIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11857 | SET_by_offset(disp, _gloffset_ColorMaskIndexedEXT, fn); |
| 11858 | } |
| 11859 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11860 | typedef void (GLAPIENTRYP _glptr_DisableIndexedEXT)(GLenum, GLuint); |
| 11861 | #define CALL_DisableIndexedEXT(disp, parameters) \ |
| 11862 | (* GET_DisableIndexedEXT(disp)) parameters |
| 11863 | static INLINE _glptr_DisableIndexedEXT GET_DisableIndexedEXT(struct _glapi_table *disp) { |
| 11864 | return (_glptr_DisableIndexedEXT) (GET_by_offset(disp, _gloffset_DisableIndexedEXT)); |
| 11865 | } |
| 11866 | |
| 11867 | static INLINE void SET_DisableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11868 | SET_by_offset(disp, _gloffset_DisableIndexedEXT, fn); |
| 11869 | } |
| 11870 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11871 | typedef void (GLAPIENTRYP _glptr_EnableIndexedEXT)(GLenum, GLuint); |
| 11872 | #define CALL_EnableIndexedEXT(disp, parameters) \ |
| 11873 | (* GET_EnableIndexedEXT(disp)) parameters |
| 11874 | static INLINE _glptr_EnableIndexedEXT GET_EnableIndexedEXT(struct _glapi_table *disp) { |
| 11875 | return (_glptr_EnableIndexedEXT) (GET_by_offset(disp, _gloffset_EnableIndexedEXT)); |
| 11876 | } |
| 11877 | |
| 11878 | static INLINE void SET_EnableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11879 | SET_by_offset(disp, _gloffset_EnableIndexedEXT, fn); |
| 11880 | } |
| 11881 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11882 | typedef void (GLAPIENTRYP _glptr_GetBooleanIndexedvEXT)(GLenum, GLuint, GLboolean *); |
| 11883 | #define CALL_GetBooleanIndexedvEXT(disp, parameters) \ |
| 11884 | (* GET_GetBooleanIndexedvEXT(disp)) parameters |
| 11885 | static INLINE _glptr_GetBooleanIndexedvEXT GET_GetBooleanIndexedvEXT(struct _glapi_table *disp) { |
| 11886 | return (_glptr_GetBooleanIndexedvEXT) (GET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT)); |
| 11887 | } |
| 11888 | |
| 11889 | static INLINE void SET_GetBooleanIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLboolean *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11890 | SET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT, fn); |
| 11891 | } |
| 11892 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11893 | typedef void (GLAPIENTRYP _glptr_GetIntegerIndexedvEXT)(GLenum, GLuint, GLint *); |
| 11894 | #define CALL_GetIntegerIndexedvEXT(disp, parameters) \ |
| 11895 | (* GET_GetIntegerIndexedvEXT(disp)) parameters |
| 11896 | static INLINE _glptr_GetIntegerIndexedvEXT GET_GetIntegerIndexedvEXT(struct _glapi_table *disp) { |
| 11897 | return (_glptr_GetIntegerIndexedvEXT) (GET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT)); |
| 11898 | } |
| 11899 | |
| 11900 | static INLINE void SET_GetIntegerIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11901 | SET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT, fn); |
| 11902 | } |
| 11903 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11904 | typedef GLboolean (GLAPIENTRYP _glptr_IsEnabledIndexedEXT)(GLenum, GLuint); |
| 11905 | #define CALL_IsEnabledIndexedEXT(disp, parameters) \ |
| 11906 | (* GET_IsEnabledIndexedEXT(disp)) parameters |
| 11907 | static INLINE _glptr_IsEnabledIndexedEXT GET_IsEnabledIndexedEXT(struct _glapi_table *disp) { |
| 11908 | return (_glptr_IsEnabledIndexedEXT) (GET_by_offset(disp, _gloffset_IsEnabledIndexedEXT)); |
| 11909 | } |
| 11910 | |
| 11911 | static INLINE void SET_IsEnabledIndexedEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11912 | SET_by_offset(disp, _gloffset_IsEnabledIndexedEXT, fn); |
| 11913 | } |
| 11914 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11915 | typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT)(GLint, GLint, GLint, GLint); |
| 11916 | #define CALL_ClearColorIiEXT(disp, parameters) \ |
| 11917 | (* GET_ClearColorIiEXT(disp)) parameters |
| 11918 | static INLINE _glptr_ClearColorIiEXT GET_ClearColorIiEXT(struct _glapi_table *disp) { |
| 11919 | return (_glptr_ClearColorIiEXT) (GET_by_offset(disp, _gloffset_ClearColorIiEXT)); |
| 11920 | } |
| 11921 | |
| 11922 | static INLINE void SET_ClearColorIiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11923 | SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn); |
| 11924 | } |
| 11925 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11926 | typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT)(GLuint, GLuint, GLuint, GLuint); |
| 11927 | #define CALL_ClearColorIuiEXT(disp, parameters) \ |
| 11928 | (* GET_ClearColorIuiEXT(disp)) parameters |
| 11929 | static INLINE _glptr_ClearColorIuiEXT GET_ClearColorIuiEXT(struct _glapi_table *disp) { |
| 11930 | return (_glptr_ClearColorIuiEXT) (GET_by_offset(disp, _gloffset_ClearColorIuiEXT)); |
| 11931 | } |
| 11932 | |
| 11933 | static INLINE void SET_ClearColorIuiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11934 | SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn); |
| 11935 | } |
| 11936 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11937 | typedef void (GLAPIENTRYP _glptr_GetTexParameterIivEXT)(GLenum, GLenum, GLint *); |
| 11938 | #define CALL_GetTexParameterIivEXT(disp, parameters) \ |
| 11939 | (* GET_GetTexParameterIivEXT(disp)) parameters |
| 11940 | static INLINE _glptr_GetTexParameterIivEXT GET_GetTexParameterIivEXT(struct _glapi_table *disp) { |
| 11941 | return (_glptr_GetTexParameterIivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIivEXT)); |
| 11942 | } |
| 11943 | |
| 11944 | static INLINE void SET_GetTexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11945 | SET_by_offset(disp, _gloffset_GetTexParameterIivEXT, fn); |
| 11946 | } |
| 11947 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11948 | typedef void (GLAPIENTRYP _glptr_GetTexParameterIuivEXT)(GLenum, GLenum, GLuint *); |
| 11949 | #define CALL_GetTexParameterIuivEXT(disp, parameters) \ |
| 11950 | (* GET_GetTexParameterIuivEXT(disp)) parameters |
| 11951 | static INLINE _glptr_GetTexParameterIuivEXT GET_GetTexParameterIuivEXT(struct _glapi_table *disp) { |
| 11952 | return (_glptr_GetTexParameterIuivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIuivEXT)); |
| 11953 | } |
| 11954 | |
| 11955 | static INLINE void SET_GetTexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11956 | SET_by_offset(disp, _gloffset_GetTexParameterIuivEXT, fn); |
| 11957 | } |
| 11958 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11959 | typedef void (GLAPIENTRYP _glptr_TexParameterIivEXT)(GLenum, GLenum, const GLint *); |
| 11960 | #define CALL_TexParameterIivEXT(disp, parameters) \ |
| 11961 | (* GET_TexParameterIivEXT(disp)) parameters |
| 11962 | static INLINE _glptr_TexParameterIivEXT GET_TexParameterIivEXT(struct _glapi_table *disp) { |
| 11963 | return (_glptr_TexParameterIivEXT) (GET_by_offset(disp, _gloffset_TexParameterIivEXT)); |
| 11964 | } |
| 11965 | |
| 11966 | static INLINE void SET_TexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11967 | SET_by_offset(disp, _gloffset_TexParameterIivEXT, fn); |
| 11968 | } |
| 11969 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11970 | typedef void (GLAPIENTRYP _glptr_TexParameterIuivEXT)(GLenum, GLenum, const GLuint *); |
| 11971 | #define CALL_TexParameterIuivEXT(disp, parameters) \ |
| 11972 | (* GET_TexParameterIuivEXT(disp)) parameters |
| 11973 | static INLINE _glptr_TexParameterIuivEXT GET_TexParameterIuivEXT(struct _glapi_table *disp) { |
| 11974 | return (_glptr_TexParameterIuivEXT) (GET_by_offset(disp, _gloffset_TexParameterIuivEXT)); |
| 11975 | } |
| 11976 | |
| 11977 | static INLINE void SET_TexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11978 | SET_by_offset(disp, _gloffset_TexParameterIuivEXT, fn); |
| 11979 | } |
| 11980 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11981 | typedef void (GLAPIENTRYP _glptr_BeginConditionalRenderNV)(GLuint, GLenum); |
| 11982 | #define CALL_BeginConditionalRenderNV(disp, parameters) \ |
| 11983 | (* GET_BeginConditionalRenderNV(disp)) parameters |
| 11984 | static INLINE _glptr_BeginConditionalRenderNV GET_BeginConditionalRenderNV(struct _glapi_table *disp) { |
| 11985 | return (_glptr_BeginConditionalRenderNV) (GET_by_offset(disp, _gloffset_BeginConditionalRenderNV)); |
| 11986 | } |
| 11987 | |
| 11988 | static INLINE void SET_BeginConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 11989 | SET_by_offset(disp, _gloffset_BeginConditionalRenderNV, fn); |
| 11990 | } |
| 11991 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 11992 | typedef void (GLAPIENTRYP _glptr_EndConditionalRenderNV)(void); |
| 11993 | #define CALL_EndConditionalRenderNV(disp, parameters) \ |
| 11994 | (* GET_EndConditionalRenderNV(disp)) parameters |
| 11995 | static INLINE _glptr_EndConditionalRenderNV GET_EndConditionalRenderNV(struct _glapi_table *disp) { |
| 11996 | return (_glptr_EndConditionalRenderNV) (GET_by_offset(disp, _gloffset_EndConditionalRenderNV)); |
| 11997 | } |
| 11998 | |
| 11999 | static INLINE void SET_EndConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12000 | SET_by_offset(disp, _gloffset_EndConditionalRenderNV, fn); |
| 12001 | } |
| 12002 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12003 | typedef void (GLAPIENTRYP _glptr_BeginTransformFeedbackEXT)(GLenum); |
| 12004 | #define CALL_BeginTransformFeedbackEXT(disp, parameters) \ |
| 12005 | (* GET_BeginTransformFeedbackEXT(disp)) parameters |
| 12006 | static INLINE _glptr_BeginTransformFeedbackEXT GET_BeginTransformFeedbackEXT(struct _glapi_table *disp) { |
| 12007 | return (_glptr_BeginTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT)); |
| 12008 | } |
| 12009 | |
| 12010 | static INLINE void SET_BeginTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12011 | SET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT, fn); |
| 12012 | } |
| 12013 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12014 | typedef void (GLAPIENTRYP _glptr_BindBufferBaseEXT)(GLenum, GLuint, GLuint); |
| 12015 | #define CALL_BindBufferBaseEXT(disp, parameters) \ |
| 12016 | (* GET_BindBufferBaseEXT(disp)) parameters |
| 12017 | static INLINE _glptr_BindBufferBaseEXT GET_BindBufferBaseEXT(struct _glapi_table *disp) { |
| 12018 | return (_glptr_BindBufferBaseEXT) (GET_by_offset(disp, _gloffset_BindBufferBaseEXT)); |
| 12019 | } |
| 12020 | |
| 12021 | static INLINE void SET_BindBufferBaseEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12022 | SET_by_offset(disp, _gloffset_BindBufferBaseEXT, fn); |
| 12023 | } |
| 12024 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12025 | typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr); |
| 12026 | #define CALL_BindBufferOffsetEXT(disp, parameters) \ |
| 12027 | (* GET_BindBufferOffsetEXT(disp)) parameters |
| 12028 | static INLINE _glptr_BindBufferOffsetEXT GET_BindBufferOffsetEXT(struct _glapi_table *disp) { |
| 12029 | return (_glptr_BindBufferOffsetEXT) (GET_by_offset(disp, _gloffset_BindBufferOffsetEXT)); |
| 12030 | } |
| 12031 | |
| 12032 | static INLINE void SET_BindBufferOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12033 | SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn); |
| 12034 | } |
| 12035 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12036 | typedef void (GLAPIENTRYP _glptr_BindBufferRangeEXT)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); |
| 12037 | #define CALL_BindBufferRangeEXT(disp, parameters) \ |
| 12038 | (* GET_BindBufferRangeEXT(disp)) parameters |
| 12039 | static INLINE _glptr_BindBufferRangeEXT GET_BindBufferRangeEXT(struct _glapi_table *disp) { |
| 12040 | return (_glptr_BindBufferRangeEXT) (GET_by_offset(disp, _gloffset_BindBufferRangeEXT)); |
| 12041 | } |
| 12042 | |
| 12043 | static INLINE void SET_BindBufferRangeEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12044 | SET_by_offset(disp, _gloffset_BindBufferRangeEXT, fn); |
| 12045 | } |
| 12046 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12047 | typedef void (GLAPIENTRYP _glptr_EndTransformFeedbackEXT)(void); |
| 12048 | #define CALL_EndTransformFeedbackEXT(disp, parameters) \ |
| 12049 | (* GET_EndTransformFeedbackEXT(disp)) parameters |
| 12050 | static INLINE _glptr_EndTransformFeedbackEXT GET_EndTransformFeedbackEXT(struct _glapi_table *disp) { |
| 12051 | return (_glptr_EndTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_EndTransformFeedbackEXT)); |
| 12052 | } |
| 12053 | |
| 12054 | static INLINE void SET_EndTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12055 | SET_by_offset(disp, _gloffset_EndTransformFeedbackEXT, fn); |
| 12056 | } |
| 12057 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12058 | typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVaryingEXT)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); |
| 12059 | #define CALL_GetTransformFeedbackVaryingEXT(disp, parameters) \ |
| 12060 | (* GET_GetTransformFeedbackVaryingEXT(disp)) parameters |
| 12061 | static INLINE _glptr_GetTransformFeedbackVaryingEXT GET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp) { |
| 12062 | return (_glptr_GetTransformFeedbackVaryingEXT) (GET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT)); |
| 12063 | } |
| 12064 | |
| 12065 | static INLINE void SET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12066 | SET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT, fn); |
| 12067 | } |
| 12068 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12069 | typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryingsEXT)(GLuint, GLsizei, const char **, GLenum); |
| 12070 | #define CALL_TransformFeedbackVaryingsEXT(disp, parameters) \ |
| 12071 | (* GET_TransformFeedbackVaryingsEXT(disp)) parameters |
| 12072 | static INLINE _glptr_TransformFeedbackVaryingsEXT GET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp) { |
| 12073 | return (_glptr_TransformFeedbackVaryingsEXT) (GET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT)); |
| 12074 | } |
| 12075 | |
| 12076 | static INLINE void SET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const char **, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12077 | SET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT, fn); |
| 12078 | } |
| 12079 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12080 | typedef void (GLAPIENTRYP _glptr_ProvokingVertexEXT)(GLenum); |
| 12081 | #define CALL_ProvokingVertexEXT(disp, parameters) \ |
| 12082 | (* GET_ProvokingVertexEXT(disp)) parameters |
| 12083 | static INLINE _glptr_ProvokingVertexEXT GET_ProvokingVertexEXT(struct _glapi_table *disp) { |
| 12084 | return (_glptr_ProvokingVertexEXT) (GET_by_offset(disp, _gloffset_ProvokingVertexEXT)); |
| 12085 | } |
| 12086 | |
| 12087 | static INLINE void SET_ProvokingVertexEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12088 | SET_by_offset(disp, _gloffset_ProvokingVertexEXT, fn); |
| 12089 | } |
| 12090 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12091 | typedef void (GLAPIENTRYP _glptr_GetTexParameterPointervAPPLE)(GLenum, GLenum, GLvoid **); |
| 12092 | #define CALL_GetTexParameterPointervAPPLE(disp, parameters) \ |
| 12093 | (* GET_GetTexParameterPointervAPPLE(disp)) parameters |
| 12094 | static INLINE _glptr_GetTexParameterPointervAPPLE GET_GetTexParameterPointervAPPLE(struct _glapi_table *disp) { |
| 12095 | return (_glptr_GetTexParameterPointervAPPLE) (GET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE)); |
| 12096 | } |
| 12097 | |
| 12098 | static INLINE void SET_GetTexParameterPointervAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12099 | SET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE, fn); |
| 12100 | } |
| 12101 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12102 | typedef void (GLAPIENTRYP _glptr_TextureRangeAPPLE)(GLenum, GLsizei, GLvoid *); |
| 12103 | #define CALL_TextureRangeAPPLE(disp, parameters) \ |
| 12104 | (* GET_TextureRangeAPPLE(disp)) parameters |
| 12105 | static INLINE _glptr_TextureRangeAPPLE GET_TextureRangeAPPLE(struct _glapi_table *disp) { |
| 12106 | return (_glptr_TextureRangeAPPLE) (GET_by_offset(disp, _gloffset_TextureRangeAPPLE)); |
| 12107 | } |
| 12108 | |
| 12109 | static INLINE void SET_TextureRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12110 | SET_by_offset(disp, _gloffset_TextureRangeAPPLE, fn); |
| 12111 | } |
| 12112 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12113 | typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE)(GLenum, GLuint, GLenum, GLint *); |
| 12114 | #define CALL_GetObjectParameterivAPPLE(disp, parameters) \ |
| 12115 | (* GET_GetObjectParameterivAPPLE(disp)) parameters |
| 12116 | static INLINE _glptr_GetObjectParameterivAPPLE GET_GetObjectParameterivAPPLE(struct _glapi_table *disp) { |
| 12117 | return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE)); |
| 12118 | } |
| 12119 | |
| 12120 | static INLINE void SET_GetObjectParameterivAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12121 | SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn); |
| 12122 | } |
| 12123 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12124 | typedef GLenum (GLAPIENTRYP _glptr_ObjectPurgeableAPPLE)(GLenum, GLuint, GLenum); |
| 12125 | #define CALL_ObjectPurgeableAPPLE(disp, parameters) \ |
| 12126 | (* GET_ObjectPurgeableAPPLE(disp)) parameters |
| 12127 | static INLINE _glptr_ObjectPurgeableAPPLE GET_ObjectPurgeableAPPLE(struct _glapi_table *disp) { |
| 12128 | return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE)); |
| 12129 | } |
| 12130 | |
| 12131 | static INLINE void SET_ObjectPurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12132 | SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn); |
| 12133 | } |
| 12134 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12135 | typedef GLenum (GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE)(GLenum, GLuint, GLenum); |
| 12136 | #define CALL_ObjectUnpurgeableAPPLE(disp, parameters) \ |
| 12137 | (* GET_ObjectUnpurgeableAPPLE(disp)) parameters |
| 12138 | static INLINE _glptr_ObjectUnpurgeableAPPLE GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp) { |
| 12139 | return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE)); |
| 12140 | } |
| 12141 | |
| 12142 | static INLINE void SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12143 | SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn); |
| 12144 | } |
| 12145 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12146 | typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT)(GLuint); |
| 12147 | #define CALL_ActiveProgramEXT(disp, parameters) \ |
| 12148 | (* GET_ActiveProgramEXT(disp)) parameters |
| 12149 | static INLINE _glptr_ActiveProgramEXT GET_ActiveProgramEXT(struct _glapi_table *disp) { |
| 12150 | return (_glptr_ActiveProgramEXT) (GET_by_offset(disp, _gloffset_ActiveProgramEXT)); |
| 12151 | } |
| 12152 | |
| 12153 | static INLINE void SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12154 | SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn); |
| 12155 | } |
| 12156 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12157 | typedef GLuint (GLAPIENTRYP _glptr_CreateShaderProgramEXT)(GLenum, const GLchar *); |
| 12158 | #define CALL_CreateShaderProgramEXT(disp, parameters) \ |
| 12159 | (* GET_CreateShaderProgramEXT(disp)) parameters |
| 12160 | static INLINE _glptr_CreateShaderProgramEXT GET_CreateShaderProgramEXT(struct _glapi_table *disp) { |
| 12161 | return (_glptr_CreateShaderProgramEXT) (GET_by_offset(disp, _gloffset_CreateShaderProgramEXT)); |
| 12162 | } |
| 12163 | |
| 12164 | static INLINE void SET_CreateShaderProgramEXT(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum, const GLchar *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12165 | SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn); |
| 12166 | } |
| 12167 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12168 | typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT)(GLenum, GLuint); |
| 12169 | #define CALL_UseShaderProgramEXT(disp, parameters) \ |
| 12170 | (* GET_UseShaderProgramEXT(disp)) parameters |
| 12171 | static INLINE _glptr_UseShaderProgramEXT GET_UseShaderProgramEXT(struct _glapi_table *disp) { |
| 12172 | return (_glptr_UseShaderProgramEXT) (GET_by_offset(disp, _gloffset_UseShaderProgramEXT)); |
| 12173 | } |
| 12174 | |
| 12175 | static INLINE void SET_UseShaderProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12176 | SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn); |
| 12177 | } |
| 12178 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12179 | typedef void (GLAPIENTRYP _glptr_TextureBarrierNV)(void); |
| 12180 | #define CALL_TextureBarrierNV(disp, parameters) \ |
| 12181 | (* GET_TextureBarrierNV(disp)) parameters |
| 12182 | static INLINE _glptr_TextureBarrierNV GET_TextureBarrierNV(struct _glapi_table *disp) { |
| 12183 | return (_glptr_TextureBarrierNV) (GET_by_offset(disp, _gloffset_TextureBarrierNV)); |
| 12184 | } |
| 12185 | |
| 12186 | static INLINE void SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12187 | SET_by_offset(disp, _gloffset_TextureBarrierNV, fn); |
| 12188 | } |
| 12189 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12190 | typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint); |
| 12191 | #define CALL_StencilFuncSeparateATI(disp, parameters) \ |
| 12192 | (* GET_StencilFuncSeparateATI(disp)) parameters |
| 12193 | static INLINE _glptr_StencilFuncSeparateATI GET_StencilFuncSeparateATI(struct _glapi_table *disp) { |
| 12194 | return (_glptr_StencilFuncSeparateATI) (GET_by_offset(disp, _gloffset_StencilFuncSeparateATI)); |
| 12195 | } |
| 12196 | |
| 12197 | static INLINE void SET_StencilFuncSeparateATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12198 | SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn); |
| 12199 | } |
| 12200 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12201 | typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *); |
| 12202 | #define CALL_ProgramEnvParameters4fvEXT(disp, parameters) \ |
| 12203 | (* GET_ProgramEnvParameters4fvEXT(disp)) parameters |
| 12204 | static INLINE _glptr_ProgramEnvParameters4fvEXT GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp) { |
| 12205 | return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT)); |
| 12206 | } |
| 12207 | |
| 12208 | static INLINE void SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12209 | SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn); |
| 12210 | } |
| 12211 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12212 | typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *); |
| 12213 | #define CALL_ProgramLocalParameters4fvEXT(disp, parameters) \ |
| 12214 | (* GET_ProgramLocalParameters4fvEXT(disp)) parameters |
| 12215 | static INLINE _glptr_ProgramLocalParameters4fvEXT GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp) { |
| 12216 | return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT)); |
| 12217 | } |
| 12218 | |
| 12219 | static INLINE void SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12220 | SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn); |
| 12221 | } |
| 12222 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12223 | typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64vEXT)(GLuint, GLenum, GLint64EXT *); |
| 12224 | #define CALL_GetQueryObjecti64vEXT(disp, parameters) \ |
| 12225 | (* GET_GetQueryObjecti64vEXT(disp)) parameters |
| 12226 | static INLINE _glptr_GetQueryObjecti64vEXT GET_GetQueryObjecti64vEXT(struct _glapi_table *disp) { |
| 12227 | return (_glptr_GetQueryObjecti64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT)); |
| 12228 | } |
| 12229 | |
| 12230 | static INLINE void SET_GetQueryObjecti64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint64EXT *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12231 | SET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT, fn); |
| 12232 | } |
| 12233 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12234 | typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64vEXT)(GLuint, GLenum, GLuint64EXT *); |
| 12235 | #define CALL_GetQueryObjectui64vEXT(disp, parameters) \ |
| 12236 | (* GET_GetQueryObjectui64vEXT(disp)) parameters |
| 12237 | static INLINE _glptr_GetQueryObjectui64vEXT GET_GetQueryObjectui64vEXT(struct _glapi_table *disp) { |
| 12238 | return (_glptr_GetQueryObjectui64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT)); |
| 12239 | } |
| 12240 | |
| 12241 | static INLINE void SET_GetQueryObjectui64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint64EXT *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12242 | SET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT, fn); |
| 12243 | } |
| 12244 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12245 | typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *); |
| 12246 | #define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \ |
| 12247 | (* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters |
| 12248 | static INLINE _glptr_EGLImageTargetRenderbufferStorageOES GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) { |
| 12249 | return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES)); |
| 12250 | } |
| 12251 | |
| 12252 | static INLINE void SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12253 | SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn); |
| 12254 | } |
| 12255 | |
| José Fonseca | 075d2bf | 2011-05-19 17:44:06 +0100 | [diff] [blame] | 12256 | typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *); |
| 12257 | #define CALL_EGLImageTargetTexture2DOES(disp, parameters) \ |
| 12258 | (* GET_EGLImageTargetTexture2DOES(disp)) parameters |
| 12259 | static INLINE _glptr_EGLImageTargetTexture2DOES GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) { |
| 12260 | return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES)); |
| 12261 | } |
| 12262 | |
| 12263 | static INLINE void SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) { |
| José Fonseca | ec4dfc2 | 2011-05-19 16:49:49 +0100 | [diff] [blame] | 12264 | SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn); |
| 12265 | } |
| 12266 | |
| Chia-I Wu | 22884db | 2009-10-16 16:01:57 +0800 | [diff] [blame] | 12267 | |
| 12268 | #endif /* !defined( _GLAPI_DISPATCH_H_ ) */ |