Fix for callbacks under windows from Andrew Lyon.
[cl-glfw.git] / lib / opengl-version_4_1.lisp
blobc6c8789f6a006e8ef9a7296735c7ece2514863e9
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 ;;;; version_4_1
7 (eval-when (:load-toplevel)
8 (when
9 (and (boundp '*version-loaded*) (not (eq 'version_4_1 *version-loaded*)))
10 (warn
11 "Loading cl-glfw-opengl-~a over the top of already-loaded cl-glfw-opengl-~a~%"
12 'version_4_1 *version-loaded*))
13 (defparameter *version-loaded* 'version_4_1))
14 (defconstant +max-elements-vertices+ #x80E8)
15 (defconstant +max-elements-indices+ #x80E9)
16 (defconstant +unsigned-byte-3-3-2+ #x8032)
17 (defconstant +unsigned-short-4-4-4-4+ #x8033)
18 (defconstant +unsigned-short-5-5-5-1+ #x8034)
19 (defconstant +unsigned-int-8-8-8-8+ #x8035)
20 (defconstant +unsigned-int-10-10-10-2+ #x8036)
21 (defconstant +pack-skip-images+ #x806B)
22 (defconstant +pack-image-height+ #x806C)
23 (defconstant +unpack-skip-images+ #x806D)
24 (defconstant +unpack-image-height+ #x806E)
25 (defconstant +texture-3d+ #x806F)
26 (defconstant +proxy-texture-3d+ #x8070)
27 (defconstant +texture-depth+ #x8071)
28 (defconstant +texture-wrap-r+ #x8072)
29 (defconstant +max-3d-texture-size+ #x8073)
30 (defconstant +unsigned-byte-2-3-3-rev+ #x8362)
31 (defconstant +unsigned-short-5-6-5+ #x8363)
32 (defconstant +unsigned-short-5-6-5-rev+ #x8364)
33 (defconstant +unsigned-short-4-4-4-4-rev+ #x8365)
34 (defconstant +unsigned-short-1-5-5-5-rev+ #x8366)
35 (defconstant +unsigned-int-8-8-8-8-rev+ #x8367)
36 (defconstant +unsigned-int-2-10-10-10-rev+ #x8368)
37 (defconstant +bgr+ #x80E0)
38 (defconstant +bgra+ #x80E1)
39 (defconstant +max-elements-vertices+ #x80E8)
40 (defconstant +max-elements-indices+ #x80E9)
41 (defconstant +clamp-to-edge+ #x812F)
42 (defconstant +texture-min-lod+ #x813A)
43 (defconstant +texture-max-lod+ #x813B)
44 (defconstant +texture-base-level+ #x813C)
45 (defconstant +texture-max-level+ #x813D)
46 (defconstant +rescale-normal+ #x803A)
47 (defconstant +texture0+ #x84C0)
48 (defconstant +texture1+ #x84C1)
49 (defconstant +texture2+ #x84C2)
50 (defconstant +texture3+ #x84C3)
51 (defconstant +texture4+ #x84C4)
52 (defconstant +texture5+ #x84C5)
53 (defconstant +texture6+ #x84C6)
54 (defconstant +texture7+ #x84C7)
55 (defconstant +texture8+ #x84C8)
56 (defconstant +texture9+ #x84C9)
57 (defconstant +texture10+ #x84CA)
58 (defconstant +texture11+ #x84CB)
59 (defconstant +texture12+ #x84CC)
60 (defconstant +texture13+ #x84CD)
61 (defconstant +texture14+ #x84CE)
62 (defconstant +texture15+ #x84CF)
63 (defconstant +texture16+ #x84D0)
64 (defconstant +texture17+ #x84D1)
65 (defconstant +texture18+ #x84D2)
66 (defconstant +texture19+ #x84D3)
67 (defconstant +texture20+ #x84D4)
68 (defconstant +texture21+ #x84D5)
69 (defconstant +texture22+ #x84D6)
70 (defconstant +texture23+ #x84D7)
71 (defconstant +texture24+ #x84D8)
72 (defconstant +texture25+ #x84D9)
73 (defconstant +texture26+ #x84DA)
74 (defconstant +texture27+ #x84DB)
75 (defconstant +texture28+ #x84DC)
76 (defconstant +texture29+ #x84DD)
77 (defconstant +texture30+ #x84DE)
78 (defconstant +texture31+ #x84DF)
79 (defconstant +active-texture+ #x84E0)
80 (defconstant +multisample+ #x809D)
81 (defconstant +sample-alpha-to-coverage+ #x809E)
82 (defconstant +sample-alpha-to-one+ #x809F)
83 (defconstant +sample-coverage+ #x80A0)
84 (defconstant +sample-buffers+ #x80A8)
85 (defconstant +samples+ #x80A9)
86 (defconstant +sample-coverage-value+ #x80AA)
87 (defconstant +sample-coverage-invert+ #x80AB)
88 (defconstant +texture-cube-map+ #x8513)
89 (defconstant +texture-binding-cube-map+ #x8514)
90 (defconstant +texture-cube-map-positive-x+ #x8515)
91 (defconstant +texture-cube-map-negative-x+ #x8516)
92 (defconstant +texture-cube-map-positive-y+ #x8517)
93 (defconstant +texture-cube-map-negative-y+ #x8518)
94 (defconstant +texture-cube-map-positive-z+ #x8519)
95 (defconstant +texture-cube-map-negative-z+ #x851A)
96 (defconstant +proxy-texture-cube-map+ #x851B)
97 (defconstant +max-cube-map-texture-size+ #x851C)
98 (defconstant +compressed-rgb+ #x84ED)
99 (defconstant +compressed-rgba+ #x84EE)
100 (defconstant +texture-compression-hint+ #x84EF)
101 (defconstant +texture-compressed-image-size+ #x86A0)
102 (defconstant +texture-compressed+ #x86A1)
103 (defconstant +num-compressed-texture-formats+ #x86A2)
104 (defconstant +compressed-texture-formats+ #x86A3)
105 (defconstant +clamp-to-border+ #x812D)
106 (defconstant +client-active-texture+ #x84E1)
107 (defconstant +max-texture-units+ #x84E2)
108 (defconstant +transpose-modelview-matrix+ #x84E3)
109 (defconstant +transpose-projection-matrix+ #x84E4)
110 (defconstant +transpose-texture-matrix+ #x84E5)
111 (defconstant +transpose-color-matrix+ #x84E6)
112 (defconstant +normal-map+ #x8511)
113 (defconstant +reflection-map+ #x8512)
114 (defconstant +compressed-alpha+ #x84E9)
115 (defconstant +compressed-luminance+ #x84EA)
116 (defconstant +compressed-luminance-alpha+ #x84EB)
117 (defconstant +compressed-intensity+ #x84EC)
118 (defconstant +combine+ #x8570)
119 (defconstant +combine-rgb+ #x8571)
120 (defconstant +combine-alpha+ #x8572)
121 (defconstant +source0-rgb+ #x8580)
122 (defconstant +source1-rgb+ #x8581)
123 (defconstant +source2-rgb+ #x8582)
124 (defconstant +source0-alpha+ #x8588)
125 (defconstant +source1-alpha+ #x8589)
126 (defconstant +source2-alpha+ #x858A)
127 (defconstant +operand0-rgb+ #x8590)
128 (defconstant +operand1-rgb+ #x8591)
129 (defconstant +operand2-rgb+ #x8592)
130 (defconstant +operand0-alpha+ #x8598)
131 (defconstant +operand1-alpha+ #x8599)
132 (defconstant +operand2-alpha+ #x859A)
133 (defconstant +rgb-scale+ #x8573)
134 (defconstant +add-signed+ #x8574)
135 (defconstant +interpolate+ #x8575)
136 (defconstant +subtract+ #x84E7)
137 (defconstant +constant+ #x8576)
138 (defconstant +primary-color+ #x8577)
139 (defconstant +previous+ #x8578)
140 (defconstant +dot3-rgb+ #x86AE)
141 (defconstant +dot3-rgba+ #x86AF)
142 (defconstant +blend-dst-rgb+ #x80C8)
143 (defconstant +blend-src-rgb+ #x80C9)
144 (defconstant +blend-dst-alpha+ #x80CA)
145 (defconstant +blend-src-alpha+ #x80CB)
146 (defconstant +point-fade-threshold-size+ #x8128)
147 (defconstant +depth-component16+ #x81A5)
148 (defconstant +depth-component24+ #x81A6)
149 (defconstant +depth-component32+ #x81A7)
150 (defconstant +mirrored-repeat+ #x8370)
151 (defconstant +max-texture-lod-bias+ #x84FD)
152 (defconstant +texture-lod-bias+ #x8501)
153 (defconstant +incr-wrap+ #x8507)
154 (defconstant +decr-wrap+ #x8508)
155 (defconstant +texture-depth-size+ #x884A)
156 (defconstant +texture-compare-mode+ #x884C)
157 (defconstant +texture-compare-func+ #x884D)
158 (defconstant +point-size-min+ #x8126)
159 (defconstant +point-size-max+ #x8127)
160 (defconstant +point-distance-attenuation+ #x8129)
161 (defconstant +generate-mipmap+ #x8191)
162 (defconstant +generate-mipmap-hint+ #x8192)
163 (defconstant +fog-coordinate-source+ #x8450)
164 (defconstant +fog-coordinate+ #x8451)
165 (defconstant +fragment-depth+ #x8452)
166 (defconstant +current-fog-coordinate+ #x8453)
167 (defconstant +fog-coordinate-array-type+ #x8454)
168 (defconstant +fog-coordinate-array-stride+ #x8455)
169 (defconstant +fog-coordinate-array-pointer+ #x8456)
170 (defconstant +fog-coordinate-array+ #x8457)
171 (defconstant +color-sum+ #x8458)
172 (defconstant +current-secondary-color+ #x8459)
173 (defconstant +secondary-color-array-size+ #x845A)
174 (defconstant +secondary-color-array-type+ #x845B)
175 (defconstant +secondary-color-array-stride+ #x845C)
176 (defconstant +secondary-color-array-pointer+ #x845D)
177 (defconstant +secondary-color-array+ #x845E)
178 (defconstant +texture-filter-control+ #x8500)
179 (defconstant +depth-texture-mode+ #x884B)
180 (defconstant +compare-r-to-texture+ #x884E)
181 (defconstant +buffer-size+ #x8764)
182 (defconstant +buffer-usage+ #x8765)
183 (defconstant +query-counter-bits+ #x8864)
184 (defconstant +current-query+ #x8865)
185 (defconstant +query-result+ #x8866)
186 (defconstant +query-result-available+ #x8867)
187 (defconstant +array-buffer+ #x8892)
188 (defconstant +element-array-buffer+ #x8893)
189 (defconstant +array-buffer-binding+ #x8894)
190 (defconstant +element-array-buffer-binding+ #x8895)
191 (defconstant +vertex-attrib-array-buffer-binding+ #x889F)
192 (defconstant +read-only+ #x88B8)
193 (defconstant +write-only+ #x88B9)
194 (defconstant +read-write+ #x88BA)
195 (defconstant +buffer-access+ #x88BB)
196 (defconstant +buffer-mapped+ #x88BC)
197 (defconstant +buffer-map-pointer+ #x88BD)
198 (defconstant +stream-draw+ #x88E0)
199 (defconstant +stream-read+ #x88E1)
200 (defconstant +stream-copy+ #x88E2)
201 (defconstant +static-draw+ #x88E4)
202 (defconstant +static-read+ #x88E5)
203 (defconstant +static-copy+ #x88E6)
204 (defconstant +dynamic-draw+ #x88E8)
205 (defconstant +dynamic-read+ #x88E9)
206 (defconstant +dynamic-copy+ #x88EA)
207 (defconstant +samples-passed+ #x8914)
208 (defconstant +vertex-array-buffer-binding+ #x8896)
209 (defconstant +normal-array-buffer-binding+ #x8897)
210 (defconstant +color-array-buffer-binding+ #x8898)
211 (defconstant +index-array-buffer-binding+ #x8899)
212 (defconstant +texture-coord-array-buffer-binding+ #x889A)
213 (defconstant +edge-flag-array-buffer-binding+ #x889B)
214 (defconstant +secondary-color-array-buffer-binding+ #x889C)
215 (defconstant +fog-coordinate-array-buffer-binding+ #x889D)
216 (defconstant +weight-array-buffer-binding+ #x889E)
217 (defconstant +fog-coord-src+ #x8450)
218 (defconstant +fog-coord+ #x8451)
219 (defconstant +current-fog-coord+ #x8453)
220 (defconstant +fog-coord-array-type+ #x8454)
221 (defconstant +fog-coord-array-stride+ #x8455)
222 (defconstant +fog-coord-array-pointer+ #x8456)
223 (defconstant +fog-coord-array+ #x8457)
224 (defconstant +fog-coord-array-buffer-binding+ #x889D)
225 (defconstant +src0-rgb+ #x8580)
226 (defconstant +src1-rgb+ #x8581)
227 (defconstant +src2-rgb+ #x8582)
228 (defconstant +src0-alpha+ #x8588)
229 (defconstant +src1-alpha+ #x8589)
230 (defconstant +src2-alpha+ #x858A)
231 (defconstant +current-program+ #x8B8D)
232 (defconstant +point-sprite-coord-origin+ #x8CA0)
233 (defconstant +lower-left+ #x8CA1)
234 (defconstant +upper-left+ #x8CA2)
235 (defconstant +stencil-back-ref+ #x8CA3)
236 (defconstant +stencil-back-value-mask+ #x8CA4)
237 (defconstant +stencil-back-writemask+ #x8CA5)
238 (defconstant +blend-equation-rgb+ #x8009)
239 (defconstant +vertex-attrib-array-enabled+ #x8622)
240 (defconstant +vertex-attrib-array-size+ #x8623)
241 (defconstant +vertex-attrib-array-stride+ #x8624)
242 (defconstant +vertex-attrib-array-type+ #x8625)
243 (defconstant +current-vertex-attrib+ #x8626)
244 (defconstant +vertex-program-point-size+ #x8642)
245 (defconstant +vertex-attrib-array-pointer+ #x8645)
246 (defconstant +stencil-back-func+ #x8800)
247 (defconstant +stencil-back-fail+ #x8801)
248 (defconstant +stencil-back-pass-depth-fail+ #x8802)
249 (defconstant +stencil-back-pass-depth-pass+ #x8803)
250 (defconstant +max-draw-buffers+ #x8824)
251 (defconstant +draw-buffer0+ #x8825)
252 (defconstant +draw-buffer1+ #x8826)
253 (defconstant +draw-buffer2+ #x8827)
254 (defconstant +draw-buffer3+ #x8828)
255 (defconstant +draw-buffer4+ #x8829)
256 (defconstant +draw-buffer5+ #x882A)
257 (defconstant +draw-buffer6+ #x882B)
258 (defconstant +draw-buffer7+ #x882C)
259 (defconstant +draw-buffer8+ #x882D)
260 (defconstant +draw-buffer9+ #x882E)
261 (defconstant +draw-buffer10+ #x882F)
262 (defconstant +draw-buffer11+ #x8830)
263 (defconstant +draw-buffer12+ #x8831)
264 (defconstant +draw-buffer13+ #x8832)
265 (defconstant +draw-buffer14+ #x8833)
266 (defconstant +draw-buffer15+ #x8834)
267 (defconstant +blend-equation-alpha+ #x883D)
268 (defconstant +max-vertex-attribs+ #x8869)
269 (defconstant +vertex-attrib-array-normalized+ #x886A)
270 (defconstant +max-texture-image-units+ #x8872)
271 (defconstant +fragment-shader+ #x8B30)
272 (defconstant +vertex-shader+ #x8B31)
273 (defconstant +max-fragment-uniform-components+ #x8B49)
274 (defconstant +max-vertex-uniform-components+ #x8B4A)
275 (defconstant +max-varying-floats+ #x8B4B)
276 (defconstant +max-vertex-texture-image-units+ #x8B4C)
277 (defconstant +max-combined-texture-image-units+ #x8B4D)
278 (defconstant +shader-type+ #x8B4F)
279 (defconstant +float-vec2+ #x8B50)
280 (defconstant +float-vec3+ #x8B51)
281 (defconstant +float-vec4+ #x8B52)
282 (defconstant +int-vec2+ #x8B53)
283 (defconstant +int-vec3+ #x8B54)
284 (defconstant +int-vec4+ #x8B55)
285 (defconstant +bool+ #x8B56)
286 (defconstant +bool-vec2+ #x8B57)
287 (defconstant +bool-vec3+ #x8B58)
288 (defconstant +bool-vec4+ #x8B59)
289 (defconstant +float-mat2+ #x8B5A)
290 (defconstant +float-mat3+ #x8B5B)
291 (defconstant +float-mat4+ #x8B5C)
292 (defconstant +sampler-1d+ #x8B5D)
293 (defconstant +sampler-2d+ #x8B5E)
294 (defconstant +sampler-3d+ #x8B5F)
295 (defconstant +sampler-cube+ #x8B60)
296 (defconstant +sampler-1d-shadow+ #x8B61)
297 (defconstant +sampler-2d-shadow+ #x8B62)
298 (defconstant +delete-status+ #x8B80)
299 (defconstant +compile-status+ #x8B81)
300 (defconstant +link-status+ #x8B82)
301 (defconstant +validate-status+ #x8B83)
302 (defconstant +info-log-length+ #x8B84)
303 (defconstant +attached-shaders+ #x8B85)
304 (defconstant +active-uniforms+ #x8B86)
305 (defconstant +active-uniform-max-length+ #x8B87)
306 (defconstant +shader-source-length+ #x8B88)
307 (defconstant +active-attributes+ #x8B89)
308 (defconstant +active-attribute-max-length+ #x8B8A)
309 (defconstant +fragment-shader-derivative-hint+ #x8B8B)
310 (defconstant +shading-language-version+ #x8B8C)
311 (defconstant +current-program+ #x8B8D)
312 (defconstant +point-sprite-coord-origin+ #x8CA0)
313 (defconstant +lower-left+ #x8CA1)
314 (defconstant +upper-left+ #x8CA2)
315 (defconstant +stencil-back-ref+ #x8CA3)
316 (defconstant +stencil-back-value-mask+ #x8CA4)
317 (defconstant +stencil-back-writemask+ #x8CA5)
318 (defconstant +vertex-program-two-side+ #x8643)
319 (defconstant +point-sprite+ #x8861)
320 (defconstant +coord-replace+ #x8862)
321 (defconstant +max-texture-coords+ #x8871)
322 (defconstant +current-raster-secondary-color+ #x845F)
323 (defconstant +pixel-pack-buffer+ #x88EB)
324 (defconstant +pixel-unpack-buffer+ #x88EC)
325 (defconstant +pixel-pack-buffer-binding+ #x88ED)
326 (defconstant +pixel-unpack-buffer-binding+ #x88EF)
327 (defconstant +pixel-pack-buffer+ #x88EB)
328 (defconstant +pixel-unpack-buffer+ #x88EC)
329 (defconstant +pixel-pack-buffer-binding+ #x88ED)
330 (defconstant +pixel-unpack-buffer-binding+ #x88EF)
331 (defconstant +float-mat2x3+ #x8B65)
332 (defconstant +float-mat2x4+ #x8B66)
333 (defconstant +float-mat3x2+ #x8B67)
334 (defconstant +float-mat3x4+ #x8B68)
335 (defconstant +float-mat4x2+ #x8B69)
336 (defconstant +float-mat4x3+ #x8B6A)
337 (defconstant +srgb+ #x8C40)
338 (defconstant +srgb8+ #x8C41)
339 (defconstant +srgb-alpha+ #x8C42)
340 (defconstant +srgb8-alpha8+ #x8C43)
341 (defconstant +compressed-srgb+ #x8C48)
342 (defconstant +compressed-srgb-alpha+ #x8C49)
343 (defconstant +current-raster-secondary-color+ #x845F)
344 (defconstant +sluminance-alpha+ #x8C44)
345 (defconstant +sluminance8-alpha8+ #x8C45)
346 (defconstant +sluminance+ #x8C46)
347 (defconstant +sluminance8+ #x8C47)
348 (defconstant +compressed-sluminance+ #x8C4A)
349 (defconstant +compressed-sluminance-alpha+ #x8C4B)
350 (defconstant +map-read-bit+ #x1)
351 (defconstant +map-write-bit+ #x2)
352 (defconstant +map-invalidate-range-bit+ #x4)
353 (defconstant +map-invalidate-buffer-bit+ #x8)
354 (defconstant +map-flush-explicit-bit+ #x10)
355 (defconstant +map-unsynchronized-bit+ #x20)
356 (defconstant +context-flag-forward-compatible-bit+ #x1)
357 (defconstant +invalid-framebuffer-operation+ #x506)
358 (defconstant +half-float+ #x140B)
359 (defconstant +framebuffer-attachment-color-encoding+ #x8210)
360 (defconstant +framebuffer-attachment-component-type+ #x8211)
361 (defconstant +framebuffer-attachment-red-size+ #x8212)
362 (defconstant +framebuffer-attachment-green-size+ #x8213)
363 (defconstant +framebuffer-attachment-blue-size+ #x8214)
364 (defconstant +framebuffer-attachment-alpha-size+ #x8215)
365 (defconstant +framebuffer-attachment-depth-size+ #x8216)
366 (defconstant +framebuffer-attachment-stencil-size+ #x8217)
367 (defconstant +framebuffer-default+ #x8218)
368 (defconstant +framebuffer-undefined+ #x8219)
369 (defconstant +depth-stencil-attachment+ #x821A)
370 (defconstant +framebuffer-attachment-color-encoding+ #x8210)
371 (defconstant +framebuffer-attachment-component-type+ #x8211)
372 (defconstant +framebuffer-attachment-red-size+ #x8212)
373 (defconstant +framebuffer-attachment-green-size+ #x8213)
374 (defconstant +framebuffer-attachment-blue-size+ #x8214)
375 (defconstant +framebuffer-attachment-alpha-size+ #x8215)
376 (defconstant +framebuffer-attachment-depth-size+ #x8216)
377 (defconstant +framebuffer-attachment-stencil-size+ #x8217)
378 (defconstant +framebuffer-default+ #x8218)
379 (defconstant +framebuffer-undefined+ #x8219)
380 (defconstant +depth-stencil-attachment+ #x821A)
381 (defconstant +major-version+ #x821B)
382 (defconstant +minor-version+ #x821C)
383 (defconstant +num-extensions+ #x821D)
384 (defconstant +context-flags+ #x821E)
385 (defconstant +index+ #x8222)
386 (defconstant +index+ #x8222)
387 (defconstant +depth-buffer+ #x8223)
388 (defconstant +stencil-buffer+ #x8224)
389 (defconstant +compressed-red+ #x8225)
390 (defconstant +compressed-rg+ #x8226)
391 (defconstant +rg+ #x8227)
392 (defconstant +rg-integer+ #x8228)
393 (defconstant +r8+ #x8229)
394 (defconstant +r16+ #x822A)
395 (defconstant +rg8+ #x822B)
396 (defconstant +rg16+ #x822C)
397 (defconstant +r16f+ #x822D)
398 (defconstant +r32f+ #x822E)
399 (defconstant +rg16f+ #x822F)
400 (defconstant +rg32f+ #x8230)
401 (defconstant +r8i+ #x8231)
402 (defconstant +r8ui+ #x8232)
403 (defconstant +r16i+ #x8233)
404 (defconstant +r16ui+ #x8234)
405 (defconstant +r32i+ #x8235)
406 (defconstant +r32ui+ #x8236)
407 (defconstant +rg8i+ #x8237)
408 (defconstant +rg8ui+ #x8238)
409 (defconstant +rg16i+ #x8239)
410 (defconstant +rg16ui+ #x823A)
411 (defconstant +rg32i+ #x823B)
412 (defconstant +rg32ui+ #x823C)
413 (defconstant +rg+ #x8227)
414 (defconstant +rg-integer+ #x8228)
415 (defconstant +r8+ #x8229)
416 (defconstant +r16+ #x822A)
417 (defconstant +rg8+ #x822B)
418 (defconstant +rg16+ #x822C)
419 (defconstant +r16f+ #x822D)
420 (defconstant +r32f+ #x822E)
421 (defconstant +rg16f+ #x822F)
422 (defconstant +rg32f+ #x8230)
423 (defconstant +r8i+ #x8231)
424 (defconstant +r8ui+ #x8232)
425 (defconstant +r16i+ #x8233)
426 (defconstant +r16ui+ #x8234)
427 (defconstant +r32i+ #x8235)
428 (defconstant +r32ui+ #x8236)
429 (defconstant +rg8i+ #x8237)
430 (defconstant +rg8ui+ #x8238)
431 (defconstant +rg16i+ #x8239)
432 (defconstant +rg16ui+ #x823A)
433 (defconstant +rg32i+ #x823B)
434 (defconstant +rg32ui+ #x823C)
435 (defconstant +max-renderbuffer-size+ #x84E8)
436 (defconstant +max-renderbuffer-size+ #x84E8)
437 (defconstant +max-renderbuffer-size-ext+ #x84E8)
438 (defconstant +max-renderbuffer-size-oes+ #x84E8)
439 (defconstant +compressed-alpha+ #x84E9)
440 (defconstant +compressed-luminance+ #x84EA)
441 (defconstant +compressed-luminance-alpha+ #x84EB)
442 (defconstant +compressed-intensity+ #x84EC)
443 (defconstant +compressed-rgb+ #x84ED)
444 (defconstant +compressed-rgba+ #x84EE)
445 (defconstant +texture-compression-hint+ #x84EF)
446 (defconstant +texture-compressed-image-size+ #x86A0)
447 (defconstant +texture-compressed+ #x86A1)
448 (defconstant +num-compressed-texture-formats+ #x86A2)
449 (defconstant +compressed-texture-formats+ #x86A3)
450 (defconstant +depth-stencil+ #x84F9)
451 (defconstant +unsigned-int-24-8+ #x84FA)
452 (defconstant +depth-stencil+ #x84F9)
453 (defconstant +unsigned-int-24-8+ #x84FA)
454 (defconstant +vertex-array-binding+ #x85B5)
455 (defconstant +vertex-array-binding+ #x85B5)
456 (defconstant +rgba32f+ #x8814)
457 (defconstant +rgb32f+ #x8815)
458 (defconstant +rgba16f+ #x881A)
459 (defconstant +rgb16f+ #x881B)
460 (defconstant +depth24-stencil8+ #x88F0)
461 (defconstant +texture-stencil-size+ #x88F1)
462 (defconstant +depth24-stencil8+ #x88F0)
463 (defconstant +texture-stencil-size+ #x88F1)
464 (defconstant +depth24-stencil8-ext+ #x88F0)
465 (defconstant +texture-stencil-size-ext+ #x88F1)
466 (defconstant +depth24-stencil8-oes+ #x88F0)
467 (defconstant +vertex-attrib-array-integer+ #x88FD)
468 (defconstant +max-array-texture-layers+ #x88FF)
469 (defconstant +max-array-texture-layers-ext+ #x88FF)
470 (defconstant +min-program-texel-offset+ #x8904)
471 (defconstant +max-program-texel-offset+ #x8905)
472 (defconstant +clamp-vertex-color+ #x891A)
473 (defconstant +clamp-fragment-color+ #x891B)
474 (defconstant +clamp-read-color+ #x891C)
475 (defconstant +fixed-only+ #x891D)
476 (defconstant +clamp-vertex-color-arb+ #x891A)
477 (defconstant +clamp-fragment-color-arb+ #x891B)
478 (defconstant +clamp-read-color-arb+ #x891C)
479 (defconstant +fixed-only-arb+ #x891D)
480 (defconstant +max-varying-components+ #x8B4B)
481 (defconstant +max-varying-components+ :unable-to-resolve)
482 (defconstant +max-varying-components-ext+ #x8B4B)
483 (defconstant +texture-red-type+ #x8C10)
484 (defconstant +texture-green-type+ #x8C11)
485 (defconstant +texture-blue-type+ #x8C12)
486 (defconstant +texture-alpha-type+ #x8C13)
487 (defconstant +texture-luminance-type+ #x8C14)
488 (defconstant +texture-intensity-type+ #x8C15)
489 (defconstant +texture-depth-type+ #x8C16)
490 (defconstant +unsigned-normalized+ #x8C17)
491 (defconstant +texture-red-type+ #x8C10)
492 (defconstant +texture-green-type+ #x8C11)
493 (defconstant +texture-blue-type+ #x8C12)
494 (defconstant +texture-alpha-type+ #x8C13)
495 (defconstant +texture-luminance-type+ #x8C14)
496 (defconstant +texture-intensity-type+ #x8C15)
497 (defconstant +texture-depth-type+ #x8C16)
498 (defconstant +unsigned-normalized+ #x8C17)
499 (defconstant +texture-red-type-arb+ #x8C10)
500 (defconstant +texture-green-type-arb+ #x8C11)
501 (defconstant +texture-blue-type-arb+ #x8C12)
502 (defconstant +texture-alpha-type-arb+ #x8C13)
503 (defconstant +texture-luminance-type-arb+ #x8C14)
504 (defconstant +texture-intensity-type-arb+ #x8C15)
505 (defconstant +texture-depth-type-arb+ #x8C16)
506 (defconstant +unsigned-normalized-arb+ #x8C17)
507 (defconstant +texture-1d-array+ #x8C18)
508 (defconstant +proxy-texture-1d-array+ #x8C19)
509 (defconstant +texture-2d-array+ #x8C1A)
510 (defconstant +proxy-texture-2d-array+ #x8C1B)
511 (defconstant +texture-binding-1d-array+ #x8C1C)
512 (defconstant +texture-binding-2d-array+ #x8C1D)
513 (defconstant +r11f-g11f-b10f+ #x8C3A)
514 (defconstant +unsigned-int-10f-11f-11f-rev+ #x8C3B)
515 (defconstant +rgb9-e5+ #x8C3D)
516 (defconstant +unsigned-int-5-9-9-9-rev+ #x8C3E)
517 (defconstant +texture-shared-size+ #x8C3F)
518 (defconstant +framebuffer-binding+ #x8CA6)
519 (defconstant +draw-framebuffer-binding+ #x8CA6)
520 (defconstant +renderbuffer-binding+ #x8CA7)
521 (defconstant +framebuffer-binding+ #x8CA6)
522 (defconstant +draw-framebuffer-binding+ #x8CA6)
523 (defconstant +renderbuffer-binding+ #x8CA7)
524 (defconstant +framebuffer-binding-ext+ #x8CA6)
525 (defconstant +renderbuffer-binding-ext+ #x8CA7)
526 (defconstant +draw-framebuffer-binding-ext+ #x8CA6)
527 (defconstant +framebuffer-binding-oes+ #x8CA6)
528 (defconstant +renderbuffer-binding-oes+ #x8CA7)
529 (defconstant +framebuffer-binding-angle+ #x8CA6)
530 (defconstant +renderbuffer-binding-angle+ #x8CA7)
531 (defconstant +read-framebuffer+ #x8CA8)
532 (defconstant +draw-framebuffer+ #x8CA9)
533 (defconstant +read-framebuffer-binding+ #x8CAA)
534 (defconstant +read-framebuffer+ #x8CA8)
535 (defconstant +draw-framebuffer+ #x8CA9)
536 (defconstant +read-framebuffer-binding+ #x8CAA)
537 (defconstant +read-framebuffer-angle+ #x8CA8)
538 (defconstant +draw-framebuffer-angle+ #x8CA9)
539 (defconstant +renderbuffer-samples+ #x8CAB)
540 (defconstant +renderbuffer-samples+ #x8CAB)
541 (defconstant +renderbuffer-samples-angle+ #x8CAB)
542 (defconstant +depth-component32f+ #x8CAC)
543 (defconstant +depth32f-stencil8+ #x8CAD)
544 (defconstant +framebuffer-attachment-object-type+ #x8CD0)
545 (defconstant +framebuffer-attachment-object-type-ext+ #x8CD0)
546 (defconstant +framebuffer-attachment-object-name+ #x8CD1)
547 (defconstant +framebuffer-attachment-object-name-ext+ #x8CD1)
548 (defconstant +framebuffer-attachment-texture-level+ #x8CD2)
549 (defconstant +framebuffer-attachment-texture-level-ext+ #x8CD2)
550 (defconstant +framebuffer-attachment-texture-cube-map-face+ #x8CD3)
551 (defconstant +framebuffer-attachment-texture-cube-map-face-ext+ #x8CD3)
552 (defconstant +framebuffer-attachment-texture-layer+ #x8CD4)
553 (defconstant +framebuffer-attachment-texture-3d-zoffset-ext+ #x8CD4)
554 (defconstant +framebuffer-complete+ #x8CD5)
555 (defconstant +framebuffer-complete-ext+ #x8CD5)
556 (defconstant +framebuffer-incomplete-attachment+ #x8CD6)
557 (defconstant +framebuffer-incomplete-attachment-ext+ #x8CD6)
558 (defconstant +framebuffer-incomplete-missing-attachment+ #x8CD7)
559 (defconstant +framebuffer-incomplete-missing-attachment-ext+ #x8CD7)
560 (defconstant +framebuffer-incomplete-dimensions-ext+ #x8CD9)
561 (defconstant +framebuffer-incomplete-formats-ext+ #x8CDA)
562 (defconstant +framebuffer-incomplete-draw-buffer+ #x8CDB)
563 (defconstant +framebuffer-incomplete-draw-buffer-ext+ #x8CDB)
564 (defconstant +framebuffer-incomplete-read-buffer+ #x8CDC)
565 (defconstant +framebuffer-incomplete-read-buffer-ext+ #x8CDC)
566 (defconstant +framebuffer-unsupported+ #x8CDD)
567 (defconstant +framebuffer-unsupported-ext+ #x8CDD)
568 (defconstant +max-color-attachments+ #x8CDF)
569 (defconstant +max-color-attachments-ext+ #x8CDF)
570 (defconstant +color-attachment0+ #x8CE0)
571 (defconstant +color-attachment0-ext+ #x8CE0)
572 (defconstant +color-attachment1+ #x8CE1)
573 (defconstant +color-attachment1-ext+ #x8CE1)
574 (defconstant +color-attachment2+ #x8CE2)
575 (defconstant +color-attachment2-ext+ #x8CE2)
576 (defconstant +color-attachment3+ #x8CE3)
577 (defconstant +color-attachment3-ext+ #x8CE3)
578 (defconstant +color-attachment4+ #x8CE4)
579 (defconstant +color-attachment4-ext+ #x8CE4)
580 (defconstant +color-attachment5+ #x8CE5)
581 (defconstant +color-attachment5-ext+ #x8CE5)
582 (defconstant +color-attachment6+ #x8CE6)
583 (defconstant +color-attachment6-ext+ #x8CE6)
584 (defconstant +color-attachment7+ #x8CE7)
585 (defconstant +color-attachment7-ext+ #x8CE7)
586 (defconstant +color-attachment8+ #x8CE8)
587 (defconstant +color-attachment8-ext+ #x8CE8)
588 (defconstant +color-attachment9+ #x8CE9)
589 (defconstant +color-attachment9-ext+ #x8CE9)
590 (defconstant +color-attachment10+ #x8CEA)
591 (defconstant +color-attachment10-ext+ #x8CEA)
592 (defconstant +color-attachment11+ #x8CEB)
593 (defconstant +color-attachment11-ext+ #x8CEB)
594 (defconstant +color-attachment12+ #x8CEC)
595 (defconstant +color-attachment12-ext+ #x8CEC)
596 (defconstant +color-attachment13+ #x8CED)
597 (defconstant +color-attachment13-ext+ #x8CED)
598 (defconstant +color-attachment14+ #x8CEE)
599 (defconstant +color-attachment14-ext+ #x8CEE)
600 (defconstant +color-attachment15+ #x8CEF)
601 (defconstant +color-attachment15-ext+ #x8CEF)
602 (defconstant +depth-attachment+ #x8D00)
603 (defconstant +depth-attachment-ext+ #x8D00)
604 (defconstant +stencil-attachment+ #x8D20)
605 (defconstant +stencil-attachment-ext+ #x8D20)
606 (defconstant +framebuffer+ #x8D40)
607 (defconstant +framebuffer-ext+ #x8D40)
608 (defconstant +renderbuffer+ #x8D41)
609 (defconstant +renderbuffer-ext+ #x8D41)
610 (defconstant +renderbuffer-width+ #x8D42)
611 (defconstant +renderbuffer-width-ext+ #x8D42)
612 (defconstant +renderbuffer-height+ #x8D43)
613 (defconstant +renderbuffer-height-ext+ #x8D43)
614 (defconstant +renderbuffer-internal-format+ #x8D44)
615 (defconstant +renderbuffer-internal-format-ext+ #x8D44)
616 (defconstant +stencil-index1+ #x8D46)
617 (defconstant +stencil-index1-ext+ #x8D46)
618 (defconstant +stencil-index4+ #x8D47)
619 (defconstant +stencil-index4-ext+ #x8D47)
620 (defconstant +stencil-index8+ #x8D48)
621 (defconstant +stencil-index8-ext+ #x8D48)
622 (defconstant +stencil-index16+ #x8D49)
623 (defconstant +stencil-index16-ext+ #x8D49)
624 (defconstant +renderbuffer-red-size+ #x8D50)
625 (defconstant +renderbuffer-red-size-ext+ #x8D50)
626 (defconstant +renderbuffer-green-size+ #x8D51)
627 (defconstant +renderbuffer-green-size-ext+ #x8D51)
628 (defconstant +renderbuffer-blue-size+ #x8D52)
629 (defconstant +renderbuffer-blue-size-ext+ #x8D52)
630 (defconstant +renderbuffer-alpha-size+ #x8D53)
631 (defconstant +renderbuffer-alpha-size-ext+ #x8D53)
632 (defconstant +renderbuffer-depth-size+ #x8D54)
633 (defconstant +renderbuffer-depth-size-ext+ #x8D54)
634 (defconstant +renderbuffer-stencil-size+ #x8D55)
635 (defconstant +renderbuffer-stencil-size-ext+ #x8D55)
636 (defconstant +framebuffer-attachment-texture-3d-zoffset-oes+ #x8CD4)
637 (defconstant +framebuffer-attachment-object-type-oes+ #x8CD0)
638 (defconstant +framebuffer-attachment-object-name-oes+ #x8CD1)
639 (defconstant +framebuffer-attachment-texture-level-oes+ #x8CD2)
640 (defconstant +framebuffer-attachment-texture-cube-map-face-oes+ #x8CD3)
641 (defconstant +framebuffer-attachment-texture-3d-zoffset-oes+ #x8CD4)
642 (defconstant +framebuffer-complete-oes+ #x8CD5)
643 (defconstant +framebuffer-incomplete-attachment-oes+ #x8CD6)
644 (defconstant +framebuffer-incomplete-missing-attachment-oes+ #x8CD7)
645 (defconstant +framebuffer-incomplete-dimensions-oes+ #x8CD9)
646 (defconstant +framebuffer-incomplete-formats-oes+ #x8CDA)
647 (defconstant +framebuffer-incomplete-draw-buffer-oes+ #x8CDB)
648 (defconstant +framebuffer-incomplete-read-buffer-oes+ #x8CDC)
649 (defconstant +framebuffer-unsupported-oes+ #x8CDD)
650 (defconstant +color-attachment0-oes+ #x8CE0)
651 (defconstant +depth-attachment-oes+ #x8D00)
652 (defconstant +stencil-attachment-oes+ #x8D20)
653 (defconstant +framebuffer-oes+ #x8D40)
654 (defconstant +renderbuffer-oes+ #x8D41)
655 (defconstant +renderbuffer-width-oes+ #x8D42)
656 (defconstant +renderbuffer-height-oes+ #x8D43)
657 (defconstant +renderbuffer-internal-format-oes+ #x8D44)
658 (defconstant +stencil-index1-oes+ #x8D46)
659 (defconstant +stencil-index4-oes+ #x8D47)
660 (defconstant +stencil-index8-oes+ #x8D48)
661 (defconstant +renderbuffer-red-size-oes+ #x8D50)
662 (defconstant +renderbuffer-green-size-oes+ #x8D51)
663 (defconstant +renderbuffer-blue-size-oes+ #x8D52)
664 (defconstant +renderbuffer-alpha-size-oes+ #x8D53)
665 (defconstant +renderbuffer-depth-size-oes+ #x8D54)
666 (defconstant +renderbuffer-stencil-size-oes+ #x8D55)
667 (defconstant +stencil-index1-oes+ :unable-to-resolve)
668 (defconstant +stencil-index4-oes+ :unable-to-resolve)
669 (defconstant +stencil-index8-oes+ :unable-to-resolve)
670 (defconstant +framebuffer-incomplete-multisample+ #x8D56)
671 (defconstant +max-samples+ #x8D57)
672 (defconstant +framebuffer-incomplete-multisample-angle+ #x8D56)
673 (defconstant +max-samples-angle+ #x8D57)
674 (defconstant +framebuffer-incomplete-multisample-ext+ #x8D56)
675 (defconstant +max-samples-ext+ #x8D57)
676 (defconstant +framebuffer-attachment-texture-layer-ext+ #x8CD4)
677 (defconstant +texture-gen-str-oes+ #x8D60)
678 (defconstant +half-float-oes+ #x8D61)
679 (defconstant +half-float-oes+ :unable-to-resolve)
680 (defconstant +rgb565-oes+ #x8D62)
681 (defconstant +etc1-rgb8-oes+ #x8D64)
682 (defconstant +texture-external-oes+ #x8D65)
683 (defconstant +sampler-external-oes+ #x8D66)
684 (defconstant +texture-binding-external-oes+ #x8D67)
685 (defconstant +required-texture-image-units-oes+ #x8D68)
686 (defconstant +float-32-unsigned-int-24-8-rev+ #x8DAD)
687 (defconstant +framebuffer-srgb+ #x8DB9)
688 (defconstant +compressed-red-rgtc1+ #x8DBB)
689 (defconstant +compressed-signed-red-rgtc1+ #x8DBC)
690 (defconstant +compressed-rg-rgtc2+ #x8DBD)
691 (defconstant +compressed-signed-rg-rgtc2+ #x8DBE)
692 (defconstant +sampler-1d-array+ #x8DC0)
693 (defconstant +sampler-2d-array+ #x8DC1)
694 (defconstant +sampler-1d-array-shadow+ #x8DC3)
695 (defconstant +sampler-2d-array-shadow+ #x8DC4)
696 (defconstant +sampler-cube-shadow+ #x8DC5)
697 (defconstant +unsigned-int-vec2+ #x8DC6)
698 (defconstant +unsigned-int-vec3+ #x8DC7)
699 (defconstant +unsigned-int-vec4+ #x8DC8)
700 (defconstant +int-sampler-1d+ #x8DC9)
701 (defconstant +int-sampler-2d+ #x8DCA)
702 (defconstant +int-sampler-3d+ #x8DCB)
703 (defconstant +int-sampler-cube+ #x8DCC)
704 (defconstant +int-sampler-1d-array+ #x8DCE)
705 (defconstant +int-sampler-2d-array+ #x8DCF)
706 (defconstant +unsigned-int-sampler-1d+ #x8DD1)
707 (defconstant +unsigned-int-sampler-2d+ #x8DD2)
708 (defconstant +unsigned-int-sampler-3d+ #x8DD3)
709 (defconstant +unsigned-int-sampler-cube+ #x8DD4)
710 (defconstant +unsigned-int-sampler-1d-array+ #x8DD6)
711 (defconstant +unsigned-int-sampler-2d-array+ #x8DD7)
712 (defconstant +sampler-buffer+ #x8DC2)
713 (defconstant +int-sampler-2d-rect+ #x8DCD)
714 (defconstant +int-sampler-buffer+ #x8DD0)
715 (defconstant +unsigned-int-sampler-2d-rect+ #x8DD5)
716 (defconstant +unsigned-int-sampler-buffer+ #x8DD8)
717 (defconstant +query-wait+ #x8E13)
718 (defconstant +query-no-wait+ #x8E14)
719 (defconstant +query-by-region-wait+ #x8E15)
720 (defconstant +query-by-region-no-wait+ #x8E16)
721 (defconstant +buffer-access-flags+ #x911F)
722 (defconstant +buffer-map-length+ #x9120)
723 (defconstant +buffer-map-offset+ #x9121)
724 (defconstant +compare-ref-to-texture+ #x884E)
725 (defconstant +major-version+ #x821B)
726 (defconstant +minor-version+ #x821C)
727 (defconstant +num-extensions+ #x821D)
728 (defconstant +context-flags+ #x821E)
729 (defconstant +depth-buffer+ #x8223)
730 (defconstant +stencil-buffer+ #x8224)
731 (defconstant +compressed-red+ #x8225)
732 (defconstant +compressed-rg+ #x8226)
733 (defconstant +context-flag-forward-compatible-bit+ #x1)
734 (defconstant +rgba32f+ #x8814)
735 (defconstant +rgb32f+ #x8815)
736 (defconstant +rgba16f+ #x881A)
737 (defconstant +rgb16f+ #x881B)
738 (defconstant +vertex-attrib-array-integer+ #x88FD)
739 (defconstant +max-array-texture-layers+ #x88FF)
740 (defconstant +min-program-texel-offset+ #x8904)
741 (defconstant +max-program-texel-offset+ #x8905)
742 (defconstant +clamp-read-color+ #x891C)
743 (defconstant +fixed-only+ #x891D)
744 (defconstant +max-varying-components+ #x8B4B)
745 (defconstant +texture-1d-array+ #x8C18)
746 (defconstant +proxy-texture-1d-array+ #x8C19)
747 (defconstant +texture-2d-array+ #x8C1A)
748 (defconstant +proxy-texture-2d-array+ #x8C1B)
749 (defconstant +texture-binding-1d-array+ #x8C1C)
750 (defconstant +texture-binding-2d-array+ #x8C1D)
751 (defconstant +r11f-g11f-b10f+ #x8C3A)
752 (defconstant +unsigned-int-10f-11f-11f-rev+ #x8C3B)
753 (defconstant +rgb9-e5+ #x8C3D)
754 (defconstant +unsigned-int-5-9-9-9-rev+ #x8C3E)
755 (defconstant +texture-shared-size+ #x8C3F)
756 (defconstant +transform-feedback-varying-max-length+ #x8C76)
757 (defconstant +transform-feedback-buffer-mode+ #x8C7F)
758 (defconstant +max-transform-feedback-separate-components+ #x8C80)
759 (defconstant +transform-feedback-varyings+ #x8C83)
760 (defconstant +transform-feedback-buffer-start+ #x8C84)
761 (defconstant +transform-feedback-buffer-size+ #x8C85)
762 (defconstant +primitives-generated+ #x8C87)
763 (defconstant +transform-feedback-primitives-written+ #x8C88)
764 (defconstant +rasterizer-discard+ #x8C89)
765 (defconstant +max-transform-feedback-interleaved-components+ #x8C8A)
766 (defconstant +max-transform-feedback-separate-attribs+ #x8C8B)
767 (defconstant +interleaved-attribs+ #x8C8C)
768 (defconstant +separate-attribs+ #x8C8D)
769 (defconstant +transform-feedback-buffer+ #x8C8E)
770 (defconstant +transform-feedback-buffer-binding+ #x8C8F)
771 (defconstant +rgba32ui+ #x8D70)
772 (defconstant +rgb32ui+ #x8D71)
773 (defconstant +rgba16ui+ #x8D76)
774 (defconstant +rgb16ui+ #x8D77)
775 (defconstant +rgba8ui+ #x8D7C)
776 (defconstant +rgb8ui+ #x8D7D)
777 (defconstant +rgba32i+ #x8D82)
778 (defconstant +rgb32i+ #x8D83)
779 (defconstant +rgba16i+ #x8D88)
780 (defconstant +rgb16i+ #x8D89)
781 (defconstant +rgba8i+ #x8D8E)
782 (defconstant +rgb8i+ #x8D8F)
783 (defconstant +red-integer+ #x8D94)
784 (defconstant +green-integer+ #x8D95)
785 (defconstant +blue-integer+ #x8D96)
786 (defconstant +rgb-integer+ #x8D98)
787 (defconstant +rgba-integer+ #x8D99)
788 (defconstant +bgr-integer+ #x8D9A)
789 (defconstant +bgra-integer+ #x8D9B)
790 (defconstant +sampler-1d-array+ #x8DC0)
791 (defconstant +sampler-2d-array+ #x8DC1)
792 (defconstant +sampler-1d-array-shadow+ #x8DC3)
793 (defconstant +sampler-2d-array-shadow+ #x8DC4)
794 (defconstant +sampler-cube-shadow+ #x8DC5)
795 (defconstant +unsigned-int-vec2+ #x8DC6)
796 (defconstant +unsigned-int-vec3+ #x8DC7)
797 (defconstant +unsigned-int-vec4+ #x8DC8)
798 (defconstant +int-sampler-1d+ #x8DC9)
799 (defconstant +int-sampler-2d+ #x8DCA)
800 (defconstant +int-sampler-3d+ #x8DCB)
801 (defconstant +int-sampler-cube+ #x8DCC)
802 (defconstant +int-sampler-1d-array+ #x8DCE)
803 (defconstant +int-sampler-2d-array+ #x8DCF)
804 (defconstant +unsigned-int-sampler-1d+ #x8DD1)
805 (defconstant +unsigned-int-sampler-2d+ #x8DD2)
806 (defconstant +unsigned-int-sampler-3d+ #x8DD3)
807 (defconstant +unsigned-int-sampler-cube+ #x8DD4)
808 (defconstant +unsigned-int-sampler-1d-array+ #x8DD6)
809 (defconstant +unsigned-int-sampler-2d-array+ #x8DD7)
810 (defconstant +query-wait+ #x8E13)
811 (defconstant +query-no-wait+ #x8E14)
812 (defconstant +query-by-region-wait+ #x8E15)
813 (defconstant +query-by-region-no-wait+ #x8E16)
814 (defconstant +buffer-access-flags+ #x911F)
815 (defconstant +buffer-map-length+ #x9120)
816 (defconstant +buffer-map-offset+ #x9121)
817 (defconstant +depth-component32f+ #x8CAC)
818 (defconstant +depth32f-stencil8+ #x8CAD)
819 (defconstant +float-32-unsigned-int-24-8-rev+ #x8DAD)
820 (defconstant +invalid-framebuffer-operation+ #x506)
821 (defconstant +framebuffer-attachment-color-encoding+ #x8210)
822 (defconstant +framebuffer-attachment-component-type+ #x8211)
823 (defconstant +framebuffer-attachment-red-size+ #x8212)
824 (defconstant +framebuffer-attachment-green-size+ #x8213)
825 (defconstant +framebuffer-attachment-blue-size+ #x8214)
826 (defconstant +framebuffer-attachment-alpha-size+ #x8215)
827 (defconstant +framebuffer-attachment-depth-size+ #x8216)
828 (defconstant +framebuffer-attachment-stencil-size+ #x8217)
829 (defconstant +framebuffer-default+ #x8218)
830 (defconstant +framebuffer-undefined+ #x8219)
831 (defconstant +depth-stencil-attachment+ #x821A)
832 (defconstant +index+ #x8222)
833 (defconstant +max-renderbuffer-size+ #x84E8)
834 (defconstant +depth-stencil+ #x84F9)
835 (defconstant +unsigned-int-24-8+ #x84FA)
836 (defconstant +depth24-stencil8+ #x88F0)
837 (defconstant +texture-stencil-size+ #x88F1)
838 (defconstant +texture-red-type+ #x8C10)
839 (defconstant +texture-green-type+ #x8C11)
840 (defconstant +texture-blue-type+ #x8C12)
841 (defconstant +texture-alpha-type+ #x8C13)
842 (defconstant +texture-depth-type+ #x8C16)
843 (defconstant +unsigned-normalized+ #x8C17)
844 (defconstant +framebuffer-binding+ #x8CA6)
845 (defconstant +draw-framebuffer-binding+ #x8CA6)
846 (defconstant +renderbuffer-binding+ #x8CA7)
847 (defconstant +read-framebuffer+ #x8CA8)
848 (defconstant +draw-framebuffer+ #x8CA9)
849 (defconstant +read-framebuffer-binding+ #x8CAA)
850 (defconstant +renderbuffer-samples+ #x8CAB)
851 (defconstant +framebuffer-attachment-object-type+ #x8CD0)
852 (defconstant +framebuffer-attachment-object-name+ #x8CD1)
853 (defconstant +framebuffer-attachment-texture-level+ #x8CD2)
854 (defconstant +framebuffer-attachment-texture-cube-map-face+ #x8CD3)
855 (defconstant +framebuffer-attachment-texture-layer+ #x8CD4)
856 (defconstant +framebuffer-complete+ #x8CD5)
857 (defconstant +framebuffer-incomplete-attachment+ #x8CD6)
858 (defconstant +framebuffer-incomplete-missing-attachment+ #x8CD7)
859 (defconstant +framebuffer-incomplete-draw-buffer+ #x8CDB)
860 (defconstant +framebuffer-incomplete-read-buffer+ #x8CDC)
861 (defconstant +framebuffer-unsupported+ #x8CDD)
862 (defconstant +max-color-attachments+ #x8CDF)
863 (defconstant +color-attachment0+ #x8CE0)
864 (defconstant +color-attachment1+ #x8CE1)
865 (defconstant +color-attachment2+ #x8CE2)
866 (defconstant +color-attachment3+ #x8CE3)
867 (defconstant +color-attachment4+ #x8CE4)
868 (defconstant +color-attachment5+ #x8CE5)
869 (defconstant +color-attachment6+ #x8CE6)
870 (defconstant +color-attachment7+ #x8CE7)
871 (defconstant +color-attachment8+ #x8CE8)
872 (defconstant +color-attachment9+ #x8CE9)
873 (defconstant +color-attachment10+ #x8CEA)
874 (defconstant +color-attachment11+ #x8CEB)
875 (defconstant +color-attachment12+ #x8CEC)
876 (defconstant +color-attachment13+ #x8CED)
877 (defconstant +color-attachment14+ #x8CEE)
878 (defconstant +color-attachment15+ #x8CEF)
879 (defconstant +depth-attachment+ #x8D00)
880 (defconstant +stencil-attachment+ #x8D20)
881 (defconstant +framebuffer+ #x8D40)
882 (defconstant +renderbuffer+ #x8D41)
883 (defconstant +renderbuffer-width+ #x8D42)
884 (defconstant +renderbuffer-height+ #x8D43)
885 (defconstant +renderbuffer-internal-format+ #x8D44)
886 (defconstant +stencil-index1+ #x8D46)
887 (defconstant +stencil-index4+ #x8D47)
888 (defconstant +stencil-index8+ #x8D48)
889 (defconstant +stencil-index16+ #x8D49)
890 (defconstant +renderbuffer-red-size+ #x8D50)
891 (defconstant +renderbuffer-green-size+ #x8D51)
892 (defconstant +renderbuffer-blue-size+ #x8D52)
893 (defconstant +renderbuffer-alpha-size+ #x8D53)
894 (defconstant +renderbuffer-depth-size+ #x8D54)
895 (defconstant +renderbuffer-stencil-size+ #x8D55)
896 (defconstant +framebuffer-incomplete-multisample+ #x8D56)
897 (defconstant +max-samples+ #x8D57)
898 (defconstant +framebuffer-srgb+ #x8DB9)
899 (defconstant +half-float+ #x140B)
900 (defconstant +map-read-bit+ #x1)
901 (defconstant +map-write-bit+ #x2)
902 (defconstant +map-invalidate-range-bit+ #x4)
903 (defconstant +map-invalidate-buffer-bit+ #x8)
904 (defconstant +map-flush-explicit-bit+ #x10)
905 (defconstant +map-unsynchronized-bit+ #x20)
906 (defconstant +compressed-red-rgtc1+ #x8DBB)
907 (defconstant +compressed-signed-red-rgtc1+ #x8DBC)
908 (defconstant +compressed-rg-rgtc2+ #x8DBD)
909 (defconstant +compressed-signed-rg-rgtc2+ #x8DBE)
910 (defconstant +rg+ #x8227)
911 (defconstant +rg-integer+ #x8228)
912 (defconstant +r8+ #x8229)
913 (defconstant +r16+ #x822A)
914 (defconstant +rg8+ #x822B)
915 (defconstant +rg16+ #x822C)
916 (defconstant +r16f+ #x822D)
917 (defconstant +r32f+ #x822E)
918 (defconstant +rg16f+ #x822F)
919 (defconstant +rg32f+ #x8230)
920 (defconstant +r8i+ #x8231)
921 (defconstant +r8ui+ #x8232)
922 (defconstant +r16i+ #x8233)
923 (defconstant +r16ui+ #x8234)
924 (defconstant +r32i+ #x8235)
925 (defconstant +r32ui+ #x8236)
926 (defconstant +rg8i+ #x8237)
927 (defconstant +rg8ui+ #x8238)
928 (defconstant +rg16i+ #x8239)
929 (defconstant +rg16ui+ #x823A)
930 (defconstant +rg32i+ #x823B)
931 (defconstant +rg32ui+ #x823C)
932 (defconstant +vertex-array-binding+ #x85B5)
933 (defconstant +clamp-vertex-color+ #x891A)
934 (defconstant +clamp-fragment-color+ #x891B)
935 (defconstant +alpha-integer+ #x8D97)
936 (defconstant +texture-luminance-type+ #x8C14)
937 (defconstant +texture-intensity-type+ #x8C15)
938 (defconstant +texture-rectangle+ #x84F5)
939 (defconstant +texture-binding-rectangle+ #x84F6)
940 (defconstant +proxy-texture-rectangle+ #x84F7)
941 (defconstant +max-rectangle-texture-size+ #x84F8)
942 (defconstant +uniform-buffer+ #x8A11)
943 (defconstant +uniform-buffer+ #x8A11)
944 (defconstant +uniform-buffer-binding+ #x8A28)
945 (defconstant +uniform-buffer-start+ #x8A29)
946 (defconstant +uniform-buffer-size+ #x8A2A)
947 (defconstant +max-vertex-uniform-blocks+ #x8A2B)
948 (defconstant +max-geometry-uniform-blocks+ #x8A2C)
949 (defconstant +max-fragment-uniform-blocks+ #x8A2D)
950 (defconstant +max-combined-uniform-blocks+ #x8A2E)
951 (defconstant +max-uniform-buffer-bindings+ #x8A2F)
952 (defconstant +max-uniform-block-size+ #x8A30)
953 (defconstant +max-combined-vertex-uniform-components+ #x8A31)
954 (defconstant +max-combined-geometry-uniform-components+ #x8A32)
955 (defconstant +max-combined-fragment-uniform-components+ #x8A33)
956 (defconstant +uniform-buffer-offset-alignment+ #x8A34)
957 (defconstant +active-uniform-block-max-name-length+ #x8A35)
958 (defconstant +active-uniform-blocks+ #x8A36)
959 (defconstant +uniform-type+ #x8A37)
960 (defconstant +uniform-size+ #x8A38)
961 (defconstant +uniform-name-length+ #x8A39)
962 (defconstant +uniform-block-index+ #x8A3A)
963 (defconstant +uniform-offset+ #x8A3B)
964 (defconstant +uniform-array-stride+ #x8A3C)
965 (defconstant +uniform-matrix-stride+ #x8A3D)
966 (defconstant +uniform-is-row-major+ #x8A3E)
967 (defconstant +uniform-block-binding+ #x8A3F)
968 (defconstant +uniform-block-data-size+ #x8A40)
969 (defconstant +uniform-block-name-length+ #x8A41)
970 (defconstant +uniform-block-active-uniforms+ #x8A42)
971 (defconstant +uniform-block-active-uniform-indices+ #x8A43)
972 (defconstant +uniform-block-referenced-by-vertex-shader+ #x8A44)
973 (defconstant +uniform-block-referenced-by-geometry-shader+ #x8A45)
974 (defconstant +uniform-block-referenced-by-fragment-shader+ #x8A46)
975 (defconstant +invalid-index+ #xFFFFFFFF)
976 (defconstant +texture-buffer+ #x8C2A)
977 (defconstant +max-texture-buffer-size+ #x8C2B)
978 (defconstant +texture-binding-buffer+ #x8C2C)
979 (defconstant +texture-buffer-data-store-binding+ #x8C2D)
980 (defconstant +texture-buffer-format+ #x8C2E)
981 (defconstant +copy-read-buffer+ #x8F36)
982 (defconstant +copy-write-buffer+ #x8F37)
983 (defconstant +max-image-units-ext+ #x8F38)
984 (defconstant +max-combined-image-units-and-fragment-outputs-ext+ #x8F39)
985 (defconstant +image-binding-name-ext+ #x8F3A)
986 (defconstant +image-binding-level-ext+ #x8F3B)
987 (defconstant +image-binding-layered-ext+ #x8F3C)
988 (defconstant +image-binding-layer-ext+ #x8F3D)
989 (defconstant +image-binding-access-ext+ #x8F3E)
990 (defconstant +red-snorm+ #x8F90)
991 (defconstant +rg-snorm+ #x8F91)
992 (defconstant +rgb-snorm+ #x8F92)
993 (defconstant +rgba-snorm+ #x8F93)
994 (defconstant +r8-snorm+ #x8F94)
995 (defconstant +rg8-snorm+ #x8F95)
996 (defconstant +rgb8-snorm+ #x8F96)
997 (defconstant +rgba8-snorm+ #x8F97)
998 (defconstant +r16-snorm+ #x8F98)
999 (defconstant +rg16-snorm+ #x8F99)
1000 (defconstant +rgb16-snorm+ #x8F9A)
1001 (defconstant +rgba16-snorm+ #x8F9B)
1002 (defconstant +signed-normalized+ #x8F9C)
1003 (defconstant +primitive-restart+ #x8F9D)
1004 (defconstant +primitive-restart-index+ #x8F9E)
1005 (defconstant +max-program-texture-gather-components+ #x8F9F)
1006 (defconstant +perfmon-global-mode-qcom+ #x8FA0)
1007 (defconstant +shader-binary-viv+ #x8FC4)
1008 (defconstant +sampler-2d-rect+ #x8B63)
1009 (defconstant +sampler-2d-rect-shadow+ #x8B64)
1010 (defconstant +sampler-buffer+ #x8DC2)
1011 (defconstant +int-sampler-2d-rect+ #x8DCD)
1012 (defconstant +int-sampler-buffer+ #x8DD0)
1013 (defconstant +unsigned-int-sampler-2d-rect+ #x8DD5)
1014 (defconstant +unsigned-int-sampler-buffer+ #x8DD8)
1015 (defconstant +texture-buffer+ #x8C2A)
1016 (defconstant +max-texture-buffer-size+ #x8C2B)
1017 (defconstant +texture-binding-buffer+ #x8C2C)
1018 (defconstant +texture-buffer-data-store-binding+ #x8C2D)
1019 (defconstant +texture-buffer-format+ #x8C2E)
1020 (defconstant +texture-rectangle+ #x84F5)
1021 (defconstant +texture-binding-rectangle+ #x84F6)
1022 (defconstant +proxy-texture-rectangle+ #x84F7)
1023 (defconstant +max-rectangle-texture-size+ #x84F8)
1024 (defconstant +red-snorm+ #x8F90)
1025 (defconstant +rg-snorm+ #x8F91)
1026 (defconstant +rgb-snorm+ #x8F92)
1027 (defconstant +rgba-snorm+ #x8F93)
1028 (defconstant +r8-snorm+ #x8F94)
1029 (defconstant +rg8-snorm+ #x8F95)
1030 (defconstant +rgb8-snorm+ #x8F96)
1031 (defconstant +rgba8-snorm+ #x8F97)
1032 (defconstant +r16-snorm+ #x8F98)
1033 (defconstant +rg16-snorm+ #x8F99)
1034 (defconstant +rgb16-snorm+ #x8F9A)
1035 (defconstant +rgba16-snorm+ #x8F9B)
1036 (defconstant +signed-normalized+ #x8F9C)
1037 (defconstant +primitive-restart+ #x8F9D)
1038 (defconstant +primitive-restart-index+ #x8F9E)
1039 (defconstant +copy-read-buffer+ #x8F36)
1040 (defconstant +copy-write-buffer+ #x8F37)
1041 (defconstant +uniform-buffer+ #x8A11)
1042 (defconstant +uniform-buffer-binding+ #x8A28)
1043 (defconstant +uniform-buffer-start+ #x8A29)
1044 (defconstant +uniform-buffer-size+ #x8A2A)
1045 (defconstant +max-vertex-uniform-blocks+ #x8A2B)
1046 (defconstant +max-fragment-uniform-blocks+ #x8A2D)
1047 (defconstant +max-combined-uniform-blocks+ #x8A2E)
1048 (defconstant +max-uniform-buffer-bindings+ #x8A2F)
1049 (defconstant +max-uniform-block-size+ #x8A30)
1050 (defconstant +max-combined-vertex-uniform-components+ #x8A31)
1051 (defconstant +max-combined-fragment-uniform-components+ #x8A33)
1052 (defconstant +uniform-buffer-offset-alignment+ #x8A34)
1053 (defconstant +active-uniform-block-max-name-length+ #x8A35)
1054 (defconstant +active-uniform-blocks+ #x8A36)
1055 (defconstant +uniform-type+ #x8A37)
1056 (defconstant +uniform-size+ #x8A38)
1057 (defconstant +uniform-name-length+ #x8A39)
1058 (defconstant +uniform-block-index+ #x8A3A)
1059 (defconstant +uniform-offset+ #x8A3B)
1060 (defconstant +uniform-array-stride+ #x8A3C)
1061 (defconstant +uniform-matrix-stride+ #x8A3D)
1062 (defconstant +uniform-is-row-major+ #x8A3E)
1063 (defconstant +uniform-block-binding+ #x8A3F)
1064 (defconstant +uniform-block-data-size+ #x8A40)
1065 (defconstant +uniform-block-name-length+ #x8A41)
1066 (defconstant +uniform-block-active-uniforms+ #x8A42)
1067 (defconstant +uniform-block-active-uniform-indices+ #x8A43)
1068 (defconstant +uniform-block-referenced-by-vertex-shader+ #x8A44)
1069 (defconstant +uniform-block-referenced-by-fragment-shader+ #x8A46)
1070 (defconstant +invalid-index+ #xFFFFFFFF)
1071 (defconstant +lines-adjacency+ #xA)
1072 (defconstant +line-strip-adjacency+ #xB)
1073 (defconstant +triangles-adjacency+ #xC)
1074 (defconstant +triangle-strip-adjacency+ #xD)
1075 (defconstant +lines-adjacency-arb+ #xA)
1076 (defconstant +line-strip-adjacency-arb+ #xB)
1077 (defconstant +triangles-adjacency-arb+ #xC)
1078 (defconstant +triangle-strip-adjacency-arb+ #xD)
1079 (defconstant +lines-adjacency-ext+ #xA)
1080 (defconstant +line-strip-adjacency-ext+ #xB)
1081 (defconstant +triangles-adjacency-ext+ #xC)
1082 (defconstant +triangle-strip-adjacency-ext+ #xD)
1083 (defconstant +program-point-size+ #x8642)
1084 (defconstant +program-point-size-arb+ #x8642)
1085 (defconstant +program-point-size-ext+ #x8642)
1086 (defconstant +depth-clamp+ #x864F)
1087 (defconstant +texture-cube-map-seamless+ #x884F)
1088 (defconstant +geometry-vertices-out+ #x8916)
1089 (defconstant +geometry-input-type+ #x8917)
1090 (defconstant +geometry-output-type+ #x8918)
1091 (defconstant +max-geometry-texture-image-units+ #x8C29)
1092 (defconstant +max-geometry-texture-image-units-arb+ #x8C29)
1093 (defconstant +framebuffer-attachment-layered+ #x8DA7)
1094 (defconstant +framebuffer-incomplete-layer-targets+ #x8DA8)
1095 (defconstant +framebuffer-attachment-layered-arb+ #x8DA7)
1096 (defconstant +framebuffer-incomplete-layer-targets-arb+ #x8DA8)
1097 (defconstant +framebuffer-incomplete-layer-count-arb+ #x8DA9)
1098 (defconstant +framebuffer-attachment-layered-ext+ #x8DA7)
1099 (defconstant +framebuffer-incomplete-layer-targets-ext+ #x8DA8)
1100 (defconstant +framebuffer-incomplete-layer-count-ext+ #x8DA9)
1101 (defconstant +layer-nv+ #x8DAA)
1102 (defconstant +next-buffer-nv+ #x-2)
1103 (defconstant +skip-components4-nv+ #x-3)
1104 (defconstant +skip-components3-nv+ #x-4)
1105 (defconstant +skip-components2-nv+ #x-5)
1106 (defconstant +skip-components1-nv+ #x-6)
1107 (defconstant +geometry-shader+ #x8DD9)
1108 (defconstant +max-geometry-uniform-components+ #x8DDF)
1109 (defconstant +max-geometry-output-vertices+ #x8DE0)
1110 (defconstant +max-geometry-total-output-components+ #x8DE1)
1111 (defconstant +max-geometry-varying-components-ext+ #x8DDD)
1112 (defconstant +max-vertex-varying-components-ext+ #x8DDE)
1113 (defconstant +max-geometry-uniform-components-ext+ #x8DDF)
1114 (defconstant +max-geometry-output-vertices-ext+ #x8DE0)
1115 (defconstant +max-geometry-total-output-components-ext+ #x8DE1)
1116 (defconstant +quads-follow-provoking-vertex-convention+ #x8E4C)
1117 (defconstant +first-vertex-convention+ #x8E4D)
1118 (defconstant +last-vertex-convention+ #x8E4E)
1119 (defconstant +provoking-vertex+ #x8E4F)
1120 (defconstant +first-vertex-convention+ #x8E4D)
1121 (defconstant +last-vertex-convention+ #x8E4E)
1122 (defconstant +provoking-vertex+ #x8E4F)
1123 (defconstant +sample-position+ #x8E50)
1124 (defconstant +sample-mask+ #x8E51)
1125 (defconstant +sample-mask-value+ #x8E52)
1126 (defconstant +max-sample-mask-words+ #x8E59)
1127 (defconstant +texture-2d-multisample+ #x9100)
1128 (defconstant +proxy-texture-2d-multisample+ #x9101)
1129 (defconstant +texture-2d-multisample-array+ #x9102)
1130 (defconstant +proxy-texture-2d-multisample-array+ #x9103)
1131 (defconstant +texture-binding-2d-multisample+ #x9104)
1132 (defconstant +texture-binding-2d-multisample-array+ #x9105)
1133 (defconstant +texture-samples+ #x9106)
1134 (defconstant +texture-fixed-sample-locations+ #x9107)
1135 (defconstant +sampler-2d-multisample+ #x9108)
1136 (defconstant +int-sampler-2d-multisample+ #x9109)
1137 (defconstant +unsigned-int-sampler-2d-multisample+ #x910A)
1138 (defconstant +sampler-2d-multisample-array+ #x910B)
1139 (defconstant +int-sampler-2d-multisample-array+ #x910C)
1140 (defconstant +unsigned-int-sampler-2d-multisample-array+ #x910D)
1141 (defconstant +max-color-texture-samples+ #x910E)
1142 (defconstant +max-depth-texture-samples+ #x910F)
1143 (defconstant +max-integer-samples+ #x9110)
1144 (defconstant +max-server-wait-timeout+ #x9111)
1145 (defconstant +object-type+ #x9112)
1146 (defconstant +sync-condition+ #x9113)
1147 (defconstant +sync-status+ #x9114)
1148 (defconstant +sync-flags+ #x9115)
1149 (defconstant +sync-fence+ #x9116)
1150 (defconstant +sync-gpu-commands-complete+ #x9117)
1151 (defconstant +unsignaled+ #x9118)
1152 (defconstant +signaled+ #x9119)
1153 (defconstant +already-signaled+ #x911A)
1154 (defconstant +timeout-expired+ #x911B)
1155 (defconstant +condition-satisfied+ #x911C)
1156 (defconstant +wait-failed+ #x911D)
1157 (defconstant +timeout-ignored+ #xFFFFFFFFFFFFFFFF)
1158 (defconstant +sync-flush-commands-bit+ #x1)
1159 (defconstant +timeout-ignored+ #xFFFFFFFFFFFFFFFF)
1160 (defconstant +max-vertex-output-components+ #x9122)
1161 (defconstant +max-geometry-input-components+ #x9123)
1162 (defconstant +max-geometry-output-components+ #x9124)
1163 (defconstant +max-fragment-input-components+ #x9125)
1164 (defconstant +context-core-profile-bit+ #x1)
1165 (defconstant +context-compatibility-profile-bit+ #x2)
1166 (defconstant +context-profile-mask+ #x9126)
1167 (defconstant +sgx-program-binary-img+ #x9130)
1168 (defconstant +renderbuffer-samples-img+ #x9133)
1169 (defconstant +framebuffer-incomplete-multisample-img+ #x9134)
1170 (defconstant +max-samples-img+ #x9135)
1171 (defconstant +texture-samples-img+ #x9136)
1172 (defconstant +max-debug-message-length-arb+ #x9143)
1173 (defconstant +max-debug-logged-messages-arb+ #x9144)
1174 (defconstant +debug-logged-messages-arb+ #x9145)
1175 (defconstant +debug-severity-high-arb+ #x9146)
1176 (defconstant +debug-severity-medium-arb+ #x9147)
1177 (defconstant +debug-severity-low-arb+ #x9148)
1178 (defconstant +context-core-profile-bit+ #x1)
1179 (defconstant +context-compatibility-profile-bit+ #x2)
1180 (defconstant +lines-adjacency+ #xA)
1181 (defconstant +line-strip-adjacency+ #xB)
1182 (defconstant +triangles-adjacency+ #xC)
1183 (defconstant +triangle-strip-adjacency+ #xD)
1184 (defconstant +program-point-size+ #x8642)
1185 (defconstant +max-geometry-texture-image-units+ #x8C29)
1186 (defconstant +framebuffer-attachment-layered+ #x8DA7)
1187 (defconstant +framebuffer-incomplete-layer-targets+ #x8DA8)
1188 (defconstant +geometry-shader+ #x8DD9)
1189 (defconstant +geometry-vertices-out+ #x8916)
1190 (defconstant +geometry-input-type+ #x8917)
1191 (defconstant +geometry-output-type+ #x8918)
1192 (defconstant +max-geometry-uniform-components+ #x8DDF)
1193 (defconstant +max-geometry-output-vertices+ #x8DE0)
1194 (defconstant +max-geometry-total-output-components+ #x8DE1)
1195 (defconstant +max-vertex-output-components+ #x9122)
1196 (defconstant +max-geometry-input-components+ #x9123)
1197 (defconstant +max-geometry-output-components+ #x9124)
1198 (defconstant +max-fragment-input-components+ #x9125)
1199 (defconstant +context-profile-mask+ #x9126)
1200 (defconstant +max-varying-components+ #x8B4B)
1201 (defconstant +framebuffer-attachment-texture-layer+ #x8CD4)
1202 (defconstant +depth-clamp+ #x864F)
1203 (defconstant +quads-follow-provoking-vertex-convention+ #x8E4C)
1204 (defconstant +first-vertex-convention+ #x8E4D)
1205 (defconstant +last-vertex-convention+ #x8E4E)
1206 (defconstant +provoking-vertex+ #x8E4F)
1207 (defconstant +texture-cube-map-seamless+ #x884F)
1208 (defconstant +max-server-wait-timeout+ #x9111)
1209 (defconstant +object-type+ #x9112)
1210 (defconstant +sync-condition+ #x9113)
1211 (defconstant +sync-status+ #x9114)
1212 (defconstant +sync-flags+ #x9115)
1213 (defconstant +sync-fence+ #x9116)
1214 (defconstant +sync-gpu-commands-complete+ #x9117)
1215 (defconstant +unsignaled+ #x9118)
1216 (defconstant +signaled+ #x9119)
1217 (defconstant +already-signaled+ #x911A)
1218 (defconstant +timeout-expired+ #x911B)
1219 (defconstant +condition-satisfied+ #x911C)
1220 (defconstant +wait-failed+ #x911D)
1221 (defconstant +timeout-ignored+ #xFFFFFFFFFFFFFFFF)
1222 (defconstant +sync-flush-commands-bit+ #x1)
1223 (defconstant +timeout-ignored+ #xFFFFFFFFFFFFFFFF)
1224 (defconstant +sample-position+ #x8E50)
1225 (defconstant +sample-mask+ #x8E51)
1226 (defconstant +sample-mask-value+ #x8E52)
1227 (defconstant +max-sample-mask-words+ #x8E59)
1228 (defconstant +texture-2d-multisample+ #x9100)
1229 (defconstant +proxy-texture-2d-multisample+ #x9101)
1230 (defconstant +texture-2d-multisample-array+ #x9102)
1231 (defconstant +proxy-texture-2d-multisample-array+ #x9103)
1232 (defconstant +texture-binding-2d-multisample+ #x9104)
1233 (defconstant +texture-binding-2d-multisample-array+ #x9105)
1234 (defconstant +texture-samples+ #x9106)
1235 (defconstant +texture-fixed-sample-locations+ #x9107)
1236 (defconstant +sampler-2d-multisample+ #x9108)
1237 (defconstant +int-sampler-2d-multisample+ #x9109)
1238 (defconstant +unsigned-int-sampler-2d-multisample+ #x910A)
1239 (defconstant +sampler-2d-multisample-array+ #x910B)
1240 (defconstant +int-sampler-2d-multisample-array+ #x910C)
1241 (defconstant +unsigned-int-sampler-2d-multisample-array+ #x910D)
1242 (defconstant +max-color-texture-samples+ #x910E)
1243 (defconstant +max-depth-texture-samples+ #x910F)
1244 (defconstant +max-integer-samples+ #x9110)
1245 (defconstant +vertex-attrib-array-divisor+ #x88FE)
1246 (defconstant +vertex-attrib-array-divisor+ #x88FE)
1247 (defconstant +src1-color+ #x88F9)
1248 (defconstant +one-minus-src1-color+ #x88FA)
1249 (defconstant +one-minus-src1-alpha+ #x88FB)
1250 (defconstant +max-dual-source-draw-buffers+ #x88FC)
1251 (defconstant +any-samples-passed+ #x8C2F)
1252 (defconstant +sampler-binding+ #x8919)
1253 (defconstant +rgb10-a2ui+ #x906F)
1254 (defconstant +texture-swizzle-r+ #x8E42)
1255 (defconstant +texture-swizzle-g+ #x8E43)
1256 (defconstant +texture-swizzle-b+ #x8E44)
1257 (defconstant +texture-swizzle-a+ #x8E45)
1258 (defconstant +texture-swizzle-rgba+ #x8E46)
1259 (defconstant +time-elapsed+ #x88BF)
1260 (defconstant +timestamp+ #x8E28)
1261 (defconstant +int-2-10-10-10-rev+ #x8D9F)
1262 (defconstant +sample-shading+ #x8C36)
1263 (defconstant +min-sample-shading-value+ #x8C37)
1264 (defconstant +min-program-texture-gather-offset+ #x8E5E)
1265 (defconstant +max-program-texture-gather-offset+ #x8E5F)
1266 (defconstant +texture-cube-map-array+ #x9009)
1267 (defconstant +texture-binding-cube-map-array+ #x900A)
1268 (defconstant +proxy-texture-cube-map-array+ #x900B)
1269 (defconstant +sampler-cube-map-array+ #x900C)
1270 (defconstant +sampler-cube-map-array-shadow+ #x900D)
1271 (defconstant +int-sampler-cube-map-array+ #x900E)
1272 (defconstant +unsigned-int-sampler-cube-map-array+ #x900F)
1273 (defconstant +draw-indirect-buffer+ #x8F3F)
1274 (defconstant +draw-indirect-buffer-binding+ #x8F43)
1275 (defconstant +geometry-shader-invocations+ #x887F)
1276 (defconstant +max-geometry-shader-invocations+ #x8E5A)
1277 (defconstant +min-fragment-interpolation-offset+ #x8E5B)
1278 (defconstant +max-fragment-interpolation-offset+ #x8E5C)
1279 (defconstant +fragment-interpolation-offset-bits+ #x8E5D)
1280 (defconstant +max-vertex-streams+ #x8E71)
1281 (defconstant +double-vec2+ #x8FFC)
1282 (defconstant +double-vec3+ #x8FFD)
1283 (defconstant +double-vec4+ #x8FFE)
1284 (defconstant +double-mat2+ #x8F46)
1285 (defconstant +double-mat3+ #x8F47)
1286 (defconstant +double-mat4+ #x8F48)
1287 (defconstant +double-mat2x3+ #x8F49)
1288 (defconstant +double-mat2x4+ #x8F4A)
1289 (defconstant +double-mat3x2+ #x8F4B)
1290 (defconstant +double-mat3x4+ #x8F4C)
1291 (defconstant +double-mat4x2+ #x8F4D)
1292 (defconstant +double-mat4x3+ #x8F4E)
1293 (defconstant +active-subroutines+ #x8DE5)
1294 (defconstant +active-subroutine-uniforms+ #x8DE6)
1295 (defconstant +active-subroutine-uniform-locations+ #x8E47)
1296 (defconstant +active-subroutine-max-length+ #x8E48)
1297 (defconstant +active-subroutine-uniform-max-length+ #x8E49)
1298 (defconstant +max-subroutines+ #x8DE7)
1299 (defconstant +max-subroutine-uniform-locations+ #x8DE8)
1300 (defconstant +num-compatible-subroutines+ #x8E4A)
1301 (defconstant +compatible-subroutines+ #x8E4B)
1302 (defconstant +patches+ #xE)
1303 (defconstant +patch-vertices+ #x8E72)
1304 (defconstant +patch-default-inner-level+ #x8E73)
1305 (defconstant +patch-default-outer-level+ #x8E74)
1306 (defconstant +tess-control-output-vertices+ #x8E75)
1307 (defconstant +tess-gen-mode+ #x8E76)
1308 (defconstant +tess-gen-spacing+ #x8E77)
1309 (defconstant +tess-gen-vertex-order+ #x8E78)
1310 (defconstant +tess-gen-point-mode+ #x8E79)
1311 (defconstant +isolines+ #x8E7A)
1312 (defconstant +fractional-odd+ #x8E7B)
1313 (defconstant +fractional-even+ #x8E7C)
1314 (defconstant +max-patch-vertices+ #x8E7D)
1315 (defconstant +max-tess-gen-level+ #x8E7E)
1316 (defconstant +max-tess-control-uniform-components+ #x8E7F)
1317 (defconstant +max-tess-evaluation-uniform-components+ #x8E80)
1318 (defconstant +max-tess-control-texture-image-units+ #x8E81)
1319 (defconstant +max-tess-evaluation-texture-image-units+ #x8E82)
1320 (defconstant +max-tess-control-output-components+ #x8E83)
1321 (defconstant +max-tess-patch-components+ #x8E84)
1322 (defconstant +max-tess-control-total-output-components+ #x8E85)
1323 (defconstant +max-tess-evaluation-output-components+ #x8E86)
1324 (defconstant +max-tess-control-uniform-blocks+ #x8E89)
1325 (defconstant +max-tess-evaluation-uniform-blocks+ #x8E8A)
1326 (defconstant +max-tess-control-input-components+ #x886C)
1327 (defconstant +max-tess-evaluation-input-components+ #x886D)
1328 (defconstant +max-combined-tess-control-uniform-components+ #x8E1E)
1329 (defconstant +max-combined-tess-evaluation-uniform-components+ #x8E1F)
1330 (defconstant +uniform-block-referenced-by-tess-control-shader+ #x84F0)
1331 (defconstant +uniform-block-referenced-by-tess-evaluation-shader+ #x84F1)
1332 (defconstant +tess-evaluation-shader+ #x8E87)
1333 (defconstant +tess-control-shader+ #x8E88)
1334 (defconstant +transform-feedback+ #x8E22)
1335 (defconstant +transform-feedback-buffer-paused+ #x8E23)
1336 (defconstant +transform-feedback-buffer-active+ #x8E24)
1337 (defconstant +transform-feedback-binding+ #x8E25)
1338 (defconstant +max-transform-feedback-buffers+ #x8E70)
1339 (defconstant +max-vertex-streams+ #x8E71)
1340 (defconstant +fixed+ #x140C)
1341 (defconstant +implementation-color-read-type+ #x8B9A)
1342 (defconstant +implementation-color-read-format+ #x8B9B)
1343 (defconstant +low-float+ #x8DF0)
1344 (defconstant +medium-float+ #x8DF1)
1345 (defconstant +high-float+ #x8DF2)
1346 (defconstant +low-int+ #x8DF3)
1347 (defconstant +medium-int+ #x8DF4)
1348 (defconstant +high-int+ #x8DF5)
1349 (defconstant +shader-compiler+ #x8DFA)
1350 (defconstant +num-shader-binary-formats+ #x8DF9)
1351 (defconstant +max-vertex-uniform-vectors+ #x8DFB)
1352 (defconstant +max-varying-vectors+ #x8DFC)
1353 (defconstant +max-fragment-uniform-vectors+ #x8DFD)
1354 (defconstant +program-binary-retrievable-hint+ #x8257)
1355 (defconstant +program-binary-length+ #x8741)
1356 (defconstant +num-program-binary-formats+ #x87FE)
1357 (defconstant +program-binary-formats+ #x87FF)
1358 (defconstant +vertex-shader-bit+ #x1)
1359 (defconstant +fragment-shader-bit+ #x2)
1360 (defconstant +geometry-shader-bit+ #x4)
1361 (defconstant +tess-control-shader-bit+ #x8)
1362 (defconstant +tess-evaluation-shader-bit+ #x10)
1363 (defconstant +all-shader-bits+ #xFFFFFFFF)
1364 (defconstant +program-separable+ #x8258)
1365 (defconstant +active-program+ #x8259)
1366 (defconstant +program-pipeline-binding+ #x825A)
1367 (defconstant +max-viewports+ #x825B)
1368 (defconstant +viewport-subpixel-bits+ #x825C)
1369 (defconstant +viewport-bounds-range+ #x825D)
1370 (defconstant +layer-provoking-vertex+ #x825E)
1371 (defconstant +viewport-index-provoking-vertex+ #x825F)
1372 (defconstant +undefined-vertex+ #x8260)
1373 (defglfun "Viewport" viewport :return "void" :args
1374 ((:name |x| :type |WinCoord| :direction :in)
1375 (:name |y| :type |WinCoord| :direction :in)
1376 (:name |width| :type |SizeI| :direction :in)
1377 (:name |height| :type |SizeI| :direction :in))
1378 :category "VERSION_1_0" :deprecated nil :version "1.0")
1379 (defglfun "DepthRange" depth-range :return "void" :args
1380 ((:name |near| :type |ClampedFloat64| :direction :in)
1381 (:name |far| :type |ClampedFloat64| :direction :in))
1382 :category "VERSION_1_0" :deprecated nil :version "1.0")
1383 (defglfun "IsEnabled" is-enabled :return "Boolean" :args
1384 ((:name |cap| :type |EnableCap| :direction :in)) :category "VERSION_1_0"
1385 :deprecated nil :version "1.0")
1386 (defglfun "GetTexLevelParameteriv" get-tex-level-parameter-iv :return "void"
1387 :args
1388 ((:name |target| :type |TextureTarget| :direction :in)
1389 (:name |level| :type |CheckedInt32| :direction :in)
1390 (:name |pname| :type |GetTextureParameter| :direction :in)
1391 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
1392 :category "VERSION_1_0" :deprecated nil :version "1.0")
1393 (defglfun "GetTexLevelParameterfv" get-tex-level-parameter-fv :return "void"
1394 :args
1395 ((:name |target| :type |TextureTarget| :direction :in)
1396 (:name |level| :type |CheckedInt32| :direction :in)
1397 (:name |pname| :type |GetTextureParameter| :direction :in)
1398 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
1399 :category "VERSION_1_0" :deprecated nil :version "1.0")
1400 (defglfun "GetTexParameteriv" get-tex-parameter-iv :return "void" :args
1401 ((:name |target| :type |TextureTarget| :direction :in)
1402 (:name |pname| :type |GetTextureParameter| :direction :in)
1403 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
1404 :category "VERSION_1_0" :deprecated nil :version "1.0")
1405 (defglfun "GetTexParameterfv" get-tex-parameter-fv :return "void" :args
1406 ((:name |target| :type |TextureTarget| :direction :in)
1407 (:name |pname| :type |GetTextureParameter| :direction :in)
1408 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
1409 :category "VERSION_1_0" :deprecated nil :version "1.0")
1410 (defglfun "GetTexImage" get-tex-image :return "void" :args
1411 ((:name |target| :type |TextureTarget| :direction :in)
1412 (:name |level| :type |CheckedInt32| :direction :in)
1413 (:name |format| :type |PixelFormat| :direction :in)
1414 (:name |type| :type |PixelType| :direction :in)
1415 (:name |pixels| :type |Void| :direction :out :array t :size
1416 (|target| |level| |format| |type|)))
1417 :category "VERSION_1_0" :deprecated nil :version "1.0")
1418 (defglfun "GetString" get-string :return "String" :args
1419 ((:name |name| :type |StringName| :direction :in)) :category "VERSION_1_0"
1420 :deprecated nil :version "1.0")
1421 (defglfun "GetIntegerv" get-integerv :return "void" :args
1422 ((:name |pname| :type |GetPName| :direction :in)
1423 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
1424 :category "VERSION_1_0" :deprecated nil :version "1.0")
1425 (defglfun "GetFloatv" get-floatv :return "void" :args
1426 ((:name |pname| :type |GetPName| :direction :in)
1427 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
1428 :category "VERSION_1_0" :deprecated nil :version "1.0")
1429 (defglfun "GetError" get-error :return "ErrorCode" :args nil :category
1430 "VERSION_1_0" :deprecated nil :version "1.0")
1431 (defglfun "GetDoublev" get-doublev :return "void" :args
1432 ((:name |pname| :type |GetPName| :direction :in)
1433 (:name |params| :type |Float64| :direction :out :array t :size (|pname|)))
1434 :category "VERSION_1_0" :deprecated nil :version "1.0")
1435 (defglfun "GetBooleanv" get-booleanv :return "void" :args
1436 ((:name |pname| :type |GetPName| :direction :in)
1437 (:name |params| :type |Boolean| :direction :out :array t :size (|pname|)))
1438 :category "VERSION_1_0" :deprecated nil :version "1.0")
1439 (defglfun "ReadPixels" read-pixels :return "void" :args
1440 ((:name |x| :type |WinCoord| :direction :in)
1441 (:name |y| :type |WinCoord| :direction :in)
1442 (:name |width| :type |SizeI| :direction :in)
1443 (:name |height| :type |SizeI| :direction :in)
1444 (:name |format| :type |PixelFormat| :direction :in)
1445 (:name |type| :type |PixelType| :direction :in)
1446 (:name |pixels| :type |Void| :direction :out :array t :size
1447 (|format| |type| |width| |height|)))
1448 :category "VERSION_1_0" :deprecated nil :version "1.0")
1449 (defglfun "ReadBuffer" read-buffer :return "void" :args
1450 ((:name |mode| :type |ReadBufferMode| :direction :in)) :category "VERSION_1_0"
1451 :deprecated nil :version "1.0")
1452 (defglfun "PixelStorei" pixel-store-i :return "void" :args
1453 ((:name |pname| :type |PixelStoreParameter| :direction :in)
1454 (:name |param| :type |CheckedInt32| :direction :in))
1455 :category "VERSION_1_0" :deprecated nil :version "1.0")
1456 (defglfun "PixelStoref" pixel-store-f :return "void" :args
1457 ((:name |pname| :type |PixelStoreParameter| :direction :in)
1458 (:name |param| :type |CheckedFloat32| :direction :in))
1459 :category "VERSION_1_0" :deprecated nil :version "1.0")
1460 (defglfun "DepthFunc" depth-func :return "void" :args
1461 ((:name |func| :type |DepthFunction| :direction :in)) :category "VERSION_1_0"
1462 :deprecated nil :version "1.0")
1463 (defglfun "StencilOp" stencil-op :return "void" :args
1464 ((:name |fail| :type |StencilOp| :direction :in)
1465 (:name |zfail| :type |StencilOp| :direction :in)
1466 (:name |zpass| :type |StencilOp| :direction :in))
1467 :category "VERSION_1_0" :deprecated nil :version "1.0")
1468 (defglfun "StencilFunc" stencil-func :return "void" :args
1469 ((:name |func| :type |StencilFunction| :direction :in)
1470 (:name |ref| :type |ClampedStencilValue| :direction :in)
1471 (:name |mask| :type |MaskedStencilValue| :direction :in))
1472 :category "VERSION_1_0" :deprecated nil :version "1.0")
1473 (defglfun "LogicOp" logic-op :return "void" :args
1474 ((:name |opcode| :type |LogicOp| :direction :in)) :category "VERSION_1_0"
1475 :deprecated nil :version "1.0")
1476 (defglfun "BlendFunc" blend-func :return "void" :args
1477 ((:name |sfactor| :type |BlendingFactorSrc| :direction :in)
1478 (:name |dfactor| :type |BlendingFactorDest| :direction :in))
1479 :category "VERSION_1_0" :deprecated nil :version "1.0")
1480 (defglfun "Flush" flush :return "void" :args nil :category "VERSION_1_0"
1481 :deprecated nil :version "1.0")
1482 (defglfun "Finish" finish :return "void" :args nil :category "VERSION_1_0"
1483 :deprecated nil :version "1.0")
1484 (defglfun "Enable" enable :return "void" :args
1485 ((:name |cap| :type |EnableCap| :direction :in)) :category "VERSION_1_0"
1486 :deprecated nil :version "1.0")
1487 (defglfun "Disable" disable :return "void" :args
1488 ((:name |cap| :type |EnableCap| :direction :in)) :category "VERSION_1_0"
1489 :deprecated nil :version "1.0")
1490 (defglfun "DepthMask" depth-mask :return "void" :args
1491 ((:name |flag| :type |Boolean| :direction :in)) :category "VERSION_1_0"
1492 :deprecated nil :version "1.0")
1493 (defglfun "ColorMask" color-mask :return "void" :args
1494 ((:name |red| :type |Boolean| :direction :in)
1495 (:name |green| :type |Boolean| :direction :in)
1496 (:name |blue| :type |Boolean| :direction :in)
1497 (:name |alpha| :type |Boolean| :direction :in))
1498 :category "VERSION_1_0" :deprecated nil :version "1.0")
1499 (defglfun "StencilMask" stencil-mask :return "void" :args
1500 ((:name |mask| :type |MaskedStencilValue| :direction :in)) :category
1501 "VERSION_1_0" :deprecated nil :version "1.0")
1502 (defglfun "ClearDepth" clear-depth :return "void" :args
1503 ((:name |depth| :type |ClampedFloat64| :direction :in)) :category
1504 "VERSION_1_0" :deprecated nil :version "1.0")
1505 (defglfun "ClearStencil" clear-stencil :return "void" :args
1506 ((:name |s| :type |StencilValue| :direction :in)) :category "VERSION_1_0"
1507 :deprecated nil :version "1.0")
1508 (defglfun "ClearColor" clear-color :return "void" :args
1509 ((:name |red| :type |ClampedColorF| :direction :in)
1510 (:name |green| :type |ClampedColorF| :direction :in)
1511 (:name |blue| :type |ClampedColorF| :direction :in)
1512 (:name |alpha| :type |ClampedColorF| :direction :in))
1513 :category "VERSION_1_0" :deprecated nil :version "1.0")
1514 (defglfun "Clear" clear :return "void" :args
1515 ((:name |mask| :type |ClearBufferMask| :direction :in)) :category
1516 "VERSION_1_0" :deprecated nil :version "1.0")
1517 (defglfun "DrawBuffer" draw-buffer :return "void" :args
1518 ((:name |mode| :type |DrawBufferMode| :direction :in)) :category "VERSION_1_0"
1519 :deprecated nil :version "1.0")
1520 (defglfun "TexImage2D" tex-image-2d :return "void" :args
1521 ((:name |target| :type |TextureTarget| :direction :in)
1522 (:name |level| :type |CheckedInt32| :direction :in)
1523 (:name |internalformat| :type |TextureComponentCount| :direction :in)
1524 (:name |width| :type |SizeI| :direction :in)
1525 (:name |height| :type |SizeI| :direction :in)
1526 (:name |border| :type |CheckedInt32| :direction :in)
1527 (:name |format| :type |PixelFormat| :direction :in)
1528 (:name |type| :type |PixelType| :direction :in)
1529 (:name |pixels| :type |Void| :direction :in :array t :size
1530 (|format| |type| |width| |height|)))
1531 :category "VERSION_1_0" :deprecated nil :version "1.0")
1532 (defglfun "TexImage1D" tex-image-1d :return "void" :args
1533 ((:name |target| :type |TextureTarget| :direction :in)
1534 (:name |level| :type |CheckedInt32| :direction :in)
1535 (:name |internalformat| :type |TextureComponentCount| :direction :in)
1536 (:name |width| :type |SizeI| :direction :in)
1537 (:name |border| :type |CheckedInt32| :direction :in)
1538 (:name |format| :type |PixelFormat| :direction :in)
1539 (:name |type| :type |PixelType| :direction :in)
1540 (:name |pixels| :type |Void| :direction :in :array t :size
1541 (|format| |type| |width|)))
1542 :category "VERSION_1_0" :deprecated nil :version "1.0")
1543 (defglfun "TexParameteriv" tex-parameter-iv :return "void" :args
1544 ((:name |target| :type |TextureTarget| :direction :in)
1545 (:name |pname| :type |TextureParameterName| :direction :in)
1546 (:name |params| :type |CheckedInt32| :direction :in :array t :size
1547 (|pname|)))
1548 :category "VERSION_1_0" :deprecated nil :version "1.0")
1549 (defglfun "TexParameteri" tex-parameter-i :return "void" :args
1550 ((:name |target| :type |TextureTarget| :direction :in)
1551 (:name |pname| :type |TextureParameterName| :direction :in)
1552 (:name |param| :type |CheckedInt32| :direction :in))
1553 :category "VERSION_1_0" :deprecated nil :version "1.0")
1554 (defglfun "TexParameterfv" tex-parameter-fv :return "void" :args
1555 ((:name |target| :type |TextureTarget| :direction :in)
1556 (:name |pname| :type |TextureParameterName| :direction :in)
1557 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
1558 (|pname|)))
1559 :category "VERSION_1_0" :deprecated nil :version "1.0")
1560 (defglfun "TexParameterf" tex-parameter-f :return "void" :args
1561 ((:name |target| :type |TextureTarget| :direction :in)
1562 (:name |pname| :type |TextureParameterName| :direction :in)
1563 (:name |param| :type |CheckedFloat32| :direction :in))
1564 :category "VERSION_1_0" :deprecated nil :version "1.0")
1565 (defglfun "Scissor" scissor :return "void" :args
1566 ((:name |x| :type |WinCoord| :direction :in)
1567 (:name |y| :type |WinCoord| :direction :in)
1568 (:name |width| :type |SizeI| :direction :in)
1569 (:name |height| :type |SizeI| :direction :in))
1570 :category "VERSION_1_0" :deprecated nil :version "1.0")
1571 (defglfun "PolygonMode" polygon-mode :return "void" :args
1572 ((:name |face| :type |MaterialFace| :direction :in)
1573 (:name |mode| :type |PolygonMode| :direction :in))
1574 :category "VERSION_1_0" :deprecated nil :version "1.0")
1575 (defglfun "PointSize" point-size :return "void" :args
1576 ((:name |size| :type |CheckedFloat32| :direction :in)) :category "VERSION_1_0"
1577 :deprecated nil :version "1.0")
1578 (defglfun "LineWidth" line-width :return "void" :args
1579 ((:name |width| :type |CheckedFloat32| :direction :in)) :category
1580 "VERSION_1_0" :deprecated nil :version "1.0")
1581 (defglfun "Hint" hint :return "void" :args
1582 ((:name |target| :type |HintTarget| :direction :in)
1583 (:name |mode| :type |HintMode| :direction :in))
1584 :category "VERSION_1_0" :deprecated nil :version "1.0")
1585 (defglfun "FrontFace" front-face :return "void" :args
1586 ((:name |mode| :type |FrontFaceDirection| :direction :in)) :category
1587 "VERSION_1_0" :deprecated nil :version "1.0")
1588 (defglfun "CullFace" cull-face :return "void" :args
1589 ((:name |mode| :type |CullFaceMode| :direction :in)) :category "VERSION_1_0"
1590 :deprecated nil :version "1.0")
1591 (defglfun "Indexubv" index-ubv :return "void" :args
1592 ((:name |c| :type |ColorIndexValueUB| :direction :in :array t :size #x1))
1593 :category "VERSION_1_1" :deprecated nil :version "1.1")
1594 (defglfun "Indexub" index-ub :return "void" :args
1595 ((:name |c| :type |ColorIndexValueUB| :direction :in)) :category "VERSION_1_1"
1596 :deprecated nil :version "1.1")
1597 (defglfun "IsTexture" is-texture :return "Boolean" :args
1598 ((:name |texture| :type |Texture| :direction :in)) :category "VERSION_1_1"
1599 :deprecated nil :version "1.1")
1600 (defglfun "GenTextures" gen-textures :return "void" :args
1601 ((:name |n| :type |SizeI| :direction :in)
1602 (:name |textures| :type |Texture| :direction :out :array t :size n))
1603 :category "VERSION_1_1" :deprecated nil :version "1.1")
1604 (defglfun "DeleteTextures" delete-textures :return "void" :args
1605 ((:name |n| :type |SizeI| :direction :in)
1606 (:name |textures| :type |Texture| :direction :in :array t :size n))
1607 :category "VERSION_1_1" :deprecated nil :version "1.1")
1608 (defglfun "BindTexture" bind-texture :return "void" :args
1609 ((:name |target| :type |TextureTarget| :direction :in)
1610 (:name |texture| :type |Texture| :direction :in))
1611 :category "VERSION_1_1" :deprecated nil :version "1.1")
1612 (defglfun "TexSubImage2D" tex-sub-image-2d :return "void" :args
1613 ((:name |target| :type |TextureTarget| :direction :in)
1614 (:name |level| :type |CheckedInt32| :direction :in)
1615 (:name |xoffset| :type |CheckedInt32| :direction :in)
1616 (:name |yoffset| :type |CheckedInt32| :direction :in)
1617 (:name |width| :type |SizeI| :direction :in)
1618 (:name |height| :type |SizeI| :direction :in)
1619 (:name |format| :type |PixelFormat| :direction :in)
1620 (:name |type| :type |PixelType| :direction :in)
1621 (:name |pixels| :type |Void| :direction :in :array t :size
1622 (|format| |type| |width| |height|)))
1623 :category "VERSION_1_1" :deprecated nil :version "1.1")
1624 (defglfun "TexSubImage1D" tex-sub-image-1d :return "void" :args
1625 ((:name |target| :type |TextureTarget| :direction :in)
1626 (:name |level| :type |CheckedInt32| :direction :in)
1627 (:name |xoffset| :type |CheckedInt32| :direction :in)
1628 (:name |width| :type |SizeI| :direction :in)
1629 (:name |format| :type |PixelFormat| :direction :in)
1630 (:name |type| :type |PixelType| :direction :in)
1631 (:name |pixels| :type |Void| :direction :in :array t :size
1632 (|format| |type| |width|)))
1633 :category "VERSION_1_1" :deprecated nil :version "1.1")
1634 (defglfun "CopyTexSubImage2D" copy-tex-sub-image-2d :return "void" :args
1635 ((:name |target| :type |TextureTarget| :direction :in)
1636 (:name |level| :type |CheckedInt32| :direction :in)
1637 (:name |xoffset| :type |CheckedInt32| :direction :in)
1638 (:name |yoffset| :type |CheckedInt32| :direction :in)
1639 (:name |x| :type |WinCoord| :direction :in)
1640 (:name |y| :type |WinCoord| :direction :in)
1641 (:name |width| :type |SizeI| :direction :in)
1642 (:name |height| :type |SizeI| :direction :in))
1643 :category "VERSION_1_1" :deprecated nil :version "1.1")
1644 (defglfun "CopyTexSubImage1D" copy-tex-sub-image-1d :return "void" :args
1645 ((:name |target| :type |TextureTarget| :direction :in)
1646 (:name |level| :type |CheckedInt32| :direction :in)
1647 (:name |xoffset| :type |CheckedInt32| :direction :in)
1648 (:name |x| :type |WinCoord| :direction :in)
1649 (:name |y| :type |WinCoord| :direction :in)
1650 (:name |width| :type |SizeI| :direction :in))
1651 :category "VERSION_1_1" :deprecated nil :version "1.1")
1652 (defglfun "CopyTexImage2D" copy-tex-image-2d :return "void" :args
1653 ((:name |target| :type |TextureTarget| :direction :in)
1654 (:name |level| :type |CheckedInt32| :direction :in)
1655 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
1656 (:name |x| :type |WinCoord| :direction :in)
1657 (:name |y| :type |WinCoord| :direction :in)
1658 (:name |width| :type |SizeI| :direction :in)
1659 (:name |height| :type |SizeI| :direction :in)
1660 (:name |border| :type |CheckedInt32| :direction :in))
1661 :category "VERSION_1_1" :deprecated nil :version "1.1")
1662 (defglfun "CopyTexImage1D" copy-tex-image-1d :return "void" :args
1663 ((:name |target| :type |TextureTarget| :direction :in)
1664 (:name |level| :type |CheckedInt32| :direction :in)
1665 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
1666 (:name |x| :type |WinCoord| :direction :in)
1667 (:name |y| :type |WinCoord| :direction :in)
1668 (:name |width| :type |SizeI| :direction :in)
1669 (:name |border| :type |CheckedInt32| :direction :in))
1670 :category "VERSION_1_1" :deprecated nil :version "1.1")
1671 (defglfun "PolygonOffset" polygon-offset :return "void" :args
1672 ((:name |factor| :type |Float32| :direction :in)
1673 (:name |units| :type |Float32| :direction :in))
1674 :category "VERSION_1_1" :deprecated nil :version "1.1")
1675 (defglfun "GetPointerv" get-pointerv :return "void" :args
1676 ((:name |pname| :type |GetPointervPName| :direction :in)
1677 (:name |params| :type |VoidPointer| :direction :out :array t :size #x1))
1678 :category "VERSION_1_1" :deprecated nil :version "1.1")
1679 (defglfun "DrawElements" draw-elements :return "void" :args
1680 ((:name |mode| :type |BeginMode| :direction :in)
1681 (:name |count| :type |SizeI| :direction :in)
1682 (:name |type| :type |DrawElementsType| :direction :in)
1683 (:name |indices| :type |Void| :direction :in :array t :size
1684 (|count| |type|)))
1685 :category "VERSION_1_1" :deprecated nil :version "1.1")
1686 (defglfun "DrawArrays" draw-arrays :return "void" :args
1687 ((:name |mode| :type |BeginMode| :direction :in)
1688 (:name |first| :type |Int32| :direction :in)
1689 (:name |count| :type |SizeI| :direction :in))
1690 :category "VERSION_1_1" :deprecated nil :version "1.1")
1691 (defglextfun "CopyTexSubImage3D" copy-tex-sub-image-3d :return "void" :args
1692 ((:name |target| :type |TextureTarget| :direction :in)
1693 (:name |level| :type |CheckedInt32| :direction :in)
1694 (:name |xoffset| :type |CheckedInt32| :direction :in)
1695 (:name |yoffset| :type |CheckedInt32| :direction :in)
1696 (:name |zoffset| :type |CheckedInt32| :direction :in)
1697 (:name |x| :type |WinCoord| :direction :in)
1698 (:name |y| :type |WinCoord| :direction :in)
1699 (:name |width| :type |SizeI| :direction :in)
1700 (:name |height| :type |SizeI| :direction :in))
1701 :category "VERSION_1_2" :deprecated nil :version "1.2")
1702 (defglextfun "TexSubImage3D" tex-sub-image-3d :return "void" :args
1703 ((:name |target| :type |TextureTarget| :direction :in)
1704 (:name |level| :type |CheckedInt32| :direction :in)
1705 (:name |xoffset| :type |CheckedInt32| :direction :in)
1706 (:name |yoffset| :type |CheckedInt32| :direction :in)
1707 (:name |zoffset| :type |CheckedInt32| :direction :in)
1708 (:name |width| :type |SizeI| :direction :in)
1709 (:name |height| :type |SizeI| :direction :in)
1710 (:name |depth| :type |SizeI| :direction :in)
1711 (:name |format| :type |PixelFormat| :direction :in)
1712 (:name |type| :type |PixelType| :direction :in)
1713 (:name |pixels| :type |Void| :direction :in :array t :size
1714 (|format| |type| |width| |height| |depth|)))
1715 :category "VERSION_1_2" :deprecated nil :version "1.2")
1716 (defglextfun "DrawRangeElements" draw-range-elements :return "void" :args
1717 ((:name |mode| :type |BeginMode| :direction :in)
1718 (:name |start| :type |UInt32| :direction :in)
1719 (:name |end| :type |UInt32| :direction :in)
1720 (:name |count| :type |SizeI| :direction :in)
1721 (:name |type| :type |DrawElementsType| :direction :in)
1722 (:name |indices| :type |Void| :direction :in :array t :size
1723 (|count| |type|)))
1724 :category "VERSION_1_2" :deprecated nil :version "1.2")
1725 (defglextfun "BlendEquation" blend-equation :return "void" :args
1726 ((:name |mode| :type |BlendEquationMode| :direction :in)) :category
1727 "VERSION_1_2" :deprecated nil :version "1.2")
1728 (defglextfun "BlendColor" blend-color :return "void" :args
1729 ((:name |red| :type |ClampedColorF| :direction :in)
1730 (:name |green| :type |ClampedColorF| :direction :in)
1731 (:name |blue| :type |ClampedColorF| :direction :in)
1732 (:name |alpha| :type |ClampedColorF| :direction :in))
1733 :category "VERSION_1_2" :deprecated nil :version "1.2")
1734 (defglextfun "GetCompressedTexImage" get-compressed-tex-image :return "void"
1735 :args
1736 ((:name |target| :type |TextureTarget| :direction :in)
1737 (:name |level| :type |CheckedInt32| :direction :in)
1738 (:name |img| :type |CompressedTextureARB| :direction :out :array t :size
1739 (|target| |level|)))
1740 :category "VERSION_1_3" :deprecated nil :version "1.3")
1741 (defglextfun "CompressedTexSubImage1D" compressed-tex-sub-image-1d :return
1742 "void" :args
1743 ((:name |target| :type |TextureTarget| :direction :in)
1744 (:name |level| :type |CheckedInt32| :direction :in)
1745 (:name |xoffset| :type |CheckedInt32| :direction :in)
1746 (:name |width| :type |SizeI| :direction :in)
1747 (:name |format| :type |PixelFormat| :direction :in)
1748 (:name |imageSize| :type |SizeI| :direction :in)
1749 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1750 imagesize))
1751 :category "VERSION_1_3" :deprecated nil :version "1.3")
1752 (defglextfun "CompressedTexSubImage2D" compressed-tex-sub-image-2d :return
1753 "void" :args
1754 ((:name |target| :type |TextureTarget| :direction :in)
1755 (:name |level| :type |CheckedInt32| :direction :in)
1756 (:name |xoffset| :type |CheckedInt32| :direction :in)
1757 (:name |yoffset| :type |CheckedInt32| :direction :in)
1758 (:name |width| :type |SizeI| :direction :in)
1759 (:name |height| :type |SizeI| :direction :in)
1760 (:name |format| :type |PixelFormat| :direction :in)
1761 (:name |imageSize| :type |SizeI| :direction :in)
1762 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1763 imagesize))
1764 :category "VERSION_1_3" :deprecated nil :version "1.3")
1765 (defglextfun "CompressedTexSubImage3D" compressed-tex-sub-image-3d :return
1766 "void" :args
1767 ((:name |target| :type |TextureTarget| :direction :in)
1768 (:name |level| :type |CheckedInt32| :direction :in)
1769 (:name |xoffset| :type |CheckedInt32| :direction :in)
1770 (:name |yoffset| :type |CheckedInt32| :direction :in)
1771 (:name |zoffset| :type |CheckedInt32| :direction :in)
1772 (:name |width| :type |SizeI| :direction :in)
1773 (:name |height| :type |SizeI| :direction :in)
1774 (:name |depth| :type |SizeI| :direction :in)
1775 (:name |format| :type |PixelFormat| :direction :in)
1776 (:name |imageSize| :type |SizeI| :direction :in)
1777 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1778 imagesize))
1779 :category "VERSION_1_3" :deprecated nil :version "1.3")
1780 (defglextfun "CompressedTexImage1D" compressed-tex-image-1d :return "void"
1781 :args
1782 ((:name |target| :type |TextureTarget| :direction :in)
1783 (:name |level| :type |CheckedInt32| :direction :in)
1784 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
1785 (:name |width| :type |SizeI| :direction :in)
1786 (:name |border| :type |CheckedInt32| :direction :in)
1787 (:name |imageSize| :type |SizeI| :direction :in)
1788 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1789 imagesize))
1790 :category "VERSION_1_3" :deprecated nil :version "1.3")
1791 (defglextfun "CompressedTexImage2D" compressed-tex-image-2d :return "void"
1792 :args
1793 ((:name |target| :type |TextureTarget| :direction :in)
1794 (:name |level| :type |CheckedInt32| :direction :in)
1795 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
1796 (:name |width| :type |SizeI| :direction :in)
1797 (:name |height| :type |SizeI| :direction :in)
1798 (:name |border| :type |CheckedInt32| :direction :in)
1799 (:name |imageSize| :type |SizeI| :direction :in)
1800 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1801 imagesize))
1802 :category "VERSION_1_3" :deprecated nil :version "1.3")
1803 (defglextfun "CompressedTexImage3D" compressed-tex-image-3d :return "void"
1804 :args
1805 ((:name |target| :type |TextureTarget| :direction :in)
1806 (:name |level| :type |CheckedInt32| :direction :in)
1807 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
1808 (:name |width| :type |SizeI| :direction :in)
1809 (:name |height| :type |SizeI| :direction :in)
1810 (:name |depth| :type |SizeI| :direction :in)
1811 (:name |border| :type |CheckedInt32| :direction :in)
1812 (:name |imageSize| :type |SizeI| :direction :in)
1813 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
1814 imagesize))
1815 :category "VERSION_1_3" :deprecated nil :version "1.3")
1816 (defglextfun "SampleCoverage" sample-coverage :return "void" :args
1817 ((:name |value| :type |ClampedFloat32| :direction :in)
1818 (:name |invert| :type |Boolean| :direction :in))
1819 :category "VERSION_1_3" :deprecated nil :version "1.3")
1820 (defglextfun "ActiveTexture" active-texture :return "void" :args
1821 ((:name |texture| :type |TextureUnit| :direction :in)) :category "VERSION_1_3"
1822 :deprecated nil :version "1.3")
1823 (defglextfun "PointParameteriv" point-parameter-iv :return "void" :args
1824 ((:name |pname| :type |PointParameterNameARB| :direction :in)
1825 (:name |params| :type |Int32| :direction :in :array t :size (|pname|)))
1826 :category "VERSION_1_4" :deprecated nil :version "1.4")
1827 (defglextfun "PointParameteri" point-parameter-i :return "void" :args
1828 ((:name |pname| :type |PointParameterNameARB| :direction :in)
1829 (:name |param| :type |Int32| :direction :in))
1830 :category "VERSION_1_4" :deprecated nil :version "1.4")
1831 (defglextfun "PointParameterfv" point-parameter-fv :return "void" :args
1832 ((:name |pname| :type |PointParameterNameARB| :direction :in)
1833 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
1834 (|pname|)))
1835 :category "VERSION_1_4" :deprecated nil :version "1.4")
1836 (defglextfun "PointParameterf" point-parameter-f :return "void" :args
1837 ((:name |pname| :type |PointParameterNameARB| :direction :in)
1838 (:name |param| :type |CheckedFloat32| :direction :in))
1839 :category "VERSION_1_4" :deprecated nil :version "1.4")
1840 (defglextfun "MultiDrawElements" multi-draw-elements :return "void" :args
1841 ((:name |mode| :type |BeginMode| :direction :in)
1842 (:name |count| :type |SizeI| :direction :in :array t :size (|primcount|))
1843 (:name |type| :type |DrawElementsType| :direction :in)
1844 (:name |indices| :type |VoidPointer| :direction :in :array t :size
1845 (|primcount|))
1846 (:name |primcount| :type |SizeI| :direction :in))
1847 :category "VERSION_1_4" :deprecated nil :version "1.4")
1848 (defglextfun "MultiDrawArrays" multi-draw-arrays :return "void" :args
1849 ((:name |mode| :type |BeginMode| :direction :in)
1850 (:name |first| :type |Int32| :direction :in :array t :size (|count|))
1851 (:name |count| :type |SizeI| :direction :in :array t :size (|primcount|))
1852 (:name |primcount| :type |SizeI| :direction :in))
1853 :category "VERSION_1_4" :deprecated nil :version "1.4")
1854 (defglextfun "BlendFuncSeparate" blend-func-separate :return "void" :args
1855 ((:name |sfactorRGB| :type |BlendFuncSeparateParameterEXT| :direction :in)
1856 (:name |dfactorRGB| :type |BlendFuncSeparateParameterEXT| :direction :in)
1857 (:name |sfactorAlpha| :type |BlendFuncSeparateParameterEXT| :direction :in)
1858 (:name |dfactorAlpha| :type |BlendFuncSeparateParameterEXT| :direction :in))
1859 :category "VERSION_1_4" :deprecated nil :version "1.4")
1860 (defglextfun "GetBufferPointerv" get-buffer-pointerv :return "void" :args
1861 ((:name |target| :type |BufferTargetARB| :direction :in)
1862 (:name |pname| :type |BufferPointerNameARB| :direction :in)
1863 (:name |params| :type |VoidPointer| :direction :out :array t :size #x1))
1864 :category "VERSION_1_5" :deprecated nil :version "1.5")
1865 (defglextfun "GetBufferParameteriv" get-buffer-parameter-iv :return "void"
1866 :args
1867 ((:name |target| :type |BufferTargetARB| :direction :in)
1868 (:name |pname| :type |BufferPNameARB| :direction :in)
1869 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
1870 :category "VERSION_1_5" :deprecated nil :version "1.5")
1871 (defglextfun "UnmapBuffer" unmap-buffer :return "Boolean" :args
1872 ((:name |target| :type |BufferTargetARB| :direction :in)) :category
1873 "VERSION_1_5" :deprecated nil :version "1.5")
1874 (defglextfun "MapBuffer" map-buffer :return "VoidPointer" :args
1875 ((:name |target| :type |BufferTargetARB| :direction :in)
1876 (:name |access| :type |BufferAccessARB| :direction :in))
1877 :category "VERSION_1_5" :deprecated nil :version "1.5")
1878 (defglextfun "GetBufferSubData" get-buffer-sub-data :return "void" :args
1879 ((:name |target| :type |BufferTargetARB| :direction :in)
1880 (:name |offset| :type |BufferOffset| :direction :in)
1881 (:name |size| :type |BufferSize| :direction :in)
1882 (:name |data| :type |Void| :direction :out :array t :size size))
1883 :category "VERSION_1_5" :deprecated nil :version "1.5")
1884 (defglextfun "BufferSubData" buffer-sub-data :return "void" :args
1885 ((:name |target| :type |BufferTargetARB| :direction :in)
1886 (:name |offset| :type |BufferOffset| :direction :in)
1887 (:name |size| :type |BufferSize| :direction :in)
1888 (:name |data| :type |ConstVoid| :direction :in :array t :size size))
1889 :category "VERSION_1_5" :deprecated nil :version "1.5")
1890 (defglextfun "BufferData" buffer-data :return "void" :args
1891 ((:name |target| :type |BufferTargetARB| :direction :in)
1892 (:name |size| :type |BufferSize| :direction :in)
1893 (:name |data| :type |ConstVoid| :direction :in :array t :size size)
1894 (:name |usage| :type |BufferUsageARB| :direction :in))
1895 :category "VERSION_1_5" :deprecated nil :version "1.5")
1896 (defglextfun "IsBuffer" is-buffer :return "Boolean" :args
1897 ((:name |buffer| :type |UInt32| :direction :in)) :category "VERSION_1_5"
1898 :deprecated nil :version "1.5")
1899 (defglextfun "GenBuffers" gen-buffers :return "void" :args
1900 ((:name |n| :type |SizeI| :direction :in)
1901 (:name |buffers| :type |UInt32| :direction :out :array t :size n))
1902 :category "VERSION_1_5" :deprecated nil :version "1.5")
1903 (defglextfun "DeleteBuffers" delete-buffers :return "void" :args
1904 ((:name |n| :type |SizeI| :direction :in)
1905 (:name |buffers| :type |ConstUInt32| :direction :in :array t :size n))
1906 :category "VERSION_1_5" :deprecated nil :version "1.5")
1907 (defglextfun "BindBuffer" bind-buffer :return "void" :args
1908 ((:name |target| :type |BufferTargetARB| :direction :in)
1909 (:name |buffer| :type |UInt32| :direction :in))
1910 :category "VERSION_1_5" :deprecated nil :version "1.5")
1911 (defglextfun "GetQueryObjectuiv" get-query-object-uiv :return "void" :args
1912 ((:name |id| :type |UInt32| :direction :in)
1913 (:name |pname| :type |GLenum| :direction :in)
1914 (:name |params| :type |UInt32| :direction :out :array t :size pname))
1915 :category "VERSION_1_5" :deprecated nil :version "1.5")
1916 (defglextfun "GetQueryObjectiv" get-query-object-iv :return "void" :args
1917 ((:name |id| :type |UInt32| :direction :in)
1918 (:name |pname| :type |GLenum| :direction :in)
1919 (:name |params| :type |Int32| :direction :out :array t :size pname))
1920 :category "VERSION_1_5" :deprecated nil :version "1.5")
1921 (defglextfun "GetQueryiv" get-query-iv :return "void" :args
1922 ((:name |target| :type |GLenum| :direction :in)
1923 (:name |pname| :type |GLenum| :direction :in)
1924 (:name |params| :type |Int32| :direction :out :array t :size pname))
1925 :category "VERSION_1_5" :deprecated nil :version "1.5")
1926 (defglextfun "EndQuery" end-query :return "void" :args
1927 ((:name |target| :type |GLenum| :direction :in)) :category "VERSION_1_5"
1928 :deprecated nil :version "1.5")
1929 (defglextfun "BeginQuery" begin-query :return "void" :args
1930 ((:name |target| :type |GLenum| :direction :in)
1931 (:name |id| :type |UInt32| :direction :in))
1932 :category "VERSION_1_5" :deprecated nil :version "1.5")
1933 (defglextfun "IsQuery" is-query :return "Boolean" :args
1934 ((:name |id| :type |UInt32| :direction :in)) :category "VERSION_1_5"
1935 :deprecated nil :version "1.5")
1936 (defglextfun "DeleteQueries" delete-queries :return "void" :args
1937 ((:name |n| :type |SizeI| :direction :in)
1938 (:name |ids| :type |UInt32| :direction :in :array t :size n))
1939 :category "VERSION_1_5" :deprecated nil :version "1.5")
1940 (defglextfun "GenQueries" gen-queries :return "void" :args
1941 ((:name |n| :type |SizeI| :direction :in)
1942 (:name |ids| :type |UInt32| :direction :out :array t :size n))
1943 :category "VERSION_1_5" :deprecated nil :version "1.5")
1944 (defglextfun "VertexAttribPointer" vertex-attrib-pointer :return "void" :args
1945 ((:name |index| :type |UInt32| :direction :in)
1946 (:name |size| :type |Int32| :direction :in)
1947 (:name |type| :type |VertexAttribPointerTypeARB| :direction :in)
1948 (:name |normalized| :type |Boolean| :direction :in)
1949 (:name |stride| :type |SizeI| :direction :in)
1950 (:name |pointer| :type |Void| :direction :in :array t :size
1951 (|size| |type| |stride|) :retained t))
1952 :category "VERSION_2_0" :deprecated nil :version "2.0")
1953 (defglextfun "ValidateProgram" validate-program :return "void" :args
1954 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
1955 :deprecated nil :version "2.0")
1956 (defglextfun "UniformMatrix4fv" uniform-matrix-4fv :return "void" :args
1957 ((:name |location| :type |Int32| :direction :in)
1958 (:name |count| :type |SizeI| :direction :in)
1959 (:name |transpose| :type |Boolean| :direction :in)
1960 (:name |value| :type |Float32| :direction :in :array t :size count))
1961 :category "VERSION_2_0" :deprecated nil :version "2.0")
1962 (defglextfun "UniformMatrix3fv" uniform-matrix-3fv :return "void" :args
1963 ((:name |location| :type |Int32| :direction :in)
1964 (:name |count| :type |SizeI| :direction :in)
1965 (:name |transpose| :type |Boolean| :direction :in)
1966 (:name |value| :type |Float32| :direction :in :array t :size count))
1967 :category "VERSION_2_0" :deprecated nil :version "2.0")
1968 (defglextfun "UniformMatrix2fv" uniform-matrix-2fv :return "void" :args
1969 ((:name |location| :type |Int32| :direction :in)
1970 (:name |count| :type |SizeI| :direction :in)
1971 (:name |transpose| :type |Boolean| :direction :in)
1972 (:name |value| :type |Float32| :direction :in :array t :size count))
1973 :category "VERSION_2_0" :deprecated nil :version "2.0")
1974 (defglextfun "Uniform4iv" uniform-4iv :return "void" :args
1975 ((:name |location| :type |Int32| :direction :in)
1976 (:name |count| :type |SizeI| :direction :in)
1977 (:name |value| :type |Int32| :direction :in :array t :size count))
1978 :category "VERSION_2_0" :deprecated nil :version "2.0")
1979 (defglextfun "Uniform3iv" uniform-3iv :return "void" :args
1980 ((:name |location| :type |Int32| :direction :in)
1981 (:name |count| :type |SizeI| :direction :in)
1982 (:name |value| :type |Int32| :direction :in :array t :size count))
1983 :category "VERSION_2_0" :deprecated nil :version "2.0")
1984 (defglextfun "Uniform2iv" uniform-2iv :return "void" :args
1985 ((:name |location| :type |Int32| :direction :in)
1986 (:name |count| :type |SizeI| :direction :in)
1987 (:name |value| :type |Int32| :direction :in :array t :size count))
1988 :category "VERSION_2_0" :deprecated nil :version "2.0")
1989 (defglextfun "Uniform1iv" uniform-1iv :return "void" :args
1990 ((:name |location| :type |Int32| :direction :in)
1991 (:name |count| :type |SizeI| :direction :in)
1992 (:name |value| :type |Int32| :direction :in :array t :size count))
1993 :category "VERSION_2_0" :deprecated nil :version "2.0")
1994 (defglextfun "Uniform4fv" uniform-4fv :return "void" :args
1995 ((:name |location| :type |Int32| :direction :in)
1996 (:name |count| :type |SizeI| :direction :in)
1997 (:name |value| :type |Float32| :direction :in :array t :size count))
1998 :category "VERSION_2_0" :deprecated nil :version "2.0")
1999 (defglextfun "Uniform3fv" uniform-3fv :return "void" :args
2000 ((:name |location| :type |Int32| :direction :in)
2001 (:name |count| :type |SizeI| :direction :in)
2002 (:name |value| :type |Float32| :direction :in :array t :size count))
2003 :category "VERSION_2_0" :deprecated nil :version "2.0")
2004 (defglextfun "Uniform2fv" uniform-2fv :return "void" :args
2005 ((:name |location| :type |Int32| :direction :in)
2006 (:name |count| :type |SizeI| :direction :in)
2007 (:name |value| :type |Float32| :direction :in :array t :size count))
2008 :category "VERSION_2_0" :deprecated nil :version "2.0")
2009 (defglextfun "Uniform1fv" uniform-1fv :return "void" :args
2010 ((:name |location| :type |Int32| :direction :in)
2011 (:name |count| :type |SizeI| :direction :in)
2012 (:name |value| :type |Float32| :direction :in :array t :size count))
2013 :category "VERSION_2_0" :deprecated nil :version "2.0")
2014 (defglextfun "Uniform4i" uniform-4i :return "void" :args
2015 ((:name |location| :type |Int32| :direction :in)
2016 (:name |v0| :type |Int32| :direction :in)
2017 (:name |v1| :type |Int32| :direction :in)
2018 (:name |v2| :type |Int32| :direction :in)
2019 (:name |v3| :type |Int32| :direction :in))
2020 :category "VERSION_2_0" :deprecated nil :version "2.0")
2021 (defglextfun "Uniform3i" uniform-3i :return "void" :args
2022 ((:name |location| :type |Int32| :direction :in)
2023 (:name |v0| :type |Int32| :direction :in)
2024 (:name |v1| :type |Int32| :direction :in)
2025 (:name |v2| :type |Int32| :direction :in))
2026 :category "VERSION_2_0" :deprecated nil :version "2.0")
2027 (defglextfun "Uniform2i" uniform-2i :return "void" :args
2028 ((:name |location| :type |Int32| :direction :in)
2029 (:name |v0| :type |Int32| :direction :in)
2030 (:name |v1| :type |Int32| :direction :in))
2031 :category "VERSION_2_0" :deprecated nil :version "2.0")
2032 (defglextfun "Uniform1i" uniform-1i :return "void" :args
2033 ((:name |location| :type |Int32| :direction :in)
2034 (:name |v0| :type |Int32| :direction :in))
2035 :category "VERSION_2_0" :deprecated nil :version "2.0")
2036 (defglextfun "Uniform4f" uniform-4f :return "void" :args
2037 ((:name |location| :type |Int32| :direction :in)
2038 (:name |v0| :type |Float32| :direction :in)
2039 (:name |v1| :type |Float32| :direction :in)
2040 (:name |v2| :type |Float32| :direction :in)
2041 (:name |v3| :type |Float32| :direction :in))
2042 :category "VERSION_2_0" :deprecated nil :version "2.0")
2043 (defglextfun "Uniform3f" uniform-3f :return "void" :args
2044 ((:name |location| :type |Int32| :direction :in)
2045 (:name |v0| :type |Float32| :direction :in)
2046 (:name |v1| :type |Float32| :direction :in)
2047 (:name |v2| :type |Float32| :direction :in))
2048 :category "VERSION_2_0" :deprecated nil :version "2.0")
2049 (defglextfun "Uniform2f" uniform-2f :return "void" :args
2050 ((:name |location| :type |Int32| :direction :in)
2051 (:name |v0| :type |Float32| :direction :in)
2052 (:name |v1| :type |Float32| :direction :in))
2053 :category "VERSION_2_0" :deprecated nil :version "2.0")
2054 (defglextfun "Uniform1f" uniform-1f :return "void" :args
2055 ((:name |location| :type |Int32| :direction :in)
2056 (:name |v0| :type |Float32| :direction :in))
2057 :category "VERSION_2_0" :deprecated nil :version "2.0")
2058 (defglextfun "UseProgram" use-program :return "void" :args
2059 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2060 :deprecated nil :version "2.0")
2061 (defglextfun "ShaderSource" shader-source :return "void" :args
2062 ((:name |shader| :type |UInt32| :direction :in)
2063 (:name |count| :type |SizeI| :direction :in)
2064 (:name |string| :type |CharPointer| :direction :in :array t :size count)
2065 (:name |length| :type |Int32| :direction :in :array t :size #x1))
2066 :category "VERSION_2_0" :deprecated nil :version "2.0")
2067 (defglextfun "LinkProgram" link-program :return "void" :args
2068 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2069 :deprecated nil :version "2.0")
2070 (defglextfun "IsShader" is-shader :return "Boolean" :args
2071 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2072 :deprecated nil :version "2.0")
2073 (defglextfun "IsProgram" is-program :return "Boolean" :args
2074 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2075 :deprecated nil :version "2.0")
2076 (defglextfun "GetVertexAttribPointerv" get-vertex-attrib-pointerv :return
2077 "void" :args
2078 ((:name |index| :type |UInt32| :direction :in)
2079 (:name |pname| :type |VertexAttribPointerPropertyARB| :direction :in)
2080 (:name |pointer| :type |VoidPointer| :direction :out :array t :size #x1))
2081 :category "VERSION_2_0" :deprecated nil :version "2.0")
2082 (defglextfun "GetVertexAttribiv" get-vertex-attrib-iv :return "void" :args
2083 ((:name |index| :type |UInt32| :direction :in)
2084 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2085 (:name |params| :type |Int32| :direction :out :array t :size #x4))
2086 :category "VERSION_2_0" :deprecated nil :version "2.0")
2087 (defglextfun "GetVertexAttribfv" get-vertex-attrib-fv :return "void" :args
2088 ((:name |index| :type |UInt32| :direction :in)
2089 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2090 (:name |params| :type |Float32| :direction :out :array t :size #x4))
2091 :category "VERSION_2_0" :deprecated nil :version "2.0")
2092 (defglextfun "GetVertexAttribdv" get-vertex-attrib-dv :return "void" :args
2093 ((:name |index| :type |UInt32| :direction :in)
2094 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2095 (:name |params| :type |Float64| :direction :out :array t :size #x4))
2096 :category "VERSION_2_0" :deprecated nil :version "2.0")
2097 (defglextfun "GetUniformiv" get-uniform-iv :return "void" :args
2098 ((:name |program| :type |UInt32| :direction :in)
2099 (:name |location| :type |Int32| :direction :in)
2100 (:name |params| :type |Int32| :direction :out :array t :size (|location|)))
2101 :category "VERSION_2_0" :deprecated nil :version "2.0")
2102 (defglextfun "GetUniformfv" get-uniform-fv :return "void" :args
2103 ((:name |program| :type |UInt32| :direction :in)
2104 (:name |location| :type |Int32| :direction :in)
2105 (:name |params| :type |Float32| :direction :out :array t :size (|location|)))
2106 :category "VERSION_2_0" :deprecated nil :version "2.0")
2107 (defglextfun "GetUniformLocation" get-uniform-location :return "Int32" :args
2108 ((:name |program| :type |UInt32| :direction :in)
2109 (:name |name| :type |Char| :direction :in :array t))
2110 :category "VERSION_2_0" :deprecated nil :version "2.0")
2111 (defglextfun "GetShaderSource" get-shader-source :return "void" :args
2112 ((:name |shader| :type |UInt32| :direction :in)
2113 (:name |bufSize| :type |SizeI| :direction :in)
2114 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2115 (:name |source| :type |Char| :direction :out :array t :size length))
2116 :category "VERSION_2_0" :deprecated nil :version "2.0")
2117 (defglextfun "GetShaderInfoLog" get-shader-info-log :return "void" :args
2118 ((:name |shader| :type |UInt32| :direction :in)
2119 (:name |bufSize| :type |SizeI| :direction :in)
2120 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2121 (:name |infoLog| :type |Char| :direction :out :array t :size length))
2122 :category "VERSION_2_0" :deprecated nil :version "2.0")
2123 (defglextfun "GetShaderiv" get-shader-iv :return "void" :args
2124 ((:name |shader| :type |UInt32| :direction :in)
2125 (:name |pname| :type |GLenum| :direction :in)
2126 (:name |params| :type |Int32| :direction :out :array t :size pname))
2127 :category "VERSION_2_0" :deprecated nil :version "2.0")
2128 (defglextfun "GetProgramInfoLog" get-program-info-log :return "void" :args
2129 ((:name |program| :type |UInt32| :direction :in)
2130 (:name |bufSize| :type |SizeI| :direction :in)
2131 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2132 (:name |infoLog| :type |Char| :direction :out :array t :size length))
2133 :category "VERSION_2_0" :deprecated nil :version "2.0")
2134 (defglextfun "GetProgramiv" get-program-iv :return "void" :args
2135 ((:name |program| :type |UInt32| :direction :in)
2136 (:name |pname| :type |GLenum| :direction :in)
2137 (:name |params| :type |Int32| :direction :out :array t :size pname))
2138 :category "VERSION_2_0" :deprecated nil :version "2.0")
2139 (defglextfun "GetAttribLocation" get-attrib-location :return "Int32" :args
2140 ((:name |program| :type |UInt32| :direction :in)
2141 (:name |name| :type |Char| :direction :in :array t))
2142 :category "VERSION_2_0" :deprecated nil :version "2.0")
2143 (defglextfun "GetAttachedShaders" get-attached-shaders :return "void" :args
2144 ((:name |program| :type |UInt32| :direction :in)
2145 (:name |maxCount| :type |SizeI| :direction :in)
2146 (:name |count| :type |SizeI| :direction :out :array t :size #x1)
2147 (:name |obj| :type |UInt32| :direction :out :array t :size count))
2148 :category "VERSION_2_0" :deprecated nil :version "2.0")
2149 (defglextfun "GetActiveUniform" get-active-uniform :return "void" :args
2150 ((:name |program| :type |UInt32| :direction :in)
2151 (:name |index| :type |UInt32| :direction :in)
2152 (:name |bufSize| :type |SizeI| :direction :in)
2153 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2154 (:name |size| :type |Int32| :direction :out :array t :size #x1)
2155 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
2156 (:name |name| :type |Char| :direction :out :array t))
2157 :category "VERSION_2_0" :deprecated nil :version "2.0")
2158 (defglextfun "GetActiveAttrib" get-active-attrib :return "void" :args
2159 ((:name |program| :type |UInt32| :direction :in)
2160 (:name |index| :type |UInt32| :direction :in)
2161 (:name |bufSize| :type |SizeI| :direction :in)
2162 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2163 (:name |size| :type |Int32| :direction :out :array t :size #x1)
2164 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
2165 (:name |name| :type |Char| :direction :out :array t))
2166 :category "VERSION_2_0" :deprecated nil :version "2.0")
2167 (defglextfun "EnableVertexAttribArray" enable-vertex-attrib-array :return
2168 "void" :args ((:name |index| :type |UInt32| :direction :in)) :category
2169 "VERSION_2_0" :deprecated nil :version "2.0")
2170 (defglextfun "DisableVertexAttribArray" disable-vertex-attrib-array :return
2171 "void" :args ((:name |index| :type |UInt32| :direction :in)) :category
2172 "VERSION_2_0" :deprecated nil :version "2.0")
2173 (defglextfun "DetachShader" detach-shader :return "void" :args
2174 ((:name |program| :type |UInt32| :direction :in)
2175 (:name |shader| :type |UInt32| :direction :in))
2176 :category "VERSION_2_0" :deprecated nil :version "2.0")
2177 (defglextfun "DeleteShader" delete-shader :return "void" :args
2178 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2179 :deprecated nil :version "2.0")
2180 (defglextfun "DeleteProgram" delete-program :return "void" :args
2181 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2182 :deprecated nil :version "2.0")
2183 (defglextfun "CreateShader" create-shader :return "UInt32" :args
2184 ((:name |type| :type |GLenum| :direction :in)) :category "VERSION_2_0"
2185 :deprecated nil :version "2.0")
2186 (defglextfun "CreateProgram" create-program :return "UInt32" :args nil
2187 :category "VERSION_2_0" :deprecated nil :version "2.0")
2188 (defglextfun "CompileShader" compile-shader :return "void" :args
2189 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2190 :deprecated nil :version "2.0")
2191 (defglextfun "BindAttribLocation" bind-attrib-location :return "void" :args
2192 ((:name |program| :type |UInt32| :direction :in)
2193 (:name |index| :type |UInt32| :direction :in)
2194 (:name |name| :type |Char| :direction :in :array t))
2195 :category "VERSION_2_0" :deprecated nil :version "2.0")
2196 (defglextfun "AttachShader" attach-shader :return "void" :args
2197 ((:name |program| :type |UInt32| :direction :in)
2198 (:name |shader| :type |UInt32| :direction :in))
2199 :category "VERSION_2_0" :deprecated nil :version "2.0")
2200 (defglextfun "StencilMaskSeparate" stencil-mask-separate :return "void" :args
2201 ((:name |face| :type |StencilFaceDirection| :direction :in)
2202 (:name |mask| :type |MaskedStencilValue| :direction :in))
2203 :category "VERSION_2_0" :deprecated nil :version "2.0")
2204 (defglextfun "StencilFuncSeparate" stencil-func-separate :return "void" :args
2205 ((:name |face| :type |StencilFaceDirection| :direction :in)
2206 (:name |func| :type |StencilFunction| :direction :in)
2207 (:name |ref| :type |ClampedStencilValue| :direction :in)
2208 (:name |mask| :type |MaskedStencilValue| :direction :in))
2209 :category "VERSION_2_0" :deprecated nil :version "2.0")
2210 (defglextfun "StencilOpSeparate" stencil-op-separate :return "void" :args
2211 ((:name |face| :type |StencilFaceDirection| :direction :in)
2212 (:name |sfail| :type |StencilOp| :direction :in)
2213 (:name |dpfail| :type |StencilOp| :direction :in)
2214 (:name |dppass| :type |StencilOp| :direction :in))
2215 :category "VERSION_2_0" :deprecated nil :version "2.0")
2216 (defglextfun "DrawBuffers" draw-buffers :return "void" :args
2217 ((:name |n| :type |SizeI| :direction :in)
2218 (:name |bufs| :type |DrawBufferModeATI| :direction :in :array t :size n))
2219 :category "VERSION_2_0" :deprecated nil :version "2.0")
2220 (defglextfun "BlendEquationSeparate" blend-equation-separate :return "void"
2221 :args
2222 ((:name |modeRGB| :type |BlendEquationModeEXT| :direction :in)
2223 (:name |modeAlpha| :type |BlendEquationModeEXT| :direction :in))
2224 :category "VERSION_2_0" :deprecated nil :version "2.0")
2225 (defglextfun "UniformMatrix4x3fv" uniform-matrix-4x-3fv :return "void" :args
2226 ((:name |location| :type |Int32| :direction :in)
2227 (:name |count| :type |SizeI| :direction :in)
2228 (:name |transpose| :type |Boolean| :direction :in)
2229 (:name |value| :type |Float32| :direction :in :array t :size #xC))
2230 :category "VERSION_2_1" :deprecated nil :version "2.1")
2231 (defglextfun "UniformMatrix3x4fv" uniform-matrix-3x-4fv :return "void" :args
2232 ((:name |location| :type |Int32| :direction :in)
2233 (:name |count| :type |SizeI| :direction :in)
2234 (:name |transpose| :type |Boolean| :direction :in)
2235 (:name |value| :type |Float32| :direction :in :array t :size #xC))
2236 :category "VERSION_2_1" :deprecated nil :version "2.1")
2237 (defglextfun "UniformMatrix4x2fv" uniform-matrix-4x-2fv :return "void" :args
2238 ((:name |location| :type |Int32| :direction :in)
2239 (:name |count| :type |SizeI| :direction :in)
2240 (:name |transpose| :type |Boolean| :direction :in)
2241 (:name |value| :type |Float32| :direction :in :array t :size #x8))
2242 :category "VERSION_2_1" :deprecated nil :version "2.1")
2243 (defglextfun "UniformMatrix2x4fv" uniform-matrix-2x-4fv :return "void" :args
2244 ((:name |location| :type |Int32| :direction :in)
2245 (:name |count| :type |SizeI| :direction :in)
2246 (:name |transpose| :type |Boolean| :direction :in)
2247 (:name |value| :type |Float32| :direction :in :array t :size #x8))
2248 :category "VERSION_2_1" :deprecated nil :version "2.1")
2249 (defglextfun "UniformMatrix3x2fv" uniform-matrix-3x-2fv :return "void" :args
2250 ((:name |location| :type |Int32| :direction :in)
2251 (:name |count| :type |SizeI| :direction :in)
2252 (:name |transpose| :type |Boolean| :direction :in)
2253 (:name |value| :type |Float32| :direction :in :array t :size #x6))
2254 :category "VERSION_2_1" :deprecated nil :version "2.1")
2255 (defglextfun "UniformMatrix2x3fv" uniform-matrix-2x-3fv :return "void" :args
2256 ((:name |location| :type |Int32| :direction :in)
2257 (:name |count| :type |SizeI| :direction :in)
2258 (:name |transpose| :type |Boolean| :direction :in)
2259 (:name |value| :type |Float32| :direction :in :array t :size #x6))
2260 :category "VERSION_2_1" :deprecated nil :version "2.1")
2261 (defglextfun "GetStringi" get-string-i :return "String" :args
2262 ((:name |name| :type |GLenum| :direction :in)
2263 (:name |index| :type |UInt32| :direction :in))
2264 :category "VERSION_3_0" :deprecated nil :version "3.0")
2265 (defglextfun "ClearBufferfi" clear-bufferf-i :return "void" :args
2266 ((:name |buffer| :type |GLenum| :direction :in)
2267 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
2268 (:name |depth| :type |Float32| :direction :in)
2269 (:name |stencil| :type |Int32| :direction :in))
2270 :category "VERSION_3_0" :deprecated nil :version "3.0")
2271 (defglextfun "ClearBufferfv" clear-buffer-fv :return "void" :args
2272 ((:name |buffer| :type |GLenum| :direction :in)
2273 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
2274 (:name |value| :type |Float32| :direction :in :array t :size (|buffer|)))
2275 :category "VERSION_3_0" :deprecated nil :version "3.0")
2276 (defglextfun "ClearBufferuiv" clear-buffer-uiv :return "void" :args
2277 ((:name |buffer| :type |GLenum| :direction :in)
2278 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
2279 (:name |value| :type |UInt32| :direction :in :array t :size (|buffer|)))
2280 :category "VERSION_3_0" :deprecated nil :version "3.0")
2281 (defglextfun "ClearBufferiv" clear-buffer-iv :return "void" :args
2282 ((:name |buffer| :type |GLenum| :direction :in)
2283 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
2284 (:name |value| :type |Int32| :direction :in :array t :size (|buffer|)))
2285 :category "VERSION_3_0" :deprecated nil :version "3.0")
2286 (defglextfun "GetTexParameterIuiv" get-tex-parameter-i-uiv :return "void" :args
2287 ((:name |target| :type |TextureTarget| :direction :in)
2288 (:name |pname| :type |GetTextureParameter| :direction :in)
2289 (:name |params| :type |UInt32| :direction :out :array t :size (|pname|)))
2290 :category "VERSION_3_0" :deprecated nil :version "3.0")
2291 (defglextfun "GetTexParameterIiv" get-tex-parameter-i-iv :return "void" :args
2292 ((:name |target| :type |TextureTarget| :direction :in)
2293 (:name |pname| :type |GetTextureParameter| :direction :in)
2294 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
2295 :category "VERSION_3_0" :deprecated nil :version "3.0")
2296 (defglextfun "TexParameterIuiv" tex-parameter-i-uiv :return "void" :args
2297 ((:name |target| :type |TextureTarget| :direction :in)
2298 (:name |pname| :type |TextureParameterName| :direction :in)
2299 (:name |params| :type |UInt32| :direction :in :array t :size (|pname|)))
2300 :category "VERSION_3_0" :deprecated nil :version "3.0")
2301 (defglextfun "TexParameterIiv" tex-parameter-i-iv :return "void" :args
2302 ((:name |target| :type |TextureTarget| :direction :in)
2303 (:name |pname| :type |TextureParameterName| :direction :in)
2304 (:name |params| :type |Int32| :direction :in :array t :size (|pname|)))
2305 :category "VERSION_3_0" :deprecated nil :version "3.0")
2306 (defglextfun "Uniform4uiv" uniform-4uiv :return "void" :args
2307 ((:name |location| :type |Int32| :direction :in)
2308 (:name |count| :type |SizeI| :direction :in)
2309 (:name |value| :type |UInt32| :direction :in :array t :size count*4))
2310 :category "VERSION_3_0" :deprecated nil :version "3.0")
2311 (defglextfun "Uniform3uiv" uniform-3uiv :return "void" :args
2312 ((:name |location| :type |Int32| :direction :in)
2313 (:name |count| :type |SizeI| :direction :in)
2314 (:name |value| :type |UInt32| :direction :in :array t :size count*3))
2315 :category "VERSION_3_0" :deprecated nil :version "3.0")
2316 (defglextfun "Uniform2uiv" uniform-2uiv :return "void" :args
2317 ((:name |location| :type |Int32| :direction :in)
2318 (:name |count| :type |SizeI| :direction :in)
2319 (:name |value| :type |UInt32| :direction :in :array t :size count*2))
2320 :category "VERSION_3_0" :deprecated nil :version "3.0")
2321 (defglextfun "Uniform1uiv" uniform-1uiv :return "void" :args
2322 ((:name |location| :type |Int32| :direction :in)
2323 (:name |count| :type |SizeI| :direction :in)
2324 (:name |value| :type |UInt32| :direction :in :array t :size count))
2325 :category "VERSION_3_0" :deprecated nil :version "3.0")
2326 (defglextfun "Uniform4ui" uniform-4ui :return "void" :args
2327 ((:name |location| :type |Int32| :direction :in)
2328 (:name |v0| :type |UInt32| :direction :in)
2329 (:name |v1| :type |UInt32| :direction :in)
2330 (:name |v2| :type |UInt32| :direction :in)
2331 (:name |v3| :type |UInt32| :direction :in))
2332 :category "VERSION_3_0" :deprecated nil :version "3.0")
2333 (defglextfun "Uniform3ui" uniform-3ui :return "void" :args
2334 ((:name |location| :type |Int32| :direction :in)
2335 (:name |v0| :type |UInt32| :direction :in)
2336 (:name |v1| :type |UInt32| :direction :in)
2337 (:name |v2| :type |UInt32| :direction :in))
2338 :category "VERSION_3_0" :deprecated nil :version "3.0")
2339 (defglextfun "Uniform2ui" uniform-2ui :return "void" :args
2340 ((:name |location| :type |Int32| :direction :in)
2341 (:name |v0| :type |UInt32| :direction :in)
2342 (:name |v1| :type |UInt32| :direction :in))
2343 :category "VERSION_3_0" :deprecated nil :version "3.0")
2344 (defglextfun "Uniform1ui" uniform-1ui :return "void" :args
2345 ((:name |location| :type |Int32| :direction :in)
2346 (:name |v0| :type |UInt32| :direction :in))
2347 :category "VERSION_3_0" :deprecated nil :version "3.0")
2348 (defglextfun "GetFragDataLocation" get-frag-data-location :return "Int32" :args
2349 ((:name |program| :type |UInt32| :direction :in)
2350 (:name |name| :type |Char| :direction :in :array t :size (|name|)))
2351 :category "VERSION_3_0" :deprecated nil :version "3.0")
2352 (defglextfun "BindFragDataLocation" bind-frag-data-location :return "void"
2353 :args
2354 ((:name |program| :type |UInt32| :direction :in)
2355 (:name |color| :type |UInt32| :direction :in)
2356 (:name |name| :type |Char| :direction :in :array t :size (|name|)))
2357 :category "VERSION_3_0" :deprecated nil :version "3.0")
2358 (defglextfun "GetUniformuiv" get-uniform-uiv :return "void" :args
2359 ((:name |program| :type |UInt32| :direction :in)
2360 (:name |location| :type |Int32| :direction :in)
2361 (:name |params| :type |UInt32| :direction :out :array t :size
2362 (|program| |location|)))
2363 :category "VERSION_3_0" :deprecated nil :version "3.0")
2364 (defglextfun "GetVertexAttribIuiv" get-vertex-attrib-i-uiv :return "void" :args
2365 ((:name |index| :type |UInt32| :direction :in)
2366 (:name |pname| :type |VertexAttribEnum| :direction :in)
2367 (:name |params| :type |UInt32| :direction :out :array t :size #x1))
2368 :category "VERSION_3_0" :deprecated nil :version "3.0")
2369 (defglextfun "GetVertexAttribIiv" get-vertex-attrib-i-iv :return "void" :args
2370 ((:name |index| :type |UInt32| :direction :in)
2371 (:name |pname| :type |VertexAttribEnum| :direction :in)
2372 (:name |params| :type |Int32| :direction :out :array t :size #x1))
2373 :category "VERSION_3_0" :deprecated nil :version "3.0")
2374 (defglextfun "VertexAttribIPointer" vertex-attrib-ipointer :return "void" :args
2375 ((:name |index| :type |UInt32| :direction :in)
2376 (:name |size| :type |Int32| :direction :in)
2377 (:name |type| :type |VertexAttribEnum| :direction :in)
2378 (:name |stride| :type |SizeI| :direction :in)
2379 (:name |pointer| :type |Void| :direction :in :array t :size
2380 (|size| |type| |stride|) :retained t))
2381 :category "VERSION_3_0" :deprecated nil :version "3.0")
2382 (defglextfun "EndConditionalRender" end-conditional-render :return "void" :args
2383 nil :category "VERSION_3_0" :deprecated nil :version "3.0")
2384 (defglextfun "BeginConditionalRender" begin-conditional-render :return "void"
2385 :args
2386 ((:name |id| :type |UInt32| :direction :in)
2387 (:name |mode| :type |TypeEnum| :direction :in))
2388 :category "VERSION_3_0" :deprecated nil :version "3.0")
2389 (defglextfun "ClampColor" clamp-color :return "void" :args
2390 ((:name |target| :type |ClampColorTargetARB| :direction :in)
2391 (:name |clamp| :type |ClampColorModeARB| :direction :in))
2392 :category "VERSION_3_0" :deprecated nil :version "3.0")
2393 (defglextfun "GetTransformFeedbackVarying" get-transform-feedback-varying
2394 :return "void" :args
2395 ((:name |program| :type |UInt32| :direction :in)
2396 (:name |index| :type |UInt32| :direction :in)
2397 (:name |bufSize| :type |SizeI| :direction :in)
2398 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2399 (:name |size| :type |SizeI| :direction :out :array t :size #x1)
2400 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
2401 (:name |name| :type |Char| :direction :out :array t :size (|length|)))
2402 :category "VERSION_3_0" :deprecated nil :version "3.0")
2403 (defglextfun "TransformFeedbackVaryings" transform-feedback-varyings :return
2404 "void" :args
2405 ((:name |program| :type |UInt32| :direction :in)
2406 (:name |count| :type |SizeI| :direction :in)
2407 (:name |varyings| :type |CharPointer| :direction :in :array t :size count)
2408 (:name |bufferMode| :type |GLenum| :direction :in))
2409 :category "VERSION_3_0" :deprecated nil :version "3.0")
2410 (defglextfun "BindBufferBase" bind-buffer-base :return "void" :args
2411 ((:name |target| :type |GLenum| :direction :in)
2412 (:name |index| :type |UInt32| :direction :in)
2413 (:name |buffer| :type |UInt32| :direction :in))
2414 :category "VERSION_3_0" :deprecated nil :version "3.0")
2415 (defglextfun "BindBufferRange" bind-buffer-range :return "void" :args
2416 ((:name |target| :type |GLenum| :direction :in)
2417 (:name |index| :type |UInt32| :direction :in)
2418 (:name |buffer| :type |UInt32| :direction :in)
2419 (:name |offset| :type |BufferOffset| :direction :in)
2420 (:name |size| :type |BufferSize| :direction :in))
2421 :category "VERSION_3_0" :deprecated nil :version "3.0")
2422 (defglextfun "EndTransformFeedback" end-transform-feedback :return "void" :args
2423 nil :category "VERSION_3_0" :deprecated nil :version "3.0")
2424 (defglextfun "BeginTransformFeedback" begin-transform-feedback :return "void"
2425 :args ((:name |primitiveMode| :type |GLenum| :direction :in)) :category
2426 "VERSION_3_0" :deprecated nil :version "3.0")
2427 (defglextfun "IsEnabledi" is-enabled-i :return "Boolean" :args
2428 ((:name |target| :type |GLenum| :direction :in)
2429 (:name |index| :type |UInt32| :direction :in))
2430 :category "VERSION_3_0" :deprecated nil :version "3.0")
2431 (defglextfun "Disablei" disable-i :return "void" :args
2432 ((:name |target| :type |GLenum| :direction :in)
2433 (:name |index| :type |UInt32| :direction :in))
2434 :category "VERSION_3_0" :deprecated nil :version "3.0")
2435 (defglextfun "Enablei" enable-i :return "void" :args
2436 ((:name |target| :type |GLenum| :direction :in)
2437 (:name |index| :type |UInt32| :direction :in))
2438 :category "VERSION_3_0" :deprecated nil :version "3.0")
2439 (defglextfun "GetIntegeri_v" get-integeri_v :return "void" :args
2440 ((:name |target| :type |GLenum| :direction :in)
2441 (:name |index| :type |UInt32| :direction :in)
2442 (:name |data| :type |Int32| :direction :out :array t :size (|target|)))
2443 :category "VERSION_3_0" :deprecated nil :version "3.0")
2444 (defglextfun "GetBooleani_v" get-booleani_v :return "void" :args
2445 ((:name |target| :type |GLenum| :direction :in)
2446 (:name |index| :type |UInt32| :direction :in)
2447 (:name |data| :type |Boolean| :direction :out :array t :size (|target|)))
2448 :category "VERSION_3_0" :deprecated nil :version "3.0")
2449 (defglextfun "ColorMaski" color-mask-i :return "void" :args
2450 ((:name |index| :type |UInt32| :direction :in)
2451 (:name |r| :type |Boolean| :direction :in)
2452 (:name |g| :type |Boolean| :direction :in)
2453 (:name |b| :type |Boolean| :direction :in)
2454 (:name |a| :type |Boolean| :direction :in))
2455 :category "VERSION_3_0" :deprecated nil :version "3.0")
2456 (defglextfun "PrimitiveRestartIndex" primitive-restart-index :return "void"
2457 :args ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_3_1"
2458 :deprecated nil :version "3.1")
2459 (defglextfun "TexBuffer" tex-buffer :return "void" :args
2460 ((:name |target| :type |TextureTarget| :direction :in)
2461 (:name |internalformat| :type |GLenum| :direction :in)
2462 (:name |buffer| :type |UInt32| :direction :in))
2463 :category "VERSION_3_1" :deprecated nil :version "3.1")
2464 (defglextfun "DrawElementsInstanced" draw-elements-instanced :return "void"
2465 :args
2466 ((:name |mode| :type |BeginMode| :direction :in)
2467 (:name |count| :type |SizeI| :direction :in)
2468 (:name |type| :type |DrawElementsType| :direction :in)
2469 (:name |indices| :type |Void| :direction :in :array t :size (|count| |type|))
2470 (:name |primcount| :type |SizeI| :direction :in))
2471 :category "VERSION_3_1" :deprecated nil :version "3.1")
2472 (defglextfun "DrawArraysInstanced" draw-arrays-instanced :return "void" :args
2473 ((:name |mode| :type |BeginMode| :direction :in)
2474 (:name |first| :type |Int32| :direction :in)
2475 (:name |count| :type |SizeI| :direction :in)
2476 (:name |primcount| :type |SizeI| :direction :in))
2477 :category "VERSION_3_1" :deprecated nil :version "3.1")
2478 (defglextfun "FramebufferTexture" framebuffer-texture :return "void" :args
2479 ((:name |target| :type |GLenum| :direction :in)
2480 (:name |attachment| :type |GLenum| :direction :in)
2481 (:name |texture| :type |UInt32| :direction :in)
2482 (:name |level| :type |Int32| :direction :in))
2483 :category "VERSION_3_2" :deprecated nil :version "1.2")
2484 (defglextfun "GetBufferParameteri64v" get-buffer-parameteri-64v :return "void"
2485 :args
2486 ((:name |target| :type |BufferTargetARB| :direction :in)
2487 (:name |pname| :type |BufferPNameARB| :direction :in)
2488 (:name |params| :type |Int64| :direction :out :array t :size (|pname|)))
2489 :category "VERSION_3_2" :deprecated nil :version "3.2")
2490 (defglextfun "GetInteger64i_v" get-integer-64i_v :return "void" :args
2491 ((:name |target| :type |GLenum| :direction :in)
2492 (:name |index| :type |UInt32| :direction :in)
2493 (:name |data| :type |Int64| :direction :out :array t :size (|target|)))
2494 :category "VERSION_3_2" :deprecated nil :version "3.2")
2495 (defglextfun "VertexAttribDivisor" vertex-attrib-divisor :return "void" :args
2496 ((:name |index| :type |UInt32| :direction :in)
2497 (:name |divisor| :type |UInt32| :direction :in))
2498 :category "VERSION_3_3" :deprecated nil :version "1.1")
2499 (defglextfun "BlendFuncSeparatei" blend-func-separate-i :return "void" :args
2500 ((:name |buf| :type |UInt32| :direction :in)
2501 (:name |srcRGB| :type |GLenum| :direction :in)
2502 (:name |dstRGB| :type |GLenum| :direction :in)
2503 (:name |srcAlpha| :type |GLenum| :direction :in)
2504 (:name |dstAlpha| :type |GLenum| :direction :in))
2505 :category "VERSION_4_0" :deprecated nil :version "1.2")
2506 (defglextfun "BlendFunci" blend-func-i :return "void" :args
2507 ((:name |buf| :type |UInt32| :direction :in)
2508 (:name |src| :type |GLenum| :direction :in)
2509 (:name |dst| :type |GLenum| :direction :in))
2510 :category "VERSION_4_0" :deprecated nil :version "1.2")
2511 (defglextfun "BlendEquationSeparatei" blend-equation-separate-i :return "void"
2512 :args
2513 ((:name |buf| :type |UInt32| :direction :in)
2514 (:name |modeRGB| :type |GLenum| :direction :in)
2515 (:name |modeAlpha| :type |GLenum| :direction :in))
2516 :category "VERSION_4_0" :deprecated nil :version "1.2")
2517 (defglextfun "BlendEquationi" blend-equation-i :return "void" :args
2518 ((:name |buf| :type |UInt32| :direction :in)
2519 (:name |mode| :type |GLenum| :direction :in))
2520 :category "VERSION_4_0" :deprecated nil :version "1.2")
2521 (defglextfun "MinSampleShading" min-sample-shading :return "void" :args
2522 ((:name |value| :type |ClampedColorF| :direction :in)) :category "VERSION_4_0"
2523 :deprecated nil :version "1.2")
2524 (make-extension-loader version_4_1
2525 (("CopyTexSubImage3D" copy-tex-sub-image-3d :return "void" :args
2526 ((:name |target| :type |TextureTarget| :direction :in)
2527 (:name |level| :type |CheckedInt32| :direction :in)
2528 (:name |xoffset| :type |CheckedInt32| :direction :in)
2529 (:name |yoffset| :type |CheckedInt32| :direction :in)
2530 (:name |zoffset| :type |CheckedInt32| :direction :in)
2531 (:name |x| :type |WinCoord| :direction :in)
2532 (:name |y| :type |WinCoord| :direction :in)
2533 (:name |width| :type |SizeI| :direction :in)
2534 (:name |height| :type |SizeI| :direction :in))
2535 :category "VERSION_1_2" :deprecated nil :version "1.2")
2536 ("TexSubImage3D" tex-sub-image-3d :return "void" :args
2537 ((:name |target| :type |TextureTarget| :direction :in)
2538 (:name |level| :type |CheckedInt32| :direction :in)
2539 (:name |xoffset| :type |CheckedInt32| :direction :in)
2540 (:name |yoffset| :type |CheckedInt32| :direction :in)
2541 (:name |zoffset| :type |CheckedInt32| :direction :in)
2542 (:name |width| :type |SizeI| :direction :in)
2543 (:name |height| :type |SizeI| :direction :in)
2544 (:name |depth| :type |SizeI| :direction :in)
2545 (:name |format| :type |PixelFormat| :direction :in)
2546 (:name |type| :type |PixelType| :direction :in)
2547 (:name |pixels| :type |Void| :direction :in :array t :size
2548 (|format| |type| |width| |height| |depth|)))
2549 :category "VERSION_1_2" :deprecated nil :version "1.2")
2550 ("DrawRangeElements" draw-range-elements :return "void" :args
2551 ((:name |mode| :type |BeginMode| :direction :in)
2552 (:name |start| :type |UInt32| :direction :in)
2553 (:name |end| :type |UInt32| :direction :in)
2554 (:name |count| :type |SizeI| :direction :in)
2555 (:name |type| :type |DrawElementsType| :direction :in)
2556 (:name |indices| :type |Void| :direction :in :array t :size
2557 (|count| |type|)))
2558 :category "VERSION_1_2" :deprecated nil :version "1.2")
2559 ("BlendEquation" blend-equation :return "void" :args
2560 ((:name |mode| :type |BlendEquationMode| :direction :in)) :category
2561 "VERSION_1_2" :deprecated nil :version "1.2")
2562 ("BlendColor" blend-color :return "void" :args
2563 ((:name |red| :type |ClampedColorF| :direction :in)
2564 (:name |green| :type |ClampedColorF| :direction :in)
2565 (:name |blue| :type |ClampedColorF| :direction :in)
2566 (:name |alpha| :type |ClampedColorF| :direction :in))
2567 :category "VERSION_1_2" :deprecated nil :version "1.2")
2568 ("GetCompressedTexImage" get-compressed-tex-image :return "void" :args
2569 ((:name |target| :type |TextureTarget| :direction :in)
2570 (:name |level| :type |CheckedInt32| :direction :in)
2571 (:name |img| :type |CompressedTextureARB| :direction :out :array t :size
2572 (|target| |level|)))
2573 :category "VERSION_1_3" :deprecated nil :version "1.3")
2574 ("CompressedTexSubImage1D" compressed-tex-sub-image-1d :return "void" :args
2575 ((:name |target| :type |TextureTarget| :direction :in)
2576 (:name |level| :type |CheckedInt32| :direction :in)
2577 (:name |xoffset| :type |CheckedInt32| :direction :in)
2578 (:name |width| :type |SizeI| :direction :in)
2579 (:name |format| :type |PixelFormat| :direction :in)
2580 (:name |imageSize| :type |SizeI| :direction :in)
2581 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2582 imagesize))
2583 :category "VERSION_1_3" :deprecated nil :version "1.3")
2584 ("CompressedTexSubImage2D" compressed-tex-sub-image-2d :return "void" :args
2585 ((:name |target| :type |TextureTarget| :direction :in)
2586 (:name |level| :type |CheckedInt32| :direction :in)
2587 (:name |xoffset| :type |CheckedInt32| :direction :in)
2588 (:name |yoffset| :type |CheckedInt32| :direction :in)
2589 (:name |width| :type |SizeI| :direction :in)
2590 (:name |height| :type |SizeI| :direction :in)
2591 (:name |format| :type |PixelFormat| :direction :in)
2592 (:name |imageSize| :type |SizeI| :direction :in)
2593 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2594 imagesize))
2595 :category "VERSION_1_3" :deprecated nil :version "1.3")
2596 ("CompressedTexSubImage3D" compressed-tex-sub-image-3d :return "void" :args
2597 ((:name |target| :type |TextureTarget| :direction :in)
2598 (:name |level| :type |CheckedInt32| :direction :in)
2599 (:name |xoffset| :type |CheckedInt32| :direction :in)
2600 (:name |yoffset| :type |CheckedInt32| :direction :in)
2601 (:name |zoffset| :type |CheckedInt32| :direction :in)
2602 (:name |width| :type |SizeI| :direction :in)
2603 (:name |height| :type |SizeI| :direction :in)
2604 (:name |depth| :type |SizeI| :direction :in)
2605 (:name |format| :type |PixelFormat| :direction :in)
2606 (:name |imageSize| :type |SizeI| :direction :in)
2607 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2608 imagesize))
2609 :category "VERSION_1_3" :deprecated nil :version "1.3")
2610 ("CompressedTexImage1D" compressed-tex-image-1d :return "void" :args
2611 ((:name |target| :type |TextureTarget| :direction :in)
2612 (:name |level| :type |CheckedInt32| :direction :in)
2613 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
2614 (:name |width| :type |SizeI| :direction :in)
2615 (:name |border| :type |CheckedInt32| :direction :in)
2616 (:name |imageSize| :type |SizeI| :direction :in)
2617 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2618 imagesize))
2619 :category "VERSION_1_3" :deprecated nil :version "1.3")
2620 ("CompressedTexImage2D" compressed-tex-image-2d :return "void" :args
2621 ((:name |target| :type |TextureTarget| :direction :in)
2622 (:name |level| :type |CheckedInt32| :direction :in)
2623 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
2624 (:name |width| :type |SizeI| :direction :in)
2625 (:name |height| :type |SizeI| :direction :in)
2626 (:name |border| :type |CheckedInt32| :direction :in)
2627 (:name |imageSize| :type |SizeI| :direction :in)
2628 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2629 imagesize))
2630 :category "VERSION_1_3" :deprecated nil :version "1.3")
2631 ("CompressedTexImage3D" compressed-tex-image-3d :return "void" :args
2632 ((:name |target| :type |TextureTarget| :direction :in)
2633 (:name |level| :type |CheckedInt32| :direction :in)
2634 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
2635 (:name |width| :type |SizeI| :direction :in)
2636 (:name |height| :type |SizeI| :direction :in)
2637 (:name |depth| :type |SizeI| :direction :in)
2638 (:name |border| :type |CheckedInt32| :direction :in)
2639 (:name |imageSize| :type |SizeI| :direction :in)
2640 (:name |data| :type |CompressedTextureARB| :direction :in :array t :size
2641 imagesize))
2642 :category "VERSION_1_3" :deprecated nil :version "1.3")
2643 ("SampleCoverage" sample-coverage :return "void" :args
2644 ((:name |value| :type |ClampedFloat32| :direction :in)
2645 (:name |invert| :type |Boolean| :direction :in))
2646 :category "VERSION_1_3" :deprecated nil :version "1.3")
2647 ("ActiveTexture" active-texture :return "void" :args
2648 ((:name |texture| :type |TextureUnit| :direction :in)) :category
2649 "VERSION_1_3" :deprecated nil :version "1.3")
2650 ("PointParameteriv" point-parameter-iv :return "void" :args
2651 ((:name |pname| :type |PointParameterNameARB| :direction :in)
2652 (:name |params| :type |Int32| :direction :in :array t :size (|pname|)))
2653 :category "VERSION_1_4" :deprecated nil :version "1.4")
2654 ("PointParameteri" point-parameter-i :return "void" :args
2655 ((:name |pname| :type |PointParameterNameARB| :direction :in)
2656 (:name |param| :type |Int32| :direction :in))
2657 :category "VERSION_1_4" :deprecated nil :version "1.4")
2658 ("PointParameterfv" point-parameter-fv :return "void" :args
2659 ((:name |pname| :type |PointParameterNameARB| :direction :in)
2660 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
2661 (|pname|)))
2662 :category "VERSION_1_4" :deprecated nil :version "1.4")
2663 ("PointParameterf" point-parameter-f :return "void" :args
2664 ((:name |pname| :type |PointParameterNameARB| :direction :in)
2665 (:name |param| :type |CheckedFloat32| :direction :in))
2666 :category "VERSION_1_4" :deprecated nil :version "1.4")
2667 ("MultiDrawElements" multi-draw-elements :return "void" :args
2668 ((:name |mode| :type |BeginMode| :direction :in)
2669 (:name |count| :type |SizeI| :direction :in :array t :size (|primcount|))
2670 (:name |type| :type |DrawElementsType| :direction :in)
2671 (:name |indices| :type |VoidPointer| :direction :in :array t :size
2672 (|primcount|))
2673 (:name |primcount| :type |SizeI| :direction :in))
2674 :category "VERSION_1_4" :deprecated nil :version "1.4")
2675 ("MultiDrawArrays" multi-draw-arrays :return "void" :args
2676 ((:name |mode| :type |BeginMode| :direction :in)
2677 (:name |first| :type |Int32| :direction :in :array t :size (|count|))
2678 (:name |count| :type |SizeI| :direction :in :array t :size (|primcount|))
2679 (:name |primcount| :type |SizeI| :direction :in))
2680 :category "VERSION_1_4" :deprecated nil :version "1.4")
2681 ("BlendFuncSeparate" blend-func-separate :return "void" :args
2682 ((:name |sfactorRGB| :type |BlendFuncSeparateParameterEXT| :direction :in)
2683 (:name |dfactorRGB| :type |BlendFuncSeparateParameterEXT| :direction :in)
2684 (:name |sfactorAlpha| :type |BlendFuncSeparateParameterEXT| :direction :in)
2685 (:name |dfactorAlpha| :type |BlendFuncSeparateParameterEXT| :direction
2686 :in))
2687 :category "VERSION_1_4" :deprecated nil :version "1.4")
2688 ("GetBufferPointerv" get-buffer-pointerv :return "void" :args
2689 ((:name |target| :type |BufferTargetARB| :direction :in)
2690 (:name |pname| :type |BufferPointerNameARB| :direction :in)
2691 (:name |params| :type |VoidPointer| :direction :out :array t :size #x1))
2692 :category "VERSION_1_5" :deprecated nil :version "1.5")
2693 ("GetBufferParameteriv" get-buffer-parameter-iv :return "void" :args
2694 ((:name |target| :type |BufferTargetARB| :direction :in)
2695 (:name |pname| :type |BufferPNameARB| :direction :in)
2696 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
2697 :category "VERSION_1_5" :deprecated nil :version "1.5")
2698 ("UnmapBuffer" unmap-buffer :return "Boolean" :args
2699 ((:name |target| :type |BufferTargetARB| :direction :in)) :category
2700 "VERSION_1_5" :deprecated nil :version "1.5")
2701 ("MapBuffer" map-buffer :return "VoidPointer" :args
2702 ((:name |target| :type |BufferTargetARB| :direction :in)
2703 (:name |access| :type |BufferAccessARB| :direction :in))
2704 :category "VERSION_1_5" :deprecated nil :version "1.5")
2705 ("GetBufferSubData" get-buffer-sub-data :return "void" :args
2706 ((:name |target| :type |BufferTargetARB| :direction :in)
2707 (:name |offset| :type |BufferOffset| :direction :in)
2708 (:name |size| :type |BufferSize| :direction :in)
2709 (:name |data| :type |Void| :direction :out :array t :size size))
2710 :category "VERSION_1_5" :deprecated nil :version "1.5")
2711 ("BufferSubData" buffer-sub-data :return "void" :args
2712 ((:name |target| :type |BufferTargetARB| :direction :in)
2713 (:name |offset| :type |BufferOffset| :direction :in)
2714 (:name |size| :type |BufferSize| :direction :in)
2715 (:name |data| :type |ConstVoid| :direction :in :array t :size size))
2716 :category "VERSION_1_5" :deprecated nil :version "1.5")
2717 ("BufferData" buffer-data :return "void" :args
2718 ((:name |target| :type |BufferTargetARB| :direction :in)
2719 (:name |size| :type |BufferSize| :direction :in)
2720 (:name |data| :type |ConstVoid| :direction :in :array t :size size)
2721 (:name |usage| :type |BufferUsageARB| :direction :in))
2722 :category "VERSION_1_5" :deprecated nil :version "1.5")
2723 ("IsBuffer" is-buffer :return "Boolean" :args
2724 ((:name |buffer| :type |UInt32| :direction :in)) :category "VERSION_1_5"
2725 :deprecated nil :version "1.5")
2726 ("GenBuffers" gen-buffers :return "void" :args
2727 ((:name |n| :type |SizeI| :direction :in)
2728 (:name |buffers| :type |UInt32| :direction :out :array t :size n))
2729 :category "VERSION_1_5" :deprecated nil :version "1.5")
2730 ("DeleteBuffers" delete-buffers :return "void" :args
2731 ((:name |n| :type |SizeI| :direction :in)
2732 (:name |buffers| :type |ConstUInt32| :direction :in :array t :size n))
2733 :category "VERSION_1_5" :deprecated nil :version "1.5")
2734 ("BindBuffer" bind-buffer :return "void" :args
2735 ((:name |target| :type |BufferTargetARB| :direction :in)
2736 (:name |buffer| :type |UInt32| :direction :in))
2737 :category "VERSION_1_5" :deprecated nil :version "1.5")
2738 ("GetQueryObjectuiv" get-query-object-uiv :return "void" :args
2739 ((:name |id| :type |UInt32| :direction :in)
2740 (:name |pname| :type |GLenum| :direction :in)
2741 (:name |params| :type |UInt32| :direction :out :array t :size pname))
2742 :category "VERSION_1_5" :deprecated nil :version "1.5")
2743 ("GetQueryObjectiv" get-query-object-iv :return "void" :args
2744 ((:name |id| :type |UInt32| :direction :in)
2745 (:name |pname| :type |GLenum| :direction :in)
2746 (:name |params| :type |Int32| :direction :out :array t :size pname))
2747 :category "VERSION_1_5" :deprecated nil :version "1.5")
2748 ("GetQueryiv" get-query-iv :return "void" :args
2749 ((:name |target| :type |GLenum| :direction :in)
2750 (:name |pname| :type |GLenum| :direction :in)
2751 (:name |params| :type |Int32| :direction :out :array t :size pname))
2752 :category "VERSION_1_5" :deprecated nil :version "1.5")
2753 ("EndQuery" end-query :return "void" :args
2754 ((:name |target| :type |GLenum| :direction :in)) :category "VERSION_1_5"
2755 :deprecated nil :version "1.5")
2756 ("BeginQuery" begin-query :return "void" :args
2757 ((:name |target| :type |GLenum| :direction :in)
2758 (:name |id| :type |UInt32| :direction :in))
2759 :category "VERSION_1_5" :deprecated nil :version "1.5")
2760 ("IsQuery" is-query :return "Boolean" :args
2761 ((:name |id| :type |UInt32| :direction :in)) :category "VERSION_1_5"
2762 :deprecated nil :version "1.5")
2763 ("DeleteQueries" delete-queries :return "void" :args
2764 ((:name |n| :type |SizeI| :direction :in)
2765 (:name |ids| :type |UInt32| :direction :in :array t :size n))
2766 :category "VERSION_1_5" :deprecated nil :version "1.5")
2767 ("GenQueries" gen-queries :return "void" :args
2768 ((:name |n| :type |SizeI| :direction :in)
2769 (:name |ids| :type |UInt32| :direction :out :array t :size n))
2770 :category "VERSION_1_5" :deprecated nil :version "1.5")
2771 ("VertexAttribPointer" vertex-attrib-pointer :return "void" :args
2772 ((:name |index| :type |UInt32| :direction :in)
2773 (:name |size| :type |Int32| :direction :in)
2774 (:name |type| :type |VertexAttribPointerTypeARB| :direction :in)
2775 (:name |normalized| :type |Boolean| :direction :in)
2776 (:name |stride| :type |SizeI| :direction :in)
2777 (:name |pointer| :type |Void| :direction :in :array t :size
2778 (|size| |type| |stride|) :retained t))
2779 :category "VERSION_2_0" :deprecated nil :version "2.0")
2780 ("ValidateProgram" validate-program :return "void" :args
2781 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2782 :deprecated nil :version "2.0")
2783 ("UniformMatrix4fv" uniform-matrix-4fv :return "void" :args
2784 ((:name |location| :type |Int32| :direction :in)
2785 (:name |count| :type |SizeI| :direction :in)
2786 (:name |transpose| :type |Boolean| :direction :in)
2787 (:name |value| :type |Float32| :direction :in :array t :size count))
2788 :category "VERSION_2_0" :deprecated nil :version "2.0")
2789 ("UniformMatrix3fv" uniform-matrix-3fv :return "void" :args
2790 ((:name |location| :type |Int32| :direction :in)
2791 (:name |count| :type |SizeI| :direction :in)
2792 (:name |transpose| :type |Boolean| :direction :in)
2793 (:name |value| :type |Float32| :direction :in :array t :size count))
2794 :category "VERSION_2_0" :deprecated nil :version "2.0")
2795 ("UniformMatrix2fv" uniform-matrix-2fv :return "void" :args
2796 ((:name |location| :type |Int32| :direction :in)
2797 (:name |count| :type |SizeI| :direction :in)
2798 (:name |transpose| :type |Boolean| :direction :in)
2799 (:name |value| :type |Float32| :direction :in :array t :size count))
2800 :category "VERSION_2_0" :deprecated nil :version "2.0")
2801 ("Uniform4iv" uniform-4iv :return "void" :args
2802 ((:name |location| :type |Int32| :direction :in)
2803 (:name |count| :type |SizeI| :direction :in)
2804 (:name |value| :type |Int32| :direction :in :array t :size count))
2805 :category "VERSION_2_0" :deprecated nil :version "2.0")
2806 ("Uniform3iv" uniform-3iv :return "void" :args
2807 ((:name |location| :type |Int32| :direction :in)
2808 (:name |count| :type |SizeI| :direction :in)
2809 (:name |value| :type |Int32| :direction :in :array t :size count))
2810 :category "VERSION_2_0" :deprecated nil :version "2.0")
2811 ("Uniform2iv" uniform-2iv :return "void" :args
2812 ((:name |location| :type |Int32| :direction :in)
2813 (:name |count| :type |SizeI| :direction :in)
2814 (:name |value| :type |Int32| :direction :in :array t :size count))
2815 :category "VERSION_2_0" :deprecated nil :version "2.0")
2816 ("Uniform1iv" uniform-1iv :return "void" :args
2817 ((:name |location| :type |Int32| :direction :in)
2818 (:name |count| :type |SizeI| :direction :in)
2819 (:name |value| :type |Int32| :direction :in :array t :size count))
2820 :category "VERSION_2_0" :deprecated nil :version "2.0")
2821 ("Uniform4fv" uniform-4fv :return "void" :args
2822 ((:name |location| :type |Int32| :direction :in)
2823 (:name |count| :type |SizeI| :direction :in)
2824 (:name |value| :type |Float32| :direction :in :array t :size count))
2825 :category "VERSION_2_0" :deprecated nil :version "2.0")
2826 ("Uniform3fv" uniform-3fv :return "void" :args
2827 ((:name |location| :type |Int32| :direction :in)
2828 (:name |count| :type |SizeI| :direction :in)
2829 (:name |value| :type |Float32| :direction :in :array t :size count))
2830 :category "VERSION_2_0" :deprecated nil :version "2.0")
2831 ("Uniform2fv" uniform-2fv :return "void" :args
2832 ((:name |location| :type |Int32| :direction :in)
2833 (:name |count| :type |SizeI| :direction :in)
2834 (:name |value| :type |Float32| :direction :in :array t :size count))
2835 :category "VERSION_2_0" :deprecated nil :version "2.0")
2836 ("Uniform1fv" uniform-1fv :return "void" :args
2837 ((:name |location| :type |Int32| :direction :in)
2838 (:name |count| :type |SizeI| :direction :in)
2839 (:name |value| :type |Float32| :direction :in :array t :size count))
2840 :category "VERSION_2_0" :deprecated nil :version "2.0")
2841 ("Uniform4i" uniform-4i :return "void" :args
2842 ((:name |location| :type |Int32| :direction :in)
2843 (:name |v0| :type |Int32| :direction :in)
2844 (:name |v1| :type |Int32| :direction :in)
2845 (:name |v2| :type |Int32| :direction :in)
2846 (:name |v3| :type |Int32| :direction :in))
2847 :category "VERSION_2_0" :deprecated nil :version "2.0")
2848 ("Uniform3i" uniform-3i :return "void" :args
2849 ((:name |location| :type |Int32| :direction :in)
2850 (:name |v0| :type |Int32| :direction :in)
2851 (:name |v1| :type |Int32| :direction :in)
2852 (:name |v2| :type |Int32| :direction :in))
2853 :category "VERSION_2_0" :deprecated nil :version "2.0")
2854 ("Uniform2i" uniform-2i :return "void" :args
2855 ((:name |location| :type |Int32| :direction :in)
2856 (:name |v0| :type |Int32| :direction :in)
2857 (:name |v1| :type |Int32| :direction :in))
2858 :category "VERSION_2_0" :deprecated nil :version "2.0")
2859 ("Uniform1i" uniform-1i :return "void" :args
2860 ((:name |location| :type |Int32| :direction :in)
2861 (:name |v0| :type |Int32| :direction :in))
2862 :category "VERSION_2_0" :deprecated nil :version "2.0")
2863 ("Uniform4f" uniform-4f :return "void" :args
2864 ((:name |location| :type |Int32| :direction :in)
2865 (:name |v0| :type |Float32| :direction :in)
2866 (:name |v1| :type |Float32| :direction :in)
2867 (:name |v2| :type |Float32| :direction :in)
2868 (:name |v3| :type |Float32| :direction :in))
2869 :category "VERSION_2_0" :deprecated nil :version "2.0")
2870 ("Uniform3f" uniform-3f :return "void" :args
2871 ((:name |location| :type |Int32| :direction :in)
2872 (:name |v0| :type |Float32| :direction :in)
2873 (:name |v1| :type |Float32| :direction :in)
2874 (:name |v2| :type |Float32| :direction :in))
2875 :category "VERSION_2_0" :deprecated nil :version "2.0")
2876 ("Uniform2f" uniform-2f :return "void" :args
2877 ((:name |location| :type |Int32| :direction :in)
2878 (:name |v0| :type |Float32| :direction :in)
2879 (:name |v1| :type |Float32| :direction :in))
2880 :category "VERSION_2_0" :deprecated nil :version "2.0")
2881 ("Uniform1f" uniform-1f :return "void" :args
2882 ((:name |location| :type |Int32| :direction :in)
2883 (:name |v0| :type |Float32| :direction :in))
2884 :category "VERSION_2_0" :deprecated nil :version "2.0")
2885 ("UseProgram" use-program :return "void" :args
2886 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2887 :deprecated nil :version "2.0")
2888 ("ShaderSource" shader-source :return "void" :args
2889 ((:name |shader| :type |UInt32| :direction :in)
2890 (:name |count| :type |SizeI| :direction :in)
2891 (:name |string| :type |CharPointer| :direction :in :array t :size count)
2892 (:name |length| :type |Int32| :direction :in :array t :size #x1))
2893 :category "VERSION_2_0" :deprecated nil :version "2.0")
2894 ("LinkProgram" link-program :return "void" :args
2895 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2896 :deprecated nil :version "2.0")
2897 ("IsShader" is-shader :return "Boolean" :args
2898 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2899 :deprecated nil :version "2.0")
2900 ("IsProgram" is-program :return "Boolean" :args
2901 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2902 :deprecated nil :version "2.0")
2903 ("GetVertexAttribPointerv" get-vertex-attrib-pointerv :return "void" :args
2904 ((:name |index| :type |UInt32| :direction :in)
2905 (:name |pname| :type |VertexAttribPointerPropertyARB| :direction :in)
2906 (:name |pointer| :type |VoidPointer| :direction :out :array t :size #x1))
2907 :category "VERSION_2_0" :deprecated nil :version "2.0")
2908 ("GetVertexAttribiv" get-vertex-attrib-iv :return "void" :args
2909 ((:name |index| :type |UInt32| :direction :in)
2910 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2911 (:name |params| :type |Int32| :direction :out :array t :size #x4))
2912 :category "VERSION_2_0" :deprecated nil :version "2.0")
2913 ("GetVertexAttribfv" get-vertex-attrib-fv :return "void" :args
2914 ((:name |index| :type |UInt32| :direction :in)
2915 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2916 (:name |params| :type |Float32| :direction :out :array t :size #x4))
2917 :category "VERSION_2_0" :deprecated nil :version "2.0")
2918 ("GetVertexAttribdv" get-vertex-attrib-dv :return "void" :args
2919 ((:name |index| :type |UInt32| :direction :in)
2920 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
2921 (:name |params| :type |Float64| :direction :out :array t :size #x4))
2922 :category "VERSION_2_0" :deprecated nil :version "2.0")
2923 ("GetUniformiv" get-uniform-iv :return "void" :args
2924 ((:name |program| :type |UInt32| :direction :in)
2925 (:name |location| :type |Int32| :direction :in)
2926 (:name |params| :type |Int32| :direction :out :array t :size (|location|)))
2927 :category "VERSION_2_0" :deprecated nil :version "2.0")
2928 ("GetUniformfv" get-uniform-fv :return "void" :args
2929 ((:name |program| :type |UInt32| :direction :in)
2930 (:name |location| :type |Int32| :direction :in)
2931 (:name |params| :type |Float32| :direction :out :array t :size
2932 (|location|)))
2933 :category "VERSION_2_0" :deprecated nil :version "2.0")
2934 ("GetUniformLocation" get-uniform-location :return "Int32" :args
2935 ((:name |program| :type |UInt32| :direction :in)
2936 (:name |name| :type |Char| :direction :in :array t))
2937 :category "VERSION_2_0" :deprecated nil :version "2.0")
2938 ("GetShaderSource" get-shader-source :return "void" :args
2939 ((:name |shader| :type |UInt32| :direction :in)
2940 (:name |bufSize| :type |SizeI| :direction :in)
2941 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2942 (:name |source| :type |Char| :direction :out :array t :size length))
2943 :category "VERSION_2_0" :deprecated nil :version "2.0")
2944 ("GetShaderInfoLog" get-shader-info-log :return "void" :args
2945 ((:name |shader| :type |UInt32| :direction :in)
2946 (:name |bufSize| :type |SizeI| :direction :in)
2947 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2948 (:name |infoLog| :type |Char| :direction :out :array t :size length))
2949 :category "VERSION_2_0" :deprecated nil :version "2.0")
2950 ("GetShaderiv" get-shader-iv :return "void" :args
2951 ((:name |shader| :type |UInt32| :direction :in)
2952 (:name |pname| :type |GLenum| :direction :in)
2953 (:name |params| :type |Int32| :direction :out :array t :size pname))
2954 :category "VERSION_2_0" :deprecated nil :version "2.0")
2955 ("GetProgramInfoLog" get-program-info-log :return "void" :args
2956 ((:name |program| :type |UInt32| :direction :in)
2957 (:name |bufSize| :type |SizeI| :direction :in)
2958 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2959 (:name |infoLog| :type |Char| :direction :out :array t :size length))
2960 :category "VERSION_2_0" :deprecated nil :version "2.0")
2961 ("GetProgramiv" get-program-iv :return "void" :args
2962 ((:name |program| :type |UInt32| :direction :in)
2963 (:name |pname| :type |GLenum| :direction :in)
2964 (:name |params| :type |Int32| :direction :out :array t :size pname))
2965 :category "VERSION_2_0" :deprecated nil :version "2.0")
2966 ("GetAttribLocation" get-attrib-location :return "Int32" :args
2967 ((:name |program| :type |UInt32| :direction :in)
2968 (:name |name| :type |Char| :direction :in :array t))
2969 :category "VERSION_2_0" :deprecated nil :version "2.0")
2970 ("GetAttachedShaders" get-attached-shaders :return "void" :args
2971 ((:name |program| :type |UInt32| :direction :in)
2972 (:name |maxCount| :type |SizeI| :direction :in)
2973 (:name |count| :type |SizeI| :direction :out :array t :size #x1)
2974 (:name |obj| :type |UInt32| :direction :out :array t :size count))
2975 :category "VERSION_2_0" :deprecated nil :version "2.0")
2976 ("GetActiveUniform" get-active-uniform :return "void" :args
2977 ((:name |program| :type |UInt32| :direction :in)
2978 (:name |index| :type |UInt32| :direction :in)
2979 (:name |bufSize| :type |SizeI| :direction :in)
2980 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2981 (:name |size| :type |Int32| :direction :out :array t :size #x1)
2982 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
2983 (:name |name| :type |Char| :direction :out :array t))
2984 :category "VERSION_2_0" :deprecated nil :version "2.0")
2985 ("GetActiveAttrib" get-active-attrib :return "void" :args
2986 ((:name |program| :type |UInt32| :direction :in)
2987 (:name |index| :type |UInt32| :direction :in)
2988 (:name |bufSize| :type |SizeI| :direction :in)
2989 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
2990 (:name |size| :type |Int32| :direction :out :array t :size #x1)
2991 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
2992 (:name |name| :type |Char| :direction :out :array t))
2993 :category "VERSION_2_0" :deprecated nil :version "2.0")
2994 ("EnableVertexAttribArray" enable-vertex-attrib-array :return "void" :args
2995 ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2996 :deprecated nil :version "2.0")
2997 ("DisableVertexAttribArray" disable-vertex-attrib-array :return "void" :args
2998 ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_2_0"
2999 :deprecated nil :version "2.0")
3000 ("DetachShader" detach-shader :return "void" :args
3001 ((:name |program| :type |UInt32| :direction :in)
3002 (:name |shader| :type |UInt32| :direction :in))
3003 :category "VERSION_2_0" :deprecated nil :version "2.0")
3004 ("DeleteShader" delete-shader :return "void" :args
3005 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
3006 :deprecated nil :version "2.0")
3007 ("DeleteProgram" delete-program :return "void" :args
3008 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
3009 :deprecated nil :version "2.0")
3010 ("CreateShader" create-shader :return "UInt32" :args
3011 ((:name |type| :type |GLenum| :direction :in)) :category "VERSION_2_0"
3012 :deprecated nil :version "2.0")
3013 ("CreateProgram" create-program :return "UInt32" :args nil :category
3014 "VERSION_2_0" :deprecated nil :version "2.0")
3015 ("CompileShader" compile-shader :return "void" :args
3016 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
3017 :deprecated nil :version "2.0")
3018 ("BindAttribLocation" bind-attrib-location :return "void" :args
3019 ((:name |program| :type |UInt32| :direction :in)
3020 (:name |index| :type |UInt32| :direction :in)
3021 (:name |name| :type |Char| :direction :in :array t))
3022 :category "VERSION_2_0" :deprecated nil :version "2.0")
3023 ("AttachShader" attach-shader :return "void" :args
3024 ((:name |program| :type |UInt32| :direction :in)
3025 (:name |shader| :type |UInt32| :direction :in))
3026 :category "VERSION_2_0" :deprecated nil :version "2.0")
3027 ("StencilMaskSeparate" stencil-mask-separate :return "void" :args
3028 ((:name |face| :type |StencilFaceDirection| :direction :in)
3029 (:name |mask| :type |MaskedStencilValue| :direction :in))
3030 :category "VERSION_2_0" :deprecated nil :version "2.0")
3031 ("StencilFuncSeparate" stencil-func-separate :return "void" :args
3032 ((:name |face| :type |StencilFaceDirection| :direction :in)
3033 (:name |func| :type |StencilFunction| :direction :in)
3034 (:name |ref| :type |ClampedStencilValue| :direction :in)
3035 (:name |mask| :type |MaskedStencilValue| :direction :in))
3036 :category "VERSION_2_0" :deprecated nil :version "2.0")
3037 ("StencilOpSeparate" stencil-op-separate :return "void" :args
3038 ((:name |face| :type |StencilFaceDirection| :direction :in)
3039 (:name |sfail| :type |StencilOp| :direction :in)
3040 (:name |dpfail| :type |StencilOp| :direction :in)
3041 (:name |dppass| :type |StencilOp| :direction :in))
3042 :category "VERSION_2_0" :deprecated nil :version "2.0")
3043 ("DrawBuffers" draw-buffers :return "void" :args
3044 ((:name |n| :type |SizeI| :direction :in)
3045 (:name |bufs| :type |DrawBufferModeATI| :direction :in :array t :size n))
3046 :category "VERSION_2_0" :deprecated nil :version "2.0")
3047 ("BlendEquationSeparate" blend-equation-separate :return "void" :args
3048 ((:name |modeRGB| :type |BlendEquationModeEXT| :direction :in)
3049 (:name |modeAlpha| :type |BlendEquationModeEXT| :direction :in))
3050 :category "VERSION_2_0" :deprecated nil :version "2.0")
3051 ("UniformMatrix4x3fv" uniform-matrix-4x-3fv :return "void" :args
3052 ((:name |location| :type |Int32| :direction :in)
3053 (:name |count| :type |SizeI| :direction :in)
3054 (:name |transpose| :type |Boolean| :direction :in)
3055 (:name |value| :type |Float32| :direction :in :array t :size #xC))
3056 :category "VERSION_2_1" :deprecated nil :version "2.1")
3057 ("UniformMatrix3x4fv" uniform-matrix-3x-4fv :return "void" :args
3058 ((:name |location| :type |Int32| :direction :in)
3059 (:name |count| :type |SizeI| :direction :in)
3060 (:name |transpose| :type |Boolean| :direction :in)
3061 (:name |value| :type |Float32| :direction :in :array t :size #xC))
3062 :category "VERSION_2_1" :deprecated nil :version "2.1")
3063 ("UniformMatrix4x2fv" uniform-matrix-4x-2fv :return "void" :args
3064 ((:name |location| :type |Int32| :direction :in)
3065 (:name |count| :type |SizeI| :direction :in)
3066 (:name |transpose| :type |Boolean| :direction :in)
3067 (:name |value| :type |Float32| :direction :in :array t :size #x8))
3068 :category "VERSION_2_1" :deprecated nil :version "2.1")
3069 ("UniformMatrix2x4fv" uniform-matrix-2x-4fv :return "void" :args
3070 ((:name |location| :type |Int32| :direction :in)
3071 (:name |count| :type |SizeI| :direction :in)
3072 (:name |transpose| :type |Boolean| :direction :in)
3073 (:name |value| :type |Float32| :direction :in :array t :size #x8))
3074 :category "VERSION_2_1" :deprecated nil :version "2.1")
3075 ("UniformMatrix3x2fv" uniform-matrix-3x-2fv :return "void" :args
3076 ((:name |location| :type |Int32| :direction :in)
3077 (:name |count| :type |SizeI| :direction :in)
3078 (:name |transpose| :type |Boolean| :direction :in)
3079 (:name |value| :type |Float32| :direction :in :array t :size #x6))
3080 :category "VERSION_2_1" :deprecated nil :version "2.1")
3081 ("UniformMatrix2x3fv" uniform-matrix-2x-3fv :return "void" :args
3082 ((:name |location| :type |Int32| :direction :in)
3083 (:name |count| :type |SizeI| :direction :in)
3084 (:name |transpose| :type |Boolean| :direction :in)
3085 (:name |value| :type |Float32| :direction :in :array t :size #x6))
3086 :category "VERSION_2_1" :deprecated nil :version "2.1")
3087 ("GetStringi" get-string-i :return "String" :args
3088 ((:name |name| :type |GLenum| :direction :in)
3089 (:name |index| :type |UInt32| :direction :in))
3090 :category "VERSION_3_0" :deprecated nil :version "3.0")
3091 ("ClearBufferfi" clear-bufferf-i :return "void" :args
3092 ((:name |buffer| :type |GLenum| :direction :in)
3093 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
3094 (:name |depth| :type |Float32| :direction :in)
3095 (:name |stencil| :type |Int32| :direction :in))
3096 :category "VERSION_3_0" :deprecated nil :version "3.0")
3097 ("ClearBufferfv" clear-buffer-fv :return "void" :args
3098 ((:name |buffer| :type |GLenum| :direction :in)
3099 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
3100 (:name |value| :type |Float32| :direction :in :array t :size (|buffer|)))
3101 :category "VERSION_3_0" :deprecated nil :version "3.0")
3102 ("ClearBufferuiv" clear-buffer-uiv :return "void" :args
3103 ((:name |buffer| :type |GLenum| :direction :in)
3104 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
3105 (:name |value| :type |UInt32| :direction :in :array t :size (|buffer|)))
3106 :category "VERSION_3_0" :deprecated nil :version "3.0")
3107 ("ClearBufferiv" clear-buffer-iv :return "void" :args
3108 ((:name |buffer| :type |GLenum| :direction :in)
3109 (:name |drawbuffer| :type |DrawBufferName| :direction :in)
3110 (:name |value| :type |Int32| :direction :in :array t :size (|buffer|)))
3111 :category "VERSION_3_0" :deprecated nil :version "3.0")
3112 ("GetTexParameterIuiv" get-tex-parameter-i-uiv :return "void" :args
3113 ((:name |target| :type |TextureTarget| :direction :in)
3114 (:name |pname| :type |GetTextureParameter| :direction :in)
3115 (:name |params| :type |UInt32| :direction :out :array t :size (|pname|)))
3116 :category "VERSION_3_0" :deprecated nil :version "3.0")
3117 ("GetTexParameterIiv" get-tex-parameter-i-iv :return "void" :args
3118 ((:name |target| :type |TextureTarget| :direction :in)
3119 (:name |pname| :type |GetTextureParameter| :direction :in)
3120 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
3121 :category "VERSION_3_0" :deprecated nil :version "3.0")
3122 ("TexParameterIuiv" tex-parameter-i-uiv :return "void" :args
3123 ((:name |target| :type |TextureTarget| :direction :in)
3124 (:name |pname| :type |TextureParameterName| :direction :in)
3125 (:name |params| :type |UInt32| :direction :in :array t :size (|pname|)))
3126 :category "VERSION_3_0" :deprecated nil :version "3.0")
3127 ("TexParameterIiv" tex-parameter-i-iv :return "void" :args
3128 ((:name |target| :type |TextureTarget| :direction :in)
3129 (:name |pname| :type |TextureParameterName| :direction :in)
3130 (:name |params| :type |Int32| :direction :in :array t :size (|pname|)))
3131 :category "VERSION_3_0" :deprecated nil :version "3.0")
3132 ("Uniform4uiv" uniform-4uiv :return "void" :args
3133 ((:name |location| :type |Int32| :direction :in)
3134 (:name |count| :type |SizeI| :direction :in)
3135 (:name |value| :type |UInt32| :direction :in :array t :size count*4))
3136 :category "VERSION_3_0" :deprecated nil :version "3.0")
3137 ("Uniform3uiv" uniform-3uiv :return "void" :args
3138 ((:name |location| :type |Int32| :direction :in)
3139 (:name |count| :type |SizeI| :direction :in)
3140 (:name |value| :type |UInt32| :direction :in :array t :size count*3))
3141 :category "VERSION_3_0" :deprecated nil :version "3.0")
3142 ("Uniform2uiv" uniform-2uiv :return "void" :args
3143 ((:name |location| :type |Int32| :direction :in)
3144 (:name |count| :type |SizeI| :direction :in)
3145 (:name |value| :type |UInt32| :direction :in :array t :size count*2))
3146 :category "VERSION_3_0" :deprecated nil :version "3.0")
3147 ("Uniform1uiv" uniform-1uiv :return "void" :args
3148 ((:name |location| :type |Int32| :direction :in)
3149 (:name |count| :type |SizeI| :direction :in)
3150 (:name |value| :type |UInt32| :direction :in :array t :size count))
3151 :category "VERSION_3_0" :deprecated nil :version "3.0")
3152 ("Uniform4ui" uniform-4ui :return "void" :args
3153 ((:name |location| :type |Int32| :direction :in)
3154 (:name |v0| :type |UInt32| :direction :in)
3155 (:name |v1| :type |UInt32| :direction :in)
3156 (:name |v2| :type |UInt32| :direction :in)
3157 (:name |v3| :type |UInt32| :direction :in))
3158 :category "VERSION_3_0" :deprecated nil :version "3.0")
3159 ("Uniform3ui" uniform-3ui :return "void" :args
3160 ((:name |location| :type |Int32| :direction :in)
3161 (:name |v0| :type |UInt32| :direction :in)
3162 (:name |v1| :type |UInt32| :direction :in)
3163 (:name |v2| :type |UInt32| :direction :in))
3164 :category "VERSION_3_0" :deprecated nil :version "3.0")
3165 ("Uniform2ui" uniform-2ui :return "void" :args
3166 ((:name |location| :type |Int32| :direction :in)
3167 (:name |v0| :type |UInt32| :direction :in)
3168 (:name |v1| :type |UInt32| :direction :in))
3169 :category "VERSION_3_0" :deprecated nil :version "3.0")
3170 ("Uniform1ui" uniform-1ui :return "void" :args
3171 ((:name |location| :type |Int32| :direction :in)
3172 (:name |v0| :type |UInt32| :direction :in))
3173 :category "VERSION_3_0" :deprecated nil :version "3.0")
3174 ("GetFragDataLocation" get-frag-data-location :return "Int32" :args
3175 ((:name |program| :type |UInt32| :direction :in)
3176 (:name |name| :type |Char| :direction :in :array t :size (|name|)))
3177 :category "VERSION_3_0" :deprecated nil :version "3.0")
3178 ("BindFragDataLocation" bind-frag-data-location :return "void" :args
3179 ((:name |program| :type |UInt32| :direction :in)
3180 (:name |color| :type |UInt32| :direction :in)
3181 (:name |name| :type |Char| :direction :in :array t :size (|name|)))
3182 :category "VERSION_3_0" :deprecated nil :version "3.0")
3183 ("GetUniformuiv" get-uniform-uiv :return "void" :args
3184 ((:name |program| :type |UInt32| :direction :in)
3185 (:name |location| :type |Int32| :direction :in)
3186 (:name |params| :type |UInt32| :direction :out :array t :size
3187 (|program| |location|)))
3188 :category "VERSION_3_0" :deprecated nil :version "3.0")
3189 ("GetVertexAttribIuiv" get-vertex-attrib-i-uiv :return "void" :args
3190 ((:name |index| :type |UInt32| :direction :in)
3191 (:name |pname| :type |VertexAttribEnum| :direction :in)
3192 (:name |params| :type |UInt32| :direction :out :array t :size #x1))
3193 :category "VERSION_3_0" :deprecated nil :version "3.0")
3194 ("GetVertexAttribIiv" get-vertex-attrib-i-iv :return "void" :args
3195 ((:name |index| :type |UInt32| :direction :in)
3196 (:name |pname| :type |VertexAttribEnum| :direction :in)
3197 (:name |params| :type |Int32| :direction :out :array t :size #x1))
3198 :category "VERSION_3_0" :deprecated nil :version "3.0")
3199 ("VertexAttribIPointer" vertex-attrib-ipointer :return "void" :args
3200 ((:name |index| :type |UInt32| :direction :in)
3201 (:name |size| :type |Int32| :direction :in)
3202 (:name |type| :type |VertexAttribEnum| :direction :in)
3203 (:name |stride| :type |SizeI| :direction :in)
3204 (:name |pointer| :type |Void| :direction :in :array t :size
3205 (|size| |type| |stride|) :retained t))
3206 :category "VERSION_3_0" :deprecated nil :version "3.0")
3207 ("EndConditionalRender" end-conditional-render :return "void" :args nil
3208 :category "VERSION_3_0" :deprecated nil :version "3.0")
3209 ("BeginConditionalRender" begin-conditional-render :return "void" :args
3210 ((:name |id| :type |UInt32| :direction :in)
3211 (:name |mode| :type |TypeEnum| :direction :in))
3212 :category "VERSION_3_0" :deprecated nil :version "3.0")
3213 ("ClampColor" clamp-color :return "void" :args
3214 ((:name |target| :type |ClampColorTargetARB| :direction :in)
3215 (:name |clamp| :type |ClampColorModeARB| :direction :in))
3216 :category "VERSION_3_0" :deprecated nil :version "3.0")
3217 ("GetTransformFeedbackVarying" get-transform-feedback-varying :return "void"
3218 :args
3219 ((:name |program| :type |UInt32| :direction :in)
3220 (:name |index| :type |UInt32| :direction :in)
3221 (:name |bufSize| :type |SizeI| :direction :in)
3222 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
3223 (:name |size| :type |SizeI| :direction :out :array t :size #x1)
3224 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
3225 (:name |name| :type |Char| :direction :out :array t :size (|length|)))
3226 :category "VERSION_3_0" :deprecated nil :version "3.0")
3227 ("TransformFeedbackVaryings" transform-feedback-varyings :return "void" :args
3228 ((:name |program| :type |UInt32| :direction :in)
3229 (:name |count| :type |SizeI| :direction :in)
3230 (:name |varyings| :type |CharPointer| :direction :in :array t :size count)
3231 (:name |bufferMode| :type |GLenum| :direction :in))
3232 :category "VERSION_3_0" :deprecated nil :version "3.0")
3233 ("BindBufferBase" bind-buffer-base :return "void" :args
3234 ((:name |target| :type |GLenum| :direction :in)
3235 (:name |index| :type |UInt32| :direction :in)
3236 (:name |buffer| :type |UInt32| :direction :in))
3237 :category "VERSION_3_0" :deprecated nil :version "3.0")
3238 ("BindBufferRange" bind-buffer-range :return "void" :args
3239 ((:name |target| :type |GLenum| :direction :in)
3240 (:name |index| :type |UInt32| :direction :in)
3241 (:name |buffer| :type |UInt32| :direction :in)
3242 (:name |offset| :type |BufferOffset| :direction :in)
3243 (:name |size| :type |BufferSize| :direction :in))
3244 :category "VERSION_3_0" :deprecated nil :version "3.0")
3245 ("EndTransformFeedback" end-transform-feedback :return "void" :args nil
3246 :category "VERSION_3_0" :deprecated nil :version "3.0")
3247 ("BeginTransformFeedback" begin-transform-feedback :return "void" :args
3248 ((:name |primitiveMode| :type |GLenum| :direction :in)) :category
3249 "VERSION_3_0" :deprecated nil :version "3.0")
3250 ("IsEnabledi" is-enabled-i :return "Boolean" :args
3251 ((:name |target| :type |GLenum| :direction :in)
3252 (:name |index| :type |UInt32| :direction :in))
3253 :category "VERSION_3_0" :deprecated nil :version "3.0")
3254 ("Disablei" disable-i :return "void" :args
3255 ((:name |target| :type |GLenum| :direction :in)
3256 (:name |index| :type |UInt32| :direction :in))
3257 :category "VERSION_3_0" :deprecated nil :version "3.0")
3258 ("Enablei" enable-i :return "void" :args
3259 ((:name |target| :type |GLenum| :direction :in)
3260 (:name |index| :type |UInt32| :direction :in))
3261 :category "VERSION_3_0" :deprecated nil :version "3.0")
3262 ("GetIntegeri_v" get-integeri_v :return "void" :args
3263 ((:name |target| :type |GLenum| :direction :in)
3264 (:name |index| :type |UInt32| :direction :in)
3265 (:name |data| :type |Int32| :direction :out :array t :size (|target|)))
3266 :category "VERSION_3_0" :deprecated nil :version "3.0")
3267 ("GetBooleani_v" get-booleani_v :return "void" :args
3268 ((:name |target| :type |GLenum| :direction :in)
3269 (:name |index| :type |UInt32| :direction :in)
3270 (:name |data| :type |Boolean| :direction :out :array t :size (|target|)))
3271 :category "VERSION_3_0" :deprecated nil :version "3.0")
3272 ("ColorMaski" color-mask-i :return "void" :args
3273 ((:name |index| :type |UInt32| :direction :in)
3274 (:name |r| :type |Boolean| :direction :in)
3275 (:name |g| :type |Boolean| :direction :in)
3276 (:name |b| :type |Boolean| :direction :in)
3277 (:name |a| :type |Boolean| :direction :in))
3278 :category "VERSION_3_0" :deprecated nil :version "3.0")
3279 ("PrimitiveRestartIndex" primitive-restart-index :return "void" :args
3280 ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_3_1"
3281 :deprecated nil :version "3.1")
3282 ("TexBuffer" tex-buffer :return "void" :args
3283 ((:name |target| :type |TextureTarget| :direction :in)
3284 (:name |internalformat| :type |GLenum| :direction :in)
3285 (:name |buffer| :type |UInt32| :direction :in))
3286 :category "VERSION_3_1" :deprecated nil :version "3.1")
3287 ("DrawElementsInstanced" draw-elements-instanced :return "void" :args
3288 ((:name |mode| :type |BeginMode| :direction :in)
3289 (:name |count| :type |SizeI| :direction :in)
3290 (:name |type| :type |DrawElementsType| :direction :in)
3291 (:name |indices| :type |Void| :direction :in :array t :size
3292 (|count| |type|))
3293 (:name |primcount| :type |SizeI| :direction :in))
3294 :category "VERSION_3_1" :deprecated nil :version "3.1")
3295 ("DrawArraysInstanced" draw-arrays-instanced :return "void" :args
3296 ((:name |mode| :type |BeginMode| :direction :in)
3297 (:name |first| :type |Int32| :direction :in)
3298 (:name |count| :type |SizeI| :direction :in)
3299 (:name |primcount| :type |SizeI| :direction :in))
3300 :category "VERSION_3_1" :deprecated nil :version "3.1")
3301 ("FramebufferTexture" framebuffer-texture :return "void" :args
3302 ((:name |target| :type |GLenum| :direction :in)
3303 (:name |attachment| :type |GLenum| :direction :in)
3304 (:name |texture| :type |UInt32| :direction :in)
3305 (:name |level| :type |Int32| :direction :in))
3306 :category "VERSION_3_2" :deprecated nil :version "1.2")
3307 ("GetBufferParameteri64v" get-buffer-parameteri-64v :return "void" :args
3308 ((:name |target| :type |BufferTargetARB| :direction :in)
3309 (:name |pname| :type |BufferPNameARB| :direction :in)
3310 (:name |params| :type |Int64| :direction :out :array t :size (|pname|)))
3311 :category "VERSION_3_2" :deprecated nil :version "3.2")
3312 ("GetInteger64i_v" get-integer-64i_v :return "void" :args
3313 ((:name |target| :type |GLenum| :direction :in)
3314 (:name |index| :type |UInt32| :direction :in)
3315 (:name |data| :type |Int64| :direction :out :array t :size (|target|)))
3316 :category "VERSION_3_2" :deprecated nil :version "3.2")
3317 ("VertexAttribDivisor" vertex-attrib-divisor :return "void" :args
3318 ((:name |index| :type |UInt32| :direction :in)
3319 (:name |divisor| :type |UInt32| :direction :in))
3320 :category "VERSION_3_3" :deprecated nil :version "1.1")
3321 ("BlendFuncSeparatei" blend-func-separate-i :return "void" :args
3322 ((:name |buf| :type |UInt32| :direction :in)
3323 (:name |srcRGB| :type |GLenum| :direction :in)
3324 (:name |dstRGB| :type |GLenum| :direction :in)
3325 (:name |srcAlpha| :type |GLenum| :direction :in)
3326 (:name |dstAlpha| :type |GLenum| :direction :in))
3327 :category "VERSION_4_0" :deprecated nil :version "1.2")
3328 ("BlendFunci" blend-func-i :return "void" :args
3329 ((:name |buf| :type |UInt32| :direction :in)
3330 (:name |src| :type |GLenum| :direction :in)
3331 (:name |dst| :type |GLenum| :direction :in))
3332 :category "VERSION_4_0" :deprecated nil :version "1.2")
3333 ("BlendEquationSeparatei" blend-equation-separate-i :return "void" :args
3334 ((:name |buf| :type |UInt32| :direction :in)
3335 (:name |modeRGB| :type |GLenum| :direction :in)
3336 (:name |modeAlpha| :type |GLenum| :direction :in))
3337 :category "VERSION_4_0" :deprecated nil :version "1.2")
3338 ("BlendEquationi" blend-equation-i :return "void" :args
3339 ((:name |buf| :type |UInt32| :direction :in)
3340 (:name |mode| :type |GLenum| :direction :in))
3341 :category "VERSION_4_0" :deprecated nil :version "1.2")
3342 ("MinSampleShading" min-sample-shading :return "void" :args
3343 ((:name |value| :type |ClampedColorF| :direction :in)) :category
3344 "VERSION_4_0" :deprecated nil :version "1.2")))