1
/* DO NOT EDIT - This file generated automatically by gl_table.py (from Mesa) script */
4
* (C) Copyright IBM Corporation 2005
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:
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
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
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
28
#if !defined( _DISPATCH_H_ )
33
* \file main/dispatch.h
34
* Macros for handling GL dispatch tables.
36
* For each known GL function, there are 3 macros in this file. The first
37
* macro is named CALL_FuncName and is used to call that GL function using
38
* the specified dispatch table. The other 2 macros, called GET_FuncName
39
* can SET_FuncName, are used to get and set the dispatch pointer for the
40
* named function in the specified dispatch table.
43
/* GLXEXT is defined when building the GLX extension in the xserver.
46
#include "main/mfeatures.h"
49
#define CALL_by_offset(disp, cast, offset, parameters) \
50
(*(cast (GET_by_offset(disp, offset)))) parameters
51
#define GET_by_offset(disp, offset) \
52
(offset >= 0) ? (((_glapi_proc *)(disp))[offset]) : NULL
53
#define SET_by_offset(disp, offset, fn) \
55
if ( (offset) < 0 ) { \
56
/* fprintf( stderr, "[%s:%u] SET_by_offset(%p, %d, %s)!\n", */ \
57
/* __func__, __LINE__, disp, offset, # fn); */ \
61
( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \
65
/* total number of offsets below */
66
#define _gloffset_COUNT 188
68
#define _gloffset_Color4f 29
69
#define _gloffset_Color4ub 35
70
#define _gloffset_Normal3f 56
71
#define _gloffset_CullFace 152
72
#define _gloffset_Fogf 153
73
#define _gloffset_Fogfv 154
74
#define _gloffset_FrontFace 157
75
#define _gloffset_Hint 158
76
#define _gloffset_Lightf 159
77
#define _gloffset_Lightfv 160
78
#define _gloffset_LightModelf 163
79
#define _gloffset_LightModelfv 164
80
#define _gloffset_LineWidth 168
81
#define _gloffset_Materialf 169
82
#define _gloffset_Materialfv 170
83
#define _gloffset_PointSize 173
84
#define _gloffset_Scissor 176
85
#define _gloffset_ShadeModel 177
86
#define _gloffset_TexParameterf 178
87
#define _gloffset_TexParameterfv 179
88
#define _gloffset_TexParameteri 180
89
#define _gloffset_TexParameteriv 181
90
#define _gloffset_TexImage2D 183
91
#define _gloffset_TexEnvf 184
92
#define _gloffset_TexEnvfv 185
93
#define _gloffset_TexEnvi 186
94
#define _gloffset_TexEnviv 187
95
#define _gloffset_TexGenfOES 190
96
#define _gloffset_TexGenfvOES 191
97
#define _gloffset_TexGeniOES 192
98
#define _gloffset_TexGenivOES 193
99
#define _gloffset_Clear 203
100
#define _gloffset_ClearColor 206
101
#define _gloffset_ClearStencil 207
102
#define _gloffset_StencilMask 209
103
#define _gloffset_ColorMask 210
104
#define _gloffset_DepthMask 211
105
#define _gloffset_Disable 214
106
#define _gloffset_Enable 215
107
#define _gloffset_Finish 216
108
#define _gloffset_Flush 217
109
#define _gloffset_AlphaFunc 240
110
#define _gloffset_BlendFunc 241
111
#define _gloffset_LogicOp 242
112
#define _gloffset_StencilFunc 243
113
#define _gloffset_StencilOp 244
114
#define _gloffset_DepthFunc 245
115
#define _gloffset_PixelStorei 250
116
#define _gloffset_ReadPixels 256
117
#define _gloffset_GetBooleanv 258
118
#define _gloffset_GetError 261
119
#define _gloffset_GetFloatv 262
120
#define _gloffset_GetIntegerv 263
121
#define _gloffset_GetLightfv 264
122
#define _gloffset_GetMaterialfv 269
123
#define _gloffset_GetString 275
124
#define _gloffset_GetTexEnvfv 276
125
#define _gloffset_GetTexEnviv 277
126
#define _gloffset_GetTexGenfvOES 279
127
#define _gloffset_GetTexGenivOES 280
128
#define _gloffset_GetTexParameterfv 282
129
#define _gloffset_GetTexParameteriv 283
130
#define _gloffset_IsEnabled 286
131
#define _gloffset_LoadIdentity 290
132
#define _gloffset_LoadMatrixf 291
133
#define _gloffset_MatrixMode 293
134
#define _gloffset_MultMatrixf 294
135
#define _gloffset_PopMatrix 297
136
#define _gloffset_PushMatrix 298
137
#define _gloffset_Rotatef 300
138
#define _gloffset_Scalef 302
139
#define _gloffset_Translatef 304
140
#define _gloffset_Viewport 305
141
#define _gloffset_BindTexture 307
142
#define _gloffset_ColorPointer 308
143
#define _gloffset_DisableClientState 309
144
#define _gloffset_DrawArrays 310
145
#define _gloffset_DrawElements 311
146
#define _gloffset_EnableClientState 313
147
#define _gloffset_NormalPointer 318
148
#define _gloffset_PolygonOffset 319
149
#define _gloffset_TexCoordPointer 320
150
#define _gloffset_VertexPointer 321
151
#define _gloffset_CopyTexImage2D 324
152
#define _gloffset_CopyTexSubImage2D 326
153
#define _gloffset_DeleteTextures 327
154
#define _gloffset_GenTextures 328
155
#define _gloffset_GetPointerv 329
156
#define _gloffset_IsTexture 330
157
#define _gloffset_TexSubImage2D 333
158
#define _gloffset_BlendEquationOES 337
159
#define _gloffset_ActiveTexture 374
160
#define _gloffset_ClientActiveTexture 375
161
#define _gloffset_MultiTexCoord4f 402
163
#if !FEATURE_remap_table
165
#define _gloffset_SampleCoverage 445
166
#define _gloffset_CompressedTexImage2D 447
167
#define _gloffset_CompressedTexSubImage2D 450
168
#define _gloffset_BindBuffer 510
169
#define _gloffset_BufferData 511
170
#define _gloffset_BufferSubData 512
171
#define _gloffset_DeleteBuffers 513
172
#define _gloffset_GenBuffers 514
173
#define _gloffset_GetBufferParameteriv 515
174
#define _gloffset_GetBufferPointervOES 516
175
#define _gloffset_IsBuffer 518
176
#define _gloffset_MapBufferOES 519
177
#define _gloffset_UnmapBufferOES 520
178
#define _gloffset_ClearDepthf 660
179
#define _gloffset_DepthRangef 661
180
#define _gloffset_DrawTexfOES 695
181
#define _gloffset_DrawTexfvOES 696
182
#define _gloffset_DrawTexiOES 697
183
#define _gloffset_DrawTexivOES 698
184
#define _gloffset_DrawTexsOES 699
185
#define _gloffset_DrawTexsvOES 700
186
#define _gloffset_DrawTexxOES 701
187
#define _gloffset_DrawTexxvOES 702
188
#define _gloffset_PointSizePointerOES 703
189
#define _gloffset_QueryMatrixxOES 710
190
#define _gloffset_PointParameterf 719
191
#define _gloffset_PointParameterfv 720
192
#define _gloffset_MultiDrawArraysEXT 740
193
#define _gloffset_MultiDrawElementsEXT 741
194
#define _gloffset_BlendFuncSeparateOES 748
195
#define _gloffset_AlphaFuncxOES 891
196
#define _gloffset_ClearColorxOES 892
197
#define _gloffset_ClearDepthxOES 893
198
#define _gloffset_ClipPlanexOES 894
199
#define _gloffset_Color4xOES 895
200
#define _gloffset_DepthRangexOES 896
201
#define _gloffset_FogxOES 897
202
#define _gloffset_FogxvOES 898
203
#define _gloffset_FrustumxOES 899
204
#define _gloffset_GetClipPlanexOES 900
205
#define _gloffset_GetFixedvOES 901
206
#define _gloffset_GetLightxvOES 902
207
#define _gloffset_GetMaterialxvOES 903
208
#define _gloffset_GetTexEnvxvOES 904
209
#define _gloffset_GetTexGenxvOES 905
210
#define _gloffset_GetTexParameterxvOES 906
211
#define _gloffset_LightModelxOES 907
212
#define _gloffset_LightModelxvOES 908
213
#define _gloffset_LightxOES 909
214
#define _gloffset_LightxvOES 910
215
#define _gloffset_LineWidthxOES 911
216
#define _gloffset_LoadMatrixxOES 912
217
#define _gloffset_MaterialxOES 913
218
#define _gloffset_MaterialxvOES 914
219
#define _gloffset_MultMatrixxOES 915
220
#define _gloffset_MultiTexCoord4xOES 916
221
#define _gloffset_Normal3xOES 917
222
#define _gloffset_OrthoxOES 918
223
#define _gloffset_PointParameterxOES 919
224
#define _gloffset_PointParameterxvOES 920
225
#define _gloffset_PointSizexOES 921
226
#define _gloffset_PolygonOffsetxOES 922
227
#define _gloffset_RotatexOES 923
228
#define _gloffset_SampleCoveragexOES 924
229
#define _gloffset_ScalexOES 925
230
#define _gloffset_TexEnvxOES 926
231
#define _gloffset_TexEnvxvOES 927
232
#define _gloffset_TexGenxOES 928
233
#define _gloffset_TexGenxvOES 929
234
#define _gloffset_TexParameterxOES 930
235
#define _gloffset_TexParameterxvOES 931
236
#define _gloffset_TranslatexOES 932
237
#define _gloffset_ClipPlanefOES 933
238
#define _gloffset_FrustumfOES 934
239
#define _gloffset_GetClipPlanefOES 935
240
#define _gloffset_OrthofOES 936
241
#define _gloffset_BlendEquationSeparateOES 938
242
#define _gloffset_BindFramebufferOES 939
243
#define _gloffset_BindRenderbufferOES 940
244
#define _gloffset_CheckFramebufferStatusOES 941
245
#define _gloffset_DeleteFramebuffersOES 942
246
#define _gloffset_DeleteRenderbuffersOES 943
247
#define _gloffset_FramebufferRenderbufferOES 944
248
#define _gloffset_FramebufferTexture2DOES 946
249
#define _gloffset_GenFramebuffersOES 948
250
#define _gloffset_GenRenderbuffersOES 949
251
#define _gloffset_GenerateMipmapOES 950
252
#define _gloffset_GetFramebufferAttachmentParameterivOES 951
253
#define _gloffset_GetRenderbufferParameterivOES 952
254
#define _gloffset_IsFramebufferOES 953
255
#define _gloffset_IsRenderbufferOES 954
256
#define _gloffset_RenderbufferStorageOES 955
257
#define _gloffset_EGLImageTargetRenderbufferStorageOES 1030
258
#define _gloffset_EGLImageTargetTexture2DOES 1031
260
#else /* !FEATURE_remap_table */
262
#define esLocalRemapTable_size 94
263
static int esLocalRemapTable[ esLocalRemapTable_size ];
265
#define SampleCoverage_remap_index 0
266
#define CompressedTexImage2D_remap_index 1
267
#define CompressedTexSubImage2D_remap_index 2
268
#define BindBuffer_remap_index 3
269
#define BufferData_remap_index 4
270
#define BufferSubData_remap_index 5
271
#define DeleteBuffers_remap_index 6
272
#define GenBuffers_remap_index 7
273
#define GetBufferParameteriv_remap_index 8
274
#define GetBufferPointervOES_remap_index 9
275
#define IsBuffer_remap_index 10
276
#define MapBufferOES_remap_index 11
277
#define UnmapBufferOES_remap_index 12
278
#define ClearDepthf_remap_index 13
279
#define DepthRangef_remap_index 14
280
#define DrawTexfOES_remap_index 15
281
#define DrawTexfvOES_remap_index 16
282
#define DrawTexiOES_remap_index 17
283
#define DrawTexivOES_remap_index 18
284
#define DrawTexsOES_remap_index 19
285
#define DrawTexsvOES_remap_index 20
286
#define DrawTexxOES_remap_index 21
287
#define DrawTexxvOES_remap_index 22
288
#define PointSizePointerOES_remap_index 23
289
#define QueryMatrixxOES_remap_index 24
290
#define PointParameterf_remap_index 25
291
#define PointParameterfv_remap_index 26
292
#define MultiDrawArraysEXT_remap_index 27
293
#define MultiDrawElementsEXT_remap_index 28
294
#define BlendFuncSeparateOES_remap_index 29
295
#define AlphaFuncxOES_remap_index 30
296
#define ClearColorxOES_remap_index 31
297
#define ClearDepthxOES_remap_index 32
298
#define ClipPlanexOES_remap_index 33
299
#define Color4xOES_remap_index 34
300
#define DepthRangexOES_remap_index 35
301
#define FogxOES_remap_index 36
302
#define FogxvOES_remap_index 37
303
#define FrustumxOES_remap_index 38
304
#define GetClipPlanexOES_remap_index 39
305
#define GetFixedvOES_remap_index 40
306
#define GetLightxvOES_remap_index 41
307
#define GetMaterialxvOES_remap_index 42
308
#define GetTexEnvxvOES_remap_index 43
309
#define GetTexGenxvOES_remap_index 44
310
#define GetTexParameterxvOES_remap_index 45
311
#define LightModelxOES_remap_index 46
312
#define LightModelxvOES_remap_index 47
313
#define LightxOES_remap_index 48
314
#define LightxvOES_remap_index 49
315
#define LineWidthxOES_remap_index 50
316
#define LoadMatrixxOES_remap_index 51
317
#define MaterialxOES_remap_index 52
318
#define MaterialxvOES_remap_index 53
319
#define MultMatrixxOES_remap_index 54
320
#define MultiTexCoord4xOES_remap_index 55
321
#define Normal3xOES_remap_index 56
322
#define OrthoxOES_remap_index 57
323
#define PointParameterxOES_remap_index 58
324
#define PointParameterxvOES_remap_index 59
325
#define PointSizexOES_remap_index 60
326
#define PolygonOffsetxOES_remap_index 61
327
#define RotatexOES_remap_index 62
328
#define SampleCoveragexOES_remap_index 63
329
#define ScalexOES_remap_index 64
330
#define TexEnvxOES_remap_index 65
331
#define TexEnvxvOES_remap_index 66
332
#define TexGenxOES_remap_index 67
333
#define TexGenxvOES_remap_index 68
334
#define TexParameterxOES_remap_index 69
335
#define TexParameterxvOES_remap_index 70
336
#define TranslatexOES_remap_index 71
337
#define ClipPlanefOES_remap_index 72
338
#define FrustumfOES_remap_index 73
339
#define GetClipPlanefOES_remap_index 74
340
#define OrthofOES_remap_index 75
341
#define BlendEquationSeparateOES_remap_index 76
342
#define BindFramebufferOES_remap_index 77
343
#define BindRenderbufferOES_remap_index 78
344
#define CheckFramebufferStatusOES_remap_index 79
345
#define DeleteFramebuffersOES_remap_index 80
346
#define DeleteRenderbuffersOES_remap_index 81
347
#define FramebufferRenderbufferOES_remap_index 82
348
#define FramebufferTexture2DOES_remap_index 83
349
#define GenFramebuffersOES_remap_index 84
350
#define GenRenderbuffersOES_remap_index 85
351
#define GenerateMipmapOES_remap_index 86
352
#define GetFramebufferAttachmentParameterivOES_remap_index 87
353
#define GetRenderbufferParameterivOES_remap_index 88
354
#define IsFramebufferOES_remap_index 89
355
#define IsRenderbufferOES_remap_index 90
356
#define RenderbufferStorageOES_remap_index 91
357
#define EGLImageTargetRenderbufferStorageOES_remap_index 92
358
#define EGLImageTargetTexture2DOES_remap_index 93
360
#define _gloffset_SampleCoverage esLocalRemapTable[SampleCoverage_remap_index]
361
#define _gloffset_CompressedTexImage2D esLocalRemapTable[CompressedTexImage2D_remap_index]
362
#define _gloffset_CompressedTexSubImage2D esLocalRemapTable[CompressedTexSubImage2D_remap_index]
363
#define _gloffset_BindBuffer esLocalRemapTable[BindBuffer_remap_index]
364
#define _gloffset_BufferData esLocalRemapTable[BufferData_remap_index]
365
#define _gloffset_BufferSubData esLocalRemapTable[BufferSubData_remap_index]
366
#define _gloffset_DeleteBuffers esLocalRemapTable[DeleteBuffers_remap_index]
367
#define _gloffset_GenBuffers esLocalRemapTable[GenBuffers_remap_index]
368
#define _gloffset_GetBufferParameteriv esLocalRemapTable[GetBufferParameteriv_remap_index]
369
#define _gloffset_GetBufferPointervOES esLocalRemapTable[GetBufferPointervOES_remap_index]
370
#define _gloffset_IsBuffer esLocalRemapTable[IsBuffer_remap_index]
371
#define _gloffset_MapBufferOES esLocalRemapTable[MapBufferOES_remap_index]
372
#define _gloffset_UnmapBufferOES esLocalRemapTable[UnmapBufferOES_remap_index]
373
#define _gloffset_ClearDepthf esLocalRemapTable[ClearDepthf_remap_index]
374
#define _gloffset_DepthRangef esLocalRemapTable[DepthRangef_remap_index]
375
#define _gloffset_DrawTexfOES esLocalRemapTable[DrawTexfOES_remap_index]
376
#define _gloffset_DrawTexfvOES esLocalRemapTable[DrawTexfvOES_remap_index]
377
#define _gloffset_DrawTexiOES esLocalRemapTable[DrawTexiOES_remap_index]
378
#define _gloffset_DrawTexivOES esLocalRemapTable[DrawTexivOES_remap_index]
379
#define _gloffset_DrawTexsOES esLocalRemapTable[DrawTexsOES_remap_index]
380
#define _gloffset_DrawTexsvOES esLocalRemapTable[DrawTexsvOES_remap_index]
381
#define _gloffset_DrawTexxOES esLocalRemapTable[DrawTexxOES_remap_index]
382
#define _gloffset_DrawTexxvOES esLocalRemapTable[DrawTexxvOES_remap_index]
383
#define _gloffset_PointSizePointerOES esLocalRemapTable[PointSizePointerOES_remap_index]
384
#define _gloffset_QueryMatrixxOES esLocalRemapTable[QueryMatrixxOES_remap_index]
385
#define _gloffset_PointParameterf esLocalRemapTable[PointParameterf_remap_index]
386
#define _gloffset_PointParameterfv esLocalRemapTable[PointParameterfv_remap_index]
387
#define _gloffset_MultiDrawArraysEXT esLocalRemapTable[MultiDrawArraysEXT_remap_index]
388
#define _gloffset_MultiDrawElementsEXT esLocalRemapTable[MultiDrawElementsEXT_remap_index]
389
#define _gloffset_BlendFuncSeparateOES esLocalRemapTable[BlendFuncSeparateOES_remap_index]
390
#define _gloffset_AlphaFuncxOES esLocalRemapTable[AlphaFuncxOES_remap_index]
391
#define _gloffset_ClearColorxOES esLocalRemapTable[ClearColorxOES_remap_index]
392
#define _gloffset_ClearDepthxOES esLocalRemapTable[ClearDepthxOES_remap_index]
393
#define _gloffset_ClipPlanexOES esLocalRemapTable[ClipPlanexOES_remap_index]
394
#define _gloffset_Color4xOES esLocalRemapTable[Color4xOES_remap_index]
395
#define _gloffset_DepthRangexOES esLocalRemapTable[DepthRangexOES_remap_index]
396
#define _gloffset_FogxOES esLocalRemapTable[FogxOES_remap_index]
397
#define _gloffset_FogxvOES esLocalRemapTable[FogxvOES_remap_index]
398
#define _gloffset_FrustumxOES esLocalRemapTable[FrustumxOES_remap_index]
399
#define _gloffset_GetClipPlanexOES esLocalRemapTable[GetClipPlanexOES_remap_index]
400
#define _gloffset_GetFixedvOES esLocalRemapTable[GetFixedvOES_remap_index]
401
#define _gloffset_GetLightxvOES esLocalRemapTable[GetLightxvOES_remap_index]
402
#define _gloffset_GetMaterialxvOES esLocalRemapTable[GetMaterialxvOES_remap_index]
403
#define _gloffset_GetTexEnvxvOES esLocalRemapTable[GetTexEnvxvOES_remap_index]
404
#define _gloffset_GetTexGenxvOES esLocalRemapTable[GetTexGenxvOES_remap_index]
405
#define _gloffset_GetTexParameterxvOES esLocalRemapTable[GetTexParameterxvOES_remap_index]
406
#define _gloffset_LightModelxOES esLocalRemapTable[LightModelxOES_remap_index]
407
#define _gloffset_LightModelxvOES esLocalRemapTable[LightModelxvOES_remap_index]
408
#define _gloffset_LightxOES esLocalRemapTable[LightxOES_remap_index]
409
#define _gloffset_LightxvOES esLocalRemapTable[LightxvOES_remap_index]
410
#define _gloffset_LineWidthxOES esLocalRemapTable[LineWidthxOES_remap_index]
411
#define _gloffset_LoadMatrixxOES esLocalRemapTable[LoadMatrixxOES_remap_index]
412
#define _gloffset_MaterialxOES esLocalRemapTable[MaterialxOES_remap_index]
413
#define _gloffset_MaterialxvOES esLocalRemapTable[MaterialxvOES_remap_index]
414
#define _gloffset_MultMatrixxOES esLocalRemapTable[MultMatrixxOES_remap_index]
415
#define _gloffset_MultiTexCoord4xOES esLocalRemapTable[MultiTexCoord4xOES_remap_index]
416
#define _gloffset_Normal3xOES esLocalRemapTable[Normal3xOES_remap_index]
417
#define _gloffset_OrthoxOES esLocalRemapTable[OrthoxOES_remap_index]
418
#define _gloffset_PointParameterxOES esLocalRemapTable[PointParameterxOES_remap_index]
419
#define _gloffset_PointParameterxvOES esLocalRemapTable[PointParameterxvOES_remap_index]
420
#define _gloffset_PointSizexOES esLocalRemapTable[PointSizexOES_remap_index]
421
#define _gloffset_PolygonOffsetxOES esLocalRemapTable[PolygonOffsetxOES_remap_index]
422
#define _gloffset_RotatexOES esLocalRemapTable[RotatexOES_remap_index]
423
#define _gloffset_SampleCoveragexOES esLocalRemapTable[SampleCoveragexOES_remap_index]
424
#define _gloffset_ScalexOES esLocalRemapTable[ScalexOES_remap_index]
425
#define _gloffset_TexEnvxOES esLocalRemapTable[TexEnvxOES_remap_index]
426
#define _gloffset_TexEnvxvOES esLocalRemapTable[TexEnvxvOES_remap_index]
427
#define _gloffset_TexGenxOES esLocalRemapTable[TexGenxOES_remap_index]
428
#define _gloffset_TexGenxvOES esLocalRemapTable[TexGenxvOES_remap_index]
429
#define _gloffset_TexParameterxOES esLocalRemapTable[TexParameterxOES_remap_index]
430
#define _gloffset_TexParameterxvOES esLocalRemapTable[TexParameterxvOES_remap_index]
431
#define _gloffset_TranslatexOES esLocalRemapTable[TranslatexOES_remap_index]
432
#define _gloffset_ClipPlanefOES esLocalRemapTable[ClipPlanefOES_remap_index]
433
#define _gloffset_FrustumfOES esLocalRemapTable[FrustumfOES_remap_index]
434
#define _gloffset_GetClipPlanefOES esLocalRemapTable[GetClipPlanefOES_remap_index]
435
#define _gloffset_OrthofOES esLocalRemapTable[OrthofOES_remap_index]
436
#define _gloffset_BlendEquationSeparateOES esLocalRemapTable[BlendEquationSeparateOES_remap_index]
437
#define _gloffset_BindFramebufferOES esLocalRemapTable[BindFramebufferOES_remap_index]
438
#define _gloffset_BindRenderbufferOES esLocalRemapTable[BindRenderbufferOES_remap_index]
439
#define _gloffset_CheckFramebufferStatusOES esLocalRemapTable[CheckFramebufferStatusOES_remap_index]
440
#define _gloffset_DeleteFramebuffersOES esLocalRemapTable[DeleteFramebuffersOES_remap_index]
441
#define _gloffset_DeleteRenderbuffersOES esLocalRemapTable[DeleteRenderbuffersOES_remap_index]
442
#define _gloffset_FramebufferRenderbufferOES esLocalRemapTable[FramebufferRenderbufferOES_remap_index]
443
#define _gloffset_FramebufferTexture2DOES esLocalRemapTable[FramebufferTexture2DOES_remap_index]
444
#define _gloffset_GenFramebuffersOES esLocalRemapTable[GenFramebuffersOES_remap_index]
445
#define _gloffset_GenRenderbuffersOES esLocalRemapTable[GenRenderbuffersOES_remap_index]
446
#define _gloffset_GenerateMipmapOES esLocalRemapTable[GenerateMipmapOES_remap_index]
447
#define _gloffset_GetFramebufferAttachmentParameterivOES esLocalRemapTable[GetFramebufferAttachmentParameterivOES_remap_index]
448
#define _gloffset_GetRenderbufferParameterivOES esLocalRemapTable[GetRenderbufferParameterivOES_remap_index]
449
#define _gloffset_IsFramebufferOES esLocalRemapTable[IsFramebufferOES_remap_index]
450
#define _gloffset_IsRenderbufferOES esLocalRemapTable[IsRenderbufferOES_remap_index]
451
#define _gloffset_RenderbufferStorageOES esLocalRemapTable[RenderbufferStorageOES_remap_index]
452
#define _gloffset_EGLImageTargetRenderbufferStorageOES esLocalRemapTable[EGLImageTargetRenderbufferStorageOES_remap_index]
453
#define _gloffset_EGLImageTargetTexture2DOES esLocalRemapTable[EGLImageTargetTexture2DOES_remap_index]
455
#endif /* !FEATURE_remap_table */
457
typedef void (GLAPIENTRYP _glptr_Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
458
#define CALL_Color4f(disp, parameters) \
459
(* GET_Color4f(disp)) parameters
460
static inline _glptr_Color4f GET_Color4f(struct _glapi_table *disp) {
461
return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f));
464
static inline void SET_Color4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
465
SET_by_offset(disp, _gloffset_Color4f, fn);
468
typedef void (GLAPIENTRYP _glptr_Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
469
#define CALL_Color4ub(disp, parameters) \
470
(* GET_Color4ub(disp)) parameters
471
static inline _glptr_Color4ub GET_Color4ub(struct _glapi_table *disp) {
472
return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub));
475
static inline void SET_Color4ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte, GLubyte)) {
476
SET_by_offset(disp, _gloffset_Color4ub, fn);
479
typedef void (GLAPIENTRYP _glptr_Normal3f)(GLfloat, GLfloat, GLfloat);
480
#define CALL_Normal3f(disp, parameters) \
481
(* GET_Normal3f(disp)) parameters
482
static inline _glptr_Normal3f GET_Normal3f(struct _glapi_table *disp) {
483
return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f));
486
static inline void SET_Normal3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
487
SET_by_offset(disp, _gloffset_Normal3f, fn);
490
typedef void (GLAPIENTRYP _glptr_CullFace)(GLenum);
491
#define CALL_CullFace(disp, parameters) \
492
(* GET_CullFace(disp)) parameters
493
static inline _glptr_CullFace GET_CullFace(struct _glapi_table *disp) {
494
return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace));
497
static inline void SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
498
SET_by_offset(disp, _gloffset_CullFace, fn);
501
typedef void (GLAPIENTRYP _glptr_Fogf)(GLenum, GLfloat);
502
#define CALL_Fogf(disp, parameters) \
503
(* GET_Fogf(disp)) parameters
504
static inline _glptr_Fogf GET_Fogf(struct _glapi_table *disp) {
505
return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf));
508
static inline void SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
509
SET_by_offset(disp, _gloffset_Fogf, fn);
512
typedef void (GLAPIENTRYP _glptr_Fogfv)(GLenum, const GLfloat *);
513
#define CALL_Fogfv(disp, parameters) \
514
(* GET_Fogfv(disp)) parameters
515
static inline _glptr_Fogfv GET_Fogfv(struct _glapi_table *disp) {
516
return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv));
519
static inline void SET_Fogfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
520
SET_by_offset(disp, _gloffset_Fogfv, fn);
523
typedef void (GLAPIENTRYP _glptr_FrontFace)(GLenum);
524
#define CALL_FrontFace(disp, parameters) \
525
(* GET_FrontFace(disp)) parameters
526
static inline _glptr_FrontFace GET_FrontFace(struct _glapi_table *disp) {
527
return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace));
530
static inline void SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
531
SET_by_offset(disp, _gloffset_FrontFace, fn);
534
typedef void (GLAPIENTRYP _glptr_Hint)(GLenum, GLenum);
535
#define CALL_Hint(disp, parameters) \
536
(* GET_Hint(disp)) parameters
537
static inline _glptr_Hint GET_Hint(struct _glapi_table *disp) {
538
return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint));
541
static inline void SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
542
SET_by_offset(disp, _gloffset_Hint, fn);
545
typedef void (GLAPIENTRYP _glptr_Lightf)(GLenum, GLenum, GLfloat);
546
#define CALL_Lightf(disp, parameters) \
547
(* GET_Lightf(disp)) parameters
548
static inline _glptr_Lightf GET_Lightf(struct _glapi_table *disp) {
549
return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf));
552
static inline void SET_Lightf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
553
SET_by_offset(disp, _gloffset_Lightf, fn);
556
typedef void (GLAPIENTRYP _glptr_Lightfv)(GLenum, GLenum, const GLfloat *);
557
#define CALL_Lightfv(disp, parameters) \
558
(* GET_Lightfv(disp)) parameters
559
static inline _glptr_Lightfv GET_Lightfv(struct _glapi_table *disp) {
560
return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv));
563
static inline void SET_Lightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
564
SET_by_offset(disp, _gloffset_Lightfv, fn);
567
typedef void (GLAPIENTRYP _glptr_LightModelf)(GLenum, GLfloat);
568
#define CALL_LightModelf(disp, parameters) \
569
(* GET_LightModelf(disp)) parameters
570
static inline _glptr_LightModelf GET_LightModelf(struct _glapi_table *disp) {
571
return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf));
574
static inline void SET_LightModelf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
575
SET_by_offset(disp, _gloffset_LightModelf, fn);
578
typedef void (GLAPIENTRYP _glptr_LightModelfv)(GLenum, const GLfloat *);
579
#define CALL_LightModelfv(disp, parameters) \
580
(* GET_LightModelfv(disp)) parameters
581
static inline _glptr_LightModelfv GET_LightModelfv(struct _glapi_table *disp) {
582
return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv));
585
static inline void SET_LightModelfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
586
SET_by_offset(disp, _gloffset_LightModelfv, fn);
589
typedef void (GLAPIENTRYP _glptr_LineWidth)(GLfloat);
590
#define CALL_LineWidth(disp, parameters) \
591
(* GET_LineWidth(disp)) parameters
592
static inline _glptr_LineWidth GET_LineWidth(struct _glapi_table *disp) {
593
return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth));
596
static inline void SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
597
SET_by_offset(disp, _gloffset_LineWidth, fn);
600
typedef void (GLAPIENTRYP _glptr_Materialf)(GLenum, GLenum, GLfloat);
601
#define CALL_Materialf(disp, parameters) \
602
(* GET_Materialf(disp)) parameters
603
static inline _glptr_Materialf GET_Materialf(struct _glapi_table *disp) {
604
return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf));
607
static inline void SET_Materialf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
608
SET_by_offset(disp, _gloffset_Materialf, fn);
611
typedef void (GLAPIENTRYP _glptr_Materialfv)(GLenum, GLenum, const GLfloat *);
612
#define CALL_Materialfv(disp, parameters) \
613
(* GET_Materialfv(disp)) parameters
614
static inline _glptr_Materialfv GET_Materialfv(struct _glapi_table *disp) {
615
return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv));
618
static inline void SET_Materialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
619
SET_by_offset(disp, _gloffset_Materialfv, fn);
622
typedef void (GLAPIENTRYP _glptr_PointSize)(GLfloat);
623
#define CALL_PointSize(disp, parameters) \
624
(* GET_PointSize(disp)) parameters
625
static inline _glptr_PointSize GET_PointSize(struct _glapi_table *disp) {
626
return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize));
629
static inline void SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
630
SET_by_offset(disp, _gloffset_PointSize, fn);
633
typedef void (GLAPIENTRYP _glptr_Scissor)(GLint, GLint, GLsizei, GLsizei);
634
#define CALL_Scissor(disp, parameters) \
635
(* GET_Scissor(disp)) parameters
636
static inline _glptr_Scissor GET_Scissor(struct _glapi_table *disp) {
637
return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor));
640
static inline void SET_Scissor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
641
SET_by_offset(disp, _gloffset_Scissor, fn);
644
typedef void (GLAPIENTRYP _glptr_ShadeModel)(GLenum);
645
#define CALL_ShadeModel(disp, parameters) \
646
(* GET_ShadeModel(disp)) parameters
647
static inline _glptr_ShadeModel GET_ShadeModel(struct _glapi_table *disp) {
648
return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel));
651
static inline void SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
652
SET_by_offset(disp, _gloffset_ShadeModel, fn);
655
typedef void (GLAPIENTRYP _glptr_TexParameterf)(GLenum, GLenum, GLfloat);
656
#define CALL_TexParameterf(disp, parameters) \
657
(* GET_TexParameterf(disp)) parameters
658
static inline _glptr_TexParameterf GET_TexParameterf(struct _glapi_table *disp) {
659
return (_glptr_TexParameterf) (GET_by_offset(disp, _gloffset_TexParameterf));
662
static inline void SET_TexParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
663
SET_by_offset(disp, _gloffset_TexParameterf, fn);
666
typedef void (GLAPIENTRYP _glptr_TexParameterfv)(GLenum, GLenum, const GLfloat *);
667
#define CALL_TexParameterfv(disp, parameters) \
668
(* GET_TexParameterfv(disp)) parameters
669
static inline _glptr_TexParameterfv GET_TexParameterfv(struct _glapi_table *disp) {
670
return (_glptr_TexParameterfv) (GET_by_offset(disp, _gloffset_TexParameterfv));
673
static inline void SET_TexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
674
SET_by_offset(disp, _gloffset_TexParameterfv, fn);
677
typedef void (GLAPIENTRYP _glptr_TexParameteri)(GLenum, GLenum, GLint);
678
#define CALL_TexParameteri(disp, parameters) \
679
(* GET_TexParameteri(disp)) parameters
680
static inline _glptr_TexParameteri GET_TexParameteri(struct _glapi_table *disp) {
681
return (_glptr_TexParameteri) (GET_by_offset(disp, _gloffset_TexParameteri));
684
static inline void SET_TexParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
685
SET_by_offset(disp, _gloffset_TexParameteri, fn);
688
typedef void (GLAPIENTRYP _glptr_TexParameteriv)(GLenum, GLenum, const GLint *);
689
#define CALL_TexParameteriv(disp, parameters) \
690
(* GET_TexParameteriv(disp)) parameters
691
static inline _glptr_TexParameteriv GET_TexParameteriv(struct _glapi_table *disp) {
692
return (_glptr_TexParameteriv) (GET_by_offset(disp, _gloffset_TexParameteriv));
695
static inline void SET_TexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
696
SET_by_offset(disp, _gloffset_TexParameteriv, fn);
699
typedef void (GLAPIENTRYP _glptr_TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
700
#define CALL_TexImage2D(disp, parameters) \
701
(* GET_TexImage2D(disp)) parameters
702
static inline _glptr_TexImage2D GET_TexImage2D(struct _glapi_table *disp) {
703
return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D));
706
static inline void SET_TexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
707
SET_by_offset(disp, _gloffset_TexImage2D, fn);
710
typedef void (GLAPIENTRYP _glptr_TexEnvf)(GLenum, GLenum, GLfloat);
711
#define CALL_TexEnvf(disp, parameters) \
712
(* GET_TexEnvf(disp)) parameters
713
static inline _glptr_TexEnvf GET_TexEnvf(struct _glapi_table *disp) {
714
return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf));
717
static inline void SET_TexEnvf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
718
SET_by_offset(disp, _gloffset_TexEnvf, fn);
721
typedef void (GLAPIENTRYP _glptr_TexEnvfv)(GLenum, GLenum, const GLfloat *);
722
#define CALL_TexEnvfv(disp, parameters) \
723
(* GET_TexEnvfv(disp)) parameters
724
static inline _glptr_TexEnvfv GET_TexEnvfv(struct _glapi_table *disp) {
725
return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv));
728
static inline void SET_TexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
729
SET_by_offset(disp, _gloffset_TexEnvfv, fn);
732
typedef void (GLAPIENTRYP _glptr_TexEnvi)(GLenum, GLenum, GLint);
733
#define CALL_TexEnvi(disp, parameters) \
734
(* GET_TexEnvi(disp)) parameters
735
static inline _glptr_TexEnvi GET_TexEnvi(struct _glapi_table *disp) {
736
return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi));
739
static inline void SET_TexEnvi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
740
SET_by_offset(disp, _gloffset_TexEnvi, fn);
743
typedef void (GLAPIENTRYP _glptr_TexEnviv)(GLenum, GLenum, const GLint *);
744
#define CALL_TexEnviv(disp, parameters) \
745
(* GET_TexEnviv(disp)) parameters
746
static inline _glptr_TexEnviv GET_TexEnviv(struct _glapi_table *disp) {
747
return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv));
750
static inline void SET_TexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
751
SET_by_offset(disp, _gloffset_TexEnviv, fn);
754
typedef void (GLAPIENTRYP _glptr_TexGenfOES)(GLenum, GLenum, GLfloat);
755
#define CALL_TexGenfOES(disp, parameters) \
756
(* GET_TexGenfOES(disp)) parameters
757
static inline _glptr_TexGenfOES GET_TexGenfOES(struct _glapi_table *disp) {
758
return (_glptr_TexGenfOES) (GET_by_offset(disp, _gloffset_TexGenfOES));
761
static inline void SET_TexGenfOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
762
SET_by_offset(disp, _gloffset_TexGenfOES, fn);
765
typedef void (GLAPIENTRYP _glptr_TexGenfvOES)(GLenum, GLenum, const GLfloat *);
766
#define CALL_TexGenfvOES(disp, parameters) \
767
(* GET_TexGenfvOES(disp)) parameters
768
static inline _glptr_TexGenfvOES GET_TexGenfvOES(struct _glapi_table *disp) {
769
return (_glptr_TexGenfvOES) (GET_by_offset(disp, _gloffset_TexGenfvOES));
772
static inline void SET_TexGenfvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
773
SET_by_offset(disp, _gloffset_TexGenfvOES, fn);
776
typedef void (GLAPIENTRYP _glptr_TexGeniOES)(GLenum, GLenum, GLint);
777
#define CALL_TexGeniOES(disp, parameters) \
778
(* GET_TexGeniOES(disp)) parameters
779
static inline _glptr_TexGeniOES GET_TexGeniOES(struct _glapi_table *disp) {
780
return (_glptr_TexGeniOES) (GET_by_offset(disp, _gloffset_TexGeniOES));
783
static inline void SET_TexGeniOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
784
SET_by_offset(disp, _gloffset_TexGeniOES, fn);
787
typedef void (GLAPIENTRYP _glptr_TexGenivOES)(GLenum, GLenum, const GLint *);
788
#define CALL_TexGenivOES(disp, parameters) \
789
(* GET_TexGenivOES(disp)) parameters
790
static inline _glptr_TexGenivOES GET_TexGenivOES(struct _glapi_table *disp) {
791
return (_glptr_TexGenivOES) (GET_by_offset(disp, _gloffset_TexGenivOES));
794
static inline void SET_TexGenivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
795
SET_by_offset(disp, _gloffset_TexGenivOES, fn);
798
typedef void (GLAPIENTRYP _glptr_Clear)(GLbitfield);
799
#define CALL_Clear(disp, parameters) \
800
(* GET_Clear(disp)) parameters
801
static inline _glptr_Clear GET_Clear(struct _glapi_table *disp) {
802
return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear));
805
static inline void SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
806
SET_by_offset(disp, _gloffset_Clear, fn);
809
typedef void (GLAPIENTRYP _glptr_ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
810
#define CALL_ClearColor(disp, parameters) \
811
(* GET_ClearColor(disp)) parameters
812
static inline _glptr_ClearColor GET_ClearColor(struct _glapi_table *disp) {
813
return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor));
816
static inline void SET_ClearColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
817
SET_by_offset(disp, _gloffset_ClearColor, fn);
820
typedef void (GLAPIENTRYP _glptr_ClearStencil)(GLint);
821
#define CALL_ClearStencil(disp, parameters) \
822
(* GET_ClearStencil(disp)) parameters
823
static inline _glptr_ClearStencil GET_ClearStencil(struct _glapi_table *disp) {
824
return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil));
827
static inline void SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
828
SET_by_offset(disp, _gloffset_ClearStencil, fn);
831
typedef void (GLAPIENTRYP _glptr_StencilMask)(GLuint);
832
#define CALL_StencilMask(disp, parameters) \
833
(* GET_StencilMask(disp)) parameters
834
static inline _glptr_StencilMask GET_StencilMask(struct _glapi_table *disp) {
835
return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask));
838
static inline void SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
839
SET_by_offset(disp, _gloffset_StencilMask, fn);
842
typedef void (GLAPIENTRYP _glptr_ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
843
#define CALL_ColorMask(disp, parameters) \
844
(* GET_ColorMask(disp)) parameters
845
static inline _glptr_ColorMask GET_ColorMask(struct _glapi_table *disp) {
846
return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask));
849
static inline void SET_ColorMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean, GLboolean, GLboolean, GLboolean)) {
850
SET_by_offset(disp, _gloffset_ColorMask, fn);
853
typedef void (GLAPIENTRYP _glptr_DepthMask)(GLboolean);
854
#define CALL_DepthMask(disp, parameters) \
855
(* GET_DepthMask(disp)) parameters
856
static inline _glptr_DepthMask GET_DepthMask(struct _glapi_table *disp) {
857
return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask));
860
static inline void SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
861
SET_by_offset(disp, _gloffset_DepthMask, fn);
864
typedef void (GLAPIENTRYP _glptr_Disable)(GLenum);
865
#define CALL_Disable(disp, parameters) \
866
(* GET_Disable(disp)) parameters
867
static inline _glptr_Disable GET_Disable(struct _glapi_table *disp) {
868
return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable));
871
static inline void SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
872
SET_by_offset(disp, _gloffset_Disable, fn);
875
typedef void (GLAPIENTRYP _glptr_Enable)(GLenum);
876
#define CALL_Enable(disp, parameters) \
877
(* GET_Enable(disp)) parameters
878
static inline _glptr_Enable GET_Enable(struct _glapi_table *disp) {
879
return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable));
882
static inline void SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
883
SET_by_offset(disp, _gloffset_Enable, fn);
886
typedef void (GLAPIENTRYP _glptr_Finish)(void);
887
#define CALL_Finish(disp, parameters) \
888
(* GET_Finish(disp)) parameters
889
static inline _glptr_Finish GET_Finish(struct _glapi_table *disp) {
890
return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish));
893
static inline void SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
894
SET_by_offset(disp, _gloffset_Finish, fn);
897
typedef void (GLAPIENTRYP _glptr_Flush)(void);
898
#define CALL_Flush(disp, parameters) \
899
(* GET_Flush(disp)) parameters
900
static inline _glptr_Flush GET_Flush(struct _glapi_table *disp) {
901
return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush));
904
static inline void SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
905
SET_by_offset(disp, _gloffset_Flush, fn);
908
typedef void (GLAPIENTRYP _glptr_AlphaFunc)(GLenum, GLclampf);
909
#define CALL_AlphaFunc(disp, parameters) \
910
(* GET_AlphaFunc(disp)) parameters
911
static inline _glptr_AlphaFunc GET_AlphaFunc(struct _glapi_table *disp) {
912
return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc));
915
static inline void SET_AlphaFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampf)) {
916
SET_by_offset(disp, _gloffset_AlphaFunc, fn);
919
typedef void (GLAPIENTRYP _glptr_BlendFunc)(GLenum, GLenum);
920
#define CALL_BlendFunc(disp, parameters) \
921
(* GET_BlendFunc(disp)) parameters
922
static inline _glptr_BlendFunc GET_BlendFunc(struct _glapi_table *disp) {
923
return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc));
926
static inline void SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
927
SET_by_offset(disp, _gloffset_BlendFunc, fn);
930
typedef void (GLAPIENTRYP _glptr_LogicOp)(GLenum);
931
#define CALL_LogicOp(disp, parameters) \
932
(* GET_LogicOp(disp)) parameters
933
static inline _glptr_LogicOp GET_LogicOp(struct _glapi_table *disp) {
934
return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp));
937
static inline void SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
938
SET_by_offset(disp, _gloffset_LogicOp, fn);
941
typedef void (GLAPIENTRYP _glptr_StencilFunc)(GLenum, GLint, GLuint);
942
#define CALL_StencilFunc(disp, parameters) \
943
(* GET_StencilFunc(disp)) parameters
944
static inline _glptr_StencilFunc GET_StencilFunc(struct _glapi_table *disp) {
945
return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc));
948
static inline void SET_StencilFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLuint)) {
949
SET_by_offset(disp, _gloffset_StencilFunc, fn);
952
typedef void (GLAPIENTRYP _glptr_StencilOp)(GLenum, GLenum, GLenum);
953
#define CALL_StencilOp(disp, parameters) \
954
(* GET_StencilOp(disp)) parameters
955
static inline _glptr_StencilOp GET_StencilOp(struct _glapi_table *disp) {
956
return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp));
959
static inline void SET_StencilOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum)) {
960
SET_by_offset(disp, _gloffset_StencilOp, fn);
963
typedef void (GLAPIENTRYP _glptr_DepthFunc)(GLenum);
964
#define CALL_DepthFunc(disp, parameters) \
965
(* GET_DepthFunc(disp)) parameters
966
static inline _glptr_DepthFunc GET_DepthFunc(struct _glapi_table *disp) {
967
return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc));
970
static inline void SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
971
SET_by_offset(disp, _gloffset_DepthFunc, fn);
974
typedef void (GLAPIENTRYP _glptr_PixelStorei)(GLenum, GLint);
975
#define CALL_PixelStorei(disp, parameters) \
976
(* GET_PixelStorei(disp)) parameters
977
static inline _glptr_PixelStorei GET_PixelStorei(struct _glapi_table *disp) {
978
return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei));
981
static inline void SET_PixelStorei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
982
SET_by_offset(disp, _gloffset_PixelStorei, fn);
985
typedef void (GLAPIENTRYP _glptr_ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
986
#define CALL_ReadPixels(disp, parameters) \
987
(* GET_ReadPixels(disp)) parameters
988
static inline _glptr_ReadPixels GET_ReadPixels(struct _glapi_table *disp) {
989
return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels));
992
static inline void SET_ReadPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) {
993
SET_by_offset(disp, _gloffset_ReadPixels, fn);
996
typedef void (GLAPIENTRYP _glptr_GetBooleanv)(GLenum, GLboolean *);
997
#define CALL_GetBooleanv(disp, parameters) \
998
(* GET_GetBooleanv(disp)) parameters
999
static inline _glptr_GetBooleanv GET_GetBooleanv(struct _glapi_table *disp) {
1000
return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv));
1003
static inline void SET_GetBooleanv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean *)) {
1004
SET_by_offset(disp, _gloffset_GetBooleanv, fn);
1007
typedef GLenum (GLAPIENTRYP _glptr_GetError)(void);
1008
#define CALL_GetError(disp, parameters) \
1009
(* GET_GetError(disp)) parameters
1010
static inline _glptr_GetError GET_GetError(struct _glapi_table *disp) {
1011
return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError));
1014
static inline void SET_GetError(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
1015
SET_by_offset(disp, _gloffset_GetError, fn);
1018
typedef void (GLAPIENTRYP _glptr_GetFloatv)(GLenum, GLfloat *);
1019
#define CALL_GetFloatv(disp, parameters) \
1020
(* GET_GetFloatv(disp)) parameters
1021
static inline _glptr_GetFloatv GET_GetFloatv(struct _glapi_table *disp) {
1022
return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv));
1025
static inline void SET_GetFloatv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
1026
SET_by_offset(disp, _gloffset_GetFloatv, fn);
1029
typedef void (GLAPIENTRYP _glptr_GetIntegerv)(GLenum, GLint *);
1030
#define CALL_GetIntegerv(disp, parameters) \
1031
(* GET_GetIntegerv(disp)) parameters
1032
static inline _glptr_GetIntegerv GET_GetIntegerv(struct _glapi_table *disp) {
1033
return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv));
1036
static inline void SET_GetIntegerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
1037
SET_by_offset(disp, _gloffset_GetIntegerv, fn);
1040
typedef void (GLAPIENTRYP _glptr_GetLightfv)(GLenum, GLenum, GLfloat *);
1041
#define CALL_GetLightfv(disp, parameters) \
1042
(* GET_GetLightfv(disp)) parameters
1043
static inline _glptr_GetLightfv GET_GetLightfv(struct _glapi_table *disp) {
1044
return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv));
1047
static inline void SET_GetLightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
1048
SET_by_offset(disp, _gloffset_GetLightfv, fn);
1051
typedef void (GLAPIENTRYP _glptr_GetMaterialfv)(GLenum, GLenum, GLfloat *);
1052
#define CALL_GetMaterialfv(disp, parameters) \
1053
(* GET_GetMaterialfv(disp)) parameters
1054
static inline _glptr_GetMaterialfv GET_GetMaterialfv(struct _glapi_table *disp) {
1055
return (_glptr_GetMaterialfv) (GET_by_offset(disp, _gloffset_GetMaterialfv));
1058
static inline void SET_GetMaterialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
1059
SET_by_offset(disp, _gloffset_GetMaterialfv, fn);
1062
typedef const GLubyte * (GLAPIENTRYP _glptr_GetString)(GLenum);
1063
#define CALL_GetString(disp, parameters) \
1064
(* GET_GetString(disp)) parameters
1065
static inline _glptr_GetString GET_GetString(struct _glapi_table *disp) {
1066
return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString));
1069
static inline void SET_GetString(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum)) {
1070
SET_by_offset(disp, _gloffset_GetString, fn);
1073
typedef void (GLAPIENTRYP _glptr_GetTexEnvfv)(GLenum, GLenum, GLfloat *);
1074
#define CALL_GetTexEnvfv(disp, parameters) \
1075
(* GET_GetTexEnvfv(disp)) parameters
1076
static inline _glptr_GetTexEnvfv GET_GetTexEnvfv(struct _glapi_table *disp) {
1077
return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv));
1080
static inline void SET_GetTexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
1081
SET_by_offset(disp, _gloffset_GetTexEnvfv, fn);
1084
typedef void (GLAPIENTRYP _glptr_GetTexEnviv)(GLenum, GLenum, GLint *);
1085
#define CALL_GetTexEnviv(disp, parameters) \
1086
(* GET_GetTexEnviv(disp)) parameters
1087
static inline _glptr_GetTexEnviv GET_GetTexEnviv(struct _glapi_table *disp) {
1088
return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv));
1091
static inline void SET_GetTexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
1092
SET_by_offset(disp, _gloffset_GetTexEnviv, fn);
1095
typedef void (GLAPIENTRYP _glptr_GetTexGenfvOES)(GLenum, GLenum, GLfloat *);
1096
#define CALL_GetTexGenfvOES(disp, parameters) \
1097
(* GET_GetTexGenfvOES(disp)) parameters
1098
static inline _glptr_GetTexGenfvOES GET_GetTexGenfvOES(struct _glapi_table *disp) {
1099
return (_glptr_GetTexGenfvOES) (GET_by_offset(disp, _gloffset_GetTexGenfvOES));
1102
static inline void SET_GetTexGenfvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
1103
SET_by_offset(disp, _gloffset_GetTexGenfvOES, fn);
1106
typedef void (GLAPIENTRYP _glptr_GetTexGenivOES)(GLenum, GLenum, GLint *);
1107
#define CALL_GetTexGenivOES(disp, parameters) \
1108
(* GET_GetTexGenivOES(disp)) parameters
1109
static inline _glptr_GetTexGenivOES GET_GetTexGenivOES(struct _glapi_table *disp) {
1110
return (_glptr_GetTexGenivOES) (GET_by_offset(disp, _gloffset_GetTexGenivOES));
1113
static inline void SET_GetTexGenivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
1114
SET_by_offset(disp, _gloffset_GetTexGenivOES, fn);
1117
typedef void (GLAPIENTRYP _glptr_GetTexParameterfv)(GLenum, GLenum, GLfloat *);
1118
#define CALL_GetTexParameterfv(disp, parameters) \
1119
(* GET_GetTexParameterfv(disp)) parameters
1120
static inline _glptr_GetTexParameterfv GET_GetTexParameterfv(struct _glapi_table *disp) {
1121
return (_glptr_GetTexParameterfv) (GET_by_offset(disp, _gloffset_GetTexParameterfv));
1124
static inline void SET_GetTexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
1125
SET_by_offset(disp, _gloffset_GetTexParameterfv, fn);
1128
typedef void (GLAPIENTRYP _glptr_GetTexParameteriv)(GLenum, GLenum, GLint *);
1129
#define CALL_GetTexParameteriv(disp, parameters) \
1130
(* GET_GetTexParameteriv(disp)) parameters
1131
static inline _glptr_GetTexParameteriv GET_GetTexParameteriv(struct _glapi_table *disp) {
1132
return (_glptr_GetTexParameteriv) (GET_by_offset(disp, _gloffset_GetTexParameteriv));
1135
static inline void SET_GetTexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
1136
SET_by_offset(disp, _gloffset_GetTexParameteriv, fn);
1139
typedef GLboolean (GLAPIENTRYP _glptr_IsEnabled)(GLenum);
1140
#define CALL_IsEnabled(disp, parameters) \
1141
(* GET_IsEnabled(disp)) parameters
1142
static inline _glptr_IsEnabled GET_IsEnabled(struct _glapi_table *disp) {
1143
return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled));
1146
static inline void SET_IsEnabled(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
1147
SET_by_offset(disp, _gloffset_IsEnabled, fn);
1150
typedef void (GLAPIENTRYP _glptr_LoadIdentity)(void);
1151
#define CALL_LoadIdentity(disp, parameters) \
1152
(* GET_LoadIdentity(disp)) parameters
1153
static inline _glptr_LoadIdentity GET_LoadIdentity(struct _glapi_table *disp) {
1154
return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity));
1157
static inline void SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
1158
SET_by_offset(disp, _gloffset_LoadIdentity, fn);
1161
typedef void (GLAPIENTRYP _glptr_LoadMatrixf)(const GLfloat *);
1162
#define CALL_LoadMatrixf(disp, parameters) \
1163
(* GET_LoadMatrixf(disp)) parameters
1164
static inline _glptr_LoadMatrixf GET_LoadMatrixf(struct _glapi_table *disp) {
1165
return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf));
1168
static inline void SET_LoadMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
1169
SET_by_offset(disp, _gloffset_LoadMatrixf, fn);
1172
typedef void (GLAPIENTRYP _glptr_MatrixMode)(GLenum);
1173
#define CALL_MatrixMode(disp, parameters) \
1174
(* GET_MatrixMode(disp)) parameters
1175
static inline _glptr_MatrixMode GET_MatrixMode(struct _glapi_table *disp) {
1176
return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode));
1179
static inline void SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1180
SET_by_offset(disp, _gloffset_MatrixMode, fn);
1183
typedef void (GLAPIENTRYP _glptr_MultMatrixf)(const GLfloat *);
1184
#define CALL_MultMatrixf(disp, parameters) \
1185
(* GET_MultMatrixf(disp)) parameters
1186
static inline _glptr_MultMatrixf GET_MultMatrixf(struct _glapi_table *disp) {
1187
return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf));
1190
static inline void SET_MultMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
1191
SET_by_offset(disp, _gloffset_MultMatrixf, fn);
1194
typedef void (GLAPIENTRYP _glptr_PopMatrix)(void);
1195
#define CALL_PopMatrix(disp, parameters) \
1196
(* GET_PopMatrix(disp)) parameters
1197
static inline _glptr_PopMatrix GET_PopMatrix(struct _glapi_table *disp) {
1198
return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix));
1201
static inline void SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
1202
SET_by_offset(disp, _gloffset_PopMatrix, fn);
1205
typedef void (GLAPIENTRYP _glptr_PushMatrix)(void);
1206
#define CALL_PushMatrix(disp, parameters) \
1207
(* GET_PushMatrix(disp)) parameters
1208
static inline _glptr_PushMatrix GET_PushMatrix(struct _glapi_table *disp) {
1209
return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix));
1212
static inline void SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
1213
SET_by_offset(disp, _gloffset_PushMatrix, fn);
1216
typedef void (GLAPIENTRYP _glptr_Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
1217
#define CALL_Rotatef(disp, parameters) \
1218
(* GET_Rotatef(disp)) parameters
1219
static inline _glptr_Rotatef GET_Rotatef(struct _glapi_table *disp) {
1220
return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef));
1223
static inline void SET_Rotatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
1224
SET_by_offset(disp, _gloffset_Rotatef, fn);
1227
typedef void (GLAPIENTRYP _glptr_Scalef)(GLfloat, GLfloat, GLfloat);
1228
#define CALL_Scalef(disp, parameters) \
1229
(* GET_Scalef(disp)) parameters
1230
static inline _glptr_Scalef GET_Scalef(struct _glapi_table *disp) {
1231
return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef));
1234
static inline void SET_Scalef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
1235
SET_by_offset(disp, _gloffset_Scalef, fn);
1238
typedef void (GLAPIENTRYP _glptr_Translatef)(GLfloat, GLfloat, GLfloat);
1239
#define CALL_Translatef(disp, parameters) \
1240
(* GET_Translatef(disp)) parameters
1241
static inline _glptr_Translatef GET_Translatef(struct _glapi_table *disp) {
1242
return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef));
1245
static inline void SET_Translatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
1246
SET_by_offset(disp, _gloffset_Translatef, fn);
1249
typedef void (GLAPIENTRYP _glptr_Viewport)(GLint, GLint, GLsizei, GLsizei);
1250
#define CALL_Viewport(disp, parameters) \
1251
(* GET_Viewport(disp)) parameters
1252
static inline _glptr_Viewport GET_Viewport(struct _glapi_table *disp) {
1253
return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport));
1256
static inline void SET_Viewport(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
1257
SET_by_offset(disp, _gloffset_Viewport, fn);
1260
typedef void (GLAPIENTRYP _glptr_BindTexture)(GLenum, GLuint);
1261
#define CALL_BindTexture(disp, parameters) \
1262
(* GET_BindTexture(disp)) parameters
1263
static inline _glptr_BindTexture GET_BindTexture(struct _glapi_table *disp) {
1264
return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture));
1267
static inline void SET_BindTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
1268
SET_by_offset(disp, _gloffset_BindTexture, fn);
1271
typedef void (GLAPIENTRYP _glptr_ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
1272
#define CALL_ColorPointer(disp, parameters) \
1273
(* GET_ColorPointer(disp)) parameters
1274
static inline _glptr_ColorPointer GET_ColorPointer(struct _glapi_table *disp) {
1275
return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer));
1278
static inline void SET_ColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
1279
SET_by_offset(disp, _gloffset_ColorPointer, fn);
1282
typedef void (GLAPIENTRYP _glptr_DisableClientState)(GLenum);
1283
#define CALL_DisableClientState(disp, parameters) \
1284
(* GET_DisableClientState(disp)) parameters
1285
static inline _glptr_DisableClientState GET_DisableClientState(struct _glapi_table *disp) {
1286
return (_glptr_DisableClientState) (GET_by_offset(disp, _gloffset_DisableClientState));
1289
static inline void SET_DisableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1290
SET_by_offset(disp, _gloffset_DisableClientState, fn);
1293
typedef void (GLAPIENTRYP _glptr_DrawArrays)(GLenum, GLint, GLsizei);
1294
#define CALL_DrawArrays(disp, parameters) \
1295
(* GET_DrawArrays(disp)) parameters
1296
static inline _glptr_DrawArrays GET_DrawArrays(struct _glapi_table *disp) {
1297
return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays));
1300
static inline void SET_DrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei)) {
1301
SET_by_offset(disp, _gloffset_DrawArrays, fn);
1304
typedef void (GLAPIENTRYP _glptr_DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
1305
#define CALL_DrawElements(disp, parameters) \
1306
(* GET_DrawElements(disp)) parameters
1307
static inline _glptr_DrawElements GET_DrawElements(struct _glapi_table *disp) {
1308
return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements));
1311
static inline void SET_DrawElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *)) {
1312
SET_by_offset(disp, _gloffset_DrawElements, fn);
1315
typedef void (GLAPIENTRYP _glptr_EnableClientState)(GLenum);
1316
#define CALL_EnableClientState(disp, parameters) \
1317
(* GET_EnableClientState(disp)) parameters
1318
static inline _glptr_EnableClientState GET_EnableClientState(struct _glapi_table *disp) {
1319
return (_glptr_EnableClientState) (GET_by_offset(disp, _gloffset_EnableClientState));
1322
static inline void SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1323
SET_by_offset(disp, _gloffset_EnableClientState, fn);
1326
typedef void (GLAPIENTRYP _glptr_NormalPointer)(GLenum, GLsizei, const GLvoid *);
1327
#define CALL_NormalPointer(disp, parameters) \
1328
(* GET_NormalPointer(disp)) parameters
1329
static inline _glptr_NormalPointer GET_NormalPointer(struct _glapi_table *disp) {
1330
return (_glptr_NormalPointer) (GET_by_offset(disp, _gloffset_NormalPointer));
1333
static inline void SET_NormalPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
1334
SET_by_offset(disp, _gloffset_NormalPointer, fn);
1337
typedef void (GLAPIENTRYP _glptr_PolygonOffset)(GLfloat, GLfloat);
1338
#define CALL_PolygonOffset(disp, parameters) \
1339
(* GET_PolygonOffset(disp)) parameters
1340
static inline _glptr_PolygonOffset GET_PolygonOffset(struct _glapi_table *disp) {
1341
return (_glptr_PolygonOffset) (GET_by_offset(disp, _gloffset_PolygonOffset));
1344
static inline void SET_PolygonOffset(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
1345
SET_by_offset(disp, _gloffset_PolygonOffset, fn);
1348
typedef void (GLAPIENTRYP _glptr_TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
1349
#define CALL_TexCoordPointer(disp, parameters) \
1350
(* GET_TexCoordPointer(disp)) parameters
1351
static inline _glptr_TexCoordPointer GET_TexCoordPointer(struct _glapi_table *disp) {
1352
return (_glptr_TexCoordPointer) (GET_by_offset(disp, _gloffset_TexCoordPointer));
1355
static inline void SET_TexCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
1356
SET_by_offset(disp, _gloffset_TexCoordPointer, fn);
1359
typedef void (GLAPIENTRYP _glptr_VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
1360
#define CALL_VertexPointer(disp, parameters) \
1361
(* GET_VertexPointer(disp)) parameters
1362
static inline _glptr_VertexPointer GET_VertexPointer(struct _glapi_table *disp) {
1363
return (_glptr_VertexPointer) (GET_by_offset(disp, _gloffset_VertexPointer));
1366
static inline void SET_VertexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
1367
SET_by_offset(disp, _gloffset_VertexPointer, fn);
1370
typedef void (GLAPIENTRYP _glptr_CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
1371
#define CALL_CopyTexImage2D(disp, parameters) \
1372
(* GET_CopyTexImage2D(disp)) parameters
1373
static inline _glptr_CopyTexImage2D GET_CopyTexImage2D(struct _glapi_table *disp) {
1374
return (_glptr_CopyTexImage2D) (GET_by_offset(disp, _gloffset_CopyTexImage2D));
1377
static inline void SET_CopyTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) {
1378
SET_by_offset(disp, _gloffset_CopyTexImage2D, fn);
1381
typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
1382
#define CALL_CopyTexSubImage2D(disp, parameters) \
1383
(* GET_CopyTexSubImage2D(disp)) parameters
1384
static inline _glptr_CopyTexSubImage2D GET_CopyTexSubImage2D(struct _glapi_table *disp) {
1385
return (_glptr_CopyTexSubImage2D) (GET_by_offset(disp, _gloffset_CopyTexSubImage2D));
1388
static inline void SET_CopyTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
1389
SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn);
1392
typedef void (GLAPIENTRYP _glptr_DeleteTextures)(GLsizei, const GLuint *);
1393
#define CALL_DeleteTextures(disp, parameters) \
1394
(* GET_DeleteTextures(disp)) parameters
1395
static inline _glptr_DeleteTextures GET_DeleteTextures(struct _glapi_table *disp) {
1396
return (_glptr_DeleteTextures) (GET_by_offset(disp, _gloffset_DeleteTextures));
1399
static inline void SET_DeleteTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
1400
SET_by_offset(disp, _gloffset_DeleteTextures, fn);
1403
typedef void (GLAPIENTRYP _glptr_GenTextures)(GLsizei, GLuint *);
1404
#define CALL_GenTextures(disp, parameters) \
1405
(* GET_GenTextures(disp)) parameters
1406
static inline _glptr_GenTextures GET_GenTextures(struct _glapi_table *disp) {
1407
return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures));
1410
static inline void SET_GenTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
1411
SET_by_offset(disp, _gloffset_GenTextures, fn);
1414
typedef void (GLAPIENTRYP _glptr_GetPointerv)(GLenum, GLvoid **);
1415
#define CALL_GetPointerv(disp, parameters) \
1416
(* GET_GetPointerv(disp)) parameters
1417
static inline _glptr_GetPointerv GET_GetPointerv(struct _glapi_table *disp) {
1418
return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv));
1421
static inline void SET_GetPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid **)) {
1422
SET_by_offset(disp, _gloffset_GetPointerv, fn);
1425
typedef GLboolean (GLAPIENTRYP _glptr_IsTexture)(GLuint);
1426
#define CALL_IsTexture(disp, parameters) \
1427
(* GET_IsTexture(disp)) parameters
1428
static inline _glptr_IsTexture GET_IsTexture(struct _glapi_table *disp) {
1429
return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture));
1432
static inline void SET_IsTexture(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
1433
SET_by_offset(disp, _gloffset_IsTexture, fn);
1436
typedef void (GLAPIENTRYP _glptr_TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1437
#define CALL_TexSubImage2D(disp, parameters) \
1438
(* GET_TexSubImage2D(disp)) parameters
1439
static inline _glptr_TexSubImage2D GET_TexSubImage2D(struct _glapi_table *disp) {
1440
return (_glptr_TexSubImage2D) (GET_by_offset(disp, _gloffset_TexSubImage2D));
1443
static inline void SET_TexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
1444
SET_by_offset(disp, _gloffset_TexSubImage2D, fn);
1447
typedef void (GLAPIENTRYP _glptr_BlendEquationOES)(GLenum);
1448
#define CALL_BlendEquationOES(disp, parameters) \
1449
(* GET_BlendEquationOES(disp)) parameters
1450
static inline _glptr_BlendEquationOES GET_BlendEquationOES(struct _glapi_table *disp) {
1451
return (_glptr_BlendEquationOES) (GET_by_offset(disp, _gloffset_BlendEquationOES));
1454
static inline void SET_BlendEquationOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1455
SET_by_offset(disp, _gloffset_BlendEquationOES, fn);
1458
typedef void (GLAPIENTRYP _glptr_ActiveTexture)(GLenum);
1459
#define CALL_ActiveTexture(disp, parameters) \
1460
(* GET_ActiveTexture(disp)) parameters
1461
static inline _glptr_ActiveTexture GET_ActiveTexture(struct _glapi_table *disp) {
1462
return (_glptr_ActiveTexture) (GET_by_offset(disp, _gloffset_ActiveTexture));
1465
static inline void SET_ActiveTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1466
SET_by_offset(disp, _gloffset_ActiveTexture, fn);
1469
typedef void (GLAPIENTRYP _glptr_ClientActiveTexture)(GLenum);
1470
#define CALL_ClientActiveTexture(disp, parameters) \
1471
(* GET_ClientActiveTexture(disp)) parameters
1472
static inline _glptr_ClientActiveTexture GET_ClientActiveTexture(struct _glapi_table *disp) {
1473
return (_glptr_ClientActiveTexture) (GET_by_offset(disp, _gloffset_ClientActiveTexture));
1476
static inline void SET_ClientActiveTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
1477
SET_by_offset(disp, _gloffset_ClientActiveTexture, fn);
1480
typedef void (GLAPIENTRYP _glptr_MultiTexCoord4f)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
1481
#define CALL_MultiTexCoord4f(disp, parameters) \
1482
(* GET_MultiTexCoord4f(disp)) parameters
1483
static inline _glptr_MultiTexCoord4f GET_MultiTexCoord4f(struct _glapi_table *disp) {
1484
return (_glptr_MultiTexCoord4f) (GET_by_offset(disp, _gloffset_MultiTexCoord4f));
1487
static inline void SET_MultiTexCoord4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) {
1488
SET_by_offset(disp, _gloffset_MultiTexCoord4f, fn);
1491
typedef void (GLAPIENTRYP _glptr_SampleCoverage)(GLclampf, GLboolean);
1492
#define CALL_SampleCoverage(disp, parameters) \
1493
(* GET_SampleCoverage(disp)) parameters
1494
static inline _glptr_SampleCoverage GET_SampleCoverage(struct _glapi_table *disp) {
1495
return (_glptr_SampleCoverage) (GET_by_offset(disp, _gloffset_SampleCoverage));
1498
static inline void SET_SampleCoverage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
1499
SET_by_offset(disp, _gloffset_SampleCoverage, fn);
1502
typedef void (GLAPIENTRYP _glptr_CompressedTexImage2D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
1503
#define CALL_CompressedTexImage2D(disp, parameters) \
1504
(* GET_CompressedTexImage2D(disp)) parameters
1505
static inline _glptr_CompressedTexImage2D GET_CompressedTexImage2D(struct _glapi_table *disp) {
1506
return (_glptr_CompressedTexImage2D) (GET_by_offset(disp, _gloffset_CompressedTexImage2D));
1509
static inline void SET_CompressedTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
1510
SET_by_offset(disp, _gloffset_CompressedTexImage2D, fn);
1513
typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
1514
#define CALL_CompressedTexSubImage2D(disp, parameters) \
1515
(* GET_CompressedTexSubImage2D(disp)) parameters
1516
static inline _glptr_CompressedTexSubImage2D GET_CompressedTexSubImage2D(struct _glapi_table *disp) {
1517
return (_glptr_CompressedTexSubImage2D) (GET_by_offset(disp, _gloffset_CompressedTexSubImage2D));
1520
static inline void SET_CompressedTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
1521
SET_by_offset(disp, _gloffset_CompressedTexSubImage2D, fn);
1524
typedef void (GLAPIENTRYP _glptr_BindBuffer)(GLenum, GLuint);
1525
#define CALL_BindBuffer(disp, parameters) \
1526
(* GET_BindBuffer(disp)) parameters
1527
static inline _glptr_BindBuffer GET_BindBuffer(struct _glapi_table *disp) {
1528
return (_glptr_BindBuffer) (GET_by_offset(disp, _gloffset_BindBuffer));
1531
static inline void SET_BindBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
1532
SET_by_offset(disp, _gloffset_BindBuffer, fn);
1535
typedef void (GLAPIENTRYP _glptr_BufferData)(GLenum, GLsizeiptr, const GLvoid *, GLenum);
1536
#define CALL_BufferData(disp, parameters) \
1537
(* GET_BufferData(disp)) parameters
1538
static inline _glptr_BufferData GET_BufferData(struct _glapi_table *disp) {
1539
return (_glptr_BufferData) (GET_by_offset(disp, _gloffset_BufferData));
1542
static inline void SET_BufferData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizeiptr, const GLvoid *, GLenum)) {
1543
SET_by_offset(disp, _gloffset_BufferData, fn);
1546
typedef void (GLAPIENTRYP _glptr_BufferSubData)(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
1547
#define CALL_BufferSubData(disp, parameters) \
1548
(* GET_BufferSubData(disp)) parameters
1549
static inline _glptr_BufferSubData GET_BufferSubData(struct _glapi_table *disp) {
1550
return (_glptr_BufferSubData) (GET_by_offset(disp, _gloffset_BufferSubData));
1553
static inline void SET_BufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, const GLvoid *)) {
1554
SET_by_offset(disp, _gloffset_BufferSubData, fn);
1557
typedef void (GLAPIENTRYP _glptr_DeleteBuffers)(GLsizei, const GLuint *);
1558
#define CALL_DeleteBuffers(disp, parameters) \
1559
(* GET_DeleteBuffers(disp)) parameters
1560
static inline _glptr_DeleteBuffers GET_DeleteBuffers(struct _glapi_table *disp) {
1561
return (_glptr_DeleteBuffers) (GET_by_offset(disp, _gloffset_DeleteBuffers));
1564
static inline void SET_DeleteBuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
1565
SET_by_offset(disp, _gloffset_DeleteBuffers, fn);
1568
typedef void (GLAPIENTRYP _glptr_GenBuffers)(GLsizei, GLuint *);
1569
#define CALL_GenBuffers(disp, parameters) \
1570
(* GET_GenBuffers(disp)) parameters
1571
static inline _glptr_GenBuffers GET_GenBuffers(struct _glapi_table *disp) {
1572
return (_glptr_GenBuffers) (GET_by_offset(disp, _gloffset_GenBuffers));
1575
static inline void SET_GenBuffers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
1576
SET_by_offset(disp, _gloffset_GenBuffers, fn);
1579
typedef void (GLAPIENTRYP _glptr_GetBufferParameteriv)(GLenum, GLenum, GLint *);
1580
#define CALL_GetBufferParameteriv(disp, parameters) \
1581
(* GET_GetBufferParameteriv(disp)) parameters
1582
static inline _glptr_GetBufferParameteriv GET_GetBufferParameteriv(struct _glapi_table *disp) {
1583
return (_glptr_GetBufferParameteriv) (GET_by_offset(disp, _gloffset_GetBufferParameteriv));
1586
static inline void SET_GetBufferParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
1587
SET_by_offset(disp, _gloffset_GetBufferParameteriv, fn);
1590
typedef void (GLAPIENTRYP _glptr_GetBufferPointervOES)(GLenum, GLenum, GLvoid **);
1591
#define CALL_GetBufferPointervOES(disp, parameters) \
1592
(* GET_GetBufferPointervOES(disp)) parameters
1593
static inline _glptr_GetBufferPointervOES GET_GetBufferPointervOES(struct _glapi_table *disp) {
1594
return (_glptr_GetBufferPointervOES) (GET_by_offset(disp, _gloffset_GetBufferPointervOES));
1597
static inline void SET_GetBufferPointervOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
1598
SET_by_offset(disp, _gloffset_GetBufferPointervOES, fn);
1601
typedef GLboolean (GLAPIENTRYP _glptr_IsBuffer)(GLuint);
1602
#define CALL_IsBuffer(disp, parameters) \
1603
(* GET_IsBuffer(disp)) parameters
1604
static inline _glptr_IsBuffer GET_IsBuffer(struct _glapi_table *disp) {
1605
return (_glptr_IsBuffer) (GET_by_offset(disp, _gloffset_IsBuffer));
1608
static inline void SET_IsBuffer(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
1609
SET_by_offset(disp, _gloffset_IsBuffer, fn);
1612
typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferOES)(GLenum, GLenum);
1613
#define CALL_MapBufferOES(disp, parameters) \
1614
(* GET_MapBufferOES(disp)) parameters
1615
static inline _glptr_MapBufferOES GET_MapBufferOES(struct _glapi_table *disp) {
1616
return (_glptr_MapBufferOES) (GET_by_offset(disp, _gloffset_MapBufferOES));
1619
static inline void SET_MapBufferOES(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLenum)) {
1620
SET_by_offset(disp, _gloffset_MapBufferOES, fn);
1623
typedef GLboolean (GLAPIENTRYP _glptr_UnmapBufferOES)(GLenum);
1624
#define CALL_UnmapBufferOES(disp, parameters) \
1625
(* GET_UnmapBufferOES(disp)) parameters
1626
static inline _glptr_UnmapBufferOES GET_UnmapBufferOES(struct _glapi_table *disp) {
1627
return (_glptr_UnmapBufferOES) (GET_by_offset(disp, _gloffset_UnmapBufferOES));
1630
static inline void SET_UnmapBufferOES(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
1631
SET_by_offset(disp, _gloffset_UnmapBufferOES, fn);
1634
typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf);
1635
#define CALL_ClearDepthf(disp, parameters) \
1636
(* GET_ClearDepthf(disp)) parameters
1637
static inline _glptr_ClearDepthf GET_ClearDepthf(struct _glapi_table *disp) {
1638
return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf));
1641
static inline void SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf)) {
1642
SET_by_offset(disp, _gloffset_ClearDepthf, fn);
1645
typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf);
1646
#define CALL_DepthRangef(disp, parameters) \
1647
(* GET_DepthRangef(disp)) parameters
1648
static inline _glptr_DepthRangef GET_DepthRangef(struct _glapi_table *disp) {
1649
return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef));
1652
static inline void SET_DepthRangef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf)) {
1653
SET_by_offset(disp, _gloffset_DepthRangef, fn);
1656
typedef void (GLAPIENTRYP _glptr_DrawTexfOES)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
1657
#define CALL_DrawTexfOES(disp, parameters) \
1658
(* GET_DrawTexfOES(disp)) parameters
1659
static inline _glptr_DrawTexfOES GET_DrawTexfOES(struct _glapi_table *disp) {
1660
return (_glptr_DrawTexfOES) (GET_by_offset(disp, _gloffset_DrawTexfOES));
1663
static inline void SET_DrawTexfOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
1664
SET_by_offset(disp, _gloffset_DrawTexfOES, fn);
1667
typedef void (GLAPIENTRYP _glptr_DrawTexfvOES)(const GLfloat *);
1668
#define CALL_DrawTexfvOES(disp, parameters) \
1669
(* GET_DrawTexfvOES(disp)) parameters
1670
static inline _glptr_DrawTexfvOES GET_DrawTexfvOES(struct _glapi_table *disp) {
1671
return (_glptr_DrawTexfvOES) (GET_by_offset(disp, _gloffset_DrawTexfvOES));
1674
static inline void SET_DrawTexfvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
1675
SET_by_offset(disp, _gloffset_DrawTexfvOES, fn);
1678
typedef void (GLAPIENTRYP _glptr_DrawTexiOES)(GLint, GLint, GLint, GLint, GLint);
1679
#define CALL_DrawTexiOES(disp, parameters) \
1680
(* GET_DrawTexiOES(disp)) parameters
1681
static inline _glptr_DrawTexiOES GET_DrawTexiOES(struct _glapi_table *disp) {
1682
return (_glptr_DrawTexiOES) (GET_by_offset(disp, _gloffset_DrawTexiOES));
1685
static inline void SET_DrawTexiOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) {
1686
SET_by_offset(disp, _gloffset_DrawTexiOES, fn);
1689
typedef void (GLAPIENTRYP _glptr_DrawTexivOES)(const GLint *);
1690
#define CALL_DrawTexivOES(disp, parameters) \
1691
(* GET_DrawTexivOES(disp)) parameters
1692
static inline _glptr_DrawTexivOES GET_DrawTexivOES(struct _glapi_table *disp) {
1693
return (_glptr_DrawTexivOES) (GET_by_offset(disp, _gloffset_DrawTexivOES));
1696
static inline void SET_DrawTexivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
1697
SET_by_offset(disp, _gloffset_DrawTexivOES, fn);
1700
typedef void (GLAPIENTRYP _glptr_DrawTexsOES)(GLshort, GLshort, GLshort, GLshort, GLshort);
1701
#define CALL_DrawTexsOES(disp, parameters) \
1702
(* GET_DrawTexsOES(disp)) parameters
1703
static inline _glptr_DrawTexsOES GET_DrawTexsOES(struct _glapi_table *disp) {
1704
return (_glptr_DrawTexsOES) (GET_by_offset(disp, _gloffset_DrawTexsOES));
1707
static inline void SET_DrawTexsOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort, GLshort)) {
1708
SET_by_offset(disp, _gloffset_DrawTexsOES, fn);
1711
typedef void (GLAPIENTRYP _glptr_DrawTexsvOES)(const GLshort *);
1712
#define CALL_DrawTexsvOES(disp, parameters) \
1713
(* GET_DrawTexsvOES(disp)) parameters
1714
static inline _glptr_DrawTexsvOES GET_DrawTexsvOES(struct _glapi_table *disp) {
1715
return (_glptr_DrawTexsvOES) (GET_by_offset(disp, _gloffset_DrawTexsvOES));
1718
static inline void SET_DrawTexsvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
1719
SET_by_offset(disp, _gloffset_DrawTexsvOES, fn);
1722
typedef void (GLAPIENTRYP _glptr_DrawTexxOES)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
1723
#define CALL_DrawTexxOES(disp, parameters) \
1724
(* GET_DrawTexxOES(disp)) parameters
1725
static inline _glptr_DrawTexxOES GET_DrawTexxOES(struct _glapi_table *disp) {
1726
return (_glptr_DrawTexxOES) (GET_by_offset(disp, _gloffset_DrawTexxOES));
1729
static inline void SET_DrawTexxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
1730
SET_by_offset(disp, _gloffset_DrawTexxOES, fn);
1733
typedef void (GLAPIENTRYP _glptr_DrawTexxvOES)(const GLfixed *);
1734
#define CALL_DrawTexxvOES(disp, parameters) \
1735
(* GET_DrawTexxvOES(disp)) parameters
1736
static inline _glptr_DrawTexxvOES GET_DrawTexxvOES(struct _glapi_table *disp) {
1737
return (_glptr_DrawTexxvOES) (GET_by_offset(disp, _gloffset_DrawTexxvOES));
1740
static inline void SET_DrawTexxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
1741
SET_by_offset(disp, _gloffset_DrawTexxvOES, fn);
1744
typedef void (GLAPIENTRYP _glptr_PointSizePointerOES)(GLenum, GLsizei, const GLvoid *);
1745
#define CALL_PointSizePointerOES(disp, parameters) \
1746
(* GET_PointSizePointerOES(disp)) parameters
1747
static inline _glptr_PointSizePointerOES GET_PointSizePointerOES(struct _glapi_table *disp) {
1748
return (_glptr_PointSizePointerOES) (GET_by_offset(disp, _gloffset_PointSizePointerOES));
1751
static inline void SET_PointSizePointerOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
1752
SET_by_offset(disp, _gloffset_PointSizePointerOES, fn);
1755
typedef GLbitfield (GLAPIENTRYP _glptr_QueryMatrixxOES)(GLfixed *, GLint *);
1756
#define CALL_QueryMatrixxOES(disp, parameters) \
1757
(* GET_QueryMatrixxOES(disp)) parameters
1758
static inline _glptr_QueryMatrixxOES GET_QueryMatrixxOES(struct _glapi_table *disp) {
1759
return (_glptr_QueryMatrixxOES) (GET_by_offset(disp, _gloffset_QueryMatrixxOES));
1762
static inline void SET_QueryMatrixxOES(struct _glapi_table *disp, GLbitfield (GLAPIENTRYP fn)(GLfixed *, GLint *)) {
1763
SET_by_offset(disp, _gloffset_QueryMatrixxOES, fn);
1766
typedef void (GLAPIENTRYP _glptr_PointParameterf)(GLenum, GLfloat);
1767
#define CALL_PointParameterf(disp, parameters) \
1768
(* GET_PointParameterf(disp)) parameters
1769
static inline _glptr_PointParameterf GET_PointParameterf(struct _glapi_table *disp) {
1770
return (_glptr_PointParameterf) (GET_by_offset(disp, _gloffset_PointParameterf));
1773
static inline void SET_PointParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
1774
SET_by_offset(disp, _gloffset_PointParameterf, fn);
1777
typedef void (GLAPIENTRYP _glptr_PointParameterfv)(GLenum, const GLfloat *);
1778
#define CALL_PointParameterfv(disp, parameters) \
1779
(* GET_PointParameterfv(disp)) parameters
1780
static inline _glptr_PointParameterfv GET_PointParameterfv(struct _glapi_table *disp) {
1781
return (_glptr_PointParameterfv) (GET_by_offset(disp, _gloffset_PointParameterfv));
1784
static inline void SET_PointParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
1785
SET_by_offset(disp, _gloffset_PointParameterfv, fn);
1788
typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT)(GLenum, const GLint *, const GLsizei *, GLsizei);
1789
#define CALL_MultiDrawArraysEXT(disp, parameters) \
1790
(* GET_MultiDrawArraysEXT(disp)) parameters
1791
static inline _glptr_MultiDrawArraysEXT GET_MultiDrawArraysEXT(struct _glapi_table *disp) {
1792
return (_glptr_MultiDrawArraysEXT) (GET_by_offset(disp, _gloffset_MultiDrawArraysEXT));
1795
static inline void SET_MultiDrawArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *, const GLsizei *, GLsizei)) {
1796
SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn);
1799
typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei);
1800
#define CALL_MultiDrawElementsEXT(disp, parameters) \
1801
(* GET_MultiDrawElementsEXT(disp)) parameters
1802
static inline _glptr_MultiDrawElementsEXT GET_MultiDrawElementsEXT(struct _glapi_table *disp) {
1803
return (_glptr_MultiDrawElementsEXT) (GET_by_offset(disp, _gloffset_MultiDrawElementsEXT));
1806
static inline void SET_MultiDrawElementsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)) {
1807
SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn);
1810
typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateOES)(GLenum, GLenum, GLenum, GLenum);
1811
#define CALL_BlendFuncSeparateOES(disp, parameters) \
1812
(* GET_BlendFuncSeparateOES(disp)) parameters
1813
static inline _glptr_BlendFuncSeparateOES GET_BlendFuncSeparateOES(struct _glapi_table *disp) {
1814
return (_glptr_BlendFuncSeparateOES) (GET_by_offset(disp, _gloffset_BlendFuncSeparateOES));
1817
static inline void SET_BlendFuncSeparateOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
1818
SET_by_offset(disp, _gloffset_BlendFuncSeparateOES, fn);
1821
typedef void (GLAPIENTRYP _glptr_AlphaFuncxOES)(GLenum, GLclampx);
1822
#define CALL_AlphaFuncxOES(disp, parameters) \
1823
(* GET_AlphaFuncxOES(disp)) parameters
1824
static inline _glptr_AlphaFuncxOES GET_AlphaFuncxOES(struct _glapi_table *disp) {
1825
return (_glptr_AlphaFuncxOES) (GET_by_offset(disp, _gloffset_AlphaFuncxOES));
1828
static inline void SET_AlphaFuncxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampx)) {
1829
SET_by_offset(disp, _gloffset_AlphaFuncxOES, fn);
1832
typedef void (GLAPIENTRYP _glptr_ClearColorxOES)(GLclampx, GLclampx, GLclampx, GLclampx);
1833
#define CALL_ClearColorxOES(disp, parameters) \
1834
(* GET_ClearColorxOES(disp)) parameters
1835
static inline _glptr_ClearColorxOES GET_ClearColorxOES(struct _glapi_table *disp) {
1836
return (_glptr_ClearColorxOES) (GET_by_offset(disp, _gloffset_ClearColorxOES));
1839
static inline void SET_ClearColorxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLclampx, GLclampx, GLclampx)) {
1840
SET_by_offset(disp, _gloffset_ClearColorxOES, fn);
1843
typedef void (GLAPIENTRYP _glptr_ClearDepthxOES)(GLclampx);
1844
#define CALL_ClearDepthxOES(disp, parameters) \
1845
(* GET_ClearDepthxOES(disp)) parameters
1846
static inline _glptr_ClearDepthxOES GET_ClearDepthxOES(struct _glapi_table *disp) {
1847
return (_glptr_ClearDepthxOES) (GET_by_offset(disp, _gloffset_ClearDepthxOES));
1850
static inline void SET_ClearDepthxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx)) {
1851
SET_by_offset(disp, _gloffset_ClearDepthxOES, fn);
1854
typedef void (GLAPIENTRYP _glptr_ClipPlanexOES)(GLenum, const GLfixed *);
1855
#define CALL_ClipPlanexOES(disp, parameters) \
1856
(* GET_ClipPlanexOES(disp)) parameters
1857
static inline _glptr_ClipPlanexOES GET_ClipPlanexOES(struct _glapi_table *disp) {
1858
return (_glptr_ClipPlanexOES) (GET_by_offset(disp, _gloffset_ClipPlanexOES));
1861
static inline void SET_ClipPlanexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
1862
SET_by_offset(disp, _gloffset_ClipPlanexOES, fn);
1865
typedef void (GLAPIENTRYP _glptr_Color4xOES)(GLfixed, GLfixed, GLfixed, GLfixed);
1866
#define CALL_Color4xOES(disp, parameters) \
1867
(* GET_Color4xOES(disp)) parameters
1868
static inline _glptr_Color4xOES GET_Color4xOES(struct _glapi_table *disp) {
1869
return (_glptr_Color4xOES) (GET_by_offset(disp, _gloffset_Color4xOES));
1872
static inline void SET_Color4xOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed)) {
1873
SET_by_offset(disp, _gloffset_Color4xOES, fn);
1876
typedef void (GLAPIENTRYP _glptr_DepthRangexOES)(GLclampx, GLclampx);
1877
#define CALL_DepthRangexOES(disp, parameters) \
1878
(* GET_DepthRangexOES(disp)) parameters
1879
static inline _glptr_DepthRangexOES GET_DepthRangexOES(struct _glapi_table *disp) {
1880
return (_glptr_DepthRangexOES) (GET_by_offset(disp, _gloffset_DepthRangexOES));
1883
static inline void SET_DepthRangexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLclampx)) {
1884
SET_by_offset(disp, _gloffset_DepthRangexOES, fn);
1887
typedef void (GLAPIENTRYP _glptr_FogxOES)(GLenum, GLfixed);
1888
#define CALL_FogxOES(disp, parameters) \
1889
(* GET_FogxOES(disp)) parameters
1890
static inline _glptr_FogxOES GET_FogxOES(struct _glapi_table *disp) {
1891
return (_glptr_FogxOES) (GET_by_offset(disp, _gloffset_FogxOES));
1894
static inline void SET_FogxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
1895
SET_by_offset(disp, _gloffset_FogxOES, fn);
1898
typedef void (GLAPIENTRYP _glptr_FogxvOES)(GLenum, const GLfixed *);
1899
#define CALL_FogxvOES(disp, parameters) \
1900
(* GET_FogxvOES(disp)) parameters
1901
static inline _glptr_FogxvOES GET_FogxvOES(struct _glapi_table *disp) {
1902
return (_glptr_FogxvOES) (GET_by_offset(disp, _gloffset_FogxvOES));
1905
static inline void SET_FogxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
1906
SET_by_offset(disp, _gloffset_FogxvOES, fn);
1909
typedef void (GLAPIENTRYP _glptr_FrustumxOES)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
1910
#define CALL_FrustumxOES(disp, parameters) \
1911
(* GET_FrustumxOES(disp)) parameters
1912
static inline _glptr_FrustumxOES GET_FrustumxOES(struct _glapi_table *disp) {
1913
return (_glptr_FrustumxOES) (GET_by_offset(disp, _gloffset_FrustumxOES));
1916
static inline void SET_FrustumxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
1917
SET_by_offset(disp, _gloffset_FrustumxOES, fn);
1920
typedef void (GLAPIENTRYP _glptr_GetClipPlanexOES)(GLenum, GLfixed *);
1921
#define CALL_GetClipPlanexOES(disp, parameters) \
1922
(* GET_GetClipPlanexOES(disp)) parameters
1923
static inline _glptr_GetClipPlanexOES GET_GetClipPlanexOES(struct _glapi_table *disp) {
1924
return (_glptr_GetClipPlanexOES) (GET_by_offset(disp, _gloffset_GetClipPlanexOES));
1927
static inline void SET_GetClipPlanexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed *)) {
1928
SET_by_offset(disp, _gloffset_GetClipPlanexOES, fn);
1931
typedef void (GLAPIENTRYP _glptr_GetFixedvOES)(GLenum, GLfixed *);
1932
#define CALL_GetFixedvOES(disp, parameters) \
1933
(* GET_GetFixedvOES(disp)) parameters
1934
static inline _glptr_GetFixedvOES GET_GetFixedvOES(struct _glapi_table *disp) {
1935
return (_glptr_GetFixedvOES) (GET_by_offset(disp, _gloffset_GetFixedvOES));
1938
static inline void SET_GetFixedvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed *)) {
1939
SET_by_offset(disp, _gloffset_GetFixedvOES, fn);
1942
typedef void (GLAPIENTRYP _glptr_GetLightxvOES)(GLenum, GLenum, GLfixed *);
1943
#define CALL_GetLightxvOES(disp, parameters) \
1944
(* GET_GetLightxvOES(disp)) parameters
1945
static inline _glptr_GetLightxvOES GET_GetLightxvOES(struct _glapi_table *disp) {
1946
return (_glptr_GetLightxvOES) (GET_by_offset(disp, _gloffset_GetLightxvOES));
1949
static inline void SET_GetLightxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
1950
SET_by_offset(disp, _gloffset_GetLightxvOES, fn);
1953
typedef void (GLAPIENTRYP _glptr_GetMaterialxvOES)(GLenum, GLenum, GLfixed *);
1954
#define CALL_GetMaterialxvOES(disp, parameters) \
1955
(* GET_GetMaterialxvOES(disp)) parameters
1956
static inline _glptr_GetMaterialxvOES GET_GetMaterialxvOES(struct _glapi_table *disp) {
1957
return (_glptr_GetMaterialxvOES) (GET_by_offset(disp, _gloffset_GetMaterialxvOES));
1960
static inline void SET_GetMaterialxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
1961
SET_by_offset(disp, _gloffset_GetMaterialxvOES, fn);
1964
typedef void (GLAPIENTRYP _glptr_GetTexEnvxvOES)(GLenum, GLenum, GLfixed *);
1965
#define CALL_GetTexEnvxvOES(disp, parameters) \
1966
(* GET_GetTexEnvxvOES(disp)) parameters
1967
static inline _glptr_GetTexEnvxvOES GET_GetTexEnvxvOES(struct _glapi_table *disp) {
1968
return (_glptr_GetTexEnvxvOES) (GET_by_offset(disp, _gloffset_GetTexEnvxvOES));
1971
static inline void SET_GetTexEnvxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
1972
SET_by_offset(disp, _gloffset_GetTexEnvxvOES, fn);
1975
typedef void (GLAPIENTRYP _glptr_GetTexGenxvOES)(GLenum, GLenum, GLfixed *);
1976
#define CALL_GetTexGenxvOES(disp, parameters) \
1977
(* GET_GetTexGenxvOES(disp)) parameters
1978
static inline _glptr_GetTexGenxvOES GET_GetTexGenxvOES(struct _glapi_table *disp) {
1979
return (_glptr_GetTexGenxvOES) (GET_by_offset(disp, _gloffset_GetTexGenxvOES));
1982
static inline void SET_GetTexGenxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
1983
SET_by_offset(disp, _gloffset_GetTexGenxvOES, fn);
1986
typedef void (GLAPIENTRYP _glptr_GetTexParameterxvOES)(GLenum, GLenum, GLfixed *);
1987
#define CALL_GetTexParameterxvOES(disp, parameters) \
1988
(* GET_GetTexParameterxvOES(disp)) parameters
1989
static inline _glptr_GetTexParameterxvOES GET_GetTexParameterxvOES(struct _glapi_table *disp) {
1990
return (_glptr_GetTexParameterxvOES) (GET_by_offset(disp, _gloffset_GetTexParameterxvOES));
1993
static inline void SET_GetTexParameterxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed *)) {
1994
SET_by_offset(disp, _gloffset_GetTexParameterxvOES, fn);
1997
typedef void (GLAPIENTRYP _glptr_LightModelxOES)(GLenum, GLfixed);
1998
#define CALL_LightModelxOES(disp, parameters) \
1999
(* GET_LightModelxOES(disp)) parameters
2000
static inline _glptr_LightModelxOES GET_LightModelxOES(struct _glapi_table *disp) {
2001
return (_glptr_LightModelxOES) (GET_by_offset(disp, _gloffset_LightModelxOES));
2004
static inline void SET_LightModelxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
2005
SET_by_offset(disp, _gloffset_LightModelxOES, fn);
2008
typedef void (GLAPIENTRYP _glptr_LightModelxvOES)(GLenum, const GLfixed *);
2009
#define CALL_LightModelxvOES(disp, parameters) \
2010
(* GET_LightModelxvOES(disp)) parameters
2011
static inline _glptr_LightModelxvOES GET_LightModelxvOES(struct _glapi_table *disp) {
2012
return (_glptr_LightModelxvOES) (GET_by_offset(disp, _gloffset_LightModelxvOES));
2015
static inline void SET_LightModelxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
2016
SET_by_offset(disp, _gloffset_LightModelxvOES, fn);
2019
typedef void (GLAPIENTRYP _glptr_LightxOES)(GLenum, GLenum, GLfixed);
2020
#define CALL_LightxOES(disp, parameters) \
2021
(* GET_LightxOES(disp)) parameters
2022
static inline _glptr_LightxOES GET_LightxOES(struct _glapi_table *disp) {
2023
return (_glptr_LightxOES) (GET_by_offset(disp, _gloffset_LightxOES));
2026
static inline void SET_LightxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
2027
SET_by_offset(disp, _gloffset_LightxOES, fn);
2030
typedef void (GLAPIENTRYP _glptr_LightxvOES)(GLenum, GLenum, const GLfixed *);
2031
#define CALL_LightxvOES(disp, parameters) \
2032
(* GET_LightxvOES(disp)) parameters
2033
static inline _glptr_LightxvOES GET_LightxvOES(struct _glapi_table *disp) {
2034
return (_glptr_LightxvOES) (GET_by_offset(disp, _gloffset_LightxvOES));
2037
static inline void SET_LightxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
2038
SET_by_offset(disp, _gloffset_LightxvOES, fn);
2041
typedef void (GLAPIENTRYP _glptr_LineWidthxOES)(GLfixed);
2042
#define CALL_LineWidthxOES(disp, parameters) \
2043
(* GET_LineWidthxOES(disp)) parameters
2044
static inline _glptr_LineWidthxOES GET_LineWidthxOES(struct _glapi_table *disp) {
2045
return (_glptr_LineWidthxOES) (GET_by_offset(disp, _gloffset_LineWidthxOES));
2048
static inline void SET_LineWidthxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed)) {
2049
SET_by_offset(disp, _gloffset_LineWidthxOES, fn);
2052
typedef void (GLAPIENTRYP _glptr_LoadMatrixxOES)(const GLfixed *);
2053
#define CALL_LoadMatrixxOES(disp, parameters) \
2054
(* GET_LoadMatrixxOES(disp)) parameters
2055
static inline _glptr_LoadMatrixxOES GET_LoadMatrixxOES(struct _glapi_table *disp) {
2056
return (_glptr_LoadMatrixxOES) (GET_by_offset(disp, _gloffset_LoadMatrixxOES));
2059
static inline void SET_LoadMatrixxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
2060
SET_by_offset(disp, _gloffset_LoadMatrixxOES, fn);
2063
typedef void (GLAPIENTRYP _glptr_MaterialxOES)(GLenum, GLenum, GLfixed);
2064
#define CALL_MaterialxOES(disp, parameters) \
2065
(* GET_MaterialxOES(disp)) parameters
2066
static inline _glptr_MaterialxOES GET_MaterialxOES(struct _glapi_table *disp) {
2067
return (_glptr_MaterialxOES) (GET_by_offset(disp, _gloffset_MaterialxOES));
2070
static inline void SET_MaterialxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
2071
SET_by_offset(disp, _gloffset_MaterialxOES, fn);
2074
typedef void (GLAPIENTRYP _glptr_MaterialxvOES)(GLenum, GLenum, const GLfixed *);
2075
#define CALL_MaterialxvOES(disp, parameters) \
2076
(* GET_MaterialxvOES(disp)) parameters
2077
static inline _glptr_MaterialxvOES GET_MaterialxvOES(struct _glapi_table *disp) {
2078
return (_glptr_MaterialxvOES) (GET_by_offset(disp, _gloffset_MaterialxvOES));
2081
static inline void SET_MaterialxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
2082
SET_by_offset(disp, _gloffset_MaterialxvOES, fn);
2085
typedef void (GLAPIENTRYP _glptr_MultMatrixxOES)(const GLfixed *);
2086
#define CALL_MultMatrixxOES(disp, parameters) \
2087
(* GET_MultMatrixxOES(disp)) parameters
2088
static inline _glptr_MultMatrixxOES GET_MultMatrixxOES(struct _glapi_table *disp) {
2089
return (_glptr_MultMatrixxOES) (GET_by_offset(disp, _gloffset_MultMatrixxOES));
2092
static inline void SET_MultMatrixxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfixed *)) {
2093
SET_by_offset(disp, _gloffset_MultMatrixxOES, fn);
2096
typedef void (GLAPIENTRYP _glptr_MultiTexCoord4xOES)(GLenum, GLfixed, GLfixed, GLfixed, GLfixed);
2097
#define CALL_MultiTexCoord4xOES(disp, parameters) \
2098
(* GET_MultiTexCoord4xOES(disp)) parameters
2099
static inline _glptr_MultiTexCoord4xOES GET_MultiTexCoord4xOES(struct _glapi_table *disp) {
2100
return (_glptr_MultiTexCoord4xOES) (GET_by_offset(disp, _gloffset_MultiTexCoord4xOES));
2103
static inline void SET_MultiTexCoord4xOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed, GLfixed, GLfixed, GLfixed)) {
2104
SET_by_offset(disp, _gloffset_MultiTexCoord4xOES, fn);
2107
typedef void (GLAPIENTRYP _glptr_Normal3xOES)(GLfixed, GLfixed, GLfixed);
2108
#define CALL_Normal3xOES(disp, parameters) \
2109
(* GET_Normal3xOES(disp)) parameters
2110
static inline _glptr_Normal3xOES GET_Normal3xOES(struct _glapi_table *disp) {
2111
return (_glptr_Normal3xOES) (GET_by_offset(disp, _gloffset_Normal3xOES));
2114
static inline void SET_Normal3xOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
2115
SET_by_offset(disp, _gloffset_Normal3xOES, fn);
2118
typedef void (GLAPIENTRYP _glptr_OrthoxOES)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed);
2119
#define CALL_OrthoxOES(disp, parameters) \
2120
(* GET_OrthoxOES(disp)) parameters
2121
static inline _glptr_OrthoxOES GET_OrthoxOES(struct _glapi_table *disp) {
2122
return (_glptr_OrthoxOES) (GET_by_offset(disp, _gloffset_OrthoxOES));
2125
static inline void SET_OrthoxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)) {
2126
SET_by_offset(disp, _gloffset_OrthoxOES, fn);
2129
typedef void (GLAPIENTRYP _glptr_PointParameterxOES)(GLenum, GLfixed);
2130
#define CALL_PointParameterxOES(disp, parameters) \
2131
(* GET_PointParameterxOES(disp)) parameters
2132
static inline _glptr_PointParameterxOES GET_PointParameterxOES(struct _glapi_table *disp) {
2133
return (_glptr_PointParameterxOES) (GET_by_offset(disp, _gloffset_PointParameterxOES));
2136
static inline void SET_PointParameterxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfixed)) {
2137
SET_by_offset(disp, _gloffset_PointParameterxOES, fn);
2140
typedef void (GLAPIENTRYP _glptr_PointParameterxvOES)(GLenum, const GLfixed *);
2141
#define CALL_PointParameterxvOES(disp, parameters) \
2142
(* GET_PointParameterxvOES(disp)) parameters
2143
static inline _glptr_PointParameterxvOES GET_PointParameterxvOES(struct _glapi_table *disp) {
2144
return (_glptr_PointParameterxvOES) (GET_by_offset(disp, _gloffset_PointParameterxvOES));
2147
static inline void SET_PointParameterxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfixed *)) {
2148
SET_by_offset(disp, _gloffset_PointParameterxvOES, fn);
2151
typedef void (GLAPIENTRYP _glptr_PointSizexOES)(GLfixed);
2152
#define CALL_PointSizexOES(disp, parameters) \
2153
(* GET_PointSizexOES(disp)) parameters
2154
static inline _glptr_PointSizexOES GET_PointSizexOES(struct _glapi_table *disp) {
2155
return (_glptr_PointSizexOES) (GET_by_offset(disp, _gloffset_PointSizexOES));
2158
static inline void SET_PointSizexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed)) {
2159
SET_by_offset(disp, _gloffset_PointSizexOES, fn);
2162
typedef void (GLAPIENTRYP _glptr_PolygonOffsetxOES)(GLfixed, GLfixed);
2163
#define CALL_PolygonOffsetxOES(disp, parameters) \
2164
(* GET_PolygonOffsetxOES(disp)) parameters
2165
static inline _glptr_PolygonOffsetxOES GET_PolygonOffsetxOES(struct _glapi_table *disp) {
2166
return (_glptr_PolygonOffsetxOES) (GET_by_offset(disp, _gloffset_PolygonOffsetxOES));
2169
static inline void SET_PolygonOffsetxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed)) {
2170
SET_by_offset(disp, _gloffset_PolygonOffsetxOES, fn);
2173
typedef void (GLAPIENTRYP _glptr_RotatexOES)(GLfixed, GLfixed, GLfixed, GLfixed);
2174
#define CALL_RotatexOES(disp, parameters) \
2175
(* GET_RotatexOES(disp)) parameters
2176
static inline _glptr_RotatexOES GET_RotatexOES(struct _glapi_table *disp) {
2177
return (_glptr_RotatexOES) (GET_by_offset(disp, _gloffset_RotatexOES));
2180
static inline void SET_RotatexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed, GLfixed)) {
2181
SET_by_offset(disp, _gloffset_RotatexOES, fn);
2184
typedef void (GLAPIENTRYP _glptr_SampleCoveragexOES)(GLclampx, GLboolean);
2185
#define CALL_SampleCoveragexOES(disp, parameters) \
2186
(* GET_SampleCoveragexOES(disp)) parameters
2187
static inline _glptr_SampleCoveragexOES GET_SampleCoveragexOES(struct _glapi_table *disp) {
2188
return (_glptr_SampleCoveragexOES) (GET_by_offset(disp, _gloffset_SampleCoveragexOES));
2191
static inline void SET_SampleCoveragexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampx, GLboolean)) {
2192
SET_by_offset(disp, _gloffset_SampleCoveragexOES, fn);
2195
typedef void (GLAPIENTRYP _glptr_ScalexOES)(GLfixed, GLfixed, GLfixed);
2196
#define CALL_ScalexOES(disp, parameters) \
2197
(* GET_ScalexOES(disp)) parameters
2198
static inline _glptr_ScalexOES GET_ScalexOES(struct _glapi_table *disp) {
2199
return (_glptr_ScalexOES) (GET_by_offset(disp, _gloffset_ScalexOES));
2202
static inline void SET_ScalexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
2203
SET_by_offset(disp, _gloffset_ScalexOES, fn);
2206
typedef void (GLAPIENTRYP _glptr_TexEnvxOES)(GLenum, GLenum, GLfixed);
2207
#define CALL_TexEnvxOES(disp, parameters) \
2208
(* GET_TexEnvxOES(disp)) parameters
2209
static inline _glptr_TexEnvxOES GET_TexEnvxOES(struct _glapi_table *disp) {
2210
return (_glptr_TexEnvxOES) (GET_by_offset(disp, _gloffset_TexEnvxOES));
2213
static inline void SET_TexEnvxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
2214
SET_by_offset(disp, _gloffset_TexEnvxOES, fn);
2217
typedef void (GLAPIENTRYP _glptr_TexEnvxvOES)(GLenum, GLenum, const GLfixed *);
2218
#define CALL_TexEnvxvOES(disp, parameters) \
2219
(* GET_TexEnvxvOES(disp)) parameters
2220
static inline _glptr_TexEnvxvOES GET_TexEnvxvOES(struct _glapi_table *disp) {
2221
return (_glptr_TexEnvxvOES) (GET_by_offset(disp, _gloffset_TexEnvxvOES));
2224
static inline void SET_TexEnvxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
2225
SET_by_offset(disp, _gloffset_TexEnvxvOES, fn);
2228
typedef void (GLAPIENTRYP _glptr_TexGenxOES)(GLenum, GLenum, GLint);
2229
#define CALL_TexGenxOES(disp, parameters) \
2230
(* GET_TexGenxOES(disp)) parameters
2231
static inline _glptr_TexGenxOES GET_TexGenxOES(struct _glapi_table *disp) {
2232
return (_glptr_TexGenxOES) (GET_by_offset(disp, _gloffset_TexGenxOES));
2235
static inline void SET_TexGenxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
2236
SET_by_offset(disp, _gloffset_TexGenxOES, fn);
2239
typedef void (GLAPIENTRYP _glptr_TexGenxvOES)(GLenum, GLenum, const GLfixed *);
2240
#define CALL_TexGenxvOES(disp, parameters) \
2241
(* GET_TexGenxvOES(disp)) parameters
2242
static inline _glptr_TexGenxvOES GET_TexGenxvOES(struct _glapi_table *disp) {
2243
return (_glptr_TexGenxvOES) (GET_by_offset(disp, _gloffset_TexGenxvOES));
2246
static inline void SET_TexGenxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
2247
SET_by_offset(disp, _gloffset_TexGenxvOES, fn);
2250
typedef void (GLAPIENTRYP _glptr_TexParameterxOES)(GLenum, GLenum, GLfixed);
2251
#define CALL_TexParameterxOES(disp, parameters) \
2252
(* GET_TexParameterxOES(disp)) parameters
2253
static inline _glptr_TexParameterxOES GET_TexParameterxOES(struct _glapi_table *disp) {
2254
return (_glptr_TexParameterxOES) (GET_by_offset(disp, _gloffset_TexParameterxOES));
2257
static inline void SET_TexParameterxOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfixed)) {
2258
SET_by_offset(disp, _gloffset_TexParameterxOES, fn);
2261
typedef void (GLAPIENTRYP _glptr_TexParameterxvOES)(GLenum, GLenum, const GLfixed *);
2262
#define CALL_TexParameterxvOES(disp, parameters) \
2263
(* GET_TexParameterxvOES(disp)) parameters
2264
static inline _glptr_TexParameterxvOES GET_TexParameterxvOES(struct _glapi_table *disp) {
2265
return (_glptr_TexParameterxvOES) (GET_by_offset(disp, _gloffset_TexParameterxvOES));
2268
static inline void SET_TexParameterxvOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfixed *)) {
2269
SET_by_offset(disp, _gloffset_TexParameterxvOES, fn);
2272
typedef void (GLAPIENTRYP _glptr_TranslatexOES)(GLfixed, GLfixed, GLfixed);
2273
#define CALL_TranslatexOES(disp, parameters) \
2274
(* GET_TranslatexOES(disp)) parameters
2275
static inline _glptr_TranslatexOES GET_TranslatexOES(struct _glapi_table *disp) {
2276
return (_glptr_TranslatexOES) (GET_by_offset(disp, _gloffset_TranslatexOES));
2279
static inline void SET_TranslatexOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfixed, GLfixed, GLfixed)) {
2280
SET_by_offset(disp, _gloffset_TranslatexOES, fn);
2283
typedef void (GLAPIENTRYP _glptr_ClipPlanefOES)(GLenum, const GLfloat *);
2284
#define CALL_ClipPlanefOES(disp, parameters) \
2285
(* GET_ClipPlanefOES(disp)) parameters
2286
static inline _glptr_ClipPlanefOES GET_ClipPlanefOES(struct _glapi_table *disp) {
2287
return (_glptr_ClipPlanefOES) (GET_by_offset(disp, _gloffset_ClipPlanefOES));
2290
static inline void SET_ClipPlanefOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
2291
SET_by_offset(disp, _gloffset_ClipPlanefOES, fn);
2294
typedef void (GLAPIENTRYP _glptr_FrustumfOES)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2295
#define CALL_FrustumfOES(disp, parameters) \
2296
(* GET_FrustumfOES(disp)) parameters
2297
static inline _glptr_FrustumfOES GET_FrustumfOES(struct _glapi_table *disp) {
2298
return (_glptr_FrustumfOES) (GET_by_offset(disp, _gloffset_FrustumfOES));
2301
static inline void SET_FrustumfOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
2302
SET_by_offset(disp, _gloffset_FrustumfOES, fn);
2305
typedef void (GLAPIENTRYP _glptr_GetClipPlanefOES)(GLenum, GLfloat *);
2306
#define CALL_GetClipPlanefOES(disp, parameters) \
2307
(* GET_GetClipPlanefOES(disp)) parameters
2308
static inline _glptr_GetClipPlanefOES GET_GetClipPlanefOES(struct _glapi_table *disp) {
2309
return (_glptr_GetClipPlanefOES) (GET_by_offset(disp, _gloffset_GetClipPlanefOES));
2312
static inline void SET_GetClipPlanefOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
2313
SET_by_offset(disp, _gloffset_GetClipPlanefOES, fn);
2316
typedef void (GLAPIENTRYP _glptr_OrthofOES)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2317
#define CALL_OrthofOES(disp, parameters) \
2318
(* GET_OrthofOES(disp)) parameters
2319
static inline _glptr_OrthofOES GET_OrthofOES(struct _glapi_table *disp) {
2320
return (_glptr_OrthofOES) (GET_by_offset(disp, _gloffset_OrthofOES));
2323
static inline void SET_OrthofOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)) {
2324
SET_by_offset(disp, _gloffset_OrthofOES, fn);
2327
typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateOES)(GLenum, GLenum);
2328
#define CALL_BlendEquationSeparateOES(disp, parameters) \
2329
(* GET_BlendEquationSeparateOES(disp)) parameters
2330
static inline _glptr_BlendEquationSeparateOES GET_BlendEquationSeparateOES(struct _glapi_table *disp) {
2331
return (_glptr_BlendEquationSeparateOES) (GET_by_offset(disp, _gloffset_BlendEquationSeparateOES));
2334
static inline void SET_BlendEquationSeparateOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
2335
SET_by_offset(disp, _gloffset_BlendEquationSeparateOES, fn);
2338
typedef void (GLAPIENTRYP _glptr_BindFramebufferOES)(GLenum, GLuint);
2339
#define CALL_BindFramebufferOES(disp, parameters) \
2340
(* GET_BindFramebufferOES(disp)) parameters
2341
static inline _glptr_BindFramebufferOES GET_BindFramebufferOES(struct _glapi_table *disp) {
2342
return (_glptr_BindFramebufferOES) (GET_by_offset(disp, _gloffset_BindFramebufferOES));
2345
static inline void SET_BindFramebufferOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
2346
SET_by_offset(disp, _gloffset_BindFramebufferOES, fn);
2349
typedef void (GLAPIENTRYP _glptr_BindRenderbufferOES)(GLenum, GLuint);
2350
#define CALL_BindRenderbufferOES(disp, parameters) \
2351
(* GET_BindRenderbufferOES(disp)) parameters
2352
static inline _glptr_BindRenderbufferOES GET_BindRenderbufferOES(struct _glapi_table *disp) {
2353
return (_glptr_BindRenderbufferOES) (GET_by_offset(disp, _gloffset_BindRenderbufferOES));
2356
static inline void SET_BindRenderbufferOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
2357
SET_by_offset(disp, _gloffset_BindRenderbufferOES, fn);
2360
typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatusOES)(GLenum);
2361
#define CALL_CheckFramebufferStatusOES(disp, parameters) \
2362
(* GET_CheckFramebufferStatusOES(disp)) parameters
2363
static inline _glptr_CheckFramebufferStatusOES GET_CheckFramebufferStatusOES(struct _glapi_table *disp) {
2364
return (_glptr_CheckFramebufferStatusOES) (GET_by_offset(disp, _gloffset_CheckFramebufferStatusOES));
2367
static inline void SET_CheckFramebufferStatusOES(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum)) {
2368
SET_by_offset(disp, _gloffset_CheckFramebufferStatusOES, fn);
2371
typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersOES)(GLsizei, const GLuint *);
2372
#define CALL_DeleteFramebuffersOES(disp, parameters) \
2373
(* GET_DeleteFramebuffersOES(disp)) parameters
2374
static inline _glptr_DeleteFramebuffersOES GET_DeleteFramebuffersOES(struct _glapi_table *disp) {
2375
return (_glptr_DeleteFramebuffersOES) (GET_by_offset(disp, _gloffset_DeleteFramebuffersOES));
2378
static inline void SET_DeleteFramebuffersOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
2379
SET_by_offset(disp, _gloffset_DeleteFramebuffersOES, fn);
2382
typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersOES)(GLsizei, const GLuint *);
2383
#define CALL_DeleteRenderbuffersOES(disp, parameters) \
2384
(* GET_DeleteRenderbuffersOES(disp)) parameters
2385
static inline _glptr_DeleteRenderbuffersOES GET_DeleteRenderbuffersOES(struct _glapi_table *disp) {
2386
return (_glptr_DeleteRenderbuffersOES) (GET_by_offset(disp, _gloffset_DeleteRenderbuffersOES));
2389
static inline void SET_DeleteRenderbuffersOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
2390
SET_by_offset(disp, _gloffset_DeleteRenderbuffersOES, fn);
2393
typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferOES)(GLenum, GLenum, GLenum, GLuint);
2394
#define CALL_FramebufferRenderbufferOES(disp, parameters) \
2395
(* GET_FramebufferRenderbufferOES(disp)) parameters
2396
static inline _glptr_FramebufferRenderbufferOES GET_FramebufferRenderbufferOES(struct _glapi_table *disp) {
2397
return (_glptr_FramebufferRenderbufferOES) (GET_by_offset(disp, _gloffset_FramebufferRenderbufferOES));
2400
static inline void SET_FramebufferRenderbufferOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint)) {
2401
SET_by_offset(disp, _gloffset_FramebufferRenderbufferOES, fn);
2404
typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DOES)(GLenum, GLenum, GLenum, GLuint, GLint);
2405
#define CALL_FramebufferTexture2DOES(disp, parameters) \
2406
(* GET_FramebufferTexture2DOES(disp)) parameters
2407
static inline _glptr_FramebufferTexture2DOES GET_FramebufferTexture2DOES(struct _glapi_table *disp) {
2408
return (_glptr_FramebufferTexture2DOES) (GET_by_offset(disp, _gloffset_FramebufferTexture2DOES));
2411
static inline void SET_FramebufferTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
2412
SET_by_offset(disp, _gloffset_FramebufferTexture2DOES, fn);
2415
typedef void (GLAPIENTRYP _glptr_GenFramebuffersOES)(GLsizei, GLuint *);
2416
#define CALL_GenFramebuffersOES(disp, parameters) \
2417
(* GET_GenFramebuffersOES(disp)) parameters
2418
static inline _glptr_GenFramebuffersOES GET_GenFramebuffersOES(struct _glapi_table *disp) {
2419
return (_glptr_GenFramebuffersOES) (GET_by_offset(disp, _gloffset_GenFramebuffersOES));
2422
static inline void SET_GenFramebuffersOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
2423
SET_by_offset(disp, _gloffset_GenFramebuffersOES, fn);
2426
typedef void (GLAPIENTRYP _glptr_GenRenderbuffersOES)(GLsizei, GLuint *);
2427
#define CALL_GenRenderbuffersOES(disp, parameters) \
2428
(* GET_GenRenderbuffersOES(disp)) parameters
2429
static inline _glptr_GenRenderbuffersOES GET_GenRenderbuffersOES(struct _glapi_table *disp) {
2430
return (_glptr_GenRenderbuffersOES) (GET_by_offset(disp, _gloffset_GenRenderbuffersOES));
2433
static inline void SET_GenRenderbuffersOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
2434
SET_by_offset(disp, _gloffset_GenRenderbuffersOES, fn);
2437
typedef void (GLAPIENTRYP _glptr_GenerateMipmapOES)(GLenum);
2438
#define CALL_GenerateMipmapOES(disp, parameters) \
2439
(* GET_GenerateMipmapOES(disp)) parameters
2440
static inline _glptr_GenerateMipmapOES GET_GenerateMipmapOES(struct _glapi_table *disp) {
2441
return (_glptr_GenerateMipmapOES) (GET_by_offset(disp, _gloffset_GenerateMipmapOES));
2444
static inline void SET_GenerateMipmapOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
2445
SET_by_offset(disp, _gloffset_GenerateMipmapOES, fn);
2448
typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameterivOES)(GLenum, GLenum, GLenum, GLint *);
2449
#define CALL_GetFramebufferAttachmentParameterivOES(disp, parameters) \
2450
(* GET_GetFramebufferAttachmentParameterivOES(disp)) parameters
2451
static inline _glptr_GetFramebufferAttachmentParameterivOES GET_GetFramebufferAttachmentParameterivOES(struct _glapi_table *disp) {
2452
return (_glptr_GetFramebufferAttachmentParameterivOES) (GET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivOES));
2455
static inline void SET_GetFramebufferAttachmentParameterivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
2456
SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivOES, fn);
2459
typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivOES)(GLenum, GLenum, GLint *);
2460
#define CALL_GetRenderbufferParameterivOES(disp, parameters) \
2461
(* GET_GetRenderbufferParameterivOES(disp)) parameters
2462
static inline _glptr_GetRenderbufferParameterivOES GET_GetRenderbufferParameterivOES(struct _glapi_table *disp) {
2463
return (_glptr_GetRenderbufferParameterivOES) (GET_by_offset(disp, _gloffset_GetRenderbufferParameterivOES));
2466
static inline void SET_GetRenderbufferParameterivOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
2467
SET_by_offset(disp, _gloffset_GetRenderbufferParameterivOES, fn);
2470
typedef GLboolean (GLAPIENTRYP _glptr_IsFramebufferOES)(GLuint);
2471
#define CALL_IsFramebufferOES(disp, parameters) \
2472
(* GET_IsFramebufferOES(disp)) parameters
2473
static inline _glptr_IsFramebufferOES GET_IsFramebufferOES(struct _glapi_table *disp) {
2474
return (_glptr_IsFramebufferOES) (GET_by_offset(disp, _gloffset_IsFramebufferOES));
2477
static inline void SET_IsFramebufferOES(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
2478
SET_by_offset(disp, _gloffset_IsFramebufferOES, fn);
2481
typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbufferOES)(GLuint);
2482
#define CALL_IsRenderbufferOES(disp, parameters) \
2483
(* GET_IsRenderbufferOES(disp)) parameters
2484
static inline _glptr_IsRenderbufferOES GET_IsRenderbufferOES(struct _glapi_table *disp) {
2485
return (_glptr_IsRenderbufferOES) (GET_by_offset(disp, _gloffset_IsRenderbufferOES));
2488
static inline void SET_IsRenderbufferOES(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
2489
SET_by_offset(disp, _gloffset_IsRenderbufferOES, fn);
2492
typedef void (GLAPIENTRYP _glptr_RenderbufferStorageOES)(GLenum, GLenum, GLsizei, GLsizei);
2493
#define CALL_RenderbufferStorageOES(disp, parameters) \
2494
(* GET_RenderbufferStorageOES(disp)) parameters
2495
static inline _glptr_RenderbufferStorageOES GET_RenderbufferStorageOES(struct _glapi_table *disp) {
2496
return (_glptr_RenderbufferStorageOES) (GET_by_offset(disp, _gloffset_RenderbufferStorageOES));
2499
static inline void SET_RenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei)) {
2500
SET_by_offset(disp, _gloffset_RenderbufferStorageOES, fn);
2503
typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *);
2504
#define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \
2505
(* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters
2506
static inline _glptr_EGLImageTargetRenderbufferStorageOES GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) {
2507
return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES));
2510
static inline void SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
2511
SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn);
2514
typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *);
2515
#define CALL_EGLImageTargetTexture2DOES(disp, parameters) \
2516
(* GET_EGLImageTargetTexture2DOES(disp)) parameters
2517
static inline _glptr_EGLImageTargetTexture2DOES GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) {
2518
return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES));
2521
static inline void SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
2522
SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn);
2526
/* define aliases for compatibility */
2527
#define CALL_ClearDepthfOES(disp, parameters) CALL_ClearDepthf(disp, parameters)
2528
#define GET_ClearDepthfOES(disp) GET_ClearDepthf(disp)
2529
#define SET_ClearDepthfOES(disp, fn) SET_ClearDepthf(disp, fn)
2530
#define CALL_DepthRangefOES(disp, parameters) CALL_DepthRangef(disp, parameters)
2531
#define GET_DepthRangefOES(disp) GET_DepthRangef(disp)
2532
#define SET_DepthRangefOES(disp, fn) SET_DepthRangef(disp, fn)
2533
#define CALL_AlphaFuncx(disp, parameters) CALL_AlphaFuncxOES(disp, parameters)
2534
#define GET_AlphaFuncx(disp) GET_AlphaFuncxOES(disp)
2535
#define SET_AlphaFuncx(disp, fn) SET_AlphaFuncxOES(disp, fn)
2536
#define CALL_ClearColorx(disp, parameters) CALL_ClearColorxOES(disp, parameters)
2537
#define GET_ClearColorx(disp) GET_ClearColorxOES(disp)
2538
#define SET_ClearColorx(disp, fn) SET_ClearColorxOES(disp, fn)
2539
#define CALL_ClearDepthx(disp, parameters) CALL_ClearDepthxOES(disp, parameters)
2540
#define GET_ClearDepthx(disp) GET_ClearDepthxOES(disp)
2541
#define SET_ClearDepthx(disp, fn) SET_ClearDepthxOES(disp, fn)
2542
#define CALL_ClipPlanex(disp, parameters) CALL_ClipPlanexOES(disp, parameters)
2543
#define GET_ClipPlanex(disp) GET_ClipPlanexOES(disp)
2544
#define SET_ClipPlanex(disp, fn) SET_ClipPlanexOES(disp, fn)
2545
#define CALL_Color4x(disp, parameters) CALL_Color4xOES(disp, parameters)
2546
#define GET_Color4x(disp) GET_Color4xOES(disp)
2547
#define SET_Color4x(disp, fn) SET_Color4xOES(disp, fn)
2548
#define CALL_DepthRangex(disp, parameters) CALL_DepthRangexOES(disp, parameters)
2549
#define GET_DepthRangex(disp) GET_DepthRangexOES(disp)
2550
#define SET_DepthRangex(disp, fn) SET_DepthRangexOES(disp, fn)
2551
#define CALL_Fogx(disp, parameters) CALL_FogxOES(disp, parameters)
2552
#define GET_Fogx(disp) GET_FogxOES(disp)
2553
#define SET_Fogx(disp, fn) SET_FogxOES(disp, fn)
2554
#define CALL_Fogxv(disp, parameters) CALL_FogxvOES(disp, parameters)
2555
#define GET_Fogxv(disp) GET_FogxvOES(disp)
2556
#define SET_Fogxv(disp, fn) SET_FogxvOES(disp, fn)
2557
#define CALL_Frustumx(disp, parameters) CALL_FrustumxOES(disp, parameters)
2558
#define GET_Frustumx(disp) GET_FrustumxOES(disp)
2559
#define SET_Frustumx(disp, fn) SET_FrustumxOES(disp, fn)
2560
#define CALL_GetClipPlanex(disp, parameters) CALL_GetClipPlanexOES(disp, parameters)
2561
#define GET_GetClipPlanex(disp) GET_GetClipPlanexOES(disp)
2562
#define SET_GetClipPlanex(disp, fn) SET_GetClipPlanexOES(disp, fn)
2563
#define CALL_GetFixedv(disp, parameters) CALL_GetFixedvOES(disp, parameters)
2564
#define GET_GetFixedv(disp) GET_GetFixedvOES(disp)
2565
#define SET_GetFixedv(disp, fn) SET_GetFixedvOES(disp, fn)
2566
#define CALL_GetLightxv(disp, parameters) CALL_GetLightxvOES(disp, parameters)
2567
#define GET_GetLightxv(disp) GET_GetLightxvOES(disp)
2568
#define SET_GetLightxv(disp, fn) SET_GetLightxvOES(disp, fn)
2569
#define CALL_GetMaterialxv(disp, parameters) CALL_GetMaterialxvOES(disp, parameters)
2570
#define GET_GetMaterialxv(disp) GET_GetMaterialxvOES(disp)
2571
#define SET_GetMaterialxv(disp, fn) SET_GetMaterialxvOES(disp, fn)
2572
#define CALL_GetTexEnvxv(disp, parameters) CALL_GetTexEnvxvOES(disp, parameters)
2573
#define GET_GetTexEnvxv(disp) GET_GetTexEnvxvOES(disp)
2574
#define SET_GetTexEnvxv(disp, fn) SET_GetTexEnvxvOES(disp, fn)
2575
#define CALL_GetTexParameterxv(disp, parameters) CALL_GetTexParameterxvOES(disp, parameters)
2576
#define GET_GetTexParameterxv(disp) GET_GetTexParameterxvOES(disp)
2577
#define SET_GetTexParameterxv(disp, fn) SET_GetTexParameterxvOES(disp, fn)
2578
#define CALL_LightModelx(disp, parameters) CALL_LightModelxOES(disp, parameters)
2579
#define GET_LightModelx(disp) GET_LightModelxOES(disp)
2580
#define SET_LightModelx(disp, fn) SET_LightModelxOES(disp, fn)
2581
#define CALL_LightModelxv(disp, parameters) CALL_LightModelxvOES(disp, parameters)
2582
#define GET_LightModelxv(disp) GET_LightModelxvOES(disp)
2583
#define SET_LightModelxv(disp, fn) SET_LightModelxvOES(disp, fn)
2584
#define CALL_Lightx(disp, parameters) CALL_LightxOES(disp, parameters)
2585
#define GET_Lightx(disp) GET_LightxOES(disp)
2586
#define SET_Lightx(disp, fn) SET_LightxOES(disp, fn)
2587
#define CALL_Lightxv(disp, parameters) CALL_LightxvOES(disp, parameters)
2588
#define GET_Lightxv(disp) GET_LightxvOES(disp)
2589
#define SET_Lightxv(disp, fn) SET_LightxvOES(disp, fn)
2590
#define CALL_LineWidthx(disp, parameters) CALL_LineWidthxOES(disp, parameters)
2591
#define GET_LineWidthx(disp) GET_LineWidthxOES(disp)
2592
#define SET_LineWidthx(disp, fn) SET_LineWidthxOES(disp, fn)
2593
#define CALL_LoadMatrixx(disp, parameters) CALL_LoadMatrixxOES(disp, parameters)
2594
#define GET_LoadMatrixx(disp) GET_LoadMatrixxOES(disp)
2595
#define SET_LoadMatrixx(disp, fn) SET_LoadMatrixxOES(disp, fn)
2596
#define CALL_Materialx(disp, parameters) CALL_MaterialxOES(disp, parameters)
2597
#define GET_Materialx(disp) GET_MaterialxOES(disp)
2598
#define SET_Materialx(disp, fn) SET_MaterialxOES(disp, fn)
2599
#define CALL_Materialxv(disp, parameters) CALL_MaterialxvOES(disp, parameters)
2600
#define GET_Materialxv(disp) GET_MaterialxvOES(disp)
2601
#define SET_Materialxv(disp, fn) SET_MaterialxvOES(disp, fn)
2602
#define CALL_MultMatrixx(disp, parameters) CALL_MultMatrixxOES(disp, parameters)
2603
#define GET_MultMatrixx(disp) GET_MultMatrixxOES(disp)
2604
#define SET_MultMatrixx(disp, fn) SET_MultMatrixxOES(disp, fn)
2605
#define CALL_MultiTexCoord4x(disp, parameters) CALL_MultiTexCoord4xOES(disp, parameters)
2606
#define GET_MultiTexCoord4x(disp) GET_MultiTexCoord4xOES(disp)
2607
#define SET_MultiTexCoord4x(disp, fn) SET_MultiTexCoord4xOES(disp, fn)
2608
#define CALL_Normal3x(disp, parameters) CALL_Normal3xOES(disp, parameters)
2609
#define GET_Normal3x(disp) GET_Normal3xOES(disp)
2610
#define SET_Normal3x(disp, fn) SET_Normal3xOES(disp, fn)
2611
#define CALL_Orthox(disp, parameters) CALL_OrthoxOES(disp, parameters)
2612
#define GET_Orthox(disp) GET_OrthoxOES(disp)
2613
#define SET_Orthox(disp, fn) SET_OrthoxOES(disp, fn)
2614
#define CALL_PointParameterx(disp, parameters) CALL_PointParameterxOES(disp, parameters)
2615
#define GET_PointParameterx(disp) GET_PointParameterxOES(disp)
2616
#define SET_PointParameterx(disp, fn) SET_PointParameterxOES(disp, fn)
2617
#define CALL_PointParameterxv(disp, parameters) CALL_PointParameterxvOES(disp, parameters)
2618
#define GET_PointParameterxv(disp) GET_PointParameterxvOES(disp)
2619
#define SET_PointParameterxv(disp, fn) SET_PointParameterxvOES(disp, fn)
2620
#define CALL_PointSizex(disp, parameters) CALL_PointSizexOES(disp, parameters)
2621
#define GET_PointSizex(disp) GET_PointSizexOES(disp)
2622
#define SET_PointSizex(disp, fn) SET_PointSizexOES(disp, fn)
2623
#define CALL_PolygonOffsetx(disp, parameters) CALL_PolygonOffsetxOES(disp, parameters)
2624
#define GET_PolygonOffsetx(disp) GET_PolygonOffsetxOES(disp)
2625
#define SET_PolygonOffsetx(disp, fn) SET_PolygonOffsetxOES(disp, fn)
2626
#define CALL_Rotatex(disp, parameters) CALL_RotatexOES(disp, parameters)
2627
#define GET_Rotatex(disp) GET_RotatexOES(disp)
2628
#define SET_Rotatex(disp, fn) SET_RotatexOES(disp, fn)
2629
#define CALL_SampleCoveragex(disp, parameters) CALL_SampleCoveragexOES(disp, parameters)
2630
#define GET_SampleCoveragex(disp) GET_SampleCoveragexOES(disp)
2631
#define SET_SampleCoveragex(disp, fn) SET_SampleCoveragexOES(disp, fn)
2632
#define CALL_Scalex(disp, parameters) CALL_ScalexOES(disp, parameters)
2633
#define GET_Scalex(disp) GET_ScalexOES(disp)
2634
#define SET_Scalex(disp, fn) SET_ScalexOES(disp, fn)
2635
#define CALL_TexEnvx(disp, parameters) CALL_TexEnvxOES(disp, parameters)
2636
#define GET_TexEnvx(disp) GET_TexEnvxOES(disp)
2637
#define SET_TexEnvx(disp, fn) SET_TexEnvxOES(disp, fn)
2638
#define CALL_TexEnvxv(disp, parameters) CALL_TexEnvxvOES(disp, parameters)
2639
#define GET_TexEnvxv(disp) GET_TexEnvxvOES(disp)
2640
#define SET_TexEnvxv(disp, fn) SET_TexEnvxvOES(disp, fn)
2641
#define CALL_TexParameterx(disp, parameters) CALL_TexParameterxOES(disp, parameters)
2642
#define GET_TexParameterx(disp) GET_TexParameterxOES(disp)
2643
#define SET_TexParameterx(disp, fn) SET_TexParameterxOES(disp, fn)
2644
#define CALL_TexParameterxv(disp, parameters) CALL_TexParameterxvOES(disp, parameters)
2645
#define GET_TexParameterxv(disp) GET_TexParameterxvOES(disp)
2646
#define SET_TexParameterxv(disp, fn) SET_TexParameterxvOES(disp, fn)
2647
#define CALL_Translatex(disp, parameters) CALL_TranslatexOES(disp, parameters)
2648
#define GET_Translatex(disp) GET_TranslatexOES(disp)
2649
#define SET_Translatex(disp, fn) SET_TranslatexOES(disp, fn)
2650
#define CALL_ClipPlanef(disp, parameters) CALL_ClipPlanefOES(disp, parameters)
2651
#define GET_ClipPlanef(disp) GET_ClipPlanefOES(disp)
2652
#define SET_ClipPlanef(disp, fn) SET_ClipPlanefOES(disp, fn)
2653
#define CALL_Frustumf(disp, parameters) CALL_FrustumfOES(disp, parameters)
2654
#define GET_Frustumf(disp) GET_FrustumfOES(disp)
2655
#define SET_Frustumf(disp, fn) SET_FrustumfOES(disp, fn)
2656
#define CALL_GetClipPlanef(disp, parameters) CALL_GetClipPlanefOES(disp, parameters)
2657
#define GET_GetClipPlanef(disp) GET_GetClipPlanefOES(disp)
2658
#define SET_GetClipPlanef(disp, fn) SET_GetClipPlanefOES(disp, fn)
2659
#define CALL_Orthof(disp, parameters) CALL_OrthofOES(disp, parameters)
2660
#define GET_Orthof(disp) GET_OrthofOES(disp)
2661
#define SET_Orthof(disp, fn) SET_OrthofOES(disp, fn)
2663
#if FEATURE_remap_table
2664
#define ClearDepthfOES_remap_index ClearDepthf_remap_index
2665
#define DepthRangefOES_remap_index DepthRangef_remap_index
2666
#define AlphaFuncx_remap_index AlphaFuncxOES_remap_index
2667
#define ClearColorx_remap_index ClearColorxOES_remap_index
2668
#define ClearDepthx_remap_index ClearDepthxOES_remap_index
2669
#define ClipPlanex_remap_index ClipPlanexOES_remap_index
2670
#define Color4x_remap_index Color4xOES_remap_index
2671
#define DepthRangex_remap_index DepthRangexOES_remap_index
2672
#define Fogx_remap_index FogxOES_remap_index
2673
#define Fogxv_remap_index FogxvOES_remap_index
2674
#define Frustumx_remap_index FrustumxOES_remap_index
2675
#define GetClipPlanex_remap_index GetClipPlanexOES_remap_index
2676
#define GetFixedv_remap_index GetFixedvOES_remap_index
2677
#define GetLightxv_remap_index GetLightxvOES_remap_index
2678
#define GetMaterialxv_remap_index GetMaterialxvOES_remap_index
2679
#define GetTexEnvxv_remap_index GetTexEnvxvOES_remap_index
2680
#define GetTexParameterxv_remap_index GetTexParameterxvOES_remap_index
2681
#define LightModelx_remap_index LightModelxOES_remap_index
2682
#define LightModelxv_remap_index LightModelxvOES_remap_index
2683
#define Lightx_remap_index LightxOES_remap_index
2684
#define Lightxv_remap_index LightxvOES_remap_index
2685
#define LineWidthx_remap_index LineWidthxOES_remap_index
2686
#define LoadMatrixx_remap_index LoadMatrixxOES_remap_index
2687
#define Materialx_remap_index MaterialxOES_remap_index
2688
#define Materialxv_remap_index MaterialxvOES_remap_index
2689
#define MultMatrixx_remap_index MultMatrixxOES_remap_index
2690
#define MultiTexCoord4x_remap_index MultiTexCoord4xOES_remap_index
2691
#define Normal3x_remap_index Normal3xOES_remap_index
2692
#define Orthox_remap_index OrthoxOES_remap_index
2693
#define PointParameterx_remap_index PointParameterxOES_remap_index
2694
#define PointParameterxv_remap_index PointParameterxvOES_remap_index
2695
#define PointSizex_remap_index PointSizexOES_remap_index
2696
#define PolygonOffsetx_remap_index PolygonOffsetxOES_remap_index
2697
#define Rotatex_remap_index RotatexOES_remap_index
2698
#define SampleCoveragex_remap_index SampleCoveragexOES_remap_index
2699
#define Scalex_remap_index ScalexOES_remap_index
2700
#define TexEnvx_remap_index TexEnvxOES_remap_index
2701
#define TexEnvxv_remap_index TexEnvxvOES_remap_index
2702
#define TexParameterx_remap_index TexParameterxOES_remap_index
2703
#define TexParameterxv_remap_index TexParameterxvOES_remap_index
2704
#define Translatex_remap_index TranslatexOES_remap_index
2705
#define ClipPlanef_remap_index ClipPlanefOES_remap_index
2706
#define Frustumf_remap_index FrustumfOES_remap_index
2707
#define GetClipPlanef_remap_index GetClipPlanefOES_remap_index
2708
#define Orthof_remap_index OrthofOES_remap_index
2709
#endif /* FEATURE_remap_table */
2712
#endif /* !defined( _DISPATCH_H_ ) */