Shadowed some foreign type definitions that may clash with CL package.
[cl-glfw/jecs.git] / lib / opengl-version_1_2.lisp
blob5879a6cffe2e74e78c8e0d0a985e272a7cd508ee
2 (in-package #:gl)
4 ;;;; VERSION_1_2
6 (defconstant +max-elements-vertices+ #x80E8)
7 (defconstant +max-elements-indices+ #x80E9)
8 (defconstant +pack-skip-images+ #x806B)
9 (defconstant +pack-image-height+ #x806C)
10 (defconstant +unpack-skip-images+ #x806D)
11 (defconstant +unpack-image-height+ #x806E)
12 (defconstant +texture-3d+ #x806F)
13 (defconstant +proxy-texture-3d+ #x8070)
14 (defconstant +texture-depth+ #x8071)
15 (defconstant +texture-wrap-r+ #x8072)
16 (defconstant +max-3d-texture-size+ #x8073)
17 (defconstant +max-elements-vertices+ #x80E8)
18 (defconstant +max-elements-indices+ #x80E9)
19 (defglfun
20 (("CopyTexSubImage3D" copy-tex-sub-image-3d) :args
21 ((:name |target| :type |TextureTarget| :direction :in)
22 (:name |level| :type |CheckedInt32| :direction :in)
23 (:name |xoffset| :type |CheckedInt32| :direction :in)
24 (:name |yoffset| :type |CheckedInt32| :direction :in)
25 (:name |zoffset| :type |CheckedInt32| :direction :in)
26 (:name |x| :type |WinCoord| :direction :in)
27 (:name |y| :type |WinCoord| :direction :in)
28 (:name |width| :type |SizeI| :direction :in)
29 (:name |height| :type |SizeI| :direction :in))
30 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
31 :glxropcode ("4123") :glsopcode ("0x0151") :offset ("373")))
32 (defglfun
33 (("TexSubImage3D" tex-sub-image-3d) :args
34 ((:name |target| :type |TextureTarget| :direction :in)
35 (:name |level| :type |CheckedInt32| :direction :in)
36 (:name |xoffset| :type |CheckedInt32| :direction :in)
37 (:name |yoffset| :type |CheckedInt32| :direction :in)
38 (:name |zoffset| :type |CheckedInt32| :direction :in)
39 (:name |width| :type |SizeI| :direction :in)
40 (:name |height| :type |SizeI| :direction :in)
41 (:name |depth| :type |SizeI| :direction :in)
42 (:name |format| :type |PixelFormat| :direction :in)
43 (:name |type| :type |PixelType| :direction :in)
44 (:name |pixels| :type |Void| :direction :in :array t :size
45 (|format| |type| |width| |height| |depth|)))
46 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
47 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
48 ("4115") :glsflags ("pixel-unpack") :glsopcode ("0x013D") :offset ("372")))
49 (defglfun
50 (("TexImage3D" tex-image-3d) :args
51 ((:name |target| :type |TextureTarget| :direction :in)
52 (:name |level| :type |CheckedInt32| :direction :in)
53 (:name |internalformat| :type |TextureComponentCount| :direction :in)
54 (:name |width| :type |SizeI| :direction :in)
55 (:name |height| :type |SizeI| :direction :in)
56 (:name |depth| :type |SizeI| :direction :in)
57 (:name |border| :type |CheckedInt32| :direction :in)
58 (:name |format| :type |PixelFormat| :direction :in)
59 (:name |type| :type |PixelType| :direction :in)
60 (:name |pixels| :type |Void| :direction :in :array t :size
61 (|format| |type| |width| |height| |depth|)))
62 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
63 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
64 ("4114") :glsflags ("pixel-null" "pixel-unpack") :glsopcode ("0x013C")
65 :offset ("371")))
66 (defglfun
67 (("ResetMinmax" reset-minmax) :args
68 ((:name |target| :type |MinmaxTarget| :direction :in)) :return ("void")
69 :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2") :glxropcode
70 ("4113") :glsopcode ("0x013B") :offset ("370")))
71 (defglfun
72 (("ResetHistogram" reset-histogram) :args
73 ((:name |target| :type |HistogramTarget| :direction :in)) :return ("void")
74 :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2") :glxropcode
75 ("4112") :glsopcode ("0x013A") :offset ("369")))
76 (defglfun
77 (("Minmax" minmax) :args
78 ((:name |target| :type |MinmaxTarget| :direction :in)
79 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
80 (:name |sink| :type |Boolean| :direction :in))
81 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
82 :glxropcode ("4111") :glsopcode ("0x0139") :offset ("368")))
83 (defglfun
84 (("Histogram" histogram) :args
85 ((:name |target| :type |HistogramTarget| :direction :in)
86 (:name |width| :type |SizeI| :direction :in)
87 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
88 (:name |sink| :type |Boolean| :direction :in))
89 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
90 ("EXT") :version ("1.2") :glxropcode ("4110") :glsopcode ("0x0138") :offset
91 ("367")))
92 (defglfun
93 (("GetMinmaxParameteriv" get-minmax-parameter-iv) :args
94 ((:name |target| :type |MinmaxTarget| :direction :in)
95 (:name |pname| :type |GetMinmaxParameterPName| :direction :in)
96 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
97 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
98 ("1.2") :glxsingle ("159") :glsflags ("get") :glsopcode ("0x0269") :offset
99 ("366")))
100 (defglfun
101 (("GetMinmaxParameterfv" get-minmax-parameter-fv) :args
102 ((:name |target| :type |MinmaxTarget| :direction :in)
103 (:name |pname| :type |GetMinmaxParameterPName| :direction :in)
104 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
105 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
106 ("1.2") :glxsingle ("158") :glsflags ("get") :glsopcode ("0x0268") :offset
107 ("365")))
108 (defglfun
109 (("GetMinmax" get-minmax) :args
110 ((:name |target| :type |MinmaxTarget| :direction :in)
111 (:name |reset| :type |Boolean| :direction :in)
112 (:name |format| :type |PixelFormat| :direction :in)
113 (:name |type| :type |PixelType| :direction :in)
114 (:name |values| :type |Void| :direction :out :array t :size
115 (|target| |format| |type|)))
116 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :glxflags
117 ("client-handcode" "server-handcode") :version ("1.2") :glxsingle ("157")
118 :glsflags ("get" "pixel-pack") :glsopcode ("0x0267") :offset ("364")))
119 (defglfun
120 (("GetHistogramParameteriv" get-histogram-parameter-iv) :args
121 ((:name |target| :type |HistogramTarget| :direction :in)
122 (:name |pname| :type |GetHistogramParameterPName| :direction :in)
123 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
124 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
125 ("1.2") :glxsingle ("156") :glsflags ("get") :glsopcode ("0x0266") :offset
126 ("363")))
127 (defglfun
128 (("GetHistogramParameterfv" get-histogram-parameter-fv) :args
129 ((:name |target| :type |HistogramTarget| :direction :in)
130 (:name |pname| :type |GetHistogramParameterPName| :direction :in)
131 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
132 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
133 ("1.2") :glxsingle ("155") :glsflags ("get") :glsopcode ("0x0265") :offset
134 ("362")))
135 (defglfun
136 (("GetHistogram" get-histogram) :args
137 ((:name |target| :type |HistogramTarget| :direction :in)
138 (:name |reset| :type |Boolean| :direction :in)
139 (:name |format| :type |PixelFormat| :direction :in)
140 (:name |type| :type |PixelType| :direction :in)
141 (:name |values| :type |Void| :direction :out :array t :size
142 (|target| |format| |type|)))
143 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :glxflags
144 ("client-handcode" "server-handcode") :version ("1.2") :glxsingle ("154")
145 :glsflags ("get" "pixel-pack") :glsopcode ("0x0264") :offset ("361")))
146 (defglfun
147 (("SeparableFilter2D" separable-filter-2d) :args
148 ((:name |target| :type |SeparableTarget| :direction :in)
149 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
150 (:name |width| :type |SizeI| :direction :in)
151 (:name |height| :type |SizeI| :direction :in)
152 (:name |format| :type |PixelFormat| :direction :in)
153 (:name |type| :type |PixelType| :direction :in)
154 (:name |row| :type |Void| :direction :in :array t :size
155 (|target| |format| |type| |width|))
156 (:name |column| :type |Void| :direction :in :array t :size
157 (|target| |format| |type| |height|)))
158 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
159 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
160 ("4109") :glsflags ("pixel-unpack") :glsopcode ("0x0131") :offset ("360")))
161 (defglfun
162 (("GetSeparableFilter" get-separable-filter) :args
163 ((:name |target| :type |SeparableTarget| :direction :in)
164 (:name |format| :type |PixelFormat| :direction :in)
165 (:name |type| :type |PixelType| :direction :in)
166 (:name |row| :type |Void| :direction :out :array t :size
167 (|target| |format| |type|))
168 (:name |column| :type |Void| :direction :out :array t :size
169 (|target| |format| |type|))
170 (:name |span| :type |Void| :direction :out :array t :size
171 (|target| |format| |type|)))
172 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :glxflags
173 ("client-handcode" "server-handcode") :version ("1.2") :glxsingle ("153")
174 :glsflags ("get" "pixel-pack") :glsopcode ("0x0263") :offset ("359")))
175 (defglfun
176 (("GetConvolutionParameteriv" get-convolution-parameter-iv) :args
177 ((:name |target| :type |ConvolutionTarget| :direction :in)
178 (:name |pname| :type |GetConvolutionParameterPName| :direction :in)
179 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
180 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
181 ("1.2") :glxsingle ("152") :glsflags ("get") :glsopcode ("0x0262") :offset
182 ("358")))
183 (defglfun
184 (("GetConvolutionParameterfv" get-convolution-parameter-fv) :args
185 ((:name |target| :type |ConvolutionTarget| :direction :in)
186 (:name |pname| :type |GetConvolutionParameterPName| :direction :in)
187 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
188 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
189 ("1.2") :glxsingle ("151") :glsflags ("get") :glsopcode ("0x0261") :offset
190 ("357")))
191 (defglfun
192 (("GetConvolutionFilter" get-convolution-filter) :args
193 ((:name |target| :type |ConvolutionTarget| :direction :in)
194 (:name |format| :type |PixelFormat| :direction :in)
195 (:name |type| :type |PixelType| :direction :in)
196 (:name |image| :type |Void| :direction :out :array t :size
197 (|target| |format| |type|)))
198 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :glxflags
199 ("client-handcode" "server-handcode") :version ("1.2") :glxsingle ("150")
200 :glsflags ("get" "pixel-pack") :glsopcode ("0x0260") :offset ("356")))
201 (defglfun
202 (("CopyConvolutionFilter2D" copy-convolution-filter-2d) :args
203 ((:name |target| :type |ConvolutionTarget| :direction :in)
204 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
205 (:name |x| :type |WinCoord| :direction :in)
206 (:name |y| :type |WinCoord| :direction :in)
207 (:name |width| :type |SizeI| :direction :in)
208 (:name |height| :type |SizeI| :direction :in))
209 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
210 :glxropcode ("4108") :glsopcode ("0x012C") :offset ("355")))
211 (defglfun
212 (("CopyConvolutionFilter1D" copy-convolution-filter-1d) :args
213 ((:name |target| :type |ConvolutionTarget| :direction :in)
214 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
215 (:name |x| :type |WinCoord| :direction :in)
216 (:name |y| :type |WinCoord| :direction :in)
217 (:name |width| :type |SizeI| :direction :in))
218 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
219 :glxropcode ("4107") :glsopcode ("0x012B") :offset ("354")))
220 (defglfun
221 (("ConvolutionParameteriv" convolution-parameter-iv) :args
222 ((:name |target| :type |ConvolutionTarget| :direction :in)
223 (:name |pname| :type |ConvolutionParameter| :direction :in)
224 (:name |params| :type |CheckedInt32| :direction :in :array t :size
225 (|pname|)))
226 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
227 :glxropcode ("4106") :glsflags ("gl-enum") :glsopcode ("0x012A") :offset
228 ("353")))
229 (defglfun
230 (("ConvolutionParameteri" convolution-parameter-i) :args
231 ((:name |target| :type |ConvolutionTarget| :direction :in)
232 (:name |pname| :type |ConvolutionParameter| :direction :in)
233 (:name |params| :type |CheckedInt32| :direction :in))
234 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
235 :glxropcode ("4105") :glsflags ("gl-enum") :glsopcode ("0x0129") :offset
236 ("352")))
237 (defglfun
238 (("ConvolutionParameterfv" convolution-parameter-fv) :args
239 ((:name |target| :type |ConvolutionTarget| :direction :in)
240 (:name |pname| :type |ConvolutionParameter| :direction :in)
241 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
242 (|pname|)))
243 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
244 :glxropcode ("4104") :glsflags ("gl-enum") :glsopcode ("0x0128") :offset
245 ("351")))
246 (defglfun
247 (("ConvolutionParameterf" convolution-parameter-f) :args
248 ((:name |target| :type |ConvolutionTarget| :direction :in)
249 (:name |pname| :type |ConvolutionParameter| :direction :in)
250 (:name |params| :type |CheckedFloat32| :direction :in))
251 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
252 :glxropcode ("4103") :glsflags ("gl-enum") :glsopcode ("0x0127") :offset
253 ("350")))
254 (defglfun
255 (("ConvolutionFilter2D" convolution-filter-2d) :args
256 ((:name |target| :type |ConvolutionTarget| :direction :in)
257 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
258 (:name |width| :type |SizeI| :direction :in)
259 (:name |height| :type |SizeI| :direction :in)
260 (:name |format| :type |PixelFormat| :direction :in)
261 (:name |type| :type |PixelType| :direction :in)
262 (:name |image| :type |Void| :direction :in :array t :size
263 (|format| |type| |width| |height|)))
264 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
265 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
266 ("4102") :glsflags ("pixel-unpack") :glsopcode ("0x0126") :offset ("349")))
267 (defglfun
268 (("ConvolutionFilter1D" convolution-filter-1d) :args
269 ((:name |target| :type |ConvolutionTarget| :direction :in)
270 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
271 (:name |width| :type |SizeI| :direction :in)
272 (:name |format| :type |PixelFormat| :direction :in)
273 (:name |type| :type |PixelType| :direction :in)
274 (:name |image| :type |Void| :direction :in :array t :size
275 (|format| |type| |width|)))
276 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
277 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
278 ("4101") :glsflags ("pixel-unpack") :glsopcode ("0x0125") :offset ("348")))
279 (defglfun
280 (("CopyColorSubTable" copy-color-sub-table) :args
281 ((:name |target| :type |ColorTableTarget| :direction :in)
282 (:name |start| :type |SizeI| :direction :in)
283 (:name |x| :type |WinCoord| :direction :in)
284 (:name |y| :type |WinCoord| :direction :in)
285 (:name |width| :type |SizeI| :direction :in))
286 :return ("void") :category ("VERSION_1_2") :version ("1.2") :glxropcode
287 ("196") :glsopcode ("0x018F") :offset ("347")))
288 (defglfun
289 (("ColorSubTable" color-sub-table) :args
290 ((:name |target| :type |ColorTableTarget| :direction :in)
291 (:name |start| :type |SizeI| :direction :in)
292 (:name |count| :type |SizeI| :direction :in)
293 (:name |format| :type |PixelFormat| :direction :in)
294 (:name |type| :type |PixelType| :direction :in)
295 (:name |data| :type |Void| :direction :in :array t :size
296 (|format| |type| |count|)))
297 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
298 ("client-handcode" "server-handcode") :version ("1.2") :glxropcode ("195")
299 :glsflags ("pixel-unpack") :glsopcode ("0x018E") :offset ("346")))
300 (defglfun
301 (("GetColorTableParameteriv" get-color-table-parameter-iv) :args
302 ((:name |target| :type |ColorTableTarget| :direction :in)
303 (:name |pname| :type |GetColorTableParameterPName| :direction :in)
304 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
305 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
306 ("1.2") :glxsingle ("149") :glsflags ("get") :glsopcode ("0x025F") :offset
307 ("345")))
308 (defglfun
309 (("GetColorTableParameterfv" get-color-table-parameter-fv) :args
310 ((:name |target| :type |ColorTableTarget| :direction :in)
311 (:name |pname| :type |GetColorTableParameterPName| :direction :in)
312 (:name |params| :type |Float32| :direction :out :array t :size (|pname|)))
313 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :version
314 ("1.2") :glxsingle ("148") :glsflags ("get") :glsopcode ("0x025E") :offset
315 ("344")))
316 (defglfun
317 (("GetColorTable" get-color-table) :args
318 ((:name |target| :type |ColorTableTarget| :direction :in)
319 (:name |format| :type |PixelFormat| :direction :in)
320 (:name |type| :type |PixelType| :direction :in)
321 (:name |table| :type |Void| :direction :out :array t :size
322 (|target| |format| |type|)))
323 :return ("void") :category ("VERSION_1_2") :dlflags ("notlistable") :glxflags
324 ("client-handcode" "server-handcode") :version ("1.2") :glxsingle ("147")
325 :glsflags ("get" "pixel-pack") :glsopcode ("0x025D") :offset ("343")))
326 (defglfun
327 (("CopyColorTable" copy-color-table) :args
328 ((:name |target| :type |ColorTableTarget| :direction :in)
329 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
330 (:name |x| :type |WinCoord| :direction :in)
331 (:name |y| :type |WinCoord| :direction :in)
332 (:name |width| :type |SizeI| :direction :in))
333 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
334 :glxropcode ("2056") :glsopcode ("0x016A") :offset ("342")))
335 (defglfun
336 (("ColorTableParameteriv" color-table-parameter-iv) :args
337 ((:name |target| :type |ColorTableTarget| :direction :in)
338 (:name |pname| :type |ColorTableParameterPName| :direction :in)
339 (:name |params| :type |CheckedInt32| :direction :in :array t :size
340 (|pname|)))
341 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
342 :glxropcode ("2055") :glsopcode ("0x0169") :offset ("341")))
343 (defglfun
344 (("ColorTableParameterfv" color-table-parameter-fv) :args
345 ((:name |target| :type |ColorTableTarget| :direction :in)
346 (:name |pname| :type |ColorTableParameterPName| :direction :in)
347 (:name |params| :type |CheckedFloat32| :direction :in :array t :size
348 (|pname|)))
349 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
350 :glxropcode ("2054") :glsopcode ("0x0168") :offset ("340")))
351 (defglfun
352 (("ColorTable" color-table) :args
353 ((:name |target| :type |ColorTableTarget| :direction :in)
354 (:name |internalformat| :type |PixelInternalFormat| :direction :in)
355 (:name |width| :type |SizeI| :direction :in)
356 (:name |format| :type |PixelFormat| :direction :in)
357 (:name |type| :type |PixelType| :direction :in)
358 (:name |table| :type |Void| :direction :in :array t :size
359 (|format| |type| |width|)))
360 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
361 ("client-handcode" "server-handcode" "EXT") :version ("1.2") :glxropcode
362 ("2053") :glsflags ("pixel-unpack") :glsopcode ("0x0167") :offset ("339")))
363 (defglfun
364 (("DrawRangeElements" draw-range-elements) :args
365 ((:name |mode| :type |BeginMode| :direction :in)
366 (:name |start| :type |UInt32| :direction :in)
367 (:name |end| :type |UInt32| :direction :in)
368 (:name |count| :type |SizeI| :direction :in)
369 (:name |type| :type |DrawElementsType| :direction :in)
370 (:name |indices| :type |Void| :direction :in :array t :size
371 (|count| |type|)))
372 :return ("void") :category ("VERSION_1_2") :dlflags ("handcode") :glxflags
373 ("client-handcode" "client-intercept" "server-handcode") :version ("1.2")
374 :glsopcode ("0x0190") :offset ("338")))
375 (defglfun
376 (("BlendEquation" blend-equation) :args
377 ((:name |mode| :type |BlendEquationMode| :direction :in)) :return ("void")
378 :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2") :glxropcode
379 ("4097") :glsopcode ("0x0121") :offset ("337")))
380 (defglfun
381 (("BlendColor" blend-color) :args
382 ((:name |red| :type |ClampedColorF| :direction :in)
383 (:name |green| :type |ClampedColorF| :direction :in)
384 (:name |blue| :type |ClampedColorF| :direction :in)
385 (:name |alpha| :type |ClampedColorF| :direction :in))
386 :return ("void") :category ("VERSION_1_2") :glxflags ("EXT") :version ("1.2")
387 :glxropcode ("4096") :glsopcode ("0x0120") :offset ("336")))