Stripped out a lot of useless info from the spec, by selecting only what is needed.
[cl-glfw/jecs.git] / lib / opengl.lisp
blob62aead6df6d4e28c2daf0d0b045900613fbff539
1 ;;;; This file was automatically generated by /home/bill/programming/cl-glfw/generators/make-bindings-from-spec.lisp
3 (in-package #:cl-glfw-opengl)
5 ;;;; {{{ attribmask
7 (defconstant +current-bit+ #x1)
8 (defconstant +point-bit+ #x2)
9 (defconstant +line-bit+ #x4)
10 (defconstant +polygon-bit+ #x8)
11 (defconstant +polygon-stipple-bit+ #x10)
12 (defconstant +pixel-mode-bit+ #x20)
13 (defconstant +lighting-bit+ #x40)
14 (defconstant +fog-bit+ #x80)
15 (defconstant +depth-buffer-bit+ #x100)
16 (defconstant +accum-buffer-bit+ #x200)
17 (defconstant +stencil-buffer-bit+ #x400)
18 (defconstant +viewport-bit+ #x800)
19 (defconstant +transform-bit+ #x1000)
20 (defconstant +enable-bit+ #x2000)
21 (defconstant +color-buffer-bit+ #x4000)
22 (defconstant +hint-bit+ #x8000)
23 (defconstant +eval-bit+ #x10000)
24 (defconstant +list-bit+ #x20000)
25 (defconstant +texture-bit+ #x40000)
26 (defconstant +scissor-bit+ #x80000)
27 (defconstant +all-attrib-bits+ #xFFFFFFFF)
29 ;;;; }}}
31 ;;;; {{{ clientattribmask
33 (defconstant +client-pixel-store-bit+ #x1)
34 (defconstant +client-vertex-array-bit+ #x2)
35 (defconstant +client-all-attrib-bits+ #xFFFFFFFF)
37 ;;;; }}}
39 ;;;; {{{ boolean
41 (defconstant +false+ #x0)
42 (defconstant +true+ #x1)
44 ;;;; }}}
46 ;;;; {{{ beginmode
48 (defconstant +points+ #x0)
49 (defconstant +lines+ #x1)
50 (defconstant +line-loop+ #x2)
51 (defconstant +line-strip+ #x3)
52 (defconstant +triangles+ #x4)
53 (defconstant +triangle-strip+ #x5)
54 (defconstant +triangle-fan+ #x6)
55 (defconstant +quads+ #x7)
56 (defconstant +quad-strip+ #x8)
57 (defconstant +polygon+ #x9)
59 ;;;; }}}
61 ;;;; {{{ accumop
63 (defconstant +accum+ #x100)
64 (defconstant +load+ #x101)
65 (defconstant +return+ #x102)
66 (defconstant +mult+ #x103)
67 (defconstant +add+ #x104)
69 ;;;; }}}
71 ;;;; {{{ alphafunction
73 (defconstant +never+ #x200)
74 (defconstant +less+ #x201)
75 (defconstant +equal+ #x202)
76 (defconstant +lequal+ #x203)
77 (defconstant +greater+ #x204)
78 (defconstant +notequal+ #x205)
79 (defconstant +gequal+ #x206)
80 (defconstant +always+ #x207)
82 ;;;; }}}
84 ;;;; {{{ blendingfactordest
86 (defconstant +zero+ #x0)
87 (defconstant +one+ #x1)
88 (defconstant +src-color+ #x300)
89 (defconstant +one-minus-src-color+ #x301)
90 (defconstant +src-alpha+ #x302)
91 (defconstant +one-minus-src-alpha+ #x303)
92 (defconstant +dst-alpha+ #x304)
93 (defconstant +one-minus-dst-alpha+ #x305)
94 (defconstant +constant-color-ext+ #x8001)
95 (defconstant +one-minus-constant-color-ext+ #x8002)
96 (defconstant +constant-alpha-ext+ #x8003)
97 (defconstant +one-minus-constant-alpha-ext+ #x8004)
99 ;;;; }}}
101 ;;;; {{{ blendingfactorsrc
103 (defconstant +dst-color+ #x306)
104 (defconstant +one-minus-dst-color+ #x307)
105 (defconstant +src-alpha-saturate+ #x308)
107 ;;;; }}}
109 ;;;; {{{ blendequationmodeext
111 (defconstant +logic-op+ #xBF1)
112 (defconstant +func-add-ext+ #x8006)
113 (defconstant +min-ext+ #x8007)
114 (defconstant +max-ext+ #x8008)
115 (defconstant +func-subtract-ext+ #x800A)
116 (defconstant +func-reverse-subtract-ext+ #x800B)
117 (defconstant +alpha-min-sgix+ #x8320)
118 (defconstant +alpha-max-sgix+ #x8321)
120 ;;;; }}}
122 ;;;; {{{ colormaterialface
124 (defconstant +front+ #x404)
125 (defconstant +back+ #x405)
126 (defconstant +front-and-back+ #x408)
128 ;;;; }}}
130 ;;;; {{{ colormaterialparameter
132 (defconstant +ambient+ #x1200)
133 (defconstant +diffuse+ #x1201)
134 (defconstant +specular+ #x1202)
135 (defconstant +emission+ #x1600)
136 (defconstant +ambient-and-diffuse+ #x1602)
138 ;;;; }}}
140 ;;;; {{{ colorpointertype
142 (defconstant +byte+ #x1400)
143 (defconstant +unsigned-byte+ #x1401)
144 (defconstant +short+ #x1402)
145 (defconstant +unsigned-short+ #x1403)
146 (defconstant +int+ #x1404)
147 (defconstant +unsigned-int+ #x1405)
148 (defconstant +float+ #x1406)
149 (defconstant +double+ #x140A)
151 ;;;; }}}
153 ;;;; {{{ colortableparameterpnamesgi
155 (defconstant +color-table-scale-sgi+ #x80D6)
156 (defconstant +color-table-bias-sgi+ #x80D7)
158 ;;;; }}}
160 ;;;; {{{ colortabletargetsgi
162 (defconstant +color-table-sgi+ #x80D0)
163 (defconstant +post-convolution-color-table-sgi+ #x80D1)
164 (defconstant +post-color-matrix-color-table-sgi+ #x80D2)
165 (defconstant +proxy-color-table-sgi+ #x80D3)
166 (defconstant +proxy-post-convolution-color-table-sgi+ #x80D4)
167 (defconstant +proxy-post-color-matrix-color-table-sgi+ #x80D5)
168 (defconstant +texture-color-table-sgi+ #x80BC)
169 (defconstant +proxy-texture-color-table-sgi+ #x80BD)
171 ;;;; }}}
173 ;;;; {{{ convolutionbordermodeext
175 (defconstant +reduce-ext+ #x8016)
177 ;;;; }}}
179 ;;;; {{{ convolutionparameterext
181 (defconstant +convolution-border-mode-ext+ #x8013)
182 (defconstant +convolution-filter-scale-ext+ #x8014)
183 (defconstant +convolution-filter-bias-ext+ #x8015)
185 ;;;; }}}
187 ;;;; {{{ convolutiontargetext
189 (defconstant +convolution-1d-ext+ #x8010)
190 (defconstant +convolution-2d-ext+ #x8011)
192 ;;;; }}}
194 ;;;; {{{ drawbuffermode
196 (defconstant +none+ #x0)
197 (defconstant +front-left+ #x400)
198 (defconstant +front-right+ #x401)
199 (defconstant +back-left+ #x402)
200 (defconstant +back-right+ #x403)
201 (defconstant +left+ #x406)
202 (defconstant +right+ #x407)
203 (defconstant +aux0+ #x409)
204 (defconstant +aux1+ #x40A)
205 (defconstant +aux2+ #x40B)
206 (defconstant +aux3+ #x40C)
208 ;;;; }}}
210 ;;;; {{{ enablecap
212 (defconstant +fog+ #xB60)
213 (defconstant +lighting+ #xB50)
214 (defconstant +texture-1d+ #xDE0)
215 (defconstant +texture-2d+ #xDE1)
216 (defconstant +line-stipple+ #xB24)
217 (defconstant +polygon-stipple+ #xB42)
218 (defconstant +cull-face+ #xB44)
219 (defconstant +alpha-test+ #xBC0)
220 (defconstant +blend+ #xBE2)
221 (defconstant +index-logic-op+ #xBF1)
222 (defconstant +color-logic-op+ #xBF2)
223 (defconstant +dither+ #xBD0)
224 (defconstant +stencil-test+ #xB90)
225 (defconstant +depth-test+ #xB71)
226 (defconstant +clip-plane0+ #x3000)
227 (defconstant +clip-plane1+ #x3001)
228 (defconstant +clip-plane2+ #x3002)
229 (defconstant +clip-plane3+ #x3003)
230 (defconstant +clip-plane4+ #x3004)
231 (defconstant +clip-plane5+ #x3005)
232 (defconstant +light0+ #x4000)
233 (defconstant +light1+ #x4001)
234 (defconstant +light2+ #x4002)
235 (defconstant +light3+ #x4003)
236 (defconstant +light4+ #x4004)
237 (defconstant +light5+ #x4005)
238 (defconstant +light6+ #x4006)
239 (defconstant +light7+ #x4007)
240 (defconstant +texture-gen-s+ #xC60)
241 (defconstant +texture-gen-t+ #xC61)
242 (defconstant +texture-gen-r+ #xC62)
243 (defconstant +texture-gen-q+ #xC63)
244 (defconstant +map1-vertex-3+ #xD97)
245 (defconstant +map1-vertex-4+ #xD98)
246 (defconstant +map1-color-4+ #xD90)
247 (defconstant +map1-index+ #xD91)
248 (defconstant +map1-normal+ #xD92)
249 (defconstant +map1-texture-coord-1+ #xD93)
250 (defconstant +map1-texture-coord-2+ #xD94)
251 (defconstant +map1-texture-coord-3+ #xD95)
252 (defconstant +map1-texture-coord-4+ #xD96)
253 (defconstant +map2-vertex-3+ #xDB7)
254 (defconstant +map2-vertex-4+ #xDB8)
255 (defconstant +map2-color-4+ #xDB0)
256 (defconstant +map2-index+ #xDB1)
257 (defconstant +map2-normal+ #xDB2)
258 (defconstant +map2-texture-coord-1+ #xDB3)
259 (defconstant +map2-texture-coord-2+ #xDB4)
260 (defconstant +map2-texture-coord-3+ #xDB5)
261 (defconstant +map2-texture-coord-4+ #xDB6)
262 (defconstant +point-smooth+ #xB10)
263 (defconstant +line-smooth+ #xB20)
264 (defconstant +polygon-smooth+ #xB41)
265 (defconstant +scissor-test+ #xC11)
266 (defconstant +color-material+ #xB57)
267 (defconstant +normalize+ #xBA1)
268 (defconstant +auto-normal+ #xD80)
269 (defconstant +polygon-offset-point+ #x2A01)
270 (defconstant +polygon-offset-line+ #x2A02)
271 (defconstant +polygon-offset-fill+ #x8037)
272 (defconstant +vertex-array+ #x8074)
273 (defconstant +normal-array+ #x8075)
274 (defconstant +color-array+ #x8076)
275 (defconstant +index-array+ #x8077)
276 (defconstant +texture-coord-array+ #x8078)
277 (defconstant +edge-flag-array+ #x8079)
278 (defconstant +separable-2d-ext+ #x8012)
279 (defconstant +histogram-ext+ #x8024)
280 (defconstant +minmax-ext+ #x802E)
281 (defconstant +rescale-normal-ext+ #x803A)
282 (defconstant +shared-texture-palette-ext+ #x81FB)
283 (defconstant +texture-3d-ext+ #x806F)
284 (defconstant +multisample-sgis+ #x809D)
285 (defconstant +sample-alpha-to-mask-sgis+ #x809E)
286 (defconstant +sample-alpha-to-one-sgis+ #x809F)
287 (defconstant +sample-mask-sgis+ #x80A0)
288 (defconstant +texture-4d-sgis+ #x8134)
289 (defconstant +async-histogram-sgix+ #x832C)
290 (defconstant +async-tex-image-sgix+ #x835C)
291 (defconstant +async-draw-pixels-sgix+ #x835D)
292 (defconstant +async-read-pixels-sgix+ #x835E)
293 (defconstant +calligraphic-fragment-sgix+ #x8183)
294 (defconstant +fog-offset-sgix+ #x8198)
295 (defconstant +fragment-lighting-sgix+ #x8400)
296 (defconstant +fragment-color-material-sgix+ #x8401)
297 (defconstant +fragment-light0-sgix+ #x840C)
298 (defconstant +fragment-light1-sgix+ #x840D)
299 (defconstant +fragment-light2-sgix+ #x840E)
300 (defconstant +fragment-light3-sgix+ #x840F)
301 (defconstant +fragment-light4-sgix+ #x8410)
302 (defconstant +fragment-light5-sgix+ #x8411)
303 (defconstant +fragment-light6-sgix+ #x8412)
304 (defconstant +fragment-light7-sgix+ #x8413)
305 (defconstant +framezoom-sgix+ #x818B)
306 (defconstant +interlace-sgix+ #x8094)
307 (defconstant +ir-instrument1-sgix+ #x817F)
308 (defconstant +pixel-tex-gen-sgix+ #x8139)
309 (defconstant +pixel-texture-sgis+ #x8353)
310 (defconstant +reference-plane-sgix+ #x817D)
311 (defconstant +sprite-sgix+ #x8148)
313 ;;;; }}}
315 ;;;; {{{ errorcode
317 (defconstant +no-error+ #x0)
318 (defconstant +invalid-enum+ #x500)
319 (defconstant +invalid-value+ #x501)
320 (defconstant +invalid-operation+ #x502)
321 (defconstant +stack-overflow+ #x503)
322 (defconstant +stack-underflow+ #x504)
323 (defconstant +out-of-memory+ #x505)
324 (defconstant +table-too-large-ext+ #x8031)
325 (defconstant +texture-too-large-ext+ #x8065)
327 ;;;; }}}
329 ;;;; {{{ feedbacktype
331 (defconstant +2d+ #x600)
332 (defconstant +3d+ #x601)
333 (defconstant +3d-color+ #x602)
334 (defconstant +3d-color-texture+ #x603)
335 (defconstant +4d-color-texture+ #x604)
337 ;;;; }}}
339 ;;;; {{{ feedbacktoken
341 (defconstant +pass-through-token+ #x700)
342 (defconstant +point-token+ #x701)
343 (defconstant +line-token+ #x702)
344 (defconstant +polygon-token+ #x703)
345 (defconstant +bitmap-token+ #x704)
346 (defconstant +draw-pixel-token+ #x705)
347 (defconstant +copy-pixel-token+ #x706)
348 (defconstant +line-reset-token+ #x707)
350 ;;;; }}}
352 ;;;; {{{ ffdmasksgix
354 (defconstant +texture-deformation-bit-sgix+ #x1)
355 (defconstant +geometry-deformation-bit-sgix+ #x2)
357 ;;;; }}}
359 ;;;; {{{ ffdtargetsgix
361 (defconstant +geometry-deformation-sgix+ #x8194)
362 (defconstant +texture-deformation-sgix+ #x8195)
364 ;;;; }}}
366 ;;;; {{{ fogmode
368 (defconstant +linear+ #x2601)
369 (defconstant +exp+ #x800)
370 (defconstant +exp2+ #x801)
371 (defconstant +fog-func-sgis+ #x812A)
373 ;;;; }}}
375 ;;;; {{{ fogparameter
377 (defconstant +fog-color+ #xB66)
378 (defconstant +fog-density+ #xB62)
379 (defconstant +fog-end+ #xB64)
380 (defconstant +fog-index+ #xB61)
381 (defconstant +fog-mode+ #xB65)
382 (defconstant +fog-start+ #xB63)
383 (defconstant +fog-offset-value-sgix+ #x8199)
385 ;;;; }}}
387 ;;;; {{{ fragmentlightmodelparametersgix
389 (defconstant +fragment-light-model-local-viewer-sgix+ #x8408)
390 (defconstant +fragment-light-model-two-side-sgix+ #x8409)
391 (defconstant +fragment-light-model-ambient-sgix+ #x840A)
392 (defconstant +fragment-light-model-normal-interpolation-sgix+ #x840B)
394 ;;;; }}}
396 ;;;; {{{ frontfacedirection
398 (defconstant +cw+ #x900)
399 (defconstant +ccw+ #x901)
401 ;;;; }}}
403 ;;;; {{{ getcolortableparameterpnamesgi
405 (defconstant +color-table-format-sgi+ #x80D8)
406 (defconstant +color-table-width-sgi+ #x80D9)
407 (defconstant +color-table-red-size-sgi+ #x80DA)
408 (defconstant +color-table-green-size-sgi+ #x80DB)
409 (defconstant +color-table-blue-size-sgi+ #x80DC)
410 (defconstant +color-table-alpha-size-sgi+ #x80DD)
411 (defconstant +color-table-luminance-size-sgi+ #x80DE)
412 (defconstant +color-table-intensity-size-sgi+ #x80DF)
414 ;;;; }}}
416 ;;;; {{{ getconvolutionparameter
418 (defconstant +convolution-format-ext+ #x8017)
419 (defconstant +convolution-width-ext+ #x8018)
420 (defconstant +convolution-height-ext+ #x8019)
421 (defconstant +max-convolution-width-ext+ #x801A)
422 (defconstant +max-convolution-height-ext+ #x801B)
424 ;;;; }}}
426 ;;;; {{{ gethistogramparameterpnameext
428 (defconstant +histogram-width-ext+ #x8026)
429 (defconstant +histogram-format-ext+ #x8027)
430 (defconstant +histogram-red-size-ext+ #x8028)
431 (defconstant +histogram-green-size-ext+ #x8029)
432 (defconstant +histogram-blue-size-ext+ #x802A)
433 (defconstant +histogram-alpha-size-ext+ #x802B)
434 (defconstant +histogram-luminance-size-ext+ #x802C)
435 (defconstant +histogram-sink-ext+ #x802D)
437 ;;;; }}}
439 ;;;; {{{ getmapquery
441 (defconstant +coeff+ #xA00)
442 (defconstant +order+ #xA01)
443 (defconstant +domain+ #xA02)
445 ;;;; }}}
447 ;;;; {{{ getminmaxparameterpnameext
449 (defconstant +minmax-format-ext+ #x802F)
450 (defconstant +minmax-sink-ext+ #x8030)
452 ;;;; }}}
454 ;;;; {{{ getpixelmap
456 (defconstant +pixel-map-i-to-i+ #xC70)
457 (defconstant +pixel-map-s-to-s+ #xC71)
458 (defconstant +pixel-map-i-to-r+ #xC72)
459 (defconstant +pixel-map-i-to-g+ #xC73)
460 (defconstant +pixel-map-i-to-b+ #xC74)
461 (defconstant +pixel-map-i-to-a+ #xC75)
462 (defconstant +pixel-map-r-to-r+ #xC76)
463 (defconstant +pixel-map-g-to-g+ #xC77)
464 (defconstant +pixel-map-b-to-b+ #xC78)
465 (defconstant +pixel-map-a-to-a+ #xC79)
467 ;;;; }}}
469 ;;;; {{{ getpointervpname
471 (defconstant +vertex-array-pointer+ #x808E)
472 (defconstant +normal-array-pointer+ #x808F)
473 (defconstant +color-array-pointer+ #x8090)
474 (defconstant +index-array-pointer+ #x8091)
475 (defconstant +texture-coord-array-pointer+ #x8092)
476 (defconstant +edge-flag-array-pointer+ #x8093)
477 (defconstant +feedback-buffer-pointer+ #xDF0)
478 (defconstant +selection-buffer-pointer+ #xDF3)
479 (defconstant +instrument-buffer-pointer-sgix+ #x8180)
481 ;;;; }}}
483 ;;;; {{{ getpname
485 (defconstant +current-color+ #xB00)
486 (defconstant +current-index+ #xB01)
487 (defconstant +current-normal+ #xB02)
488 (defconstant +current-texture-coords+ #xB03)
489 (defconstant +current-raster-color+ #xB04)
490 (defconstant +current-raster-index+ #xB05)
491 (defconstant +current-raster-texture-coords+ #xB06)
492 (defconstant +current-raster-position+ #xB07)
493 (defconstant +current-raster-position-valid+ #xB08)
494 (defconstant +current-raster-distance+ #xB09)
495 (defconstant +point-size+ #xB11)
496 (defconstant +point-size-range+ #xB12)
497 (defconstant +point-size-granularity+ #xB13)
498 (defconstant +line-width+ #xB21)
499 (defconstant +line-width-range+ #xB22)
500 (defconstant +line-width-granularity+ #xB23)
501 (defconstant +line-stipple-pattern+ #xB25)
502 (defconstant +line-stipple-repeat+ #xB26)
503 (defconstant +smooth-point-size-range+ #xB12)
504 (defconstant +smooth-point-size-granularity+ #xB13)
505 (defconstant +smooth-line-width-range+ #xB22)
506 (defconstant +smooth-line-width-granularity+ #xB23)
507 (defconstant +aliased-point-size-range+ #x846D)
508 (defconstant +aliased-line-width-range+ #x846E)
509 (defconstant +list-mode+ #xB30)
510 (defconstant +max-list-nesting+ #xB31)
511 (defconstant +list-base+ #xB32)
512 (defconstant +list-index+ #xB33)
513 (defconstant +polygon-mode+ #xB40)
514 (defconstant +edge-flag+ #xB43)
515 (defconstant +cull-face-mode+ #xB45)
516 (defconstant +front-face+ #xB46)
517 (defconstant +light-model-local-viewer+ #xB51)
518 (defconstant +light-model-two-side+ #xB52)
519 (defconstant +light-model-ambient+ #xB53)
520 (defconstant +shade-model+ #xB54)
521 (defconstant +color-material-face+ #xB55)
522 (defconstant +color-material-parameter+ #xB56)
523 (defconstant +depth-range+ #xB70)
524 (defconstant +depth-writemask+ #xB72)
525 (defconstant +depth-clear-value+ #xB73)
526 (defconstant +depth-func+ #xB74)
527 (defconstant +accum-clear-value+ #xB80)
528 (defconstant +stencil-clear-value+ #xB91)
529 (defconstant +stencil-func+ #xB92)
530 (defconstant +stencil-value-mask+ #xB93)
531 (defconstant +stencil-fail+ #xB94)
532 (defconstant +stencil-pass-depth-fail+ #xB95)
533 (defconstant +stencil-pass-depth-pass+ #xB96)
534 (defconstant +stencil-ref+ #xB97)
535 (defconstant +stencil-writemask+ #xB98)
536 (defconstant +matrix-mode+ #xBA0)
537 (defconstant +viewport+ #xBA2)
538 (defconstant +modelview-stack-depth+ #xBA3)
539 (defconstant +projection-stack-depth+ #xBA4)
540 (defconstant +texture-stack-depth+ #xBA5)
541 (defconstant +modelview-matrix+ #xBA6)
542 (defconstant +projection-matrix+ #xBA7)
543 (defconstant +texture-matrix+ #xBA8)
544 (defconstant +attrib-stack-depth+ #xBB0)
545 (defconstant +client-attrib-stack-depth+ #xBB1)
546 (defconstant +alpha-test-func+ #xBC1)
547 (defconstant +alpha-test-ref+ #xBC2)
548 (defconstant +blend-dst+ #xBE0)
549 (defconstant +blend-src+ #xBE1)
550 (defconstant +logic-op-mode+ #xBF0)
551 (defconstant +aux-buffers+ #xC00)
552 (defconstant +draw-buffer+ #xC01)
553 (defconstant +read-buffer+ #xC02)
554 (defconstant +scissor-box+ #xC10)
555 (defconstant +index-clear-value+ #xC20)
556 (defconstant +index-writemask+ #xC21)
557 (defconstant +color-clear-value+ #xC22)
558 (defconstant +color-writemask+ #xC23)
559 (defconstant +index-mode+ #xC30)
560 (defconstant +rgba-mode+ #xC31)
561 (defconstant +doublebuffer+ #xC32)
562 (defconstant +stereo+ #xC33)
563 (defconstant +render-mode+ #xC40)
564 (defconstant +perspective-correction-hint+ #xC50)
565 (defconstant +point-smooth-hint+ #xC51)
566 (defconstant +line-smooth-hint+ #xC52)
567 (defconstant +polygon-smooth-hint+ #xC53)
568 (defconstant +fog-hint+ #xC54)
569 (defconstant +pixel-map-i-to-i-size+ #xCB0)
570 (defconstant +pixel-map-s-to-s-size+ #xCB1)
571 (defconstant +pixel-map-i-to-r-size+ #xCB2)
572 (defconstant +pixel-map-i-to-g-size+ #xCB3)
573 (defconstant +pixel-map-i-to-b-size+ #xCB4)
574 (defconstant +pixel-map-i-to-a-size+ #xCB5)
575 (defconstant +pixel-map-r-to-r-size+ #xCB6)
576 (defconstant +pixel-map-g-to-g-size+ #xCB7)
577 (defconstant +pixel-map-b-to-b-size+ #xCB8)
578 (defconstant +pixel-map-a-to-a-size+ #xCB9)
579 (defconstant +unpack-swap-bytes+ #xCF0)
580 (defconstant +unpack-lsb-first+ #xCF1)
581 (defconstant +unpack-row-length+ #xCF2)
582 (defconstant +unpack-skip-rows+ #xCF3)
583 (defconstant +unpack-skip-pixels+ #xCF4)
584 (defconstant +unpack-alignment+ #xCF5)
585 (defconstant +pack-swap-bytes+ #xD00)
586 (defconstant +pack-lsb-first+ #xD01)
587 (defconstant +pack-row-length+ #xD02)
588 (defconstant +pack-skip-rows+ #xD03)
589 (defconstant +pack-skip-pixels+ #xD04)
590 (defconstant +pack-alignment+ #xD05)
591 (defconstant +map-color+ #xD10)
592 (defconstant +map-stencil+ #xD11)
593 (defconstant +index-shift+ #xD12)
594 (defconstant +index-offset+ #xD13)
595 (defconstant +red-scale+ #xD14)
596 (defconstant +red-bias+ #xD15)
597 (defconstant +zoom-x+ #xD16)
598 (defconstant +zoom-y+ #xD17)
599 (defconstant +green-scale+ #xD18)
600 (defconstant +green-bias+ #xD19)
601 (defconstant +blue-scale+ #xD1A)
602 (defconstant +blue-bias+ #xD1B)
603 (defconstant +alpha-scale+ #xD1C)
604 (defconstant +alpha-bias+ #xD1D)
605 (defconstant +depth-scale+ #xD1E)
606 (defconstant +depth-bias+ #xD1F)
607 (defconstant +max-eval-order+ #xD30)
608 (defconstant +max-lights+ #xD31)
609 (defconstant +max-clip-planes+ #xD32)
610 (defconstant +max-texture-size+ #xD33)
611 (defconstant +max-pixel-map-table+ #xD34)
612 (defconstant +max-attrib-stack-depth+ #xD35)
613 (defconstant +max-modelview-stack-depth+ #xD36)
614 (defconstant +max-name-stack-depth+ #xD37)
615 (defconstant +max-projection-stack-depth+ #xD38)
616 (defconstant +max-texture-stack-depth+ #xD39)
617 (defconstant +max-viewport-dims+ #xD3A)
618 (defconstant +max-client-attrib-stack-depth+ #xD3B)
619 (defconstant +subpixel-bits+ #xD50)
620 (defconstant +index-bits+ #xD51)
621 (defconstant +red-bits+ #xD52)
622 (defconstant +green-bits+ #xD53)
623 (defconstant +blue-bits+ #xD54)
624 (defconstant +alpha-bits+ #xD55)
625 (defconstant +depth-bits+ #xD56)
626 (defconstant +stencil-bits+ #xD57)
627 (defconstant +accum-red-bits+ #xD58)
628 (defconstant +accum-green-bits+ #xD59)
629 (defconstant +accum-blue-bits+ #xD5A)
630 (defconstant +accum-alpha-bits+ #xD5B)
631 (defconstant +name-stack-depth+ #xD70)
632 (defconstant +map1-grid-domain+ #xDD0)
633 (defconstant +map1-grid-segments+ #xDD1)
634 (defconstant +map2-grid-domain+ #xDD2)
635 (defconstant +map2-grid-segments+ #xDD3)
636 (defconstant +feedback-buffer-size+ #xDF1)
637 (defconstant +feedback-buffer-type+ #xDF2)
638 (defconstant +selection-buffer-size+ #xDF4)
639 (defconstant +polygon-offset-units+ #x2A00)
640 (defconstant +polygon-offset-factor+ #x8038)
641 (defconstant +texture-binding-1d+ #x8068)
642 (defconstant +texture-binding-2d+ #x8069)
643 (defconstant +texture-binding-3d+ #x806A)
644 (defconstant +vertex-array-size+ #x807A)
645 (defconstant +vertex-array-type+ #x807B)
646 (defconstant +vertex-array-stride+ #x807C)
647 (defconstant +normal-array-type+ #x807E)
648 (defconstant +normal-array-stride+ #x807F)
649 (defconstant +color-array-size+ #x8081)
650 (defconstant +color-array-type+ #x8082)
651 (defconstant +color-array-stride+ #x8083)
652 (defconstant +index-array-type+ #x8085)
653 (defconstant +index-array-stride+ #x8086)
654 (defconstant +texture-coord-array-size+ #x8088)
655 (defconstant +texture-coord-array-type+ #x8089)
656 (defconstant +texture-coord-array-stride+ #x808A)
657 (defconstant +edge-flag-array-stride+ #x808C)
658 (defconstant +light-model-color-control+ #x81F8)
659 (defconstant +blend-color-ext+ #x8005)
660 (defconstant +blend-equation-ext+ #x8009)
661 (defconstant +pack-cmyk-hint-ext+ #x800E)
662 (defconstant +unpack-cmyk-hint-ext+ #x800F)
663 (defconstant +post-convolution-red-scale-ext+ #x801C)
664 (defconstant +post-convolution-green-scale-ext+ #x801D)
665 (defconstant +post-convolution-blue-scale-ext+ #x801E)
666 (defconstant +post-convolution-alpha-scale-ext+ #x801F)
667 (defconstant +post-convolution-red-bias-ext+ #x8020)
668 (defconstant +post-convolution-green-bias-ext+ #x8021)
669 (defconstant +post-convolution-blue-bias-ext+ #x8022)
670 (defconstant +post-convolution-alpha-bias-ext+ #x8023)
671 (defconstant +polygon-offset-bias-ext+ #x8039)
672 (defconstant +texture-3d-binding-ext+ #x806A)
673 (defconstant +pack-skip-images-ext+ #x806B)
674 (defconstant +pack-image-height-ext+ #x806C)
675 (defconstant +unpack-skip-images-ext+ #x806D)
676 (defconstant +unpack-image-height-ext+ #x806E)
677 (defconstant +max-3d-texture-size-ext+ #x8073)
678 (defconstant +vertex-array-count-ext+ #x807D)
679 (defconstant +normal-array-count-ext+ #x8080)
680 (defconstant +color-array-count-ext+ #x8084)
681 (defconstant +index-array-count-ext+ #x8087)
682 (defconstant +texture-coord-array-count-ext+ #x808B)
683 (defconstant +edge-flag-array-count-ext+ #x808D)
684 (defconstant +detail-texture-2d-binding-sgis+ #x8096)
685 (defconstant +fog-func-points-sgis+ #x812B)
686 (defconstant +max-fog-func-points-sgis+ #x812C)
687 (defconstant +generate-mipmap-hint-sgis+ #x8192)
688 (defconstant +sample-buffers-sgis+ #x80A8)
689 (defconstant +samples-sgis+ #x80A9)
690 (defconstant +sample-mask-value-sgis+ #x80AA)
691 (defconstant +sample-mask-invert-sgis+ #x80AB)
692 (defconstant +sample-pattern-sgis+ #x80AC)
693 (defconstant +point-size-min-sgis+ #x8126)
694 (defconstant +point-size-max-sgis+ #x8127)
695 (defconstant +point-fade-threshold-size-sgis+ #x8128)
696 (defconstant +distance-attenuation-sgis+ #x8129)
697 (defconstant +pack-skip-volumes-sgis+ #x8130)
698 (defconstant +pack-image-depth-sgis+ #x8131)
699 (defconstant +unpack-skip-volumes-sgis+ #x8132)
700 (defconstant +unpack-image-depth-sgis+ #x8133)
701 (defconstant +max-4d-texture-size-sgis+ #x8138)
702 (defconstant +texture-4d-binding-sgis+ #x814F)
703 (defconstant +async-marker-sgix+ #x8329)
704 (defconstant +max-async-histogram-sgix+ #x832D)
705 (defconstant +max-async-tex-image-sgix+ #x835F)
706 (defconstant +max-async-draw-pixels-sgix+ #x8360)
707 (defconstant +max-async-read-pixels-sgix+ #x8361)
708 (defconstant +max-clipmap-virtual-depth-sgix+ #x8178)
709 (defconstant +max-clipmap-depth-sgix+ #x8177)
710 (defconstant +convolution-hint-sgix+ #x8316)
711 (defconstant +fragment-color-material-face-sgix+ #x8402)
712 (defconstant +fragment-color-material-parameter-sgix+ #x8403)
713 (defconstant +max-fragment-lights-sgix+ #x8404)
714 (defconstant +max-active-lights-sgix+ #x8405)
715 (defconstant +light-env-mode-sgix+ #x8407)
716 (defconstant +framezoom-factor-sgix+ #x818C)
717 (defconstant +max-framezoom-factor-sgix+ #x818D)
718 (defconstant +instrument-measurements-sgix+ #x8181)
719 (defconstant +pixel-tex-gen-mode-sgix+ #x832B)
720 (defconstant +pixel-tile-best-alignment-sgix+ #x813E)
721 (defconstant +pixel-tile-cache-increment-sgix+ #x813F)
722 (defconstant +pixel-tile-width-sgix+ #x8140)
723 (defconstant +pixel-tile-height-sgix+ #x8141)
724 (defconstant +pixel-tile-grid-width-sgix+ #x8142)
725 (defconstant +pixel-tile-grid-height-sgix+ #x8143)
726 (defconstant +pixel-tile-grid-depth-sgix+ #x8144)
727 (defconstant +pixel-tile-cache-size-sgix+ #x8145)
728 (defconstant +deformations-mask-sgix+ #x8196)
729 (defconstant +reference-plane-equation-sgix+ #x817E)
730 (defconstant +sprite-mode-sgix+ #x8149)
731 (defconstant +sprite-axis-sgix+ #x814A)
732 (defconstant +sprite-translation-sgix+ #x814B)
733 (defconstant +pack-subsample-rate-sgix+ #x85A0)
734 (defconstant +unpack-subsample-rate-sgix+ #x85A1)
735 (defconstant +pack-resample-sgix+ #x842C)
736 (defconstant +unpack-resample-sgix+ #x842D)
737 (defconstant +post-texture-filter-bias-range-sgix+ #x817B)
738 (defconstant +post-texture-filter-scale-range-sgix+ #x817C)
739 (defconstant +vertex-preclip-sgix+ #x83EE)
740 (defconstant +vertex-preclip-hint-sgix+ #x83EF)
741 (defconstant +color-matrix-sgi+ #x80B1)
742 (defconstant +color-matrix-stack-depth-sgi+ #x80B2)
743 (defconstant +max-color-matrix-stack-depth-sgi+ #x80B3)
744 (defconstant +post-color-matrix-red-scale-sgi+ #x80B4)
745 (defconstant +post-color-matrix-green-scale-sgi+ #x80B5)
746 (defconstant +post-color-matrix-blue-scale-sgi+ #x80B6)
747 (defconstant +post-color-matrix-alpha-scale-sgi+ #x80B7)
748 (defconstant +post-color-matrix-red-bias-sgi+ #x80B8)
749 (defconstant +post-color-matrix-green-bias-sgi+ #x80B9)
750 (defconstant +post-color-matrix-blue-bias-sgi+ #x80BA)
751 (defconstant +post-color-matrix-alpha-bias-sgi+ #x80BB)
753 ;;;; }}}
755 ;;;; {{{ gettextureparameter
757 (defconstant +texture-mag-filter+ #x2800)
758 (defconstant +texture-min-filter+ #x2801)
759 (defconstant +texture-wrap-s+ #x2802)
760 (defconstant +texture-wrap-t+ #x2803)
761 (defconstant +texture-width+ #x1000)
762 (defconstant +texture-height+ #x1001)
763 (defconstant +texture-internal-format+ #x1003)
764 (defconstant +texture-components+ #x1003)
765 (defconstant +texture-border-color+ #x1004)
766 (defconstant +texture-border+ #x1005)
767 (defconstant +texture-red-size+ #x805C)
768 (defconstant +texture-green-size+ #x805D)
769 (defconstant +texture-blue-size+ #x805E)
770 (defconstant +texture-alpha-size+ #x805F)
771 (defconstant +texture-luminance-size+ #x8060)
772 (defconstant +texture-intensity-size+ #x8061)
773 (defconstant +texture-priority+ #x8066)
774 (defconstant +texture-resident+ #x8067)
775 (defconstant +texture-depth-ext+ #x8071)
776 (defconstant +texture-wrap-r-ext+ #x8072)
777 (defconstant +detail-texture-level-sgis+ #x809A)
778 (defconstant +detail-texture-mode-sgis+ #x809B)
779 (defconstant +detail-texture-func-points-sgis+ #x809C)
780 (defconstant +generate-mipmap-sgis+ #x8191)
781 (defconstant +sharpen-texture-func-points-sgis+ #x80B0)
782 (defconstant +texture-filter4-size-sgis+ #x8147)
783 (defconstant +texture-min-lod-sgis+ #x813A)
784 (defconstant +texture-max-lod-sgis+ #x813B)
785 (defconstant +texture-base-level-sgis+ #x813C)
786 (defconstant +texture-max-level-sgis+ #x813D)
787 (defconstant +dual-texture-select-sgis+ #x8124)
788 (defconstant +quad-texture-select-sgis+ #x8125)
789 (defconstant +texture-4dsize-sgis+ #x8136)
790 (defconstant +texture-wrap-q-sgis+ #x8137)
791 (defconstant +texture-clipmap-center-sgix+ #x8171)
792 (defconstant +texture-clipmap-frame-sgix+ #x8172)
793 (defconstant +texture-clipmap-offset-sgix+ #x8173)
794 (defconstant +texture-clipmap-virtual-depth-sgix+ #x8174)
795 (defconstant +texture-clipmap-lod-offset-sgix+ #x8175)
796 (defconstant +texture-clipmap-depth-sgix+ #x8176)
797 (defconstant +texture-compare-sgix+ #x819A)
798 (defconstant +texture-compare-operator-sgix+ #x819B)
799 (defconstant +texture-lequal-r-sgix+ #x819C)
800 (defconstant +texture-gequal-r-sgix+ #x819D)
801 (defconstant +shadow-ambient-sgix+ #x80BF)
802 (defconstant +texture-max-clamp-s-sgix+ #x8369)
803 (defconstant +texture-max-clamp-t-sgix+ #x836A)
804 (defconstant +texture-max-clamp-r-sgix+ #x836B)
805 (defconstant +texture-lod-bias-s-sgix+ #x818E)
806 (defconstant +texture-lod-bias-t-sgix+ #x818F)
807 (defconstant +texture-lod-bias-r-sgix+ #x8190)
808 (defconstant +post-texture-filter-bias-sgix+ #x8179)
809 (defconstant +post-texture-filter-scale-sgix+ #x817A)
811 ;;;; }}}
813 ;;;; {{{ hintmode
815 (defconstant +dont-care+ #x1100)
816 (defconstant +fastest+ #x1101)
817 (defconstant +nicest+ #x1102)
819 ;;;; }}}
821 ;;;; {{{ hinttarget
823 (defconstant +texture-multi-buffer-hint-sgix+ #x812E)
825 ;;;; }}}
827 ;;;; {{{ histogramtargetext
829 (defconstant +proxy-histogram-ext+ #x8025)
831 ;;;; }}}
833 ;;;; {{{ lightenvmodesgix
835 (defconstant +replace+ #x1E01)
836 (defconstant +modulate+ #x2100)
838 ;;;; }}}
840 ;;;; {{{ lightmodelcolorcontrol
842 (defconstant +single-color+ #x81F9)
843 (defconstant +separate-specular-color+ #x81FA)
845 ;;;; }}}
847 ;;;; {{{ lightparameter
849 (defconstant +position+ #x1203)
850 (defconstant +spot-direction+ #x1204)
851 (defconstant +spot-exponent+ #x1205)
852 (defconstant +spot-cutoff+ #x1206)
853 (defconstant +constant-attenuation+ #x1207)
854 (defconstant +linear-attenuation+ #x1208)
855 (defconstant +quadratic-attenuation+ #x1209)
857 ;;;; }}}
859 ;;;; {{{ listmode
861 (defconstant +compile+ #x1300)
862 (defconstant +compile-and-execute+ #x1301)
864 ;;;; }}}
866 ;;;; {{{ datatype
868 (defconstant +2-bytes+ #x1407)
869 (defconstant +3-bytes+ #x1408)
870 (defconstant +4-bytes+ #x1409)
871 (defconstant +double-ext+ #x140A)
873 ;;;; }}}
875 ;;;; {{{ listparametername
877 (defconstant +list-priority-sgix+ #x8182)
879 ;;;; }}}
881 ;;;; {{{ logicop
883 (defconstant +clear+ #x1500)
884 (defconstant +and+ #x1501)
885 (defconstant +and-reverse+ #x1502)
886 (defconstant +copy+ #x1503)
887 (defconstant +and-inverted+ #x1504)
888 (defconstant +noop+ #x1505)
889 (defconstant +xor+ #x1506)
890 (defconstant +or+ #x1507)
891 (defconstant +nor+ #x1508)
892 (defconstant +equiv+ #x1509)
893 (defconstant +invert+ #x150A)
894 (defconstant +or-reverse+ #x150B)
895 (defconstant +copy-inverted+ #x150C)
896 (defconstant +or-inverted+ #x150D)
897 (defconstant +nand+ #x150E)
898 (defconstant +set+ #x150F)
900 ;;;; }}}
902 ;;;; {{{ materialparameter
904 (defconstant +shininess+ #x1601)
905 (defconstant +color-indexes+ #x1603)
907 ;;;; }}}
909 ;;;; {{{ matrixmode
911 (defconstant +modelview+ #x1700)
912 (defconstant +projection+ #x1701)
913 (defconstant +texture+ #x1702)
915 ;;;; }}}
917 ;;;; {{{ meshmode1
919 (defconstant +point+ #x1B00)
920 (defconstant +line+ #x1B01)
922 ;;;; }}}
924 ;;;; {{{ meshmode2
926 (defconstant +fill+ #x1B02)
928 ;;;; }}}
930 ;;;; {{{ pixelcopytype
932 (defconstant +color+ #x1800)
933 (defconstant +depth+ #x1801)
934 (defconstant +stencil+ #x1802)
936 ;;;; }}}
938 ;;;; {{{ pixelformat
940 (defconstant +color-index+ #x1900)
941 (defconstant +stencil-index+ #x1901)
942 (defconstant +depth-component+ #x1902)
943 (defconstant +red+ #x1903)
944 (defconstant +green+ #x1904)
945 (defconstant +blue+ #x1905)
946 (defconstant +alpha+ #x1906)
947 (defconstant +rgb+ #x1907)
948 (defconstant +rgba+ #x1908)
949 (defconstant +luminance+ #x1909)
950 (defconstant +luminance-alpha+ #x190A)
951 (defconstant +abgr-ext+ #x8000)
952 (defconstant +cmyk-ext+ #x800C)
953 (defconstant +cmyka-ext+ #x800D)
954 (defconstant +r5-g6-b5-icc-sgix+ :unable-to-resolve)
955 (defconstant +r5-g6-b5-a8-icc-sgix+ :unable-to-resolve)
956 (defconstant +alpha16-icc-sgix+ :unable-to-resolve)
957 (defconstant +luminance16-icc-sgix+ :unable-to-resolve)
958 (defconstant +luminance16-alpha8-icc-sgix+ :unable-to-resolve)
959 (defconstant +ycrcb-422-sgix+ #x81BB)
960 (defconstant +ycrcb-444-sgix+ #x81BC)
962 ;;;; }}}
964 ;;;; {{{ pixelstoreresamplemode
966 (defconstant +resample-replicate-sgix+ #x842E)
967 (defconstant +resample-zero-fill-sgix+ #x842F)
968 (defconstant +resample-decimate-sgix+ #x8430)
970 ;;;; }}}
972 ;;;; {{{ pixelstoresubsamplerate
974 (defconstant +pixel-subsample-4444-sgix+ #x85A2)
975 (defconstant +pixel-subsample-2424-sgix+ #x85A3)
976 (defconstant +pixel-subsample-4242-sgix+ #x85A4)
978 ;;;; }}}
980 ;;;; {{{ pixeltexgenmode
982 (defconstant +pixel-tex-gen-alpha-replace-sgix+ #x8187)
983 (defconstant +pixel-tex-gen-alpha-no-replace-sgix+ #x8188)
984 (defconstant +pixel-tex-gen-alpha-ms-sgix+ #x818A)
985 (defconstant +pixel-tex-gen-alpha-ls-sgix+ #x8189)
987 ;;;; }}}
989 ;;;; {{{ pixeltexgenparameternamesgis
991 (defconstant +pixel-fragment-rgb-source-sgis+ #x8354)
992 (defconstant +pixel-fragment-alpha-source-sgis+ #x8355)
994 ;;;; }}}
996 ;;;; {{{ pixeltype
998 (defconstant +bitmap+ #x1A00)
999 (defconstant +unsigned-byte-3-3-2-ext+ #x8032)
1000 (defconstant +unsigned-short-4-4-4-4-ext+ #x8033)
1001 (defconstant +unsigned-short-5-5-5-1-ext+ #x8034)
1002 (defconstant +unsigned-int-8-8-8-8-ext+ #x8035)
1003 (defconstant +unsigned-int-10-10-10-2-ext+ #x8036)
1005 ;;;; }}}
1007 ;;;; {{{ renderingmode
1009 (defconstant +render+ #x1C00)
1010 (defconstant +feedback+ #x1C01)
1011 (defconstant +select+ #x1C02)
1013 ;;;; }}}
1015 ;;;; {{{ samplepatternsgis
1017 (defconstant +1pass-sgis+ #x80A1)
1018 (defconstant +2pass-0-sgis+ #x80A2)
1019 (defconstant +2pass-1-sgis+ #x80A3)
1020 (defconstant +4pass-0-sgis+ #x80A4)
1021 (defconstant +4pass-1-sgis+ #x80A5)
1022 (defconstant +4pass-2-sgis+ #x80A6)
1023 (defconstant +4pass-3-sgis+ #x80A7)
1025 ;;;; }}}
1027 ;;;; {{{ shadingmodel
1029 (defconstant +flat+ #x1D00)
1030 (defconstant +smooth+ #x1D01)
1032 ;;;; }}}
1034 ;;;; {{{ stencilop
1036 (defconstant +keep+ #x1E00)
1037 (defconstant +incr+ #x1E02)
1038 (defconstant +decr+ #x1E03)
1040 ;;;; }}}
1042 ;;;; {{{ stringname
1044 (defconstant +vendor+ #x1F00)
1045 (defconstant +renderer+ #x1F01)
1046 (defconstant +version+ #x1F02)
1047 (defconstant +extensions+ #x1F03)
1049 ;;;; }}}
1051 ;;;; {{{ texturecoordname
1053 (defconstant +s+ #x2000)
1054 (defconstant +t+ #x2001)
1055 (defconstant +r+ #x2002)
1056 (defconstant +q+ #x2003)
1058 ;;;; }}}
1060 ;;;; {{{ textureenvmode
1062 (defconstant +decal+ #x2101)
1063 (defconstant +replace-ext+ #x8062)
1064 (defconstant +texture-env-bias-sgix+ #x80BE)
1066 ;;;; }}}
1068 ;;;; {{{ textureenvparameter
1070 (defconstant +texture-env-mode+ #x2200)
1071 (defconstant +texture-env-color+ #x2201)
1073 ;;;; }}}
1075 ;;;; {{{ textureenvtarget
1077 (defconstant +texture-env+ #x2300)
1079 ;;;; }}}
1081 ;;;; {{{ texturefilterfuncsgis
1083 (defconstant +filter4-sgis+ #x8146)
1085 ;;;; }}}
1087 ;;;; {{{ texturegenmode
1089 (defconstant +eye-linear+ #x2400)
1090 (defconstant +object-linear+ #x2401)
1091 (defconstant +sphere-map+ #x2402)
1092 (defconstant +eye-distance-to-point-sgis+ #x81F0)
1093 (defconstant +object-distance-to-point-sgis+ #x81F1)
1094 (defconstant +eye-distance-to-line-sgis+ #x81F2)
1095 (defconstant +object-distance-to-line-sgis+ #x81F3)
1097 ;;;; }}}
1099 ;;;; {{{ texturegenparameter
1101 (defconstant +texture-gen-mode+ #x2500)
1102 (defconstant +object-plane+ #x2501)
1103 (defconstant +eye-plane+ #x2502)
1104 (defconstant +eye-point-sgis+ #x81F4)
1105 (defconstant +object-point-sgis+ #x81F5)
1106 (defconstant +eye-line-sgis+ #x81F6)
1107 (defconstant +object-line-sgis+ #x81F7)
1109 ;;;; }}}
1111 ;;;; {{{ texturemagfilter
1113 (defconstant +nearest+ #x2600)
1114 (defconstant +linear-detail-sgis+ #x8097)
1115 (defconstant +linear-detail-alpha-sgis+ #x8098)
1116 (defconstant +linear-detail-color-sgis+ #x8099)
1117 (defconstant +linear-sharpen-sgis+ #x80AD)
1118 (defconstant +linear-sharpen-alpha-sgis+ #x80AE)
1119 (defconstant +linear-sharpen-color-sgis+ #x80AF)
1120 (defconstant +pixel-tex-gen-q-ceiling-sgix+ #x8184)
1121 (defconstant +pixel-tex-gen-q-round-sgix+ #x8185)
1122 (defconstant +pixel-tex-gen-q-floor-sgix+ #x8186)
1124 ;;;; }}}
1126 ;;;; {{{ textureminfilter
1128 (defconstant +nearest-mipmap-nearest+ #x2700)
1129 (defconstant +linear-mipmap-nearest+ #x2701)
1130 (defconstant +nearest-mipmap-linear+ #x2702)
1131 (defconstant +linear-mipmap-linear+ #x2703)
1132 (defconstant +linear-clipmap-linear-sgix+ #x8170)
1133 (defconstant +nearest-clipmap-nearest-sgix+ #x844D)
1134 (defconstant +nearest-clipmap-linear-sgix+ #x844E)
1135 (defconstant +linear-clipmap-nearest-sgix+ #x844F)
1137 ;;;; }}}
1139 ;;;; {{{ texturetarget
1141 (defconstant +proxy-texture-1d+ #x8063)
1142 (defconstant +proxy-texture-2d+ #x8064)
1143 (defconstant +proxy-texture-3d-ext+ #x8070)
1144 (defconstant +detail-texture-2d-sgis+ #x8095)
1145 (defconstant +proxy-texture-4d-sgis+ #x8135)
1147 ;;;; }}}
1149 ;;;; {{{ texturewrapmode
1151 (defconstant +clamp+ #x2900)
1152 (defconstant +repeat+ #x2901)
1153 (defconstant +clamp-to-border-sgis+ #x812D)
1154 (defconstant +clamp-to-edge-sgis+ #x812F)
1156 ;;;; }}}
1158 ;;;; {{{ pixelinternalformat
1160 (defconstant +r3-g3-b2+ #x2A10)
1161 (defconstant +alpha4+ #x803B)
1162 (defconstant +alpha8+ #x803C)
1163 (defconstant +alpha12+ #x803D)
1164 (defconstant +alpha16+ #x803E)
1165 (defconstant +luminance4+ #x803F)
1166 (defconstant +luminance8+ #x8040)
1167 (defconstant +luminance12+ #x8041)
1168 (defconstant +luminance16+ #x8042)
1169 (defconstant +luminance4-alpha4+ #x8043)
1170 (defconstant +luminance6-alpha2+ #x8044)
1171 (defconstant +luminance8-alpha8+ #x8045)
1172 (defconstant +luminance12-alpha4+ #x8046)
1173 (defconstant +luminance12-alpha12+ #x8047)
1174 (defconstant +luminance16-alpha16+ #x8048)
1175 (defconstant +intensity+ #x8049)
1176 (defconstant +intensity4+ #x804A)
1177 (defconstant +intensity8+ #x804B)
1178 (defconstant +intensity12+ #x804C)
1179 (defconstant +intensity16+ #x804D)
1180 (defconstant +rgb4+ #x804F)
1181 (defconstant +rgb5+ #x8050)
1182 (defconstant +rgb8+ #x8051)
1183 (defconstant +rgb10+ #x8052)
1184 (defconstant +rgb12+ #x8053)
1185 (defconstant +rgb16+ #x8054)
1186 (defconstant +rgba2+ #x8055)
1187 (defconstant +rgba4+ #x8056)
1188 (defconstant +rgb5-a1+ #x8057)
1189 (defconstant +rgba8+ #x8058)
1190 (defconstant +rgb10-a2+ #x8059)
1191 (defconstant +rgba12+ #x805A)
1192 (defconstant +rgba16+ #x805B)
1193 (defconstant +rgb2-ext+ #x804E)
1194 (defconstant +dual-alpha4-sgis+ #x8110)
1195 (defconstant +dual-alpha8-sgis+ #x8111)
1196 (defconstant +dual-alpha12-sgis+ #x8112)
1197 (defconstant +dual-alpha16-sgis+ #x8113)
1198 (defconstant +dual-luminance4-sgis+ #x8114)
1199 (defconstant +dual-luminance8-sgis+ #x8115)
1200 (defconstant +dual-luminance12-sgis+ #x8116)
1201 (defconstant +dual-luminance16-sgis+ #x8117)
1202 (defconstant +dual-intensity4-sgis+ #x8118)
1203 (defconstant +dual-intensity8-sgis+ #x8119)
1204 (defconstant +dual-intensity12-sgis+ #x811A)
1205 (defconstant +dual-intensity16-sgis+ #x811B)
1206 (defconstant +dual-luminance-alpha4-sgis+ #x811C)
1207 (defconstant +dual-luminance-alpha8-sgis+ #x811D)
1208 (defconstant +quad-alpha4-sgis+ #x811E)
1209 (defconstant +quad-alpha8-sgis+ #x811F)
1210 (defconstant +quad-luminance4-sgis+ #x8120)
1211 (defconstant +quad-luminance8-sgis+ #x8121)
1212 (defconstant +quad-intensity4-sgis+ #x8122)
1213 (defconstant +quad-intensity8-sgis+ #x8123)
1214 (defconstant +depth-component16-sgix+ #x81A5)
1215 (defconstant +depth-component24-sgix+ #x81A6)
1216 (defconstant +depth-component32-sgix+ #x81A7)
1217 (defconstant +rgb-icc-sgix+ :unable-to-resolve)
1218 (defconstant +rgba-icc-sgix+ :unable-to-resolve)
1219 (defconstant +alpha-icc-sgix+ :unable-to-resolve)
1220 (defconstant +luminance-icc-sgix+ :unable-to-resolve)
1221 (defconstant +intensity-icc-sgix+ :unable-to-resolve)
1222 (defconstant +luminance-alpha-icc-sgix+ :unable-to-resolve)
1223 (defconstant +intensity16-icc-sgix+ :unable-to-resolve)
1225 ;;;; }}}
1227 ;;;; {{{ interleavedarrayformat
1229 (defconstant +v2f+ #x2A20)
1230 (defconstant +v3f+ #x2A21)
1231 (defconstant +c4ub-v2f+ #x2A22)
1232 (defconstant +c4ub-v3f+ #x2A23)
1233 (defconstant +c3f-v3f+ #x2A24)
1234 (defconstant +n3f-v3f+ #x2A25)
1235 (defconstant +c4f-n3f-v3f+ #x2A26)
1236 (defconstant +t2f-v3f+ #x2A27)
1237 (defconstant +t4f-v4f+ #x2A28)
1238 (defconstant +t2f-c4ub-v3f+ #x2A29)
1239 (defconstant +t2f-c3f-v3f+ #x2A2A)
1240 (defconstant +t2f-n3f-v3f+ #x2A2B)
1241 (defconstant +t2f-c4f-n3f-v3f+ #x2A2C)
1242 (defconstant +t4f-c4f-n3f-v4f+ #x2A2D)
1244 ;;;; }}}
1246 ;;;; {{{ ext_blend_subtract
1248 (defconstant +func-subtract+ #x800A)
1249 (defconstant +func-reverse-subtract+ #x800B)
1251 ;;;; }}}
1253 ;;;; {{{ ext_packed_pixels
1255 (defconstant +unsigned-byte-3-3-2+ #x8032)
1256 (defconstant +unsigned-short-4-4-4-4+ #x8033)
1257 (defconstant +unsigned-short-5-5-5-1+ #x8034)
1258 (defconstant +unsigned-int-8-8-8-8+ #x8035)
1259 (defconstant +unsigned-int-10-10-10-2+ #x8036)
1260 (defconstant +unsigned-byte-2-3-3-rev+ #x8362)
1261 (defconstant +unsigned-byte-2-3-3-rev-ext+ #x8362)
1262 (defconstant +unsigned-short-5-6-5+ #x8363)
1263 (defconstant +unsigned-short-5-6-5-ext+ #x8363)
1264 (defconstant +unsigned-short-5-6-5-rev+ #x8364)
1265 (defconstant +unsigned-short-5-6-5-rev-ext+ #x8364)
1266 (defconstant +unsigned-short-4-4-4-4-rev+ #x8365)
1267 (defconstant +unsigned-short-4-4-4-4-rev-ext+ #x8365)
1268 (defconstant +unsigned-short-1-5-5-5-rev+ #x8366)
1269 (defconstant +unsigned-short-1-5-5-5-rev-ext+ #x8366)
1270 (defconstant +unsigned-int-8-8-8-8-rev+ #x8367)
1271 (defconstant +unsigned-int-8-8-8-8-rev-ext+ #x8367)
1272 (defconstant +unsigned-int-2-10-10-10-rev+ #x8368)
1273 (defconstant +unsigned-int-2-10-10-10-rev-ext+ #x8368)
1275 ;;;; }}}
1277 ;;;; {{{ ext_rescale_normal
1279 (defconstant +rescale-normal+ #x803A)
1281 ;;;; }}}
1283 ;;;; {{{ ext_texture
1285 (defconstant +alpha4-ext+ #x803B)
1286 (defconstant +alpha8-ext+ #x803C)
1287 (defconstant +alpha12-ext+ #x803D)
1288 (defconstant +alpha16-ext+ #x803E)
1289 (defconstant +luminance4-ext+ #x803F)
1290 (defconstant +luminance8-ext+ #x8040)
1291 (defconstant +luminance12-ext+ #x8041)
1292 (defconstant +luminance16-ext+ #x8042)
1293 (defconstant +luminance4-alpha4-ext+ #x8043)
1294 (defconstant +luminance6-alpha2-ext+ #x8044)
1295 (defconstant +luminance8-alpha8-ext+ #x8045)
1296 (defconstant +luminance12-alpha4-ext+ #x8046)
1297 (defconstant +luminance12-alpha12-ext+ #x8047)
1298 (defconstant +luminance16-alpha16-ext+ #x8048)
1299 (defconstant +intensity-ext+ #x8049)
1300 (defconstant +intensity4-ext+ #x804A)
1301 (defconstant +intensity8-ext+ #x804B)
1302 (defconstant +intensity12-ext+ #x804C)
1303 (defconstant +intensity16-ext+ #x804D)
1304 (defconstant +rgb4-ext+ #x804F)
1305 (defconstant +rgb5-ext+ #x8050)
1306 (defconstant +rgb8-ext+ #x8051)
1307 (defconstant +rgb10-ext+ #x8052)
1308 (defconstant +rgb12-ext+ #x8053)
1309 (defconstant +rgb16-ext+ #x8054)
1310 (defconstant +rgba2-ext+ #x8055)
1311 (defconstant +rgba4-ext+ #x8056)
1312 (defconstant +rgb5-a1-ext+ #x8057)
1313 (defconstant +rgba8-ext+ #x8058)
1314 (defconstant +rgb10-a2-ext+ #x8059)
1315 (defconstant +rgba12-ext+ #x805A)
1316 (defconstant +rgba16-ext+ #x805B)
1317 (defconstant +texture-red-size-ext+ #x805C)
1318 (defconstant +texture-green-size-ext+ #x805D)
1319 (defconstant +texture-blue-size-ext+ #x805E)
1320 (defconstant +texture-alpha-size-ext+ #x805F)
1321 (defconstant +texture-luminance-size-ext+ #x8060)
1322 (defconstant +texture-intensity-size-ext+ #x8061)
1323 (defconstant +proxy-texture-1d-ext+ #x8063)
1324 (defconstant +proxy-texture-2d-ext+ #x8064)
1326 ;;;; }}}
1328 ;;;; {{{ sgi_color_matrix
1330 (defconstant +color-matrix+ #x80B1)
1331 (defconstant +color-matrix-stack-depth+ #x80B2)
1332 (defconstant +max-color-matrix-stack-depth+ #x80B3)
1333 (defconstant +post-color-matrix-red-scale+ #x80B4)
1334 (defconstant +post-color-matrix-green-scale+ #x80B5)
1335 (defconstant +post-color-matrix-blue-scale+ #x80B6)
1336 (defconstant +post-color-matrix-alpha-scale+ #x80B7)
1337 (defconstant +post-color-matrix-red-bias+ #x80B8)
1338 (defconstant +post-color-matrix-green-bias+ #x80B9)
1339 (defconstant +post-color-matrix-blue-bias+ #x80BA)
1340 (defconstant +post-color-matrix-alpha-bias+ #x80BB)
1342 ;;;; }}}
1344 ;;;; {{{ ext_bgra
1346 (defconstant +bgr+ #x80E0)
1347 (defconstant +bgr-ext+ #x80E0)
1348 (defconstant +bgra+ #x80E1)
1349 (defconstant +bgra-ext+ #x80E1)
1351 ;;;; }}}
1353 ;;;; {{{ sgis_texture_border_clamp
1355 (defconstant +clamp-to-border+ #x812D)
1356 (defconstant +clamp-to-border-arb+ #x812D)
1358 ;;;; }}}
1360 ;;;; {{{ sgis_texture_edge_clamp
1362 (defconstant +clamp-to-edge+ #x812F)
1364 ;;;; }}}
1366 ;;;; {{{ sgis_texture_lod
1368 (defconstant +texture-min-lod+ #x813A)
1369 (defconstant +texture-max-lod+ #x813B)
1370 (defconstant +texture-base-level+ #x813C)
1371 (defconstant +texture-max-level+ #x813D)
1373 ;;;; }}}
1375 ;;;; {{{ hp_convolution_border_modes
1377 (defconstant +ignore-border-hp+ #x8150)
1378 (defconstant +constant-border+ #x8151)
1379 (defconstant +constant-border-hp+ #x8151)
1380 (defconstant +replicate-border+ #x8153)
1381 (defconstant +replicate-border-hp+ #x8153)
1382 (defconstant +convolution-border-color+ #x8154)
1383 (defconstant +convolution-border-color-hp+ #x8154)
1385 ;;;; }}}
1387 ;;;; {{{ sgis_generate_mipmap
1389 (defconstant +generate-mipmap+ #x8191)
1390 (defconstant +generate-mipmap-hint+ #x8192)
1391 (defconstant +max-deformation-order-sgix+ #x8197)
1393 ;;;; }}}
1395 ;;;; {{{ sgix_depth_texture
1397 (defconstant +depth-component16+ #x81A5)
1398 (defconstant +depth-component24+ #x81A6)
1399 (defconstant +depth-component32+ #x81A7)
1401 ;;;; }}}
1403 ;;;; {{{ ext_separate_specular_color
1405 (defconstant +light-model-color-control-ext+ #x81F8)
1406 (defconstant +single-color-ext+ #x81F9)
1407 (defconstant +separate-specular-color-ext+ #x81FA)
1409 ;;;; }}}
1411 ;;;; {{{ sgix_texture_coordinate_clamp
1413 (defconstant +fog-factor-to-alpha-sgix+ #x836F)
1415 ;;;; }}}
1417 ;;;; {{{ ext_texture_compression_s3tc
1419 (defconstant +compressed-rgb-s3tc-dxt1-ext+ #x83F0)
1420 (defconstant +compressed-rgba-s3tc-dxt1-ext+ #x83F1)
1421 (defconstant +compressed-rgba-s3tc-dxt3-ext+ #x83F2)
1422 (defconstant +compressed-rgba-s3tc-dxt5-ext+ #x83F3)
1424 ;;;; }}}
1426 ;;;; {{{ arb_imaging
1428 (defconstant +constant-color+ #x8001)
1429 (defconstant +one-minus-constant-color+ #x8002)
1430 (defconstant +constant-alpha+ #x8003)
1431 (defconstant +one-minus-constant-alpha+ #x8004)
1432 (defconstant +blend-color+ #x8005)
1433 (defconstant +func-add+ #x8006)
1434 (defconstant +min+ #x8007)
1435 (defconstant +max+ #x8008)
1436 (defconstant +blend-equation+ #x8009)
1437 (defconstant +convolution-1d+ #x8010)
1438 (defconstant +convolution-2d+ #x8011)
1439 (defconstant +separable-2d+ #x8012)
1440 (defconstant +convolution-border-mode+ #x8013)
1441 (defconstant +convolution-filter-scale+ #x8014)
1442 (defconstant +convolution-filter-bias+ #x8015)
1443 (defconstant +reduce+ #x8016)
1444 (defconstant +convolution-format+ #x8017)
1445 (defconstant +convolution-width+ #x8018)
1446 (defconstant +convolution-height+ #x8019)
1447 (defconstant +max-convolution-width+ #x801A)
1448 (defconstant +max-convolution-height+ #x801B)
1449 (defconstant +post-convolution-red-scale+ #x801C)
1450 (defconstant +post-convolution-green-scale+ #x801D)
1451 (defconstant +post-convolution-blue-scale+ #x801E)
1452 (defconstant +post-convolution-alpha-scale+ #x801F)
1453 (defconstant +post-convolution-red-bias+ #x8020)
1454 (defconstant +post-convolution-green-bias+ #x8021)
1455 (defconstant +post-convolution-blue-bias+ #x8022)
1456 (defconstant +post-convolution-alpha-bias+ #x8023)
1457 (defconstant +histogram+ #x8024)
1458 (defconstant +proxy-histogram+ #x8025)
1459 (defconstant +histogram-width+ #x8026)
1460 (defconstant +histogram-format+ #x8027)
1461 (defconstant +histogram-red-size+ #x8028)
1462 (defconstant +histogram-green-size+ #x8029)
1463 (defconstant +histogram-blue-size+ #x802A)
1464 (defconstant +histogram-alpha-size+ #x802B)
1465 (defconstant +histogram-luminance-size+ #x802C)
1466 (defconstant +histogram-sink+ #x802D)
1467 (defconstant +minmax+ #x802E)
1468 (defconstant +minmax-format+ #x802F)
1469 (defconstant +minmax-sink+ #x8030)
1470 (defconstant +table-too-large+ #x8031)
1471 (defconstant +color-table+ #x80D0)
1472 (defconstant +post-convolution-color-table+ #x80D1)
1473 (defconstant +post-color-matrix-color-table+ #x80D2)
1474 (defconstant +proxy-color-table+ #x80D3)
1475 (defconstant +proxy-post-convolution-color-table+ #x80D4)
1476 (defconstant +proxy-post-color-matrix-color-table+ #x80D5)
1477 (defconstant +color-table-scale+ #x80D6)
1478 (defconstant +color-table-bias+ #x80D7)
1479 (defconstant +color-table-format+ #x80D8)
1480 (defconstant +color-table-width+ #x80D9)
1481 (defconstant +color-table-red-size+ #x80DA)
1482 (defconstant +color-table-green-size+ #x80DB)
1483 (defconstant +color-table-blue-size+ #x80DC)
1484 (defconstant +color-table-alpha-size+ #x80DD)
1485 (defconstant +color-table-luminance-size+ #x80DE)
1486 (defconstant +color-table-intensity-size+ #x80DF)
1488 ;;;; }}}
1490 ;;;; {{{ arb_texture_cube_map
1492 (defconstant +normal-map-arb+ #x8511)
1493 (defconstant +reflection-map-arb+ #x8512)
1494 (defconstant +texture-cube-map-arb+ #x8513)
1495 (defconstant +texture-binding-cube-map-arb+ #x8514)
1496 (defconstant +texture-cube-map-positive-x-arb+ #x8515)
1497 (defconstant +texture-cube-map-negative-x-arb+ #x8516)
1498 (defconstant +texture-cube-map-positive-y-arb+ #x8517)
1499 (defconstant +texture-cube-map-negative-y-arb+ #x8518)
1500 (defconstant +texture-cube-map-positive-z-arb+ #x8519)
1501 (defconstant +texture-cube-map-negative-z-arb+ #x851A)
1502 (defconstant +proxy-texture-cube-map-arb+ #x851B)
1503 (defconstant +max-cube-map-texture-size-arb+ #x851C)
1505 ;;;; }}}
1507 ;;;; {{{ arb_texture_env_combine
1509 (defconstant +combine-arb+ #x8570)
1510 (defconstant +combine-rgb-arb+ #x8571)
1511 (defconstant +combine-alpha-arb+ #x8572)
1512 (defconstant +source0-rgb-arb+ #x8580)
1513 (defconstant +source1-rgb-arb+ #x8581)
1514 (defconstant +source2-rgb-arb+ #x8582)
1515 (defconstant +source0-alpha-arb+ #x8588)
1516 (defconstant +source1-alpha-arb+ #x8589)
1517 (defconstant +source2-alpha-arb+ #x858A)
1518 (defconstant +operand0-rgb-arb+ #x8590)
1519 (defconstant +operand1-rgb-arb+ #x8591)
1520 (defconstant +operand2-rgb-arb+ #x8592)
1521 (defconstant +operand0-alpha-arb+ #x8598)
1522 (defconstant +operand1-alpha-arb+ #x8599)
1523 (defconstant +operand2-alpha-arb+ #x859A)
1524 (defconstant +rgb-scale-arb+ #x8573)
1525 (defconstant +add-signed-arb+ #x8574)
1526 (defconstant +interpolate-arb+ #x8575)
1527 (defconstant +subtract-arb+ #x84E7)
1528 (defconstant +constant-arb+ #x8576)
1529 (defconstant +primary-color-arb+ #x8577)
1530 (defconstant +previous-arb+ #x8578)
1532 ;;;; }}}
1534 ;;;; {{{ arb_texture_env_dot3
1536 (defconstant +dot3-rgb-arb+ #x86AE)
1537 (defconstant +dot3-rgba-arb+ #x86AF)
1539 ;;;; }}}
1541 ;;;; {{{ arb_texture_mirrored_repeat
1543 (defconstant +mirrored-repeat-arb+ #x8370)
1545 ;;;; }}}
1547 ;;;; {{{ arb_depth_texture
1549 (defconstant +depth-component16-arb+ #x81A5)
1550 (defconstant +depth-component24-arb+ #x81A6)
1551 (defconstant +depth-component32-arb+ #x81A7)
1552 (defconstant +texture-depth-size-arb+ #x884A)
1553 (defconstant +depth-texture-mode-arb+ #x884B)
1555 ;;;; }}}
1557 ;;;; {{{ arb_shadow
1559 (defconstant +texture-compare-mode-arb+ #x884C)
1560 (defconstant +texture-compare-func-arb+ #x884D)
1561 (defconstant +compare-r-to-texture-arb+ #x884E)
1563 ;;;; }}}
1565 ;;;; {{{ arb_shadow_ambient
1567 (defconstant +texture-compare-fail-value-arb+ #x80BF)
1569 ;;;; }}}
1571 ;;;; {{{ arb_fragment_program
1573 (defconstant +fragment-program-arb+ #x8804)
1574 (defconstant +program-alu-instructions-arb+ #x8805)
1575 (defconstant +program-tex-instructions-arb+ #x8806)
1576 (defconstant +program-tex-indirections-arb+ #x8807)
1577 (defconstant +program-native-alu-instructions-arb+ #x8808)
1578 (defconstant +program-native-tex-instructions-arb+ #x8809)
1579 (defconstant +program-native-tex-indirections-arb+ #x880A)
1580 (defconstant +max-program-alu-instructions-arb+ #x880B)
1581 (defconstant +max-program-tex-instructions-arb+ #x880C)
1582 (defconstant +max-program-tex-indirections-arb+ #x880D)
1583 (defconstant +max-program-native-alu-instructions-arb+ #x880E)
1584 (defconstant +max-program-native-tex-instructions-arb+ #x880F)
1585 (defconstant +max-program-native-tex-indirections-arb+ #x8810)
1586 (defconstant +max-texture-coords-arb+ #x8871)
1587 (defconstant +max-texture-image-units-arb+ #x8872)
1589 ;;;; }}}
1591 ;;;; {{{ arb_fragment_shader
1593 (defconstant +fragment-shader-arb+ #x8B30)
1594 (defconstant +max-fragment-uniform-components-arb+ #x8B49)
1595 (defconstant +fragment-shader-derivative-hint-arb+ #x8B8B)
1597 ;;;; }}}
1599 ;;;; {{{ arb_shading_language_100
1601 (defconstant +shading-language-version-arb+ #x8B8C)
1603 ;;;; }}}
1605 ;;;; {{{ arb_point_sprite
1607 (defconstant +point-sprite-arb+ #x8861)
1608 (defconstant +coord-replace-arb+ #x8862)
1610 ;;;; }}}
1612 ;;;; {{{ arb_texture_rectangle
1614 (defconstant +texture-rectangle-arb+ #x84F5)
1615 (defconstant +texture-binding-rectangle-arb+ #x84F6)
1616 (defconstant +proxy-texture-rectangle-arb+ #x84F7)
1617 (defconstant +max-rectangle-texture-size-arb+ #x84F8)
1619 ;;;; }}}
1621 ;;;; {{{ arb_half_float_pixel
1623 (defconstant +half-float-arb+ #x140B)
1625 ;;;; }}}
1627 ;;;; {{{ arb_texture_float
1629 (defconstant +texture-red-type-arb+ #x8C10)
1630 (defconstant +texture-green-type-arb+ #x8C11)
1631 (defconstant +texture-blue-type-arb+ #x8C12)
1632 (defconstant +texture-alpha-type-arb+ #x8C13)
1633 (defconstant +texture-luminance-type-arb+ #x8C14)
1634 (defconstant +texture-intensity-type-arb+ #x8C15)
1635 (defconstant +texture-depth-type-arb+ #x8C16)
1636 (defconstant +unsigned-normalized-arb+ #x8C17)
1637 (defconstant +rgba32f-arb+ #x8814)
1638 (defconstant +rgb32f-arb+ #x8815)
1639 (defconstant +alpha32f-arb+ #x8816)
1640 (defconstant +intensity32f-arb+ #x8817)
1641 (defconstant +luminance32f-arb+ #x8818)
1642 (defconstant +luminance-alpha32f-arb+ #x8819)
1643 (defconstant +rgba16f-arb+ #x881A)
1644 (defconstant +rgb16f-arb+ #x881B)
1645 (defconstant +alpha16f-arb+ #x881C)
1646 (defconstant +intensity16f-arb+ #x881D)
1647 (defconstant +luminance16f-arb+ #x881E)
1648 (defconstant +luminance-alpha16f-arb+ #x881F)
1650 ;;;; }}}
1652 ;;;; {{{ arb_pixel_buffer_object
1654 (defconstant +pixel-pack-buffer-arb+ #x88EB)
1655 (defconstant +pixel-unpack-buffer-arb+ #x88EC)
1656 (defconstant +pixel-pack-buffer-binding-arb+ #x88ED)
1657 (defconstant +pixel-unpack-buffer-binding-arb+ #x88EF)
1659 ;;;; }}}
1661 ;;;; {{{ pgi_vertex_hints
1663 (defconstant +vertex-data-hint-pgi+ #x1A22A)
1664 (defconstant +vertex-consistent-hint-pgi+ #x1A22B)
1665 (defconstant +material-side-hint-pgi+ #x1A22C)
1666 (defconstant +max-vertex-hint-pgi+ #x1A22D)
1667 (defconstant +color3-bit-pgi+ #x10000)
1668 (defconstant +color4-bit-pgi+ #x20000)
1669 (defconstant +edgeflag-bit-pgi+ #x40000)
1670 (defconstant +index-bit-pgi+ #x80000)
1671 (defconstant +mat-ambient-bit-pgi+ #x100000)
1672 (defconstant +mat-ambient-and-diffuse-bit-pgi+ #x200000)
1673 (defconstant +mat-diffuse-bit-pgi+ #x400000)
1674 (defconstant +mat-emission-bit-pgi+ #x800000)
1675 (defconstant +mat-color-indexes-bit-pgi+ #x1000000)
1676 (defconstant +mat-shininess-bit-pgi+ #x2000000)
1677 (defconstant +mat-specular-bit-pgi+ #x4000000)
1678 (defconstant +normal-bit-pgi+ #x8000000)
1679 (defconstant +texcoord1-bit-pgi+ #x10000000)
1680 (defconstant +texcoord2-bit-pgi+ #x20000000)
1681 (defconstant +texcoord3-bit-pgi+ #x40000000)
1682 (defconstant +texcoord4-bit-pgi+ #x80000000)
1683 (defconstant +vertex23-bit-pgi+ #x4)
1684 (defconstant +vertex4-bit-pgi+ #x8)
1686 ;;;; }}}
1688 ;;;; {{{ ext_clip_volume_hint
1690 (defconstant +clip-volume-clipping-hint-ext+ #x80F0)
1692 ;;;; }}}
1694 ;;;; {{{ ext_index_array_formats
1696 (defconstant +iui-v2f-ext+ #x81AD)
1697 (defconstant +iui-v3f-ext+ #x81AE)
1698 (defconstant +iui-n3f-v2f-ext+ #x81AF)
1699 (defconstant +iui-n3f-v3f-ext+ #x81B0)
1700 (defconstant +t2f-iui-v2f-ext+ #x81B1)
1701 (defconstant +t2f-iui-v3f-ext+ #x81B2)
1702 (defconstant +t2f-iui-n3f-v2f-ext+ #x81B3)
1703 (defconstant +t2f-iui-n3f-v3f-ext+ #x81B4)
1705 ;;;; }}}
1707 ;;;; {{{ ibm_rasterpos_clip
1709 (defconstant +raster-position-unclipped-ibm+ #x19262)
1711 ;;;; }}}
1713 ;;;; {{{ hp_texture_lighting
1715 (defconstant +texture-lighting-mode-hp+ #x8167)
1716 (defconstant +texture-post-specular-hp+ #x8168)
1717 (defconstant +texture-pre-specular-hp+ #x8169)
1719 ;;;; }}}
1721 ;;;; {{{ win_phong_shading
1723 (defconstant +phong-win+ #x80EA)
1724 (defconstant +phong-hint-win+ #x80EB)
1726 ;;;; }}}
1728 ;;;; {{{ win_specular_fog
1730 (defconstant +fog-specular-texture-win+ #x80EC)
1732 ;;;; }}}
1734 ;;;; {{{ hp_occlusion_test
1736 (defconstant +occlusion-test-hp+ #x8165)
1737 (defconstant +occlusion-test-result-hp+ #x8166)
1739 ;;;; }}}
1741 ;;;; {{{ rend_screen_coordinates
1743 (defconstant +screen-coordinates-rend+ #x8490)
1744 (defconstant +inverted-screen-w-rend+ #x8491)
1746 ;;;; }}}
1748 ;;;; {{{ ext_texture_env_combine
1750 (defconstant +combine-ext+ #x8570)
1751 (defconstant +combine-rgb-ext+ #x8571)
1752 (defconstant +combine-alpha-ext+ #x8572)
1753 (defconstant +rgb-scale-ext+ #x8573)
1754 (defconstant +add-signed-ext+ #x8574)
1755 (defconstant +interpolate-ext+ #x8575)
1756 (defconstant +constant-ext+ #x8576)
1757 (defconstant +primary-color-ext+ #x8577)
1758 (defconstant +previous-ext+ #x8578)
1759 (defconstant +source0-rgb-ext+ #x8580)
1760 (defconstant +source1-rgb-ext+ #x8581)
1761 (defconstant +source2-rgb-ext+ #x8582)
1762 (defconstant +source0-alpha-ext+ #x8588)
1763 (defconstant +source1-alpha-ext+ #x8589)
1764 (defconstant +source2-alpha-ext+ #x858A)
1765 (defconstant +operand0-rgb-ext+ #x8590)
1766 (defconstant +operand1-rgb-ext+ #x8591)
1767 (defconstant +operand2-rgb-ext+ #x8592)
1768 (defconstant +operand0-alpha-ext+ #x8598)
1769 (defconstant +operand1-alpha-ext+ #x8599)
1770 (defconstant +operand2-alpha-ext+ #x859A)
1772 ;;;; }}}
1774 ;;;; {{{ apple_specular_vector
1776 (defconstant +light-model-specular-vector-apple+ #x85B0)
1778 ;;;; }}}
1780 ;;;; {{{ apple_transform_hint
1782 (defconstant +transform-hint-apple+ #x85B1)
1784 ;;;; }}}
1786 ;;;; {{{ sgix_fog_scale
1788 (defconstant +fog-scale-sgix+ #x81FC)
1789 (defconstant +fog-scale-value-sgix+ #x81FD)
1791 ;;;; }}}
1793 ;;;; {{{ ingr_color_clamp
1795 (defconstant +red-min-clamp-ingr+ #x8560)
1796 (defconstant +green-min-clamp-ingr+ #x8561)
1797 (defconstant +blue-min-clamp-ingr+ #x8562)
1798 (defconstant +alpha-min-clamp-ingr+ #x8563)
1799 (defconstant +red-max-clamp-ingr+ #x8564)
1800 (defconstant +green-max-clamp-ingr+ #x8565)
1801 (defconstant +blue-max-clamp-ingr+ #x8566)
1802 (defconstant +alpha-max-clamp-ingr+ #x8567)
1804 ;;;; }}}
1806 ;;;; {{{ ingr_interlace_read
1808 (defconstant +interlace-read-ingr+ #x8568)
1810 ;;;; }}}
1812 ;;;; {{{ ext_stencil_wrap
1814 (defconstant +incr-wrap-ext+ #x8507)
1815 (defconstant +decr-wrap-ext+ #x8508)
1817 ;;;; }}}
1819 ;;;; {{{ ext_422_pixels
1821 (defconstant +422-ext+ #x80CC)
1822 (defconstant +422-rev-ext+ #x80CD)
1823 (defconstant +422-average-ext+ #x80CE)
1824 (defconstant +422-rev-average-ext+ #x80CF)
1826 ;;;; }}}
1828 ;;;; {{{ nv_texgen_reflection
1830 (defconstant +normal-map-nv+ #x8511)
1831 (defconstant +reflection-map-nv+ #x8512)
1833 ;;;; }}}
1835 ;;;; {{{ ext_texture_cube_map
1837 (defconstant +normal-map-ext+ #x8511)
1838 (defconstant +reflection-map-ext+ #x8512)
1839 (defconstant +texture-cube-map-ext+ #x8513)
1840 (defconstant +texture-binding-cube-map-ext+ #x8514)
1841 (defconstant +texture-cube-map-positive-x-ext+ #x8515)
1842 (defconstant +texture-cube-map-negative-x-ext+ #x8516)
1843 (defconstant +texture-cube-map-positive-y-ext+ #x8517)
1844 (defconstant +texture-cube-map-negative-y-ext+ #x8518)
1845 (defconstant +texture-cube-map-positive-z-ext+ #x8519)
1846 (defconstant +texture-cube-map-negative-z-ext+ #x851A)
1847 (defconstant +proxy-texture-cube-map-ext+ #x851B)
1848 (defconstant +max-cube-map-texture-size-ext+ #x851C)
1850 ;;;; }}}
1852 ;;;; {{{ sun_convolution_border_modes
1854 (defconstant +wrap-border-sun+ #x81D4)
1856 ;;;; }}}
1858 ;;;; {{{ ext_texture_lod_bias
1860 (defconstant +max-texture-lod-bias-ext+ #x84FD)
1861 (defconstant +texture-filter-control-ext+ #x8500)
1862 (defconstant +texture-lod-bias-ext+ #x8501)
1864 ;;;; }}}
1866 ;;;; {{{ ext_texture_filter_anisotropic
1868 (defconstant +texture-max-anisotropy-ext+ #x84FE)
1869 (defconstant +max-texture-max-anisotropy-ext+ #x84FF)
1871 ;;;; }}}
1873 ;;;; {{{ nv_light_max_exponent
1875 (defconstant +max-shininess-nv+ #x8504)
1876 (defconstant +max-spot-exponent-nv+ #x8505)
1878 ;;;; }}}
1880 ;;;; {{{ nv_fog_distance
1882 (defconstant +fog-distance-mode-nv+ #x855A)
1883 (defconstant +eye-radial-nv+ #x855B)
1884 (defconstant +eye-plane-absolute-nv+ #x855C)
1886 ;;;; }}}
1888 ;;;; {{{ nv_texgen_emboss
1890 (defconstant +emboss-light-nv+ #x855D)
1891 (defconstant +emboss-constant-nv+ #x855E)
1892 (defconstant +emboss-map-nv+ #x855F)
1894 ;;;; }}}
1896 ;;;; {{{ nv_texture_env_combine4
1898 (defconstant +combine4-nv+ #x8503)
1899 (defconstant +source3-rgb-nv+ #x8583)
1900 (defconstant +source3-alpha-nv+ #x858B)
1901 (defconstant +operand3-rgb-nv+ #x8593)
1902 (defconstant +operand3-alpha-nv+ #x859B)
1904 ;;;; }}}
1906 ;;;; {{{ ibm_cull_vertex
1908 (defconstant +cull-vertex-ibm+ #x1928A)
1910 ;;;; }}}
1912 ;;;; {{{ sgix_ycrcba
1914 (defconstant +ycrcb-sgix+ #x8318)
1915 (defconstant +ycrcba-sgix+ #x8319)
1917 ;;;; }}}
1919 ;;;; {{{ sgi_depth_pass_instrument
1921 (defconstant +depth-pass-instrument-sgix+ #x8310)
1922 (defconstant +depth-pass-instrument-counters-sgix+ #x8311)
1923 (defconstant +depth-pass-instrument-max-sgix+ #x8312)
1925 ;;;; }}}
1927 ;;;; {{{ 3dfx_texture_compression_fxt1
1929 (defconstant +compressed-rgb-fxt1-3dfx+ #x86B0)
1930 (defconstant +compressed-rgba-fxt1-3dfx+ #x86B1)
1932 ;;;; }}}
1934 ;;;; {{{ 3dfx_multisample
1936 (defconstant +multisample-3dfx+ #x86B2)
1937 (defconstant +sample-buffers-3dfx+ #x86B3)
1938 (defconstant +samples-3dfx+ #x86B4)
1939 (defconstant +multisample-bit-3dfx+ #x20000000)
1941 ;;;; }}}
1943 ;;;; {{{ ext_texture_env_dot3
1945 (defconstant +dot3-rgb-ext+ #x8740)
1946 (defconstant +dot3-rgba-ext+ #x8741)
1948 ;;;; }}}
1950 ;;;; {{{ ati_texture_mirror_once
1952 (defconstant +mirror-clamp-ati+ #x8742)
1953 (defconstant +mirror-clamp-to-edge-ati+ #x8743)
1955 ;;;; }}}
1957 ;;;; {{{ ibm_texture_mirrored_repeat
1959 (defconstant +mirrored-repeat-ibm+ #x8370)
1961 ;;;; }}}
1963 ;;;; {{{ nv_packed_depth_stencil
1965 (defconstant +depth-stencil-nv+ #x84F9)
1966 (defconstant +unsigned-int-24-8-nv+ #x84FA)
1968 ;;;; }}}
1970 ;;;; {{{ nv_texture_rectangle
1972 (defconstant +texture-rectangle-nv+ #x84F5)
1973 (defconstant +texture-binding-rectangle-nv+ #x84F6)
1974 (defconstant +proxy-texture-rectangle-nv+ #x84F7)
1975 (defconstant +max-rectangle-texture-size-nv+ #x84F8)
1977 ;;;; }}}
1979 ;;;; {{{ nv_texture_shader
1981 (defconstant +offset-texture-rectangle-nv+ #x864C)
1982 (defconstant +offset-texture-rectangle-scale-nv+ #x864D)
1983 (defconstant +dot-product-texture-rectangle-nv+ #x864E)
1984 (defconstant +rgba-unsigned-dot-product-mapping-nv+ #x86D9)
1985 (defconstant +unsigned-int-s8-s8-8-8-nv+ #x86DA)
1986 (defconstant +unsigned-int-8-8-s8-s8-rev-nv+ #x86DB)
1987 (defconstant +dsdt-mag-intensity-nv+ #x86DC)
1988 (defconstant +shader-consistent-nv+ #x86DD)
1989 (defconstant +texture-shader-nv+ #x86DE)
1990 (defconstant +shader-operation-nv+ #x86DF)
1991 (defconstant +cull-modes-nv+ #x86E0)
1992 (defconstant +offset-texture-matrix-nv+ #x86E1)
1993 (defconstant +offset-texture-scale-nv+ #x86E2)
1994 (defconstant +offset-texture-bias-nv+ #x86E3)
1995 (defconstant +offset-texture-2d-matrix-nv+ #x86E1)
1996 (defconstant +offset-texture-2d-scale-nv+ #x86E2)
1997 (defconstant +offset-texture-2d-bias-nv+ #x86E3)
1998 (defconstant +previous-texture-input-nv+ #x86E4)
1999 (defconstant +const-eye-nv+ #x86E5)
2000 (defconstant +pass-through-nv+ #x86E6)
2001 (defconstant +cull-fragment-nv+ #x86E7)
2002 (defconstant +offset-texture-2d-nv+ #x86E8)
2003 (defconstant +dependent-ar-texture-2d-nv+ #x86E9)
2004 (defconstant +dependent-gb-texture-2d-nv+ #x86EA)
2005 (defconstant +dot-product-nv+ #x86EC)
2006 (defconstant +dot-product-depth-replace-nv+ #x86ED)
2007 (defconstant +dot-product-texture-2d-nv+ #x86EE)
2008 (defconstant +dot-product-texture-cube-map-nv+ #x86F0)
2009 (defconstant +dot-product-diffuse-cube-map-nv+ #x86F1)
2010 (defconstant +dot-product-reflect-cube-map-nv+ #x86F2)
2011 (defconstant +dot-product-const-eye-reflect-cube-map-nv+ #x86F3)
2012 (defconstant +hilo-nv+ #x86F4)
2013 (defconstant +dsdt-nv+ #x86F5)
2014 (defconstant +dsdt-mag-nv+ #x86F6)
2015 (defconstant +dsdt-mag-vib-nv+ #x86F7)
2016 (defconstant +hilo16-nv+ #x86F8)
2017 (defconstant +signed-hilo-nv+ #x86F9)
2018 (defconstant +signed-hilo16-nv+ #x86FA)
2019 (defconstant +signed-rgba-nv+ #x86FB)
2020 (defconstant +signed-rgba8-nv+ #x86FC)
2021 (defconstant +signed-rgb-nv+ #x86FE)
2022 (defconstant +signed-rgb8-nv+ #x86FF)
2023 (defconstant +signed-luminance-nv+ #x8701)
2024 (defconstant +signed-luminance8-nv+ #x8702)
2025 (defconstant +signed-luminance-alpha-nv+ #x8703)
2026 (defconstant +signed-luminance8-alpha8-nv+ #x8704)
2027 (defconstant +signed-alpha-nv+ #x8705)
2028 (defconstant +signed-alpha8-nv+ #x8706)
2029 (defconstant +signed-intensity-nv+ #x8707)
2030 (defconstant +signed-intensity8-nv+ #x8708)
2031 (defconstant +dsdt8-nv+ #x8709)
2032 (defconstant +dsdt8-mag8-nv+ #x870A)
2033 (defconstant +dsdt8-mag8-intensity8-nv+ #x870B)
2034 (defconstant +signed-rgb-unsigned-alpha-nv+ #x870C)
2035 (defconstant +signed-rgb8-unsigned-alpha8-nv+ #x870D)
2036 (defconstant +hi-scale-nv+ #x870E)
2037 (defconstant +lo-scale-nv+ #x870F)
2038 (defconstant +ds-scale-nv+ #x8710)
2039 (defconstant +dt-scale-nv+ #x8711)
2040 (defconstant +magnitude-scale-nv+ #x8712)
2041 (defconstant +vibrance-scale-nv+ #x8713)
2042 (defconstant +hi-bias-nv+ #x8714)
2043 (defconstant +lo-bias-nv+ #x8715)
2044 (defconstant +ds-bias-nv+ #x8716)
2045 (defconstant +dt-bias-nv+ #x8717)
2046 (defconstant +magnitude-bias-nv+ #x8718)
2047 (defconstant +vibrance-bias-nv+ #x8719)
2048 (defconstant +texture-border-values-nv+ #x871A)
2049 (defconstant +texture-hi-size-nv+ #x871B)
2050 (defconstant +texture-lo-size-nv+ #x871C)
2051 (defconstant +texture-ds-size-nv+ #x871D)
2052 (defconstant +texture-dt-size-nv+ #x871E)
2053 (defconstant +texture-mag-size-nv+ #x871F)
2055 ;;;; }}}
2057 ;;;; {{{ nv_texture_shader2
2059 (defconstant +dot-product-texture-3d-nv+ #x86EF)
2061 ;;;; }}}
2063 ;;;; {{{ nv_vertex_array_range2
2065 (defconstant +vertex-array-range-without-flush-nv+ #x8533)
2067 ;;;; }}}
2069 ;;;; {{{ sgix_scalebias_hint
2071 (defconstant +scalebias-hint-sgix+ #x8322)
2073 ;;;; }}}
2075 ;;;; {{{ oml_interlace
2077 (defconstant +interlace-oml+ #x8980)
2078 (defconstant +interlace-read-oml+ #x8981)
2080 ;;;; }}}
2082 ;;;; {{{ oml_subsample
2084 (defconstant +format-subsample-24-24-oml+ #x8982)
2085 (defconstant +format-subsample-244-244-oml+ #x8983)
2087 ;;;; }}}
2089 ;;;; {{{ oml_resample
2091 (defconstant +pack-resample-oml+ #x8984)
2092 (defconstant +unpack-resample-oml+ #x8985)
2093 (defconstant +resample-replicate-oml+ #x8986)
2094 (defconstant +resample-zero-fill-oml+ #x8987)
2095 (defconstant +resample-average-oml+ #x8988)
2096 (defconstant +resample-decimate-oml+ #x8989)
2098 ;;;; }}}
2100 ;;;; {{{ nv_copy_depth_to_color
2102 (defconstant +depth-stencil-to-rgba-nv+ #x886E)
2103 (defconstant +depth-stencil-to-bgra-nv+ #x886F)
2105 ;;;; }}}
2107 ;;;; {{{ sun_slice_accum
2109 (defconstant +slice-accum-sun+ #x85CC)
2111 ;;;; }}}
2113 ;;;; {{{ nv_multisample_filter_hint
2115 (defconstant +multisample-filter-hint-nv+ #x8534)
2117 ;;;; }}}
2119 ;;;; {{{ nv_depth_clamp
2121 (defconstant +depth-clamp-nv+ #x864F)
2123 ;;;; }}}
2125 ;;;; {{{ nv_texture_shader3
2127 (defconstant +offset-projective-texture-2d-nv+ #x8850)
2128 (defconstant +offset-projective-texture-2d-scale-nv+ #x8851)
2129 (defconstant +offset-projective-texture-rectangle-nv+ #x8852)
2130 (defconstant +offset-projective-texture-rectangle-scale-nv+ #x8853)
2131 (defconstant +offset-hilo-texture-2d-nv+ #x8854)
2132 (defconstant +offset-hilo-texture-rectangle-nv+ #x8855)
2133 (defconstant +offset-hilo-projective-texture-2d-nv+ #x8856)
2134 (defconstant +offset-hilo-projective-texture-rectangle-nv+ #x8857)
2135 (defconstant +dependent-hilo-texture-2d-nv+ #x8858)
2136 (defconstant +dependent-rgb-texture-3d-nv+ #x8859)
2137 (defconstant +dependent-rgb-texture-cube-map-nv+ #x885A)
2138 (defconstant +dot-product-pass-through-nv+ #x885B)
2139 (defconstant +dot-product-texture-1d-nv+ #x885C)
2140 (defconstant +dot-product-affine-depth-replace-nv+ #x885D)
2141 (defconstant +hilo8-nv+ #x885E)
2142 (defconstant +signed-hilo8-nv+ #x885F)
2143 (defconstant +force-blue-to-one-nv+ #x8860)
2145 ;;;; }}}
2147 ;;;; {{{ ati_text_fragment_shader
2149 (defconstant +text-fragment-shader-ati+ #x8200)
2151 ;;;; }}}
2153 ;;;; {{{ apple_client_storage
2155 (defconstant +unpack-client-storage-apple+ #x85B2)
2157 ;;;; }}}
2159 ;;;; {{{ apple_ycbcr_422
2161 (defconstant +ycbcr-422-apple+ #x85B9)
2162 (defconstant +unsigned-short-8-8-apple+ #x85BA)
2163 (defconstant +unsigned-short-8-8-rev-apple+ #x85BB)
2165 ;;;; }}}
2167 ;;;; {{{ s3_s3tc
2169 (defconstant +rgb-s3tc+ #x83A0)
2170 (defconstant +rgb4-s3tc+ #x83A1)
2171 (defconstant +rgba-s3tc+ #x83A2)
2172 (defconstant +rgba4-s3tc+ #x83A3)
2174 ;;;; }}}
2176 ;;;; {{{ ati_pixel_format_float
2178 (defconstant +type-rgba-float-ati+ #x8820)
2179 (defconstant +color-clear-unclamped-value-ati+ #x8835)
2181 ;;;; }}}
2183 ;;;; {{{ ati_texture_env_combine3
2185 (defconstant +modulate-add-ati+ #x8744)
2186 (defconstant +modulate-signed-add-ati+ #x8745)
2187 (defconstant +modulate-subtract-ati+ #x8746)
2189 ;;;; }}}
2191 ;;;; {{{ ati_texture_float
2193 (defconstant +rgba-float32-ati+ #x8814)
2194 (defconstant +rgb-float32-ati+ #x8815)
2195 (defconstant +alpha-float32-ati+ #x8816)
2196 (defconstant +intensity-float32-ati+ #x8817)
2197 (defconstant +luminance-float32-ati+ #x8818)
2198 (defconstant +luminance-alpha-float32-ati+ #x8819)
2199 (defconstant +rgba-float16-ati+ #x881A)
2200 (defconstant +rgb-float16-ati+ #x881B)
2201 (defconstant +alpha-float16-ati+ #x881C)
2202 (defconstant +intensity-float16-ati+ #x881D)
2203 (defconstant +luminance-float16-ati+ #x881E)
2204 (defconstant +luminance-alpha-float16-ati+ #x881F)
2206 ;;;; }}}
2208 ;;;; {{{ nv_float_buffer
2210 (defconstant +float-r-nv+ #x8880)
2211 (defconstant +float-rg-nv+ #x8881)
2212 (defconstant +float-rgb-nv+ #x8882)
2213 (defconstant +float-rgba-nv+ #x8883)
2214 (defconstant +float-r16-nv+ #x8884)
2215 (defconstant +float-r32-nv+ #x8885)
2216 (defconstant +float-rg16-nv+ #x8886)
2217 (defconstant +float-rg32-nv+ #x8887)
2218 (defconstant +float-rgb16-nv+ #x8888)
2219 (defconstant +float-rgb32-nv+ #x8889)
2220 (defconstant +float-rgba16-nv+ #x888A)
2221 (defconstant +float-rgba32-nv+ #x888B)
2222 (defconstant +texture-float-components-nv+ #x888C)
2223 (defconstant +float-clear-color-value-nv+ #x888D)
2224 (defconstant +float-rgba-mode-nv+ #x888E)
2226 ;;;; }}}
2228 ;;;; {{{ nv_texture_expand_normal
2230 (defconstant +texture-unsigned-remap-mode-nv+ #x888F)
2232 ;;;; }}}
2234 ;;;; {{{ oes_read_format
2236 (defconstant +implementation-color-read-type-oes+ #x8B9A)
2237 (defconstant +implementation-color-read-format-oes+ #x8B9B)
2239 ;;;; }}}
2241 ;;;; {{{ ext_texture_mirror_clamp
2243 (defconstant +mirror-clamp-ext+ #x8742)
2244 (defconstant +mirror-clamp-to-edge-ext+ #x8743)
2245 (defconstant +mirror-clamp-to-border-ext+ #x8912)
2247 ;;;; }}}
2249 ;;;; {{{ mesa_pack_invert
2251 (defconstant +pack-invert-mesa+ #x8758)
2253 ;;;; }}}
2255 ;;;; {{{ mesa_ycbcr_texture
2257 (defconstant +unsigned-short-8-8-mesa+ #x85BA)
2258 (defconstant +unsigned-short-8-8-rev-mesa+ #x85BB)
2259 (defconstant +ycbcr-mesa+ #x8757)
2261 ;;;; }}}
2263 ;;;; {{{ ext_pixel_buffer_object
2265 (defconstant +pixel-pack-buffer-ext+ #x88EB)
2266 (defconstant +pixel-unpack-buffer-ext+ #x88EC)
2267 (defconstant +pixel-pack-buffer-binding-ext+ #x88ED)
2268 (defconstant +pixel-unpack-buffer-binding-ext+ #x88EF)
2270 ;;;; }}}
2272 ;;;; {{{ nv_fragment_program2
2274 (defconstant +max-program-exec-instructions-nv+ #x88F4)
2275 (defconstant +max-program-call-depth-nv+ #x88F5)
2276 (defconstant +max-program-if-depth-nv+ #x88F6)
2277 (defconstant +max-program-loop-depth-nv+ #x88F7)
2278 (defconstant +max-program-loop-count-nv+ #x88F8)
2280 ;;;; }}}
2282 ;;;; {{{ nv_vertex_program3
2284 (defconstant +max-vertex-texture-image-units-arb+ #x8B4C)
2286 ;;;; }}}
2288 ;;;; {{{ ext_packed_depth_stencil
2290 (defconstant +depth-stencil-ext+ #x84F9)
2291 (defconstant +unsigned-int-24-8-ext+ #x84FA)
2292 (defconstant +depth24-stencil8-ext+ #x88F0)
2293 (defconstant +texture-stencil-size-ext+ #x88F1)
2295 ;;;; }}}
2297 ;;;; {{{ ext_texture_srgb
2299 (defconstant +srgb-ext+ #x8C40)
2300 (defconstant +srgb8-ext+ #x8C41)
2301 (defconstant +srgb-alpha-ext+ #x8C42)
2302 (defconstant +srgb8-alpha8-ext+ #x8C43)
2303 (defconstant +sluminance-alpha-ext+ #x8C44)
2304 (defconstant +sluminance8-alpha8-ext+ #x8C45)
2305 (defconstant +sluminance-ext+ #x8C46)
2306 (defconstant +sluminance8-ext+ #x8C47)
2307 (defconstant +compressed-srgb-ext+ #x8C48)
2308 (defconstant +compressed-srgb-alpha-ext+ #x8C49)
2309 (defconstant +compressed-sluminance-ext+ #x8C4A)
2310 (defconstant +compressed-sluminance-alpha-ext+ #x8C4B)
2311 (defconstant +compressed-srgb-s3tc-dxt1-ext+ #x8C4C)
2312 (defconstant +compressed-srgb-alpha-s3tc-dxt1-ext+ #x8C4D)
2313 (defconstant +compressed-srgb-alpha-s3tc-dxt3-ext+ #x8C4E)
2314 (defconstant +compressed-srgb-alpha-s3tc-dxt5-ext+ #x8C4F)
2316 ;;;; }}}
2318 ;;;; {{{ mesax_texture_stack
2320 (defconstant +texture-1d-stack-mesax+ #x8759)
2321 (defconstant +texture-2d-stack-mesax+ #x875A)
2322 (defconstant +proxy-texture-1d-stack-mesax+ #x875B)
2323 (defconstant +proxy-texture-2d-stack-mesax+ #x875C)
2324 (defconstant +texture-1d-stack-binding-mesax+ #x875D)
2325 (defconstant +texture-2d-stack-binding-mesax+ #x875E)
2327 ;;;; }}}
2329 ;;;; {{{ ext_packed_float
2331 (defconstant +r11f-g11f-b10f-ext+ #x8C3A)
2332 (defconstant +unsigned-int-10f-11f-11f-rev-ext+ #x8C3B)
2333 (defconstant +rgba-signed-components-ext+ #x8C3C)
2335 ;;;; }}}
2337 ;;;; {{{ ext_texture_array
2339 (defconstant +texture-1d-array-ext+ #x8C18)
2340 (defconstant +proxy-texture-1d-array-ext+ #x8C19)
2341 (defconstant +texture-2d-array-ext+ #x8C1A)
2342 (defconstant +proxy-texture-2d-array-ext+ #x8C1B)
2343 (defconstant +texture-binding-1d-array-ext+ #x8C1C)
2344 (defconstant +texture-binding-2d-array-ext+ #x8C1D)
2345 (defconstant +max-array-texture-layers-ext+ #x88FF)
2346 (defconstant +compare-ref-depth-to-texture-ext+ #x884E)
2347 (defconstant +framebuffer-attachment-texture-layer-ext+ #x8CD4)
2349 ;;;; }}}
2351 ;;;; {{{ ext_texture_compression_latc
2353 (defconstant +compressed-luminance-latc1-ext+ #x8C70)
2354 (defconstant +compressed-signed-luminance-latc1-ext+ #x8C71)
2355 (defconstant +compressed-luminance-alpha-latc2-ext+ #x8C72)
2356 (defconstant +compressed-signed-luminance-alpha-latc2-ext+ #x8C73)
2358 ;;;; }}}
2360 ;;;; {{{ ext_texture_compression_rgtc
2362 (defconstant +compressed-red-rgtc1-ext+ #x8DBB)
2363 (defconstant +compressed-signed-red-rgtc1-ext+ #x8DBC)
2364 (defconstant +compressed-red-green-rgtc2-ext+ #x8DBD)
2365 (defconstant +compressed-signed-red-green-rgtc2-ext+ #x8DBE)
2367 ;;;; }}}
2369 ;;;; {{{ ext_texture_shared_exponent
2371 (defconstant +rgb9-e5-ext+ #x8C3D)
2372 (defconstant +unsigned-int-5-9-9-9-rev-ext+ #x8C3E)
2373 (defconstant +texture-shared-size-ext+ #x8C3F)
2375 ;;;; }}}
2377 ;;;; {{{ ext_framebuffer_srgb
2379 (defconstant +framebuffer-srgb-ext+ #x8DB9)
2380 (defconstant +framebuffer-srgb-capable-ext+ #x8DBA)
2382 ;;;; }}}
2384 ;;;; {{{ display-list
2386 (defglfun "ListBase" list-base :return "void" :args
2387 ((:name |base| :type |List| :direction :in)) :category "display-list" :version
2388 "1.0")
2389 (defglfun "GenLists" gen-lists :return "List" :args
2390 ((:name |range| :type |SizeI| :direction :in)) :category "display-list"
2391 :version "1.0")
2392 (defglfun "DeleteLists" delete-lists :return "void" :args
2393 ((:name |list| :type |List| :direction :in)
2394 (:name |range| :type |SizeI| :direction :in))
2395 :category "display-list" :version "1.0")
2396 (defglfun "CallLists" call-lists :return "void" :args
2397 ((:name |n| :type |SizeI| :direction :in)
2398 (:name |type| :type |ListNameType| :direction :in)
2399 (:name |lists| :type |Void| :direction :in :array t :size (|n| |type|)))
2400 :category "display-list" :version "1.0")
2401 (defglfun "CallList" call-list :return "void" :args
2402 ((:name |list| :type |List| :direction :in)) :category "display-list" :version
2403 "1.0")
2404 (defglfun "EndList" end-list :return "void" :args nil :category "display-list"
2405 :version "1.0")
2406 (defglfun "NewList" new-list :return "void" :args
2407 ((:name |list| :type |List| :direction :in)
2408 (:name |mode| :type |ListMode| :direction :in))
2409 :category "display-list" :version "1.0")
2411 ;;;; }}}
2413 ;;;; {{{ drawing
2415 (defglfun "Vertex4sv" vertex-4sv :return "void" :args
2416 ((:name |v| :type |CoordS| :direction :in :array t :size #x4)) :category
2417 "drawing" :version "1.0")
2418 (defglfun "Vertex4s" vertex-4s :return "void" :args
2419 ((:name |x| :type |CoordS| :direction :in)
2420 (:name |y| :type |CoordS| :direction :in)
2421 (:name |z| :type |CoordS| :direction :in)
2422 (:name |w| :type |CoordS| :direction :in))
2423 :category "drawing" :version "1.0")
2424 (defglfun "Vertex4iv" vertex-4iv :return "void" :args
2425 ((:name |v| :type |CoordI| :direction :in :array t :size #x4)) :category
2426 "drawing" :version "1.0")
2427 (defglfun "Vertex4i" vertex-4i :return "void" :args
2428 ((:name |x| :type |CoordI| :direction :in)
2429 (:name |y| :type |CoordI| :direction :in)
2430 (:name |z| :type |CoordI| :direction :in)
2431 (:name |w| :type |CoordI| :direction :in))
2432 :category "drawing" :version "1.0")
2433 (defglfun "Vertex4fv" vertex-4fv :return "void" :args
2434 ((:name |v| :type |CoordF| :direction :in :array t :size #x4)) :category
2435 "drawing" :version "1.0")
2436 (defglfun "Vertex4f" vertex-4f :return "void" :args
2437 ((:name |x| :type |CoordF| :direction :in)
2438 (:name |y| :type |CoordF| :direction :in)
2439 (:name |z| :type |CoordF| :direction :in)
2440 (:name |w| :type |CoordF| :direction :in))
2441 :category "drawing" :version "1.0")
2442 (defglfun "Vertex4dv" vertex-4dv :return "void" :args
2443 ((:name |v| :type |CoordD| :direction :in :array t :size #x4)) :category
2444 "drawing" :version "1.0")
2445 (defglfun "Vertex4d" vertex-4d :return "void" :args
2446 ((:name |x| :type |CoordD| :direction :in)
2447 (:name |y| :type |CoordD| :direction :in)
2448 (:name |z| :type |CoordD| :direction :in)
2449 (:name |w| :type |CoordD| :direction :in))
2450 :category "drawing" :version "1.0")
2451 (defglfun "Vertex3sv" vertex-3sv :return "void" :args
2452 ((:name |v| :type |CoordS| :direction :in :array t :size #x3)) :category
2453 "drawing" :version "1.0")
2454 (defglfun "Vertex3s" vertex-3s :return "void" :args
2455 ((:name |x| :type |CoordS| :direction :in)
2456 (:name |y| :type |CoordS| :direction :in)
2457 (:name |z| :type |CoordS| :direction :in))
2458 :category "drawing" :version "1.0")
2459 (defglfun "Vertex3iv" vertex-3iv :return "void" :args
2460 ((:name |v| :type |CoordI| :direction :in :array t :size #x3)) :category
2461 "drawing" :version "1.0")
2462 (defglfun "Vertex3i" vertex-3i :return "void" :args
2463 ((:name |x| :type |CoordI| :direction :in)
2464 (:name |y| :type |CoordI| :direction :in)
2465 (:name |z| :type |CoordI| :direction :in))
2466 :category "drawing" :version "1.0")
2467 (defglfun "Vertex3fv" vertex-3fv :return "void" :args
2468 ((:name |v| :type |CoordF| :direction :in :array t :size #x3)) :category
2469 "drawing" :version "1.0")
2470 (defglfun "Vertex3f" vertex-3f :return "void" :args
2471 ((:name |x| :type |CoordF| :direction :in)
2472 (:name |y| :type |CoordF| :direction :in)
2473 (:name |z| :type |CoordF| :direction :in))
2474 :category "drawing" :version "1.0")
2475 (defglfun "Vertex3dv" vertex-3dv :return "void" :args
2476 ((:name |v| :type |CoordD| :direction :in :array t :size #x3)) :category
2477 "drawing" :version "1.0")
2478 (defglfun "Vertex3d" vertex-3d :return "void" :args
2479 ((:name |x| :type |CoordD| :direction :in)
2480 (:name |y| :type |CoordD| :direction :in)
2481 (:name |z| :type |CoordD| :direction :in))
2482 :category "drawing" :version "1.0")
2483 (defglfun "Vertex2sv" vertex-2sv :return "void" :args
2484 ((:name |v| :type |CoordS| :direction :in :array t :size #x2)) :category
2485 "drawing" :version "1.0")
2486 (defglfun "Vertex2s" vertex-2s :return "void" :args
2487 ((:name |x| :type |CoordS| :direction :in)
2488 (:name |y| :type |CoordS| :direction :in))
2489 :category "drawing" :version "1.0")
2490 (defglfun "Vertex2iv" vertex-2iv :return "void" :args
2491 ((:name |v| :type |CoordI| :direction :in :array t :size #x2)) :category
2492 "drawing" :version "1.0")
2493 (defglfun "Vertex2i" vertex-2i :return "void" :args
2494 ((:name |x| :type |CoordI| :direction :in)
2495 (:name |y| :type |CoordI| :direction :in))
2496 :category "drawing" :version "1.0")
2497 (defglfun "Vertex2fv" vertex-2fv :return "void" :args
2498 ((:name |v| :type |CoordF| :direction :in :array t :size #x2)) :category
2499 "drawing" :version "1.0")
2500 (defglfun "Vertex2f" vertex-2f :return "void" :args
2501 ((:name |x| :type |CoordF| :direction :in)
2502 (:name |y| :type |CoordF| :direction :in))
2503 :category "drawing" :version "1.0")
2504 (defglfun "Vertex2dv" vertex-2dv :return "void" :args
2505 ((:name |v| :type |CoordD| :direction :in :array t :size #x2)) :category
2506 "drawing" :version "1.0")
2507 (defglfun "Vertex2d" vertex-2d :return "void" :args
2508 ((:name |x| :type |CoordD| :direction :in)
2509 (:name |y| :type |CoordD| :direction :in))
2510 :category "drawing" :version "1.0")
2511 (defglfun "TexCoord4sv" tex-coord-4sv :return "void" :args
2512 ((:name |v| :type |CoordS| :direction :in :array t :size #x4)) :category
2513 "drawing" :version "1.0")
2514 (defglfun "TexCoord4s" tex-coord-4s :return "void" :args
2515 ((:name |s| :type |CoordS| :direction :in)
2516 (:name |t| :type |CoordS| :direction :in)
2517 (:name |r| :type |CoordS| :direction :in)
2518 (:name |q| :type |CoordS| :direction :in))
2519 :category "drawing" :version "1.0")
2520 (defglfun "TexCoord4iv" tex-coord-4iv :return "void" :args
2521 ((:name |v| :type |CoordI| :direction :in :array t :size #x4)) :category
2522 "drawing" :version "1.0")
2523 (defglfun "TexCoord4i" tex-coord-4i :return "void" :args
2524 ((:name |s| :type |CoordI| :direction :in)
2525 (:name |t| :type |CoordI| :direction :in)
2526 (:name |r| :type |CoordI| :direction :in)
2527 (:name |q| :type |CoordI| :direction :in))
2528 :category "drawing" :version "1.0")
2529 (defglfun "TexCoord4fv" tex-coord-4fv :return "void" :args
2530 ((:name |v| :type |CoordF| :direction :in :array t :size #x4)) :category
2531 "drawing" :version "1.0")
2532 (defglfun "TexCoord4f" tex-coord-4f :return "void" :args
2533 ((:name |s| :type |CoordF| :direction :in)
2534 (:name |t| :type |CoordF| :direction :in)
2535 (:name |r| :type |CoordF| :direction :in)
2536 (:name |q| :type |CoordF| :direction :in))
2537 :category "drawing" :version "1.0")
2538 (defglfun "TexCoord4dv" tex-coord-4dv :return "void" :args
2539 ((:name |v| :type |CoordD| :direction :in :array t :size #x4)) :category
2540 "drawing" :version "1.0")
2541 (defglfun "TexCoord4d" tex-coord-4d :return "void" :args
2542 ((:name |s| :type |CoordD| :direction :in)
2543 (:name |t| :type |CoordD| :direction :in)
2544 (:name |r| :type |CoordD| :direction :in)
2545 (:name |q| :type |CoordD| :direction :in))
2546 :category "drawing" :version "1.0")
2547 (defglfun "TexCoord3sv" tex-coord-3sv :return "void" :args
2548 ((:name |v| :type |CoordS| :direction :in :array t :size #x3)) :category
2549 "drawing" :version "1.0")
2550 (defglfun "TexCoord3s" tex-coord-3s :return "void" :args
2551 ((:name |s| :type |CoordS| :direction :in)
2552 (:name |t| :type |CoordS| :direction :in)
2553 (:name |r| :type |CoordS| :direction :in))
2554 :category "drawing" :version "1.0")
2555 (defglfun "TexCoord3iv" tex-coord-3iv :return "void" :args
2556 ((:name |v| :type |CoordI| :direction :in :array t :size #x3)) :category
2557 "drawing" :version "1.0")
2558 (defglfun "TexCoord3i" tex-coord-3i :return "void" :args
2559 ((:name |s| :type |CoordI| :direction :in)
2560 (:name |t| :type |CoordI| :direction :in)
2561 (:name |r| :type |CoordI| :direction :in))
2562 :category "drawing" :version "1.0")
2563 (defglfun "TexCoord3fv" tex-coord-3fv :return "void" :args
2564 ((:name |v| :type |CoordF| :direction :in :array t :size #x3)) :category
2565 "drawing" :version "1.0")
2566 (defglfun "TexCoord3f" tex-coord-3f :return "void" :args
2567 ((:name |s| :type |CoordF| :direction :in)
2568 (:name |t| :type |CoordF| :direction :in)
2569 (:name |r| :type |CoordF| :direction :in))
2570 :category "drawing" :version "1.0")
2571 (defglfun "TexCoord3dv" tex-coord-3dv :return "void" :args
2572 ((:name |v| :type |CoordD| :direction :in :array t :size #x3)) :category
2573 "drawing" :version "1.0")
2574 (defglfun "TexCoord3d" tex-coord-3d :return "void" :args
2575 ((:name |s| :type |CoordD| :direction :in)
2576 (:name |t| :type |CoordD| :direction :in)
2577 (:name |r| :type |CoordD| :direction :in))
2578 :category "drawing" :version "1.0")
2579 (defglfun "TexCoord2sv" tex-coord-2sv :return "void" :args
2580 ((:name |v| :type |CoordS| :direction :in :array t :size #x2)) :category
2581 "drawing" :version "1.0")
2582 (defglfun "TexCoord2s" tex-coord-2s :return "void" :args
2583 ((:name |s| :type |CoordS| :direction :in)
2584 (:name |t| :type |CoordS| :direction :in))
2585 :category "drawing" :version "1.0")
2586 (defglfun "TexCoord2iv" tex-coord-2iv :return "void" :args
2587 ((:name |v| :type |CoordI| :direction :in :array t :size #x2)) :category
2588 "drawing" :version "1.0")
2589 (defglfun "TexCoord2i" tex-coord-2i :return "void" :args
2590 ((:name |s| :type |CoordI| :direction :in)
2591 (:name |t| :type |CoordI| :direction :in))
2592 :category "drawing" :version "1.0")
2593 (defglfun "TexCoord2fv" tex-coord-2fv :return "void" :args
2594 ((:name |v| :type |CoordF| :direction :in :array t :size #x2)) :category
2595 "drawing" :version "1.0")
2596 (defglfun "TexCoord2f" tex-coord-2f :return "void" :args
2597 ((:name |s| :type |CoordF| :direction :in)
2598 (:name |t| :type |CoordF| :direction :in))
2599 :category "drawing" :version "1.0")
2600 (defglfun "TexCoord2dv" tex-coord-2dv :return "void" :args
2601 ((:name |v| :type |CoordD| :direction :in :array t :size #x2)) :category
2602 "drawing" :version "1.0")
2603 (defglfun "TexCoord2d" tex-coord-2d :return "void" :args
2604 ((:name |s| :type |CoordD| :direction :in)
2605 (:name |t| :type |CoordD| :direction :in))
2606 :category "drawing" :version "1.0")
2607 (defglfun "TexCoord1sv" tex-coord-1sv :return "void" :args
2608 ((:name |v| :type |CoordS| :direction :in :array t :size #x1)) :category
2609 "drawing" :version "1.0")
2610 (defglfun "TexCoord1s" tex-coord-1s :return "void" :args
2611 ((:name |s| :type |CoordS| :direction :in)) :category "drawing" :version "1.0")
2612 (defglfun "TexCoord1iv" tex-coord-1iv :return "void" :args
2613 ((:name |v| :type |CoordI| :direction :in :array t :size #x1)) :category
2614 "drawing" :version "1.0")
2615 (defglfun "TexCoord1i" tex-coord-1i :return "void" :args
2616 ((:name |s| :type |CoordI| :direction :in)) :category "drawing" :version "1.0")
2617 (defglfun "TexCoord1fv" tex-coord-1fv :return "void" :args
2618 ((:name |v| :type |CoordF| :direction :in :array t :size #x1)) :category
2619 "drawing" :version "1.0")
2620 (defglfun "TexCoord1f" tex-coord-1f :return "void" :args
2621 ((:name |s| :type |CoordF| :direction :in)) :category "drawing" :version "1.0")
2622 (defglfun "TexCoord1dv" tex-coord-1dv :return "void" :args
2623 ((:name |v| :type |CoordD| :direction :in :array t :size #x1)) :category
2624 "drawing" :version "1.0")
2625 (defglfun "TexCoord1d" tex-coord-1d :return "void" :args
2626 ((:name |s| :type |CoordD| :direction :in)) :category "drawing" :version "1.0")
2627 (defglfun "Rectsv" rect-sv :return "void" :args
2628 ((:name |v1| :type |CoordS| :direction :in :array t :size #x2)
2629 (:name |v2| :type |CoordS| :direction :in :array t :size #x2))
2630 :category "drawing" :version "1.0")
2631 (defglfun "Rects" rect-s :return "void" :args
2632 ((:name |x1| :type |CoordS| :direction :in)
2633 (:name |y1| :type |CoordS| :direction :in)
2634 (:name |x2| :type |CoordS| :direction :in)
2635 (:name |y2| :type |CoordS| :direction :in))
2636 :category "drawing" :version "1.0")
2637 (defglfun "Rectiv" rect-iv :return "void" :args
2638 ((:name |v1| :type |CoordI| :direction :in :array t :size #x2)
2639 (:name |v2| :type |CoordI| :direction :in :array t :size #x2))
2640 :category "drawing" :version "1.0")
2641 (defglfun "Recti" rect-i :return "void" :args
2642 ((:name |x1| :type |CoordI| :direction :in)
2643 (:name |y1| :type |CoordI| :direction :in)
2644 (:name |x2| :type |CoordI| :direction :in)
2645 (:name |y2| :type |CoordI| :direction :in))
2646 :category "drawing" :version "1.0")
2647 (defglfun "Rectfv" rect-fv :return "void" :args
2648 ((:name |v1| :type |CoordF| :direction :in :array t :size #x2)
2649 (:name |v2| :type |CoordF| :direction :in :array t :size #x2))
2650 :category "drawing" :version "1.0")
2651 (defglfun "Rectf" rect-f :return "void" :args
2652 ((:name |x1| :type |CoordF| :direction :in)
2653 (:name |y1| :type |CoordF| :direction :in)
2654 (:name |x2| :type |CoordF| :direction :in)
2655 (:name |y2| :type |CoordF| :direction :in))
2656 :category "drawing" :version "1.0")
2657 (defglfun "Rectdv" rect-dv :return "void" :args
2658 ((:name |v1| :type |CoordD| :direction :in :array t :size #x2)
2659 (:name |v2| :type |CoordD| :direction :in :array t :size #x2))
2660 :category "drawing" :version "1.0")
2661 (defglfun "Rectd" rect-d :return "void" :args
2662 ((:name |x1| :type |CoordD| :direction :in)
2663 (:name |y1| :type |CoordD| :direction :in)
2664 (:name |x2| :type |CoordD| :direction :in)
2665 (:name |y2| :type |CoordD| :direction :in))
2666 :category "drawing" :version "1.0")
2667 (defglfun "RasterPos4sv" raster-pos-4sv :return "void" :args
2668 ((:name |v| :type |CoordS| :direction :in :array t :size #x4)) :category
2669 "drawing" :version "1.0")
2670 (defglfun "RasterPos4s" raster-pos-4s :return "void" :args
2671 ((:name |x| :type |CoordS| :direction :in)
2672 (:name |y| :type |CoordS| :direction :in)
2673 (:name |z| :type |CoordS| :direction :in)
2674 (:name |w| :type |CoordS| :direction :in))
2675 :category "drawing" :version "1.0")
2676 (defglfun "RasterPos4iv" raster-pos-4iv :return "void" :args
2677 ((:name |v| :type |CoordI| :direction :in :array t :size #x4)) :category
2678 "drawing" :version "1.0")
2679 (defglfun "RasterPos4i" raster-pos-4i :return "void" :args
2680 ((:name |x| :type |CoordI| :direction :in)
2681 (:name |y| :type |CoordI| :direction :in)
2682 (:name |z| :type |CoordI| :direction :in)
2683 (:name |w| :type |CoordI| :direction :in))
2684 :category "drawing" :version "1.0")
2685 (defglfun "RasterPos4fv" raster-pos-4fv :return "void" :args
2686 ((:name |v| :type |CoordF| :direction :in :array t :size #x4)) :category
2687 "drawing" :version "1.0")
2688 (defglfun "RasterPos4f" raster-pos-4f :return "void" :args
2689 ((:name |x| :type |CoordF| :direction :in)
2690 (:name |y| :type |CoordF| :direction :in)
2691 (:name |z| :type |CoordF| :direction :in)
2692 (:name |w| :type |CoordF| :direction :in))
2693 :category "drawing" :version "1.0")
2694 (defglfun "RasterPos4dv" raster-pos-4dv :return "void" :args
2695 ((:name |v| :type |CoordD| :direction :in :array t :size #x4)) :category
2696 "drawing" :version "1.0")
2697 (defglfun "RasterPos4d" raster-pos-4d :return "void" :args
2698 ((:name |x| :type |CoordD| :direction :in)
2699 (:name |y| :type |CoordD| :direction :in)
2700 (:name |z| :type |CoordD| :direction :in)
2701 (:name |w| :type |CoordD| :direction :in))
2702 :category "drawing" :version "1.0")
2703 (defglfun "RasterPos3sv" raster-pos-3sv :return "void" :args
2704 ((:name |v| :type |CoordS| :direction :in :array t :size #x3)) :category
2705 "drawing" :version "1.0")
2706 (defglfun "RasterPos3s" raster-pos-3s :return "void" :args
2707 ((:name |x| :type |CoordS| :direction :in)
2708 (:name |y| :type |CoordS| :direction :in)
2709 (:name |z| :type |CoordS| :direction :in))
2710 :category "drawing" :version "1.0")
2711 (defglfun "RasterPos3iv" raster-pos-3iv :return "void" :args
2712 ((:name |v| :type |CoordI| :direction :in :array t :size #x3)) :category
2713 "drawing" :version "1.0")
2714 (defglfun "RasterPos3i" raster-pos-3i :return "void" :args
2715 ((:name |x| :type |CoordI| :direction :in)
2716 (:name |y| :type |CoordI| :direction :in)
2717 (:name |z| :type |CoordI| :direction :in))
2718 :category "drawing" :version "1.0")
2719 (defglfun "RasterPos3fv" raster-pos-3fv :return "void" :args
2720 ((:name |v| :type |CoordF| :direction :in :array t :size #x3)) :category
2721 "drawing" :version "1.0")
2722 (defglfun "RasterPos3f" raster-pos-3f :return "void" :args
2723 ((:name |x| :type |CoordF| :direction :in)
2724 (:name |y| :type |CoordF| :direction :in)
2725 (:name |z| :type |CoordF| :direction :in))
2726 :category "drawing" :version "1.0")
2727 (defglfun "RasterPos3dv" raster-pos-3dv :return "void" :args
2728 ((:name |v| :type |CoordD| :direction :in :array t :size #x3)) :category
2729 "drawing" :version "1.0")
2730 (defglfun "RasterPos3d" raster-pos-3d :return "void" :args
2731 ((:name |x| :type |CoordD| :direction :in)
2732 (:name |y| :type |CoordD| :direction :in)
2733 (:name |z| :type |CoordD| :direction :in))
2734 :category "drawing" :version "1.0")
2735 (defglfun "RasterPos2sv" raster-pos-2sv :return "void" :args
2736 ((:name |v| :type |CoordS| :direction :in :array t :size #x2)) :category
2737 "drawing" :version "1.0")
2738 (defglfun "RasterPos2s" raster-pos-2s :return "void" :args
2739 ((:name |x| :type |CoordS| :direction :in)
2740 (:name |y| :type |CoordS| :direction :in))
2741 :category "drawing" :version "1.0")
2742 (defglfun "RasterPos2iv" raster-pos-2iv :return "void" :args
2743 ((:name |v| :type |CoordI| :direction :in :array t :size #x2)) :category
2744 "drawing" :version "1.0")
2745 (defglfun "RasterPos2i" raster-pos-2i :return "void" :args
2746 ((:name |x| :type |CoordI| :direction :in)
2747 (:name |y| :type |CoordI| :direction :in))
2748 :category "drawing" :version "1.0")
2749 (defglfun "RasterPos2fv" raster-pos-2fv :return "void" :args
2750 ((:name |v| :type |CoordF| :direction :in :array t :size #x2)) :category
2751 "drawing" :version "1.0")
2752 (defglfun "RasterPos2f" raster-pos-2f :return "void" :args
2753 ((:name |x| :type |CoordF| :direction :in)
2754 (:name |y| :type |CoordF| :direction :in))
2755 :category "drawing" :version "1.0")
2756 (defglfun "RasterPos2dv" raster-pos-2dv :return "void" :args
2757 ((:name |v| :type |CoordD| :direction :in :array t :size #x2)) :category
2758 "drawing" :version "1.0")
2759 (defglfun "RasterPos2d" raster-pos-2d :return "void" :args
2760 ((:name |x| :type |CoordD| :direction :in)
2761 (:name |y| :type |CoordD| :direction :in))
2762 :category "drawing" :version "1.0")
2763 (defglfun "Normal3sv" normal-3sv :return "void" :args
2764 ((:name |v| :type |Int16| :direction :in :array t :size #x3)) :category
2765 "drawing" :version "1.0")
2766 (defglfun "Normal3s" normal-3s :return "void" :args
2767 ((:name |nx| :type |Int16| :direction :in)
2768 (:name |ny| :type |Int16| :direction :in)
2769 (:name |nz| :type |Int16| :direction :in))
2770 :category "drawing" :version "1.0")
2771 (defglfun "Normal3iv" normal-3iv :return "void" :args
2772 ((:name |v| :type |Int32| :direction :in :array t :size #x3)) :category
2773 "drawing" :version "1.0")
2774 (defglfun "Normal3i" normal-3i :return "void" :args
2775 ((:name |nx| :type |Int32| :direction :in)
2776 (:name |ny| :type |Int32| :direction :in)
2777 (:name |nz| :type |Int32| :direction :in))
2778 :category "drawing" :version "1.0")
2779 (defglfun "Normal3fv" normal-3fv :return "void" :args
2780 ((:name |v| :type |CoordF| :direction :in :array t :size #x3)) :category
2781 "drawing" :version "1.0")
2782 (defglfun "Normal3f" normal-3f :return "void" :args
2783 ((:name |nx| :type |CoordF| :direction :in)
2784 (:name |ny| :type |CoordF| :direction :in)
2785 (:name |nz| :type |CoordF| :direction :in))
2786 :category "drawing" :version "1.0")
2787 (defglfun "Normal3dv" normal-3dv :return "void" :args
2788 ((:name |v| :type |CoordD| :direction :in :array t :size #x3)) :category
2789 "drawing" :version "1.0")
2790 (defglfun "Normal3d" normal-3d :return "void" :args
2791 ((:name |nx| :type |CoordD| :direction :in)
2792 (:name |ny| :type |CoordD| :direction :in)
2793 (:name |nz| :type |CoordD| :direction :in))
2794 :category "drawing" :version "1.0")
2795 (defglfun "Normal3bv" normal-3bv :return "void" :args
2796 ((:name |v| :type |Int8| :direction :in :array t :size #x3)) :category
2797 "drawing" :version "1.0")
2798 (defglfun "Normal3b" normal-3b :return "void" :args
2799 ((:name |nx| :type |Int8| :direction :in)
2800 (:name |ny| :type |Int8| :direction :in)
2801 (:name |nz| :type |Int8| :direction :in))
2802 :category "drawing" :version "1.0")
2803 (defglfun "Indexsv" index-sv :return "void" :args
2804 ((:name |c| :type |ColorIndexValueS| :direction :in :array t :size #x1))
2805 :category "drawing" :version "1.0")
2806 (defglfun "Indexs" index-s :return "void" :args
2807 ((:name |c| :type |ColorIndexValueS| :direction :in)) :category "drawing"
2808 :version "1.0")
2809 (defglfun "Indexiv" index-iv :return "void" :args
2810 ((:name |c| :type |ColorIndexValueI| :direction :in :array t :size #x1))
2811 :category "drawing" :version "1.0")
2812 (defglfun "Indexi" index-i :return "void" :args
2813 ((:name |c| :type |ColorIndexValueI| :direction :in)) :category "drawing"
2814 :version "1.0")
2815 (defglfun "Indexfv" index-fv :return "void" :args
2816 ((:name |c| :type |ColorIndexValueF| :direction :in :array t :size #x1))
2817 :category "drawing" :version "1.0")
2818 (defglfun "Indexf" index-f :return "void" :args
2819 ((:name |c| :type |ColorIndexValueF| :direction :in)) :category "drawing"
2820 :version "1.0")
2821 (defglfun "Indexdv" index-dv :return "void" :args
2822 ((:name |c| :type |ColorIndexValueD| :direction :in :array t :size #x1))
2823 :category "drawing" :version "1.0")
2824 (defglfun "Indexd" index-d :return "void" :args
2825 ((:name |c| :type |ColorIndexValueD| :direction :in)) :category "drawing"
2826 :version "1.0")
2827 (defglfun "End" end :return "void" :args nil :category "drawing" :version "1.0")
2828 (defglfun "EdgeFlagv" edge-flagv :return "void" :args
2829 ((:name |flag| :type |Boolean| :direction :in :array t :size #x1)) :category
2830 "drawing" :version "1.0")
2831 (defglfun "EdgeFlag" edge-flag :return "void" :args
2832 ((:name |flag| :type |Boolean| :direction :in)) :category "drawing" :version
2833 "1.0")
2834 (defglfun "Color4usv" color-4usv :return "void" :args
2835 ((:name |v| :type |ColorUS| :direction :in :array t :size #x4)) :category
2836 "drawing" :version "1.0")
2837 (defglfun "Color4us" color-4us :return "void" :args
2838 ((:name |red| :type |ColorUS| :direction :in)
2839 (:name |green| :type |ColorUS| :direction :in)
2840 (:name |blue| :type |ColorUS| :direction :in)
2841 (:name |alpha| :type |ColorUS| :direction :in))
2842 :category "drawing" :version "1.0")
2843 (defglfun "Color4uiv" color-4uiv :return "void" :args
2844 ((:name |v| :type |ColorUI| :direction :in :array t :size #x4)) :category
2845 "drawing" :version "1.0")
2846 (defglfun "Color4ui" color-4ui :return "void" :args
2847 ((:name |red| :type |ColorUI| :direction :in)
2848 (:name |green| :type |ColorUI| :direction :in)
2849 (:name |blue| :type |ColorUI| :direction :in)
2850 (:name |alpha| :type |ColorUI| :direction :in))
2851 :category "drawing" :version "1.0")
2852 (defglfun "Color4ubv" color-4ubv :return "void" :args
2853 ((:name |v| :type |ColorUB| :direction :in :array t :size #x4)) :category
2854 "drawing" :version "1.0")
2855 (defglfun "Color4ub" color-4ub :return "void" :args
2856 ((:name |red| :type |ColorUB| :direction :in)
2857 (:name |green| :type |ColorUB| :direction :in)
2858 (:name |blue| :type |ColorUB| :direction :in)
2859 (:name |alpha| :type |ColorUB| :direction :in))
2860 :category "drawing" :version "1.0")
2861 (defglfun "Color4sv" color-4sv :return "void" :args
2862 ((:name |v| :type |ColorS| :direction :in :array t :size #x4)) :category
2863 "drawing" :version "1.0")
2864 (defglfun "Color4s" color-4s :return "void" :args
2865 ((:name |red| :type |ColorS| :direction :in)
2866 (:name |green| :type |ColorS| :direction :in)
2867 (:name |blue| :type |ColorS| :direction :in)
2868 (:name |alpha| :type |ColorS| :direction :in))
2869 :category "drawing" :version "1.0")
2870 (defglfun "Color4iv" color-4iv :return "void" :args
2871 ((:name |v| :type |ColorI| :direction :in :array t :size #x4)) :category
2872 "drawing" :version "1.0")
2873 (defglfun "Color4i" color-4i :return "void" :args
2874 ((:name |red| :type |ColorI| :direction :in)
2875 (:name |green| :type |ColorI| :direction :in)
2876 (:name |blue| :type |ColorI| :direction :in)
2877 (:name |alpha| :type |ColorI| :direction :in))
2878 :category "drawing" :version "1.0")
2879 (defglfun "Color4fv" color-4fv :return "void" :args
2880 ((:name |v| :type |ColorF| :direction :in :array t :size #x4)) :category
2881 "drawing" :version "1.0")
2882 (defglfun "Color4f" color-4f :return "void" :args
2883 ((:name |red| :type |ColorF| :direction :in)
2884 (:name |green| :type |ColorF| :direction :in)
2885 (:name |blue| :type |ColorF| :direction :in)
2886 (:name |alpha| :type |ColorF| :direction :in))
2887 :category "drawing" :version "1.0")
2888 (defglfun "Color4dv" color-4dv :return "void" :args
2889 ((:name |v| :type |ColorD| :direction :in :array t :size #x4)) :category
2890 "drawing" :version "1.0")
2891 (defglfun "Color4d" color-4d :return "void" :args
2892 ((:name |red| :type |ColorD| :direction :in)
2893 (:name |green| :type |ColorD| :direction :in)
2894 (:name |blue| :type |ColorD| :direction :in)
2895 (:name |alpha| :type |ColorD| :direction :in))
2896 :category "drawing" :version "1.0")
2897 (defglfun "Color4bv" color-4bv :return "void" :args
2898 ((:name |v| :type |ColorB| :direction :in :array t :size #x4)) :category
2899 "drawing" :version "1.0")
2900 (defglfun "Color4b" color-4b :return "void" :args
2901 ((:name |red| :type |ColorB| :direction :in)
2902 (:name |green| :type |ColorB| :direction :in)
2903 (:name |blue| :type |ColorB| :direction :in)
2904 (:name |alpha| :type |ColorB| :direction :in))
2905 :category "drawing" :version "1.0")
2906 (defglfun "Color3usv" color-3usv :return "void" :args
2907 ((:name |v| :type |ColorUS| :direction :in :array t :size #x3)) :category
2908 "drawing" :version "1.0")
2909 (defglfun "Color3us" color-3us :return "void" :args
2910 ((:name |red| :type |ColorUS| :direction :in)
2911 (:name |green| :type |ColorUS| :direction :in)
2912 (:name |blue| :type |ColorUS| :direction :in))
2913 :category "drawing" :version "1.0")
2914 (defglfun "Color3uiv" color-3uiv :return "void" :args
2915 ((:name |v| :type |ColorUI| :direction :in :array t :size #x3)) :category
2916 "drawing" :version "1.0")
2917 (defglfun "Color3ui" color-3ui :return "void" :args
2918 ((:name |red| :type |ColorUI| :direction :in)
2919 (:name |green| :type |ColorUI| :direction :in)
2920 (:name |blue| :type |ColorUI| :direction :in))
2921 :category "drawing" :version "1.0")
2922 (defglfun "Color3ubv" color-3ubv :return "void" :args
2923 ((:name |v| :type |ColorUB| :direction :in :array t :size #x3)) :category
2924 "drawing" :version "1.0")
2925 (defglfun "Color3ub" color-3ub :return "void" :args
2926 ((:name |red| :type |ColorUB| :direction :in)
2927 (:name |green| :type |ColorUB| :direction :in)
2928 (:name |blue| :type |ColorUB| :direction :in))
2929 :category "drawing" :version "1.0")
2930 (defglfun "Color3sv" color-3sv :return "void" :args
2931 ((:name |v| :type |ColorS| :direction :in :array t :size #x3)) :category
2932 "drawing" :version "1.0")
2933 (defglfun "Color3s" color-3s :return "void" :args
2934 ((:name |red| :type |ColorS| :direction :in)
2935 (:name |green| :type |ColorS| :direction :in)
2936 (:name |blue| :type |ColorS| :direction :in))
2937 :category "drawing" :version "1.0")
2938 (defglfun "Color3iv" color-3iv :return "void" :args
2939 ((:name |v| :type |ColorI| :direction :in :array t :size #x3)) :category
2940 "drawing" :version "1.0")
2941 (defglfun "Color3i" color-3i :return "void" :args
2942 ((:name |red| :type |ColorI| :direction :in)
2943 (:name |green| :type |ColorI| :direction :in)
2944 (:name |blue| :type |ColorI| :direction :in))
2945 :category "drawing" :version "1.0")
2946 (defglfun "Color3fv" color-3fv :return "void" :args
2947 ((:name |v| :type |ColorF| :direction :in :array t :size #x3)) :category
2948 "drawing" :version "1.0")
2949 (defglfun "Color3f" color-3f :return "void" :args
2950 ((:name |red| :type |ColorF| :direction :in)
2951 (:name |green| :type |ColorF| :direction :in)
2952 (:name |blue| :type |ColorF| :direction :in))
2953 :category "drawing" :version "1.0")
2954 (defglfun "Color3dv" color-3dv :return "void" :args
2955 ((:name |v| :type |ColorD| :direction :in :array t :size #x3)) :category
2956 "drawing" :version "1.0")
2957 (defglfun "Color3d" color-3d :return "void" :args
2958 ((:name |red| :type |ColorD| :direction :in)
2959 (:name |green| :type |ColorD| :direction :in)
2960 (:name |blue| :type |ColorD| :direction :in))
2961 :category "drawing" :version "1.0")
2962 (defglfun "Color3bv" color-3bv :return "void" :args
2963 ((:name |v| :type |ColorB| :direction :in :array t :size #x3)) :category
2964 "drawing" :version "1.0")
2965 (defglfun "Color3b" color-3b :return "void" :args
2966 ((:name |red| :type |ColorB| :direction :in)
2967 (:name |green| :type |ColorB| :direction :in)
2968 (:name |blue| :type |ColorB| :direction :in))
2969 :category "drawing" :version "1.0")
2970 (defglfun "Bitmap" bitmap :return "void" :args
2971 ((:name |width| :type |SizeI| :direction :in)
2972 (:name |height| :type |SizeI| :direction :in)
2973 (:name |xorig| :type |CoordF| :direction :in)
2974 (:name |yorig| :type |CoordF| :direction :in)
2975 (:name |xmove| :type |CoordF| :direction :in)
2976 (:name |ymove| :type |CoordF| :direction :in)
2977 (:name |bitmap| :type |UInt8| :direction :in :array t :size
2978 (|width| |height|)))
2979 :category "drawing" :version "1.0")
2980 (defglfun "Begin" begin :return "void" :args
2981 ((:name |mode| :type |BeginMode| :direction :in)) :category "drawing" :version
2982 "1.0")
2984 ;;;; }}}
2986 ;;;; {{{ drawing-control
2988 (defglfun "TexGeniv" tex-gen-iv :return "void" :args
2989 ((:name |coord| :type |TextureCoordName| :direction :in)
2990 (:name |pname| :type |TextureGenParameter| :direction :in)
2991 (:name |params| :type |CheckedInt32| :direction :in :array t :size
2992 (|pname|)))
2993 :category "drawing-control" :version "1.0")
2994 (defglfun "TexGeni" tex-gen-i :return "void" :args
2995 ((:name |coord| :type |TextureCoordName| :direction :in)
2996 (:name |pname| :type |TextureGenParameter| :direction :in)
2997 (:name |param| :type |CheckedInt32| :direction :in))
2998 :category "drawing-control" :version "1.0")
2999 (defglfun "TexGenfv" tex-gen-fv :return "void" :args
3000 ((:name |coord| :type |TextureCoordName| :direction :in)
3001 (:name |pname| :type |TextureGenParameter| :direction :in)
3002 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3003 (|pname|)))
3004 :category "drawing-control" :version "1.0")
3005 (defglfun "TexGenf" tex-gen-f :return "void" :args
3006 ((:name |coord| :type |TextureCoordName| :direction :in)
3007 (:name |pname| :type |TextureGenParameter| :direction :in)
3008 (:name |param| :type |CheckedFloat32| :direction :in))
3009 :category "drawing-control" :version "1.0")
3010 (defglfun "TexGendv" tex-gen-dv :return "void" :args
3011 ((:name |coord| :type |TextureCoordName| :direction :in)
3012 (:name |pname| :type |TextureGenParameter| :direction :in)
3013 (:name |params| :type |Float64| :direction :in :array t :size (|pname|)))
3014 :category "drawing-control" :version "1.0")
3015 (defglfun "TexGend" tex-gen-d :return "void" :args
3016 ((:name |coord| :type |TextureCoordName| :direction :in)
3017 (:name |pname| :type |TextureGenParameter| :direction :in)
3018 (:name |param| :type |Float64| :direction :in))
3019 :category "drawing-control" :version "1.0")
3020 (defglfun "TexEnviv" tex-env-iv :return "void" :args
3021 ((:name |target| :type |TextureEnvTarget| :direction :in)
3022 (:name |pname| :type |TextureEnvParameter| :direction :in)
3023 (:name |params| :type |CheckedInt32| :direction :in :array t :size
3024 (|pname|)))
3025 :category "drawing-control" :version "1.0")
3026 (defglfun "TexEnvi" tex-env-i :return "void" :args
3027 ((:name |target| :type |TextureEnvTarget| :direction :in)
3028 (:name |pname| :type |TextureEnvParameter| :direction :in)
3029 (:name |param| :type |CheckedInt32| :direction :in))
3030 :category "drawing-control" :version "1.0")
3031 (defglfun "TexEnvfv" tex-env-fv :return "void" :args
3032 ((:name |target| :type |TextureEnvTarget| :direction :in)
3033 (:name |pname| :type |TextureEnvParameter| :direction :in)
3034 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3035 (|pname|)))
3036 :category "drawing-control" :version "1.0")
3037 (defglfun "TexEnvf" tex-env-f :return "void" :args
3038 ((:name |target| :type |TextureEnvTarget| :direction :in)
3039 (:name |pname| :type |TextureEnvParameter| :direction :in)
3040 (:name |param| :type |CheckedFloat32| :direction :in))
3041 :category "drawing-control" :version "1.0")
3042 (defglfun "TexImage2D" tex-image-2d :return "void" :args
3043 ((:name |target| :type |TextureTarget| :direction :in)
3044 (:name |level| :type |CheckedInt32| :direction :in)
3045 (:name |internalformat| :type |TextureComponentCount| :direction :in)
3046 (:name |width| :type |SizeI| :direction :in)
3047 (:name |height| :type |SizeI| :direction :in)
3048 (:name |border| :type |CheckedInt32| :direction :in)
3049 (:name |format| :type |PixelFormat| :direction :in)
3050 (:name |type| :type |PixelType| :direction :in)
3051 (:name |pixels| :type |Void| :direction :in :array t :size
3052 (|format| |type| |width| |height|)))
3053 :category "drawing-control" :version "1.0")
3054 (defglfun "TexImage1D" tex-image-1d :return "void" :args
3055 ((:name |target| :type |TextureTarget| :direction :in)
3056 (:name |level| :type |CheckedInt32| :direction :in)
3057 (:name |internalformat| :type |TextureComponentCount| :direction :in)
3058 (:name |width| :type |SizeI| :direction :in)
3059 (:name |border| :type |CheckedInt32| :direction :in)
3060 (:name |format| :type |PixelFormat| :direction :in)
3061 (:name |type| :type |PixelType| :direction :in)
3062 (:name |pixels| :type |Void| :direction :in :array t :size
3063 (|format| |type| |width|)))
3064 :category "drawing-control" :version "1.0")
3065 (defglfun "TexParameteriv" tex-parameter-iv :return "void" :args
3066 ((:name |target| :type |TextureTarget| :direction :in)
3067 (:name |pname| :type |TextureParameterName| :direction :in)
3068 (:name |params| :type |CheckedInt32| :direction :in :array t :size
3069 (|pname|)))
3070 :category "drawing-control" :version "1.0")
3071 (defglfun "TexParameteri" tex-parameter-i :return "void" :args
3072 ((:name |target| :type |TextureTarget| :direction :in)
3073 (:name |pname| :type |TextureParameterName| :direction :in)
3074 (:name |param| :type |CheckedInt32| :direction :in))
3075 :category "drawing-control" :version "1.0")
3076 (defglfun "TexParameterfv" tex-parameter-fv :return "void" :args
3077 ((:name |target| :type |TextureTarget| :direction :in)
3078 (:name |pname| :type |TextureParameterName| :direction :in)
3079 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3080 (|pname|)))
3081 :category "drawing-control" :version "1.0")
3082 (defglfun "TexParameterf" tex-parameter-f :return "void" :args
3083 ((:name |target| :type |TextureTarget| :direction :in)
3084 (:name |pname| :type |TextureParameterName| :direction :in)
3085 (:name |param| :type |CheckedFloat32| :direction :in))
3086 :category "drawing-control" :version "1.0")
3087 (defglfun "ShadeModel" shade-model :return "void" :args
3088 ((:name |mode| :type |ShadingModel| :direction :in)) :category
3089 "drawing-control" :version "1.0")
3090 (defglfun "Scissor" scissor :return "void" :args
3091 ((:name |x| :type |WinCoord| :direction :in)
3092 (:name |y| :type |WinCoord| :direction :in)
3093 (:name |width| :type |SizeI| :direction :in)
3094 (:name |height| :type |SizeI| :direction :in))
3095 :category "drawing-control" :version "1.0")
3096 (defglfun "PolygonStipple" polygon-stipple :return "void" :args
3097 ((:name |mask| :type |UInt8| :direction :in :array t)) :category
3098 "drawing-control" :version "1.0")
3099 (defglfun "PolygonMode" polygon-mode :return "void" :args
3100 ((:name |face| :type |MaterialFace| :direction :in)
3101 (:name |mode| :type |PolygonMode| :direction :in))
3102 :category "drawing-control" :version "1.0")
3103 (defglfun "PointSize" point-size :return "void" :args
3104 ((:name |size| :type |CheckedFloat32| :direction :in)) :category
3105 "drawing-control" :version "1.0")
3106 (defglfun "Materialiv" material-iv :return "void" :args
3107 ((:name |face| :type |MaterialFace| :direction :in)
3108 (:name |pname| :type |MaterialParameter| :direction :in)
3109 (:name |params| :type |CheckedInt32| :direction :in :array t :size
3110 (|pname|)))
3111 :category "drawing-control" :version "1.0")
3112 (defglfun "Materiali" material-i :return "void" :args
3113 ((:name |face| :type |MaterialFace| :direction :in)
3114 (:name |pname| :type |MaterialParameter| :direction :in)
3115 (:name |param| :type |CheckedInt32| :direction :in))
3116 :category "drawing-control" :version "1.0")
3117 (defglfun "Materialfv" material-fv :return "void" :args
3118 ((:name |face| :type |MaterialFace| :direction :in)
3119 (:name |pname| :type |MaterialParameter| :direction :in)
3120 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3121 (|pname|)))
3122 :category "drawing-control" :version "1.0")
3123 (defglfun "Materialf" material-f :return "void" :args
3124 ((:name |face| :type |MaterialFace| :direction :in)
3125 (:name |pname| :type |MaterialParameter| :direction :in)
3126 (:name |param| :type |CheckedFloat32| :direction :in))
3127 :category "drawing-control" :version "1.0")
3128 (defglfun "LineWidth" line-width :return "void" :args
3129 ((:name |width| :type |CheckedFloat32| :direction :in)) :category
3130 "drawing-control" :version "1.0")
3131 (defglfun "LineStipple" line-stipple :return "void" :args
3132 ((:name |factor| :type |CheckedInt32| :direction :in)
3133 (:name |pattern| :type |LineStipple| :direction :in))
3134 :category "drawing-control" :version "1.0")
3135 (defglfun "LightModeliv" light-model-iv :return "void" :args
3136 ((:name |pname| :type |LightModelParameter| :direction :in)
3137 (:name |params| :type |Int32| :direction :in :array t :size (|pname|)))
3138 :category "drawing-control" :version "1.0")
3139 (defglfun "LightModeli" light-model-i :return "void" :args
3140 ((:name |pname| :type |LightModelParameter| :direction :in)
3141 (:name |param| :type |Int32| :direction :in))
3142 :category "drawing-control" :version "1.0")
3143 (defglfun "LightModelfv" light-model-fv :return "void" :args
3144 ((:name |pname| :type |LightModelParameter| :direction :in)
3145 (:name |params| :type |Float32| :direction :in :array t :size (|pname|)))
3146 :category "drawing-control" :version "1.0")
3147 (defglfun "LightModelf" light-model-f :return "void" :args
3148 ((:name |pname| :type |LightModelParameter| :direction :in)
3149 (:name |param| :type |Float32| :direction :in))
3150 :category "drawing-control" :version "1.0")
3151 (defglfun "Lightiv" light-iv :return "void" :args
3152 ((:name |light| :type |LightName| :direction :in)
3153 (:name |pname| :type |LightParameter| :direction :in)
3154 (:name |params| :type |CheckedInt32| :direction :in :array t :size
3155 (|pname|)))
3156 :category "drawing-control" :version "1.0")
3157 (defglfun "Lighti" light-i :return "void" :args
3158 ((:name |light| :type |LightName| :direction :in)
3159 (:name |pname| :type |LightParameter| :direction :in)
3160 (:name |param| :type |CheckedInt32| :direction :in))
3161 :category "drawing-control" :version "1.0")
3162 (defglfun "Lightfv" light-fv :return "void" :args
3163 ((:name |light| :type |LightName| :direction :in)
3164 (:name |pname| :type |LightParameter| :direction :in)
3165 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3166 (|pname|)))
3167 :category "drawing-control" :version "1.0")
3168 (defglfun "Lightf" light-f :return "void" :args
3169 ((:name |light| :type |LightName| :direction :in)
3170 (:name |pname| :type |LightParameter| :direction :in)
3171 (:name |param| :type |CheckedFloat32| :direction :in))
3172 :category "drawing-control" :version "1.0")
3173 (defglfun "Hint" hint :return "void" :args
3174 ((:name |target| :type |HintTarget| :direction :in)
3175 (:name |mode| :type |HintMode| :direction :in))
3176 :category "drawing-control" :version "1.0")
3177 (defglfun "FrontFace" front-face :return "void" :args
3178 ((:name |mode| :type |FrontFaceDirection| :direction :in)) :category
3179 "drawing-control" :version "1.0")
3180 (defglfun "Fogiv" fog-iv :return "void" :args
3181 ((:name |pname| :type |FogParameter| :direction :in)
3182 (:name |params| :type |CheckedInt32| :direction :in :array t :size
3183 (|pname|)))
3184 :category "drawing-control" :version "1.0")
3185 (defglfun "Fogi" fog-i :return "void" :args
3186 ((:name |pname| :type |FogParameter| :direction :in)
3187 (:name |param| :type |CheckedInt32| :direction :in))
3188 :category "drawing-control" :version "1.0")
3189 (defglfun "Fogfv" fog-fv :return "void" :args
3190 ((:name |pname| :type |FogParameter| :direction :in)
3191 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
3192 (|pname|)))
3193 :category "drawing-control" :version "1.0")
3194 (defglfun "Fogf" fog-f :return "void" :args
3195 ((:name |pname| :type |FogParameter| :direction :in)
3196 (:name |param| :type |CheckedFloat32| :direction :in))
3197 :category "drawing-control" :version "1.0")
3198 (defglfun "CullFace" cull-face :return "void" :args
3199 ((:name |mode| :type |CullFaceMode| :direction :in)) :category
3200 "drawing-control" :version "1.0")
3201 (defglfun "ColorMaterial" color-material :return "void" :args
3202 ((:name |face| :type |MaterialFace| :direction :in)
3203 (:name |mode| :type |ColorMaterialParameter| :direction :in))
3204 :category "drawing-control" :version "1.0")
3205 (defglfun "ClipPlane" clip-plane :return "void" :args
3206 ((:name |plane| :type |ClipPlaneName| :direction :in)
3207 (:name |equation| :type |Float64| :direction :in :array t :size #x4))
3208 :category "drawing-control" :version "1.0")
3210 ;;;; }}}
3212 ;;;; {{{ feedback
3214 (defglfun "PushName" push-name :return "void" :args
3215 ((:name |name| :type |SelectName| :direction :in)) :category "feedback"
3216 :version "1.0")
3217 (defglfun "PopName" pop-name :return "void" :args nil :category "feedback"
3218 :version "1.0")
3219 (defglfun "PassThrough" pass-through :return "void" :args
3220 ((:name |token| :type |FeedbackElement| :direction :in)) :category "feedback"
3221 :version "1.0")
3222 (defglfun "LoadName" load-name :return "void" :args
3223 ((:name |name| :type |SelectName| :direction :in)) :category "feedback"
3224 :version "1.0")
3225 (defglfun "InitNames" init-names :return "void" :args nil :category "feedback"
3226 :version "1.0")
3227 (defglfun "RenderMode" render-mode :return "Int32" :args
3228 ((:name |mode| :type |RenderingMode| :direction :in)) :category "feedback"
3229 :version "1.0")
3230 (defglfun "SelectBuffer" select-buffer :return "void" :args
3231 ((:name |size| :type |SizeI| :direction :in)
3232 (:name |buffer| :type |SelectName| :direction :out :array t :size size
3233 :retained t))
3234 :category "feedback" :version "1.0")
3235 (defglfun "FeedbackBuffer" feedback-buffer :return "void" :args
3236 ((:name |size| :type |SizeI| :direction :in)
3237 (:name |type| :type |FeedbackType| :direction :in)
3238 (:name |buffer| :type |FeedbackElement| :direction :out :array t :size size
3239 :retained t))
3240 :category "feedback" :version "1.0")
3242 ;;;; }}}
3244 ;;;; {{{ framebuf
3246 (defglfun "IndexMask" index-mask :return "void" :args
3247 ((:name |mask| :type |MaskedColorIndexValueI| :direction :in)) :category
3248 "framebuf" :version "1.0")
3249 (defglfun "DepthMask" depth-mask :return "void" :args
3250 ((:name |flag| :type |Boolean| :direction :in)) :category "framebuf" :version
3251 "1.0")
3252 (defglfun "ColorMask" color-mask :return "void" :args
3253 ((:name |red| :type |Boolean| :direction :in)
3254 (:name |green| :type |Boolean| :direction :in)
3255 (:name |blue| :type |Boolean| :direction :in)
3256 (:name |alpha| :type |Boolean| :direction :in))
3257 :category "framebuf" :version "1.0")
3258 (defglfun "StencilMask" stencil-mask :return "void" :args
3259 ((:name |mask| :type |MaskedStencilValue| :direction :in)) :category
3260 "framebuf" :version "1.0")
3261 (defglfun "ClearDepth" clear-depth :return "void" :args
3262 ((:name |depth| :type |ClampedFloat64| :direction :in)) :category "framebuf"
3263 :version "1.0")
3264 (defglfun "ClearStencil" clear-stencil :return "void" :args
3265 ((:name |s| :type |StencilValue| :direction :in)) :category "framebuf"
3266 :version "1.0")
3267 (defglfun "ClearColor" clear-color :return "void" :args
3268 ((:name |red| :type |ClampedColorF| :direction :in)
3269 (:name |green| :type |ClampedColorF| :direction :in)
3270 (:name |blue| :type |ClampedColorF| :direction :in)
3271 (:name |alpha| :type |ClampedColorF| :direction :in))
3272 :category "framebuf" :version "1.0")
3273 (defglfun "ClearIndex" clear-index :return "void" :args
3274 ((:name |c| :type |MaskedColorIndexValueF| :direction :in)) :category
3275 "framebuf" :version "1.0")
3276 (defglfun "ClearAccum" clear-accum :return "void" :args
3277 ((:name |red| :type |Float32| :direction :in)
3278 (:name |green| :type |Float32| :direction :in)
3279 (:name |blue| :type |Float32| :direction :in)
3280 (:name |alpha| :type |Float32| :direction :in))
3281 :category "framebuf" :version "1.0")
3282 (defglfun "Clear" clear :return "void" :args
3283 ((:name |mask| :type |ClearBufferMask| :direction :in)) :category "framebuf"
3284 :version "1.0")
3285 (defglfun "DrawBuffer" draw-buffer :return "void" :args
3286 ((:name |mode| :type |DrawBufferMode| :direction :in)) :category "framebuf"
3287 :version "1.0")
3289 ;;;; }}}
3291 ;;;; {{{ misc
3293 (defglfun "PushAttrib" push-attrib :return "void" :args
3294 ((:name |mask| :type |AttribMask| :direction :in)) :category "misc" :version
3295 "1.0")
3296 (defglfun "PopAttrib" pop-attrib :return "void" :args nil :category "misc"
3297 :version "1.0")
3298 (defglfun "Flush" flush :return "void" :args nil :category "misc" :version
3299 "1.0")
3300 (defglfun "Finish" finish :return "void" :args nil :category "misc" :version
3301 "1.0")
3302 (defglfun "Enable" enable :return "void" :args
3303 ((:name |cap| :type |EnableCap| :direction :in)) :category "misc" :version
3304 "1.0")
3305 (defglfun "Disable" disable :return "void" :args
3306 ((:name |cap| :type |EnableCap| :direction :in)) :category "misc" :version
3307 "1.0")
3308 (defglfun "Accum" accum :return "void" :args
3309 ((:name |op| :type |AccumOp| :direction :in)
3310 (:name |value| :type |CoordF| :direction :in))
3311 :category "misc" :version "1.0")
3313 ;;;; }}}
3315 ;;;; {{{ modeling
3317 (defglfun "EvalPoint2" eval-point-2 :return "void" :args
3318 ((:name |i| :type |CheckedInt32| :direction :in)
3319 (:name |j| :type |CheckedInt32| :direction :in))
3320 :category "modeling" :version "1.0")
3321 (defglfun "EvalMesh2" eval-mesh-2 :return "void" :args
3322 ((:name |mode| :type |MeshMode2| :direction :in)
3323 (:name |i1| :type |CheckedInt32| :direction :in)
3324 (:name |i2| :type |CheckedInt32| :direction :in)
3325 (:name |j1| :type |CheckedInt32| :direction :in)
3326 (:name |j2| :type |CheckedInt32| :direction :in))
3327 :category "modeling" :version "1.0")
3328 (defglfun "EvalPoint1" eval-point-1 :return "void" :args
3329 ((:name |i| :type |Int32| :direction :in)) :category "modeling" :version "1.0")
3330 (defglfun "EvalMesh1" eval-mesh-1 :return "void" :args
3331 ((:name |mode| :type |MeshMode1| :direction :in)
3332 (:name |i1| :type |CheckedInt32| :direction :in)
3333 (:name |i2| :type |CheckedInt32| :direction :in))
3334 :category "modeling" :version "1.0")
3335 (defglfun "EvalCoord2fv" eval-coord-2fv :return "void" :args
3336 ((:name |u| :type |CoordF| :direction :in :array t :size #x2)) :category
3337 "modeling" :version "1.0")
3338 (defglfun "EvalCoord2f" eval-coord-2f :return "void" :args
3339 ((:name |u| :type |CoordF| :direction :in)
3340 (:name |v| :type |CoordF| :direction :in))
3341 :category "modeling" :version "1.0")
3342 (defglfun "EvalCoord2dv" eval-coord-2dv :return "void" :args
3343 ((:name |u| :type |CoordD| :direction :in :array t :size #x2)) :category
3344 "modeling" :version "1.0")
3345 (defglfun "EvalCoord2d" eval-coord-2d :return "void" :args
3346 ((:name |u| :type |CoordD| :direction :in)
3347 (:name |v| :type |CoordD| :direction :in))
3348 :category "modeling" :version "1.0")
3349 (defglfun "EvalCoord1fv" eval-coord-1fv :return "void" :args
3350 ((:name |u| :type |CoordF| :direction :in :array t :size #x1)) :category
3351 "modeling" :version "1.0")
3352 (defglfun "EvalCoord1f" eval-coord-1f :return "void" :args
3353 ((:name |u| :type |CoordF| :direction :in)) :category "modeling" :version
3354 "1.0")
3355 (defglfun "EvalCoord1dv" eval-coord-1dv :return "void" :args
3356 ((:name |u| :type |CoordD| :direction :in :array t :size #x1)) :category
3357 "modeling" :version "1.0")
3358 (defglfun "EvalCoord1d" eval-coord-1d :return "void" :args
3359 ((:name |u| :type |CoordD| :direction :in)) :category "modeling" :version
3360 "1.0")
3361 (defglfun "MapGrid2f" map-grid-2f :return "void" :args
3362 ((:name |un| :type |Int32| :direction :in)
3363 (:name |u1| :type |CoordF| :direction :in)
3364 (:name |u2| :type |CoordF| :direction :in)
3365 (:name |vn| :type |Int32| :direction :in)
3366 (:name |v1| :type |CoordF| :direction :in)
3367 (:name |v2| :type |CoordF| :direction :in))
3368 :category "modeling" :version "1.0")
3369 (defglfun "MapGrid2d" map-grid-2d :return "void" :args
3370 ((:name |un| :type |Int32| :direction :in)
3371 (:name |u1| :type |CoordD| :direction :in)
3372 (:name |u2| :type |CoordD| :direction :in)
3373 (:name |vn| :type |Int32| :direction :in)
3374 (:name |v1| :type |CoordD| :direction :in)
3375 (:name |v2| :type |CoordD| :direction :in))
3376 :category "modeling" :version "1.0")
3377 (defglfun "MapGrid1f" map-grid-1f :return "void" :args
3378 ((:name |un| :type |Int32| :direction :in)
3379 (:name |u1| :type |CoordF| :direction :in)
3380 (:name |u2| :type |CoordF| :direction :in))
3381 :category "modeling" :version "1.0")
3382 (defglfun "MapGrid1d" map-grid-1d :return "void" :args
3383 ((:name |un| :type |Int32| :direction :in)
3384 (:name |u1| :type |CoordD| :direction :in)
3385 (:name |u2| :type |CoordD| :direction :in))
3386 :category "modeling" :version "1.0")
3387 (defglfun "Map2f" map-2f :return "void" :args
3388 ((:name |target| :type |MapTarget| :direction :in)
3389 (:name |u1| :type |CoordF| :direction :in)
3390 (:name |u2| :type |CoordF| :direction :in)
3391 (:name |ustride| :type |Int32| :direction :in)
3392 (:name |uorder| :type |CheckedInt32| :direction :in)
3393 (:name |v1| :type |CoordF| :direction :in)
3394 (:name |v2| :type |CoordF| :direction :in)
3395 (:name |vstride| :type |Int32| :direction :in)
3396 (:name |vorder| :type |CheckedInt32| :direction :in)
3397 (:name |points| :type |CoordF| :direction :in :array t :size
3398 (|target| |ustride| |uorder| |vstride| |vorder|)))
3399 :category "modeling" :version "1.0")
3400 (defglfun "Map2d" map-2d :return "void" :args
3401 ((:name |target| :type |MapTarget| :direction :in)
3402 (:name |u1| :type |CoordD| :direction :in)
3403 (:name |u2| :type |CoordD| :direction :in)
3404 (:name |ustride| :type |Int32| :direction :in)
3405 (:name |uorder| :type |CheckedInt32| :direction :in)
3406 (:name |v1| :type |CoordD| :direction :in)
3407 (:name |v2| :type |CoordD| :direction :in)
3408 (:name |vstride| :type |Int32| :direction :in)
3409 (:name |vorder| :type |CheckedInt32| :direction :in)
3410 (:name |points| :type |CoordD| :direction :in :array t :size
3411 (|target| |ustride| |uorder| |vstride| |vorder|)))
3412 :category "modeling" :version "1.0")
3413 (defglfun "Map1f" map-1f :return "void" :args
3414 ((:name |target| :type |MapTarget| :direction :in)
3415 (:name |u1| :type |CoordF| :direction :in)
3416 (:name |u2| :type |CoordF| :direction :in)
3417 (:name |stride| :type |Int32| :direction :in)
3418 (:name |order| :type |CheckedInt32| :direction :in)
3419 (:name |points| :type |CoordF| :direction :in :array t :size
3420 (|target| |stride| |order|)))
3421 :category "modeling" :version "1.0")
3422 (defglfun "Map1d" map-1d :return "void" :args
3423 ((:name |target| :type |MapTarget| :direction :in)
3424 (:name |u1| :type |CoordD| :direction :in)
3425 (:name |u2| :type |CoordD| :direction :in)
3426 (:name |stride| :type |Int32| :direction :in)
3427 (:name |order| :type |CheckedInt32| :direction :in)
3428 (:name |points| :type |CoordD| :direction :in :array t :size
3429 (|target| |stride| |order|)))
3430 :category "modeling" :version "1.0")
3432 ;;;; }}}
3434 ;;;; {{{ pixel-op
3436 (defglfun "DepthFunc" depth-func :return "void" :args
3437 ((:name |func| :type |DepthFunction| :direction :in)) :category "pixel-op"
3438 :version "1.0")
3439 (defglfun "StencilOp" stencil-op :return "void" :args
3440 ((:name |fail| :type |StencilOp| :direction :in)
3441 (:name |zfail| :type |StencilOp| :direction :in)
3442 (:name |zpass| :type |StencilOp| :direction :in))
3443 :category "pixel-op" :version "1.0")
3444 (defglfun "StencilFunc" stencil-func :return "void" :args
3445 ((:name |func| :type |StencilFunction| :direction :in)
3446 (:name |ref| :type |ClampedStencilValue| :direction :in)
3447 (:name |mask| :type |MaskedStencilValue| :direction :in))
3448 :category "pixel-op" :version "1.0")
3449 (defglfun "LogicOp" logic-op :return "void" :args
3450 ((:name |opcode| :type |LogicOp| :direction :in)) :category "pixel-op"
3451 :version "1.0")
3452 (defglfun "BlendFunc" blend-func :return "void" :args
3453 ((:name |sfactor| :type |BlendingFactorSrc| :direction :in)
3454 (:name |dfactor| :type |BlendingFactorDest| :direction :in))
3455 :category "pixel-op" :version "1.0")
3456 (defglfun "AlphaFunc" alpha-func :return "void" :args
3457 ((:name |func| :type |AlphaFunction| :direction :in)
3458 (:name |ref| :type |ClampedFloat32| :direction :in))
3459 :category "pixel-op" :version "1.0")
3461 ;;;; }}}
3463 ;;;; {{{ pixel-rw
3465 (defglfun "DrawPixels" draw-pixels :return "void" :args
3466 ((:name |width| :type |SizeI| :direction :in)
3467 (:name |height| :type |SizeI| :direction :in)
3468 (:name |format| :type |PixelFormat| :direction :in)
3469 (:name |type| :type |PixelType| :direction :in)
3470 (:name |pixels| :type |Void| :direction :in :array t :size
3471 (|format| |type| |width| |height|)))
3472 :category "pixel-rw" :version "1.0")
3473 (defglfun "ReadPixels" read-pixels :return "void" :args
3474 ((:name |x| :type |WinCoord| :direction :in)
3475 (:name |y| :type |WinCoord| :direction :in)
3476 (:name |width| :type |SizeI| :direction :in)
3477 (:name |height| :type |SizeI| :direction :in)
3478 (:name |format| :type |PixelFormat| :direction :in)
3479 (:name |type| :type |PixelType| :direction :in)
3480 (:name |pixels| :type |Void| :direction :out :array t :size
3481 (|format| |type| |width| |height|)))
3482 :category "pixel-rw" :version "1.0")
3483 (defglfun "CopyPixels" copy-pixels :return "void" :args
3484 ((:name |x| :type |WinCoord| :direction :in)
3485 (:name |y| :type |WinCoord| :direction :in)
3486 (:name |width| :type |SizeI| :direction :in)
3487 (:name |height| :type |SizeI| :direction :in)
3488 (:name |type| :type |PixelCopyType| :direction :in))
3489 :category "pixel-rw" :version "1.0")
3490 (defglfun "ReadBuffer" read-buffer :return "void" :args
3491 ((:name |mode| :type |ReadBufferMode| :direction :in)) :category "pixel-rw"
3492 :version "1.0")
3493 (defglfun "PixelMapusv" pixel-map-usv :return "void" :args
3494 ((:name |map| :type |PixelMap| :direction :in)
3495 (:name |mapsize| :type |CheckedInt32| :direction :in)
3496 (:name |values| :type |UInt16| :direction :in :array t :size mapsize))
3497 :category "pixel-rw" :version "1.0")
3498 (defglfun "PixelMapuiv" pixel-map-uiv :return "void" :args
3499 ((:name |map| :type |PixelMap| :direction :in)
3500 (:name |mapsize| :type |CheckedInt32| :direction :in)
3501 (:name |values| :type |UInt32| :direction :in :array t :size mapsize))
3502 :category "pixel-rw" :version "1.0")
3503 (defglfun "PixelMapfv" pixel-map-fv :return "void" :args
3504 ((:name |map| :type |PixelMap| :direction :in)
3505 (:name |mapsize| :type |CheckedInt32| :direction :in)
3506 (:name |values| :type |Float32| :direction :in :array t :size mapsize))
3507 :category "pixel-rw" :version "1.0")
3508 (defglfun "PixelStorei" pixel-store-i :return "void" :args
3509 ((:name |pname| :type |PixelStoreParameter| :direction :in)
3510 (:name |param| :type |CheckedInt32| :direction :in))
3511 :category "pixel-rw" :version "1.0")
3512 (defglfun "PixelStoref" pixel-store-f :return "void" :args
3513 ((:name |pname| :type |PixelStoreParameter| :direction :in)
3514 (:name |param| :type |CheckedFloat32| :direction :in))
3515 :category "pixel-rw" :version "1.0")
3516 (defglfun "PixelTransferi" pixel-transfer-i :return "void" :args
3517 ((:name |pname| :type |PixelTransferParameter| :direction :in)
3518 (:name |param| :type |CheckedInt32| :direction :in))
3519 :category "pixel-rw" :version "1.0")
3520 (defglfun "PixelTransferf" pixel-transfer-f :return "void" :args
3521 ((:name |pname| :type |PixelTransferParameter| :direction :in)
3522 (:name |param| :type |CheckedFloat32| :direction :in))
3523 :category "pixel-rw" :version "1.0")
3524 (defglfun "PixelZoom" pixel-zoom :return "void" :args
3525 ((:name |xfactor| :type |Float32| :direction :in)
3526 (:name |yfactor| :type |Float32| :direction :in))
3527 :category "pixel-rw" :version "1.0")
3529 ;;;; }}}
3531 ;;;; {{{ state-req
3533 (defglfun "IsList" is-list :return "Boolean" :args
3534 ((:name |list| :type |List| :direction :in)) :category "state-req" :version
3535 "1.0")
3536 (defglfun "IsEnabled" is-enabled :return "Boolean" :args
3537 ((:name |cap| :type |EnableCap| :direction :in)) :category "state-req"
3538 :version "1.0")
3539 (defglfun "GetTexLevelParameteriv" get-tex-level-parameter-iv :return "void"
3540 :args
3541 ((:name |target| :type |TextureTarget| :direction :in)
3542 (:name |level| :type |CheckedInt32| :direction :in)
3543 (:name |pname| :type |GetTextureParameter| :direction :in)
3544 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3545 :category "state-req" :version "1.0")
3546 (defglfun "GetTexLevelParameterfv" get-tex-level-parameter-fv :return "void"
3547 :args
3548 ((:name |target| :type |TextureTarget| :direction :in)
3549 (:name |level| :type |CheckedInt32| :direction :in)
3550 (:name |pname| :type |GetTextureParameter| :direction :in)
3551 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3552 :category "state-req" :version "1.0")
3553 (defglfun "GetTexParameteriv" get-tex-parameter-iv :return "void" :args
3554 ((:name |target| :type |TextureTarget| :direction :in)
3555 (:name |pname| :type |GetTextureParameter| :direction :in)
3556 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3557 :category "state-req" :version "1.0")
3558 (defglfun "GetTexParameterfv" get-tex-parameter-fv :return "void" :args
3559 ((:name |target| :type |TextureTarget| :direction :in)
3560 (:name |pname| :type |GetTextureParameter| :direction :in)
3561 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3562 :category "state-req" :version "1.0")
3563 (defglfun "GetTexImage" get-tex-image :return "void" :args
3564 ((:name |target| :type |TextureTarget| :direction :in)
3565 (:name |level| :type |CheckedInt32| :direction :in)
3566 (:name |format| :type |PixelFormat| :direction :in)
3567 (:name |type| :type |PixelType| :direction :in)
3568 (:name |pixels| :type |Void| :direction :out :array t :size
3569 (|target| |level| |format| |type|)))
3570 :category "state-req" :version "1.0")
3571 (defglfun "GetTexGeniv" get-tex-gen-iv :return "void" :args
3572 ((:name |coord| :type |TextureCoordName| :direction :in)
3573 (:name |pname| :type |TextureGenParameter| :direction :in)
3574 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3575 :category "state-req" :version "1.0")
3576 (defglfun "GetTexGenfv" get-tex-gen-fv :return "void" :args
3577 ((:name |coord| :type |TextureCoordName| :direction :in)
3578 (:name |pname| :type |TextureGenParameter| :direction :in)
3579 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3580 :category "state-req" :version "1.0")
3581 (defglfun "GetTexGendv" get-tex-gen-dv :return "void" :args
3582 ((:name |coord| :type |TextureCoordName| :direction :in)
3583 (:name |pname| :type |TextureGenParameter| :direction :in)
3584 (:name |params| :type |Float64| :direction :out :array t :size (|pname|)))
3585 :category "state-req" :version "1.0")
3586 (defglfun "GetTexEnviv" get-tex-env-iv :return "void" :args
3587 ((:name |target| :type |TextureEnvTarget| :direction :in)
3588 (:name |pname| :type |TextureEnvParameter| :direction :in)
3589 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3590 :category "state-req" :version "1.0")
3591 (defglfun "GetTexEnvfv" get-tex-env-fv :return "void" :args
3592 ((:name |target| :type |TextureEnvTarget| :direction :in)
3593 (:name |pname| :type |TextureEnvParameter| :direction :in)
3594 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3595 :category "state-req" :version "1.0")
3596 (defglfun "GetString" get-string :return "String" :args
3597 ((:name |name| :type |StringName| :direction :in)) :category "state-req"
3598 :version "1.0")
3599 (defglfun "GetPolygonStipple" get-polygon-stipple :return "void" :args
3600 ((:name |mask| :type |UInt8| :direction :out :array t)) :category "state-req"
3601 :version "1.0")
3602 (defglfun "GetPixelMapusv" get-pixel-map-usv :return "void" :args
3603 ((:name |map| :type |PixelMap| :direction :in)
3604 (:name |values| :type |UInt16| :direction :out :array t :size (|map|)))
3605 :category "state-req" :version "1.0")
3606 (defglfun "GetPixelMapuiv" get-pixel-map-uiv :return "void" :args
3607 ((:name |map| :type |PixelMap| :direction :in)
3608 (:name |values| :type |UInt32| :direction :out :array t :size (|map|)))
3609 :category "state-req" :version "1.0")
3610 (defglfun "GetPixelMapfv" get-pixel-map-fv :return "void" :args
3611 ((:name |map| :type |PixelMap| :direction :in)
3612 (:name |values| :type |Float32| :direction :out :array t :size (|map|)))
3613 :category "state-req" :version "1.0")
3614 (defglfun "GetMaterialiv" get-material-iv :return "void" :args
3615 ((:name |face| :type |MaterialFace| :direction :in)
3616 (:name |pname| :type |MaterialParameter| :direction :in)
3617 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3618 :category "state-req" :version "1.0")
3619 (defglfun "GetMaterialfv" get-material-fv :return "void" :args
3620 ((:name |face| :type |MaterialFace| :direction :in)
3621 (:name |pname| :type |MaterialParameter| :direction :in)
3622 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3623 :category "state-req" :version "1.0")
3624 (defglfun "GetMapiv" get-map-iv :return "void" :args
3625 ((:name |target| :type |MapTarget| :direction :in)
3626 (:name |query| :type |GetMapQuery| :direction :in)
3627 (:name |v| :type |Int32| :direction :out :array t :size (|target| |query|)))
3628 :category "state-req" :version "1.0")
3629 (defglfun "GetMapfv" get-map-fv :return "void" :args
3630 ((:name |target| :type |MapTarget| :direction :in)
3631 (:name |query| :type |GetMapQuery| :direction :in)
3632 (:name |v| :type |Float32| :direction :out :array t :size
3633 (|target| |query|)))
3634 :category "state-req" :version "1.0")
3635 (defglfun "GetMapdv" get-map-dv :return "void" :args
3636 ((:name |target| :type |MapTarget| :direction :in)
3637 (:name |query| :type |GetMapQuery| :direction :in)
3638 (:name |v| :type |Float64| :direction :out :array t :size
3639 (|target| |query|)))
3640 :category "state-req" :version "1.0")
3641 (defglfun "GetLightiv" get-light-iv :return "void" :args
3642 ((:name |light| :type |LightName| :direction :in)
3643 (:name |pname| :type |LightParameter| :direction :in)
3644 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3645 :category "state-req" :version "1.0")
3646 (defglfun "GetLightfv" get-light-fv :return "void" :args
3647 ((:name |light| :type |LightName| :direction :in)
3648 (:name |pname| :type |LightParameter| :direction :in)
3649 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3650 :category "state-req" :version "1.0")
3651 (defglfun "GetIntegerv" get-integerv :return "void" :args
3652 ((:name |pname| :type |GetPName| :direction :in)
3653 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3654 :category "state-req" :version "1.0")
3655 (defglfun "GetFloatv" get-floatv :return "void" :args
3656 ((:name |pname| :type |GetPName| :direction :in)
3657 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
3658 :category "state-req" :version "1.0")
3659 (defglfun "GetError" get-error :return "ErrorCode" :args nil :category
3660 "state-req" :version "1.0")
3661 (defglfun "GetDoublev" get-doublev :return "void" :args
3662 ((:name |pname| :type |GetPName| :direction :in)
3663 (:name |params| :type |Float64| :direction :out :array t :size (|pname|)))
3664 :category "state-req" :version "1.0")
3665 (defglfun "GetClipPlane" get-clip-plane :return "void" :args
3666 ((:name |plane| :type |ClipPlaneName| :direction :in)
3667 (:name |equation| :type |Float64| :direction :out :array t :size #x4))
3668 :category "state-req" :version "1.0")
3669 (defglfun "GetBooleanv" get-booleanv :return "void" :args
3670 ((:name |pname| :type |GetPName| :direction :in)
3671 (:name |params| :type |Boolean| :direction :out :array t :size (|pname|)))
3672 :category "state-req" :version "1.0")
3674 ;;;; }}}
3676 ;;;; {{{ xform
3678 (defglfun "Viewport" viewport :return "void" :args
3679 ((:name |x| :type |WinCoord| :direction :in)
3680 (:name |y| :type |WinCoord| :direction :in)
3681 (:name |width| :type |SizeI| :direction :in)
3682 (:name |height| :type |SizeI| :direction :in))
3683 :category "xform" :version "1.0")
3684 (defglfun "Translatef" translate-f :return "void" :args
3685 ((:name |x| :type |Float32| :direction :in)
3686 (:name |y| :type |Float32| :direction :in)
3687 (:name |z| :type |Float32| :direction :in))
3688 :category "xform" :version "1.0")
3689 (defglfun "Translated" translate-d :return "void" :args
3690 ((:name |x| :type |Float64| :direction :in)
3691 (:name |y| :type |Float64| :direction :in)
3692 (:name |z| :type |Float64| :direction :in))
3693 :category "xform" :version "1.0")
3694 (defglfun "Scalef" scale-f :return "void" :args
3695 ((:name |x| :type |Float32| :direction :in)
3696 (:name |y| :type |Float32| :direction :in)
3697 (:name |z| :type |Float32| :direction :in))
3698 :category "xform" :version "1.0")
3699 (defglfun "Scaled" scale-d :return "void" :args
3700 ((:name |x| :type |Float64| :direction :in)
3701 (:name |y| :type |Float64| :direction :in)
3702 (:name |z| :type |Float64| :direction :in))
3703 :category "xform" :version "1.0")
3704 (defglfun "Rotatef" rotate-f :return "void" :args
3705 ((:name |angle| :type |Float32| :direction :in)
3706 (:name |x| :type |Float32| :direction :in)
3707 (:name |y| :type |Float32| :direction :in)
3708 (:name |z| :type |Float32| :direction :in))
3709 :category "xform" :version "1.0")
3710 (defglfun "Rotated" rotate-d :return "void" :args
3711 ((:name |angle| :type |Float64| :direction :in)
3712 (:name |x| :type |Float64| :direction :in)
3713 (:name |y| :type |Float64| :direction :in)
3714 (:name |z| :type |Float64| :direction :in))
3715 :category "xform" :version "1.0")
3716 (defglfun "PushMatrix" push-matrix :return "void" :args nil :category "xform"
3717 :version "1.0")
3718 (defglfun "PopMatrix" pop-matrix :return "void" :args nil :category "xform"
3719 :version "1.0")
3720 (defglfun "Ortho" ortho :return "void" :args
3721 ((:name |left| :type |Float64| :direction :in)
3722 (:name |right| :type |Float64| :direction :in)
3723 (:name |bottom| :type |Float64| :direction :in)
3724 (:name |top| :type |Float64| :direction :in)
3725 (:name |zNear| :type |Float64| :direction :in)
3726 (:name |zFar| :type |Float64| :direction :in))
3727 :category "xform" :version "1.0")
3728 (defglfun "MultMatrixd" mult-matrix-d :return "void" :args
3729 ((:name |m| :type |Float64| :direction :in :array t :size #x10)) :category
3730 "xform" :version "1.0")
3731 (defglfun "MultMatrixf" mult-matrix-f :return "void" :args
3732 ((:name |m| :type |Float32| :direction :in :array t :size #x10)) :category
3733 "xform" :version "1.0")
3734 (defglfun "MatrixMode" matrix-mode :return "void" :args
3735 ((:name |mode| :type |MatrixMode| :direction :in)) :category "xform" :version
3736 "1.0")
3737 (defglfun "LoadMatrixd" load-matrix-d :return "void" :args
3738 ((:name |m| :type |Float64| :direction :in :array t :size #x10)) :category
3739 "xform" :version "1.0")
3740 (defglfun "LoadMatrixf" load-matrix-f :return "void" :args
3741 ((:name |m| :type |Float32| :direction :in :array t :size #x10)) :category
3742 "xform" :version "1.0")
3743 (defglfun "LoadIdentity" load-identity :return "void" :args nil :category
3744 "xform" :version "1.0")
3745 (defglfun "Frustum" frustum :return "void" :args
3746 ((:name |left| :type |Float64| :direction :in)
3747 (:name |right| :type |Float64| :direction :in)
3748 (:name |bottom| :type |Float64| :direction :in)
3749 (:name |top| :type |Float64| :direction :in)
3750 (:name |zNear| :type |Float64| :direction :in)
3751 (:name |zFar| :type |Float64| :direction :in))
3752 :category "xform" :version "1.0")
3753 (defglfun "DepthRange" depth-range :return "void" :args
3754 ((:name |near| :type |ClampedFloat64| :direction :in)
3755 (:name |far| :type |ClampedFloat64| :direction :in))
3756 :category "xform" :version "1.0")
3758 ;;;; }}}