blob: 44342102fecb004a38495f2249c92e62a5458b5e [file] [log] [blame]
Chia-I Wu22884db2009-10-16 16:01:57 +08001/* 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 Wu6e99e6d2009-10-16 16:04:06 +080032/* this file should not be included directly in mesa */
33
Chia-I Wu22884db2009-10-16 16:01:57 +080034/**
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 Wu07b85452010-10-26 00:16:49 +080061/* total number of offsets below */
Pierre-Eric Pelloux-Prayer0dae9462011-05-31 13:34:34 +020062#define _gloffset_COUNT 929
Chia-I Wu07b85452010-10-26 00:16:49 +080063
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 Wu22884db2009-10-16 16:01:57 +0800472
Chia-I Wu6e99e6d2009-10-16 16:04:06 +0800473#if !defined(_GLAPI_USE_REMAP_TABLE)
Chia-I Wu22884db2009-10-16 16:01:57 +0800474
Chia-I Wu07b85452010-10-26 00:16:49 +0800475#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 Paul5ed51e92010-11-21 09:19:23 -0700497#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šák3bdd12e2011-02-16 00:02:15 +0100639#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 Paul9a77e282011-04-05 18:50:39 -0600649#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-Prayer0dae9462011-05-31 13:34:34 +0200661#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 Wu22884db2009-10-16 16:01:57 +0800996
Chia-I Wu07b85452010-10-26 00:16:49 +0800997#else /* !_GLAPI_USE_REMAP_TABLE */
Chia-I Wu22884db2009-10-16 16:01:57 +0800998
Pierre-Eric Pelloux-Prayer0dae9462011-05-31 13:34:34 +0200999#define driDispatchRemapTable_size 521
Chia-I Wu22884db2009-10-16 16:01:57 +08001000extern 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 Paul5ed51e92010-11-21 09:19:23 -07001024#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šák3bdd12e2011-02-16 00:02:15 +01001166#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 Paul9a77e282011-04-05 18:50:39 -06001176#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-Prayer0dae9462011-05-31 13:34:34 +02001188#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 Wu22884db2009-10-16 16:01:57 +08001523
Chia-I Wu07b85452010-10-26 00:16:49 +08001524#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 Paul5ed51e92010-11-21 09:19:23 -07001546#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 Wu07b85452010-10-26 00:16:49 +08001557#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šák3bdd12e2011-02-16 00:02:15 +01001688#define _gloffset_ClampColorARB driDispatchRemapTable[ClampColorARB_remap_index]
Brian Paul5ed51e92010-11-21 09:19:23 -07001689#define _gloffset_DrawArraysInstancedARB driDispatchRemapTable[DrawArraysInstancedARB_remap_index]
1690#define _gloffset_DrawElementsInstancedARB driDispatchRemapTable[DrawElementsInstancedARB_remap_index]
Chia-I Wu07b85452010-10-26 00:16:49 +08001691#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 Paul1250e232011-01-15 10:32:34 -07001695#define _gloffset_VertexAttribDivisorARB driDispatchRemapTable[VertexAttribDivisorARB_remap_index]
Chia-I Wu07b85452010-10-26 00:16:49 +08001696#define _gloffset_FlushMappedBufferRange driDispatchRemapTable[FlushMappedBufferRange_remap_index]
1697#define _gloffset_MapBufferRange driDispatchRemapTable[MapBufferRange_remap_index]
Brian Paul9a77e282011-04-05 18:50:39 -06001698#define _gloffset_TexBufferARB driDispatchRemapTable[TexBufferARB_remap_index]
Chia-I Wu07b85452010-10-26 00:16:49 +08001699#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-Prayer0dae9462011-05-31 13:34:34 +02001710#define _gloffset_DrawElementsInstancedBaseVertex driDispatchRemapTable[DrawElementsInstancedBaseVertex_remap_index]
Chia-I Wu07b85452010-10-26 00:16:49 +08001711#define _gloffset_DrawRangeElementsBaseVertex driDispatchRemapTable[DrawRangeElementsBaseVertex_remap_index]
1712#define _gloffset_MultiDrawElementsBaseVertex driDispatchRemapTable[MultiDrawElementsBaseVertex_remap_index]
Brian Paul56130782011-01-11 20:55:42 -07001713#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 Paul1cbd3a12011-04-10 12:42:24 -06001717#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 Wu07b85452010-10-26 00:16:49 +08001731#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 Anholt841ad6b2011-01-14 14:03:52 -08001738#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 Paul6b329b92011-04-26 14:54:41 -06001743#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 Wu07b85452010-10-26 00:16:49 +08001763#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 Wu9de5c6a2010-10-29 12:45:04 +08001972#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 Wu07b85452010-10-26 00:16:49 +08002006#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 Wu9de5c6a2010-10-29 12:45:04 +08002034#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šák7fa53f32011-03-08 11:30:54 +01002037#define _gloffset_TextureBarrierNV driDispatchRemapTable[TextureBarrierNV_remap_index]
Chia-I Wu07b85452010-10-26 00:16:49 +08002038#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 Wu22884db2009-10-16 16:01:57 +08002045
Chia-I Wu07b85452010-10-26 00:16:49 +08002046#endif /* _GLAPI_USE_REMAP_TABLE */
2047
José Fonseca075d2bf2011-05-19 17:44:06 +01002048typedef void (GLAPIENTRYP _glptr_NewList)(GLuint, GLenum);
2049#define CALL_NewList(disp, parameters) \
2050 (* GET_NewList(disp)) parameters
2051static INLINE _glptr_NewList GET_NewList(struct _glapi_table *disp) {
2052 return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList));
2053}
2054
2055static INLINE void SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002056 SET_by_offset(disp, _gloffset_NewList, fn);
2057}
2058
José Fonseca075d2bf2011-05-19 17:44:06 +01002059typedef void (GLAPIENTRYP _glptr_EndList)(void);
2060#define CALL_EndList(disp, parameters) \
2061 (* GET_EndList(disp)) parameters
2062static INLINE _glptr_EndList GET_EndList(struct _glapi_table *disp) {
2063 return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList));
2064}
2065
2066static INLINE void SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002067 SET_by_offset(disp, _gloffset_EndList, fn);
2068}
2069
José Fonseca075d2bf2011-05-19 17:44:06 +01002070typedef void (GLAPIENTRYP _glptr_CallList)(GLuint);
2071#define CALL_CallList(disp, parameters) \
2072 (* GET_CallList(disp)) parameters
2073static INLINE _glptr_CallList GET_CallList(struct _glapi_table *disp) {
2074 return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList));
2075}
2076
2077static INLINE void SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002078 SET_by_offset(disp, _gloffset_CallList, fn);
2079}
2080
José Fonseca075d2bf2011-05-19 17:44:06 +01002081typedef void (GLAPIENTRYP _glptr_CallLists)(GLsizei, GLenum, const GLvoid *);
2082#define CALL_CallLists(disp, parameters) \
2083 (* GET_CallLists(disp)) parameters
2084static INLINE _glptr_CallLists GET_CallLists(struct _glapi_table *disp) {
2085 return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists));
2086}
2087
2088static INLINE void SET_CallLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002089 SET_by_offset(disp, _gloffset_CallLists, fn);
2090}
2091
José Fonseca075d2bf2011-05-19 17:44:06 +01002092typedef void (GLAPIENTRYP _glptr_DeleteLists)(GLuint, GLsizei);
2093#define CALL_DeleteLists(disp, parameters) \
2094 (* GET_DeleteLists(disp)) parameters
2095static INLINE _glptr_DeleteLists GET_DeleteLists(struct _glapi_table *disp) {
2096 return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists));
2097}
2098
2099static INLINE void SET_DeleteLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002100 SET_by_offset(disp, _gloffset_DeleteLists, fn);
2101}
2102
José Fonseca075d2bf2011-05-19 17:44:06 +01002103typedef GLuint (GLAPIENTRYP _glptr_GenLists)(GLsizei);
2104#define CALL_GenLists(disp, parameters) \
2105 (* GET_GenLists(disp)) parameters
2106static INLINE _glptr_GenLists GET_GenLists(struct _glapi_table *disp) {
2107 return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists));
2108}
2109
2110static INLINE void SET_GenLists(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002111 SET_by_offset(disp, _gloffset_GenLists, fn);
2112}
2113
José Fonseca075d2bf2011-05-19 17:44:06 +01002114typedef void (GLAPIENTRYP _glptr_ListBase)(GLuint);
2115#define CALL_ListBase(disp, parameters) \
2116 (* GET_ListBase(disp)) parameters
2117static INLINE _glptr_ListBase GET_ListBase(struct _glapi_table *disp) {
2118 return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase));
2119}
2120
2121static INLINE void SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002122 SET_by_offset(disp, _gloffset_ListBase, fn);
2123}
2124
José Fonseca075d2bf2011-05-19 17:44:06 +01002125typedef void (GLAPIENTRYP _glptr_Begin)(GLenum);
2126#define CALL_Begin(disp, parameters) \
2127 (* GET_Begin(disp)) parameters
2128static INLINE _glptr_Begin GET_Begin(struct _glapi_table *disp) {
2129 return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin));
2130}
2131
2132static INLINE void SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002133 SET_by_offset(disp, _gloffset_Begin, fn);
2134}
2135
José Fonseca075d2bf2011-05-19 17:44:06 +01002136typedef void (GLAPIENTRYP _glptr_Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
2137#define CALL_Bitmap(disp, parameters) \
2138 (* GET_Bitmap(disp)) parameters
2139static INLINE _glptr_Bitmap GET_Bitmap(struct _glapi_table *disp) {
2140 return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap));
2141}
2142
2143static INLINE void SET_Bitmap(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002144 SET_by_offset(disp, _gloffset_Bitmap, fn);
2145}
2146
José Fonseca075d2bf2011-05-19 17:44:06 +01002147typedef void (GLAPIENTRYP _glptr_Color3b)(GLbyte, GLbyte, GLbyte);
2148#define CALL_Color3b(disp, parameters) \
2149 (* GET_Color3b(disp)) parameters
2150static INLINE _glptr_Color3b GET_Color3b(struct _glapi_table *disp) {
2151 return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b));
2152}
2153
2154static INLINE void SET_Color3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002155 SET_by_offset(disp, _gloffset_Color3b, fn);
2156}
2157
José Fonseca075d2bf2011-05-19 17:44:06 +01002158typedef void (GLAPIENTRYP _glptr_Color3bv)(const GLbyte *);
2159#define CALL_Color3bv(disp, parameters) \
2160 (* GET_Color3bv(disp)) parameters
2161static INLINE _glptr_Color3bv GET_Color3bv(struct _glapi_table *disp) {
2162 return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv));
2163}
2164
2165static INLINE void SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002166 SET_by_offset(disp, _gloffset_Color3bv, fn);
2167}
2168
José Fonseca075d2bf2011-05-19 17:44:06 +01002169typedef void (GLAPIENTRYP _glptr_Color3d)(GLdouble, GLdouble, GLdouble);
2170#define CALL_Color3d(disp, parameters) \
2171 (* GET_Color3d(disp)) parameters
2172static INLINE _glptr_Color3d GET_Color3d(struct _glapi_table *disp) {
2173 return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d));
2174}
2175
2176static INLINE void SET_Color3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002177 SET_by_offset(disp, _gloffset_Color3d, fn);
2178}
2179
José Fonseca075d2bf2011-05-19 17:44:06 +01002180typedef void (GLAPIENTRYP _glptr_Color3dv)(const GLdouble *);
2181#define CALL_Color3dv(disp, parameters) \
2182 (* GET_Color3dv(disp)) parameters
2183static INLINE _glptr_Color3dv GET_Color3dv(struct _glapi_table *disp) {
2184 return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv));
2185}
2186
2187static INLINE void SET_Color3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002188 SET_by_offset(disp, _gloffset_Color3dv, fn);
2189}
2190
José Fonseca075d2bf2011-05-19 17:44:06 +01002191typedef void (GLAPIENTRYP _glptr_Color3f)(GLfloat, GLfloat, GLfloat);
2192#define CALL_Color3f(disp, parameters) \
2193 (* GET_Color3f(disp)) parameters
2194static INLINE _glptr_Color3f GET_Color3f(struct _glapi_table *disp) {
2195 return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f));
2196}
2197
2198static INLINE void SET_Color3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002199 SET_by_offset(disp, _gloffset_Color3f, fn);
2200}
2201
José Fonseca075d2bf2011-05-19 17:44:06 +01002202typedef void (GLAPIENTRYP _glptr_Color3fv)(const GLfloat *);
2203#define CALL_Color3fv(disp, parameters) \
2204 (* GET_Color3fv(disp)) parameters
2205static INLINE _glptr_Color3fv GET_Color3fv(struct _glapi_table *disp) {
2206 return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv));
2207}
2208
2209static INLINE void SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002210 SET_by_offset(disp, _gloffset_Color3fv, fn);
2211}
2212
José Fonseca075d2bf2011-05-19 17:44:06 +01002213typedef void (GLAPIENTRYP _glptr_Color3i)(GLint, GLint, GLint);
2214#define CALL_Color3i(disp, parameters) \
2215 (* GET_Color3i(disp)) parameters
2216static INLINE _glptr_Color3i GET_Color3i(struct _glapi_table *disp) {
2217 return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i));
2218}
2219
2220static INLINE void SET_Color3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002221 SET_by_offset(disp, _gloffset_Color3i, fn);
2222}
2223
José Fonseca075d2bf2011-05-19 17:44:06 +01002224typedef void (GLAPIENTRYP _glptr_Color3iv)(const GLint *);
2225#define CALL_Color3iv(disp, parameters) \
2226 (* GET_Color3iv(disp)) parameters
2227static INLINE _glptr_Color3iv GET_Color3iv(struct _glapi_table *disp) {
2228 return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv));
2229}
2230
2231static INLINE void SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002232 SET_by_offset(disp, _gloffset_Color3iv, fn);
2233}
2234
José Fonseca075d2bf2011-05-19 17:44:06 +01002235typedef void (GLAPIENTRYP _glptr_Color3s)(GLshort, GLshort, GLshort);
2236#define CALL_Color3s(disp, parameters) \
2237 (* GET_Color3s(disp)) parameters
2238static INLINE _glptr_Color3s GET_Color3s(struct _glapi_table *disp) {
2239 return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s));
2240}
2241
2242static INLINE void SET_Color3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002243 SET_by_offset(disp, _gloffset_Color3s, fn);
2244}
2245
José Fonseca075d2bf2011-05-19 17:44:06 +01002246typedef void (GLAPIENTRYP _glptr_Color3sv)(const GLshort *);
2247#define CALL_Color3sv(disp, parameters) \
2248 (* GET_Color3sv(disp)) parameters
2249static INLINE _glptr_Color3sv GET_Color3sv(struct _glapi_table *disp) {
2250 return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv));
2251}
2252
2253static INLINE void SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002254 SET_by_offset(disp, _gloffset_Color3sv, fn);
2255}
2256
José Fonseca075d2bf2011-05-19 17:44:06 +01002257typedef void (GLAPIENTRYP _glptr_Color3ub)(GLubyte, GLubyte, GLubyte);
2258#define CALL_Color3ub(disp, parameters) \
2259 (* GET_Color3ub(disp)) parameters
2260static INLINE _glptr_Color3ub GET_Color3ub(struct _glapi_table *disp) {
2261 return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub));
2262}
2263
2264static INLINE void SET_Color3ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002265 SET_by_offset(disp, _gloffset_Color3ub, fn);
2266}
2267
José Fonseca075d2bf2011-05-19 17:44:06 +01002268typedef void (GLAPIENTRYP _glptr_Color3ubv)(const GLubyte *);
2269#define CALL_Color3ubv(disp, parameters) \
2270 (* GET_Color3ubv(disp)) parameters
2271static INLINE _glptr_Color3ubv GET_Color3ubv(struct _glapi_table *disp) {
2272 return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv));
2273}
2274
2275static INLINE void SET_Color3ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002276 SET_by_offset(disp, _gloffset_Color3ubv, fn);
2277}
2278
José Fonseca075d2bf2011-05-19 17:44:06 +01002279typedef void (GLAPIENTRYP _glptr_Color3ui)(GLuint, GLuint, GLuint);
2280#define CALL_Color3ui(disp, parameters) \
2281 (* GET_Color3ui(disp)) parameters
2282static INLINE _glptr_Color3ui GET_Color3ui(struct _glapi_table *disp) {
2283 return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui));
2284}
2285
2286static INLINE void SET_Color3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002287 SET_by_offset(disp, _gloffset_Color3ui, fn);
2288}
2289
José Fonseca075d2bf2011-05-19 17:44:06 +01002290typedef void (GLAPIENTRYP _glptr_Color3uiv)(const GLuint *);
2291#define CALL_Color3uiv(disp, parameters) \
2292 (* GET_Color3uiv(disp)) parameters
2293static INLINE _glptr_Color3uiv GET_Color3uiv(struct _glapi_table *disp) {
2294 return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv));
2295}
2296
2297static INLINE void SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002298 SET_by_offset(disp, _gloffset_Color3uiv, fn);
2299}
2300
José Fonseca075d2bf2011-05-19 17:44:06 +01002301typedef void (GLAPIENTRYP _glptr_Color3us)(GLushort, GLushort, GLushort);
2302#define CALL_Color3us(disp, parameters) \
2303 (* GET_Color3us(disp)) parameters
2304static INLINE _glptr_Color3us GET_Color3us(struct _glapi_table *disp) {
2305 return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us));
2306}
2307
2308static INLINE void SET_Color3us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002309 SET_by_offset(disp, _gloffset_Color3us, fn);
2310}
2311
José Fonseca075d2bf2011-05-19 17:44:06 +01002312typedef void (GLAPIENTRYP _glptr_Color3usv)(const GLushort *);
2313#define CALL_Color3usv(disp, parameters) \
2314 (* GET_Color3usv(disp)) parameters
2315static INLINE _glptr_Color3usv GET_Color3usv(struct _glapi_table *disp) {
2316 return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv));
2317}
2318
2319static INLINE void SET_Color3usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002320 SET_by_offset(disp, _gloffset_Color3usv, fn);
2321}
2322
José Fonseca075d2bf2011-05-19 17:44:06 +01002323typedef void (GLAPIENTRYP _glptr_Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
2324#define CALL_Color4b(disp, parameters) \
2325 (* GET_Color4b(disp)) parameters
2326static INLINE _glptr_Color4b GET_Color4b(struct _glapi_table *disp) {
2327 return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b));
2328}
2329
2330static INLINE void SET_Color4b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte, GLbyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002331 SET_by_offset(disp, _gloffset_Color4b, fn);
2332}
2333
José Fonseca075d2bf2011-05-19 17:44:06 +01002334typedef void (GLAPIENTRYP _glptr_Color4bv)(const GLbyte *);
2335#define CALL_Color4bv(disp, parameters) \
2336 (* GET_Color4bv(disp)) parameters
2337static INLINE _glptr_Color4bv GET_Color4bv(struct _glapi_table *disp) {
2338 return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv));
2339}
2340
2341static INLINE void SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002342 SET_by_offset(disp, _gloffset_Color4bv, fn);
2343}
2344
José Fonseca075d2bf2011-05-19 17:44:06 +01002345typedef void (GLAPIENTRYP _glptr_Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
2346#define CALL_Color4d(disp, parameters) \
2347 (* GET_Color4d(disp)) parameters
2348static INLINE _glptr_Color4d GET_Color4d(struct _glapi_table *disp) {
2349 return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d));
2350}
2351
2352static INLINE void SET_Color4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002353 SET_by_offset(disp, _gloffset_Color4d, fn);
2354}
2355
José Fonseca075d2bf2011-05-19 17:44:06 +01002356typedef void (GLAPIENTRYP _glptr_Color4dv)(const GLdouble *);
2357#define CALL_Color4dv(disp, parameters) \
2358 (* GET_Color4dv(disp)) parameters
2359static INLINE _glptr_Color4dv GET_Color4dv(struct _glapi_table *disp) {
2360 return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv));
2361}
2362
2363static INLINE void SET_Color4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002364 SET_by_offset(disp, _gloffset_Color4dv, fn);
2365}
2366
José Fonseca075d2bf2011-05-19 17:44:06 +01002367typedef void (GLAPIENTRYP _glptr_Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
2368#define CALL_Color4f(disp, parameters) \
2369 (* GET_Color4f(disp)) parameters
2370static INLINE _glptr_Color4f GET_Color4f(struct _glapi_table *disp) {
2371 return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f));
2372}
2373
2374static INLINE void SET_Color4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002375 SET_by_offset(disp, _gloffset_Color4f, fn);
2376}
2377
José Fonseca075d2bf2011-05-19 17:44:06 +01002378typedef void (GLAPIENTRYP _glptr_Color4fv)(const GLfloat *);
2379#define CALL_Color4fv(disp, parameters) \
2380 (* GET_Color4fv(disp)) parameters
2381static INLINE _glptr_Color4fv GET_Color4fv(struct _glapi_table *disp) {
2382 return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv));
2383}
2384
2385static INLINE void SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002386 SET_by_offset(disp, _gloffset_Color4fv, fn);
2387}
2388
José Fonseca075d2bf2011-05-19 17:44:06 +01002389typedef void (GLAPIENTRYP _glptr_Color4i)(GLint, GLint, GLint, GLint);
2390#define CALL_Color4i(disp, parameters) \
2391 (* GET_Color4i(disp)) parameters
2392static INLINE _glptr_Color4i GET_Color4i(struct _glapi_table *disp) {
2393 return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i));
2394}
2395
2396static INLINE void SET_Color4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002397 SET_by_offset(disp, _gloffset_Color4i, fn);
2398}
2399
José Fonseca075d2bf2011-05-19 17:44:06 +01002400typedef void (GLAPIENTRYP _glptr_Color4iv)(const GLint *);
2401#define CALL_Color4iv(disp, parameters) \
2402 (* GET_Color4iv(disp)) parameters
2403static INLINE _glptr_Color4iv GET_Color4iv(struct _glapi_table *disp) {
2404 return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv));
2405}
2406
2407static INLINE void SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002408 SET_by_offset(disp, _gloffset_Color4iv, fn);
2409}
2410
José Fonseca075d2bf2011-05-19 17:44:06 +01002411typedef void (GLAPIENTRYP _glptr_Color4s)(GLshort, GLshort, GLshort, GLshort);
2412#define CALL_Color4s(disp, parameters) \
2413 (* GET_Color4s(disp)) parameters
2414static INLINE _glptr_Color4s GET_Color4s(struct _glapi_table *disp) {
2415 return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s));
2416}
2417
2418static INLINE void SET_Color4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002419 SET_by_offset(disp, _gloffset_Color4s, fn);
2420}
2421
José Fonseca075d2bf2011-05-19 17:44:06 +01002422typedef void (GLAPIENTRYP _glptr_Color4sv)(const GLshort *);
2423#define CALL_Color4sv(disp, parameters) \
2424 (* GET_Color4sv(disp)) parameters
2425static INLINE _glptr_Color4sv GET_Color4sv(struct _glapi_table *disp) {
2426 return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv));
2427}
2428
2429static INLINE void SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002430 SET_by_offset(disp, _gloffset_Color4sv, fn);
2431}
2432
José Fonseca075d2bf2011-05-19 17:44:06 +01002433typedef void (GLAPIENTRYP _glptr_Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
2434#define CALL_Color4ub(disp, parameters) \
2435 (* GET_Color4ub(disp)) parameters
2436static INLINE _glptr_Color4ub GET_Color4ub(struct _glapi_table *disp) {
2437 return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub));
2438}
2439
2440static INLINE void SET_Color4ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte, GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002441 SET_by_offset(disp, _gloffset_Color4ub, fn);
2442}
2443
José Fonseca075d2bf2011-05-19 17:44:06 +01002444typedef void (GLAPIENTRYP _glptr_Color4ubv)(const GLubyte *);
2445#define CALL_Color4ubv(disp, parameters) \
2446 (* GET_Color4ubv(disp)) parameters
2447static INLINE _glptr_Color4ubv GET_Color4ubv(struct _glapi_table *disp) {
2448 return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv));
2449}
2450
2451static INLINE void SET_Color4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002452 SET_by_offset(disp, _gloffset_Color4ubv, fn);
2453}
2454
José Fonseca075d2bf2011-05-19 17:44:06 +01002455typedef void (GLAPIENTRYP _glptr_Color4ui)(GLuint, GLuint, GLuint, GLuint);
2456#define CALL_Color4ui(disp, parameters) \
2457 (* GET_Color4ui(disp)) parameters
2458static INLINE _glptr_Color4ui GET_Color4ui(struct _glapi_table *disp) {
2459 return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui));
2460}
2461
2462static INLINE void SET_Color4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002463 SET_by_offset(disp, _gloffset_Color4ui, fn);
2464}
2465
José Fonseca075d2bf2011-05-19 17:44:06 +01002466typedef void (GLAPIENTRYP _glptr_Color4uiv)(const GLuint *);
2467#define CALL_Color4uiv(disp, parameters) \
2468 (* GET_Color4uiv(disp)) parameters
2469static INLINE _glptr_Color4uiv GET_Color4uiv(struct _glapi_table *disp) {
2470 return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv));
2471}
2472
2473static INLINE void SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002474 SET_by_offset(disp, _gloffset_Color4uiv, fn);
2475}
2476
José Fonseca075d2bf2011-05-19 17:44:06 +01002477typedef void (GLAPIENTRYP _glptr_Color4us)(GLushort, GLushort, GLushort, GLushort);
2478#define CALL_Color4us(disp, parameters) \
2479 (* GET_Color4us(disp)) parameters
2480static INLINE _glptr_Color4us GET_Color4us(struct _glapi_table *disp) {
2481 return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us));
2482}
2483
2484static INLINE void SET_Color4us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort, GLushort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002485 SET_by_offset(disp, _gloffset_Color4us, fn);
2486}
2487
José Fonseca075d2bf2011-05-19 17:44:06 +01002488typedef void (GLAPIENTRYP _glptr_Color4usv)(const GLushort *);
2489#define CALL_Color4usv(disp, parameters) \
2490 (* GET_Color4usv(disp)) parameters
2491static INLINE _glptr_Color4usv GET_Color4usv(struct _glapi_table *disp) {
2492 return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv));
2493}
2494
2495static INLINE void SET_Color4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002496 SET_by_offset(disp, _gloffset_Color4usv, fn);
2497}
2498
José Fonseca075d2bf2011-05-19 17:44:06 +01002499typedef void (GLAPIENTRYP _glptr_EdgeFlag)(GLboolean);
2500#define CALL_EdgeFlag(disp, parameters) \
2501 (* GET_EdgeFlag(disp)) parameters
2502static INLINE _glptr_EdgeFlag GET_EdgeFlag(struct _glapi_table *disp) {
2503 return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag));
2504}
2505
2506static INLINE void SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002507 SET_by_offset(disp, _gloffset_EdgeFlag, fn);
2508}
2509
José Fonseca075d2bf2011-05-19 17:44:06 +01002510typedef void (GLAPIENTRYP _glptr_EdgeFlagv)(const GLboolean *);
2511#define CALL_EdgeFlagv(disp, parameters) \
2512 (* GET_EdgeFlagv(disp)) parameters
2513static INLINE _glptr_EdgeFlagv GET_EdgeFlagv(struct _glapi_table *disp) {
2514 return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv));
2515}
2516
2517static INLINE void SET_EdgeFlagv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002518 SET_by_offset(disp, _gloffset_EdgeFlagv, fn);
2519}
2520
José Fonseca075d2bf2011-05-19 17:44:06 +01002521typedef void (GLAPIENTRYP _glptr_End)(void);
2522#define CALL_End(disp, parameters) \
2523 (* GET_End(disp)) parameters
2524static INLINE _glptr_End GET_End(struct _glapi_table *disp) {
2525 return (_glptr_End) (GET_by_offset(disp, _gloffset_End));
2526}
2527
2528static INLINE void SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002529 SET_by_offset(disp, _gloffset_End, fn);
2530}
2531
José Fonseca075d2bf2011-05-19 17:44:06 +01002532typedef void (GLAPIENTRYP _glptr_Indexd)(GLdouble);
2533#define CALL_Indexd(disp, parameters) \
2534 (* GET_Indexd(disp)) parameters
2535static INLINE _glptr_Indexd GET_Indexd(struct _glapi_table *disp) {
2536 return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd));
2537}
2538
2539static INLINE void SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002540 SET_by_offset(disp, _gloffset_Indexd, fn);
2541}
2542
José Fonseca075d2bf2011-05-19 17:44:06 +01002543typedef void (GLAPIENTRYP _glptr_Indexdv)(const GLdouble *);
2544#define CALL_Indexdv(disp, parameters) \
2545 (* GET_Indexdv(disp)) parameters
2546static INLINE _glptr_Indexdv GET_Indexdv(struct _glapi_table *disp) {
2547 return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv));
2548}
2549
2550static INLINE void SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002551 SET_by_offset(disp, _gloffset_Indexdv, fn);
2552}
2553
José Fonseca075d2bf2011-05-19 17:44:06 +01002554typedef void (GLAPIENTRYP _glptr_Indexf)(GLfloat);
2555#define CALL_Indexf(disp, parameters) \
2556 (* GET_Indexf(disp)) parameters
2557static INLINE _glptr_Indexf GET_Indexf(struct _glapi_table *disp) {
2558 return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf));
2559}
2560
2561static INLINE void SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002562 SET_by_offset(disp, _gloffset_Indexf, fn);
2563}
2564
José Fonseca075d2bf2011-05-19 17:44:06 +01002565typedef void (GLAPIENTRYP _glptr_Indexfv)(const GLfloat *);
2566#define CALL_Indexfv(disp, parameters) \
2567 (* GET_Indexfv(disp)) parameters
2568static INLINE _glptr_Indexfv GET_Indexfv(struct _glapi_table *disp) {
2569 return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv));
2570}
2571
2572static INLINE void SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002573 SET_by_offset(disp, _gloffset_Indexfv, fn);
2574}
2575
José Fonseca075d2bf2011-05-19 17:44:06 +01002576typedef void (GLAPIENTRYP _glptr_Indexi)(GLint);
2577#define CALL_Indexi(disp, parameters) \
2578 (* GET_Indexi(disp)) parameters
2579static INLINE _glptr_Indexi GET_Indexi(struct _glapi_table *disp) {
2580 return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi));
2581}
2582
2583static INLINE void SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002584 SET_by_offset(disp, _gloffset_Indexi, fn);
2585}
2586
José Fonseca075d2bf2011-05-19 17:44:06 +01002587typedef void (GLAPIENTRYP _glptr_Indexiv)(const GLint *);
2588#define CALL_Indexiv(disp, parameters) \
2589 (* GET_Indexiv(disp)) parameters
2590static INLINE _glptr_Indexiv GET_Indexiv(struct _glapi_table *disp) {
2591 return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv));
2592}
2593
2594static INLINE void SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002595 SET_by_offset(disp, _gloffset_Indexiv, fn);
2596}
2597
José Fonseca075d2bf2011-05-19 17:44:06 +01002598typedef void (GLAPIENTRYP _glptr_Indexs)(GLshort);
2599#define CALL_Indexs(disp, parameters) \
2600 (* GET_Indexs(disp)) parameters
2601static INLINE _glptr_Indexs GET_Indexs(struct _glapi_table *disp) {
2602 return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs));
2603}
2604
2605static INLINE void SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002606 SET_by_offset(disp, _gloffset_Indexs, fn);
2607}
2608
José Fonseca075d2bf2011-05-19 17:44:06 +01002609typedef void (GLAPIENTRYP _glptr_Indexsv)(const GLshort *);
2610#define CALL_Indexsv(disp, parameters) \
2611 (* GET_Indexsv(disp)) parameters
2612static INLINE _glptr_Indexsv GET_Indexsv(struct _glapi_table *disp) {
2613 return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv));
2614}
2615
2616static INLINE void SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002617 SET_by_offset(disp, _gloffset_Indexsv, fn);
2618}
2619
José Fonseca075d2bf2011-05-19 17:44:06 +01002620typedef void (GLAPIENTRYP _glptr_Normal3b)(GLbyte, GLbyte, GLbyte);
2621#define CALL_Normal3b(disp, parameters) \
2622 (* GET_Normal3b(disp)) parameters
2623static INLINE _glptr_Normal3b GET_Normal3b(struct _glapi_table *disp) {
2624 return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b));
2625}
2626
2627static INLINE void SET_Normal3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002628 SET_by_offset(disp, _gloffset_Normal3b, fn);
2629}
2630
José Fonseca075d2bf2011-05-19 17:44:06 +01002631typedef void (GLAPIENTRYP _glptr_Normal3bv)(const GLbyte *);
2632#define CALL_Normal3bv(disp, parameters) \
2633 (* GET_Normal3bv(disp)) parameters
2634static INLINE _glptr_Normal3bv GET_Normal3bv(struct _glapi_table *disp) {
2635 return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv));
2636}
2637
2638static INLINE void SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002639 SET_by_offset(disp, _gloffset_Normal3bv, fn);
2640}
2641
José Fonseca075d2bf2011-05-19 17:44:06 +01002642typedef void (GLAPIENTRYP _glptr_Normal3d)(GLdouble, GLdouble, GLdouble);
2643#define CALL_Normal3d(disp, parameters) \
2644 (* GET_Normal3d(disp)) parameters
2645static INLINE _glptr_Normal3d GET_Normal3d(struct _glapi_table *disp) {
2646 return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d));
2647}
2648
2649static INLINE void SET_Normal3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002650 SET_by_offset(disp, _gloffset_Normal3d, fn);
2651}
2652
José Fonseca075d2bf2011-05-19 17:44:06 +01002653typedef void (GLAPIENTRYP _glptr_Normal3dv)(const GLdouble *);
2654#define CALL_Normal3dv(disp, parameters) \
2655 (* GET_Normal3dv(disp)) parameters
2656static INLINE _glptr_Normal3dv GET_Normal3dv(struct _glapi_table *disp) {
2657 return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv));
2658}
2659
2660static INLINE void SET_Normal3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002661 SET_by_offset(disp, _gloffset_Normal3dv, fn);
2662}
2663
José Fonseca075d2bf2011-05-19 17:44:06 +01002664typedef void (GLAPIENTRYP _glptr_Normal3f)(GLfloat, GLfloat, GLfloat);
2665#define CALL_Normal3f(disp, parameters) \
2666 (* GET_Normal3f(disp)) parameters
2667static INLINE _glptr_Normal3f GET_Normal3f(struct _glapi_table *disp) {
2668 return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f));
2669}
2670
2671static INLINE void SET_Normal3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002672 SET_by_offset(disp, _gloffset_Normal3f, fn);
2673}
2674
José Fonseca075d2bf2011-05-19 17:44:06 +01002675typedef void (GLAPIENTRYP _glptr_Normal3fv)(const GLfloat *);
2676#define CALL_Normal3fv(disp, parameters) \
2677 (* GET_Normal3fv(disp)) parameters
2678static INLINE _glptr_Normal3fv GET_Normal3fv(struct _glapi_table *disp) {
2679 return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv));
2680}
2681
2682static INLINE void SET_Normal3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002683 SET_by_offset(disp, _gloffset_Normal3fv, fn);
2684}
2685
José Fonseca075d2bf2011-05-19 17:44:06 +01002686typedef void (GLAPIENTRYP _glptr_Normal3i)(GLint, GLint, GLint);
2687#define CALL_Normal3i(disp, parameters) \
2688 (* GET_Normal3i(disp)) parameters
2689static INLINE _glptr_Normal3i GET_Normal3i(struct _glapi_table *disp) {
2690 return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i));
2691}
2692
2693static INLINE void SET_Normal3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002694 SET_by_offset(disp, _gloffset_Normal3i, fn);
2695}
2696
José Fonseca075d2bf2011-05-19 17:44:06 +01002697typedef void (GLAPIENTRYP _glptr_Normal3iv)(const GLint *);
2698#define CALL_Normal3iv(disp, parameters) \
2699 (* GET_Normal3iv(disp)) parameters
2700static INLINE _glptr_Normal3iv GET_Normal3iv(struct _glapi_table *disp) {
2701 return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv));
2702}
2703
2704static INLINE void SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002705 SET_by_offset(disp, _gloffset_Normal3iv, fn);
2706}
2707
José Fonseca075d2bf2011-05-19 17:44:06 +01002708typedef void (GLAPIENTRYP _glptr_Normal3s)(GLshort, GLshort, GLshort);
2709#define CALL_Normal3s(disp, parameters) \
2710 (* GET_Normal3s(disp)) parameters
2711static INLINE _glptr_Normal3s GET_Normal3s(struct _glapi_table *disp) {
2712 return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s));
2713}
2714
2715static INLINE void SET_Normal3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002716 SET_by_offset(disp, _gloffset_Normal3s, fn);
2717}
2718
José Fonseca075d2bf2011-05-19 17:44:06 +01002719typedef void (GLAPIENTRYP _glptr_Normal3sv)(const GLshort *);
2720#define CALL_Normal3sv(disp, parameters) \
2721 (* GET_Normal3sv(disp)) parameters
2722static INLINE _glptr_Normal3sv GET_Normal3sv(struct _glapi_table *disp) {
2723 return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv));
2724}
2725
2726static INLINE void SET_Normal3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002727 SET_by_offset(disp, _gloffset_Normal3sv, fn);
2728}
2729
José Fonseca075d2bf2011-05-19 17:44:06 +01002730typedef void (GLAPIENTRYP _glptr_RasterPos2d)(GLdouble, GLdouble);
2731#define CALL_RasterPos2d(disp, parameters) \
2732 (* GET_RasterPos2d(disp)) parameters
2733static INLINE _glptr_RasterPos2d GET_RasterPos2d(struct _glapi_table *disp) {
2734 return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d));
2735}
2736
2737static INLINE void SET_RasterPos2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002738 SET_by_offset(disp, _gloffset_RasterPos2d, fn);
2739}
2740
José Fonseca075d2bf2011-05-19 17:44:06 +01002741typedef void (GLAPIENTRYP _glptr_RasterPos2dv)(const GLdouble *);
2742#define CALL_RasterPos2dv(disp, parameters) \
2743 (* GET_RasterPos2dv(disp)) parameters
2744static INLINE _glptr_RasterPos2dv GET_RasterPos2dv(struct _glapi_table *disp) {
2745 return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv));
2746}
2747
2748static INLINE void SET_RasterPos2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002749 SET_by_offset(disp, _gloffset_RasterPos2dv, fn);
2750}
2751
José Fonseca075d2bf2011-05-19 17:44:06 +01002752typedef void (GLAPIENTRYP _glptr_RasterPos2f)(GLfloat, GLfloat);
2753#define CALL_RasterPos2f(disp, parameters) \
2754 (* GET_RasterPos2f(disp)) parameters
2755static INLINE _glptr_RasterPos2f GET_RasterPos2f(struct _glapi_table *disp) {
2756 return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f));
2757}
2758
2759static INLINE void SET_RasterPos2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002760 SET_by_offset(disp, _gloffset_RasterPos2f, fn);
2761}
2762
José Fonseca075d2bf2011-05-19 17:44:06 +01002763typedef void (GLAPIENTRYP _glptr_RasterPos2fv)(const GLfloat *);
2764#define CALL_RasterPos2fv(disp, parameters) \
2765 (* GET_RasterPos2fv(disp)) parameters
2766static INLINE _glptr_RasterPos2fv GET_RasterPos2fv(struct _glapi_table *disp) {
2767 return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv));
2768}
2769
2770static INLINE void SET_RasterPos2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002771 SET_by_offset(disp, _gloffset_RasterPos2fv, fn);
2772}
2773
José Fonseca075d2bf2011-05-19 17:44:06 +01002774typedef void (GLAPIENTRYP _glptr_RasterPos2i)(GLint, GLint);
2775#define CALL_RasterPos2i(disp, parameters) \
2776 (* GET_RasterPos2i(disp)) parameters
2777static INLINE _glptr_RasterPos2i GET_RasterPos2i(struct _glapi_table *disp) {
2778 return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i));
2779}
2780
2781static INLINE void SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002782 SET_by_offset(disp, _gloffset_RasterPos2i, fn);
2783}
2784
José Fonseca075d2bf2011-05-19 17:44:06 +01002785typedef void (GLAPIENTRYP _glptr_RasterPos2iv)(const GLint *);
2786#define CALL_RasterPos2iv(disp, parameters) \
2787 (* GET_RasterPos2iv(disp)) parameters
2788static INLINE _glptr_RasterPos2iv GET_RasterPos2iv(struct _glapi_table *disp) {
2789 return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv));
2790}
2791
2792static INLINE void SET_RasterPos2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002793 SET_by_offset(disp, _gloffset_RasterPos2iv, fn);
2794}
2795
José Fonseca075d2bf2011-05-19 17:44:06 +01002796typedef void (GLAPIENTRYP _glptr_RasterPos2s)(GLshort, GLshort);
2797#define CALL_RasterPos2s(disp, parameters) \
2798 (* GET_RasterPos2s(disp)) parameters
2799static INLINE _glptr_RasterPos2s GET_RasterPos2s(struct _glapi_table *disp) {
2800 return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s));
2801}
2802
2803static INLINE void SET_RasterPos2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002804 SET_by_offset(disp, _gloffset_RasterPos2s, fn);
2805}
2806
José Fonseca075d2bf2011-05-19 17:44:06 +01002807typedef void (GLAPIENTRYP _glptr_RasterPos2sv)(const GLshort *);
2808#define CALL_RasterPos2sv(disp, parameters) \
2809 (* GET_RasterPos2sv(disp)) parameters
2810static INLINE _glptr_RasterPos2sv GET_RasterPos2sv(struct _glapi_table *disp) {
2811 return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv));
2812}
2813
2814static INLINE void SET_RasterPos2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002815 SET_by_offset(disp, _gloffset_RasterPos2sv, fn);
2816}
2817
José Fonseca075d2bf2011-05-19 17:44:06 +01002818typedef void (GLAPIENTRYP _glptr_RasterPos3d)(GLdouble, GLdouble, GLdouble);
2819#define CALL_RasterPos3d(disp, parameters) \
2820 (* GET_RasterPos3d(disp)) parameters
2821static INLINE _glptr_RasterPos3d GET_RasterPos3d(struct _glapi_table *disp) {
2822 return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d));
2823}
2824
2825static INLINE void SET_RasterPos3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002826 SET_by_offset(disp, _gloffset_RasterPos3d, fn);
2827}
2828
José Fonseca075d2bf2011-05-19 17:44:06 +01002829typedef void (GLAPIENTRYP _glptr_RasterPos3dv)(const GLdouble *);
2830#define CALL_RasterPos3dv(disp, parameters) \
2831 (* GET_RasterPos3dv(disp)) parameters
2832static INLINE _glptr_RasterPos3dv GET_RasterPos3dv(struct _glapi_table *disp) {
2833 return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv));
2834}
2835
2836static INLINE void SET_RasterPos3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002837 SET_by_offset(disp, _gloffset_RasterPos3dv, fn);
2838}
2839
José Fonseca075d2bf2011-05-19 17:44:06 +01002840typedef void (GLAPIENTRYP _glptr_RasterPos3f)(GLfloat, GLfloat, GLfloat);
2841#define CALL_RasterPos3f(disp, parameters) \
2842 (* GET_RasterPos3f(disp)) parameters
2843static INLINE _glptr_RasterPos3f GET_RasterPos3f(struct _glapi_table *disp) {
2844 return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f));
2845}
2846
2847static INLINE void SET_RasterPos3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002848 SET_by_offset(disp, _gloffset_RasterPos3f, fn);
2849}
2850
José Fonseca075d2bf2011-05-19 17:44:06 +01002851typedef void (GLAPIENTRYP _glptr_RasterPos3fv)(const GLfloat *);
2852#define CALL_RasterPos3fv(disp, parameters) \
2853 (* GET_RasterPos3fv(disp)) parameters
2854static INLINE _glptr_RasterPos3fv GET_RasterPos3fv(struct _glapi_table *disp) {
2855 return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv));
2856}
2857
2858static INLINE void SET_RasterPos3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002859 SET_by_offset(disp, _gloffset_RasterPos3fv, fn);
2860}
2861
José Fonseca075d2bf2011-05-19 17:44:06 +01002862typedef void (GLAPIENTRYP _glptr_RasterPos3i)(GLint, GLint, GLint);
2863#define CALL_RasterPos3i(disp, parameters) \
2864 (* GET_RasterPos3i(disp)) parameters
2865static INLINE _glptr_RasterPos3i GET_RasterPos3i(struct _glapi_table *disp) {
2866 return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i));
2867}
2868
2869static INLINE void SET_RasterPos3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002870 SET_by_offset(disp, _gloffset_RasterPos3i, fn);
2871}
2872
José Fonseca075d2bf2011-05-19 17:44:06 +01002873typedef void (GLAPIENTRYP _glptr_RasterPos3iv)(const GLint *);
2874#define CALL_RasterPos3iv(disp, parameters) \
2875 (* GET_RasterPos3iv(disp)) parameters
2876static INLINE _glptr_RasterPos3iv GET_RasterPos3iv(struct _glapi_table *disp) {
2877 return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv));
2878}
2879
2880static INLINE void SET_RasterPos3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002881 SET_by_offset(disp, _gloffset_RasterPos3iv, fn);
2882}
2883
José Fonseca075d2bf2011-05-19 17:44:06 +01002884typedef void (GLAPIENTRYP _glptr_RasterPos3s)(GLshort, GLshort, GLshort);
2885#define CALL_RasterPos3s(disp, parameters) \
2886 (* GET_RasterPos3s(disp)) parameters
2887static INLINE _glptr_RasterPos3s GET_RasterPos3s(struct _glapi_table *disp) {
2888 return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s));
2889}
2890
2891static INLINE void SET_RasterPos3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002892 SET_by_offset(disp, _gloffset_RasterPos3s, fn);
2893}
2894
José Fonseca075d2bf2011-05-19 17:44:06 +01002895typedef void (GLAPIENTRYP _glptr_RasterPos3sv)(const GLshort *);
2896#define CALL_RasterPos3sv(disp, parameters) \
2897 (* GET_RasterPos3sv(disp)) parameters
2898static INLINE _glptr_RasterPos3sv GET_RasterPos3sv(struct _glapi_table *disp) {
2899 return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv));
2900}
2901
2902static INLINE void SET_RasterPos3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002903 SET_by_offset(disp, _gloffset_RasterPos3sv, fn);
2904}
2905
José Fonseca075d2bf2011-05-19 17:44:06 +01002906typedef void (GLAPIENTRYP _glptr_RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
2907#define CALL_RasterPos4d(disp, parameters) \
2908 (* GET_RasterPos4d(disp)) parameters
2909static INLINE _glptr_RasterPos4d GET_RasterPos4d(struct _glapi_table *disp) {
2910 return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d));
2911}
2912
2913static INLINE void SET_RasterPos4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002914 SET_by_offset(disp, _gloffset_RasterPos4d, fn);
2915}
2916
José Fonseca075d2bf2011-05-19 17:44:06 +01002917typedef void (GLAPIENTRYP _glptr_RasterPos4dv)(const GLdouble *);
2918#define CALL_RasterPos4dv(disp, parameters) \
2919 (* GET_RasterPos4dv(disp)) parameters
2920static INLINE _glptr_RasterPos4dv GET_RasterPos4dv(struct _glapi_table *disp) {
2921 return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv));
2922}
2923
2924static INLINE void SET_RasterPos4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002925 SET_by_offset(disp, _gloffset_RasterPos4dv, fn);
2926}
2927
José Fonseca075d2bf2011-05-19 17:44:06 +01002928typedef void (GLAPIENTRYP _glptr_RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
2929#define CALL_RasterPos4f(disp, parameters) \
2930 (* GET_RasterPos4f(disp)) parameters
2931static INLINE _glptr_RasterPos4f GET_RasterPos4f(struct _glapi_table *disp) {
2932 return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f));
2933}
2934
2935static INLINE void SET_RasterPos4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002936 SET_by_offset(disp, _gloffset_RasterPos4f, fn);
2937}
2938
José Fonseca075d2bf2011-05-19 17:44:06 +01002939typedef void (GLAPIENTRYP _glptr_RasterPos4fv)(const GLfloat *);
2940#define CALL_RasterPos4fv(disp, parameters) \
2941 (* GET_RasterPos4fv(disp)) parameters
2942static INLINE _glptr_RasterPos4fv GET_RasterPos4fv(struct _glapi_table *disp) {
2943 return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv));
2944}
2945
2946static INLINE void SET_RasterPos4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002947 SET_by_offset(disp, _gloffset_RasterPos4fv, fn);
2948}
2949
José Fonseca075d2bf2011-05-19 17:44:06 +01002950typedef void (GLAPIENTRYP _glptr_RasterPos4i)(GLint, GLint, GLint, GLint);
2951#define CALL_RasterPos4i(disp, parameters) \
2952 (* GET_RasterPos4i(disp)) parameters
2953static INLINE _glptr_RasterPos4i GET_RasterPos4i(struct _glapi_table *disp) {
2954 return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i));
2955}
2956
2957static INLINE void SET_RasterPos4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002958 SET_by_offset(disp, _gloffset_RasterPos4i, fn);
2959}
2960
José Fonseca075d2bf2011-05-19 17:44:06 +01002961typedef void (GLAPIENTRYP _glptr_RasterPos4iv)(const GLint *);
2962#define CALL_RasterPos4iv(disp, parameters) \
2963 (* GET_RasterPos4iv(disp)) parameters
2964static INLINE _glptr_RasterPos4iv GET_RasterPos4iv(struct _glapi_table *disp) {
2965 return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv));
2966}
2967
2968static INLINE void SET_RasterPos4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002969 SET_by_offset(disp, _gloffset_RasterPos4iv, fn);
2970}
2971
José Fonseca075d2bf2011-05-19 17:44:06 +01002972typedef void (GLAPIENTRYP _glptr_RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
2973#define CALL_RasterPos4s(disp, parameters) \
2974 (* GET_RasterPos4s(disp)) parameters
2975static INLINE _glptr_RasterPos4s GET_RasterPos4s(struct _glapi_table *disp) {
2976 return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s));
2977}
2978
2979static INLINE void SET_RasterPos4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002980 SET_by_offset(disp, _gloffset_RasterPos4s, fn);
2981}
2982
José Fonseca075d2bf2011-05-19 17:44:06 +01002983typedef void (GLAPIENTRYP _glptr_RasterPos4sv)(const GLshort *);
2984#define CALL_RasterPos4sv(disp, parameters) \
2985 (* GET_RasterPos4sv(disp)) parameters
2986static INLINE _glptr_RasterPos4sv GET_RasterPos4sv(struct _glapi_table *disp) {
2987 return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv));
2988}
2989
2990static INLINE void SET_RasterPos4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01002991 SET_by_offset(disp, _gloffset_RasterPos4sv, fn);
2992}
2993
José Fonseca075d2bf2011-05-19 17:44:06 +01002994typedef void (GLAPIENTRYP _glptr_Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
2995#define CALL_Rectd(disp, parameters) \
2996 (* GET_Rectd(disp)) parameters
2997static INLINE _glptr_Rectd GET_Rectd(struct _glapi_table *disp) {
2998 return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd));
2999}
3000
3001static INLINE void SET_Rectd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003002 SET_by_offset(disp, _gloffset_Rectd, fn);
3003}
3004
José Fonseca075d2bf2011-05-19 17:44:06 +01003005typedef void (GLAPIENTRYP _glptr_Rectdv)(const GLdouble *, const GLdouble *);
3006#define CALL_Rectdv(disp, parameters) \
3007 (* GET_Rectdv(disp)) parameters
3008static INLINE _glptr_Rectdv GET_Rectdv(struct _glapi_table *disp) {
3009 return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv));
3010}
3011
3012static INLINE void SET_Rectdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003013 SET_by_offset(disp, _gloffset_Rectdv, fn);
3014}
3015
José Fonseca075d2bf2011-05-19 17:44:06 +01003016typedef void (GLAPIENTRYP _glptr_Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
3017#define CALL_Rectf(disp, parameters) \
3018 (* GET_Rectf(disp)) parameters
3019static INLINE _glptr_Rectf GET_Rectf(struct _glapi_table *disp) {
3020 return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf));
3021}
3022
3023static INLINE void SET_Rectf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003024 SET_by_offset(disp, _gloffset_Rectf, fn);
3025}
3026
José Fonseca075d2bf2011-05-19 17:44:06 +01003027typedef void (GLAPIENTRYP _glptr_Rectfv)(const GLfloat *, const GLfloat *);
3028#define CALL_Rectfv(disp, parameters) \
3029 (* GET_Rectfv(disp)) parameters
3030static INLINE _glptr_Rectfv GET_Rectfv(struct _glapi_table *disp) {
3031 return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv));
3032}
3033
3034static INLINE void SET_Rectfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003035 SET_by_offset(disp, _gloffset_Rectfv, fn);
3036}
3037
José Fonseca075d2bf2011-05-19 17:44:06 +01003038typedef void (GLAPIENTRYP _glptr_Recti)(GLint, GLint, GLint, GLint);
3039#define CALL_Recti(disp, parameters) \
3040 (* GET_Recti(disp)) parameters
3041static INLINE _glptr_Recti GET_Recti(struct _glapi_table *disp) {
3042 return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti));
3043}
3044
3045static INLINE void SET_Recti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003046 SET_by_offset(disp, _gloffset_Recti, fn);
3047}
3048
José Fonseca075d2bf2011-05-19 17:44:06 +01003049typedef void (GLAPIENTRYP _glptr_Rectiv)(const GLint *, const GLint *);
3050#define CALL_Rectiv(disp, parameters) \
3051 (* GET_Rectiv(disp)) parameters
3052static INLINE _glptr_Rectiv GET_Rectiv(struct _glapi_table *disp) {
3053 return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv));
3054}
3055
3056static INLINE void SET_Rectiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003057 SET_by_offset(disp, _gloffset_Rectiv, fn);
3058}
3059
José Fonseca075d2bf2011-05-19 17:44:06 +01003060typedef void (GLAPIENTRYP _glptr_Rects)(GLshort, GLshort, GLshort, GLshort);
3061#define CALL_Rects(disp, parameters) \
3062 (* GET_Rects(disp)) parameters
3063static INLINE _glptr_Rects GET_Rects(struct _glapi_table *disp) {
3064 return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects));
3065}
3066
3067static INLINE void SET_Rects(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003068 SET_by_offset(disp, _gloffset_Rects, fn);
3069}
3070
José Fonseca075d2bf2011-05-19 17:44:06 +01003071typedef void (GLAPIENTRYP _glptr_Rectsv)(const GLshort *, const GLshort *);
3072#define CALL_Rectsv(disp, parameters) \
3073 (* GET_Rectsv(disp)) parameters
3074static INLINE _glptr_Rectsv GET_Rectsv(struct _glapi_table *disp) {
3075 return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv));
3076}
3077
3078static INLINE void SET_Rectsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003079 SET_by_offset(disp, _gloffset_Rectsv, fn);
3080}
3081
José Fonseca075d2bf2011-05-19 17:44:06 +01003082typedef void (GLAPIENTRYP _glptr_TexCoord1d)(GLdouble);
3083#define CALL_TexCoord1d(disp, parameters) \
3084 (* GET_TexCoord1d(disp)) parameters
3085static INLINE _glptr_TexCoord1d GET_TexCoord1d(struct _glapi_table *disp) {
3086 return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d));
3087}
3088
3089static INLINE void SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003090 SET_by_offset(disp, _gloffset_TexCoord1d, fn);
3091}
3092
José Fonseca075d2bf2011-05-19 17:44:06 +01003093typedef void (GLAPIENTRYP _glptr_TexCoord1dv)(const GLdouble *);
3094#define CALL_TexCoord1dv(disp, parameters) \
3095 (* GET_TexCoord1dv(disp)) parameters
3096static INLINE _glptr_TexCoord1dv GET_TexCoord1dv(struct _glapi_table *disp) {
3097 return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv));
3098}
3099
3100static INLINE void SET_TexCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003101 SET_by_offset(disp, _gloffset_TexCoord1dv, fn);
3102}
3103
José Fonseca075d2bf2011-05-19 17:44:06 +01003104typedef void (GLAPIENTRYP _glptr_TexCoord1f)(GLfloat);
3105#define CALL_TexCoord1f(disp, parameters) \
3106 (* GET_TexCoord1f(disp)) parameters
3107static INLINE _glptr_TexCoord1f GET_TexCoord1f(struct _glapi_table *disp) {
3108 return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f));
3109}
3110
3111static INLINE void SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003112 SET_by_offset(disp, _gloffset_TexCoord1f, fn);
3113}
3114
José Fonseca075d2bf2011-05-19 17:44:06 +01003115typedef void (GLAPIENTRYP _glptr_TexCoord1fv)(const GLfloat *);
3116#define CALL_TexCoord1fv(disp, parameters) \
3117 (* GET_TexCoord1fv(disp)) parameters
3118static INLINE _glptr_TexCoord1fv GET_TexCoord1fv(struct _glapi_table *disp) {
3119 return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv));
3120}
3121
3122static INLINE void SET_TexCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003123 SET_by_offset(disp, _gloffset_TexCoord1fv, fn);
3124}
3125
José Fonseca075d2bf2011-05-19 17:44:06 +01003126typedef void (GLAPIENTRYP _glptr_TexCoord1i)(GLint);
3127#define CALL_TexCoord1i(disp, parameters) \
3128 (* GET_TexCoord1i(disp)) parameters
3129static INLINE _glptr_TexCoord1i GET_TexCoord1i(struct _glapi_table *disp) {
3130 return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i));
3131}
3132
3133static INLINE void SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003134 SET_by_offset(disp, _gloffset_TexCoord1i, fn);
3135}
3136
José Fonseca075d2bf2011-05-19 17:44:06 +01003137typedef void (GLAPIENTRYP _glptr_TexCoord1iv)(const GLint *);
3138#define CALL_TexCoord1iv(disp, parameters) \
3139 (* GET_TexCoord1iv(disp)) parameters
3140static INLINE _glptr_TexCoord1iv GET_TexCoord1iv(struct _glapi_table *disp) {
3141 return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv));
3142}
3143
3144static INLINE void SET_TexCoord1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003145 SET_by_offset(disp, _gloffset_TexCoord1iv, fn);
3146}
3147
José Fonseca075d2bf2011-05-19 17:44:06 +01003148typedef void (GLAPIENTRYP _glptr_TexCoord1s)(GLshort);
3149#define CALL_TexCoord1s(disp, parameters) \
3150 (* GET_TexCoord1s(disp)) parameters
3151static INLINE _glptr_TexCoord1s GET_TexCoord1s(struct _glapi_table *disp) {
3152 return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s));
3153}
3154
3155static INLINE void SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003156 SET_by_offset(disp, _gloffset_TexCoord1s, fn);
3157}
3158
José Fonseca075d2bf2011-05-19 17:44:06 +01003159typedef void (GLAPIENTRYP _glptr_TexCoord1sv)(const GLshort *);
3160#define CALL_TexCoord1sv(disp, parameters) \
3161 (* GET_TexCoord1sv(disp)) parameters
3162static INLINE _glptr_TexCoord1sv GET_TexCoord1sv(struct _glapi_table *disp) {
3163 return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv));
3164}
3165
3166static INLINE void SET_TexCoord1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003167 SET_by_offset(disp, _gloffset_TexCoord1sv, fn);
3168}
3169
José Fonseca075d2bf2011-05-19 17:44:06 +01003170typedef void (GLAPIENTRYP _glptr_TexCoord2d)(GLdouble, GLdouble);
3171#define CALL_TexCoord2d(disp, parameters) \
3172 (* GET_TexCoord2d(disp)) parameters
3173static INLINE _glptr_TexCoord2d GET_TexCoord2d(struct _glapi_table *disp) {
3174 return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d));
3175}
3176
3177static INLINE void SET_TexCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003178 SET_by_offset(disp, _gloffset_TexCoord2d, fn);
3179}
3180
José Fonseca075d2bf2011-05-19 17:44:06 +01003181typedef void (GLAPIENTRYP _glptr_TexCoord2dv)(const GLdouble *);
3182#define CALL_TexCoord2dv(disp, parameters) \
3183 (* GET_TexCoord2dv(disp)) parameters
3184static INLINE _glptr_TexCoord2dv GET_TexCoord2dv(struct _glapi_table *disp) {
3185 return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv));
3186}
3187
3188static INLINE void SET_TexCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003189 SET_by_offset(disp, _gloffset_TexCoord2dv, fn);
3190}
3191
José Fonseca075d2bf2011-05-19 17:44:06 +01003192typedef void (GLAPIENTRYP _glptr_TexCoord2f)(GLfloat, GLfloat);
3193#define CALL_TexCoord2f(disp, parameters) \
3194 (* GET_TexCoord2f(disp)) parameters
3195static INLINE _glptr_TexCoord2f GET_TexCoord2f(struct _glapi_table *disp) {
3196 return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f));
3197}
3198
3199static INLINE void SET_TexCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003200 SET_by_offset(disp, _gloffset_TexCoord2f, fn);
3201}
3202
José Fonseca075d2bf2011-05-19 17:44:06 +01003203typedef void (GLAPIENTRYP _glptr_TexCoord2fv)(const GLfloat *);
3204#define CALL_TexCoord2fv(disp, parameters) \
3205 (* GET_TexCoord2fv(disp)) parameters
3206static INLINE _glptr_TexCoord2fv GET_TexCoord2fv(struct _glapi_table *disp) {
3207 return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv));
3208}
3209
3210static INLINE void SET_TexCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003211 SET_by_offset(disp, _gloffset_TexCoord2fv, fn);
3212}
3213
José Fonseca075d2bf2011-05-19 17:44:06 +01003214typedef void (GLAPIENTRYP _glptr_TexCoord2i)(GLint, GLint);
3215#define CALL_TexCoord2i(disp, parameters) \
3216 (* GET_TexCoord2i(disp)) parameters
3217static INLINE _glptr_TexCoord2i GET_TexCoord2i(struct _glapi_table *disp) {
3218 return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i));
3219}
3220
3221static INLINE void SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003222 SET_by_offset(disp, _gloffset_TexCoord2i, fn);
3223}
3224
José Fonseca075d2bf2011-05-19 17:44:06 +01003225typedef void (GLAPIENTRYP _glptr_TexCoord2iv)(const GLint *);
3226#define CALL_TexCoord2iv(disp, parameters) \
3227 (* GET_TexCoord2iv(disp)) parameters
3228static INLINE _glptr_TexCoord2iv GET_TexCoord2iv(struct _glapi_table *disp) {
3229 return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv));
3230}
3231
3232static INLINE void SET_TexCoord2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003233 SET_by_offset(disp, _gloffset_TexCoord2iv, fn);
3234}
3235
José Fonseca075d2bf2011-05-19 17:44:06 +01003236typedef void (GLAPIENTRYP _glptr_TexCoord2s)(GLshort, GLshort);
3237#define CALL_TexCoord2s(disp, parameters) \
3238 (* GET_TexCoord2s(disp)) parameters
3239static INLINE _glptr_TexCoord2s GET_TexCoord2s(struct _glapi_table *disp) {
3240 return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s));
3241}
3242
3243static INLINE void SET_TexCoord2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003244 SET_by_offset(disp, _gloffset_TexCoord2s, fn);
3245}
3246
José Fonseca075d2bf2011-05-19 17:44:06 +01003247typedef void (GLAPIENTRYP _glptr_TexCoord2sv)(const GLshort *);
3248#define CALL_TexCoord2sv(disp, parameters) \
3249 (* GET_TexCoord2sv(disp)) parameters
3250static INLINE _glptr_TexCoord2sv GET_TexCoord2sv(struct _glapi_table *disp) {
3251 return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv));
3252}
3253
3254static INLINE void SET_TexCoord2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003255 SET_by_offset(disp, _gloffset_TexCoord2sv, fn);
3256}
3257
José Fonseca075d2bf2011-05-19 17:44:06 +01003258typedef void (GLAPIENTRYP _glptr_TexCoord3d)(GLdouble, GLdouble, GLdouble);
3259#define CALL_TexCoord3d(disp, parameters) \
3260 (* GET_TexCoord3d(disp)) parameters
3261static INLINE _glptr_TexCoord3d GET_TexCoord3d(struct _glapi_table *disp) {
3262 return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d));
3263}
3264
3265static INLINE void SET_TexCoord3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003266 SET_by_offset(disp, _gloffset_TexCoord3d, fn);
3267}
3268
José Fonseca075d2bf2011-05-19 17:44:06 +01003269typedef void (GLAPIENTRYP _glptr_TexCoord3dv)(const GLdouble *);
3270#define CALL_TexCoord3dv(disp, parameters) \
3271 (* GET_TexCoord3dv(disp)) parameters
3272static INLINE _glptr_TexCoord3dv GET_TexCoord3dv(struct _glapi_table *disp) {
3273 return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv));
3274}
3275
3276static INLINE void SET_TexCoord3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003277 SET_by_offset(disp, _gloffset_TexCoord3dv, fn);
3278}
3279
José Fonseca075d2bf2011-05-19 17:44:06 +01003280typedef void (GLAPIENTRYP _glptr_TexCoord3f)(GLfloat, GLfloat, GLfloat);
3281#define CALL_TexCoord3f(disp, parameters) \
3282 (* GET_TexCoord3f(disp)) parameters
3283static INLINE _glptr_TexCoord3f GET_TexCoord3f(struct _glapi_table *disp) {
3284 return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f));
3285}
3286
3287static INLINE void SET_TexCoord3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003288 SET_by_offset(disp, _gloffset_TexCoord3f, fn);
3289}
3290
José Fonseca075d2bf2011-05-19 17:44:06 +01003291typedef void (GLAPIENTRYP _glptr_TexCoord3fv)(const GLfloat *);
3292#define CALL_TexCoord3fv(disp, parameters) \
3293 (* GET_TexCoord3fv(disp)) parameters
3294static INLINE _glptr_TexCoord3fv GET_TexCoord3fv(struct _glapi_table *disp) {
3295 return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv));
3296}
3297
3298static INLINE void SET_TexCoord3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003299 SET_by_offset(disp, _gloffset_TexCoord3fv, fn);
3300}
3301
José Fonseca075d2bf2011-05-19 17:44:06 +01003302typedef void (GLAPIENTRYP _glptr_TexCoord3i)(GLint, GLint, GLint);
3303#define CALL_TexCoord3i(disp, parameters) \
3304 (* GET_TexCoord3i(disp)) parameters
3305static INLINE _glptr_TexCoord3i GET_TexCoord3i(struct _glapi_table *disp) {
3306 return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i));
3307}
3308
3309static INLINE void SET_TexCoord3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003310 SET_by_offset(disp, _gloffset_TexCoord3i, fn);
3311}
3312
José Fonseca075d2bf2011-05-19 17:44:06 +01003313typedef void (GLAPIENTRYP _glptr_TexCoord3iv)(const GLint *);
3314#define CALL_TexCoord3iv(disp, parameters) \
3315 (* GET_TexCoord3iv(disp)) parameters
3316static INLINE _glptr_TexCoord3iv GET_TexCoord3iv(struct _glapi_table *disp) {
3317 return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv));
3318}
3319
3320static INLINE void SET_TexCoord3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003321 SET_by_offset(disp, _gloffset_TexCoord3iv, fn);
3322}
3323
José Fonseca075d2bf2011-05-19 17:44:06 +01003324typedef void (GLAPIENTRYP _glptr_TexCoord3s)(GLshort, GLshort, GLshort);
3325#define CALL_TexCoord3s(disp, parameters) \
3326 (* GET_TexCoord3s(disp)) parameters
3327static INLINE _glptr_TexCoord3s GET_TexCoord3s(struct _glapi_table *disp) {
3328 return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s));
3329}
3330
3331static INLINE void SET_TexCoord3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003332 SET_by_offset(disp, _gloffset_TexCoord3s, fn);
3333}
3334
José Fonseca075d2bf2011-05-19 17:44:06 +01003335typedef void (GLAPIENTRYP _glptr_TexCoord3sv)(const GLshort *);
3336#define CALL_TexCoord3sv(disp, parameters) \
3337 (* GET_TexCoord3sv(disp)) parameters
3338static INLINE _glptr_TexCoord3sv GET_TexCoord3sv(struct _glapi_table *disp) {
3339 return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv));
3340}
3341
3342static INLINE void SET_TexCoord3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003343 SET_by_offset(disp, _gloffset_TexCoord3sv, fn);
3344}
3345
José Fonseca075d2bf2011-05-19 17:44:06 +01003346typedef void (GLAPIENTRYP _glptr_TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
3347#define CALL_TexCoord4d(disp, parameters) \
3348 (* GET_TexCoord4d(disp)) parameters
3349static INLINE _glptr_TexCoord4d GET_TexCoord4d(struct _glapi_table *disp) {
3350 return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d));
3351}
3352
3353static INLINE void SET_TexCoord4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003354 SET_by_offset(disp, _gloffset_TexCoord4d, fn);
3355}
3356
José Fonseca075d2bf2011-05-19 17:44:06 +01003357typedef void (GLAPIENTRYP _glptr_TexCoord4dv)(const GLdouble *);
3358#define CALL_TexCoord4dv(disp, parameters) \
3359 (* GET_TexCoord4dv(disp)) parameters
3360static INLINE _glptr_TexCoord4dv GET_TexCoord4dv(struct _glapi_table *disp) {
3361 return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv));
3362}
3363
3364static INLINE void SET_TexCoord4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003365 SET_by_offset(disp, _gloffset_TexCoord4dv, fn);
3366}
3367
José Fonseca075d2bf2011-05-19 17:44:06 +01003368typedef void (GLAPIENTRYP _glptr_TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
3369#define CALL_TexCoord4f(disp, parameters) \
3370 (* GET_TexCoord4f(disp)) parameters
3371static INLINE _glptr_TexCoord4f GET_TexCoord4f(struct _glapi_table *disp) {
3372 return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f));
3373}
3374
3375static INLINE void SET_TexCoord4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003376 SET_by_offset(disp, _gloffset_TexCoord4f, fn);
3377}
3378
José Fonseca075d2bf2011-05-19 17:44:06 +01003379typedef void (GLAPIENTRYP _glptr_TexCoord4fv)(const GLfloat *);
3380#define CALL_TexCoord4fv(disp, parameters) \
3381 (* GET_TexCoord4fv(disp)) parameters
3382static INLINE _glptr_TexCoord4fv GET_TexCoord4fv(struct _glapi_table *disp) {
3383 return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv));
3384}
3385
3386static INLINE void SET_TexCoord4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003387 SET_by_offset(disp, _gloffset_TexCoord4fv, fn);
3388}
3389
José Fonseca075d2bf2011-05-19 17:44:06 +01003390typedef void (GLAPIENTRYP _glptr_TexCoord4i)(GLint, GLint, GLint, GLint);
3391#define CALL_TexCoord4i(disp, parameters) \
3392 (* GET_TexCoord4i(disp)) parameters
3393static INLINE _glptr_TexCoord4i GET_TexCoord4i(struct _glapi_table *disp) {
3394 return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i));
3395}
3396
3397static INLINE void SET_TexCoord4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003398 SET_by_offset(disp, _gloffset_TexCoord4i, fn);
3399}
3400
José Fonseca075d2bf2011-05-19 17:44:06 +01003401typedef void (GLAPIENTRYP _glptr_TexCoord4iv)(const GLint *);
3402#define CALL_TexCoord4iv(disp, parameters) \
3403 (* GET_TexCoord4iv(disp)) parameters
3404static INLINE _glptr_TexCoord4iv GET_TexCoord4iv(struct _glapi_table *disp) {
3405 return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv));
3406}
3407
3408static INLINE void SET_TexCoord4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003409 SET_by_offset(disp, _gloffset_TexCoord4iv, fn);
3410}
3411
José Fonseca075d2bf2011-05-19 17:44:06 +01003412typedef void (GLAPIENTRYP _glptr_TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
3413#define CALL_TexCoord4s(disp, parameters) \
3414 (* GET_TexCoord4s(disp)) parameters
3415static INLINE _glptr_TexCoord4s GET_TexCoord4s(struct _glapi_table *disp) {
3416 return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s));
3417}
3418
3419static INLINE void SET_TexCoord4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003420 SET_by_offset(disp, _gloffset_TexCoord4s, fn);
3421}
3422
José Fonseca075d2bf2011-05-19 17:44:06 +01003423typedef void (GLAPIENTRYP _glptr_TexCoord4sv)(const GLshort *);
3424#define CALL_TexCoord4sv(disp, parameters) \
3425 (* GET_TexCoord4sv(disp)) parameters
3426static INLINE _glptr_TexCoord4sv GET_TexCoord4sv(struct _glapi_table *disp) {
3427 return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv));
3428}
3429
3430static INLINE void SET_TexCoord4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003431 SET_by_offset(disp, _gloffset_TexCoord4sv, fn);
3432}
3433
José Fonseca075d2bf2011-05-19 17:44:06 +01003434typedef void (GLAPIENTRYP _glptr_Vertex2d)(GLdouble, GLdouble);
3435#define CALL_Vertex2d(disp, parameters) \
3436 (* GET_Vertex2d(disp)) parameters
3437static INLINE _glptr_Vertex2d GET_Vertex2d(struct _glapi_table *disp) {
3438 return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d));
3439}
3440
3441static INLINE void SET_Vertex2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003442 SET_by_offset(disp, _gloffset_Vertex2d, fn);
3443}
3444
José Fonseca075d2bf2011-05-19 17:44:06 +01003445typedef void (GLAPIENTRYP _glptr_Vertex2dv)(const GLdouble *);
3446#define CALL_Vertex2dv(disp, parameters) \
3447 (* GET_Vertex2dv(disp)) parameters
3448static INLINE _glptr_Vertex2dv GET_Vertex2dv(struct _glapi_table *disp) {
3449 return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv));
3450}
3451
3452static INLINE void SET_Vertex2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003453 SET_by_offset(disp, _gloffset_Vertex2dv, fn);
3454}
3455
José Fonseca075d2bf2011-05-19 17:44:06 +01003456typedef void (GLAPIENTRYP _glptr_Vertex2f)(GLfloat, GLfloat);
3457#define CALL_Vertex2f(disp, parameters) \
3458 (* GET_Vertex2f(disp)) parameters
3459static INLINE _glptr_Vertex2f GET_Vertex2f(struct _glapi_table *disp) {
3460 return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f));
3461}
3462
3463static INLINE void SET_Vertex2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003464 SET_by_offset(disp, _gloffset_Vertex2f, fn);
3465}
3466
José Fonseca075d2bf2011-05-19 17:44:06 +01003467typedef void (GLAPIENTRYP _glptr_Vertex2fv)(const GLfloat *);
3468#define CALL_Vertex2fv(disp, parameters) \
3469 (* GET_Vertex2fv(disp)) parameters
3470static INLINE _glptr_Vertex2fv GET_Vertex2fv(struct _glapi_table *disp) {
3471 return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv));
3472}
3473
3474static INLINE void SET_Vertex2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003475 SET_by_offset(disp, _gloffset_Vertex2fv, fn);
3476}
3477
José Fonseca075d2bf2011-05-19 17:44:06 +01003478typedef void (GLAPIENTRYP _glptr_Vertex2i)(GLint, GLint);
3479#define CALL_Vertex2i(disp, parameters) \
3480 (* GET_Vertex2i(disp)) parameters
3481static INLINE _glptr_Vertex2i GET_Vertex2i(struct _glapi_table *disp) {
3482 return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i));
3483}
3484
3485static INLINE void SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003486 SET_by_offset(disp, _gloffset_Vertex2i, fn);
3487}
3488
José Fonseca075d2bf2011-05-19 17:44:06 +01003489typedef void (GLAPIENTRYP _glptr_Vertex2iv)(const GLint *);
3490#define CALL_Vertex2iv(disp, parameters) \
3491 (* GET_Vertex2iv(disp)) parameters
3492static INLINE _glptr_Vertex2iv GET_Vertex2iv(struct _glapi_table *disp) {
3493 return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv));
3494}
3495
3496static INLINE void SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003497 SET_by_offset(disp, _gloffset_Vertex2iv, fn);
3498}
3499
José Fonseca075d2bf2011-05-19 17:44:06 +01003500typedef void (GLAPIENTRYP _glptr_Vertex2s)(GLshort, GLshort);
3501#define CALL_Vertex2s(disp, parameters) \
3502 (* GET_Vertex2s(disp)) parameters
3503static INLINE _glptr_Vertex2s GET_Vertex2s(struct _glapi_table *disp) {
3504 return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s));
3505}
3506
3507static INLINE void SET_Vertex2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003508 SET_by_offset(disp, _gloffset_Vertex2s, fn);
3509}
3510
José Fonseca075d2bf2011-05-19 17:44:06 +01003511typedef void (GLAPIENTRYP _glptr_Vertex2sv)(const GLshort *);
3512#define CALL_Vertex2sv(disp, parameters) \
3513 (* GET_Vertex2sv(disp)) parameters
3514static INLINE _glptr_Vertex2sv GET_Vertex2sv(struct _glapi_table *disp) {
3515 return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv));
3516}
3517
3518static INLINE void SET_Vertex2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003519 SET_by_offset(disp, _gloffset_Vertex2sv, fn);
3520}
3521
José Fonseca075d2bf2011-05-19 17:44:06 +01003522typedef void (GLAPIENTRYP _glptr_Vertex3d)(GLdouble, GLdouble, GLdouble);
3523#define CALL_Vertex3d(disp, parameters) \
3524 (* GET_Vertex3d(disp)) parameters
3525static INLINE _glptr_Vertex3d GET_Vertex3d(struct _glapi_table *disp) {
3526 return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d));
3527}
3528
3529static INLINE void SET_Vertex3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003530 SET_by_offset(disp, _gloffset_Vertex3d, fn);
3531}
3532
José Fonseca075d2bf2011-05-19 17:44:06 +01003533typedef void (GLAPIENTRYP _glptr_Vertex3dv)(const GLdouble *);
3534#define CALL_Vertex3dv(disp, parameters) \
3535 (* GET_Vertex3dv(disp)) parameters
3536static INLINE _glptr_Vertex3dv GET_Vertex3dv(struct _glapi_table *disp) {
3537 return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv));
3538}
3539
3540static INLINE void SET_Vertex3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003541 SET_by_offset(disp, _gloffset_Vertex3dv, fn);
3542}
3543
José Fonseca075d2bf2011-05-19 17:44:06 +01003544typedef void (GLAPIENTRYP _glptr_Vertex3f)(GLfloat, GLfloat, GLfloat);
3545#define CALL_Vertex3f(disp, parameters) \
3546 (* GET_Vertex3f(disp)) parameters
3547static INLINE _glptr_Vertex3f GET_Vertex3f(struct _glapi_table *disp) {
3548 return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f));
3549}
3550
3551static INLINE void SET_Vertex3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003552 SET_by_offset(disp, _gloffset_Vertex3f, fn);
3553}
3554
José Fonseca075d2bf2011-05-19 17:44:06 +01003555typedef void (GLAPIENTRYP _glptr_Vertex3fv)(const GLfloat *);
3556#define CALL_Vertex3fv(disp, parameters) \
3557 (* GET_Vertex3fv(disp)) parameters
3558static INLINE _glptr_Vertex3fv GET_Vertex3fv(struct _glapi_table *disp) {
3559 return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv));
3560}
3561
3562static INLINE void SET_Vertex3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003563 SET_by_offset(disp, _gloffset_Vertex3fv, fn);
3564}
3565
José Fonseca075d2bf2011-05-19 17:44:06 +01003566typedef void (GLAPIENTRYP _glptr_Vertex3i)(GLint, GLint, GLint);
3567#define CALL_Vertex3i(disp, parameters) \
3568 (* GET_Vertex3i(disp)) parameters
3569static INLINE _glptr_Vertex3i GET_Vertex3i(struct _glapi_table *disp) {
3570 return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i));
3571}
3572
3573static INLINE void SET_Vertex3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003574 SET_by_offset(disp, _gloffset_Vertex3i, fn);
3575}
3576
José Fonseca075d2bf2011-05-19 17:44:06 +01003577typedef void (GLAPIENTRYP _glptr_Vertex3iv)(const GLint *);
3578#define CALL_Vertex3iv(disp, parameters) \
3579 (* GET_Vertex3iv(disp)) parameters
3580static INLINE _glptr_Vertex3iv GET_Vertex3iv(struct _glapi_table *disp) {
3581 return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv));
3582}
3583
3584static INLINE void SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003585 SET_by_offset(disp, _gloffset_Vertex3iv, fn);
3586}
3587
José Fonseca075d2bf2011-05-19 17:44:06 +01003588typedef void (GLAPIENTRYP _glptr_Vertex3s)(GLshort, GLshort, GLshort);
3589#define CALL_Vertex3s(disp, parameters) \
3590 (* GET_Vertex3s(disp)) parameters
3591static INLINE _glptr_Vertex3s GET_Vertex3s(struct _glapi_table *disp) {
3592 return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s));
3593}
3594
3595static INLINE void SET_Vertex3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003596 SET_by_offset(disp, _gloffset_Vertex3s, fn);
3597}
3598
José Fonseca075d2bf2011-05-19 17:44:06 +01003599typedef void (GLAPIENTRYP _glptr_Vertex3sv)(const GLshort *);
3600#define CALL_Vertex3sv(disp, parameters) \
3601 (* GET_Vertex3sv(disp)) parameters
3602static INLINE _glptr_Vertex3sv GET_Vertex3sv(struct _glapi_table *disp) {
3603 return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv));
3604}
3605
3606static INLINE void SET_Vertex3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003607 SET_by_offset(disp, _gloffset_Vertex3sv, fn);
3608}
3609
José Fonseca075d2bf2011-05-19 17:44:06 +01003610typedef void (GLAPIENTRYP _glptr_Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
3611#define CALL_Vertex4d(disp, parameters) \
3612 (* GET_Vertex4d(disp)) parameters
3613static INLINE _glptr_Vertex4d GET_Vertex4d(struct _glapi_table *disp) {
3614 return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d));
3615}
3616
3617static INLINE void SET_Vertex4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003618 SET_by_offset(disp, _gloffset_Vertex4d, fn);
3619}
3620
José Fonseca075d2bf2011-05-19 17:44:06 +01003621typedef void (GLAPIENTRYP _glptr_Vertex4dv)(const GLdouble *);
3622#define CALL_Vertex4dv(disp, parameters) \
3623 (* GET_Vertex4dv(disp)) parameters
3624static INLINE _glptr_Vertex4dv GET_Vertex4dv(struct _glapi_table *disp) {
3625 return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv));
3626}
3627
3628static INLINE void SET_Vertex4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003629 SET_by_offset(disp, _gloffset_Vertex4dv, fn);
3630}
3631
José Fonseca075d2bf2011-05-19 17:44:06 +01003632typedef void (GLAPIENTRYP _glptr_Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
3633#define CALL_Vertex4f(disp, parameters) \
3634 (* GET_Vertex4f(disp)) parameters
3635static INLINE _glptr_Vertex4f GET_Vertex4f(struct _glapi_table *disp) {
3636 return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f));
3637}
3638
3639static INLINE void SET_Vertex4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003640 SET_by_offset(disp, _gloffset_Vertex4f, fn);
3641}
3642
José Fonseca075d2bf2011-05-19 17:44:06 +01003643typedef void (GLAPIENTRYP _glptr_Vertex4fv)(const GLfloat *);
3644#define CALL_Vertex4fv(disp, parameters) \
3645 (* GET_Vertex4fv(disp)) parameters
3646static INLINE _glptr_Vertex4fv GET_Vertex4fv(struct _glapi_table *disp) {
3647 return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv));
3648}
3649
3650static INLINE void SET_Vertex4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003651 SET_by_offset(disp, _gloffset_Vertex4fv, fn);
3652}
3653
José Fonseca075d2bf2011-05-19 17:44:06 +01003654typedef void (GLAPIENTRYP _glptr_Vertex4i)(GLint, GLint, GLint, GLint);
3655#define CALL_Vertex4i(disp, parameters) \
3656 (* GET_Vertex4i(disp)) parameters
3657static INLINE _glptr_Vertex4i GET_Vertex4i(struct _glapi_table *disp) {
3658 return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i));
3659}
3660
3661static INLINE void SET_Vertex4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003662 SET_by_offset(disp, _gloffset_Vertex4i, fn);
3663}
3664
José Fonseca075d2bf2011-05-19 17:44:06 +01003665typedef void (GLAPIENTRYP _glptr_Vertex4iv)(const GLint *);
3666#define CALL_Vertex4iv(disp, parameters) \
3667 (* GET_Vertex4iv(disp)) parameters
3668static INLINE _glptr_Vertex4iv GET_Vertex4iv(struct _glapi_table *disp) {
3669 return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv));
3670}
3671
3672static INLINE void SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003673 SET_by_offset(disp, _gloffset_Vertex4iv, fn);
3674}
3675
José Fonseca075d2bf2011-05-19 17:44:06 +01003676typedef void (GLAPIENTRYP _glptr_Vertex4s)(GLshort, GLshort, GLshort, GLshort);
3677#define CALL_Vertex4s(disp, parameters) \
3678 (* GET_Vertex4s(disp)) parameters
3679static INLINE _glptr_Vertex4s GET_Vertex4s(struct _glapi_table *disp) {
3680 return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s));
3681}
3682
3683static INLINE void SET_Vertex4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003684 SET_by_offset(disp, _gloffset_Vertex4s, fn);
3685}
3686
José Fonseca075d2bf2011-05-19 17:44:06 +01003687typedef void (GLAPIENTRYP _glptr_Vertex4sv)(const GLshort *);
3688#define CALL_Vertex4sv(disp, parameters) \
3689 (* GET_Vertex4sv(disp)) parameters
3690static INLINE _glptr_Vertex4sv GET_Vertex4sv(struct _glapi_table *disp) {
3691 return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv));
3692}
3693
3694static INLINE void SET_Vertex4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003695 SET_by_offset(disp, _gloffset_Vertex4sv, fn);
3696}
3697
José Fonseca075d2bf2011-05-19 17:44:06 +01003698typedef void (GLAPIENTRYP _glptr_ClipPlane)(GLenum, const GLdouble *);
3699#define CALL_ClipPlane(disp, parameters) \
3700 (* GET_ClipPlane(disp)) parameters
3701static INLINE _glptr_ClipPlane GET_ClipPlane(struct _glapi_table *disp) {
3702 return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane));
3703}
3704
3705static INLINE void SET_ClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003706 SET_by_offset(disp, _gloffset_ClipPlane, fn);
3707}
3708
José Fonseca075d2bf2011-05-19 17:44:06 +01003709typedef void (GLAPIENTRYP _glptr_ColorMaterial)(GLenum, GLenum);
3710#define CALL_ColorMaterial(disp, parameters) \
3711 (* GET_ColorMaterial(disp)) parameters
3712static INLINE _glptr_ColorMaterial GET_ColorMaterial(struct _glapi_table *disp) {
3713 return (_glptr_ColorMaterial) (GET_by_offset(disp, _gloffset_ColorMaterial));
3714}
3715
3716static INLINE void SET_ColorMaterial(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003717 SET_by_offset(disp, _gloffset_ColorMaterial, fn);
3718}
3719
José Fonseca075d2bf2011-05-19 17:44:06 +01003720typedef void (GLAPIENTRYP _glptr_CullFace)(GLenum);
3721#define CALL_CullFace(disp, parameters) \
3722 (* GET_CullFace(disp)) parameters
3723static INLINE _glptr_CullFace GET_CullFace(struct _glapi_table *disp) {
3724 return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace));
3725}
3726
3727static INLINE void SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003728 SET_by_offset(disp, _gloffset_CullFace, fn);
3729}
3730
José Fonseca075d2bf2011-05-19 17:44:06 +01003731typedef void (GLAPIENTRYP _glptr_Fogf)(GLenum, GLfloat);
3732#define CALL_Fogf(disp, parameters) \
3733 (* GET_Fogf(disp)) parameters
3734static INLINE _glptr_Fogf GET_Fogf(struct _glapi_table *disp) {
3735 return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf));
3736}
3737
3738static INLINE void SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003739 SET_by_offset(disp, _gloffset_Fogf, fn);
3740}
3741
José Fonseca075d2bf2011-05-19 17:44:06 +01003742typedef void (GLAPIENTRYP _glptr_Fogfv)(GLenum, const GLfloat *);
3743#define CALL_Fogfv(disp, parameters) \
3744 (* GET_Fogfv(disp)) parameters
3745static INLINE _glptr_Fogfv GET_Fogfv(struct _glapi_table *disp) {
3746 return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv));
3747}
3748
3749static INLINE void SET_Fogfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003750 SET_by_offset(disp, _gloffset_Fogfv, fn);
3751}
3752
José Fonseca075d2bf2011-05-19 17:44:06 +01003753typedef void (GLAPIENTRYP _glptr_Fogi)(GLenum, GLint);
3754#define CALL_Fogi(disp, parameters) \
3755 (* GET_Fogi(disp)) parameters
3756static INLINE _glptr_Fogi GET_Fogi(struct _glapi_table *disp) {
3757 return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi));
3758}
3759
3760static INLINE void SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003761 SET_by_offset(disp, _gloffset_Fogi, fn);
3762}
3763
José Fonseca075d2bf2011-05-19 17:44:06 +01003764typedef void (GLAPIENTRYP _glptr_Fogiv)(GLenum, const GLint *);
3765#define CALL_Fogiv(disp, parameters) \
3766 (* GET_Fogiv(disp)) parameters
3767static INLINE _glptr_Fogiv GET_Fogiv(struct _glapi_table *disp) {
3768 return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv));
3769}
3770
3771static INLINE void SET_Fogiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003772 SET_by_offset(disp, _gloffset_Fogiv, fn);
3773}
3774
José Fonseca075d2bf2011-05-19 17:44:06 +01003775typedef void (GLAPIENTRYP _glptr_FrontFace)(GLenum);
3776#define CALL_FrontFace(disp, parameters) \
3777 (* GET_FrontFace(disp)) parameters
3778static INLINE _glptr_FrontFace GET_FrontFace(struct _glapi_table *disp) {
3779 return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace));
3780}
3781
3782static INLINE void SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003783 SET_by_offset(disp, _gloffset_FrontFace, fn);
3784}
3785
José Fonseca075d2bf2011-05-19 17:44:06 +01003786typedef void (GLAPIENTRYP _glptr_Hint)(GLenum, GLenum);
3787#define CALL_Hint(disp, parameters) \
3788 (* GET_Hint(disp)) parameters
3789static INLINE _glptr_Hint GET_Hint(struct _glapi_table *disp) {
3790 return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint));
3791}
3792
3793static INLINE void SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003794 SET_by_offset(disp, _gloffset_Hint, fn);
3795}
3796
José Fonseca075d2bf2011-05-19 17:44:06 +01003797typedef void (GLAPIENTRYP _glptr_Lightf)(GLenum, GLenum, GLfloat);
3798#define CALL_Lightf(disp, parameters) \
3799 (* GET_Lightf(disp)) parameters
3800static INLINE _glptr_Lightf GET_Lightf(struct _glapi_table *disp) {
3801 return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf));
3802}
3803
3804static INLINE void SET_Lightf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003805 SET_by_offset(disp, _gloffset_Lightf, fn);
3806}
3807
José Fonseca075d2bf2011-05-19 17:44:06 +01003808typedef void (GLAPIENTRYP _glptr_Lightfv)(GLenum, GLenum, const GLfloat *);
3809#define CALL_Lightfv(disp, parameters) \
3810 (* GET_Lightfv(disp)) parameters
3811static INLINE _glptr_Lightfv GET_Lightfv(struct _glapi_table *disp) {
3812 return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv));
3813}
3814
3815static INLINE void SET_Lightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003816 SET_by_offset(disp, _gloffset_Lightfv, fn);
3817}
3818
José Fonseca075d2bf2011-05-19 17:44:06 +01003819typedef void (GLAPIENTRYP _glptr_Lighti)(GLenum, GLenum, GLint);
3820#define CALL_Lighti(disp, parameters) \
3821 (* GET_Lighti(disp)) parameters
3822static INLINE _glptr_Lighti GET_Lighti(struct _glapi_table *disp) {
3823 return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti));
3824}
3825
3826static INLINE void SET_Lighti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003827 SET_by_offset(disp, _gloffset_Lighti, fn);
3828}
3829
José Fonseca075d2bf2011-05-19 17:44:06 +01003830typedef void (GLAPIENTRYP _glptr_Lightiv)(GLenum, GLenum, const GLint *);
3831#define CALL_Lightiv(disp, parameters) \
3832 (* GET_Lightiv(disp)) parameters
3833static INLINE _glptr_Lightiv GET_Lightiv(struct _glapi_table *disp) {
3834 return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv));
3835}
3836
3837static INLINE void SET_Lightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003838 SET_by_offset(disp, _gloffset_Lightiv, fn);
3839}
3840
José Fonseca075d2bf2011-05-19 17:44:06 +01003841typedef void (GLAPIENTRYP _glptr_LightModelf)(GLenum, GLfloat);
3842#define CALL_LightModelf(disp, parameters) \
3843 (* GET_LightModelf(disp)) parameters
3844static INLINE _glptr_LightModelf GET_LightModelf(struct _glapi_table *disp) {
3845 return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf));
3846}
3847
3848static INLINE void SET_LightModelf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003849 SET_by_offset(disp, _gloffset_LightModelf, fn);
3850}
3851
José Fonseca075d2bf2011-05-19 17:44:06 +01003852typedef void (GLAPIENTRYP _glptr_LightModelfv)(GLenum, const GLfloat *);
3853#define CALL_LightModelfv(disp, parameters) \
3854 (* GET_LightModelfv(disp)) parameters
3855static INLINE _glptr_LightModelfv GET_LightModelfv(struct _glapi_table *disp) {
3856 return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv));
3857}
3858
3859static INLINE void SET_LightModelfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003860 SET_by_offset(disp, _gloffset_LightModelfv, fn);
3861}
3862
José Fonseca075d2bf2011-05-19 17:44:06 +01003863typedef void (GLAPIENTRYP _glptr_LightModeli)(GLenum, GLint);
3864#define CALL_LightModeli(disp, parameters) \
3865 (* GET_LightModeli(disp)) parameters
3866static INLINE _glptr_LightModeli GET_LightModeli(struct _glapi_table *disp) {
3867 return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli));
3868}
3869
3870static INLINE void SET_LightModeli(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003871 SET_by_offset(disp, _gloffset_LightModeli, fn);
3872}
3873
José Fonseca075d2bf2011-05-19 17:44:06 +01003874typedef void (GLAPIENTRYP _glptr_LightModeliv)(GLenum, const GLint *);
3875#define CALL_LightModeliv(disp, parameters) \
3876 (* GET_LightModeliv(disp)) parameters
3877static INLINE _glptr_LightModeliv GET_LightModeliv(struct _glapi_table *disp) {
3878 return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv));
3879}
3880
3881static INLINE void SET_LightModeliv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003882 SET_by_offset(disp, _gloffset_LightModeliv, fn);
3883}
3884
José Fonseca075d2bf2011-05-19 17:44:06 +01003885typedef void (GLAPIENTRYP _glptr_LineStipple)(GLint, GLushort);
3886#define CALL_LineStipple(disp, parameters) \
3887 (* GET_LineStipple(disp)) parameters
3888static INLINE _glptr_LineStipple GET_LineStipple(struct _glapi_table *disp) {
3889 return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple));
3890}
3891
3892static INLINE void SET_LineStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLushort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003893 SET_by_offset(disp, _gloffset_LineStipple, fn);
3894}
3895
José Fonseca075d2bf2011-05-19 17:44:06 +01003896typedef void (GLAPIENTRYP _glptr_LineWidth)(GLfloat);
3897#define CALL_LineWidth(disp, parameters) \
3898 (* GET_LineWidth(disp)) parameters
3899static INLINE _glptr_LineWidth GET_LineWidth(struct _glapi_table *disp) {
3900 return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth));
3901}
3902
3903static INLINE void SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003904 SET_by_offset(disp, _gloffset_LineWidth, fn);
3905}
3906
José Fonseca075d2bf2011-05-19 17:44:06 +01003907typedef void (GLAPIENTRYP _glptr_Materialf)(GLenum, GLenum, GLfloat);
3908#define CALL_Materialf(disp, parameters) \
3909 (* GET_Materialf(disp)) parameters
3910static INLINE _glptr_Materialf GET_Materialf(struct _glapi_table *disp) {
3911 return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf));
3912}
3913
3914static INLINE void SET_Materialf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003915 SET_by_offset(disp, _gloffset_Materialf, fn);
3916}
3917
José Fonseca075d2bf2011-05-19 17:44:06 +01003918typedef void (GLAPIENTRYP _glptr_Materialfv)(GLenum, GLenum, const GLfloat *);
3919#define CALL_Materialfv(disp, parameters) \
3920 (* GET_Materialfv(disp)) parameters
3921static INLINE _glptr_Materialfv GET_Materialfv(struct _glapi_table *disp) {
3922 return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv));
3923}
3924
3925static INLINE void SET_Materialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003926 SET_by_offset(disp, _gloffset_Materialfv, fn);
3927}
3928
José Fonseca075d2bf2011-05-19 17:44:06 +01003929typedef void (GLAPIENTRYP _glptr_Materiali)(GLenum, GLenum, GLint);
3930#define CALL_Materiali(disp, parameters) \
3931 (* GET_Materiali(disp)) parameters
3932static INLINE _glptr_Materiali GET_Materiali(struct _glapi_table *disp) {
3933 return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali));
3934}
3935
3936static INLINE void SET_Materiali(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003937 SET_by_offset(disp, _gloffset_Materiali, fn);
3938}
3939
José Fonseca075d2bf2011-05-19 17:44:06 +01003940typedef void (GLAPIENTRYP _glptr_Materialiv)(GLenum, GLenum, const GLint *);
3941#define CALL_Materialiv(disp, parameters) \
3942 (* GET_Materialiv(disp)) parameters
3943static INLINE _glptr_Materialiv GET_Materialiv(struct _glapi_table *disp) {
3944 return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv));
3945}
3946
3947static INLINE void SET_Materialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003948 SET_by_offset(disp, _gloffset_Materialiv, fn);
3949}
3950
José Fonseca075d2bf2011-05-19 17:44:06 +01003951typedef void (GLAPIENTRYP _glptr_PointSize)(GLfloat);
3952#define CALL_PointSize(disp, parameters) \
3953 (* GET_PointSize(disp)) parameters
3954static INLINE _glptr_PointSize GET_PointSize(struct _glapi_table *disp) {
3955 return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize));
3956}
3957
3958static INLINE void SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003959 SET_by_offset(disp, _gloffset_PointSize, fn);
3960}
3961
José Fonseca075d2bf2011-05-19 17:44:06 +01003962typedef void (GLAPIENTRYP _glptr_PolygonMode)(GLenum, GLenum);
3963#define CALL_PolygonMode(disp, parameters) \
3964 (* GET_PolygonMode(disp)) parameters
3965static INLINE _glptr_PolygonMode GET_PolygonMode(struct _glapi_table *disp) {
3966 return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode));
3967}
3968
3969static INLINE void SET_PolygonMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003970 SET_by_offset(disp, _gloffset_PolygonMode, fn);
3971}
3972
José Fonseca075d2bf2011-05-19 17:44:06 +01003973typedef void (GLAPIENTRYP _glptr_PolygonStipple)(const GLubyte *);
3974#define CALL_PolygonStipple(disp, parameters) \
3975 (* GET_PolygonStipple(disp)) parameters
3976static INLINE _glptr_PolygonStipple GET_PolygonStipple(struct _glapi_table *disp) {
3977 return (_glptr_PolygonStipple) (GET_by_offset(disp, _gloffset_PolygonStipple));
3978}
3979
3980static INLINE void SET_PolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003981 SET_by_offset(disp, _gloffset_PolygonStipple, fn);
3982}
3983
José Fonseca075d2bf2011-05-19 17:44:06 +01003984typedef void (GLAPIENTRYP _glptr_Scissor)(GLint, GLint, GLsizei, GLsizei);
3985#define CALL_Scissor(disp, parameters) \
3986 (* GET_Scissor(disp)) parameters
3987static INLINE _glptr_Scissor GET_Scissor(struct _glapi_table *disp) {
3988 return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor));
3989}
3990
3991static INLINE void SET_Scissor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01003992 SET_by_offset(disp, _gloffset_Scissor, fn);
3993}
3994
José Fonseca075d2bf2011-05-19 17:44:06 +01003995typedef void (GLAPIENTRYP _glptr_ShadeModel)(GLenum);
3996#define CALL_ShadeModel(disp, parameters) \
3997 (* GET_ShadeModel(disp)) parameters
3998static INLINE _glptr_ShadeModel GET_ShadeModel(struct _glapi_table *disp) {
3999 return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel));
4000}
4001
4002static INLINE void SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004003 SET_by_offset(disp, _gloffset_ShadeModel, fn);
4004}
4005
José Fonseca075d2bf2011-05-19 17:44:06 +01004006typedef void (GLAPIENTRYP _glptr_TexParameterf)(GLenum, GLenum, GLfloat);
4007#define CALL_TexParameterf(disp, parameters) \
4008 (* GET_TexParameterf(disp)) parameters
4009static INLINE _glptr_TexParameterf GET_TexParameterf(struct _glapi_table *disp) {
4010 return (_glptr_TexParameterf) (GET_by_offset(disp, _gloffset_TexParameterf));
4011}
4012
4013static INLINE void SET_TexParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004014 SET_by_offset(disp, _gloffset_TexParameterf, fn);
4015}
4016
José Fonseca075d2bf2011-05-19 17:44:06 +01004017typedef void (GLAPIENTRYP _glptr_TexParameterfv)(GLenum, GLenum, const GLfloat *);
4018#define CALL_TexParameterfv(disp, parameters) \
4019 (* GET_TexParameterfv(disp)) parameters
4020static INLINE _glptr_TexParameterfv GET_TexParameterfv(struct _glapi_table *disp) {
4021 return (_glptr_TexParameterfv) (GET_by_offset(disp, _gloffset_TexParameterfv));
4022}
4023
4024static INLINE void SET_TexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004025 SET_by_offset(disp, _gloffset_TexParameterfv, fn);
4026}
4027
José Fonseca075d2bf2011-05-19 17:44:06 +01004028typedef void (GLAPIENTRYP _glptr_TexParameteri)(GLenum, GLenum, GLint);
4029#define CALL_TexParameteri(disp, parameters) \
4030 (* GET_TexParameteri(disp)) parameters
4031static INLINE _glptr_TexParameteri GET_TexParameteri(struct _glapi_table *disp) {
4032 return (_glptr_TexParameteri) (GET_by_offset(disp, _gloffset_TexParameteri));
4033}
4034
4035static INLINE void SET_TexParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004036 SET_by_offset(disp, _gloffset_TexParameteri, fn);
4037}
4038
José Fonseca075d2bf2011-05-19 17:44:06 +01004039typedef void (GLAPIENTRYP _glptr_TexParameteriv)(GLenum, GLenum, const GLint *);
4040#define CALL_TexParameteriv(disp, parameters) \
4041 (* GET_TexParameteriv(disp)) parameters
4042static INLINE _glptr_TexParameteriv GET_TexParameteriv(struct _glapi_table *disp) {
4043 return (_glptr_TexParameteriv) (GET_by_offset(disp, _gloffset_TexParameteriv));
4044}
4045
4046static INLINE void SET_TexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004047 SET_by_offset(disp, _gloffset_TexParameteriv, fn);
4048}
4049
José Fonseca075d2bf2011-05-19 17:44:06 +01004050typedef void (GLAPIENTRYP _glptr_TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
4051#define CALL_TexImage1D(disp, parameters) \
4052 (* GET_TexImage1D(disp)) parameters
4053static INLINE _glptr_TexImage1D GET_TexImage1D(struct _glapi_table *disp) {
4054 return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D));
4055}
4056
4057static INLINE void SET_TexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004058 SET_by_offset(disp, _gloffset_TexImage1D, fn);
4059}
4060
José Fonseca075d2bf2011-05-19 17:44:06 +01004061typedef 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
4064static INLINE _glptr_TexImage2D GET_TexImage2D(struct _glapi_table *disp) {
4065 return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D));
4066}
4067
4068static INLINE void SET_TexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004069 SET_by_offset(disp, _gloffset_TexImage2D, fn);
4070}
4071
José Fonseca075d2bf2011-05-19 17:44:06 +01004072typedef void (GLAPIENTRYP _glptr_TexEnvf)(GLenum, GLenum, GLfloat);
4073#define CALL_TexEnvf(disp, parameters) \
4074 (* GET_TexEnvf(disp)) parameters
4075static INLINE _glptr_TexEnvf GET_TexEnvf(struct _glapi_table *disp) {
4076 return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf));
4077}
4078
4079static INLINE void SET_TexEnvf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004080 SET_by_offset(disp, _gloffset_TexEnvf, fn);
4081}
4082
José Fonseca075d2bf2011-05-19 17:44:06 +01004083typedef void (GLAPIENTRYP _glptr_TexEnvfv)(GLenum, GLenum, const GLfloat *);
4084#define CALL_TexEnvfv(disp, parameters) \
4085 (* GET_TexEnvfv(disp)) parameters
4086static INLINE _glptr_TexEnvfv GET_TexEnvfv(struct _glapi_table *disp) {
4087 return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv));
4088}
4089
4090static INLINE void SET_TexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004091 SET_by_offset(disp, _gloffset_TexEnvfv, fn);
4092}
4093
José Fonseca075d2bf2011-05-19 17:44:06 +01004094typedef void (GLAPIENTRYP _glptr_TexEnvi)(GLenum, GLenum, GLint);
4095#define CALL_TexEnvi(disp, parameters) \
4096 (* GET_TexEnvi(disp)) parameters
4097static INLINE _glptr_TexEnvi GET_TexEnvi(struct _glapi_table *disp) {
4098 return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi));
4099}
4100
4101static INLINE void SET_TexEnvi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004102 SET_by_offset(disp, _gloffset_TexEnvi, fn);
4103}
4104
José Fonseca075d2bf2011-05-19 17:44:06 +01004105typedef void (GLAPIENTRYP _glptr_TexEnviv)(GLenum, GLenum, const GLint *);
4106#define CALL_TexEnviv(disp, parameters) \
4107 (* GET_TexEnviv(disp)) parameters
4108static INLINE _glptr_TexEnviv GET_TexEnviv(struct _glapi_table *disp) {
4109 return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv));
4110}
4111
4112static INLINE void SET_TexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004113 SET_by_offset(disp, _gloffset_TexEnviv, fn);
4114}
4115
José Fonseca075d2bf2011-05-19 17:44:06 +01004116typedef void (GLAPIENTRYP _glptr_TexGend)(GLenum, GLenum, GLdouble);
4117#define CALL_TexGend(disp, parameters) \
4118 (* GET_TexGend(disp)) parameters
4119static INLINE _glptr_TexGend GET_TexGend(struct _glapi_table *disp) {
4120 return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend));
4121}
4122
4123static INLINE void SET_TexGend(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004124 SET_by_offset(disp, _gloffset_TexGend, fn);
4125}
4126
José Fonseca075d2bf2011-05-19 17:44:06 +01004127typedef void (GLAPIENTRYP _glptr_TexGendv)(GLenum, GLenum, const GLdouble *);
4128#define CALL_TexGendv(disp, parameters) \
4129 (* GET_TexGendv(disp)) parameters
4130static INLINE _glptr_TexGendv GET_TexGendv(struct _glapi_table *disp) {
4131 return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv));
4132}
4133
4134static INLINE void SET_TexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004135 SET_by_offset(disp, _gloffset_TexGendv, fn);
4136}
4137
José Fonseca075d2bf2011-05-19 17:44:06 +01004138typedef void (GLAPIENTRYP _glptr_TexGenf)(GLenum, GLenum, GLfloat);
4139#define CALL_TexGenf(disp, parameters) \
4140 (* GET_TexGenf(disp)) parameters
4141static INLINE _glptr_TexGenf GET_TexGenf(struct _glapi_table *disp) {
4142 return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf));
4143}
4144
4145static INLINE void SET_TexGenf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004146 SET_by_offset(disp, _gloffset_TexGenf, fn);
4147}
4148
José Fonseca075d2bf2011-05-19 17:44:06 +01004149typedef void (GLAPIENTRYP _glptr_TexGenfv)(GLenum, GLenum, const GLfloat *);
4150#define CALL_TexGenfv(disp, parameters) \
4151 (* GET_TexGenfv(disp)) parameters
4152static INLINE _glptr_TexGenfv GET_TexGenfv(struct _glapi_table *disp) {
4153 return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv));
4154}
4155
4156static INLINE void SET_TexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004157 SET_by_offset(disp, _gloffset_TexGenfv, fn);
4158}
4159
José Fonseca075d2bf2011-05-19 17:44:06 +01004160typedef void (GLAPIENTRYP _glptr_TexGeni)(GLenum, GLenum, GLint);
4161#define CALL_TexGeni(disp, parameters) \
4162 (* GET_TexGeni(disp)) parameters
4163static INLINE _glptr_TexGeni GET_TexGeni(struct _glapi_table *disp) {
4164 return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni));
4165}
4166
4167static INLINE void SET_TexGeni(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004168 SET_by_offset(disp, _gloffset_TexGeni, fn);
4169}
4170
José Fonseca075d2bf2011-05-19 17:44:06 +01004171typedef void (GLAPIENTRYP _glptr_TexGeniv)(GLenum, GLenum, const GLint *);
4172#define CALL_TexGeniv(disp, parameters) \
4173 (* GET_TexGeniv(disp)) parameters
4174static INLINE _glptr_TexGeniv GET_TexGeniv(struct _glapi_table *disp) {
4175 return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv));
4176}
4177
4178static INLINE void SET_TexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004179 SET_by_offset(disp, _gloffset_TexGeniv, fn);
4180}
4181
José Fonseca075d2bf2011-05-19 17:44:06 +01004182typedef void (GLAPIENTRYP _glptr_FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
4183#define CALL_FeedbackBuffer(disp, parameters) \
4184 (* GET_FeedbackBuffer(disp)) parameters
4185static INLINE _glptr_FeedbackBuffer GET_FeedbackBuffer(struct _glapi_table *disp) {
4186 return (_glptr_FeedbackBuffer) (GET_by_offset(disp, _gloffset_FeedbackBuffer));
4187}
4188
4189static INLINE void SET_FeedbackBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004190 SET_by_offset(disp, _gloffset_FeedbackBuffer, fn);
4191}
4192
José Fonseca075d2bf2011-05-19 17:44:06 +01004193typedef void (GLAPIENTRYP _glptr_SelectBuffer)(GLsizei, GLuint *);
4194#define CALL_SelectBuffer(disp, parameters) \
4195 (* GET_SelectBuffer(disp)) parameters
4196static INLINE _glptr_SelectBuffer GET_SelectBuffer(struct _glapi_table *disp) {
4197 return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer));
4198}
4199
4200static INLINE void SET_SelectBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004201 SET_by_offset(disp, _gloffset_SelectBuffer, fn);
4202}
4203
José Fonseca075d2bf2011-05-19 17:44:06 +01004204typedef GLint (GLAPIENTRYP _glptr_RenderMode)(GLenum);
4205#define CALL_RenderMode(disp, parameters) \
4206 (* GET_RenderMode(disp)) parameters
4207static INLINE _glptr_RenderMode GET_RenderMode(struct _glapi_table *disp) {
4208 return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode));
4209}
4210
4211static INLINE void SET_RenderMode(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004212 SET_by_offset(disp, _gloffset_RenderMode, fn);
4213}
4214
José Fonseca075d2bf2011-05-19 17:44:06 +01004215typedef void (GLAPIENTRYP _glptr_InitNames)(void);
4216#define CALL_InitNames(disp, parameters) \
4217 (* GET_InitNames(disp)) parameters
4218static INLINE _glptr_InitNames GET_InitNames(struct _glapi_table *disp) {
4219 return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames));
4220}
4221
4222static INLINE void SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004223 SET_by_offset(disp, _gloffset_InitNames, fn);
4224}
4225
José Fonseca075d2bf2011-05-19 17:44:06 +01004226typedef void (GLAPIENTRYP _glptr_LoadName)(GLuint);
4227#define CALL_LoadName(disp, parameters) \
4228 (* GET_LoadName(disp)) parameters
4229static INLINE _glptr_LoadName GET_LoadName(struct _glapi_table *disp) {
4230 return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName));
4231}
4232
4233static INLINE void SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004234 SET_by_offset(disp, _gloffset_LoadName, fn);
4235}
4236
José Fonseca075d2bf2011-05-19 17:44:06 +01004237typedef void (GLAPIENTRYP _glptr_PassThrough)(GLfloat);
4238#define CALL_PassThrough(disp, parameters) \
4239 (* GET_PassThrough(disp)) parameters
4240static INLINE _glptr_PassThrough GET_PassThrough(struct _glapi_table *disp) {
4241 return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough));
4242}
4243
4244static INLINE void SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004245 SET_by_offset(disp, _gloffset_PassThrough, fn);
4246}
4247
José Fonseca075d2bf2011-05-19 17:44:06 +01004248typedef void (GLAPIENTRYP _glptr_PopName)(void);
4249#define CALL_PopName(disp, parameters) \
4250 (* GET_PopName(disp)) parameters
4251static INLINE _glptr_PopName GET_PopName(struct _glapi_table *disp) {
4252 return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName));
4253}
4254
4255static INLINE void SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004256 SET_by_offset(disp, _gloffset_PopName, fn);
4257}
4258
José Fonseca075d2bf2011-05-19 17:44:06 +01004259typedef void (GLAPIENTRYP _glptr_PushName)(GLuint);
4260#define CALL_PushName(disp, parameters) \
4261 (* GET_PushName(disp)) parameters
4262static INLINE _glptr_PushName GET_PushName(struct _glapi_table *disp) {
4263 return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName));
4264}
4265
4266static INLINE void SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004267 SET_by_offset(disp, _gloffset_PushName, fn);
4268}
4269
José Fonseca075d2bf2011-05-19 17:44:06 +01004270typedef void (GLAPIENTRYP _glptr_DrawBuffer)(GLenum);
4271#define CALL_DrawBuffer(disp, parameters) \
4272 (* GET_DrawBuffer(disp)) parameters
4273static INLINE _glptr_DrawBuffer GET_DrawBuffer(struct _glapi_table *disp) {
4274 return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer));
4275}
4276
4277static INLINE void SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004278 SET_by_offset(disp, _gloffset_DrawBuffer, fn);
4279}
4280
José Fonseca075d2bf2011-05-19 17:44:06 +01004281typedef void (GLAPIENTRYP _glptr_Clear)(GLbitfield);
4282#define CALL_Clear(disp, parameters) \
4283 (* GET_Clear(disp)) parameters
4284static INLINE _glptr_Clear GET_Clear(struct _glapi_table *disp) {
4285 return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear));
4286}
4287
4288static INLINE void SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004289 SET_by_offset(disp, _gloffset_Clear, fn);
4290}
4291
José Fonseca075d2bf2011-05-19 17:44:06 +01004292typedef void (GLAPIENTRYP _glptr_ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
4293#define CALL_ClearAccum(disp, parameters) \
4294 (* GET_ClearAccum(disp)) parameters
4295static INLINE _glptr_ClearAccum GET_ClearAccum(struct _glapi_table *disp) {
4296 return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum));
4297}
4298
4299static INLINE void SET_ClearAccum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004300 SET_by_offset(disp, _gloffset_ClearAccum, fn);
4301}
4302
José Fonseca075d2bf2011-05-19 17:44:06 +01004303typedef void (GLAPIENTRYP _glptr_ClearIndex)(GLfloat);
4304#define CALL_ClearIndex(disp, parameters) \
4305 (* GET_ClearIndex(disp)) parameters
4306static INLINE _glptr_ClearIndex GET_ClearIndex(struct _glapi_table *disp) {
4307 return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex));
4308}
4309
4310static INLINE void SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004311 SET_by_offset(disp, _gloffset_ClearIndex, fn);
4312}
4313
José Fonseca075d2bf2011-05-19 17:44:06 +01004314typedef void (GLAPIENTRYP _glptr_ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
4315#define CALL_ClearColor(disp, parameters) \
4316 (* GET_ClearColor(disp)) parameters
4317static INLINE _glptr_ClearColor GET_ClearColor(struct _glapi_table *disp) {
4318 return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor));
4319}
4320
4321static INLINE void SET_ClearColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004322 SET_by_offset(disp, _gloffset_ClearColor, fn);
4323}
4324
José Fonseca075d2bf2011-05-19 17:44:06 +01004325typedef void (GLAPIENTRYP _glptr_ClearStencil)(GLint);
4326#define CALL_ClearStencil(disp, parameters) \
4327 (* GET_ClearStencil(disp)) parameters
4328static INLINE _glptr_ClearStencil GET_ClearStencil(struct _glapi_table *disp) {
4329 return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil));
4330}
4331
4332static INLINE void SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004333 SET_by_offset(disp, _gloffset_ClearStencil, fn);
4334}
4335
José Fonseca075d2bf2011-05-19 17:44:06 +01004336typedef void (GLAPIENTRYP _glptr_ClearDepth)(GLclampd);
4337#define CALL_ClearDepth(disp, parameters) \
4338 (* GET_ClearDepth(disp)) parameters
4339static INLINE _glptr_ClearDepth GET_ClearDepth(struct _glapi_table *disp) {
4340 return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth));
4341}
4342
4343static INLINE void SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004344 SET_by_offset(disp, _gloffset_ClearDepth, fn);
4345}
4346
José Fonseca075d2bf2011-05-19 17:44:06 +01004347typedef void (GLAPIENTRYP _glptr_StencilMask)(GLuint);
4348#define CALL_StencilMask(disp, parameters) \
4349 (* GET_StencilMask(disp)) parameters
4350static INLINE _glptr_StencilMask GET_StencilMask(struct _glapi_table *disp) {
4351 return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask));
4352}
4353
4354static INLINE void SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004355 SET_by_offset(disp, _gloffset_StencilMask, fn);
4356}
4357
José Fonseca075d2bf2011-05-19 17:44:06 +01004358typedef void (GLAPIENTRYP _glptr_ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
4359#define CALL_ColorMask(disp, parameters) \
4360 (* GET_ColorMask(disp)) parameters
4361static INLINE _glptr_ColorMask GET_ColorMask(struct _glapi_table *disp) {
4362 return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask));
4363}
4364
4365static INLINE void SET_ColorMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean, GLboolean, GLboolean, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004366 SET_by_offset(disp, _gloffset_ColorMask, fn);
4367}
4368
José Fonseca075d2bf2011-05-19 17:44:06 +01004369typedef void (GLAPIENTRYP _glptr_DepthMask)(GLboolean);
4370#define CALL_DepthMask(disp, parameters) \
4371 (* GET_DepthMask(disp)) parameters
4372static INLINE _glptr_DepthMask GET_DepthMask(struct _glapi_table *disp) {
4373 return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask));
4374}
4375
4376static INLINE void SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004377 SET_by_offset(disp, _gloffset_DepthMask, fn);
4378}
4379
José Fonseca075d2bf2011-05-19 17:44:06 +01004380typedef void (GLAPIENTRYP _glptr_IndexMask)(GLuint);
4381#define CALL_IndexMask(disp, parameters) \
4382 (* GET_IndexMask(disp)) parameters
4383static INLINE _glptr_IndexMask GET_IndexMask(struct _glapi_table *disp) {
4384 return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask));
4385}
4386
4387static INLINE void SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004388 SET_by_offset(disp, _gloffset_IndexMask, fn);
4389}
4390
José Fonseca075d2bf2011-05-19 17:44:06 +01004391typedef void (GLAPIENTRYP _glptr_Accum)(GLenum, GLfloat);
4392#define CALL_Accum(disp, parameters) \
4393 (* GET_Accum(disp)) parameters
4394static INLINE _glptr_Accum GET_Accum(struct _glapi_table *disp) {
4395 return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum));
4396}
4397
4398static INLINE void SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004399 SET_by_offset(disp, _gloffset_Accum, fn);
4400}
4401
José Fonseca075d2bf2011-05-19 17:44:06 +01004402typedef void (GLAPIENTRYP _glptr_Disable)(GLenum);
4403#define CALL_Disable(disp, parameters) \
4404 (* GET_Disable(disp)) parameters
4405static INLINE _glptr_Disable GET_Disable(struct _glapi_table *disp) {
4406 return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable));
4407}
4408
4409static INLINE void SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004410 SET_by_offset(disp, _gloffset_Disable, fn);
4411}
4412
José Fonseca075d2bf2011-05-19 17:44:06 +01004413typedef void (GLAPIENTRYP _glptr_Enable)(GLenum);
4414#define CALL_Enable(disp, parameters) \
4415 (* GET_Enable(disp)) parameters
4416static INLINE _glptr_Enable GET_Enable(struct _glapi_table *disp) {
4417 return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable));
4418}
4419
4420static INLINE void SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004421 SET_by_offset(disp, _gloffset_Enable, fn);
4422}
4423
José Fonseca075d2bf2011-05-19 17:44:06 +01004424typedef void (GLAPIENTRYP _glptr_Finish)(void);
4425#define CALL_Finish(disp, parameters) \
4426 (* GET_Finish(disp)) parameters
4427static INLINE _glptr_Finish GET_Finish(struct _glapi_table *disp) {
4428 return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish));
4429}
4430
4431static INLINE void SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004432 SET_by_offset(disp, _gloffset_Finish, fn);
4433}
4434
José Fonseca075d2bf2011-05-19 17:44:06 +01004435typedef void (GLAPIENTRYP _glptr_Flush)(void);
4436#define CALL_Flush(disp, parameters) \
4437 (* GET_Flush(disp)) parameters
4438static INLINE _glptr_Flush GET_Flush(struct _glapi_table *disp) {
4439 return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush));
4440}
4441
4442static INLINE void SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004443 SET_by_offset(disp, _gloffset_Flush, fn);
4444}
4445
José Fonseca075d2bf2011-05-19 17:44:06 +01004446typedef void (GLAPIENTRYP _glptr_PopAttrib)(void);
4447#define CALL_PopAttrib(disp, parameters) \
4448 (* GET_PopAttrib(disp)) parameters
4449static INLINE _glptr_PopAttrib GET_PopAttrib(struct _glapi_table *disp) {
4450 return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib));
4451}
4452
4453static INLINE void SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004454 SET_by_offset(disp, _gloffset_PopAttrib, fn);
4455}
4456
José Fonseca075d2bf2011-05-19 17:44:06 +01004457typedef void (GLAPIENTRYP _glptr_PushAttrib)(GLbitfield);
4458#define CALL_PushAttrib(disp, parameters) \
4459 (* GET_PushAttrib(disp)) parameters
4460static INLINE _glptr_PushAttrib GET_PushAttrib(struct _glapi_table *disp) {
4461 return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib));
4462}
4463
4464static INLINE void SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004465 SET_by_offset(disp, _gloffset_PushAttrib, fn);
4466}
4467
José Fonseca075d2bf2011-05-19 17:44:06 +01004468typedef void (GLAPIENTRYP _glptr_Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
4469#define CALL_Map1d(disp, parameters) \
4470 (* GET_Map1d(disp)) parameters
4471static INLINE _glptr_Map1d GET_Map1d(struct _glapi_table *disp) {
4472 return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d));
4473}
4474
4475static INLINE void SET_Map1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004476 SET_by_offset(disp, _gloffset_Map1d, fn);
4477}
4478
José Fonseca075d2bf2011-05-19 17:44:06 +01004479typedef void (GLAPIENTRYP _glptr_Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
4480#define CALL_Map1f(disp, parameters) \
4481 (* GET_Map1f(disp)) parameters
4482static INLINE _glptr_Map1f GET_Map1f(struct _glapi_table *disp) {
4483 return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f));
4484}
4485
4486static INLINE void SET_Map1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004487 SET_by_offset(disp, _gloffset_Map1f, fn);
4488}
4489
José Fonseca075d2bf2011-05-19 17:44:06 +01004490typedef 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
4493static INLINE _glptr_Map2d GET_Map2d(struct _glapi_table *disp) {
4494 return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d));
4495}
4496
4497static INLINE void SET_Map2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004498 SET_by_offset(disp, _gloffset_Map2d, fn);
4499}
4500
José Fonseca075d2bf2011-05-19 17:44:06 +01004501typedef 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
4504static INLINE _glptr_Map2f GET_Map2f(struct _glapi_table *disp) {
4505 return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f));
4506}
4507
4508static INLINE void SET_Map2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004509 SET_by_offset(disp, _gloffset_Map2f, fn);
4510}
4511
José Fonseca075d2bf2011-05-19 17:44:06 +01004512typedef void (GLAPIENTRYP _glptr_MapGrid1d)(GLint, GLdouble, GLdouble);
4513#define CALL_MapGrid1d(disp, parameters) \
4514 (* GET_MapGrid1d(disp)) parameters
4515static INLINE _glptr_MapGrid1d GET_MapGrid1d(struct _glapi_table *disp) {
4516 return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d));
4517}
4518
4519static INLINE void SET_MapGrid1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004520 SET_by_offset(disp, _gloffset_MapGrid1d, fn);
4521}
4522
José Fonseca075d2bf2011-05-19 17:44:06 +01004523typedef void (GLAPIENTRYP _glptr_MapGrid1f)(GLint, GLfloat, GLfloat);
4524#define CALL_MapGrid1f(disp, parameters) \
4525 (* GET_MapGrid1f(disp)) parameters
4526static INLINE _glptr_MapGrid1f GET_MapGrid1f(struct _glapi_table *disp) {
4527 return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f));
4528}
4529
4530static INLINE void SET_MapGrid1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004531 SET_by_offset(disp, _gloffset_MapGrid1f, fn);
4532}
4533
José Fonseca075d2bf2011-05-19 17:44:06 +01004534typedef void (GLAPIENTRYP _glptr_MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
4535#define CALL_MapGrid2d(disp, parameters) \
4536 (* GET_MapGrid2d(disp)) parameters
4537static INLINE _glptr_MapGrid2d GET_MapGrid2d(struct _glapi_table *disp) {
4538 return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d));
4539}
4540
4541static INLINE void SET_MapGrid2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004542 SET_by_offset(disp, _gloffset_MapGrid2d, fn);
4543}
4544
José Fonseca075d2bf2011-05-19 17:44:06 +01004545typedef void (GLAPIENTRYP _glptr_MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
4546#define CALL_MapGrid2f(disp, parameters) \
4547 (* GET_MapGrid2f(disp)) parameters
4548static INLINE _glptr_MapGrid2f GET_MapGrid2f(struct _glapi_table *disp) {
4549 return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f));
4550}
4551
4552static INLINE void SET_MapGrid2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004553 SET_by_offset(disp, _gloffset_MapGrid2f, fn);
4554}
4555
José Fonseca075d2bf2011-05-19 17:44:06 +01004556typedef void (GLAPIENTRYP _glptr_EvalCoord1d)(GLdouble);
4557#define CALL_EvalCoord1d(disp, parameters) \
4558 (* GET_EvalCoord1d(disp)) parameters
4559static INLINE _glptr_EvalCoord1d GET_EvalCoord1d(struct _glapi_table *disp) {
4560 return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d));
4561}
4562
4563static INLINE void SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004564 SET_by_offset(disp, _gloffset_EvalCoord1d, fn);
4565}
4566
José Fonseca075d2bf2011-05-19 17:44:06 +01004567typedef void (GLAPIENTRYP _glptr_EvalCoord1dv)(const GLdouble *);
4568#define CALL_EvalCoord1dv(disp, parameters) \
4569 (* GET_EvalCoord1dv(disp)) parameters
4570static INLINE _glptr_EvalCoord1dv GET_EvalCoord1dv(struct _glapi_table *disp) {
4571 return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv));
4572}
4573
4574static INLINE void SET_EvalCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004575 SET_by_offset(disp, _gloffset_EvalCoord1dv, fn);
4576}
4577
José Fonseca075d2bf2011-05-19 17:44:06 +01004578typedef void (GLAPIENTRYP _glptr_EvalCoord1f)(GLfloat);
4579#define CALL_EvalCoord1f(disp, parameters) \
4580 (* GET_EvalCoord1f(disp)) parameters
4581static INLINE _glptr_EvalCoord1f GET_EvalCoord1f(struct _glapi_table *disp) {
4582 return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f));
4583}
4584
4585static INLINE void SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004586 SET_by_offset(disp, _gloffset_EvalCoord1f, fn);
4587}
4588
José Fonseca075d2bf2011-05-19 17:44:06 +01004589typedef void (GLAPIENTRYP _glptr_EvalCoord1fv)(const GLfloat *);
4590#define CALL_EvalCoord1fv(disp, parameters) \
4591 (* GET_EvalCoord1fv(disp)) parameters
4592static INLINE _glptr_EvalCoord1fv GET_EvalCoord1fv(struct _glapi_table *disp) {
4593 return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv));
4594}
4595
4596static INLINE void SET_EvalCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004597 SET_by_offset(disp, _gloffset_EvalCoord1fv, fn);
4598}
4599
José Fonseca075d2bf2011-05-19 17:44:06 +01004600typedef void (GLAPIENTRYP _glptr_EvalCoord2d)(GLdouble, GLdouble);
4601#define CALL_EvalCoord2d(disp, parameters) \
4602 (* GET_EvalCoord2d(disp)) parameters
4603static INLINE _glptr_EvalCoord2d GET_EvalCoord2d(struct _glapi_table *disp) {
4604 return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d));
4605}
4606
4607static INLINE void SET_EvalCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004608 SET_by_offset(disp, _gloffset_EvalCoord2d, fn);
4609}
4610
José Fonseca075d2bf2011-05-19 17:44:06 +01004611typedef void (GLAPIENTRYP _glptr_EvalCoord2dv)(const GLdouble *);
4612#define CALL_EvalCoord2dv(disp, parameters) \
4613 (* GET_EvalCoord2dv(disp)) parameters
4614static INLINE _glptr_EvalCoord2dv GET_EvalCoord2dv(struct _glapi_table *disp) {
4615 return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv));
4616}
4617
4618static INLINE void SET_EvalCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004619 SET_by_offset(disp, _gloffset_EvalCoord2dv, fn);
4620}
4621
José Fonseca075d2bf2011-05-19 17:44:06 +01004622typedef void (GLAPIENTRYP _glptr_EvalCoord2f)(GLfloat, GLfloat);
4623#define CALL_EvalCoord2f(disp, parameters) \
4624 (* GET_EvalCoord2f(disp)) parameters
4625static INLINE _glptr_EvalCoord2f GET_EvalCoord2f(struct _glapi_table *disp) {
4626 return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f));
4627}
4628
4629static INLINE void SET_EvalCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004630 SET_by_offset(disp, _gloffset_EvalCoord2f, fn);
4631}
4632
José Fonseca075d2bf2011-05-19 17:44:06 +01004633typedef void (GLAPIENTRYP _glptr_EvalCoord2fv)(const GLfloat *);
4634#define CALL_EvalCoord2fv(disp, parameters) \
4635 (* GET_EvalCoord2fv(disp)) parameters
4636static INLINE _glptr_EvalCoord2fv GET_EvalCoord2fv(struct _glapi_table *disp) {
4637 return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv));
4638}
4639
4640static INLINE void SET_EvalCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004641 SET_by_offset(disp, _gloffset_EvalCoord2fv, fn);
4642}
4643
José Fonseca075d2bf2011-05-19 17:44:06 +01004644typedef void (GLAPIENTRYP _glptr_EvalMesh1)(GLenum, GLint, GLint);
4645#define CALL_EvalMesh1(disp, parameters) \
4646 (* GET_EvalMesh1(disp)) parameters
4647static INLINE _glptr_EvalMesh1 GET_EvalMesh1(struct _glapi_table *disp) {
4648 return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1));
4649}
4650
4651static INLINE void SET_EvalMesh1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004652 SET_by_offset(disp, _gloffset_EvalMesh1, fn);
4653}
4654
José Fonseca075d2bf2011-05-19 17:44:06 +01004655typedef void (GLAPIENTRYP _glptr_EvalPoint1)(GLint);
4656#define CALL_EvalPoint1(disp, parameters) \
4657 (* GET_EvalPoint1(disp)) parameters
4658static INLINE _glptr_EvalPoint1 GET_EvalPoint1(struct _glapi_table *disp) {
4659 return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1));
4660}
4661
4662static INLINE void SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004663 SET_by_offset(disp, _gloffset_EvalPoint1, fn);
4664}
4665
José Fonseca075d2bf2011-05-19 17:44:06 +01004666typedef void (GLAPIENTRYP _glptr_EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
4667#define CALL_EvalMesh2(disp, parameters) \
4668 (* GET_EvalMesh2(disp)) parameters
4669static INLINE _glptr_EvalMesh2 GET_EvalMesh2(struct _glapi_table *disp) {
4670 return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2));
4671}
4672
4673static INLINE void SET_EvalMesh2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004674 SET_by_offset(disp, _gloffset_EvalMesh2, fn);
4675}
4676
José Fonseca075d2bf2011-05-19 17:44:06 +01004677typedef void (GLAPIENTRYP _glptr_EvalPoint2)(GLint, GLint);
4678#define CALL_EvalPoint2(disp, parameters) \
4679 (* GET_EvalPoint2(disp)) parameters
4680static INLINE _glptr_EvalPoint2 GET_EvalPoint2(struct _glapi_table *disp) {
4681 return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2));
4682}
4683
4684static INLINE void SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004685 SET_by_offset(disp, _gloffset_EvalPoint2, fn);
4686}
4687
José Fonseca075d2bf2011-05-19 17:44:06 +01004688typedef void (GLAPIENTRYP _glptr_AlphaFunc)(GLenum, GLclampf);
4689#define CALL_AlphaFunc(disp, parameters) \
4690 (* GET_AlphaFunc(disp)) parameters
4691static INLINE _glptr_AlphaFunc GET_AlphaFunc(struct _glapi_table *disp) {
4692 return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc));
4693}
4694
4695static INLINE void SET_AlphaFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampf)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004696 SET_by_offset(disp, _gloffset_AlphaFunc, fn);
4697}
4698
José Fonseca075d2bf2011-05-19 17:44:06 +01004699typedef void (GLAPIENTRYP _glptr_BlendFunc)(GLenum, GLenum);
4700#define CALL_BlendFunc(disp, parameters) \
4701 (* GET_BlendFunc(disp)) parameters
4702static INLINE _glptr_BlendFunc GET_BlendFunc(struct _glapi_table *disp) {
4703 return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc));
4704}
4705
4706static INLINE void SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004707 SET_by_offset(disp, _gloffset_BlendFunc, fn);
4708}
4709
José Fonseca075d2bf2011-05-19 17:44:06 +01004710typedef void (GLAPIENTRYP _glptr_LogicOp)(GLenum);
4711#define CALL_LogicOp(disp, parameters) \
4712 (* GET_LogicOp(disp)) parameters
4713static INLINE _glptr_LogicOp GET_LogicOp(struct _glapi_table *disp) {
4714 return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp));
4715}
4716
4717static INLINE void SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004718 SET_by_offset(disp, _gloffset_LogicOp, fn);
4719}
4720
José Fonseca075d2bf2011-05-19 17:44:06 +01004721typedef void (GLAPIENTRYP _glptr_StencilFunc)(GLenum, GLint, GLuint);
4722#define CALL_StencilFunc(disp, parameters) \
4723 (* GET_StencilFunc(disp)) parameters
4724static INLINE _glptr_StencilFunc GET_StencilFunc(struct _glapi_table *disp) {
4725 return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc));
4726}
4727
4728static INLINE void SET_StencilFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004729 SET_by_offset(disp, _gloffset_StencilFunc, fn);
4730}
4731
José Fonseca075d2bf2011-05-19 17:44:06 +01004732typedef void (GLAPIENTRYP _glptr_StencilOp)(GLenum, GLenum, GLenum);
4733#define CALL_StencilOp(disp, parameters) \
4734 (* GET_StencilOp(disp)) parameters
4735static INLINE _glptr_StencilOp GET_StencilOp(struct _glapi_table *disp) {
4736 return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp));
4737}
4738
4739static INLINE void SET_StencilOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004740 SET_by_offset(disp, _gloffset_StencilOp, fn);
4741}
4742
José Fonseca075d2bf2011-05-19 17:44:06 +01004743typedef void (GLAPIENTRYP _glptr_DepthFunc)(GLenum);
4744#define CALL_DepthFunc(disp, parameters) \
4745 (* GET_DepthFunc(disp)) parameters
4746static INLINE _glptr_DepthFunc GET_DepthFunc(struct _glapi_table *disp) {
4747 return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc));
4748}
4749
4750static INLINE void SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004751 SET_by_offset(disp, _gloffset_DepthFunc, fn);
4752}
4753
José Fonseca075d2bf2011-05-19 17:44:06 +01004754typedef void (GLAPIENTRYP _glptr_PixelZoom)(GLfloat, GLfloat);
4755#define CALL_PixelZoom(disp, parameters) \
4756 (* GET_PixelZoom(disp)) parameters
4757static INLINE _glptr_PixelZoom GET_PixelZoom(struct _glapi_table *disp) {
4758 return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom));
4759}
4760
4761static INLINE void SET_PixelZoom(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004762 SET_by_offset(disp, _gloffset_PixelZoom, fn);
4763}
4764
José Fonseca075d2bf2011-05-19 17:44:06 +01004765typedef void (GLAPIENTRYP _glptr_PixelTransferf)(GLenum, GLfloat);
4766#define CALL_PixelTransferf(disp, parameters) \
4767 (* GET_PixelTransferf(disp)) parameters
4768static INLINE _glptr_PixelTransferf GET_PixelTransferf(struct _glapi_table *disp) {
4769 return (_glptr_PixelTransferf) (GET_by_offset(disp, _gloffset_PixelTransferf));
4770}
4771
4772static INLINE void SET_PixelTransferf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004773 SET_by_offset(disp, _gloffset_PixelTransferf, fn);
4774}
4775
José Fonseca075d2bf2011-05-19 17:44:06 +01004776typedef void (GLAPIENTRYP _glptr_PixelTransferi)(GLenum, GLint);
4777#define CALL_PixelTransferi(disp, parameters) \
4778 (* GET_PixelTransferi(disp)) parameters
4779static INLINE _glptr_PixelTransferi GET_PixelTransferi(struct _glapi_table *disp) {
4780 return (_glptr_PixelTransferi) (GET_by_offset(disp, _gloffset_PixelTransferi));
4781}
4782
4783static INLINE void SET_PixelTransferi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004784 SET_by_offset(disp, _gloffset_PixelTransferi, fn);
4785}
4786
José Fonseca075d2bf2011-05-19 17:44:06 +01004787typedef void (GLAPIENTRYP _glptr_PixelStoref)(GLenum, GLfloat);
4788#define CALL_PixelStoref(disp, parameters) \
4789 (* GET_PixelStoref(disp)) parameters
4790static INLINE _glptr_PixelStoref GET_PixelStoref(struct _glapi_table *disp) {
4791 return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref));
4792}
4793
4794static INLINE void SET_PixelStoref(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004795 SET_by_offset(disp, _gloffset_PixelStoref, fn);
4796}
4797
José Fonseca075d2bf2011-05-19 17:44:06 +01004798typedef void (GLAPIENTRYP _glptr_PixelStorei)(GLenum, GLint);
4799#define CALL_PixelStorei(disp, parameters) \
4800 (* GET_PixelStorei(disp)) parameters
4801static INLINE _glptr_PixelStorei GET_PixelStorei(struct _glapi_table *disp) {
4802 return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei));
4803}
4804
4805static INLINE void SET_PixelStorei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004806 SET_by_offset(disp, _gloffset_PixelStorei, fn);
4807}
4808
José Fonseca075d2bf2011-05-19 17:44:06 +01004809typedef void (GLAPIENTRYP _glptr_PixelMapfv)(GLenum, GLsizei, const GLfloat *);
4810#define CALL_PixelMapfv(disp, parameters) \
4811 (* GET_PixelMapfv(disp)) parameters
4812static INLINE _glptr_PixelMapfv GET_PixelMapfv(struct _glapi_table *disp) {
4813 return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv));
4814}
4815
4816static INLINE void SET_PixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004817 SET_by_offset(disp, _gloffset_PixelMapfv, fn);
4818}
4819
José Fonseca075d2bf2011-05-19 17:44:06 +01004820typedef void (GLAPIENTRYP _glptr_PixelMapuiv)(GLenum, GLsizei, const GLuint *);
4821#define CALL_PixelMapuiv(disp, parameters) \
4822 (* GET_PixelMapuiv(disp)) parameters
4823static INLINE _glptr_PixelMapuiv GET_PixelMapuiv(struct _glapi_table *disp) {
4824 return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv));
4825}
4826
4827static INLINE void SET_PixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004828 SET_by_offset(disp, _gloffset_PixelMapuiv, fn);
4829}
4830
José Fonseca075d2bf2011-05-19 17:44:06 +01004831typedef void (GLAPIENTRYP _glptr_PixelMapusv)(GLenum, GLsizei, const GLushort *);
4832#define CALL_PixelMapusv(disp, parameters) \
4833 (* GET_PixelMapusv(disp)) parameters
4834static INLINE _glptr_PixelMapusv GET_PixelMapusv(struct _glapi_table *disp) {
4835 return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv));
4836}
4837
4838static INLINE void SET_PixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004839 SET_by_offset(disp, _gloffset_PixelMapusv, fn);
4840}
4841
José Fonseca075d2bf2011-05-19 17:44:06 +01004842typedef void (GLAPIENTRYP _glptr_ReadBuffer)(GLenum);
4843#define CALL_ReadBuffer(disp, parameters) \
4844 (* GET_ReadBuffer(disp)) parameters
4845static INLINE _glptr_ReadBuffer GET_ReadBuffer(struct _glapi_table *disp) {
4846 return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer));
4847}
4848
4849static INLINE void SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004850 SET_by_offset(disp, _gloffset_ReadBuffer, fn);
4851}
4852
José Fonseca075d2bf2011-05-19 17:44:06 +01004853typedef void (GLAPIENTRYP _glptr_CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
4854#define CALL_CopyPixels(disp, parameters) \
4855 (* GET_CopyPixels(disp)) parameters
4856static INLINE _glptr_CopyPixels GET_CopyPixels(struct _glapi_table *disp) {
4857 return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels));
4858}
4859
4860static INLINE void SET_CopyPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004861 SET_by_offset(disp, _gloffset_CopyPixels, fn);
4862}
4863
José Fonseca075d2bf2011-05-19 17:44:06 +01004864typedef void (GLAPIENTRYP _glptr_ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
4865#define CALL_ReadPixels(disp, parameters) \
4866 (* GET_ReadPixels(disp)) parameters
4867static INLINE _glptr_ReadPixels GET_ReadPixels(struct _glapi_table *disp) {
4868 return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels));
4869}
4870
4871static INLINE void SET_ReadPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004872 SET_by_offset(disp, _gloffset_ReadPixels, fn);
4873}
4874
José Fonseca075d2bf2011-05-19 17:44:06 +01004875typedef void (GLAPIENTRYP _glptr_DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4876#define CALL_DrawPixels(disp, parameters) \
4877 (* GET_DrawPixels(disp)) parameters
4878static INLINE _glptr_DrawPixels GET_DrawPixels(struct _glapi_table *disp) {
4879 return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels));
4880}
4881
4882static INLINE void SET_DrawPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004883 SET_by_offset(disp, _gloffset_DrawPixels, fn);
4884}
4885
José Fonseca075d2bf2011-05-19 17:44:06 +01004886typedef void (GLAPIENTRYP _glptr_GetBooleanv)(GLenum, GLboolean *);
4887#define CALL_GetBooleanv(disp, parameters) \
4888 (* GET_GetBooleanv(disp)) parameters
4889static INLINE _glptr_GetBooleanv GET_GetBooleanv(struct _glapi_table *disp) {
4890 return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv));
4891}
4892
4893static INLINE void SET_GetBooleanv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004894 SET_by_offset(disp, _gloffset_GetBooleanv, fn);
4895}
4896
José Fonseca075d2bf2011-05-19 17:44:06 +01004897typedef void (GLAPIENTRYP _glptr_GetClipPlane)(GLenum, GLdouble *);
4898#define CALL_GetClipPlane(disp, parameters) \
4899 (* GET_GetClipPlane(disp)) parameters
4900static INLINE _glptr_GetClipPlane GET_GetClipPlane(struct _glapi_table *disp) {
4901 return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane));
4902}
4903
4904static INLINE void SET_GetClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004905 SET_by_offset(disp, _gloffset_GetClipPlane, fn);
4906}
4907
José Fonseca075d2bf2011-05-19 17:44:06 +01004908typedef void (GLAPIENTRYP _glptr_GetDoublev)(GLenum, GLdouble *);
4909#define CALL_GetDoublev(disp, parameters) \
4910 (* GET_GetDoublev(disp)) parameters
4911static INLINE _glptr_GetDoublev GET_GetDoublev(struct _glapi_table *disp) {
4912 return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev));
4913}
4914
4915static INLINE void SET_GetDoublev(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004916 SET_by_offset(disp, _gloffset_GetDoublev, fn);
4917}
4918
José Fonseca075d2bf2011-05-19 17:44:06 +01004919typedef GLenum (GLAPIENTRYP _glptr_GetError)(void);
4920#define CALL_GetError(disp, parameters) \
4921 (* GET_GetError(disp)) parameters
4922static INLINE _glptr_GetError GET_GetError(struct _glapi_table *disp) {
4923 return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError));
4924}
4925
4926static INLINE void SET_GetError(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004927 SET_by_offset(disp, _gloffset_GetError, fn);
4928}
4929
José Fonseca075d2bf2011-05-19 17:44:06 +01004930typedef void (GLAPIENTRYP _glptr_GetFloatv)(GLenum, GLfloat *);
4931#define CALL_GetFloatv(disp, parameters) \
4932 (* GET_GetFloatv(disp)) parameters
4933static INLINE _glptr_GetFloatv GET_GetFloatv(struct _glapi_table *disp) {
4934 return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv));
4935}
4936
4937static INLINE void SET_GetFloatv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004938 SET_by_offset(disp, _gloffset_GetFloatv, fn);
4939}
4940
José Fonseca075d2bf2011-05-19 17:44:06 +01004941typedef void (GLAPIENTRYP _glptr_GetIntegerv)(GLenum, GLint *);
4942#define CALL_GetIntegerv(disp, parameters) \
4943 (* GET_GetIntegerv(disp)) parameters
4944static INLINE _glptr_GetIntegerv GET_GetIntegerv(struct _glapi_table *disp) {
4945 return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv));
4946}
4947
4948static INLINE void SET_GetIntegerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004949 SET_by_offset(disp, _gloffset_GetIntegerv, fn);
4950}
4951
José Fonseca075d2bf2011-05-19 17:44:06 +01004952typedef void (GLAPIENTRYP _glptr_GetLightfv)(GLenum, GLenum, GLfloat *);
4953#define CALL_GetLightfv(disp, parameters) \
4954 (* GET_GetLightfv(disp)) parameters
4955static INLINE _glptr_GetLightfv GET_GetLightfv(struct _glapi_table *disp) {
4956 return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv));
4957}
4958
4959static INLINE void SET_GetLightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004960 SET_by_offset(disp, _gloffset_GetLightfv, fn);
4961}
4962
José Fonseca075d2bf2011-05-19 17:44:06 +01004963typedef void (GLAPIENTRYP _glptr_GetLightiv)(GLenum, GLenum, GLint *);
4964#define CALL_GetLightiv(disp, parameters) \
4965 (* GET_GetLightiv(disp)) parameters
4966static INLINE _glptr_GetLightiv GET_GetLightiv(struct _glapi_table *disp) {
4967 return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv));
4968}
4969
4970static INLINE void SET_GetLightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004971 SET_by_offset(disp, _gloffset_GetLightiv, fn);
4972}
4973
José Fonseca075d2bf2011-05-19 17:44:06 +01004974typedef void (GLAPIENTRYP _glptr_GetMapdv)(GLenum, GLenum, GLdouble *);
4975#define CALL_GetMapdv(disp, parameters) \
4976 (* GET_GetMapdv(disp)) parameters
4977static INLINE _glptr_GetMapdv GET_GetMapdv(struct _glapi_table *disp) {
4978 return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv));
4979}
4980
4981static INLINE void SET_GetMapdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004982 SET_by_offset(disp, _gloffset_GetMapdv, fn);
4983}
4984
José Fonseca075d2bf2011-05-19 17:44:06 +01004985typedef void (GLAPIENTRYP _glptr_GetMapfv)(GLenum, GLenum, GLfloat *);
4986#define CALL_GetMapfv(disp, parameters) \
4987 (* GET_GetMapfv(disp)) parameters
4988static INLINE _glptr_GetMapfv GET_GetMapfv(struct _glapi_table *disp) {
4989 return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv));
4990}
4991
4992static INLINE void SET_GetMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01004993 SET_by_offset(disp, _gloffset_GetMapfv, fn);
4994}
4995
José Fonseca075d2bf2011-05-19 17:44:06 +01004996typedef void (GLAPIENTRYP _glptr_GetMapiv)(GLenum, GLenum, GLint *);
4997#define CALL_GetMapiv(disp, parameters) \
4998 (* GET_GetMapiv(disp)) parameters
4999static INLINE _glptr_GetMapiv GET_GetMapiv(struct _glapi_table *disp) {
5000 return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv));
5001}
5002
5003static INLINE void SET_GetMapiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005004 SET_by_offset(disp, _gloffset_GetMapiv, fn);
5005}
5006
José Fonseca075d2bf2011-05-19 17:44:06 +01005007typedef void (GLAPIENTRYP _glptr_GetMaterialfv)(GLenum, GLenum, GLfloat *);
5008#define CALL_GetMaterialfv(disp, parameters) \
5009 (* GET_GetMaterialfv(disp)) parameters
5010static INLINE _glptr_GetMaterialfv GET_GetMaterialfv(struct _glapi_table *disp) {
5011 return (_glptr_GetMaterialfv) (GET_by_offset(disp, _gloffset_GetMaterialfv));
5012}
5013
5014static INLINE void SET_GetMaterialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005015 SET_by_offset(disp, _gloffset_GetMaterialfv, fn);
5016}
5017
José Fonseca075d2bf2011-05-19 17:44:06 +01005018typedef void (GLAPIENTRYP _glptr_GetMaterialiv)(GLenum, GLenum, GLint *);
5019#define CALL_GetMaterialiv(disp, parameters) \
5020 (* GET_GetMaterialiv(disp)) parameters
5021static INLINE _glptr_GetMaterialiv GET_GetMaterialiv(struct _glapi_table *disp) {
5022 return (_glptr_GetMaterialiv) (GET_by_offset(disp, _gloffset_GetMaterialiv));
5023}
5024
5025static INLINE void SET_GetMaterialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005026 SET_by_offset(disp, _gloffset_GetMaterialiv, fn);
5027}
5028
José Fonseca075d2bf2011-05-19 17:44:06 +01005029typedef void (GLAPIENTRYP _glptr_GetPixelMapfv)(GLenum, GLfloat *);
5030#define CALL_GetPixelMapfv(disp, parameters) \
5031 (* GET_GetPixelMapfv(disp)) parameters
5032static INLINE _glptr_GetPixelMapfv GET_GetPixelMapfv(struct _glapi_table *disp) {
5033 return (_glptr_GetPixelMapfv) (GET_by_offset(disp, _gloffset_GetPixelMapfv));
5034}
5035
5036static INLINE void SET_GetPixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005037 SET_by_offset(disp, _gloffset_GetPixelMapfv, fn);
5038}
5039
José Fonseca075d2bf2011-05-19 17:44:06 +01005040typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv)(GLenum, GLuint *);
5041#define CALL_GetPixelMapuiv(disp, parameters) \
5042 (* GET_GetPixelMapuiv(disp)) parameters
5043static INLINE _glptr_GetPixelMapuiv GET_GetPixelMapuiv(struct _glapi_table *disp) {
5044 return (_glptr_GetPixelMapuiv) (GET_by_offset(disp, _gloffset_GetPixelMapuiv));
5045}
5046
5047static INLINE void SET_GetPixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005048 SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn);
5049}
5050
José Fonseca075d2bf2011-05-19 17:44:06 +01005051typedef void (GLAPIENTRYP _glptr_GetPixelMapusv)(GLenum, GLushort *);
5052#define CALL_GetPixelMapusv(disp, parameters) \
5053 (* GET_GetPixelMapusv(disp)) parameters
5054static INLINE _glptr_GetPixelMapusv GET_GetPixelMapusv(struct _glapi_table *disp) {
5055 return (_glptr_GetPixelMapusv) (GET_by_offset(disp, _gloffset_GetPixelMapusv));
5056}
5057
5058static INLINE void SET_GetPixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005059 SET_by_offset(disp, _gloffset_GetPixelMapusv, fn);
5060}
5061
José Fonseca075d2bf2011-05-19 17:44:06 +01005062typedef void (GLAPIENTRYP _glptr_GetPolygonStipple)(GLubyte *);
5063#define CALL_GetPolygonStipple(disp, parameters) \
5064 (* GET_GetPolygonStipple(disp)) parameters
5065static INLINE _glptr_GetPolygonStipple GET_GetPolygonStipple(struct _glapi_table *disp) {
5066 return (_glptr_GetPolygonStipple) (GET_by_offset(disp, _gloffset_GetPolygonStipple));
5067}
5068
5069static INLINE void SET_GetPolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005070 SET_by_offset(disp, _gloffset_GetPolygonStipple, fn);
5071}
5072
José Fonseca075d2bf2011-05-19 17:44:06 +01005073typedef const GLubyte * (GLAPIENTRYP _glptr_GetString)(GLenum);
5074#define CALL_GetString(disp, parameters) \
5075 (* GET_GetString(disp)) parameters
5076static INLINE _glptr_GetString GET_GetString(struct _glapi_table *disp) {
5077 return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString));
5078}
5079
5080static INLINE void SET_GetString(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005081 SET_by_offset(disp, _gloffset_GetString, fn);
5082}
5083
José Fonseca075d2bf2011-05-19 17:44:06 +01005084typedef void (GLAPIENTRYP _glptr_GetTexEnvfv)(GLenum, GLenum, GLfloat *);
5085#define CALL_GetTexEnvfv(disp, parameters) \
5086 (* GET_GetTexEnvfv(disp)) parameters
5087static INLINE _glptr_GetTexEnvfv GET_GetTexEnvfv(struct _glapi_table *disp) {
5088 return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv));
5089}
5090
5091static INLINE void SET_GetTexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005092 SET_by_offset(disp, _gloffset_GetTexEnvfv, fn);
5093}
5094
José Fonseca075d2bf2011-05-19 17:44:06 +01005095typedef void (GLAPIENTRYP _glptr_GetTexEnviv)(GLenum, GLenum, GLint *);
5096#define CALL_GetTexEnviv(disp, parameters) \
5097 (* GET_GetTexEnviv(disp)) parameters
5098static INLINE _glptr_GetTexEnviv GET_GetTexEnviv(struct _glapi_table *disp) {
5099 return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv));
5100}
5101
5102static INLINE void SET_GetTexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005103 SET_by_offset(disp, _gloffset_GetTexEnviv, fn);
5104}
5105
José Fonseca075d2bf2011-05-19 17:44:06 +01005106typedef void (GLAPIENTRYP _glptr_GetTexGendv)(GLenum, GLenum, GLdouble *);
5107#define CALL_GetTexGendv(disp, parameters) \
5108 (* GET_GetTexGendv(disp)) parameters
5109static INLINE _glptr_GetTexGendv GET_GetTexGendv(struct _glapi_table *disp) {
5110 return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv));
5111}
5112
5113static INLINE void SET_GetTexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005114 SET_by_offset(disp, _gloffset_GetTexGendv, fn);
5115}
5116
José Fonseca075d2bf2011-05-19 17:44:06 +01005117typedef void (GLAPIENTRYP _glptr_GetTexGenfv)(GLenum, GLenum, GLfloat *);
5118#define CALL_GetTexGenfv(disp, parameters) \
5119 (* GET_GetTexGenfv(disp)) parameters
5120static INLINE _glptr_GetTexGenfv GET_GetTexGenfv(struct _glapi_table *disp) {
5121 return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv));
5122}
5123
5124static INLINE void SET_GetTexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005125 SET_by_offset(disp, _gloffset_GetTexGenfv, fn);
5126}
5127
José Fonseca075d2bf2011-05-19 17:44:06 +01005128typedef void (GLAPIENTRYP _glptr_GetTexGeniv)(GLenum, GLenum, GLint *);
5129#define CALL_GetTexGeniv(disp, parameters) \
5130 (* GET_GetTexGeniv(disp)) parameters
5131static INLINE _glptr_GetTexGeniv GET_GetTexGeniv(struct _glapi_table *disp) {
5132 return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv));
5133}
5134
5135static INLINE void SET_GetTexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005136 SET_by_offset(disp, _gloffset_GetTexGeniv, fn);
5137}
5138
José Fonseca075d2bf2011-05-19 17:44:06 +01005139typedef void (GLAPIENTRYP _glptr_GetTexImage)(GLenum, GLint, GLenum, GLenum, GLvoid *);
5140#define CALL_GetTexImage(disp, parameters) \
5141 (* GET_GetTexImage(disp)) parameters
5142static INLINE _glptr_GetTexImage GET_GetTexImage(struct _glapi_table *disp) {
5143 return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage));
5144}
5145
5146static INLINE void SET_GetTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005147 SET_by_offset(disp, _gloffset_GetTexImage, fn);
5148}
5149
José Fonseca075d2bf2011-05-19 17:44:06 +01005150typedef void (GLAPIENTRYP _glptr_GetTexParameterfv)(GLenum, GLenum, GLfloat *);
5151#define CALL_GetTexParameterfv(disp, parameters) \
5152 (* GET_GetTexParameterfv(disp)) parameters
5153static INLINE _glptr_GetTexParameterfv GET_GetTexParameterfv(struct _glapi_table *disp) {
5154 return (_glptr_GetTexParameterfv) (GET_by_offset(disp, _gloffset_GetTexParameterfv));
5155}
5156
5157static INLINE void SET_GetTexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005158 SET_by_offset(disp, _gloffset_GetTexParameterfv, fn);
5159}
5160
José Fonseca075d2bf2011-05-19 17:44:06 +01005161typedef void (GLAPIENTRYP _glptr_GetTexParameteriv)(GLenum, GLenum, GLint *);
5162#define CALL_GetTexParameteriv(disp, parameters) \
5163 (* GET_GetTexParameteriv(disp)) parameters
5164static INLINE _glptr_GetTexParameteriv GET_GetTexParameteriv(struct _glapi_table *disp) {
5165 return (_glptr_GetTexParameteriv) (GET_by_offset(disp, _gloffset_GetTexParameteriv));
5166}
5167
5168static INLINE void SET_GetTexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005169 SET_by_offset(disp, _gloffset_GetTexParameteriv, fn);
5170}
5171
José Fonseca075d2bf2011-05-19 17:44:06 +01005172typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
5173#define CALL_GetTexLevelParameterfv(disp, parameters) \
5174 (* GET_GetTexLevelParameterfv(disp)) parameters
5175static INLINE _glptr_GetTexLevelParameterfv GET_GetTexLevelParameterfv(struct _glapi_table *disp) {
5176 return (_glptr_GetTexLevelParameterfv) (GET_by_offset(disp, _gloffset_GetTexLevelParameterfv));
5177}
5178
5179static INLINE void SET_GetTexLevelParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005180 SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn);
5181}
5182
José Fonseca075d2bf2011-05-19 17:44:06 +01005183typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
5184#define CALL_GetTexLevelParameteriv(disp, parameters) \
5185 (* GET_GetTexLevelParameteriv(disp)) parameters
5186static INLINE _glptr_GetTexLevelParameteriv GET_GetTexLevelParameteriv(struct _glapi_table *disp) {
5187 return (_glptr_GetTexLevelParameteriv) (GET_by_offset(disp, _gloffset_GetTexLevelParameteriv));
5188}
5189
5190static INLINE void SET_GetTexLevelParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005191 SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn);
5192}
5193
José Fonseca075d2bf2011-05-19 17:44:06 +01005194typedef GLboolean (GLAPIENTRYP _glptr_IsEnabled)(GLenum);
5195#define CALL_IsEnabled(disp, parameters) \
5196 (* GET_IsEnabled(disp)) parameters
5197static INLINE _glptr_IsEnabled GET_IsEnabled(struct _glapi_table *disp) {
5198 return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled));
5199}
5200
5201static INLINE void SET_IsEnabled(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005202 SET_by_offset(disp, _gloffset_IsEnabled, fn);
5203}
5204
José Fonseca075d2bf2011-05-19 17:44:06 +01005205typedef GLboolean (GLAPIENTRYP _glptr_IsList)(GLuint);
5206#define CALL_IsList(disp, parameters) \
5207 (* GET_IsList(disp)) parameters
5208static INLINE _glptr_IsList GET_IsList(struct _glapi_table *disp) {
5209 return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList));
5210}
5211
5212static INLINE void SET_IsList(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005213 SET_by_offset(disp, _gloffset_IsList, fn);
5214}
5215
José Fonseca075d2bf2011-05-19 17:44:06 +01005216typedef void (GLAPIENTRYP _glptr_DepthRange)(GLclampd, GLclampd);
5217#define CALL_DepthRange(disp, parameters) \
5218 (* GET_DepthRange(disp)) parameters
5219static INLINE _glptr_DepthRange GET_DepthRange(struct _glapi_table *disp) {
5220 return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange));
5221}
5222
5223static INLINE void SET_DepthRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005224 SET_by_offset(disp, _gloffset_DepthRange, fn);
5225}
5226
José Fonseca075d2bf2011-05-19 17:44:06 +01005227typedef void (GLAPIENTRYP _glptr_Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
5228#define CALL_Frustum(disp, parameters) \
5229 (* GET_Frustum(disp)) parameters
5230static INLINE _glptr_Frustum GET_Frustum(struct _glapi_table *disp) {
5231 return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum));
5232}
5233
5234static INLINE void SET_Frustum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005235 SET_by_offset(disp, _gloffset_Frustum, fn);
5236}
5237
José Fonseca075d2bf2011-05-19 17:44:06 +01005238typedef void (GLAPIENTRYP _glptr_LoadIdentity)(void);
5239#define CALL_LoadIdentity(disp, parameters) \
5240 (* GET_LoadIdentity(disp)) parameters
5241static INLINE _glptr_LoadIdentity GET_LoadIdentity(struct _glapi_table *disp) {
5242 return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity));
5243}
5244
5245static INLINE void SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005246 SET_by_offset(disp, _gloffset_LoadIdentity, fn);
5247}
5248
José Fonseca075d2bf2011-05-19 17:44:06 +01005249typedef void (GLAPIENTRYP _glptr_LoadMatrixf)(const GLfloat *);
5250#define CALL_LoadMatrixf(disp, parameters) \
5251 (* GET_LoadMatrixf(disp)) parameters
5252static INLINE _glptr_LoadMatrixf GET_LoadMatrixf(struct _glapi_table *disp) {
5253 return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf));
5254}
5255
5256static INLINE void SET_LoadMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005257 SET_by_offset(disp, _gloffset_LoadMatrixf, fn);
5258}
5259
José Fonseca075d2bf2011-05-19 17:44:06 +01005260typedef void (GLAPIENTRYP _glptr_LoadMatrixd)(const GLdouble *);
5261#define CALL_LoadMatrixd(disp, parameters) \
5262 (* GET_LoadMatrixd(disp)) parameters
5263static INLINE _glptr_LoadMatrixd GET_LoadMatrixd(struct _glapi_table *disp) {
5264 return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd));
5265}
5266
5267static INLINE void SET_LoadMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005268 SET_by_offset(disp, _gloffset_LoadMatrixd, fn);
5269}
5270
José Fonseca075d2bf2011-05-19 17:44:06 +01005271typedef void (GLAPIENTRYP _glptr_MatrixMode)(GLenum);
5272#define CALL_MatrixMode(disp, parameters) \
5273 (* GET_MatrixMode(disp)) parameters
5274static INLINE _glptr_MatrixMode GET_MatrixMode(struct _glapi_table *disp) {
5275 return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode));
5276}
5277
5278static INLINE void SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005279 SET_by_offset(disp, _gloffset_MatrixMode, fn);
5280}
5281
José Fonseca075d2bf2011-05-19 17:44:06 +01005282typedef void (GLAPIENTRYP _glptr_MultMatrixf)(const GLfloat *);
5283#define CALL_MultMatrixf(disp, parameters) \
5284 (* GET_MultMatrixf(disp)) parameters
5285static INLINE _glptr_MultMatrixf GET_MultMatrixf(struct _glapi_table *disp) {
5286 return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf));
5287}
5288
5289static INLINE void SET_MultMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005290 SET_by_offset(disp, _gloffset_MultMatrixf, fn);
5291}
5292
José Fonseca075d2bf2011-05-19 17:44:06 +01005293typedef void (GLAPIENTRYP _glptr_MultMatrixd)(const GLdouble *);
5294#define CALL_MultMatrixd(disp, parameters) \
5295 (* GET_MultMatrixd(disp)) parameters
5296static INLINE _glptr_MultMatrixd GET_MultMatrixd(struct _glapi_table *disp) {
5297 return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd));
5298}
5299
5300static INLINE void SET_MultMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005301 SET_by_offset(disp, _gloffset_MultMatrixd, fn);
5302}
5303
José Fonseca075d2bf2011-05-19 17:44:06 +01005304typedef void (GLAPIENTRYP _glptr_Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
5305#define CALL_Ortho(disp, parameters) \
5306 (* GET_Ortho(disp)) parameters
5307static INLINE _glptr_Ortho GET_Ortho(struct _glapi_table *disp) {
5308 return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho));
5309}
5310
5311static INLINE void SET_Ortho(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005312 SET_by_offset(disp, _gloffset_Ortho, fn);
5313}
5314
José Fonseca075d2bf2011-05-19 17:44:06 +01005315typedef void (GLAPIENTRYP _glptr_PopMatrix)(void);
5316#define CALL_PopMatrix(disp, parameters) \
5317 (* GET_PopMatrix(disp)) parameters
5318static INLINE _glptr_PopMatrix GET_PopMatrix(struct _glapi_table *disp) {
5319 return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix));
5320}
5321
5322static INLINE void SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005323 SET_by_offset(disp, _gloffset_PopMatrix, fn);
5324}
5325
José Fonseca075d2bf2011-05-19 17:44:06 +01005326typedef void (GLAPIENTRYP _glptr_PushMatrix)(void);
5327#define CALL_PushMatrix(disp, parameters) \
5328 (* GET_PushMatrix(disp)) parameters
5329static INLINE _glptr_PushMatrix GET_PushMatrix(struct _glapi_table *disp) {
5330 return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix));
5331}
5332
5333static INLINE void SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005334 SET_by_offset(disp, _gloffset_PushMatrix, fn);
5335}
5336
José Fonseca075d2bf2011-05-19 17:44:06 +01005337typedef void (GLAPIENTRYP _glptr_Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
5338#define CALL_Rotated(disp, parameters) \
5339 (* GET_Rotated(disp)) parameters
5340static INLINE _glptr_Rotated GET_Rotated(struct _glapi_table *disp) {
5341 return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated));
5342}
5343
5344static INLINE void SET_Rotated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005345 SET_by_offset(disp, _gloffset_Rotated, fn);
5346}
5347
José Fonseca075d2bf2011-05-19 17:44:06 +01005348typedef void (GLAPIENTRYP _glptr_Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
5349#define CALL_Rotatef(disp, parameters) \
5350 (* GET_Rotatef(disp)) parameters
5351static INLINE _glptr_Rotatef GET_Rotatef(struct _glapi_table *disp) {
5352 return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef));
5353}
5354
5355static INLINE void SET_Rotatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005356 SET_by_offset(disp, _gloffset_Rotatef, fn);
5357}
5358
José Fonseca075d2bf2011-05-19 17:44:06 +01005359typedef void (GLAPIENTRYP _glptr_Scaled)(GLdouble, GLdouble, GLdouble);
5360#define CALL_Scaled(disp, parameters) \
5361 (* GET_Scaled(disp)) parameters
5362static INLINE _glptr_Scaled GET_Scaled(struct _glapi_table *disp) {
5363 return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled));
5364}
5365
5366static INLINE void SET_Scaled(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005367 SET_by_offset(disp, _gloffset_Scaled, fn);
5368}
5369
José Fonseca075d2bf2011-05-19 17:44:06 +01005370typedef void (GLAPIENTRYP _glptr_Scalef)(GLfloat, GLfloat, GLfloat);
5371#define CALL_Scalef(disp, parameters) \
5372 (* GET_Scalef(disp)) parameters
5373static INLINE _glptr_Scalef GET_Scalef(struct _glapi_table *disp) {
5374 return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef));
5375}
5376
5377static INLINE void SET_Scalef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005378 SET_by_offset(disp, _gloffset_Scalef, fn);
5379}
5380
José Fonseca075d2bf2011-05-19 17:44:06 +01005381typedef void (GLAPIENTRYP _glptr_Translated)(GLdouble, GLdouble, GLdouble);
5382#define CALL_Translated(disp, parameters) \
5383 (* GET_Translated(disp)) parameters
5384static INLINE _glptr_Translated GET_Translated(struct _glapi_table *disp) {
5385 return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated));
5386}
5387
5388static INLINE void SET_Translated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005389 SET_by_offset(disp, _gloffset_Translated, fn);
5390}
5391
José Fonseca075d2bf2011-05-19 17:44:06 +01005392typedef void (GLAPIENTRYP _glptr_Translatef)(GLfloat, GLfloat, GLfloat);
5393#define CALL_Translatef(disp, parameters) \
5394 (* GET_Translatef(disp)) parameters
5395static INLINE _glptr_Translatef GET_Translatef(struct _glapi_table *disp) {
5396 return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef));
5397}
5398
5399static INLINE void SET_Translatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005400 SET_by_offset(disp, _gloffset_Translatef, fn);
5401}
5402
José Fonseca075d2bf2011-05-19 17:44:06 +01005403typedef void (GLAPIENTRYP _glptr_Viewport)(GLint, GLint, GLsizei, GLsizei);
5404#define CALL_Viewport(disp, parameters) \
5405 (* GET_Viewport(disp)) parameters
5406static INLINE _glptr_Viewport GET_Viewport(struct _glapi_table *disp) {
5407 return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport));
5408}
5409
5410static INLINE void SET_Viewport(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005411 SET_by_offset(disp, _gloffset_Viewport, fn);
5412}
5413
José Fonseca075d2bf2011-05-19 17:44:06 +01005414typedef void (GLAPIENTRYP _glptr_ArrayElement)(GLint);
5415#define CALL_ArrayElement(disp, parameters) \
5416 (* GET_ArrayElement(disp)) parameters
5417static INLINE _glptr_ArrayElement GET_ArrayElement(struct _glapi_table *disp) {
5418 return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement));
5419}
5420
5421static INLINE void SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005422 SET_by_offset(disp, _gloffset_ArrayElement, fn);
5423}
5424
José Fonseca075d2bf2011-05-19 17:44:06 +01005425typedef void (GLAPIENTRYP _glptr_BindTexture)(GLenum, GLuint);
5426#define CALL_BindTexture(disp, parameters) \
5427 (* GET_BindTexture(disp)) parameters
5428static INLINE _glptr_BindTexture GET_BindTexture(struct _glapi_table *disp) {
5429 return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture));
5430}
5431
5432static INLINE void SET_BindTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005433 SET_by_offset(disp, _gloffset_BindTexture, fn);
5434}
5435
José Fonseca075d2bf2011-05-19 17:44:06 +01005436typedef void (GLAPIENTRYP _glptr_ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
5437#define CALL_ColorPointer(disp, parameters) \
5438 (* GET_ColorPointer(disp)) parameters
5439static INLINE _glptr_ColorPointer GET_ColorPointer(struct _glapi_table *disp) {
5440 return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer));
5441}
5442
5443static INLINE void SET_ColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005444 SET_by_offset(disp, _gloffset_ColorPointer, fn);
5445}
5446
José Fonseca075d2bf2011-05-19 17:44:06 +01005447typedef void (GLAPIENTRYP _glptr_DisableClientState)(GLenum);
5448#define CALL_DisableClientState(disp, parameters) \
5449 (* GET_DisableClientState(disp)) parameters
5450static INLINE _glptr_DisableClientState GET_DisableClientState(struct _glapi_table *disp) {
5451 return (_glptr_DisableClientState) (GET_by_offset(disp, _gloffset_DisableClientState));
5452}
5453
5454static INLINE void SET_DisableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005455 SET_by_offset(disp, _gloffset_DisableClientState, fn);
5456}
5457
José Fonseca075d2bf2011-05-19 17:44:06 +01005458typedef void (GLAPIENTRYP _glptr_DrawArrays)(GLenum, GLint, GLsizei);
5459#define CALL_DrawArrays(disp, parameters) \
5460 (* GET_DrawArrays(disp)) parameters
5461static INLINE _glptr_DrawArrays GET_DrawArrays(struct _glapi_table *disp) {
5462 return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays));
5463}
5464
5465static INLINE void SET_DrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005466 SET_by_offset(disp, _gloffset_DrawArrays, fn);
5467}
5468
José Fonseca075d2bf2011-05-19 17:44:06 +01005469typedef void (GLAPIENTRYP _glptr_DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
5470#define CALL_DrawElements(disp, parameters) \
5471 (* GET_DrawElements(disp)) parameters
5472static INLINE _glptr_DrawElements GET_DrawElements(struct _glapi_table *disp) {
5473 return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements));
5474}
5475
5476static INLINE void SET_DrawElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005477 SET_by_offset(disp, _gloffset_DrawElements, fn);
5478}
5479
José Fonseca075d2bf2011-05-19 17:44:06 +01005480typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer)(GLsizei, const GLvoid *);
5481#define CALL_EdgeFlagPointer(disp, parameters) \
5482 (* GET_EdgeFlagPointer(disp)) parameters
5483static INLINE _glptr_EdgeFlagPointer GET_EdgeFlagPointer(struct _glapi_table *disp) {
5484 return (_glptr_EdgeFlagPointer) (GET_by_offset(disp, _gloffset_EdgeFlagPointer));
5485}
5486
5487static INLINE void SET_EdgeFlagPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005488 SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn);
5489}
5490
José Fonseca075d2bf2011-05-19 17:44:06 +01005491typedef void (GLAPIENTRYP _glptr_EnableClientState)(GLenum);
5492#define CALL_EnableClientState(disp, parameters) \
5493 (* GET_EnableClientState(disp)) parameters
5494static INLINE _glptr_EnableClientState GET_EnableClientState(struct _glapi_table *disp) {
5495 return (_glptr_EnableClientState) (GET_by_offset(disp, _gloffset_EnableClientState));
5496}
5497
5498static INLINE void SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005499 SET_by_offset(disp, _gloffset_EnableClientState, fn);
5500}
5501
José Fonseca075d2bf2011-05-19 17:44:06 +01005502typedef void (GLAPIENTRYP _glptr_IndexPointer)(GLenum, GLsizei, const GLvoid *);
5503#define CALL_IndexPointer(disp, parameters) \
5504 (* GET_IndexPointer(disp)) parameters
5505static INLINE _glptr_IndexPointer GET_IndexPointer(struct _glapi_table *disp) {
5506 return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer));
5507}
5508
5509static INLINE void SET_IndexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005510 SET_by_offset(disp, _gloffset_IndexPointer, fn);
5511}
5512
José Fonseca075d2bf2011-05-19 17:44:06 +01005513typedef void (GLAPIENTRYP _glptr_Indexub)(GLubyte);
5514#define CALL_Indexub(disp, parameters) \
5515 (* GET_Indexub(disp)) parameters
5516static INLINE _glptr_Indexub GET_Indexub(struct _glapi_table *disp) {
5517 return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub));
5518}
5519
5520static INLINE void SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005521 SET_by_offset(disp, _gloffset_Indexub, fn);
5522}
5523
José Fonseca075d2bf2011-05-19 17:44:06 +01005524typedef void (GLAPIENTRYP _glptr_Indexubv)(const GLubyte *);
5525#define CALL_Indexubv(disp, parameters) \
5526 (* GET_Indexubv(disp)) parameters
5527static INLINE _glptr_Indexubv GET_Indexubv(struct _glapi_table *disp) {
5528 return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv));
5529}
5530
5531static INLINE void SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005532 SET_by_offset(disp, _gloffset_Indexubv, fn);
5533}
5534
José Fonseca075d2bf2011-05-19 17:44:06 +01005535typedef void (GLAPIENTRYP _glptr_InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
5536#define CALL_InterleavedArrays(disp, parameters) \
5537 (* GET_InterleavedArrays(disp)) parameters
5538static INLINE _glptr_InterleavedArrays GET_InterleavedArrays(struct _glapi_table *disp) {
5539 return (_glptr_InterleavedArrays) (GET_by_offset(disp, _gloffset_InterleavedArrays));
5540}
5541
5542static INLINE void SET_InterleavedArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005543 SET_by_offset(disp, _gloffset_InterleavedArrays, fn);
5544}
5545
José Fonseca075d2bf2011-05-19 17:44:06 +01005546typedef void (GLAPIENTRYP _glptr_NormalPointer)(GLenum, GLsizei, const GLvoid *);
5547#define CALL_NormalPointer(disp, parameters) \
5548 (* GET_NormalPointer(disp)) parameters
5549static INLINE _glptr_NormalPointer GET_NormalPointer(struct _glapi_table *disp) {
5550 return (_glptr_NormalPointer) (GET_by_offset(disp, _gloffset_NormalPointer));
5551}
5552
5553static INLINE void SET_NormalPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005554 SET_by_offset(disp, _gloffset_NormalPointer, fn);
5555}
5556
José Fonseca075d2bf2011-05-19 17:44:06 +01005557typedef void (GLAPIENTRYP _glptr_PolygonOffset)(GLfloat, GLfloat);
5558#define CALL_PolygonOffset(disp, parameters) \
5559 (* GET_PolygonOffset(disp)) parameters
5560static INLINE _glptr_PolygonOffset GET_PolygonOffset(struct _glapi_table *disp) {
5561 return (_glptr_PolygonOffset) (GET_by_offset(disp, _gloffset_PolygonOffset));
5562}
5563
5564static INLINE void SET_PolygonOffset(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005565 SET_by_offset(disp, _gloffset_PolygonOffset, fn);
5566}
5567
José Fonseca075d2bf2011-05-19 17:44:06 +01005568typedef void (GLAPIENTRYP _glptr_TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
5569#define CALL_TexCoordPointer(disp, parameters) \
5570 (* GET_TexCoordPointer(disp)) parameters
5571static INLINE _glptr_TexCoordPointer GET_TexCoordPointer(struct _glapi_table *disp) {
5572 return (_glptr_TexCoordPointer) (GET_by_offset(disp, _gloffset_TexCoordPointer));
5573}
5574
5575static INLINE void SET_TexCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005576 SET_by_offset(disp, _gloffset_TexCoordPointer, fn);
5577}
5578
José Fonseca075d2bf2011-05-19 17:44:06 +01005579typedef void (GLAPIENTRYP _glptr_VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
5580#define CALL_VertexPointer(disp, parameters) \
5581 (* GET_VertexPointer(disp)) parameters
5582static INLINE _glptr_VertexPointer GET_VertexPointer(struct _glapi_table *disp) {
5583 return (_glptr_VertexPointer) (GET_by_offset(disp, _gloffset_VertexPointer));
5584}
5585
5586static INLINE void SET_VertexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005587 SET_by_offset(disp, _gloffset_VertexPointer, fn);
5588}
5589
José Fonseca075d2bf2011-05-19 17:44:06 +01005590typedef GLboolean (GLAPIENTRYP _glptr_AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
5591#define CALL_AreTexturesResident(disp, parameters) \
5592 (* GET_AreTexturesResident(disp)) parameters
5593static INLINE _glptr_AreTexturesResident GET_AreTexturesResident(struct _glapi_table *disp) {
5594 return (_glptr_AreTexturesResident) (GET_by_offset(disp, _gloffset_AreTexturesResident));
5595}
5596
5597static INLINE void SET_AreTexturesResident(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005598 SET_by_offset(disp, _gloffset_AreTexturesResident, fn);
5599}
5600
José Fonseca075d2bf2011-05-19 17:44:06 +01005601typedef void (GLAPIENTRYP _glptr_CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
5602#define CALL_CopyTexImage1D(disp, parameters) \
5603 (* GET_CopyTexImage1D(disp)) parameters
5604static INLINE _glptr_CopyTexImage1D GET_CopyTexImage1D(struct _glapi_table *disp) {
5605 return (_glptr_CopyTexImage1D) (GET_by_offset(disp, _gloffset_CopyTexImage1D));
5606}
5607
5608static INLINE void SET_CopyTexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005609 SET_by_offset(disp, _gloffset_CopyTexImage1D, fn);
5610}
5611
José Fonseca075d2bf2011-05-19 17:44:06 +01005612typedef void (GLAPIENTRYP _glptr_CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
5613#define CALL_CopyTexImage2D(disp, parameters) \
5614 (* GET_CopyTexImage2D(disp)) parameters
5615static INLINE _glptr_CopyTexImage2D GET_CopyTexImage2D(struct _glapi_table *disp) {
5616 return (_glptr_CopyTexImage2D) (GET_by_offset(disp, _gloffset_CopyTexImage2D));
5617}
5618
5619static INLINE void SET_CopyTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005620 SET_by_offset(disp, _gloffset_CopyTexImage2D, fn);
5621}
5622
José Fonseca075d2bf2011-05-19 17:44:06 +01005623typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
5624#define CALL_CopyTexSubImage1D(disp, parameters) \
5625 (* GET_CopyTexSubImage1D(disp)) parameters
5626static INLINE _glptr_CopyTexSubImage1D GET_CopyTexSubImage1D(struct _glapi_table *disp) {
5627 return (_glptr_CopyTexSubImage1D) (GET_by_offset(disp, _gloffset_CopyTexSubImage1D));
5628}
5629
5630static INLINE void SET_CopyTexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005631 SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn);
5632}
5633
José Fonseca075d2bf2011-05-19 17:44:06 +01005634typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
5635#define CALL_CopyTexSubImage2D(disp, parameters) \
5636 (* GET_CopyTexSubImage2D(disp)) parameters
5637static INLINE _glptr_CopyTexSubImage2D GET_CopyTexSubImage2D(struct _glapi_table *disp) {
5638 return (_glptr_CopyTexSubImage2D) (GET_by_offset(disp, _gloffset_CopyTexSubImage2D));
5639}
5640
5641static INLINE void SET_CopyTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005642 SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn);
5643}
5644
José Fonseca075d2bf2011-05-19 17:44:06 +01005645typedef void (GLAPIENTRYP _glptr_DeleteTextures)(GLsizei, const GLuint *);
5646#define CALL_DeleteTextures(disp, parameters) \
5647 (* GET_DeleteTextures(disp)) parameters
5648static INLINE _glptr_DeleteTextures GET_DeleteTextures(struct _glapi_table *disp) {
5649 return (_glptr_DeleteTextures) (GET_by_offset(disp, _gloffset_DeleteTextures));
5650}
5651
5652static INLINE void SET_DeleteTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005653 SET_by_offset(disp, _gloffset_DeleteTextures, fn);
5654}
5655
José Fonseca075d2bf2011-05-19 17:44:06 +01005656typedef void (GLAPIENTRYP _glptr_GenTextures)(GLsizei, GLuint *);
5657#define CALL_GenTextures(disp, parameters) \
5658 (* GET_GenTextures(disp)) parameters
5659static INLINE _glptr_GenTextures GET_GenTextures(struct _glapi_table *disp) {
5660 return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures));
5661}
5662
5663static INLINE void SET_GenTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005664 SET_by_offset(disp, _gloffset_GenTextures, fn);
5665}
5666
José Fonseca075d2bf2011-05-19 17:44:06 +01005667typedef void (GLAPIENTRYP _glptr_GetPointerv)(GLenum, GLvoid **);
5668#define CALL_GetPointerv(disp, parameters) \
5669 (* GET_GetPointerv(disp)) parameters
5670static INLINE _glptr_GetPointerv GET_GetPointerv(struct _glapi_table *disp) {
5671 return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv));
5672}
5673
5674static INLINE void SET_GetPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid **)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005675 SET_by_offset(disp, _gloffset_GetPointerv, fn);
5676}
5677
José Fonseca075d2bf2011-05-19 17:44:06 +01005678typedef GLboolean (GLAPIENTRYP _glptr_IsTexture)(GLuint);
5679#define CALL_IsTexture(disp, parameters) \
5680 (* GET_IsTexture(disp)) parameters
5681static INLINE _glptr_IsTexture GET_IsTexture(struct _glapi_table *disp) {
5682 return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture));
5683}
5684
5685static INLINE void SET_IsTexture(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005686 SET_by_offset(disp, _gloffset_IsTexture, fn);
5687}
5688
José Fonseca075d2bf2011-05-19 17:44:06 +01005689typedef void (GLAPIENTRYP _glptr_PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
5690#define CALL_PrioritizeTextures(disp, parameters) \
5691 (* GET_PrioritizeTextures(disp)) parameters
5692static INLINE _glptr_PrioritizeTextures GET_PrioritizeTextures(struct _glapi_table *disp) {
5693 return (_glptr_PrioritizeTextures) (GET_by_offset(disp, _gloffset_PrioritizeTextures));
5694}
5695
5696static INLINE void SET_PrioritizeTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, const GLclampf *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005697 SET_by_offset(disp, _gloffset_PrioritizeTextures, fn);
5698}
5699
José Fonseca075d2bf2011-05-19 17:44:06 +01005700typedef void (GLAPIENTRYP _glptr_TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
5701#define CALL_TexSubImage1D(disp, parameters) \
5702 (* GET_TexSubImage1D(disp)) parameters
5703static INLINE _glptr_TexSubImage1D GET_TexSubImage1D(struct _glapi_table *disp) {
5704 return (_glptr_TexSubImage1D) (GET_by_offset(disp, _gloffset_TexSubImage1D));
5705}
5706
5707static INLINE void SET_TexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005708 SET_by_offset(disp, _gloffset_TexSubImage1D, fn);
5709}
5710
José Fonseca075d2bf2011-05-19 17:44:06 +01005711typedef 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
5714static INLINE _glptr_TexSubImage2D GET_TexSubImage2D(struct _glapi_table *disp) {
5715 return (_glptr_TexSubImage2D) (GET_by_offset(disp, _gloffset_TexSubImage2D));
5716}
5717
5718static INLINE void SET_TexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005719 SET_by_offset(disp, _gloffset_TexSubImage2D, fn);
5720}
5721
José Fonseca075d2bf2011-05-19 17:44:06 +01005722typedef void (GLAPIENTRYP _glptr_PopClientAttrib)(void);
5723#define CALL_PopClientAttrib(disp, parameters) \
5724 (* GET_PopClientAttrib(disp)) parameters
5725static INLINE _glptr_PopClientAttrib GET_PopClientAttrib(struct _glapi_table *disp) {
5726 return (_glptr_PopClientAttrib) (GET_by_offset(disp, _gloffset_PopClientAttrib));
5727}
5728
5729static INLINE void SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005730 SET_by_offset(disp, _gloffset_PopClientAttrib, fn);
5731}
5732
José Fonseca075d2bf2011-05-19 17:44:06 +01005733typedef void (GLAPIENTRYP _glptr_PushClientAttrib)(GLbitfield);
5734#define CALL_PushClientAttrib(disp, parameters) \
5735 (* GET_PushClientAttrib(disp)) parameters
5736static INLINE _glptr_PushClientAttrib GET_PushClientAttrib(struct _glapi_table *disp) {
5737 return (_glptr_PushClientAttrib) (GET_by_offset(disp, _gloffset_PushClientAttrib));
5738}
5739
5740static INLINE void SET_PushClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005741 SET_by_offset(disp, _gloffset_PushClientAttrib, fn);
5742}
5743
José Fonseca075d2bf2011-05-19 17:44:06 +01005744typedef void (GLAPIENTRYP _glptr_BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf);
5745#define CALL_BlendColor(disp, parameters) \
5746 (* GET_BlendColor(disp)) parameters
5747static INLINE _glptr_BlendColor GET_BlendColor(struct _glapi_table *disp) {
5748 return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor));
5749}
5750
5751static INLINE void SET_BlendColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005752 SET_by_offset(disp, _gloffset_BlendColor, fn);
5753}
5754
José Fonseca075d2bf2011-05-19 17:44:06 +01005755typedef void (GLAPIENTRYP _glptr_BlendEquation)(GLenum);
5756#define CALL_BlendEquation(disp, parameters) \
5757 (* GET_BlendEquation(disp)) parameters
5758static INLINE _glptr_BlendEquation GET_BlendEquation(struct _glapi_table *disp) {
5759 return (_glptr_BlendEquation) (GET_by_offset(disp, _gloffset_BlendEquation));
5760}
5761
5762static INLINE void SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005763 SET_by_offset(disp, _gloffset_BlendEquation, fn);
5764}
5765
José Fonseca075d2bf2011-05-19 17:44:06 +01005766typedef void (GLAPIENTRYP _glptr_DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
5767#define CALL_DrawRangeElements(disp, parameters) \
5768 (* GET_DrawRangeElements(disp)) parameters
5769static INLINE _glptr_DrawRangeElements GET_DrawRangeElements(struct _glapi_table *disp) {
5770 return (_glptr_DrawRangeElements) (GET_by_offset(disp, _gloffset_DrawRangeElements));
5771}
5772
5773static INLINE void SET_DrawRangeElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005774 SET_by_offset(disp, _gloffset_DrawRangeElements, fn);
5775}
5776
José Fonseca075d2bf2011-05-19 17:44:06 +01005777typedef void (GLAPIENTRYP _glptr_ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
5778#define CALL_ColorTable(disp, parameters) \
5779 (* GET_ColorTable(disp)) parameters
5780static INLINE _glptr_ColorTable GET_ColorTable(struct _glapi_table *disp) {
5781 return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable));
5782}
5783
5784static INLINE void SET_ColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005785 SET_by_offset(disp, _gloffset_ColorTable, fn);
5786}
5787
José Fonseca075d2bf2011-05-19 17:44:06 +01005788typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv)(GLenum, GLenum, const GLfloat *);
5789#define CALL_ColorTableParameterfv(disp, parameters) \
5790 (* GET_ColorTableParameterfv(disp)) parameters
5791static INLINE _glptr_ColorTableParameterfv GET_ColorTableParameterfv(struct _glapi_table *disp) {
5792 return (_glptr_ColorTableParameterfv) (GET_by_offset(disp, _gloffset_ColorTableParameterfv));
5793}
5794
5795static INLINE void SET_ColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005796 SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn);
5797}
5798
José Fonseca075d2bf2011-05-19 17:44:06 +01005799typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv)(GLenum, GLenum, const GLint *);
5800#define CALL_ColorTableParameteriv(disp, parameters) \
5801 (* GET_ColorTableParameteriv(disp)) parameters
5802static INLINE _glptr_ColorTableParameteriv GET_ColorTableParameteriv(struct _glapi_table *disp) {
5803 return (_glptr_ColorTableParameteriv) (GET_by_offset(disp, _gloffset_ColorTableParameteriv));
5804}
5805
5806static INLINE void SET_ColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005807 SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn);
5808}
5809
José Fonseca075d2bf2011-05-19 17:44:06 +01005810typedef void (GLAPIENTRYP _glptr_CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei);
5811#define CALL_CopyColorTable(disp, parameters) \
5812 (* GET_CopyColorTable(disp)) parameters
5813static INLINE _glptr_CopyColorTable GET_CopyColorTable(struct _glapi_table *disp) {
5814 return (_glptr_CopyColorTable) (GET_by_offset(disp, _gloffset_CopyColorTable));
5815}
5816
5817static INLINE void SET_CopyColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005818 SET_by_offset(disp, _gloffset_CopyColorTable, fn);
5819}
5820
José Fonseca075d2bf2011-05-19 17:44:06 +01005821typedef void (GLAPIENTRYP _glptr_GetColorTable)(GLenum, GLenum, GLenum, GLvoid *);
5822#define CALL_GetColorTable(disp, parameters) \
5823 (* GET_GetColorTable(disp)) parameters
5824static INLINE _glptr_GetColorTable GET_GetColorTable(struct _glapi_table *disp) {
5825 return (_glptr_GetColorTable) (GET_by_offset(disp, _gloffset_GetColorTable));
5826}
5827
5828static INLINE void SET_GetColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005829 SET_by_offset(disp, _gloffset_GetColorTable, fn);
5830}
5831
José Fonseca075d2bf2011-05-19 17:44:06 +01005832typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv)(GLenum, GLenum, GLfloat *);
5833#define CALL_GetColorTableParameterfv(disp, parameters) \
5834 (* GET_GetColorTableParameterfv(disp)) parameters
5835static INLINE _glptr_GetColorTableParameterfv GET_GetColorTableParameterfv(struct _glapi_table *disp) {
5836 return (_glptr_GetColorTableParameterfv) (GET_by_offset(disp, _gloffset_GetColorTableParameterfv));
5837}
5838
5839static INLINE void SET_GetColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005840 SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn);
5841}
5842
José Fonseca075d2bf2011-05-19 17:44:06 +01005843typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv)(GLenum, GLenum, GLint *);
5844#define CALL_GetColorTableParameteriv(disp, parameters) \
5845 (* GET_GetColorTableParameteriv(disp)) parameters
5846static INLINE _glptr_GetColorTableParameteriv GET_GetColorTableParameteriv(struct _glapi_table *disp) {
5847 return (_glptr_GetColorTableParameteriv) (GET_by_offset(disp, _gloffset_GetColorTableParameteriv));
5848}
5849
5850static INLINE void SET_GetColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005851 SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn);
5852}
5853
José Fonseca075d2bf2011-05-19 17:44:06 +01005854typedef void (GLAPIENTRYP _glptr_ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
5855#define CALL_ColorSubTable(disp, parameters) \
5856 (* GET_ColorSubTable(disp)) parameters
5857static INLINE _glptr_ColorSubTable GET_ColorSubTable(struct _glapi_table *disp) {
5858 return (_glptr_ColorSubTable) (GET_by_offset(disp, _gloffset_ColorSubTable));
5859}
5860
5861static INLINE void SET_ColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005862 SET_by_offset(disp, _gloffset_ColorSubTable, fn);
5863}
5864
José Fonseca075d2bf2011-05-19 17:44:06 +01005865typedef void (GLAPIENTRYP _glptr_CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei);
5866#define CALL_CopyColorSubTable(disp, parameters) \
5867 (* GET_CopyColorSubTable(disp)) parameters
5868static INLINE _glptr_CopyColorSubTable GET_CopyColorSubTable(struct _glapi_table *disp) {
5869 return (_glptr_CopyColorSubTable) (GET_by_offset(disp, _gloffset_CopyColorSubTable));
5870}
5871
5872static INLINE void SET_CopyColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005873 SET_by_offset(disp, _gloffset_CopyColorSubTable, fn);
5874}
5875
José Fonseca075d2bf2011-05-19 17:44:06 +01005876typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
5877#define CALL_ConvolutionFilter1D(disp, parameters) \
5878 (* GET_ConvolutionFilter1D(disp)) parameters
5879static INLINE _glptr_ConvolutionFilter1D GET_ConvolutionFilter1D(struct _glapi_table *disp) {
5880 return (_glptr_ConvolutionFilter1D) (GET_by_offset(disp, _gloffset_ConvolutionFilter1D));
5881}
5882
5883static INLINE void SET_ConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005884 SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn);
5885}
5886
José Fonseca075d2bf2011-05-19 17:44:06 +01005887typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
5888#define CALL_ConvolutionFilter2D(disp, parameters) \
5889 (* GET_ConvolutionFilter2D(disp)) parameters
5890static INLINE _glptr_ConvolutionFilter2D GET_ConvolutionFilter2D(struct _glapi_table *disp) {
5891 return (_glptr_ConvolutionFilter2D) (GET_by_offset(disp, _gloffset_ConvolutionFilter2D));
5892}
5893
5894static INLINE void SET_ConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005895 SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn);
5896}
5897
José Fonseca075d2bf2011-05-19 17:44:06 +01005898typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf)(GLenum, GLenum, GLfloat);
5899#define CALL_ConvolutionParameterf(disp, parameters) \
5900 (* GET_ConvolutionParameterf(disp)) parameters
5901static INLINE _glptr_ConvolutionParameterf GET_ConvolutionParameterf(struct _glapi_table *disp) {
5902 return (_glptr_ConvolutionParameterf) (GET_by_offset(disp, _gloffset_ConvolutionParameterf));
5903}
5904
5905static INLINE void SET_ConvolutionParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005906 SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn);
5907}
5908
José Fonseca075d2bf2011-05-19 17:44:06 +01005909typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *);
5910#define CALL_ConvolutionParameterfv(disp, parameters) \
5911 (* GET_ConvolutionParameterfv(disp)) parameters
5912static INLINE _glptr_ConvolutionParameterfv GET_ConvolutionParameterfv(struct _glapi_table *disp) {
5913 return (_glptr_ConvolutionParameterfv) (GET_by_offset(disp, _gloffset_ConvolutionParameterfv));
5914}
5915
5916static INLINE void SET_ConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005917 SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn);
5918}
5919
José Fonseca075d2bf2011-05-19 17:44:06 +01005920typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri)(GLenum, GLenum, GLint);
5921#define CALL_ConvolutionParameteri(disp, parameters) \
5922 (* GET_ConvolutionParameteri(disp)) parameters
5923static INLINE _glptr_ConvolutionParameteri GET_ConvolutionParameteri(struct _glapi_table *disp) {
5924 return (_glptr_ConvolutionParameteri) (GET_by_offset(disp, _gloffset_ConvolutionParameteri));
5925}
5926
5927static INLINE void SET_ConvolutionParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005928 SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn);
5929}
5930
José Fonseca075d2bf2011-05-19 17:44:06 +01005931typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv)(GLenum, GLenum, const GLint *);
5932#define CALL_ConvolutionParameteriv(disp, parameters) \
5933 (* GET_ConvolutionParameteriv(disp)) parameters
5934static INLINE _glptr_ConvolutionParameteriv GET_ConvolutionParameteriv(struct _glapi_table *disp) {
5935 return (_glptr_ConvolutionParameteriv) (GET_by_offset(disp, _gloffset_ConvolutionParameteriv));
5936}
5937
5938static INLINE void SET_ConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005939 SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn);
5940}
5941
José Fonseca075d2bf2011-05-19 17:44:06 +01005942typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D)(GLenum, GLenum, GLint, GLint, GLsizei);
5943#define CALL_CopyConvolutionFilter1D(disp, parameters) \
5944 (* GET_CopyConvolutionFilter1D(disp)) parameters
5945static INLINE _glptr_CopyConvolutionFilter1D GET_CopyConvolutionFilter1D(struct _glapi_table *disp) {
5946 return (_glptr_CopyConvolutionFilter1D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter1D));
5947}
5948
5949static INLINE void SET_CopyConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005950 SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn);
5951}
5952
José Fonseca075d2bf2011-05-19 17:44:06 +01005953typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
5954#define CALL_CopyConvolutionFilter2D(disp, parameters) \
5955 (* GET_CopyConvolutionFilter2D(disp)) parameters
5956static INLINE _glptr_CopyConvolutionFilter2D GET_CopyConvolutionFilter2D(struct _glapi_table *disp) {
5957 return (_glptr_CopyConvolutionFilter2D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter2D));
5958}
5959
5960static INLINE void SET_CopyConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005961 SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn);
5962}
5963
José Fonseca075d2bf2011-05-19 17:44:06 +01005964typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *);
5965#define CALL_GetConvolutionFilter(disp, parameters) \
5966 (* GET_GetConvolutionFilter(disp)) parameters
5967static INLINE _glptr_GetConvolutionFilter GET_GetConvolutionFilter(struct _glapi_table *disp) {
5968 return (_glptr_GetConvolutionFilter) (GET_by_offset(disp, _gloffset_GetConvolutionFilter));
5969}
5970
5971static INLINE void SET_GetConvolutionFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005972 SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn);
5973}
5974
José Fonseca075d2bf2011-05-19 17:44:06 +01005975typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *);
5976#define CALL_GetConvolutionParameterfv(disp, parameters) \
5977 (* GET_GetConvolutionParameterfv(disp)) parameters
5978static INLINE _glptr_GetConvolutionParameterfv GET_GetConvolutionParameterfv(struct _glapi_table *disp) {
5979 return (_glptr_GetConvolutionParameterfv) (GET_by_offset(disp, _gloffset_GetConvolutionParameterfv));
5980}
5981
5982static INLINE void SET_GetConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005983 SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn);
5984}
5985
José Fonseca075d2bf2011-05-19 17:44:06 +01005986typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv)(GLenum, GLenum, GLint *);
5987#define CALL_GetConvolutionParameteriv(disp, parameters) \
5988 (* GET_GetConvolutionParameteriv(disp)) parameters
5989static INLINE _glptr_GetConvolutionParameteriv GET_GetConvolutionParameteriv(struct _glapi_table *disp) {
5990 return (_glptr_GetConvolutionParameteriv) (GET_by_offset(disp, _gloffset_GetConvolutionParameteriv));
5991}
5992
5993static INLINE void SET_GetConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01005994 SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn);
5995}
5996
José Fonseca075d2bf2011-05-19 17:44:06 +01005997typedef void (GLAPIENTRYP _glptr_GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
5998#define CALL_GetSeparableFilter(disp, parameters) \
5999 (* GET_GetSeparableFilter(disp)) parameters
6000static INLINE _glptr_GetSeparableFilter GET_GetSeparableFilter(struct _glapi_table *disp) {
6001 return (_glptr_GetSeparableFilter) (GET_by_offset(disp, _gloffset_GetSeparableFilter));
6002}
6003
6004static INLINE void SET_GetSeparableFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006005 SET_by_offset(disp, _gloffset_GetSeparableFilter, fn);
6006}
6007
José Fonseca075d2bf2011-05-19 17:44:06 +01006008typedef 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
6011static INLINE _glptr_SeparableFilter2D GET_SeparableFilter2D(struct _glapi_table *disp) {
6012 return (_glptr_SeparableFilter2D) (GET_by_offset(disp, _gloffset_SeparableFilter2D));
6013}
6014
6015static INLINE void SET_SeparableFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006016 SET_by_offset(disp, _gloffset_SeparableFilter2D, fn);
6017}
6018
José Fonseca075d2bf2011-05-19 17:44:06 +01006019typedef void (GLAPIENTRYP _glptr_GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
6020#define CALL_GetHistogram(disp, parameters) \
6021 (* GET_GetHistogram(disp)) parameters
6022static INLINE _glptr_GetHistogram GET_GetHistogram(struct _glapi_table *disp) {
6023 return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram));
6024}
6025
6026static INLINE void SET_GetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006027 SET_by_offset(disp, _gloffset_GetHistogram, fn);
6028}
6029
José Fonseca075d2bf2011-05-19 17:44:06 +01006030typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv)(GLenum, GLenum, GLfloat *);
6031#define CALL_GetHistogramParameterfv(disp, parameters) \
6032 (* GET_GetHistogramParameterfv(disp)) parameters
6033static INLINE _glptr_GetHistogramParameterfv GET_GetHistogramParameterfv(struct _glapi_table *disp) {
6034 return (_glptr_GetHistogramParameterfv) (GET_by_offset(disp, _gloffset_GetHistogramParameterfv));
6035}
6036
6037static INLINE void SET_GetHistogramParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006038 SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn);
6039}
6040
José Fonseca075d2bf2011-05-19 17:44:06 +01006041typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv)(GLenum, GLenum, GLint *);
6042#define CALL_GetHistogramParameteriv(disp, parameters) \
6043 (* GET_GetHistogramParameteriv(disp)) parameters
6044static INLINE _glptr_GetHistogramParameteriv GET_GetHistogramParameteriv(struct _glapi_table *disp) {
6045 return (_glptr_GetHistogramParameteriv) (GET_by_offset(disp, _gloffset_GetHistogramParameteriv));
6046}
6047
6048static INLINE void SET_GetHistogramParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006049 SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn);
6050}
6051
José Fonseca075d2bf2011-05-19 17:44:06 +01006052typedef void (GLAPIENTRYP _glptr_GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
6053#define CALL_GetMinmax(disp, parameters) \
6054 (* GET_GetMinmax(disp)) parameters
6055static INLINE _glptr_GetMinmax GET_GetMinmax(struct _glapi_table *disp) {
6056 return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax));
6057}
6058
6059static INLINE void SET_GetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006060 SET_by_offset(disp, _gloffset_GetMinmax, fn);
6061}
6062
José Fonseca075d2bf2011-05-19 17:44:06 +01006063typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *);
6064#define CALL_GetMinmaxParameterfv(disp, parameters) \
6065 (* GET_GetMinmaxParameterfv(disp)) parameters
6066static INLINE _glptr_GetMinmaxParameterfv GET_GetMinmaxParameterfv(struct _glapi_table *disp) {
6067 return (_glptr_GetMinmaxParameterfv) (GET_by_offset(disp, _gloffset_GetMinmaxParameterfv));
6068}
6069
6070static INLINE void SET_GetMinmaxParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006071 SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn);
6072}
6073
José Fonseca075d2bf2011-05-19 17:44:06 +01006074typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv)(GLenum, GLenum, GLint *);
6075#define CALL_GetMinmaxParameteriv(disp, parameters) \
6076 (* GET_GetMinmaxParameteriv(disp)) parameters
6077static INLINE _glptr_GetMinmaxParameteriv GET_GetMinmaxParameteriv(struct _glapi_table *disp) {
6078 return (_glptr_GetMinmaxParameteriv) (GET_by_offset(disp, _gloffset_GetMinmaxParameteriv));
6079}
6080
6081static INLINE void SET_GetMinmaxParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006082 SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn);
6083}
6084
José Fonseca075d2bf2011-05-19 17:44:06 +01006085typedef void (GLAPIENTRYP _glptr_Histogram)(GLenum, GLsizei, GLenum, GLboolean);
6086#define CALL_Histogram(disp, parameters) \
6087 (* GET_Histogram(disp)) parameters
6088static INLINE _glptr_Histogram GET_Histogram(struct _glapi_table *disp) {
6089 return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram));
6090}
6091
6092static INLINE void SET_Histogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006093 SET_by_offset(disp, _gloffset_Histogram, fn);
6094}
6095
José Fonseca075d2bf2011-05-19 17:44:06 +01006096typedef void (GLAPIENTRYP _glptr_Minmax)(GLenum, GLenum, GLboolean);
6097#define CALL_Minmax(disp, parameters) \
6098 (* GET_Minmax(disp)) parameters
6099static INLINE _glptr_Minmax GET_Minmax(struct _glapi_table *disp) {
6100 return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax));
6101}
6102
6103static INLINE void SET_Minmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006104 SET_by_offset(disp, _gloffset_Minmax, fn);
6105}
6106
José Fonseca075d2bf2011-05-19 17:44:06 +01006107typedef void (GLAPIENTRYP _glptr_ResetHistogram)(GLenum);
6108#define CALL_ResetHistogram(disp, parameters) \
6109 (* GET_ResetHistogram(disp)) parameters
6110static INLINE _glptr_ResetHistogram GET_ResetHistogram(struct _glapi_table *disp) {
6111 return (_glptr_ResetHistogram) (GET_by_offset(disp, _gloffset_ResetHistogram));
6112}
6113
6114static INLINE void SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006115 SET_by_offset(disp, _gloffset_ResetHistogram, fn);
6116}
6117
José Fonseca075d2bf2011-05-19 17:44:06 +01006118typedef void (GLAPIENTRYP _glptr_ResetMinmax)(GLenum);
6119#define CALL_ResetMinmax(disp, parameters) \
6120 (* GET_ResetMinmax(disp)) parameters
6121static INLINE _glptr_ResetMinmax GET_ResetMinmax(struct _glapi_table *disp) {
6122 return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax));
6123}
6124
6125static INLINE void SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006126 SET_by_offset(disp, _gloffset_ResetMinmax, fn);
6127}
6128
José Fonseca075d2bf2011-05-19 17:44:06 +01006129typedef 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
6132static INLINE _glptr_TexImage3D GET_TexImage3D(struct _glapi_table *disp) {
6133 return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D));
6134}
6135
6136static INLINE void SET_TexImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006137 SET_by_offset(disp, _gloffset_TexImage3D, fn);
6138}
6139
José Fonseca075d2bf2011-05-19 17:44:06 +01006140typedef 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
6143static INLINE _glptr_TexSubImage3D GET_TexSubImage3D(struct _glapi_table *disp) {
6144 return (_glptr_TexSubImage3D) (GET_by_offset(disp, _gloffset_TexSubImage3D));
6145}
6146
6147static INLINE void SET_TexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006148 SET_by_offset(disp, _gloffset_TexSubImage3D, fn);
6149}
6150
José Fonseca075d2bf2011-05-19 17:44:06 +01006151typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
6152#define CALL_CopyTexSubImage3D(disp, parameters) \
6153 (* GET_CopyTexSubImage3D(disp)) parameters
6154static INLINE _glptr_CopyTexSubImage3D GET_CopyTexSubImage3D(struct _glapi_table *disp) {
6155 return (_glptr_CopyTexSubImage3D) (GET_by_offset(disp, _gloffset_CopyTexSubImage3D));
6156}
6157
6158static INLINE void SET_CopyTexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006159 SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn);
6160}
6161
José Fonseca075d2bf2011-05-19 17:44:06 +01006162typedef void (GLAPIENTRYP _glptr_ActiveTextureARB)(GLenum);
6163#define CALL_ActiveTextureARB(disp, parameters) \
6164 (* GET_ActiveTextureARB(disp)) parameters
6165static INLINE _glptr_ActiveTextureARB GET_ActiveTextureARB(struct _glapi_table *disp) {
6166 return (_glptr_ActiveTextureARB) (GET_by_offset(disp, _gloffset_ActiveTextureARB));
6167}
6168
6169static INLINE void SET_ActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006170 SET_by_offset(disp, _gloffset_ActiveTextureARB, fn);
6171}
6172
José Fonseca075d2bf2011-05-19 17:44:06 +01006173typedef void (GLAPIENTRYP _glptr_ClientActiveTextureARB)(GLenum);
6174#define CALL_ClientActiveTextureARB(disp, parameters) \
6175 (* GET_ClientActiveTextureARB(disp)) parameters
6176static INLINE _glptr_ClientActiveTextureARB GET_ClientActiveTextureARB(struct _glapi_table *disp) {
6177 return (_glptr_ClientActiveTextureARB) (GET_by_offset(disp, _gloffset_ClientActiveTextureARB));
6178}
6179
6180static INLINE void SET_ClientActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006181 SET_by_offset(disp, _gloffset_ClientActiveTextureARB, fn);
6182}
6183
José Fonseca075d2bf2011-05-19 17:44:06 +01006184typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dARB)(GLenum, GLdouble);
6185#define CALL_MultiTexCoord1dARB(disp, parameters) \
6186 (* GET_MultiTexCoord1dARB(disp)) parameters
6187static INLINE _glptr_MultiTexCoord1dARB GET_MultiTexCoord1dARB(struct _glapi_table *disp) {
6188 return (_glptr_MultiTexCoord1dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dARB));
6189}
6190
6191static INLINE void SET_MultiTexCoord1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006192 SET_by_offset(disp, _gloffset_MultiTexCoord1dARB, fn);
6193}
6194
José Fonseca075d2bf2011-05-19 17:44:06 +01006195typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dvARB)(GLenum, const GLdouble *);
6196#define CALL_MultiTexCoord1dvARB(disp, parameters) \
6197 (* GET_MultiTexCoord1dvARB(disp)) parameters
6198static INLINE _glptr_MultiTexCoord1dvARB GET_MultiTexCoord1dvARB(struct _glapi_table *disp) {
6199 return (_glptr_MultiTexCoord1dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dvARB));
6200}
6201
6202static INLINE void SET_MultiTexCoord1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006203 SET_by_offset(disp, _gloffset_MultiTexCoord1dvARB, fn);
6204}
6205
José Fonseca075d2bf2011-05-19 17:44:06 +01006206typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB)(GLenum, GLfloat);
6207#define CALL_MultiTexCoord1fARB(disp, parameters) \
6208 (* GET_MultiTexCoord1fARB(disp)) parameters
6209static INLINE _glptr_MultiTexCoord1fARB GET_MultiTexCoord1fARB(struct _glapi_table *disp) {
6210 return (_glptr_MultiTexCoord1fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fARB));
6211}
6212
6213static INLINE void SET_MultiTexCoord1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006214 SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn);
6215}
6216
José Fonseca075d2bf2011-05-19 17:44:06 +01006217typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB)(GLenum, const GLfloat *);
6218#define CALL_MultiTexCoord1fvARB(disp, parameters) \
6219 (* GET_MultiTexCoord1fvARB(disp)) parameters
6220static INLINE _glptr_MultiTexCoord1fvARB GET_MultiTexCoord1fvARB(struct _glapi_table *disp) {
6221 return (_glptr_MultiTexCoord1fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fvARB));
6222}
6223
6224static INLINE void SET_MultiTexCoord1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006225 SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn);
6226}
6227
José Fonseca075d2bf2011-05-19 17:44:06 +01006228typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iARB)(GLenum, GLint);
6229#define CALL_MultiTexCoord1iARB(disp, parameters) \
6230 (* GET_MultiTexCoord1iARB(disp)) parameters
6231static INLINE _glptr_MultiTexCoord1iARB GET_MultiTexCoord1iARB(struct _glapi_table *disp) {
6232 return (_glptr_MultiTexCoord1iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1iARB));
6233}
6234
6235static INLINE void SET_MultiTexCoord1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006236 SET_by_offset(disp, _gloffset_MultiTexCoord1iARB, fn);
6237}
6238
José Fonseca075d2bf2011-05-19 17:44:06 +01006239typedef void (GLAPIENTRYP _glptr_MultiTexCoord1ivARB)(GLenum, const GLint *);
6240#define CALL_MultiTexCoord1ivARB(disp, parameters) \
6241 (* GET_MultiTexCoord1ivARB(disp)) parameters
6242static INLINE _glptr_MultiTexCoord1ivARB GET_MultiTexCoord1ivARB(struct _glapi_table *disp) {
6243 return (_glptr_MultiTexCoord1ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1ivARB));
6244}
6245
6246static INLINE void SET_MultiTexCoord1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006247 SET_by_offset(disp, _gloffset_MultiTexCoord1ivARB, fn);
6248}
6249
José Fonseca075d2bf2011-05-19 17:44:06 +01006250typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sARB)(GLenum, GLshort);
6251#define CALL_MultiTexCoord1sARB(disp, parameters) \
6252 (* GET_MultiTexCoord1sARB(disp)) parameters
6253static INLINE _glptr_MultiTexCoord1sARB GET_MultiTexCoord1sARB(struct _glapi_table *disp) {
6254 return (_glptr_MultiTexCoord1sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1sARB));
6255}
6256
6257static INLINE void SET_MultiTexCoord1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006258 SET_by_offset(disp, _gloffset_MultiTexCoord1sARB, fn);
6259}
6260
José Fonseca075d2bf2011-05-19 17:44:06 +01006261typedef void (GLAPIENTRYP _glptr_MultiTexCoord1svARB)(GLenum, const GLshort *);
6262#define CALL_MultiTexCoord1svARB(disp, parameters) \
6263 (* GET_MultiTexCoord1svARB(disp)) parameters
6264static INLINE _glptr_MultiTexCoord1svARB GET_MultiTexCoord1svARB(struct _glapi_table *disp) {
6265 return (_glptr_MultiTexCoord1svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1svARB));
6266}
6267
6268static INLINE void SET_MultiTexCoord1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006269 SET_by_offset(disp, _gloffset_MultiTexCoord1svARB, fn);
6270}
6271
José Fonseca075d2bf2011-05-19 17:44:06 +01006272typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dARB)(GLenum, GLdouble, GLdouble);
6273#define CALL_MultiTexCoord2dARB(disp, parameters) \
6274 (* GET_MultiTexCoord2dARB(disp)) parameters
6275static INLINE _glptr_MultiTexCoord2dARB GET_MultiTexCoord2dARB(struct _glapi_table *disp) {
6276 return (_glptr_MultiTexCoord2dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dARB));
6277}
6278
6279static INLINE void SET_MultiTexCoord2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006280 SET_by_offset(disp, _gloffset_MultiTexCoord2dARB, fn);
6281}
6282
José Fonseca075d2bf2011-05-19 17:44:06 +01006283typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dvARB)(GLenum, const GLdouble *);
6284#define CALL_MultiTexCoord2dvARB(disp, parameters) \
6285 (* GET_MultiTexCoord2dvARB(disp)) parameters
6286static INLINE _glptr_MultiTexCoord2dvARB GET_MultiTexCoord2dvARB(struct _glapi_table *disp) {
6287 return (_glptr_MultiTexCoord2dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dvARB));
6288}
6289
6290static INLINE void SET_MultiTexCoord2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006291 SET_by_offset(disp, _gloffset_MultiTexCoord2dvARB, fn);
6292}
6293
José Fonseca075d2bf2011-05-19 17:44:06 +01006294typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat);
6295#define CALL_MultiTexCoord2fARB(disp, parameters) \
6296 (* GET_MultiTexCoord2fARB(disp)) parameters
6297static INLINE _glptr_MultiTexCoord2fARB GET_MultiTexCoord2fARB(struct _glapi_table *disp) {
6298 return (_glptr_MultiTexCoord2fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fARB));
6299}
6300
6301static INLINE void SET_MultiTexCoord2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006302 SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn);
6303}
6304
José Fonseca075d2bf2011-05-19 17:44:06 +01006305typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB)(GLenum, const GLfloat *);
6306#define CALL_MultiTexCoord2fvARB(disp, parameters) \
6307 (* GET_MultiTexCoord2fvARB(disp)) parameters
6308static INLINE _glptr_MultiTexCoord2fvARB GET_MultiTexCoord2fvARB(struct _glapi_table *disp) {
6309 return (_glptr_MultiTexCoord2fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fvARB));
6310}
6311
6312static INLINE void SET_MultiTexCoord2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006313 SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn);
6314}
6315
José Fonseca075d2bf2011-05-19 17:44:06 +01006316typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iARB)(GLenum, GLint, GLint);
6317#define CALL_MultiTexCoord2iARB(disp, parameters) \
6318 (* GET_MultiTexCoord2iARB(disp)) parameters
6319static INLINE _glptr_MultiTexCoord2iARB GET_MultiTexCoord2iARB(struct _glapi_table *disp) {
6320 return (_glptr_MultiTexCoord2iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2iARB));
6321}
6322
6323static INLINE void SET_MultiTexCoord2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006324 SET_by_offset(disp, _gloffset_MultiTexCoord2iARB, fn);
6325}
6326
José Fonseca075d2bf2011-05-19 17:44:06 +01006327typedef void (GLAPIENTRYP _glptr_MultiTexCoord2ivARB)(GLenum, const GLint *);
6328#define CALL_MultiTexCoord2ivARB(disp, parameters) \
6329 (* GET_MultiTexCoord2ivARB(disp)) parameters
6330static INLINE _glptr_MultiTexCoord2ivARB GET_MultiTexCoord2ivARB(struct _glapi_table *disp) {
6331 return (_glptr_MultiTexCoord2ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2ivARB));
6332}
6333
6334static INLINE void SET_MultiTexCoord2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006335 SET_by_offset(disp, _gloffset_MultiTexCoord2ivARB, fn);
6336}
6337
José Fonseca075d2bf2011-05-19 17:44:06 +01006338typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sARB)(GLenum, GLshort, GLshort);
6339#define CALL_MultiTexCoord2sARB(disp, parameters) \
6340 (* GET_MultiTexCoord2sARB(disp)) parameters
6341static INLINE _glptr_MultiTexCoord2sARB GET_MultiTexCoord2sARB(struct _glapi_table *disp) {
6342 return (_glptr_MultiTexCoord2sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2sARB));
6343}
6344
6345static INLINE void SET_MultiTexCoord2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006346 SET_by_offset(disp, _gloffset_MultiTexCoord2sARB, fn);
6347}
6348
José Fonseca075d2bf2011-05-19 17:44:06 +01006349typedef void (GLAPIENTRYP _glptr_MultiTexCoord2svARB)(GLenum, const GLshort *);
6350#define CALL_MultiTexCoord2svARB(disp, parameters) \
6351 (* GET_MultiTexCoord2svARB(disp)) parameters
6352static INLINE _glptr_MultiTexCoord2svARB GET_MultiTexCoord2svARB(struct _glapi_table *disp) {
6353 return (_glptr_MultiTexCoord2svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2svARB));
6354}
6355
6356static INLINE void SET_MultiTexCoord2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006357 SET_by_offset(disp, _gloffset_MultiTexCoord2svARB, fn);
6358}
6359
José Fonseca075d2bf2011-05-19 17:44:06 +01006360typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dARB)(GLenum, GLdouble, GLdouble, GLdouble);
6361#define CALL_MultiTexCoord3dARB(disp, parameters) \
6362 (* GET_MultiTexCoord3dARB(disp)) parameters
6363static INLINE _glptr_MultiTexCoord3dARB GET_MultiTexCoord3dARB(struct _glapi_table *disp) {
6364 return (_glptr_MultiTexCoord3dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dARB));
6365}
6366
6367static INLINE void SET_MultiTexCoord3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006368 SET_by_offset(disp, _gloffset_MultiTexCoord3dARB, fn);
6369}
6370
José Fonseca075d2bf2011-05-19 17:44:06 +01006371typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dvARB)(GLenum, const GLdouble *);
6372#define CALL_MultiTexCoord3dvARB(disp, parameters) \
6373 (* GET_MultiTexCoord3dvARB(disp)) parameters
6374static INLINE _glptr_MultiTexCoord3dvARB GET_MultiTexCoord3dvARB(struct _glapi_table *disp) {
6375 return (_glptr_MultiTexCoord3dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dvARB));
6376}
6377
6378static INLINE void SET_MultiTexCoord3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006379 SET_by_offset(disp, _gloffset_MultiTexCoord3dvARB, fn);
6380}
6381
José Fonseca075d2bf2011-05-19 17:44:06 +01006382typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat);
6383#define CALL_MultiTexCoord3fARB(disp, parameters) \
6384 (* GET_MultiTexCoord3fARB(disp)) parameters
6385static INLINE _glptr_MultiTexCoord3fARB GET_MultiTexCoord3fARB(struct _glapi_table *disp) {
6386 return (_glptr_MultiTexCoord3fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fARB));
6387}
6388
6389static INLINE void SET_MultiTexCoord3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006390 SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn);
6391}
6392
José Fonseca075d2bf2011-05-19 17:44:06 +01006393typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB)(GLenum, const GLfloat *);
6394#define CALL_MultiTexCoord3fvARB(disp, parameters) \
6395 (* GET_MultiTexCoord3fvARB(disp)) parameters
6396static INLINE _glptr_MultiTexCoord3fvARB GET_MultiTexCoord3fvARB(struct _glapi_table *disp) {
6397 return (_glptr_MultiTexCoord3fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fvARB));
6398}
6399
6400static INLINE void SET_MultiTexCoord3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006401 SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn);
6402}
6403
José Fonseca075d2bf2011-05-19 17:44:06 +01006404typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iARB)(GLenum, GLint, GLint, GLint);
6405#define CALL_MultiTexCoord3iARB(disp, parameters) \
6406 (* GET_MultiTexCoord3iARB(disp)) parameters
6407static INLINE _glptr_MultiTexCoord3iARB GET_MultiTexCoord3iARB(struct _glapi_table *disp) {
6408 return (_glptr_MultiTexCoord3iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3iARB));
6409}
6410
6411static INLINE void SET_MultiTexCoord3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006412 SET_by_offset(disp, _gloffset_MultiTexCoord3iARB, fn);
6413}
6414
José Fonseca075d2bf2011-05-19 17:44:06 +01006415typedef void (GLAPIENTRYP _glptr_MultiTexCoord3ivARB)(GLenum, const GLint *);
6416#define CALL_MultiTexCoord3ivARB(disp, parameters) \
6417 (* GET_MultiTexCoord3ivARB(disp)) parameters
6418static INLINE _glptr_MultiTexCoord3ivARB GET_MultiTexCoord3ivARB(struct _glapi_table *disp) {
6419 return (_glptr_MultiTexCoord3ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3ivARB));
6420}
6421
6422static INLINE void SET_MultiTexCoord3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006423 SET_by_offset(disp, _gloffset_MultiTexCoord3ivARB, fn);
6424}
6425
José Fonseca075d2bf2011-05-19 17:44:06 +01006426typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sARB)(GLenum, GLshort, GLshort, GLshort);
6427#define CALL_MultiTexCoord3sARB(disp, parameters) \
6428 (* GET_MultiTexCoord3sARB(disp)) parameters
6429static INLINE _glptr_MultiTexCoord3sARB GET_MultiTexCoord3sARB(struct _glapi_table *disp) {
6430 return (_glptr_MultiTexCoord3sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3sARB));
6431}
6432
6433static INLINE void SET_MultiTexCoord3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006434 SET_by_offset(disp, _gloffset_MultiTexCoord3sARB, fn);
6435}
6436
José Fonseca075d2bf2011-05-19 17:44:06 +01006437typedef void (GLAPIENTRYP _glptr_MultiTexCoord3svARB)(GLenum, const GLshort *);
6438#define CALL_MultiTexCoord3svARB(disp, parameters) \
6439 (* GET_MultiTexCoord3svARB(disp)) parameters
6440static INLINE _glptr_MultiTexCoord3svARB GET_MultiTexCoord3svARB(struct _glapi_table *disp) {
6441 return (_glptr_MultiTexCoord3svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3svARB));
6442}
6443
6444static INLINE void SET_MultiTexCoord3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006445 SET_by_offset(disp, _gloffset_MultiTexCoord3svARB, fn);
6446}
6447
José Fonseca075d2bf2011-05-19 17:44:06 +01006448typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dARB)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
6449#define CALL_MultiTexCoord4dARB(disp, parameters) \
6450 (* GET_MultiTexCoord4dARB(disp)) parameters
6451static INLINE _glptr_MultiTexCoord4dARB GET_MultiTexCoord4dARB(struct _glapi_table *disp) {
6452 return (_glptr_MultiTexCoord4dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dARB));
6453}
6454
6455static INLINE void SET_MultiTexCoord4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006456 SET_by_offset(disp, _gloffset_MultiTexCoord4dARB, fn);
6457}
6458
José Fonseca075d2bf2011-05-19 17:44:06 +01006459typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dvARB)(GLenum, const GLdouble *);
6460#define CALL_MultiTexCoord4dvARB(disp, parameters) \
6461 (* GET_MultiTexCoord4dvARB(disp)) parameters
6462static INLINE _glptr_MultiTexCoord4dvARB GET_MultiTexCoord4dvARB(struct _glapi_table *disp) {
6463 return (_glptr_MultiTexCoord4dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dvARB));
6464}
6465
6466static INLINE void SET_MultiTexCoord4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006467 SET_by_offset(disp, _gloffset_MultiTexCoord4dvARB, fn);
6468}
6469
José Fonseca075d2bf2011-05-19 17:44:06 +01006470typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
6471#define CALL_MultiTexCoord4fARB(disp, parameters) \
6472 (* GET_MultiTexCoord4fARB(disp)) parameters
6473static INLINE _glptr_MultiTexCoord4fARB GET_MultiTexCoord4fARB(struct _glapi_table *disp) {
6474 return (_glptr_MultiTexCoord4fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fARB));
6475}
6476
6477static INLINE void SET_MultiTexCoord4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006478 SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn);
6479}
6480
José Fonseca075d2bf2011-05-19 17:44:06 +01006481typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB)(GLenum, const GLfloat *);
6482#define CALL_MultiTexCoord4fvARB(disp, parameters) \
6483 (* GET_MultiTexCoord4fvARB(disp)) parameters
6484static INLINE _glptr_MultiTexCoord4fvARB GET_MultiTexCoord4fvARB(struct _glapi_table *disp) {
6485 return (_glptr_MultiTexCoord4fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fvARB));
6486}
6487
6488static INLINE void SET_MultiTexCoord4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006489 SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn);
6490}
6491
José Fonseca075d2bf2011-05-19 17:44:06 +01006492typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iARB)(GLenum, GLint, GLint, GLint, GLint);
6493#define CALL_MultiTexCoord4iARB(disp, parameters) \
6494 (* GET_MultiTexCoord4iARB(disp)) parameters
6495static INLINE _glptr_MultiTexCoord4iARB GET_MultiTexCoord4iARB(struct _glapi_table *disp) {
6496 return (_glptr_MultiTexCoord4iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4iARB));
6497}
6498
6499static INLINE void SET_MultiTexCoord4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006500 SET_by_offset(disp, _gloffset_MultiTexCoord4iARB, fn);
6501}
6502
José Fonseca075d2bf2011-05-19 17:44:06 +01006503typedef void (GLAPIENTRYP _glptr_MultiTexCoord4ivARB)(GLenum, const GLint *);
6504#define CALL_MultiTexCoord4ivARB(disp, parameters) \
6505 (* GET_MultiTexCoord4ivARB(disp)) parameters
6506static INLINE _glptr_MultiTexCoord4ivARB GET_MultiTexCoord4ivARB(struct _glapi_table *disp) {
6507 return (_glptr_MultiTexCoord4ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4ivARB));
6508}
6509
6510static INLINE void SET_MultiTexCoord4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006511 SET_by_offset(disp, _gloffset_MultiTexCoord4ivARB, fn);
6512}
6513
José Fonseca075d2bf2011-05-19 17:44:06 +01006514typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort);
6515#define CALL_MultiTexCoord4sARB(disp, parameters) \
6516 (* GET_MultiTexCoord4sARB(disp)) parameters
6517static INLINE _glptr_MultiTexCoord4sARB GET_MultiTexCoord4sARB(struct _glapi_table *disp) {
6518 return (_glptr_MultiTexCoord4sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4sARB));
6519}
6520
6521static INLINE void SET_MultiTexCoord4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006522 SET_by_offset(disp, _gloffset_MultiTexCoord4sARB, fn);
6523}
6524
José Fonseca075d2bf2011-05-19 17:44:06 +01006525typedef void (GLAPIENTRYP _glptr_MultiTexCoord4svARB)(GLenum, const GLshort *);
6526#define CALL_MultiTexCoord4svARB(disp, parameters) \
6527 (* GET_MultiTexCoord4svARB(disp)) parameters
6528static INLINE _glptr_MultiTexCoord4svARB GET_MultiTexCoord4svARB(struct _glapi_table *disp) {
6529 return (_glptr_MultiTexCoord4svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4svARB));
6530}
6531
6532static INLINE void SET_MultiTexCoord4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006533 SET_by_offset(disp, _gloffset_MultiTexCoord4svARB, fn);
6534}
6535
José Fonseca075d2bf2011-05-19 17:44:06 +01006536typedef void (GLAPIENTRYP _glptr_AttachShader)(GLuint, GLuint);
6537#define CALL_AttachShader(disp, parameters) \
6538 (* GET_AttachShader(disp)) parameters
6539static INLINE _glptr_AttachShader GET_AttachShader(struct _glapi_table *disp) {
6540 return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader));
6541}
6542
6543static INLINE void SET_AttachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006544 SET_by_offset(disp, _gloffset_AttachShader, fn);
6545}
6546
José Fonseca075d2bf2011-05-19 17:44:06 +01006547typedef GLuint (GLAPIENTRYP _glptr_CreateProgram)(void);
6548#define CALL_CreateProgram(disp, parameters) \
6549 (* GET_CreateProgram(disp)) parameters
6550static INLINE _glptr_CreateProgram GET_CreateProgram(struct _glapi_table *disp) {
6551 return (_glptr_CreateProgram) (GET_by_offset(disp, _gloffset_CreateProgram));
6552}
6553
6554static INLINE void SET_CreateProgram(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006555 SET_by_offset(disp, _gloffset_CreateProgram, fn);
6556}
6557
José Fonseca075d2bf2011-05-19 17:44:06 +01006558typedef GLuint (GLAPIENTRYP _glptr_CreateShader)(GLenum);
6559#define CALL_CreateShader(disp, parameters) \
6560 (* GET_CreateShader(disp)) parameters
6561static INLINE _glptr_CreateShader GET_CreateShader(struct _glapi_table *disp) {
6562 return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader));
6563}
6564
6565static INLINE void SET_CreateShader(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006566 SET_by_offset(disp, _gloffset_CreateShader, fn);
6567}
6568
José Fonseca075d2bf2011-05-19 17:44:06 +01006569typedef void (GLAPIENTRYP _glptr_DeleteProgram)(GLuint);
6570#define CALL_DeleteProgram(disp, parameters) \
6571 (* GET_DeleteProgram(disp)) parameters
6572static INLINE _glptr_DeleteProgram GET_DeleteProgram(struct _glapi_table *disp) {
6573 return (_glptr_DeleteProgram) (GET_by_offset(disp, _gloffset_DeleteProgram));
6574}
6575
6576static INLINE void SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006577 SET_by_offset(disp, _gloffset_DeleteProgram, fn);
6578}
6579
José Fonseca075d2bf2011-05-19 17:44:06 +01006580typedef void (GLAPIENTRYP _glptr_DeleteShader)(GLuint);
6581#define CALL_DeleteShader(disp, parameters) \
6582 (* GET_DeleteShader(disp)) parameters
6583static INLINE _glptr_DeleteShader GET_DeleteShader(struct _glapi_table *disp) {
6584 return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader));
6585}
6586
6587static INLINE void SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006588 SET_by_offset(disp, _gloffset_DeleteShader, fn);
6589}
6590
José Fonseca075d2bf2011-05-19 17:44:06 +01006591typedef void (GLAPIENTRYP _glptr_DetachShader)(GLuint, GLuint);
6592#define CALL_DetachShader(disp, parameters) \
6593 (* GET_DetachShader(disp)) parameters
6594static INLINE _glptr_DetachShader GET_DetachShader(struct _glapi_table *disp) {
6595 return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader));
6596}
6597
6598static INLINE void SET_DetachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006599 SET_by_offset(disp, _gloffset_DetachShader, fn);
6600}
6601
José Fonseca075d2bf2011-05-19 17:44:06 +01006602typedef void (GLAPIENTRYP _glptr_GetAttachedShaders)(GLuint, GLsizei, GLsizei *, GLuint *);
6603#define CALL_GetAttachedShaders(disp, parameters) \
6604 (* GET_GetAttachedShaders(disp)) parameters
6605static INLINE _glptr_GetAttachedShaders GET_GetAttachedShaders(struct _glapi_table *disp) {
6606 return (_glptr_GetAttachedShaders) (GET_by_offset(disp, _gloffset_GetAttachedShaders));
6607}
6608
6609static INLINE void SET_GetAttachedShaders(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006610 SET_by_offset(disp, _gloffset_GetAttachedShaders, fn);
6611}
6612
José Fonseca075d2bf2011-05-19 17:44:06 +01006613typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
6614#define CALL_GetProgramInfoLog(disp, parameters) \
6615 (* GET_GetProgramInfoLog(disp)) parameters
6616static INLINE _glptr_GetProgramInfoLog GET_GetProgramInfoLog(struct _glapi_table *disp) {
6617 return (_glptr_GetProgramInfoLog) (GET_by_offset(disp, _gloffset_GetProgramInfoLog));
6618}
6619
6620static INLINE void SET_GetProgramInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006621 SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn);
6622}
6623
José Fonseca075d2bf2011-05-19 17:44:06 +01006624typedef void (GLAPIENTRYP _glptr_GetProgramiv)(GLuint, GLenum, GLint *);
6625#define CALL_GetProgramiv(disp, parameters) \
6626 (* GET_GetProgramiv(disp)) parameters
6627static INLINE _glptr_GetProgramiv GET_GetProgramiv(struct _glapi_table *disp) {
6628 return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv));
6629}
6630
6631static INLINE void SET_GetProgramiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006632 SET_by_offset(disp, _gloffset_GetProgramiv, fn);
6633}
6634
José Fonseca075d2bf2011-05-19 17:44:06 +01006635typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
6636#define CALL_GetShaderInfoLog(disp, parameters) \
6637 (* GET_GetShaderInfoLog(disp)) parameters
6638static INLINE _glptr_GetShaderInfoLog GET_GetShaderInfoLog(struct _glapi_table *disp) {
6639 return (_glptr_GetShaderInfoLog) (GET_by_offset(disp, _gloffset_GetShaderInfoLog));
6640}
6641
6642static INLINE void SET_GetShaderInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006643 SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn);
6644}
6645
José Fonseca075d2bf2011-05-19 17:44:06 +01006646typedef void (GLAPIENTRYP _glptr_GetShaderiv)(GLuint, GLenum, GLint *);
6647#define CALL_GetShaderiv(disp, parameters) \
6648 (* GET_GetShaderiv(disp)) parameters
6649static INLINE _glptr_GetShaderiv GET_GetShaderiv(struct _glapi_table *disp) {
6650 return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv));
6651}
6652
6653static INLINE void SET_GetShaderiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006654 SET_by_offset(disp, _gloffset_GetShaderiv, fn);
6655}
6656
José Fonseca075d2bf2011-05-19 17:44:06 +01006657typedef GLboolean (GLAPIENTRYP _glptr_IsProgram)(GLuint);
6658#define CALL_IsProgram(disp, parameters) \
6659 (* GET_IsProgram(disp)) parameters
6660static INLINE _glptr_IsProgram GET_IsProgram(struct _glapi_table *disp) {
6661 return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram));
6662}
6663
6664static INLINE void SET_IsProgram(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006665 SET_by_offset(disp, _gloffset_IsProgram, fn);
6666}
6667
José Fonseca075d2bf2011-05-19 17:44:06 +01006668typedef GLboolean (GLAPIENTRYP _glptr_IsShader)(GLuint);
6669#define CALL_IsShader(disp, parameters) \
6670 (* GET_IsShader(disp)) parameters
6671static INLINE _glptr_IsShader GET_IsShader(struct _glapi_table *disp) {
6672 return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader));
6673}
6674
6675static INLINE void SET_IsShader(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006676 SET_by_offset(disp, _gloffset_IsShader, fn);
6677}
6678
José Fonseca075d2bf2011-05-19 17:44:06 +01006679typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate)(GLenum, GLenum, GLint, GLuint);
6680#define CALL_StencilFuncSeparate(disp, parameters) \
6681 (* GET_StencilFuncSeparate(disp)) parameters
6682static INLINE _glptr_StencilFuncSeparate GET_StencilFuncSeparate(struct _glapi_table *disp) {
6683 return (_glptr_StencilFuncSeparate) (GET_by_offset(disp, _gloffset_StencilFuncSeparate));
6684}
6685
6686static INLINE void SET_StencilFuncSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006687 SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn);
6688}
6689
José Fonseca075d2bf2011-05-19 17:44:06 +01006690typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate)(GLenum, GLuint);
6691#define CALL_StencilMaskSeparate(disp, parameters) \
6692 (* GET_StencilMaskSeparate(disp)) parameters
6693static INLINE _glptr_StencilMaskSeparate GET_StencilMaskSeparate(struct _glapi_table *disp) {
6694 return (_glptr_StencilMaskSeparate) (GET_by_offset(disp, _gloffset_StencilMaskSeparate));
6695}
6696
6697static INLINE void SET_StencilMaskSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006698 SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn);
6699}
6700
José Fonseca075d2bf2011-05-19 17:44:06 +01006701typedef void (GLAPIENTRYP _glptr_StencilOpSeparate)(GLenum, GLenum, GLenum, GLenum);
6702#define CALL_StencilOpSeparate(disp, parameters) \
6703 (* GET_StencilOpSeparate(disp)) parameters
6704static INLINE _glptr_StencilOpSeparate GET_StencilOpSeparate(struct _glapi_table *disp) {
6705 return (_glptr_StencilOpSeparate) (GET_by_offset(disp, _gloffset_StencilOpSeparate));
6706}
6707
6708static INLINE void SET_StencilOpSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006709 SET_by_offset(disp, _gloffset_StencilOpSeparate, fn);
6710}
6711
José Fonseca075d2bf2011-05-19 17:44:06 +01006712typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6713#define CALL_UniformMatrix2x3fv(disp, parameters) \
6714 (* GET_UniformMatrix2x3fv(disp)) parameters
6715static INLINE _glptr_UniformMatrix2x3fv GET_UniformMatrix2x3fv(struct _glapi_table *disp) {
6716 return (_glptr_UniformMatrix2x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x3fv));
6717}
6718
6719static INLINE void SET_UniformMatrix2x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006720 SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn);
6721}
6722
José Fonseca075d2bf2011-05-19 17:44:06 +01006723typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6724#define CALL_UniformMatrix2x4fv(disp, parameters) \
6725 (* GET_UniformMatrix2x4fv(disp)) parameters
6726static INLINE _glptr_UniformMatrix2x4fv GET_UniformMatrix2x4fv(struct _glapi_table *disp) {
6727 return (_glptr_UniformMatrix2x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x4fv));
6728}
6729
6730static INLINE void SET_UniformMatrix2x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006731 SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn);
6732}
6733
José Fonseca075d2bf2011-05-19 17:44:06 +01006734typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6735#define CALL_UniformMatrix3x2fv(disp, parameters) \
6736 (* GET_UniformMatrix3x2fv(disp)) parameters
6737static INLINE _glptr_UniformMatrix3x2fv GET_UniformMatrix3x2fv(struct _glapi_table *disp) {
6738 return (_glptr_UniformMatrix3x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x2fv));
6739}
6740
6741static INLINE void SET_UniformMatrix3x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006742 SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn);
6743}
6744
José Fonseca075d2bf2011-05-19 17:44:06 +01006745typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6746#define CALL_UniformMatrix3x4fv(disp, parameters) \
6747 (* GET_UniformMatrix3x4fv(disp)) parameters
6748static INLINE _glptr_UniformMatrix3x4fv GET_UniformMatrix3x4fv(struct _glapi_table *disp) {
6749 return (_glptr_UniformMatrix3x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x4fv));
6750}
6751
6752static INLINE void SET_UniformMatrix3x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006753 SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn);
6754}
6755
José Fonseca075d2bf2011-05-19 17:44:06 +01006756typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6757#define CALL_UniformMatrix4x2fv(disp, parameters) \
6758 (* GET_UniformMatrix4x2fv(disp)) parameters
6759static INLINE _glptr_UniformMatrix4x2fv GET_UniformMatrix4x2fv(struct _glapi_table *disp) {
6760 return (_glptr_UniformMatrix4x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x2fv));
6761}
6762
6763static INLINE void SET_UniformMatrix4x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006764 SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn);
6765}
6766
José Fonseca075d2bf2011-05-19 17:44:06 +01006767typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
6768#define CALL_UniformMatrix4x3fv(disp, parameters) \
6769 (* GET_UniformMatrix4x3fv(disp)) parameters
6770static INLINE _glptr_UniformMatrix4x3fv GET_UniformMatrix4x3fv(struct _glapi_table *disp) {
6771 return (_glptr_UniformMatrix4x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x3fv));
6772}
6773
6774static INLINE void SET_UniformMatrix4x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006775 SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn);
6776}
6777
José Fonseca075d2bf2011-05-19 17:44:06 +01006778typedef void (GLAPIENTRYP _glptr_ClampColor)(GLenum, GLenum);
6779#define CALL_ClampColor(disp, parameters) \
6780 (* GET_ClampColor(disp)) parameters
6781static INLINE _glptr_ClampColor GET_ClampColor(struct _glapi_table *disp) {
6782 return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor));
6783}
6784
6785static INLINE void SET_ClampColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006786 SET_by_offset(disp, _gloffset_ClampColor, fn);
6787}
6788
José Fonseca075d2bf2011-05-19 17:44:06 +01006789typedef void (GLAPIENTRYP _glptr_ClearBufferfi)(GLenum, GLint, GLfloat, GLint);
6790#define CALL_ClearBufferfi(disp, parameters) \
6791 (* GET_ClearBufferfi(disp)) parameters
6792static INLINE _glptr_ClearBufferfi GET_ClearBufferfi(struct _glapi_table *disp) {
6793 return (_glptr_ClearBufferfi) (GET_by_offset(disp, _gloffset_ClearBufferfi));
6794}
6795
6796static INLINE void SET_ClearBufferfi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLfloat, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006797 SET_by_offset(disp, _gloffset_ClearBufferfi, fn);
6798}
6799
José Fonseca075d2bf2011-05-19 17:44:06 +01006800typedef void (GLAPIENTRYP _glptr_ClearBufferfv)(GLenum, GLint, const GLfloat *);
6801#define CALL_ClearBufferfv(disp, parameters) \
6802 (* GET_ClearBufferfv(disp)) parameters
6803static INLINE _glptr_ClearBufferfv GET_ClearBufferfv(struct _glapi_table *disp) {
6804 return (_glptr_ClearBufferfv) (GET_by_offset(disp, _gloffset_ClearBufferfv));
6805}
6806
6807static INLINE void SET_ClearBufferfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006808 SET_by_offset(disp, _gloffset_ClearBufferfv, fn);
6809}
6810
José Fonseca075d2bf2011-05-19 17:44:06 +01006811typedef void (GLAPIENTRYP _glptr_ClearBufferiv)(GLenum, GLint, const GLint *);
6812#define CALL_ClearBufferiv(disp, parameters) \
6813 (* GET_ClearBufferiv(disp)) parameters
6814static INLINE _glptr_ClearBufferiv GET_ClearBufferiv(struct _glapi_table *disp) {
6815 return (_glptr_ClearBufferiv) (GET_by_offset(disp, _gloffset_ClearBufferiv));
6816}
6817
6818static INLINE void SET_ClearBufferiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006819 SET_by_offset(disp, _gloffset_ClearBufferiv, fn);
6820}
6821
José Fonseca075d2bf2011-05-19 17:44:06 +01006822typedef void (GLAPIENTRYP _glptr_ClearBufferuiv)(GLenum, GLint, const GLuint *);
6823#define CALL_ClearBufferuiv(disp, parameters) \
6824 (* GET_ClearBufferuiv(disp)) parameters
6825static INLINE _glptr_ClearBufferuiv GET_ClearBufferuiv(struct _glapi_table *disp) {
6826 return (_glptr_ClearBufferuiv) (GET_by_offset(disp, _gloffset_ClearBufferuiv));
6827}
6828
6829static INLINE void SET_ClearBufferuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006830 SET_by_offset(disp, _gloffset_ClearBufferuiv, fn);
6831}
6832
José Fonseca075d2bf2011-05-19 17:44:06 +01006833typedef const GLubyte * (GLAPIENTRYP _glptr_GetStringi)(GLenum, GLuint);
6834#define CALL_GetStringi(disp, parameters) \
6835 (* GET_GetStringi(disp)) parameters
6836static INLINE _glptr_GetStringi GET_GetStringi(struct _glapi_table *disp) {
6837 return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi));
6838}
6839
6840static INLINE void SET_GetStringi(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006841 SET_by_offset(disp, _gloffset_GetStringi, fn);
6842}
6843
José Fonseca075d2bf2011-05-19 17:44:06 +01006844typedef void (GLAPIENTRYP _glptr_TexBuffer)(GLenum, GLenum, GLuint);
6845#define CALL_TexBuffer(disp, parameters) \
6846 (* GET_TexBuffer(disp)) parameters
6847static INLINE _glptr_TexBuffer GET_TexBuffer(struct _glapi_table *disp) {
6848 return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer));
6849}
6850
6851static INLINE void SET_TexBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006852 SET_by_offset(disp, _gloffset_TexBuffer, fn);
6853}
6854
José Fonseca075d2bf2011-05-19 17:44:06 +01006855typedef void (GLAPIENTRYP _glptr_FramebufferTexture)(GLenum, GLenum, GLuint, GLint);
6856#define CALL_FramebufferTexture(disp, parameters) \
6857 (* GET_FramebufferTexture(disp)) parameters
6858static INLINE _glptr_FramebufferTexture GET_FramebufferTexture(struct _glapi_table *disp) {
6859 return (_glptr_FramebufferTexture) (GET_by_offset(disp, _gloffset_FramebufferTexture));
6860}
6861
6862static INLINE void SET_FramebufferTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006863 SET_by_offset(disp, _gloffset_FramebufferTexture, fn);
6864}
6865
José Fonseca075d2bf2011-05-19 17:44:06 +01006866typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v)(GLenum, GLenum, GLint64 *);
6867#define CALL_GetBufferParameteri64v(disp, parameters) \
6868 (* GET_GetBufferParameteri64v(disp)) parameters
6869static INLINE _glptr_GetBufferParameteri64v GET_GetBufferParameteri64v(struct _glapi_table *disp) {
6870 return (_glptr_GetBufferParameteri64v) (GET_by_offset(disp, _gloffset_GetBufferParameteri64v));
6871}
6872
6873static INLINE void SET_GetBufferParameteri64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint64 *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006874 SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn);
6875}
6876
José Fonseca075d2bf2011-05-19 17:44:06 +01006877typedef void (GLAPIENTRYP _glptr_GetInteger64i_v)(GLenum, GLuint, GLint64 *);
6878#define CALL_GetInteger64i_v(disp, parameters) \
6879 (* GET_GetInteger64i_v(disp)) parameters
6880static 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
6884static INLINE void SET_GetInteger64i_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint64 *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006885 SET_by_offset(disp, _gloffset_GetInteger64i_v, fn);
6886}
6887
José Fonseca075d2bf2011-05-19 17:44:06 +01006888typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor)(GLuint, GLuint);
6889#define CALL_VertexAttribDivisor(disp, parameters) \
6890 (* GET_VertexAttribDivisor(disp)) parameters
6891static INLINE _glptr_VertexAttribDivisor GET_VertexAttribDivisor(struct _glapi_table *disp) {
6892 return (_glptr_VertexAttribDivisor) (GET_by_offset(disp, _gloffset_VertexAttribDivisor));
6893}
6894
6895static INLINE void SET_VertexAttribDivisor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006896 SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn);
6897}
6898
José Fonseca075d2bf2011-05-19 17:44:06 +01006899typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixdARB)(const GLdouble *);
6900#define CALL_LoadTransposeMatrixdARB(disp, parameters) \
6901 (* GET_LoadTransposeMatrixdARB(disp)) parameters
6902static INLINE _glptr_LoadTransposeMatrixdARB GET_LoadTransposeMatrixdARB(struct _glapi_table *disp) {
6903 return (_glptr_LoadTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB));
6904}
6905
6906static INLINE void SET_LoadTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006907 SET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB, fn);
6908}
6909
José Fonseca075d2bf2011-05-19 17:44:06 +01006910typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixfARB)(const GLfloat *);
6911#define CALL_LoadTransposeMatrixfARB(disp, parameters) \
6912 (* GET_LoadTransposeMatrixfARB(disp)) parameters
6913static INLINE _glptr_LoadTransposeMatrixfARB GET_LoadTransposeMatrixfARB(struct _glapi_table *disp) {
6914 return (_glptr_LoadTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB));
6915}
6916
6917static INLINE void SET_LoadTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006918 SET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB, fn);
6919}
6920
José Fonseca075d2bf2011-05-19 17:44:06 +01006921typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixdARB)(const GLdouble *);
6922#define CALL_MultTransposeMatrixdARB(disp, parameters) \
6923 (* GET_MultTransposeMatrixdARB(disp)) parameters
6924static INLINE _glptr_MultTransposeMatrixdARB GET_MultTransposeMatrixdARB(struct _glapi_table *disp) {
6925 return (_glptr_MultTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixdARB));
6926}
6927
6928static INLINE void SET_MultTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006929 SET_by_offset(disp, _gloffset_MultTransposeMatrixdARB, fn);
6930}
6931
José Fonseca075d2bf2011-05-19 17:44:06 +01006932typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixfARB)(const GLfloat *);
6933#define CALL_MultTransposeMatrixfARB(disp, parameters) \
6934 (* GET_MultTransposeMatrixfARB(disp)) parameters
6935static INLINE _glptr_MultTransposeMatrixfARB GET_MultTransposeMatrixfARB(struct _glapi_table *disp) {
6936 return (_glptr_MultTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixfARB));
6937}
6938
6939static INLINE void SET_MultTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006940 SET_by_offset(disp, _gloffset_MultTransposeMatrixfARB, fn);
6941}
6942
José Fonseca075d2bf2011-05-19 17:44:06 +01006943typedef void (GLAPIENTRYP _glptr_SampleCoverageARB)(GLclampf, GLboolean);
6944#define CALL_SampleCoverageARB(disp, parameters) \
6945 (* GET_SampleCoverageARB(disp)) parameters
6946static INLINE _glptr_SampleCoverageARB GET_SampleCoverageARB(struct _glapi_table *disp) {
6947 return (_glptr_SampleCoverageARB) (GET_by_offset(disp, _gloffset_SampleCoverageARB));
6948}
6949
6950static INLINE void SET_SampleCoverageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006951 SET_by_offset(disp, _gloffset_SampleCoverageARB, fn);
6952}
6953
José Fonseca075d2bf2011-05-19 17:44:06 +01006954typedef void (GLAPIENTRYP _glptr_CompressedTexImage1DARB)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
6955#define CALL_CompressedTexImage1DARB(disp, parameters) \
6956 (* GET_CompressedTexImage1DARB(disp)) parameters
6957static INLINE _glptr_CompressedTexImage1DARB GET_CompressedTexImage1DARB(struct _glapi_table *disp) {
6958 return (_glptr_CompressedTexImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage1DARB));
6959}
6960
6961static INLINE void SET_CompressedTexImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006962 SET_by_offset(disp, _gloffset_CompressedTexImage1DARB, fn);
6963}
6964
José Fonseca075d2bf2011-05-19 17:44:06 +01006965typedef void (GLAPIENTRYP _glptr_CompressedTexImage2DARB)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
6966#define CALL_CompressedTexImage2DARB(disp, parameters) \
6967 (* GET_CompressedTexImage2DARB(disp)) parameters
6968static INLINE _glptr_CompressedTexImage2DARB GET_CompressedTexImage2DARB(struct _glapi_table *disp) {
6969 return (_glptr_CompressedTexImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage2DARB));
6970}
6971
6972static INLINE void SET_CompressedTexImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006973 SET_by_offset(disp, _gloffset_CompressedTexImage2DARB, fn);
6974}
6975
José Fonseca075d2bf2011-05-19 17:44:06 +01006976typedef 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
6979static INLINE _glptr_CompressedTexImage3DARB GET_CompressedTexImage3DARB(struct _glapi_table *disp) {
6980 return (_glptr_CompressedTexImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage3DARB));
6981}
6982
6983static INLINE void SET_CompressedTexImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006984 SET_by_offset(disp, _gloffset_CompressedTexImage3DARB, fn);
6985}
6986
José Fonseca075d2bf2011-05-19 17:44:06 +01006987typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1DARB)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
6988#define CALL_CompressedTexSubImage1DARB(disp, parameters) \
6989 (* GET_CompressedTexSubImage1DARB(disp)) parameters
6990static INLINE _glptr_CompressedTexSubImage1DARB GET_CompressedTexSubImage1DARB(struct _glapi_table *disp) {
6991 return (_glptr_CompressedTexSubImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB));
6992}
6993
6994static INLINE void SET_CompressedTexSubImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01006995 SET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB, fn);
6996}
6997
José Fonseca075d2bf2011-05-19 17:44:06 +01006998typedef 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
7001static INLINE _glptr_CompressedTexSubImage2DARB GET_CompressedTexSubImage2DARB(struct _glapi_table *disp) {
7002 return (_glptr_CompressedTexSubImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB));
7003}
7004
7005static INLINE void SET_CompressedTexSubImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007006 SET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB, fn);
7007}
7008
José Fonseca075d2bf2011-05-19 17:44:06 +01007009typedef 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
7012static INLINE _glptr_CompressedTexSubImage3DARB GET_CompressedTexSubImage3DARB(struct _glapi_table *disp) {
7013 return (_glptr_CompressedTexSubImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB));
7014}
7015
7016static INLINE void SET_CompressedTexSubImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007017 SET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB, fn);
7018}
7019
José Fonseca075d2bf2011-05-19 17:44:06 +01007020typedef void (GLAPIENTRYP _glptr_GetCompressedTexImageARB)(GLenum, GLint, GLvoid *);
7021#define CALL_GetCompressedTexImageARB(disp, parameters) \
7022 (* GET_GetCompressedTexImageARB(disp)) parameters
7023static INLINE _glptr_GetCompressedTexImageARB GET_GetCompressedTexImageARB(struct _glapi_table *disp) {
7024 return (_glptr_GetCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetCompressedTexImageARB));
7025}
7026
7027static INLINE void SET_GetCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007028 SET_by_offset(disp, _gloffset_GetCompressedTexImageARB, fn);
7029}
7030
José Fonseca075d2bf2011-05-19 17:44:06 +01007031typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArrayARB)(GLuint);
7032#define CALL_DisableVertexAttribArrayARB(disp, parameters) \
7033 (* GET_DisableVertexAttribArrayARB(disp)) parameters
7034static INLINE _glptr_DisableVertexAttribArrayARB GET_DisableVertexAttribArrayARB(struct _glapi_table *disp) {
7035 return (_glptr_DisableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB));
7036}
7037
7038static INLINE void SET_DisableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007039 SET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB, fn);
7040}
7041
José Fonseca075d2bf2011-05-19 17:44:06 +01007042typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArrayARB)(GLuint);
7043#define CALL_EnableVertexAttribArrayARB(disp, parameters) \
7044 (* GET_EnableVertexAttribArrayARB(disp)) parameters
7045static INLINE _glptr_EnableVertexAttribArrayARB GET_EnableVertexAttribArrayARB(struct _glapi_table *disp) {
7046 return (_glptr_EnableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB));
7047}
7048
7049static INLINE void SET_EnableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007050 SET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB, fn);
7051}
7052
José Fonseca075d2bf2011-05-19 17:44:06 +01007053typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB)(GLenum, GLuint, GLdouble *);
7054#define CALL_GetProgramEnvParameterdvARB(disp, parameters) \
7055 (* GET_GetProgramEnvParameterdvARB(disp)) parameters
7056static INLINE _glptr_GetProgramEnvParameterdvARB GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp) {
7057 return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB));
7058}
7059
7060static INLINE void SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007061 SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn);
7062}
7063
José Fonseca075d2bf2011-05-19 17:44:06 +01007064typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB)(GLenum, GLuint, GLfloat *);
7065#define CALL_GetProgramEnvParameterfvARB(disp, parameters) \
7066 (* GET_GetProgramEnvParameterfvARB(disp)) parameters
7067static INLINE _glptr_GetProgramEnvParameterfvARB GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp) {
7068 return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB));
7069}
7070
7071static INLINE void SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007072 SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn);
7073}
7074
José Fonseca075d2bf2011-05-19 17:44:06 +01007075typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB)(GLenum, GLuint, GLdouble *);
7076#define CALL_GetProgramLocalParameterdvARB(disp, parameters) \
7077 (* GET_GetProgramLocalParameterdvARB(disp)) parameters
7078static INLINE _glptr_GetProgramLocalParameterdvARB GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp) {
7079 return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB));
7080}
7081
7082static INLINE void SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007083 SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn);
7084}
7085
José Fonseca075d2bf2011-05-19 17:44:06 +01007086typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB)(GLenum, GLuint, GLfloat *);
7087#define CALL_GetProgramLocalParameterfvARB(disp, parameters) \
7088 (* GET_GetProgramLocalParameterfvARB(disp)) parameters
7089static INLINE _glptr_GetProgramLocalParameterfvARB GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp) {
7090 return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB));
7091}
7092
7093static INLINE void SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007094 SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn);
7095}
7096
José Fonseca075d2bf2011-05-19 17:44:06 +01007097typedef void (GLAPIENTRYP _glptr_GetProgramStringARB)(GLenum, GLenum, GLvoid *);
7098#define CALL_GetProgramStringARB(disp, parameters) \
7099 (* GET_GetProgramStringARB(disp)) parameters
7100static INLINE _glptr_GetProgramStringARB GET_GetProgramStringARB(struct _glapi_table *disp) {
7101 return (_glptr_GetProgramStringARB) (GET_by_offset(disp, _gloffset_GetProgramStringARB));
7102}
7103
7104static INLINE void SET_GetProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007105 SET_by_offset(disp, _gloffset_GetProgramStringARB, fn);
7106}
7107
José Fonseca075d2bf2011-05-19 17:44:06 +01007108typedef void (GLAPIENTRYP _glptr_GetProgramivARB)(GLenum, GLenum, GLint *);
7109#define CALL_GetProgramivARB(disp, parameters) \
7110 (* GET_GetProgramivARB(disp)) parameters
7111static INLINE _glptr_GetProgramivARB GET_GetProgramivARB(struct _glapi_table *disp) {
7112 return (_glptr_GetProgramivARB) (GET_by_offset(disp, _gloffset_GetProgramivARB));
7113}
7114
7115static INLINE void SET_GetProgramivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007116 SET_by_offset(disp, _gloffset_GetProgramivARB, fn);
7117}
7118
José Fonseca075d2bf2011-05-19 17:44:06 +01007119typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvARB)(GLuint, GLenum, GLdouble *);
7120#define CALL_GetVertexAttribdvARB(disp, parameters) \
7121 (* GET_GetVertexAttribdvARB(disp)) parameters
7122static INLINE _glptr_GetVertexAttribdvARB GET_GetVertexAttribdvARB(struct _glapi_table *disp) {
7123 return (_glptr_GetVertexAttribdvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribdvARB));
7124}
7125
7126static INLINE void SET_GetVertexAttribdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007127 SET_by_offset(disp, _gloffset_GetVertexAttribdvARB, fn);
7128}
7129
José Fonseca075d2bf2011-05-19 17:44:06 +01007130typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvARB)(GLuint, GLenum, GLfloat *);
7131#define CALL_GetVertexAttribfvARB(disp, parameters) \
7132 (* GET_GetVertexAttribfvARB(disp)) parameters
7133static INLINE _glptr_GetVertexAttribfvARB GET_GetVertexAttribfvARB(struct _glapi_table *disp) {
7134 return (_glptr_GetVertexAttribfvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribfvARB));
7135}
7136
7137static INLINE void SET_GetVertexAttribfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007138 SET_by_offset(disp, _gloffset_GetVertexAttribfvARB, fn);
7139}
7140
José Fonseca075d2bf2011-05-19 17:44:06 +01007141typedef void (GLAPIENTRYP _glptr_GetVertexAttribivARB)(GLuint, GLenum, GLint *);
7142#define CALL_GetVertexAttribivARB(disp, parameters) \
7143 (* GET_GetVertexAttribivARB(disp)) parameters
7144static INLINE _glptr_GetVertexAttribivARB GET_GetVertexAttribivARB(struct _glapi_table *disp) {
7145 return (_glptr_GetVertexAttribivARB) (GET_by_offset(disp, _gloffset_GetVertexAttribivARB));
7146}
7147
7148static INLINE void SET_GetVertexAttribivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007149 SET_by_offset(disp, _gloffset_GetVertexAttribivARB, fn);
7150}
7151
José Fonseca075d2bf2011-05-19 17:44:06 +01007152typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
7153#define CALL_ProgramEnvParameter4dARB(disp, parameters) \
7154 (* GET_ProgramEnvParameter4dARB(disp)) parameters
7155static INLINE _glptr_ProgramEnvParameter4dARB GET_ProgramEnvParameter4dARB(struct _glapi_table *disp) {
7156 return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB));
7157}
7158
7159static INLINE void SET_ProgramEnvParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007160 SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn);
7161}
7162
José Fonseca075d2bf2011-05-19 17:44:06 +01007163typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB)(GLenum, GLuint, const GLdouble *);
7164#define CALL_ProgramEnvParameter4dvARB(disp, parameters) \
7165 (* GET_ProgramEnvParameter4dvARB(disp)) parameters
7166static INLINE _glptr_ProgramEnvParameter4dvARB GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp) {
7167 return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB));
7168}
7169
7170static INLINE void SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007171 SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn);
7172}
7173
José Fonseca075d2bf2011-05-19 17:44:06 +01007174typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
7175#define CALL_ProgramEnvParameter4fARB(disp, parameters) \
7176 (* GET_ProgramEnvParameter4fARB(disp)) parameters
7177static INLINE _glptr_ProgramEnvParameter4fARB GET_ProgramEnvParameter4fARB(struct _glapi_table *disp) {
7178 return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB));
7179}
7180
7181static INLINE void SET_ProgramEnvParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007182 SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn);
7183}
7184
José Fonseca075d2bf2011-05-19 17:44:06 +01007185typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB)(GLenum, GLuint, const GLfloat *);
7186#define CALL_ProgramEnvParameter4fvARB(disp, parameters) \
7187 (* GET_ProgramEnvParameter4fvARB(disp)) parameters
7188static INLINE _glptr_ProgramEnvParameter4fvARB GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp) {
7189 return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB));
7190}
7191
7192static INLINE void SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007193 SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn);
7194}
7195
José Fonseca075d2bf2011-05-19 17:44:06 +01007196typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
7197#define CALL_ProgramLocalParameter4dARB(disp, parameters) \
7198 (* GET_ProgramLocalParameter4dARB(disp)) parameters
7199static INLINE _glptr_ProgramLocalParameter4dARB GET_ProgramLocalParameter4dARB(struct _glapi_table *disp) {
7200 return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB));
7201}
7202
7203static INLINE void SET_ProgramLocalParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007204 SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn);
7205}
7206
José Fonseca075d2bf2011-05-19 17:44:06 +01007207typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB)(GLenum, GLuint, const GLdouble *);
7208#define CALL_ProgramLocalParameter4dvARB(disp, parameters) \
7209 (* GET_ProgramLocalParameter4dvARB(disp)) parameters
7210static INLINE _glptr_ProgramLocalParameter4dvARB GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp) {
7211 return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB));
7212}
7213
7214static INLINE void SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007215 SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn);
7216}
7217
José Fonseca075d2bf2011-05-19 17:44:06 +01007218typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
7219#define CALL_ProgramLocalParameter4fARB(disp, parameters) \
7220 (* GET_ProgramLocalParameter4fARB(disp)) parameters
7221static INLINE _glptr_ProgramLocalParameter4fARB GET_ProgramLocalParameter4fARB(struct _glapi_table *disp) {
7222 return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB));
7223}
7224
7225static INLINE void SET_ProgramLocalParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007226 SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn);
7227}
7228
José Fonseca075d2bf2011-05-19 17:44:06 +01007229typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *);
7230#define CALL_ProgramLocalParameter4fvARB(disp, parameters) \
7231 (* GET_ProgramLocalParameter4fvARB(disp)) parameters
7232static INLINE _glptr_ProgramLocalParameter4fvARB GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp) {
7233 return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB));
7234}
7235
7236static INLINE void SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007237 SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn);
7238}
7239
José Fonseca075d2bf2011-05-19 17:44:06 +01007240typedef void (GLAPIENTRYP _glptr_ProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *);
7241#define CALL_ProgramStringARB(disp, parameters) \
7242 (* GET_ProgramStringARB(disp)) parameters
7243static INLINE _glptr_ProgramStringARB GET_ProgramStringARB(struct _glapi_table *disp) {
7244 return (_glptr_ProgramStringARB) (GET_by_offset(disp, _gloffset_ProgramStringARB));
7245}
7246
7247static INLINE void SET_ProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007248 SET_by_offset(disp, _gloffset_ProgramStringARB, fn);
7249}
7250
José Fonseca075d2bf2011-05-19 17:44:06 +01007251typedef void (GLAPIENTRYP _glptr_VertexAttrib1dARB)(GLuint, GLdouble);
7252#define CALL_VertexAttrib1dARB(disp, parameters) \
7253 (* GET_VertexAttrib1dARB(disp)) parameters
7254static INLINE _glptr_VertexAttrib1dARB GET_VertexAttrib1dARB(struct _glapi_table *disp) {
7255 return (_glptr_VertexAttrib1dARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dARB));
7256}
7257
7258static INLINE void SET_VertexAttrib1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007259 SET_by_offset(disp, _gloffset_VertexAttrib1dARB, fn);
7260}
7261
José Fonseca075d2bf2011-05-19 17:44:06 +01007262typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvARB)(GLuint, const GLdouble *);
7263#define CALL_VertexAttrib1dvARB(disp, parameters) \
7264 (* GET_VertexAttrib1dvARB(disp)) parameters
7265static INLINE _glptr_VertexAttrib1dvARB GET_VertexAttrib1dvARB(struct _glapi_table *disp) {
7266 return (_glptr_VertexAttrib1dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dvARB));
7267}
7268
7269static INLINE void SET_VertexAttrib1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007270 SET_by_offset(disp, _gloffset_VertexAttrib1dvARB, fn);
7271}
7272
José Fonseca075d2bf2011-05-19 17:44:06 +01007273typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB)(GLuint, GLfloat);
7274#define CALL_VertexAttrib1fARB(disp, parameters) \
7275 (* GET_VertexAttrib1fARB(disp)) parameters
7276static INLINE _glptr_VertexAttrib1fARB GET_VertexAttrib1fARB(struct _glapi_table *disp) {
7277 return (_glptr_VertexAttrib1fARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fARB));
7278}
7279
7280static INLINE void SET_VertexAttrib1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007281 SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn);
7282}
7283
José Fonseca075d2bf2011-05-19 17:44:06 +01007284typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB)(GLuint, const GLfloat *);
7285#define CALL_VertexAttrib1fvARB(disp, parameters) \
7286 (* GET_VertexAttrib1fvARB(disp)) parameters
7287static INLINE _glptr_VertexAttrib1fvARB GET_VertexAttrib1fvARB(struct _glapi_table *disp) {
7288 return (_glptr_VertexAttrib1fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fvARB));
7289}
7290
7291static INLINE void SET_VertexAttrib1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007292 SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn);
7293}
7294
José Fonseca075d2bf2011-05-19 17:44:06 +01007295typedef void (GLAPIENTRYP _glptr_VertexAttrib1sARB)(GLuint, GLshort);
7296#define CALL_VertexAttrib1sARB(disp, parameters) \
7297 (* GET_VertexAttrib1sARB(disp)) parameters
7298static INLINE _glptr_VertexAttrib1sARB GET_VertexAttrib1sARB(struct _glapi_table *disp) {
7299 return (_glptr_VertexAttrib1sARB) (GET_by_offset(disp, _gloffset_VertexAttrib1sARB));
7300}
7301
7302static INLINE void SET_VertexAttrib1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007303 SET_by_offset(disp, _gloffset_VertexAttrib1sARB, fn);
7304}
7305
José Fonseca075d2bf2011-05-19 17:44:06 +01007306typedef void (GLAPIENTRYP _glptr_VertexAttrib1svARB)(GLuint, const GLshort *);
7307#define CALL_VertexAttrib1svARB(disp, parameters) \
7308 (* GET_VertexAttrib1svARB(disp)) parameters
7309static INLINE _glptr_VertexAttrib1svARB GET_VertexAttrib1svARB(struct _glapi_table *disp) {
7310 return (_glptr_VertexAttrib1svARB) (GET_by_offset(disp, _gloffset_VertexAttrib1svARB));
7311}
7312
7313static INLINE void SET_VertexAttrib1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007314 SET_by_offset(disp, _gloffset_VertexAttrib1svARB, fn);
7315}
7316
José Fonseca075d2bf2011-05-19 17:44:06 +01007317typedef void (GLAPIENTRYP _glptr_VertexAttrib2dARB)(GLuint, GLdouble, GLdouble);
7318#define CALL_VertexAttrib2dARB(disp, parameters) \
7319 (* GET_VertexAttrib2dARB(disp)) parameters
7320static INLINE _glptr_VertexAttrib2dARB GET_VertexAttrib2dARB(struct _glapi_table *disp) {
7321 return (_glptr_VertexAttrib2dARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dARB));
7322}
7323
7324static INLINE void SET_VertexAttrib2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007325 SET_by_offset(disp, _gloffset_VertexAttrib2dARB, fn);
7326}
7327
José Fonseca075d2bf2011-05-19 17:44:06 +01007328typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvARB)(GLuint, const GLdouble *);
7329#define CALL_VertexAttrib2dvARB(disp, parameters) \
7330 (* GET_VertexAttrib2dvARB(disp)) parameters
7331static INLINE _glptr_VertexAttrib2dvARB GET_VertexAttrib2dvARB(struct _glapi_table *disp) {
7332 return (_glptr_VertexAttrib2dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dvARB));
7333}
7334
7335static INLINE void SET_VertexAttrib2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007336 SET_by_offset(disp, _gloffset_VertexAttrib2dvARB, fn);
7337}
7338
José Fonseca075d2bf2011-05-19 17:44:06 +01007339typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB)(GLuint, GLfloat, GLfloat);
7340#define CALL_VertexAttrib2fARB(disp, parameters) \
7341 (* GET_VertexAttrib2fARB(disp)) parameters
7342static INLINE _glptr_VertexAttrib2fARB GET_VertexAttrib2fARB(struct _glapi_table *disp) {
7343 return (_glptr_VertexAttrib2fARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fARB));
7344}
7345
7346static INLINE void SET_VertexAttrib2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007347 SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn);
7348}
7349
José Fonseca075d2bf2011-05-19 17:44:06 +01007350typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB)(GLuint, const GLfloat *);
7351#define CALL_VertexAttrib2fvARB(disp, parameters) \
7352 (* GET_VertexAttrib2fvARB(disp)) parameters
7353static INLINE _glptr_VertexAttrib2fvARB GET_VertexAttrib2fvARB(struct _glapi_table *disp) {
7354 return (_glptr_VertexAttrib2fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fvARB));
7355}
7356
7357static INLINE void SET_VertexAttrib2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007358 SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn);
7359}
7360
José Fonseca075d2bf2011-05-19 17:44:06 +01007361typedef void (GLAPIENTRYP _glptr_VertexAttrib2sARB)(GLuint, GLshort, GLshort);
7362#define CALL_VertexAttrib2sARB(disp, parameters) \
7363 (* GET_VertexAttrib2sARB(disp)) parameters
7364static INLINE _glptr_VertexAttrib2sARB GET_VertexAttrib2sARB(struct _glapi_table *disp) {
7365 return (_glptr_VertexAttrib2sARB) (GET_by_offset(disp, _gloffset_VertexAttrib2sARB));
7366}
7367
7368static INLINE void SET_VertexAttrib2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007369 SET_by_offset(disp, _gloffset_VertexAttrib2sARB, fn);
7370}
7371
José Fonseca075d2bf2011-05-19 17:44:06 +01007372typedef void (GLAPIENTRYP _glptr_VertexAttrib2svARB)(GLuint, const GLshort *);
7373#define CALL_VertexAttrib2svARB(disp, parameters) \
7374 (* GET_VertexAttrib2svARB(disp)) parameters
7375static INLINE _glptr_VertexAttrib2svARB GET_VertexAttrib2svARB(struct _glapi_table *disp) {
7376 return (_glptr_VertexAttrib2svARB) (GET_by_offset(disp, _gloffset_VertexAttrib2svARB));
7377}
7378
7379static INLINE void SET_VertexAttrib2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007380 SET_by_offset(disp, _gloffset_VertexAttrib2svARB, fn);
7381}
7382
José Fonseca075d2bf2011-05-19 17:44:06 +01007383typedef void (GLAPIENTRYP _glptr_VertexAttrib3dARB)(GLuint, GLdouble, GLdouble, GLdouble);
7384#define CALL_VertexAttrib3dARB(disp, parameters) \
7385 (* GET_VertexAttrib3dARB(disp)) parameters
7386static INLINE _glptr_VertexAttrib3dARB GET_VertexAttrib3dARB(struct _glapi_table *disp) {
7387 return (_glptr_VertexAttrib3dARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dARB));
7388}
7389
7390static INLINE void SET_VertexAttrib3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007391 SET_by_offset(disp, _gloffset_VertexAttrib3dARB, fn);
7392}
7393
José Fonseca075d2bf2011-05-19 17:44:06 +01007394typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvARB)(GLuint, const GLdouble *);
7395#define CALL_VertexAttrib3dvARB(disp, parameters) \
7396 (* GET_VertexAttrib3dvARB(disp)) parameters
7397static INLINE _glptr_VertexAttrib3dvARB GET_VertexAttrib3dvARB(struct _glapi_table *disp) {
7398 return (_glptr_VertexAttrib3dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dvARB));
7399}
7400
7401static INLINE void SET_VertexAttrib3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007402 SET_by_offset(disp, _gloffset_VertexAttrib3dvARB, fn);
7403}
7404
José Fonseca075d2bf2011-05-19 17:44:06 +01007405typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB)(GLuint, GLfloat, GLfloat, GLfloat);
7406#define CALL_VertexAttrib3fARB(disp, parameters) \
7407 (* GET_VertexAttrib3fARB(disp)) parameters
7408static INLINE _glptr_VertexAttrib3fARB GET_VertexAttrib3fARB(struct _glapi_table *disp) {
7409 return (_glptr_VertexAttrib3fARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fARB));
7410}
7411
7412static INLINE void SET_VertexAttrib3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007413 SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn);
7414}
7415
José Fonseca075d2bf2011-05-19 17:44:06 +01007416typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB)(GLuint, const GLfloat *);
7417#define CALL_VertexAttrib3fvARB(disp, parameters) \
7418 (* GET_VertexAttrib3fvARB(disp)) parameters
7419static INLINE _glptr_VertexAttrib3fvARB GET_VertexAttrib3fvARB(struct _glapi_table *disp) {
7420 return (_glptr_VertexAttrib3fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fvARB));
7421}
7422
7423static INLINE void SET_VertexAttrib3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007424 SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn);
7425}
7426
José Fonseca075d2bf2011-05-19 17:44:06 +01007427typedef void (GLAPIENTRYP _glptr_VertexAttrib3sARB)(GLuint, GLshort, GLshort, GLshort);
7428#define CALL_VertexAttrib3sARB(disp, parameters) \
7429 (* GET_VertexAttrib3sARB(disp)) parameters
7430static INLINE _glptr_VertexAttrib3sARB GET_VertexAttrib3sARB(struct _glapi_table *disp) {
7431 return (_glptr_VertexAttrib3sARB) (GET_by_offset(disp, _gloffset_VertexAttrib3sARB));
7432}
7433
7434static INLINE void SET_VertexAttrib3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007435 SET_by_offset(disp, _gloffset_VertexAttrib3sARB, fn);
7436}
7437
José Fonseca075d2bf2011-05-19 17:44:06 +01007438typedef void (GLAPIENTRYP _glptr_VertexAttrib3svARB)(GLuint, const GLshort *);
7439#define CALL_VertexAttrib3svARB(disp, parameters) \
7440 (* GET_VertexAttrib3svARB(disp)) parameters
7441static INLINE _glptr_VertexAttrib3svARB GET_VertexAttrib3svARB(struct _glapi_table *disp) {
7442 return (_glptr_VertexAttrib3svARB) (GET_by_offset(disp, _gloffset_VertexAttrib3svARB));
7443}
7444
7445static INLINE void SET_VertexAttrib3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007446 SET_by_offset(disp, _gloffset_VertexAttrib3svARB, fn);
7447}
7448
José Fonseca075d2bf2011-05-19 17:44:06 +01007449typedef void (GLAPIENTRYP _glptr_VertexAttrib4NbvARB)(GLuint, const GLbyte *);
7450#define CALL_VertexAttrib4NbvARB(disp, parameters) \
7451 (* GET_VertexAttrib4NbvARB(disp)) parameters
7452static INLINE _glptr_VertexAttrib4NbvARB GET_VertexAttrib4NbvARB(struct _glapi_table *disp) {
7453 return (_glptr_VertexAttrib4NbvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NbvARB));
7454}
7455
7456static INLINE void SET_VertexAttrib4NbvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007457 SET_by_offset(disp, _gloffset_VertexAttrib4NbvARB, fn);
7458}
7459
José Fonseca075d2bf2011-05-19 17:44:06 +01007460typedef void (GLAPIENTRYP _glptr_VertexAttrib4NivARB)(GLuint, const GLint *);
7461#define CALL_VertexAttrib4NivARB(disp, parameters) \
7462 (* GET_VertexAttrib4NivARB(disp)) parameters
7463static INLINE _glptr_VertexAttrib4NivARB GET_VertexAttrib4NivARB(struct _glapi_table *disp) {
7464 return (_glptr_VertexAttrib4NivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NivARB));
7465}
7466
7467static INLINE void SET_VertexAttrib4NivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007468 SET_by_offset(disp, _gloffset_VertexAttrib4NivARB, fn);
7469}
7470
José Fonseca075d2bf2011-05-19 17:44:06 +01007471typedef void (GLAPIENTRYP _glptr_VertexAttrib4NsvARB)(GLuint, const GLshort *);
7472#define CALL_VertexAttrib4NsvARB(disp, parameters) \
7473 (* GET_VertexAttrib4NsvARB(disp)) parameters
7474static INLINE _glptr_VertexAttrib4NsvARB GET_VertexAttrib4NsvARB(struct _glapi_table *disp) {
7475 return (_glptr_VertexAttrib4NsvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NsvARB));
7476}
7477
7478static INLINE void SET_VertexAttrib4NsvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007479 SET_by_offset(disp, _gloffset_VertexAttrib4NsvARB, fn);
7480}
7481
José Fonseca075d2bf2011-05-19 17:44:06 +01007482typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubARB)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
7483#define CALL_VertexAttrib4NubARB(disp, parameters) \
7484 (* GET_VertexAttrib4NubARB(disp)) parameters
7485static INLINE _glptr_VertexAttrib4NubARB GET_VertexAttrib4NubARB(struct _glapi_table *disp) {
7486 return (_glptr_VertexAttrib4NubARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubARB));
7487}
7488
7489static INLINE void SET_VertexAttrib4NubARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007490 SET_by_offset(disp, _gloffset_VertexAttrib4NubARB, fn);
7491}
7492
José Fonseca075d2bf2011-05-19 17:44:06 +01007493typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubvARB)(GLuint, const GLubyte *);
7494#define CALL_VertexAttrib4NubvARB(disp, parameters) \
7495 (* GET_VertexAttrib4NubvARB(disp)) parameters
7496static INLINE _glptr_VertexAttrib4NubvARB GET_VertexAttrib4NubvARB(struct _glapi_table *disp) {
7497 return (_glptr_VertexAttrib4NubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubvARB));
7498}
7499
7500static INLINE void SET_VertexAttrib4NubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007501 SET_by_offset(disp, _gloffset_VertexAttrib4NubvARB, fn);
7502}
7503
José Fonseca075d2bf2011-05-19 17:44:06 +01007504typedef void (GLAPIENTRYP _glptr_VertexAttrib4NuivARB)(GLuint, const GLuint *);
7505#define CALL_VertexAttrib4NuivARB(disp, parameters) \
7506 (* GET_VertexAttrib4NuivARB(disp)) parameters
7507static INLINE _glptr_VertexAttrib4NuivARB GET_VertexAttrib4NuivARB(struct _glapi_table *disp) {
7508 return (_glptr_VertexAttrib4NuivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NuivARB));
7509}
7510
7511static INLINE void SET_VertexAttrib4NuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007512 SET_by_offset(disp, _gloffset_VertexAttrib4NuivARB, fn);
7513}
7514
José Fonseca075d2bf2011-05-19 17:44:06 +01007515typedef void (GLAPIENTRYP _glptr_VertexAttrib4NusvARB)(GLuint, const GLushort *);
7516#define CALL_VertexAttrib4NusvARB(disp, parameters) \
7517 (* GET_VertexAttrib4NusvARB(disp)) parameters
7518static INLINE _glptr_VertexAttrib4NusvARB GET_VertexAttrib4NusvARB(struct _glapi_table *disp) {
7519 return (_glptr_VertexAttrib4NusvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NusvARB));
7520}
7521
7522static INLINE void SET_VertexAttrib4NusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007523 SET_by_offset(disp, _gloffset_VertexAttrib4NusvARB, fn);
7524}
7525
José Fonseca075d2bf2011-05-19 17:44:06 +01007526typedef void (GLAPIENTRYP _glptr_VertexAttrib4bvARB)(GLuint, const GLbyte *);
7527#define CALL_VertexAttrib4bvARB(disp, parameters) \
7528 (* GET_VertexAttrib4bvARB(disp)) parameters
7529static INLINE _glptr_VertexAttrib4bvARB GET_VertexAttrib4bvARB(struct _glapi_table *disp) {
7530 return (_glptr_VertexAttrib4bvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4bvARB));
7531}
7532
7533static INLINE void SET_VertexAttrib4bvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007534 SET_by_offset(disp, _gloffset_VertexAttrib4bvARB, fn);
7535}
7536
José Fonseca075d2bf2011-05-19 17:44:06 +01007537typedef void (GLAPIENTRYP _glptr_VertexAttrib4dARB)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
7538#define CALL_VertexAttrib4dARB(disp, parameters) \
7539 (* GET_VertexAttrib4dARB(disp)) parameters
7540static INLINE _glptr_VertexAttrib4dARB GET_VertexAttrib4dARB(struct _glapi_table *disp) {
7541 return (_glptr_VertexAttrib4dARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dARB));
7542}
7543
7544static INLINE void SET_VertexAttrib4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007545 SET_by_offset(disp, _gloffset_VertexAttrib4dARB, fn);
7546}
7547
José Fonseca075d2bf2011-05-19 17:44:06 +01007548typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvARB)(GLuint, const GLdouble *);
7549#define CALL_VertexAttrib4dvARB(disp, parameters) \
7550 (* GET_VertexAttrib4dvARB(disp)) parameters
7551static INLINE _glptr_VertexAttrib4dvARB GET_VertexAttrib4dvARB(struct _glapi_table *disp) {
7552 return (_glptr_VertexAttrib4dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dvARB));
7553}
7554
7555static INLINE void SET_VertexAttrib4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007556 SET_by_offset(disp, _gloffset_VertexAttrib4dvARB, fn);
7557}
7558
José Fonseca075d2bf2011-05-19 17:44:06 +01007559typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
7560#define CALL_VertexAttrib4fARB(disp, parameters) \
7561 (* GET_VertexAttrib4fARB(disp)) parameters
7562static INLINE _glptr_VertexAttrib4fARB GET_VertexAttrib4fARB(struct _glapi_table *disp) {
7563 return (_glptr_VertexAttrib4fARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fARB));
7564}
7565
7566static INLINE void SET_VertexAttrib4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007567 SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn);
7568}
7569
José Fonseca075d2bf2011-05-19 17:44:06 +01007570typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB)(GLuint, const GLfloat *);
7571#define CALL_VertexAttrib4fvARB(disp, parameters) \
7572 (* GET_VertexAttrib4fvARB(disp)) parameters
7573static INLINE _glptr_VertexAttrib4fvARB GET_VertexAttrib4fvARB(struct _glapi_table *disp) {
7574 return (_glptr_VertexAttrib4fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fvARB));
7575}
7576
7577static INLINE void SET_VertexAttrib4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007578 SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn);
7579}
7580
José Fonseca075d2bf2011-05-19 17:44:06 +01007581typedef void (GLAPIENTRYP _glptr_VertexAttrib4ivARB)(GLuint, const GLint *);
7582#define CALL_VertexAttrib4ivARB(disp, parameters) \
7583 (* GET_VertexAttrib4ivARB(disp)) parameters
7584static INLINE _glptr_VertexAttrib4ivARB GET_VertexAttrib4ivARB(struct _glapi_table *disp) {
7585 return (_glptr_VertexAttrib4ivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ivARB));
7586}
7587
7588static INLINE void SET_VertexAttrib4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007589 SET_by_offset(disp, _gloffset_VertexAttrib4ivARB, fn);
7590}
7591
José Fonseca075d2bf2011-05-19 17:44:06 +01007592typedef void (GLAPIENTRYP _glptr_VertexAttrib4sARB)(GLuint, GLshort, GLshort, GLshort, GLshort);
7593#define CALL_VertexAttrib4sARB(disp, parameters) \
7594 (* GET_VertexAttrib4sARB(disp)) parameters
7595static INLINE _glptr_VertexAttrib4sARB GET_VertexAttrib4sARB(struct _glapi_table *disp) {
7596 return (_glptr_VertexAttrib4sARB) (GET_by_offset(disp, _gloffset_VertexAttrib4sARB));
7597}
7598
7599static INLINE void SET_VertexAttrib4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007600 SET_by_offset(disp, _gloffset_VertexAttrib4sARB, fn);
7601}
7602
José Fonseca075d2bf2011-05-19 17:44:06 +01007603typedef void (GLAPIENTRYP _glptr_VertexAttrib4svARB)(GLuint, const GLshort *);
7604#define CALL_VertexAttrib4svARB(disp, parameters) \
7605 (* GET_VertexAttrib4svARB(disp)) parameters
7606static INLINE _glptr_VertexAttrib4svARB GET_VertexAttrib4svARB(struct _glapi_table *disp) {
7607 return (_glptr_VertexAttrib4svARB) (GET_by_offset(disp, _gloffset_VertexAttrib4svARB));
7608}
7609
7610static INLINE void SET_VertexAttrib4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007611 SET_by_offset(disp, _gloffset_VertexAttrib4svARB, fn);
7612}
7613
José Fonseca075d2bf2011-05-19 17:44:06 +01007614typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvARB)(GLuint, const GLubyte *);
7615#define CALL_VertexAttrib4ubvARB(disp, parameters) \
7616 (* GET_VertexAttrib4ubvARB(disp)) parameters
7617static INLINE _glptr_VertexAttrib4ubvARB GET_VertexAttrib4ubvARB(struct _glapi_table *disp) {
7618 return (_glptr_VertexAttrib4ubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvARB));
7619}
7620
7621static INLINE void SET_VertexAttrib4ubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007622 SET_by_offset(disp, _gloffset_VertexAttrib4ubvARB, fn);
7623}
7624
José Fonseca075d2bf2011-05-19 17:44:06 +01007625typedef void (GLAPIENTRYP _glptr_VertexAttrib4uivARB)(GLuint, const GLuint *);
7626#define CALL_VertexAttrib4uivARB(disp, parameters) \
7627 (* GET_VertexAttrib4uivARB(disp)) parameters
7628static INLINE _glptr_VertexAttrib4uivARB GET_VertexAttrib4uivARB(struct _glapi_table *disp) {
7629 return (_glptr_VertexAttrib4uivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4uivARB));
7630}
7631
7632static INLINE void SET_VertexAttrib4uivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007633 SET_by_offset(disp, _gloffset_VertexAttrib4uivARB, fn);
7634}
7635
José Fonseca075d2bf2011-05-19 17:44:06 +01007636typedef void (GLAPIENTRYP _glptr_VertexAttrib4usvARB)(GLuint, const GLushort *);
7637#define CALL_VertexAttrib4usvARB(disp, parameters) \
7638 (* GET_VertexAttrib4usvARB(disp)) parameters
7639static INLINE _glptr_VertexAttrib4usvARB GET_VertexAttrib4usvARB(struct _glapi_table *disp) {
7640 return (_glptr_VertexAttrib4usvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4usvARB));
7641}
7642
7643static INLINE void SET_VertexAttrib4usvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007644 SET_by_offset(disp, _gloffset_VertexAttrib4usvARB, fn);
7645}
7646
José Fonseca075d2bf2011-05-19 17:44:06 +01007647typedef void (GLAPIENTRYP _glptr_VertexAttribPointerARB)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
7648#define CALL_VertexAttribPointerARB(disp, parameters) \
7649 (* GET_VertexAttribPointerARB(disp)) parameters
7650static INLINE _glptr_VertexAttribPointerARB GET_VertexAttribPointerARB(struct _glapi_table *disp) {
7651 return (_glptr_VertexAttribPointerARB) (GET_by_offset(disp, _gloffset_VertexAttribPointerARB));
7652}
7653
7654static INLINE void SET_VertexAttribPointerARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007655 SET_by_offset(disp, _gloffset_VertexAttribPointerARB, fn);
7656}
7657
José Fonseca075d2bf2011-05-19 17:44:06 +01007658typedef void (GLAPIENTRYP _glptr_BindBufferARB)(GLenum, GLuint);
7659#define CALL_BindBufferARB(disp, parameters) \
7660 (* GET_BindBufferARB(disp)) parameters
7661static INLINE _glptr_BindBufferARB GET_BindBufferARB(struct _glapi_table *disp) {
7662 return (_glptr_BindBufferARB) (GET_by_offset(disp, _gloffset_BindBufferARB));
7663}
7664
7665static INLINE void SET_BindBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007666 SET_by_offset(disp, _gloffset_BindBufferARB, fn);
7667}
7668
José Fonseca075d2bf2011-05-19 17:44:06 +01007669typedef void (GLAPIENTRYP _glptr_BufferDataARB)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
7670#define CALL_BufferDataARB(disp, parameters) \
7671 (* GET_BufferDataARB(disp)) parameters
7672static INLINE _glptr_BufferDataARB GET_BufferDataARB(struct _glapi_table *disp) {
7673 return (_glptr_BufferDataARB) (GET_by_offset(disp, _gloffset_BufferDataARB));
7674}
7675
7676static INLINE void SET_BufferDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007677 SET_by_offset(disp, _gloffset_BufferDataARB, fn);
7678}
7679
José Fonseca075d2bf2011-05-19 17:44:06 +01007680typedef void (GLAPIENTRYP _glptr_BufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
7681#define CALL_BufferSubDataARB(disp, parameters) \
7682 (* GET_BufferSubDataARB(disp)) parameters
7683static INLINE _glptr_BufferSubDataARB GET_BufferSubDataARB(struct _glapi_table *disp) {
7684 return (_glptr_BufferSubDataARB) (GET_by_offset(disp, _gloffset_BufferSubDataARB));
7685}
7686
7687static INLINE void SET_BufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007688 SET_by_offset(disp, _gloffset_BufferSubDataARB, fn);
7689}
7690
José Fonseca075d2bf2011-05-19 17:44:06 +01007691typedef void (GLAPIENTRYP _glptr_DeleteBuffersARB)(GLsizei, const GLuint *);
7692#define CALL_DeleteBuffersARB(disp, parameters) \
7693 (* GET_DeleteBuffersARB(disp)) parameters
7694static INLINE _glptr_DeleteBuffersARB GET_DeleteBuffersARB(struct _glapi_table *disp) {
7695 return (_glptr_DeleteBuffersARB) (GET_by_offset(disp, _gloffset_DeleteBuffersARB));
7696}
7697
7698static INLINE void SET_DeleteBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007699 SET_by_offset(disp, _gloffset_DeleteBuffersARB, fn);
7700}
7701
José Fonseca075d2bf2011-05-19 17:44:06 +01007702typedef void (GLAPIENTRYP _glptr_GenBuffersARB)(GLsizei, GLuint *);
7703#define CALL_GenBuffersARB(disp, parameters) \
7704 (* GET_GenBuffersARB(disp)) parameters
7705static INLINE _glptr_GenBuffersARB GET_GenBuffersARB(struct _glapi_table *disp) {
7706 return (_glptr_GenBuffersARB) (GET_by_offset(disp, _gloffset_GenBuffersARB));
7707}
7708
7709static INLINE void SET_GenBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007710 SET_by_offset(disp, _gloffset_GenBuffersARB, fn);
7711}
7712
José Fonseca075d2bf2011-05-19 17:44:06 +01007713typedef void (GLAPIENTRYP _glptr_GetBufferParameterivARB)(GLenum, GLenum, GLint *);
7714#define CALL_GetBufferParameterivARB(disp, parameters) \
7715 (* GET_GetBufferParameterivARB(disp)) parameters
7716static INLINE _glptr_GetBufferParameterivARB GET_GetBufferParameterivARB(struct _glapi_table *disp) {
7717 return (_glptr_GetBufferParameterivARB) (GET_by_offset(disp, _gloffset_GetBufferParameterivARB));
7718}
7719
7720static INLINE void SET_GetBufferParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007721 SET_by_offset(disp, _gloffset_GetBufferParameterivARB, fn);
7722}
7723
José Fonseca075d2bf2011-05-19 17:44:06 +01007724typedef void (GLAPIENTRYP _glptr_GetBufferPointervARB)(GLenum, GLenum, GLvoid **);
7725#define CALL_GetBufferPointervARB(disp, parameters) \
7726 (* GET_GetBufferPointervARB(disp)) parameters
7727static INLINE _glptr_GetBufferPointervARB GET_GetBufferPointervARB(struct _glapi_table *disp) {
7728 return (_glptr_GetBufferPointervARB) (GET_by_offset(disp, _gloffset_GetBufferPointervARB));
7729}
7730
7731static INLINE void SET_GetBufferPointervARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007732 SET_by_offset(disp, _gloffset_GetBufferPointervARB, fn);
7733}
7734
José Fonseca075d2bf2011-05-19 17:44:06 +01007735typedef void (GLAPIENTRYP _glptr_GetBufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
7736#define CALL_GetBufferSubDataARB(disp, parameters) \
7737 (* GET_GetBufferSubDataARB(disp)) parameters
7738static INLINE _glptr_GetBufferSubDataARB GET_GetBufferSubDataARB(struct _glapi_table *disp) {
7739 return (_glptr_GetBufferSubDataARB) (GET_by_offset(disp, _gloffset_GetBufferSubDataARB));
7740}
7741
7742static INLINE void SET_GetBufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007743 SET_by_offset(disp, _gloffset_GetBufferSubDataARB, fn);
7744}
7745
José Fonseca075d2bf2011-05-19 17:44:06 +01007746typedef GLboolean (GLAPIENTRYP _glptr_IsBufferARB)(GLuint);
7747#define CALL_IsBufferARB(disp, parameters) \
7748 (* GET_IsBufferARB(disp)) parameters
7749static INLINE _glptr_IsBufferARB GET_IsBufferARB(struct _glapi_table *disp) {
7750 return (_glptr_IsBufferARB) (GET_by_offset(disp, _gloffset_IsBufferARB));
7751}
7752
7753static INLINE void SET_IsBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007754 SET_by_offset(disp, _gloffset_IsBufferARB, fn);
7755}
7756
José Fonseca075d2bf2011-05-19 17:44:06 +01007757typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferARB)(GLenum, GLenum);
7758#define CALL_MapBufferARB(disp, parameters) \
7759 (* GET_MapBufferARB(disp)) parameters
7760static INLINE _glptr_MapBufferARB GET_MapBufferARB(struct _glapi_table *disp) {
7761 return (_glptr_MapBufferARB) (GET_by_offset(disp, _gloffset_MapBufferARB));
7762}
7763
7764static INLINE void SET_MapBufferARB(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007765 SET_by_offset(disp, _gloffset_MapBufferARB, fn);
7766}
7767
José Fonseca075d2bf2011-05-19 17:44:06 +01007768typedef GLboolean (GLAPIENTRYP _glptr_UnmapBufferARB)(GLenum);
7769#define CALL_UnmapBufferARB(disp, parameters) \
7770 (* GET_UnmapBufferARB(disp)) parameters
7771static INLINE _glptr_UnmapBufferARB GET_UnmapBufferARB(struct _glapi_table *disp) {
7772 return (_glptr_UnmapBufferARB) (GET_by_offset(disp, _gloffset_UnmapBufferARB));
7773}
7774
7775static INLINE void SET_UnmapBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007776 SET_by_offset(disp, _gloffset_UnmapBufferARB, fn);
7777}
7778
José Fonseca075d2bf2011-05-19 17:44:06 +01007779typedef void (GLAPIENTRYP _glptr_BeginQueryARB)(GLenum, GLuint);
7780#define CALL_BeginQueryARB(disp, parameters) \
7781 (* GET_BeginQueryARB(disp)) parameters
7782static INLINE _glptr_BeginQueryARB GET_BeginQueryARB(struct _glapi_table *disp) {
7783 return (_glptr_BeginQueryARB) (GET_by_offset(disp, _gloffset_BeginQueryARB));
7784}
7785
7786static INLINE void SET_BeginQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007787 SET_by_offset(disp, _gloffset_BeginQueryARB, fn);
7788}
7789
José Fonseca075d2bf2011-05-19 17:44:06 +01007790typedef void (GLAPIENTRYP _glptr_DeleteQueriesARB)(GLsizei, const GLuint *);
7791#define CALL_DeleteQueriesARB(disp, parameters) \
7792 (* GET_DeleteQueriesARB(disp)) parameters
7793static INLINE _glptr_DeleteQueriesARB GET_DeleteQueriesARB(struct _glapi_table *disp) {
7794 return (_glptr_DeleteQueriesARB) (GET_by_offset(disp, _gloffset_DeleteQueriesARB));
7795}
7796
7797static INLINE void SET_DeleteQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007798 SET_by_offset(disp, _gloffset_DeleteQueriesARB, fn);
7799}
7800
José Fonseca075d2bf2011-05-19 17:44:06 +01007801typedef void (GLAPIENTRYP _glptr_EndQueryARB)(GLenum);
7802#define CALL_EndQueryARB(disp, parameters) \
7803 (* GET_EndQueryARB(disp)) parameters
7804static INLINE _glptr_EndQueryARB GET_EndQueryARB(struct _glapi_table *disp) {
7805 return (_glptr_EndQueryARB) (GET_by_offset(disp, _gloffset_EndQueryARB));
7806}
7807
7808static INLINE void SET_EndQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007809 SET_by_offset(disp, _gloffset_EndQueryARB, fn);
7810}
7811
José Fonseca075d2bf2011-05-19 17:44:06 +01007812typedef void (GLAPIENTRYP _glptr_GenQueriesARB)(GLsizei, GLuint *);
7813#define CALL_GenQueriesARB(disp, parameters) \
7814 (* GET_GenQueriesARB(disp)) parameters
7815static INLINE _glptr_GenQueriesARB GET_GenQueriesARB(struct _glapi_table *disp) {
7816 return (_glptr_GenQueriesARB) (GET_by_offset(disp, _gloffset_GenQueriesARB));
7817}
7818
7819static INLINE void SET_GenQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007820 SET_by_offset(disp, _gloffset_GenQueriesARB, fn);
7821}
7822
José Fonseca075d2bf2011-05-19 17:44:06 +01007823typedef void (GLAPIENTRYP _glptr_GetQueryObjectivARB)(GLuint, GLenum, GLint *);
7824#define CALL_GetQueryObjectivARB(disp, parameters) \
7825 (* GET_GetQueryObjectivARB(disp)) parameters
7826static INLINE _glptr_GetQueryObjectivARB GET_GetQueryObjectivARB(struct _glapi_table *disp) {
7827 return (_glptr_GetQueryObjectivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectivARB));
7828}
7829
7830static INLINE void SET_GetQueryObjectivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007831 SET_by_offset(disp, _gloffset_GetQueryObjectivARB, fn);
7832}
7833
José Fonseca075d2bf2011-05-19 17:44:06 +01007834typedef void (GLAPIENTRYP _glptr_GetQueryObjectuivARB)(GLuint, GLenum, GLuint *);
7835#define CALL_GetQueryObjectuivARB(disp, parameters) \
7836 (* GET_GetQueryObjectuivARB(disp)) parameters
7837static INLINE _glptr_GetQueryObjectuivARB GET_GetQueryObjectuivARB(struct _glapi_table *disp) {
7838 return (_glptr_GetQueryObjectuivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectuivARB));
7839}
7840
7841static INLINE void SET_GetQueryObjectuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007842 SET_by_offset(disp, _gloffset_GetQueryObjectuivARB, fn);
7843}
7844
José Fonseca075d2bf2011-05-19 17:44:06 +01007845typedef void (GLAPIENTRYP _glptr_GetQueryivARB)(GLenum, GLenum, GLint *);
7846#define CALL_GetQueryivARB(disp, parameters) \
7847 (* GET_GetQueryivARB(disp)) parameters
7848static INLINE _glptr_GetQueryivARB GET_GetQueryivARB(struct _glapi_table *disp) {
7849 return (_glptr_GetQueryivARB) (GET_by_offset(disp, _gloffset_GetQueryivARB));
7850}
7851
7852static INLINE void SET_GetQueryivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007853 SET_by_offset(disp, _gloffset_GetQueryivARB, fn);
7854}
7855
José Fonseca075d2bf2011-05-19 17:44:06 +01007856typedef GLboolean (GLAPIENTRYP _glptr_IsQueryARB)(GLuint);
7857#define CALL_IsQueryARB(disp, parameters) \
7858 (* GET_IsQueryARB(disp)) parameters
7859static INLINE _glptr_IsQueryARB GET_IsQueryARB(struct _glapi_table *disp) {
7860 return (_glptr_IsQueryARB) (GET_by_offset(disp, _gloffset_IsQueryARB));
7861}
7862
7863static INLINE void SET_IsQueryARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007864 SET_by_offset(disp, _gloffset_IsQueryARB, fn);
7865}
7866
José Fonseca075d2bf2011-05-19 17:44:06 +01007867typedef void (GLAPIENTRYP _glptr_AttachObjectARB)(GLhandleARB, GLhandleARB);
7868#define CALL_AttachObjectARB(disp, parameters) \
7869 (* GET_AttachObjectARB(disp)) parameters
7870static INLINE _glptr_AttachObjectARB GET_AttachObjectARB(struct _glapi_table *disp) {
7871 return (_glptr_AttachObjectARB) (GET_by_offset(disp, _gloffset_AttachObjectARB));
7872}
7873
7874static INLINE void SET_AttachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007875 SET_by_offset(disp, _gloffset_AttachObjectARB, fn);
7876}
7877
José Fonseca075d2bf2011-05-19 17:44:06 +01007878typedef void (GLAPIENTRYP _glptr_CompileShaderARB)(GLhandleARB);
7879#define CALL_CompileShaderARB(disp, parameters) \
7880 (* GET_CompileShaderARB(disp)) parameters
7881static INLINE _glptr_CompileShaderARB GET_CompileShaderARB(struct _glapi_table *disp) {
7882 return (_glptr_CompileShaderARB) (GET_by_offset(disp, _gloffset_CompileShaderARB));
7883}
7884
7885static INLINE void SET_CompileShaderARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007886 SET_by_offset(disp, _gloffset_CompileShaderARB, fn);
7887}
7888
José Fonseca075d2bf2011-05-19 17:44:06 +01007889typedef GLhandleARB (GLAPIENTRYP _glptr_CreateProgramObjectARB)(void);
7890#define CALL_CreateProgramObjectARB(disp, parameters) \
7891 (* GET_CreateProgramObjectARB(disp)) parameters
7892static INLINE _glptr_CreateProgramObjectARB GET_CreateProgramObjectARB(struct _glapi_table *disp) {
7893 return (_glptr_CreateProgramObjectARB) (GET_by_offset(disp, _gloffset_CreateProgramObjectARB));
7894}
7895
7896static INLINE void SET_CreateProgramObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007897 SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn);
7898}
7899
José Fonseca075d2bf2011-05-19 17:44:06 +01007900typedef GLhandleARB (GLAPIENTRYP _glptr_CreateShaderObjectARB)(GLenum);
7901#define CALL_CreateShaderObjectARB(disp, parameters) \
7902 (* GET_CreateShaderObjectARB(disp)) parameters
7903static INLINE _glptr_CreateShaderObjectARB GET_CreateShaderObjectARB(struct _glapi_table *disp) {
7904 return (_glptr_CreateShaderObjectARB) (GET_by_offset(disp, _gloffset_CreateShaderObjectARB));
7905}
7906
7907static INLINE void SET_CreateShaderObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007908 SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn);
7909}
7910
José Fonseca075d2bf2011-05-19 17:44:06 +01007911typedef void (GLAPIENTRYP _glptr_DeleteObjectARB)(GLhandleARB);
7912#define CALL_DeleteObjectARB(disp, parameters) \
7913 (* GET_DeleteObjectARB(disp)) parameters
7914static INLINE _glptr_DeleteObjectARB GET_DeleteObjectARB(struct _glapi_table *disp) {
7915 return (_glptr_DeleteObjectARB) (GET_by_offset(disp, _gloffset_DeleteObjectARB));
7916}
7917
7918static INLINE void SET_DeleteObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007919 SET_by_offset(disp, _gloffset_DeleteObjectARB, fn);
7920}
7921
José Fonseca075d2bf2011-05-19 17:44:06 +01007922typedef void (GLAPIENTRYP _glptr_DetachObjectARB)(GLhandleARB, GLhandleARB);
7923#define CALL_DetachObjectARB(disp, parameters) \
7924 (* GET_DetachObjectARB(disp)) parameters
7925static INLINE _glptr_DetachObjectARB GET_DetachObjectARB(struct _glapi_table *disp) {
7926 return (_glptr_DetachObjectARB) (GET_by_offset(disp, _gloffset_DetachObjectARB));
7927}
7928
7929static INLINE void SET_DetachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007930 SET_by_offset(disp, _gloffset_DetachObjectARB, fn);
7931}
7932
José Fonseca075d2bf2011-05-19 17:44:06 +01007933typedef void (GLAPIENTRYP _glptr_GetActiveUniformARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
7934#define CALL_GetActiveUniformARB(disp, parameters) \
7935 (* GET_GetActiveUniformARB(disp)) parameters
7936static INLINE _glptr_GetActiveUniformARB GET_GetActiveUniformARB(struct _glapi_table *disp) {
7937 return (_glptr_GetActiveUniformARB) (GET_by_offset(disp, _gloffset_GetActiveUniformARB));
7938}
7939
7940static INLINE void SET_GetActiveUniformARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007941 SET_by_offset(disp, _gloffset_GetActiveUniformARB, fn);
7942}
7943
José Fonseca075d2bf2011-05-19 17:44:06 +01007944typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
7945#define CALL_GetAttachedObjectsARB(disp, parameters) \
7946 (* GET_GetAttachedObjectsARB(disp)) parameters
7947static INLINE _glptr_GetAttachedObjectsARB GET_GetAttachedObjectsARB(struct _glapi_table *disp) {
7948 return (_glptr_GetAttachedObjectsARB) (GET_by_offset(disp, _gloffset_GetAttachedObjectsARB));
7949}
7950
7951static INLINE void SET_GetAttachedObjectsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007952 SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn);
7953}
7954
José Fonseca075d2bf2011-05-19 17:44:06 +01007955typedef GLhandleARB (GLAPIENTRYP _glptr_GetHandleARB)(GLenum);
7956#define CALL_GetHandleARB(disp, parameters) \
7957 (* GET_GetHandleARB(disp)) parameters
7958static INLINE _glptr_GetHandleARB GET_GetHandleARB(struct _glapi_table *disp) {
7959 return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB));
7960}
7961
7962static INLINE void SET_GetHandleARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007963 SET_by_offset(disp, _gloffset_GetHandleARB, fn);
7964}
7965
José Fonseca075d2bf2011-05-19 17:44:06 +01007966typedef void (GLAPIENTRYP _glptr_GetInfoLogARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
7967#define CALL_GetInfoLogARB(disp, parameters) \
7968 (* GET_GetInfoLogARB(disp)) parameters
7969static INLINE _glptr_GetInfoLogARB GET_GetInfoLogARB(struct _glapi_table *disp) {
7970 return (_glptr_GetInfoLogARB) (GET_by_offset(disp, _gloffset_GetInfoLogARB));
7971}
7972
7973static INLINE void SET_GetInfoLogARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007974 SET_by_offset(disp, _gloffset_GetInfoLogARB, fn);
7975}
7976
José Fonseca075d2bf2011-05-19 17:44:06 +01007977typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB)(GLhandleARB, GLenum, GLfloat *);
7978#define CALL_GetObjectParameterfvARB(disp, parameters) \
7979 (* GET_GetObjectParameterfvARB(disp)) parameters
7980static INLINE _glptr_GetObjectParameterfvARB GET_GetObjectParameterfvARB(struct _glapi_table *disp) {
7981 return (_glptr_GetObjectParameterfvARB) (GET_by_offset(disp, _gloffset_GetObjectParameterfvARB));
7982}
7983
7984static INLINE void SET_GetObjectParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007985 SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn);
7986}
7987
José Fonseca075d2bf2011-05-19 17:44:06 +01007988typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB)(GLhandleARB, GLenum, GLint *);
7989#define CALL_GetObjectParameterivARB(disp, parameters) \
7990 (* GET_GetObjectParameterivARB(disp)) parameters
7991static INLINE _glptr_GetObjectParameterivARB GET_GetObjectParameterivARB(struct _glapi_table *disp) {
7992 return (_glptr_GetObjectParameterivARB) (GET_by_offset(disp, _gloffset_GetObjectParameterivARB));
7993}
7994
7995static INLINE void SET_GetObjectParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01007996 SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn);
7997}
7998
José Fonseca075d2bf2011-05-19 17:44:06 +01007999typedef void (GLAPIENTRYP _glptr_GetShaderSourceARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
8000#define CALL_GetShaderSourceARB(disp, parameters) \
8001 (* GET_GetShaderSourceARB(disp)) parameters
8002static INLINE _glptr_GetShaderSourceARB GET_GetShaderSourceARB(struct _glapi_table *disp) {
8003 return (_glptr_GetShaderSourceARB) (GET_by_offset(disp, _gloffset_GetShaderSourceARB));
8004}
8005
8006static INLINE void SET_GetShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008007 SET_by_offset(disp, _gloffset_GetShaderSourceARB, fn);
8008}
8009
José Fonseca075d2bf2011-05-19 17:44:06 +01008010typedef GLint (GLAPIENTRYP _glptr_GetUniformLocationARB)(GLhandleARB, const GLcharARB *);
8011#define CALL_GetUniformLocationARB(disp, parameters) \
8012 (* GET_GetUniformLocationARB(disp)) parameters
8013static INLINE _glptr_GetUniformLocationARB GET_GetUniformLocationARB(struct _glapi_table *disp) {
8014 return (_glptr_GetUniformLocationARB) (GET_by_offset(disp, _gloffset_GetUniformLocationARB));
8015}
8016
8017static INLINE void SET_GetUniformLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008018 SET_by_offset(disp, _gloffset_GetUniformLocationARB, fn);
8019}
8020
José Fonseca075d2bf2011-05-19 17:44:06 +01008021typedef void (GLAPIENTRYP _glptr_GetUniformfvARB)(GLhandleARB, GLint, GLfloat *);
8022#define CALL_GetUniformfvARB(disp, parameters) \
8023 (* GET_GetUniformfvARB(disp)) parameters
8024static INLINE _glptr_GetUniformfvARB GET_GetUniformfvARB(struct _glapi_table *disp) {
8025 return (_glptr_GetUniformfvARB) (GET_by_offset(disp, _gloffset_GetUniformfvARB));
8026}
8027
8028static INLINE void SET_GetUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008029 SET_by_offset(disp, _gloffset_GetUniformfvARB, fn);
8030}
8031
José Fonseca075d2bf2011-05-19 17:44:06 +01008032typedef void (GLAPIENTRYP _glptr_GetUniformivARB)(GLhandleARB, GLint, GLint *);
8033#define CALL_GetUniformivARB(disp, parameters) \
8034 (* GET_GetUniformivARB(disp)) parameters
8035static INLINE _glptr_GetUniformivARB GET_GetUniformivARB(struct _glapi_table *disp) {
8036 return (_glptr_GetUniformivARB) (GET_by_offset(disp, _gloffset_GetUniformivARB));
8037}
8038
8039static INLINE void SET_GetUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008040 SET_by_offset(disp, _gloffset_GetUniformivARB, fn);
8041}
8042
José Fonseca075d2bf2011-05-19 17:44:06 +01008043typedef void (GLAPIENTRYP _glptr_LinkProgramARB)(GLhandleARB);
8044#define CALL_LinkProgramARB(disp, parameters) \
8045 (* GET_LinkProgramARB(disp)) parameters
8046static INLINE _glptr_LinkProgramARB GET_LinkProgramARB(struct _glapi_table *disp) {
8047 return (_glptr_LinkProgramARB) (GET_by_offset(disp, _gloffset_LinkProgramARB));
8048}
8049
8050static INLINE void SET_LinkProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008051 SET_by_offset(disp, _gloffset_LinkProgramARB, fn);
8052}
8053
José Fonseca075d2bf2011-05-19 17:44:06 +01008054typedef void (GLAPIENTRYP _glptr_ShaderSourceARB)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *);
8055#define CALL_ShaderSourceARB(disp, parameters) \
8056 (* GET_ShaderSourceARB(disp)) parameters
8057static INLINE _glptr_ShaderSourceARB GET_ShaderSourceARB(struct _glapi_table *disp) {
8058 return (_glptr_ShaderSourceARB) (GET_by_offset(disp, _gloffset_ShaderSourceARB));
8059}
8060
8061static INLINE void SET_ShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008062 SET_by_offset(disp, _gloffset_ShaderSourceARB, fn);
8063}
8064
José Fonseca075d2bf2011-05-19 17:44:06 +01008065typedef void (GLAPIENTRYP _glptr_Uniform1fARB)(GLint, GLfloat);
8066#define CALL_Uniform1fARB(disp, parameters) \
8067 (* GET_Uniform1fARB(disp)) parameters
8068static INLINE _glptr_Uniform1fARB GET_Uniform1fARB(struct _glapi_table *disp) {
8069 return (_glptr_Uniform1fARB) (GET_by_offset(disp, _gloffset_Uniform1fARB));
8070}
8071
8072static INLINE void SET_Uniform1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008073 SET_by_offset(disp, _gloffset_Uniform1fARB, fn);
8074}
8075
José Fonseca075d2bf2011-05-19 17:44:06 +01008076typedef void (GLAPIENTRYP _glptr_Uniform1fvARB)(GLint, GLsizei, const GLfloat *);
8077#define CALL_Uniform1fvARB(disp, parameters) \
8078 (* GET_Uniform1fvARB(disp)) parameters
8079static INLINE _glptr_Uniform1fvARB GET_Uniform1fvARB(struct _glapi_table *disp) {
8080 return (_glptr_Uniform1fvARB) (GET_by_offset(disp, _gloffset_Uniform1fvARB));
8081}
8082
8083static INLINE void SET_Uniform1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008084 SET_by_offset(disp, _gloffset_Uniform1fvARB, fn);
8085}
8086
José Fonseca075d2bf2011-05-19 17:44:06 +01008087typedef void (GLAPIENTRYP _glptr_Uniform1iARB)(GLint, GLint);
8088#define CALL_Uniform1iARB(disp, parameters) \
8089 (* GET_Uniform1iARB(disp)) parameters
8090static INLINE _glptr_Uniform1iARB GET_Uniform1iARB(struct _glapi_table *disp) {
8091 return (_glptr_Uniform1iARB) (GET_by_offset(disp, _gloffset_Uniform1iARB));
8092}
8093
8094static INLINE void SET_Uniform1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008095 SET_by_offset(disp, _gloffset_Uniform1iARB, fn);
8096}
8097
José Fonseca075d2bf2011-05-19 17:44:06 +01008098typedef void (GLAPIENTRYP _glptr_Uniform1ivARB)(GLint, GLsizei, const GLint *);
8099#define CALL_Uniform1ivARB(disp, parameters) \
8100 (* GET_Uniform1ivARB(disp)) parameters
8101static INLINE _glptr_Uniform1ivARB GET_Uniform1ivARB(struct _glapi_table *disp) {
8102 return (_glptr_Uniform1ivARB) (GET_by_offset(disp, _gloffset_Uniform1ivARB));
8103}
8104
8105static INLINE void SET_Uniform1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008106 SET_by_offset(disp, _gloffset_Uniform1ivARB, fn);
8107}
8108
José Fonseca075d2bf2011-05-19 17:44:06 +01008109typedef void (GLAPIENTRYP _glptr_Uniform2fARB)(GLint, GLfloat, GLfloat);
8110#define CALL_Uniform2fARB(disp, parameters) \
8111 (* GET_Uniform2fARB(disp)) parameters
8112static INLINE _glptr_Uniform2fARB GET_Uniform2fARB(struct _glapi_table *disp) {
8113 return (_glptr_Uniform2fARB) (GET_by_offset(disp, _gloffset_Uniform2fARB));
8114}
8115
8116static INLINE void SET_Uniform2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008117 SET_by_offset(disp, _gloffset_Uniform2fARB, fn);
8118}
8119
José Fonseca075d2bf2011-05-19 17:44:06 +01008120typedef void (GLAPIENTRYP _glptr_Uniform2fvARB)(GLint, GLsizei, const GLfloat *);
8121#define CALL_Uniform2fvARB(disp, parameters) \
8122 (* GET_Uniform2fvARB(disp)) parameters
8123static INLINE _glptr_Uniform2fvARB GET_Uniform2fvARB(struct _glapi_table *disp) {
8124 return (_glptr_Uniform2fvARB) (GET_by_offset(disp, _gloffset_Uniform2fvARB));
8125}
8126
8127static INLINE void SET_Uniform2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008128 SET_by_offset(disp, _gloffset_Uniform2fvARB, fn);
8129}
8130
José Fonseca075d2bf2011-05-19 17:44:06 +01008131typedef void (GLAPIENTRYP _glptr_Uniform2iARB)(GLint, GLint, GLint);
8132#define CALL_Uniform2iARB(disp, parameters) \
8133 (* GET_Uniform2iARB(disp)) parameters
8134static INLINE _glptr_Uniform2iARB GET_Uniform2iARB(struct _glapi_table *disp) {
8135 return (_glptr_Uniform2iARB) (GET_by_offset(disp, _gloffset_Uniform2iARB));
8136}
8137
8138static INLINE void SET_Uniform2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008139 SET_by_offset(disp, _gloffset_Uniform2iARB, fn);
8140}
8141
José Fonseca075d2bf2011-05-19 17:44:06 +01008142typedef void (GLAPIENTRYP _glptr_Uniform2ivARB)(GLint, GLsizei, const GLint *);
8143#define CALL_Uniform2ivARB(disp, parameters) \
8144 (* GET_Uniform2ivARB(disp)) parameters
8145static INLINE _glptr_Uniform2ivARB GET_Uniform2ivARB(struct _glapi_table *disp) {
8146 return (_glptr_Uniform2ivARB) (GET_by_offset(disp, _gloffset_Uniform2ivARB));
8147}
8148
8149static INLINE void SET_Uniform2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008150 SET_by_offset(disp, _gloffset_Uniform2ivARB, fn);
8151}
8152
José Fonseca075d2bf2011-05-19 17:44:06 +01008153typedef void (GLAPIENTRYP _glptr_Uniform3fARB)(GLint, GLfloat, GLfloat, GLfloat);
8154#define CALL_Uniform3fARB(disp, parameters) \
8155 (* GET_Uniform3fARB(disp)) parameters
8156static INLINE _glptr_Uniform3fARB GET_Uniform3fARB(struct _glapi_table *disp) {
8157 return (_glptr_Uniform3fARB) (GET_by_offset(disp, _gloffset_Uniform3fARB));
8158}
8159
8160static INLINE void SET_Uniform3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008161 SET_by_offset(disp, _gloffset_Uniform3fARB, fn);
8162}
8163
José Fonseca075d2bf2011-05-19 17:44:06 +01008164typedef void (GLAPIENTRYP _glptr_Uniform3fvARB)(GLint, GLsizei, const GLfloat *);
8165#define CALL_Uniform3fvARB(disp, parameters) \
8166 (* GET_Uniform3fvARB(disp)) parameters
8167static INLINE _glptr_Uniform3fvARB GET_Uniform3fvARB(struct _glapi_table *disp) {
8168 return (_glptr_Uniform3fvARB) (GET_by_offset(disp, _gloffset_Uniform3fvARB));
8169}
8170
8171static INLINE void SET_Uniform3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008172 SET_by_offset(disp, _gloffset_Uniform3fvARB, fn);
8173}
8174
José Fonseca075d2bf2011-05-19 17:44:06 +01008175typedef void (GLAPIENTRYP _glptr_Uniform3iARB)(GLint, GLint, GLint, GLint);
8176#define CALL_Uniform3iARB(disp, parameters) \
8177 (* GET_Uniform3iARB(disp)) parameters
8178static INLINE _glptr_Uniform3iARB GET_Uniform3iARB(struct _glapi_table *disp) {
8179 return (_glptr_Uniform3iARB) (GET_by_offset(disp, _gloffset_Uniform3iARB));
8180}
8181
8182static INLINE void SET_Uniform3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008183 SET_by_offset(disp, _gloffset_Uniform3iARB, fn);
8184}
8185
José Fonseca075d2bf2011-05-19 17:44:06 +01008186typedef void (GLAPIENTRYP _glptr_Uniform3ivARB)(GLint, GLsizei, const GLint *);
8187#define CALL_Uniform3ivARB(disp, parameters) \
8188 (* GET_Uniform3ivARB(disp)) parameters
8189static INLINE _glptr_Uniform3ivARB GET_Uniform3ivARB(struct _glapi_table *disp) {
8190 return (_glptr_Uniform3ivARB) (GET_by_offset(disp, _gloffset_Uniform3ivARB));
8191}
8192
8193static INLINE void SET_Uniform3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008194 SET_by_offset(disp, _gloffset_Uniform3ivARB, fn);
8195}
8196
José Fonseca075d2bf2011-05-19 17:44:06 +01008197typedef void (GLAPIENTRYP _glptr_Uniform4fARB)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);
8198#define CALL_Uniform4fARB(disp, parameters) \
8199 (* GET_Uniform4fARB(disp)) parameters
8200static INLINE _glptr_Uniform4fARB GET_Uniform4fARB(struct _glapi_table *disp) {
8201 return (_glptr_Uniform4fARB) (GET_by_offset(disp, _gloffset_Uniform4fARB));
8202}
8203
8204static INLINE void SET_Uniform4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008205 SET_by_offset(disp, _gloffset_Uniform4fARB, fn);
8206}
8207
José Fonseca075d2bf2011-05-19 17:44:06 +01008208typedef void (GLAPIENTRYP _glptr_Uniform4fvARB)(GLint, GLsizei, const GLfloat *);
8209#define CALL_Uniform4fvARB(disp, parameters) \
8210 (* GET_Uniform4fvARB(disp)) parameters
8211static INLINE _glptr_Uniform4fvARB GET_Uniform4fvARB(struct _glapi_table *disp) {
8212 return (_glptr_Uniform4fvARB) (GET_by_offset(disp, _gloffset_Uniform4fvARB));
8213}
8214
8215static INLINE void SET_Uniform4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008216 SET_by_offset(disp, _gloffset_Uniform4fvARB, fn);
8217}
8218
José Fonseca075d2bf2011-05-19 17:44:06 +01008219typedef void (GLAPIENTRYP _glptr_Uniform4iARB)(GLint, GLint, GLint, GLint, GLint);
8220#define CALL_Uniform4iARB(disp, parameters) \
8221 (* GET_Uniform4iARB(disp)) parameters
8222static INLINE _glptr_Uniform4iARB GET_Uniform4iARB(struct _glapi_table *disp) {
8223 return (_glptr_Uniform4iARB) (GET_by_offset(disp, _gloffset_Uniform4iARB));
8224}
8225
8226static INLINE void SET_Uniform4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008227 SET_by_offset(disp, _gloffset_Uniform4iARB, fn);
8228}
8229
José Fonseca075d2bf2011-05-19 17:44:06 +01008230typedef void (GLAPIENTRYP _glptr_Uniform4ivARB)(GLint, GLsizei, const GLint *);
8231#define CALL_Uniform4ivARB(disp, parameters) \
8232 (* GET_Uniform4ivARB(disp)) parameters
8233static INLINE _glptr_Uniform4ivARB GET_Uniform4ivARB(struct _glapi_table *disp) {
8234 return (_glptr_Uniform4ivARB) (GET_by_offset(disp, _gloffset_Uniform4ivARB));
8235}
8236
8237static INLINE void SET_Uniform4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008238 SET_by_offset(disp, _gloffset_Uniform4ivARB, fn);
8239}
8240
José Fonseca075d2bf2011-05-19 17:44:06 +01008241typedef void (GLAPIENTRYP _glptr_UniformMatrix2fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
8242#define CALL_UniformMatrix2fvARB(disp, parameters) \
8243 (* GET_UniformMatrix2fvARB(disp)) parameters
8244static INLINE _glptr_UniformMatrix2fvARB GET_UniformMatrix2fvARB(struct _glapi_table *disp) {
8245 return (_glptr_UniformMatrix2fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix2fvARB));
8246}
8247
8248static INLINE void SET_UniformMatrix2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008249 SET_by_offset(disp, _gloffset_UniformMatrix2fvARB, fn);
8250}
8251
José Fonseca075d2bf2011-05-19 17:44:06 +01008252typedef void (GLAPIENTRYP _glptr_UniformMatrix3fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
8253#define CALL_UniformMatrix3fvARB(disp, parameters) \
8254 (* GET_UniformMatrix3fvARB(disp)) parameters
8255static INLINE _glptr_UniformMatrix3fvARB GET_UniformMatrix3fvARB(struct _glapi_table *disp) {
8256 return (_glptr_UniformMatrix3fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix3fvARB));
8257}
8258
8259static INLINE void SET_UniformMatrix3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008260 SET_by_offset(disp, _gloffset_UniformMatrix3fvARB, fn);
8261}
8262
José Fonseca075d2bf2011-05-19 17:44:06 +01008263typedef void (GLAPIENTRYP _glptr_UniformMatrix4fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
8264#define CALL_UniformMatrix4fvARB(disp, parameters) \
8265 (* GET_UniformMatrix4fvARB(disp)) parameters
8266static INLINE _glptr_UniformMatrix4fvARB GET_UniformMatrix4fvARB(struct _glapi_table *disp) {
8267 return (_glptr_UniformMatrix4fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix4fvARB));
8268}
8269
8270static INLINE void SET_UniformMatrix4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008271 SET_by_offset(disp, _gloffset_UniformMatrix4fvARB, fn);
8272}
8273
José Fonseca075d2bf2011-05-19 17:44:06 +01008274typedef void (GLAPIENTRYP _glptr_UseProgramObjectARB)(GLhandleARB);
8275#define CALL_UseProgramObjectARB(disp, parameters) \
8276 (* GET_UseProgramObjectARB(disp)) parameters
8277static INLINE _glptr_UseProgramObjectARB GET_UseProgramObjectARB(struct _glapi_table *disp) {
8278 return (_glptr_UseProgramObjectARB) (GET_by_offset(disp, _gloffset_UseProgramObjectARB));
8279}
8280
8281static INLINE void SET_UseProgramObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008282 SET_by_offset(disp, _gloffset_UseProgramObjectARB, fn);
8283}
8284
José Fonseca075d2bf2011-05-19 17:44:06 +01008285typedef void (GLAPIENTRYP _glptr_ValidateProgramARB)(GLhandleARB);
8286#define CALL_ValidateProgramARB(disp, parameters) \
8287 (* GET_ValidateProgramARB(disp)) parameters
8288static INLINE _glptr_ValidateProgramARB GET_ValidateProgramARB(struct _glapi_table *disp) {
8289 return (_glptr_ValidateProgramARB) (GET_by_offset(disp, _gloffset_ValidateProgramARB));
8290}
8291
8292static INLINE void SET_ValidateProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008293 SET_by_offset(disp, _gloffset_ValidateProgramARB, fn);
8294}
8295
José Fonseca075d2bf2011-05-19 17:44:06 +01008296typedef void (GLAPIENTRYP _glptr_BindAttribLocationARB)(GLhandleARB, GLuint, const GLcharARB *);
8297#define CALL_BindAttribLocationARB(disp, parameters) \
8298 (* GET_BindAttribLocationARB(disp)) parameters
8299static INLINE _glptr_BindAttribLocationARB GET_BindAttribLocationARB(struct _glapi_table *disp) {
8300 return (_glptr_BindAttribLocationARB) (GET_by_offset(disp, _gloffset_BindAttribLocationARB));
8301}
8302
8303static INLINE void SET_BindAttribLocationARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, const GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008304 SET_by_offset(disp, _gloffset_BindAttribLocationARB, fn);
8305}
8306
José Fonseca075d2bf2011-05-19 17:44:06 +01008307typedef void (GLAPIENTRYP _glptr_GetActiveAttribARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
8308#define CALL_GetActiveAttribARB(disp, parameters) \
8309 (* GET_GetActiveAttribARB(disp)) parameters
8310static INLINE _glptr_GetActiveAttribARB GET_GetActiveAttribARB(struct _glapi_table *disp) {
8311 return (_glptr_GetActiveAttribARB) (GET_by_offset(disp, _gloffset_GetActiveAttribARB));
8312}
8313
8314static INLINE void SET_GetActiveAttribARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008315 SET_by_offset(disp, _gloffset_GetActiveAttribARB, fn);
8316}
8317
José Fonseca075d2bf2011-05-19 17:44:06 +01008318typedef GLint (GLAPIENTRYP _glptr_GetAttribLocationARB)(GLhandleARB, const GLcharARB *);
8319#define CALL_GetAttribLocationARB(disp, parameters) \
8320 (* GET_GetAttribLocationARB(disp)) parameters
8321static INLINE _glptr_GetAttribLocationARB GET_GetAttribLocationARB(struct _glapi_table *disp) {
8322 return (_glptr_GetAttribLocationARB) (GET_by_offset(disp, _gloffset_GetAttribLocationARB));
8323}
8324
8325static INLINE void SET_GetAttribLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008326 SET_by_offset(disp, _gloffset_GetAttribLocationARB, fn);
8327}
8328
José Fonseca075d2bf2011-05-19 17:44:06 +01008329typedef void (GLAPIENTRYP _glptr_DrawBuffersARB)(GLsizei, const GLenum *);
8330#define CALL_DrawBuffersARB(disp, parameters) \
8331 (* GET_DrawBuffersARB(disp)) parameters
8332static INLINE _glptr_DrawBuffersARB GET_DrawBuffersARB(struct _glapi_table *disp) {
8333 return (_glptr_DrawBuffersARB) (GET_by_offset(disp, _gloffset_DrawBuffersARB));
8334}
8335
8336static INLINE void SET_DrawBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLenum *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008337 SET_by_offset(disp, _gloffset_DrawBuffersARB, fn);
8338}
8339
José Fonseca075d2bf2011-05-19 17:44:06 +01008340typedef void (GLAPIENTRYP _glptr_ClampColorARB)(GLenum, GLenum);
8341#define CALL_ClampColorARB(disp, parameters) \
8342 (* GET_ClampColorARB(disp)) parameters
8343static INLINE _glptr_ClampColorARB GET_ClampColorARB(struct _glapi_table *disp) {
8344 return (_glptr_ClampColorARB) (GET_by_offset(disp, _gloffset_ClampColorARB));
8345}
8346
8347static INLINE void SET_ClampColorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008348 SET_by_offset(disp, _gloffset_ClampColorARB, fn);
8349}
8350
José Fonseca075d2bf2011-05-19 17:44:06 +01008351typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB)(GLenum, GLint, GLsizei, GLsizei);
8352#define CALL_DrawArraysInstancedARB(disp, parameters) \
8353 (* GET_DrawArraysInstancedARB(disp)) parameters
8354static INLINE _glptr_DrawArraysInstancedARB GET_DrawArraysInstancedARB(struct _glapi_table *disp) {
8355 return (_glptr_DrawArraysInstancedARB) (GET_by_offset(disp, _gloffset_DrawArraysInstancedARB));
8356}
8357
8358static INLINE void SET_DrawArraysInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008359 SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn);
8360}
8361
José Fonseca075d2bf2011-05-19 17:44:06 +01008362typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
8363#define CALL_DrawElementsInstancedARB(disp, parameters) \
8364 (* GET_DrawElementsInstancedARB(disp)) parameters
8365static INLINE _glptr_DrawElementsInstancedARB GET_DrawElementsInstancedARB(struct _glapi_table *disp) {
8366 return (_glptr_DrawElementsInstancedARB) (GET_by_offset(disp, _gloffset_DrawElementsInstancedARB));
8367}
8368
8369static INLINE void SET_DrawElementsInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008370 SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn);
8371}
8372
José Fonseca075d2bf2011-05-19 17:44:06 +01008373typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
8374#define CALL_RenderbufferStorageMultisample(disp, parameters) \
8375 (* GET_RenderbufferStorageMultisample(disp)) parameters
8376static INLINE _glptr_RenderbufferStorageMultisample GET_RenderbufferStorageMultisample(struct _glapi_table *disp) {
8377 return (_glptr_RenderbufferStorageMultisample) (GET_by_offset(disp, _gloffset_RenderbufferStorageMultisample));
8378}
8379
8380static INLINE void SET_RenderbufferStorageMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008381 SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn);
8382}
8383
José Fonseca075d2bf2011-05-19 17:44:06 +01008384typedef void (GLAPIENTRYP _glptr_FramebufferTextureARB)(GLenum, GLenum, GLuint, GLint);
8385#define CALL_FramebufferTextureARB(disp, parameters) \
8386 (* GET_FramebufferTextureARB(disp)) parameters
8387static INLINE _glptr_FramebufferTextureARB GET_FramebufferTextureARB(struct _glapi_table *disp) {
8388 return (_glptr_FramebufferTextureARB) (GET_by_offset(disp, _gloffset_FramebufferTextureARB));
8389}
8390
8391static INLINE void SET_FramebufferTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008392 SET_by_offset(disp, _gloffset_FramebufferTextureARB, fn);
8393}
8394
José Fonseca075d2bf2011-05-19 17:44:06 +01008395typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB)(GLenum, GLenum, GLuint, GLint, GLenum);
8396#define CALL_FramebufferTextureFaceARB(disp, parameters) \
8397 (* GET_FramebufferTextureFaceARB(disp)) parameters
8398static INLINE _glptr_FramebufferTextureFaceARB GET_FramebufferTextureFaceARB(struct _glapi_table *disp) {
8399 return (_glptr_FramebufferTextureFaceARB) (GET_by_offset(disp, _gloffset_FramebufferTextureFaceARB));
8400}
8401
8402static INLINE void SET_FramebufferTextureFaceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008403 SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn);
8404}
8405
José Fonseca075d2bf2011-05-19 17:44:06 +01008406typedef void (GLAPIENTRYP _glptr_ProgramParameteriARB)(GLuint, GLenum, GLint);
8407#define CALL_ProgramParameteriARB(disp, parameters) \
8408 (* GET_ProgramParameteriARB(disp)) parameters
8409static INLINE _glptr_ProgramParameteriARB GET_ProgramParameteriARB(struct _glapi_table *disp) {
8410 return (_glptr_ProgramParameteriARB) (GET_by_offset(disp, _gloffset_ProgramParameteriARB));
8411}
8412
8413static INLINE void SET_ProgramParameteriARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008414 SET_by_offset(disp, _gloffset_ProgramParameteriARB, fn);
8415}
8416
José Fonseca075d2bf2011-05-19 17:44:06 +01008417typedef void (GLAPIENTRYP _glptr_VertexAttribDivisorARB)(GLuint, GLuint);
8418#define CALL_VertexAttribDivisorARB(disp, parameters) \
8419 (* GET_VertexAttribDivisorARB(disp)) parameters
8420static INLINE _glptr_VertexAttribDivisorARB GET_VertexAttribDivisorARB(struct _glapi_table *disp) {
8421 return (_glptr_VertexAttribDivisorARB) (GET_by_offset(disp, _gloffset_VertexAttribDivisorARB));
8422}
8423
8424static INLINE void SET_VertexAttribDivisorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008425 SET_by_offset(disp, _gloffset_VertexAttribDivisorARB, fn);
8426}
8427
José Fonseca075d2bf2011-05-19 17:44:06 +01008428typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr);
8429#define CALL_FlushMappedBufferRange(disp, parameters) \
8430 (* GET_FlushMappedBufferRange(disp)) parameters
8431static INLINE _glptr_FlushMappedBufferRange GET_FlushMappedBufferRange(struct _glapi_table *disp) {
8432 return (_glptr_FlushMappedBufferRange) (GET_by_offset(disp, _gloffset_FlushMappedBufferRange));
8433}
8434
8435static INLINE void SET_FlushMappedBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008436 SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn);
8437}
8438
José Fonseca075d2bf2011-05-19 17:44:06 +01008439typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield);
8440#define CALL_MapBufferRange(disp, parameters) \
8441 (* GET_MapBufferRange(disp)) parameters
8442static INLINE _glptr_MapBufferRange GET_MapBufferRange(struct _glapi_table *disp) {
8443 return (_glptr_MapBufferRange) (GET_by_offset(disp, _gloffset_MapBufferRange));
8444}
8445
8446static INLINE void SET_MapBufferRange(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, GLbitfield)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008447 SET_by_offset(disp, _gloffset_MapBufferRange, fn);
8448}
8449
José Fonseca075d2bf2011-05-19 17:44:06 +01008450typedef void (GLAPIENTRYP _glptr_TexBufferARB)(GLenum, GLenum, GLuint);
8451#define CALL_TexBufferARB(disp, parameters) \
8452 (* GET_TexBufferARB(disp)) parameters
8453static INLINE _glptr_TexBufferARB GET_TexBufferARB(struct _glapi_table *disp) {
8454 return (_glptr_TexBufferARB) (GET_by_offset(disp, _gloffset_TexBufferARB));
8455}
8456
8457static INLINE void SET_TexBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008458 SET_by_offset(disp, _gloffset_TexBufferARB, fn);
8459}
8460
José Fonseca075d2bf2011-05-19 17:44:06 +01008461typedef void (GLAPIENTRYP _glptr_BindVertexArray)(GLuint);
8462#define CALL_BindVertexArray(disp, parameters) \
8463 (* GET_BindVertexArray(disp)) parameters
8464static INLINE _glptr_BindVertexArray GET_BindVertexArray(struct _glapi_table *disp) {
8465 return (_glptr_BindVertexArray) (GET_by_offset(disp, _gloffset_BindVertexArray));
8466}
8467
8468static INLINE void SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008469 SET_by_offset(disp, _gloffset_BindVertexArray, fn);
8470}
8471
José Fonseca075d2bf2011-05-19 17:44:06 +01008472typedef void (GLAPIENTRYP _glptr_GenVertexArrays)(GLsizei, GLuint *);
8473#define CALL_GenVertexArrays(disp, parameters) \
8474 (* GET_GenVertexArrays(disp)) parameters
8475static INLINE _glptr_GenVertexArrays GET_GenVertexArrays(struct _glapi_table *disp) {
8476 return (_glptr_GenVertexArrays) (GET_by_offset(disp, _gloffset_GenVertexArrays));
8477}
8478
8479static INLINE void SET_GenVertexArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008480 SET_by_offset(disp, _gloffset_GenVertexArrays, fn);
8481}
8482
José Fonseca075d2bf2011-05-19 17:44:06 +01008483typedef void (GLAPIENTRYP _glptr_CopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr);
8484#define CALL_CopyBufferSubData(disp, parameters) \
8485 (* GET_CopyBufferSubData(disp)) parameters
8486static INLINE _glptr_CopyBufferSubData GET_CopyBufferSubData(struct _glapi_table *disp) {
8487 return (_glptr_CopyBufferSubData) (GET_by_offset(disp, _gloffset_CopyBufferSubData));
8488}
8489
8490static INLINE void SET_CopyBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008491 SET_by_offset(disp, _gloffset_CopyBufferSubData, fn);
8492}
8493
José Fonseca075d2bf2011-05-19 17:44:06 +01008494typedef GLenum (GLAPIENTRYP _glptr_ClientWaitSync)(GLsync, GLbitfield, GLuint64);
8495#define CALL_ClientWaitSync(disp, parameters) \
8496 (* GET_ClientWaitSync(disp)) parameters
8497static INLINE _glptr_ClientWaitSync GET_ClientWaitSync(struct _glapi_table *disp) {
8498 return (_glptr_ClientWaitSync) (GET_by_offset(disp, _gloffset_ClientWaitSync));
8499}
8500
8501static INLINE void SET_ClientWaitSync(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008502 SET_by_offset(disp, _gloffset_ClientWaitSync, fn);
8503}
8504
José Fonseca075d2bf2011-05-19 17:44:06 +01008505typedef void (GLAPIENTRYP _glptr_DeleteSync)(GLsync);
8506#define CALL_DeleteSync(disp, parameters) \
8507 (* GET_DeleteSync(disp)) parameters
8508static INLINE _glptr_DeleteSync GET_DeleteSync(struct _glapi_table *disp) {
8509 return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync));
8510}
8511
8512static INLINE void SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008513 SET_by_offset(disp, _gloffset_DeleteSync, fn);
8514}
8515
José Fonseca075d2bf2011-05-19 17:44:06 +01008516typedef GLsync (GLAPIENTRYP _glptr_FenceSync)(GLenum, GLbitfield);
8517#define CALL_FenceSync(disp, parameters) \
8518 (* GET_FenceSync(disp)) parameters
8519static INLINE _glptr_FenceSync GET_FenceSync(struct _glapi_table *disp) {
8520 return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync));
8521}
8522
8523static INLINE void SET_FenceSync(struct _glapi_table *disp, GLsync (GLAPIENTRYP fn)(GLenum, GLbitfield)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008524 SET_by_offset(disp, _gloffset_FenceSync, fn);
8525}
8526
José Fonseca075d2bf2011-05-19 17:44:06 +01008527typedef void (GLAPIENTRYP _glptr_GetInteger64v)(GLenum, GLint64 *);
8528#define CALL_GetInteger64v(disp, parameters) \
8529 (* GET_GetInteger64v(disp)) parameters
8530static INLINE _glptr_GetInteger64v GET_GetInteger64v(struct _glapi_table *disp) {
8531 return (_glptr_GetInteger64v) (GET_by_offset(disp, _gloffset_GetInteger64v));
8532}
8533
8534static INLINE void SET_GetInteger64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint64 *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008535 SET_by_offset(disp, _gloffset_GetInteger64v, fn);
8536}
8537
José Fonseca075d2bf2011-05-19 17:44:06 +01008538typedef void (GLAPIENTRYP _glptr_GetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GLint *);
8539#define CALL_GetSynciv(disp, parameters) \
8540 (* GET_GetSynciv(disp)) parameters
8541static INLINE _glptr_GetSynciv GET_GetSynciv(struct _glapi_table *disp) {
8542 return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv));
8543}
8544
8545static INLINE void SET_GetSynciv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLenum, GLsizei, GLsizei *, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008546 SET_by_offset(disp, _gloffset_GetSynciv, fn);
8547}
8548
José Fonseca075d2bf2011-05-19 17:44:06 +01008549typedef GLboolean (GLAPIENTRYP _glptr_IsSync)(GLsync);
8550#define CALL_IsSync(disp, parameters) \
8551 (* GET_IsSync(disp)) parameters
8552static INLINE _glptr_IsSync GET_IsSync(struct _glapi_table *disp) {
8553 return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync));
8554}
8555
8556static INLINE void SET_IsSync(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsync)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008557 SET_by_offset(disp, _gloffset_IsSync, fn);
8558}
8559
José Fonseca075d2bf2011-05-19 17:44:06 +01008560typedef void (GLAPIENTRYP _glptr_WaitSync)(GLsync, GLbitfield, GLuint64);
8561#define CALL_WaitSync(disp, parameters) \
8562 (* GET_WaitSync(disp)) parameters
8563static INLINE _glptr_WaitSync GET_WaitSync(struct _glapi_table *disp) {
8564 return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync));
8565}
8566
8567static INLINE void SET_WaitSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008568 SET_by_offset(disp, _gloffset_WaitSync, fn);
8569}
8570
José Fonseca075d2bf2011-05-19 17:44:06 +01008571typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLint);
8572#define CALL_DrawElementsBaseVertex(disp, parameters) \
8573 (* GET_DrawElementsBaseVertex(disp)) parameters
8574static INLINE _glptr_DrawElementsBaseVertex GET_DrawElementsBaseVertex(struct _glapi_table *disp) {
8575 return (_glptr_DrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsBaseVertex));
8576}
8577
8578static INLINE void SET_DrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008579 SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn);
8580}
8581
Pierre-Eric Pelloux-Prayer0dae9462011-05-31 13:34:34 +02008582typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint);
8583#define CALL_DrawElementsInstancedBaseVertex(disp, parameters) \
8584 (* GET_DrawElementsInstancedBaseVertex(disp)) parameters
8585static INLINE _glptr_DrawElementsInstancedBaseVertex GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp) {
8586 return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex));
8587}
8588
8589static 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é Fonseca075d2bf2011-05-19 17:44:06 +01008593typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint);
8594#define CALL_DrawRangeElementsBaseVertex(disp, parameters) \
8595 (* GET_DrawRangeElementsBaseVertex(disp)) parameters
8596static INLINE _glptr_DrawRangeElementsBaseVertex GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp) {
8597 return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex));
8598}
8599
8600static INLINE void SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008601 SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn);
8602}
8603
José Fonseca075d2bf2011-05-19 17:44:06 +01008604typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *);
8605#define CALL_MultiDrawElementsBaseVertex(disp, parameters) \
8606 (* GET_MultiDrawElementsBaseVertex(disp)) parameters
8607static INLINE _glptr_MultiDrawElementsBaseVertex GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp) {
8608 return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex));
8609}
8610
8611static INLINE void SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008612 SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn);
8613}
8614
José Fonseca075d2bf2011-05-19 17:44:06 +01008615typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB)(GLuint, GLenum, GLenum);
8616#define CALL_BlendEquationSeparateiARB(disp, parameters) \
8617 (* GET_BlendEquationSeparateiARB(disp)) parameters
8618static INLINE _glptr_BlendEquationSeparateiARB GET_BlendEquationSeparateiARB(struct _glapi_table *disp) {
8619 return (_glptr_BlendEquationSeparateiARB) (GET_by_offset(disp, _gloffset_BlendEquationSeparateiARB));
8620}
8621
8622static INLINE void SET_BlendEquationSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008623 SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn);
8624}
8625
José Fonseca075d2bf2011-05-19 17:44:06 +01008626typedef void (GLAPIENTRYP _glptr_BlendEquationiARB)(GLuint, GLenum);
8627#define CALL_BlendEquationiARB(disp, parameters) \
8628 (* GET_BlendEquationiARB(disp)) parameters
8629static INLINE _glptr_BlendEquationiARB GET_BlendEquationiARB(struct _glapi_table *disp) {
8630 return (_glptr_BlendEquationiARB) (GET_by_offset(disp, _gloffset_BlendEquationiARB));
8631}
8632
8633static INLINE void SET_BlendEquationiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008634 SET_by_offset(disp, _gloffset_BlendEquationiARB, fn);
8635}
8636
José Fonseca075d2bf2011-05-19 17:44:06 +01008637typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum);
8638#define CALL_BlendFuncSeparateiARB(disp, parameters) \
8639 (* GET_BlendFuncSeparateiARB(disp)) parameters
8640static INLINE _glptr_BlendFuncSeparateiARB GET_BlendFuncSeparateiARB(struct _glapi_table *disp) {
8641 return (_glptr_BlendFuncSeparateiARB) (GET_by_offset(disp, _gloffset_BlendFuncSeparateiARB));
8642}
8643
8644static INLINE void SET_BlendFuncSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008645 SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn);
8646}
8647
José Fonseca075d2bf2011-05-19 17:44:06 +01008648typedef void (GLAPIENTRYP _glptr_BlendFunciARB)(GLuint, GLenum, GLenum);
8649#define CALL_BlendFunciARB(disp, parameters) \
8650 (* GET_BlendFunciARB(disp)) parameters
8651static INLINE _glptr_BlendFunciARB GET_BlendFunciARB(struct _glapi_table *disp) {
8652 return (_glptr_BlendFunciARB) (GET_by_offset(disp, _gloffset_BlendFunciARB));
8653}
8654
8655static INLINE void SET_BlendFunciARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008656 SET_by_offset(disp, _gloffset_BlendFunciARB, fn);
8657}
8658
José Fonseca075d2bf2011-05-19 17:44:06 +01008659typedef void (GLAPIENTRYP _glptr_BindSampler)(GLuint, GLuint);
8660#define CALL_BindSampler(disp, parameters) \
8661 (* GET_BindSampler(disp)) parameters
8662static INLINE _glptr_BindSampler GET_BindSampler(struct _glapi_table *disp) {
8663 return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler));
8664}
8665
8666static INLINE void SET_BindSampler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008667 SET_by_offset(disp, _gloffset_BindSampler, fn);
8668}
8669
José Fonseca075d2bf2011-05-19 17:44:06 +01008670typedef void (GLAPIENTRYP _glptr_DeleteSamplers)(GLsizei, const GLuint *);
8671#define CALL_DeleteSamplers(disp, parameters) \
8672 (* GET_DeleteSamplers(disp)) parameters
8673static INLINE _glptr_DeleteSamplers GET_DeleteSamplers(struct _glapi_table *disp) {
8674 return (_glptr_DeleteSamplers) (GET_by_offset(disp, _gloffset_DeleteSamplers));
8675}
8676
8677static INLINE void SET_DeleteSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008678 SET_by_offset(disp, _gloffset_DeleteSamplers, fn);
8679}
8680
José Fonseca075d2bf2011-05-19 17:44:06 +01008681typedef void (GLAPIENTRYP _glptr_GenSamplers)(GLsizei, GLuint *);
8682#define CALL_GenSamplers(disp, parameters) \
8683 (* GET_GenSamplers(disp)) parameters
8684static INLINE _glptr_GenSamplers GET_GenSamplers(struct _glapi_table *disp) {
8685 return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers));
8686}
8687
8688static INLINE void SET_GenSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008689 SET_by_offset(disp, _gloffset_GenSamplers, fn);
8690}
8691
José Fonseca075d2bf2011-05-19 17:44:06 +01008692typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv)(GLuint, GLenum, GLint *);
8693#define CALL_GetSamplerParameterIiv(disp, parameters) \
8694 (* GET_GetSamplerParameterIiv(disp)) parameters
8695static INLINE _glptr_GetSamplerParameterIiv GET_GetSamplerParameterIiv(struct _glapi_table *disp) {
8696 return (_glptr_GetSamplerParameterIiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIiv));
8697}
8698
8699static INLINE void SET_GetSamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008700 SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn);
8701}
8702
José Fonseca075d2bf2011-05-19 17:44:06 +01008703typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv)(GLuint, GLenum, GLuint *);
8704#define CALL_GetSamplerParameterIuiv(disp, parameters) \
8705 (* GET_GetSamplerParameterIuiv(disp)) parameters
8706static INLINE _glptr_GetSamplerParameterIuiv GET_GetSamplerParameterIuiv(struct _glapi_table *disp) {
8707 return (_glptr_GetSamplerParameterIuiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIuiv));
8708}
8709
8710static INLINE void SET_GetSamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008711 SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn);
8712}
8713
José Fonseca075d2bf2011-05-19 17:44:06 +01008714typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv)(GLuint, GLenum, GLfloat *);
8715#define CALL_GetSamplerParameterfv(disp, parameters) \
8716 (* GET_GetSamplerParameterfv(disp)) parameters
8717static INLINE _glptr_GetSamplerParameterfv GET_GetSamplerParameterfv(struct _glapi_table *disp) {
8718 return (_glptr_GetSamplerParameterfv) (GET_by_offset(disp, _gloffset_GetSamplerParameterfv));
8719}
8720
8721static INLINE void SET_GetSamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008722 SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn);
8723}
8724
José Fonseca075d2bf2011-05-19 17:44:06 +01008725typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv)(GLuint, GLenum, GLint *);
8726#define CALL_GetSamplerParameteriv(disp, parameters) \
8727 (* GET_GetSamplerParameteriv(disp)) parameters
8728static INLINE _glptr_GetSamplerParameteriv GET_GetSamplerParameteriv(struct _glapi_table *disp) {
8729 return (_glptr_GetSamplerParameteriv) (GET_by_offset(disp, _gloffset_GetSamplerParameteriv));
8730}
8731
8732static INLINE void SET_GetSamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008733 SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn);
8734}
8735
José Fonseca075d2bf2011-05-19 17:44:06 +01008736typedef GLboolean (GLAPIENTRYP _glptr_IsSampler)(GLuint);
8737#define CALL_IsSampler(disp, parameters) \
8738 (* GET_IsSampler(disp)) parameters
8739static INLINE _glptr_IsSampler GET_IsSampler(struct _glapi_table *disp) {
8740 return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler));
8741}
8742
8743static INLINE void SET_IsSampler(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008744 SET_by_offset(disp, _gloffset_IsSampler, fn);
8745}
8746
José Fonseca075d2bf2011-05-19 17:44:06 +01008747typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv)(GLuint, GLenum, const GLint *);
8748#define CALL_SamplerParameterIiv(disp, parameters) \
8749 (* GET_SamplerParameterIiv(disp)) parameters
8750static INLINE _glptr_SamplerParameterIiv GET_SamplerParameterIiv(struct _glapi_table *disp) {
8751 return (_glptr_SamplerParameterIiv) (GET_by_offset(disp, _gloffset_SamplerParameterIiv));
8752}
8753
8754static INLINE void SET_SamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008755 SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn);
8756}
8757
José Fonseca075d2bf2011-05-19 17:44:06 +01008758typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv)(GLuint, GLenum, const GLuint *);
8759#define CALL_SamplerParameterIuiv(disp, parameters) \
8760 (* GET_SamplerParameterIuiv(disp)) parameters
8761static INLINE _glptr_SamplerParameterIuiv GET_SamplerParameterIuiv(struct _glapi_table *disp) {
8762 return (_glptr_SamplerParameterIuiv) (GET_by_offset(disp, _gloffset_SamplerParameterIuiv));
8763}
8764
8765static INLINE void SET_SamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008766 SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn);
8767}
8768
José Fonseca075d2bf2011-05-19 17:44:06 +01008769typedef void (GLAPIENTRYP _glptr_SamplerParameterf)(GLuint, GLenum, GLfloat);
8770#define CALL_SamplerParameterf(disp, parameters) \
8771 (* GET_SamplerParameterf(disp)) parameters
8772static INLINE _glptr_SamplerParameterf GET_SamplerParameterf(struct _glapi_table *disp) {
8773 return (_glptr_SamplerParameterf) (GET_by_offset(disp, _gloffset_SamplerParameterf));
8774}
8775
8776static INLINE void SET_SamplerParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008777 SET_by_offset(disp, _gloffset_SamplerParameterf, fn);
8778}
8779
José Fonseca075d2bf2011-05-19 17:44:06 +01008780typedef void (GLAPIENTRYP _glptr_SamplerParameterfv)(GLuint, GLenum, const GLfloat *);
8781#define CALL_SamplerParameterfv(disp, parameters) \
8782 (* GET_SamplerParameterfv(disp)) parameters
8783static INLINE _glptr_SamplerParameterfv GET_SamplerParameterfv(struct _glapi_table *disp) {
8784 return (_glptr_SamplerParameterfv) (GET_by_offset(disp, _gloffset_SamplerParameterfv));
8785}
8786
8787static INLINE void SET_SamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008788 SET_by_offset(disp, _gloffset_SamplerParameterfv, fn);
8789}
8790
José Fonseca075d2bf2011-05-19 17:44:06 +01008791typedef void (GLAPIENTRYP _glptr_SamplerParameteri)(GLuint, GLenum, GLint);
8792#define CALL_SamplerParameteri(disp, parameters) \
8793 (* GET_SamplerParameteri(disp)) parameters
8794static INLINE _glptr_SamplerParameteri GET_SamplerParameteri(struct _glapi_table *disp) {
8795 return (_glptr_SamplerParameteri) (GET_by_offset(disp, _gloffset_SamplerParameteri));
8796}
8797
8798static INLINE void SET_SamplerParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008799 SET_by_offset(disp, _gloffset_SamplerParameteri, fn);
8800}
8801
José Fonseca075d2bf2011-05-19 17:44:06 +01008802typedef void (GLAPIENTRYP _glptr_SamplerParameteriv)(GLuint, GLenum, const GLint *);
8803#define CALL_SamplerParameteriv(disp, parameters) \
8804 (* GET_SamplerParameteriv(disp)) parameters
8805static INLINE _glptr_SamplerParameteriv GET_SamplerParameteriv(struct _glapi_table *disp) {
8806 return (_glptr_SamplerParameteriv) (GET_by_offset(disp, _gloffset_SamplerParameteriv));
8807}
8808
8809static INLINE void SET_SamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008810 SET_by_offset(disp, _gloffset_SamplerParameteriv, fn);
8811}
8812
José Fonseca075d2bf2011-05-19 17:44:06 +01008813typedef void (GLAPIENTRYP _glptr_BindTransformFeedback)(GLenum, GLuint);
8814#define CALL_BindTransformFeedback(disp, parameters) \
8815 (* GET_BindTransformFeedback(disp)) parameters
8816static INLINE _glptr_BindTransformFeedback GET_BindTransformFeedback(struct _glapi_table *disp) {
8817 return (_glptr_BindTransformFeedback) (GET_by_offset(disp, _gloffset_BindTransformFeedback));
8818}
8819
8820static INLINE void SET_BindTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008821 SET_by_offset(disp, _gloffset_BindTransformFeedback, fn);
8822}
8823
José Fonseca075d2bf2011-05-19 17:44:06 +01008824typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks)(GLsizei, const GLuint *);
8825#define CALL_DeleteTransformFeedbacks(disp, parameters) \
8826 (* GET_DeleteTransformFeedbacks(disp)) parameters
8827static INLINE _glptr_DeleteTransformFeedbacks GET_DeleteTransformFeedbacks(struct _glapi_table *disp) {
8828 return (_glptr_DeleteTransformFeedbacks) (GET_by_offset(disp, _gloffset_DeleteTransformFeedbacks));
8829}
8830
8831static INLINE void SET_DeleteTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008832 SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn);
8833}
8834
José Fonseca075d2bf2011-05-19 17:44:06 +01008835typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback)(GLenum, GLuint);
8836#define CALL_DrawTransformFeedback(disp, parameters) \
8837 (* GET_DrawTransformFeedback(disp)) parameters
8838static INLINE _glptr_DrawTransformFeedback GET_DrawTransformFeedback(struct _glapi_table *disp) {
8839 return (_glptr_DrawTransformFeedback) (GET_by_offset(disp, _gloffset_DrawTransformFeedback));
8840}
8841
8842static INLINE void SET_DrawTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008843 SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn);
8844}
8845
José Fonseca075d2bf2011-05-19 17:44:06 +01008846typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks)(GLsizei, GLuint *);
8847#define CALL_GenTransformFeedbacks(disp, parameters) \
8848 (* GET_GenTransformFeedbacks(disp)) parameters
8849static INLINE _glptr_GenTransformFeedbacks GET_GenTransformFeedbacks(struct _glapi_table *disp) {
8850 return (_glptr_GenTransformFeedbacks) (GET_by_offset(disp, _gloffset_GenTransformFeedbacks));
8851}
8852
8853static INLINE void SET_GenTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008854 SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn);
8855}
8856
José Fonseca075d2bf2011-05-19 17:44:06 +01008857typedef GLboolean (GLAPIENTRYP _glptr_IsTransformFeedback)(GLuint);
8858#define CALL_IsTransformFeedback(disp, parameters) \
8859 (* GET_IsTransformFeedback(disp)) parameters
8860static INLINE _glptr_IsTransformFeedback GET_IsTransformFeedback(struct _glapi_table *disp) {
8861 return (_glptr_IsTransformFeedback) (GET_by_offset(disp, _gloffset_IsTransformFeedback));
8862}
8863
8864static INLINE void SET_IsTransformFeedback(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008865 SET_by_offset(disp, _gloffset_IsTransformFeedback, fn);
8866}
8867
José Fonseca075d2bf2011-05-19 17:44:06 +01008868typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback)(void);
8869#define CALL_PauseTransformFeedback(disp, parameters) \
8870 (* GET_PauseTransformFeedback(disp)) parameters
8871static INLINE _glptr_PauseTransformFeedback GET_PauseTransformFeedback(struct _glapi_table *disp) {
8872 return (_glptr_PauseTransformFeedback) (GET_by_offset(disp, _gloffset_PauseTransformFeedback));
8873}
8874
8875static INLINE void SET_PauseTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008876 SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn);
8877}
8878
José Fonseca075d2bf2011-05-19 17:44:06 +01008879typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback)(void);
8880#define CALL_ResumeTransformFeedback(disp, parameters) \
8881 (* GET_ResumeTransformFeedback(disp)) parameters
8882static INLINE _glptr_ResumeTransformFeedback GET_ResumeTransformFeedback(struct _glapi_table *disp) {
8883 return (_glptr_ResumeTransformFeedback) (GET_by_offset(disp, _gloffset_ResumeTransformFeedback));
8884}
8885
8886static INLINE void SET_ResumeTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008887 SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn);
8888}
8889
José Fonseca075d2bf2011-05-19 17:44:06 +01008890typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf);
8891#define CALL_ClearDepthf(disp, parameters) \
8892 (* GET_ClearDepthf(disp)) parameters
8893static INLINE _glptr_ClearDepthf GET_ClearDepthf(struct _glapi_table *disp) {
8894 return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf));
8895}
8896
8897static INLINE void SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008898 SET_by_offset(disp, _gloffset_ClearDepthf, fn);
8899}
8900
José Fonseca075d2bf2011-05-19 17:44:06 +01008901typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf);
8902#define CALL_DepthRangef(disp, parameters) \
8903 (* GET_DepthRangef(disp)) parameters
8904static INLINE _glptr_DepthRangef GET_DepthRangef(struct _glapi_table *disp) {
8905 return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef));
8906}
8907
8908static INLINE void SET_DepthRangef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008909 SET_by_offset(disp, _gloffset_DepthRangef, fn);
8910}
8911
José Fonseca075d2bf2011-05-19 17:44:06 +01008912typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *);
8913#define CALL_GetShaderPrecisionFormat(disp, parameters) \
8914 (* GET_GetShaderPrecisionFormat(disp)) parameters
8915static INLINE _glptr_GetShaderPrecisionFormat GET_GetShaderPrecisionFormat(struct _glapi_table *disp) {
8916 return (_glptr_GetShaderPrecisionFormat) (GET_by_offset(disp, _gloffset_GetShaderPrecisionFormat));
8917}
8918
8919static INLINE void SET_GetShaderPrecisionFormat(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008920 SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn);
8921}
8922
José Fonseca075d2bf2011-05-19 17:44:06 +01008923typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler)(void);
8924#define CALL_ReleaseShaderCompiler(disp, parameters) \
8925 (* GET_ReleaseShaderCompiler(disp)) parameters
8926static INLINE _glptr_ReleaseShaderCompiler GET_ReleaseShaderCompiler(struct _glapi_table *disp) {
8927 return (_glptr_ReleaseShaderCompiler) (GET_by_offset(disp, _gloffset_ReleaseShaderCompiler));
8928}
8929
8930static INLINE void SET_ReleaseShaderCompiler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008931 SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn);
8932}
8933
José Fonseca075d2bf2011-05-19 17:44:06 +01008934typedef void (GLAPIENTRYP _glptr_ShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei);
8935#define CALL_ShaderBinary(disp, parameters) \
8936 (* GET_ShaderBinary(disp)) parameters
8937static INLINE _glptr_ShaderBinary GET_ShaderBinary(struct _glapi_table *disp) {
8938 return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary));
8939}
8940
8941static INLINE void SET_ShaderBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008942 SET_by_offset(disp, _gloffset_ShaderBinary, fn);
8943}
8944
José Fonseca075d2bf2011-05-19 17:44:06 +01008945typedef GLenum (GLAPIENTRYP _glptr_GetGraphicsResetStatusARB)(void);
8946#define CALL_GetGraphicsResetStatusARB(disp, parameters) \
8947 (* GET_GetGraphicsResetStatusARB(disp)) parameters
8948static INLINE _glptr_GetGraphicsResetStatusARB GET_GetGraphicsResetStatusARB(struct _glapi_table *disp) {
8949 return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB));
8950}
8951
8952static INLINE void SET_GetGraphicsResetStatusARB(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008953 SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn);
8954}
8955
José Fonseca075d2bf2011-05-19 17:44:06 +01008956typedef void (GLAPIENTRYP _glptr_GetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
8957#define CALL_GetnColorTableARB(disp, parameters) \
8958 (* GET_GetnColorTableARB(disp)) parameters
8959static INLINE _glptr_GetnColorTableARB GET_GetnColorTableARB(struct _glapi_table *disp) {
8960 return (_glptr_GetnColorTableARB) (GET_by_offset(disp, _gloffset_GetnColorTableARB));
8961}
8962
8963static INLINE void SET_GetnColorTableARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008964 SET_by_offset(disp, _gloffset_GetnColorTableARB, fn);
8965}
8966
José Fonseca075d2bf2011-05-19 17:44:06 +01008967typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *);
8968#define CALL_GetnCompressedTexImageARB(disp, parameters) \
8969 (* GET_GetnCompressedTexImageARB(disp)) parameters
8970static INLINE _glptr_GetnCompressedTexImageARB GET_GetnCompressedTexImageARB(struct _glapi_table *disp) {
8971 return (_glptr_GetnCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetnCompressedTexImageARB));
8972}
8973
8974static INLINE void SET_GetnCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008975 SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn);
8976}
8977
José Fonseca075d2bf2011-05-19 17:44:06 +01008978typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
8979#define CALL_GetnConvolutionFilterARB(disp, parameters) \
8980 (* GET_GetnConvolutionFilterARB(disp)) parameters
8981static INLINE _glptr_GetnConvolutionFilterARB GET_GetnConvolutionFilterARB(struct _glapi_table *disp) {
8982 return (_glptr_GetnConvolutionFilterARB) (GET_by_offset(disp, _gloffset_GetnConvolutionFilterARB));
8983}
8984
8985static INLINE void SET_GetnConvolutionFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008986 SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn);
8987}
8988
José Fonseca075d2bf2011-05-19 17:44:06 +01008989typedef void (GLAPIENTRYP _glptr_GetnHistogramARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
8990#define CALL_GetnHistogramARB(disp, parameters) \
8991 (* GET_GetnHistogramARB(disp)) parameters
8992static INLINE _glptr_GetnHistogramARB GET_GetnHistogramARB(struct _glapi_table *disp) {
8993 return (_glptr_GetnHistogramARB) (GET_by_offset(disp, _gloffset_GetnHistogramARB));
8994}
8995
8996static INLINE void SET_GetnHistogramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01008997 SET_by_offset(disp, _gloffset_GetnHistogramARB, fn);
8998}
8999
José Fonseca075d2bf2011-05-19 17:44:06 +01009000typedef void (GLAPIENTRYP _glptr_GetnMapdvARB)(GLenum, GLenum, GLsizei, GLdouble *);
9001#define CALL_GetnMapdvARB(disp, parameters) \
9002 (* GET_GetnMapdvARB(disp)) parameters
9003static INLINE _glptr_GetnMapdvARB GET_GetnMapdvARB(struct _glapi_table *disp) {
9004 return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB));
9005}
9006
9007static INLINE void SET_GetnMapdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009008 SET_by_offset(disp, _gloffset_GetnMapdvARB, fn);
9009}
9010
José Fonseca075d2bf2011-05-19 17:44:06 +01009011typedef void (GLAPIENTRYP _glptr_GetnMapfvARB)(GLenum, GLenum, GLsizei, GLfloat *);
9012#define CALL_GetnMapfvARB(disp, parameters) \
9013 (* GET_GetnMapfvARB(disp)) parameters
9014static INLINE _glptr_GetnMapfvARB GET_GetnMapfvARB(struct _glapi_table *disp) {
9015 return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB));
9016}
9017
9018static INLINE void SET_GetnMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009019 SET_by_offset(disp, _gloffset_GetnMapfvARB, fn);
9020}
9021
José Fonseca075d2bf2011-05-19 17:44:06 +01009022typedef void (GLAPIENTRYP _glptr_GetnMapivARB)(GLenum, GLenum, GLsizei, GLint *);
9023#define CALL_GetnMapivARB(disp, parameters) \
9024 (* GET_GetnMapivARB(disp)) parameters
9025static INLINE _glptr_GetnMapivARB GET_GetnMapivARB(struct _glapi_table *disp) {
9026 return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB));
9027}
9028
9029static INLINE void SET_GetnMapivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009030 SET_by_offset(disp, _gloffset_GetnMapivARB, fn);
9031}
9032
José Fonseca075d2bf2011-05-19 17:44:06 +01009033typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
9034#define CALL_GetnMinmaxARB(disp, parameters) \
9035 (* GET_GetnMinmaxARB(disp)) parameters
9036static INLINE _glptr_GetnMinmaxARB GET_GetnMinmaxARB(struct _glapi_table *disp) {
9037 return (_glptr_GetnMinmaxARB) (GET_by_offset(disp, _gloffset_GetnMinmaxARB));
9038}
9039
9040static INLINE void SET_GetnMinmaxARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009041 SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn);
9042}
9043
José Fonseca075d2bf2011-05-19 17:44:06 +01009044typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB)(GLenum, GLsizei, GLfloat *);
9045#define CALL_GetnPixelMapfvARB(disp, parameters) \
9046 (* GET_GetnPixelMapfvARB(disp)) parameters
9047static INLINE _glptr_GetnPixelMapfvARB GET_GetnPixelMapfvARB(struct _glapi_table *disp) {
9048 return (_glptr_GetnPixelMapfvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapfvARB));
9049}
9050
9051static INLINE void SET_GetnPixelMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009052 SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn);
9053}
9054
José Fonseca075d2bf2011-05-19 17:44:06 +01009055typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB)(GLenum, GLsizei, GLuint *);
9056#define CALL_GetnPixelMapuivARB(disp, parameters) \
9057 (* GET_GetnPixelMapuivARB(disp)) parameters
9058static INLINE _glptr_GetnPixelMapuivARB GET_GetnPixelMapuivARB(struct _glapi_table *disp) {
9059 return (_glptr_GetnPixelMapuivARB) (GET_by_offset(disp, _gloffset_GetnPixelMapuivARB));
9060}
9061
9062static INLINE void SET_GetnPixelMapuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009063 SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn);
9064}
9065
José Fonseca075d2bf2011-05-19 17:44:06 +01009066typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB)(GLenum, GLsizei, GLushort *);
9067#define CALL_GetnPixelMapusvARB(disp, parameters) \
9068 (* GET_GetnPixelMapusvARB(disp)) parameters
9069static INLINE _glptr_GetnPixelMapusvARB GET_GetnPixelMapusvARB(struct _glapi_table *disp) {
9070 return (_glptr_GetnPixelMapusvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapusvARB));
9071}
9072
9073static INLINE void SET_GetnPixelMapusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009074 SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn);
9075}
9076
José Fonseca075d2bf2011-05-19 17:44:06 +01009077typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB)(GLsizei, GLubyte *);
9078#define CALL_GetnPolygonStippleARB(disp, parameters) \
9079 (* GET_GetnPolygonStippleARB(disp)) parameters
9080static INLINE _glptr_GetnPolygonStippleARB GET_GetnPolygonStippleARB(struct _glapi_table *disp) {
9081 return (_glptr_GetnPolygonStippleARB) (GET_by_offset(disp, _gloffset_GetnPolygonStippleARB));
9082}
9083
9084static INLINE void SET_GetnPolygonStippleARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009085 SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn);
9086}
9087
José Fonseca075d2bf2011-05-19 17:44:06 +01009088typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *);
9089#define CALL_GetnSeparableFilterARB(disp, parameters) \
9090 (* GET_GetnSeparableFilterARB(disp)) parameters
9091static INLINE _glptr_GetnSeparableFilterARB GET_GetnSeparableFilterARB(struct _glapi_table *disp) {
9092 return (_glptr_GetnSeparableFilterARB) (GET_by_offset(disp, _gloffset_GetnSeparableFilterARB));
9093}
9094
9095static INLINE void SET_GetnSeparableFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009096 SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn);
9097}
9098
José Fonseca075d2bf2011-05-19 17:44:06 +01009099typedef void (GLAPIENTRYP _glptr_GetnTexImageARB)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *);
9100#define CALL_GetnTexImageARB(disp, parameters) \
9101 (* GET_GetnTexImageARB(disp)) parameters
9102static INLINE _glptr_GetnTexImageARB GET_GetnTexImageARB(struct _glapi_table *disp) {
9103 return (_glptr_GetnTexImageARB) (GET_by_offset(disp, _gloffset_GetnTexImageARB));
9104}
9105
9106static INLINE void SET_GetnTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009107 SET_by_offset(disp, _gloffset_GetnTexImageARB, fn);
9108}
9109
José Fonseca075d2bf2011-05-19 17:44:06 +01009110typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB)(GLhandleARB, GLint, GLsizei, GLdouble *);
9111#define CALL_GetnUniformdvARB(disp, parameters) \
9112 (* GET_GetnUniformdvARB(disp)) parameters
9113static INLINE _glptr_GetnUniformdvARB GET_GetnUniformdvARB(struct _glapi_table *disp) {
9114 return (_glptr_GetnUniformdvARB) (GET_by_offset(disp, _gloffset_GetnUniformdvARB));
9115}
9116
9117static INLINE void SET_GetnUniformdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009118 SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn);
9119}
9120
José Fonseca075d2bf2011-05-19 17:44:06 +01009121typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB)(GLhandleARB, GLint, GLsizei, GLfloat *);
9122#define CALL_GetnUniformfvARB(disp, parameters) \
9123 (* GET_GetnUniformfvARB(disp)) parameters
9124static INLINE _glptr_GetnUniformfvARB GET_GetnUniformfvARB(struct _glapi_table *disp) {
9125 return (_glptr_GetnUniformfvARB) (GET_by_offset(disp, _gloffset_GetnUniformfvARB));
9126}
9127
9128static INLINE void SET_GetnUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009129 SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn);
9130}
9131
José Fonseca075d2bf2011-05-19 17:44:06 +01009132typedef void (GLAPIENTRYP _glptr_GetnUniformivARB)(GLhandleARB, GLint, GLsizei, GLint *);
9133#define CALL_GetnUniformivARB(disp, parameters) \
9134 (* GET_GetnUniformivARB(disp)) parameters
9135static INLINE _glptr_GetnUniformivARB GET_GetnUniformivARB(struct _glapi_table *disp) {
9136 return (_glptr_GetnUniformivARB) (GET_by_offset(disp, _gloffset_GetnUniformivARB));
9137}
9138
9139static INLINE void SET_GetnUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009140 SET_by_offset(disp, _gloffset_GetnUniformivARB, fn);
9141}
9142
José Fonseca075d2bf2011-05-19 17:44:06 +01009143typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB)(GLhandleARB, GLint, GLsizei, GLuint *);
9144#define CALL_GetnUniformuivARB(disp, parameters) \
9145 (* GET_GetnUniformuivARB(disp)) parameters
9146static INLINE _glptr_GetnUniformuivARB GET_GetnUniformuivARB(struct _glapi_table *disp) {
9147 return (_glptr_GetnUniformuivARB) (GET_by_offset(disp, _gloffset_GetnUniformuivARB));
9148}
9149
9150static INLINE void SET_GetnUniformuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009151 SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn);
9152}
9153
José Fonseca075d2bf2011-05-19 17:44:06 +01009154typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *);
9155#define CALL_ReadnPixelsARB(disp, parameters) \
9156 (* GET_ReadnPixelsARB(disp)) parameters
9157static INLINE _glptr_ReadnPixelsARB GET_ReadnPixelsARB(struct _glapi_table *disp) {
9158 return (_glptr_ReadnPixelsARB) (GET_by_offset(disp, _gloffset_ReadnPixelsARB));
9159}
9160
9161static INLINE void SET_ReadnPixelsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009162 SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn);
9163}
9164
José Fonseca075d2bf2011-05-19 17:44:06 +01009165typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT)(GLfloat, GLfloat);
9166#define CALL_PolygonOffsetEXT(disp, parameters) \
9167 (* GET_PolygonOffsetEXT(disp)) parameters
9168static INLINE _glptr_PolygonOffsetEXT GET_PolygonOffsetEXT(struct _glapi_table *disp) {
9169 return (_glptr_PolygonOffsetEXT) (GET_by_offset(disp, _gloffset_PolygonOffsetEXT));
9170}
9171
9172static INLINE void SET_PolygonOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009173 SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn);
9174}
9175
José Fonseca075d2bf2011-05-19 17:44:06 +01009176typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterfvSGIS)(GLenum, GLfloat *);
9177#define CALL_GetPixelTexGenParameterfvSGIS(disp, parameters) \
9178 (* GET_GetPixelTexGenParameterfvSGIS(disp)) parameters
9179static INLINE _glptr_GetPixelTexGenParameterfvSGIS GET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp) {
9180 return (_glptr_GetPixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS));
9181}
9182
9183static INLINE void SET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009184 SET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS, fn);
9185}
9186
José Fonseca075d2bf2011-05-19 17:44:06 +01009187typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterivSGIS)(GLenum, GLint *);
9188#define CALL_GetPixelTexGenParameterivSGIS(disp, parameters) \
9189 (* GET_GetPixelTexGenParameterivSGIS(disp)) parameters
9190static INLINE _glptr_GetPixelTexGenParameterivSGIS GET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp) {
9191 return (_glptr_GetPixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS));
9192}
9193
9194static INLINE void SET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009195 SET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS, fn);
9196}
9197
José Fonseca075d2bf2011-05-19 17:44:06 +01009198typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfSGIS)(GLenum, GLfloat);
9199#define CALL_PixelTexGenParameterfSGIS(disp, parameters) \
9200 (* GET_PixelTexGenParameterfSGIS(disp)) parameters
9201static INLINE _glptr_PixelTexGenParameterfSGIS GET_PixelTexGenParameterfSGIS(struct _glapi_table *disp) {
9202 return (_glptr_PixelTexGenParameterfSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS));
9203}
9204
9205static INLINE void SET_PixelTexGenParameterfSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009206 SET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS, fn);
9207}
9208
José Fonseca075d2bf2011-05-19 17:44:06 +01009209typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfvSGIS)(GLenum, const GLfloat *);
9210#define CALL_PixelTexGenParameterfvSGIS(disp, parameters) \
9211 (* GET_PixelTexGenParameterfvSGIS(disp)) parameters
9212static INLINE _glptr_PixelTexGenParameterfvSGIS GET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp) {
9213 return (_glptr_PixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS));
9214}
9215
9216static INLINE void SET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009217 SET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS, fn);
9218}
9219
José Fonseca075d2bf2011-05-19 17:44:06 +01009220typedef void (GLAPIENTRYP _glptr_PixelTexGenParameteriSGIS)(GLenum, GLint);
9221#define CALL_PixelTexGenParameteriSGIS(disp, parameters) \
9222 (* GET_PixelTexGenParameteriSGIS(disp)) parameters
9223static INLINE _glptr_PixelTexGenParameteriSGIS GET_PixelTexGenParameteriSGIS(struct _glapi_table *disp) {
9224 return (_glptr_PixelTexGenParameteriSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS));
9225}
9226
9227static INLINE void SET_PixelTexGenParameteriSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009228 SET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS, fn);
9229}
9230
José Fonseca075d2bf2011-05-19 17:44:06 +01009231typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterivSGIS)(GLenum, const GLint *);
9232#define CALL_PixelTexGenParameterivSGIS(disp, parameters) \
9233 (* GET_PixelTexGenParameterivSGIS(disp)) parameters
9234static INLINE _glptr_PixelTexGenParameterivSGIS GET_PixelTexGenParameterivSGIS(struct _glapi_table *disp) {
9235 return (_glptr_PixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS));
9236}
9237
9238static INLINE void SET_PixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009239 SET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS, fn);
9240}
9241
José Fonseca075d2bf2011-05-19 17:44:06 +01009242typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS)(GLclampf, GLboolean);
9243#define CALL_SampleMaskSGIS(disp, parameters) \
9244 (* GET_SampleMaskSGIS(disp)) parameters
9245static INLINE _glptr_SampleMaskSGIS GET_SampleMaskSGIS(struct _glapi_table *disp) {
9246 return (_glptr_SampleMaskSGIS) (GET_by_offset(disp, _gloffset_SampleMaskSGIS));
9247}
9248
9249static INLINE void SET_SampleMaskSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009250 SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn);
9251}
9252
José Fonseca075d2bf2011-05-19 17:44:06 +01009253typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS)(GLenum);
9254#define CALL_SamplePatternSGIS(disp, parameters) \
9255 (* GET_SamplePatternSGIS(disp)) parameters
9256static INLINE _glptr_SamplePatternSGIS GET_SamplePatternSGIS(struct _glapi_table *disp) {
9257 return (_glptr_SamplePatternSGIS) (GET_by_offset(disp, _gloffset_SamplePatternSGIS));
9258}
9259
9260static INLINE void SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009261 SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn);
9262}
9263
José Fonseca075d2bf2011-05-19 17:44:06 +01009264typedef void (GLAPIENTRYP _glptr_ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
9265#define CALL_ColorPointerEXT(disp, parameters) \
9266 (* GET_ColorPointerEXT(disp)) parameters
9267static INLINE _glptr_ColorPointerEXT GET_ColorPointerEXT(struct _glapi_table *disp) {
9268 return (_glptr_ColorPointerEXT) (GET_by_offset(disp, _gloffset_ColorPointerEXT));
9269}
9270
9271static INLINE void SET_ColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009272 SET_by_offset(disp, _gloffset_ColorPointerEXT, fn);
9273}
9274
José Fonseca075d2bf2011-05-19 17:44:06 +01009275typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *);
9276#define CALL_EdgeFlagPointerEXT(disp, parameters) \
9277 (* GET_EdgeFlagPointerEXT(disp)) parameters
9278static INLINE _glptr_EdgeFlagPointerEXT GET_EdgeFlagPointerEXT(struct _glapi_table *disp) {
9279 return (_glptr_EdgeFlagPointerEXT) (GET_by_offset(disp, _gloffset_EdgeFlagPointerEXT));
9280}
9281
9282static INLINE void SET_EdgeFlagPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, const GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009283 SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn);
9284}
9285
José Fonseca075d2bf2011-05-19 17:44:06 +01009286typedef void (GLAPIENTRYP _glptr_IndexPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
9287#define CALL_IndexPointerEXT(disp, parameters) \
9288 (* GET_IndexPointerEXT(disp)) parameters
9289static INLINE _glptr_IndexPointerEXT GET_IndexPointerEXT(struct _glapi_table *disp) {
9290 return (_glptr_IndexPointerEXT) (GET_by_offset(disp, _gloffset_IndexPointerEXT));
9291}
9292
9293static INLINE void SET_IndexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009294 SET_by_offset(disp, _gloffset_IndexPointerEXT, fn);
9295}
9296
José Fonseca075d2bf2011-05-19 17:44:06 +01009297typedef void (GLAPIENTRYP _glptr_NormalPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
9298#define CALL_NormalPointerEXT(disp, parameters) \
9299 (* GET_NormalPointerEXT(disp)) parameters
9300static INLINE _glptr_NormalPointerEXT GET_NormalPointerEXT(struct _glapi_table *disp) {
9301 return (_glptr_NormalPointerEXT) (GET_by_offset(disp, _gloffset_NormalPointerEXT));
9302}
9303
9304static INLINE void SET_NormalPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009305 SET_by_offset(disp, _gloffset_NormalPointerEXT, fn);
9306}
9307
José Fonseca075d2bf2011-05-19 17:44:06 +01009308typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
9309#define CALL_TexCoordPointerEXT(disp, parameters) \
9310 (* GET_TexCoordPointerEXT(disp)) parameters
9311static INLINE _glptr_TexCoordPointerEXT GET_TexCoordPointerEXT(struct _glapi_table *disp) {
9312 return (_glptr_TexCoordPointerEXT) (GET_by_offset(disp, _gloffset_TexCoordPointerEXT));
9313}
9314
9315static INLINE void SET_TexCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009316 SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn);
9317}
9318
José Fonseca075d2bf2011-05-19 17:44:06 +01009319typedef void (GLAPIENTRYP _glptr_VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
9320#define CALL_VertexPointerEXT(disp, parameters) \
9321 (* GET_VertexPointerEXT(disp)) parameters
9322static INLINE _glptr_VertexPointerEXT GET_VertexPointerEXT(struct _glapi_table *disp) {
9323 return (_glptr_VertexPointerEXT) (GET_by_offset(disp, _gloffset_VertexPointerEXT));
9324}
9325
9326static INLINE void SET_VertexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009327 SET_by_offset(disp, _gloffset_VertexPointerEXT, fn);
9328}
9329
José Fonseca075d2bf2011-05-19 17:44:06 +01009330typedef void (GLAPIENTRYP _glptr_PointParameterfEXT)(GLenum, GLfloat);
9331#define CALL_PointParameterfEXT(disp, parameters) \
9332 (* GET_PointParameterfEXT(disp)) parameters
9333static INLINE _glptr_PointParameterfEXT GET_PointParameterfEXT(struct _glapi_table *disp) {
9334 return (_glptr_PointParameterfEXT) (GET_by_offset(disp, _gloffset_PointParameterfEXT));
9335}
9336
9337static INLINE void SET_PointParameterfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009338 SET_by_offset(disp, _gloffset_PointParameterfEXT, fn);
9339}
9340
José Fonseca075d2bf2011-05-19 17:44:06 +01009341typedef void (GLAPIENTRYP _glptr_PointParameterfvEXT)(GLenum, const GLfloat *);
9342#define CALL_PointParameterfvEXT(disp, parameters) \
9343 (* GET_PointParameterfvEXT(disp)) parameters
9344static INLINE _glptr_PointParameterfvEXT GET_PointParameterfvEXT(struct _glapi_table *disp) {
9345 return (_glptr_PointParameterfvEXT) (GET_by_offset(disp, _gloffset_PointParameterfvEXT));
9346}
9347
9348static INLINE void SET_PointParameterfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009349 SET_by_offset(disp, _gloffset_PointParameterfvEXT, fn);
9350}
9351
José Fonseca075d2bf2011-05-19 17:44:06 +01009352typedef void (GLAPIENTRYP _glptr_LockArraysEXT)(GLint, GLsizei);
9353#define CALL_LockArraysEXT(disp, parameters) \
9354 (* GET_LockArraysEXT(disp)) parameters
9355static INLINE _glptr_LockArraysEXT GET_LockArraysEXT(struct _glapi_table *disp) {
9356 return (_glptr_LockArraysEXT) (GET_by_offset(disp, _gloffset_LockArraysEXT));
9357}
9358
9359static INLINE void SET_LockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009360 SET_by_offset(disp, _gloffset_LockArraysEXT, fn);
9361}
9362
José Fonseca075d2bf2011-05-19 17:44:06 +01009363typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT)(void);
9364#define CALL_UnlockArraysEXT(disp, parameters) \
9365 (* GET_UnlockArraysEXT(disp)) parameters
9366static INLINE _glptr_UnlockArraysEXT GET_UnlockArraysEXT(struct _glapi_table *disp) {
9367 return (_glptr_UnlockArraysEXT) (GET_by_offset(disp, _gloffset_UnlockArraysEXT));
9368}
9369
9370static INLINE void SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009371 SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn);
9372}
9373
José Fonseca075d2bf2011-05-19 17:44:06 +01009374typedef void (GLAPIENTRYP _glptr_SecondaryColor3bEXT)(GLbyte, GLbyte, GLbyte);
9375#define CALL_SecondaryColor3bEXT(disp, parameters) \
9376 (* GET_SecondaryColor3bEXT(disp)) parameters
9377static INLINE _glptr_SecondaryColor3bEXT GET_SecondaryColor3bEXT(struct _glapi_table *disp) {
9378 return (_glptr_SecondaryColor3bEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bEXT));
9379}
9380
9381static INLINE void SET_SecondaryColor3bEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009382 SET_by_offset(disp, _gloffset_SecondaryColor3bEXT, fn);
9383}
9384
José Fonseca075d2bf2011-05-19 17:44:06 +01009385typedef void (GLAPIENTRYP _glptr_SecondaryColor3bvEXT)(const GLbyte *);
9386#define CALL_SecondaryColor3bvEXT(disp, parameters) \
9387 (* GET_SecondaryColor3bvEXT(disp)) parameters
9388static INLINE _glptr_SecondaryColor3bvEXT GET_SecondaryColor3bvEXT(struct _glapi_table *disp) {
9389 return (_glptr_SecondaryColor3bvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bvEXT));
9390}
9391
9392static INLINE void SET_SecondaryColor3bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009393 SET_by_offset(disp, _gloffset_SecondaryColor3bvEXT, fn);
9394}
9395
José Fonseca075d2bf2011-05-19 17:44:06 +01009396typedef void (GLAPIENTRYP _glptr_SecondaryColor3dEXT)(GLdouble, GLdouble, GLdouble);
9397#define CALL_SecondaryColor3dEXT(disp, parameters) \
9398 (* GET_SecondaryColor3dEXT(disp)) parameters
9399static INLINE _glptr_SecondaryColor3dEXT GET_SecondaryColor3dEXT(struct _glapi_table *disp) {
9400 return (_glptr_SecondaryColor3dEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dEXT));
9401}
9402
9403static INLINE void SET_SecondaryColor3dEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009404 SET_by_offset(disp, _gloffset_SecondaryColor3dEXT, fn);
9405}
9406
José Fonseca075d2bf2011-05-19 17:44:06 +01009407typedef void (GLAPIENTRYP _glptr_SecondaryColor3dvEXT)(const GLdouble *);
9408#define CALL_SecondaryColor3dvEXT(disp, parameters) \
9409 (* GET_SecondaryColor3dvEXT(disp)) parameters
9410static INLINE _glptr_SecondaryColor3dvEXT GET_SecondaryColor3dvEXT(struct _glapi_table *disp) {
9411 return (_glptr_SecondaryColor3dvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dvEXT));
9412}
9413
9414static INLINE void SET_SecondaryColor3dvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009415 SET_by_offset(disp, _gloffset_SecondaryColor3dvEXT, fn);
9416}
9417
José Fonseca075d2bf2011-05-19 17:44:06 +01009418typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT)(GLfloat, GLfloat, GLfloat);
9419#define CALL_SecondaryColor3fEXT(disp, parameters) \
9420 (* GET_SecondaryColor3fEXT(disp)) parameters
9421static INLINE _glptr_SecondaryColor3fEXT GET_SecondaryColor3fEXT(struct _glapi_table *disp) {
9422 return (_glptr_SecondaryColor3fEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fEXT));
9423}
9424
9425static INLINE void SET_SecondaryColor3fEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009426 SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn);
9427}
9428
José Fonseca075d2bf2011-05-19 17:44:06 +01009429typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT)(const GLfloat *);
9430#define CALL_SecondaryColor3fvEXT(disp, parameters) \
9431 (* GET_SecondaryColor3fvEXT(disp)) parameters
9432static INLINE _glptr_SecondaryColor3fvEXT GET_SecondaryColor3fvEXT(struct _glapi_table *disp) {
9433 return (_glptr_SecondaryColor3fvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fvEXT));
9434}
9435
9436static INLINE void SET_SecondaryColor3fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009437 SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn);
9438}
9439
José Fonseca075d2bf2011-05-19 17:44:06 +01009440typedef void (GLAPIENTRYP _glptr_SecondaryColor3iEXT)(GLint, GLint, GLint);
9441#define CALL_SecondaryColor3iEXT(disp, parameters) \
9442 (* GET_SecondaryColor3iEXT(disp)) parameters
9443static INLINE _glptr_SecondaryColor3iEXT GET_SecondaryColor3iEXT(struct _glapi_table *disp) {
9444 return (_glptr_SecondaryColor3iEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3iEXT));
9445}
9446
9447static INLINE void SET_SecondaryColor3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009448 SET_by_offset(disp, _gloffset_SecondaryColor3iEXT, fn);
9449}
9450
José Fonseca075d2bf2011-05-19 17:44:06 +01009451typedef void (GLAPIENTRYP _glptr_SecondaryColor3ivEXT)(const GLint *);
9452#define CALL_SecondaryColor3ivEXT(disp, parameters) \
9453 (* GET_SecondaryColor3ivEXT(disp)) parameters
9454static INLINE _glptr_SecondaryColor3ivEXT GET_SecondaryColor3ivEXT(struct _glapi_table *disp) {
9455 return (_glptr_SecondaryColor3ivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ivEXT));
9456}
9457
9458static INLINE void SET_SecondaryColor3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009459 SET_by_offset(disp, _gloffset_SecondaryColor3ivEXT, fn);
9460}
9461
José Fonseca075d2bf2011-05-19 17:44:06 +01009462typedef void (GLAPIENTRYP _glptr_SecondaryColor3sEXT)(GLshort, GLshort, GLshort);
9463#define CALL_SecondaryColor3sEXT(disp, parameters) \
9464 (* GET_SecondaryColor3sEXT(disp)) parameters
9465static INLINE _glptr_SecondaryColor3sEXT GET_SecondaryColor3sEXT(struct _glapi_table *disp) {
9466 return (_glptr_SecondaryColor3sEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3sEXT));
9467}
9468
9469static INLINE void SET_SecondaryColor3sEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009470 SET_by_offset(disp, _gloffset_SecondaryColor3sEXT, fn);
9471}
9472
José Fonseca075d2bf2011-05-19 17:44:06 +01009473typedef void (GLAPIENTRYP _glptr_SecondaryColor3svEXT)(const GLshort *);
9474#define CALL_SecondaryColor3svEXT(disp, parameters) \
9475 (* GET_SecondaryColor3svEXT(disp)) parameters
9476static INLINE _glptr_SecondaryColor3svEXT GET_SecondaryColor3svEXT(struct _glapi_table *disp) {
9477 return (_glptr_SecondaryColor3svEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3svEXT));
9478}
9479
9480static INLINE void SET_SecondaryColor3svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009481 SET_by_offset(disp, _gloffset_SecondaryColor3svEXT, fn);
9482}
9483
José Fonseca075d2bf2011-05-19 17:44:06 +01009484typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubEXT)(GLubyte, GLubyte, GLubyte);
9485#define CALL_SecondaryColor3ubEXT(disp, parameters) \
9486 (* GET_SecondaryColor3ubEXT(disp)) parameters
9487static INLINE _glptr_SecondaryColor3ubEXT GET_SecondaryColor3ubEXT(struct _glapi_table *disp) {
9488 return (_glptr_SecondaryColor3ubEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubEXT));
9489}
9490
9491static INLINE void SET_SecondaryColor3ubEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009492 SET_by_offset(disp, _gloffset_SecondaryColor3ubEXT, fn);
9493}
9494
José Fonseca075d2bf2011-05-19 17:44:06 +01009495typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubvEXT)(const GLubyte *);
9496#define CALL_SecondaryColor3ubvEXT(disp, parameters) \
9497 (* GET_SecondaryColor3ubvEXT(disp)) parameters
9498static INLINE _glptr_SecondaryColor3ubvEXT GET_SecondaryColor3ubvEXT(struct _glapi_table *disp) {
9499 return (_glptr_SecondaryColor3ubvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT));
9500}
9501
9502static INLINE void SET_SecondaryColor3ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009503 SET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT, fn);
9504}
9505
José Fonseca075d2bf2011-05-19 17:44:06 +01009506typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiEXT)(GLuint, GLuint, GLuint);
9507#define CALL_SecondaryColor3uiEXT(disp, parameters) \
9508 (* GET_SecondaryColor3uiEXT(disp)) parameters
9509static INLINE _glptr_SecondaryColor3uiEXT GET_SecondaryColor3uiEXT(struct _glapi_table *disp) {
9510 return (_glptr_SecondaryColor3uiEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uiEXT));
9511}
9512
9513static INLINE void SET_SecondaryColor3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009514 SET_by_offset(disp, _gloffset_SecondaryColor3uiEXT, fn);
9515}
9516
José Fonseca075d2bf2011-05-19 17:44:06 +01009517typedef void (GLAPIENTRYP _glptr_SecondaryColor3uivEXT)(const GLuint *);
9518#define CALL_SecondaryColor3uivEXT(disp, parameters) \
9519 (* GET_SecondaryColor3uivEXT(disp)) parameters
9520static INLINE _glptr_SecondaryColor3uivEXT GET_SecondaryColor3uivEXT(struct _glapi_table *disp) {
9521 return (_glptr_SecondaryColor3uivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uivEXT));
9522}
9523
9524static INLINE void SET_SecondaryColor3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009525 SET_by_offset(disp, _gloffset_SecondaryColor3uivEXT, fn);
9526}
9527
José Fonseca075d2bf2011-05-19 17:44:06 +01009528typedef void (GLAPIENTRYP _glptr_SecondaryColor3usEXT)(GLushort, GLushort, GLushort);
9529#define CALL_SecondaryColor3usEXT(disp, parameters) \
9530 (* GET_SecondaryColor3usEXT(disp)) parameters
9531static INLINE _glptr_SecondaryColor3usEXT GET_SecondaryColor3usEXT(struct _glapi_table *disp) {
9532 return (_glptr_SecondaryColor3usEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usEXT));
9533}
9534
9535static INLINE void SET_SecondaryColor3usEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009536 SET_by_offset(disp, _gloffset_SecondaryColor3usEXT, fn);
9537}
9538
José Fonseca075d2bf2011-05-19 17:44:06 +01009539typedef void (GLAPIENTRYP _glptr_SecondaryColor3usvEXT)(const GLushort *);
9540#define CALL_SecondaryColor3usvEXT(disp, parameters) \
9541 (* GET_SecondaryColor3usvEXT(disp)) parameters
9542static INLINE _glptr_SecondaryColor3usvEXT GET_SecondaryColor3usvEXT(struct _glapi_table *disp) {
9543 return (_glptr_SecondaryColor3usvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usvEXT));
9544}
9545
9546static INLINE void SET_SecondaryColor3usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009547 SET_by_offset(disp, _gloffset_SecondaryColor3usvEXT, fn);
9548}
9549
José Fonseca075d2bf2011-05-19 17:44:06 +01009550typedef void (GLAPIENTRYP _glptr_SecondaryColorPointerEXT)(GLint, GLenum, GLsizei, const GLvoid *);
9551#define CALL_SecondaryColorPointerEXT(disp, parameters) \
9552 (* GET_SecondaryColorPointerEXT(disp)) parameters
9553static INLINE _glptr_SecondaryColorPointerEXT GET_SecondaryColorPointerEXT(struct _glapi_table *disp) {
9554 return (_glptr_SecondaryColorPointerEXT) (GET_by_offset(disp, _gloffset_SecondaryColorPointerEXT));
9555}
9556
9557static INLINE void SET_SecondaryColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009558 SET_by_offset(disp, _gloffset_SecondaryColorPointerEXT, fn);
9559}
9560
José Fonseca075d2bf2011-05-19 17:44:06 +01009561typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT)(GLenum, const GLint *, const GLsizei *, GLsizei);
9562#define CALL_MultiDrawArraysEXT(disp, parameters) \
9563 (* GET_MultiDrawArraysEXT(disp)) parameters
9564static INLINE _glptr_MultiDrawArraysEXT GET_MultiDrawArraysEXT(struct _glapi_table *disp) {
9565 return (_glptr_MultiDrawArraysEXT) (GET_by_offset(disp, _gloffset_MultiDrawArraysEXT));
9566}
9567
9568static INLINE void SET_MultiDrawArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *, const GLsizei *, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009569 SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn);
9570}
9571
José Fonseca075d2bf2011-05-19 17:44:06 +01009572typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei);
9573#define CALL_MultiDrawElementsEXT(disp, parameters) \
9574 (* GET_MultiDrawElementsEXT(disp)) parameters
9575static INLINE _glptr_MultiDrawElementsEXT GET_MultiDrawElementsEXT(struct _glapi_table *disp) {
9576 return (_glptr_MultiDrawElementsEXT) (GET_by_offset(disp, _gloffset_MultiDrawElementsEXT));
9577}
9578
9579static INLINE void SET_MultiDrawElementsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009580 SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn);
9581}
9582
José Fonseca075d2bf2011-05-19 17:44:06 +01009583typedef void (GLAPIENTRYP _glptr_FogCoordPointerEXT)(GLenum, GLsizei, const GLvoid *);
9584#define CALL_FogCoordPointerEXT(disp, parameters) \
9585 (* GET_FogCoordPointerEXT(disp)) parameters
9586static INLINE _glptr_FogCoordPointerEXT GET_FogCoordPointerEXT(struct _glapi_table *disp) {
9587 return (_glptr_FogCoordPointerEXT) (GET_by_offset(disp, _gloffset_FogCoordPointerEXT));
9588}
9589
9590static INLINE void SET_FogCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009591 SET_by_offset(disp, _gloffset_FogCoordPointerEXT, fn);
9592}
9593
José Fonseca075d2bf2011-05-19 17:44:06 +01009594typedef void (GLAPIENTRYP _glptr_FogCoorddEXT)(GLdouble);
9595#define CALL_FogCoorddEXT(disp, parameters) \
9596 (* GET_FogCoorddEXT(disp)) parameters
9597static INLINE _glptr_FogCoorddEXT GET_FogCoorddEXT(struct _glapi_table *disp) {
9598 return (_glptr_FogCoorddEXT) (GET_by_offset(disp, _gloffset_FogCoorddEXT));
9599}
9600
9601static INLINE void SET_FogCoorddEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009602 SET_by_offset(disp, _gloffset_FogCoorddEXT, fn);
9603}
9604
José Fonseca075d2bf2011-05-19 17:44:06 +01009605typedef void (GLAPIENTRYP _glptr_FogCoorddvEXT)(const GLdouble *);
9606#define CALL_FogCoorddvEXT(disp, parameters) \
9607 (* GET_FogCoorddvEXT(disp)) parameters
9608static INLINE _glptr_FogCoorddvEXT GET_FogCoorddvEXT(struct _glapi_table *disp) {
9609 return (_glptr_FogCoorddvEXT) (GET_by_offset(disp, _gloffset_FogCoorddvEXT));
9610}
9611
9612static INLINE void SET_FogCoorddvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009613 SET_by_offset(disp, _gloffset_FogCoorddvEXT, fn);
9614}
9615
José Fonseca075d2bf2011-05-19 17:44:06 +01009616typedef void (GLAPIENTRYP _glptr_FogCoordfEXT)(GLfloat);
9617#define CALL_FogCoordfEXT(disp, parameters) \
9618 (* GET_FogCoordfEXT(disp)) parameters
9619static INLINE _glptr_FogCoordfEXT GET_FogCoordfEXT(struct _glapi_table *disp) {
9620 return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT));
9621}
9622
9623static INLINE void SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009624 SET_by_offset(disp, _gloffset_FogCoordfEXT, fn);
9625}
9626
José Fonseca075d2bf2011-05-19 17:44:06 +01009627typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT)(const GLfloat *);
9628#define CALL_FogCoordfvEXT(disp, parameters) \
9629 (* GET_FogCoordfvEXT(disp)) parameters
9630static INLINE _glptr_FogCoordfvEXT GET_FogCoordfvEXT(struct _glapi_table *disp) {
9631 return (_glptr_FogCoordfvEXT) (GET_by_offset(disp, _gloffset_FogCoordfvEXT));
9632}
9633
9634static INLINE void SET_FogCoordfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009635 SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn);
9636}
9637
José Fonseca075d2bf2011-05-19 17:44:06 +01009638typedef void (GLAPIENTRYP _glptr_PixelTexGenSGIX)(GLenum);
9639#define CALL_PixelTexGenSGIX(disp, parameters) \
9640 (* GET_PixelTexGenSGIX(disp)) parameters
9641static INLINE _glptr_PixelTexGenSGIX GET_PixelTexGenSGIX(struct _glapi_table *disp) {
9642 return (_glptr_PixelTexGenSGIX) (GET_by_offset(disp, _gloffset_PixelTexGenSGIX));
9643}
9644
9645static INLINE void SET_PixelTexGenSGIX(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009646 SET_by_offset(disp, _gloffset_PixelTexGenSGIX, fn);
9647}
9648
José Fonseca075d2bf2011-05-19 17:44:06 +01009649typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateEXT)(GLenum, GLenum, GLenum, GLenum);
9650#define CALL_BlendFuncSeparateEXT(disp, parameters) \
9651 (* GET_BlendFuncSeparateEXT(disp)) parameters
9652static INLINE _glptr_BlendFuncSeparateEXT GET_BlendFuncSeparateEXT(struct _glapi_table *disp) {
9653 return (_glptr_BlendFuncSeparateEXT) (GET_by_offset(disp, _gloffset_BlendFuncSeparateEXT));
9654}
9655
9656static INLINE void SET_BlendFuncSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009657 SET_by_offset(disp, _gloffset_BlendFuncSeparateEXT, fn);
9658}
9659
José Fonseca075d2bf2011-05-19 17:44:06 +01009660typedef void (GLAPIENTRYP _glptr_FlushVertexArrayRangeNV)(void);
9661#define CALL_FlushVertexArrayRangeNV(disp, parameters) \
9662 (* GET_FlushVertexArrayRangeNV(disp)) parameters
9663static INLINE _glptr_FlushVertexArrayRangeNV GET_FlushVertexArrayRangeNV(struct _glapi_table *disp) {
9664 return (_glptr_FlushVertexArrayRangeNV) (GET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV));
9665}
9666
9667static INLINE void SET_FlushVertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009668 SET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV, fn);
9669}
9670
José Fonseca075d2bf2011-05-19 17:44:06 +01009671typedef void (GLAPIENTRYP _glptr_VertexArrayRangeNV)(GLsizei, const GLvoid *);
9672#define CALL_VertexArrayRangeNV(disp, parameters) \
9673 (* GET_VertexArrayRangeNV(disp)) parameters
9674static INLINE _glptr_VertexArrayRangeNV GET_VertexArrayRangeNV(struct _glapi_table *disp) {
9675 return (_glptr_VertexArrayRangeNV) (GET_by_offset(disp, _gloffset_VertexArrayRangeNV));
9676}
9677
9678static INLINE void SET_VertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009679 SET_by_offset(disp, _gloffset_VertexArrayRangeNV, fn);
9680}
9681
José Fonseca075d2bf2011-05-19 17:44:06 +01009682typedef void (GLAPIENTRYP _glptr_CombinerInputNV)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
9683#define CALL_CombinerInputNV(disp, parameters) \
9684 (* GET_CombinerInputNV(disp)) parameters
9685static INLINE _glptr_CombinerInputNV GET_CombinerInputNV(struct _glapi_table *disp) {
9686 return (_glptr_CombinerInputNV) (GET_by_offset(disp, _gloffset_CombinerInputNV));
9687}
9688
9689static INLINE void SET_CombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009690 SET_by_offset(disp, _gloffset_CombinerInputNV, fn);
9691}
9692
José Fonseca075d2bf2011-05-19 17:44:06 +01009693typedef 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
9696static INLINE _glptr_CombinerOutputNV GET_CombinerOutputNV(struct _glapi_table *disp) {
9697 return (_glptr_CombinerOutputNV) (GET_by_offset(disp, _gloffset_CombinerOutputNV));
9698}
9699
9700static INLINE void SET_CombinerOutputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009701 SET_by_offset(disp, _gloffset_CombinerOutputNV, fn);
9702}
9703
José Fonseca075d2bf2011-05-19 17:44:06 +01009704typedef void (GLAPIENTRYP _glptr_CombinerParameterfNV)(GLenum, GLfloat);
9705#define CALL_CombinerParameterfNV(disp, parameters) \
9706 (* GET_CombinerParameterfNV(disp)) parameters
9707static INLINE _glptr_CombinerParameterfNV GET_CombinerParameterfNV(struct _glapi_table *disp) {
9708 return (_glptr_CombinerParameterfNV) (GET_by_offset(disp, _gloffset_CombinerParameterfNV));
9709}
9710
9711static INLINE void SET_CombinerParameterfNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009712 SET_by_offset(disp, _gloffset_CombinerParameterfNV, fn);
9713}
9714
José Fonseca075d2bf2011-05-19 17:44:06 +01009715typedef void (GLAPIENTRYP _glptr_CombinerParameterfvNV)(GLenum, const GLfloat *);
9716#define CALL_CombinerParameterfvNV(disp, parameters) \
9717 (* GET_CombinerParameterfvNV(disp)) parameters
9718static INLINE _glptr_CombinerParameterfvNV GET_CombinerParameterfvNV(struct _glapi_table *disp) {
9719 return (_glptr_CombinerParameterfvNV) (GET_by_offset(disp, _gloffset_CombinerParameterfvNV));
9720}
9721
9722static INLINE void SET_CombinerParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009723 SET_by_offset(disp, _gloffset_CombinerParameterfvNV, fn);
9724}
9725
José Fonseca075d2bf2011-05-19 17:44:06 +01009726typedef void (GLAPIENTRYP _glptr_CombinerParameteriNV)(GLenum, GLint);
9727#define CALL_CombinerParameteriNV(disp, parameters) \
9728 (* GET_CombinerParameteriNV(disp)) parameters
9729static INLINE _glptr_CombinerParameteriNV GET_CombinerParameteriNV(struct _glapi_table *disp) {
9730 return (_glptr_CombinerParameteriNV) (GET_by_offset(disp, _gloffset_CombinerParameteriNV));
9731}
9732
9733static INLINE void SET_CombinerParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009734 SET_by_offset(disp, _gloffset_CombinerParameteriNV, fn);
9735}
9736
José Fonseca075d2bf2011-05-19 17:44:06 +01009737typedef void (GLAPIENTRYP _glptr_CombinerParameterivNV)(GLenum, const GLint *);
9738#define CALL_CombinerParameterivNV(disp, parameters) \
9739 (* GET_CombinerParameterivNV(disp)) parameters
9740static INLINE _glptr_CombinerParameterivNV GET_CombinerParameterivNV(struct _glapi_table *disp) {
9741 return (_glptr_CombinerParameterivNV) (GET_by_offset(disp, _gloffset_CombinerParameterivNV));
9742}
9743
9744static INLINE void SET_CombinerParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009745 SET_by_offset(disp, _gloffset_CombinerParameterivNV, fn);
9746}
9747
José Fonseca075d2bf2011-05-19 17:44:06 +01009748typedef void (GLAPIENTRYP _glptr_FinalCombinerInputNV)(GLenum, GLenum, GLenum, GLenum);
9749#define CALL_FinalCombinerInputNV(disp, parameters) \
9750 (* GET_FinalCombinerInputNV(disp)) parameters
9751static INLINE _glptr_FinalCombinerInputNV GET_FinalCombinerInputNV(struct _glapi_table *disp) {
9752 return (_glptr_FinalCombinerInputNV) (GET_by_offset(disp, _gloffset_FinalCombinerInputNV));
9753}
9754
9755static INLINE void SET_FinalCombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009756 SET_by_offset(disp, _gloffset_FinalCombinerInputNV, fn);
9757}
9758
José Fonseca075d2bf2011-05-19 17:44:06 +01009759typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterfvNV)(GLenum, GLenum, GLenum, GLenum, GLfloat *);
9760#define CALL_GetCombinerInputParameterfvNV(disp, parameters) \
9761 (* GET_GetCombinerInputParameterfvNV(disp)) parameters
9762static INLINE _glptr_GetCombinerInputParameterfvNV GET_GetCombinerInputParameterfvNV(struct _glapi_table *disp) {
9763 return (_glptr_GetCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV));
9764}
9765
9766static INLINE void SET_GetCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009767 SET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV, fn);
9768}
9769
José Fonseca075d2bf2011-05-19 17:44:06 +01009770typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterivNV)(GLenum, GLenum, GLenum, GLenum, GLint *);
9771#define CALL_GetCombinerInputParameterivNV(disp, parameters) \
9772 (* GET_GetCombinerInputParameterivNV(disp)) parameters
9773static INLINE _glptr_GetCombinerInputParameterivNV GET_GetCombinerInputParameterivNV(struct _glapi_table *disp) {
9774 return (_glptr_GetCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV));
9775}
9776
9777static INLINE void SET_GetCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009778 SET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV, fn);
9779}
9780
José Fonseca075d2bf2011-05-19 17:44:06 +01009781typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterfvNV)(GLenum, GLenum, GLenum, GLfloat *);
9782#define CALL_GetCombinerOutputParameterfvNV(disp, parameters) \
9783 (* GET_GetCombinerOutputParameterfvNV(disp)) parameters
9784static INLINE _glptr_GetCombinerOutputParameterfvNV GET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp) {
9785 return (_glptr_GetCombinerOutputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV));
9786}
9787
9788static INLINE void SET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009789 SET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV, fn);
9790}
9791
José Fonseca075d2bf2011-05-19 17:44:06 +01009792typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterivNV)(GLenum, GLenum, GLenum, GLint *);
9793#define CALL_GetCombinerOutputParameterivNV(disp, parameters) \
9794 (* GET_GetCombinerOutputParameterivNV(disp)) parameters
9795static INLINE _glptr_GetCombinerOutputParameterivNV GET_GetCombinerOutputParameterivNV(struct _glapi_table *disp) {
9796 return (_glptr_GetCombinerOutputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV));
9797}
9798
9799static INLINE void SET_GetCombinerOutputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009800 SET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV, fn);
9801}
9802
José Fonseca075d2bf2011-05-19 17:44:06 +01009803typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterfvNV)(GLenum, GLenum, GLfloat *);
9804#define CALL_GetFinalCombinerInputParameterfvNV(disp, parameters) \
9805 (* GET_GetFinalCombinerInputParameterfvNV(disp)) parameters
9806static INLINE _glptr_GetFinalCombinerInputParameterfvNV GET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp) {
9807 return (_glptr_GetFinalCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV));
9808}
9809
9810static INLINE void SET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009811 SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV, fn);
9812}
9813
José Fonseca075d2bf2011-05-19 17:44:06 +01009814typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterivNV)(GLenum, GLenum, GLint *);
9815#define CALL_GetFinalCombinerInputParameterivNV(disp, parameters) \
9816 (* GET_GetFinalCombinerInputParameterivNV(disp)) parameters
9817static INLINE _glptr_GetFinalCombinerInputParameterivNV GET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp) {
9818 return (_glptr_GetFinalCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV));
9819}
9820
9821static INLINE void SET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009822 SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV, fn);
9823}
9824
José Fonseca075d2bf2011-05-19 17:44:06 +01009825typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA)(void);
9826#define CALL_ResizeBuffersMESA(disp, parameters) \
9827 (* GET_ResizeBuffersMESA(disp)) parameters
9828static INLINE _glptr_ResizeBuffersMESA GET_ResizeBuffersMESA(struct _glapi_table *disp) {
9829 return (_glptr_ResizeBuffersMESA) (GET_by_offset(disp, _gloffset_ResizeBuffersMESA));
9830}
9831
9832static INLINE void SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009833 SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn);
9834}
9835
José Fonseca075d2bf2011-05-19 17:44:06 +01009836typedef void (GLAPIENTRYP _glptr_WindowPos2dMESA)(GLdouble, GLdouble);
9837#define CALL_WindowPos2dMESA(disp, parameters) \
9838 (* GET_WindowPos2dMESA(disp)) parameters
9839static INLINE _glptr_WindowPos2dMESA GET_WindowPos2dMESA(struct _glapi_table *disp) {
9840 return (_glptr_WindowPos2dMESA) (GET_by_offset(disp, _gloffset_WindowPos2dMESA));
9841}
9842
9843static INLINE void SET_WindowPos2dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009844 SET_by_offset(disp, _gloffset_WindowPos2dMESA, fn);
9845}
9846
José Fonseca075d2bf2011-05-19 17:44:06 +01009847typedef void (GLAPIENTRYP _glptr_WindowPos2dvMESA)(const GLdouble *);
9848#define CALL_WindowPos2dvMESA(disp, parameters) \
9849 (* GET_WindowPos2dvMESA(disp)) parameters
9850static INLINE _glptr_WindowPos2dvMESA GET_WindowPos2dvMESA(struct _glapi_table *disp) {
9851 return (_glptr_WindowPos2dvMESA) (GET_by_offset(disp, _gloffset_WindowPos2dvMESA));
9852}
9853
9854static INLINE void SET_WindowPos2dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009855 SET_by_offset(disp, _gloffset_WindowPos2dvMESA, fn);
9856}
9857
José Fonseca075d2bf2011-05-19 17:44:06 +01009858typedef void (GLAPIENTRYP _glptr_WindowPos2fMESA)(GLfloat, GLfloat);
9859#define CALL_WindowPos2fMESA(disp, parameters) \
9860 (* GET_WindowPos2fMESA(disp)) parameters
9861static INLINE _glptr_WindowPos2fMESA GET_WindowPos2fMESA(struct _glapi_table *disp) {
9862 return (_glptr_WindowPos2fMESA) (GET_by_offset(disp, _gloffset_WindowPos2fMESA));
9863}
9864
9865static INLINE void SET_WindowPos2fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009866 SET_by_offset(disp, _gloffset_WindowPos2fMESA, fn);
9867}
9868
José Fonseca075d2bf2011-05-19 17:44:06 +01009869typedef void (GLAPIENTRYP _glptr_WindowPos2fvMESA)(const GLfloat *);
9870#define CALL_WindowPos2fvMESA(disp, parameters) \
9871 (* GET_WindowPos2fvMESA(disp)) parameters
9872static INLINE _glptr_WindowPos2fvMESA GET_WindowPos2fvMESA(struct _glapi_table *disp) {
9873 return (_glptr_WindowPos2fvMESA) (GET_by_offset(disp, _gloffset_WindowPos2fvMESA));
9874}
9875
9876static INLINE void SET_WindowPos2fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009877 SET_by_offset(disp, _gloffset_WindowPos2fvMESA, fn);
9878}
9879
José Fonseca075d2bf2011-05-19 17:44:06 +01009880typedef void (GLAPIENTRYP _glptr_WindowPos2iMESA)(GLint, GLint);
9881#define CALL_WindowPos2iMESA(disp, parameters) \
9882 (* GET_WindowPos2iMESA(disp)) parameters
9883static INLINE _glptr_WindowPos2iMESA GET_WindowPos2iMESA(struct _glapi_table *disp) {
9884 return (_glptr_WindowPos2iMESA) (GET_by_offset(disp, _gloffset_WindowPos2iMESA));
9885}
9886
9887static INLINE void SET_WindowPos2iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009888 SET_by_offset(disp, _gloffset_WindowPos2iMESA, fn);
9889}
9890
José Fonseca075d2bf2011-05-19 17:44:06 +01009891typedef void (GLAPIENTRYP _glptr_WindowPos2ivMESA)(const GLint *);
9892#define CALL_WindowPos2ivMESA(disp, parameters) \
9893 (* GET_WindowPos2ivMESA(disp)) parameters
9894static INLINE _glptr_WindowPos2ivMESA GET_WindowPos2ivMESA(struct _glapi_table *disp) {
9895 return (_glptr_WindowPos2ivMESA) (GET_by_offset(disp, _gloffset_WindowPos2ivMESA));
9896}
9897
9898static INLINE void SET_WindowPos2ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009899 SET_by_offset(disp, _gloffset_WindowPos2ivMESA, fn);
9900}
9901
José Fonseca075d2bf2011-05-19 17:44:06 +01009902typedef void (GLAPIENTRYP _glptr_WindowPos2sMESA)(GLshort, GLshort);
9903#define CALL_WindowPos2sMESA(disp, parameters) \
9904 (* GET_WindowPos2sMESA(disp)) parameters
9905static INLINE _glptr_WindowPos2sMESA GET_WindowPos2sMESA(struct _glapi_table *disp) {
9906 return (_glptr_WindowPos2sMESA) (GET_by_offset(disp, _gloffset_WindowPos2sMESA));
9907}
9908
9909static INLINE void SET_WindowPos2sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009910 SET_by_offset(disp, _gloffset_WindowPos2sMESA, fn);
9911}
9912
José Fonseca075d2bf2011-05-19 17:44:06 +01009913typedef void (GLAPIENTRYP _glptr_WindowPos2svMESA)(const GLshort *);
9914#define CALL_WindowPos2svMESA(disp, parameters) \
9915 (* GET_WindowPos2svMESA(disp)) parameters
9916static INLINE _glptr_WindowPos2svMESA GET_WindowPos2svMESA(struct _glapi_table *disp) {
9917 return (_glptr_WindowPos2svMESA) (GET_by_offset(disp, _gloffset_WindowPos2svMESA));
9918}
9919
9920static INLINE void SET_WindowPos2svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009921 SET_by_offset(disp, _gloffset_WindowPos2svMESA, fn);
9922}
9923
José Fonseca075d2bf2011-05-19 17:44:06 +01009924typedef void (GLAPIENTRYP _glptr_WindowPos3dMESA)(GLdouble, GLdouble, GLdouble);
9925#define CALL_WindowPos3dMESA(disp, parameters) \
9926 (* GET_WindowPos3dMESA(disp)) parameters
9927static INLINE _glptr_WindowPos3dMESA GET_WindowPos3dMESA(struct _glapi_table *disp) {
9928 return (_glptr_WindowPos3dMESA) (GET_by_offset(disp, _gloffset_WindowPos3dMESA));
9929}
9930
9931static INLINE void SET_WindowPos3dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009932 SET_by_offset(disp, _gloffset_WindowPos3dMESA, fn);
9933}
9934
José Fonseca075d2bf2011-05-19 17:44:06 +01009935typedef void (GLAPIENTRYP _glptr_WindowPos3dvMESA)(const GLdouble *);
9936#define CALL_WindowPos3dvMESA(disp, parameters) \
9937 (* GET_WindowPos3dvMESA(disp)) parameters
9938static INLINE _glptr_WindowPos3dvMESA GET_WindowPos3dvMESA(struct _glapi_table *disp) {
9939 return (_glptr_WindowPos3dvMESA) (GET_by_offset(disp, _gloffset_WindowPos3dvMESA));
9940}
9941
9942static INLINE void SET_WindowPos3dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009943 SET_by_offset(disp, _gloffset_WindowPos3dvMESA, fn);
9944}
9945
José Fonseca075d2bf2011-05-19 17:44:06 +01009946typedef void (GLAPIENTRYP _glptr_WindowPos3fMESA)(GLfloat, GLfloat, GLfloat);
9947#define CALL_WindowPos3fMESA(disp, parameters) \
9948 (* GET_WindowPos3fMESA(disp)) parameters
9949static INLINE _glptr_WindowPos3fMESA GET_WindowPos3fMESA(struct _glapi_table *disp) {
9950 return (_glptr_WindowPos3fMESA) (GET_by_offset(disp, _gloffset_WindowPos3fMESA));
9951}
9952
9953static INLINE void SET_WindowPos3fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009954 SET_by_offset(disp, _gloffset_WindowPos3fMESA, fn);
9955}
9956
José Fonseca075d2bf2011-05-19 17:44:06 +01009957typedef void (GLAPIENTRYP _glptr_WindowPos3fvMESA)(const GLfloat *);
9958#define CALL_WindowPos3fvMESA(disp, parameters) \
9959 (* GET_WindowPos3fvMESA(disp)) parameters
9960static INLINE _glptr_WindowPos3fvMESA GET_WindowPos3fvMESA(struct _glapi_table *disp) {
9961 return (_glptr_WindowPos3fvMESA) (GET_by_offset(disp, _gloffset_WindowPos3fvMESA));
9962}
9963
9964static INLINE void SET_WindowPos3fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009965 SET_by_offset(disp, _gloffset_WindowPos3fvMESA, fn);
9966}
9967
José Fonseca075d2bf2011-05-19 17:44:06 +01009968typedef void (GLAPIENTRYP _glptr_WindowPos3iMESA)(GLint, GLint, GLint);
9969#define CALL_WindowPos3iMESA(disp, parameters) \
9970 (* GET_WindowPos3iMESA(disp)) parameters
9971static INLINE _glptr_WindowPos3iMESA GET_WindowPos3iMESA(struct _glapi_table *disp) {
9972 return (_glptr_WindowPos3iMESA) (GET_by_offset(disp, _gloffset_WindowPos3iMESA));
9973}
9974
9975static INLINE void SET_WindowPos3iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009976 SET_by_offset(disp, _gloffset_WindowPos3iMESA, fn);
9977}
9978
José Fonseca075d2bf2011-05-19 17:44:06 +01009979typedef void (GLAPIENTRYP _glptr_WindowPos3ivMESA)(const GLint *);
9980#define CALL_WindowPos3ivMESA(disp, parameters) \
9981 (* GET_WindowPos3ivMESA(disp)) parameters
9982static INLINE _glptr_WindowPos3ivMESA GET_WindowPos3ivMESA(struct _glapi_table *disp) {
9983 return (_glptr_WindowPos3ivMESA) (GET_by_offset(disp, _gloffset_WindowPos3ivMESA));
9984}
9985
9986static INLINE void SET_WindowPos3ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009987 SET_by_offset(disp, _gloffset_WindowPos3ivMESA, fn);
9988}
9989
José Fonseca075d2bf2011-05-19 17:44:06 +01009990typedef void (GLAPIENTRYP _glptr_WindowPos3sMESA)(GLshort, GLshort, GLshort);
9991#define CALL_WindowPos3sMESA(disp, parameters) \
9992 (* GET_WindowPos3sMESA(disp)) parameters
9993static INLINE _glptr_WindowPos3sMESA GET_WindowPos3sMESA(struct _glapi_table *disp) {
9994 return (_glptr_WindowPos3sMESA) (GET_by_offset(disp, _gloffset_WindowPos3sMESA));
9995}
9996
9997static INLINE void SET_WindowPos3sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +01009998 SET_by_offset(disp, _gloffset_WindowPos3sMESA, fn);
9999}
10000
José Fonseca075d2bf2011-05-19 17:44:06 +010010001typedef void (GLAPIENTRYP _glptr_WindowPos3svMESA)(const GLshort *);
10002#define CALL_WindowPos3svMESA(disp, parameters) \
10003 (* GET_WindowPos3svMESA(disp)) parameters
10004static INLINE _glptr_WindowPos3svMESA GET_WindowPos3svMESA(struct _glapi_table *disp) {
10005 return (_glptr_WindowPos3svMESA) (GET_by_offset(disp, _gloffset_WindowPos3svMESA));
10006}
10007
10008static INLINE void SET_WindowPos3svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010009 SET_by_offset(disp, _gloffset_WindowPos3svMESA, fn);
10010}
10011
José Fonseca075d2bf2011-05-19 17:44:06 +010010012typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA)(GLdouble, GLdouble, GLdouble, GLdouble);
10013#define CALL_WindowPos4dMESA(disp, parameters) \
10014 (* GET_WindowPos4dMESA(disp)) parameters
10015static INLINE _glptr_WindowPos4dMESA GET_WindowPos4dMESA(struct _glapi_table *disp) {
10016 return (_glptr_WindowPos4dMESA) (GET_by_offset(disp, _gloffset_WindowPos4dMESA));
10017}
10018
10019static INLINE void SET_WindowPos4dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010020 SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn);
10021}
10022
José Fonseca075d2bf2011-05-19 17:44:06 +010010023typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA)(const GLdouble *);
10024#define CALL_WindowPos4dvMESA(disp, parameters) \
10025 (* GET_WindowPos4dvMESA(disp)) parameters
10026static INLINE _glptr_WindowPos4dvMESA GET_WindowPos4dvMESA(struct _glapi_table *disp) {
10027 return (_glptr_WindowPos4dvMESA) (GET_by_offset(disp, _gloffset_WindowPos4dvMESA));
10028}
10029
10030static INLINE void SET_WindowPos4dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010031 SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn);
10032}
10033
José Fonseca075d2bf2011-05-19 17:44:06 +010010034typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA)(GLfloat, GLfloat, GLfloat, GLfloat);
10035#define CALL_WindowPos4fMESA(disp, parameters) \
10036 (* GET_WindowPos4fMESA(disp)) parameters
10037static INLINE _glptr_WindowPos4fMESA GET_WindowPos4fMESA(struct _glapi_table *disp) {
10038 return (_glptr_WindowPos4fMESA) (GET_by_offset(disp, _gloffset_WindowPos4fMESA));
10039}
10040
10041static INLINE void SET_WindowPos4fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010042 SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn);
10043}
10044
José Fonseca075d2bf2011-05-19 17:44:06 +010010045typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA)(const GLfloat *);
10046#define CALL_WindowPos4fvMESA(disp, parameters) \
10047 (* GET_WindowPos4fvMESA(disp)) parameters
10048static INLINE _glptr_WindowPos4fvMESA GET_WindowPos4fvMESA(struct _glapi_table *disp) {
10049 return (_glptr_WindowPos4fvMESA) (GET_by_offset(disp, _gloffset_WindowPos4fvMESA));
10050}
10051
10052static INLINE void SET_WindowPos4fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010053 SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn);
10054}
10055
José Fonseca075d2bf2011-05-19 17:44:06 +010010056typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA)(GLint, GLint, GLint, GLint);
10057#define CALL_WindowPos4iMESA(disp, parameters) \
10058 (* GET_WindowPos4iMESA(disp)) parameters
10059static INLINE _glptr_WindowPos4iMESA GET_WindowPos4iMESA(struct _glapi_table *disp) {
10060 return (_glptr_WindowPos4iMESA) (GET_by_offset(disp, _gloffset_WindowPos4iMESA));
10061}
10062
10063static INLINE void SET_WindowPos4iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010064 SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn);
10065}
10066
José Fonseca075d2bf2011-05-19 17:44:06 +010010067typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA)(const GLint *);
10068#define CALL_WindowPos4ivMESA(disp, parameters) \
10069 (* GET_WindowPos4ivMESA(disp)) parameters
10070static INLINE _glptr_WindowPos4ivMESA GET_WindowPos4ivMESA(struct _glapi_table *disp) {
10071 return (_glptr_WindowPos4ivMESA) (GET_by_offset(disp, _gloffset_WindowPos4ivMESA));
10072}
10073
10074static INLINE void SET_WindowPos4ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010075 SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn);
10076}
10077
José Fonseca075d2bf2011-05-19 17:44:06 +010010078typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort);
10079#define CALL_WindowPos4sMESA(disp, parameters) \
10080 (* GET_WindowPos4sMESA(disp)) parameters
10081static INLINE _glptr_WindowPos4sMESA GET_WindowPos4sMESA(struct _glapi_table *disp) {
10082 return (_glptr_WindowPos4sMESA) (GET_by_offset(disp, _gloffset_WindowPos4sMESA));
10083}
10084
10085static INLINE void SET_WindowPos4sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010086 SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn);
10087}
10088
José Fonseca075d2bf2011-05-19 17:44:06 +010010089typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA)(const GLshort *);
10090#define CALL_WindowPos4svMESA(disp, parameters) \
10091 (* GET_WindowPos4svMESA(disp)) parameters
10092static INLINE _glptr_WindowPos4svMESA GET_WindowPos4svMESA(struct _glapi_table *disp) {
10093 return (_glptr_WindowPos4svMESA) (GET_by_offset(disp, _gloffset_WindowPos4svMESA));
10094}
10095
10096static INLINE void SET_WindowPos4svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010097 SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn);
10098}
10099
José Fonseca075d2bf2011-05-19 17:44:06 +010010100typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
10101#define CALL_MultiModeDrawArraysIBM(disp, parameters) \
10102 (* GET_MultiModeDrawArraysIBM(disp)) parameters
10103static INLINE _glptr_MultiModeDrawArraysIBM GET_MultiModeDrawArraysIBM(struct _glapi_table *disp) {
10104 return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM));
10105}
10106
10107static INLINE void SET_MultiModeDrawArraysIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010108 SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn);
10109}
10110
José Fonseca075d2bf2011-05-19 17:44:06 +010010111typedef 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
10114static INLINE _glptr_MultiModeDrawElementsIBM GET_MultiModeDrawElementsIBM(struct _glapi_table *disp) {
10115 return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM));
10116}
10117
10118static INLINE void SET_MultiModeDrawElementsIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010119 SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn);
10120}
10121
José Fonseca075d2bf2011-05-19 17:44:06 +010010122typedef void (GLAPIENTRYP _glptr_DeleteFencesNV)(GLsizei, const GLuint *);
10123#define CALL_DeleteFencesNV(disp, parameters) \
10124 (* GET_DeleteFencesNV(disp)) parameters
10125static INLINE _glptr_DeleteFencesNV GET_DeleteFencesNV(struct _glapi_table *disp) {
10126 return (_glptr_DeleteFencesNV) (GET_by_offset(disp, _gloffset_DeleteFencesNV));
10127}
10128
10129static INLINE void SET_DeleteFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010130 SET_by_offset(disp, _gloffset_DeleteFencesNV, fn);
10131}
10132
José Fonseca075d2bf2011-05-19 17:44:06 +010010133typedef void (GLAPIENTRYP _glptr_FinishFenceNV)(GLuint);
10134#define CALL_FinishFenceNV(disp, parameters) \
10135 (* GET_FinishFenceNV(disp)) parameters
10136static INLINE _glptr_FinishFenceNV GET_FinishFenceNV(struct _glapi_table *disp) {
10137 return (_glptr_FinishFenceNV) (GET_by_offset(disp, _gloffset_FinishFenceNV));
10138}
10139
10140static INLINE void SET_FinishFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010141 SET_by_offset(disp, _gloffset_FinishFenceNV, fn);
10142}
10143
José Fonseca075d2bf2011-05-19 17:44:06 +010010144typedef void (GLAPIENTRYP _glptr_GenFencesNV)(GLsizei, GLuint *);
10145#define CALL_GenFencesNV(disp, parameters) \
10146 (* GET_GenFencesNV(disp)) parameters
10147static INLINE _glptr_GenFencesNV GET_GenFencesNV(struct _glapi_table *disp) {
10148 return (_glptr_GenFencesNV) (GET_by_offset(disp, _gloffset_GenFencesNV));
10149}
10150
10151static INLINE void SET_GenFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010152 SET_by_offset(disp, _gloffset_GenFencesNV, fn);
10153}
10154
José Fonseca075d2bf2011-05-19 17:44:06 +010010155typedef void (GLAPIENTRYP _glptr_GetFenceivNV)(GLuint, GLenum, GLint *);
10156#define CALL_GetFenceivNV(disp, parameters) \
10157 (* GET_GetFenceivNV(disp)) parameters
10158static INLINE _glptr_GetFenceivNV GET_GetFenceivNV(struct _glapi_table *disp) {
10159 return (_glptr_GetFenceivNV) (GET_by_offset(disp, _gloffset_GetFenceivNV));
10160}
10161
10162static INLINE void SET_GetFenceivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010163 SET_by_offset(disp, _gloffset_GetFenceivNV, fn);
10164}
10165
José Fonseca075d2bf2011-05-19 17:44:06 +010010166typedef GLboolean (GLAPIENTRYP _glptr_IsFenceNV)(GLuint);
10167#define CALL_IsFenceNV(disp, parameters) \
10168 (* GET_IsFenceNV(disp)) parameters
10169static INLINE _glptr_IsFenceNV GET_IsFenceNV(struct _glapi_table *disp) {
10170 return (_glptr_IsFenceNV) (GET_by_offset(disp, _gloffset_IsFenceNV));
10171}
10172
10173static INLINE void SET_IsFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010174 SET_by_offset(disp, _gloffset_IsFenceNV, fn);
10175}
10176
José Fonseca075d2bf2011-05-19 17:44:06 +010010177typedef void (GLAPIENTRYP _glptr_SetFenceNV)(GLuint, GLenum);
10178#define CALL_SetFenceNV(disp, parameters) \
10179 (* GET_SetFenceNV(disp)) parameters
10180static INLINE _glptr_SetFenceNV GET_SetFenceNV(struct _glapi_table *disp) {
10181 return (_glptr_SetFenceNV) (GET_by_offset(disp, _gloffset_SetFenceNV));
10182}
10183
10184static INLINE void SET_SetFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010185 SET_by_offset(disp, _gloffset_SetFenceNV, fn);
10186}
10187
José Fonseca075d2bf2011-05-19 17:44:06 +010010188typedef GLboolean (GLAPIENTRYP _glptr_TestFenceNV)(GLuint);
10189#define CALL_TestFenceNV(disp, parameters) \
10190 (* GET_TestFenceNV(disp)) parameters
10191static INLINE _glptr_TestFenceNV GET_TestFenceNV(struct _glapi_table *disp) {
10192 return (_glptr_TestFenceNV) (GET_by_offset(disp, _gloffset_TestFenceNV));
10193}
10194
10195static INLINE void SET_TestFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010196 SET_by_offset(disp, _gloffset_TestFenceNV, fn);
10197}
10198
José Fonseca075d2bf2011-05-19 17:44:06 +010010199typedef GLboolean (GLAPIENTRYP _glptr_AreProgramsResidentNV)(GLsizei, const GLuint *, GLboolean *);
10200#define CALL_AreProgramsResidentNV(disp, parameters) \
10201 (* GET_AreProgramsResidentNV(disp)) parameters
10202static INLINE _glptr_AreProgramsResidentNV GET_AreProgramsResidentNV(struct _glapi_table *disp) {
10203 return (_glptr_AreProgramsResidentNV) (GET_by_offset(disp, _gloffset_AreProgramsResidentNV));
10204}
10205
10206static INLINE void SET_AreProgramsResidentNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010207 SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn);
10208}
10209
José Fonseca075d2bf2011-05-19 17:44:06 +010010210typedef void (GLAPIENTRYP _glptr_BindProgramNV)(GLenum, GLuint);
10211#define CALL_BindProgramNV(disp, parameters) \
10212 (* GET_BindProgramNV(disp)) parameters
10213static INLINE _glptr_BindProgramNV GET_BindProgramNV(struct _glapi_table *disp) {
10214 return (_glptr_BindProgramNV) (GET_by_offset(disp, _gloffset_BindProgramNV));
10215}
10216
10217static INLINE void SET_BindProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010218 SET_by_offset(disp, _gloffset_BindProgramNV, fn);
10219}
10220
José Fonseca075d2bf2011-05-19 17:44:06 +010010221typedef void (GLAPIENTRYP _glptr_DeleteProgramsNV)(GLsizei, const GLuint *);
10222#define CALL_DeleteProgramsNV(disp, parameters) \
10223 (* GET_DeleteProgramsNV(disp)) parameters
10224static INLINE _glptr_DeleteProgramsNV GET_DeleteProgramsNV(struct _glapi_table *disp) {
10225 return (_glptr_DeleteProgramsNV) (GET_by_offset(disp, _gloffset_DeleteProgramsNV));
10226}
10227
10228static INLINE void SET_DeleteProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010229 SET_by_offset(disp, _gloffset_DeleteProgramsNV, fn);
10230}
10231
José Fonseca075d2bf2011-05-19 17:44:06 +010010232typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV)(GLenum, GLuint, const GLfloat *);
10233#define CALL_ExecuteProgramNV(disp, parameters) \
10234 (* GET_ExecuteProgramNV(disp)) parameters
10235static INLINE _glptr_ExecuteProgramNV GET_ExecuteProgramNV(struct _glapi_table *disp) {
10236 return (_glptr_ExecuteProgramNV) (GET_by_offset(disp, _gloffset_ExecuteProgramNV));
10237}
10238
10239static INLINE void SET_ExecuteProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010240 SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn);
10241}
10242
José Fonseca075d2bf2011-05-19 17:44:06 +010010243typedef void (GLAPIENTRYP _glptr_GenProgramsNV)(GLsizei, GLuint *);
10244#define CALL_GenProgramsNV(disp, parameters) \
10245 (* GET_GenProgramsNV(disp)) parameters
10246static INLINE _glptr_GenProgramsNV GET_GenProgramsNV(struct _glapi_table *disp) {
10247 return (_glptr_GenProgramsNV) (GET_by_offset(disp, _gloffset_GenProgramsNV));
10248}
10249
10250static INLINE void SET_GenProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010251 SET_by_offset(disp, _gloffset_GenProgramsNV, fn);
10252}
10253
José Fonseca075d2bf2011-05-19 17:44:06 +010010254typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV)(GLenum, GLuint, GLenum, GLdouble *);
10255#define CALL_GetProgramParameterdvNV(disp, parameters) \
10256 (* GET_GetProgramParameterdvNV(disp)) parameters
10257static INLINE _glptr_GetProgramParameterdvNV GET_GetProgramParameterdvNV(struct _glapi_table *disp) {
10258 return (_glptr_GetProgramParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterdvNV));
10259}
10260
10261static INLINE void SET_GetProgramParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010262 SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn);
10263}
10264
José Fonseca075d2bf2011-05-19 17:44:06 +010010265typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV)(GLenum, GLuint, GLenum, GLfloat *);
10266#define CALL_GetProgramParameterfvNV(disp, parameters) \
10267 (* GET_GetProgramParameterfvNV(disp)) parameters
10268static INLINE _glptr_GetProgramParameterfvNV GET_GetProgramParameterfvNV(struct _glapi_table *disp) {
10269 return (_glptr_GetProgramParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterfvNV));
10270}
10271
10272static INLINE void SET_GetProgramParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010273 SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn);
10274}
10275
José Fonseca075d2bf2011-05-19 17:44:06 +010010276typedef void (GLAPIENTRYP _glptr_GetProgramStringNV)(GLuint, GLenum, GLubyte *);
10277#define CALL_GetProgramStringNV(disp, parameters) \
10278 (* GET_GetProgramStringNV(disp)) parameters
10279static INLINE _glptr_GetProgramStringNV GET_GetProgramStringNV(struct _glapi_table *disp) {
10280 return (_glptr_GetProgramStringNV) (GET_by_offset(disp, _gloffset_GetProgramStringNV));
10281}
10282
10283static INLINE void SET_GetProgramStringNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010284 SET_by_offset(disp, _gloffset_GetProgramStringNV, fn);
10285}
10286
José Fonseca075d2bf2011-05-19 17:44:06 +010010287typedef void (GLAPIENTRYP _glptr_GetProgramivNV)(GLuint, GLenum, GLint *);
10288#define CALL_GetProgramivNV(disp, parameters) \
10289 (* GET_GetProgramivNV(disp)) parameters
10290static INLINE _glptr_GetProgramivNV GET_GetProgramivNV(struct _glapi_table *disp) {
10291 return (_glptr_GetProgramivNV) (GET_by_offset(disp, _gloffset_GetProgramivNV));
10292}
10293
10294static INLINE void SET_GetProgramivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010295 SET_by_offset(disp, _gloffset_GetProgramivNV, fn);
10296}
10297
José Fonseca075d2bf2011-05-19 17:44:06 +010010298typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV)(GLenum, GLuint, GLenum, GLint *);
10299#define CALL_GetTrackMatrixivNV(disp, parameters) \
10300 (* GET_GetTrackMatrixivNV(disp)) parameters
10301static INLINE _glptr_GetTrackMatrixivNV GET_GetTrackMatrixivNV(struct _glapi_table *disp) {
10302 return (_glptr_GetTrackMatrixivNV) (GET_by_offset(disp, _gloffset_GetTrackMatrixivNV));
10303}
10304
10305static INLINE void SET_GetTrackMatrixivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010306 SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn);
10307}
10308
José Fonseca075d2bf2011-05-19 17:44:06 +010010309typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointervNV)(GLuint, GLenum, GLvoid **);
10310#define CALL_GetVertexAttribPointervNV(disp, parameters) \
10311 (* GET_GetVertexAttribPointervNV(disp)) parameters
10312static INLINE _glptr_GetVertexAttribPointervNV GET_GetVertexAttribPointervNV(struct _glapi_table *disp) {
10313 return (_glptr_GetVertexAttribPointervNV) (GET_by_offset(disp, _gloffset_GetVertexAttribPointervNV));
10314}
10315
10316static INLINE void SET_GetVertexAttribPointervNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLvoid **)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010317 SET_by_offset(disp, _gloffset_GetVertexAttribPointervNV, fn);
10318}
10319
José Fonseca075d2bf2011-05-19 17:44:06 +010010320typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV)(GLuint, GLenum, GLdouble *);
10321#define CALL_GetVertexAttribdvNV(disp, parameters) \
10322 (* GET_GetVertexAttribdvNV(disp)) parameters
10323static INLINE _glptr_GetVertexAttribdvNV GET_GetVertexAttribdvNV(struct _glapi_table *disp) {
10324 return (_glptr_GetVertexAttribdvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribdvNV));
10325}
10326
10327static INLINE void SET_GetVertexAttribdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010328 SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn);
10329}
10330
José Fonseca075d2bf2011-05-19 17:44:06 +010010331typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV)(GLuint, GLenum, GLfloat *);
10332#define CALL_GetVertexAttribfvNV(disp, parameters) \
10333 (* GET_GetVertexAttribfvNV(disp)) parameters
10334static INLINE _glptr_GetVertexAttribfvNV GET_GetVertexAttribfvNV(struct _glapi_table *disp) {
10335 return (_glptr_GetVertexAttribfvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribfvNV));
10336}
10337
10338static INLINE void SET_GetVertexAttribfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010339 SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn);
10340}
10341
José Fonseca075d2bf2011-05-19 17:44:06 +010010342typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV)(GLuint, GLenum, GLint *);
10343#define CALL_GetVertexAttribivNV(disp, parameters) \
10344 (* GET_GetVertexAttribivNV(disp)) parameters
10345static INLINE _glptr_GetVertexAttribivNV GET_GetVertexAttribivNV(struct _glapi_table *disp) {
10346 return (_glptr_GetVertexAttribivNV) (GET_by_offset(disp, _gloffset_GetVertexAttribivNV));
10347}
10348
10349static INLINE void SET_GetVertexAttribivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010350 SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn);
10351}
10352
José Fonseca075d2bf2011-05-19 17:44:06 +010010353typedef GLboolean (GLAPIENTRYP _glptr_IsProgramNV)(GLuint);
10354#define CALL_IsProgramNV(disp, parameters) \
10355 (* GET_IsProgramNV(disp)) parameters
10356static INLINE _glptr_IsProgramNV GET_IsProgramNV(struct _glapi_table *disp) {
10357 return (_glptr_IsProgramNV) (GET_by_offset(disp, _gloffset_IsProgramNV));
10358}
10359
10360static INLINE void SET_IsProgramNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010361 SET_by_offset(disp, _gloffset_IsProgramNV, fn);
10362}
10363
José Fonseca075d2bf2011-05-19 17:44:06 +010010364typedef void (GLAPIENTRYP _glptr_LoadProgramNV)(GLenum, GLuint, GLsizei, const GLubyte *);
10365#define CALL_LoadProgramNV(disp, parameters) \
10366 (* GET_LoadProgramNV(disp)) parameters
10367static INLINE _glptr_LoadProgramNV GET_LoadProgramNV(struct _glapi_table *disp) {
10368 return (_glptr_LoadProgramNV) (GET_by_offset(disp, _gloffset_LoadProgramNV));
10369}
10370
10371static INLINE void SET_LoadProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010372 SET_by_offset(disp, _gloffset_LoadProgramNV, fn);
10373}
10374
José Fonseca075d2bf2011-05-19 17:44:06 +010010375typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV)(GLenum, GLuint, GLsizei, const GLdouble *);
10376#define CALL_ProgramParameters4dvNV(disp, parameters) \
10377 (* GET_ProgramParameters4dvNV(disp)) parameters
10378static INLINE _glptr_ProgramParameters4dvNV GET_ProgramParameters4dvNV(struct _glapi_table *disp) {
10379 return (_glptr_ProgramParameters4dvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4dvNV));
10380}
10381
10382static INLINE void SET_ProgramParameters4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010383 SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn);
10384}
10385
José Fonseca075d2bf2011-05-19 17:44:06 +010010386typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV)(GLenum, GLuint, GLsizei, const GLfloat *);
10387#define CALL_ProgramParameters4fvNV(disp, parameters) \
10388 (* GET_ProgramParameters4fvNV(disp)) parameters
10389static INLINE _glptr_ProgramParameters4fvNV GET_ProgramParameters4fvNV(struct _glapi_table *disp) {
10390 return (_glptr_ProgramParameters4fvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4fvNV));
10391}
10392
10393static INLINE void SET_ProgramParameters4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010394 SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn);
10395}
10396
José Fonseca075d2bf2011-05-19 17:44:06 +010010397typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV)(GLsizei, const GLuint *);
10398#define CALL_RequestResidentProgramsNV(disp, parameters) \
10399 (* GET_RequestResidentProgramsNV(disp)) parameters
10400static INLINE _glptr_RequestResidentProgramsNV GET_RequestResidentProgramsNV(struct _glapi_table *disp) {
10401 return (_glptr_RequestResidentProgramsNV) (GET_by_offset(disp, _gloffset_RequestResidentProgramsNV));
10402}
10403
10404static INLINE void SET_RequestResidentProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010405 SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn);
10406}
10407
José Fonseca075d2bf2011-05-19 17:44:06 +010010408typedef void (GLAPIENTRYP _glptr_TrackMatrixNV)(GLenum, GLuint, GLenum, GLenum);
10409#define CALL_TrackMatrixNV(disp, parameters) \
10410 (* GET_TrackMatrixNV(disp)) parameters
10411static INLINE _glptr_TrackMatrixNV GET_TrackMatrixNV(struct _glapi_table *disp) {
10412 return (_glptr_TrackMatrixNV) (GET_by_offset(disp, _gloffset_TrackMatrixNV));
10413}
10414
10415static INLINE void SET_TrackMatrixNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010416 SET_by_offset(disp, _gloffset_TrackMatrixNV, fn);
10417}
10418
José Fonseca075d2bf2011-05-19 17:44:06 +010010419typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV)(GLuint, GLdouble);
10420#define CALL_VertexAttrib1dNV(disp, parameters) \
10421 (* GET_VertexAttrib1dNV(disp)) parameters
10422static INLINE _glptr_VertexAttrib1dNV GET_VertexAttrib1dNV(struct _glapi_table *disp) {
10423 return (_glptr_VertexAttrib1dNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dNV));
10424}
10425
10426static INLINE void SET_VertexAttrib1dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010427 SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn);
10428}
10429
José Fonseca075d2bf2011-05-19 17:44:06 +010010430typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *);
10431#define CALL_VertexAttrib1dvNV(disp, parameters) \
10432 (* GET_VertexAttrib1dvNV(disp)) parameters
10433static INLINE _glptr_VertexAttrib1dvNV GET_VertexAttrib1dvNV(struct _glapi_table *disp) {
10434 return (_glptr_VertexAttrib1dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dvNV));
10435}
10436
10437static INLINE void SET_VertexAttrib1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010438 SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn);
10439}
10440
José Fonseca075d2bf2011-05-19 17:44:06 +010010441typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat);
10442#define CALL_VertexAttrib1fNV(disp, parameters) \
10443 (* GET_VertexAttrib1fNV(disp)) parameters
10444static INLINE _glptr_VertexAttrib1fNV GET_VertexAttrib1fNV(struct _glapi_table *disp) {
10445 return (_glptr_VertexAttrib1fNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fNV));
10446}
10447
10448static INLINE void SET_VertexAttrib1fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010449 SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn);
10450}
10451
José Fonseca075d2bf2011-05-19 17:44:06 +010010452typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *);
10453#define CALL_VertexAttrib1fvNV(disp, parameters) \
10454 (* GET_VertexAttrib1fvNV(disp)) parameters
10455static INLINE _glptr_VertexAttrib1fvNV GET_VertexAttrib1fvNV(struct _glapi_table *disp) {
10456 return (_glptr_VertexAttrib1fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fvNV));
10457}
10458
10459static INLINE void SET_VertexAttrib1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010460 SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn);
10461}
10462
José Fonseca075d2bf2011-05-19 17:44:06 +010010463typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV)(GLuint, GLshort);
10464#define CALL_VertexAttrib1sNV(disp, parameters) \
10465 (* GET_VertexAttrib1sNV(disp)) parameters
10466static INLINE _glptr_VertexAttrib1sNV GET_VertexAttrib1sNV(struct _glapi_table *disp) {
10467 return (_glptr_VertexAttrib1sNV) (GET_by_offset(disp, _gloffset_VertexAttrib1sNV));
10468}
10469
10470static INLINE void SET_VertexAttrib1sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010471 SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn);
10472}
10473
José Fonseca075d2bf2011-05-19 17:44:06 +010010474typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV)(GLuint, const GLshort *);
10475#define CALL_VertexAttrib1svNV(disp, parameters) \
10476 (* GET_VertexAttrib1svNV(disp)) parameters
10477static INLINE _glptr_VertexAttrib1svNV GET_VertexAttrib1svNV(struct _glapi_table *disp) {
10478 return (_glptr_VertexAttrib1svNV) (GET_by_offset(disp, _gloffset_VertexAttrib1svNV));
10479}
10480
10481static INLINE void SET_VertexAttrib1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010482 SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn);
10483}
10484
José Fonseca075d2bf2011-05-19 17:44:06 +010010485typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV)(GLuint, GLdouble, GLdouble);
10486#define CALL_VertexAttrib2dNV(disp, parameters) \
10487 (* GET_VertexAttrib2dNV(disp)) parameters
10488static INLINE _glptr_VertexAttrib2dNV GET_VertexAttrib2dNV(struct _glapi_table *disp) {
10489 return (_glptr_VertexAttrib2dNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dNV));
10490}
10491
10492static INLINE void SET_VertexAttrib2dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010493 SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn);
10494}
10495
José Fonseca075d2bf2011-05-19 17:44:06 +010010496typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *);
10497#define CALL_VertexAttrib2dvNV(disp, parameters) \
10498 (* GET_VertexAttrib2dvNV(disp)) parameters
10499static INLINE _glptr_VertexAttrib2dvNV GET_VertexAttrib2dvNV(struct _glapi_table *disp) {
10500 return (_glptr_VertexAttrib2dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dvNV));
10501}
10502
10503static INLINE void SET_VertexAttrib2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010504 SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn);
10505}
10506
José Fonseca075d2bf2011-05-19 17:44:06 +010010507typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat);
10508#define CALL_VertexAttrib2fNV(disp, parameters) \
10509 (* GET_VertexAttrib2fNV(disp)) parameters
10510static INLINE _glptr_VertexAttrib2fNV GET_VertexAttrib2fNV(struct _glapi_table *disp) {
10511 return (_glptr_VertexAttrib2fNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fNV));
10512}
10513
10514static INLINE void SET_VertexAttrib2fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010515 SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn);
10516}
10517
José Fonseca075d2bf2011-05-19 17:44:06 +010010518typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *);
10519#define CALL_VertexAttrib2fvNV(disp, parameters) \
10520 (* GET_VertexAttrib2fvNV(disp)) parameters
10521static INLINE _glptr_VertexAttrib2fvNV GET_VertexAttrib2fvNV(struct _glapi_table *disp) {
10522 return (_glptr_VertexAttrib2fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fvNV));
10523}
10524
10525static INLINE void SET_VertexAttrib2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010526 SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn);
10527}
10528
José Fonseca075d2bf2011-05-19 17:44:06 +010010529typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV)(GLuint, GLshort, GLshort);
10530#define CALL_VertexAttrib2sNV(disp, parameters) \
10531 (* GET_VertexAttrib2sNV(disp)) parameters
10532static INLINE _glptr_VertexAttrib2sNV GET_VertexAttrib2sNV(struct _glapi_table *disp) {
10533 return (_glptr_VertexAttrib2sNV) (GET_by_offset(disp, _gloffset_VertexAttrib2sNV));
10534}
10535
10536static INLINE void SET_VertexAttrib2sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010537 SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn);
10538}
10539
José Fonseca075d2bf2011-05-19 17:44:06 +010010540typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV)(GLuint, const GLshort *);
10541#define CALL_VertexAttrib2svNV(disp, parameters) \
10542 (* GET_VertexAttrib2svNV(disp)) parameters
10543static INLINE _glptr_VertexAttrib2svNV GET_VertexAttrib2svNV(struct _glapi_table *disp) {
10544 return (_glptr_VertexAttrib2svNV) (GET_by_offset(disp, _gloffset_VertexAttrib2svNV));
10545}
10546
10547static INLINE void SET_VertexAttrib2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010548 SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn);
10549}
10550
José Fonseca075d2bf2011-05-19 17:44:06 +010010551typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV)(GLuint, GLdouble, GLdouble, GLdouble);
10552#define CALL_VertexAttrib3dNV(disp, parameters) \
10553 (* GET_VertexAttrib3dNV(disp)) parameters
10554static INLINE _glptr_VertexAttrib3dNV GET_VertexAttrib3dNV(struct _glapi_table *disp) {
10555 return (_glptr_VertexAttrib3dNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dNV));
10556}
10557
10558static INLINE void SET_VertexAttrib3dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010559 SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn);
10560}
10561
José Fonseca075d2bf2011-05-19 17:44:06 +010010562typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *);
10563#define CALL_VertexAttrib3dvNV(disp, parameters) \
10564 (* GET_VertexAttrib3dvNV(disp)) parameters
10565static INLINE _glptr_VertexAttrib3dvNV GET_VertexAttrib3dvNV(struct _glapi_table *disp) {
10566 return (_glptr_VertexAttrib3dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dvNV));
10567}
10568
10569static INLINE void SET_VertexAttrib3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010570 SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn);
10571}
10572
José Fonseca075d2bf2011-05-19 17:44:06 +010010573typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat);
10574#define CALL_VertexAttrib3fNV(disp, parameters) \
10575 (* GET_VertexAttrib3fNV(disp)) parameters
10576static INLINE _glptr_VertexAttrib3fNV GET_VertexAttrib3fNV(struct _glapi_table *disp) {
10577 return (_glptr_VertexAttrib3fNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fNV));
10578}
10579
10580static INLINE void SET_VertexAttrib3fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010581 SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn);
10582}
10583
José Fonseca075d2bf2011-05-19 17:44:06 +010010584typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *);
10585#define CALL_VertexAttrib3fvNV(disp, parameters) \
10586 (* GET_VertexAttrib3fvNV(disp)) parameters
10587static INLINE _glptr_VertexAttrib3fvNV GET_VertexAttrib3fvNV(struct _glapi_table *disp) {
10588 return (_glptr_VertexAttrib3fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fvNV));
10589}
10590
10591static INLINE void SET_VertexAttrib3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010592 SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn);
10593}
10594
José Fonseca075d2bf2011-05-19 17:44:06 +010010595typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV)(GLuint, GLshort, GLshort, GLshort);
10596#define CALL_VertexAttrib3sNV(disp, parameters) \
10597 (* GET_VertexAttrib3sNV(disp)) parameters
10598static INLINE _glptr_VertexAttrib3sNV GET_VertexAttrib3sNV(struct _glapi_table *disp) {
10599 return (_glptr_VertexAttrib3sNV) (GET_by_offset(disp, _gloffset_VertexAttrib3sNV));
10600}
10601
10602static INLINE void SET_VertexAttrib3sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010603 SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn);
10604}
10605
José Fonseca075d2bf2011-05-19 17:44:06 +010010606typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV)(GLuint, const GLshort *);
10607#define CALL_VertexAttrib3svNV(disp, parameters) \
10608 (* GET_VertexAttrib3svNV(disp)) parameters
10609static INLINE _glptr_VertexAttrib3svNV GET_VertexAttrib3svNV(struct _glapi_table *disp) {
10610 return (_glptr_VertexAttrib3svNV) (GET_by_offset(disp, _gloffset_VertexAttrib3svNV));
10611}
10612
10613static INLINE void SET_VertexAttrib3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010614 SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn);
10615}
10616
José Fonseca075d2bf2011-05-19 17:44:06 +010010617typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
10618#define CALL_VertexAttrib4dNV(disp, parameters) \
10619 (* GET_VertexAttrib4dNV(disp)) parameters
10620static INLINE _glptr_VertexAttrib4dNV GET_VertexAttrib4dNV(struct _glapi_table *disp) {
10621 return (_glptr_VertexAttrib4dNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dNV));
10622}
10623
10624static INLINE void SET_VertexAttrib4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010625 SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn);
10626}
10627
José Fonseca075d2bf2011-05-19 17:44:06 +010010628typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *);
10629#define CALL_VertexAttrib4dvNV(disp, parameters) \
10630 (* GET_VertexAttrib4dvNV(disp)) parameters
10631static INLINE _glptr_VertexAttrib4dvNV GET_VertexAttrib4dvNV(struct _glapi_table *disp) {
10632 return (_glptr_VertexAttrib4dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dvNV));
10633}
10634
10635static INLINE void SET_VertexAttrib4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010636 SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn);
10637}
10638
José Fonseca075d2bf2011-05-19 17:44:06 +010010639typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
10640#define CALL_VertexAttrib4fNV(disp, parameters) \
10641 (* GET_VertexAttrib4fNV(disp)) parameters
10642static INLINE _glptr_VertexAttrib4fNV GET_VertexAttrib4fNV(struct _glapi_table *disp) {
10643 return (_glptr_VertexAttrib4fNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fNV));
10644}
10645
10646static INLINE void SET_VertexAttrib4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010647 SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn);
10648}
10649
José Fonseca075d2bf2011-05-19 17:44:06 +010010650typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *);
10651#define CALL_VertexAttrib4fvNV(disp, parameters) \
10652 (* GET_VertexAttrib4fvNV(disp)) parameters
10653static INLINE _glptr_VertexAttrib4fvNV GET_VertexAttrib4fvNV(struct _glapi_table *disp) {
10654 return (_glptr_VertexAttrib4fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fvNV));
10655}
10656
10657static INLINE void SET_VertexAttrib4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010658 SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn);
10659}
10660
José Fonseca075d2bf2011-05-19 17:44:06 +010010661typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV)(GLuint, GLshort, GLshort, GLshort, GLshort);
10662#define CALL_VertexAttrib4sNV(disp, parameters) \
10663 (* GET_VertexAttrib4sNV(disp)) parameters
10664static INLINE _glptr_VertexAttrib4sNV GET_VertexAttrib4sNV(struct _glapi_table *disp) {
10665 return (_glptr_VertexAttrib4sNV) (GET_by_offset(disp, _gloffset_VertexAttrib4sNV));
10666}
10667
10668static INLINE void SET_VertexAttrib4sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010669 SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn);
10670}
10671
José Fonseca075d2bf2011-05-19 17:44:06 +010010672typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV)(GLuint, const GLshort *);
10673#define CALL_VertexAttrib4svNV(disp, parameters) \
10674 (* GET_VertexAttrib4svNV(disp)) parameters
10675static INLINE _glptr_VertexAttrib4svNV GET_VertexAttrib4svNV(struct _glapi_table *disp) {
10676 return (_glptr_VertexAttrib4svNV) (GET_by_offset(disp, _gloffset_VertexAttrib4svNV));
10677}
10678
10679static INLINE void SET_VertexAttrib4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010680 SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn);
10681}
10682
José Fonseca075d2bf2011-05-19 17:44:06 +010010683typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
10684#define CALL_VertexAttrib4ubNV(disp, parameters) \
10685 (* GET_VertexAttrib4ubNV(disp)) parameters
10686static INLINE _glptr_VertexAttrib4ubNV GET_VertexAttrib4ubNV(struct _glapi_table *disp) {
10687 return (_glptr_VertexAttrib4ubNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubNV));
10688}
10689
10690static INLINE void SET_VertexAttrib4ubNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010691 SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn);
10692}
10693
José Fonseca075d2bf2011-05-19 17:44:06 +010010694typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV)(GLuint, const GLubyte *);
10695#define CALL_VertexAttrib4ubvNV(disp, parameters) \
10696 (* GET_VertexAttrib4ubvNV(disp)) parameters
10697static INLINE _glptr_VertexAttrib4ubvNV GET_VertexAttrib4ubvNV(struct _glapi_table *disp) {
10698 return (_glptr_VertexAttrib4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvNV));
10699}
10700
10701static INLINE void SET_VertexAttrib4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010702 SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn);
10703}
10704
José Fonseca075d2bf2011-05-19 17:44:06 +010010705typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
10706#define CALL_VertexAttribPointerNV(disp, parameters) \
10707 (* GET_VertexAttribPointerNV(disp)) parameters
10708static INLINE _glptr_VertexAttribPointerNV GET_VertexAttribPointerNV(struct _glapi_table *disp) {
10709 return (_glptr_VertexAttribPointerNV) (GET_by_offset(disp, _gloffset_VertexAttribPointerNV));
10710}
10711
10712static INLINE void SET_VertexAttribPointerNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010713 SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn);
10714}
10715
José Fonseca075d2bf2011-05-19 17:44:06 +010010716typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV)(GLuint, GLsizei, const GLdouble *);
10717#define CALL_VertexAttribs1dvNV(disp, parameters) \
10718 (* GET_VertexAttribs1dvNV(disp)) parameters
10719static INLINE _glptr_VertexAttribs1dvNV GET_VertexAttribs1dvNV(struct _glapi_table *disp) {
10720 return (_glptr_VertexAttribs1dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1dvNV));
10721}
10722
10723static INLINE void SET_VertexAttribs1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010724 SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn);
10725}
10726
José Fonseca075d2bf2011-05-19 17:44:06 +010010727typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV)(GLuint, GLsizei, const GLfloat *);
10728#define CALL_VertexAttribs1fvNV(disp, parameters) \
10729 (* GET_VertexAttribs1fvNV(disp)) parameters
10730static INLINE _glptr_VertexAttribs1fvNV GET_VertexAttribs1fvNV(struct _glapi_table *disp) {
10731 return (_glptr_VertexAttribs1fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1fvNV));
10732}
10733
10734static INLINE void SET_VertexAttribs1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010735 SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn);
10736}
10737
José Fonseca075d2bf2011-05-19 17:44:06 +010010738typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV)(GLuint, GLsizei, const GLshort *);
10739#define CALL_VertexAttribs1svNV(disp, parameters) \
10740 (* GET_VertexAttribs1svNV(disp)) parameters
10741static INLINE _glptr_VertexAttribs1svNV GET_VertexAttribs1svNV(struct _glapi_table *disp) {
10742 return (_glptr_VertexAttribs1svNV) (GET_by_offset(disp, _gloffset_VertexAttribs1svNV));
10743}
10744
10745static INLINE void SET_VertexAttribs1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010746 SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn);
10747}
10748
José Fonseca075d2bf2011-05-19 17:44:06 +010010749typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV)(GLuint, GLsizei, const GLdouble *);
10750#define CALL_VertexAttribs2dvNV(disp, parameters) \
10751 (* GET_VertexAttribs2dvNV(disp)) parameters
10752static INLINE _glptr_VertexAttribs2dvNV GET_VertexAttribs2dvNV(struct _glapi_table *disp) {
10753 return (_glptr_VertexAttribs2dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2dvNV));
10754}
10755
10756static INLINE void SET_VertexAttribs2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010757 SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn);
10758}
10759
José Fonseca075d2bf2011-05-19 17:44:06 +010010760typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV)(GLuint, GLsizei, const GLfloat *);
10761#define CALL_VertexAttribs2fvNV(disp, parameters) \
10762 (* GET_VertexAttribs2fvNV(disp)) parameters
10763static INLINE _glptr_VertexAttribs2fvNV GET_VertexAttribs2fvNV(struct _glapi_table *disp) {
10764 return (_glptr_VertexAttribs2fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2fvNV));
10765}
10766
10767static INLINE void SET_VertexAttribs2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010768 SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn);
10769}
10770
José Fonseca075d2bf2011-05-19 17:44:06 +010010771typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV)(GLuint, GLsizei, const GLshort *);
10772#define CALL_VertexAttribs2svNV(disp, parameters) \
10773 (* GET_VertexAttribs2svNV(disp)) parameters
10774static INLINE _glptr_VertexAttribs2svNV GET_VertexAttribs2svNV(struct _glapi_table *disp) {
10775 return (_glptr_VertexAttribs2svNV) (GET_by_offset(disp, _gloffset_VertexAttribs2svNV));
10776}
10777
10778static INLINE void SET_VertexAttribs2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010779 SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn);
10780}
10781
José Fonseca075d2bf2011-05-19 17:44:06 +010010782typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV)(GLuint, GLsizei, const GLdouble *);
10783#define CALL_VertexAttribs3dvNV(disp, parameters) \
10784 (* GET_VertexAttribs3dvNV(disp)) parameters
10785static INLINE _glptr_VertexAttribs3dvNV GET_VertexAttribs3dvNV(struct _glapi_table *disp) {
10786 return (_glptr_VertexAttribs3dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3dvNV));
10787}
10788
10789static INLINE void SET_VertexAttribs3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010790 SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn);
10791}
10792
José Fonseca075d2bf2011-05-19 17:44:06 +010010793typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV)(GLuint, GLsizei, const GLfloat *);
10794#define CALL_VertexAttribs3fvNV(disp, parameters) \
10795 (* GET_VertexAttribs3fvNV(disp)) parameters
10796static INLINE _glptr_VertexAttribs3fvNV GET_VertexAttribs3fvNV(struct _glapi_table *disp) {
10797 return (_glptr_VertexAttribs3fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3fvNV));
10798}
10799
10800static INLINE void SET_VertexAttribs3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010801 SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn);
10802}
10803
José Fonseca075d2bf2011-05-19 17:44:06 +010010804typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV)(GLuint, GLsizei, const GLshort *);
10805#define CALL_VertexAttribs3svNV(disp, parameters) \
10806 (* GET_VertexAttribs3svNV(disp)) parameters
10807static INLINE _glptr_VertexAttribs3svNV GET_VertexAttribs3svNV(struct _glapi_table *disp) {
10808 return (_glptr_VertexAttribs3svNV) (GET_by_offset(disp, _gloffset_VertexAttribs3svNV));
10809}
10810
10811static INLINE void SET_VertexAttribs3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010812 SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn);
10813}
10814
José Fonseca075d2bf2011-05-19 17:44:06 +010010815typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV)(GLuint, GLsizei, const GLdouble *);
10816#define CALL_VertexAttribs4dvNV(disp, parameters) \
10817 (* GET_VertexAttribs4dvNV(disp)) parameters
10818static INLINE _glptr_VertexAttribs4dvNV GET_VertexAttribs4dvNV(struct _glapi_table *disp) {
10819 return (_glptr_VertexAttribs4dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4dvNV));
10820}
10821
10822static INLINE void SET_VertexAttribs4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010823 SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn);
10824}
10825
José Fonseca075d2bf2011-05-19 17:44:06 +010010826typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV)(GLuint, GLsizei, const GLfloat *);
10827#define CALL_VertexAttribs4fvNV(disp, parameters) \
10828 (* GET_VertexAttribs4fvNV(disp)) parameters
10829static INLINE _glptr_VertexAttribs4fvNV GET_VertexAttribs4fvNV(struct _glapi_table *disp) {
10830 return (_glptr_VertexAttribs4fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4fvNV));
10831}
10832
10833static INLINE void SET_VertexAttribs4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010834 SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn);
10835}
10836
José Fonseca075d2bf2011-05-19 17:44:06 +010010837typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV)(GLuint, GLsizei, const GLshort *);
10838#define CALL_VertexAttribs4svNV(disp, parameters) \
10839 (* GET_VertexAttribs4svNV(disp)) parameters
10840static INLINE _glptr_VertexAttribs4svNV GET_VertexAttribs4svNV(struct _glapi_table *disp) {
10841 return (_glptr_VertexAttribs4svNV) (GET_by_offset(disp, _gloffset_VertexAttribs4svNV));
10842}
10843
10844static INLINE void SET_VertexAttribs4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010845 SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn);
10846}
10847
José Fonseca075d2bf2011-05-19 17:44:06 +010010848typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *);
10849#define CALL_VertexAttribs4ubvNV(disp, parameters) \
10850 (* GET_VertexAttribs4ubvNV(disp)) parameters
10851static INLINE _glptr_VertexAttribs4ubvNV GET_VertexAttribs4ubvNV(struct _glapi_table *disp) {
10852 return (_glptr_VertexAttribs4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4ubvNV));
10853}
10854
10855static INLINE void SET_VertexAttribs4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010856 SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn);
10857}
10858
José Fonseca075d2bf2011-05-19 17:44:06 +010010859typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI)(GLenum, GLfloat *);
10860#define CALL_GetTexBumpParameterfvATI(disp, parameters) \
10861 (* GET_GetTexBumpParameterfvATI(disp)) parameters
10862static INLINE _glptr_GetTexBumpParameterfvATI GET_GetTexBumpParameterfvATI(struct _glapi_table *disp) {
10863 return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI));
10864}
10865
10866static INLINE void SET_GetTexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010867 SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn);
10868}
10869
José Fonseca075d2bf2011-05-19 17:44:06 +010010870typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI)(GLenum, GLint *);
10871#define CALL_GetTexBumpParameterivATI(disp, parameters) \
10872 (* GET_GetTexBumpParameterivATI(disp)) parameters
10873static INLINE _glptr_GetTexBumpParameterivATI GET_GetTexBumpParameterivATI(struct _glapi_table *disp) {
10874 return (_glptr_GetTexBumpParameterivATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterivATI));
10875}
10876
10877static INLINE void SET_GetTexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010878 SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn);
10879}
10880
José Fonseca075d2bf2011-05-19 17:44:06 +010010881typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI)(GLenum, const GLfloat *);
10882#define CALL_TexBumpParameterfvATI(disp, parameters) \
10883 (* GET_TexBumpParameterfvATI(disp)) parameters
10884static INLINE _glptr_TexBumpParameterfvATI GET_TexBumpParameterfvATI(struct _glapi_table *disp) {
10885 return (_glptr_TexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_TexBumpParameterfvATI));
10886}
10887
10888static INLINE void SET_TexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010889 SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn);
10890}
10891
José Fonseca075d2bf2011-05-19 17:44:06 +010010892typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI)(GLenum, const GLint *);
10893#define CALL_TexBumpParameterivATI(disp, parameters) \
10894 (* GET_TexBumpParameterivATI(disp)) parameters
10895static INLINE _glptr_TexBumpParameterivATI GET_TexBumpParameterivATI(struct _glapi_table *disp) {
10896 return (_glptr_TexBumpParameterivATI) (GET_by_offset(disp, _gloffset_TexBumpParameterivATI));
10897}
10898
10899static INLINE void SET_TexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010900 SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn);
10901}
10902
José Fonseca075d2bf2011-05-19 17:44:06 +010010903typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
10904#define CALL_AlphaFragmentOp1ATI(disp, parameters) \
10905 (* GET_AlphaFragmentOp1ATI(disp)) parameters
10906static INLINE _glptr_AlphaFragmentOp1ATI GET_AlphaFragmentOp1ATI(struct _glapi_table *disp) {
10907 return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI));
10908}
10909
10910static INLINE void SET_AlphaFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010911 SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn);
10912}
10913
José Fonseca075d2bf2011-05-19 17:44:06 +010010914typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
10915#define CALL_AlphaFragmentOp2ATI(disp, parameters) \
10916 (* GET_AlphaFragmentOp2ATI(disp)) parameters
10917static INLINE _glptr_AlphaFragmentOp2ATI GET_AlphaFragmentOp2ATI(struct _glapi_table *disp) {
10918 return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI));
10919}
10920
10921static INLINE void SET_AlphaFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010922 SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn);
10923}
10924
José Fonseca075d2bf2011-05-19 17:44:06 +010010925typedef 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
10928static INLINE _glptr_AlphaFragmentOp3ATI GET_AlphaFragmentOp3ATI(struct _glapi_table *disp) {
10929 return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI));
10930}
10931
10932static INLINE void SET_AlphaFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010933 SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn);
10934}
10935
José Fonseca075d2bf2011-05-19 17:44:06 +010010936typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI)(void);
10937#define CALL_BeginFragmentShaderATI(disp, parameters) \
10938 (* GET_BeginFragmentShaderATI(disp)) parameters
10939static INLINE _glptr_BeginFragmentShaderATI GET_BeginFragmentShaderATI(struct _glapi_table *disp) {
10940 return (_glptr_BeginFragmentShaderATI) (GET_by_offset(disp, _gloffset_BeginFragmentShaderATI));
10941}
10942
10943static INLINE void SET_BeginFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010944 SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn);
10945}
10946
José Fonseca075d2bf2011-05-19 17:44:06 +010010947typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI)(GLuint);
10948#define CALL_BindFragmentShaderATI(disp, parameters) \
10949 (* GET_BindFragmentShaderATI(disp)) parameters
10950static INLINE _glptr_BindFragmentShaderATI GET_BindFragmentShaderATI(struct _glapi_table *disp) {
10951 return (_glptr_BindFragmentShaderATI) (GET_by_offset(disp, _gloffset_BindFragmentShaderATI));
10952}
10953
10954static INLINE void SET_BindFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010955 SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn);
10956}
10957
José Fonseca075d2bf2011-05-19 17:44:06 +010010958typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
10959#define CALL_ColorFragmentOp1ATI(disp, parameters) \
10960 (* GET_ColorFragmentOp1ATI(disp)) parameters
10961static INLINE _glptr_ColorFragmentOp1ATI GET_ColorFragmentOp1ATI(struct _glapi_table *disp) {
10962 return (_glptr_ColorFragmentOp1ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp1ATI));
10963}
10964
10965static INLINE void SET_ColorFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010966 SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn);
10967}
10968
José Fonseca075d2bf2011-05-19 17:44:06 +010010969typedef 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
10972static INLINE _glptr_ColorFragmentOp2ATI GET_ColorFragmentOp2ATI(struct _glapi_table *disp) {
10973 return (_glptr_ColorFragmentOp2ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp2ATI));
10974}
10975
10976static INLINE void SET_ColorFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010977 SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn);
10978}
10979
José Fonseca075d2bf2011-05-19 17:44:06 +010010980typedef 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
10983static INLINE _glptr_ColorFragmentOp3ATI GET_ColorFragmentOp3ATI(struct _glapi_table *disp) {
10984 return (_glptr_ColorFragmentOp3ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp3ATI));
10985}
10986
10987static 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é Fonsecaec4dfc22011-05-19 16:49:49 +010010988 SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn);
10989}
10990
José Fonseca075d2bf2011-05-19 17:44:06 +010010991typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI)(GLuint);
10992#define CALL_DeleteFragmentShaderATI(disp, parameters) \
10993 (* GET_DeleteFragmentShaderATI(disp)) parameters
10994static INLINE _glptr_DeleteFragmentShaderATI GET_DeleteFragmentShaderATI(struct _glapi_table *disp) {
10995 return (_glptr_DeleteFragmentShaderATI) (GET_by_offset(disp, _gloffset_DeleteFragmentShaderATI));
10996}
10997
10998static INLINE void SET_DeleteFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010010999 SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn);
11000}
11001
José Fonseca075d2bf2011-05-19 17:44:06 +010011002typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI)(void);
11003#define CALL_EndFragmentShaderATI(disp, parameters) \
11004 (* GET_EndFragmentShaderATI(disp)) parameters
11005static INLINE _glptr_EndFragmentShaderATI GET_EndFragmentShaderATI(struct _glapi_table *disp) {
11006 return (_glptr_EndFragmentShaderATI) (GET_by_offset(disp, _gloffset_EndFragmentShaderATI));
11007}
11008
11009static INLINE void SET_EndFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011010 SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn);
11011}
11012
José Fonseca075d2bf2011-05-19 17:44:06 +010011013typedef GLuint (GLAPIENTRYP _glptr_GenFragmentShadersATI)(GLuint);
11014#define CALL_GenFragmentShadersATI(disp, parameters) \
11015 (* GET_GenFragmentShadersATI(disp)) parameters
11016static INLINE _glptr_GenFragmentShadersATI GET_GenFragmentShadersATI(struct _glapi_table *disp) {
11017 return (_glptr_GenFragmentShadersATI) (GET_by_offset(disp, _gloffset_GenFragmentShadersATI));
11018}
11019
11020static INLINE void SET_GenFragmentShadersATI(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011021 SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn);
11022}
11023
José Fonseca075d2bf2011-05-19 17:44:06 +010011024typedef void (GLAPIENTRYP _glptr_PassTexCoordATI)(GLuint, GLuint, GLenum);
11025#define CALL_PassTexCoordATI(disp, parameters) \
11026 (* GET_PassTexCoordATI(disp)) parameters
11027static INLINE _glptr_PassTexCoordATI GET_PassTexCoordATI(struct _glapi_table *disp) {
11028 return (_glptr_PassTexCoordATI) (GET_by_offset(disp, _gloffset_PassTexCoordATI));
11029}
11030
11031static INLINE void SET_PassTexCoordATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011032 SET_by_offset(disp, _gloffset_PassTexCoordATI, fn);
11033}
11034
José Fonseca075d2bf2011-05-19 17:44:06 +010011035typedef void (GLAPIENTRYP _glptr_SampleMapATI)(GLuint, GLuint, GLenum);
11036#define CALL_SampleMapATI(disp, parameters) \
11037 (* GET_SampleMapATI(disp)) parameters
11038static INLINE _glptr_SampleMapATI GET_SampleMapATI(struct _glapi_table *disp) {
11039 return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI));
11040}
11041
11042static INLINE void SET_SampleMapATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011043 SET_by_offset(disp, _gloffset_SampleMapATI, fn);
11044}
11045
José Fonseca075d2bf2011-05-19 17:44:06 +010011046typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI)(GLuint, const GLfloat *);
11047#define CALL_SetFragmentShaderConstantATI(disp, parameters) \
11048 (* GET_SetFragmentShaderConstantATI(disp)) parameters
11049static INLINE _glptr_SetFragmentShaderConstantATI GET_SetFragmentShaderConstantATI(struct _glapi_table *disp) {
11050 return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI));
11051}
11052
11053static INLINE void SET_SetFragmentShaderConstantATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011054 SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn);
11055}
11056
José Fonseca075d2bf2011-05-19 17:44:06 +010011057typedef void (GLAPIENTRYP _glptr_PointParameteriNV)(GLenum, GLint);
11058#define CALL_PointParameteriNV(disp, parameters) \
11059 (* GET_PointParameteriNV(disp)) parameters
11060static INLINE _glptr_PointParameteriNV GET_PointParameteriNV(struct _glapi_table *disp) {
11061 return (_glptr_PointParameteriNV) (GET_by_offset(disp, _gloffset_PointParameteriNV));
11062}
11063
11064static INLINE void SET_PointParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011065 SET_by_offset(disp, _gloffset_PointParameteriNV, fn);
11066}
11067
José Fonseca075d2bf2011-05-19 17:44:06 +010011068typedef void (GLAPIENTRYP _glptr_PointParameterivNV)(GLenum, const GLint *);
11069#define CALL_PointParameterivNV(disp, parameters) \
11070 (* GET_PointParameterivNV(disp)) parameters
11071static INLINE _glptr_PointParameterivNV GET_PointParameterivNV(struct _glapi_table *disp) {
11072 return (_glptr_PointParameterivNV) (GET_by_offset(disp, _gloffset_PointParameterivNV));
11073}
11074
11075static INLINE void SET_PointParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011076 SET_by_offset(disp, _gloffset_PointParameterivNV, fn);
11077}
11078
José Fonseca075d2bf2011-05-19 17:44:06 +010011079typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT)(GLenum);
11080#define CALL_ActiveStencilFaceEXT(disp, parameters) \
11081 (* GET_ActiveStencilFaceEXT(disp)) parameters
11082static INLINE _glptr_ActiveStencilFaceEXT GET_ActiveStencilFaceEXT(struct _glapi_table *disp) {
11083 return (_glptr_ActiveStencilFaceEXT) (GET_by_offset(disp, _gloffset_ActiveStencilFaceEXT));
11084}
11085
11086static INLINE void SET_ActiveStencilFaceEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011087 SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn);
11088}
11089
José Fonseca075d2bf2011-05-19 17:44:06 +010011090typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE)(GLuint);
11091#define CALL_BindVertexArrayAPPLE(disp, parameters) \
11092 (* GET_BindVertexArrayAPPLE(disp)) parameters
11093static INLINE _glptr_BindVertexArrayAPPLE GET_BindVertexArrayAPPLE(struct _glapi_table *disp) {
11094 return (_glptr_BindVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_BindVertexArrayAPPLE));
11095}
11096
11097static INLINE void SET_BindVertexArrayAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011098 SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn);
11099}
11100
José Fonseca075d2bf2011-05-19 17:44:06 +010011101typedef void (GLAPIENTRYP _glptr_DeleteVertexArraysAPPLE)(GLsizei, const GLuint *);
11102#define CALL_DeleteVertexArraysAPPLE(disp, parameters) \
11103 (* GET_DeleteVertexArraysAPPLE(disp)) parameters
11104static INLINE _glptr_DeleteVertexArraysAPPLE GET_DeleteVertexArraysAPPLE(struct _glapi_table *disp) {
11105 return (_glptr_DeleteVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE));
11106}
11107
11108static INLINE void SET_DeleteVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011109 SET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE, fn);
11110}
11111
José Fonseca075d2bf2011-05-19 17:44:06 +010011112typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE)(GLsizei, GLuint *);
11113#define CALL_GenVertexArraysAPPLE(disp, parameters) \
11114 (* GET_GenVertexArraysAPPLE(disp)) parameters
11115static INLINE _glptr_GenVertexArraysAPPLE GET_GenVertexArraysAPPLE(struct _glapi_table *disp) {
11116 return (_glptr_GenVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_GenVertexArraysAPPLE));
11117}
11118
11119static INLINE void SET_GenVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011120 SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn);
11121}
11122
José Fonseca075d2bf2011-05-19 17:44:06 +010011123typedef GLboolean (GLAPIENTRYP _glptr_IsVertexArrayAPPLE)(GLuint);
11124#define CALL_IsVertexArrayAPPLE(disp, parameters) \
11125 (* GET_IsVertexArrayAPPLE(disp)) parameters
11126static INLINE _glptr_IsVertexArrayAPPLE GET_IsVertexArrayAPPLE(struct _glapi_table *disp) {
11127 return (_glptr_IsVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_IsVertexArrayAPPLE));
11128}
11129
11130static INLINE void SET_IsVertexArrayAPPLE(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011131 SET_by_offset(disp, _gloffset_IsVertexArrayAPPLE, fn);
11132}
11133
José Fonseca075d2bf2011-05-19 17:44:06 +010011134typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV)(GLuint, GLsizei, const GLubyte *, GLdouble *);
11135#define CALL_GetProgramNamedParameterdvNV(disp, parameters) \
11136 (* GET_GetProgramNamedParameterdvNV(disp)) parameters
11137static INLINE _glptr_GetProgramNamedParameterdvNV GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp) {
11138 return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV));
11139}
11140
11141static INLINE void SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011142 SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn);
11143}
11144
José Fonseca075d2bf2011-05-19 17:44:06 +010011145typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV)(GLuint, GLsizei, const GLubyte *, GLfloat *);
11146#define CALL_GetProgramNamedParameterfvNV(disp, parameters) \
11147 (* GET_GetProgramNamedParameterfvNV(disp)) parameters
11148static INLINE _glptr_GetProgramNamedParameterfvNV GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp) {
11149 return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV));
11150}
11151
11152static INLINE void SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011153 SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn);
11154}
11155
José Fonseca075d2bf2011-05-19 17:44:06 +010011156typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
11157#define CALL_ProgramNamedParameter4dNV(disp, parameters) \
11158 (* GET_ProgramNamedParameter4dNV(disp)) parameters
11159static INLINE _glptr_ProgramNamedParameter4dNV GET_ProgramNamedParameter4dNV(struct _glapi_table *disp) {
11160 return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV));
11161}
11162
11163static INLINE void SET_ProgramNamedParameter4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011164 SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn);
11165}
11166
José Fonseca075d2bf2011-05-19 17:44:06 +010011167typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV)(GLuint, GLsizei, const GLubyte *, const GLdouble *);
11168#define CALL_ProgramNamedParameter4dvNV(disp, parameters) \
11169 (* GET_ProgramNamedParameter4dvNV(disp)) parameters
11170static INLINE _glptr_ProgramNamedParameter4dvNV GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp) {
11171 return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV));
11172}
11173
11174static INLINE void SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLdouble *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011175 SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn);
11176}
11177
José Fonseca075d2bf2011-05-19 17:44:06 +010011178typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
11179#define CALL_ProgramNamedParameter4fNV(disp, parameters) \
11180 (* GET_ProgramNamedParameter4fNV(disp)) parameters
11181static INLINE _glptr_ProgramNamedParameter4fNV GET_ProgramNamedParameter4fNV(struct _glapi_table *disp) {
11182 return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV));
11183}
11184
11185static INLINE void SET_ProgramNamedParameter4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011186 SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn);
11187}
11188
José Fonseca075d2bf2011-05-19 17:44:06 +010011189typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV)(GLuint, GLsizei, const GLubyte *, const GLfloat *);
11190#define CALL_ProgramNamedParameter4fvNV(disp, parameters) \
11191 (* GET_ProgramNamedParameter4fvNV(disp)) parameters
11192static INLINE _glptr_ProgramNamedParameter4fvNV GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp) {
11193 return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV));
11194}
11195
11196static INLINE void SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011197 SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn);
11198}
11199
José Fonseca075d2bf2011-05-19 17:44:06 +010011200typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndexNV)(GLuint);
11201#define CALL_PrimitiveRestartIndexNV(disp, parameters) \
11202 (* GET_PrimitiveRestartIndexNV(disp)) parameters
11203static INLINE _glptr_PrimitiveRestartIndexNV GET_PrimitiveRestartIndexNV(struct _glapi_table *disp) {
11204 return (_glptr_PrimitiveRestartIndexNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV));
11205}
11206
11207static INLINE void SET_PrimitiveRestartIndexNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011208 SET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV, fn);
11209}
11210
José Fonseca075d2bf2011-05-19 17:44:06 +010011211typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV)(void);
11212#define CALL_PrimitiveRestartNV(disp, parameters) \
11213 (* GET_PrimitiveRestartNV(disp)) parameters
11214static INLINE _glptr_PrimitiveRestartNV GET_PrimitiveRestartNV(struct _glapi_table *disp) {
11215 return (_glptr_PrimitiveRestartNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartNV));
11216}
11217
11218static INLINE void SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011219 SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn);
11220}
11221
José Fonseca075d2bf2011-05-19 17:44:06 +010011222typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT)(GLclampd, GLclampd);
11223#define CALL_DepthBoundsEXT(disp, parameters) \
11224 (* GET_DepthBoundsEXT(disp)) parameters
11225static INLINE _glptr_DepthBoundsEXT GET_DepthBoundsEXT(struct _glapi_table *disp) {
11226 return (_glptr_DepthBoundsEXT) (GET_by_offset(disp, _gloffset_DepthBoundsEXT));
11227}
11228
11229static INLINE void SET_DepthBoundsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011230 SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn);
11231}
11232
José Fonseca075d2bf2011-05-19 17:44:06 +010011233typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateEXT)(GLenum, GLenum);
11234#define CALL_BlendEquationSeparateEXT(disp, parameters) \
11235 (* GET_BlendEquationSeparateEXT(disp)) parameters
11236static INLINE _glptr_BlendEquationSeparateEXT GET_BlendEquationSeparateEXT(struct _glapi_table *disp) {
11237 return (_glptr_BlendEquationSeparateEXT) (GET_by_offset(disp, _gloffset_BlendEquationSeparateEXT));
11238}
11239
11240static INLINE void SET_BlendEquationSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011241 SET_by_offset(disp, _gloffset_BlendEquationSeparateEXT, fn);
11242}
11243
José Fonseca075d2bf2011-05-19 17:44:06 +010011244typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT)(GLenum, GLuint);
11245#define CALL_BindFramebufferEXT(disp, parameters) \
11246 (* GET_BindFramebufferEXT(disp)) parameters
11247static INLINE _glptr_BindFramebufferEXT GET_BindFramebufferEXT(struct _glapi_table *disp) {
11248 return (_glptr_BindFramebufferEXT) (GET_by_offset(disp, _gloffset_BindFramebufferEXT));
11249}
11250
11251static INLINE void SET_BindFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011252 SET_by_offset(disp, _gloffset_BindFramebufferEXT, fn);
11253}
11254
José Fonseca075d2bf2011-05-19 17:44:06 +010011255typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT)(GLenum, GLuint);
11256#define CALL_BindRenderbufferEXT(disp, parameters) \
11257 (* GET_BindRenderbufferEXT(disp)) parameters
11258static INLINE _glptr_BindRenderbufferEXT GET_BindRenderbufferEXT(struct _glapi_table *disp) {
11259 return (_glptr_BindRenderbufferEXT) (GET_by_offset(disp, _gloffset_BindRenderbufferEXT));
11260}
11261
11262static INLINE void SET_BindRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011263 SET_by_offset(disp, _gloffset_BindRenderbufferEXT, fn);
11264}
11265
José Fonseca075d2bf2011-05-19 17:44:06 +010011266typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatusEXT)(GLenum);
11267#define CALL_CheckFramebufferStatusEXT(disp, parameters) \
11268 (* GET_CheckFramebufferStatusEXT(disp)) parameters
11269static INLINE _glptr_CheckFramebufferStatusEXT GET_CheckFramebufferStatusEXT(struct _glapi_table *disp) {
11270 return (_glptr_CheckFramebufferStatusEXT) (GET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT));
11271}
11272
11273static INLINE void SET_CheckFramebufferStatusEXT(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011274 SET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT, fn);
11275}
11276
José Fonseca075d2bf2011-05-19 17:44:06 +010011277typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersEXT)(GLsizei, const GLuint *);
11278#define CALL_DeleteFramebuffersEXT(disp, parameters) \
11279 (* GET_DeleteFramebuffersEXT(disp)) parameters
11280static INLINE _glptr_DeleteFramebuffersEXT GET_DeleteFramebuffersEXT(struct _glapi_table *disp) {
11281 return (_glptr_DeleteFramebuffersEXT) (GET_by_offset(disp, _gloffset_DeleteFramebuffersEXT));
11282}
11283
11284static INLINE void SET_DeleteFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011285 SET_by_offset(disp, _gloffset_DeleteFramebuffersEXT, fn);
11286}
11287
José Fonseca075d2bf2011-05-19 17:44:06 +010011288typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersEXT)(GLsizei, const GLuint *);
11289#define CALL_DeleteRenderbuffersEXT(disp, parameters) \
11290 (* GET_DeleteRenderbuffersEXT(disp)) parameters
11291static INLINE _glptr_DeleteRenderbuffersEXT GET_DeleteRenderbuffersEXT(struct _glapi_table *disp) {
11292 return (_glptr_DeleteRenderbuffersEXT) (GET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT));
11293}
11294
11295static INLINE void SET_DeleteRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011296 SET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT, fn);
11297}
11298
José Fonseca075d2bf2011-05-19 17:44:06 +010011299typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferEXT)(GLenum, GLenum, GLenum, GLuint);
11300#define CALL_FramebufferRenderbufferEXT(disp, parameters) \
11301 (* GET_FramebufferRenderbufferEXT(disp)) parameters
11302static INLINE _glptr_FramebufferRenderbufferEXT GET_FramebufferRenderbufferEXT(struct _glapi_table *disp) {
11303 return (_glptr_FramebufferRenderbufferEXT) (GET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT));
11304}
11305
11306static INLINE void SET_FramebufferRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011307 SET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT, fn);
11308}
11309
José Fonseca075d2bf2011-05-19 17:44:06 +010011310typedef void (GLAPIENTRYP _glptr_FramebufferTexture1DEXT)(GLenum, GLenum, GLenum, GLuint, GLint);
11311#define CALL_FramebufferTexture1DEXT(disp, parameters) \
11312 (* GET_FramebufferTexture1DEXT(disp)) parameters
11313static INLINE _glptr_FramebufferTexture1DEXT GET_FramebufferTexture1DEXT(struct _glapi_table *disp) {
11314 return (_glptr_FramebufferTexture1DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture1DEXT));
11315}
11316
11317static INLINE void SET_FramebufferTexture1DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011318 SET_by_offset(disp, _gloffset_FramebufferTexture1DEXT, fn);
11319}
11320
José Fonseca075d2bf2011-05-19 17:44:06 +010011321typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DEXT)(GLenum, GLenum, GLenum, GLuint, GLint);
11322#define CALL_FramebufferTexture2DEXT(disp, parameters) \
11323 (* GET_FramebufferTexture2DEXT(disp)) parameters
11324static INLINE _glptr_FramebufferTexture2DEXT GET_FramebufferTexture2DEXT(struct _glapi_table *disp) {
11325 return (_glptr_FramebufferTexture2DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture2DEXT));
11326}
11327
11328static INLINE void SET_FramebufferTexture2DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011329 SET_by_offset(disp, _gloffset_FramebufferTexture2DEXT, fn);
11330}
11331
José Fonseca075d2bf2011-05-19 17:44:06 +010011332typedef void (GLAPIENTRYP _glptr_FramebufferTexture3DEXT)(GLenum, GLenum, GLenum, GLuint, GLint, GLint);
11333#define CALL_FramebufferTexture3DEXT(disp, parameters) \
11334 (* GET_FramebufferTexture3DEXT(disp)) parameters
11335static INLINE _glptr_FramebufferTexture3DEXT GET_FramebufferTexture3DEXT(struct _glapi_table *disp) {
11336 return (_glptr_FramebufferTexture3DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture3DEXT));
11337}
11338
11339static INLINE void SET_FramebufferTexture3DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011340 SET_by_offset(disp, _gloffset_FramebufferTexture3DEXT, fn);
11341}
11342
José Fonseca075d2bf2011-05-19 17:44:06 +010011343typedef void (GLAPIENTRYP _glptr_GenFramebuffersEXT)(GLsizei, GLuint *);
11344#define CALL_GenFramebuffersEXT(disp, parameters) \
11345 (* GET_GenFramebuffersEXT(disp)) parameters
11346static INLINE _glptr_GenFramebuffersEXT GET_GenFramebuffersEXT(struct _glapi_table *disp) {
11347 return (_glptr_GenFramebuffersEXT) (GET_by_offset(disp, _gloffset_GenFramebuffersEXT));
11348}
11349
11350static INLINE void SET_GenFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011351 SET_by_offset(disp, _gloffset_GenFramebuffersEXT, fn);
11352}
11353
José Fonseca075d2bf2011-05-19 17:44:06 +010011354typedef void (GLAPIENTRYP _glptr_GenRenderbuffersEXT)(GLsizei, GLuint *);
11355#define CALL_GenRenderbuffersEXT(disp, parameters) \
11356 (* GET_GenRenderbuffersEXT(disp)) parameters
11357static INLINE _glptr_GenRenderbuffersEXT GET_GenRenderbuffersEXT(struct _glapi_table *disp) {
11358 return (_glptr_GenRenderbuffersEXT) (GET_by_offset(disp, _gloffset_GenRenderbuffersEXT));
11359}
11360
11361static INLINE void SET_GenRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011362 SET_by_offset(disp, _gloffset_GenRenderbuffersEXT, fn);
11363}
11364
José Fonseca075d2bf2011-05-19 17:44:06 +010011365typedef void (GLAPIENTRYP _glptr_GenerateMipmapEXT)(GLenum);
11366#define CALL_GenerateMipmapEXT(disp, parameters) \
11367 (* GET_GenerateMipmapEXT(disp)) parameters
11368static INLINE _glptr_GenerateMipmapEXT GET_GenerateMipmapEXT(struct _glapi_table *disp) {
11369 return (_glptr_GenerateMipmapEXT) (GET_by_offset(disp, _gloffset_GenerateMipmapEXT));
11370}
11371
11372static INLINE void SET_GenerateMipmapEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011373 SET_by_offset(disp, _gloffset_GenerateMipmapEXT, fn);
11374}
11375
José Fonseca075d2bf2011-05-19 17:44:06 +010011376typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameterivEXT)(GLenum, GLenum, GLenum, GLint *);
11377#define CALL_GetFramebufferAttachmentParameterivEXT(disp, parameters) \
11378 (* GET_GetFramebufferAttachmentParameterivEXT(disp)) parameters
11379static INLINE _glptr_GetFramebufferAttachmentParameterivEXT GET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp) {
11380 return (_glptr_GetFramebufferAttachmentParameterivEXT) (GET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT));
11381}
11382
11383static INLINE void SET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011384 SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT, fn);
11385}
11386
José Fonseca075d2bf2011-05-19 17:44:06 +010011387typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivEXT)(GLenum, GLenum, GLint *);
11388#define CALL_GetRenderbufferParameterivEXT(disp, parameters) \
11389 (* GET_GetRenderbufferParameterivEXT(disp)) parameters
11390static INLINE _glptr_GetRenderbufferParameterivEXT GET_GetRenderbufferParameterivEXT(struct _glapi_table *disp) {
11391 return (_glptr_GetRenderbufferParameterivEXT) (GET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT));
11392}
11393
11394static INLINE void SET_GetRenderbufferParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011395 SET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT, fn);
11396}
11397
José Fonseca075d2bf2011-05-19 17:44:06 +010011398typedef GLboolean (GLAPIENTRYP _glptr_IsFramebufferEXT)(GLuint);
11399#define CALL_IsFramebufferEXT(disp, parameters) \
11400 (* GET_IsFramebufferEXT(disp)) parameters
11401static INLINE _glptr_IsFramebufferEXT GET_IsFramebufferEXT(struct _glapi_table *disp) {
11402 return (_glptr_IsFramebufferEXT) (GET_by_offset(disp, _gloffset_IsFramebufferEXT));
11403}
11404
11405static INLINE void SET_IsFramebufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011406 SET_by_offset(disp, _gloffset_IsFramebufferEXT, fn);
11407}
11408
José Fonseca075d2bf2011-05-19 17:44:06 +010011409typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbufferEXT)(GLuint);
11410#define CALL_IsRenderbufferEXT(disp, parameters) \
11411 (* GET_IsRenderbufferEXT(disp)) parameters
11412static INLINE _glptr_IsRenderbufferEXT GET_IsRenderbufferEXT(struct _glapi_table *disp) {
11413 return (_glptr_IsRenderbufferEXT) (GET_by_offset(disp, _gloffset_IsRenderbufferEXT));
11414}
11415
11416static INLINE void SET_IsRenderbufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011417 SET_by_offset(disp, _gloffset_IsRenderbufferEXT, fn);
11418}
11419
José Fonseca075d2bf2011-05-19 17:44:06 +010011420typedef void (GLAPIENTRYP _glptr_RenderbufferStorageEXT)(GLenum, GLenum, GLsizei, GLsizei);
11421#define CALL_RenderbufferStorageEXT(disp, parameters) \
11422 (* GET_RenderbufferStorageEXT(disp)) parameters
11423static INLINE _glptr_RenderbufferStorageEXT GET_RenderbufferStorageEXT(struct _glapi_table *disp) {
11424 return (_glptr_RenderbufferStorageEXT) (GET_by_offset(disp, _gloffset_RenderbufferStorageEXT));
11425}
11426
11427static INLINE void SET_RenderbufferStorageEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011428 SET_by_offset(disp, _gloffset_RenderbufferStorageEXT, fn);
11429}
11430
José Fonseca075d2bf2011-05-19 17:44:06 +010011431typedef 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
11434static INLINE _glptr_BlitFramebufferEXT GET_BlitFramebufferEXT(struct _glapi_table *disp) {
11435 return (_glptr_BlitFramebufferEXT) (GET_by_offset(disp, _gloffset_BlitFramebufferEXT));
11436}
11437
11438static INLINE void SET_BlitFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011439 SET_by_offset(disp, _gloffset_BlitFramebufferEXT, fn);
11440}
11441
José Fonseca075d2bf2011-05-19 17:44:06 +010011442typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE)(GLenum, GLenum, GLint);
11443#define CALL_BufferParameteriAPPLE(disp, parameters) \
11444 (* GET_BufferParameteriAPPLE(disp)) parameters
11445static INLINE _glptr_BufferParameteriAPPLE GET_BufferParameteriAPPLE(struct _glapi_table *disp) {
11446 return (_glptr_BufferParameteriAPPLE) (GET_by_offset(disp, _gloffset_BufferParameteriAPPLE));
11447}
11448
11449static INLINE void SET_BufferParameteriAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011450 SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn);
11451}
11452
José Fonseca075d2bf2011-05-19 17:44:06 +010011453typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE)(GLenum, GLintptr, GLsizeiptr);
11454#define CALL_FlushMappedBufferRangeAPPLE(disp, parameters) \
11455 (* GET_FlushMappedBufferRangeAPPLE(disp)) parameters
11456static INLINE _glptr_FlushMappedBufferRangeAPPLE GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp) {
11457 return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE));
11458}
11459
11460static INLINE void SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011461 SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn);
11462}
11463
José Fonseca075d2bf2011-05-19 17:44:06 +010011464typedef void (GLAPIENTRYP _glptr_BindFragDataLocationEXT)(GLuint, GLuint, const GLchar *);
11465#define CALL_BindFragDataLocationEXT(disp, parameters) \
11466 (* GET_BindFragDataLocationEXT(disp)) parameters
11467static INLINE _glptr_BindFragDataLocationEXT GET_BindFragDataLocationEXT(struct _glapi_table *disp) {
11468 return (_glptr_BindFragDataLocationEXT) (GET_by_offset(disp, _gloffset_BindFragDataLocationEXT));
11469}
11470
11471static INLINE void SET_BindFragDataLocationEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011472 SET_by_offset(disp, _gloffset_BindFragDataLocationEXT, fn);
11473}
11474
José Fonseca075d2bf2011-05-19 17:44:06 +010011475typedef GLint (GLAPIENTRYP _glptr_GetFragDataLocationEXT)(GLuint, const GLchar *);
11476#define CALL_GetFragDataLocationEXT(disp, parameters) \
11477 (* GET_GetFragDataLocationEXT(disp)) parameters
11478static INLINE _glptr_GetFragDataLocationEXT GET_GetFragDataLocationEXT(struct _glapi_table *disp) {
11479 return (_glptr_GetFragDataLocationEXT) (GET_by_offset(disp, _gloffset_GetFragDataLocationEXT));
11480}
11481
11482static INLINE void SET_GetFragDataLocationEXT(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011483 SET_by_offset(disp, _gloffset_GetFragDataLocationEXT, fn);
11484}
11485
José Fonseca075d2bf2011-05-19 17:44:06 +010011486typedef void (GLAPIENTRYP _glptr_GetUniformuivEXT)(GLuint, GLint, GLuint *);
11487#define CALL_GetUniformuivEXT(disp, parameters) \
11488 (* GET_GetUniformuivEXT(disp)) parameters
11489static INLINE _glptr_GetUniformuivEXT GET_GetUniformuivEXT(struct _glapi_table *disp) {
11490 return (_glptr_GetUniformuivEXT) (GET_by_offset(disp, _gloffset_GetUniformuivEXT));
11491}
11492
11493static INLINE void SET_GetUniformuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011494 SET_by_offset(disp, _gloffset_GetUniformuivEXT, fn);
11495}
11496
José Fonseca075d2bf2011-05-19 17:44:06 +010011497typedef void (GLAPIENTRYP _glptr_GetVertexAttribIivEXT)(GLuint, GLenum, GLint *);
11498#define CALL_GetVertexAttribIivEXT(disp, parameters) \
11499 (* GET_GetVertexAttribIivEXT(disp)) parameters
11500static INLINE _glptr_GetVertexAttribIivEXT GET_GetVertexAttribIivEXT(struct _glapi_table *disp) {
11501 return (_glptr_GetVertexAttribIivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIivEXT));
11502}
11503
11504static INLINE void SET_GetVertexAttribIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011505 SET_by_offset(disp, _gloffset_GetVertexAttribIivEXT, fn);
11506}
11507
José Fonseca075d2bf2011-05-19 17:44:06 +010011508typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuivEXT)(GLuint, GLenum, GLuint *);
11509#define CALL_GetVertexAttribIuivEXT(disp, parameters) \
11510 (* GET_GetVertexAttribIuivEXT(disp)) parameters
11511static INLINE _glptr_GetVertexAttribIuivEXT GET_GetVertexAttribIuivEXT(struct _glapi_table *disp) {
11512 return (_glptr_GetVertexAttribIuivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT));
11513}
11514
11515static INLINE void SET_GetVertexAttribIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011516 SET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT, fn);
11517}
11518
José Fonseca075d2bf2011-05-19 17:44:06 +010011519typedef void (GLAPIENTRYP _glptr_Uniform1uiEXT)(GLint, GLuint);
11520#define CALL_Uniform1uiEXT(disp, parameters) \
11521 (* GET_Uniform1uiEXT(disp)) parameters
11522static INLINE _glptr_Uniform1uiEXT GET_Uniform1uiEXT(struct _glapi_table *disp) {
11523 return (_glptr_Uniform1uiEXT) (GET_by_offset(disp, _gloffset_Uniform1uiEXT));
11524}
11525
11526static INLINE void SET_Uniform1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011527 SET_by_offset(disp, _gloffset_Uniform1uiEXT, fn);
11528}
11529
José Fonseca075d2bf2011-05-19 17:44:06 +010011530typedef void (GLAPIENTRYP _glptr_Uniform1uivEXT)(GLint, GLsizei, const GLuint *);
11531#define CALL_Uniform1uivEXT(disp, parameters) \
11532 (* GET_Uniform1uivEXT(disp)) parameters
11533static INLINE _glptr_Uniform1uivEXT GET_Uniform1uivEXT(struct _glapi_table *disp) {
11534 return (_glptr_Uniform1uivEXT) (GET_by_offset(disp, _gloffset_Uniform1uivEXT));
11535}
11536
11537static INLINE void SET_Uniform1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011538 SET_by_offset(disp, _gloffset_Uniform1uivEXT, fn);
11539}
11540
José Fonseca075d2bf2011-05-19 17:44:06 +010011541typedef void (GLAPIENTRYP _glptr_Uniform2uiEXT)(GLint, GLuint, GLuint);
11542#define CALL_Uniform2uiEXT(disp, parameters) \
11543 (* GET_Uniform2uiEXT(disp)) parameters
11544static INLINE _glptr_Uniform2uiEXT GET_Uniform2uiEXT(struct _glapi_table *disp) {
11545 return (_glptr_Uniform2uiEXT) (GET_by_offset(disp, _gloffset_Uniform2uiEXT));
11546}
11547
11548static INLINE void SET_Uniform2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011549 SET_by_offset(disp, _gloffset_Uniform2uiEXT, fn);
11550}
11551
José Fonseca075d2bf2011-05-19 17:44:06 +010011552typedef void (GLAPIENTRYP _glptr_Uniform2uivEXT)(GLint, GLsizei, const GLuint *);
11553#define CALL_Uniform2uivEXT(disp, parameters) \
11554 (* GET_Uniform2uivEXT(disp)) parameters
11555static INLINE _glptr_Uniform2uivEXT GET_Uniform2uivEXT(struct _glapi_table *disp) {
11556 return (_glptr_Uniform2uivEXT) (GET_by_offset(disp, _gloffset_Uniform2uivEXT));
11557}
11558
11559static INLINE void SET_Uniform2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011560 SET_by_offset(disp, _gloffset_Uniform2uivEXT, fn);
11561}
11562
José Fonseca075d2bf2011-05-19 17:44:06 +010011563typedef void (GLAPIENTRYP _glptr_Uniform3uiEXT)(GLint, GLuint, GLuint, GLuint);
11564#define CALL_Uniform3uiEXT(disp, parameters) \
11565 (* GET_Uniform3uiEXT(disp)) parameters
11566static INLINE _glptr_Uniform3uiEXT GET_Uniform3uiEXT(struct _glapi_table *disp) {
11567 return (_glptr_Uniform3uiEXT) (GET_by_offset(disp, _gloffset_Uniform3uiEXT));
11568}
11569
11570static INLINE void SET_Uniform3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011571 SET_by_offset(disp, _gloffset_Uniform3uiEXT, fn);
11572}
11573
José Fonseca075d2bf2011-05-19 17:44:06 +010011574typedef void (GLAPIENTRYP _glptr_Uniform3uivEXT)(GLint, GLsizei, const GLuint *);
11575#define CALL_Uniform3uivEXT(disp, parameters) \
11576 (* GET_Uniform3uivEXT(disp)) parameters
11577static INLINE _glptr_Uniform3uivEXT GET_Uniform3uivEXT(struct _glapi_table *disp) {
11578 return (_glptr_Uniform3uivEXT) (GET_by_offset(disp, _gloffset_Uniform3uivEXT));
11579}
11580
11581static INLINE void SET_Uniform3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011582 SET_by_offset(disp, _gloffset_Uniform3uivEXT, fn);
11583}
11584
José Fonseca075d2bf2011-05-19 17:44:06 +010011585typedef void (GLAPIENTRYP _glptr_Uniform4uiEXT)(GLint, GLuint, GLuint, GLuint, GLuint);
11586#define CALL_Uniform4uiEXT(disp, parameters) \
11587 (* GET_Uniform4uiEXT(disp)) parameters
11588static INLINE _glptr_Uniform4uiEXT GET_Uniform4uiEXT(struct _glapi_table *disp) {
11589 return (_glptr_Uniform4uiEXT) (GET_by_offset(disp, _gloffset_Uniform4uiEXT));
11590}
11591
11592static INLINE void SET_Uniform4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011593 SET_by_offset(disp, _gloffset_Uniform4uiEXT, fn);
11594}
11595
José Fonseca075d2bf2011-05-19 17:44:06 +010011596typedef void (GLAPIENTRYP _glptr_Uniform4uivEXT)(GLint, GLsizei, const GLuint *);
11597#define CALL_Uniform4uivEXT(disp, parameters) \
11598 (* GET_Uniform4uivEXT(disp)) parameters
11599static INLINE _glptr_Uniform4uivEXT GET_Uniform4uivEXT(struct _glapi_table *disp) {
11600 return (_glptr_Uniform4uivEXT) (GET_by_offset(disp, _gloffset_Uniform4uivEXT));
11601}
11602
11603static INLINE void SET_Uniform4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011604 SET_by_offset(disp, _gloffset_Uniform4uivEXT, fn);
11605}
11606
José Fonseca075d2bf2011-05-19 17:44:06 +010011607typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT)(GLuint, GLint);
11608#define CALL_VertexAttribI1iEXT(disp, parameters) \
11609 (* GET_VertexAttribI1iEXT(disp)) parameters
11610static INLINE _glptr_VertexAttribI1iEXT GET_VertexAttribI1iEXT(struct _glapi_table *disp) {
11611 return (_glptr_VertexAttribI1iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1iEXT));
11612}
11613
11614static INLINE void SET_VertexAttribI1iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011615 SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn);
11616}
11617
José Fonseca075d2bf2011-05-19 17:44:06 +010011618typedef void (GLAPIENTRYP _glptr_VertexAttribI1ivEXT)(GLuint, const GLint *);
11619#define CALL_VertexAttribI1ivEXT(disp, parameters) \
11620 (* GET_VertexAttribI1ivEXT(disp)) parameters
11621static INLINE _glptr_VertexAttribI1ivEXT GET_VertexAttribI1ivEXT(struct _glapi_table *disp) {
11622 return (_glptr_VertexAttribI1ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1ivEXT));
11623}
11624
11625static INLINE void SET_VertexAttribI1ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011626 SET_by_offset(disp, _gloffset_VertexAttribI1ivEXT, fn);
11627}
11628
José Fonseca075d2bf2011-05-19 17:44:06 +010011629typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT)(GLuint, GLuint);
11630#define CALL_VertexAttribI1uiEXT(disp, parameters) \
11631 (* GET_VertexAttribI1uiEXT(disp)) parameters
11632static INLINE _glptr_VertexAttribI1uiEXT GET_VertexAttribI1uiEXT(struct _glapi_table *disp) {
11633 return (_glptr_VertexAttribI1uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uiEXT));
11634}
11635
11636static INLINE void SET_VertexAttribI1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011637 SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn);
11638}
11639
José Fonseca075d2bf2011-05-19 17:44:06 +010011640typedef void (GLAPIENTRYP _glptr_VertexAttribI1uivEXT)(GLuint, const GLuint *);
11641#define CALL_VertexAttribI1uivEXT(disp, parameters) \
11642 (* GET_VertexAttribI1uivEXT(disp)) parameters
11643static INLINE _glptr_VertexAttribI1uivEXT GET_VertexAttribI1uivEXT(struct _glapi_table *disp) {
11644 return (_glptr_VertexAttribI1uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uivEXT));
11645}
11646
11647static INLINE void SET_VertexAttribI1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011648 SET_by_offset(disp, _gloffset_VertexAttribI1uivEXT, fn);
11649}
11650
José Fonseca075d2bf2011-05-19 17:44:06 +010011651typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT)(GLuint, GLint, GLint);
11652#define CALL_VertexAttribI2iEXT(disp, parameters) \
11653 (* GET_VertexAttribI2iEXT(disp)) parameters
11654static INLINE _glptr_VertexAttribI2iEXT GET_VertexAttribI2iEXT(struct _glapi_table *disp) {
11655 return (_glptr_VertexAttribI2iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2iEXT));
11656}
11657
11658static INLINE void SET_VertexAttribI2iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011659 SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn);
11660}
11661
José Fonseca075d2bf2011-05-19 17:44:06 +010011662typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT)(GLuint, const GLint *);
11663#define CALL_VertexAttribI2ivEXT(disp, parameters) \
11664 (* GET_VertexAttribI2ivEXT(disp)) parameters
11665static INLINE _glptr_VertexAttribI2ivEXT GET_VertexAttribI2ivEXT(struct _glapi_table *disp) {
11666 return (_glptr_VertexAttribI2ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2ivEXT));
11667}
11668
11669static INLINE void SET_VertexAttribI2ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011670 SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn);
11671}
11672
José Fonseca075d2bf2011-05-19 17:44:06 +010011673typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT)(GLuint, GLuint, GLuint);
11674#define CALL_VertexAttribI2uiEXT(disp, parameters) \
11675 (* GET_VertexAttribI2uiEXT(disp)) parameters
11676static INLINE _glptr_VertexAttribI2uiEXT GET_VertexAttribI2uiEXT(struct _glapi_table *disp) {
11677 return (_glptr_VertexAttribI2uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uiEXT));
11678}
11679
11680static INLINE void SET_VertexAttribI2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011681 SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn);
11682}
11683
José Fonseca075d2bf2011-05-19 17:44:06 +010011684typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT)(GLuint, const GLuint *);
11685#define CALL_VertexAttribI2uivEXT(disp, parameters) \
11686 (* GET_VertexAttribI2uivEXT(disp)) parameters
11687static INLINE _glptr_VertexAttribI2uivEXT GET_VertexAttribI2uivEXT(struct _glapi_table *disp) {
11688 return (_glptr_VertexAttribI2uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uivEXT));
11689}
11690
11691static INLINE void SET_VertexAttribI2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011692 SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn);
11693}
11694
José Fonseca075d2bf2011-05-19 17:44:06 +010011695typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT)(GLuint, GLint, GLint, GLint);
11696#define CALL_VertexAttribI3iEXT(disp, parameters) \
11697 (* GET_VertexAttribI3iEXT(disp)) parameters
11698static INLINE _glptr_VertexAttribI3iEXT GET_VertexAttribI3iEXT(struct _glapi_table *disp) {
11699 return (_glptr_VertexAttribI3iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3iEXT));
11700}
11701
11702static INLINE void SET_VertexAttribI3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011703 SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn);
11704}
11705
José Fonseca075d2bf2011-05-19 17:44:06 +010011706typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT)(GLuint, const GLint *);
11707#define CALL_VertexAttribI3ivEXT(disp, parameters) \
11708 (* GET_VertexAttribI3ivEXT(disp)) parameters
11709static INLINE _glptr_VertexAttribI3ivEXT GET_VertexAttribI3ivEXT(struct _glapi_table *disp) {
11710 return (_glptr_VertexAttribI3ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3ivEXT));
11711}
11712
11713static INLINE void SET_VertexAttribI3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011714 SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn);
11715}
11716
José Fonseca075d2bf2011-05-19 17:44:06 +010011717typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT)(GLuint, GLuint, GLuint, GLuint);
11718#define CALL_VertexAttribI3uiEXT(disp, parameters) \
11719 (* GET_VertexAttribI3uiEXT(disp)) parameters
11720static INLINE _glptr_VertexAttribI3uiEXT GET_VertexAttribI3uiEXT(struct _glapi_table *disp) {
11721 return (_glptr_VertexAttribI3uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uiEXT));
11722}
11723
11724static INLINE void SET_VertexAttribI3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011725 SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn);
11726}
11727
José Fonseca075d2bf2011-05-19 17:44:06 +010011728typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT)(GLuint, const GLuint *);
11729#define CALL_VertexAttribI3uivEXT(disp, parameters) \
11730 (* GET_VertexAttribI3uivEXT(disp)) parameters
11731static INLINE _glptr_VertexAttribI3uivEXT GET_VertexAttribI3uivEXT(struct _glapi_table *disp) {
11732 return (_glptr_VertexAttribI3uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uivEXT));
11733}
11734
11735static INLINE void SET_VertexAttribI3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011736 SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn);
11737}
11738
José Fonseca075d2bf2011-05-19 17:44:06 +010011739typedef void (GLAPIENTRYP _glptr_VertexAttribI4bvEXT)(GLuint, const GLbyte *);
11740#define CALL_VertexAttribI4bvEXT(disp, parameters) \
11741 (* GET_VertexAttribI4bvEXT(disp)) parameters
11742static INLINE _glptr_VertexAttribI4bvEXT GET_VertexAttribI4bvEXT(struct _glapi_table *disp) {
11743 return (_glptr_VertexAttribI4bvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4bvEXT));
11744}
11745
11746static INLINE void SET_VertexAttribI4bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011747 SET_by_offset(disp, _gloffset_VertexAttribI4bvEXT, fn);
11748}
11749
José Fonseca075d2bf2011-05-19 17:44:06 +010011750typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT)(GLuint, GLint, GLint, GLint, GLint);
11751#define CALL_VertexAttribI4iEXT(disp, parameters) \
11752 (* GET_VertexAttribI4iEXT(disp)) parameters
11753static INLINE _glptr_VertexAttribI4iEXT GET_VertexAttribI4iEXT(struct _glapi_table *disp) {
11754 return (_glptr_VertexAttribI4iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4iEXT));
11755}
11756
11757static INLINE void SET_VertexAttribI4iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011758 SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn);
11759}
11760
José Fonseca075d2bf2011-05-19 17:44:06 +010011761typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT)(GLuint, const GLint *);
11762#define CALL_VertexAttribI4ivEXT(disp, parameters) \
11763 (* GET_VertexAttribI4ivEXT(disp)) parameters
11764static INLINE _glptr_VertexAttribI4ivEXT GET_VertexAttribI4ivEXT(struct _glapi_table *disp) {
11765 return (_glptr_VertexAttribI4ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ivEXT));
11766}
11767
11768static INLINE void SET_VertexAttribI4ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011769 SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn);
11770}
11771
José Fonseca075d2bf2011-05-19 17:44:06 +010011772typedef void (GLAPIENTRYP _glptr_VertexAttribI4svEXT)(GLuint, const GLshort *);
11773#define CALL_VertexAttribI4svEXT(disp, parameters) \
11774 (* GET_VertexAttribI4svEXT(disp)) parameters
11775static INLINE _glptr_VertexAttribI4svEXT GET_VertexAttribI4svEXT(struct _glapi_table *disp) {
11776 return (_glptr_VertexAttribI4svEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4svEXT));
11777}
11778
11779static INLINE void SET_VertexAttribI4svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011780 SET_by_offset(disp, _gloffset_VertexAttribI4svEXT, fn);
11781}
11782
José Fonseca075d2bf2011-05-19 17:44:06 +010011783typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubvEXT)(GLuint, const GLubyte *);
11784#define CALL_VertexAttribI4ubvEXT(disp, parameters) \
11785 (* GET_VertexAttribI4ubvEXT(disp)) parameters
11786static INLINE _glptr_VertexAttribI4ubvEXT GET_VertexAttribI4ubvEXT(struct _glapi_table *disp) {
11787 return (_glptr_VertexAttribI4ubvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT));
11788}
11789
11790static INLINE void SET_VertexAttribI4ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011791 SET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT, fn);
11792}
11793
José Fonseca075d2bf2011-05-19 17:44:06 +010011794typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT)(GLuint, GLuint, GLuint, GLuint, GLuint);
11795#define CALL_VertexAttribI4uiEXT(disp, parameters) \
11796 (* GET_VertexAttribI4uiEXT(disp)) parameters
11797static INLINE _glptr_VertexAttribI4uiEXT GET_VertexAttribI4uiEXT(struct _glapi_table *disp) {
11798 return (_glptr_VertexAttribI4uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uiEXT));
11799}
11800
11801static INLINE void SET_VertexAttribI4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011802 SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn);
11803}
11804
José Fonseca075d2bf2011-05-19 17:44:06 +010011805typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT)(GLuint, const GLuint *);
11806#define CALL_VertexAttribI4uivEXT(disp, parameters) \
11807 (* GET_VertexAttribI4uivEXT(disp)) parameters
11808static INLINE _glptr_VertexAttribI4uivEXT GET_VertexAttribI4uivEXT(struct _glapi_table *disp) {
11809 return (_glptr_VertexAttribI4uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uivEXT));
11810}
11811
11812static INLINE void SET_VertexAttribI4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011813 SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn);
11814}
11815
José Fonseca075d2bf2011-05-19 17:44:06 +010011816typedef void (GLAPIENTRYP _glptr_VertexAttribI4usvEXT)(GLuint, const GLushort *);
11817#define CALL_VertexAttribI4usvEXT(disp, parameters) \
11818 (* GET_VertexAttribI4usvEXT(disp)) parameters
11819static INLINE _glptr_VertexAttribI4usvEXT GET_VertexAttribI4usvEXT(struct _glapi_table *disp) {
11820 return (_glptr_VertexAttribI4usvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4usvEXT));
11821}
11822
11823static INLINE void SET_VertexAttribI4usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011824 SET_by_offset(disp, _gloffset_VertexAttribI4usvEXT, fn);
11825}
11826
José Fonseca075d2bf2011-05-19 17:44:06 +010011827typedef void (GLAPIENTRYP _glptr_VertexAttribIPointerEXT)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
11828#define CALL_VertexAttribIPointerEXT(disp, parameters) \
11829 (* GET_VertexAttribIPointerEXT(disp)) parameters
11830static INLINE _glptr_VertexAttribIPointerEXT GET_VertexAttribIPointerEXT(struct _glapi_table *disp) {
11831 return (_glptr_VertexAttribIPointerEXT) (GET_by_offset(disp, _gloffset_VertexAttribIPointerEXT));
11832}
11833
11834static INLINE void SET_VertexAttribIPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011835 SET_by_offset(disp, _gloffset_VertexAttribIPointerEXT, fn);
11836}
11837
José Fonseca075d2bf2011-05-19 17:44:06 +010011838typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayerEXT)(GLenum, GLenum, GLuint, GLint, GLint);
11839#define CALL_FramebufferTextureLayerEXT(disp, parameters) \
11840 (* GET_FramebufferTextureLayerEXT(disp)) parameters
11841static INLINE _glptr_FramebufferTextureLayerEXT GET_FramebufferTextureLayerEXT(struct _glapi_table *disp) {
11842 return (_glptr_FramebufferTextureLayerEXT) (GET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT));
11843}
11844
11845static INLINE void SET_FramebufferTextureLayerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011846 SET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT, fn);
11847}
11848
José Fonseca075d2bf2011-05-19 17:44:06 +010011849typedef void (GLAPIENTRYP _glptr_ColorMaskIndexedEXT)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
11850#define CALL_ColorMaskIndexedEXT(disp, parameters) \
11851 (* GET_ColorMaskIndexedEXT(disp)) parameters
11852static INLINE _glptr_ColorMaskIndexedEXT GET_ColorMaskIndexedEXT(struct _glapi_table *disp) {
11853 return (_glptr_ColorMaskIndexedEXT) (GET_by_offset(disp, _gloffset_ColorMaskIndexedEXT));
11854}
11855
11856static INLINE void SET_ColorMaskIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011857 SET_by_offset(disp, _gloffset_ColorMaskIndexedEXT, fn);
11858}
11859
José Fonseca075d2bf2011-05-19 17:44:06 +010011860typedef void (GLAPIENTRYP _glptr_DisableIndexedEXT)(GLenum, GLuint);
11861#define CALL_DisableIndexedEXT(disp, parameters) \
11862 (* GET_DisableIndexedEXT(disp)) parameters
11863static INLINE _glptr_DisableIndexedEXT GET_DisableIndexedEXT(struct _glapi_table *disp) {
11864 return (_glptr_DisableIndexedEXT) (GET_by_offset(disp, _gloffset_DisableIndexedEXT));
11865}
11866
11867static INLINE void SET_DisableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011868 SET_by_offset(disp, _gloffset_DisableIndexedEXT, fn);
11869}
11870
José Fonseca075d2bf2011-05-19 17:44:06 +010011871typedef void (GLAPIENTRYP _glptr_EnableIndexedEXT)(GLenum, GLuint);
11872#define CALL_EnableIndexedEXT(disp, parameters) \
11873 (* GET_EnableIndexedEXT(disp)) parameters
11874static INLINE _glptr_EnableIndexedEXT GET_EnableIndexedEXT(struct _glapi_table *disp) {
11875 return (_glptr_EnableIndexedEXT) (GET_by_offset(disp, _gloffset_EnableIndexedEXT));
11876}
11877
11878static INLINE void SET_EnableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011879 SET_by_offset(disp, _gloffset_EnableIndexedEXT, fn);
11880}
11881
José Fonseca075d2bf2011-05-19 17:44:06 +010011882typedef void (GLAPIENTRYP _glptr_GetBooleanIndexedvEXT)(GLenum, GLuint, GLboolean *);
11883#define CALL_GetBooleanIndexedvEXT(disp, parameters) \
11884 (* GET_GetBooleanIndexedvEXT(disp)) parameters
11885static INLINE _glptr_GetBooleanIndexedvEXT GET_GetBooleanIndexedvEXT(struct _glapi_table *disp) {
11886 return (_glptr_GetBooleanIndexedvEXT) (GET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT));
11887}
11888
11889static INLINE void SET_GetBooleanIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLboolean *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011890 SET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT, fn);
11891}
11892
José Fonseca075d2bf2011-05-19 17:44:06 +010011893typedef void (GLAPIENTRYP _glptr_GetIntegerIndexedvEXT)(GLenum, GLuint, GLint *);
11894#define CALL_GetIntegerIndexedvEXT(disp, parameters) \
11895 (* GET_GetIntegerIndexedvEXT(disp)) parameters
11896static INLINE _glptr_GetIntegerIndexedvEXT GET_GetIntegerIndexedvEXT(struct _glapi_table *disp) {
11897 return (_glptr_GetIntegerIndexedvEXT) (GET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT));
11898}
11899
11900static INLINE void SET_GetIntegerIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011901 SET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT, fn);
11902}
11903
José Fonseca075d2bf2011-05-19 17:44:06 +010011904typedef GLboolean (GLAPIENTRYP _glptr_IsEnabledIndexedEXT)(GLenum, GLuint);
11905#define CALL_IsEnabledIndexedEXT(disp, parameters) \
11906 (* GET_IsEnabledIndexedEXT(disp)) parameters
11907static INLINE _glptr_IsEnabledIndexedEXT GET_IsEnabledIndexedEXT(struct _glapi_table *disp) {
11908 return (_glptr_IsEnabledIndexedEXT) (GET_by_offset(disp, _gloffset_IsEnabledIndexedEXT));
11909}
11910
11911static INLINE void SET_IsEnabledIndexedEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011912 SET_by_offset(disp, _gloffset_IsEnabledIndexedEXT, fn);
11913}
11914
José Fonseca075d2bf2011-05-19 17:44:06 +010011915typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT)(GLint, GLint, GLint, GLint);
11916#define CALL_ClearColorIiEXT(disp, parameters) \
11917 (* GET_ClearColorIiEXT(disp)) parameters
11918static INLINE _glptr_ClearColorIiEXT GET_ClearColorIiEXT(struct _glapi_table *disp) {
11919 return (_glptr_ClearColorIiEXT) (GET_by_offset(disp, _gloffset_ClearColorIiEXT));
11920}
11921
11922static INLINE void SET_ClearColorIiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011923 SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn);
11924}
11925
José Fonseca075d2bf2011-05-19 17:44:06 +010011926typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT)(GLuint, GLuint, GLuint, GLuint);
11927#define CALL_ClearColorIuiEXT(disp, parameters) \
11928 (* GET_ClearColorIuiEXT(disp)) parameters
11929static INLINE _glptr_ClearColorIuiEXT GET_ClearColorIuiEXT(struct _glapi_table *disp) {
11930 return (_glptr_ClearColorIuiEXT) (GET_by_offset(disp, _gloffset_ClearColorIuiEXT));
11931}
11932
11933static INLINE void SET_ClearColorIuiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011934 SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn);
11935}
11936
José Fonseca075d2bf2011-05-19 17:44:06 +010011937typedef void (GLAPIENTRYP _glptr_GetTexParameterIivEXT)(GLenum, GLenum, GLint *);
11938#define CALL_GetTexParameterIivEXT(disp, parameters) \
11939 (* GET_GetTexParameterIivEXT(disp)) parameters
11940static INLINE _glptr_GetTexParameterIivEXT GET_GetTexParameterIivEXT(struct _glapi_table *disp) {
11941 return (_glptr_GetTexParameterIivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIivEXT));
11942}
11943
11944static INLINE void SET_GetTexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011945 SET_by_offset(disp, _gloffset_GetTexParameterIivEXT, fn);
11946}
11947
José Fonseca075d2bf2011-05-19 17:44:06 +010011948typedef void (GLAPIENTRYP _glptr_GetTexParameterIuivEXT)(GLenum, GLenum, GLuint *);
11949#define CALL_GetTexParameterIuivEXT(disp, parameters) \
11950 (* GET_GetTexParameterIuivEXT(disp)) parameters
11951static INLINE _glptr_GetTexParameterIuivEXT GET_GetTexParameterIuivEXT(struct _glapi_table *disp) {
11952 return (_glptr_GetTexParameterIuivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIuivEXT));
11953}
11954
11955static INLINE void SET_GetTexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011956 SET_by_offset(disp, _gloffset_GetTexParameterIuivEXT, fn);
11957}
11958
José Fonseca075d2bf2011-05-19 17:44:06 +010011959typedef void (GLAPIENTRYP _glptr_TexParameterIivEXT)(GLenum, GLenum, const GLint *);
11960#define CALL_TexParameterIivEXT(disp, parameters) \
11961 (* GET_TexParameterIivEXT(disp)) parameters
11962static INLINE _glptr_TexParameterIivEXT GET_TexParameterIivEXT(struct _glapi_table *disp) {
11963 return (_glptr_TexParameterIivEXT) (GET_by_offset(disp, _gloffset_TexParameterIivEXT));
11964}
11965
11966static INLINE void SET_TexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011967 SET_by_offset(disp, _gloffset_TexParameterIivEXT, fn);
11968}
11969
José Fonseca075d2bf2011-05-19 17:44:06 +010011970typedef void (GLAPIENTRYP _glptr_TexParameterIuivEXT)(GLenum, GLenum, const GLuint *);
11971#define CALL_TexParameterIuivEXT(disp, parameters) \
11972 (* GET_TexParameterIuivEXT(disp)) parameters
11973static INLINE _glptr_TexParameterIuivEXT GET_TexParameterIuivEXT(struct _glapi_table *disp) {
11974 return (_glptr_TexParameterIuivEXT) (GET_by_offset(disp, _gloffset_TexParameterIuivEXT));
11975}
11976
11977static INLINE void SET_TexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011978 SET_by_offset(disp, _gloffset_TexParameterIuivEXT, fn);
11979}
11980
José Fonseca075d2bf2011-05-19 17:44:06 +010011981typedef void (GLAPIENTRYP _glptr_BeginConditionalRenderNV)(GLuint, GLenum);
11982#define CALL_BeginConditionalRenderNV(disp, parameters) \
11983 (* GET_BeginConditionalRenderNV(disp)) parameters
11984static INLINE _glptr_BeginConditionalRenderNV GET_BeginConditionalRenderNV(struct _glapi_table *disp) {
11985 return (_glptr_BeginConditionalRenderNV) (GET_by_offset(disp, _gloffset_BeginConditionalRenderNV));
11986}
11987
11988static INLINE void SET_BeginConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010011989 SET_by_offset(disp, _gloffset_BeginConditionalRenderNV, fn);
11990}
11991
José Fonseca075d2bf2011-05-19 17:44:06 +010011992typedef void (GLAPIENTRYP _glptr_EndConditionalRenderNV)(void);
11993#define CALL_EndConditionalRenderNV(disp, parameters) \
11994 (* GET_EndConditionalRenderNV(disp)) parameters
11995static INLINE _glptr_EndConditionalRenderNV GET_EndConditionalRenderNV(struct _glapi_table *disp) {
11996 return (_glptr_EndConditionalRenderNV) (GET_by_offset(disp, _gloffset_EndConditionalRenderNV));
11997}
11998
11999static INLINE void SET_EndConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012000 SET_by_offset(disp, _gloffset_EndConditionalRenderNV, fn);
12001}
12002
José Fonseca075d2bf2011-05-19 17:44:06 +010012003typedef void (GLAPIENTRYP _glptr_BeginTransformFeedbackEXT)(GLenum);
12004#define CALL_BeginTransformFeedbackEXT(disp, parameters) \
12005 (* GET_BeginTransformFeedbackEXT(disp)) parameters
12006static INLINE _glptr_BeginTransformFeedbackEXT GET_BeginTransformFeedbackEXT(struct _glapi_table *disp) {
12007 return (_glptr_BeginTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT));
12008}
12009
12010static INLINE void SET_BeginTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012011 SET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT, fn);
12012}
12013
José Fonseca075d2bf2011-05-19 17:44:06 +010012014typedef void (GLAPIENTRYP _glptr_BindBufferBaseEXT)(GLenum, GLuint, GLuint);
12015#define CALL_BindBufferBaseEXT(disp, parameters) \
12016 (* GET_BindBufferBaseEXT(disp)) parameters
12017static INLINE _glptr_BindBufferBaseEXT GET_BindBufferBaseEXT(struct _glapi_table *disp) {
12018 return (_glptr_BindBufferBaseEXT) (GET_by_offset(disp, _gloffset_BindBufferBaseEXT));
12019}
12020
12021static INLINE void SET_BindBufferBaseEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012022 SET_by_offset(disp, _gloffset_BindBufferBaseEXT, fn);
12023}
12024
José Fonseca075d2bf2011-05-19 17:44:06 +010012025typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr);
12026#define CALL_BindBufferOffsetEXT(disp, parameters) \
12027 (* GET_BindBufferOffsetEXT(disp)) parameters
12028static INLINE _glptr_BindBufferOffsetEXT GET_BindBufferOffsetEXT(struct _glapi_table *disp) {
12029 return (_glptr_BindBufferOffsetEXT) (GET_by_offset(disp, _gloffset_BindBufferOffsetEXT));
12030}
12031
12032static INLINE void SET_BindBufferOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012033 SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn);
12034}
12035
José Fonseca075d2bf2011-05-19 17:44:06 +010012036typedef void (GLAPIENTRYP _glptr_BindBufferRangeEXT)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
12037#define CALL_BindBufferRangeEXT(disp, parameters) \
12038 (* GET_BindBufferRangeEXT(disp)) parameters
12039static INLINE _glptr_BindBufferRangeEXT GET_BindBufferRangeEXT(struct _glapi_table *disp) {
12040 return (_glptr_BindBufferRangeEXT) (GET_by_offset(disp, _gloffset_BindBufferRangeEXT));
12041}
12042
12043static INLINE void SET_BindBufferRangeEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012044 SET_by_offset(disp, _gloffset_BindBufferRangeEXT, fn);
12045}
12046
José Fonseca075d2bf2011-05-19 17:44:06 +010012047typedef void (GLAPIENTRYP _glptr_EndTransformFeedbackEXT)(void);
12048#define CALL_EndTransformFeedbackEXT(disp, parameters) \
12049 (* GET_EndTransformFeedbackEXT(disp)) parameters
12050static INLINE _glptr_EndTransformFeedbackEXT GET_EndTransformFeedbackEXT(struct _glapi_table *disp) {
12051 return (_glptr_EndTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_EndTransformFeedbackEXT));
12052}
12053
12054static INLINE void SET_EndTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012055 SET_by_offset(disp, _gloffset_EndTransformFeedbackEXT, fn);
12056}
12057
José Fonseca075d2bf2011-05-19 17:44:06 +010012058typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVaryingEXT)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
12059#define CALL_GetTransformFeedbackVaryingEXT(disp, parameters) \
12060 (* GET_GetTransformFeedbackVaryingEXT(disp)) parameters
12061static INLINE _glptr_GetTransformFeedbackVaryingEXT GET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp) {
12062 return (_glptr_GetTransformFeedbackVaryingEXT) (GET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT));
12063}
12064
12065static INLINE void SET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012066 SET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT, fn);
12067}
12068
José Fonseca075d2bf2011-05-19 17:44:06 +010012069typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryingsEXT)(GLuint, GLsizei, const char **, GLenum);
12070#define CALL_TransformFeedbackVaryingsEXT(disp, parameters) \
12071 (* GET_TransformFeedbackVaryingsEXT(disp)) parameters
12072static INLINE _glptr_TransformFeedbackVaryingsEXT GET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp) {
12073 return (_glptr_TransformFeedbackVaryingsEXT) (GET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT));
12074}
12075
12076static INLINE void SET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const char **, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012077 SET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT, fn);
12078}
12079
José Fonseca075d2bf2011-05-19 17:44:06 +010012080typedef void (GLAPIENTRYP _glptr_ProvokingVertexEXT)(GLenum);
12081#define CALL_ProvokingVertexEXT(disp, parameters) \
12082 (* GET_ProvokingVertexEXT(disp)) parameters
12083static INLINE _glptr_ProvokingVertexEXT GET_ProvokingVertexEXT(struct _glapi_table *disp) {
12084 return (_glptr_ProvokingVertexEXT) (GET_by_offset(disp, _gloffset_ProvokingVertexEXT));
12085}
12086
12087static INLINE void SET_ProvokingVertexEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012088 SET_by_offset(disp, _gloffset_ProvokingVertexEXT, fn);
12089}
12090
José Fonseca075d2bf2011-05-19 17:44:06 +010012091typedef void (GLAPIENTRYP _glptr_GetTexParameterPointervAPPLE)(GLenum, GLenum, GLvoid **);
12092#define CALL_GetTexParameterPointervAPPLE(disp, parameters) \
12093 (* GET_GetTexParameterPointervAPPLE(disp)) parameters
12094static INLINE _glptr_GetTexParameterPointervAPPLE GET_GetTexParameterPointervAPPLE(struct _glapi_table *disp) {
12095 return (_glptr_GetTexParameterPointervAPPLE) (GET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE));
12096}
12097
12098static INLINE void SET_GetTexParameterPointervAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012099 SET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE, fn);
12100}
12101
José Fonseca075d2bf2011-05-19 17:44:06 +010012102typedef void (GLAPIENTRYP _glptr_TextureRangeAPPLE)(GLenum, GLsizei, GLvoid *);
12103#define CALL_TextureRangeAPPLE(disp, parameters) \
12104 (* GET_TextureRangeAPPLE(disp)) parameters
12105static INLINE _glptr_TextureRangeAPPLE GET_TextureRangeAPPLE(struct _glapi_table *disp) {
12106 return (_glptr_TextureRangeAPPLE) (GET_by_offset(disp, _gloffset_TextureRangeAPPLE));
12107}
12108
12109static INLINE void SET_TextureRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012110 SET_by_offset(disp, _gloffset_TextureRangeAPPLE, fn);
12111}
12112
José Fonseca075d2bf2011-05-19 17:44:06 +010012113typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE)(GLenum, GLuint, GLenum, GLint *);
12114#define CALL_GetObjectParameterivAPPLE(disp, parameters) \
12115 (* GET_GetObjectParameterivAPPLE(disp)) parameters
12116static INLINE _glptr_GetObjectParameterivAPPLE GET_GetObjectParameterivAPPLE(struct _glapi_table *disp) {
12117 return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE));
12118}
12119
12120static INLINE void SET_GetObjectParameterivAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012121 SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn);
12122}
12123
José Fonseca075d2bf2011-05-19 17:44:06 +010012124typedef GLenum (GLAPIENTRYP _glptr_ObjectPurgeableAPPLE)(GLenum, GLuint, GLenum);
12125#define CALL_ObjectPurgeableAPPLE(disp, parameters) \
12126 (* GET_ObjectPurgeableAPPLE(disp)) parameters
12127static INLINE _glptr_ObjectPurgeableAPPLE GET_ObjectPurgeableAPPLE(struct _glapi_table *disp) {
12128 return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE));
12129}
12130
12131static INLINE void SET_ObjectPurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012132 SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn);
12133}
12134
José Fonseca075d2bf2011-05-19 17:44:06 +010012135typedef GLenum (GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE)(GLenum, GLuint, GLenum);
12136#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) \
12137 (* GET_ObjectUnpurgeableAPPLE(disp)) parameters
12138static INLINE _glptr_ObjectUnpurgeableAPPLE GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp) {
12139 return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE));
12140}
12141
12142static INLINE void SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012143 SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn);
12144}
12145
José Fonseca075d2bf2011-05-19 17:44:06 +010012146typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT)(GLuint);
12147#define CALL_ActiveProgramEXT(disp, parameters) \
12148 (* GET_ActiveProgramEXT(disp)) parameters
12149static INLINE _glptr_ActiveProgramEXT GET_ActiveProgramEXT(struct _glapi_table *disp) {
12150 return (_glptr_ActiveProgramEXT) (GET_by_offset(disp, _gloffset_ActiveProgramEXT));
12151}
12152
12153static INLINE void SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012154 SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn);
12155}
12156
José Fonseca075d2bf2011-05-19 17:44:06 +010012157typedef GLuint (GLAPIENTRYP _glptr_CreateShaderProgramEXT)(GLenum, const GLchar *);
12158#define CALL_CreateShaderProgramEXT(disp, parameters) \
12159 (* GET_CreateShaderProgramEXT(disp)) parameters
12160static INLINE _glptr_CreateShaderProgramEXT GET_CreateShaderProgramEXT(struct _glapi_table *disp) {
12161 return (_glptr_CreateShaderProgramEXT) (GET_by_offset(disp, _gloffset_CreateShaderProgramEXT));
12162}
12163
12164static INLINE void SET_CreateShaderProgramEXT(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum, const GLchar *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012165 SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn);
12166}
12167
José Fonseca075d2bf2011-05-19 17:44:06 +010012168typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT)(GLenum, GLuint);
12169#define CALL_UseShaderProgramEXT(disp, parameters) \
12170 (* GET_UseShaderProgramEXT(disp)) parameters
12171static INLINE _glptr_UseShaderProgramEXT GET_UseShaderProgramEXT(struct _glapi_table *disp) {
12172 return (_glptr_UseShaderProgramEXT) (GET_by_offset(disp, _gloffset_UseShaderProgramEXT));
12173}
12174
12175static INLINE void SET_UseShaderProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012176 SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn);
12177}
12178
José Fonseca075d2bf2011-05-19 17:44:06 +010012179typedef void (GLAPIENTRYP _glptr_TextureBarrierNV)(void);
12180#define CALL_TextureBarrierNV(disp, parameters) \
12181 (* GET_TextureBarrierNV(disp)) parameters
12182static INLINE _glptr_TextureBarrierNV GET_TextureBarrierNV(struct _glapi_table *disp) {
12183 return (_glptr_TextureBarrierNV) (GET_by_offset(disp, _gloffset_TextureBarrierNV));
12184}
12185
12186static INLINE void SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012187 SET_by_offset(disp, _gloffset_TextureBarrierNV, fn);
12188}
12189
José Fonseca075d2bf2011-05-19 17:44:06 +010012190typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint);
12191#define CALL_StencilFuncSeparateATI(disp, parameters) \
12192 (* GET_StencilFuncSeparateATI(disp)) parameters
12193static INLINE _glptr_StencilFuncSeparateATI GET_StencilFuncSeparateATI(struct _glapi_table *disp) {
12194 return (_glptr_StencilFuncSeparateATI) (GET_by_offset(disp, _gloffset_StencilFuncSeparateATI));
12195}
12196
12197static INLINE void SET_StencilFuncSeparateATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012198 SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn);
12199}
12200
José Fonseca075d2bf2011-05-19 17:44:06 +010012201typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
12202#define CALL_ProgramEnvParameters4fvEXT(disp, parameters) \
12203 (* GET_ProgramEnvParameters4fvEXT(disp)) parameters
12204static INLINE _glptr_ProgramEnvParameters4fvEXT GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp) {
12205 return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT));
12206}
12207
12208static INLINE void SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012209 SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn);
12210}
12211
José Fonseca075d2bf2011-05-19 17:44:06 +010012212typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
12213#define CALL_ProgramLocalParameters4fvEXT(disp, parameters) \
12214 (* GET_ProgramLocalParameters4fvEXT(disp)) parameters
12215static INLINE _glptr_ProgramLocalParameters4fvEXT GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp) {
12216 return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT));
12217}
12218
12219static INLINE void SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012220 SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn);
12221}
12222
José Fonseca075d2bf2011-05-19 17:44:06 +010012223typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64vEXT)(GLuint, GLenum, GLint64EXT *);
12224#define CALL_GetQueryObjecti64vEXT(disp, parameters) \
12225 (* GET_GetQueryObjecti64vEXT(disp)) parameters
12226static INLINE _glptr_GetQueryObjecti64vEXT GET_GetQueryObjecti64vEXT(struct _glapi_table *disp) {
12227 return (_glptr_GetQueryObjecti64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT));
12228}
12229
12230static INLINE void SET_GetQueryObjecti64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint64EXT *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012231 SET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT, fn);
12232}
12233
José Fonseca075d2bf2011-05-19 17:44:06 +010012234typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64vEXT)(GLuint, GLenum, GLuint64EXT *);
12235#define CALL_GetQueryObjectui64vEXT(disp, parameters) \
12236 (* GET_GetQueryObjectui64vEXT(disp)) parameters
12237static INLINE _glptr_GetQueryObjectui64vEXT GET_GetQueryObjectui64vEXT(struct _glapi_table *disp) {
12238 return (_glptr_GetQueryObjectui64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT));
12239}
12240
12241static INLINE void SET_GetQueryObjectui64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint64EXT *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012242 SET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT, fn);
12243}
12244
José Fonseca075d2bf2011-05-19 17:44:06 +010012245typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *);
12246#define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \
12247 (* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters
12248static INLINE _glptr_EGLImageTargetRenderbufferStorageOES GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) {
12249 return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES));
12250}
12251
12252static INLINE void SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012253 SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn);
12254}
12255
José Fonseca075d2bf2011-05-19 17:44:06 +010012256typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *);
12257#define CALL_EGLImageTargetTexture2DOES(disp, parameters) \
12258 (* GET_EGLImageTargetTexture2DOES(disp)) parameters
12259static INLINE _glptr_EGLImageTargetTexture2DOES GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) {
12260 return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES));
12261}
12262
12263static INLINE void SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
José Fonsecaec4dfc22011-05-19 16:49:49 +010012264 SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn);
12265}
12266
Chia-I Wu22884db2009-10-16 16:01:57 +080012267
12268#endif /* !defined( _GLAPI_DISPATCH_H_ ) */