File: opengl.cfg

package info (click to toggle)
cppcheck 2.19.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,688 kB
  • sloc: cpp: 272,455; python: 22,408; ansic: 8,088; sh: 1,059; makefile: 1,041; xml: 987; cs: 291
file content (581 lines) | stat: -rw-r--r-- 22,079 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<?xml version="1.0"?>
<def format="2">
  <!-- OpenGL Library Configuration -->
  <!-- OpenGL library is typically included by "#include <gl/GL.h>" or "#include <GL/gl.h>", but can
       also be indirectly include by the GLU or GLUT library ("#include <GL/glu.h>" or
       "#include <GL/glut.h>")-->
  <!-- ########## OpenGL Types ########## -->
  <!-- https://www.khronos.org/opengl/wiki/OpenGL_Type -->
  <podtype name="GLboolean" sign="u" size="1"/>
  <podtype name="GLbyte" sign="s" size="1"/>
  <podtype name="GLubyte" sign="u" size="1"/>
  <podtype name="GLshort" sign="s" size="2"/>
  <podtype name="GLushort" sign="u" size="2"/>
  <podtype name="GLint" sign="s" size="4"/>
  <podtype name="GLuint" sign="u" size="4"/>
  <!-- TODO: GLfixed -->
  <podtype name="GLint64" sign="s" size="8"/>
  <podtype name="GLuint64" sign="u" size="8"/>
  <podtype name="GLsizei" sign="u" size="4"/>
  <podtype name="GLenum" sign="u" size="4"/>
  <!-- TODO: GLintptr -->
  <!-- TODO: GLsizeiptr -->
  <!-- TODO: GLsync -->
  <podtype name="GLbitfield" sign="u" size="4"/>
  <!-- TODO: GLhalf -->
  <define name="GLfloat" value="float"/>
  <define name="GLclampf" value="float"/>
  <define name="GLdouble" value="double"/>
  <define name="GLclampd" value="double"/>
  <!-- ########## OpenGL values / defines ########## -->
  <define name="GL_TRUE" value="1"/>
  <define name="GL_FALSE" value="0"/>
  <!-- ########## OpenGL Functions ########## -->
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glBegin.xml -->
  <!-- void glBegin( GLenum mode ); -->
  <function name="glBegin">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBindTexture.xhtml -->
  <!-- void glBindTexture( GLenum target, GLuint texture); -->
  <function name="glBindTexture">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glClear.xml -->
  <!-- void glClear( GLbitfield mask ); -->
  <function name="glClear">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
  <!-- void glColor3b( GLbyte red, GLbyte green, GLbyte blue ); -->
  <!-- void glColor3s( GLshort red, GLshort green, GLshort blue ); -->
  <!-- void glColor3i( GLint red, GLint green, GLint blue ); -->
  <!-- void glColor3f( GLfloat red, GLfloat green, GLfloat blue ); -->
  <!-- void glColor3d( GLdouble red, GLdouble green, GLdouble blue ); -->
  <!-- void glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); -->
  <!-- void glColor3us( GLushort red, GLushort green, GLushort blue ); -->
  <!-- void glColor3ui( GLuint red, GLuint green, GLuint blue ); -->
  <function name="glColor3b,glColor3s,glColor3i,glColor3f,glColor3d,glColor3ub,glColor3us,glColor3ui">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
  <!-- void glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); -->
  <!-- void glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ); -->
  <!-- void glColor4i( GLint red, GLint green, GLint blue, GLint alpha ); -->
  <!-- void glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); -->
  <!-- void glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ); -->
  <!-- void glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ); -->
  <!-- void glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ); -->
  <!-- void glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ); -->
  <function name="glColor4b,glColor4s,glColor4i,glColor4f,glColor4d,glColor4ub,glColor4us,glColor4ui">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="4" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
  <!-- void glColor3bv( const GLbyte * v ); -->
  <!-- void glColor3sv( const GLshort * v ); -->
  <!-- void glColor3iv( const GLint * v ); -->
  <!-- void glColor3fv( const GLfloat * v ); -->
  <!-- void glColor3dv( const GLdouble * v ); -->
  <!-- void glColor3ubv( const GLubyte * v ); -->
  <!-- void glColor3usv( const GLushort * v ); -->
  <!-- void glColor3uiv( const GLuint * v ); -->
  <!-- void glColor4bv( const GLbyte * v ); -->
  <!-- void glColor4sv( const GLshort * v ); -->
  <!-- void glColor4iv( const GLint * v ); -->
  <!-- void glColor4fv( const GLfloat * v ); -->
  <!-- void glColor4dv( const GLdouble * v ); -->
  <!-- void glColor4ubv( const GLubyte * v ); -->
  <!-- void glColor4usv( const GLushort * v ); -->
  <!-- void glColor4uiv( const GLuint * v ); -->
  <function name="glColor3bv,glColor3sv,glColor3iv,glColor3fv,glColor3dv,glColor3ubv,glColor3usv,glColor3uiv,glColor4bv,glColor4sv,glColor4iv,glColor4fv,glColor4dv,glColor4ubv,glColor4usv,glColor4uiv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-null/>
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glEnable.xml -->
  <!-- void glDisable( GLenum cap); -->
  <function name="glDisable">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glEnable.xml -->
  <!-- void glEnable( GLenum cap ); -->
  <function name="glEnable">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glBegin.xml -->
  <!-- void glEnd(void); -->
  <function name="glEnd">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glGet.xml -->
  <!-- void glGetBooleanv( GLenum pname, GLboolean * params); -->
  <!-- void glGetDoublev( GLenum pname, GLdouble * params); -->
  <!-- void glGetFloatv( GLenum pname, GLfloat * params); -->
  <!-- void glGetIntegerv( GLenum pname, GLint * params); -->
  <function name="glGetBooleanv,glGetDoublev,glGetFloatv,glGetIntegerv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="out">
      <not-null/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glGetString.xhtml -->
  <!-- const GLubyte *glGetString( GLenum name); -->
  <function name="glGetString">
    <noreturn>false</noreturn>
    <returnValue type="const GLubyte *"/>
    <use-retval/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- const GLubyte *glGetStringi( GLenum name, GLuint index); -->
  <function name="glGetStringi">
    <noreturn>false</noreturn>
    <returnValue type="const GLubyte *"/>
    <use-retval/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glIsEnabled.xml -->
  <!-- GLboolean glIsEnabled( GLenum cap ); -->
  <function name="glIsEnabled">
    <pure/>
    <noreturn>false</noreturn>
    <returnValue type="GLboolean"/>
    <use-retval/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glLoadMatrix.xml -->
  <!-- void glLoadMatrixd( const GLdouble * m); -->
  <!-- void glLoadMatrixf( const GLfloat * m); -->
  <function name="glLoadMatrixd,glLoadMatrixf">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-null/>
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glMaterial.xml -->
  <!-- void glMaterialf( GLenum face, GLenum pname, GLfloat param); -->
  <!-- void glMateriali( GLenum face, GLenum pname, GLint param); -->
  <function name="glMaterialf,glMateriali">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- void glMaterialfv( GLenum face, GLenum pname, const GLfloat * params); -->
  <!-- void glMaterialiv( GLenum face, GLenum pname, const GLint * params); -->
  <function name="glMaterialfv,glMaterialiv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glMatrixMode.xml -->
  <!-- void glMatrixMode( GLenum mode); -->
  <function name="glMatrixMode">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glNormal.xml -->
  <!-- void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); -->
  <!-- void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); -->
  <!-- void glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); -->
  <!-- void glNormal3i( GLint nx, GLint ny, GLint nz ); -->
  <!-- void glNormal3s( GLshort nx, GLshort ny, GLshort nz ); -->
  <function name="glNormal3b,glNormal3d,glNormal3f,glNormal3i,glNormal3s">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glNormal.xml -->
  <!-- void glNormal3bv( const GLbyte * v ); -->
  <!-- void glNormal3dv( const GLdouble * v ); -->
  <!-- void glNormal3fv( const GLfloat * v ); -->
  <!-- void glNormal3iv( const GLint * v ); -->
  <!-- void glNormal3sv( const GLshort * v ); -->
  <function name="glNormal3bv,glNormal3dv,glNormal3fv,glNormal3iv,glNormal3sv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-null/>
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushMatrix.xml -->
  <!-- void glPopMatrix( void); -->
  <function name="glPopMatrix">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushMatrix.xml -->
  <!-- void glPushMatrix( void); -->
  <function name="glPushMatrix">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml -->
  <!-- void glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ); -->
  <!-- void glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); -->
  <function name="glRotated,glRotatef">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="4" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glTexCoord.xml -->
  <!-- void glTexCoord1s( GLshort s ); -->
  <!-- void glTexCoord1i( GLint s ); -->
  <!-- void glTexCoord1f( GLfloat s ); -->
  <!-- void glTexCoord1d( GLdouble s ); -->
  <function name="glTexCoord1s,glTexCoord1i,glTexCoord1f,glTexCoord1d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- void glTexCoord2s( GLshort s, GLshort t ); -->
  <!-- void glTexCoord2i( GLint s, GLint t ); -->
  <!-- void glTexCoord2f( GLfloat s, GLfloat t ); -->
  <!-- void glTexCoord2d( GLdouble s, GLdouble t ); -->
  <function name="glTexCoord2s,glTexCoord2i,glTexCoord2f,glTexCoord2d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- void glTexCoord3s( GLshort s, GLshort t, GLshort r ); -->
  <!-- void glTexCoord3i( GLint s, GLint t, GLint r ); -->
  <!-- void glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); -->
  <!-- void glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); -->
  <function name="glTexCoord3s,glTexCoord3i,glTexCoord3f,glTexCoord3d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- void glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); -->
  <!-- void glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); -->
  <!-- void glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); -->
  <!-- void glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); -->
  <function name="glTexCoord4s,glTexCoord4i,glTexCoord4f,glTexCoord4d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="4" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- void glTexCoord1sv( const GLshort * v ); -->
  <!-- void glTexCoord1iv( const GLint * v ); -->
  <!-- void glTexCoord1fv( const GLfloat * v ); -->
  <!-- void glTexCoord1dv( const GLdouble * v ); -->
  <!-- void glTexCoord2sv( const GLshort * v ); -->
  <!-- void glTexCoord2iv( const GLint * v ); -->
  <!-- void glTexCoord2fv( const GLfloat * v ); -->
  <!-- void glTexCoord2dv( const GLdouble * v ); -->
  <!-- void glTexCoord3sv( const GLshort * v ); -->
  <!-- void glTexCoord3iv( const GLint * v ); -->
  <!-- void glTexCoord3fv( const GLfloat * v ); -->
  <!-- void glTexCoord3dv( const GLdouble * v ); -->
  <!-- void glTexCoord4sv( const GLshort * v ); -->
  <!-- void glTexCoord4iv( const GLint * v ); -->
  <!-- void glTexCoord4fv( const GLfloat * v ); -->
  <!-- void glTexCoord4dv( const GLdouble * v ); -->
  <function name="glTexCoord1sv,glTexCoord1iv,glTexCoord1fv,glTexCoord1dv,glTexCoord2sv,glTexCoord2iv,glTexCoord2fv,glTexCoord2dv,glTexCoord3sv,glTexCoord3iv,glTexCoord3fv,glTexCoord4sv,glTexCoord4iv,glTexCoord4fv,glTexCoord4dv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-null/>
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml -->
  <!-- void glTexParameterf( GLenum target, GLenum pname, GLfloat param); -->
  <!-- void glTexParameteri( GLenum target, GLenum pname, GLint param); -->
  <!-- void glTextureParameterf( GLuint texture, GLenum pname, GLfloat param); -->
  <!-- void glTextureParameteri( GLuint texture, GLenum pname, GLint param); -->
  <function name="glTexParameterf,glTexParameteri,glTextureParameterf,glTextureParameteri">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml -->
  <!-- void glTexParameterfv( GLenum target, GLenum pname, const GLfloat * params); -->
  <!-- void glTexParameteriv( GLenum target, GLenum pname, const GLint * params); -->
  <!-- void glTexParameterIiv( GLenum target, GLenum pname, const GLint * params); -->
  <!-- void glTexParameterIuiv( GLenum target, GLenum pname, const GLuint * params); -->
  <!-- void glTextureParameterfv( GLuint texture, GLenum pname, const GLfloat *params); -->
  <!-- void glTextureParameteriv( GLuint texture, GLenum pname, const GLint *params); -->
  <!-- void glTextureParameterIiv( GLuint texture, GLenum pname, const GLint *params); -->
  <!-- void glTextureParameterIuiv( GLuint texture, GLenum pname, const GLuint *params); -->
  <function name="glTexParameterfv,glTexParameteriv,glTexParameterIiv,glTexParameterIuiv,glTextureParameterfv,glTextureParameteriv,glTextureParameterIiv,glTextureParameterIuiv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-null/>
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glTranslate.xml -->
  <!-- void glTranslated( GLdouble x, GLdouble y, GLdouble z); -->
  <!-- void glTranslatef( GLfloat x, GLfloat y, GLfloat z); -->
  <function name="glTranslated,glTranslatef">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glUseProgram.xml -->
  <!-- void glUseProgram( GLuint program); -->
  <function name="glUseProgram">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <leak-ignore/>
    <arg nr="1" direction="in">
      <not-uninit/>
      <not-bool/>
    </arg>
  </function>
  <!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glVertex.xml -->
  <!-- void glVertex2s( GLshort x, GLshort y ); -->
  <!-- void glVertex2i( GLint x, GLint y ); -->
  <!-- void glVertex2f( GLfloat x, GLfloat y ); -->
  <!-- void glVertex2d( GLdouble x, GLdouble y );-->
  <function name="glVertex2s,glVertex2i,glVertex2f,glVertex2d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- void glVertex3s( GLshort x, GLshort y, GLshort z ); -->
  <!-- void glVertex3i(	GLint x, GLint y, GLint z ); -->
  <!-- void glVertex3f( GLfloat x, GLfloat y, GLfloat z ); -->
  <!-- void glVertex3d(	GLdouble x, GLdouble y, GLdouble z); -->
  <function name="glVertex3s,glVertex3i,glVertex3f,glVertex3d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- void glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); -->
  <!-- void glVertex4i(	GLint x, GLint y, GLint z, GLint w ); -->
  <!-- void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); -->
  <!-- void glVertex4d(	GLdouble x, GLdouble y, GLdouble z, GLdouble w); -->
  <function name="glVertex4s,glVertex4i,glVertex4f,glVertex4d">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="2" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="3" direction="in">
      <not-uninit/>
    </arg>
    <arg nr="4" direction="in">
      <not-uninit/>
    </arg>
  </function>
  <!-- void glVertex2sv( const GLshort * v ); -->
  <!-- void glVertex2iv( const GLint * v ); -->
  <!-- void glVertex2fv( const GLfloat * v ); -->
  <!-- void glVertex2dv( const GLdouble * v ); -->
  <!-- void glVertex3sv( const GLshort * v ); -->
  <!-- void glVertex3iv( const GLint * v ); -->
  <!-- void glVertex3fv( const GLfloat * v ); -->
  <!-- void glVertex3dv( const GLdouble * v ); -->
  <!-- void glVertex4sv( const GLshort * v ); -->
  <!-- void glVertex4iv( const GLint * v ); -->
  <!-- void glVertex4fv( const GLfloat * v ); -->
  <!-- void glVertex4dv( const GLdouble * v ); -->
  <function name="glVertex2sv,glVertex2iv,glVertex2fv,glVertex2dv,glVertex3sv,glVertex3iv,glVertex3fv,glVertex3dv,glVertex4sv,glVertex4iv,glVertex4fv,glVertex4dv">
    <noreturn>false</noreturn>
    <returnValue type="void"/>
    <arg nr="1" direction="in">
      <not-null/>
      <not-uninit/>
    </arg>
  </function>
</def>