]>
Commit | Line | Data |
---|---|---|
45516216 | 1 | // /usr/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1 -fpreprocessed /var/tmp/ccache/texcompres.tmp.boa-0.7713.i -quiet -dumpbase texcompres.tmp.boa-0.7713.i -march=athlon-xp -auxbase-strip /var/tmp/ccache/tmp.hash.boa-0.7713.o -O3 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -ftree-loop-linear -frename-registers -fprefetch-loop-arrays -fstack-protector-all -fstack-check -fno-strict-overflow -fPIC -o - -frandom-seed=0 |
2 | # 1 "texcompress_fxt1.c" | |
3 | # 1 "<built-in>" | |
4 | # 1 "<command-line>" | |
5 | # 1 "texcompress_fxt1.c" | |
6 | # 32 "texcompress_fxt1.c" | |
7 | ||
8 | # 1 "glheader.h" 1 | |
9 | # 51 "glheader.h" | |
10 | ||
11 | # 1 "../../../include/dix-config.h" 1 | |
12 | # 52 "glheader.h" 2 | |
13 | ||
14 | ||
15 | ||
16 | # 1 "/usr/include/assert.h" 1 3 4 | |
17 | # 37 "/usr/include/assert.h" 3 4 | |
18 | ||
19 | # 1 "/usr/include/features.h" 1 3 4 | |
20 | # 322 "/usr/include/features.h" 3 4 | |
21 | ||
22 | # 1 "/usr/include/sys/cdefs.h" 1 3 4 | |
23 | # 324 "/usr/include/sys/cdefs.h" 3 4 | |
24 | ||
25 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
26 | # 325 "/usr/include/sys/cdefs.h" 2 3 4 | |
27 | # 323 "/usr/include/features.h" 2 3 4 | |
28 | # 345 "/usr/include/features.h" 3 4 | |
29 | ||
30 | # 1 "/usr/include/gnu/stubs.h" 1 3 4 | |
31 | ||
32 | ||
33 | ||
34 | ||
35 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
36 | # 5 "/usr/include/gnu/stubs.h" 2 3 4 | |
37 | ||
38 | ||
39 | ||
40 | # 1 "/usr/include/gnu/stubs-32.h" 1 3 4 | |
41 | # 8 "/usr/include/gnu/stubs.h" 2 3 4 | |
42 | # 346 "/usr/include/features.h" 2 3 4 | |
43 | # 38 "/usr/include/assert.h" 2 3 4 | |
44 | # 55 "glheader.h" 2 | |
45 | ||
46 | # 1 "/usr/include/ctype.h" 1 3 4 | |
47 | # 28 "/usr/include/ctype.h" 3 4 | |
48 | ||
49 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
50 | # 28 "/usr/include/bits/types.h" 3 4 | |
51 | ||
52 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
53 | # 29 "/usr/include/bits/types.h" 2 3 4 | |
54 | ||
55 | ||
56 | ||
57 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
58 | # 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 | |
59 | typedef unsigned int size_t; | |
60 | # 32 "/usr/include/bits/types.h" 2 3 4 | |
61 | ||
62 | ||
63 | typedef unsigned char __u_char; | |
64 | typedef unsigned short int __u_short; | |
65 | typedef unsigned int __u_int; | |
66 | typedef unsigned long int __u_long; | |
67 | ||
68 | ||
69 | typedef signed char __int8_t; | |
70 | typedef unsigned char __uint8_t; | |
71 | typedef signed short int __int16_t; | |
72 | typedef unsigned short int __uint16_t; | |
73 | typedef signed int __int32_t; | |
74 | typedef unsigned int __uint32_t; | |
75 | ||
76 | ||
77 | ||
78 | ||
79 | __extension__ typedef signed long long int __int64_t; | |
80 | __extension__ typedef unsigned long long int __uint64_t; | |
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | __extension__ typedef long long int __quad_t; | |
89 | __extension__ typedef unsigned long long int __u_quad_t; | |
90 | # 134 "/usr/include/bits/types.h" 3 4 | |
91 | ||
92 | # 1 "/usr/include/bits/typesizes.h" 1 3 4 | |
93 | # 135 "/usr/include/bits/types.h" 2 3 4 | |
94 | ||
95 | ||
96 | __extension__ typedef __u_quad_t __dev_t; | |
97 | __extension__ typedef unsigned int __uid_t; | |
98 | __extension__ typedef unsigned int __gid_t; | |
99 | __extension__ typedef unsigned long int __ino_t; | |
100 | __extension__ typedef __u_quad_t __ino64_t; | |
101 | __extension__ typedef unsigned int __mode_t; | |
102 | __extension__ typedef unsigned int __nlink_t; | |
103 | __extension__ typedef long int __off_t; | |
104 | __extension__ typedef __quad_t __off64_t; | |
105 | __extension__ typedef int __pid_t; | |
106 | __extension__ typedef struct { int __val[2]; } __fsid_t; | |
107 | __extension__ typedef long int __clock_t; | |
108 | __extension__ typedef unsigned long int __rlim_t; | |
109 | __extension__ typedef __u_quad_t __rlim64_t; | |
110 | __extension__ typedef unsigned int __id_t; | |
111 | __extension__ typedef long int __time_t; | |
112 | __extension__ typedef unsigned int __useconds_t; | |
113 | __extension__ typedef long int __suseconds_t; | |
114 | ||
115 | __extension__ typedef int __daddr_t; | |
116 | __extension__ typedef long int __swblk_t; | |
117 | __extension__ typedef int __key_t; | |
118 | ||
119 | ||
120 | __extension__ typedef int __clockid_t; | |
121 | ||
122 | ||
123 | __extension__ typedef void * __timer_t; | |
124 | ||
125 | ||
126 | __extension__ typedef long int __blksize_t; | |
127 | ||
128 | ||
129 | ||
130 | ||
131 | __extension__ typedef long int __blkcnt_t; | |
132 | __extension__ typedef __quad_t __blkcnt64_t; | |
133 | ||
134 | ||
135 | __extension__ typedef unsigned long int __fsblkcnt_t; | |
136 | __extension__ typedef __u_quad_t __fsblkcnt64_t; | |
137 | ||
138 | ||
139 | __extension__ typedef unsigned long int __fsfilcnt_t; | |
140 | __extension__ typedef __u_quad_t __fsfilcnt64_t; | |
141 | ||
142 | __extension__ typedef int __ssize_t; | |
143 | ||
144 | ||
145 | ||
146 | typedef __off64_t __loff_t; | |
147 | typedef __quad_t *__qaddr_t; | |
148 | typedef char *__caddr_t; | |
149 | ||
150 | ||
151 | __extension__ typedef int __intptr_t; | |
152 | ||
153 | ||
154 | __extension__ typedef unsigned int __socklen_t; | |
155 | # 29 "/usr/include/ctype.h" 2 3 4 | |
156 | # 41 "/usr/include/ctype.h" 3 4 | |
157 | ||
158 | # 1 "/usr/include/endian.h" 1 3 4 | |
159 | # 37 "/usr/include/endian.h" 3 4 | |
160 | ||
161 | # 1 "/usr/include/bits/endian.h" 1 3 4 | |
162 | # 38 "/usr/include/endian.h" 2 3 4 | |
163 | # 42 "/usr/include/ctype.h" 2 3 4 | |
164 | ||
165 | ||
166 | ||
167 | ||
168 | ||
169 | ||
170 | enum | |
171 | { | |
172 | _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), | |
173 | _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), | |
174 | _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), | |
175 | _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), | |
176 | _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), | |
177 | _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), | |
178 | _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), | |
179 | _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), | |
180 | _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), | |
181 | _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), | |
182 | _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), | |
183 | _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) | |
184 | }; | |
185 | # 81 "/usr/include/ctype.h" 3 4 | |
186 | extern __const unsigned short int **__ctype_b_loc (void) | |
187 | __attribute__ ((__const)); | |
188 | extern __const __int32_t **__ctype_tolower_loc (void) | |
189 | __attribute__ ((__const)); | |
190 | extern __const __int32_t **__ctype_toupper_loc (void) | |
191 | __attribute__ ((__const)); | |
192 | # 96 "/usr/include/ctype.h" 3 4 | |
193 | ||
194 | ||
195 | ||
196 | ||
197 | ||
198 | ||
199 | extern int isalnum (int) __attribute__ ((__nothrow__)); | |
200 | extern int isalpha (int) __attribute__ ((__nothrow__)); | |
201 | extern int iscntrl (int) __attribute__ ((__nothrow__)); | |
202 | extern int isdigit (int) __attribute__ ((__nothrow__)); | |
203 | extern int islower (int) __attribute__ ((__nothrow__)); | |
204 | extern int isgraph (int) __attribute__ ((__nothrow__)); | |
205 | extern int isprint (int) __attribute__ ((__nothrow__)); | |
206 | extern int ispunct (int) __attribute__ ((__nothrow__)); | |
207 | extern int isspace (int) __attribute__ ((__nothrow__)); | |
208 | extern int isupper (int) __attribute__ ((__nothrow__)); | |
209 | extern int isxdigit (int) __attribute__ ((__nothrow__)); | |
210 | ||
211 | ||
212 | ||
213 | extern int tolower (int __c) __attribute__ ((__nothrow__)); | |
214 | ||
215 | ||
216 | extern int toupper (int __c) __attribute__ ((__nothrow__)); | |
217 | # 128 "/usr/include/ctype.h" 3 4 | |
218 | extern int isblank (int) __attribute__ ((__nothrow__)); | |
219 | ||
220 | ||
221 | ||
222 | ||
223 | ||
224 | ||
225 | extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__)); | |
226 | ||
227 | ||
228 | ||
229 | ||
230 | ||
231 | ||
232 | extern int isascii (int __c) __attribute__ ((__nothrow__)); | |
233 | ||
234 | ||
235 | ||
236 | extern int toascii (int __c) __attribute__ ((__nothrow__)); | |
237 | ||
238 | ||
239 | ||
240 | extern int _toupper (int) __attribute__ ((__nothrow__)); | |
241 | extern int _tolower (int) __attribute__ ((__nothrow__)); | |
242 | # 190 "/usr/include/ctype.h" 3 4 | |
243 | extern __inline int | |
244 | __attribute__ ((__nothrow__)) tolower (int __c) | |
245 | { | |
246 | return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; | |
247 | } | |
248 | ||
249 | extern __inline int | |
250 | __attribute__ ((__nothrow__)) toupper (int __c) | |
251 | { | |
252 | return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; | |
253 | } | |
254 | # 233 "/usr/include/ctype.h" 3 4 | |
255 | ||
256 | # 1 "/usr/include/xlocale.h" 1 3 4 | |
257 | # 28 "/usr/include/xlocale.h" 3 4 | |
258 | typedef struct __locale_struct | |
259 | { | |
260 | ||
261 | struct locale_data *__locales[13]; | |
262 | ||
263 | ||
264 | const unsigned short int *__ctype_b; | |
265 | const int *__ctype_tolower; | |
266 | const int *__ctype_toupper; | |
267 | ||
268 | ||
269 | const char *__names[13]; | |
270 | } *__locale_t; | |
271 | # 234 "/usr/include/ctype.h" 2 3 4 | |
272 | # 247 "/usr/include/ctype.h" 3 4 | |
273 | extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
274 | extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
275 | extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
276 | extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
277 | extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
278 | extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
279 | extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
280 | extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
281 | extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
282 | extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
283 | extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
284 | ||
285 | extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__)); | |
286 | ||
287 | ||
288 | ||
289 | extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); | |
290 | extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); | |
291 | ||
292 | ||
293 | extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); | |
294 | extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); | |
295 | # 323 "/usr/include/ctype.h" 3 4 | |
296 | # 56 "glheader.h" 2 | |
297 | ||
298 | ||
299 | ||
300 | ||
301 | # 1 "/usr/include/math.h" 1 3 4 | |
302 | # 30 "/usr/include/math.h" 3 4 | |
303 | ||
304 | ||
305 | ||
306 | ||
307 | ||
308 | # 1 "/usr/include/bits/huge_val.h" 1 3 4 | |
309 | # 35 "/usr/include/math.h" 2 3 4 | |
310 | ||
311 | ||
312 | # 1 "/usr/include/bits/huge_valf.h" 1 3 4 | |
313 | # 37 "/usr/include/math.h" 2 3 4 | |
314 | ||
315 | # 1 "/usr/include/bits/huge_vall.h" 1 3 4 | |
316 | # 38 "/usr/include/math.h" 2 3 4 | |
317 | ||
318 | ||
319 | ||
320 | # 1 "/usr/include/bits/inf.h" 1 3 4 | |
321 | # 41 "/usr/include/math.h" 2 3 4 | |
322 | ||
323 | ||
324 | ||
325 | # 1 "/usr/include/bits/nan.h" 1 3 4 | |
326 | # 44 "/usr/include/math.h" 2 3 4 | |
327 | ||
328 | ||
329 | ||
330 | ||
331 | # 1 "/usr/include/bits/mathdef.h" 1 3 4 | |
332 | # 36 "/usr/include/bits/mathdef.h" 3 4 | |
333 | typedef long double float_t; | |
334 | ||
335 | typedef long double double_t; | |
336 | # 48 "/usr/include/math.h" 2 3 4 | |
337 | # 71 "/usr/include/math.h" 3 4 | |
338 | ||
339 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
340 | # 53 "/usr/include/bits/mathcalls.h" 3 4 | |
341 | ||
342 | ||
343 | extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); | |
344 | ||
345 | extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); | |
346 | ||
347 | extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); | |
348 | ||
349 | extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); | |
350 | ||
351 | ||
352 | extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); | |
353 | ||
354 | extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); | |
355 | ||
356 | extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); | |
357 | ||
358 | ||
359 | ||
360 | ||
361 | extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); | |
362 | ||
363 | extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); | |
364 | ||
365 | extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); | |
366 | ||
367 | ||
368 | ||
369 | ||
370 | extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); | |
371 | ||
372 | ||
373 | ||
374 | ||
375 | ||
376 | ||
377 | extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); | |
378 | ||
379 | extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); | |
380 | ||
381 | extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); | |
382 | ||
383 | ||
384 | ||
385 | ||
386 | ||
387 | ||
388 | ||
389 | extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); | |
390 | ||
391 | ||
392 | extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); | |
393 | ||
394 | ||
395 | extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); | |
396 | ||
397 | ||
398 | extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); | |
399 | ||
400 | ||
401 | extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); | |
402 | ||
403 | ||
404 | extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); | |
405 | ||
406 | ||
407 | ||
408 | ||
409 | extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__)); | |
410 | ||
411 | extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__)); | |
412 | ||
413 | ||
414 | ||
415 | ||
416 | ||
417 | extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); | |
418 | ||
419 | ||
420 | extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); | |
421 | ||
422 | ||
423 | extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); | |
424 | ||
425 | ||
426 | ||
427 | ||
428 | ||
429 | ||
430 | extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); | |
431 | ||
432 | ||
433 | extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); | |
434 | # 154 "/usr/include/bits/mathcalls.h" 3 4 | |
435 | extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); | |
436 | ||
437 | ||
438 | extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); | |
439 | ||
440 | ||
441 | ||
442 | ||
443 | ||
444 | extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); | |
445 | ||
446 | ||
447 | ||
448 | ||
449 | ||
450 | ||
451 | extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); | |
452 | # 179 "/usr/include/bits/mathcalls.h" 3 4 | |
453 | extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
454 | ||
455 | ||
456 | extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
457 | ||
458 | ||
459 | extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
460 | ||
461 | ||
462 | extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); | |
463 | ||
464 | ||
465 | ||
466 | ||
467 | extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
468 | ||
469 | ||
470 | extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
471 | ||
472 | ||
473 | ||
474 | ||
475 | ||
476 | extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
477 | ||
478 | ||
479 | extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
480 | ||
481 | ||
482 | extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); | |
483 | ||
484 | ||
485 | ||
486 | extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); | |
487 | ||
488 | ||
489 | ||
490 | ||
491 | ||
492 | extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
493 | ||
494 | ||
495 | ||
496 | ||
497 | ||
498 | ||
499 | extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
500 | ||
501 | ||
502 | ||
503 | ||
504 | ||
505 | extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
506 | ||
507 | ||
508 | ||
509 | extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
510 | ||
511 | ||
512 | extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); | |
513 | extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); | |
514 | extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); | |
515 | extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); | |
516 | extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); | |
517 | extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); | |
518 | ||
519 | ||
520 | ||
521 | ||
522 | ||
523 | ||
524 | extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); | |
525 | extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); | |
526 | extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); | |
527 | ||
528 | ||
529 | ||
530 | ||
531 | ||
532 | ||
533 | extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); | |
534 | ||
535 | ||
536 | ||
537 | ||
538 | ||
539 | extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); | |
540 | ||
541 | ||
542 | ||
543 | ||
544 | ||
545 | ||
546 | extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); | |
547 | ||
548 | ||
549 | ||
550 | ||
551 | ||
552 | ||
553 | ||
554 | extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); | |
555 | ||
556 | ||
557 | extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
558 | ||
559 | extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
560 | ||
561 | ||
562 | ||
563 | extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); | |
564 | ||
565 | ||
566 | ||
567 | extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); | |
568 | ||
569 | ||
570 | ||
571 | extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); | |
572 | ||
573 | ||
574 | ||
575 | ||
576 | extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); | |
577 | ||
578 | ||
579 | ||
580 | extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); | |
581 | ||
582 | ||
583 | ||
584 | extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
585 | ||
586 | ||
587 | ||
588 | extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
589 | ||
590 | ||
591 | ||
592 | ||
593 | extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); | |
594 | ||
595 | ||
596 | ||
597 | ||
598 | ||
599 | ||
600 | extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); | |
601 | extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); | |
602 | ||
603 | ||
604 | ||
605 | extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); | |
606 | extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); | |
607 | ||
608 | ||
609 | ||
610 | extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); | |
611 | ||
612 | ||
613 | extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); | |
614 | ||
615 | ||
616 | extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); | |
617 | ||
618 | ||
619 | ||
620 | extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) | |
621 | __attribute__ ((__const__)); | |
622 | ||
623 | ||
624 | extern int __signbit (double __value) __attribute__ ((__nothrow__)) | |
625 | __attribute__ ((__const__)); | |
626 | ||
627 | ||
628 | ||
629 | extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); | |
630 | # 364 "/usr/include/bits/mathcalls.h" 3 4 | |
631 | extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); | |
632 | # 72 "/usr/include/math.h" 2 3 4 | |
633 | # 94 "/usr/include/math.h" 3 4 | |
634 | ||
635 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
636 | # 53 "/usr/include/bits/mathcalls.h" 3 4 | |
637 | ||
638 | ||
639 | extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); | |
640 | ||
641 | extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); | |
642 | ||
643 | extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); | |
644 | ||
645 | extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); | |
646 | ||
647 | ||
648 | extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); | |
649 | ||
650 | extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); | |
651 | ||
652 | extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); | |
653 | ||
654 | ||
655 | ||
656 | ||
657 | extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); | |
658 | ||
659 | extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); | |
660 | ||
661 | extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); | |
662 | ||
663 | ||
664 | ||
665 | ||
666 | extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); | |
667 | ||
668 | ||
669 | ||
670 | ||
671 | ||
672 | ||
673 | extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); | |
674 | ||
675 | extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); | |
676 | ||
677 | extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); | |
678 | ||
679 | ||
680 | ||
681 | ||
682 | ||
683 | ||
684 | ||
685 | extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); | |
686 | ||
687 | ||
688 | extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); | |
689 | ||
690 | ||
691 | extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); | |
692 | ||
693 | ||
694 | extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); | |
695 | ||
696 | ||
697 | extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); | |
698 | ||
699 | ||
700 | extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); | |
701 | ||
702 | ||
703 | ||
704 | ||
705 | extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__)); | |
706 | ||
707 | extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__)); | |
708 | ||
709 | ||
710 | ||
711 | ||
712 | ||
713 | extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); | |
714 | ||
715 | ||
716 | extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); | |
717 | ||
718 | ||
719 | extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); | |
720 | ||
721 | ||
722 | ||
723 | ||
724 | ||
725 | ||
726 | extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); | |
727 | ||
728 | ||
729 | extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); | |
730 | # 154 "/usr/include/bits/mathcalls.h" 3 4 | |
731 | extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); | |
732 | ||
733 | ||
734 | extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); | |
735 | ||
736 | ||
737 | ||
738 | ||
739 | ||
740 | extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); | |
741 | ||
742 | ||
743 | ||
744 | ||
745 | ||
746 | ||
747 | extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); | |
748 | # 179 "/usr/include/bits/mathcalls.h" 3 4 | |
749 | extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
750 | ||
751 | ||
752 | extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
753 | ||
754 | ||
755 | extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
756 | ||
757 | ||
758 | extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); | |
759 | ||
760 | ||
761 | ||
762 | ||
763 | extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
764 | ||
765 | ||
766 | extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
767 | ||
768 | ||
769 | ||
770 | ||
771 | ||
772 | extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
773 | ||
774 | ||
775 | extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
776 | ||
777 | ||
778 | extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); | |
779 | ||
780 | ||
781 | ||
782 | extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); | |
783 | ||
784 | ||
785 | ||
786 | ||
787 | ||
788 | extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
789 | ||
790 | ||
791 | ||
792 | ||
793 | ||
794 | ||
795 | extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
796 | ||
797 | ||
798 | ||
799 | ||
800 | ||
801 | extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
802 | ||
803 | ||
804 | ||
805 | extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
806 | ||
807 | ||
808 | extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); | |
809 | extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); | |
810 | extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); | |
811 | extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); | |
812 | extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); | |
813 | extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); | |
814 | ||
815 | ||
816 | ||
817 | ||
818 | ||
819 | ||
820 | extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); | |
821 | extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); | |
822 | extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); | |
823 | ||
824 | ||
825 | ||
826 | ||
827 | ||
828 | ||
829 | extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); | |
830 | ||
831 | ||
832 | ||
833 | ||
834 | ||
835 | extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); | |
836 | ||
837 | ||
838 | ||
839 | ||
840 | ||
841 | ||
842 | extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); | |
843 | ||
844 | ||
845 | ||
846 | ||
847 | ||
848 | ||
849 | ||
850 | extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); | |
851 | ||
852 | ||
853 | extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
854 | ||
855 | extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
856 | ||
857 | ||
858 | ||
859 | extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); | |
860 | ||
861 | ||
862 | ||
863 | extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); | |
864 | ||
865 | ||
866 | ||
867 | extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); | |
868 | ||
869 | ||
870 | ||
871 | ||
872 | extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); | |
873 | ||
874 | ||
875 | ||
876 | extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); | |
877 | ||
878 | ||
879 | ||
880 | extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
881 | ||
882 | ||
883 | ||
884 | extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
885 | ||
886 | ||
887 | ||
888 | ||
889 | extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); | |
890 | ||
891 | ||
892 | ||
893 | ||
894 | ||
895 | ||
896 | extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); | |
897 | extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); | |
898 | ||
899 | ||
900 | ||
901 | extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); | |
902 | extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); | |
903 | ||
904 | ||
905 | ||
906 | extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); | |
907 | ||
908 | ||
909 | extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); | |
910 | ||
911 | ||
912 | extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); | |
913 | ||
914 | ||
915 | ||
916 | extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) | |
917 | __attribute__ ((__const__)); | |
918 | ||
919 | ||
920 | extern int __signbitf (float __value) __attribute__ ((__nothrow__)) | |
921 | __attribute__ ((__const__)); | |
922 | ||
923 | ||
924 | ||
925 | extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); | |
926 | # 364 "/usr/include/bits/mathcalls.h" 3 4 | |
927 | extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); | |
928 | # 95 "/usr/include/math.h" 2 3 4 | |
929 | # 141 "/usr/include/math.h" 3 4 | |
930 | ||
931 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
932 | # 53 "/usr/include/bits/mathcalls.h" 3 4 | |
933 | ||
934 | ||
935 | extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); | |
936 | ||
937 | extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); | |
938 | ||
939 | extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); | |
940 | ||
941 | extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); | |
942 | ||
943 | ||
944 | extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); | |
945 | ||
946 | extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); | |
947 | ||
948 | extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); | |
949 | ||
950 | ||
951 | ||
952 | ||
953 | extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); | |
954 | ||
955 | extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); | |
956 | ||
957 | extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); | |
958 | ||
959 | ||
960 | ||
961 | ||
962 | extern void sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__)); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__)); | |
963 | ||
964 | ||
965 | ||
966 | ||
967 | ||
968 | ||
969 | extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); | |
970 | ||
971 | extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); | |
972 | ||
973 | extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); | |
974 | ||
975 | ||
976 | ||
977 | ||
978 | ||
979 | ||
980 | ||
981 | extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); | |
982 | ||
983 | ||
984 | extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); | |
985 | ||
986 | ||
987 | extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); | |
988 | ||
989 | ||
990 | extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); | |
991 | ||
992 | ||
993 | extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); | |
994 | ||
995 | ||
996 | extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); | |
997 | ||
998 | ||
999 | ||
1000 | ||
1001 | extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__)); | |
1002 | ||
1003 | extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__)); | |
1004 | ||
1005 | ||
1006 | ||
1007 | ||
1008 | ||
1009 | extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); | |
1010 | ||
1011 | ||
1012 | extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); | |
1013 | ||
1014 | ||
1015 | extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); | |
1016 | ||
1017 | ||
1018 | ||
1019 | ||
1020 | ||
1021 | ||
1022 | extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__)); | |
1023 | ||
1024 | ||
1025 | extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__)); | |
1026 | # 154 "/usr/include/bits/mathcalls.h" 3 4 | |
1027 | extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1028 | ||
1029 | ||
1030 | extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); | |
1031 | ||
1032 | ||
1033 | ||
1034 | ||
1035 | ||
1036 | extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1037 | ||
1038 | ||
1039 | ||
1040 | ||
1041 | ||
1042 | ||
1043 | extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); | |
1044 | # 179 "/usr/include/bits/mathcalls.h" 3 4 | |
1045 | extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1046 | ||
1047 | ||
1048 | extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1049 | ||
1050 | ||
1051 | extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1052 | ||
1053 | ||
1054 | extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1055 | ||
1056 | ||
1057 | ||
1058 | ||
1059 | extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1060 | ||
1061 | ||
1062 | extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1063 | ||
1064 | ||
1065 | ||
1066 | ||
1067 | ||
1068 | extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1069 | ||
1070 | ||
1071 | extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1072 | ||
1073 | ||
1074 | extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1075 | ||
1076 | ||
1077 | ||
1078 | extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); | |
1079 | ||
1080 | ||
1081 | ||
1082 | ||
1083 | ||
1084 | extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1085 | ||
1086 | ||
1087 | ||
1088 | ||
1089 | ||
1090 | ||
1091 | extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1092 | ||
1093 | ||
1094 | ||
1095 | ||
1096 | ||
1097 | extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1098 | ||
1099 | ||
1100 | ||
1101 | extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1102 | ||
1103 | ||
1104 | extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); | |
1105 | extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); | |
1106 | extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); | |
1107 | extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); | |
1108 | extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); | |
1109 | extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); | |
1110 | ||
1111 | ||
1112 | ||
1113 | ||
1114 | ||
1115 | ||
1116 | extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); | |
1117 | extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); | |
1118 | extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); | |
1119 | ||
1120 | ||
1121 | ||
1122 | ||
1123 | ||
1124 | ||
1125 | extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__)); | |
1126 | ||
1127 | ||
1128 | ||
1129 | ||
1130 | ||
1131 | extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); | |
1132 | ||
1133 | ||
1134 | ||
1135 | ||
1136 | ||
1137 | ||
1138 | extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); | |
1139 | ||
1140 | ||
1141 | ||
1142 | ||
1143 | ||
1144 | ||
1145 | ||
1146 | extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); | |
1147 | ||
1148 | ||
1149 | extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1150 | ||
1151 | extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1152 | ||
1153 | ||
1154 | ||
1155 | extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1156 | ||
1157 | ||
1158 | ||
1159 | extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); | |
1160 | ||
1161 | ||
1162 | ||
1163 | extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); | |
1164 | ||
1165 | ||
1166 | ||
1167 | ||
1168 | extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); | |
1169 | ||
1170 | ||
1171 | ||
1172 | extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__)); | |
1173 | ||
1174 | ||
1175 | ||
1176 | extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1177 | ||
1178 | ||
1179 | ||
1180 | extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1181 | ||
1182 | ||
1183 | ||
1184 | ||
1185 | extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); | |
1186 | ||
1187 | ||
1188 | ||
1189 | ||
1190 | ||
1191 | ||
1192 | extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__)); | |
1193 | extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__)); | |
1194 | ||
1195 | ||
1196 | ||
1197 | extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__)); | |
1198 | extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__)); | |
1199 | ||
1200 | ||
1201 | ||
1202 | extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1203 | ||
1204 | ||
1205 | extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1206 | ||
1207 | ||
1208 | extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1209 | ||
1210 | ||
1211 | ||
1212 | extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__)) | |
1213 | __attribute__ ((__const__)); | |
1214 | ||
1215 | ||
1216 | extern int __signbitl (long double __value) __attribute__ ((__nothrow__)) | |
1217 | __attribute__ ((__const__)); | |
1218 | ||
1219 | ||
1220 | ||
1221 | extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); | |
1222 | # 364 "/usr/include/bits/mathcalls.h" 3 4 | |
1223 | extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); | |
1224 | # 142 "/usr/include/math.h" 2 3 4 | |
1225 | # 157 "/usr/include/math.h" 3 4 | |
1226 | extern int signgam; | |
1227 | # 198 "/usr/include/math.h" 3 4 | |
1228 | enum | |
1229 | { | |
1230 | FP_NAN, | |
1231 | ||
1232 | FP_INFINITE, | |
1233 | ||
1234 | FP_ZERO, | |
1235 | ||
1236 | FP_SUBNORMAL, | |
1237 | ||
1238 | FP_NORMAL | |
1239 | ||
1240 | }; | |
1241 | # 284 "/usr/include/math.h" 3 4 | |
1242 | typedef enum | |
1243 | { | |
1244 | _IEEE_ = -1, | |
1245 | _SVID_, | |
1246 | _XOPEN_, | |
1247 | _POSIX_, | |
1248 | _ISOC_ | |
1249 | } _LIB_VERSION_TYPE; | |
1250 | ||
1251 | ||
1252 | ||
1253 | ||
1254 | extern _LIB_VERSION_TYPE _LIB_VERSION; | |
1255 | # 309 "/usr/include/math.h" 3 4 | |
1256 | struct exception | |
1257 | ||
1258 | { | |
1259 | int type; | |
1260 | char *name; | |
1261 | double arg1; | |
1262 | double arg2; | |
1263 | double retval; | |
1264 | }; | |
1265 | ||
1266 | ||
1267 | ||
1268 | ||
1269 | extern int matherr (struct exception *__exc); | |
1270 | # 409 "/usr/include/math.h" 3 4 | |
1271 | ||
1272 | # 1 "/usr/include/bits/mathinline.h" 1 3 4 | |
1273 | # 127 "/usr/include/bits/mathinline.h" 3 4 | |
1274 | extern __inline int | |
1275 | __attribute__ ((__nothrow__)) __signbitf (float __x) | |
1276 | { | |
1277 | __extension__ union { float __f; int __i; } __u = { __f: __x }; | |
1278 | return __u.__i < 0; | |
1279 | } | |
1280 | extern __inline int | |
1281 | __attribute__ ((__nothrow__)) __signbit (double __x) | |
1282 | { | |
1283 | __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; | |
1284 | return __u.__i[1] < 0; | |
1285 | } | |
1286 | extern __inline int | |
1287 | __attribute__ ((__nothrow__)) __signbitl (long double __x) | |
1288 | { | |
1289 | __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; | |
1290 | return (__u.__i[2] & 0x8000) != 0; | |
1291 | } | |
1292 | # 291 "/usr/include/bits/mathinline.h" 3 4 | |
1293 | extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } | |
1294 | # 433 "/usr/include/bits/mathinline.h" 3 4 | |
1295 | extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } | |
1296 | # 473 "/usr/include/bits/mathinline.h" 3 4 | |
1297 | extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); } | |
1298 | ||
1299 | extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); } | |
1300 | extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); } | |
1301 | ||
1302 | extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } | |
1303 | # 506 "/usr/include/bits/mathinline.h" 3 4 | |
1304 | extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } | |
1305 | # 530 "/usr/include/bits/mathinline.h" 3 4 | |
1306 | extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } | |
1307 | # 548 "/usr/include/bits/mathinline.h" 3 4 | |
1308 | extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } | |
1309 | # 667 "/usr/include/bits/mathinline.h" 3 4 | |
1310 | extern __inline long int | |
1311 | __attribute__ ((__nothrow__)) lrintf (float __x) | |
1312 | { | |
1313 | long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; | |
1314 | } | |
1315 | extern __inline long int | |
1316 | __attribute__ ((__nothrow__)) lrint (double __x) | |
1317 | { | |
1318 | long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; | |
1319 | } | |
1320 | extern __inline long int | |
1321 | __attribute__ ((__nothrow__)) lrintl (long double __x) | |
1322 | { | |
1323 | long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; | |
1324 | } | |
1325 | # 690 "/usr/include/bits/mathinline.h" 3 4 | |
1326 | extern __inline long long int | |
1327 | __attribute__ ((__nothrow__)) llrintf (float __x) | |
1328 | { | |
1329 | long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; | |
1330 | } | |
1331 | extern __inline long long int | |
1332 | __attribute__ ((__nothrow__)) llrint (double __x) | |
1333 | { | |
1334 | long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; | |
1335 | } | |
1336 | extern __inline long long int | |
1337 | __attribute__ ((__nothrow__)) llrintl (long double __x) | |
1338 | { | |
1339 | long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; | |
1340 | } | |
1341 | # 727 "/usr/include/bits/mathinline.h" 3 4 | |
1342 | extern __inline int | |
1343 | __attribute__ ((__nothrow__)) __finite (double __x) | |
1344 | { | |
1345 | return (__extension__ | |
1346 | (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | |
1347 | | 0x800fffffu) + 1) >> 31)); | |
1348 | } | |
1349 | # 410 "/usr/include/math.h" 2 3 4 | |
1350 | # 465 "/usr/include/math.h" 3 4 | |
1351 | # 60 "glheader.h" 2 | |
1352 | ||
1353 | ||
1354 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 1 3 4 | |
1355 | # 11 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 3 4 | |
1356 | ||
1357 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/syslimits.h" 1 3 4 | |
1358 | ||
1359 | ||
1360 | ||
1361 | ||
1362 | ||
1363 | ||
1364 | ||
1365 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 1 3 4 | |
1366 | # 122 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 3 4 | |
1367 | ||
1368 | # 1 "/usr/include/limits.h" 1 3 4 | |
1369 | # 145 "/usr/include/limits.h" 3 4 | |
1370 | ||
1371 | # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 | |
1372 | # 153 "/usr/include/bits/posix1_lim.h" 3 4 | |
1373 | ||
1374 | # 1 "/usr/include/bits/local_lim.h" 1 3 4 | |
1375 | # 36 "/usr/include/bits/local_lim.h" 3 4 | |
1376 | ||
1377 | # 1 "/usr/include/linux/limits.h" 1 3 4 | |
1378 | # 37 "/usr/include/bits/local_lim.h" 2 3 4 | |
1379 | # 154 "/usr/include/bits/posix1_lim.h" 2 3 4 | |
1380 | # 146 "/usr/include/limits.h" 2 3 4 | |
1381 | ||
1382 | ||
1383 | ||
1384 | ||
1385 | # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 | |
1386 | # 150 "/usr/include/limits.h" 2 3 4 | |
1387 | ||
1388 | ||
1389 | ||
1390 | ||
1391 | # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 | |
1392 | # 34 "/usr/include/bits/xopen_lim.h" 3 4 | |
1393 | ||
1394 | # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 | |
1395 | # 35 "/usr/include/bits/xopen_lim.h" 2 3 4 | |
1396 | # 154 "/usr/include/limits.h" 2 3 4 | |
1397 | # 123 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 2 3 4 | |
1398 | # 8 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/syslimits.h" 2 3 4 | |
1399 | # 12 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 2 3 4 | |
1400 | # 62 "glheader.h" 2 | |
1401 | ||
1402 | # 1 "/usr/include/stdlib.h" 1 3 4 | |
1403 | # 33 "/usr/include/stdlib.h" 3 4 | |
1404 | ||
1405 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
1406 | # 326 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 | |
1407 | typedef long int wchar_t; | |
1408 | # 34 "/usr/include/stdlib.h" 2 3 4 | |
1409 | # 43 "/usr/include/stdlib.h" 3 4 | |
1410 | # 1 "/usr/include/bits/waitflags.h" 1 3 4 | |
1411 | # 43 "/usr/include/stdlib.h" 2 3 4 | |
1412 | ||
1413 | # 1 "/usr/include/bits/waitstatus.h" 1 3 4 | |
1414 | # 67 "/usr/include/bits/waitstatus.h" 3 4 | |
1415 | union wait | |
1416 | { | |
1417 | int w_status; | |
1418 | struct | |
1419 | { | |
1420 | ||
1421 | unsigned int __w_termsig:7; | |
1422 | unsigned int __w_coredump:1; | |
1423 | unsigned int __w_retcode:8; | |
1424 | unsigned int:16; | |
1425 | ||
1426 | ||
1427 | ||
1428 | ||
1429 | ||
1430 | ||
1431 | ||
1432 | } __wait_terminated; | |
1433 | struct | |
1434 | { | |
1435 | ||
1436 | unsigned int __w_stopval:8; | |
1437 | unsigned int __w_stopsig:8; | |
1438 | unsigned int:16; | |
1439 | ||
1440 | ||
1441 | ||
1442 | ||
1443 | ||
1444 | ||
1445 | } __wait_stopped; | |
1446 | }; | |
1447 | # 44 "/usr/include/stdlib.h" 2 3 4 | |
1448 | # 68 "/usr/include/stdlib.h" 3 4 | |
1449 | typedef union | |
1450 | { | |
1451 | union wait *__uptr; | |
1452 | int *__iptr; | |
1453 | } __WAIT_STATUS __attribute__ ((__transparent_union__)); | |
1454 | # 96 "/usr/include/stdlib.h" 3 4 | |
1455 | ||
1456 | ||
1457 | typedef struct | |
1458 | { | |
1459 | int quot; | |
1460 | int rem; | |
1461 | } div_t; | |
1462 | ||
1463 | ||
1464 | ||
1465 | typedef struct | |
1466 | { | |
1467 | long int quot; | |
1468 | long int rem; | |
1469 | } ldiv_t; | |
1470 | ||
1471 | ||
1472 | ||
1473 | ||
1474 | ||
1475 | ||
1476 | ||
1477 | __extension__ typedef struct | |
1478 | { | |
1479 | long long int quot; | |
1480 | long long int rem; | |
1481 | } lldiv_t; | |
1482 | # 140 "/usr/include/stdlib.h" 3 4 | |
1483 | extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; | |
1484 | ||
1485 | ||
1486 | ||
1487 | ||
1488 | extern double atof (__const char *__nptr) | |
1489 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1490 | ||
1491 | extern int atoi (__const char *__nptr) | |
1492 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1493 | ||
1494 | extern long int atol (__const char *__nptr) | |
1495 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1496 | ||
1497 | ||
1498 | ||
1499 | ||
1500 | ||
1501 | __extension__ extern long long int atoll (__const char *__nptr) | |
1502 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1503 | ||
1504 | ||
1505 | ||
1506 | ||
1507 | ||
1508 | extern double strtod (__const char *__restrict __nptr, | |
1509 | char **__restrict __endptr) | |
1510 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1511 | ||
1512 | ||
1513 | ||
1514 | ||
1515 | ||
1516 | extern float strtof (__const char *__restrict __nptr, | |
1517 | char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1518 | ||
1519 | extern long double strtold (__const char *__restrict __nptr, | |
1520 | char **__restrict __endptr) | |
1521 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1522 | ||
1523 | ||
1524 | ||
1525 | ||
1526 | ||
1527 | extern long int strtol (__const char *__restrict __nptr, | |
1528 | char **__restrict __endptr, int __base) | |
1529 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1530 | ||
1531 | extern unsigned long int strtoul (__const char *__restrict __nptr, | |
1532 | char **__restrict __endptr, int __base) | |
1533 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1534 | ||
1535 | ||
1536 | ||
1537 | ||
1538 | __extension__ | |
1539 | extern long long int strtoq (__const char *__restrict __nptr, | |
1540 | char **__restrict __endptr, int __base) | |
1541 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1542 | ||
1543 | __extension__ | |
1544 | extern unsigned long long int strtouq (__const char *__restrict __nptr, | |
1545 | char **__restrict __endptr, int __base) | |
1546 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1547 | ||
1548 | ||
1549 | ||
1550 | ||
1551 | ||
1552 | __extension__ | |
1553 | extern long long int strtoll (__const char *__restrict __nptr, | |
1554 | char **__restrict __endptr, int __base) | |
1555 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1556 | ||
1557 | __extension__ | |
1558 | extern unsigned long long int strtoull (__const char *__restrict __nptr, | |
1559 | char **__restrict __endptr, int __base) | |
1560 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1561 | # 240 "/usr/include/stdlib.h" 3 4 | |
1562 | extern long int strtol_l (__const char *__restrict __nptr, | |
1563 | char **__restrict __endptr, int __base, | |
1564 | __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; | |
1565 | ||
1566 | extern unsigned long int strtoul_l (__const char *__restrict __nptr, | |
1567 | char **__restrict __endptr, | |
1568 | int __base, __locale_t __loc) | |
1569 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; | |
1570 | ||
1571 | __extension__ | |
1572 | extern long long int strtoll_l (__const char *__restrict __nptr, | |
1573 | char **__restrict __endptr, int __base, | |
1574 | __locale_t __loc) | |
1575 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; | |
1576 | ||
1577 | __extension__ | |
1578 | extern unsigned long long int strtoull_l (__const char *__restrict __nptr, | |
1579 | char **__restrict __endptr, | |
1580 | int __base, __locale_t __loc) | |
1581 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; | |
1582 | ||
1583 | extern double strtod_l (__const char *__restrict __nptr, | |
1584 | char **__restrict __endptr, __locale_t __loc) | |
1585 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; | |
1586 | ||
1587 | extern float strtof_l (__const char *__restrict __nptr, | |
1588 | char **__restrict __endptr, __locale_t __loc) | |
1589 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; | |
1590 | ||
1591 | extern long double strtold_l (__const char *__restrict __nptr, | |
1592 | char **__restrict __endptr, | |
1593 | __locale_t __loc) | |
1594 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; | |
1595 | ||
1596 | ||
1597 | ||
1598 | ||
1599 | ||
1600 | ||
1601 | extern double __strtod_internal (__const char *__restrict __nptr, | |
1602 | char **__restrict __endptr, int __group) | |
1603 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1604 | extern float __strtof_internal (__const char *__restrict __nptr, | |
1605 | char **__restrict __endptr, int __group) | |
1606 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1607 | extern long double __strtold_internal (__const char *__restrict __nptr, | |
1608 | char **__restrict __endptr, | |
1609 | int __group) | |
1610 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1611 | ||
1612 | extern long int __strtol_internal (__const char *__restrict __nptr, | |
1613 | char **__restrict __endptr, | |
1614 | int __base, int __group) | |
1615 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1616 | ||
1617 | ||
1618 | ||
1619 | extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, | |
1620 | char **__restrict __endptr, | |
1621 | int __base, int __group) | |
1622 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1623 | ||
1624 | ||
1625 | ||
1626 | ||
1627 | __extension__ | |
1628 | extern long long int __strtoll_internal (__const char *__restrict __nptr, | |
1629 | char **__restrict __endptr, | |
1630 | int __base, int __group) | |
1631 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1632 | ||
1633 | ||
1634 | ||
1635 | __extension__ | |
1636 | extern unsigned long long int __strtoull_internal (__const char * | |
1637 | __restrict __nptr, | |
1638 | char **__restrict __endptr, | |
1639 | int __base, int __group) | |
1640 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1641 | # 327 "/usr/include/stdlib.h" 3 4 | |
1642 | extern __inline double | |
1643 | __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) | |
1644 | { | |
1645 | return __strtod_internal (__nptr, __endptr, 0); | |
1646 | } | |
1647 | extern __inline long int | |
1648 | __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
1649 | ||
1650 | { | |
1651 | return __strtol_internal (__nptr, __endptr, __base, 0); | |
1652 | } | |
1653 | extern __inline unsigned long int | |
1654 | __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
1655 | ||
1656 | { | |
1657 | return __strtoul_internal (__nptr, __endptr, __base, 0); | |
1658 | } | |
1659 | ||
1660 | ||
1661 | ||
1662 | ||
1663 | extern __inline float | |
1664 | __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr) | |
1665 | { | |
1666 | return __strtof_internal (__nptr, __endptr, 0); | |
1667 | } | |
1668 | ||
1669 | extern __inline long double | |
1670 | __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr) | |
1671 | { | |
1672 | return __strtold_internal (__nptr, __endptr, 0); | |
1673 | } | |
1674 | ||
1675 | ||
1676 | ||
1677 | ||
1678 | ||
1679 | __extension__ extern __inline long long int | |
1680 | __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
1681 | ||
1682 | { | |
1683 | return __strtoll_internal (__nptr, __endptr, __base, 0); | |
1684 | } | |
1685 | __extension__ extern __inline unsigned long long int | |
1686 | __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
1687 | ||
1688 | { | |
1689 | return __strtoull_internal (__nptr, __endptr, __base, 0); | |
1690 | } | |
1691 | ||
1692 | ||
1693 | ||
1694 | ||
1695 | __extension__ extern __inline long long int | |
1696 | __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
1697 | ||
1698 | { | |
1699 | return __strtoll_internal (__nptr, __endptr, __base, 0); | |
1700 | } | |
1701 | __extension__ extern __inline unsigned long long int | |
1702 | __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) | |
1703 | ||
1704 | { | |
1705 | return __strtoull_internal (__nptr, __endptr, __base, 0); | |
1706 | } | |
1707 | ||
1708 | ||
1709 | ||
1710 | ||
1711 | extern __inline double | |
1712 | __attribute__ ((__nothrow__)) atof (__const char *__nptr) | |
1713 | { | |
1714 | return strtod (__nptr, (char **) ((void *)0)); | |
1715 | } | |
1716 | extern __inline int | |
1717 | __attribute__ ((__nothrow__)) atoi (__const char *__nptr) | |
1718 | { | |
1719 | return (int) strtol (__nptr, (char **) ((void *)0), 10); | |
1720 | } | |
1721 | extern __inline long int | |
1722 | __attribute__ ((__nothrow__)) atol (__const char *__nptr) | |
1723 | { | |
1724 | return strtol (__nptr, (char **) ((void *)0), 10); | |
1725 | } | |
1726 | ||
1727 | ||
1728 | ||
1729 | ||
1730 | __extension__ extern __inline long long int | |
1731 | __attribute__ ((__nothrow__)) atoll (__const char *__nptr) | |
1732 | { | |
1733 | return strtoll (__nptr, (char **) ((void *)0), 10); | |
1734 | } | |
1735 | # 429 "/usr/include/stdlib.h" 3 4 | |
1736 | extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; | |
1737 | ||
1738 | ||
1739 | extern long int a64l (__const char *__s) | |
1740 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1741 | ||
1742 | ||
1743 | ||
1744 | ||
1745 | ||
1746 | # 1 "/usr/include/sys/types.h" 1 3 4 | |
1747 | # 29 "/usr/include/sys/types.h" 3 4 | |
1748 | ||
1749 | ||
1750 | ||
1751 | ||
1752 | ||
1753 | ||
1754 | typedef __u_char u_char; | |
1755 | typedef __u_short u_short; | |
1756 | typedef __u_int u_int; | |
1757 | typedef __u_long u_long; | |
1758 | typedef __quad_t quad_t; | |
1759 | typedef __u_quad_t u_quad_t; | |
1760 | typedef __fsid_t fsid_t; | |
1761 | ||
1762 | ||
1763 | ||
1764 | ||
1765 | typedef __loff_t loff_t; | |
1766 | ||
1767 | ||
1768 | ||
1769 | typedef __ino_t ino_t; | |
1770 | ||
1771 | ||
1772 | ||
1773 | ||
1774 | ||
1775 | ||
1776 | typedef __ino64_t ino64_t; | |
1777 | ||
1778 | ||
1779 | ||
1780 | ||
1781 | typedef __dev_t dev_t; | |
1782 | ||
1783 | ||
1784 | ||
1785 | ||
1786 | typedef __gid_t gid_t; | |
1787 | ||
1788 | ||
1789 | ||
1790 | ||
1791 | typedef __mode_t mode_t; | |
1792 | ||
1793 | ||
1794 | ||
1795 | ||
1796 | typedef __nlink_t nlink_t; | |
1797 | ||
1798 | ||
1799 | ||
1800 | ||
1801 | typedef __uid_t uid_t; | |
1802 | ||
1803 | ||
1804 | ||
1805 | ||
1806 | ||
1807 | typedef __off_t off_t; | |
1808 | ||
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | typedef __off64_t off64_t; | |
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | typedef __pid_t pid_t; | |
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | typedef __id_t id_t; | |
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | typedef __ssize_t ssize_t; | |
1830 | ||
1831 | ||
1832 | ||
1833 | ||
1834 | ||
1835 | typedef __daddr_t daddr_t; | |
1836 | typedef __caddr_t caddr_t; | |
1837 | ||
1838 | ||
1839 | ||
1840 | ||
1841 | ||
1842 | typedef __key_t key_t; | |
1843 | # 133 "/usr/include/sys/types.h" 3 4 | |
1844 | ||
1845 | # 1 "/usr/include/time.h" 1 3 4 | |
1846 | # 59 "/usr/include/time.h" 3 4 | |
1847 | ||
1848 | ||
1849 | typedef __clock_t clock_t; | |
1850 | # 75 "/usr/include/time.h" 3 4 | |
1851 | ||
1852 | ||
1853 | typedef __time_t time_t; | |
1854 | # 93 "/usr/include/time.h" 3 4 | |
1855 | typedef __clockid_t clockid_t; | |
1856 | # 105 "/usr/include/time.h" 3 4 | |
1857 | typedef __timer_t timer_t; | |
1858 | # 134 "/usr/include/sys/types.h" 2 3 4 | |
1859 | ||
1860 | ||
1861 | ||
1862 | typedef __useconds_t useconds_t; | |
1863 | ||
1864 | ||
1865 | ||
1866 | typedef __suseconds_t suseconds_t; | |
1867 | ||
1868 | ||
1869 | ||
1870 | ||
1871 | ||
1872 | ||
1873 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
1874 | # 148 "/usr/include/sys/types.h" 2 3 4 | |
1875 | ||
1876 | ||
1877 | ||
1878 | typedef unsigned long int ulong; | |
1879 | typedef unsigned short int ushort; | |
1880 | typedef unsigned int uint; | |
1881 | # 195 "/usr/include/sys/types.h" 3 4 | |
1882 | typedef int int8_t __attribute__ ((__mode__ (__QI__))); | |
1883 | typedef int int16_t __attribute__ ((__mode__ (__HI__))); | |
1884 | typedef int int32_t __attribute__ ((__mode__ (__SI__))); | |
1885 | typedef int int64_t __attribute__ ((__mode__ (__DI__))); | |
1886 | ||
1887 | ||
1888 | typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
1889 | typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
1890 | typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
1891 | typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
1892 | ||
1893 | typedef int register_t __attribute__ ((__mode__ (__word__))); | |
1894 | # 220 "/usr/include/sys/types.h" 3 4 | |
1895 | ||
1896 | # 1 "/usr/include/sys/select.h" 1 3 4 | |
1897 | # 31 "/usr/include/sys/select.h" 3 4 | |
1898 | ||
1899 | # 1 "/usr/include/bits/select.h" 1 3 4 | |
1900 | # 32 "/usr/include/sys/select.h" 2 3 4 | |
1901 | ||
1902 | ||
1903 | ||
1904 | # 1 "/usr/include/bits/sigset.h" 1 3 4 | |
1905 | # 24 "/usr/include/bits/sigset.h" 3 4 | |
1906 | typedef int __sig_atomic_t; | |
1907 | ||
1908 | ||
1909 | ||
1910 | ||
1911 | typedef struct | |
1912 | { | |
1913 | unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
1914 | } __sigset_t; | |
1915 | # 35 "/usr/include/sys/select.h" 2 3 4 | |
1916 | ||
1917 | ||
1918 | ||
1919 | typedef __sigset_t sigset_t; | |
1920 | ||
1921 | ||
1922 | ||
1923 | ||
1924 | ||
1925 | ||
1926 | # 1 "/usr/include/time.h" 1 3 4 | |
1927 | # 121 "/usr/include/time.h" 3 4 | |
1928 | struct timespec | |
1929 | { | |
1930 | __time_t tv_sec; | |
1931 | long int tv_nsec; | |
1932 | }; | |
1933 | # 45 "/usr/include/sys/select.h" 2 3 4 | |
1934 | ||
1935 | ||
1936 | # 1 "/usr/include/bits/time.h" 1 3 4 | |
1937 | # 69 "/usr/include/bits/time.h" 3 4 | |
1938 | struct timeval | |
1939 | { | |
1940 | __time_t tv_sec; | |
1941 | __suseconds_t tv_usec; | |
1942 | }; | |
1943 | # 47 "/usr/include/sys/select.h" 2 3 4 | |
1944 | # 55 "/usr/include/sys/select.h" 3 4 | |
1945 | typedef long int __fd_mask; | |
1946 | # 67 "/usr/include/sys/select.h" 3 4 | |
1947 | typedef struct | |
1948 | { | |
1949 | ||
1950 | ||
1951 | ||
1952 | __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; | |
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | ||
1958 | } fd_set; | |
1959 | ||
1960 | ||
1961 | ||
1962 | ||
1963 | ||
1964 | ||
1965 | typedef __fd_mask fd_mask; | |
1966 | # 99 "/usr/include/sys/select.h" 3 4 | |
1967 | # 109 "/usr/include/sys/select.h" 3 4 | |
1968 | extern int select (int __nfds, fd_set *__restrict __readfds, | |
1969 | fd_set *__restrict __writefds, | |
1970 | fd_set *__restrict __exceptfds, | |
1971 | struct timeval *__restrict __timeout); | |
1972 | # 121 "/usr/include/sys/select.h" 3 4 | |
1973 | extern int pselect (int __nfds, fd_set *__restrict __readfds, | |
1974 | fd_set *__restrict __writefds, | |
1975 | fd_set *__restrict __exceptfds, | |
1976 | const struct timespec *__restrict __timeout, | |
1977 | const __sigset_t *__restrict __sigmask); | |
1978 | # 221 "/usr/include/sys/types.h" 2 3 4 | |
1979 | ||
1980 | ||
1981 | ||
1982 | # 1 "/usr/include/sys/sysmacros.h" 1 3 4 | |
1983 | # 30 "/usr/include/sys/sysmacros.h" 3 4 | |
1984 | __extension__ | |
1985 | extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) | |
1986 | __attribute__ ((__nothrow__)); | |
1987 | __extension__ | |
1988 | extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) | |
1989 | __attribute__ ((__nothrow__)); | |
1990 | __extension__ | |
1991 | extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, | |
1992 | unsigned int __minor) | |
1993 | __attribute__ ((__nothrow__)); | |
1994 | ||
1995 | ||
1996 | __extension__ extern __inline unsigned int | |
1997 | __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) | |
1998 | { | |
1999 | return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); | |
2000 | } | |
2001 | ||
2002 | __extension__ extern __inline unsigned int | |
2003 | __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) | |
2004 | { | |
2005 | return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); | |
2006 | } | |
2007 | ||
2008 | __extension__ extern __inline unsigned long long int | |
2009 | __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) | |
2010 | { | |
2011 | return ((__minor & 0xff) | ((__major & 0xfff) << 8) | |
2012 | | (((unsigned long long int) (__minor & ~0xff)) << 12) | |
2013 | | (((unsigned long long int) (__major & ~0xfff)) << 32)); | |
2014 | } | |
2015 | # 224 "/usr/include/sys/types.h" 2 3 4 | |
2016 | ||
2017 | ||
2018 | ||
2019 | ||
2020 | typedef __blksize_t blksize_t; | |
2021 | ||
2022 | ||
2023 | ||
2024 | ||
2025 | ||
2026 | ||
2027 | typedef __blkcnt_t blkcnt_t; | |
2028 | ||
2029 | ||
2030 | ||
2031 | typedef __fsblkcnt_t fsblkcnt_t; | |
2032 | ||
2033 | ||
2034 | ||
2035 | typedef __fsfilcnt_t fsfilcnt_t; | |
2036 | # 262 "/usr/include/sys/types.h" 3 4 | |
2037 | typedef __blkcnt64_t blkcnt64_t; | |
2038 | typedef __fsblkcnt64_t fsblkcnt64_t; | |
2039 | typedef __fsfilcnt64_t fsfilcnt64_t; | |
2040 | ||
2041 | ||
2042 | ||
2043 | ||
2044 | ||
2045 | ||
2046 | # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 | |
2047 | # 36 "/usr/include/bits/pthreadtypes.h" 3 4 | |
2048 | typedef unsigned long int pthread_t; | |
2049 | ||
2050 | ||
2051 | typedef union | |
2052 | { | |
2053 | char __size[36]; | |
2054 | long int __align; | |
2055 | } pthread_attr_t; | |
2056 | ||
2057 | ||
2058 | typedef struct __pthread_internal_slist | |
2059 | { | |
2060 | struct __pthread_internal_slist *__next; | |
2061 | } __pthread_slist_t; | |
2062 | ||
2063 | ||
2064 | ||
2065 | ||
2066 | typedef union | |
2067 | { | |
2068 | struct __pthread_mutex_s | |
2069 | { | |
2070 | int __lock; | |
2071 | unsigned int __count; | |
2072 | int __owner; | |
2073 | ||
2074 | ||
2075 | int __kind; | |
2076 | unsigned int __nusers; | |
2077 | __extension__ union | |
2078 | { | |
2079 | int __spins; | |
2080 | __pthread_slist_t __list; | |
2081 | }; | |
2082 | } __data; | |
2083 | char __size[24]; | |
2084 | long int __align; | |
2085 | } pthread_mutex_t; | |
2086 | ||
2087 | typedef union | |
2088 | { | |
2089 | char __size[4]; | |
2090 | long int __align; | |
2091 | } pthread_mutexattr_t; | |
2092 | ||
2093 | ||
2094 | ||
2095 | ||
2096 | typedef union | |
2097 | { | |
2098 | struct | |
2099 | { | |
2100 | int __lock; | |
2101 | unsigned int __futex; | |
2102 | __extension__ unsigned long long int __total_seq; | |
2103 | __extension__ unsigned long long int __wakeup_seq; | |
2104 | __extension__ unsigned long long int __woken_seq; | |
2105 | void *__mutex; | |
2106 | unsigned int __nwaiters; | |
2107 | unsigned int __broadcast_seq; | |
2108 | } __data; | |
2109 | char __size[48]; | |
2110 | __extension__ long long int __align; | |
2111 | } pthread_cond_t; | |
2112 | ||
2113 | typedef union | |
2114 | { | |
2115 | char __size[4]; | |
2116 | long int __align; | |
2117 | } pthread_condattr_t; | |
2118 | ||
2119 | ||
2120 | ||
2121 | typedef unsigned int pthread_key_t; | |
2122 | ||
2123 | ||
2124 | ||
2125 | typedef int pthread_once_t; | |
2126 | ||
2127 | ||
2128 | ||
2129 | ||
2130 | ||
2131 | typedef union | |
2132 | { | |
2133 | struct | |
2134 | { | |
2135 | int __lock; | |
2136 | unsigned int __nr_readers; | |
2137 | unsigned int __readers_wakeup; | |
2138 | unsigned int __writer_wakeup; | |
2139 | unsigned int __nr_readers_queued; | |
2140 | unsigned int __nr_writers_queued; | |
2141 | ||
2142 | ||
2143 | unsigned int __flags; | |
2144 | int __writer; | |
2145 | } __data; | |
2146 | char __size[32]; | |
2147 | long int __align; | |
2148 | } pthread_rwlock_t; | |
2149 | ||
2150 | typedef union | |
2151 | { | |
2152 | char __size[8]; | |
2153 | long int __align; | |
2154 | } pthread_rwlockattr_t; | |
2155 | ||
2156 | ||
2157 | ||
2158 | ||
2159 | ||
2160 | typedef volatile int pthread_spinlock_t; | |
2161 | ||
2162 | ||
2163 | ||
2164 | ||
2165 | typedef union | |
2166 | { | |
2167 | char __size[20]; | |
2168 | long int __align; | |
2169 | } pthread_barrier_t; | |
2170 | ||
2171 | typedef union | |
2172 | { | |
2173 | char __size[4]; | |
2174 | int __align; | |
2175 | } pthread_barrierattr_t; | |
2176 | # 271 "/usr/include/sys/types.h" 2 3 4 | |
2177 | # 439 "/usr/include/stdlib.h" 2 3 4 | |
2178 | ||
2179 | ||
2180 | ||
2181 | ||
2182 | ||
2183 | ||
2184 | extern long int random (void) __attribute__ ((__nothrow__)); | |
2185 | ||
2186 | ||
2187 | extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); | |
2188 | ||
2189 | ||
2190 | ||
2191 | ||
2192 | ||
2193 | extern char *initstate (unsigned int __seed, char *__statebuf, | |
2194 | size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2195 | ||
2196 | ||
2197 | ||
2198 | extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2199 | ||
2200 | ||
2201 | ||
2202 | ||
2203 | ||
2204 | ||
2205 | ||
2206 | struct random_data | |
2207 | { | |
2208 | int32_t *fptr; | |
2209 | int32_t *rptr; | |
2210 | int32_t *state; | |
2211 | int rand_type; | |
2212 | int rand_deg; | |
2213 | int rand_sep; | |
2214 | int32_t *end_ptr; | |
2215 | }; | |
2216 | ||
2217 | extern int random_r (struct random_data *__restrict __buf, | |
2218 | int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2219 | ||
2220 | extern int srandom_r (unsigned int __seed, struct random_data *__buf) | |
2221 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2222 | ||
2223 | extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, | |
2224 | size_t __statelen, | |
2225 | struct random_data *__restrict __buf) | |
2226 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); | |
2227 | ||
2228 | extern int setstate_r (char *__restrict __statebuf, | |
2229 | struct random_data *__restrict __buf) | |
2230 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2231 | ||
2232 | ||
2233 | ||
2234 | ||
2235 | ||
2236 | ||
2237 | extern int rand (void) __attribute__ ((__nothrow__)); | |
2238 | ||
2239 | extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); | |
2240 | ||
2241 | ||
2242 | ||
2243 | ||
2244 | extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); | |
2245 | ||
2246 | ||
2247 | ||
2248 | ||
2249 | ||
2250 | ||
2251 | ||
2252 | extern double drand48 (void) __attribute__ ((__nothrow__)); | |
2253 | extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2254 | ||
2255 | ||
2256 | extern long int lrand48 (void) __attribute__ ((__nothrow__)); | |
2257 | extern long int nrand48 (unsigned short int __xsubi[3]) | |
2258 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2259 | ||
2260 | ||
2261 | extern long int mrand48 (void) __attribute__ ((__nothrow__)); | |
2262 | extern long int jrand48 (unsigned short int __xsubi[3]) | |
2263 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2264 | ||
2265 | ||
2266 | extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); | |
2267 | extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
2268 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2269 | extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2270 | ||
2271 | ||
2272 | ||
2273 | ||
2274 | ||
2275 | struct drand48_data | |
2276 | { | |
2277 | unsigned short int __x[3]; | |
2278 | unsigned short int __old_x[3]; | |
2279 | unsigned short int __c; | |
2280 | unsigned short int __init; | |
2281 | unsigned long long int __a; | |
2282 | }; | |
2283 | ||
2284 | ||
2285 | extern int drand48_r (struct drand48_data *__restrict __buffer, | |
2286 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2287 | extern int erand48_r (unsigned short int __xsubi[3], | |
2288 | struct drand48_data *__restrict __buffer, | |
2289 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2290 | ||
2291 | ||
2292 | extern int lrand48_r (struct drand48_data *__restrict __buffer, | |
2293 | long int *__restrict __result) | |
2294 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2295 | extern int nrand48_r (unsigned short int __xsubi[3], | |
2296 | struct drand48_data *__restrict __buffer, | |
2297 | long int *__restrict __result) | |
2298 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2299 | ||
2300 | ||
2301 | extern int mrand48_r (struct drand48_data *__restrict __buffer, | |
2302 | long int *__restrict __result) | |
2303 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2304 | extern int jrand48_r (unsigned short int __xsubi[3], | |
2305 | struct drand48_data *__restrict __buffer, | |
2306 | long int *__restrict __result) | |
2307 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2308 | ||
2309 | ||
2310 | extern int srand48_r (long int __seedval, struct drand48_data *__buffer) | |
2311 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2312 | ||
2313 | extern int seed48_r (unsigned short int __seed16v[3], | |
2314 | struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2315 | ||
2316 | extern int lcong48_r (unsigned short int __param[7], | |
2317 | struct drand48_data *__buffer) | |
2318 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2319 | # 589 "/usr/include/stdlib.h" 3 4 | |
2320 | extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
2321 | ||
2322 | extern void *calloc (size_t __nmemb, size_t __size) | |
2323 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
2324 | ||
2325 | ||
2326 | ||
2327 | ||
2328 | ||
2329 | ||
2330 | ||
2331 | extern void *realloc (void *__ptr, size_t __size) | |
2332 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); | |
2333 | ||
2334 | extern void free (void *__ptr) __attribute__ ((__nothrow__)); | |
2335 | ||
2336 | ||
2337 | ||
2338 | ||
2339 | extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); | |
2340 | ||
2341 | ||
2342 | ||
2343 | ||
2344 | # 1 "/usr/include/alloca.h" 1 3 4 | |
2345 | # 25 "/usr/include/alloca.h" 3 4 | |
2346 | ||
2347 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2348 | # 26 "/usr/include/alloca.h" 2 3 4 | |
2349 | ||
2350 | ||
2351 | ||
2352 | ||
2353 | ||
2354 | ||
2355 | ||
2356 | extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); | |
2357 | # 613 "/usr/include/stdlib.h" 2 3 4 | |
2358 | ||
2359 | ||
2360 | ||
2361 | ||
2362 | extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
2363 | ||
2364 | ||
2365 | ||
2366 | ||
2367 | extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) | |
2368 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2369 | ||
2370 | ||
2371 | ||
2372 | ||
2373 | extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
2374 | ||
2375 | ||
2376 | ||
2377 | extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2378 | ||
2379 | ||
2380 | ||
2381 | ||
2382 | ||
2383 | extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) | |
2384 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2385 | ||
2386 | ||
2387 | ||
2388 | ||
2389 | ||
2390 | ||
2391 | extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
2392 | ||
2393 | ||
2394 | ||
2395 | ||
2396 | ||
2397 | ||
2398 | extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
2399 | ||
2400 | ||
2401 | ||
2402 | ||
2403 | ||
2404 | ||
2405 | extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2406 | ||
2407 | ||
2408 | ||
2409 | ||
2410 | extern char *__secure_getenv (__const char *__name) | |
2411 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2412 | ||
2413 | ||
2414 | ||
2415 | ||
2416 | ||
2417 | extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2418 | ||
2419 | ||
2420 | ||
2421 | ||
2422 | ||
2423 | extern int setenv (__const char *__name, __const char *__value, int __replace) | |
2424 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2425 | ||
2426 | ||
2427 | extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); | |
2428 | ||
2429 | ||
2430 | ||
2431 | ||
2432 | ||
2433 | ||
2434 | extern int clearenv (void) __attribute__ ((__nothrow__)); | |
2435 | # 698 "/usr/include/stdlib.h" 3 4 | |
2436 | extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2437 | # 709 "/usr/include/stdlib.h" 3 4 | |
2438 | extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; | |
2439 | # 719 "/usr/include/stdlib.h" 3 4 | |
2440 | extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; | |
2441 | # 729 "/usr/include/stdlib.h" 3 4 | |
2442 | extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2443 | # 738 "/usr/include/stdlib.h" 3 4 | |
2444 | extern int system (__const char *__command) ; | |
2445 | ||
2446 | ||
2447 | ||
2448 | ||
2449 | ||
2450 | ||
2451 | extern char *canonicalize_file_name (__const char *__name) | |
2452 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2453 | # 755 "/usr/include/stdlib.h" 3 4 | |
2454 | extern char *realpath (__const char *__restrict __name, | |
2455 | char *__restrict __resolved) __attribute__ ((__nothrow__)) ; | |
2456 | ||
2457 | ||
2458 | ||
2459 | ||
2460 | ||
2461 | ||
2462 | typedef int (*__compar_fn_t) (__const void *, __const void *); | |
2463 | ||
2464 | ||
2465 | typedef __compar_fn_t comparison_fn_t; | |
2466 | ||
2467 | ||
2468 | ||
2469 | ||
2470 | ||
2471 | ||
2472 | extern void *bsearch (__const void *__key, __const void *__base, | |
2473 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
2474 | __attribute__ ((__nonnull__ (1, 2, 5))) ; | |
2475 | ||
2476 | ||
2477 | ||
2478 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
2479 | __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); | |
2480 | ||
2481 | ||
2482 | ||
2483 | extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2484 | extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2485 | ||
2486 | ||
2487 | ||
2488 | __extension__ extern long long int llabs (long long int __x) | |
2489 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2490 | ||
2491 | ||
2492 | ||
2493 | ||
2494 | ||
2495 | ||
2496 | ||
2497 | extern div_t div (int __numer, int __denom) | |
2498 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2499 | extern ldiv_t ldiv (long int __numer, long int __denom) | |
2500 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2501 | ||
2502 | ||
2503 | ||
2504 | ||
2505 | __extension__ extern lldiv_t lldiv (long long int __numer, | |
2506 | long long int __denom) | |
2507 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2508 | # 820 "/usr/include/stdlib.h" 3 4 | |
2509 | extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, | |
2510 | int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
2511 | ||
2512 | ||
2513 | ||
2514 | ||
2515 | extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, | |
2516 | int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
2517 | ||
2518 | ||
2519 | ||
2520 | ||
2521 | extern char *gcvt (double __value, int __ndigit, char *__buf) | |
2522 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; | |
2523 | ||
2524 | ||
2525 | ||
2526 | ||
2527 | extern char *qecvt (long double __value, int __ndigit, | |
2528 | int *__restrict __decpt, int *__restrict __sign) | |
2529 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
2530 | extern char *qfcvt (long double __value, int __ndigit, | |
2531 | int *__restrict __decpt, int *__restrict __sign) | |
2532 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
2533 | extern char *qgcvt (long double __value, int __ndigit, char *__buf) | |
2534 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; | |
2535 | ||
2536 | ||
2537 | ||
2538 | ||
2539 | extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
2540 | int *__restrict __sign, char *__restrict __buf, | |
2541 | size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
2542 | extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
2543 | int *__restrict __sign, char *__restrict __buf, | |
2544 | size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
2545 | ||
2546 | extern int qecvt_r (long double __value, int __ndigit, | |
2547 | int *__restrict __decpt, int *__restrict __sign, | |
2548 | char *__restrict __buf, size_t __len) | |
2549 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
2550 | extern int qfcvt_r (long double __value, int __ndigit, | |
2551 | int *__restrict __decpt, int *__restrict __sign, | |
2552 | char *__restrict __buf, size_t __len) | |
2553 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
2554 | ||
2555 | ||
2556 | ||
2557 | ||
2558 | ||
2559 | ||
2560 | ||
2561 | extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; | |
2562 | ||
2563 | ||
2564 | extern int mbtowc (wchar_t *__restrict __pwc, | |
2565 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; | |
2566 | ||
2567 | ||
2568 | extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; | |
2569 | ||
2570 | ||
2571 | ||
2572 | extern size_t mbstowcs (wchar_t *__restrict __pwcs, | |
2573 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); | |
2574 | ||
2575 | extern size_t wcstombs (char *__restrict __s, | |
2576 | __const wchar_t *__restrict __pwcs, size_t __n) | |
2577 | __attribute__ ((__nothrow__)); | |
2578 | # 897 "/usr/include/stdlib.h" 3 4 | |
2579 | extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2580 | # 908 "/usr/include/stdlib.h" 3 4 | |
2581 | extern int getsubopt (char **__restrict __optionp, | |
2582 | char *__const *__restrict __tokens, | |
2583 | char **__restrict __valuep) | |
2584 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; | |
2585 | ||
2586 | ||
2587 | ||
2588 | ||
2589 | ||
2590 | extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2591 | ||
2592 | ||
2593 | ||
2594 | ||
2595 | ||
2596 | ||
2597 | ||
2598 | extern int posix_openpt (int __oflag) ; | |
2599 | ||
2600 | ||
2601 | ||
2602 | ||
2603 | ||
2604 | ||
2605 | ||
2606 | extern int grantpt (int __fd) __attribute__ ((__nothrow__)); | |
2607 | ||
2608 | ||
2609 | ||
2610 | extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); | |
2611 | ||
2612 | ||
2613 | ||
2614 | ||
2615 | extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ; | |
2616 | ||
2617 | ||
2618 | ||
2619 | ||
2620 | ||
2621 | ||
2622 | extern int ptsname_r (int __fd, char *__buf, size_t __buflen) | |
2623 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2624 | ||
2625 | ||
2626 | extern int getpt (void); | |
2627 | ||
2628 | ||
2629 | ||
2630 | ||
2631 | ||
2632 | ||
2633 | extern int getloadavg (double __loadavg[], int __nelem) | |
2634 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2635 | # 976 "/usr/include/stdlib.h" 3 4 | |
2636 | # 63 "glheader.h" 2 | |
2637 | ||
2638 | # 1 "/usr/include/stdio.h" 1 3 4 | |
2639 | # 30 "/usr/include/stdio.h" 3 4 | |
2640 | ||
2641 | ||
2642 | ||
2643 | ||
2644 | ||
2645 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2646 | # 35 "/usr/include/stdio.h" 2 3 4 | |
2647 | # 45 "/usr/include/stdio.h" 3 4 | |
2648 | struct _IO_FILE; | |
2649 | ||
2650 | ||
2651 | ||
2652 | typedef struct _IO_FILE FILE; | |
2653 | # 65 "/usr/include/stdio.h" 3 4 | |
2654 | typedef struct _IO_FILE __FILE; | |
2655 | # 75 "/usr/include/stdio.h" 3 4 | |
2656 | ||
2657 | # 1 "/usr/include/libio.h" 1 3 4 | |
2658 | # 32 "/usr/include/libio.h" 3 4 | |
2659 | ||
2660 | # 1 "/usr/include/_G_config.h" 1 3 4 | |
2661 | # 14 "/usr/include/_G_config.h" 3 4 | |
2662 | ||
2663 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2664 | # 355 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 | |
2665 | typedef unsigned int wint_t; | |
2666 | # 15 "/usr/include/_G_config.h" 2 3 4 | |
2667 | # 24 "/usr/include/_G_config.h" 3 4 | |
2668 | ||
2669 | # 1 "/usr/include/wchar.h" 1 3 4 | |
2670 | # 48 "/usr/include/wchar.h" 3 4 | |
2671 | ||
2672 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2673 | # 49 "/usr/include/wchar.h" 2 3 4 | |
2674 | ||
2675 | ||
2676 | # 1 "/usr/include/bits/wchar.h" 1 3 4 | |
2677 | # 51 "/usr/include/wchar.h" 2 3 4 | |
2678 | # 76 "/usr/include/wchar.h" 3 4 | |
2679 | typedef struct | |
2680 | { | |
2681 | int __count; | |
2682 | union | |
2683 | { | |
2684 | wint_t __wch; | |
2685 | char __wchb[4]; | |
2686 | } __value; | |
2687 | } __mbstate_t; | |
2688 | # 25 "/usr/include/_G_config.h" 2 3 4 | |
2689 | ||
2690 | typedef struct | |
2691 | { | |
2692 | __off_t __pos; | |
2693 | __mbstate_t __state; | |
2694 | } _G_fpos_t; | |
2695 | typedef struct | |
2696 | { | |
2697 | __off64_t __pos; | |
2698 | __mbstate_t __state; | |
2699 | } _G_fpos64_t; | |
2700 | # 44 "/usr/include/_G_config.h" 3 4 | |
2701 | ||
2702 | # 1 "/usr/include/gconv.h" 1 3 4 | |
2703 | # 28 "/usr/include/gconv.h" 3 4 | |
2704 | ||
2705 | # 1 "/usr/include/wchar.h" 1 3 4 | |
2706 | # 48 "/usr/include/wchar.h" 3 4 | |
2707 | ||
2708 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2709 | # 49 "/usr/include/wchar.h" 2 3 4 | |
2710 | # 29 "/usr/include/gconv.h" 2 3 4 | |
2711 | ||
2712 | ||
2713 | ||
2714 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
2715 | # 32 "/usr/include/gconv.h" 2 3 4 | |
2716 | ||
2717 | ||
2718 | ||
2719 | ||
2720 | ||
2721 | enum | |
2722 | { | |
2723 | __GCONV_OK = 0, | |
2724 | __GCONV_NOCONV, | |
2725 | __GCONV_NODB, | |
2726 | __GCONV_NOMEM, | |
2727 | ||
2728 | __GCONV_EMPTY_INPUT, | |
2729 | __GCONV_FULL_OUTPUT, | |
2730 | __GCONV_ILLEGAL_INPUT, | |
2731 | __GCONV_INCOMPLETE_INPUT, | |
2732 | ||
2733 | __GCONV_ILLEGAL_DESCRIPTOR, | |
2734 | __GCONV_INTERNAL_ERROR | |
2735 | }; | |
2736 | ||
2737 | ||
2738 | ||
2739 | enum | |
2740 | { | |
2741 | __GCONV_IS_LAST = 0x0001, | |
2742 | __GCONV_IGNORE_ERRORS = 0x0002 | |
2743 | }; | |
2744 | ||
2745 | ||
2746 | ||
2747 | struct __gconv_step; | |
2748 | struct __gconv_step_data; | |
2749 | struct __gconv_loaded_object; | |
2750 | struct __gconv_trans_data; | |
2751 | ||
2752 | ||
2753 | ||
2754 | typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, | |
2755 | __const unsigned char **, __const unsigned char *, | |
2756 | unsigned char **, size_t *, int, int); | |
2757 | ||
2758 | ||
2759 | typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); | |
2760 | ||
2761 | ||
2762 | typedef int (*__gconv_init_fct) (struct __gconv_step *); | |
2763 | typedef void (*__gconv_end_fct) (struct __gconv_step *); | |
2764 | ||
2765 | ||
2766 | ||
2767 | typedef int (*__gconv_trans_fct) (struct __gconv_step *, | |
2768 | struct __gconv_step_data *, void *, | |
2769 | __const unsigned char *, | |
2770 | __const unsigned char **, | |
2771 | __const unsigned char *, unsigned char **, | |
2772 | size_t *); | |
2773 | ||
2774 | ||
2775 | typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, | |
2776 | __const unsigned char *, | |
2777 | unsigned char *, unsigned char *); | |
2778 | ||
2779 | ||
2780 | typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, | |
2781 | size_t *); | |
2782 | ||
2783 | ||
2784 | typedef int (*__gconv_trans_init_fct) (void **, const char *); | |
2785 | typedef void (*__gconv_trans_end_fct) (void *); | |
2786 | ||
2787 | struct __gconv_trans_data | |
2788 | { | |
2789 | ||
2790 | __gconv_trans_fct __trans_fct; | |
2791 | __gconv_trans_context_fct __trans_context_fct; | |
2792 | __gconv_trans_end_fct __trans_end_fct; | |
2793 | void *__data; | |
2794 | struct __gconv_trans_data *__next; | |
2795 | }; | |
2796 | ||
2797 | ||
2798 | ||
2799 | struct __gconv_step | |
2800 | { | |
2801 | struct __gconv_loaded_object *__shlib_handle; | |
2802 | __const char *__modname; | |
2803 | ||
2804 | int __counter; | |
2805 | ||
2806 | char *__from_name; | |
2807 | char *__to_name; | |
2808 | ||
2809 | __gconv_fct __fct; | |
2810 | __gconv_btowc_fct __btowc_fct; | |
2811 | __gconv_init_fct __init_fct; | |
2812 | __gconv_end_fct __end_fct; | |
2813 | ||
2814 | ||
2815 | ||
2816 | int __min_needed_from; | |
2817 | int __max_needed_from; | |
2818 | int __min_needed_to; | |
2819 | int __max_needed_to; | |
2820 | ||
2821 | ||
2822 | int __stateful; | |
2823 | ||
2824 | void *__data; | |
2825 | }; | |
2826 | ||
2827 | ||
2828 | ||
2829 | struct __gconv_step_data | |
2830 | { | |
2831 | unsigned char *__outbuf; | |
2832 | unsigned char *__outbufend; | |
2833 | ||
2834 | ||
2835 | ||
2836 | int __flags; | |
2837 | ||
2838 | ||
2839 | ||
2840 | int __invocation_counter; | |
2841 | ||
2842 | ||
2843 | ||
2844 | int __internal_use; | |
2845 | ||
2846 | __mbstate_t *__statep; | |
2847 | __mbstate_t __state; | |
2848 | ||
2849 | ||
2850 | ||
2851 | struct __gconv_trans_data *__trans; | |
2852 | }; | |
2853 | ||
2854 | ||
2855 | ||
2856 | typedef struct __gconv_info | |
2857 | { | |
2858 | size_t __nsteps; | |
2859 | struct __gconv_step *__steps; | |
2860 | __extension__ struct __gconv_step_data __data []; | |
2861 | } *__gconv_t; | |
2862 | # 45 "/usr/include/_G_config.h" 2 3 4 | |
2863 | typedef union | |
2864 | { | |
2865 | struct __gconv_info __cd; | |
2866 | struct | |
2867 | { | |
2868 | struct __gconv_info __cd; | |
2869 | struct __gconv_step_data __data; | |
2870 | } __combined; | |
2871 | } _G_iconv_t; | |
2872 | ||
2873 | typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); | |
2874 | typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); | |
2875 | typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); | |
2876 | typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); | |
2877 | # 33 "/usr/include/libio.h" 2 3 4 | |
2878 | # 53 "/usr/include/libio.h" 3 4 | |
2879 | ||
2880 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 1 3 4 | |
2881 | # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 3 4 | |
2882 | typedef __builtin_va_list __gnuc_va_list; | |
2883 | # 54 "/usr/include/libio.h" 2 3 4 | |
2884 | # 167 "/usr/include/libio.h" 3 4 | |
2885 | struct _IO_jump_t; struct _IO_FILE; | |
2886 | # 177 "/usr/include/libio.h" 3 4 | |
2887 | typedef void _IO_lock_t; | |
2888 | ||
2889 | ||
2890 | ||
2891 | ||
2892 | ||
2893 | struct _IO_marker { | |
2894 | struct _IO_marker *_next; | |
2895 | struct _IO_FILE *_sbuf; | |
2896 | ||
2897 | ||
2898 | ||
2899 | int _pos; | |
2900 | # 200 "/usr/include/libio.h" 3 4 | |
2901 | }; | |
2902 | ||
2903 | ||
2904 | enum __codecvt_result | |
2905 | { | |
2906 | __codecvt_ok, | |
2907 | __codecvt_partial, | |
2908 | __codecvt_error, | |
2909 | __codecvt_noconv | |
2910 | }; | |
2911 | # 268 "/usr/include/libio.h" 3 4 | |
2912 | struct _IO_FILE { | |
2913 | int _flags; | |
2914 | ||
2915 | ||
2916 | ||
2917 | ||
2918 | char* _IO_read_ptr; | |
2919 | char* _IO_read_end; | |
2920 | char* _IO_read_base; | |
2921 | char* _IO_write_base; | |
2922 | char* _IO_write_ptr; | |
2923 | char* _IO_write_end; | |
2924 | char* _IO_buf_base; | |
2925 | char* _IO_buf_end; | |
2926 | ||
2927 | char *_IO_save_base; | |
2928 | char *_IO_backup_base; | |
2929 | char *_IO_save_end; | |
2930 | ||
2931 | struct _IO_marker *_markers; | |
2932 | ||
2933 | struct _IO_FILE *_chain; | |
2934 | ||
2935 | int _fileno; | |
2936 | ||
2937 | ||
2938 | ||
2939 | int _flags2; | |
2940 | ||
2941 | __off_t _old_offset; | |
2942 | ||
2943 | ||
2944 | ||
2945 | unsigned short _cur_column; | |
2946 | signed char _vtable_offset; | |
2947 | char _shortbuf[1]; | |
2948 | ||
2949 | ||
2950 | ||
2951 | _IO_lock_t *_lock; | |
2952 | # 316 "/usr/include/libio.h" 3 4 | |
2953 | __off64_t _offset; | |
2954 | # 325 "/usr/include/libio.h" 3 4 | |
2955 | void *__pad1; | |
2956 | void *__pad2; | |
2957 | void *__pad3; | |
2958 | void *__pad4; | |
2959 | size_t __pad5; | |
2960 | ||
2961 | int _mode; | |
2962 | ||
2963 | char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; | |
2964 | ||
2965 | }; | |
2966 | ||
2967 | ||
2968 | typedef struct _IO_FILE _IO_FILE; | |
2969 | ||
2970 | ||
2971 | struct _IO_FILE_plus; | |
2972 | ||
2973 | extern struct _IO_FILE_plus _IO_2_1_stdin_; | |
2974 | extern struct _IO_FILE_plus _IO_2_1_stdout_; | |
2975 | extern struct _IO_FILE_plus _IO_2_1_stderr_; | |
2976 | # 361 "/usr/include/libio.h" 3 4 | |
2977 | typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); | |
2978 | ||
2979 | ||
2980 | ||
2981 | ||
2982 | ||
2983 | ||
2984 | ||
2985 | typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, | |
2986 | size_t __n); | |
2987 | ||
2988 | ||
2989 | ||
2990 | ||
2991 | ||
2992 | ||
2993 | ||
2994 | typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); | |
2995 | ||
2996 | ||
2997 | typedef int __io_close_fn (void *__cookie); | |
2998 | ||
2999 | ||
3000 | ||
3001 | ||
3002 | typedef __io_read_fn cookie_read_function_t; | |
3003 | typedef __io_write_fn cookie_write_function_t; | |
3004 | typedef __io_seek_fn cookie_seek_function_t; | |
3005 | typedef __io_close_fn cookie_close_function_t; | |
3006 | ||
3007 | ||
3008 | typedef struct | |
3009 | { | |
3010 | __io_read_fn *read; | |
3011 | __io_write_fn *write; | |
3012 | __io_seek_fn *seek; | |
3013 | __io_close_fn *close; | |
3014 | } _IO_cookie_io_functions_t; | |
3015 | typedef _IO_cookie_io_functions_t cookie_io_functions_t; | |
3016 | ||
3017 | struct _IO_cookie_file; | |
3018 | ||
3019 | ||
3020 | extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, | |
3021 | void *__cookie, _IO_cookie_io_functions_t __fns); | |
3022 | ||
3023 | ||
3024 | ||
3025 | ||
3026 | ||
3027 | ||
3028 | ||
3029 | extern int __underflow (_IO_FILE *); | |
3030 | extern int __uflow (_IO_FILE *); | |
3031 | extern int __overflow (_IO_FILE *, int); | |
3032 | extern wint_t __wunderflow (_IO_FILE *); | |
3033 | extern wint_t __wuflow (_IO_FILE *); | |
3034 | extern wint_t __woverflow (_IO_FILE *, wint_t); | |
3035 | # 451 "/usr/include/libio.h" 3 4 | |
3036 | extern int _IO_getc (_IO_FILE *__fp); | |
3037 | extern int _IO_putc (int __c, _IO_FILE *__fp); | |
3038 | extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
3039 | extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
3040 | ||
3041 | extern int _IO_peekc_locked (_IO_FILE *__fp); | |
3042 | ||
3043 | ||
3044 | ||
3045 | ||
3046 | ||
3047 | extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
3048 | extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
3049 | extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
3050 | # 481 "/usr/include/libio.h" 3 4 | |
3051 | extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, | |
3052 | __gnuc_va_list, int *__restrict); | |
3053 | extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, | |
3054 | __gnuc_va_list); | |
3055 | extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); | |
3056 | extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); | |
3057 | ||
3058 | extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); | |
3059 | extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); | |
3060 | ||
3061 | extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); | |
3062 | # 76 "/usr/include/stdio.h" 2 3 4 | |
3063 | ||
3064 | ||
3065 | ||
3066 | ||
3067 | typedef __gnuc_va_list va_list; | |
3068 | # 89 "/usr/include/stdio.h" 3 4 | |
3069 | ||
3070 | ||
3071 | typedef _G_fpos_t fpos_t; | |
3072 | ||
3073 | ||
3074 | ||
3075 | ||
3076 | ||
3077 | typedef _G_fpos64_t fpos64_t; | |
3078 | # 141 "/usr/include/stdio.h" 3 4 | |
3079 | ||
3080 | # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 | |
3081 | # 142 "/usr/include/stdio.h" 2 3 4 | |
3082 | ||
3083 | ||
3084 | ||
3085 | extern struct _IO_FILE *stdin; | |
3086 | extern struct _IO_FILE *stdout; | |
3087 | extern struct _IO_FILE *stderr; | |
3088 | ||
3089 | ||
3090 | ||
3091 | ||
3092 | ||
3093 | ||
3094 | ||
3095 | extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); | |
3096 | ||
3097 | extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); | |
3098 | ||
3099 | ||
3100 | ||
3101 | ||
3102 | extern int renameat (int __oldfd, __const char *__old, int __newfd, | |
3103 | __const char *__new) __attribute__ ((__nothrow__)); | |
3104 | # 172 "/usr/include/stdio.h" 3 4 | |
3105 | extern FILE *tmpfile (void) ; | |
3106 | # 182 "/usr/include/stdio.h" 3 4 | |
3107 | extern FILE *tmpfile64 (void) ; | |
3108 | ||
3109 | ||
3110 | ||
3111 | extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ; | |
3112 | ||
3113 | ||
3114 | ||
3115 | ||
3116 | ||
3117 | extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ; | |
3118 | # 204 "/usr/include/stdio.h" 3 4 | |
3119 | extern char *tempnam (__const char *__dir, __const char *__pfx) | |
3120 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
3121 | # 214 "/usr/include/stdio.h" 3 4 | |
3122 | extern int fclose (FILE *__stream); | |
3123 | ||
3124 | ||
3125 | ||
3126 | ||
3127 | extern int fflush (FILE *__stream); | |
3128 | # 229 "/usr/include/stdio.h" 3 4 | |
3129 | extern int fflush_unlocked (FILE *__stream); | |
3130 | # 239 "/usr/include/stdio.h" 3 4 | |
3131 | extern int fcloseall (void); | |
3132 | # 249 "/usr/include/stdio.h" 3 4 | |
3133 | extern FILE *fopen (__const char *__restrict __filename, | |
3134 | __const char *__restrict __modes) ; | |
3135 | ||
3136 | ||
3137 | ||
3138 | ||
3139 | extern FILE *freopen (__const char *__restrict __filename, | |
3140 | __const char *__restrict __modes, | |
3141 | FILE *__restrict __stream) ; | |
3142 | # 272 "/usr/include/stdio.h" 3 4 | |
3143 | ||
3144 | ||
3145 | extern FILE *fopen64 (__const char *__restrict __filename, | |
3146 | __const char *__restrict __modes) ; | |
3147 | extern FILE *freopen64 (__const char *__restrict __filename, | |
3148 | __const char *__restrict __modes, | |
3149 | FILE *__restrict __stream) ; | |
3150 | ||
3151 | ||
3152 | ||
3153 | ||
3154 | extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ; | |
3155 | ||
3156 | ||
3157 | ||
3158 | ||
3159 | ||
3160 | extern FILE *fopencookie (void *__restrict __magic_cookie, | |
3161 | __const char *__restrict __modes, | |
3162 | _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ; | |
3163 | ||
3164 | ||
3165 | extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) | |
3166 | __attribute__ ((__nothrow__)) ; | |
3167 | ||
3168 | ||
3169 | ||
3170 | ||
3171 | extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ; | |
3172 | ||
3173 | ||
3174 | ||
3175 | ||
3176 | ||
3177 | ||
3178 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); | |
3179 | ||
3180 | ||
3181 | ||
3182 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, | |
3183 | int __modes, size_t __n) __attribute__ ((__nothrow__)); | |
3184 | ||
3185 | ||
3186 | ||
3187 | ||
3188 | ||
3189 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, | |
3190 | size_t __size) __attribute__ ((__nothrow__)); | |
3191 | ||
3192 | ||
3193 | extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); | |
3194 | # 331 "/usr/include/stdio.h" 3 4 | |
3195 | extern int fprintf (FILE *__restrict __stream, | |
3196 | __const char *__restrict __format, ...); | |
3197 | ||
3198 | ||
3199 | ||
3200 | ||
3201 | extern int printf (__const char *__restrict __format, ...); | |
3202 | ||
3203 | extern int sprintf (char *__restrict __s, | |
3204 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
3205 | ||
3206 | ||
3207 | ||
3208 | ||
3209 | ||
3210 | extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, | |
3211 | __gnuc_va_list __arg); | |
3212 | ||
3213 | ||
3214 | ||
3215 | ||
3216 | extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); | |
3217 | ||
3218 | extern int vsprintf (char *__restrict __s, __const char *__restrict __format, | |
3219 | __gnuc_va_list __arg) __attribute__ ((__nothrow__)); | |
3220 | ||
3221 | ||
3222 | ||
3223 | ||
3224 | ||
3225 | extern int snprintf (char *__restrict __s, size_t __maxlen, | |
3226 | __const char *__restrict __format, ...) | |
3227 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); | |
3228 | ||
3229 | extern int vsnprintf (char *__restrict __s, size_t __maxlen, | |
3230 | __const char *__restrict __format, __gnuc_va_list __arg) | |
3231 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); | |
3232 | ||
3233 | ||
3234 | ||
3235 | ||
3236 | ||
3237 | ||
3238 | extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, | |
3239 | __gnuc_va_list __arg) | |
3240 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ; | |
3241 | extern int __asprintf (char **__restrict __ptr, | |
3242 | __const char *__restrict __fmt, ...) | |
3243 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; | |
3244 | extern int asprintf (char **__restrict __ptr, | |
3245 | __const char *__restrict __fmt, ...) | |
3246 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; | |
3247 | ||
3248 | ||
3249 | ||
3250 | ||
3251 | ||
3252 | ||
3253 | ||
3254 | extern int vdprintf (int __fd, __const char *__restrict __fmt, | |
3255 | __gnuc_va_list __arg) | |
3256 | __attribute__ ((__format__ (__printf__, 2, 0))); | |
3257 | extern int dprintf (int __fd, __const char *__restrict __fmt, ...) | |
3258 | __attribute__ ((__format__ (__printf__, 2, 3))); | |
3259 | # 403 "/usr/include/stdio.h" 3 4 | |
3260 | extern int fscanf (FILE *__restrict __stream, | |
3261 | __const char *__restrict __format, ...) ; | |
3262 | ||
3263 | ||
3264 | ||
3265 | ||
3266 | extern int scanf (__const char *__restrict __format, ...) ; | |
3267 | ||
3268 | extern int sscanf (__const char *__restrict __s, | |
3269 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
3270 | # 421 "/usr/include/stdio.h" 3 4 | |
3271 | extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, | |
3272 | __gnuc_va_list __arg) | |
3273 | __attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
3274 | ||
3275 | ||
3276 | ||
3277 | ||
3278 | ||
3279 | extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) | |
3280 | __attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
3281 | ||
3282 | ||
3283 | extern int vsscanf (__const char *__restrict __s, | |
3284 | __const char *__restrict __format, __gnuc_va_list __arg) | |
3285 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); | |
3286 | # 445 "/usr/include/stdio.h" 3 4 | |
3287 | extern int fgetc (FILE *__stream); | |
3288 | extern int getc (FILE *__stream); | |
3289 | ||
3290 | ||
3291 | ||
3292 | ||
3293 | ||
3294 | extern int getchar (void); | |
3295 | # 464 "/usr/include/stdio.h" 3 4 | |
3296 | extern int getc_unlocked (FILE *__stream); | |
3297 | extern int getchar_unlocked (void); | |
3298 | # 475 "/usr/include/stdio.h" 3 4 | |
3299 | extern int fgetc_unlocked (FILE *__stream); | |
3300 | # 487 "/usr/include/stdio.h" 3 4 | |
3301 | extern int fputc (int __c, FILE *__stream); | |
3302 | extern int putc (int __c, FILE *__stream); | |
3303 | ||
3304 | ||
3305 | ||
3306 | ||
3307 | ||
3308 | extern int putchar (int __c); | |
3309 | # 508 "/usr/include/stdio.h" 3 4 | |
3310 | extern int fputc_unlocked (int __c, FILE *__stream); | |
3311 | ||
3312 | ||
3313 | ||
3314 | ||
3315 | ||
3316 | ||
3317 | ||
3318 | extern int putc_unlocked (int __c, FILE *__stream); | |
3319 | extern int putchar_unlocked (int __c); | |
3320 | ||
3321 | ||
3322 | ||
3323 | ||
3324 | ||
3325 | ||
3326 | extern int getw (FILE *__stream); | |
3327 | ||
3328 | ||
3329 | extern int putw (int __w, FILE *__stream); | |
3330 | # 536 "/usr/include/stdio.h" 3 4 | |
3331 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | |
3332 | ; | |
3333 | ||
3334 | ||
3335 | ||
3336 | ||
3337 | ||
3338 | ||
3339 | extern char *gets (char *__s) ; | |
3340 | # 554 "/usr/include/stdio.h" 3 4 | |
3341 | extern char *fgets_unlocked (char *__restrict __s, int __n, | |
3342 | FILE *__restrict __stream) ; | |
3343 | # 570 "/usr/include/stdio.h" 3 4 | |
3344 | extern __ssize_t __getdelim (char **__restrict __lineptr, | |
3345 | size_t *__restrict __n, int __delimiter, | |
3346 | FILE *__restrict __stream) ; | |
3347 | extern __ssize_t getdelim (char **__restrict __lineptr, | |
3348 | size_t *__restrict __n, int __delimiter, | |
3349 | FILE *__restrict __stream) ; | |
3350 | ||
3351 | ||
3352 | ||
3353 | ||
3354 | ||
3355 | ||
3356 | ||
3357 | extern __ssize_t getline (char **__restrict __lineptr, | |
3358 | size_t *__restrict __n, | |
3359 | FILE *__restrict __stream) ; | |
3360 | # 594 "/usr/include/stdio.h" 3 4 | |
3361 | extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); | |
3362 | ||
3363 | ||
3364 | ||
3365 | ||
3366 | ||
3367 | extern int puts (__const char *__s); | |
3368 | ||
3369 | ||
3370 | ||
3371 | ||
3372 | ||
3373 | ||
3374 | extern int ungetc (int __c, FILE *__stream); | |
3375 | ||
3376 | ||
3377 | ||
3378 | ||
3379 | ||
3380 | ||
3381 | extern size_t fread (void *__restrict __ptr, size_t __size, | |
3382 | size_t __n, FILE *__restrict __stream) ; | |
3383 | ||
3384 | ||
3385 | ||
3386 | ||
3387 | extern size_t fwrite (__const void *__restrict __ptr, size_t __size, | |
3388 | size_t __n, FILE *__restrict __s) ; | |
3389 | # 631 "/usr/include/stdio.h" 3 4 | |
3390 | extern int fputs_unlocked (__const char *__restrict __s, | |
3391 | FILE *__restrict __stream); | |
3392 | # 642 "/usr/include/stdio.h" 3 4 | |
3393 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, | |
3394 | size_t __n, FILE *__restrict __stream) ; | |
3395 | extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, | |
3396 | size_t __n, FILE *__restrict __stream) ; | |
3397 | # 654 "/usr/include/stdio.h" 3 4 | |
3398 | extern int fseek (FILE *__stream, long int __off, int __whence); | |
3399 | ||
3400 | ||
3401 | ||
3402 | ||
3403 | extern long int ftell (FILE *__stream) ; | |
3404 | ||
3405 | ||
3406 | ||
3407 | ||
3408 | extern void rewind (FILE *__stream); | |
3409 | # 678 "/usr/include/stdio.h" 3 4 | |
3410 | extern int fseeko (FILE *__stream, __off_t __off, int __whence); | |
3411 | ||
3412 | ||
3413 | ||
3414 | ||
3415 | extern __off_t ftello (FILE *__stream) ; | |
3416 | # 697 "/usr/include/stdio.h" 3 4 | |
3417 | ||
3418 | ||
3419 | ||
3420 | ||
3421 | ||
3422 | ||
3423 | extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); | |
3424 | ||
3425 | ||
3426 | ||
3427 | ||
3428 | extern int fsetpos (FILE *__stream, __const fpos_t *__pos); | |
3429 | # 720 "/usr/include/stdio.h" 3 4 | |
3430 | ||
3431 | ||
3432 | ||
3433 | extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); | |
3434 | extern __off64_t ftello64 (FILE *__stream) ; | |
3435 | extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); | |
3436 | extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); | |
3437 | ||
3438 | ||
3439 | ||
3440 | ||
3441 | extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); | |
3442 | ||
3443 | extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3444 | ||
3445 | extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3446 | ||
3447 | ||
3448 | ||
3449 | ||
3450 | extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); | |
3451 | extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3452 | extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3453 | # 751 "/usr/include/stdio.h" 3 4 | |
3454 | extern void perror (__const char *__s); | |
3455 | ||
3456 | ||
3457 | ||
3458 | ||
3459 | ||
3460 | ||
3461 | ||
3462 | # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 | |
3463 | # 27 "/usr/include/bits/sys_errlist.h" 3 4 | |
3464 | extern int sys_nerr; | |
3465 | extern __const char *__const sys_errlist[]; | |
3466 | ||
3467 | ||
3468 | extern int _sys_nerr; | |
3469 | extern __const char *__const _sys_errlist[]; | |
3470 | # 759 "/usr/include/stdio.h" 2 3 4 | |
3471 | ||
3472 | ||
3473 | ||
3474 | ||
3475 | extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3476 | ||
3477 | ||
3478 | ||
3479 | ||
3480 | extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3481 | # 778 "/usr/include/stdio.h" 3 4 | |
3482 | extern FILE *popen (__const char *__command, __const char *__modes) ; | |
3483 | ||
3484 | ||
3485 | ||
3486 | ||
3487 | ||
3488 | extern int pclose (FILE *__stream); | |
3489 | ||
3490 | ||
3491 | ||
3492 | ||
3493 | ||
3494 | extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); | |
3495 | ||
3496 | ||
3497 | ||
3498 | ||
3499 | ||
3500 | extern char *cuserid (char *__s); | |
3501 | ||
3502 | ||
3503 | ||
3504 | ||
3505 | struct obstack; | |
3506 | ||
3507 | ||
3508 | extern int obstack_printf (struct obstack *__restrict __obstack, | |
3509 | __const char *__restrict __format, ...) | |
3510 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); | |
3511 | extern int obstack_vprintf (struct obstack *__restrict __obstack, | |
3512 | __const char *__restrict __format, | |
3513 | __gnuc_va_list __args) | |
3514 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); | |
3515 | ||
3516 | ||
3517 | ||
3518 | ||
3519 | ||
3520 | ||
3521 | ||
3522 | extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); | |
3523 | ||
3524 | ||
3525 | ||
3526 | extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; | |
3527 | ||
3528 | ||
3529 | extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); | |
3530 | # 839 "/usr/include/stdio.h" 3 4 | |
3531 | ||
3532 | # 1 "/usr/include/bits/stdio.h" 1 3 4 | |
3533 | # 33 "/usr/include/bits/stdio.h" 3 4 | |
3534 | extern __inline int | |
3535 | vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) | |
3536 | { | |
3537 | return vfprintf (stdout, __fmt, __arg); | |
3538 | } | |
3539 | ||
3540 | ||
3541 | extern __inline int | |
3542 | getchar (void) | |
3543 | { | |
3544 | return _IO_getc (stdin); | |
3545 | } | |
3546 | ||
3547 | ||
3548 | ||
3549 | ||
3550 | extern __inline int | |
3551 | fgetc_unlocked (FILE *__fp) | |
3552 | { | |
3553 | return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
3554 | } | |
3555 | ||
3556 | ||
3557 | ||
3558 | ||
3559 | ||
3560 | extern __inline int | |
3561 | getc_unlocked (FILE *__fp) | |
3562 | { | |
3563 | return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
3564 | } | |
3565 | ||
3566 | ||
3567 | extern __inline int | |
3568 | getchar_unlocked (void) | |
3569 | { | |
3570 | return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); | |
3571 | } | |
3572 | ||
3573 | ||
3574 | ||
3575 | ||
3576 | extern __inline int | |
3577 | putchar (int __c) | |
3578 | { | |
3579 | return _IO_putc (__c, stdout); | |
3580 | } | |
3581 | ||
3582 | ||
3583 | ||
3584 | ||
3585 | extern __inline int | |
3586 | fputc_unlocked (int __c, FILE *__stream) | |
3587 | { | |
3588 | return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
3589 | } | |
3590 | ||
3591 | ||
3592 | ||
3593 | ||
3594 | ||
3595 | extern __inline int | |
3596 | putc_unlocked (int __c, FILE *__stream) | |
3597 | { | |
3598 | return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
3599 | } | |
3600 | ||
3601 | ||
3602 | extern __inline int | |
3603 | putchar_unlocked (int __c) | |
3604 | { | |
3605 | return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); | |
3606 | } | |
3607 | ||
3608 | ||
3609 | ||
3610 | ||
3611 | ||
3612 | extern __inline __ssize_t | |
3613 | getline (char **__lineptr, size_t *__n, FILE *__stream) | |
3614 | { | |
3615 | return __getdelim (__lineptr, __n, '\n', __stream); | |
3616 | } | |
3617 | ||
3618 | ||
3619 | ||
3620 | ||
3621 | ||
3622 | extern __inline int | |
3623 | __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) | |
3624 | { | |
3625 | return (((__stream)->_flags & 0x10) != 0); | |
3626 | } | |
3627 | ||
3628 | ||
3629 | extern __inline int | |
3630 | __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) | |
3631 | { | |
3632 | return (((__stream)->_flags & 0x20) != 0); | |
3633 | } | |
3634 | # 840 "/usr/include/stdio.h" 2 3 4 | |
3635 | # 848 "/usr/include/stdio.h" 3 4 | |
3636 | # 64 "glheader.h" 2 | |
3637 | ||
3638 | # 1 "/usr/include/string.h" 1 3 4 | |
3639 | # 28 "/usr/include/string.h" 3 4 | |
3640 | ||
3641 | ||
3642 | ||
3643 | ||
3644 | ||
3645 | ||
3646 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
3647 | # 34 "/usr/include/string.h" 2 3 4 | |
3648 | ||
3649 | ||
3650 | ||
3651 | ||
3652 | extern void *memcpy (void *__restrict __dest, | |
3653 | __const void *__restrict __src, size_t __n) | |
3654 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3655 | ||
3656 | ||
3657 | extern void *memmove (void *__dest, __const void *__src, size_t __n) | |
3658 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3659 | ||
3660 | ||
3661 | ||
3662 | ||
3663 | ||
3664 | ||
3665 | extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, | |
3666 | int __c, size_t __n) | |
3667 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3668 | ||
3669 | ||
3670 | ||
3671 | ||
3672 | ||
3673 | extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3674 | ||
3675 | ||
3676 | extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) | |
3677 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3678 | ||
3679 | ||
3680 | extern void *memchr (__const void *__s, int __c, size_t __n) | |
3681 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3682 | ||
3683 | ||
3684 | ||
3685 | ||
3686 | ||
3687 | extern void *rawmemchr (__const void *__s, int __c) | |
3688 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3689 | ||
3690 | ||
3691 | extern void *memrchr (__const void *__s, int __c, size_t __n) | |
3692 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3693 | ||
3694 | ||
3695 | ||
3696 | ||
3697 | ||
3698 | extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) | |
3699 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3700 | ||
3701 | extern char *strncpy (char *__restrict __dest, | |
3702 | __const char *__restrict __src, size_t __n) | |
3703 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3704 | ||
3705 | ||
3706 | extern char *strcat (char *__restrict __dest, __const char *__restrict __src) | |
3707 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3708 | ||
3709 | extern char *strncat (char *__restrict __dest, __const char *__restrict __src, | |
3710 | size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3711 | ||
3712 | ||
3713 | extern int strcmp (__const char *__s1, __const char *__s2) | |
3714 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3715 | ||
3716 | extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) | |
3717 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3718 | ||
3719 | ||
3720 | extern int strcoll (__const char *__s1, __const char *__s2) | |
3721 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3722 | ||
3723 | extern size_t strxfrm (char *__restrict __dest, | |
3724 | __const char *__restrict __src, size_t __n) | |
3725 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
3726 | # 121 "/usr/include/string.h" 3 4 | |
3727 | extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) | |
3728 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
3729 | ||
3730 | extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, | |
3731 | __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); | |
3732 | ||
3733 | ||
3734 | ||
3735 | ||
3736 | extern char *strdup (__const char *__s) | |
3737 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
3738 | ||
3739 | ||
3740 | ||
3741 | ||
3742 | ||
3743 | ||
3744 | extern char *strndup (__const char *__string, size_t __n) | |
3745 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
3746 | # 165 "/usr/include/string.h" 3 4 | |
3747 | ||
3748 | ||
3749 | extern char *strchr (__const char *__s, int __c) | |
3750 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3751 | ||
3752 | extern char *strrchr (__const char *__s, int __c) | |
3753 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3754 | ||
3755 | ||
3756 | ||
3757 | ||
3758 | ||
3759 | extern char *strchrnul (__const char *__s, int __c) | |
3760 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3761 | ||
3762 | ||
3763 | ||
3764 | ||
3765 | ||
3766 | extern size_t strcspn (__const char *__s, __const char *__reject) | |
3767 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3768 | ||
3769 | ||
3770 | extern size_t strspn (__const char *__s, __const char *__accept) | |
3771 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3772 | ||
3773 | extern char *strpbrk (__const char *__s, __const char *__accept) | |
3774 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3775 | ||
3776 | extern char *strstr (__const char *__haystack, __const char *__needle) | |
3777 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3778 | ||
3779 | ||
3780 | ||
3781 | extern char *strtok (char *__restrict __s, __const char *__restrict __delim) | |
3782 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
3783 | ||
3784 | ||
3785 | ||
3786 | ||
3787 | extern char *__strtok_r (char *__restrict __s, | |
3788 | __const char *__restrict __delim, | |
3789 | char **__restrict __save_ptr) | |
3790 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
3791 | ||
3792 | extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, | |
3793 | char **__restrict __save_ptr) | |
3794 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
3795 | ||
3796 | ||
3797 | ||
3798 | ||
3799 | extern char *strcasestr (__const char *__haystack, __const char *__needle) | |
3800 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3801 | ||
3802 | ||
3803 | ||
3804 | ||
3805 | ||
3806 | ||
3807 | extern void *memmem (__const void *__haystack, size_t __haystacklen, | |
3808 | __const void *__needle, size_t __needlelen) | |
3809 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); | |
3810 | ||
3811 | ||
3812 | ||
3813 | extern void *__mempcpy (void *__restrict __dest, | |
3814 | __const void *__restrict __src, size_t __n) | |
3815 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3816 | extern void *mempcpy (void *__restrict __dest, | |
3817 | __const void *__restrict __src, size_t __n) | |
3818 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3819 | ||
3820 | ||
3821 | ||
3822 | ||
3823 | ||
3824 | extern size_t strlen (__const char *__s) | |
3825 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3826 | ||
3827 | ||
3828 | ||
3829 | ||
3830 | ||
3831 | extern size_t strnlen (__const char *__string, size_t __maxlen) | |
3832 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3833 | ||
3834 | ||
3835 | ||
3836 | ||
3837 | ||
3838 | extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); | |
3839 | # 281 "/usr/include/string.h" 3 4 | |
3840 | extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) | |
3841 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
3842 | ||
3843 | ||
3844 | ||
3845 | ||
3846 | ||
3847 | extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); | |
3848 | ||
3849 | ||
3850 | ||
3851 | ||
3852 | ||
3853 | extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3854 | ||
3855 | ||
3856 | ||
3857 | extern void bcopy (__const void *__src, void *__dest, size_t __n) | |
3858 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3859 | ||
3860 | ||
3861 | extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3862 | ||
3863 | ||
3864 | extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) | |
3865 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3866 | ||
3867 | ||
3868 | extern char *index (__const char *__s, int __c) | |
3869 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3870 | ||
3871 | ||
3872 | extern char *rindex (__const char *__s, int __c) | |
3873 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
3874 | ||
3875 | ||
3876 | ||
3877 | extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
3878 | ||
3879 | ||
3880 | ||
3881 | ||
3882 | extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
3883 | ||
3884 | __extension__ extern int ffsll (long long int __ll) | |
3885 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
3886 | ||
3887 | ||
3888 | ||
3889 | ||
3890 | extern int strcasecmp (__const char *__s1, __const char *__s2) | |
3891 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3892 | ||
3893 | ||
3894 | extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) | |
3895 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3896 | ||
3897 | ||
3898 | ||
3899 | ||
3900 | ||
3901 | extern int strcasecmp_l (__const char *__s1, __const char *__s2, | |
3902 | __locale_t __loc) | |
3903 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
3904 | ||
3905 | extern int strncasecmp_l (__const char *__s1, __const char *__s2, | |
3906 | size_t __n, __locale_t __loc) | |
3907 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); | |
3908 | ||
3909 | ||
3910 | ||
3911 | ||
3912 | ||
3913 | extern char *strsep (char **__restrict __stringp, | |
3914 | __const char *__restrict __delim) | |
3915 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3916 | ||
3917 | ||
3918 | ||
3919 | ||
3920 | extern int strverscmp (__const char *__s1, __const char *__s2) | |
3921 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
3922 | ||
3923 | ||
3924 | extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); | |
3925 | ||
3926 | ||
3927 | extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) | |
3928 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3929 | extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) | |
3930 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3931 | ||
3932 | ||
3933 | ||
3934 | extern char *__stpncpy (char *__restrict __dest, | |
3935 | __const char *__restrict __src, size_t __n) | |
3936 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3937 | extern char *stpncpy (char *__restrict __dest, | |
3938 | __const char *__restrict __src, size_t __n) | |
3939 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
3940 | ||
3941 | ||
3942 | extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3943 | ||
3944 | ||
3945 | extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3946 | ||
3947 | ||
3948 | ||
3949 | ||
3950 | ||
3951 | ||
3952 | extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
3953 | # 420 "/usr/include/string.h" 3 4 | |
3954 | ||
3955 | # 1 "/usr/include/bits/string.h" 1 3 4 | |
3956 | # 421 "/usr/include/string.h" 2 3 4 | |
3957 | ||
3958 | ||
3959 | ||
3960 | # 1 "/usr/include/bits/string2.h" 1 3 4 | |
3961 | # 394 "/usr/include/bits/string2.h" 3 4 | |
3962 | extern void *__rawmemchr (const void *__s, int __c); | |
3963 | # 969 "/usr/include/bits/string2.h" 3 4 | |
3964 | extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); | |
3965 | extern __inline size_t | |
3966 | __strcspn_c1 (__const char *__s, int __reject) | |
3967 | { | |
3968 | register size_t __result = 0; | |
3969 | while (__s[__result] != '\0' && __s[__result] != __reject) | |
3970 | ++__result; | |
3971 | return __result; | |
3972 | } | |
3973 | ||
3974 | extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, | |
3975 | int __reject2); | |
3976 | extern __inline size_t | |
3977 | __strcspn_c2 (__const char *__s, int __reject1, int __reject2) | |
3978 | { | |
3979 | register size_t __result = 0; | |
3980 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
3981 | && __s[__result] != __reject2) | |
3982 | ++__result; | |
3983 | return __result; | |
3984 | } | |
3985 | ||
3986 | extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, | |
3987 | int __reject2, int __reject3); | |
3988 | extern __inline size_t | |
3989 | __strcspn_c3 (__const char *__s, int __reject1, int __reject2, | |
3990 | int __reject3) | |
3991 | { | |
3992 | register size_t __result = 0; | |
3993 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
3994 | && __s[__result] != __reject2 && __s[__result] != __reject3) | |
3995 | ++__result; | |
3996 | return __result; | |
3997 | } | |
3998 | # 1045 "/usr/include/bits/string2.h" 3 4 | |
3999 | extern __inline size_t __strspn_c1 (__const char *__s, int __accept); | |
4000 | extern __inline size_t | |
4001 | __strspn_c1 (__const char *__s, int __accept) | |
4002 | { | |
4003 | register size_t __result = 0; | |
4004 | ||
4005 | while (__s[__result] == __accept) | |
4006 | ++__result; | |
4007 | return __result; | |
4008 | } | |
4009 | ||
4010 | extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, | |
4011 | int __accept2); | |
4012 | extern __inline size_t | |
4013 | __strspn_c2 (__const char *__s, int __accept1, int __accept2) | |
4014 | { | |
4015 | register size_t __result = 0; | |
4016 | ||
4017 | while (__s[__result] == __accept1 || __s[__result] == __accept2) | |
4018 | ++__result; | |
4019 | return __result; | |
4020 | } | |
4021 | ||
4022 | extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, | |
4023 | int __accept2, int __accept3); | |
4024 | extern __inline size_t | |
4025 | __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) | |
4026 | { | |
4027 | register size_t __result = 0; | |
4028 | ||
4029 | while (__s[__result] == __accept1 || __s[__result] == __accept2 | |
4030 | || __s[__result] == __accept3) | |
4031 | ++__result; | |
4032 | return __result; | |
4033 | } | |
4034 | # 1121 "/usr/include/bits/string2.h" 3 4 | |
4035 | extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, | |
4036 | int __accept2); | |
4037 | extern __inline char * | |
4038 | __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) | |
4039 | { | |
4040 | ||
4041 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) | |
4042 | ++__s; | |
4043 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
4044 | } | |
4045 | ||
4046 | extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, | |
4047 | int __accept2, int __accept3); | |
4048 | extern __inline char * | |
4049 | __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, | |
4050 | int __accept3) | |
4051 | { | |
4052 | ||
4053 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 | |
4054 | && *__s != __accept3) | |
4055 | ++__s; | |
4056 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
4057 | } | |
4058 | # 1173 "/usr/include/bits/string2.h" 3 4 | |
4059 | extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); | |
4060 | extern __inline char * | |
4061 | __strtok_r_1c (char *__s, char __sep, char **__nextp) | |
4062 | { | |
4063 | char *__result; | |
4064 | if (__s == ((void *)0)) | |
4065 | __s = *__nextp; | |
4066 | while (*__s == __sep) | |
4067 | ++__s; | |
4068 | __result = ((void *)0); | |
4069 | if (*__s != '\0') | |
4070 | { | |
4071 | __result = __s++; | |
4072 | while (*__s != '\0') | |
4073 | if (*__s++ == __sep) | |
4074 | { | |
4075 | __s[-1] = '\0'; | |
4076 | break; | |
4077 | } | |
4078 | *__nextp = __s; | |
4079 | } | |
4080 | return __result; | |
4081 | } | |
4082 | # 1205 "/usr/include/bits/string2.h" 3 4 | |
4083 | extern char *__strsep_g (char **__stringp, __const char *__delim); | |
4084 | # 1223 "/usr/include/bits/string2.h" 3 4 | |
4085 | extern __inline char *__strsep_1c (char **__s, char __reject); | |
4086 | extern __inline char * | |
4087 | __strsep_1c (char **__s, char __reject) | |
4088 | { | |
4089 | register char *__retval = *__s; | |
4090 | if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) | |
4091 | *(*__s)++ = '\0'; | |
4092 | return __retval; | |
4093 | } | |
4094 | ||
4095 | extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); | |
4096 | extern __inline char * | |
4097 | __strsep_2c (char **__s, char __reject1, char __reject2) | |
4098 | { | |
4099 | register char *__retval = *__s; | |
4100 | if (__retval != ((void *)0)) | |
4101 | { | |
4102 | register char *__cp = __retval; | |
4103 | while (1) | |
4104 | { | |
4105 | if (*__cp == '\0') | |
4106 | { | |
4107 | __cp = ((void *)0); | |
4108 | break; | |
4109 | } | |
4110 | if (*__cp == __reject1 || *__cp == __reject2) | |
4111 | { | |
4112 | *__cp++ = '\0'; | |
4113 | break; | |
4114 | } | |
4115 | ++__cp; | |
4116 | } | |
4117 | *__s = __cp; | |
4118 | } | |
4119 | return __retval; | |
4120 | } | |
4121 | ||
4122 | extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, | |
4123 | char __reject3); | |
4124 | extern __inline char * | |
4125 | __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) | |
4126 | { | |
4127 | register char *__retval = *__s; | |
4128 | if (__retval != ((void *)0)) | |
4129 | { | |
4130 | register char *__cp = __retval; | |
4131 | while (1) | |
4132 | { | |
4133 | if (*__cp == '\0') | |
4134 | { | |
4135 | __cp = ((void *)0); | |
4136 | break; | |
4137 | } | |
4138 | if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) | |
4139 | { | |
4140 | *__cp++ = '\0'; | |
4141 | break; | |
4142 | } | |
4143 | ++__cp; | |
4144 | } | |
4145 | *__s = __cp; | |
4146 | } | |
4147 | return __retval; | |
4148 | } | |
4149 | # 1304 "/usr/include/bits/string2.h" 3 4 | |
4150 | extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
4151 | # 1323 "/usr/include/bits/string2.h" 3 4 | |
4152 | extern char *__strndup (__const char *__string, size_t __n) | |
4153 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
4154 | # 424 "/usr/include/string.h" 2 3 4 | |
4155 | # 432 "/usr/include/string.h" 3 4 | |
4156 | # 65 "glheader.h" 2 | |
4157 | ||
4158 | ||
4159 | # 1 "/usr/include/fpu_control.h" 1 3 4 | |
4160 | # 89 "/usr/include/fpu_control.h" 3 4 | |
4161 | typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__))); | |
4162 | # 100 "/usr/include/fpu_control.h" 3 4 | |
4163 | extern fpu_control_t __fpu_control; | |
4164 | # 67 "glheader.h" 2 | |
4165 | ||
4166 | ||
4167 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/float.h" 1 3 4 | |
4168 | # 69 "glheader.h" 2 | |
4169 | ||
4170 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 1 3 4 | |
4171 | # 70 "glheader.h" 2 | |
4172 | # 81 "glheader.h" | |
4173 | ||
4174 | # 1 "/usr/include/inttypes.h" 1 3 4 | |
4175 | # 28 "/usr/include/inttypes.h" 3 4 | |
4176 | ||
4177 | # 1 "/usr/include/stdint.h" 1 3 4 | |
4178 | # 28 "/usr/include/stdint.h" 3 4 | |
4179 | ||
4180 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
4181 | # 29 "/usr/include/stdint.h" 2 3 4 | |
4182 | # 49 "/usr/include/stdint.h" 3 4 | |
4183 | typedef unsigned char uint8_t; | |
4184 | typedef unsigned short int uint16_t; | |
4185 | ||
4186 | typedef unsigned int uint32_t; | |
4187 | ||
4188 | ||
4189 | ||
4190 | ||
4191 | ||
4192 | __extension__ | |
4193 | typedef unsigned long long int uint64_t; | |
4194 | ||
4195 | ||
4196 | ||
4197 | ||
4198 | ||
4199 | ||
4200 | typedef signed char int_least8_t; | |
4201 | typedef short int int_least16_t; | |
4202 | typedef int int_least32_t; | |
4203 | ||
4204 | ||
4205 | ||
4206 | __extension__ | |
4207 | typedef long long int int_least64_t; | |
4208 | ||
4209 | ||
4210 | ||
4211 | typedef unsigned char uint_least8_t; | |
4212 | typedef unsigned short int uint_least16_t; | |
4213 | typedef unsigned int uint_least32_t; | |
4214 | ||
4215 | ||
4216 | ||
4217 | __extension__ | |
4218 | typedef unsigned long long int uint_least64_t; | |
4219 | ||
4220 | ||
4221 | ||
4222 | ||
4223 | ||
4224 | ||
4225 | typedef signed char int_fast8_t; | |
4226 | ||
4227 | ||
4228 | ||
4229 | ||
4230 | ||
4231 | typedef int int_fast16_t; | |
4232 | typedef int int_fast32_t; | |
4233 | __extension__ | |
4234 | typedef long long int int_fast64_t; | |
4235 | ||
4236 | ||
4237 | ||
4238 | typedef unsigned char uint_fast8_t; | |
4239 | ||
4240 | ||
4241 | ||
4242 | ||
4243 | ||
4244 | typedef unsigned int uint_fast16_t; | |
4245 | typedef unsigned int uint_fast32_t; | |
4246 | __extension__ | |
4247 | typedef unsigned long long int uint_fast64_t; | |
4248 | # 126 "/usr/include/stdint.h" 3 4 | |
4249 | typedef int intptr_t; | |
4250 | ||
4251 | ||
4252 | typedef unsigned int uintptr_t; | |
4253 | # 138 "/usr/include/stdint.h" 3 4 | |
4254 | __extension__ | |
4255 | typedef long long int intmax_t; | |
4256 | __extension__ | |
4257 | typedef unsigned long long int uintmax_t; | |
4258 | # 29 "/usr/include/inttypes.h" 2 3 4 | |
4259 | ||
4260 | ||
4261 | ||
4262 | ||
4263 | ||
4264 | ||
4265 | typedef long int __gwchar_t; | |
4266 | # 274 "/usr/include/inttypes.h" 3 4 | |
4267 | # 288 "/usr/include/inttypes.h" 3 4 | |
4268 | typedef struct | |
4269 | { | |
4270 | long long int quot; | |
4271 | long long int rem; | |
4272 | } imaxdiv_t; | |
4273 | ||
4274 | ||
4275 | ||
4276 | ||
4277 | ||
4278 | extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
4279 | ||
4280 | ||
4281 | extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) | |
4282 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
4283 | ||
4284 | ||
4285 | extern intmax_t strtoimax (__const char *__restrict __nptr, | |
4286 | char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); | |
4287 | ||
4288 | ||
4289 | extern uintmax_t strtoumax (__const char *__restrict __nptr, | |
4290 | char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); | |
4291 | ||
4292 | ||
4293 | extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, | |
4294 | __gwchar_t **__restrict __endptr, int __base) | |
4295 | __attribute__ ((__nothrow__)); | |
4296 | ||
4297 | ||
4298 | extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, | |
4299 | __gwchar_t ** __restrict __endptr, int __base) | |
4300 | __attribute__ ((__nothrow__)); | |
4301 | # 396 "/usr/include/inttypes.h" 3 4 | |
4302 | extern __inline intmax_t | |
4303 | __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) | |
4304 | ||
4305 | { | |
4306 | return __strtoll_internal (nptr, endptr, base, 0); | |
4307 | } | |
4308 | # 414 "/usr/include/inttypes.h" 3 4 | |
4309 | extern __inline uintmax_t | |
4310 | __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) | |
4311 | ||
4312 | { | |
4313 | return __strtoull_internal (nptr, endptr, base, 0); | |
4314 | } | |
4315 | ||
4316 | ||
4317 | ||
4318 | __extension__ | |
4319 | extern long long int __wcstoll_internal (__const __gwchar_t * | |
4320 | __restrict __nptr, | |
4321 | __gwchar_t **__restrict __endptr, | |
4322 | int __base, int __group) __attribute__ ((__nothrow__)); | |
4323 | ||
4324 | ||
4325 | extern __inline intmax_t | |
4326 | __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) | |
4327 | ||
4328 | { | |
4329 | return __wcstoll_internal (nptr, endptr, base, 0); | |
4330 | } | |
4331 | ||
4332 | ||
4333 | ||
4334 | ||
4335 | __extension__ | |
4336 | extern unsigned long long int __wcstoull_internal (__const __gwchar_t * | |
4337 | __restrict __nptr, | |
4338 | __gwchar_t ** | |
4339 | __restrict __endptr, | |
4340 | int __base, | |
4341 | int __group) __attribute__ ((__nothrow__)); | |
4342 | ||
4343 | ||
4344 | extern __inline uintmax_t | |
4345 | __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) | |
4346 | ||
4347 | { | |
4348 | return __wcstoull_internal (nptr, endptr, base, 0); | |
4349 | } | |
4350 | # 82 "glheader.h" 2 | |
4351 | # 144 "glheader.h" | |
4352 | ||
4353 | # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 1 | |
4354 | # 147 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
4355 | typedef unsigned int GLenum; | |
4356 | typedef unsigned char GLboolean; | |
4357 | typedef unsigned int GLbitfield; | |
4358 | typedef void GLvoid; | |
4359 | typedef signed char GLbyte; | |
4360 | typedef short GLshort; | |
4361 | typedef int GLint; | |
4362 | typedef unsigned char GLubyte; | |
4363 | typedef unsigned short GLushort; | |
4364 | typedef unsigned int GLuint; | |
4365 | typedef int GLsizei; | |
4366 | typedef float GLfloat; | |
4367 | typedef float GLclampf; | |
4368 | typedef double GLdouble; | |
4369 | typedef double GLclampd; | |
4370 | # 774 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
4371 | __attribute__((visibility("default"))) void glClearIndex( GLfloat c ); | |
4372 | ||
4373 | __attribute__((visibility("default"))) void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); | |
4374 | ||
4375 | __attribute__((visibility("default"))) void glClear( GLbitfield mask ); | |
4376 | ||
4377 | __attribute__((visibility("default"))) void glIndexMask( GLuint mask ); | |
4378 | ||
4379 | __attribute__((visibility("default"))) void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); | |
4380 | ||
4381 | __attribute__((visibility("default"))) void glAlphaFunc( GLenum func, GLclampf ref ); | |
4382 | ||
4383 | __attribute__((visibility("default"))) void glBlendFunc( GLenum sfactor, GLenum dfactor ); | |
4384 | ||
4385 | __attribute__((visibility("default"))) void glLogicOp( GLenum opcode ); | |
4386 | ||
4387 | __attribute__((visibility("default"))) void glCullFace( GLenum mode ); | |
4388 | ||
4389 | __attribute__((visibility("default"))) void glFrontFace( GLenum mode ); | |
4390 | ||
4391 | __attribute__((visibility("default"))) void glPointSize( GLfloat size ); | |
4392 | ||
4393 | __attribute__((visibility("default"))) void glLineWidth( GLfloat width ); | |
4394 | ||
4395 | __attribute__((visibility("default"))) void glLineStipple( GLint factor, GLushort pattern ); | |
4396 | ||
4397 | __attribute__((visibility("default"))) void glPolygonMode( GLenum face, GLenum mode ); | |
4398 | ||
4399 | __attribute__((visibility("default"))) void glPolygonOffset( GLfloat factor, GLfloat units ); | |
4400 | ||
4401 | __attribute__((visibility("default"))) void glPolygonStipple( const GLubyte *mask ); | |
4402 | ||
4403 | __attribute__((visibility("default"))) void glGetPolygonStipple( GLubyte *mask ); | |
4404 | ||
4405 | __attribute__((visibility("default"))) void glEdgeFlag( GLboolean flag ); | |
4406 | ||
4407 | __attribute__((visibility("default"))) void glEdgeFlagv( const GLboolean *flag ); | |
4408 | ||
4409 | __attribute__((visibility("default"))) void glScissor( GLint x, GLint y, GLsizei width, GLsizei height); | |
4410 | ||
4411 | __attribute__((visibility("default"))) void glClipPlane( GLenum plane, const GLdouble *equation ); | |
4412 | ||
4413 | __attribute__((visibility("default"))) void glGetClipPlane( GLenum plane, GLdouble *equation ); | |
4414 | ||
4415 | __attribute__((visibility("default"))) void glDrawBuffer( GLenum mode ); | |
4416 | ||
4417 | __attribute__((visibility("default"))) void glReadBuffer( GLenum mode ); | |
4418 | ||
4419 | __attribute__((visibility("default"))) void glEnable( GLenum cap ); | |
4420 | ||
4421 | __attribute__((visibility("default"))) void glDisable( GLenum cap ); | |
4422 | ||
4423 | __attribute__((visibility("default"))) GLboolean glIsEnabled( GLenum cap ); | |
4424 | ||
4425 | ||
4426 | __attribute__((visibility("default"))) void glEnableClientState( GLenum cap ); | |
4427 | ||
4428 | __attribute__((visibility("default"))) void glDisableClientState( GLenum cap ); | |
4429 | ||
4430 | ||
4431 | __attribute__((visibility("default"))) void glGetBooleanv( GLenum pname, GLboolean *params ); | |
4432 | ||
4433 | __attribute__((visibility("default"))) void glGetDoublev( GLenum pname, GLdouble *params ); | |
4434 | ||
4435 | __attribute__((visibility("default"))) void glGetFloatv( GLenum pname, GLfloat *params ); | |
4436 | ||
4437 | __attribute__((visibility("default"))) void glGetIntegerv( GLenum pname, GLint *params ); | |
4438 | ||
4439 | ||
4440 | __attribute__((visibility("default"))) void glPushAttrib( GLbitfield mask ); | |
4441 | ||
4442 | __attribute__((visibility("default"))) void glPopAttrib( void ); | |
4443 | ||
4444 | ||
4445 | __attribute__((visibility("default"))) void glPushClientAttrib( GLbitfield mask ); | |
4446 | ||
4447 | __attribute__((visibility("default"))) void glPopClientAttrib( void ); | |
4448 | ||
4449 | ||
4450 | __attribute__((visibility("default"))) GLint glRenderMode( GLenum mode ); | |
4451 | ||
4452 | __attribute__((visibility("default"))) GLenum glGetError( void ); | |
4453 | ||
4454 | __attribute__((visibility("default"))) const GLubyte * glGetString( GLenum name ); | |
4455 | ||
4456 | __attribute__((visibility("default"))) void glFinish( void ); | |
4457 | ||
4458 | __attribute__((visibility("default"))) void glFlush( void ); | |
4459 | ||
4460 | __attribute__((visibility("default"))) void glHint( GLenum target, GLenum mode ); | |
4461 | ||
4462 | ||
4463 | ||
4464 | ||
4465 | ||
4466 | ||
4467 | __attribute__((visibility("default"))) void glClearDepth( GLclampd depth ); | |
4468 | ||
4469 | __attribute__((visibility("default"))) void glDepthFunc( GLenum func ); | |
4470 | ||
4471 | __attribute__((visibility("default"))) void glDepthMask( GLboolean flag ); | |
4472 | ||
4473 | __attribute__((visibility("default"))) void glDepthRange( GLclampd near_val, GLclampd far_val ); | |
4474 | ||
4475 | ||
4476 | ||
4477 | ||
4478 | ||
4479 | ||
4480 | __attribute__((visibility("default"))) void glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); | |
4481 | ||
4482 | __attribute__((visibility("default"))) void glAccum( GLenum op, GLfloat value ); | |
4483 | ||
4484 | ||
4485 | ||
4486 | ||
4487 | ||
4488 | ||
4489 | __attribute__((visibility("default"))) void glMatrixMode( GLenum mode ); | |
4490 | ||
4491 | __attribute__((visibility("default"))) void glOrtho( GLdouble left, GLdouble right, | |
4492 | GLdouble bottom, GLdouble top, | |
4493 | GLdouble near_val, GLdouble far_val ); | |
4494 | ||
4495 | __attribute__((visibility("default"))) void glFrustum( GLdouble left, GLdouble right, | |
4496 | GLdouble bottom, GLdouble top, | |
4497 | GLdouble near_val, GLdouble far_val ); | |
4498 | ||
4499 | __attribute__((visibility("default"))) void glViewport( GLint x, GLint y, | |
4500 | GLsizei width, GLsizei height ); | |
4501 | ||
4502 | __attribute__((visibility("default"))) void glPushMatrix( void ); | |
4503 | ||
4504 | __attribute__((visibility("default"))) void glPopMatrix( void ); | |
4505 | ||
4506 | __attribute__((visibility("default"))) void glLoadIdentity( void ); | |
4507 | ||
4508 | __attribute__((visibility("default"))) void glLoadMatrixd( const GLdouble *m ); | |
4509 | __attribute__((visibility("default"))) void glLoadMatrixf( const GLfloat *m ); | |
4510 | ||
4511 | __attribute__((visibility("default"))) void glMultMatrixd( const GLdouble *m ); | |
4512 | __attribute__((visibility("default"))) void glMultMatrixf( const GLfloat *m ); | |
4513 | ||
4514 | __attribute__((visibility("default"))) void glRotated( GLdouble angle, | |
4515 | GLdouble x, GLdouble y, GLdouble z ); | |
4516 | __attribute__((visibility("default"))) void glRotatef( GLfloat angle, | |
4517 | GLfloat x, GLfloat y, GLfloat z ); | |
4518 | ||
4519 | __attribute__((visibility("default"))) void glScaled( GLdouble x, GLdouble y, GLdouble z ); | |
4520 | __attribute__((visibility("default"))) void glScalef( GLfloat x, GLfloat y, GLfloat z ); | |
4521 | ||
4522 | __attribute__((visibility("default"))) void glTranslated( GLdouble x, GLdouble y, GLdouble z ); | |
4523 | __attribute__((visibility("default"))) void glTranslatef( GLfloat x, GLfloat y, GLfloat z ); | |
4524 | ||
4525 | ||
4526 | ||
4527 | ||
4528 | ||
4529 | ||
4530 | __attribute__((visibility("default"))) GLboolean glIsList( GLuint list ); | |
4531 | ||
4532 | __attribute__((visibility("default"))) void glDeleteLists( GLuint list, GLsizei range ); | |
4533 | ||
4534 | __attribute__((visibility("default"))) GLuint glGenLists( GLsizei range ); | |
4535 | ||
4536 | __attribute__((visibility("default"))) void glNewList( GLuint list, GLenum mode ); | |
4537 | ||
4538 | __attribute__((visibility("default"))) void glEndList( void ); | |
4539 | ||
4540 | __attribute__((visibility("default"))) void glCallList( GLuint list ); | |
4541 | ||
4542 | __attribute__((visibility("default"))) void glCallLists( GLsizei n, GLenum type, | |
4543 | const GLvoid *lists ); | |
4544 | ||
4545 | __attribute__((visibility("default"))) void glListBase( GLuint base ); | |
4546 | ||
4547 | ||
4548 | ||
4549 | ||
4550 | ||
4551 | ||
4552 | __attribute__((visibility("default"))) void glBegin( GLenum mode ); | |
4553 | ||
4554 | __attribute__((visibility("default"))) void glEnd( void ); | |
4555 | ||
4556 | ||
4557 | __attribute__((visibility("default"))) void glVertex2d( GLdouble x, GLdouble y ); | |
4558 | __attribute__((visibility("default"))) void glVertex2f( GLfloat x, GLfloat y ); | |
4559 | __attribute__((visibility("default"))) void glVertex2i( GLint x, GLint y ); | |
4560 | __attribute__((visibility("default"))) void glVertex2s( GLshort x, GLshort y ); | |
4561 | ||
4562 | __attribute__((visibility("default"))) void glVertex3d( GLdouble x, GLdouble y, GLdouble z ); | |
4563 | __attribute__((visibility("default"))) void glVertex3f( GLfloat x, GLfloat y, GLfloat z ); | |
4564 | __attribute__((visibility("default"))) void glVertex3i( GLint x, GLint y, GLint z ); | |
4565 | __attribute__((visibility("default"))) void glVertex3s( GLshort x, GLshort y, GLshort z ); | |
4566 | ||
4567 | __attribute__((visibility("default"))) void glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); | |
4568 | __attribute__((visibility("default"))) void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); | |
4569 | __attribute__((visibility("default"))) void glVertex4i( GLint x, GLint y, GLint z, GLint w ); | |
4570 | __attribute__((visibility("default"))) void glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); | |
4571 | ||
4572 | __attribute__((visibility("default"))) void glVertex2dv( const GLdouble *v ); | |
4573 | __attribute__((visibility("default"))) void glVertex2fv( const GLfloat *v ); | |
4574 | __attribute__((visibility("default"))) void glVertex2iv( const GLint *v ); | |
4575 | __attribute__((visibility("default"))) void glVertex2sv( const GLshort *v ); | |
4576 | ||
4577 | __attribute__((visibility("default"))) void glVertex3dv( const GLdouble *v ); | |
4578 | __attribute__((visibility("default"))) void glVertex3fv( const GLfloat *v ); | |
4579 | __attribute__((visibility("default"))) void glVertex3iv( const GLint *v ); | |
4580 | __attribute__((visibility("default"))) void glVertex3sv( const GLshort *v ); | |
4581 | ||
4582 | __attribute__((visibility("default"))) void glVertex4dv( const GLdouble *v ); | |
4583 | __attribute__((visibility("default"))) void glVertex4fv( const GLfloat *v ); | |
4584 | __attribute__((visibility("default"))) void glVertex4iv( const GLint *v ); | |
4585 | __attribute__((visibility("default"))) void glVertex4sv( const GLshort *v ); | |
4586 | ||
4587 | ||
4588 | __attribute__((visibility("default"))) void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); | |
4589 | __attribute__((visibility("default"))) void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); | |
4590 | __attribute__((visibility("default"))) void glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); | |
4591 | __attribute__((visibility("default"))) void glNormal3i( GLint nx, GLint ny, GLint nz ); | |
4592 | __attribute__((visibility("default"))) void glNormal3s( GLshort nx, GLshort ny, GLshort nz ); | |
4593 | ||
4594 | __attribute__((visibility("default"))) void glNormal3bv( const GLbyte *v ); | |
4595 | __attribute__((visibility("default"))) void glNormal3dv( const GLdouble *v ); | |
4596 | __attribute__((visibility("default"))) void glNormal3fv( const GLfloat *v ); | |
4597 | __attribute__((visibility("default"))) void glNormal3iv( const GLint *v ); | |
4598 | __attribute__((visibility("default"))) void glNormal3sv( const GLshort *v ); | |
4599 | ||
4600 | ||
4601 | __attribute__((visibility("default"))) void glIndexd( GLdouble c ); | |
4602 | __attribute__((visibility("default"))) void glIndexf( GLfloat c ); | |
4603 | __attribute__((visibility("default"))) void glIndexi( GLint c ); | |
4604 | __attribute__((visibility("default"))) void glIndexs( GLshort c ); | |
4605 | __attribute__((visibility("default"))) void glIndexub( GLubyte c ); | |
4606 | ||
4607 | __attribute__((visibility("default"))) void glIndexdv( const GLdouble *c ); | |
4608 | __attribute__((visibility("default"))) void glIndexfv( const GLfloat *c ); | |
4609 | __attribute__((visibility("default"))) void glIndexiv( const GLint *c ); | |
4610 | __attribute__((visibility("default"))) void glIndexsv( const GLshort *c ); | |
4611 | __attribute__((visibility("default"))) void glIndexubv( const GLubyte *c ); | |
4612 | ||
4613 | __attribute__((visibility("default"))) void glColor3b( GLbyte red, GLbyte green, GLbyte blue ); | |
4614 | __attribute__((visibility("default"))) void glColor3d( GLdouble red, GLdouble green, GLdouble blue ); | |
4615 | __attribute__((visibility("default"))) void glColor3f( GLfloat red, GLfloat green, GLfloat blue ); | |
4616 | __attribute__((visibility("default"))) void glColor3i( GLint red, GLint green, GLint blue ); | |
4617 | __attribute__((visibility("default"))) void glColor3s( GLshort red, GLshort green, GLshort blue ); | |
4618 | __attribute__((visibility("default"))) void glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); | |
4619 | __attribute__((visibility("default"))) void glColor3ui( GLuint red, GLuint green, GLuint blue ); | |
4620 | __attribute__((visibility("default"))) void glColor3us( GLushort red, GLushort green, GLushort blue ); | |
4621 | ||
4622 | __attribute__((visibility("default"))) void glColor4b( GLbyte red, GLbyte green, | |
4623 | GLbyte blue, GLbyte alpha ); | |
4624 | __attribute__((visibility("default"))) void glColor4d( GLdouble red, GLdouble green, | |
4625 | GLdouble blue, GLdouble alpha ); | |
4626 | __attribute__((visibility("default"))) void glColor4f( GLfloat red, GLfloat green, | |
4627 | GLfloat blue, GLfloat alpha ); | |
4628 | __attribute__((visibility("default"))) void glColor4i( GLint red, GLint green, | |
4629 | GLint blue, GLint alpha ); | |
4630 | __attribute__((visibility("default"))) void glColor4s( GLshort red, GLshort green, | |
4631 | GLshort blue, GLshort alpha ); | |
4632 | __attribute__((visibility("default"))) void glColor4ub( GLubyte red, GLubyte green, | |
4633 | GLubyte blue, GLubyte alpha ); | |
4634 | __attribute__((visibility("default"))) void glColor4ui( GLuint red, GLuint green, | |
4635 | GLuint blue, GLuint alpha ); | |
4636 | __attribute__((visibility("default"))) void glColor4us( GLushort red, GLushort green, | |
4637 | GLushort blue, GLushort alpha ); | |
4638 | ||
4639 | ||
4640 | __attribute__((visibility("default"))) void glColor3bv( const GLbyte *v ); | |
4641 | __attribute__((visibility("default"))) void glColor3dv( const GLdouble *v ); | |
4642 | __attribute__((visibility("default"))) void glColor3fv( const GLfloat *v ); | |
4643 | __attribute__((visibility("default"))) void glColor3iv( const GLint *v ); | |
4644 | __attribute__((visibility("default"))) void glColor3sv( const GLshort *v ); | |
4645 | __attribute__((visibility("default"))) void glColor3ubv( const GLubyte *v ); | |
4646 | __attribute__((visibility("default"))) void glColor3uiv( const GLuint *v ); | |
4647 | __attribute__((visibility("default"))) void glColor3usv( const GLushort *v ); | |
4648 | ||
4649 | __attribute__((visibility("default"))) void glColor4bv( const GLbyte *v ); | |
4650 | __attribute__((visibility("default"))) void glColor4dv( const GLdouble *v ); | |
4651 | __attribute__((visibility("default"))) void glColor4fv( const GLfloat *v ); | |
4652 | __attribute__((visibility("default"))) void glColor4iv( const GLint *v ); | |
4653 | __attribute__((visibility("default"))) void glColor4sv( const GLshort *v ); | |
4654 | __attribute__((visibility("default"))) void glColor4ubv( const GLubyte *v ); | |
4655 | __attribute__((visibility("default"))) void glColor4uiv( const GLuint *v ); | |
4656 | __attribute__((visibility("default"))) void glColor4usv( const GLushort *v ); | |
4657 | ||
4658 | ||
4659 | __attribute__((visibility("default"))) void glTexCoord1d( GLdouble s ); | |
4660 | __attribute__((visibility("default"))) void glTexCoord1f( GLfloat s ); | |
4661 | __attribute__((visibility("default"))) void glTexCoord1i( GLint s ); | |
4662 | __attribute__((visibility("default"))) void glTexCoord1s( GLshort s ); | |
4663 | ||
4664 | __attribute__((visibility("default"))) void glTexCoord2d( GLdouble s, GLdouble t ); | |
4665 | __attribute__((visibility("default"))) void glTexCoord2f( GLfloat s, GLfloat t ); | |
4666 | __attribute__((visibility("default"))) void glTexCoord2i( GLint s, GLint t ); | |
4667 | __attribute__((visibility("default"))) void glTexCoord2s( GLshort s, GLshort t ); | |
4668 | ||
4669 | __attribute__((visibility("default"))) void glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); | |
4670 | __attribute__((visibility("default"))) void glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); | |
4671 | __attribute__((visibility("default"))) void glTexCoord3i( GLint s, GLint t, GLint r ); | |
4672 | __attribute__((visibility("default"))) void glTexCoord3s( GLshort s, GLshort t, GLshort r ); | |
4673 | ||
4674 | __attribute__((visibility("default"))) void glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); | |
4675 | __attribute__((visibility("default"))) void glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); | |
4676 | __attribute__((visibility("default"))) void glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); | |
4677 | __attribute__((visibility("default"))) void glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); | |
4678 | ||
4679 | __attribute__((visibility("default"))) void glTexCoord1dv( const GLdouble *v ); | |
4680 | __attribute__((visibility("default"))) void glTexCoord1fv( const GLfloat *v ); | |
4681 | __attribute__((visibility("default"))) void glTexCoord1iv( const GLint *v ); | |
4682 | __attribute__((visibility("default"))) void glTexCoord1sv( const GLshort *v ); | |
4683 | ||
4684 | __attribute__((visibility("default"))) void glTexCoord2dv( const GLdouble *v ); | |
4685 | __attribute__((visibility("default"))) void glTexCoord2fv( const GLfloat *v ); | |
4686 | __attribute__((visibility("default"))) void glTexCoord2iv( const GLint *v ); | |
4687 | __attribute__((visibility("default"))) void glTexCoord2sv( const GLshort *v ); | |
4688 | ||
4689 | __attribute__((visibility("default"))) void glTexCoord3dv( const GLdouble *v ); | |
4690 | __attribute__((visibility("default"))) void glTexCoord3fv( const GLfloat *v ); | |
4691 | __attribute__((visibility("default"))) void glTexCoord3iv( const GLint *v ); | |
4692 | __attribute__((visibility("default"))) void glTexCoord3sv( const GLshort *v ); | |
4693 | ||
4694 | __attribute__((visibility("default"))) void glTexCoord4dv( const GLdouble *v ); | |
4695 | __attribute__((visibility("default"))) void glTexCoord4fv( const GLfloat *v ); | |
4696 | __attribute__((visibility("default"))) void glTexCoord4iv( const GLint *v ); | |
4697 | __attribute__((visibility("default"))) void glTexCoord4sv( const GLshort *v ); | |
4698 | ||
4699 | ||
4700 | __attribute__((visibility("default"))) void glRasterPos2d( GLdouble x, GLdouble y ); | |
4701 | __attribute__((visibility("default"))) void glRasterPos2f( GLfloat x, GLfloat y ); | |
4702 | __attribute__((visibility("default"))) void glRasterPos2i( GLint x, GLint y ); | |
4703 | __attribute__((visibility("default"))) void glRasterPos2s( GLshort x, GLshort y ); | |
4704 | ||
4705 | __attribute__((visibility("default"))) void glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); | |
4706 | __attribute__((visibility("default"))) void glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); | |
4707 | __attribute__((visibility("default"))) void glRasterPos3i( GLint x, GLint y, GLint z ); | |
4708 | __attribute__((visibility("default"))) void glRasterPos3s( GLshort x, GLshort y, GLshort z ); | |
4709 | ||
4710 | __attribute__((visibility("default"))) void glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); | |
4711 | __attribute__((visibility("default"))) void glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); | |
4712 | __attribute__((visibility("default"))) void glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); | |
4713 | __attribute__((visibility("default"))) void glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); | |
4714 | ||
4715 | __attribute__((visibility("default"))) void glRasterPos2dv( const GLdouble *v ); | |
4716 | __attribute__((visibility("default"))) void glRasterPos2fv( const GLfloat *v ); | |
4717 | __attribute__((visibility("default"))) void glRasterPos2iv( const GLint *v ); | |
4718 | __attribute__((visibility("default"))) void glRasterPos2sv( const GLshort *v ); | |
4719 | ||
4720 | __attribute__((visibility("default"))) void glRasterPos3dv( const GLdouble *v ); | |
4721 | __attribute__((visibility("default"))) void glRasterPos3fv( const GLfloat *v ); | |
4722 | __attribute__((visibility("default"))) void glRasterPos3iv( const GLint *v ); | |
4723 | __attribute__((visibility("default"))) void glRasterPos3sv( const GLshort *v ); | |
4724 | ||
4725 | __attribute__((visibility("default"))) void glRasterPos4dv( const GLdouble *v ); | |
4726 | __attribute__((visibility("default"))) void glRasterPos4fv( const GLfloat *v ); | |
4727 | __attribute__((visibility("default"))) void glRasterPos4iv( const GLint *v ); | |
4728 | __attribute__((visibility("default"))) void glRasterPos4sv( const GLshort *v ); | |
4729 | ||
4730 | ||
4731 | __attribute__((visibility("default"))) void glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); | |
4732 | __attribute__((visibility("default"))) void glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); | |
4733 | __attribute__((visibility("default"))) void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); | |
4734 | __attribute__((visibility("default"))) void glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); | |
4735 | ||
4736 | ||
4737 | __attribute__((visibility("default"))) void glRectdv( const GLdouble *v1, const GLdouble *v2 ); | |
4738 | __attribute__((visibility("default"))) void glRectfv( const GLfloat *v1, const GLfloat *v2 ); | |
4739 | __attribute__((visibility("default"))) void glRectiv( const GLint *v1, const GLint *v2 ); | |
4740 | __attribute__((visibility("default"))) void glRectsv( const GLshort *v1, const GLshort *v2 ); | |
4741 | ||
4742 | ||
4743 | ||
4744 | ||
4745 | ||
4746 | ||
4747 | __attribute__((visibility("default"))) void glVertexPointer( GLint size, GLenum type, | |
4748 | GLsizei stride, const GLvoid *ptr ); | |
4749 | ||
4750 | __attribute__((visibility("default"))) void glNormalPointer( GLenum type, GLsizei stride, | |
4751 | const GLvoid *ptr ); | |
4752 | ||
4753 | __attribute__((visibility("default"))) void glColorPointer( GLint size, GLenum type, | |
4754 | GLsizei stride, const GLvoid *ptr ); | |
4755 | ||
4756 | __attribute__((visibility("default"))) void glIndexPointer( GLenum type, GLsizei stride, | |
4757 | const GLvoid *ptr ); | |
4758 | ||
4759 | __attribute__((visibility("default"))) void glTexCoordPointer( GLint size, GLenum type, | |
4760 | GLsizei stride, const GLvoid *ptr ); | |
4761 | ||
4762 | __attribute__((visibility("default"))) void glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); | |
4763 | ||
4764 | __attribute__((visibility("default"))) void glGetPointerv( GLenum pname, GLvoid **params ); | |
4765 | ||
4766 | __attribute__((visibility("default"))) void glArrayElement( GLint i ); | |
4767 | ||
4768 | __attribute__((visibility("default"))) void glDrawArrays( GLenum mode, GLint first, GLsizei count ); | |
4769 | ||
4770 | __attribute__((visibility("default"))) void glDrawElements( GLenum mode, GLsizei count, | |
4771 | GLenum type, const GLvoid *indices ); | |
4772 | ||
4773 | __attribute__((visibility("default"))) void glInterleavedArrays( GLenum format, GLsizei stride, | |
4774 | const GLvoid *pointer ); | |
4775 | ||
4776 | ||
4777 | ||
4778 | ||
4779 | ||
4780 | __attribute__((visibility("default"))) void glShadeModel( GLenum mode ); | |
4781 | ||
4782 | __attribute__((visibility("default"))) void glLightf( GLenum light, GLenum pname, GLfloat param ); | |
4783 | __attribute__((visibility("default"))) void glLighti( GLenum light, GLenum pname, GLint param ); | |
4784 | __attribute__((visibility("default"))) void glLightfv( GLenum light, GLenum pname, | |
4785 | const GLfloat *params ); | |
4786 | __attribute__((visibility("default"))) void glLightiv( GLenum light, GLenum pname, | |
4787 | const GLint *params ); | |
4788 | ||
4789 | __attribute__((visibility("default"))) void glGetLightfv( GLenum light, GLenum pname, | |
4790 | GLfloat *params ); | |
4791 | __attribute__((visibility("default"))) void glGetLightiv( GLenum light, GLenum pname, | |
4792 | GLint *params ); | |
4793 | ||
4794 | __attribute__((visibility("default"))) void glLightModelf( GLenum pname, GLfloat param ); | |
4795 | __attribute__((visibility("default"))) void glLightModeli( GLenum pname, GLint param ); | |
4796 | __attribute__((visibility("default"))) void glLightModelfv( GLenum pname, const GLfloat *params ); | |
4797 | __attribute__((visibility("default"))) void glLightModeliv( GLenum pname, const GLint *params ); | |
4798 | ||
4799 | __attribute__((visibility("default"))) void glMaterialf( GLenum face, GLenum pname, GLfloat param ); | |
4800 | __attribute__((visibility("default"))) void glMateriali( GLenum face, GLenum pname, GLint param ); | |
4801 | __attribute__((visibility("default"))) void glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); | |
4802 | __attribute__((visibility("default"))) void glMaterialiv( GLenum face, GLenum pname, const GLint *params ); | |
4803 | ||
4804 | __attribute__((visibility("default"))) void glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); | |
4805 | __attribute__((visibility("default"))) void glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); | |
4806 | ||
4807 | __attribute__((visibility("default"))) void glColorMaterial( GLenum face, GLenum mode ); | |
4808 | ||
4809 | ||
4810 | ||
4811 | ||
4812 | ||
4813 | ||
4814 | __attribute__((visibility("default"))) void glPixelZoom( GLfloat xfactor, GLfloat yfactor ); | |
4815 | ||
4816 | __attribute__((visibility("default"))) void glPixelStoref( GLenum pname, GLfloat param ); | |
4817 | __attribute__((visibility("default"))) void glPixelStorei( GLenum pname, GLint param ); | |
4818 | ||
4819 | __attribute__((visibility("default"))) void glPixelTransferf( GLenum pname, GLfloat param ); | |
4820 | __attribute__((visibility("default"))) void glPixelTransferi( GLenum pname, GLint param ); | |
4821 | ||
4822 | __attribute__((visibility("default"))) void glPixelMapfv( GLenum map, GLsizei mapsize, | |
4823 | const GLfloat *values ); | |
4824 | __attribute__((visibility("default"))) void glPixelMapuiv( GLenum map, GLsizei mapsize, | |
4825 | const GLuint *values ); | |
4826 | __attribute__((visibility("default"))) void glPixelMapusv( GLenum map, GLsizei mapsize, | |
4827 | const GLushort *values ); | |
4828 | ||
4829 | __attribute__((visibility("default"))) void glGetPixelMapfv( GLenum map, GLfloat *values ); | |
4830 | __attribute__((visibility("default"))) void glGetPixelMapuiv( GLenum map, GLuint *values ); | |
4831 | __attribute__((visibility("default"))) void glGetPixelMapusv( GLenum map, GLushort *values ); | |
4832 | ||
4833 | __attribute__((visibility("default"))) void glBitmap( GLsizei width, GLsizei height, | |
4834 | GLfloat xorig, GLfloat yorig, | |
4835 | GLfloat xmove, GLfloat ymove, | |
4836 | const GLubyte *bitmap ); | |
4837 | ||
4838 | __attribute__((visibility("default"))) void glReadPixels( GLint x, GLint y, | |
4839 | GLsizei width, GLsizei height, | |
4840 | GLenum format, GLenum type, | |
4841 | GLvoid *pixels ); | |
4842 | ||
4843 | __attribute__((visibility("default"))) void glDrawPixels( GLsizei width, GLsizei height, | |
4844 | GLenum format, GLenum type, | |
4845 | const GLvoid *pixels ); | |
4846 | ||
4847 | __attribute__((visibility("default"))) void glCopyPixels( GLint x, GLint y, | |
4848 | GLsizei width, GLsizei height, | |
4849 | GLenum type ); | |
4850 | ||
4851 | ||
4852 | ||
4853 | ||
4854 | ||
4855 | __attribute__((visibility("default"))) void glStencilFunc( GLenum func, GLint ref, GLuint mask ); | |
4856 | ||
4857 | __attribute__((visibility("default"))) void glStencilMask( GLuint mask ); | |
4858 | ||
4859 | __attribute__((visibility("default"))) void glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); | |
4860 | ||
4861 | __attribute__((visibility("default"))) void glClearStencil( GLint s ); | |
4862 | ||
4863 | ||
4864 | ||
4865 | ||
4866 | ||
4867 | ||
4868 | ||
4869 | __attribute__((visibility("default"))) void glTexGend( GLenum coord, GLenum pname, GLdouble param ); | |
4870 | __attribute__((visibility("default"))) void glTexGenf( GLenum coord, GLenum pname, GLfloat param ); | |
4871 | __attribute__((visibility("default"))) void glTexGeni( GLenum coord, GLenum pname, GLint param ); | |
4872 | ||
4873 | __attribute__((visibility("default"))) void glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); | |
4874 | __attribute__((visibility("default"))) void glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); | |
4875 | __attribute__((visibility("default"))) void glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); | |
4876 | ||
4877 | __attribute__((visibility("default"))) void glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); | |
4878 | __attribute__((visibility("default"))) void glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); | |
4879 | __attribute__((visibility("default"))) void glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); | |
4880 | ||
4881 | ||
4882 | __attribute__((visibility("default"))) void glTexEnvf( GLenum target, GLenum pname, GLfloat param ); | |
4883 | __attribute__((visibility("default"))) void glTexEnvi( GLenum target, GLenum pname, GLint param ); | |
4884 | ||
4885 | __attribute__((visibility("default"))) void glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); | |
4886 | __attribute__((visibility("default"))) void glTexEnviv( GLenum target, GLenum pname, const GLint *params ); | |
4887 | ||
4888 | __attribute__((visibility("default"))) void glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); | |
4889 | __attribute__((visibility("default"))) void glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); | |
4890 | ||
4891 | ||
4892 | __attribute__((visibility("default"))) void glTexParameterf( GLenum target, GLenum pname, GLfloat param ); | |
4893 | __attribute__((visibility("default"))) void glTexParameteri( GLenum target, GLenum pname, GLint param ); | |
4894 | ||
4895 | __attribute__((visibility("default"))) void glTexParameterfv( GLenum target, GLenum pname, | |
4896 | const GLfloat *params ); | |
4897 | __attribute__((visibility("default"))) void glTexParameteriv( GLenum target, GLenum pname, | |
4898 | const GLint *params ); | |
4899 | ||
4900 | __attribute__((visibility("default"))) void glGetTexParameterfv( GLenum target, | |
4901 | GLenum pname, GLfloat *params); | |
4902 | __attribute__((visibility("default"))) void glGetTexParameteriv( GLenum target, | |
4903 | GLenum pname, GLint *params ); | |
4904 | ||
4905 | __attribute__((visibility("default"))) void glGetTexLevelParameterfv( GLenum target, GLint level, | |
4906 | GLenum pname, GLfloat *params ); | |
4907 | __attribute__((visibility("default"))) void glGetTexLevelParameteriv( GLenum target, GLint level, | |
4908 | GLenum pname, GLint *params ); | |
4909 | ||
4910 | ||
4911 | __attribute__((visibility("default"))) void glTexImage1D( GLenum target, GLint level, | |
4912 | GLint internalFormat, | |
4913 | GLsizei width, GLint border, | |
4914 | GLenum format, GLenum type, | |
4915 | const GLvoid *pixels ); | |
4916 | ||
4917 | __attribute__((visibility("default"))) void glTexImage2D( GLenum target, GLint level, | |
4918 | GLint internalFormat, | |
4919 | GLsizei width, GLsizei height, | |
4920 | GLint border, GLenum format, GLenum type, | |
4921 | const GLvoid *pixels ); | |
4922 | ||
4923 | __attribute__((visibility("default"))) void glGetTexImage( GLenum target, GLint level, | |
4924 | GLenum format, GLenum type, | |
4925 | GLvoid *pixels ); | |
4926 | ||
4927 | ||
4928 | ||
4929 | ||
4930 | __attribute__((visibility("default"))) void glGenTextures( GLsizei n, GLuint *textures ); | |
4931 | ||
4932 | __attribute__((visibility("default"))) void glDeleteTextures( GLsizei n, const GLuint *textures); | |
4933 | ||
4934 | __attribute__((visibility("default"))) void glBindTexture( GLenum target, GLuint texture ); | |
4935 | ||
4936 | __attribute__((visibility("default"))) void glPrioritizeTextures( GLsizei n, | |
4937 | const GLuint *textures, | |
4938 | const GLclampf *priorities ); | |
4939 | ||
4940 | __attribute__((visibility("default"))) GLboolean glAreTexturesResident( GLsizei n, | |
4941 | const GLuint *textures, | |
4942 | GLboolean *residences ); | |
4943 | ||
4944 | __attribute__((visibility("default"))) GLboolean glIsTexture( GLuint texture ); | |
4945 | ||
4946 | ||
4947 | __attribute__((visibility("default"))) void glTexSubImage1D( GLenum target, GLint level, | |
4948 | GLint xoffset, | |
4949 | GLsizei width, GLenum format, | |
4950 | GLenum type, const GLvoid *pixels ); | |
4951 | ||
4952 | ||
4953 | __attribute__((visibility("default"))) void glTexSubImage2D( GLenum target, GLint level, | |
4954 | GLint xoffset, GLint yoffset, | |
4955 | GLsizei width, GLsizei height, | |
4956 | GLenum format, GLenum type, | |
4957 | const GLvoid *pixels ); | |
4958 | ||
4959 | ||
4960 | __attribute__((visibility("default"))) void glCopyTexImage1D( GLenum target, GLint level, | |
4961 | GLenum internalformat, | |
4962 | GLint x, GLint y, | |
4963 | GLsizei width, GLint border ); | |
4964 | ||
4965 | ||
4966 | __attribute__((visibility("default"))) void glCopyTexImage2D( GLenum target, GLint level, | |
4967 | GLenum internalformat, | |
4968 | GLint x, GLint y, | |
4969 | GLsizei width, GLsizei height, | |
4970 | GLint border ); | |
4971 | ||
4972 | ||
4973 | __attribute__((visibility("default"))) void glCopyTexSubImage1D( GLenum target, GLint level, | |
4974 | GLint xoffset, GLint x, GLint y, | |
4975 | GLsizei width ); | |
4976 | ||
4977 | ||
4978 | __attribute__((visibility("default"))) void glCopyTexSubImage2D( GLenum target, GLint level, | |
4979 | GLint xoffset, GLint yoffset, | |
4980 | GLint x, GLint y, | |
4981 | GLsizei width, GLsizei height ); | |
4982 | ||
4983 | ||
4984 | ||
4985 | ||
4986 | ||
4987 | ||
4988 | __attribute__((visibility("default"))) void glMap1d( GLenum target, GLdouble u1, GLdouble u2, | |
4989 | GLint stride, | |
4990 | GLint order, const GLdouble *points ); | |
4991 | __attribute__((visibility("default"))) void glMap1f( GLenum target, GLfloat u1, GLfloat u2, | |
4992 | GLint stride, | |
4993 | GLint order, const GLfloat *points ); | |
4994 | ||
4995 | __attribute__((visibility("default"))) void glMap2d( GLenum target, | |
4996 | GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, | |
4997 | GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, | |
4998 | const GLdouble *points ); | |
4999 | __attribute__((visibility("default"))) void glMap2f( GLenum target, | |
5000 | GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, | |
5001 | GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, | |
5002 | const GLfloat *points ); | |
5003 | ||
5004 | __attribute__((visibility("default"))) void glGetMapdv( GLenum target, GLenum query, GLdouble *v ); | |
5005 | __attribute__((visibility("default"))) void glGetMapfv( GLenum target, GLenum query, GLfloat *v ); | |
5006 | __attribute__((visibility("default"))) void glGetMapiv( GLenum target, GLenum query, GLint *v ); | |
5007 | ||
5008 | __attribute__((visibility("default"))) void glEvalCoord1d( GLdouble u ); | |
5009 | __attribute__((visibility("default"))) void glEvalCoord1f( GLfloat u ); | |
5010 | ||
5011 | __attribute__((visibility("default"))) void glEvalCoord1dv( const GLdouble *u ); | |
5012 | __attribute__((visibility("default"))) void glEvalCoord1fv( const GLfloat *u ); | |
5013 | ||
5014 | __attribute__((visibility("default"))) void glEvalCoord2d( GLdouble u, GLdouble v ); | |
5015 | __attribute__((visibility("default"))) void glEvalCoord2f( GLfloat u, GLfloat v ); | |
5016 | ||
5017 | __attribute__((visibility("default"))) void glEvalCoord2dv( const GLdouble *u ); | |
5018 | __attribute__((visibility("default"))) void glEvalCoord2fv( const GLfloat *u ); | |
5019 | ||
5020 | __attribute__((visibility("default"))) void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); | |
5021 | __attribute__((visibility("default"))) void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); | |
5022 | ||
5023 | __attribute__((visibility("default"))) void glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, | |
5024 | GLint vn, GLdouble v1, GLdouble v2 ); | |
5025 | __attribute__((visibility("default"))) void glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, | |
5026 | GLint vn, GLfloat v1, GLfloat v2 ); | |
5027 | ||
5028 | __attribute__((visibility("default"))) void glEvalPoint1( GLint i ); | |
5029 | ||
5030 | __attribute__((visibility("default"))) void glEvalPoint2( GLint i, GLint j ); | |
5031 | ||
5032 | __attribute__((visibility("default"))) void glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); | |
5033 | ||
5034 | __attribute__((visibility("default"))) void glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); | |
5035 | ||
5036 | ||
5037 | ||
5038 | ||
5039 | ||
5040 | ||
5041 | __attribute__((visibility("default"))) void glFogf( GLenum pname, GLfloat param ); | |
5042 | ||
5043 | __attribute__((visibility("default"))) void glFogi( GLenum pname, GLint param ); | |
5044 | ||
5045 | __attribute__((visibility("default"))) void glFogfv( GLenum pname, const GLfloat *params ); | |
5046 | ||
5047 | __attribute__((visibility("default"))) void glFogiv( GLenum pname, const GLint *params ); | |
5048 | ||
5049 | ||
5050 | ||
5051 | ||
5052 | ||
5053 | ||
5054 | __attribute__((visibility("default"))) void glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); | |
5055 | ||
5056 | __attribute__((visibility("default"))) void glPassThrough( GLfloat token ); | |
5057 | ||
5058 | __attribute__((visibility("default"))) void glSelectBuffer( GLsizei size, GLuint *buffer ); | |
5059 | ||
5060 | __attribute__((visibility("default"))) void glInitNames( void ); | |
5061 | ||
5062 | __attribute__((visibility("default"))) void glLoadName( GLuint name ); | |
5063 | ||
5064 | __attribute__((visibility("default"))) void glPushName( GLuint name ); | |
5065 | ||
5066 | __attribute__((visibility("default"))) void glPopName( void ); | |
5067 | # 1519 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
5068 | __attribute__((visibility("default"))) void glDrawRangeElements( GLenum mode, GLuint start, | |
5069 | GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); | |
5070 | ||
5071 | __attribute__((visibility("default"))) void glTexImage3D( GLenum target, GLint level, | |
5072 | GLint internalFormat, | |
5073 | GLsizei width, GLsizei height, | |
5074 | GLsizei depth, GLint border, | |
5075 | GLenum format, GLenum type, | |
5076 | const GLvoid *pixels ); | |
5077 | ||
5078 | __attribute__((visibility("default"))) void glTexSubImage3D( GLenum target, GLint level, | |
5079 | GLint xoffset, GLint yoffset, | |
5080 | GLint zoffset, GLsizei width, | |
5081 | GLsizei height, GLsizei depth, | |
5082 | GLenum format, | |
5083 | GLenum type, const GLvoid *pixels); | |
5084 | ||
5085 | __attribute__((visibility("default"))) void glCopyTexSubImage3D( GLenum target, GLint level, | |
5086 | GLint xoffset, GLint yoffset, | |
5087 | GLint zoffset, GLint x, | |
5088 | GLint y, GLsizei width, | |
5089 | GLsizei height ); | |
5090 | ||
5091 | typedef void ( * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); | |
5092 | typedef void ( * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |
5093 | typedef void ( * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); | |
5094 | typedef void ( * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
5095 | # 1629 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
5096 | __attribute__((visibility("default"))) void glColorTable( GLenum target, GLenum internalformat, | |
5097 | GLsizei width, GLenum format, | |
5098 | GLenum type, const GLvoid *table ); | |
5099 | ||
5100 | __attribute__((visibility("default"))) void glColorSubTable( GLenum target, | |
5101 | GLsizei start, GLsizei count, | |
5102 | GLenum format, GLenum type, | |
5103 | const GLvoid *data ); | |
5104 | ||
5105 | __attribute__((visibility("default"))) void glColorTableParameteriv(GLenum target, GLenum pname, | |
5106 | const GLint *params); | |
5107 | ||
5108 | __attribute__((visibility("default"))) void glColorTableParameterfv(GLenum target, GLenum pname, | |
5109 | const GLfloat *params); | |
5110 | ||
5111 | __attribute__((visibility("default"))) void glCopyColorSubTable( GLenum target, GLsizei start, | |
5112 | GLint x, GLint y, GLsizei width ); | |
5113 | ||
5114 | __attribute__((visibility("default"))) void glCopyColorTable( GLenum target, GLenum internalformat, | |
5115 | GLint x, GLint y, GLsizei width ); | |
5116 | ||
5117 | __attribute__((visibility("default"))) void glGetColorTable( GLenum target, GLenum format, | |
5118 | GLenum type, GLvoid *table ); | |
5119 | ||
5120 | __attribute__((visibility("default"))) void glGetColorTableParameterfv( GLenum target, GLenum pname, | |
5121 | GLfloat *params ); | |
5122 | ||
5123 | __attribute__((visibility("default"))) void glGetColorTableParameteriv( GLenum target, GLenum pname, | |
5124 | GLint *params ); | |
5125 | ||
5126 | __attribute__((visibility("default"))) void glBlendEquation( GLenum mode ); | |
5127 | ||
5128 | __attribute__((visibility("default"))) void glBlendColor( GLclampf red, GLclampf green, | |
5129 | GLclampf blue, GLclampf alpha ); | |
5130 | ||
5131 | __attribute__((visibility("default"))) void glHistogram( GLenum target, GLsizei width, | |
5132 | GLenum internalformat, GLboolean sink ); | |
5133 | ||
5134 | __attribute__((visibility("default"))) void glResetHistogram( GLenum target ); | |
5135 | ||
5136 | __attribute__((visibility("default"))) void glGetHistogram( GLenum target, GLboolean reset, | |
5137 | GLenum format, GLenum type, | |
5138 | GLvoid *values ); | |
5139 | ||
5140 | __attribute__((visibility("default"))) void glGetHistogramParameterfv( GLenum target, GLenum pname, | |
5141 | GLfloat *params ); | |
5142 | ||
5143 | __attribute__((visibility("default"))) void glGetHistogramParameteriv( GLenum target, GLenum pname, | |
5144 | GLint *params ); | |
5145 | ||
5146 | __attribute__((visibility("default"))) void glMinmax( GLenum target, GLenum internalformat, | |
5147 | GLboolean sink ); | |
5148 | ||
5149 | __attribute__((visibility("default"))) void glResetMinmax( GLenum target ); | |
5150 | ||
5151 | __attribute__((visibility("default"))) void glGetMinmax( GLenum target, GLboolean reset, | |
5152 | GLenum format, GLenum types, | |
5153 | GLvoid *values ); | |
5154 | ||
5155 | __attribute__((visibility("default"))) void glGetMinmaxParameterfv( GLenum target, GLenum pname, | |
5156 | GLfloat *params ); | |
5157 | ||
5158 | __attribute__((visibility("default"))) void glGetMinmaxParameteriv( GLenum target, GLenum pname, | |
5159 | GLint *params ); | |
5160 | ||
5161 | __attribute__((visibility("default"))) void glConvolutionFilter1D( GLenum target, | |
5162 | GLenum internalformat, GLsizei width, GLenum format, GLenum type, | |
5163 | const GLvoid *image ); | |
5164 | ||
5165 | __attribute__((visibility("default"))) void glConvolutionFilter2D( GLenum target, | |
5166 | GLenum internalformat, GLsizei width, GLsizei height, GLenum format, | |
5167 | GLenum type, const GLvoid *image ); | |
5168 | ||
5169 | __attribute__((visibility("default"))) void glConvolutionParameterf( GLenum target, GLenum pname, | |
5170 | GLfloat params ); | |
5171 | ||
5172 | __attribute__((visibility("default"))) void glConvolutionParameterfv( GLenum target, GLenum pname, | |
5173 | const GLfloat *params ); | |
5174 | ||
5175 | __attribute__((visibility("default"))) void glConvolutionParameteri( GLenum target, GLenum pname, | |
5176 | GLint params ); | |
5177 | ||
5178 | __attribute__((visibility("default"))) void glConvolutionParameteriv( GLenum target, GLenum pname, | |
5179 | const GLint *params ); | |
5180 | ||
5181 | __attribute__((visibility("default"))) void glCopyConvolutionFilter1D( GLenum target, | |
5182 | GLenum internalformat, GLint x, GLint y, GLsizei width ); | |
5183 | ||
5184 | __attribute__((visibility("default"))) void glCopyConvolutionFilter2D( GLenum target, | |
5185 | GLenum internalformat, GLint x, GLint y, GLsizei width, | |
5186 | GLsizei height); | |
5187 | ||
5188 | __attribute__((visibility("default"))) void glGetConvolutionFilter( GLenum target, GLenum format, | |
5189 | GLenum type, GLvoid *image ); | |
5190 | ||
5191 | __attribute__((visibility("default"))) void glGetConvolutionParameterfv( GLenum target, GLenum pname, | |
5192 | GLfloat *params ); | |
5193 | ||
5194 | __attribute__((visibility("default"))) void glGetConvolutionParameteriv( GLenum target, GLenum pname, | |
5195 | GLint *params ); | |
5196 | ||
5197 | __attribute__((visibility("default"))) void glSeparableFilter2D( GLenum target, | |
5198 | GLenum internalformat, GLsizei width, GLsizei height, GLenum format, | |
5199 | GLenum type, const GLvoid *row, const GLvoid *column ); | |
5200 | ||
5201 | __attribute__((visibility("default"))) void glGetSeparableFilter( GLenum target, GLenum format, | |
5202 | GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); | |
5203 | ||
5204 | typedef void ( * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
5205 | typedef void ( * PFNGLBLENDEQUATIONPROC) (GLenum mode); | |
5206 | typedef void ( * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); | |
5207 | typedef void ( * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
5208 | typedef void ( * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); | |
5209 | typedef void ( * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
5210 | typedef void ( * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); | |
5211 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); | |
5212 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5213 | typedef void ( * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); | |
5214 | typedef void ( * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); | |
5215 | typedef void ( * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); | |
5216 | typedef void ( * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); | |
5217 | typedef void ( * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); | |
5218 | typedef void ( * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
5219 | typedef void ( * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); | |
5220 | typedef void ( * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); | |
5221 | typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
5222 | typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); | |
5223 | typedef void ( * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); | |
5224 | typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); | |
5225 | typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5226 | typedef void ( * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); | |
5227 | typedef void ( * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); | |
5228 | typedef void ( * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); | |
5229 | typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); | |
5230 | typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5231 | typedef void ( * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); | |
5232 | typedef void ( * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); | |
5233 | typedef void ( * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5234 | typedef void ( * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); | |
5235 | typedef void ( * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); | |
5236 | typedef void ( * PFNGLRESETHISTOGRAMPROC) (GLenum target); | |
5237 | typedef void ( * PFNGLRESETMINMAXPROC) (GLenum target); | |
5238 | # 1883 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
5239 | __attribute__((visibility("default"))) void glActiveTexture( GLenum texture ); | |
5240 | ||
5241 | __attribute__((visibility("default"))) void glClientActiveTexture( GLenum texture ); | |
5242 | ||
5243 | __attribute__((visibility("default"))) void glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); | |
5244 | ||
5245 | __attribute__((visibility("default"))) void glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); | |
5246 | ||
5247 | __attribute__((visibility("default"))) void glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); | |
5248 | ||
5249 | __attribute__((visibility("default"))) void glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); | |
5250 | ||
5251 | __attribute__((visibility("default"))) void glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); | |
5252 | ||
5253 | __attribute__((visibility("default"))) void glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); | |
5254 | ||
5255 | __attribute__((visibility("default"))) void glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); | |
5256 | ||
5257 | __attribute__((visibility("default"))) void glMultiTexCoord1d( GLenum target, GLdouble s ); | |
5258 | ||
5259 | __attribute__((visibility("default"))) void glMultiTexCoord1dv( GLenum target, const GLdouble *v ); | |
5260 | ||
5261 | __attribute__((visibility("default"))) void glMultiTexCoord1f( GLenum target, GLfloat s ); | |
5262 | ||
5263 | __attribute__((visibility("default"))) void glMultiTexCoord1fv( GLenum target, const GLfloat *v ); | |
5264 | ||
5265 | __attribute__((visibility("default"))) void glMultiTexCoord1i( GLenum target, GLint s ); | |
5266 | ||
5267 | __attribute__((visibility("default"))) void glMultiTexCoord1iv( GLenum target, const GLint *v ); | |
5268 | ||
5269 | __attribute__((visibility("default"))) void glMultiTexCoord1s( GLenum target, GLshort s ); | |
5270 | ||
5271 | __attribute__((visibility("default"))) void glMultiTexCoord1sv( GLenum target, const GLshort *v ); | |
5272 | ||
5273 | __attribute__((visibility("default"))) void glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); | |
5274 | ||
5275 | __attribute__((visibility("default"))) void glMultiTexCoord2dv( GLenum target, const GLdouble *v ); | |
5276 | ||
5277 | __attribute__((visibility("default"))) void glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); | |
5278 | ||
5279 | __attribute__((visibility("default"))) void glMultiTexCoord2fv( GLenum target, const GLfloat *v ); | |
5280 | ||
5281 | __attribute__((visibility("default"))) void glMultiTexCoord2i( GLenum target, GLint s, GLint t ); | |
5282 | ||
5283 | __attribute__((visibility("default"))) void glMultiTexCoord2iv( GLenum target, const GLint *v ); | |
5284 | ||
5285 | __attribute__((visibility("default"))) void glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); | |
5286 | ||
5287 | __attribute__((visibility("default"))) void glMultiTexCoord2sv( GLenum target, const GLshort *v ); | |
5288 | ||
5289 | __attribute__((visibility("default"))) void glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); | |
5290 | ||
5291 | __attribute__((visibility("default"))) void glMultiTexCoord3dv( GLenum target, const GLdouble *v ); | |
5292 | ||
5293 | __attribute__((visibility("default"))) void glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); | |
5294 | ||
5295 | __attribute__((visibility("default"))) void glMultiTexCoord3fv( GLenum target, const GLfloat *v ); | |
5296 | ||
5297 | __attribute__((visibility("default"))) void glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); | |
5298 | ||
5299 | __attribute__((visibility("default"))) void glMultiTexCoord3iv( GLenum target, const GLint *v ); | |
5300 | ||
5301 | __attribute__((visibility("default"))) void glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); | |
5302 | ||
5303 | __attribute__((visibility("default"))) void glMultiTexCoord3sv( GLenum target, const GLshort *v ); | |
5304 | ||
5305 | __attribute__((visibility("default"))) void glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); | |
5306 | ||
5307 | __attribute__((visibility("default"))) void glMultiTexCoord4dv( GLenum target, const GLdouble *v ); | |
5308 | ||
5309 | __attribute__((visibility("default"))) void glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); | |
5310 | ||
5311 | __attribute__((visibility("default"))) void glMultiTexCoord4fv( GLenum target, const GLfloat *v ); | |
5312 | ||
5313 | __attribute__((visibility("default"))) void glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); | |
5314 | ||
5315 | __attribute__((visibility("default"))) void glMultiTexCoord4iv( GLenum target, const GLint *v ); | |
5316 | ||
5317 | __attribute__((visibility("default"))) void glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); | |
5318 | ||
5319 | __attribute__((visibility("default"))) void glMultiTexCoord4sv( GLenum target, const GLshort *v ); | |
5320 | ||
5321 | ||
5322 | __attribute__((visibility("default"))) void glLoadTransposeMatrixd( const GLdouble m[16] ); | |
5323 | ||
5324 | __attribute__((visibility("default"))) void glLoadTransposeMatrixf( const GLfloat m[16] ); | |
5325 | ||
5326 | __attribute__((visibility("default"))) void glMultTransposeMatrixd( const GLdouble m[16] ); | |
5327 | ||
5328 | __attribute__((visibility("default"))) void glMultTransposeMatrixf( const GLfloat m[16] ); | |
5329 | ||
5330 | __attribute__((visibility("default"))) void glSampleCoverage( GLclampf value, GLboolean invert ); | |
5331 | ||
5332 | typedef void ( * PFNGLACTIVETEXTUREPROC) (GLenum texture); | |
5333 | typedef void ( * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); | |
5334 | typedef void ( * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); | |
5335 | typedef void ( * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); | |
5336 | typedef void ( * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); | |
5337 | typedef void ( * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); | |
5338 | typedef void ( * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); | |
5339 | typedef void ( * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); | |
5340 | typedef void ( * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); | |
5341 | typedef void ( * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); | |
5342 | typedef void ( * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); | |
5343 | typedef void ( * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); | |
5344 | typedef void ( * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); | |
5345 | typedef void ( * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); | |
5346 | typedef void ( * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); | |
5347 | typedef void ( * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); | |
5348 | typedef void ( * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); | |
5349 | typedef void ( * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); | |
5350 | typedef void ( * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); | |
5351 | typedef void ( * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); | |
5352 | typedef void ( * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); | |
5353 | typedef void ( * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); | |
5354 | typedef void ( * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); | |
5355 | typedef void ( * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); | |
5356 | typedef void ( * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); | |
5357 | typedef void ( * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); | |
5358 | typedef void ( * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); | |
5359 | typedef void ( * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); | |
5360 | typedef void ( * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |
5361 | typedef void ( * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); | |
5362 | typedef void ( * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); | |
5363 | typedef void ( * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); | |
5364 | typedef void ( * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); | |
5365 | typedef void ( * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); | |
5366 | typedef void ( * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); | |
5367 | typedef void ( * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); | |
5368 | typedef void ( * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); | |
5369 | typedef void ( * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); | |
5370 | typedef void ( * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); | |
5371 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); | |
5372 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); | |
5373 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); | |
5374 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5375 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5376 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5377 | typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); | |
5378 | # 2066 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
5379 | __attribute__((visibility("default"))) void glActiveTextureARB(GLenum texture); | |
5380 | __attribute__((visibility("default"))) void glClientActiveTextureARB(GLenum texture); | |
5381 | __attribute__((visibility("default"))) void glMultiTexCoord1dARB(GLenum target, GLdouble s); | |
5382 | __attribute__((visibility("default"))) void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); | |
5383 | __attribute__((visibility("default"))) void glMultiTexCoord1fARB(GLenum target, GLfloat s); | |
5384 | __attribute__((visibility("default"))) void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); | |
5385 | __attribute__((visibility("default"))) void glMultiTexCoord1iARB(GLenum target, GLint s); | |
5386 | __attribute__((visibility("default"))) void glMultiTexCoord1ivARB(GLenum target, const GLint *v); | |
5387 | __attribute__((visibility("default"))) void glMultiTexCoord1sARB(GLenum target, GLshort s); | |
5388 | __attribute__((visibility("default"))) void glMultiTexCoord1svARB(GLenum target, const GLshort *v); | |
5389 | __attribute__((visibility("default"))) void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); | |
5390 | __attribute__((visibility("default"))) void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); | |
5391 | __attribute__((visibility("default"))) void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); | |
5392 | __attribute__((visibility("default"))) void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); | |
5393 | __attribute__((visibility("default"))) void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); | |
5394 | __attribute__((visibility("default"))) void glMultiTexCoord2ivARB(GLenum target, const GLint *v); | |
5395 | __attribute__((visibility("default"))) void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); | |
5396 | __attribute__((visibility("default"))) void glMultiTexCoord2svARB(GLenum target, const GLshort *v); | |
5397 | __attribute__((visibility("default"))) void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); | |
5398 | __attribute__((visibility("default"))) void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); | |
5399 | __attribute__((visibility("default"))) void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); | |
5400 | __attribute__((visibility("default"))) void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); | |
5401 | __attribute__((visibility("default"))) void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); | |
5402 | __attribute__((visibility("default"))) void glMultiTexCoord3ivARB(GLenum target, const GLint *v); | |
5403 | __attribute__((visibility("default"))) void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); | |
5404 | __attribute__((visibility("default"))) void glMultiTexCoord3svARB(GLenum target, const GLshort *v); | |
5405 | __attribute__((visibility("default"))) void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); | |
5406 | __attribute__((visibility("default"))) void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); | |
5407 | __attribute__((visibility("default"))) void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |
5408 | __attribute__((visibility("default"))) void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); | |
5409 | __attribute__((visibility("default"))) void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); | |
5410 | __attribute__((visibility("default"))) void glMultiTexCoord4ivARB(GLenum target, const GLint *v); | |
5411 | __attribute__((visibility("default"))) void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); | |
5412 | __attribute__((visibility("default"))) void glMultiTexCoord4svARB(GLenum target, const GLshort *v); | |
5413 | ||
5414 | typedef void ( * PFNGLACTIVETEXTUREARBPROC) (GLenum texture); | |
5415 | typedef void ( * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); | |
5416 | typedef void ( * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); | |
5417 | typedef void ( * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); | |
5418 | typedef void ( * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); | |
5419 | typedef void ( * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); | |
5420 | typedef void ( * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); | |
5421 | typedef void ( * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); | |
5422 | typedef void ( * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); | |
5423 | typedef void ( * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); | |
5424 | typedef void ( * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); | |
5425 | typedef void ( * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); | |
5426 | typedef void ( * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); | |
5427 | typedef void ( * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); | |
5428 | typedef void ( * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); | |
5429 | typedef void ( * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); | |
5430 | typedef void ( * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); | |
5431 | typedef void ( * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); | |
5432 | typedef void ( * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); | |
5433 | typedef void ( * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); | |
5434 | typedef void ( * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); | |
5435 | typedef void ( * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); | |
5436 | typedef void ( * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); | |
5437 | typedef void ( * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); | |
5438 | typedef void ( * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); | |
5439 | typedef void ( * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); | |
5440 | typedef void ( * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); | |
5441 | typedef void ( * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); | |
5442 | typedef void ( * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |
5443 | typedef void ( * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); | |
5444 | typedef void ( * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); | |
5445 | typedef void ( * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); | |
5446 | typedef void ( * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); | |
5447 | typedef void ( * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); | |
5448 | # 2150 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
5449 | ||
5450 | # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" 1 | |
5451 | # 3385 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5452 | ||
5453 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
5454 | # 152 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 | |
5455 | typedef int ptrdiff_t; | |
5456 | # 3386 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" 2 | |
5457 | ||
5458 | ||
5459 | typedef char GLchar; | |
5460 | ||
5461 | ||
5462 | ||
5463 | ||
5464 | typedef ptrdiff_t GLintptr; | |
5465 | typedef ptrdiff_t GLsizeiptr; | |
5466 | ||
5467 | ||
5468 | ||
5469 | ||
5470 | typedef ptrdiff_t GLintptrARB; | |
5471 | typedef ptrdiff_t GLsizeiptrARB; | |
5472 | ||
5473 | ||
5474 | ||
5475 | ||
5476 | typedef char GLcharARB; | |
5477 | typedef unsigned int GLhandleARB; | |
5478 | ||
5479 | ||
5480 | ||
5481 | ||
5482 | typedef unsigned short GLhalfARB; | |
5483 | ||
5484 | ||
5485 | ||
5486 | typedef unsigned short GLhalfNV; | |
5487 | # 3456 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5488 | typedef int64_t GLint64EXT; | |
5489 | typedef uint64_t GLuint64EXT; | |
5490 | # 3643 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5491 | __attribute__((visibility("default"))) void glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); | |
5492 | __attribute__((visibility("default"))) void glFogCoordf (GLfloat); | |
5493 | __attribute__((visibility("default"))) void glFogCoordfv (const GLfloat *); | |
5494 | __attribute__((visibility("default"))) void glFogCoordd (GLdouble); | |
5495 | __attribute__((visibility("default"))) void glFogCoorddv (const GLdouble *); | |
5496 | __attribute__((visibility("default"))) void glFogCoordPointer (GLenum, GLsizei, const GLvoid *); | |
5497 | __attribute__((visibility("default"))) void glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); | |
5498 | __attribute__((visibility("default"))) void glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); | |
5499 | __attribute__((visibility("default"))) void glPointParameterf (GLenum, GLfloat); | |
5500 | __attribute__((visibility("default"))) void glPointParameterfv (GLenum, const GLfloat *); | |
5501 | __attribute__((visibility("default"))) void glPointParameteri (GLenum, GLint); | |
5502 | __attribute__((visibility("default"))) void glPointParameteriv (GLenum, const GLint *); | |
5503 | __attribute__((visibility("default"))) void glSecondaryColor3b (GLbyte, GLbyte, GLbyte); | |
5504 | __attribute__((visibility("default"))) void glSecondaryColor3bv (const GLbyte *); | |
5505 | __attribute__((visibility("default"))) void glSecondaryColor3d (GLdouble, GLdouble, GLdouble); | |
5506 | __attribute__((visibility("default"))) void glSecondaryColor3dv (const GLdouble *); | |
5507 | __attribute__((visibility("default"))) void glSecondaryColor3f (GLfloat, GLfloat, GLfloat); | |
5508 | __attribute__((visibility("default"))) void glSecondaryColor3fv (const GLfloat *); | |
5509 | __attribute__((visibility("default"))) void glSecondaryColor3i (GLint, GLint, GLint); | |
5510 | __attribute__((visibility("default"))) void glSecondaryColor3iv (const GLint *); | |
5511 | __attribute__((visibility("default"))) void glSecondaryColor3s (GLshort, GLshort, GLshort); | |
5512 | __attribute__((visibility("default"))) void glSecondaryColor3sv (const GLshort *); | |
5513 | __attribute__((visibility("default"))) void glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); | |
5514 | __attribute__((visibility("default"))) void glSecondaryColor3ubv (const GLubyte *); | |
5515 | __attribute__((visibility("default"))) void glSecondaryColor3ui (GLuint, GLuint, GLuint); | |
5516 | __attribute__((visibility("default"))) void glSecondaryColor3uiv (const GLuint *); | |
5517 | __attribute__((visibility("default"))) void glSecondaryColor3us (GLushort, GLushort, GLushort); | |
5518 | __attribute__((visibility("default"))) void glSecondaryColor3usv (const GLushort *); | |
5519 | __attribute__((visibility("default"))) void glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); | |
5520 | __attribute__((visibility("default"))) void glWindowPos2d (GLdouble, GLdouble); | |
5521 | __attribute__((visibility("default"))) void glWindowPos2dv (const GLdouble *); | |
5522 | __attribute__((visibility("default"))) void glWindowPos2f (GLfloat, GLfloat); | |
5523 | __attribute__((visibility("default"))) void glWindowPos2fv (const GLfloat *); | |
5524 | __attribute__((visibility("default"))) void glWindowPos2i (GLint, GLint); | |
5525 | __attribute__((visibility("default"))) void glWindowPos2iv (const GLint *); | |
5526 | __attribute__((visibility("default"))) void glWindowPos2s (GLshort, GLshort); | |
5527 | __attribute__((visibility("default"))) void glWindowPos2sv (const GLshort *); | |
5528 | __attribute__((visibility("default"))) void glWindowPos3d (GLdouble, GLdouble, GLdouble); | |
5529 | __attribute__((visibility("default"))) void glWindowPos3dv (const GLdouble *); | |
5530 | __attribute__((visibility("default"))) void glWindowPos3f (GLfloat, GLfloat, GLfloat); | |
5531 | __attribute__((visibility("default"))) void glWindowPos3fv (const GLfloat *); | |
5532 | __attribute__((visibility("default"))) void glWindowPos3i (GLint, GLint, GLint); | |
5533 | __attribute__((visibility("default"))) void glWindowPos3iv (const GLint *); | |
5534 | __attribute__((visibility("default"))) void glWindowPos3s (GLshort, GLshort, GLshort); | |
5535 | __attribute__((visibility("default"))) void glWindowPos3sv (const GLshort *); | |
5536 | ||
5537 | typedef void ( * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
5538 | typedef void ( * PFNGLFOGCOORDFPROC) (GLfloat coord); | |
5539 | typedef void ( * PFNGLFOGCOORDFVPROC) (const GLfloat *coord); | |
5540 | typedef void ( * PFNGLFOGCOORDDPROC) (GLdouble coord); | |
5541 | typedef void ( * PFNGLFOGCOORDDVPROC) (const GLdouble *coord); | |
5542 | typedef void ( * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); | |
5543 | typedef void ( * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); | |
5544 | typedef void ( * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); | |
5545 | typedef void ( * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); | |
5546 | typedef void ( * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); | |
5547 | typedef void ( * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); | |
5548 | typedef void ( * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); | |
5549 | typedef void ( * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); | |
5550 | typedef void ( * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); | |
5551 | typedef void ( * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); | |
5552 | typedef void ( * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); | |
5553 | typedef void ( * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); | |
5554 | typedef void ( * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); | |
5555 | typedef void ( * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); | |
5556 | typedef void ( * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); | |
5557 | typedef void ( * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); | |
5558 | typedef void ( * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); | |
5559 | typedef void ( * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); | |
5560 | typedef void ( * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); | |
5561 | typedef void ( * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); | |
5562 | typedef void ( * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); | |
5563 | typedef void ( * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); | |
5564 | typedef void ( * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); | |
5565 | typedef void ( * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
5566 | typedef void ( * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); | |
5567 | typedef void ( * PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); | |
5568 | typedef void ( * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); | |
5569 | typedef void ( * PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); | |
5570 | typedef void ( * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); | |
5571 | typedef void ( * PFNGLWINDOWPOS2IVPROC) (const GLint *v); | |
5572 | typedef void ( * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); | |
5573 | typedef void ( * PFNGLWINDOWPOS2SVPROC) (const GLshort *v); | |
5574 | typedef void ( * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); | |
5575 | typedef void ( * PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); | |
5576 | typedef void ( * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); | |
5577 | typedef void ( * PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); | |
5578 | typedef void ( * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); | |
5579 | typedef void ( * PFNGLWINDOWPOS3IVPROC) (const GLint *v); | |
5580 | typedef void ( * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); | |
5581 | typedef void ( * PFNGLWINDOWPOS3SVPROC) (const GLshort *v); | |
5582 | ||
5583 | ||
5584 | ||
5585 | ||
5586 | ||
5587 | __attribute__((visibility("default"))) void glGenQueries (GLsizei, GLuint *); | |
5588 | __attribute__((visibility("default"))) void glDeleteQueries (GLsizei, const GLuint *); | |
5589 | __attribute__((visibility("default"))) GLboolean glIsQuery (GLuint); | |
5590 | __attribute__((visibility("default"))) void glBeginQuery (GLenum, GLuint); | |
5591 | __attribute__((visibility("default"))) void glEndQuery (GLenum); | |
5592 | __attribute__((visibility("default"))) void glGetQueryiv (GLenum, GLenum, GLint *); | |
5593 | __attribute__((visibility("default"))) void glGetQueryObjectiv (GLuint, GLenum, GLint *); | |
5594 | __attribute__((visibility("default"))) void glGetQueryObjectuiv (GLuint, GLenum, GLuint *); | |
5595 | __attribute__((visibility("default"))) void glBindBuffer (GLenum, GLuint); | |
5596 | __attribute__((visibility("default"))) void glDeleteBuffers (GLsizei, const GLuint *); | |
5597 | __attribute__((visibility("default"))) void glGenBuffers (GLsizei, GLuint *); | |
5598 | __attribute__((visibility("default"))) GLboolean glIsBuffer (GLuint); | |
5599 | __attribute__((visibility("default"))) void glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum); | |
5600 | __attribute__((visibility("default"))) void glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *); | |
5601 | __attribute__((visibility("default"))) void glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *); | |
5602 | __attribute__((visibility("default"))) GLvoid* glMapBuffer (GLenum, GLenum); | |
5603 | __attribute__((visibility("default"))) GLboolean glUnmapBuffer (GLenum); | |
5604 | __attribute__((visibility("default"))) void glGetBufferParameteriv (GLenum, GLenum, GLint *); | |
5605 | __attribute__((visibility("default"))) void glGetBufferPointerv (GLenum, GLenum, GLvoid* *); | |
5606 | ||
5607 | typedef void ( * PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); | |
5608 | typedef void ( * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); | |
5609 | typedef GLboolean ( * PFNGLISQUERYPROC) (GLuint id); | |
5610 | typedef void ( * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); | |
5611 | typedef void ( * PFNGLENDQUERYPROC) (GLenum target); | |
5612 | typedef void ( * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5613 | typedef void ( * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); | |
5614 | typedef void ( * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); | |
5615 | typedef void ( * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); | |
5616 | typedef void ( * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); | |
5617 | typedef void ( * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); | |
5618 | typedef GLboolean ( * PFNGLISBUFFERPROC) (GLuint buffer); | |
5619 | typedef void ( * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); | |
5620 | typedef void ( * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); | |
5621 | typedef void ( * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); | |
5622 | typedef GLvoid* ( * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); | |
5623 | typedef GLboolean ( * PFNGLUNMAPBUFFERPROC) (GLenum target); | |
5624 | typedef void ( * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | |
5625 | typedef void ( * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); | |
5626 | ||
5627 | ||
5628 | ||
5629 | ||
5630 | ||
5631 | __attribute__((visibility("default"))) void glBlendEquationSeparate (GLenum, GLenum); | |
5632 | __attribute__((visibility("default"))) void glDrawBuffers (GLsizei, const GLenum *); | |
5633 | __attribute__((visibility("default"))) void glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); | |
5634 | __attribute__((visibility("default"))) void glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); | |
5635 | __attribute__((visibility("default"))) void glStencilMaskSeparate (GLenum, GLuint); | |
5636 | __attribute__((visibility("default"))) void glAttachShader (GLuint, GLuint); | |
5637 | __attribute__((visibility("default"))) void glBindAttribLocation (GLuint, GLuint, const GLchar *); | |
5638 | __attribute__((visibility("default"))) void glCompileShader (GLuint); | |
5639 | __attribute__((visibility("default"))) GLuint glCreateProgram (void); | |
5640 | __attribute__((visibility("default"))) GLuint glCreateShader (GLenum); | |
5641 | __attribute__((visibility("default"))) void glDeleteProgram (GLuint); | |
5642 | __attribute__((visibility("default"))) void glDeleteShader (GLuint); | |
5643 | __attribute__((visibility("default"))) void glDetachShader (GLuint, GLuint); | |
5644 | __attribute__((visibility("default"))) void glDisableVertexAttribArray (GLuint); | |
5645 | __attribute__((visibility("default"))) void glEnableVertexAttribArray (GLuint); | |
5646 | __attribute__((visibility("default"))) void glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); | |
5647 | __attribute__((visibility("default"))) void glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); | |
5648 | __attribute__((visibility("default"))) void glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *); | |
5649 | __attribute__((visibility("default"))) GLint glGetAttribLocation (GLuint, const GLchar *); | |
5650 | __attribute__((visibility("default"))) void glGetProgramiv (GLuint, GLenum, GLint *); | |
5651 | __attribute__((visibility("default"))) void glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); | |
5652 | __attribute__((visibility("default"))) void glGetShaderiv (GLuint, GLenum, GLint *); | |
5653 | __attribute__((visibility("default"))) void glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); | |
5654 | __attribute__((visibility("default"))) void glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *); | |
5655 | __attribute__((visibility("default"))) GLint glGetUniformLocation (GLuint, const GLchar *); | |
5656 | __attribute__((visibility("default"))) void glGetUniformfv (GLuint, GLint, GLfloat *); | |
5657 | __attribute__((visibility("default"))) void glGetUniformiv (GLuint, GLint, GLint *); | |
5658 | __attribute__((visibility("default"))) void glGetVertexAttribdv (GLuint, GLenum, GLdouble *); | |
5659 | __attribute__((visibility("default"))) void glGetVertexAttribfv (GLuint, GLenum, GLfloat *); | |
5660 | __attribute__((visibility("default"))) void glGetVertexAttribiv (GLuint, GLenum, GLint *); | |
5661 | __attribute__((visibility("default"))) void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); | |
5662 | __attribute__((visibility("default"))) GLboolean glIsProgram (GLuint); | |
5663 | __attribute__((visibility("default"))) GLboolean glIsShader (GLuint); | |
5664 | __attribute__((visibility("default"))) void glLinkProgram (GLuint); | |
5665 | __attribute__((visibility("default"))) void glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *); | |
5666 | __attribute__((visibility("default"))) void glUseProgram (GLuint); | |
5667 | __attribute__((visibility("default"))) void glUniform1f (GLint, GLfloat); | |
5668 | __attribute__((visibility("default"))) void glUniform2f (GLint, GLfloat, GLfloat); | |
5669 | __attribute__((visibility("default"))) void glUniform3f (GLint, GLfloat, GLfloat, GLfloat); | |
5670 | __attribute__((visibility("default"))) void glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat); | |
5671 | __attribute__((visibility("default"))) void glUniform1i (GLint, GLint); | |
5672 | __attribute__((visibility("default"))) void glUniform2i (GLint, GLint, GLint); | |
5673 | __attribute__((visibility("default"))) void glUniform3i (GLint, GLint, GLint, GLint); | |
5674 | __attribute__((visibility("default"))) void glUniform4i (GLint, GLint, GLint, GLint, GLint); | |
5675 | __attribute__((visibility("default"))) void glUniform1fv (GLint, GLsizei, const GLfloat *); | |
5676 | __attribute__((visibility("default"))) void glUniform2fv (GLint, GLsizei, const GLfloat *); | |
5677 | __attribute__((visibility("default"))) void glUniform3fv (GLint, GLsizei, const GLfloat *); | |
5678 | __attribute__((visibility("default"))) void glUniform4fv (GLint, GLsizei, const GLfloat *); | |
5679 | __attribute__((visibility("default"))) void glUniform1iv (GLint, GLsizei, const GLint *); | |
5680 | __attribute__((visibility("default"))) void glUniform2iv (GLint, GLsizei, const GLint *); | |
5681 | __attribute__((visibility("default"))) void glUniform3iv (GLint, GLsizei, const GLint *); | |
5682 | __attribute__((visibility("default"))) void glUniform4iv (GLint, GLsizei, const GLint *); | |
5683 | __attribute__((visibility("default"))) void glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5684 | __attribute__((visibility("default"))) void glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5685 | __attribute__((visibility("default"))) void glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5686 | __attribute__((visibility("default"))) void glValidateProgram (GLuint); | |
5687 | __attribute__((visibility("default"))) void glVertexAttrib1d (GLuint, GLdouble); | |
5688 | __attribute__((visibility("default"))) void glVertexAttrib1dv (GLuint, const GLdouble *); | |
5689 | __attribute__((visibility("default"))) void glVertexAttrib1f (GLuint, GLfloat); | |
5690 | __attribute__((visibility("default"))) void glVertexAttrib1fv (GLuint, const GLfloat *); | |
5691 | __attribute__((visibility("default"))) void glVertexAttrib1s (GLuint, GLshort); | |
5692 | __attribute__((visibility("default"))) void glVertexAttrib1sv (GLuint, const GLshort *); | |
5693 | __attribute__((visibility("default"))) void glVertexAttrib2d (GLuint, GLdouble, GLdouble); | |
5694 | __attribute__((visibility("default"))) void glVertexAttrib2dv (GLuint, const GLdouble *); | |
5695 | __attribute__((visibility("default"))) void glVertexAttrib2f (GLuint, GLfloat, GLfloat); | |
5696 | __attribute__((visibility("default"))) void glVertexAttrib2fv (GLuint, const GLfloat *); | |
5697 | __attribute__((visibility("default"))) void glVertexAttrib2s (GLuint, GLshort, GLshort); | |
5698 | __attribute__((visibility("default"))) void glVertexAttrib2sv (GLuint, const GLshort *); | |
5699 | __attribute__((visibility("default"))) void glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble); | |
5700 | __attribute__((visibility("default"))) void glVertexAttrib3dv (GLuint, const GLdouble *); | |
5701 | __attribute__((visibility("default"))) void glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); | |
5702 | __attribute__((visibility("default"))) void glVertexAttrib3fv (GLuint, const GLfloat *); | |
5703 | __attribute__((visibility("default"))) void glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); | |
5704 | __attribute__((visibility("default"))) void glVertexAttrib3sv (GLuint, const GLshort *); | |
5705 | __attribute__((visibility("default"))) void glVertexAttrib4Nbv (GLuint, const GLbyte *); | |
5706 | __attribute__((visibility("default"))) void glVertexAttrib4Niv (GLuint, const GLint *); | |
5707 | __attribute__((visibility("default"))) void glVertexAttrib4Nsv (GLuint, const GLshort *); | |
5708 | __attribute__((visibility("default"))) void glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); | |
5709 | __attribute__((visibility("default"))) void glVertexAttrib4Nubv (GLuint, const GLubyte *); | |
5710 | __attribute__((visibility("default"))) void glVertexAttrib4Nuiv (GLuint, const GLuint *); | |
5711 | __attribute__((visibility("default"))) void glVertexAttrib4Nusv (GLuint, const GLushort *); | |
5712 | __attribute__((visibility("default"))) void glVertexAttrib4bv (GLuint, const GLbyte *); | |
5713 | __attribute__((visibility("default"))) void glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
5714 | __attribute__((visibility("default"))) void glVertexAttrib4dv (GLuint, const GLdouble *); | |
5715 | __attribute__((visibility("default"))) void glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
5716 | __attribute__((visibility("default"))) void glVertexAttrib4fv (GLuint, const GLfloat *); | |
5717 | __attribute__((visibility("default"))) void glVertexAttrib4iv (GLuint, const GLint *); | |
5718 | __attribute__((visibility("default"))) void glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort); | |
5719 | __attribute__((visibility("default"))) void glVertexAttrib4sv (GLuint, const GLshort *); | |
5720 | __attribute__((visibility("default"))) void glVertexAttrib4ubv (GLuint, const GLubyte *); | |
5721 | __attribute__((visibility("default"))) void glVertexAttrib4uiv (GLuint, const GLuint *); | |
5722 | __attribute__((visibility("default"))) void glVertexAttrib4usv (GLuint, const GLushort *); | |
5723 | __attribute__((visibility("default"))) void glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); | |
5724 | ||
5725 | typedef void ( * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); | |
5726 | typedef void ( * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); | |
5727 | typedef void ( * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | |
5728 | typedef void ( * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); | |
5729 | typedef void ( * PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); | |
5730 | typedef void ( * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); | |
5731 | typedef void ( * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); | |
5732 | typedef void ( * PFNGLCOMPILESHADERPROC) (GLuint shader); | |
5733 | typedef GLuint ( * PFNGLCREATEPROGRAMPROC) (void); | |
5734 | typedef GLuint ( * PFNGLCREATESHADERPROC) (GLenum type); | |
5735 | typedef void ( * PFNGLDELETEPROGRAMPROC) (GLuint program); | |
5736 | typedef void ( * PFNGLDELETESHADERPROC) (GLuint shader); | |
5737 | typedef void ( * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); | |
5738 | typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); | |
5739 | typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); | |
5740 | typedef void ( * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | |
5741 | typedef void ( * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | |
5742 | typedef void ( * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); | |
5743 | typedef GLint ( * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); | |
5744 | typedef void ( * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); | |
5745 | typedef void ( * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | |
5746 | typedef void ( * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); | |
5747 | typedef void ( * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | |
5748 | typedef void ( * PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | |
5749 | typedef GLint ( * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); | |
5750 | typedef void ( * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); | |
5751 | typedef void ( * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); | |
5752 | typedef void ( * PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); | |
5753 | typedef void ( * PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); | |
5754 | typedef void ( * PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); | |
5755 | typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); | |
5756 | typedef GLboolean ( * PFNGLISPROGRAMPROC) (GLuint program); | |
5757 | typedef GLboolean ( * PFNGLISSHADERPROC) (GLuint shader); | |
5758 | typedef void ( * PFNGLLINKPROGRAMPROC) (GLuint program); | |
5759 | typedef void ( * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); | |
5760 | typedef void ( * PFNGLUSEPROGRAMPROC) (GLuint program); | |
5761 | typedef void ( * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); | |
5762 | typedef void ( * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); | |
5763 | typedef void ( * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | |
5764 | typedef void ( * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | |
5765 | typedef void ( * PFNGLUNIFORM1IPROC) (GLint location, GLint v0); | |
5766 | typedef void ( * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); | |
5767 | typedef void ( * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); | |
5768 | typedef void ( * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | |
5769 | typedef void ( * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); | |
5770 | typedef void ( * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); | |
5771 | typedef void ( * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); | |
5772 | typedef void ( * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); | |
5773 | typedef void ( * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); | |
5774 | typedef void ( * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); | |
5775 | typedef void ( * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); | |
5776 | typedef void ( * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); | |
5777 | typedef void ( * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5778 | typedef void ( * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5779 | typedef void ( * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5780 | typedef void ( * PFNGLVALIDATEPROGRAMPROC) (GLuint program); | |
5781 | typedef void ( * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); | |
5782 | typedef void ( * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); | |
5783 | typedef void ( * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); | |
5784 | typedef void ( * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); | |
5785 | typedef void ( * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); | |
5786 | typedef void ( * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); | |
5787 | typedef void ( * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); | |
5788 | typedef void ( * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); | |
5789 | typedef void ( * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); | |
5790 | typedef void ( * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); | |
5791 | typedef void ( * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); | |
5792 | typedef void ( * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); | |
5793 | typedef void ( * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); | |
5794 | typedef void ( * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); | |
5795 | typedef void ( * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); | |
5796 | typedef void ( * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); | |
5797 | typedef void ( * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); | |
5798 | typedef void ( * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); | |
5799 | typedef void ( * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); | |
5800 | typedef void ( * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); | |
5801 | typedef void ( * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); | |
5802 | typedef void ( * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); | |
5803 | typedef void ( * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); | |
5804 | typedef void ( * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); | |
5805 | typedef void ( * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); | |
5806 | typedef void ( * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); | |
5807 | typedef void ( * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
5808 | typedef void ( * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); | |
5809 | typedef void ( * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
5810 | typedef void ( * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); | |
5811 | typedef void ( * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); | |
5812 | typedef void ( * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); | |
5813 | typedef void ( * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); | |
5814 | typedef void ( * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); | |
5815 | typedef void ( * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); | |
5816 | typedef void ( * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); | |
5817 | typedef void ( * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); | |
5818 | ||
5819 | ||
5820 | ||
5821 | ||
5822 | ||
5823 | __attribute__((visibility("default"))) void glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5824 | __attribute__((visibility("default"))) void glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5825 | __attribute__((visibility("default"))) void glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5826 | __attribute__((visibility("default"))) void glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5827 | __attribute__((visibility("default"))) void glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5828 | __attribute__((visibility("default"))) void glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *); | |
5829 | ||
5830 | typedef void ( * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5831 | typedef void ( * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5832 | typedef void ( * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5833 | typedef void ( * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5834 | typedef void ( * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5835 | typedef void ( * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
5836 | # 4067 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5837 | __attribute__((visibility("default"))) void glLoadTransposeMatrixfARB (const GLfloat *); | |
5838 | __attribute__((visibility("default"))) void glLoadTransposeMatrixdARB (const GLdouble *); | |
5839 | __attribute__((visibility("default"))) void glMultTransposeMatrixfARB (const GLfloat *); | |
5840 | __attribute__((visibility("default"))) void glMultTransposeMatrixdARB (const GLdouble *); | |
5841 | ||
5842 | typedef void ( * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); | |
5843 | typedef void ( * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); | |
5844 | typedef void ( * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); | |
5845 | typedef void ( * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); | |
5846 | ||
5847 | ||
5848 | ||
5849 | ||
5850 | ||
5851 | __attribute__((visibility("default"))) void glSampleCoverageARB (GLclampf, GLboolean); | |
5852 | ||
5853 | typedef void ( * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); | |
5854 | # 4097 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5855 | __attribute__((visibility("default"))) void glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
5856 | __attribute__((visibility("default"))) void glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
5857 | __attribute__((visibility("default"))) void glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); | |
5858 | __attribute__((visibility("default"))) void glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
5859 | __attribute__((visibility("default"))) void glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
5860 | __attribute__((visibility("default"))) void glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); | |
5861 | __attribute__((visibility("default"))) void glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); | |
5862 | ||
5863 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); | |
5864 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); | |
5865 | typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); | |
5866 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5867 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5868 | typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); | |
5869 | typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); | |
5870 | # 4121 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5871 | __attribute__((visibility("default"))) void glPointParameterfARB (GLenum, GLfloat); | |
5872 | __attribute__((visibility("default"))) void glPointParameterfvARB (GLenum, const GLfloat *); | |
5873 | ||
5874 | typedef void ( * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); | |
5875 | typedef void ( * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); | |
5876 | ||
5877 | ||
5878 | ||
5879 | ||
5880 | ||
5881 | __attribute__((visibility("default"))) void glWeightbvARB (GLint, const GLbyte *); | |
5882 | __attribute__((visibility("default"))) void glWeightsvARB (GLint, const GLshort *); | |
5883 | __attribute__((visibility("default"))) void glWeightivARB (GLint, const GLint *); | |
5884 | __attribute__((visibility("default"))) void glWeightfvARB (GLint, const GLfloat *); | |
5885 | __attribute__((visibility("default"))) void glWeightdvARB (GLint, const GLdouble *); | |
5886 | __attribute__((visibility("default"))) void glWeightubvARB (GLint, const GLubyte *); | |
5887 | __attribute__((visibility("default"))) void glWeightusvARB (GLint, const GLushort *); | |
5888 | __attribute__((visibility("default"))) void glWeightuivARB (GLint, const GLuint *); | |
5889 | __attribute__((visibility("default"))) void glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *); | |
5890 | __attribute__((visibility("default"))) void glVertexBlendARB (GLint); | |
5891 | ||
5892 | typedef void ( * PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); | |
5893 | typedef void ( * PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); | |
5894 | typedef void ( * PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); | |
5895 | typedef void ( * PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); | |
5896 | typedef void ( * PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); | |
5897 | typedef void ( * PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); | |
5898 | typedef void ( * PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); | |
5899 | typedef void ( * PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); | |
5900 | typedef void ( * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
5901 | typedef void ( * PFNGLVERTEXBLENDARBPROC) (GLint count); | |
5902 | ||
5903 | ||
5904 | ||
5905 | ||
5906 | ||
5907 | __attribute__((visibility("default"))) void glCurrentPaletteMatrixARB (GLint); | |
5908 | __attribute__((visibility("default"))) void glMatrixIndexubvARB (GLint, const GLubyte *); | |
5909 | __attribute__((visibility("default"))) void glMatrixIndexusvARB (GLint, const GLushort *); | |
5910 | __attribute__((visibility("default"))) void glMatrixIndexuivARB (GLint, const GLuint *); | |
5911 | __attribute__((visibility("default"))) void glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *); | |
5912 | ||
5913 | typedef void ( * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); | |
5914 | typedef void ( * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); | |
5915 | typedef void ( * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); | |
5916 | typedef void ( * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); | |
5917 | typedef void ( * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
5918 | # 4201 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
5919 | __attribute__((visibility("default"))) void glWindowPos2dARB (GLdouble, GLdouble); | |
5920 | __attribute__((visibility("default"))) void glWindowPos2dvARB (const GLdouble *); | |
5921 | __attribute__((visibility("default"))) void glWindowPos2fARB (GLfloat, GLfloat); | |
5922 | __attribute__((visibility("default"))) void glWindowPos2fvARB (const GLfloat *); | |
5923 | __attribute__((visibility("default"))) void glWindowPos2iARB (GLint, GLint); | |
5924 | __attribute__((visibility("default"))) void glWindowPos2ivARB (const GLint *); | |
5925 | __attribute__((visibility("default"))) void glWindowPos2sARB (GLshort, GLshort); | |
5926 | __attribute__((visibility("default"))) void glWindowPos2svARB (const GLshort *); | |
5927 | __attribute__((visibility("default"))) void glWindowPos3dARB (GLdouble, GLdouble, GLdouble); | |
5928 | __attribute__((visibility("default"))) void glWindowPos3dvARB (const GLdouble *); | |
5929 | __attribute__((visibility("default"))) void glWindowPos3fARB (GLfloat, GLfloat, GLfloat); | |
5930 | __attribute__((visibility("default"))) void glWindowPos3fvARB (const GLfloat *); | |
5931 | __attribute__((visibility("default"))) void glWindowPos3iARB (GLint, GLint, GLint); | |
5932 | __attribute__((visibility("default"))) void glWindowPos3ivARB (const GLint *); | |
5933 | __attribute__((visibility("default"))) void glWindowPos3sARB (GLshort, GLshort, GLshort); | |
5934 | __attribute__((visibility("default"))) void glWindowPos3svARB (const GLshort *); | |
5935 | ||
5936 | typedef void ( * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); | |
5937 | typedef void ( * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); | |
5938 | typedef void ( * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); | |
5939 | typedef void ( * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); | |
5940 | typedef void ( * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); | |
5941 | typedef void ( * PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); | |
5942 | typedef void ( * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); | |
5943 | typedef void ( * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); | |
5944 | typedef void ( * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); | |
5945 | typedef void ( * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); | |
5946 | typedef void ( * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); | |
5947 | typedef void ( * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); | |
5948 | typedef void ( * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); | |
5949 | typedef void ( * PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); | |
5950 | typedef void ( * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); | |
5951 | typedef void ( * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); | |
5952 | ||
5953 | ||
5954 | ||
5955 | ||
5956 | ||
5957 | __attribute__((visibility("default"))) void glVertexAttrib1dARB (GLuint, GLdouble); | |
5958 | __attribute__((visibility("default"))) void glVertexAttrib1dvARB (GLuint, const GLdouble *); | |
5959 | __attribute__((visibility("default"))) void glVertexAttrib1fARB (GLuint, GLfloat); | |
5960 | __attribute__((visibility("default"))) void glVertexAttrib1fvARB (GLuint, const GLfloat *); | |
5961 | __attribute__((visibility("default"))) void glVertexAttrib1sARB (GLuint, GLshort); | |
5962 | __attribute__((visibility("default"))) void glVertexAttrib1svARB (GLuint, const GLshort *); | |
5963 | __attribute__((visibility("default"))) void glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); | |
5964 | __attribute__((visibility("default"))) void glVertexAttrib2dvARB (GLuint, const GLdouble *); | |
5965 | __attribute__((visibility("default"))) void glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); | |
5966 | __attribute__((visibility("default"))) void glVertexAttrib2fvARB (GLuint, const GLfloat *); | |
5967 | __attribute__((visibility("default"))) void glVertexAttrib2sARB (GLuint, GLshort, GLshort); | |
5968 | __attribute__((visibility("default"))) void glVertexAttrib2svARB (GLuint, const GLshort *); | |
5969 | __attribute__((visibility("default"))) void glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble); | |
5970 | __attribute__((visibility("default"))) void glVertexAttrib3dvARB (GLuint, const GLdouble *); | |
5971 | __attribute__((visibility("default"))) void glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat); | |
5972 | __attribute__((visibility("default"))) void glVertexAttrib3fvARB (GLuint, const GLfloat *); | |
5973 | __attribute__((visibility("default"))) void glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort); | |
5974 | __attribute__((visibility("default"))) void glVertexAttrib3svARB (GLuint, const GLshort *); | |
5975 | __attribute__((visibility("default"))) void glVertexAttrib4NbvARB (GLuint, const GLbyte *); | |
5976 | __attribute__((visibility("default"))) void glVertexAttrib4NivARB (GLuint, const GLint *); | |
5977 | __attribute__((visibility("default"))) void glVertexAttrib4NsvARB (GLuint, const GLshort *); | |
5978 | __attribute__((visibility("default"))) void glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); | |
5979 | __attribute__((visibility("default"))) void glVertexAttrib4NubvARB (GLuint, const GLubyte *); | |
5980 | __attribute__((visibility("default"))) void glVertexAttrib4NuivARB (GLuint, const GLuint *); | |
5981 | __attribute__((visibility("default"))) void glVertexAttrib4NusvARB (GLuint, const GLushort *); | |
5982 | __attribute__((visibility("default"))) void glVertexAttrib4bvARB (GLuint, const GLbyte *); | |
5983 | __attribute__((visibility("default"))) void glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
5984 | __attribute__((visibility("default"))) void glVertexAttrib4dvARB (GLuint, const GLdouble *); | |
5985 | __attribute__((visibility("default"))) void glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
5986 | __attribute__((visibility("default"))) void glVertexAttrib4fvARB (GLuint, const GLfloat *); | |
5987 | __attribute__((visibility("default"))) void glVertexAttrib4ivARB (GLuint, const GLint *); | |
5988 | __attribute__((visibility("default"))) void glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort); | |
5989 | __attribute__((visibility("default"))) void glVertexAttrib4svARB (GLuint, const GLshort *); | |
5990 | __attribute__((visibility("default"))) void glVertexAttrib4ubvARB (GLuint, const GLubyte *); | |
5991 | __attribute__((visibility("default"))) void glVertexAttrib4uivARB (GLuint, const GLuint *); | |
5992 | __attribute__((visibility("default"))) void glVertexAttrib4usvARB (GLuint, const GLushort *); | |
5993 | __attribute__((visibility("default"))) void glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); | |
5994 | __attribute__((visibility("default"))) void glEnableVertexAttribArrayARB (GLuint); | |
5995 | __attribute__((visibility("default"))) void glDisableVertexAttribArrayARB (GLuint); | |
5996 | __attribute__((visibility("default"))) void glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *); | |
5997 | __attribute__((visibility("default"))) void glBindProgramARB (GLenum, GLuint); | |
5998 | __attribute__((visibility("default"))) void glDeleteProgramsARB (GLsizei, const GLuint *); | |
5999 | __attribute__((visibility("default"))) void glGenProgramsARB (GLsizei, GLuint *); | |
6000 | __attribute__((visibility("default"))) void glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
6001 | __attribute__((visibility("default"))) void glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *); | |
6002 | __attribute__((visibility("default"))) void glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
6003 | __attribute__((visibility("default"))) void glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *); | |
6004 | __attribute__((visibility("default"))) void glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
6005 | __attribute__((visibility("default"))) void glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *); | |
6006 | __attribute__((visibility("default"))) void glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
6007 | __attribute__((visibility("default"))) void glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *); | |
6008 | __attribute__((visibility("default"))) void glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *); | |
6009 | __attribute__((visibility("default"))) void glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *); | |
6010 | __attribute__((visibility("default"))) void glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *); | |
6011 | __attribute__((visibility("default"))) void glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *); | |
6012 | __attribute__((visibility("default"))) void glGetProgramivARB (GLenum, GLenum, GLint *); | |
6013 | __attribute__((visibility("default"))) void glGetProgramStringARB (GLenum, GLenum, GLvoid *); | |
6014 | __attribute__((visibility("default"))) void glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); | |
6015 | __attribute__((visibility("default"))) void glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); | |
6016 | __attribute__((visibility("default"))) void glGetVertexAttribivARB (GLuint, GLenum, GLint *); | |
6017 | __attribute__((visibility("default"))) void glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *); | |
6018 | __attribute__((visibility("default"))) GLboolean glIsProgramARB (GLuint); | |
6019 | ||
6020 | typedef void ( * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); | |
6021 | typedef void ( * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); | |
6022 | typedef void ( * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); | |
6023 | typedef void ( * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); | |
6024 | typedef void ( * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); | |
6025 | typedef void ( * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); | |
6026 | typedef void ( * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); | |
6027 | typedef void ( * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); | |
6028 | typedef void ( * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); | |
6029 | typedef void ( * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); | |
6030 | typedef void ( * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); | |
6031 | typedef void ( * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); | |
6032 | typedef void ( * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); | |
6033 | typedef void ( * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); | |
6034 | typedef void ( * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); | |
6035 | typedef void ( * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); | |
6036 | typedef void ( * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); | |
6037 | typedef void ( * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); | |
6038 | typedef void ( * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); | |
6039 | typedef void ( * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); | |
6040 | typedef void ( * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); | |
6041 | typedef void ( * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); | |
6042 | typedef void ( * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); | |
6043 | typedef void ( * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); | |
6044 | typedef void ( * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); | |
6045 | typedef void ( * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); | |
6046 | typedef void ( * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
6047 | typedef void ( * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); | |
6048 | typedef void ( * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
6049 | typedef void ( * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); | |
6050 | typedef void ( * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); | |
6051 | typedef void ( * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); | |
6052 | typedef void ( * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); | |
6053 | typedef void ( * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); | |
6054 | typedef void ( * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); | |
6055 | typedef void ( * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); | |
6056 | typedef void ( * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); | |
6057 | typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); | |
6058 | typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); | |
6059 | typedef void ( * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); | |
6060 | typedef void ( * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); | |
6061 | typedef void ( * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); | |
6062 | typedef void ( * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); | |
6063 | typedef void ( * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
6064 | typedef void ( * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); | |
6065 | typedef void ( * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
6066 | typedef void ( * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); | |
6067 | typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
6068 | typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); | |
6069 | typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
6070 | typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); | |
6071 | typedef void ( * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); | |
6072 | typedef void ( * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); | |
6073 | typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); | |
6074 | typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); | |
6075 | typedef void ( * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); | |
6076 | typedef void ( * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); | |
6077 | typedef void ( * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); | |
6078 | typedef void ( * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); | |
6079 | typedef void ( * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); | |
6080 | typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); | |
6081 | typedef GLboolean ( * PFNGLISPROGRAMARBPROC) (GLuint program); | |
6082 | # 4374 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6083 | __attribute__((visibility("default"))) void glBindBufferARB (GLenum, GLuint); | |
6084 | __attribute__((visibility("default"))) void glDeleteBuffersARB (GLsizei, const GLuint *); | |
6085 | __attribute__((visibility("default"))) void glGenBuffersARB (GLsizei, GLuint *); | |
6086 | __attribute__((visibility("default"))) GLboolean glIsBufferARB (GLuint); | |
6087 | __attribute__((visibility("default"))) void glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum); | |
6088 | __attribute__((visibility("default"))) void glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); | |
6089 | __attribute__((visibility("default"))) void glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); | |
6090 | __attribute__((visibility("default"))) GLvoid* glMapBufferARB (GLenum, GLenum); | |
6091 | __attribute__((visibility("default"))) GLboolean glUnmapBufferARB (GLenum); | |
6092 | __attribute__((visibility("default"))) void glGetBufferParameterivARB (GLenum, GLenum, GLint *); | |
6093 | __attribute__((visibility("default"))) void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); | |
6094 | ||
6095 | typedef void ( * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); | |
6096 | typedef void ( * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); | |
6097 | typedef void ( * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); | |
6098 | typedef GLboolean ( * PFNGLISBUFFERARBPROC) (GLuint buffer); | |
6099 | typedef void ( * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); | |
6100 | typedef void ( * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); | |
6101 | typedef void ( * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); | |
6102 | typedef GLvoid* ( * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); | |
6103 | typedef GLboolean ( * PFNGLUNMAPBUFFERARBPROC) (GLenum target); | |
6104 | typedef void ( * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); | |
6105 | typedef void ( * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); | |
6106 | ||
6107 | ||
6108 | ||
6109 | ||
6110 | ||
6111 | __attribute__((visibility("default"))) void glGenQueriesARB (GLsizei, GLuint *); | |
6112 | __attribute__((visibility("default"))) void glDeleteQueriesARB (GLsizei, const GLuint *); | |
6113 | __attribute__((visibility("default"))) GLboolean glIsQueryARB (GLuint); | |
6114 | __attribute__((visibility("default"))) void glBeginQueryARB (GLenum, GLuint); | |
6115 | __attribute__((visibility("default"))) void glEndQueryARB (GLenum); | |
6116 | __attribute__((visibility("default"))) void glGetQueryivARB (GLenum, GLenum, GLint *); | |
6117 | __attribute__((visibility("default"))) void glGetQueryObjectivARB (GLuint, GLenum, GLint *); | |
6118 | __attribute__((visibility("default"))) void glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); | |
6119 | ||
6120 | typedef void ( * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); | |
6121 | typedef void ( * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); | |
6122 | typedef GLboolean ( * PFNGLISQUERYARBPROC) (GLuint id); | |
6123 | typedef void ( * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); | |
6124 | typedef void ( * PFNGLENDQUERYARBPROC) (GLenum target); | |
6125 | typedef void ( * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); | |
6126 | typedef void ( * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); | |
6127 | typedef void ( * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); | |
6128 | ||
6129 | ||
6130 | ||
6131 | ||
6132 | ||
6133 | __attribute__((visibility("default"))) void glDeleteObjectARB (GLhandleARB); | |
6134 | __attribute__((visibility("default"))) GLhandleARB glGetHandleARB (GLenum); | |
6135 | __attribute__((visibility("default"))) void glDetachObjectARB (GLhandleARB, GLhandleARB); | |
6136 | __attribute__((visibility("default"))) GLhandleARB glCreateShaderObjectARB (GLenum); | |
6137 | __attribute__((visibility("default"))) void glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *); | |
6138 | __attribute__((visibility("default"))) void glCompileShaderARB (GLhandleARB); | |
6139 | __attribute__((visibility("default"))) GLhandleARB glCreateProgramObjectARB (void); | |
6140 | __attribute__((visibility("default"))) void glAttachObjectARB (GLhandleARB, GLhandleARB); | |
6141 | __attribute__((visibility("default"))) void glLinkProgramARB (GLhandleARB); | |
6142 | __attribute__((visibility("default"))) void glUseProgramObjectARB (GLhandleARB); | |
6143 | __attribute__((visibility("default"))) void glValidateProgramARB (GLhandleARB); | |
6144 | __attribute__((visibility("default"))) void glUniform1fARB (GLint, GLfloat); | |
6145 | __attribute__((visibility("default"))) void glUniform2fARB (GLint, GLfloat, GLfloat); | |
6146 | __attribute__((visibility("default"))) void glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); | |
6147 | __attribute__((visibility("default"))) void glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat); | |
6148 | __attribute__((visibility("default"))) void glUniform1iARB (GLint, GLint); | |
6149 | __attribute__((visibility("default"))) void glUniform2iARB (GLint, GLint, GLint); | |
6150 | __attribute__((visibility("default"))) void glUniform3iARB (GLint, GLint, GLint, GLint); | |
6151 | __attribute__((visibility("default"))) void glUniform4iARB (GLint, GLint, GLint, GLint, GLint); | |
6152 | __attribute__((visibility("default"))) void glUniform1fvARB (GLint, GLsizei, const GLfloat *); | |
6153 | __attribute__((visibility("default"))) void glUniform2fvARB (GLint, GLsizei, const GLfloat *); | |
6154 | __attribute__((visibility("default"))) void glUniform3fvARB (GLint, GLsizei, const GLfloat *); | |
6155 | __attribute__((visibility("default"))) void glUniform4fvARB (GLint, GLsizei, const GLfloat *); | |
6156 | __attribute__((visibility("default"))) void glUniform1ivARB (GLint, GLsizei, const GLint *); | |
6157 | __attribute__((visibility("default"))) void glUniform2ivARB (GLint, GLsizei, const GLint *); | |
6158 | __attribute__((visibility("default"))) void glUniform3ivARB (GLint, GLsizei, const GLint *); | |
6159 | __attribute__((visibility("default"))) void glUniform4ivARB (GLint, GLsizei, const GLint *); | |
6160 | __attribute__((visibility("default"))) void glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *); | |
6161 | __attribute__((visibility("default"))) void glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *); | |
6162 | __attribute__((visibility("default"))) void glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *); | |
6163 | __attribute__((visibility("default"))) void glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *); | |
6164 | __attribute__((visibility("default"))) void glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *); | |
6165 | __attribute__((visibility("default"))) void glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); | |
6166 | __attribute__((visibility("default"))) void glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); | |
6167 | __attribute__((visibility("default"))) GLint glGetUniformLocationARB (GLhandleARB, const GLcharARB *); | |
6168 | __attribute__((visibility("default"))) void glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); | |
6169 | __attribute__((visibility("default"))) void glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); | |
6170 | __attribute__((visibility("default"))) void glGetUniformivARB (GLhandleARB, GLint, GLint *); | |
6171 | __attribute__((visibility("default"))) void glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); | |
6172 | ||
6173 | typedef void ( * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); | |
6174 | typedef GLhandleARB ( * PFNGLGETHANDLEARBPROC) (GLenum pname); | |
6175 | typedef void ( * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); | |
6176 | typedef GLhandleARB ( * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); | |
6177 | typedef void ( * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); | |
6178 | typedef void ( * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); | |
6179 | typedef GLhandleARB ( * PFNGLCREATEPROGRAMOBJECTARBPROC) (void); | |
6180 | typedef void ( * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); | |
6181 | typedef void ( * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); | |
6182 | typedef void ( * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); | |
6183 | typedef void ( * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); | |
6184 | typedef void ( * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); | |
6185 | typedef void ( * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); | |
6186 | typedef void ( * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | |
6187 | typedef void ( * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | |
6188 | typedef void ( * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); | |
6189 | typedef void ( * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); | |
6190 | typedef void ( * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); | |
6191 | typedef void ( * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | |
6192 | typedef void ( * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); | |
6193 | typedef void ( * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); | |
6194 | typedef void ( * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); | |
6195 | typedef void ( * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); | |
6196 | typedef void ( * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); | |
6197 | typedef void ( * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); | |
6198 | typedef void ( * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); | |
6199 | typedef void ( * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); | |
6200 | typedef void ( * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
6201 | typedef void ( * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
6202 | typedef void ( * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
6203 | typedef void ( * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); | |
6204 | typedef void ( * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); | |
6205 | typedef void ( * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); | |
6206 | typedef void ( * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); | |
6207 | typedef GLint ( * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); | |
6208 | typedef void ( * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); | |
6209 | typedef void ( * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); | |
6210 | typedef void ( * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); | |
6211 | typedef void ( * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); | |
6212 | ||
6213 | ||
6214 | ||
6215 | ||
6216 | ||
6217 | __attribute__((visibility("default"))) void glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); | |
6218 | __attribute__((visibility("default"))) void glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); | |
6219 | __attribute__((visibility("default"))) GLint glGetAttribLocationARB (GLhandleARB, const GLcharARB *); | |
6220 | ||
6221 | typedef void ( * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); | |
6222 | typedef void ( * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); | |
6223 | typedef GLint ( * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); | |
6224 | # 4540 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6225 | __attribute__((visibility("default"))) void glDrawBuffersARB (GLsizei, const GLenum *); | |
6226 | ||
6227 | typedef void ( * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); | |
6228 | # 4552 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6229 | __attribute__((visibility("default"))) void glClampColorARB (GLenum, GLenum); | |
6230 | ||
6231 | typedef void ( * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); | |
6232 | # 4576 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6233 | __attribute__((visibility("default"))) void glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf); | |
6234 | ||
6235 | typedef void ( * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
6236 | ||
6237 | ||
6238 | ||
6239 | ||
6240 | ||
6241 | __attribute__((visibility("default"))) void glPolygonOffsetEXT (GLfloat, GLfloat); | |
6242 | ||
6243 | typedef void ( * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); | |
6244 | # 4596 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6245 | __attribute__((visibility("default"))) void glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); | |
6246 | __attribute__((visibility("default"))) void glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
6247 | ||
6248 | typedef void ( * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |
6249 | typedef void ( * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); | |
6250 | ||
6251 | ||
6252 | ||
6253 | ||
6254 | ||
6255 | __attribute__((visibility("default"))) void glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); | |
6256 | __attribute__((visibility("default"))) void glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *); | |
6257 | ||
6258 | typedef void ( * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); | |
6259 | typedef void ( * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); | |
6260 | ||
6261 | ||
6262 | ||
6263 | ||
6264 | ||
6265 | __attribute__((visibility("default"))) void glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); | |
6266 | __attribute__((visibility("default"))) void glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
6267 | ||
6268 | typedef void ( * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); | |
6269 | typedef void ( * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); | |
6270 | ||
6271 | ||
6272 | ||
6273 | ||
6274 | ||
6275 | __attribute__((visibility("default"))) void glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); | |
6276 | __attribute__((visibility("default"))) void glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); | |
6277 | __attribute__((visibility("default"))) void glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei); | |
6278 | __attribute__((visibility("default"))) void glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); | |
6279 | __attribute__((visibility("default"))) void glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); | |
6280 | ||
6281 | typedef void ( * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); | |
6282 | typedef void ( * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | |
6283 | typedef void ( * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); | |
6284 | typedef void ( * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
6285 | typedef void ( * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
6286 | ||
6287 | ||
6288 | ||
6289 | ||
6290 | ||
6291 | __attribute__((visibility("default"))) void glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); | |
6292 | __attribute__((visibility("default"))) void glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *); | |
6293 | __attribute__((visibility("default"))) void glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); | |
6294 | __attribute__((visibility("default"))) void glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); | |
6295 | __attribute__((visibility("default"))) void glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); | |
6296 | __attribute__((visibility("default"))) void glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); | |
6297 | __attribute__((visibility("default"))) void glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); | |
6298 | __attribute__((visibility("default"))) void glMinmaxEXT (GLenum, GLenum, GLboolean); | |
6299 | __attribute__((visibility("default"))) void glResetHistogramEXT (GLenum); | |
6300 | __attribute__((visibility("default"))) void glResetMinmaxEXT (GLenum); | |
6301 | ||
6302 | typedef void ( * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); | |
6303 | typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6304 | typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
6305 | typedef void ( * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); | |
6306 | typedef void ( * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6307 | typedef void ( * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
6308 | typedef void ( * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); | |
6309 | typedef void ( * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); | |
6310 | typedef void ( * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); | |
6311 | typedef void ( * PFNGLRESETMINMAXEXTPROC) (GLenum target); | |
6312 | ||
6313 | ||
6314 | ||
6315 | ||
6316 | ||
6317 | __attribute__((visibility("default"))) void glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); | |
6318 | __attribute__((visibility("default"))) void glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
6319 | __attribute__((visibility("default"))) void glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); | |
6320 | __attribute__((visibility("default"))) void glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *); | |
6321 | __attribute__((visibility("default"))) void glConvolutionParameteriEXT (GLenum, GLenum, GLint); | |
6322 | __attribute__((visibility("default"))) void glConvolutionParameterivEXT (GLenum, GLenum, const GLint *); | |
6323 | __attribute__((visibility("default"))) void glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei); | |
6324 | __attribute__((visibility("default"))) void glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); | |
6325 | __attribute__((visibility("default"))) void glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *); | |
6326 | __attribute__((visibility("default"))) void glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *); | |
6327 | __attribute__((visibility("default"))) void glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *); | |
6328 | __attribute__((visibility("default"))) void glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); | |
6329 | __attribute__((visibility("default"))) void glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); | |
6330 | ||
6331 | typedef void ( * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); | |
6332 | typedef void ( * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); | |
6333 | typedef void ( * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); | |
6334 | typedef void ( * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
6335 | typedef void ( * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); | |
6336 | typedef void ( * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); | |
6337 | typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
6338 | typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); | |
6339 | typedef void ( * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); | |
6340 | typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6341 | typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
6342 | typedef void ( * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); | |
6343 | typedef void ( * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); | |
6344 | # 4704 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6345 | __attribute__((visibility("default"))) void glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); | |
6346 | __attribute__((visibility("default"))) void glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); | |
6347 | __attribute__((visibility("default"))) void glColorTableParameterivSGI (GLenum, GLenum, const GLint *); | |
6348 | __attribute__((visibility("default"))) void glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); | |
6349 | __attribute__((visibility("default"))) void glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); | |
6350 | __attribute__((visibility("default"))) void glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); | |
6351 | __attribute__((visibility("default"))) void glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); | |
6352 | ||
6353 | typedef void ( * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); | |
6354 | typedef void ( * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
6355 | typedef void ( * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); | |
6356 | typedef void ( * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
6357 | typedef void ( * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); | |
6358 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6359 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); | |
6360 | ||
6361 | ||
6362 | ||
6363 | ||
6364 | ||
6365 | __attribute__((visibility("default"))) void glPixelTexGenSGIX (GLenum); | |
6366 | ||
6367 | typedef void ( * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); | |
6368 | ||
6369 | ||
6370 | ||
6371 | ||
6372 | ||
6373 | __attribute__((visibility("default"))) void glPixelTexGenParameteriSGIS (GLenum, GLint); | |
6374 | __attribute__((visibility("default"))) void glPixelTexGenParameterivSGIS (GLenum, const GLint *); | |
6375 | __attribute__((visibility("default"))) void glPixelTexGenParameterfSGIS (GLenum, GLfloat); | |
6376 | __attribute__((visibility("default"))) void glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); | |
6377 | __attribute__((visibility("default"))) void glGetPixelTexGenParameterivSGIS (GLenum, GLint *); | |
6378 | __attribute__((visibility("default"))) void glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); | |
6379 | ||
6380 | typedef void ( * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); | |
6381 | typedef void ( * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); | |
6382 | typedef void ( * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); | |
6383 | typedef void ( * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); | |
6384 | typedef void ( * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); | |
6385 | typedef void ( * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); | |
6386 | ||
6387 | ||
6388 | ||
6389 | ||
6390 | ||
6391 | __attribute__((visibility("default"))) void glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); | |
6392 | __attribute__((visibility("default"))) void glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
6393 | ||
6394 | typedef void ( * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |
6395 | typedef void ( * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); | |
6396 | # 4768 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6397 | __attribute__((visibility("default"))) GLboolean glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *); | |
6398 | __attribute__((visibility("default"))) void glBindTextureEXT (GLenum, GLuint); | |
6399 | __attribute__((visibility("default"))) void glDeleteTexturesEXT (GLsizei, const GLuint *); | |
6400 | __attribute__((visibility("default"))) void glGenTexturesEXT (GLsizei, GLuint *); | |
6401 | __attribute__((visibility("default"))) GLboolean glIsTextureEXT (GLuint); | |
6402 | __attribute__((visibility("default"))) void glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *); | |
6403 | ||
6404 | typedef GLboolean ( * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); | |
6405 | typedef void ( * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); | |
6406 | typedef void ( * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); | |
6407 | typedef void ( * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); | |
6408 | typedef GLboolean ( * PFNGLISTEXTUREEXTPROC) (GLuint texture); | |
6409 | typedef void ( * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); | |
6410 | ||
6411 | ||
6412 | ||
6413 | ||
6414 | ||
6415 | __attribute__((visibility("default"))) void glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); | |
6416 | __attribute__((visibility("default"))) void glGetDetailTexFuncSGIS (GLenum, GLfloat *); | |
6417 | ||
6418 | typedef void ( * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); | |
6419 | typedef void ( * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); | |
6420 | ||
6421 | ||
6422 | ||
6423 | ||
6424 | ||
6425 | __attribute__((visibility("default"))) void glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *); | |
6426 | __attribute__((visibility("default"))) void glGetSharpenTexFuncSGIS (GLenum, GLfloat *); | |
6427 | ||
6428 | typedef void ( * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); | |
6429 | typedef void ( * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); | |
6430 | # 4814 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6431 | __attribute__((visibility("default"))) void glSampleMaskSGIS (GLclampf, GLboolean); | |
6432 | __attribute__((visibility("default"))) void glSamplePatternSGIS (GLenum); | |
6433 | ||
6434 | typedef void ( * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); | |
6435 | typedef void ( * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); | |
6436 | # 4828 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6437 | __attribute__((visibility("default"))) void glArrayElementEXT (GLint); | |
6438 | __attribute__((visibility("default"))) void glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); | |
6439 | __attribute__((visibility("default"))) void glDrawArraysEXT (GLenum, GLint, GLsizei); | |
6440 | __attribute__((visibility("default"))) void glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *); | |
6441 | __attribute__((visibility("default"))) void glGetPointervEXT (GLenum, GLvoid* *); | |
6442 | __attribute__((visibility("default"))) void glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); | |
6443 | __attribute__((visibility("default"))) void glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); | |
6444 | __attribute__((visibility("default"))) void glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); | |
6445 | __attribute__((visibility("default"))) void glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); | |
6446 | ||
6447 | typedef void ( * PFNGLARRAYELEMENTEXTPROC) (GLint i); | |
6448 | typedef void ( * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); | |
6449 | typedef void ( * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); | |
6450 | typedef void ( * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); | |
6451 | typedef void ( * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); | |
6452 | typedef void ( * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); | |
6453 | typedef void ( * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); | |
6454 | typedef void ( * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); | |
6455 | typedef void ( * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); | |
6456 | # 4876 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6457 | __attribute__((visibility("default"))) void glBlendEquationEXT (GLenum); | |
6458 | ||
6459 | typedef void ( * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); | |
6460 | # 4904 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6461 | __attribute__((visibility("default"))) void glSpriteParameterfSGIX (GLenum, GLfloat); | |
6462 | __attribute__((visibility("default"))) void glSpriteParameterfvSGIX (GLenum, const GLfloat *); | |
6463 | __attribute__((visibility("default"))) void glSpriteParameteriSGIX (GLenum, GLint); | |
6464 | __attribute__((visibility("default"))) void glSpriteParameterivSGIX (GLenum, const GLint *); | |
6465 | ||
6466 | typedef void ( * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); | |
6467 | typedef void ( * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); | |
6468 | typedef void ( * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); | |
6469 | typedef void ( * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); | |
6470 | # 4922 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6471 | __attribute__((visibility("default"))) void glPointParameterfEXT (GLenum, GLfloat); | |
6472 | __attribute__((visibility("default"))) void glPointParameterfvEXT (GLenum, const GLfloat *); | |
6473 | ||
6474 | typedef void ( * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); | |
6475 | typedef void ( * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); | |
6476 | ||
6477 | ||
6478 | ||
6479 | ||
6480 | ||
6481 | __attribute__((visibility("default"))) void glPointParameterfSGIS (GLenum, GLfloat); | |
6482 | __attribute__((visibility("default"))) void glPointParameterfvSGIS (GLenum, const GLfloat *); | |
6483 | ||
6484 | typedef void ( * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); | |
6485 | typedef void ( * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); | |
6486 | ||
6487 | ||
6488 | ||
6489 | ||
6490 | ||
6491 | __attribute__((visibility("default"))) GLint glGetInstrumentsSGIX (void); | |
6492 | __attribute__((visibility("default"))) void glInstrumentsBufferSGIX (GLsizei, GLint *); | |
6493 | __attribute__((visibility("default"))) GLint glPollInstrumentsSGIX (GLint *); | |
6494 | __attribute__((visibility("default"))) void glReadInstrumentsSGIX (GLint); | |
6495 | __attribute__((visibility("default"))) void glStartInstrumentsSGIX (void); | |
6496 | __attribute__((visibility("default"))) void glStopInstrumentsSGIX (GLint); | |
6497 | ||
6498 | typedef GLint ( * PFNGLGETINSTRUMENTSSGIXPROC) (void); | |
6499 | typedef void ( * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); | |
6500 | typedef GLint ( * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); | |
6501 | typedef void ( * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); | |
6502 | typedef void ( * PFNGLSTARTINSTRUMENTSSGIXPROC) (void); | |
6503 | typedef void ( * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); | |
6504 | # 4964 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6505 | __attribute__((visibility("default"))) void glFrameZoomSGIX (GLint); | |
6506 | ||
6507 | typedef void ( * PFNGLFRAMEZOOMSGIXPROC) (GLint factor); | |
6508 | ||
6509 | ||
6510 | ||
6511 | ||
6512 | ||
6513 | __attribute__((visibility("default"))) void glTagSampleBufferSGIX (void); | |
6514 | ||
6515 | typedef void ( * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); | |
6516 | ||
6517 | ||
6518 | ||
6519 | ||
6520 | ||
6521 | __attribute__((visibility("default"))) void glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); | |
6522 | __attribute__((visibility("default"))) void glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); | |
6523 | __attribute__((visibility("default"))) void glDeformSGIX (GLbitfield); | |
6524 | __attribute__((visibility("default"))) void glLoadIdentityDeformationMapSGIX (GLbitfield); | |
6525 | ||
6526 | typedef void ( * PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); | |
6527 | typedef void ( * PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); | |
6528 | typedef void ( * PFNGLDEFORMSGIXPROC) (GLbitfield mask); | |
6529 | typedef void ( * PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); | |
6530 | ||
6531 | ||
6532 | ||
6533 | ||
6534 | ||
6535 | __attribute__((visibility("default"))) void glReferencePlaneSGIX (const GLdouble *); | |
6536 | ||
6537 | typedef void ( * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); | |
6538 | ||
6539 | ||
6540 | ||
6541 | ||
6542 | ||
6543 | __attribute__((visibility("default"))) void glFlushRasterSGIX (void); | |
6544 | ||
6545 | typedef void ( * PFNGLFLUSHRASTERSGIXPROC) (void); | |
6546 | # 5014 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6547 | __attribute__((visibility("default"))) void glFogFuncSGIS (GLsizei, const GLfloat *); | |
6548 | __attribute__((visibility("default"))) void glGetFogFuncSGIS (GLfloat *); | |
6549 | ||
6550 | typedef void ( * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); | |
6551 | typedef void ( * PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); | |
6552 | # 5028 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6553 | __attribute__((visibility("default"))) void glImageTransformParameteriHP (GLenum, GLenum, GLint); | |
6554 | __attribute__((visibility("default"))) void glImageTransformParameterfHP (GLenum, GLenum, GLfloat); | |
6555 | __attribute__((visibility("default"))) void glImageTransformParameterivHP (GLenum, GLenum, const GLint *); | |
6556 | __attribute__((visibility("default"))) void glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *); | |
6557 | __attribute__((visibility("default"))) void glGetImageTransformParameterivHP (GLenum, GLenum, GLint *); | |
6558 | __attribute__((visibility("default"))) void glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *); | |
6559 | ||
6560 | typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); | |
6561 | typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); | |
6562 | typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); | |
6563 | typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
6564 | typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); | |
6565 | typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6566 | # 5054 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6567 | __attribute__((visibility("default"))) void glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
6568 | __attribute__((visibility("default"))) void glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei); | |
6569 | ||
6570 | typedef void ( * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); | |
6571 | typedef void ( * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); | |
6572 | # 5068 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6573 | __attribute__((visibility("default"))) void glHintPGI (GLenum, GLint); | |
6574 | ||
6575 | typedef void ( * PFNGLHINTPGIPROC) (GLenum target, GLint mode); | |
6576 | ||
6577 | ||
6578 | ||
6579 | ||
6580 | ||
6581 | __attribute__((visibility("default"))) void glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); | |
6582 | __attribute__((visibility("default"))) void glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); | |
6583 | __attribute__((visibility("default"))) void glGetColorTableParameterivEXT (GLenum, GLenum, GLint *); | |
6584 | __attribute__((visibility("default"))) void glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *); | |
6585 | ||
6586 | typedef void ( * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); | |
6587 | typedef void ( * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); | |
6588 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
6589 | typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); | |
6590 | # 5094 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6591 | __attribute__((visibility("default"))) void glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); | |
6592 | __attribute__((visibility("default"))) void glGetListParameterivSGIX (GLuint, GLenum, GLint *); | |
6593 | __attribute__((visibility("default"))) void glListParameterfSGIX (GLuint, GLenum, GLfloat); | |
6594 | __attribute__((visibility("default"))) void glListParameterfvSGIX (GLuint, GLenum, const GLfloat *); | |
6595 | __attribute__((visibility("default"))) void glListParameteriSGIX (GLuint, GLenum, GLint); | |
6596 | __attribute__((visibility("default"))) void glListParameterivSGIX (GLuint, GLenum, const GLint *); | |
6597 | ||
6598 | typedef void ( * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); | |
6599 | typedef void ( * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); | |
6600 | typedef void ( * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); | |
6601 | typedef void ( * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); | |
6602 | typedef void ( * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); | |
6603 | typedef void ( * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); | |
6604 | # 5132 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6605 | __attribute__((visibility("default"))) void glIndexMaterialEXT (GLenum, GLenum); | |
6606 | ||
6607 | typedef void ( * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); | |
6608 | ||
6609 | ||
6610 | ||
6611 | ||
6612 | ||
6613 | __attribute__((visibility("default"))) void glIndexFuncEXT (GLenum, GLclampf); | |
6614 | ||
6615 | typedef void ( * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); | |
6616 | # 5152 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6617 | __attribute__((visibility("default"))) void glLockArraysEXT (GLint, GLsizei); | |
6618 | __attribute__((visibility("default"))) void glUnlockArraysEXT (void); | |
6619 | ||
6620 | typedef void ( * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); | |
6621 | typedef void ( * PFNGLUNLOCKARRAYSEXTPROC) (void); | |
6622 | ||
6623 | ||
6624 | ||
6625 | ||
6626 | ||
6627 | __attribute__((visibility("default"))) void glCullParameterdvEXT (GLenum, GLdouble *); | |
6628 | __attribute__((visibility("default"))) void glCullParameterfvEXT (GLenum, GLfloat *); | |
6629 | ||
6630 | typedef void ( * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); | |
6631 | typedef void ( * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); | |
6632 | # 5176 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6633 | __attribute__((visibility("default"))) void glFragmentColorMaterialSGIX (GLenum, GLenum); | |
6634 | __attribute__((visibility("default"))) void glFragmentLightfSGIX (GLenum, GLenum, GLfloat); | |
6635 | __attribute__((visibility("default"))) void glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *); | |
6636 | __attribute__((visibility("default"))) void glFragmentLightiSGIX (GLenum, GLenum, GLint); | |
6637 | __attribute__((visibility("default"))) void glFragmentLightivSGIX (GLenum, GLenum, const GLint *); | |
6638 | __attribute__((visibility("default"))) void glFragmentLightModelfSGIX (GLenum, GLfloat); | |
6639 | __attribute__((visibility("default"))) void glFragmentLightModelfvSGIX (GLenum, const GLfloat *); | |
6640 | __attribute__((visibility("default"))) void glFragmentLightModeliSGIX (GLenum, GLint); | |
6641 | __attribute__((visibility("default"))) void glFragmentLightModelivSGIX (GLenum, const GLint *); | |
6642 | __attribute__((visibility("default"))) void glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); | |
6643 | __attribute__((visibility("default"))) void glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *); | |
6644 | __attribute__((visibility("default"))) void glFragmentMaterialiSGIX (GLenum, GLenum, GLint); | |
6645 | __attribute__((visibility("default"))) void glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *); | |
6646 | __attribute__((visibility("default"))) void glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); | |
6647 | __attribute__((visibility("default"))) void glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); | |
6648 | __attribute__((visibility("default"))) void glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *); | |
6649 | __attribute__((visibility("default"))) void glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); | |
6650 | __attribute__((visibility("default"))) void glLightEnviSGIX (GLenum, GLint); | |
6651 | ||
6652 | typedef void ( * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); | |
6653 | typedef void ( * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); | |
6654 | typedef void ( * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); | |
6655 | typedef void ( * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); | |
6656 | typedef void ( * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); | |
6657 | typedef void ( * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); | |
6658 | typedef void ( * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); | |
6659 | typedef void ( * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); | |
6660 | typedef void ( * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); | |
6661 | typedef void ( * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); | |
6662 | typedef void ( * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); | |
6663 | typedef void ( * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); | |
6664 | typedef void ( * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); | |
6665 | typedef void ( * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); | |
6666 | typedef void ( * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); | |
6667 | typedef void ( * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); | |
6668 | typedef void ( * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); | |
6669 | typedef void ( * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); | |
6670 | # 5226 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6671 | __attribute__((visibility("default"))) void glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); | |
6672 | ||
6673 | typedef void ( * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); | |
6674 | # 5242 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6675 | __attribute__((visibility("default"))) void glApplyTextureEXT (GLenum); | |
6676 | __attribute__((visibility("default"))) void glTextureLightEXT (GLenum); | |
6677 | __attribute__((visibility("default"))) void glTextureMaterialEXT (GLenum, GLenum); | |
6678 | ||
6679 | typedef void ( * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); | |
6680 | typedef void ( * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); | |
6681 | typedef void ( * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); | |
6682 | # 5262 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6683 | __attribute__((visibility("default"))) void glAsyncMarkerSGIX (GLuint); | |
6684 | __attribute__((visibility("default"))) GLint glFinishAsyncSGIX (GLuint *); | |
6685 | __attribute__((visibility("default"))) GLint glPollAsyncSGIX (GLuint *); | |
6686 | __attribute__((visibility("default"))) GLuint glGenAsyncMarkersSGIX (GLsizei); | |
6687 | __attribute__((visibility("default"))) void glDeleteAsyncMarkersSGIX (GLuint, GLsizei); | |
6688 | __attribute__((visibility("default"))) GLboolean glIsAsyncMarkerSGIX (GLuint); | |
6689 | ||
6690 | typedef void ( * PFNGLASYNCMARKERSGIXPROC) (GLuint marker); | |
6691 | typedef GLint ( * PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); | |
6692 | typedef GLint ( * PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); | |
6693 | typedef GLuint ( * PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); | |
6694 | typedef void ( * PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); | |
6695 | typedef GLboolean ( * PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); | |
6696 | # 5288 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6697 | __attribute__((visibility("default"))) void glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); | |
6698 | __attribute__((visibility("default"))) void glNormalPointervINTEL (GLenum, const GLvoid* *); | |
6699 | __attribute__((visibility("default"))) void glColorPointervINTEL (GLint, GLenum, const GLvoid* *); | |
6700 | __attribute__((visibility("default"))) void glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *); | |
6701 | ||
6702 | typedef void ( * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); | |
6703 | typedef void ( * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); | |
6704 | typedef void ( * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); | |
6705 | typedef void ( * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); | |
6706 | # 5306 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6707 | __attribute__((visibility("default"))) void glPixelTransformParameteriEXT (GLenum, GLenum, GLint); | |
6708 | __attribute__((visibility("default"))) void glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat); | |
6709 | __attribute__((visibility("default"))) void glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *); | |
6710 | __attribute__((visibility("default"))) void glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *); | |
6711 | ||
6712 | typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); | |
6713 | typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); | |
6714 | typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); | |
6715 | typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
6716 | # 5332 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6717 | __attribute__((visibility("default"))) void glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); | |
6718 | __attribute__((visibility("default"))) void glSecondaryColor3bvEXT (const GLbyte *); | |
6719 | __attribute__((visibility("default"))) void glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); | |
6720 | __attribute__((visibility("default"))) void glSecondaryColor3dvEXT (const GLdouble *); | |
6721 | __attribute__((visibility("default"))) void glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); | |
6722 | __attribute__((visibility("default"))) void glSecondaryColor3fvEXT (const GLfloat *); | |
6723 | __attribute__((visibility("default"))) void glSecondaryColor3iEXT (GLint, GLint, GLint); | |
6724 | __attribute__((visibility("default"))) void glSecondaryColor3ivEXT (const GLint *); | |
6725 | __attribute__((visibility("default"))) void glSecondaryColor3sEXT (GLshort, GLshort, GLshort); | |
6726 | __attribute__((visibility("default"))) void glSecondaryColor3svEXT (const GLshort *); | |
6727 | __attribute__((visibility("default"))) void glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); | |
6728 | __attribute__((visibility("default"))) void glSecondaryColor3ubvEXT (const GLubyte *); | |
6729 | __attribute__((visibility("default"))) void glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); | |
6730 | __attribute__((visibility("default"))) void glSecondaryColor3uivEXT (const GLuint *); | |
6731 | __attribute__((visibility("default"))) void glSecondaryColor3usEXT (GLushort, GLushort, GLushort); | |
6732 | __attribute__((visibility("default"))) void glSecondaryColor3usvEXT (const GLushort *); | |
6733 | __attribute__((visibility("default"))) void glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); | |
6734 | ||
6735 | typedef void ( * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); | |
6736 | typedef void ( * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); | |
6737 | typedef void ( * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); | |
6738 | typedef void ( * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); | |
6739 | typedef void ( * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); | |
6740 | typedef void ( * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); | |
6741 | typedef void ( * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); | |
6742 | typedef void ( * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); | |
6743 | typedef void ( * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); | |
6744 | typedef void ( * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); | |
6745 | typedef void ( * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); | |
6746 | typedef void ( * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); | |
6747 | typedef void ( * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); | |
6748 | typedef void ( * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); | |
6749 | typedef void ( * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); | |
6750 | typedef void ( * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); | |
6751 | typedef void ( * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
6752 | ||
6753 | ||
6754 | ||
6755 | ||
6756 | ||
6757 | __attribute__((visibility("default"))) void glTextureNormalEXT (GLenum); | |
6758 | ||
6759 | typedef void ( * PFNGLTEXTURENORMALEXTPROC) (GLenum mode); | |
6760 | ||
6761 | ||
6762 | ||
6763 | ||
6764 | ||
6765 | __attribute__((visibility("default"))) void glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei); | |
6766 | __attribute__((visibility("default"))) void glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); | |
6767 | ||
6768 | typedef void ( * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); | |
6769 | typedef void ( * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); | |
6770 | ||
6771 | ||
6772 | ||
6773 | ||
6774 | ||
6775 | __attribute__((visibility("default"))) void glFogCoordfEXT (GLfloat); | |
6776 | __attribute__((visibility("default"))) void glFogCoordfvEXT (const GLfloat *); | |
6777 | __attribute__((visibility("default"))) void glFogCoorddEXT (GLdouble); | |
6778 | __attribute__((visibility("default"))) void glFogCoorddvEXT (const GLdouble *); | |
6779 | __attribute__((visibility("default"))) void glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); | |
6780 | ||
6781 | typedef void ( * PFNGLFOGCOORDFEXTPROC) (GLfloat coord); | |
6782 | typedef void ( * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); | |
6783 | typedef void ( * PFNGLFOGCOORDDEXTPROC) (GLdouble coord); | |
6784 | typedef void ( * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); | |
6785 | typedef void ( * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); | |
6786 | # 5410 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6787 | __attribute__((visibility("default"))) void glTangent3bEXT (GLbyte, GLbyte, GLbyte); | |
6788 | __attribute__((visibility("default"))) void glTangent3bvEXT (const GLbyte *); | |
6789 | __attribute__((visibility("default"))) void glTangent3dEXT (GLdouble, GLdouble, GLdouble); | |
6790 | __attribute__((visibility("default"))) void glTangent3dvEXT (const GLdouble *); | |
6791 | __attribute__((visibility("default"))) void glTangent3fEXT (GLfloat, GLfloat, GLfloat); | |
6792 | __attribute__((visibility("default"))) void glTangent3fvEXT (const GLfloat *); | |
6793 | __attribute__((visibility("default"))) void glTangent3iEXT (GLint, GLint, GLint); | |
6794 | __attribute__((visibility("default"))) void glTangent3ivEXT (const GLint *); | |
6795 | __attribute__((visibility("default"))) void glTangent3sEXT (GLshort, GLshort, GLshort); | |
6796 | __attribute__((visibility("default"))) void glTangent3svEXT (const GLshort *); | |
6797 | __attribute__((visibility("default"))) void glBinormal3bEXT (GLbyte, GLbyte, GLbyte); | |
6798 | __attribute__((visibility("default"))) void glBinormal3bvEXT (const GLbyte *); | |
6799 | __attribute__((visibility("default"))) void glBinormal3dEXT (GLdouble, GLdouble, GLdouble); | |
6800 | __attribute__((visibility("default"))) void glBinormal3dvEXT (const GLdouble *); | |
6801 | __attribute__((visibility("default"))) void glBinormal3fEXT (GLfloat, GLfloat, GLfloat); | |
6802 | __attribute__((visibility("default"))) void glBinormal3fvEXT (const GLfloat *); | |
6803 | __attribute__((visibility("default"))) void glBinormal3iEXT (GLint, GLint, GLint); | |
6804 | __attribute__((visibility("default"))) void glBinormal3ivEXT (const GLint *); | |
6805 | __attribute__((visibility("default"))) void glBinormal3sEXT (GLshort, GLshort, GLshort); | |
6806 | __attribute__((visibility("default"))) void glBinormal3svEXT (const GLshort *); | |
6807 | __attribute__((visibility("default"))) void glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); | |
6808 | __attribute__((visibility("default"))) void glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); | |
6809 | ||
6810 | typedef void ( * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); | |
6811 | typedef void ( * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); | |
6812 | typedef void ( * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); | |
6813 | typedef void ( * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); | |
6814 | typedef void ( * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); | |
6815 | typedef void ( * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); | |
6816 | typedef void ( * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); | |
6817 | typedef void ( * PFNGLTANGENT3IVEXTPROC) (const GLint *v); | |
6818 | typedef void ( * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); | |
6819 | typedef void ( * PFNGLTANGENT3SVEXTPROC) (const GLshort *v); | |
6820 | typedef void ( * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); | |
6821 | typedef void ( * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); | |
6822 | typedef void ( * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); | |
6823 | typedef void ( * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); | |
6824 | typedef void ( * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); | |
6825 | typedef void ( * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); | |
6826 | typedef void ( * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); | |
6827 | typedef void ( * PFNGLBINORMAL3IVEXTPROC) (const GLint *v); | |
6828 | typedef void ( * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); | |
6829 | typedef void ( * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); | |
6830 | typedef void ( * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); | |
6831 | typedef void ( * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); | |
6832 | # 5476 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6833 | __attribute__((visibility("default"))) void glFinishTextureSUNX (void); | |
6834 | ||
6835 | typedef void ( * PFNGLFINISHTEXTURESUNXPROC) (void); | |
6836 | ||
6837 | ||
6838 | ||
6839 | ||
6840 | ||
6841 | __attribute__((visibility("default"))) void glGlobalAlphaFactorbSUN (GLbyte); | |
6842 | __attribute__((visibility("default"))) void glGlobalAlphaFactorsSUN (GLshort); | |
6843 | __attribute__((visibility("default"))) void glGlobalAlphaFactoriSUN (GLint); | |
6844 | __attribute__((visibility("default"))) void glGlobalAlphaFactorfSUN (GLfloat); | |
6845 | __attribute__((visibility("default"))) void glGlobalAlphaFactordSUN (GLdouble); | |
6846 | __attribute__((visibility("default"))) void glGlobalAlphaFactorubSUN (GLubyte); | |
6847 | __attribute__((visibility("default"))) void glGlobalAlphaFactorusSUN (GLushort); | |
6848 | __attribute__((visibility("default"))) void glGlobalAlphaFactoruiSUN (GLuint); | |
6849 | ||
6850 | typedef void ( * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); | |
6851 | typedef void ( * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); | |
6852 | typedef void ( * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); | |
6853 | typedef void ( * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); | |
6854 | typedef void ( * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); | |
6855 | typedef void ( * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); | |
6856 | typedef void ( * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); | |
6857 | typedef void ( * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); | |
6858 | ||
6859 | ||
6860 | ||
6861 | ||
6862 | ||
6863 | __attribute__((visibility("default"))) void glReplacementCodeuiSUN (GLuint); | |
6864 | __attribute__((visibility("default"))) void glReplacementCodeusSUN (GLushort); | |
6865 | __attribute__((visibility("default"))) void glReplacementCodeubSUN (GLubyte); | |
6866 | __attribute__((visibility("default"))) void glReplacementCodeuivSUN (const GLuint *); | |
6867 | __attribute__((visibility("default"))) void glReplacementCodeusvSUN (const GLushort *); | |
6868 | __attribute__((visibility("default"))) void glReplacementCodeubvSUN (const GLubyte *); | |
6869 | __attribute__((visibility("default"))) void glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *); | |
6870 | ||
6871 | typedef void ( * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); | |
6872 | typedef void ( * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); | |
6873 | typedef void ( * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); | |
6874 | typedef void ( * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); | |
6875 | typedef void ( * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); | |
6876 | typedef void ( * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); | |
6877 | typedef void ( * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); | |
6878 | ||
6879 | ||
6880 | ||
6881 | ||
6882 | ||
6883 | __attribute__((visibility("default"))) void glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat); | |
6884 | __attribute__((visibility("default"))) void glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *); | |
6885 | __attribute__((visibility("default"))) void glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); | |
6886 | __attribute__((visibility("default"))) void glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *); | |
6887 | __attribute__((visibility("default"))) void glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6888 | __attribute__((visibility("default"))) void glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *); | |
6889 | __attribute__((visibility("default"))) void glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6890 | __attribute__((visibility("default"))) void glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *); | |
6891 | __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6892 | __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); | |
6893 | __attribute__((visibility("default"))) void glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6894 | __attribute__((visibility("default"))) void glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *); | |
6895 | __attribute__((visibility("default"))) void glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6896 | __attribute__((visibility("default"))) void glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *); | |
6897 | __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); | |
6898 | __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *); | |
6899 | __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6900 | __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); | |
6901 | __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6902 | __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); | |
6903 | __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6904 | __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); | |
6905 | __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6906 | __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); | |
6907 | __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat); | |
6908 | __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *); | |
6909 | __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); | |
6910 | __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *); | |
6911 | __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6912 | __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); | |
6913 | __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6914 | __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); | |
6915 | __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6916 | __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); | |
6917 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6918 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); | |
6919 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6920 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); | |
6921 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); | |
6922 | __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); | |
6923 | ||
6924 | typedef void ( * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); | |
6925 | typedef void ( * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); | |
6926 | typedef void ( * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); | |
6927 | typedef void ( * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); | |
6928 | typedef void ( * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); | |
6929 | typedef void ( * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); | |
6930 | typedef void ( * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6931 | typedef void ( * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); | |
6932 | typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6933 | typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); | |
6934 | typedef void ( * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); | |
6935 | typedef void ( * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); | |
6936 | typedef void ( * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
6937 | typedef void ( * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); | |
6938 | typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); | |
6939 | typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); | |
6940 | typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); | |
6941 | typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); | |
6942 | typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6943 | typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); | |
6944 | typedef void ( * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6945 | typedef void ( * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); | |
6946 | typedef void ( * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
6947 | typedef void ( * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); | |
6948 | typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); | |
6949 | typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); | |
6950 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); | |
6951 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); | |
6952 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); | |
6953 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); | |
6954 | typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6955 | typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); | |
6956 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6957 | typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); | |
6958 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); | |
6959 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); | |
6960 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6961 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); | |
6962 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); | |
6963 | typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); | |
6964 | ||
6965 | ||
6966 | ||
6967 | ||
6968 | ||
6969 | __attribute__((visibility("default"))) void glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum); | |
6970 | ||
6971 | typedef void ( * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
6972 | ||
6973 | ||
6974 | ||
6975 | ||
6976 | ||
6977 | __attribute__((visibility("default"))) void glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum); | |
6978 | ||
6979 | typedef void ( * PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
6980 | # 5664 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6981 | __attribute__((visibility("default"))) void glVertexWeightfEXT (GLfloat); | |
6982 | __attribute__((visibility("default"))) void glVertexWeightfvEXT (const GLfloat *); | |
6983 | __attribute__((visibility("default"))) void glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *); | |
6984 | ||
6985 | typedef void ( * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); | |
6986 | typedef void ( * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); | |
6987 | typedef void ( * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
6988 | # 5680 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
6989 | __attribute__((visibility("default"))) void glFlushVertexArrayRangeNV (void); | |
6990 | __attribute__((visibility("default"))) void glVertexArrayRangeNV (GLsizei, const GLvoid *); | |
6991 | ||
6992 | typedef void ( * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); | |
6993 | typedef void ( * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); | |
6994 | ||
6995 | ||
6996 | ||
6997 | ||
6998 | ||
6999 | __attribute__((visibility("default"))) void glCombinerParameterfvNV (GLenum, const GLfloat *); | |
7000 | __attribute__((visibility("default"))) void glCombinerParameterfNV (GLenum, GLfloat); | |
7001 | __attribute__((visibility("default"))) void glCombinerParameterivNV (GLenum, const GLint *); | |
7002 | __attribute__((visibility("default"))) void glCombinerParameteriNV (GLenum, GLint); | |
7003 | __attribute__((visibility("default"))) void glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); | |
7004 | __attribute__((visibility("default"))) void glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); | |
7005 | __attribute__((visibility("default"))) void glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); | |
7006 | __attribute__((visibility("default"))) void glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); | |
7007 | __attribute__((visibility("default"))) void glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); | |
7008 | __attribute__((visibility("default"))) void glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); | |
7009 | __attribute__((visibility("default"))) void glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); | |
7010 | __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); | |
7011 | __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); | |
7012 | ||
7013 | typedef void ( * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); | |
7014 | typedef void ( * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); | |
7015 | typedef void ( * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); | |
7016 | typedef void ( * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); | |
7017 | typedef void ( * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); | |
7018 | typedef void ( * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); | |
7019 | typedef void ( * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); | |
7020 | typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); | |
7021 | typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); | |
7022 | typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); | |
7023 | typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); | |
7024 | typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); | |
7025 | typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); | |
7026 | # 5738 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7027 | __attribute__((visibility("default"))) void glResizeBuffersMESA (void); | |
7028 | ||
7029 | typedef void ( * PFNGLRESIZEBUFFERSMESAPROC) (void); | |
7030 | ||
7031 | ||
7032 | ||
7033 | ||
7034 | ||
7035 | __attribute__((visibility("default"))) void glWindowPos2dMESA (GLdouble, GLdouble); | |
7036 | __attribute__((visibility("default"))) void glWindowPos2dvMESA (const GLdouble *); | |
7037 | __attribute__((visibility("default"))) void glWindowPos2fMESA (GLfloat, GLfloat); | |
7038 | __attribute__((visibility("default"))) void glWindowPos2fvMESA (const GLfloat *); | |
7039 | __attribute__((visibility("default"))) void glWindowPos2iMESA (GLint, GLint); | |
7040 | __attribute__((visibility("default"))) void glWindowPos2ivMESA (const GLint *); | |
7041 | __attribute__((visibility("default"))) void glWindowPos2sMESA (GLshort, GLshort); | |
7042 | __attribute__((visibility("default"))) void glWindowPos2svMESA (const GLshort *); | |
7043 | __attribute__((visibility("default"))) void glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); | |
7044 | __attribute__((visibility("default"))) void glWindowPos3dvMESA (const GLdouble *); | |
7045 | __attribute__((visibility("default"))) void glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); | |
7046 | __attribute__((visibility("default"))) void glWindowPos3fvMESA (const GLfloat *); | |
7047 | __attribute__((visibility("default"))) void glWindowPos3iMESA (GLint, GLint, GLint); | |
7048 | __attribute__((visibility("default"))) void glWindowPos3ivMESA (const GLint *); | |
7049 | __attribute__((visibility("default"))) void glWindowPos3sMESA (GLshort, GLshort, GLshort); | |
7050 | __attribute__((visibility("default"))) void glWindowPos3svMESA (const GLshort *); | |
7051 | __attribute__((visibility("default"))) void glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble); | |
7052 | __attribute__((visibility("default"))) void glWindowPos4dvMESA (const GLdouble *); | |
7053 | __attribute__((visibility("default"))) void glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); | |
7054 | __attribute__((visibility("default"))) void glWindowPos4fvMESA (const GLfloat *); | |
7055 | __attribute__((visibility("default"))) void glWindowPos4iMESA (GLint, GLint, GLint, GLint); | |
7056 | __attribute__((visibility("default"))) void glWindowPos4ivMESA (const GLint *); | |
7057 | __attribute__((visibility("default"))) void glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); | |
7058 | __attribute__((visibility("default"))) void glWindowPos4svMESA (const GLshort *); | |
7059 | ||
7060 | typedef void ( * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); | |
7061 | typedef void ( * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); | |
7062 | typedef void ( * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); | |
7063 | typedef void ( * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); | |
7064 | typedef void ( * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); | |
7065 | typedef void ( * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); | |
7066 | typedef void ( * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); | |
7067 | typedef void ( * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); | |
7068 | typedef void ( * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); | |
7069 | typedef void ( * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); | |
7070 | typedef void ( * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); | |
7071 | typedef void ( * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); | |
7072 | typedef void ( * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); | |
7073 | typedef void ( * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); | |
7074 | typedef void ( * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); | |
7075 | typedef void ( * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); | |
7076 | typedef void ( * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
7077 | typedef void ( * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); | |
7078 | typedef void ( * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
7079 | typedef void ( * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); | |
7080 | typedef void ( * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); | |
7081 | typedef void ( * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); | |
7082 | typedef void ( * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); | |
7083 | typedef void ( * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); | |
7084 | # 5804 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7085 | __attribute__((visibility("default"))) void glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); | |
7086 | __attribute__((visibility("default"))) void glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint); | |
7087 | ||
7088 | typedef void ( * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); | |
7089 | typedef void ( * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); | |
7090 | ||
7091 | ||
7092 | ||
7093 | ||
7094 | ||
7095 | __attribute__((visibility("default"))) void glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); | |
7096 | __attribute__((visibility("default"))) void glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); | |
7097 | __attribute__((visibility("default"))) void glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint); | |
7098 | __attribute__((visibility("default"))) void glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); | |
7099 | __attribute__((visibility("default"))) void glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); | |
7100 | __attribute__((visibility("default"))) void glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); | |
7101 | __attribute__((visibility("default"))) void glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); | |
7102 | __attribute__((visibility("default"))) void glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); | |
7103 | ||
7104 | typedef void ( * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7105 | typedef void ( * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7106 | typedef void ( * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); | |
7107 | typedef void ( * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7108 | typedef void ( * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7109 | typedef void ( * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7110 | typedef void ( * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7111 | typedef void ( * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); | |
7112 | # 5860 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7113 | __attribute__((visibility("default"))) void glTbufferMask3DFX (GLuint); | |
7114 | ||
7115 | typedef void ( * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); | |
7116 | ||
7117 | ||
7118 | ||
7119 | ||
7120 | ||
7121 | __attribute__((visibility("default"))) void glSampleMaskEXT (GLclampf, GLboolean); | |
7122 | __attribute__((visibility("default"))) void glSamplePatternEXT (GLenum); | |
7123 | ||
7124 | typedef void ( * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); | |
7125 | typedef void ( * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); | |
7126 | # 5894 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7127 | __attribute__((visibility("default"))) void glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean); | |
7128 | ||
7129 | typedef void ( * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | |
7130 | ||
7131 | ||
7132 | ||
7133 | ||
7134 | ||
7135 | __attribute__((visibility("default"))) void glIglooInterfaceSGIX (GLenum, const GLvoid *); | |
7136 | ||
7137 | typedef void ( * PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); | |
7138 | # 5918 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7139 | __attribute__((visibility("default"))) void glDeleteFencesNV (GLsizei, const GLuint *); | |
7140 | __attribute__((visibility("default"))) void glGenFencesNV (GLsizei, GLuint *); | |
7141 | __attribute__((visibility("default"))) GLboolean glIsFenceNV (GLuint); | |
7142 | __attribute__((visibility("default"))) GLboolean glTestFenceNV (GLuint); | |
7143 | __attribute__((visibility("default"))) void glGetFenceivNV (GLuint, GLenum, GLint *); | |
7144 | __attribute__((visibility("default"))) void glFinishFenceNV (GLuint); | |
7145 | __attribute__((visibility("default"))) void glSetFenceNV (GLuint, GLenum); | |
7146 | ||
7147 | typedef void ( * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); | |
7148 | typedef void ( * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | |
7149 | typedef GLboolean ( * PFNGLISFENCENVPROC) (GLuint fence); | |
7150 | typedef GLboolean ( * PFNGLTESTFENCENVPROC) (GLuint fence); | |
7151 | typedef void ( * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); | |
7152 | typedef void ( * PFNGLFINISHFENCENVPROC) (GLuint fence); | |
7153 | typedef void ( * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); | |
7154 | ||
7155 | ||
7156 | ||
7157 | ||
7158 | ||
7159 | __attribute__((visibility("default"))) void glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *); | |
7160 | __attribute__((visibility("default"))) void glMapParameterivNV (GLenum, GLenum, const GLint *); | |
7161 | __attribute__((visibility("default"))) void glMapParameterfvNV (GLenum, GLenum, const GLfloat *); | |
7162 | __attribute__((visibility("default"))) void glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *); | |
7163 | __attribute__((visibility("default"))) void glGetMapParameterivNV (GLenum, GLenum, GLint *); | |
7164 | __attribute__((visibility("default"))) void glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); | |
7165 | __attribute__((visibility("default"))) void glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *); | |
7166 | __attribute__((visibility("default"))) void glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); | |
7167 | __attribute__((visibility("default"))) void glEvalMapsNV (GLenum, GLenum); | |
7168 | ||
7169 | typedef void ( * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); | |
7170 | typedef void ( * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); | |
7171 | typedef void ( * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); | |
7172 | typedef void ( * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); | |
7173 | typedef void ( * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); | |
7174 | typedef void ( * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); | |
7175 | typedef void ( * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); | |
7176 | typedef void ( * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); | |
7177 | typedef void ( * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); | |
7178 | # 5966 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7179 | __attribute__((visibility("default"))) void glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); | |
7180 | __attribute__((visibility("default"))) void glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); | |
7181 | ||
7182 | typedef void ( * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); | |
7183 | typedef void ( * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); | |
7184 | # 5996 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7185 | __attribute__((visibility("default"))) GLboolean glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *); | |
7186 | __attribute__((visibility("default"))) void glBindProgramNV (GLenum, GLuint); | |
7187 | __attribute__((visibility("default"))) void glDeleteProgramsNV (GLsizei, const GLuint *); | |
7188 | __attribute__((visibility("default"))) void glExecuteProgramNV (GLenum, GLuint, const GLfloat *); | |
7189 | __attribute__((visibility("default"))) void glGenProgramsNV (GLsizei, GLuint *); | |
7190 | __attribute__((visibility("default"))) void glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *); | |
7191 | __attribute__((visibility("default"))) void glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); | |
7192 | __attribute__((visibility("default"))) void glGetProgramivNV (GLuint, GLenum, GLint *); | |
7193 | __attribute__((visibility("default"))) void glGetProgramStringNV (GLuint, GLenum, GLubyte *); | |
7194 | __attribute__((visibility("default"))) void glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); | |
7195 | __attribute__((visibility("default"))) void glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); | |
7196 | __attribute__((visibility("default"))) void glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); | |
7197 | __attribute__((visibility("default"))) void glGetVertexAttribivNV (GLuint, GLenum, GLint *); | |
7198 | __attribute__((visibility("default"))) void glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *); | |
7199 | __attribute__((visibility("default"))) GLboolean glIsProgramNV (GLuint); | |
7200 | __attribute__((visibility("default"))) void glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *); | |
7201 | __attribute__((visibility("default"))) void glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
7202 | __attribute__((visibility("default"))) void glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *); | |
7203 | __attribute__((visibility("default"))) void glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
7204 | __attribute__((visibility("default"))) void glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *); | |
7205 | __attribute__((visibility("default"))) void glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *); | |
7206 | __attribute__((visibility("default"))) void glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *); | |
7207 | __attribute__((visibility("default"))) void glRequestResidentProgramsNV (GLsizei, const GLuint *); | |
7208 | __attribute__((visibility("default"))) void glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); | |
7209 | __attribute__((visibility("default"))) void glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *); | |
7210 | __attribute__((visibility("default"))) void glVertexAttrib1dNV (GLuint, GLdouble); | |
7211 | __attribute__((visibility("default"))) void glVertexAttrib1dvNV (GLuint, const GLdouble *); | |
7212 | __attribute__((visibility("default"))) void glVertexAttrib1fNV (GLuint, GLfloat); | |
7213 | __attribute__((visibility("default"))) void glVertexAttrib1fvNV (GLuint, const GLfloat *); | |
7214 | __attribute__((visibility("default"))) void glVertexAttrib1sNV (GLuint, GLshort); | |
7215 | __attribute__((visibility("default"))) void glVertexAttrib1svNV (GLuint, const GLshort *); | |
7216 | __attribute__((visibility("default"))) void glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); | |
7217 | __attribute__((visibility("default"))) void glVertexAttrib2dvNV (GLuint, const GLdouble *); | |
7218 | __attribute__((visibility("default"))) void glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); | |
7219 | __attribute__((visibility("default"))) void glVertexAttrib2fvNV (GLuint, const GLfloat *); | |
7220 | __attribute__((visibility("default"))) void glVertexAttrib2sNV (GLuint, GLshort, GLshort); | |
7221 | __attribute__((visibility("default"))) void glVertexAttrib2svNV (GLuint, const GLshort *); | |
7222 | __attribute__((visibility("default"))) void glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble); | |
7223 | __attribute__((visibility("default"))) void glVertexAttrib3dvNV (GLuint, const GLdouble *); | |
7224 | __attribute__((visibility("default"))) void glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); | |
7225 | __attribute__((visibility("default"))) void glVertexAttrib3fvNV (GLuint, const GLfloat *); | |
7226 | __attribute__((visibility("default"))) void glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); | |
7227 | __attribute__((visibility("default"))) void glVertexAttrib3svNV (GLuint, const GLshort *); | |
7228 | __attribute__((visibility("default"))) void glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); | |
7229 | __attribute__((visibility("default"))) void glVertexAttrib4dvNV (GLuint, const GLdouble *); | |
7230 | __attribute__((visibility("default"))) void glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); | |
7231 | __attribute__((visibility("default"))) void glVertexAttrib4fvNV (GLuint, const GLfloat *); | |
7232 | __attribute__((visibility("default"))) void glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort); | |
7233 | __attribute__((visibility("default"))) void glVertexAttrib4svNV (GLuint, const GLshort *); | |
7234 | __attribute__((visibility("default"))) void glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); | |
7235 | __attribute__((visibility("default"))) void glVertexAttrib4ubvNV (GLuint, const GLubyte *); | |
7236 | __attribute__((visibility("default"))) void glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *); | |
7237 | __attribute__((visibility("default"))) void glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *); | |
7238 | __attribute__((visibility("default"))) void glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *); | |
7239 | __attribute__((visibility("default"))) void glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *); | |
7240 | __attribute__((visibility("default"))) void glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *); | |
7241 | __attribute__((visibility("default"))) void glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *); | |
7242 | __attribute__((visibility("default"))) void glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *); | |
7243 | __attribute__((visibility("default"))) void glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *); | |
7244 | __attribute__((visibility("default"))) void glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *); | |
7245 | __attribute__((visibility("default"))) void glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *); | |
7246 | __attribute__((visibility("default"))) void glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *); | |
7247 | __attribute__((visibility("default"))) void glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *); | |
7248 | __attribute__((visibility("default"))) void glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *); | |
7249 | ||
7250 | typedef GLboolean ( * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); | |
7251 | typedef void ( * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); | |
7252 | typedef void ( * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); | |
7253 | typedef void ( * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); | |
7254 | typedef void ( * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); | |
7255 | typedef void ( * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); | |
7256 | typedef void ( * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); | |
7257 | typedef void ( * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); | |
7258 | typedef void ( * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); | |
7259 | typedef void ( * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); | |
7260 | typedef void ( * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); | |
7261 | typedef void ( * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); | |
7262 | typedef void ( * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); | |
7263 | typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); | |
7264 | typedef GLboolean ( * PFNGLISPROGRAMNVPROC) (GLuint id); | |
7265 | typedef void ( * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); | |
7266 | typedef void ( * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
7267 | typedef void ( * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); | |
7268 | typedef void ( * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
7269 | typedef void ( * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); | |
7270 | typedef void ( * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v); | |
7271 | typedef void ( * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v); | |
7272 | typedef void ( * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); | |
7273 | typedef void ( * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); | |
7274 | typedef void ( * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); | |
7275 | typedef void ( * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); | |
7276 | typedef void ( * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); | |
7277 | typedef void ( * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); | |
7278 | typedef void ( * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); | |
7279 | typedef void ( * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); | |
7280 | typedef void ( * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); | |
7281 | typedef void ( * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); | |
7282 | typedef void ( * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); | |
7283 | typedef void ( * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); | |
7284 | typedef void ( * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); | |
7285 | typedef void ( * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); | |
7286 | typedef void ( * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); | |
7287 | typedef void ( * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); | |
7288 | typedef void ( * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); | |
7289 | typedef void ( * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); | |
7290 | typedef void ( * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); | |
7291 | typedef void ( * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); | |
7292 | typedef void ( * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); | |
7293 | typedef void ( * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
7294 | typedef void ( * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); | |
7295 | typedef void ( * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
7296 | typedef void ( * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); | |
7297 | typedef void ( * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); | |
7298 | typedef void ( * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); | |
7299 | typedef void ( * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); | |
7300 | typedef void ( * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); | |
7301 | typedef void ( * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); | |
7302 | typedef void ( * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); | |
7303 | typedef void ( * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); | |
7304 | typedef void ( * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); | |
7305 | typedef void ( * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); | |
7306 | typedef void ( * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); | |
7307 | typedef void ( * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); | |
7308 | typedef void ( * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); | |
7309 | typedef void ( * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); | |
7310 | typedef void ( * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); | |
7311 | typedef void ( * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); | |
7312 | typedef void ( * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); | |
7313 | typedef void ( * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); | |
7314 | # 6154 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7315 | __attribute__((visibility("default"))) void glTexBumpParameterivATI (GLenum, const GLint *); | |
7316 | __attribute__((visibility("default"))) void glTexBumpParameterfvATI (GLenum, const GLfloat *); | |
7317 | __attribute__((visibility("default"))) void glGetTexBumpParameterivATI (GLenum, GLint *); | |
7318 | __attribute__((visibility("default"))) void glGetTexBumpParameterfvATI (GLenum, GLfloat *); | |
7319 | ||
7320 | typedef void ( * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); | |
7321 | typedef void ( * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); | |
7322 | typedef void ( * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); | |
7323 | typedef void ( * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); | |
7324 | ||
7325 | ||
7326 | ||
7327 | ||
7328 | ||
7329 | __attribute__((visibility("default"))) GLuint glGenFragmentShadersATI (GLuint); | |
7330 | __attribute__((visibility("default"))) void glBindFragmentShaderATI (GLuint); | |
7331 | __attribute__((visibility("default"))) void glDeleteFragmentShaderATI (GLuint); | |
7332 | __attribute__((visibility("default"))) void glBeginFragmentShaderATI (void); | |
7333 | __attribute__((visibility("default"))) void glEndFragmentShaderATI (void); | |
7334 | __attribute__((visibility("default"))) void glPassTexCoordATI (GLuint, GLuint, GLenum); | |
7335 | __attribute__((visibility("default"))) void glSampleMapATI (GLuint, GLuint, GLenum); | |
7336 | __attribute__((visibility("default"))) void glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7337 | __attribute__((visibility("default"))) void glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7338 | __attribute__((visibility("default"))) void glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7339 | __attribute__((visibility("default"))) void glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7340 | __attribute__((visibility("default"))) void glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7341 | __attribute__((visibility("default"))) void glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7342 | __attribute__((visibility("default"))) void glSetFragmentShaderConstantATI (GLuint, const GLfloat *); | |
7343 | ||
7344 | typedef GLuint ( * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); | |
7345 | typedef void ( * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); | |
7346 | typedef void ( * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); | |
7347 | typedef void ( * PFNGLBEGINFRAGMENTSHADERATIPROC) (void); | |
7348 | typedef void ( * PFNGLENDFRAGMENTSHADERATIPROC) (void); | |
7349 | typedef void ( * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); | |
7350 | typedef void ( * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); | |
7351 | typedef void ( * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); | |
7352 | typedef void ( * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); | |
7353 | typedef void ( * PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); | |
7354 | typedef void ( * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); | |
7355 | typedef void ( * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); | |
7356 | typedef void ( * PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); | |
7357 | typedef void ( * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); | |
7358 | ||
7359 | ||
7360 | ||
7361 | ||
7362 | ||
7363 | __attribute__((visibility("default"))) void glPNTrianglesiATI (GLenum, GLint); | |
7364 | __attribute__((visibility("default"))) void glPNTrianglesfATI (GLenum, GLfloat); | |
7365 | ||
7366 | typedef void ( * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); | |
7367 | typedef void ( * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); | |
7368 | ||
7369 | ||
7370 | ||
7371 | ||
7372 | ||
7373 | __attribute__((visibility("default"))) GLuint glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum); | |
7374 | __attribute__((visibility("default"))) GLboolean glIsObjectBufferATI (GLuint); | |
7375 | __attribute__((visibility("default"))) void glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum); | |
7376 | __attribute__((visibility("default"))) void glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); | |
7377 | __attribute__((visibility("default"))) void glGetObjectBufferivATI (GLuint, GLenum, GLint *); | |
7378 | __attribute__((visibility("default"))) void glFreeObjectBufferATI (GLuint); | |
7379 | __attribute__((visibility("default"))) void glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint); | |
7380 | __attribute__((visibility("default"))) void glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); | |
7381 | __attribute__((visibility("default"))) void glGetArrayObjectivATI (GLenum, GLenum, GLint *); | |
7382 | __attribute__((visibility("default"))) void glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint); | |
7383 | __attribute__((visibility("default"))) void glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *); | |
7384 | __attribute__((visibility("default"))) void glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); | |
7385 | ||
7386 | typedef GLuint ( * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); | |
7387 | typedef GLboolean ( * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); | |
7388 | typedef void ( * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); | |
7389 | typedef void ( * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); | |
7390 | typedef void ( * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); | |
7391 | typedef void ( * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); | |
7392 | typedef void ( * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); | |
7393 | typedef void ( * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); | |
7394 | typedef void ( * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); | |
7395 | typedef void ( * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); | |
7396 | typedef void ( * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); | |
7397 | typedef void ( * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); | |
7398 | ||
7399 | ||
7400 | ||
7401 | ||
7402 | ||
7403 | __attribute__((visibility("default"))) void glBeginVertexShaderEXT (void); | |
7404 | __attribute__((visibility("default"))) void glEndVertexShaderEXT (void); | |
7405 | __attribute__((visibility("default"))) void glBindVertexShaderEXT (GLuint); | |
7406 | __attribute__((visibility("default"))) GLuint glGenVertexShadersEXT (GLuint); | |
7407 | __attribute__((visibility("default"))) void glDeleteVertexShaderEXT (GLuint); | |
7408 | __attribute__((visibility("default"))) void glShaderOp1EXT (GLenum, GLuint, GLuint); | |
7409 | __attribute__((visibility("default"))) void glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); | |
7410 | __attribute__((visibility("default"))) void glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint); | |
7411 | __attribute__((visibility("default"))) void glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); | |
7412 | __attribute__((visibility("default"))) void glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); | |
7413 | __attribute__((visibility("default"))) void glInsertComponentEXT (GLuint, GLuint, GLuint); | |
7414 | __attribute__((visibility("default"))) void glExtractComponentEXT (GLuint, GLuint, GLuint); | |
7415 | __attribute__((visibility("default"))) GLuint glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); | |
7416 | __attribute__((visibility("default"))) void glSetInvariantEXT (GLuint, GLenum, const GLvoid *); | |
7417 | __attribute__((visibility("default"))) void glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); | |
7418 | __attribute__((visibility("default"))) void glVariantbvEXT (GLuint, const GLbyte *); | |
7419 | __attribute__((visibility("default"))) void glVariantsvEXT (GLuint, const GLshort *); | |
7420 | __attribute__((visibility("default"))) void glVariantivEXT (GLuint, const GLint *); | |
7421 | __attribute__((visibility("default"))) void glVariantfvEXT (GLuint, const GLfloat *); | |
7422 | __attribute__((visibility("default"))) void glVariantdvEXT (GLuint, const GLdouble *); | |
7423 | __attribute__((visibility("default"))) void glVariantubvEXT (GLuint, const GLubyte *); | |
7424 | __attribute__((visibility("default"))) void glVariantusvEXT (GLuint, const GLushort *); | |
7425 | __attribute__((visibility("default"))) void glVariantuivEXT (GLuint, const GLuint *); | |
7426 | __attribute__((visibility("default"))) void glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *); | |
7427 | __attribute__((visibility("default"))) void glEnableVariantClientStateEXT (GLuint); | |
7428 | __attribute__((visibility("default"))) void glDisableVariantClientStateEXT (GLuint); | |
7429 | __attribute__((visibility("default"))) GLuint glBindLightParameterEXT (GLenum, GLenum); | |
7430 | __attribute__((visibility("default"))) GLuint glBindMaterialParameterEXT (GLenum, GLenum); | |
7431 | __attribute__((visibility("default"))) GLuint glBindTexGenParameterEXT (GLenum, GLenum, GLenum); | |
7432 | __attribute__((visibility("default"))) GLuint glBindTextureUnitParameterEXT (GLenum, GLenum); | |
7433 | __attribute__((visibility("default"))) GLuint glBindParameterEXT (GLenum); | |
7434 | __attribute__((visibility("default"))) GLboolean glIsVariantEnabledEXT (GLuint, GLenum); | |
7435 | __attribute__((visibility("default"))) void glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); | |
7436 | __attribute__((visibility("default"))) void glGetVariantIntegervEXT (GLuint, GLenum, GLint *); | |
7437 | __attribute__((visibility("default"))) void glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); | |
7438 | __attribute__((visibility("default"))) void glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); | |
7439 | __attribute__((visibility("default"))) void glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *); | |
7440 | __attribute__((visibility("default"))) void glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); | |
7441 | __attribute__((visibility("default"))) void glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); | |
7442 | __attribute__((visibility("default"))) void glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *); | |
7443 | __attribute__((visibility("default"))) void glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *); | |
7444 | __attribute__((visibility("default"))) void glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *); | |
7445 | ||
7446 | typedef void ( * PFNGLBEGINVERTEXSHADEREXTPROC) (void); | |
7447 | typedef void ( * PFNGLENDVERTEXSHADEREXTPROC) (void); | |
7448 | typedef void ( * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); | |
7449 | typedef GLuint ( * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); | |
7450 | typedef void ( * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); | |
7451 | typedef void ( * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); | |
7452 | typedef void ( * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); | |
7453 | typedef void ( * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); | |
7454 | typedef void ( * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); | |
7455 | typedef void ( * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); | |
7456 | typedef void ( * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); | |
7457 | typedef void ( * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); | |
7458 | typedef GLuint ( * PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); | |
7459 | typedef void ( * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); | |
7460 | typedef void ( * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); | |
7461 | typedef void ( * PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); | |
7462 | typedef void ( * PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); | |
7463 | typedef void ( * PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); | |
7464 | typedef void ( * PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); | |
7465 | typedef void ( * PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); | |
7466 | typedef void ( * PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); | |
7467 | typedef void ( * PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); | |
7468 | typedef void ( * PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); | |
7469 | typedef void ( * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); | |
7470 | typedef void ( * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); | |
7471 | typedef void ( * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); | |
7472 | typedef GLuint ( * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); | |
7473 | typedef GLuint ( * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); | |
7474 | typedef GLuint ( * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); | |
7475 | typedef GLuint ( * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); | |
7476 | typedef GLuint ( * PFNGLBINDPARAMETEREXTPROC) (GLenum value); | |
7477 | typedef GLboolean ( * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); | |
7478 | typedef void ( * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); | |
7479 | typedef void ( * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); | |
7480 | typedef void ( * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); | |
7481 | typedef void ( * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); | |
7482 | typedef void ( * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); | |
7483 | typedef void ( * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); | |
7484 | typedef void ( * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); | |
7485 | typedef void ( * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); | |
7486 | typedef void ( * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); | |
7487 | typedef void ( * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); | |
7488 | ||
7489 | ||
7490 | ||
7491 | ||
7492 | ||
7493 | __attribute__((visibility("default"))) void glVertexStream1sATI (GLenum, GLshort); | |
7494 | __attribute__((visibility("default"))) void glVertexStream1svATI (GLenum, const GLshort *); | |
7495 | __attribute__((visibility("default"))) void glVertexStream1iATI (GLenum, GLint); | |
7496 | __attribute__((visibility("default"))) void glVertexStream1ivATI (GLenum, const GLint *); | |
7497 | __attribute__((visibility("default"))) void glVertexStream1fATI (GLenum, GLfloat); | |
7498 | __attribute__((visibility("default"))) void glVertexStream1fvATI (GLenum, const GLfloat *); | |
7499 | __attribute__((visibility("default"))) void glVertexStream1dATI (GLenum, GLdouble); | |
7500 | __attribute__((visibility("default"))) void glVertexStream1dvATI (GLenum, const GLdouble *); | |
7501 | __attribute__((visibility("default"))) void glVertexStream2sATI (GLenum, GLshort, GLshort); | |
7502 | __attribute__((visibility("default"))) void glVertexStream2svATI (GLenum, const GLshort *); | |
7503 | __attribute__((visibility("default"))) void glVertexStream2iATI (GLenum, GLint, GLint); | |
7504 | __attribute__((visibility("default"))) void glVertexStream2ivATI (GLenum, const GLint *); | |
7505 | __attribute__((visibility("default"))) void glVertexStream2fATI (GLenum, GLfloat, GLfloat); | |
7506 | __attribute__((visibility("default"))) void glVertexStream2fvATI (GLenum, const GLfloat *); | |
7507 | __attribute__((visibility("default"))) void glVertexStream2dATI (GLenum, GLdouble, GLdouble); | |
7508 | __attribute__((visibility("default"))) void glVertexStream2dvATI (GLenum, const GLdouble *); | |
7509 | __attribute__((visibility("default"))) void glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort); | |
7510 | __attribute__((visibility("default"))) void glVertexStream3svATI (GLenum, const GLshort *); | |
7511 | __attribute__((visibility("default"))) void glVertexStream3iATI (GLenum, GLint, GLint, GLint); | |
7512 | __attribute__((visibility("default"))) void glVertexStream3ivATI (GLenum, const GLint *); | |
7513 | __attribute__((visibility("default"))) void glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); | |
7514 | __attribute__((visibility("default"))) void glVertexStream3fvATI (GLenum, const GLfloat *); | |
7515 | __attribute__((visibility("default"))) void glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); | |
7516 | __attribute__((visibility("default"))) void glVertexStream3dvATI (GLenum, const GLdouble *); | |
7517 | __attribute__((visibility("default"))) void glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort); | |
7518 | __attribute__((visibility("default"))) void glVertexStream4svATI (GLenum, const GLshort *); | |
7519 | __attribute__((visibility("default"))) void glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint); | |
7520 | __attribute__((visibility("default"))) void glVertexStream4ivATI (GLenum, const GLint *); | |
7521 | __attribute__((visibility("default"))) void glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); | |
7522 | __attribute__((visibility("default"))) void glVertexStream4fvATI (GLenum, const GLfloat *); | |
7523 | __attribute__((visibility("default"))) void glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); | |
7524 | __attribute__((visibility("default"))) void glVertexStream4dvATI (GLenum, const GLdouble *); | |
7525 | __attribute__((visibility("default"))) void glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); | |
7526 | __attribute__((visibility("default"))) void glNormalStream3bvATI (GLenum, const GLbyte *); | |
7527 | __attribute__((visibility("default"))) void glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort); | |
7528 | __attribute__((visibility("default"))) void glNormalStream3svATI (GLenum, const GLshort *); | |
7529 | __attribute__((visibility("default"))) void glNormalStream3iATI (GLenum, GLint, GLint, GLint); | |
7530 | __attribute__((visibility("default"))) void glNormalStream3ivATI (GLenum, const GLint *); | |
7531 | __attribute__((visibility("default"))) void glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); | |
7532 | __attribute__((visibility("default"))) void glNormalStream3fvATI (GLenum, const GLfloat *); | |
7533 | __attribute__((visibility("default"))) void glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); | |
7534 | __attribute__((visibility("default"))) void glNormalStream3dvATI (GLenum, const GLdouble *); | |
7535 | __attribute__((visibility("default"))) void glClientActiveVertexStreamATI (GLenum); | |
7536 | __attribute__((visibility("default"))) void glVertexBlendEnviATI (GLenum, GLint); | |
7537 | __attribute__((visibility("default"))) void glVertexBlendEnvfATI (GLenum, GLfloat); | |
7538 | ||
7539 | typedef void ( * PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); | |
7540 | typedef void ( * PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); | |
7541 | typedef void ( * PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); | |
7542 | typedef void ( * PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); | |
7543 | typedef void ( * PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); | |
7544 | typedef void ( * PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); | |
7545 | typedef void ( * PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); | |
7546 | typedef void ( * PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); | |
7547 | typedef void ( * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); | |
7548 | typedef void ( * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); | |
7549 | typedef void ( * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); | |
7550 | typedef void ( * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); | |
7551 | typedef void ( * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); | |
7552 | typedef void ( * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); | |
7553 | typedef void ( * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); | |
7554 | typedef void ( * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); | |
7555 | typedef void ( * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); | |
7556 | typedef void ( * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); | |
7557 | typedef void ( * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); | |
7558 | typedef void ( * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); | |
7559 | typedef void ( * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); | |
7560 | typedef void ( * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); | |
7561 | typedef void ( * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); | |
7562 | typedef void ( * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); | |
7563 | typedef void ( * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); | |
7564 | typedef void ( * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); | |
7565 | typedef void ( * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); | |
7566 | typedef void ( * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); | |
7567 | typedef void ( * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
7568 | typedef void ( * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); | |
7569 | typedef void ( * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
7570 | typedef void ( * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); | |
7571 | typedef void ( * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); | |
7572 | typedef void ( * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); | |
7573 | typedef void ( * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); | |
7574 | typedef void ( * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); | |
7575 | typedef void ( * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); | |
7576 | typedef void ( * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); | |
7577 | typedef void ( * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); | |
7578 | typedef void ( * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); | |
7579 | typedef void ( * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); | |
7580 | typedef void ( * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); | |
7581 | typedef void ( * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); | |
7582 | typedef void ( * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); | |
7583 | typedef void ( * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); | |
7584 | ||
7585 | ||
7586 | ||
7587 | ||
7588 | ||
7589 | __attribute__((visibility("default"))) void glElementPointerATI (GLenum, const GLvoid *); | |
7590 | __attribute__((visibility("default"))) void glDrawElementArrayATI (GLenum, GLsizei); | |
7591 | __attribute__((visibility("default"))) void glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei); | |
7592 | ||
7593 | typedef void ( * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); | |
7594 | typedef void ( * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); | |
7595 | typedef void ( * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); | |
7596 | ||
7597 | ||
7598 | ||
7599 | ||
7600 | ||
7601 | __attribute__((visibility("default"))) void glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); | |
7602 | ||
7603 | typedef void ( * PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); | |
7604 | # 6460 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7605 | __attribute__((visibility("default"))) void glGenOcclusionQueriesNV (GLsizei, GLuint *); | |
7606 | __attribute__((visibility("default"))) void glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); | |
7607 | __attribute__((visibility("default"))) GLboolean glIsOcclusionQueryNV (GLuint); | |
7608 | __attribute__((visibility("default"))) void glBeginOcclusionQueryNV (GLuint); | |
7609 | __attribute__((visibility("default"))) void glEndOcclusionQueryNV (void); | |
7610 | __attribute__((visibility("default"))) void glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); | |
7611 | __attribute__((visibility("default"))) void glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); | |
7612 | ||
7613 | typedef void ( * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); | |
7614 | typedef void ( * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); | |
7615 | typedef GLboolean ( * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); | |
7616 | typedef void ( * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); | |
7617 | typedef void ( * PFNGLENDOCCLUSIONQUERYNVPROC) (void); | |
7618 | typedef void ( * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); | |
7619 | typedef void ( * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); | |
7620 | ||
7621 | ||
7622 | ||
7623 | ||
7624 | ||
7625 | __attribute__((visibility("default"))) void glPointParameteriNV (GLenum, GLint); | |
7626 | __attribute__((visibility("default"))) void glPointParameterivNV (GLenum, const GLint *); | |
7627 | ||
7628 | typedef void ( * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); | |
7629 | typedef void ( * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); | |
7630 | # 6502 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7631 | __attribute__((visibility("default"))) void glActiveStencilFaceEXT (GLenum); | |
7632 | ||
7633 | typedef void ( * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); | |
7634 | # 6518 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7635 | __attribute__((visibility("default"))) void glElementPointerAPPLE (GLenum, const GLvoid *); | |
7636 | __attribute__((visibility("default"))) void glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); | |
7637 | __attribute__((visibility("default"))) void glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei); | |
7638 | __attribute__((visibility("default"))) void glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei); | |
7639 | __attribute__((visibility("default"))) void glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei); | |
7640 | ||
7641 | typedef void ( * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); | |
7642 | typedef void ( * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); | |
7643 | typedef void ( * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); | |
7644 | typedef void ( * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | |
7645 | typedef void ( * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); | |
7646 | ||
7647 | ||
7648 | ||
7649 | ||
7650 | ||
7651 | __attribute__((visibility("default"))) void glGenFencesAPPLE (GLsizei, GLuint *); | |
7652 | __attribute__((visibility("default"))) void glDeleteFencesAPPLE (GLsizei, const GLuint *); | |
7653 | __attribute__((visibility("default"))) void glSetFenceAPPLE (GLuint); | |
7654 | __attribute__((visibility("default"))) GLboolean glIsFenceAPPLE (GLuint); | |
7655 | __attribute__((visibility("default"))) GLboolean glTestFenceAPPLE (GLuint); | |
7656 | __attribute__((visibility("default"))) void glFinishFenceAPPLE (GLuint); | |
7657 | __attribute__((visibility("default"))) GLboolean glTestObjectAPPLE (GLenum, GLuint); | |
7658 | __attribute__((visibility("default"))) void glFinishObjectAPPLE (GLenum, GLint); | |
7659 | ||
7660 | typedef void ( * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); | |
7661 | typedef void ( * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); | |
7662 | typedef void ( * PFNGLSETFENCEAPPLEPROC) (GLuint fence); | |
7663 | typedef GLboolean ( * PFNGLISFENCEAPPLEPROC) (GLuint fence); | |
7664 | typedef GLboolean ( * PFNGLTESTFENCEAPPLEPROC) (GLuint fence); | |
7665 | typedef void ( * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); | |
7666 | typedef GLboolean ( * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); | |
7667 | typedef void ( * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); | |
7668 | ||
7669 | ||
7670 | ||
7671 | ||
7672 | ||
7673 | __attribute__((visibility("default"))) void glBindVertexArrayAPPLE (GLuint); | |
7674 | __attribute__((visibility("default"))) void glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); | |
7675 | __attribute__((visibility("default"))) void glGenVertexArraysAPPLE (GLsizei, GLuint *); | |
7676 | __attribute__((visibility("default"))) GLboolean glIsVertexArrayAPPLE (GLuint); | |
7677 | ||
7678 | typedef void ( * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); | |
7679 | typedef void ( * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); | |
7680 | typedef void ( * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); | |
7681 | typedef GLboolean ( * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); | |
7682 | ||
7683 | ||
7684 | ||
7685 | ||
7686 | ||
7687 | __attribute__((visibility("default"))) void glVertexArrayRangeAPPLE (GLsizei, GLvoid *); | |
7688 | __attribute__((visibility("default"))) void glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); | |
7689 | __attribute__((visibility("default"))) void glVertexArrayParameteriAPPLE (GLenum, GLint); | |
7690 | ||
7691 | typedef void ( * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); | |
7692 | typedef void ( * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); | |
7693 | typedef void ( * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); | |
7694 | # 6590 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7695 | __attribute__((visibility("default"))) void glDrawBuffersATI (GLsizei, const GLenum *); | |
7696 | ||
7697 | typedef void ( * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); | |
7698 | # 6618 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7699 | __attribute__((visibility("default"))) void glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); | |
7700 | __attribute__((visibility("default"))) void glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); | |
7701 | __attribute__((visibility("default"))) void glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *); | |
7702 | __attribute__((visibility("default"))) void glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *); | |
7703 | __attribute__((visibility("default"))) void glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *); | |
7704 | __attribute__((visibility("default"))) void glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *); | |
7705 | ||
7706 | typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
7707 | typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
7708 | typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); | |
7709 | typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); | |
7710 | typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); | |
7711 | typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); | |
7712 | ||
7713 | ||
7714 | ||
7715 | ||
7716 | ||
7717 | __attribute__((visibility("default"))) void glVertex2hNV (GLhalfNV, GLhalfNV); | |
7718 | __attribute__((visibility("default"))) void glVertex2hvNV (const GLhalfNV *); | |
7719 | __attribute__((visibility("default"))) void glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); | |
7720 | __attribute__((visibility("default"))) void glVertex3hvNV (const GLhalfNV *); | |
7721 | __attribute__((visibility("default"))) void glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); | |
7722 | __attribute__((visibility("default"))) void glVertex4hvNV (const GLhalfNV *); | |
7723 | __attribute__((visibility("default"))) void glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); | |
7724 | __attribute__((visibility("default"))) void glNormal3hvNV (const GLhalfNV *); | |
7725 | __attribute__((visibility("default"))) void glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); | |
7726 | __attribute__((visibility("default"))) void glColor3hvNV (const GLhalfNV *); | |
7727 | __attribute__((visibility("default"))) void glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); | |
7728 | __attribute__((visibility("default"))) void glColor4hvNV (const GLhalfNV *); | |
7729 | __attribute__((visibility("default"))) void glTexCoord1hNV (GLhalfNV); | |
7730 | __attribute__((visibility("default"))) void glTexCoord1hvNV (const GLhalfNV *); | |
7731 | __attribute__((visibility("default"))) void glTexCoord2hNV (GLhalfNV, GLhalfNV); | |
7732 | __attribute__((visibility("default"))) void glTexCoord2hvNV (const GLhalfNV *); | |
7733 | __attribute__((visibility("default"))) void glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); | |
7734 | __attribute__((visibility("default"))) void glTexCoord3hvNV (const GLhalfNV *); | |
7735 | __attribute__((visibility("default"))) void glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); | |
7736 | __attribute__((visibility("default"))) void glTexCoord4hvNV (const GLhalfNV *); | |
7737 | __attribute__((visibility("default"))) void glMultiTexCoord1hNV (GLenum, GLhalfNV); | |
7738 | __attribute__((visibility("default"))) void glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); | |
7739 | __attribute__((visibility("default"))) void glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); | |
7740 | __attribute__((visibility("default"))) void glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); | |
7741 | __attribute__((visibility("default"))) void glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV); | |
7742 | __attribute__((visibility("default"))) void glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); | |
7743 | __attribute__((visibility("default"))) void glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); | |
7744 | __attribute__((visibility("default"))) void glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); | |
7745 | __attribute__((visibility("default"))) void glFogCoordhNV (GLhalfNV); | |
7746 | __attribute__((visibility("default"))) void glFogCoordhvNV (const GLhalfNV *); | |
7747 | __attribute__((visibility("default"))) void glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); | |
7748 | __attribute__((visibility("default"))) void glSecondaryColor3hvNV (const GLhalfNV *); | |
7749 | __attribute__((visibility("default"))) void glVertexWeighthNV (GLhalfNV); | |
7750 | __attribute__((visibility("default"))) void glVertexWeighthvNV (const GLhalfNV *); | |
7751 | __attribute__((visibility("default"))) void glVertexAttrib1hNV (GLuint, GLhalfNV); | |
7752 | __attribute__((visibility("default"))) void glVertexAttrib1hvNV (GLuint, const GLhalfNV *); | |
7753 | __attribute__((visibility("default"))) void glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); | |
7754 | __attribute__((visibility("default"))) void glVertexAttrib2hvNV (GLuint, const GLhalfNV *); | |
7755 | __attribute__((visibility("default"))) void glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV); | |
7756 | __attribute__((visibility("default"))) void glVertexAttrib3hvNV (GLuint, const GLhalfNV *); | |
7757 | __attribute__((visibility("default"))) void glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); | |
7758 | __attribute__((visibility("default"))) void glVertexAttrib4hvNV (GLuint, const GLhalfNV *); | |
7759 | __attribute__((visibility("default"))) void glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *); | |
7760 | __attribute__((visibility("default"))) void glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *); | |
7761 | __attribute__((visibility("default"))) void glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *); | |
7762 | __attribute__((visibility("default"))) void glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *); | |
7763 | ||
7764 | typedef void ( * PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); | |
7765 | typedef void ( * PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); | |
7766 | typedef void ( * PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); | |
7767 | typedef void ( * PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); | |
7768 | typedef void ( * PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); | |
7769 | typedef void ( * PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); | |
7770 | typedef void ( * PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); | |
7771 | typedef void ( * PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); | |
7772 | typedef void ( * PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); | |
7773 | typedef void ( * PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); | |
7774 | typedef void ( * PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); | |
7775 | typedef void ( * PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); | |
7776 | typedef void ( * PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); | |
7777 | typedef void ( * PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); | |
7778 | typedef void ( * PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); | |
7779 | typedef void ( * PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); | |
7780 | typedef void ( * PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); | |
7781 | typedef void ( * PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); | |
7782 | typedef void ( * PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); | |
7783 | typedef void ( * PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); | |
7784 | typedef void ( * PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); | |
7785 | typedef void ( * PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); | |
7786 | typedef void ( * PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); | |
7787 | typedef void ( * PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); | |
7788 | typedef void ( * PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); | |
7789 | typedef void ( * PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); | |
7790 | typedef void ( * PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); | |
7791 | typedef void ( * PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); | |
7792 | typedef void ( * PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); | |
7793 | typedef void ( * PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); | |
7794 | typedef void ( * PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); | |
7795 | typedef void ( * PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); | |
7796 | typedef void ( * PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); | |
7797 | typedef void ( * PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); | |
7798 | typedef void ( * PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); | |
7799 | typedef void ( * PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); | |
7800 | typedef void ( * PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); | |
7801 | typedef void ( * PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); | |
7802 | typedef void ( * PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); | |
7803 | typedef void ( * PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); | |
7804 | typedef void ( * PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); | |
7805 | typedef void ( * PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); | |
7806 | typedef void ( * PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); | |
7807 | typedef void ( * PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); | |
7808 | typedef void ( * PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); | |
7809 | typedef void ( * PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); | |
7810 | ||
7811 | ||
7812 | ||
7813 | ||
7814 | ||
7815 | __attribute__((visibility("default"))) void glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); | |
7816 | __attribute__((visibility("default"))) void glFlushPixelDataRangeNV (GLenum); | |
7817 | ||
7818 | typedef void ( * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); | |
7819 | typedef void ( * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); | |
7820 | ||
7821 | ||
7822 | ||
7823 | ||
7824 | ||
7825 | __attribute__((visibility("default"))) void glPrimitiveRestartNV (void); | |
7826 | __attribute__((visibility("default"))) void glPrimitiveRestartIndexNV (GLuint); | |
7827 | ||
7828 | typedef void ( * PFNGLPRIMITIVERESTARTNVPROC) (void); | |
7829 | typedef void ( * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); | |
7830 | # 6762 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7831 | __attribute__((visibility("default"))) GLvoid* glMapObjectBufferATI (GLuint); | |
7832 | __attribute__((visibility("default"))) void glUnmapObjectBufferATI (GLuint); | |
7833 | ||
7834 | typedef GLvoid* ( * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); | |
7835 | typedef void ( * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); | |
7836 | ||
7837 | ||
7838 | ||
7839 | ||
7840 | ||
7841 | __attribute__((visibility("default"))) void glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum); | |
7842 | __attribute__((visibility("default"))) void glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint); | |
7843 | ||
7844 | typedef void ( * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | |
7845 | typedef void ( * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); | |
7846 | ||
7847 | ||
7848 | ||
7849 | ||
7850 | ||
7851 | __attribute__((visibility("default"))) void glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint); | |
7852 | __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *); | |
7853 | __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *); | |
7854 | ||
7855 | typedef void ( * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); | |
7856 | typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); | |
7857 | typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); | |
7858 | # 6798 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7859 | __attribute__((visibility("default"))) void glDepthBoundsEXT (GLclampd, GLclampd); | |
7860 | ||
7861 | typedef void ( * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); | |
7862 | # 6810 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7863 | __attribute__((visibility("default"))) void glBlendEquationSeparateEXT (GLenum, GLenum); | |
7864 | ||
7865 | typedef void ( * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); | |
7866 | # 6846 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7867 | __attribute__((visibility("default"))) GLboolean glIsRenderbufferEXT (GLuint); | |
7868 | __attribute__((visibility("default"))) void glBindRenderbufferEXT (GLenum, GLuint); | |
7869 | __attribute__((visibility("default"))) void glDeleteRenderbuffersEXT (GLsizei, const GLuint *); | |
7870 | __attribute__((visibility("default"))) void glGenRenderbuffersEXT (GLsizei, GLuint *); | |
7871 | __attribute__((visibility("default"))) void glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei); | |
7872 | __attribute__((visibility("default"))) void glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *); | |
7873 | __attribute__((visibility("default"))) GLboolean glIsFramebufferEXT (GLuint); | |
7874 | __attribute__((visibility("default"))) void glBindFramebufferEXT (GLenum, GLuint); | |
7875 | __attribute__((visibility("default"))) void glDeleteFramebuffersEXT (GLsizei, const GLuint *); | |
7876 | __attribute__((visibility("default"))) void glGenFramebuffersEXT (GLsizei, GLuint *); | |
7877 | __attribute__((visibility("default"))) GLenum glCheckFramebufferStatusEXT (GLenum); | |
7878 | __attribute__((visibility("default"))) void glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint); | |
7879 | __attribute__((visibility("default"))) void glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint); | |
7880 | __attribute__((visibility("default"))) void glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint); | |
7881 | __attribute__((visibility("default"))) void glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint); | |
7882 | __attribute__((visibility("default"))) void glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *); | |
7883 | __attribute__((visibility("default"))) void glGenerateMipmapEXT (GLenum); | |
7884 | ||
7885 | typedef GLboolean ( * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); | |
7886 | typedef void ( * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); | |
7887 | typedef void ( * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); | |
7888 | typedef void ( * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); | |
7889 | typedef void ( * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | |
7890 | typedef void ( * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
7891 | typedef GLboolean ( * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); | |
7892 | typedef void ( * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); | |
7893 | typedef void ( * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); | |
7894 | typedef void ( * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); | |
7895 | typedef GLenum ( * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); | |
7896 | typedef void ( * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |
7897 | typedef void ( * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |
7898 | typedef void ( * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | |
7899 | typedef void ( * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | |
7900 | typedef void ( * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); | |
7901 | typedef void ( * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); | |
7902 | ||
7903 | ||
7904 | ||
7905 | ||
7906 | ||
7907 | __attribute__((visibility("default"))) void glStringMarkerGREMEDY (GLsizei, const GLvoid *); | |
7908 | ||
7909 | typedef void ( * PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); | |
7910 | # 6898 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7911 | __attribute__((visibility("default"))) void glStencilClearTagEXT (GLsizei, GLuint); | |
7912 | ||
7913 | typedef void ( * PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); | |
7914 | # 6910 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7915 | __attribute__((visibility("default"))) void glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); | |
7916 | ||
7917 | typedef void ( * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | |
7918 | ||
7919 | ||
7920 | ||
7921 | ||
7922 | ||
7923 | __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei); | |
7924 | ||
7925 | typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
7926 | # 6930 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
7927 | __attribute__((visibility("default"))) void glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *); | |
7928 | __attribute__((visibility("default"))) void glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT *); | |
7929 | ||
7930 | typedef void ( * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); | |
7931 | typedef void ( * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); | |
7932 | ||
7933 | ||
7934 | ||
7935 | ||
7936 | ||
7937 | __attribute__((visibility("default"))) void glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); | |
7938 | __attribute__((visibility("default"))) void glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); | |
7939 | ||
7940 | typedef void ( * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); | |
7941 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); | |
7942 | ||
7943 | ||
7944 | ||
7945 | ||
7946 | ||
7947 | __attribute__((visibility("default"))) void glBufferParameteriAPPLE (GLenum, GLenum, GLint); | |
7948 | __attribute__((visibility("default"))) void glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr); | |
7949 | ||
7950 | typedef void ( * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); | |
7951 | typedef void ( * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); | |
7952 | ||
7953 | ||
7954 | ||
7955 | ||
7956 | ||
7957 | __attribute__((visibility("default"))) void glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); | |
7958 | __attribute__((visibility("default"))) void glProgramLocalParameterI4ivNV (GLenum, GLuint, const GLint *); | |
7959 | __attribute__((visibility("default"))) void glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); | |
7960 | __attribute__((visibility("default"))) void glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7961 | __attribute__((visibility("default"))) void glProgramLocalParameterI4uivNV (GLenum, GLuint, const GLuint *); | |
7962 | __attribute__((visibility("default"))) void glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); | |
7963 | __attribute__((visibility("default"))) void glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); | |
7964 | __attribute__((visibility("default"))) void glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLint *); | |
7965 | __attribute__((visibility("default"))) void glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); | |
7966 | __attribute__((visibility("default"))) void glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); | |
7967 | __attribute__((visibility("default"))) void glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLuint *); | |
7968 | __attribute__((visibility("default"))) void glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); | |
7969 | __attribute__((visibility("default"))) void glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint *); | |
7970 | __attribute__((visibility("default"))) void glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuint *); | |
7971 | __attribute__((visibility("default"))) void glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *); | |
7972 | __attribute__((visibility("default"))) void glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint *); | |
7973 | ||
7974 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); | |
7975 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); | |
7976 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); | |
7977 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | |
7978 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); | |
7979 | typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); | |
7980 | typedef void ( * PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); | |
7981 | typedef void ( * PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); | |
7982 | typedef void ( * PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); | |
7983 | typedef void ( * PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | |
7984 | typedef void ( * PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); | |
7985 | typedef void ( * PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); | |
7986 | typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); | |
7987 | typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); | |
7988 | typedef void ( * PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); | |
7989 | typedef void ( * PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); | |
7990 | ||
7991 | ||
7992 | ||
7993 | ||
7994 | ||
7995 | __attribute__((visibility("default"))) void glProgramVertexLimitNV (GLenum, GLint); | |
7996 | __attribute__((visibility("default"))) void glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint); | |
7997 | __attribute__((visibility("default"))) void glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, GLint, GLint); | |
7998 | __attribute__((visibility("default"))) void glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GLint, GLenum); | |
7999 | ||
8000 | typedef void ( * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); | |
8001 | typedef void ( * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); | |
8002 | typedef void ( * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); | |
8003 | typedef void ( * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); | |
8004 | ||
8005 | ||
8006 | ||
8007 | ||
8008 | ||
8009 | __attribute__((visibility("default"))) void glProgramParameteriEXT (GLuint, GLenum, GLint); | |
8010 | ||
8011 | typedef void ( * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); | |
8012 | ||
8013 | ||
8014 | ||
8015 | ||
8016 | ||
8017 | __attribute__((visibility("default"))) void glVertexAttribI1iEXT (GLuint, GLint); | |
8018 | __attribute__((visibility("default"))) void glVertexAttribI2iEXT (GLuint, GLint, GLint); | |
8019 | __attribute__((visibility("default"))) void glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint); | |
8020 | __attribute__((visibility("default"))) void glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLint); | |
8021 | __attribute__((visibility("default"))) void glVertexAttribI1uiEXT (GLuint, GLuint); | |
8022 | __attribute__((visibility("default"))) void glVertexAttribI2uiEXT (GLuint, GLuint, GLuint); | |
8023 | __attribute__((visibility("default"))) void glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint); | |
8024 | __attribute__((visibility("default"))) void glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, GLuint); | |
8025 | __attribute__((visibility("default"))) void glVertexAttribI1ivEXT (GLuint, const GLint *); | |
8026 | __attribute__((visibility("default"))) void glVertexAttribI2ivEXT (GLuint, const GLint *); | |
8027 | __attribute__((visibility("default"))) void glVertexAttribI3ivEXT (GLuint, const GLint *); | |
8028 | __attribute__((visibility("default"))) void glVertexAttribI4ivEXT (GLuint, const GLint *); | |
8029 | __attribute__((visibility("default"))) void glVertexAttribI1uivEXT (GLuint, const GLuint *); | |
8030 | __attribute__((visibility("default"))) void glVertexAttribI2uivEXT (GLuint, const GLuint *); | |
8031 | __attribute__((visibility("default"))) void glVertexAttribI3uivEXT (GLuint, const GLuint *); | |
8032 | __attribute__((visibility("default"))) void glVertexAttribI4uivEXT (GLuint, const GLuint *); | |
8033 | __attribute__((visibility("default"))) void glVertexAttribI4bvEXT (GLuint, const GLbyte *); | |
8034 | __attribute__((visibility("default"))) void glVertexAttribI4svEXT (GLuint, const GLshort *); | |
8035 | __attribute__((visibility("default"))) void glVertexAttribI4ubvEXT (GLuint, const GLubyte *); | |
8036 | __attribute__((visibility("default"))) void glVertexAttribI4usvEXT (GLuint, const GLushort *); | |
8037 | __attribute__((visibility("default"))) void glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsizei, const GLvoid *); | |
8038 | __attribute__((visibility("default"))) void glGetVertexAttribIivEXT (GLuint, GLenum, GLint *); | |
8039 | __attribute__((visibility("default"))) void glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *); | |
8040 | ||
8041 | typedef void ( * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); | |
8042 | typedef void ( * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); | |
8043 | typedef void ( * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); | |
8044 | typedef void ( * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); | |
8045 | typedef void ( * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); | |
8046 | typedef void ( * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); | |
8047 | typedef void ( * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); | |
8048 | typedef void ( * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | |
8049 | typedef void ( * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); | |
8050 | typedef void ( * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); | |
8051 | typedef void ( * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); | |
8052 | typedef void ( * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); | |
8053 | typedef void ( * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); | |
8054 | typedef void ( * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); | |
8055 | typedef void ( * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); | |
8056 | typedef void ( * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); | |
8057 | typedef void ( * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); | |
8058 | typedef void ( * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); | |
8059 | typedef void ( * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); | |
8060 | typedef void ( * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); | |
8061 | typedef void ( * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
8062 | typedef void ( * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); | |
8063 | typedef void ( * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); | |
8064 | ||
8065 | ||
8066 | ||
8067 | ||
8068 | ||
8069 | __attribute__((visibility("default"))) void glGetUniformuivEXT (GLuint, GLint, GLuint *); | |
8070 | __attribute__((visibility("default"))) void glBindFragDataLocationEXT (GLuint, GLuint, const GLchar *); | |
8071 | __attribute__((visibility("default"))) GLint glGetFragDataLocationEXT (GLuint, const GLchar *); | |
8072 | __attribute__((visibility("default"))) void glUniform1uiEXT (GLint, GLuint); | |
8073 | __attribute__((visibility("default"))) void glUniform2uiEXT (GLint, GLuint, GLuint); | |
8074 | __attribute__((visibility("default"))) void glUniform3uiEXT (GLint, GLuint, GLuint, GLuint); | |
8075 | __attribute__((visibility("default"))) void glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint); | |
8076 | __attribute__((visibility("default"))) void glUniform1uivEXT (GLint, GLsizei, const GLuint *); | |
8077 | __attribute__((visibility("default"))) void glUniform2uivEXT (GLint, GLsizei, const GLuint *); | |
8078 | __attribute__((visibility("default"))) void glUniform3uivEXT (GLint, GLsizei, const GLuint *); | |
8079 | __attribute__((visibility("default"))) void glUniform4uivEXT (GLint, GLsizei, const GLuint *); | |
8080 | ||
8081 | typedef void ( * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); | |
8082 | typedef void ( * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); | |
8083 | typedef GLint ( * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); | |
8084 | typedef void ( * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); | |
8085 | typedef void ( * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); | |
8086 | typedef void ( * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); | |
8087 | typedef void ( * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | |
8088 | typedef void ( * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); | |
8089 | typedef void ( * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); | |
8090 | typedef void ( * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); | |
8091 | typedef void ( * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); | |
8092 | ||
8093 | ||
8094 | ||
8095 | ||
8096 | ||
8097 | __attribute__((visibility("default"))) void glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei); | |
8098 | __attribute__((visibility("default"))) void glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); | |
8099 | ||
8100 | typedef void ( * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | |
8101 | typedef void ( * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); | |
8102 | # 7118 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
8103 | __attribute__((visibility("default"))) void glTexBufferEXT (GLenum, GLenum, GLuint); | |
8104 | ||
8105 | typedef void ( * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); | |
8106 | # 7138 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
8107 | __attribute__((visibility("default"))) void glDepthRangedNV (GLdouble, GLdouble); | |
8108 | __attribute__((visibility("default"))) void glClearDepthdNV (GLdouble); | |
8109 | __attribute__((visibility("default"))) void glDepthBoundsdNV (GLdouble, GLdouble); | |
8110 | ||
8111 | typedef void ( * PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); | |
8112 | typedef void ( * PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); | |
8113 | typedef void ( * PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); | |
8114 | # 7154 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
8115 | __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleCoverageNV (GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei); | |
8116 | ||
8117 | typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); | |
8118 | # 7170 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" | |
8119 | __attribute__((visibility("default"))) void glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLsizei, const GLfloat *); | |
8120 | __attribute__((visibility("default"))) void glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLsizei, const GLint *); | |
8121 | __attribute__((visibility("default"))) void glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint, GLsizei, const GLuint *); | |
8122 | ||
8123 | typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); | |
8124 | typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); | |
8125 | typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); | |
8126 | ||
8127 | ||
8128 | ||
8129 | ||
8130 | ||
8131 | __attribute__((visibility("default"))) void glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GLboolean, GLboolean); | |
8132 | __attribute__((visibility("default"))) void glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *); | |
8133 | __attribute__((visibility("default"))) void glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *); | |
8134 | __attribute__((visibility("default"))) void glEnableIndexedEXT (GLenum, GLuint); | |
8135 | __attribute__((visibility("default"))) void glDisableIndexedEXT (GLenum, GLuint); | |
8136 | __attribute__((visibility("default"))) GLboolean glIsEnabledIndexedEXT (GLenum, GLuint); | |
8137 | ||
8138 | typedef void ( * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); | |
8139 | typedef void ( * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); | |
8140 | typedef void ( * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); | |
8141 | typedef void ( * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); | |
8142 | typedef void ( * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); | |
8143 | typedef GLboolean ( * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); | |
8144 | ||
8145 | ||
8146 | ||
8147 | ||
8148 | ||
8149 | __attribute__((visibility("default"))) void glBeginTransformFeedbackNV (GLenum); | |
8150 | __attribute__((visibility("default"))) void glEndTransformFeedbackNV (void); | |
8151 | __attribute__((visibility("default"))) void glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum); | |
8152 | __attribute__((visibility("default"))) void glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); | |
8153 | __attribute__((visibility("default"))) void glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr); | |
8154 | __attribute__((visibility("default"))) void glBindBufferBaseNV (GLenum, GLuint, GLuint); | |
8155 | __attribute__((visibility("default"))) void glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum); | |
8156 | __attribute__((visibility("default"))) void glActiveVaryingNV (GLuint, const GLchar *); | |
8157 | __attribute__((visibility("default"))) GLint glGetVaryingLocationNV (GLuint, const GLchar *); | |
8158 | __attribute__((visibility("default"))) void glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); | |
8159 | __attribute__((visibility("default"))) void glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *); | |
8160 | ||
8161 | typedef void ( * PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); | |
8162 | typedef void ( * PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); | |
8163 | typedef void ( * PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); | |
8164 | typedef void ( * PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | |
8165 | typedef void ( * PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); | |
8166 | typedef void ( * PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); | |
8167 | typedef void ( * PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); | |
8168 | typedef void ( * PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); | |
8169 | typedef GLint ( * PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); | |
8170 | typedef void ( * PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | |
8171 | typedef void ( * PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); | |
8172 | ||
8173 | ||
8174 | ||
8175 | ||
8176 | ||
8177 | __attribute__((visibility("default"))) void glUniformBufferEXT (GLuint, GLint, GLuint); | |
8178 | __attribute__((visibility("default"))) GLint glGetUniformBufferSizeEXT (GLuint, GLint); | |
8179 | __attribute__((visibility("default"))) GLintptr glGetUniformOffsetEXT (GLuint, GLint); | |
8180 | ||
8181 | typedef void ( * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); | |
8182 | typedef GLint ( * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); | |
8183 | typedef GLintptr ( * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); | |
8184 | ||
8185 | ||
8186 | ||
8187 | ||
8188 | ||
8189 | __attribute__((visibility("default"))) void glTexParameterIivEXT (GLenum, GLenum, const GLint *); | |
8190 | __attribute__((visibility("default"))) void glTexParameterIuivEXT (GLenum, GLenum, const GLuint *); | |
8191 | __attribute__((visibility("default"))) void glGetTexParameterIivEXT (GLenum, GLenum, GLint *); | |
8192 | __attribute__((visibility("default"))) void glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *); | |
8193 | __attribute__((visibility("default"))) void glClearColorIiEXT (GLint, GLint, GLint, GLint); | |
8194 | __attribute__((visibility("default"))) void glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint); | |
8195 | ||
8196 | typedef void ( * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); | |
8197 | typedef void ( * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); | |
8198 | typedef void ( * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | |
8199 | typedef void ( * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); | |
8200 | typedef void ( * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); | |
8201 | typedef void ( * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); | |
8202 | # 2151 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 2 | |
8203 | # 2165 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
8204 | __attribute__((visibility("default"))) GLhandleARB glCreateDebugObjectMESA (void); | |
8205 | __attribute__((visibility("default"))) void glClearDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType); | |
8206 | __attribute__((visibility("default"))) void glGetDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType, GLsizei maxLength, | |
8207 | GLsizei *length, GLcharARB *debugLog); | |
8208 | __attribute__((visibility("default"))) GLsizei glGetDebugLogLengthMESA (GLhandleARB obj, GLenum logType, GLenum shaderType); | |
8209 | # 2204 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
8210 | typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data); | |
8211 | ||
8212 | __attribute__((visibility("default"))) void glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data); | |
8213 | ||
8214 | __attribute__((visibility("default"))) void glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v); | |
8215 | # 2218 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" | |
8216 | __attribute__((visibility("default"))) void glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); | |
8217 | typedef void ( * PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); | |
8218 | # 145 "glheader.h" 2 | |
8219 | # 258 "glheader.h" | |
8220 | ||
8221 | # 1 "config.h" 1 | |
8222 | # 259 "glheader.h" 2 | |
8223 | # 33 "texcompress_fxt1.c" 2 | |
8224 | ||
8225 | # 1 "imports.h" 1 | |
8226 | # 42 "imports.h" | |
8227 | ||
8228 | # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" 1 | |
8229 | # 45 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" | |
8230 | typedef struct __GLcontextRec __GLcontext; | |
8231 | # 70 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" | |
8232 | typedef struct __GLcontextModesRec { | |
8233 | struct __GLcontextModesRec * next; | |
8234 | ||
8235 | GLboolean rgbMode; | |
8236 | GLboolean floatMode; | |
8237 | GLboolean colorIndexMode; | |
8238 | GLuint doubleBufferMode; | |
8239 | GLuint stereoMode; | |
8240 | ||
8241 | GLboolean haveAccumBuffer; | |
8242 | GLboolean haveDepthBuffer; | |
8243 | GLboolean haveStencilBuffer; | |
8244 | ||
8245 | GLint redBits, greenBits, blueBits, alphaBits; | |
8246 | GLuint redMask, greenMask, blueMask, alphaMask; | |
8247 | GLint rgbBits; | |
8248 | GLint indexBits; | |
8249 | ||
8250 | GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; | |
8251 | GLint depthBits; | |
8252 | GLint stencilBits; | |
8253 | ||
8254 | GLint numAuxBuffers; | |
8255 | ||
8256 | GLint level; | |
8257 | ||
8258 | GLint pixmapMode; | |
8259 | ||
8260 | ||
8261 | GLint visualID; | |
8262 | GLint visualType; | |
8263 | ||
8264 | ||
8265 | ||
8266 | ||
8267 | GLint visualRating; | |
8268 | ||
8269 | ||
8270 | GLint transparentPixel; | |
8271 | ||
8272 | GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha; | |
8273 | GLint transparentIndex; | |
8274 | ||
8275 | ||
8276 | GLint sampleBuffers; | |
8277 | GLint samples; | |
8278 | ||
8279 | ||
8280 | GLint drawableType; | |
8281 | GLint renderType; | |
8282 | GLint xRenderable; | |
8283 | GLint fbconfigID; | |
8284 | ||
8285 | ||
8286 | GLint maxPbufferWidth; | |
8287 | GLint maxPbufferHeight; | |
8288 | GLint maxPbufferPixels; | |
8289 | GLint optimalPbufferWidth; | |
8290 | GLint optimalPbufferHeight; | |
8291 | ||
8292 | ||
8293 | GLint visualSelectGroup; | |
8294 | ||
8295 | ||
8296 | GLint swapMethod; | |
8297 | ||
8298 | GLint screen; | |
8299 | ||
8300 | ||
8301 | GLint bindToTextureRgb; | |
8302 | GLint bindToTextureRgba; | |
8303 | GLint bindToMipmapTexture; | |
8304 | GLint bindToTextureTargets; | |
8305 | GLint yInverted; | |
8306 | } __GLcontextModes; | |
8307 | # 43 "imports.h" 2 | |
8308 | # 122 "imports.h" | |
8309 | typedef union { GLfloat f; GLint i; } fi_type; | |
8310 | # 214 "imports.h" | |
8311 | static __inline__ GLfloat LOG2(GLfloat val) | |
8312 | { | |
8313 | fi_type num; | |
8314 | GLint log_2; | |
8315 | num.f = val; | |
8316 | log_2 = ((num.i >> 23) & 255) - 128; | |
8317 | num.i &= ~(255 << 23); | |
8318 | num.i += 127 << 23; | |
8319 | num.f = ((-1.0f/3) * num.f + 2) * num.f - 2.0f/3; | |
8320 | return num.f + log_2; | |
8321 | } | |
8322 | # 238 "imports.h" | |
8323 | static __inline__ int IS_INF_OR_NAN( float x ) | |
8324 | { | |
8325 | fi_type tmp; | |
8326 | tmp.f = x; | |
8327 | return !(int)((unsigned int)((tmp.i & 0x7fffffff)-0x7f800000) >> 31); | |
8328 | } | |
8329 | # 261 "imports.h" | |
8330 | static __inline__ int GET_FLOAT_BITS( float x ) | |
8331 | { | |
8332 | fi_type fi; | |
8333 | fi.f = x; | |
8334 | return fi.i; | |
8335 | } | |
8336 | # 395 "imports.h" | |
8337 | static __inline__ int ifloor(float f) | |
8338 | { | |
8339 | int ai, bi; | |
8340 | double af, bf; | |
8341 | fi_type u; | |
8342 | ||
8343 | af = (3 << 22) + 0.5 + (double)f; | |
8344 | bf = (3 << 22) + 0.5 - (double)f; | |
8345 | u.f = (float) af; ai = u.i; | |
8346 | u.f = (float) bf; bi = u.i; | |
8347 | return (ai - bi) >> 1; | |
8348 | } | |
8349 | # 442 "imports.h" | |
8350 | static __inline__ int iceil(float f) | |
8351 | { | |
8352 | int ai, bi; | |
8353 | double af, bf; | |
8354 | fi_type u; | |
8355 | af = (3 << 22) + 0.5 + (double)f; | |
8356 | bf = (3 << 22) + 0.5 - (double)f; | |
8357 | u.f = (float) af; ai = u.i; | |
8358 | u.f = (float) bf; bi = u.i; | |
8359 | return (ai - bi + 1) >> 1; | |
8360 | } | |
8361 | # 610 "imports.h" | |
8362 | static __inline__ GLboolean | |
8363 | _mesa_little_endian(void) | |
8364 | { | |
8365 | const GLuint ui = 1; | |
8366 | return *((const GLubyte *) &ui); | |
8367 | } | |
8368 | ||
8369 | ||
8370 | ||
8371 | ||
8372 | ||
8373 | ||
8374 | ||
8375 | extern void * | |
8376 | _mesa_malloc( size_t bytes ); | |
8377 | ||
8378 | extern void * | |
8379 | _mesa_calloc( size_t bytes ); | |
8380 | ||
8381 | extern void | |
8382 | _mesa_free( void *ptr ); | |
8383 | ||
8384 | extern void * | |
8385 | _mesa_align_malloc( size_t bytes, unsigned long alignment ); | |
8386 | ||
8387 | extern void * | |
8388 | _mesa_align_calloc( size_t bytes, unsigned long alignment ); | |
8389 | ||
8390 | extern void | |
8391 | _mesa_align_free( void *ptr ); | |
8392 | ||
8393 | extern void * | |
8394 | _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize, | |
8395 | unsigned long alignment); | |
8396 | ||
8397 | extern void * | |
8398 | _mesa_exec_malloc( GLuint size ); | |
8399 | ||
8400 | extern void | |
8401 | _mesa_exec_free( void *addr ); | |
8402 | ||
8403 | extern void * | |
8404 | _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize ); | |
8405 | ||
8406 | extern void * | |
8407 | _mesa_memcpy( void *dest, const void *src, size_t n ); | |
8408 | ||
8409 | extern void | |
8410 | _mesa_memset( void *dst, int val, size_t n ); | |
8411 | ||
8412 | extern void | |
8413 | _mesa_memset16( unsigned short *dst, unsigned short val, size_t n ); | |
8414 | ||
8415 | extern void | |
8416 | _mesa_bzero( void *dst, size_t n ); | |
8417 | ||
8418 | extern int | |
8419 | _mesa_memcmp( const void *s1, const void *s2, size_t n ); | |
8420 | ||
8421 | extern double | |
8422 | _mesa_sin(double a); | |
8423 | ||
8424 | extern float | |
8425 | _mesa_sinf(float a); | |
8426 | ||
8427 | extern double | |
8428 | _mesa_cos(double a); | |
8429 | ||
8430 | extern float | |
8431 | _mesa_asinf(float x); | |
8432 | ||
8433 | extern float | |
8434 | _mesa_atanf(float x); | |
8435 | ||
8436 | extern double | |
8437 | _mesa_sqrtd(double x); | |
8438 | ||
8439 | extern float | |
8440 | _mesa_sqrtf(float x); | |
8441 | ||
8442 | extern float | |
8443 | _mesa_inv_sqrtf(float x); | |
8444 | ||
8445 | extern void | |
8446 | _mesa_init_sqrt_table(void); | |
8447 | ||
8448 | extern double | |
8449 | _mesa_pow(double x, double y); | |
8450 | ||
8451 | extern int | |
8452 | _mesa_ffs(int i); | |
8453 | ||
8454 | extern int | |
8455 | ||
8456 | ||
8457 | ||
8458 | _mesa_ffsll(long long i); | |
8459 | ||
8460 | ||
8461 | extern unsigned int | |
8462 | _mesa_bitcount(unsigned int n); | |
8463 | ||
8464 | extern GLhalfARB | |
8465 | _mesa_float_to_half(float f); | |
8466 | ||
8467 | extern float | |
8468 | _mesa_half_to_float(GLhalfARB h); | |
8469 | ||
8470 | ||
8471 | extern void * | |
8472 | _mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size, | |
8473 | int (*compar)(const void *, const void *) ); | |
8474 | ||
8475 | extern char * | |
8476 | _mesa_getenv( const char *var ); | |
8477 | ||
8478 | extern char * | |
8479 | _mesa_strstr( const char *haystack, const char *needle ); | |
8480 | ||
8481 | extern char * | |
8482 | _mesa_strncat( char *dest, const char *src, size_t n ); | |
8483 | ||
8484 | extern char * | |
8485 | _mesa_strcpy( char *dest, const char *src ); | |
8486 | ||
8487 | extern char * | |
8488 | _mesa_strncpy( char *dest, const char *src, size_t n ); | |
8489 | ||
8490 | extern size_t | |
8491 | _mesa_strlen( const char *s ); | |
8492 | ||
8493 | extern int | |
8494 | _mesa_strcmp( const char *s1, const char *s2 ); | |
8495 | ||
8496 | extern int | |
8497 | _mesa_strncmp( const char *s1, const char *s2, size_t n ); | |
8498 | ||
8499 | extern char * | |
8500 | _mesa_strdup( const char *s ); | |
8501 | ||
8502 | extern int | |
8503 | _mesa_atoi( const char *s ); | |
8504 | ||
8505 | extern double | |
8506 | _mesa_strtod( const char *s, char **end ); | |
8507 | ||
8508 | extern int | |
8509 | _mesa_sprintf( char *str, const char *fmt, ... ); | |
8510 | ||
8511 | extern void | |
8512 | _mesa_printf( const char *fmtString, ... ); | |
8513 | ||
8514 | extern int | |
8515 | _mesa_vsprintf( char *str, const char *fmt, va_list args ); | |
8516 | ||
8517 | ||
8518 | extern void | |
8519 | _mesa_warning( __GLcontext *gc, const char *fmtString, ... ); | |
8520 | ||
8521 | extern void | |
8522 | _mesa_problem( const __GLcontext *ctx, const char *fmtString, ... ); | |
8523 | ||
8524 | extern void | |
8525 | _mesa_error( __GLcontext *ctx, GLenum error, const char *fmtString, ... ); | |
8526 | ||
8527 | extern void | |
8528 | _mesa_debug( const __GLcontext *ctx, const char *fmtString, ... ); | |
8529 | ||
8530 | extern void | |
8531 | _mesa_exit( int status ); | |
8532 | # 34 "texcompress_fxt1.c" 2 | |
8533 | ||
8534 | # 1 "colormac.h" 1 | |
8535 | # 38 "colormac.h" | |
8536 | ||
8537 | # 1 "macros.h" 1 | |
8538 | # 43 "macros.h" | |
8539 | extern GLfloat _mesa_ubyte_to_float_color_tab[256]; | |
8540 | # 39 "colormac.h" 2 | |
8541 | # 35 "texcompress_fxt1.c" 2 | |
8542 | ||
8543 | # 1 "context.h" 1 | |
8544 | # 52 "context.h" | |
8545 | ||
8546 | # 1 "../glapi/glapi.h" 1 | |
8547 | # 48 "../glapi/glapi.h" | |
8548 | ||
8549 | # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 1 | |
8550 | # 49 "../glapi/glapi.h" 2 | |
8551 | ||
8552 | # 1 "../glapi/glapitable.h" 1 | |
8553 | # 40 "../glapi/glapitable.h" | |
8554 | typedef void (*_glapi_proc)(void); | |
8555 | ||
8556 | struct _glapi_table | |
8557 | { | |
8558 | void ( * NewList)(GLuint list, GLenum mode); | |
8559 | void ( * EndList)(void); | |
8560 | void ( * CallList)(GLuint list); | |
8561 | void ( * CallLists)(GLsizei n, GLenum type, const GLvoid * lists); | |
8562 | void ( * DeleteLists)(GLuint list, GLsizei range); | |
8563 | GLuint ( * GenLists)(GLsizei range); | |
8564 | void ( * ListBase)(GLuint base); | |
8565 | void ( * Begin)(GLenum mode); | |
8566 | void ( * Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); | |
8567 | void ( * Color3b)(GLbyte red, GLbyte green, GLbyte blue); | |
8568 | void ( * Color3bv)(const GLbyte * v); | |
8569 | void ( * Color3d)(GLdouble red, GLdouble green, GLdouble blue); | |
8570 | void ( * Color3dv)(const GLdouble * v); | |
8571 | void ( * Color3f)(GLfloat red, GLfloat green, GLfloat blue); | |
8572 | void ( * Color3fv)(const GLfloat * v); | |
8573 | void ( * Color3i)(GLint red, GLint green, GLint blue); | |
8574 | void ( * Color3iv)(const GLint * v); | |
8575 | void ( * Color3s)(GLshort red, GLshort green, GLshort blue); | |
8576 | void ( * Color3sv)(const GLshort * v); | |
8577 | void ( * Color3ub)(GLubyte red, GLubyte green, GLubyte blue); | |
8578 | void ( * Color3ubv)(const GLubyte * v); | |
8579 | void ( * Color3ui)(GLuint red, GLuint green, GLuint blue); | |
8580 | void ( * Color3uiv)(const GLuint * v); | |
8581 | void ( * Color3us)(GLushort red, GLushort green, GLushort blue); | |
8582 | void ( * Color3usv)(const GLushort * v); | |
8583 | void ( * Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); | |
8584 | void ( * Color4bv)(const GLbyte * v); | |
8585 | void ( * Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); | |
8586 | void ( * Color4dv)(const GLdouble * v); | |
8587 | void ( * Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | |
8588 | void ( * Color4fv)(const GLfloat * v); | |
8589 | void ( * Color4i)(GLint red, GLint green, GLint blue, GLint alpha); | |
8590 | void ( * Color4iv)(const GLint * v); | |
8591 | void ( * Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha); | |
8592 | void ( * Color4sv)(const GLshort * v); | |
8593 | void ( * Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); | |
8594 | void ( * Color4ubv)(const GLubyte * v); | |
8595 | void ( * Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha); | |
8596 | void ( * Color4uiv)(const GLuint * v); | |
8597 | void ( * Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha); | |
8598 | void ( * Color4usv)(const GLushort * v); | |
8599 | void ( * EdgeFlag)(GLboolean flag); | |
8600 | void ( * EdgeFlagv)(const GLboolean * flag); | |
8601 | void ( * End)(void); | |
8602 | void ( * Indexd)(GLdouble c); | |
8603 | void ( * Indexdv)(const GLdouble * c); | |
8604 | void ( * Indexf)(GLfloat c); | |
8605 | void ( * Indexfv)(const GLfloat * c); | |
8606 | void ( * Indexi)(GLint c); | |
8607 | void ( * Indexiv)(const GLint * c); | |
8608 | void ( * Indexs)(GLshort c); | |
8609 | void ( * Indexsv)(const GLshort * c); | |
8610 | void ( * Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz); | |
8611 | void ( * Normal3bv)(const GLbyte * v); | |
8612 | void ( * Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz); | |
8613 | void ( * Normal3dv)(const GLdouble * v); | |
8614 | void ( * Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz); | |
8615 | void ( * Normal3fv)(const GLfloat * v); | |
8616 | void ( * Normal3i)(GLint nx, GLint ny, GLint nz); | |
8617 | void ( * Normal3iv)(const GLint * v); | |
8618 | void ( * Normal3s)(GLshort nx, GLshort ny, GLshort nz); | |
8619 | void ( * Normal3sv)(const GLshort * v); | |
8620 | void ( * RasterPos2d)(GLdouble x, GLdouble y); | |
8621 | void ( * RasterPos2dv)(const GLdouble * v); | |
8622 | void ( * RasterPos2f)(GLfloat x, GLfloat y); | |
8623 | void ( * RasterPos2fv)(const GLfloat * v); | |
8624 | void ( * RasterPos2i)(GLint x, GLint y); | |
8625 | void ( * RasterPos2iv)(const GLint * v); | |
8626 | void ( * RasterPos2s)(GLshort x, GLshort y); | |
8627 | void ( * RasterPos2sv)(const GLshort * v); | |
8628 | void ( * RasterPos3d)(GLdouble x, GLdouble y, GLdouble z); | |
8629 | void ( * RasterPos3dv)(const GLdouble * v); | |
8630 | void ( * RasterPos3f)(GLfloat x, GLfloat y, GLfloat z); | |
8631 | void ( * RasterPos3fv)(const GLfloat * v); | |
8632 | void ( * RasterPos3i)(GLint x, GLint y, GLint z); | |
8633 | void ( * RasterPos3iv)(const GLint * v); | |
8634 | void ( * RasterPos3s)(GLshort x, GLshort y, GLshort z); | |
8635 | void ( * RasterPos3sv)(const GLshort * v); | |
8636 | void ( * RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
8637 | void ( * RasterPos4dv)(const GLdouble * v); | |
8638 | void ( * RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
8639 | void ( * RasterPos4fv)(const GLfloat * v); | |
8640 | void ( * RasterPos4i)(GLint x, GLint y, GLint z, GLint w); | |
8641 | void ( * RasterPos4iv)(const GLint * v); | |
8642 | void ( * RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w); | |
8643 | void ( * RasterPos4sv)(const GLshort * v); | |
8644 | void ( * Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); | |
8645 | void ( * Rectdv)(const GLdouble * v1, const GLdouble * v2); | |
8646 | void ( * Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); | |
8647 | void ( * Rectfv)(const GLfloat * v1, const GLfloat * v2); | |
8648 | void ( * Recti)(GLint x1, GLint y1, GLint x2, GLint y2); | |
8649 | void ( * Rectiv)(const GLint * v1, const GLint * v2); | |
8650 | void ( * Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); | |
8651 | void ( * Rectsv)(const GLshort * v1, const GLshort * v2); | |
8652 | void ( * TexCoord1d)(GLdouble s); | |
8653 | void ( * TexCoord1dv)(const GLdouble * v); | |
8654 | void ( * TexCoord1f)(GLfloat s); | |
8655 | void ( * TexCoord1fv)(const GLfloat * v); | |
8656 | void ( * TexCoord1i)(GLint s); | |
8657 | void ( * TexCoord1iv)(const GLint * v); | |
8658 | void ( * TexCoord1s)(GLshort s); | |
8659 | void ( * TexCoord1sv)(const GLshort * v); | |
8660 | void ( * TexCoord2d)(GLdouble s, GLdouble t); | |
8661 | void ( * TexCoord2dv)(const GLdouble * v); | |
8662 | void ( * TexCoord2f)(GLfloat s, GLfloat t); | |
8663 | void ( * TexCoord2fv)(const GLfloat * v); | |
8664 | void ( * TexCoord2i)(GLint s, GLint t); | |
8665 | void ( * TexCoord2iv)(const GLint * v); | |
8666 | void ( * TexCoord2s)(GLshort s, GLshort t); | |
8667 | void ( * TexCoord2sv)(const GLshort * v); | |
8668 | void ( * TexCoord3d)(GLdouble s, GLdouble t, GLdouble r); | |
8669 | void ( * TexCoord3dv)(const GLdouble * v); | |
8670 | void ( * TexCoord3f)(GLfloat s, GLfloat t, GLfloat r); | |
8671 | void ( * TexCoord3fv)(const GLfloat * v); | |
8672 | void ( * TexCoord3i)(GLint s, GLint t, GLint r); | |
8673 | void ( * TexCoord3iv)(const GLint * v); | |
8674 | void ( * TexCoord3s)(GLshort s, GLshort t, GLshort r); | |
8675 | void ( * TexCoord3sv)(const GLshort * v); | |
8676 | void ( * TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); | |
8677 | void ( * TexCoord4dv)(const GLdouble * v); | |
8678 | void ( * TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |
8679 | void ( * TexCoord4fv)(const GLfloat * v); | |
8680 | void ( * TexCoord4i)(GLint s, GLint t, GLint r, GLint q); | |
8681 | void ( * TexCoord4iv)(const GLint * v); | |
8682 | void ( * TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q); | |
8683 | void ( * TexCoord4sv)(const GLshort * v); | |
8684 | void ( * Vertex2d)(GLdouble x, GLdouble y); | |
8685 | void ( * Vertex2dv)(const GLdouble * v); | |
8686 | void ( * Vertex2f)(GLfloat x, GLfloat y); | |
8687 | void ( * Vertex2fv)(const GLfloat * v); | |
8688 | void ( * Vertex2i)(GLint x, GLint y); | |
8689 | void ( * Vertex2iv)(const GLint * v); | |
8690 | void ( * Vertex2s)(GLshort x, GLshort y); | |
8691 | void ( * Vertex2sv)(const GLshort * v); | |
8692 | void ( * Vertex3d)(GLdouble x, GLdouble y, GLdouble z); | |
8693 | void ( * Vertex3dv)(const GLdouble * v); | |
8694 | void ( * Vertex3f)(GLfloat x, GLfloat y, GLfloat z); | |
8695 | void ( * Vertex3fv)(const GLfloat * v); | |
8696 | void ( * Vertex3i)(GLint x, GLint y, GLint z); | |
8697 | void ( * Vertex3iv)(const GLint * v); | |
8698 | void ( * Vertex3s)(GLshort x, GLshort y, GLshort z); | |
8699 | void ( * Vertex3sv)(const GLshort * v); | |
8700 | void ( * Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
8701 | void ( * Vertex4dv)(const GLdouble * v); | |
8702 | void ( * Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
8703 | void ( * Vertex4fv)(const GLfloat * v); | |
8704 | void ( * Vertex4i)(GLint x, GLint y, GLint z, GLint w); | |
8705 | void ( * Vertex4iv)(const GLint * v); | |
8706 | void ( * Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w); | |
8707 | void ( * Vertex4sv)(const GLshort * v); | |
8708 | void ( * ClipPlane)(GLenum plane, const GLdouble * equation); | |
8709 | void ( * ColorMaterial)(GLenum face, GLenum mode); | |
8710 | void ( * CullFace)(GLenum mode); | |
8711 | void ( * Fogf)(GLenum pname, GLfloat param); | |
8712 | void ( * Fogfv)(GLenum pname, const GLfloat * params); | |
8713 | void ( * Fogi)(GLenum pname, GLint param); | |
8714 | void ( * Fogiv)(GLenum pname, const GLint * params); | |
8715 | void ( * FrontFace)(GLenum mode); | |
8716 | void ( * Hint)(GLenum target, GLenum mode); | |
8717 | void ( * Lightf)(GLenum light, GLenum pname, GLfloat param); | |
8718 | void ( * Lightfv)(GLenum light, GLenum pname, const GLfloat * params); | |
8719 | void ( * Lighti)(GLenum light, GLenum pname, GLint param); | |
8720 | void ( * Lightiv)(GLenum light, GLenum pname, const GLint * params); | |
8721 | void ( * LightModelf)(GLenum pname, GLfloat param); | |
8722 | void ( * LightModelfv)(GLenum pname, const GLfloat * params); | |
8723 | void ( * LightModeli)(GLenum pname, GLint param); | |
8724 | void ( * LightModeliv)(GLenum pname, const GLint * params); | |
8725 | void ( * LineStipple)(GLint factor, GLushort pattern); | |
8726 | void ( * LineWidth)(GLfloat width); | |
8727 | void ( * Materialf)(GLenum face, GLenum pname, GLfloat param); | |
8728 | void ( * Materialfv)(GLenum face, GLenum pname, const GLfloat * params); | |
8729 | void ( * Materiali)(GLenum face, GLenum pname, GLint param); | |
8730 | void ( * Materialiv)(GLenum face, GLenum pname, const GLint * params); | |
8731 | void ( * PointSize)(GLfloat size); | |
8732 | void ( * PolygonMode)(GLenum face, GLenum mode); | |
8733 | void ( * PolygonStipple)(const GLubyte * mask); | |
8734 | void ( * Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); | |
8735 | void ( * ShadeModel)(GLenum mode); | |
8736 | void ( * TexParameterf)(GLenum target, GLenum pname, GLfloat param); | |
8737 | void ( * TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params); | |
8738 | void ( * TexParameteri)(GLenum target, GLenum pname, GLint param); | |
8739 | void ( * TexParameteriv)(GLenum target, GLenum pname, const GLint * params); | |
8740 | void ( * TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); | |
8741 | void ( * TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); | |
8742 | void ( * TexEnvf)(GLenum target, GLenum pname, GLfloat param); | |
8743 | void ( * TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params); | |
8744 | void ( * TexEnvi)(GLenum target, GLenum pname, GLint param); | |
8745 | void ( * TexEnviv)(GLenum target, GLenum pname, const GLint * params); | |
8746 | void ( * TexGend)(GLenum coord, GLenum pname, GLdouble param); | |
8747 | void ( * TexGendv)(GLenum coord, GLenum pname, const GLdouble * params); | |
8748 | void ( * TexGenf)(GLenum coord, GLenum pname, GLfloat param); | |
8749 | void ( * TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params); | |
8750 | void ( * TexGeni)(GLenum coord, GLenum pname, GLint param); | |
8751 | void ( * TexGeniv)(GLenum coord, GLenum pname, const GLint * params); | |
8752 | void ( * FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer); | |
8753 | void ( * SelectBuffer)(GLsizei size, GLuint * buffer); | |
8754 | GLint ( * RenderMode)(GLenum mode); | |
8755 | void ( * InitNames)(void); | |
8756 | void ( * LoadName)(GLuint name); | |
8757 | void ( * PassThrough)(GLfloat token); | |
8758 | void ( * PopName)(void); | |
8759 | void ( * PushName)(GLuint name); | |
8760 | void ( * DrawBuffer)(GLenum mode); | |
8761 | void ( * Clear)(GLbitfield mask); | |
8762 | void ( * ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | |
8763 | void ( * ClearIndex)(GLfloat c); | |
8764 | void ( * ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
8765 | void ( * ClearStencil)(GLint s); | |
8766 | void ( * ClearDepth)(GLclampd depth); | |
8767 | void ( * StencilMask)(GLuint mask); | |
8768 | void ( * ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | |
8769 | void ( * DepthMask)(GLboolean flag); | |
8770 | void ( * IndexMask)(GLuint mask); | |
8771 | void ( * Accum)(GLenum op, GLfloat value); | |
8772 | void ( * Disable)(GLenum cap); | |
8773 | void ( * Enable)(GLenum cap); | |
8774 | void ( * Finish)(void); | |
8775 | void ( * Flush)(void); | |
8776 | void ( * PopAttrib)(void); | |
8777 | void ( * PushAttrib)(GLbitfield mask); | |
8778 | void ( * Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); | |
8779 | void ( * Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); | |
8780 | void ( * Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); | |
8781 | void ( * Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); | |
8782 | void ( * MapGrid1d)(GLint un, GLdouble u1, GLdouble u2); | |
8783 | void ( * MapGrid1f)(GLint un, GLfloat u1, GLfloat u2); | |
8784 | void ( * MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); | |
8785 | void ( * MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); | |
8786 | void ( * EvalCoord1d)(GLdouble u); | |
8787 | void ( * EvalCoord1dv)(const GLdouble * u); | |
8788 | void ( * EvalCoord1f)(GLfloat u); | |
8789 | void ( * EvalCoord1fv)(const GLfloat * u); | |
8790 | void ( * EvalCoord2d)(GLdouble u, GLdouble v); | |
8791 | void ( * EvalCoord2dv)(const GLdouble * u); | |
8792 | void ( * EvalCoord2f)(GLfloat u, GLfloat v); | |
8793 | void ( * EvalCoord2fv)(const GLfloat * u); | |
8794 | void ( * EvalMesh1)(GLenum mode, GLint i1, GLint i2); | |
8795 | void ( * EvalPoint1)(GLint i); | |
8796 | void ( * EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); | |
8797 | void ( * EvalPoint2)(GLint i, GLint j); | |
8798 | void ( * AlphaFunc)(GLenum func, GLclampf ref); | |
8799 | void ( * BlendFunc)(GLenum sfactor, GLenum dfactor); | |
8800 | void ( * LogicOp)(GLenum opcode); | |
8801 | void ( * StencilFunc)(GLenum func, GLint ref, GLuint mask); | |
8802 | void ( * StencilOp)(GLenum fail, GLenum zfail, GLenum zpass); | |
8803 | void ( * DepthFunc)(GLenum func); | |
8804 | void ( * PixelZoom)(GLfloat xfactor, GLfloat yfactor); | |
8805 | void ( * PixelTransferf)(GLenum pname, GLfloat param); | |
8806 | void ( * PixelTransferi)(GLenum pname, GLint param); | |
8807 | void ( * PixelStoref)(GLenum pname, GLfloat param); | |
8808 | void ( * PixelStorei)(GLenum pname, GLint param); | |
8809 | void ( * PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); | |
8810 | void ( * PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); | |
8811 | void ( * PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); | |
8812 | void ( * ReadBuffer)(GLenum mode); | |
8813 | void ( * CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); | |
8814 | void ( * ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); | |
8815 | void ( * DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); | |
8816 | void ( * GetBooleanv)(GLenum pname, GLboolean * params); | |
8817 | void ( * GetClipPlane)(GLenum plane, GLdouble * equation); | |
8818 | void ( * GetDoublev)(GLenum pname, GLdouble * params); | |
8819 | GLenum ( * GetError)(void); | |
8820 | void ( * GetFloatv)(GLenum pname, GLfloat * params); | |
8821 | void ( * GetIntegerv)(GLenum pname, GLint * params); | |
8822 | void ( * GetLightfv)(GLenum light, GLenum pname, GLfloat * params); | |
8823 | void ( * GetLightiv)(GLenum light, GLenum pname, GLint * params); | |
8824 | void ( * GetMapdv)(GLenum target, GLenum query, GLdouble * v); | |
8825 | void ( * GetMapfv)(GLenum target, GLenum query, GLfloat * v); | |
8826 | void ( * GetMapiv)(GLenum target, GLenum query, GLint * v); | |
8827 | void ( * GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params); | |
8828 | void ( * GetMaterialiv)(GLenum face, GLenum pname, GLint * params); | |
8829 | void ( * GetPixelMapfv)(GLenum map, GLfloat * values); | |
8830 | void ( * GetPixelMapuiv)(GLenum map, GLuint * values); | |
8831 | void ( * GetPixelMapusv)(GLenum map, GLushort * values); | |
8832 | void ( * GetPolygonStipple)(GLubyte * mask); | |
8833 | const GLubyte * ( * GetString)(GLenum name); | |
8834 | void ( * GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params); | |
8835 | void ( * GetTexEnviv)(GLenum target, GLenum pname, GLint * params); | |
8836 | void ( * GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params); | |
8837 | void ( * GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params); | |
8838 | void ( * GetTexGeniv)(GLenum coord, GLenum pname, GLint * params); | |
8839 | void ( * GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); | |
8840 | void ( * GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params); | |
8841 | void ( * GetTexParameteriv)(GLenum target, GLenum pname, GLint * params); | |
8842 | void ( * GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params); | |
8843 | void ( * GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params); | |
8844 | GLboolean ( * IsEnabled)(GLenum cap); | |
8845 | GLboolean ( * IsList)(GLuint list); | |
8846 | void ( * DepthRange)(GLclampd zNear, GLclampd zFar); | |
8847 | void ( * Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); | |
8848 | void ( * LoadIdentity)(void); | |
8849 | void ( * LoadMatrixf)(const GLfloat * m); | |
8850 | void ( * LoadMatrixd)(const GLdouble * m); | |
8851 | void ( * MatrixMode)(GLenum mode); | |
8852 | void ( * MultMatrixf)(const GLfloat * m); | |
8853 | void ( * MultMatrixd)(const GLdouble * m); | |
8854 | void ( * Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); | |
8855 | void ( * PopMatrix)(void); | |
8856 | void ( * PushMatrix)(void); | |
8857 | void ( * Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); | |
8858 | void ( * Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); | |
8859 | void ( * Scaled)(GLdouble x, GLdouble y, GLdouble z); | |
8860 | void ( * Scalef)(GLfloat x, GLfloat y, GLfloat z); | |
8861 | void ( * Translated)(GLdouble x, GLdouble y, GLdouble z); | |
8862 | void ( * Translatef)(GLfloat x, GLfloat y, GLfloat z); | |
8863 | void ( * Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); | |
8864 | void ( * ArrayElement)(GLint i); | |
8865 | void ( * BindTexture)(GLenum target, GLuint texture); | |
8866 | void ( * ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); | |
8867 | void ( * DisableClientState)(GLenum array); | |
8868 | void ( * DrawArrays)(GLenum mode, GLint first, GLsizei count); | |
8869 | void ( * DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); | |
8870 | void ( * EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer); | |
8871 | void ( * EnableClientState)(GLenum array); | |
8872 | void ( * IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); | |
8873 | void ( * Indexub)(GLubyte c); | |
8874 | void ( * Indexubv)(const GLubyte * c); | |
8875 | void ( * InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer); | |
8876 | void ( * NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); | |
8877 | void ( * PolygonOffset)(GLfloat factor, GLfloat units); | |
8878 | void ( * TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); | |
8879 | void ( * VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); | |
8880 | GLboolean ( * AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); | |
8881 | void ( * CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); | |
8882 | void ( * CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | |
8883 | void ( * CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); | |
8884 | void ( * CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
8885 | void ( * DeleteTextures)(GLsizei n, const GLuint * textures); | |
8886 | void ( * GenTextures)(GLsizei n, GLuint * textures); | |
8887 | void ( * GetPointerv)(GLenum pname, GLvoid ** params); | |
8888 | GLboolean ( * IsTexture)(GLuint texture); | |
8889 | void ( * PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities); | |
8890 | void ( * TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); | |
8891 | void ( * TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); | |
8892 | void ( * PopClientAttrib)(void); | |
8893 | void ( * PushClientAttrib)(GLbitfield mask); | |
8894 | void ( * BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
8895 | void ( * BlendEquation)(GLenum mode); | |
8896 | void ( * DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); | |
8897 | void ( * ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); | |
8898 | void ( * ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params); | |
8899 | void ( * ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params); | |
8900 | void ( * CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
8901 | void ( * GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table); | |
8902 | void ( * GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params); | |
8903 | void ( * GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params); | |
8904 | void ( * ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); | |
8905 | void ( * CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); | |
8906 | void ( * ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); | |
8907 | void ( * ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); | |
8908 | void ( * ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params); | |
8909 | void ( * ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params); | |
8910 | void ( * ConvolutionParameteri)(GLenum target, GLenum pname, GLint params); | |
8911 | void ( * ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params); | |
8912 | void ( * CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | |
8913 | void ( * CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); | |
8914 | void ( * GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image); | |
8915 | void ( * GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params); | |
8916 | void ( * GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params); | |
8917 | void ( * GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); | |
8918 | void ( * SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); | |
8919 | void ( * GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); | |
8920 | void ( * GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params); | |
8921 | void ( * GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params); | |
8922 | void ( * GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); | |
8923 | void ( * GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params); | |
8924 | void ( * GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params); | |
8925 | void ( * Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); | |
8926 | void ( * Minmax)(GLenum target, GLenum internalformat, GLboolean sink); | |
8927 | void ( * ResetHistogram)(GLenum target); | |
8928 | void ( * ResetMinmax)(GLenum target); | |
8929 | void ( * TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); | |
8930 | void ( * TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); | |
8931 | void ( * CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
8932 | void ( * ActiveTextureARB)(GLenum texture); | |
8933 | void ( * ClientActiveTextureARB)(GLenum texture); | |
8934 | void ( * MultiTexCoord1dARB)(GLenum target, GLdouble s); | |
8935 | void ( * MultiTexCoord1dvARB)(GLenum target, const GLdouble * v); | |
8936 | void ( * MultiTexCoord1fARB)(GLenum target, GLfloat s); | |
8937 | void ( * MultiTexCoord1fvARB)(GLenum target, const GLfloat * v); | |
8938 | void ( * MultiTexCoord1iARB)(GLenum target, GLint s); | |
8939 | void ( * MultiTexCoord1ivARB)(GLenum target, const GLint * v); | |
8940 | void ( * MultiTexCoord1sARB)(GLenum target, GLshort s); | |
8941 | void ( * MultiTexCoord1svARB)(GLenum target, const GLshort * v); | |
8942 | void ( * MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t); | |
8943 | void ( * MultiTexCoord2dvARB)(GLenum target, const GLdouble * v); | |
8944 | void ( * MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); | |
8945 | void ( * MultiTexCoord2fvARB)(GLenum target, const GLfloat * v); | |
8946 | void ( * MultiTexCoord2iARB)(GLenum target, GLint s, GLint t); | |
8947 | void ( * MultiTexCoord2ivARB)(GLenum target, const GLint * v); | |
8948 | void ( * MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t); | |
8949 | void ( * MultiTexCoord2svARB)(GLenum target, const GLshort * v); | |
8950 | void ( * MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); | |
8951 | void ( * MultiTexCoord3dvARB)(GLenum target, const GLdouble * v); | |
8952 | void ( * MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); | |
8953 | void ( * MultiTexCoord3fvARB)(GLenum target, const GLfloat * v); | |
8954 | void ( * MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r); | |
8955 | void ( * MultiTexCoord3ivARB)(GLenum target, const GLint * v); | |
8956 | void ( * MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r); | |
8957 | void ( * MultiTexCoord3svARB)(GLenum target, const GLshort * v); | |
8958 | void ( * MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); | |
8959 | void ( * MultiTexCoord4dvARB)(GLenum target, const GLdouble * v); | |
8960 | void ( * MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |
8961 | void ( * MultiTexCoord4fvARB)(GLenum target, const GLfloat * v); | |
8962 | void ( * MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); | |
8963 | void ( * MultiTexCoord4ivARB)(GLenum target, const GLint * v); | |
8964 | void ( * MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); | |
8965 | void ( * MultiTexCoord4svARB)(GLenum target, const GLshort * v); | |
8966 | void ( * AttachShader)(GLuint program, GLuint shader); | |
8967 | GLuint ( * CreateProgram)(void); | |
8968 | GLuint ( * CreateShader)(GLenum type); | |
8969 | void ( * DeleteProgram)(GLuint program); | |
8970 | void ( * DeleteShader)(GLuint program); | |
8971 | void ( * DetachShader)(GLuint program, GLuint shader); | |
8972 | void ( * GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); | |
8973 | void ( * GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); | |
8974 | void ( * GetProgramiv)(GLuint program, GLenum pname, GLint * params); | |
8975 | void ( * GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); | |
8976 | void ( * GetShaderiv)(GLuint shader, GLenum pname, GLint * params); | |
8977 | GLboolean ( * IsProgram)(GLuint program); | |
8978 | GLboolean ( * IsShader)(GLuint shader); | |
8979 | void ( * StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); | |
8980 | void ( * StencilMaskSeparate)(GLenum face, GLuint mask); | |
8981 | void ( * StencilOpSeparate)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); | |
8982 | void ( * UniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8983 | void ( * UniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8984 | void ( * UniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8985 | void ( * UniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8986 | void ( * UniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8987 | void ( * UniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
8988 | void ( * LoadTransposeMatrixdARB)(const GLdouble * m); | |
8989 | void ( * LoadTransposeMatrixfARB)(const GLfloat * m); | |
8990 | void ( * MultTransposeMatrixdARB)(const GLdouble * m); | |
8991 | void ( * MultTransposeMatrixfARB)(const GLfloat * m); | |
8992 | void ( * SampleCoverageARB)(GLclampf value, GLboolean invert); | |
8993 | void ( * CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); | |
8994 | void ( * CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); | |
8995 | void ( * CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); | |
8996 | void ( * CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); | |
8997 | void ( * CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); | |
8998 | void ( * CompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); | |
8999 | void ( * GetCompressedTexImageARB)(GLenum target, GLint level, GLvoid * img); | |
9000 | void ( * DisableVertexAttribArrayARB)(GLuint index); | |
9001 | void ( * EnableVertexAttribArrayARB)(GLuint index); | |
9002 | void ( * GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); | |
9003 | void ( * GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); | |
9004 | void ( * GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); | |
9005 | void ( * GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); | |
9006 | void ( * GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string); | |
9007 | void ( * GetProgramivARB)(GLenum target, GLenum pname, GLint * params); | |
9008 | void ( * GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params); | |
9009 | void ( * GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params); | |
9010 | void ( * GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params); | |
9011 | void ( * ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9012 | void ( * ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); | |
9013 | void ( * ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9014 | void ( * ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); | |
9015 | void ( * ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9016 | void ( * ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); | |
9017 | void ( * ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9018 | void ( * ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); | |
9019 | void ( * ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string); | |
9020 | void ( * VertexAttrib1dARB)(GLuint index, GLdouble x); | |
9021 | void ( * VertexAttrib1dvARB)(GLuint index, const GLdouble * v); | |
9022 | void ( * VertexAttrib1fARB)(GLuint index, GLfloat x); | |
9023 | void ( * VertexAttrib1fvARB)(GLuint index, const GLfloat * v); | |
9024 | void ( * VertexAttrib1sARB)(GLuint index, GLshort x); | |
9025 | void ( * VertexAttrib1svARB)(GLuint index, const GLshort * v); | |
9026 | void ( * VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y); | |
9027 | void ( * VertexAttrib2dvARB)(GLuint index, const GLdouble * v); | |
9028 | void ( * VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); | |
9029 | void ( * VertexAttrib2fvARB)(GLuint index, const GLfloat * v); | |
9030 | void ( * VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y); | |
9031 | void ( * VertexAttrib2svARB)(GLuint index, const GLshort * v); | |
9032 | void ( * VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); | |
9033 | void ( * VertexAttrib3dvARB)(GLuint index, const GLdouble * v); | |
9034 | void ( * VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); | |
9035 | void ( * VertexAttrib3fvARB)(GLuint index, const GLfloat * v); | |
9036 | void ( * VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z); | |
9037 | void ( * VertexAttrib3svARB)(GLuint index, const GLshort * v); | |
9038 | void ( * VertexAttrib4NbvARB)(GLuint index, const GLbyte * v); | |
9039 | void ( * VertexAttrib4NivARB)(GLuint index, const GLint * v); | |
9040 | void ( * VertexAttrib4NsvARB)(GLuint index, const GLshort * v); | |
9041 | void ( * VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); | |
9042 | void ( * VertexAttrib4NubvARB)(GLuint index, const GLubyte * v); | |
9043 | void ( * VertexAttrib4NuivARB)(GLuint index, const GLuint * v); | |
9044 | void ( * VertexAttrib4NusvARB)(GLuint index, const GLushort * v); | |
9045 | void ( * VertexAttrib4bvARB)(GLuint index, const GLbyte * v); | |
9046 | void ( * VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9047 | void ( * VertexAttrib4dvARB)(GLuint index, const GLdouble * v); | |
9048 | void ( * VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9049 | void ( * VertexAttrib4fvARB)(GLuint index, const GLfloat * v); | |
9050 | void ( * VertexAttrib4ivARB)(GLuint index, const GLint * v); | |
9051 | void ( * VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); | |
9052 | void ( * VertexAttrib4svARB)(GLuint index, const GLshort * v); | |
9053 | void ( * VertexAttrib4ubvARB)(GLuint index, const GLubyte * v); | |
9054 | void ( * VertexAttrib4uivARB)(GLuint index, const GLuint * v); | |
9055 | void ( * VertexAttrib4usvARB)(GLuint index, const GLushort * v); | |
9056 | void ( * VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); | |
9057 | void ( * BindBufferARB)(GLenum target, GLuint buffer); | |
9058 | void ( * BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); | |
9059 | void ( * BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); | |
9060 | void ( * DeleteBuffersARB)(GLsizei n, const GLuint * buffer); | |
9061 | void ( * GenBuffersARB)(GLsizei n, GLuint * buffer); | |
9062 | void ( * GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params); | |
9063 | void ( * GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params); | |
9064 | void ( * GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data); | |
9065 | GLboolean ( * IsBufferARB)(GLuint buffer); | |
9066 | GLvoid * ( * MapBufferARB)(GLenum target, GLenum access); | |
9067 | GLboolean ( * UnmapBufferARB)(GLenum target); | |
9068 | void ( * BeginQueryARB)(GLenum target, GLuint id); | |
9069 | void ( * DeleteQueriesARB)(GLsizei n, const GLuint * ids); | |
9070 | void ( * EndQueryARB)(GLenum target); | |
9071 | void ( * GenQueriesARB)(GLsizei n, GLuint * ids); | |
9072 | void ( * GetQueryObjectivARB)(GLuint id, GLenum pname, GLint * params); | |
9073 | void ( * GetQueryObjectuivARB)(GLuint id, GLenum pname, GLuint * params); | |
9074 | void ( * GetQueryivARB)(GLenum target, GLenum pname, GLint * params); | |
9075 | GLboolean ( * IsQueryARB)(GLuint id); | |
9076 | void ( * AttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); | |
9077 | void ( * CompileShaderARB)(GLhandleARB shader); | |
9078 | GLhandleARB ( * CreateProgramObjectARB)(void); | |
9079 | GLhandleARB ( * CreateShaderObjectARB)(GLenum shaderType); | |
9080 | void ( * DeleteObjectARB)(GLhandleARB obj); | |
9081 | void ( * DetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj); | |
9082 | void ( * GetActiveUniformARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); | |
9083 | void ( * GetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); | |
9084 | GLhandleARB ( * GetHandleARB)(GLenum pname); | |
9085 | void ( * GetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); | |
9086 | void ( * GetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params); | |
9087 | void ( * GetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params); | |
9088 | void ( * GetShaderSourceARB)(GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source); | |
9089 | GLint ( * GetUniformLocationARB)(GLhandleARB program, const GLcharARB * name); | |
9090 | void ( * GetUniformfvARB)(GLhandleARB program, GLint location, GLfloat * params); | |
9091 | void ( * GetUniformivARB)(GLhandleARB program, GLint location, GLint * params); | |
9092 | void ( * LinkProgramARB)(GLhandleARB program); | |
9093 | void ( * ShaderSourceARB)(GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length); | |
9094 | void ( * Uniform1fARB)(GLint location, GLfloat v0); | |
9095 | void ( * Uniform1fvARB)(GLint location, GLsizei count, const GLfloat * value); | |
9096 | void ( * Uniform1iARB)(GLint location, GLint v0); | |
9097 | void ( * Uniform1ivARB)(GLint location, GLsizei count, const GLint * value); | |
9098 | void ( * Uniform2fARB)(GLint location, GLfloat v0, GLfloat v1); | |
9099 | void ( * Uniform2fvARB)(GLint location, GLsizei count, const GLfloat * value); | |
9100 | void ( * Uniform2iARB)(GLint location, GLint v0, GLint v1); | |
9101 | void ( * Uniform2ivARB)(GLint location, GLsizei count, const GLint * value); | |
9102 | void ( * Uniform3fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | |
9103 | void ( * Uniform3fvARB)(GLint location, GLsizei count, const GLfloat * value); | |
9104 | void ( * Uniform3iARB)(GLint location, GLint v0, GLint v1, GLint v2); | |
9105 | void ( * Uniform3ivARB)(GLint location, GLsizei count, const GLint * value); | |
9106 | void ( * Uniform4fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | |
9107 | void ( * Uniform4fvARB)(GLint location, GLsizei count, const GLfloat * value); | |
9108 | void ( * Uniform4iARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | |
9109 | void ( * Uniform4ivARB)(GLint location, GLsizei count, const GLint * value); | |
9110 | void ( * UniformMatrix2fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
9111 | void ( * UniformMatrix3fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
9112 | void ( * UniformMatrix4fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); | |
9113 | void ( * UseProgramObjectARB)(GLhandleARB program); | |
9114 | void ( * ValidateProgramARB)(GLhandleARB program); | |
9115 | void ( * BindAttribLocationARB)(GLhandleARB program, GLuint index, const GLcharARB * name); | |
9116 | void ( * GetActiveAttribARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); | |
9117 | GLint ( * GetAttribLocationARB)(GLhandleARB program, const GLcharARB * name); | |
9118 | void ( * DrawBuffersARB)(GLsizei n, const GLenum * bufs); | |
9119 | void ( * PolygonOffsetEXT)(GLfloat factor, GLfloat bias); | |
9120 | void ( * GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); | |
9121 | void ( * GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); | |
9122 | void ( * PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); | |
9123 | void ( * PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); | |
9124 | void ( * PixelTexGenParameteriSGIS)(GLenum pname, GLint param); | |
9125 | void ( * PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); | |
9126 | void ( * SampleMaskSGIS)(GLclampf value, GLboolean invert); | |
9127 | void ( * SamplePatternSGIS)(GLenum pattern); | |
9128 | void ( * ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); | |
9129 | void ( * EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); | |
9130 | void ( * IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); | |
9131 | void ( * NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); | |
9132 | void ( * TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); | |
9133 | void ( * VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); | |
9134 | void ( * PointParameterfEXT)(GLenum pname, GLfloat param); | |
9135 | void ( * PointParameterfvEXT)(GLenum pname, const GLfloat * params); | |
9136 | void ( * LockArraysEXT)(GLint first, GLsizei count); | |
9137 | void ( * UnlockArraysEXT)(void); | |
9138 | void ( * CullParameterdvEXT)(GLenum pname, GLdouble * params); | |
9139 | void ( * CullParameterfvEXT)(GLenum pname, GLfloat * params); | |
9140 | void ( * SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); | |
9141 | void ( * SecondaryColor3bvEXT)(const GLbyte * v); | |
9142 | void ( * SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); | |
9143 | void ( * SecondaryColor3dvEXT)(const GLdouble * v); | |
9144 | void ( * SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); | |
9145 | void ( * SecondaryColor3fvEXT)(const GLfloat * v); | |
9146 | void ( * SecondaryColor3iEXT)(GLint red, GLint green, GLint blue); | |
9147 | void ( * SecondaryColor3ivEXT)(const GLint * v); | |
9148 | void ( * SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); | |
9149 | void ( * SecondaryColor3svEXT)(const GLshort * v); | |
9150 | void ( * SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); | |
9151 | void ( * SecondaryColor3ubvEXT)(const GLubyte * v); | |
9152 | void ( * SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); | |
9153 | void ( * SecondaryColor3uivEXT)(const GLuint * v); | |
9154 | void ( * SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); | |
9155 | void ( * SecondaryColor3usvEXT)(const GLushort * v); | |
9156 | void ( * SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); | |
9157 | void ( * MultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount); | |
9158 | void ( * MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); | |
9159 | void ( * FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer); | |
9160 | void ( * FogCoorddEXT)(GLdouble coord); | |
9161 | void ( * FogCoorddvEXT)(const GLdouble * coord); | |
9162 | void ( * FogCoordfEXT)(GLfloat coord); | |
9163 | void ( * FogCoordfvEXT)(const GLfloat * coord); | |
9164 | void ( * PixelTexGenSGIX)(GLenum mode); | |
9165 | void ( * BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
9166 | void ( * FlushVertexArrayRangeNV)(void); | |
9167 | void ( * VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); | |
9168 | void ( * CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); | |
9169 | void ( * CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); | |
9170 | void ( * CombinerParameterfNV)(GLenum pname, GLfloat param); | |
9171 | void ( * CombinerParameterfvNV)(GLenum pname, const GLfloat * params); | |
9172 | void ( * CombinerParameteriNV)(GLenum pname, GLint param); | |
9173 | void ( * CombinerParameterivNV)(GLenum pname, const GLint * params); | |
9174 | void ( * FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); | |
9175 | void ( * GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); | |
9176 | void ( * GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); | |
9177 | void ( * GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); | |
9178 | void ( * GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); | |
9179 | void ( * GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); | |
9180 | void ( * GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); | |
9181 | void ( * ResizeBuffersMESA)(void); | |
9182 | void ( * WindowPos2dMESA)(GLdouble x, GLdouble y); | |
9183 | void ( * WindowPos2dvMESA)(const GLdouble * v); | |
9184 | void ( * WindowPos2fMESA)(GLfloat x, GLfloat y); | |
9185 | void ( * WindowPos2fvMESA)(const GLfloat * v); | |
9186 | void ( * WindowPos2iMESA)(GLint x, GLint y); | |
9187 | void ( * WindowPos2ivMESA)(const GLint * v); | |
9188 | void ( * WindowPos2sMESA)(GLshort x, GLshort y); | |
9189 | void ( * WindowPos2svMESA)(const GLshort * v); | |
9190 | void ( * WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); | |
9191 | void ( * WindowPos3dvMESA)(const GLdouble * v); | |
9192 | void ( * WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); | |
9193 | void ( * WindowPos3fvMESA)(const GLfloat * v); | |
9194 | void ( * WindowPos3iMESA)(GLint x, GLint y, GLint z); | |
9195 | void ( * WindowPos3ivMESA)(const GLint * v); | |
9196 | void ( * WindowPos3sMESA)(GLshort x, GLshort y, GLshort z); | |
9197 | void ( * WindowPos3svMESA)(const GLshort * v); | |
9198 | void ( * WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9199 | void ( * WindowPos4dvMESA)(const GLdouble * v); | |
9200 | void ( * WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9201 | void ( * WindowPos4fvMESA)(const GLfloat * v); | |
9202 | void ( * WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); | |
9203 | void ( * WindowPos4ivMESA)(const GLint * v); | |
9204 | void ( * WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); | |
9205 | void ( * WindowPos4svMESA)(const GLshort * v); | |
9206 | void ( * MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); | |
9207 | void ( * MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); | |
9208 | void ( * DeleteFencesNV)(GLsizei n, const GLuint * fences); | |
9209 | void ( * FinishFenceNV)(GLuint fence); | |
9210 | void ( * GenFencesNV)(GLsizei n, GLuint * fences); | |
9211 | void ( * GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); | |
9212 | GLboolean ( * IsFenceNV)(GLuint fence); | |
9213 | void ( * SetFenceNV)(GLuint fence, GLenum condition); | |
9214 | GLboolean ( * TestFenceNV)(GLuint fence); | |
9215 | GLboolean ( * AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); | |
9216 | void ( * BindProgramNV)(GLenum target, GLuint program); | |
9217 | void ( * DeleteProgramsNV)(GLsizei n, const GLuint * programs); | |
9218 | void ( * ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); | |
9219 | void ( * GenProgramsNV)(GLsizei n, GLuint * programs); | |
9220 | void ( * GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); | |
9221 | void ( * GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); | |
9222 | void ( * GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); | |
9223 | void ( * GetProgramivNV)(GLuint id, GLenum pname, GLint * params); | |
9224 | void ( * GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); | |
9225 | void ( * GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer); | |
9226 | void ( * GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); | |
9227 | void ( * GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); | |
9228 | void ( * GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); | |
9229 | GLboolean ( * IsProgramNV)(GLuint program); | |
9230 | void ( * LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); | |
9231 | void ( * ProgramParameter4dNV)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9232 | void ( * ProgramParameter4dvNV)(GLenum target, GLuint index, const GLdouble * params); | |
9233 | void ( * ProgramParameter4fNV)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9234 | void ( * ProgramParameter4fvNV)(GLenum target, GLuint index, const GLfloat * params); | |
9235 | void ( * ProgramParameters4dvNV)(GLenum target, GLuint index, GLuint num, const GLdouble * params); | |
9236 | void ( * ProgramParameters4fvNV)(GLenum target, GLuint index, GLuint num, const GLfloat * params); | |
9237 | void ( * RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); | |
9238 | void ( * TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); | |
9239 | void ( * VertexAttrib1dNV)(GLuint index, GLdouble x); | |
9240 | void ( * VertexAttrib1dvNV)(GLuint index, const GLdouble * v); | |
9241 | void ( * VertexAttrib1fNV)(GLuint index, GLfloat x); | |
9242 | void ( * VertexAttrib1fvNV)(GLuint index, const GLfloat * v); | |
9243 | void ( * VertexAttrib1sNV)(GLuint index, GLshort x); | |
9244 | void ( * VertexAttrib1svNV)(GLuint index, const GLshort * v); | |
9245 | void ( * VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); | |
9246 | void ( * VertexAttrib2dvNV)(GLuint index, const GLdouble * v); | |
9247 | void ( * VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); | |
9248 | void ( * VertexAttrib2fvNV)(GLuint index, const GLfloat * v); | |
9249 | void ( * VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); | |
9250 | void ( * VertexAttrib2svNV)(GLuint index, const GLshort * v); | |
9251 | void ( * VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); | |
9252 | void ( * VertexAttrib3dvNV)(GLuint index, const GLdouble * v); | |
9253 | void ( * VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); | |
9254 | void ( * VertexAttrib3fvNV)(GLuint index, const GLfloat * v); | |
9255 | void ( * VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); | |
9256 | void ( * VertexAttrib3svNV)(GLuint index, const GLshort * v); | |
9257 | void ( * VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9258 | void ( * VertexAttrib4dvNV)(GLuint index, const GLdouble * v); | |
9259 | void ( * VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9260 | void ( * VertexAttrib4fvNV)(GLuint index, const GLfloat * v); | |
9261 | void ( * VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); | |
9262 | void ( * VertexAttrib4svNV)(GLuint index, const GLshort * v); | |
9263 | void ( * VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); | |
9264 | void ( * VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); | |
9265 | void ( * VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); | |
9266 | void ( * VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); | |
9267 | void ( * VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); | |
9268 | void ( * VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); | |
9269 | void ( * VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); | |
9270 | void ( * VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); | |
9271 | void ( * VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); | |
9272 | void ( * VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); | |
9273 | void ( * VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); | |
9274 | void ( * VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); | |
9275 | void ( * VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); | |
9276 | void ( * VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); | |
9277 | void ( * VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); | |
9278 | void ( * VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); | |
9279 | void ( * AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); | |
9280 | void ( * AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); | |
9281 | void ( * AlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); | |
9282 | void ( * BeginFragmentShaderATI)(void); | |
9283 | void ( * BindFragmentShaderATI)(GLuint id); | |
9284 | void ( * ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); | |
9285 | void ( * ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); | |
9286 | void ( * ColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); | |
9287 | void ( * DeleteFragmentShaderATI)(GLuint id); | |
9288 | void ( * EndFragmentShaderATI)(void); | |
9289 | GLuint ( * GenFragmentShadersATI)(GLuint range); | |
9290 | void ( * PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); | |
9291 | void ( * SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); | |
9292 | void ( * SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); | |
9293 | void ( * PointParameteriNV)(GLenum pname, GLint param); | |
9294 | void ( * PointParameterivNV)(GLenum pname, const GLint * params); | |
9295 | void ( * ActiveStencilFaceEXT)(GLenum face); | |
9296 | void ( * BindVertexArrayAPPLE)(GLuint array); | |
9297 | void ( * DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); | |
9298 | void ( * GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); | |
9299 | GLboolean ( * IsVertexArrayAPPLE)(GLuint array); | |
9300 | void ( * GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); | |
9301 | void ( * GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); | |
9302 | void ( * ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); | |
9303 | void ( * ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); | |
9304 | void ( * ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |
9305 | void ( * ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); | |
9306 | void ( * DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); | |
9307 | void ( * BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA); | |
9308 | void ( * BindFramebufferEXT)(GLenum target, GLuint framebuffer); | |
9309 | void ( * BindRenderbufferEXT)(GLenum target, GLuint renderbuffer); | |
9310 | GLenum ( * CheckFramebufferStatusEXT)(GLenum target); | |
9311 | void ( * DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); | |
9312 | void ( * DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); | |
9313 | void ( * FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | |
9314 | void ( * FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |
9315 | void ( * FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |
9316 | void ( * FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | |
9317 | void ( * GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); | |
9318 | void ( * GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); | |
9319 | void ( * GenerateMipmapEXT)(GLenum target); | |
9320 | void ( * GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); | |
9321 | void ( * GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); | |
9322 | GLboolean ( * IsFramebufferEXT)(GLuint framebuffer); | |
9323 | GLboolean ( * IsRenderbufferEXT)(GLuint renderbuffer); | |
9324 | void ( * RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | |
9325 | void ( * BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | |
9326 | void ( * ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); | |
9327 | void ( * ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); | |
9328 | void ( * GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); | |
9329 | void ( * GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); | |
9330 | }; | |
9331 | # 50 "../glapi/glapi.h" 2 | |
9332 | ||
9333 | # 1 "../glapi/glthread.h" 1 | |
9334 | # 93 "../glapi/glthread.h" | |
9335 | ||
9336 | # 1 "/usr/include/pthread.h" 1 3 4 | |
9337 | # 24 "/usr/include/pthread.h" 3 4 | |
9338 | ||
9339 | # 1 "/usr/include/sched.h" 1 3 4 | |
9340 | # 29 "/usr/include/sched.h" 3 4 | |
9341 | ||
9342 | # 1 "/usr/include/time.h" 1 3 4 | |
9343 | # 30 "/usr/include/sched.h" 2 3 4 | |
9344 | ||
9345 | ||
9346 | ||
9347 | # 1 "/usr/include/bits/sched.h" 1 3 4 | |
9348 | # 66 "/usr/include/bits/sched.h" 3 4 | |
9349 | struct sched_param | |
9350 | { | |
9351 | int __sched_priority; | |
9352 | }; | |
9353 | ||
9354 | ||
9355 | ||
9356 | ||
9357 | ||
9358 | extern int clone (int (*__fn) (void *__arg), void *__child_stack, | |
9359 | int __flags, void *__arg, ...) __attribute__ ((__nothrow__)); | |
9360 | ||
9361 | ||
9362 | extern int unshare (int __flags) __attribute__ ((__nothrow__)); | |
9363 | ||
9364 | ||
9365 | extern int sched_getcpu (void) __attribute__ ((__nothrow__)); | |
9366 | # 93 "/usr/include/bits/sched.h" 3 4 | |
9367 | struct __sched_param | |
9368 | { | |
9369 | int __sched_priority; | |
9370 | }; | |
9371 | # 108 "/usr/include/bits/sched.h" 3 4 | |
9372 | typedef unsigned long int __cpu_mask; | |
9373 | ||
9374 | ||
9375 | ||
9376 | ||
9377 | ||
9378 | ||
9379 | typedef struct | |
9380 | { | |
9381 | __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; | |
9382 | } cpu_set_t; | |
9383 | # 134 "/usr/include/bits/sched.h" 3 4 | |
9384 | extern int __sched_cpucount (size_t __setsize, cpu_set_t *__setp) __attribute__ ((__nothrow__)); | |
9385 | # 33 "/usr/include/sched.h" 2 3 4 | |
9386 | ||
9387 | ||
9388 | ||
9389 | ||
9390 | ||
9391 | ||
9392 | ||
9393 | extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) | |
9394 | __attribute__ ((__nothrow__)); | |
9395 | ||
9396 | ||
9397 | extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); | |
9398 | ||
9399 | ||
9400 | extern int sched_setscheduler (__pid_t __pid, int __policy, | |
9401 | __const struct sched_param *__param) __attribute__ ((__nothrow__)); | |
9402 | ||
9403 | ||
9404 | extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); | |
9405 | ||
9406 | ||
9407 | extern int sched_yield (void) __attribute__ ((__nothrow__)); | |
9408 | ||
9409 | ||
9410 | extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); | |
9411 | ||
9412 | ||
9413 | extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); | |
9414 | ||
9415 | ||
9416 | extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); | |
9417 | # 77 "/usr/include/sched.h" 3 4 | |
9418 | extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, | |
9419 | __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); | |
9420 | ||
9421 | ||
9422 | extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, | |
9423 | cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); | |
9424 | # 25 "/usr/include/pthread.h" 2 3 4 | |
9425 | ||
9426 | # 1 "/usr/include/time.h" 1 3 4 | |
9427 | # 31 "/usr/include/time.h" 3 4 | |
9428 | # 40 "/usr/include/time.h" 3 4 | |
9429 | # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 | |
9430 | # 40 "/usr/include/time.h" 2 3 4 | |
9431 | ||
9432 | ||
9433 | ||
9434 | ||
9435 | # 1 "/usr/include/bits/time.h" 1 3 4 | |
9436 | # 44 "/usr/include/time.h" 2 3 4 | |
9437 | # 132 "/usr/include/time.h" 3 4 | |
9438 | ||
9439 | ||
9440 | struct tm | |
9441 | { | |
9442 | int tm_sec; | |
9443 | int tm_min; | |
9444 | int tm_hour; | |
9445 | int tm_mday; | |
9446 | int tm_mon; | |
9447 | int tm_year; | |
9448 | int tm_wday; | |
9449 | int tm_yday; | |
9450 | int tm_isdst; | |
9451 | ||
9452 | ||
9453 | long int tm_gmtoff; | |
9454 | __const char *tm_zone; | |
9455 | ||
9456 | ||
9457 | ||
9458 | ||
9459 | }; | |
9460 | # 162 "/usr/include/time.h" 3 4 | |
9461 | struct itimerspec | |
9462 | { | |
9463 | struct timespec it_interval; | |
9464 | struct timespec it_value; | |
9465 | }; | |
9466 | ||
9467 | ||
9468 | struct sigevent; | |
9469 | # 181 "/usr/include/time.h" 3 4 | |
9470 | ||
9471 | ||
9472 | ||
9473 | extern clock_t clock (void) __attribute__ ((__nothrow__)); | |
9474 | ||
9475 | ||
9476 | extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); | |
9477 | ||
9478 | ||
9479 | extern double difftime (time_t __time1, time_t __time0) | |
9480 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
9481 | ||
9482 | ||
9483 | extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); | |
9484 | ||
9485 | ||
9486 | ||
9487 | ||
9488 | ||
9489 | extern size_t strftime (char *__restrict __s, size_t __maxsize, | |
9490 | __const char *__restrict __format, | |
9491 | __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
9492 | ||
9493 | ||
9494 | ||
9495 | ||
9496 | ||
9497 | extern char *strptime (__const char *__restrict __s, | |
9498 | __const char *__restrict __fmt, struct tm *__tp) | |
9499 | __attribute__ ((__nothrow__)); | |
9500 | ||
9501 | ||
9502 | ||
9503 | ||
9504 | ||
9505 | ||
9506 | ||
9507 | extern size_t strftime_l (char *__restrict __s, size_t __maxsize, | |
9508 | __const char *__restrict __format, | |
9509 | __const struct tm *__restrict __tp, | |
9510 | __locale_t __loc) __attribute__ ((__nothrow__)); | |
9511 | ||
9512 | extern char *strptime_l (__const char *__restrict __s, | |
9513 | __const char *__restrict __fmt, struct tm *__tp, | |
9514 | __locale_t __loc) __attribute__ ((__nothrow__)); | |
9515 | ||
9516 | ||
9517 | ||
9518 | ||
9519 | ||
9520 | ||
9521 | extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
9522 | ||
9523 | ||
9524 | ||
9525 | extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
9526 | ||
9527 | ||
9528 | ||
9529 | ||
9530 | ||
9531 | extern struct tm *gmtime_r (__const time_t *__restrict __timer, | |
9532 | struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
9533 | ||
9534 | ||
9535 | ||
9536 | extern struct tm *localtime_r (__const time_t *__restrict __timer, | |
9537 | struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
9538 | ||
9539 | ||
9540 | ||
9541 | ||
9542 | ||
9543 | extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); | |
9544 | ||
9545 | ||
9546 | extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
9547 | ||
9548 | ||
9549 | ||
9550 | ||
9551 | ||
9552 | ||
9553 | ||
9554 | extern char *asctime_r (__const struct tm *__restrict __tp, | |
9555 | char *__restrict __buf) __attribute__ ((__nothrow__)); | |
9556 | ||
9557 | ||
9558 | extern char *ctime_r (__const time_t *__restrict __timer, | |
9559 | char *__restrict __buf) __attribute__ ((__nothrow__)); | |
9560 | ||
9561 | ||
9562 | ||
9563 | ||
9564 | extern char *__tzname[2]; | |
9565 | extern int __daylight; | |
9566 | extern long int __timezone; | |
9567 | ||
9568 | ||
9569 | ||
9570 | ||
9571 | extern char *tzname[2]; | |
9572 | ||
9573 | ||
9574 | ||
9575 | extern void tzset (void) __attribute__ ((__nothrow__)); | |
9576 | ||
9577 | ||
9578 | ||
9579 | extern int daylight; | |
9580 | extern long int timezone; | |
9581 | ||
9582 | ||
9583 | ||
9584 | ||
9585 | ||
9586 | extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); | |
9587 | # 312 "/usr/include/time.h" 3 4 | |
9588 | extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); | |
9589 | ||
9590 | ||
9591 | extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); | |
9592 | ||
9593 | ||
9594 | extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
9595 | # 327 "/usr/include/time.h" 3 4 | |
9596 | extern int nanosleep (__const struct timespec *__requested_time, | |
9597 | struct timespec *__remaining); | |
9598 | ||
9599 | ||
9600 | ||
9601 | extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); | |
9602 | ||
9603 | ||
9604 | extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); | |
9605 | ||
9606 | ||
9607 | extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) | |
9608 | __attribute__ ((__nothrow__)); | |
9609 | ||
9610 | ||
9611 | ||
9612 | ||
9613 | ||
9614 | ||
9615 | extern int clock_nanosleep (clockid_t __clock_id, int __flags, | |
9616 | __const struct timespec *__req, | |
9617 | struct timespec *__rem); | |
9618 | ||
9619 | ||
9620 | extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); | |
9621 | ||
9622 | ||
9623 | ||
9624 | ||
9625 | extern int timer_create (clockid_t __clock_id, | |
9626 | struct sigevent *__restrict __evp, | |
9627 | timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); | |
9628 | ||
9629 | ||
9630 | extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); | |
9631 | ||
9632 | ||
9633 | extern int timer_settime (timer_t __timerid, int __flags, | |
9634 | __const struct itimerspec *__restrict __value, | |
9635 | struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); | |
9636 | ||
9637 | ||
9638 | extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) | |
9639 | __attribute__ ((__nothrow__)); | |
9640 | ||
9641 | ||
9642 | extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); | |
9643 | # 389 "/usr/include/time.h" 3 4 | |
9644 | extern int getdate_err; | |
9645 | # 398 "/usr/include/time.h" 3 4 | |
9646 | extern struct tm *getdate (__const char *__string); | |
9647 | # 412 "/usr/include/time.h" 3 4 | |
9648 | extern int getdate_r (__const char *__restrict __string, | |
9649 | struct tm *__restrict __resbufp); | |
9650 | # 26 "/usr/include/pthread.h" 2 3 4 | |
9651 | ||
9652 | ||
9653 | ||
9654 | # 1 "/usr/include/signal.h" 1 3 4 | |
9655 | # 31 "/usr/include/signal.h" 3 4 | |
9656 | ||
9657 | ||
9658 | ||
9659 | # 1 "/usr/include/bits/sigset.h" 1 3 4 | |
9660 | # 34 "/usr/include/signal.h" 2 3 4 | |
9661 | # 400 "/usr/include/signal.h" 3 4 | |
9662 | # 29 "/usr/include/pthread.h" 2 3 4 | |
9663 | ||
9664 | ||
9665 | # 1 "/usr/include/bits/setjmp.h" 1 3 4 | |
9666 | # 29 "/usr/include/bits/setjmp.h" 3 4 | |
9667 | typedef int __jmp_buf[6]; | |
9668 | # 31 "/usr/include/pthread.h" 2 3 4 | |
9669 | ||
9670 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
9671 | # 32 "/usr/include/pthread.h" 2 3 4 | |
9672 | ||
9673 | ||
9674 | ||
9675 | enum | |
9676 | { | |
9677 | PTHREAD_CREATE_JOINABLE, | |
9678 | ||
9679 | PTHREAD_CREATE_DETACHED | |
9680 | ||
9681 | }; | |
9682 | ||
9683 | ||
9684 | ||
9685 | enum | |
9686 | { | |
9687 | PTHREAD_MUTEX_TIMED_NP, | |
9688 | PTHREAD_MUTEX_RECURSIVE_NP, | |
9689 | PTHREAD_MUTEX_ERRORCHECK_NP, | |
9690 | PTHREAD_MUTEX_ADAPTIVE_NP | |
9691 | ||
9692 | , | |
9693 | PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, | |
9694 | PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, | |
9695 | PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, | |
9696 | PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL | |
9697 | ||
9698 | ||
9699 | ||
9700 | , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP | |
9701 | ||
9702 | }; | |
9703 | ||
9704 | ||
9705 | ||
9706 | ||
9707 | enum | |
9708 | { | |
9709 | PTHREAD_MUTEX_STALLED_NP, | |
9710 | PTHREAD_MUTEX_ROBUST_NP | |
9711 | }; | |
9712 | ||
9713 | ||
9714 | ||
9715 | ||
9716 | ||
9717 | enum | |
9718 | { | |
9719 | PTHREAD_PRIO_NONE, | |
9720 | PTHREAD_PRIO_INHERIT, | |
9721 | PTHREAD_PRIO_PROTECT | |
9722 | }; | |
9723 | # 114 "/usr/include/pthread.h" 3 4 | |
9724 | enum | |
9725 | { | |
9726 | PTHREAD_RWLOCK_PREFER_READER_NP, | |
9727 | PTHREAD_RWLOCK_PREFER_WRITER_NP, | |
9728 | PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, | |
9729 | PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP | |
9730 | }; | |
9731 | # 144 "/usr/include/pthread.h" 3 4 | |
9732 | enum | |
9733 | { | |
9734 | PTHREAD_INHERIT_SCHED, | |
9735 | ||
9736 | PTHREAD_EXPLICIT_SCHED | |
9737 | ||
9738 | }; | |
9739 | ||
9740 | ||
9741 | ||
9742 | enum | |
9743 | { | |
9744 | PTHREAD_SCOPE_SYSTEM, | |
9745 | ||
9746 | PTHREAD_SCOPE_PROCESS | |
9747 | ||
9748 | }; | |
9749 | ||
9750 | ||
9751 | ||
9752 | enum | |
9753 | { | |
9754 | PTHREAD_PROCESS_PRIVATE, | |
9755 | ||
9756 | PTHREAD_PROCESS_SHARED | |
9757 | ||
9758 | }; | |
9759 | # 179 "/usr/include/pthread.h" 3 4 | |
9760 | struct _pthread_cleanup_buffer | |
9761 | { | |
9762 | void (*__routine) (void *); | |
9763 | void *__arg; | |
9764 | int __canceltype; | |
9765 | struct _pthread_cleanup_buffer *__prev; | |
9766 | }; | |
9767 | ||
9768 | ||
9769 | enum | |
9770 | { | |
9771 | PTHREAD_CANCEL_ENABLE, | |
9772 | ||
9773 | PTHREAD_CANCEL_DISABLE | |
9774 | ||
9775 | }; | |
9776 | enum | |
9777 | { | |
9778 | PTHREAD_CANCEL_DEFERRED, | |
9779 | ||
9780 | PTHREAD_CANCEL_ASYNCHRONOUS | |
9781 | ||
9782 | }; | |
9783 | # 217 "/usr/include/pthread.h" 3 4 | |
9784 | ||
9785 | ||
9786 | ||
9787 | ||
9788 | ||
9789 | extern int pthread_create (pthread_t *__restrict __newthread, | |
9790 | __const pthread_attr_t *__restrict __attr, | |
9791 | void *(*__start_routine) (void *), | |
9792 | void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); | |
9793 | ||
9794 | ||
9795 | ||
9796 | ||
9797 | ||
9798 | extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); | |
9799 | ||
9800 | ||
9801 | ||
9802 | ||
9803 | ||
9804 | ||
9805 | ||
9806 | extern int pthread_join (pthread_t __th, void **__thread_return); | |
9807 | ||
9808 | ||
9809 | ||
9810 | ||
9811 | extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__)); | |
9812 | ||
9813 | ||
9814 | ||
9815 | ||
9816 | ||
9817 | ||
9818 | ||
9819 | extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, | |
9820 | __const struct timespec *__abstime); | |
9821 | ||
9822 | ||
9823 | ||
9824 | ||
9825 | ||
9826 | ||
9827 | extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); | |
9828 | ||
9829 | ||
9830 | ||
9831 | extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
9832 | ||
9833 | ||
9834 | extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); | |
9835 | ||
9836 | ||
9837 | ||
9838 | ||
9839 | ||
9840 | ||
9841 | ||
9842 | extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9843 | ||
9844 | ||
9845 | extern int pthread_attr_destroy (pthread_attr_t *__attr) | |
9846 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9847 | ||
9848 | ||
9849 | extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, | |
9850 | int *__detachstate) | |
9851 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9852 | ||
9853 | ||
9854 | extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, | |
9855 | int __detachstate) | |
9856 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9857 | ||
9858 | ||
9859 | ||
9860 | extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, | |
9861 | size_t *__guardsize) | |
9862 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9863 | ||
9864 | ||
9865 | extern int pthread_attr_setguardsize (pthread_attr_t *__attr, | |
9866 | size_t __guardsize) | |
9867 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9868 | ||
9869 | ||
9870 | ||
9871 | extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict | |
9872 | __attr, | |
9873 | struct sched_param *__restrict __param) | |
9874 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9875 | ||
9876 | ||
9877 | extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, | |
9878 | __const struct sched_param *__restrict | |
9879 | __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9880 | ||
9881 | ||
9882 | extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict | |
9883 | __attr, int *__restrict __policy) | |
9884 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9885 | ||
9886 | ||
9887 | extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) | |
9888 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9889 | ||
9890 | ||
9891 | extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict | |
9892 | __attr, int *__restrict __inherit) | |
9893 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9894 | ||
9895 | ||
9896 | extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, | |
9897 | int __inherit) | |
9898 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9899 | ||
9900 | ||
9901 | ||
9902 | extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, | |
9903 | int *__restrict __scope) | |
9904 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9905 | ||
9906 | ||
9907 | extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) | |
9908 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9909 | ||
9910 | ||
9911 | extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict | |
9912 | __attr, void **__restrict __stackaddr) | |
9913 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); | |
9914 | ||
9915 | ||
9916 | ||
9917 | ||
9918 | ||
9919 | extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, | |
9920 | void *__stackaddr) | |
9921 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); | |
9922 | ||
9923 | ||
9924 | extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict | |
9925 | __attr, size_t *__restrict __stacksize) | |
9926 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
9927 | ||
9928 | ||
9929 | ||
9930 | ||
9931 | extern int pthread_attr_setstacksize (pthread_attr_t *__attr, | |
9932 | size_t __stacksize) | |
9933 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9934 | ||
9935 | ||
9936 | ||
9937 | extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, | |
9938 | void **__restrict __stackaddr, | |
9939 | size_t *__restrict __stacksize) | |
9940 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
9941 | ||
9942 | ||
9943 | ||
9944 | ||
9945 | extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, | |
9946 | size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
9947 | ||
9948 | ||
9949 | ||
9950 | ||
9951 | ||
9952 | extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, | |
9953 | size_t __cpusetsize, | |
9954 | __const cpu_set_t *__cpuset) | |
9955 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); | |
9956 | ||
9957 | ||
9958 | ||
9959 | extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr, | |
9960 | size_t __cpusetsize, | |
9961 | cpu_set_t *__cpuset) | |
9962 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); | |
9963 | ||
9964 | ||
9965 | ||
9966 | ||
9967 | ||
9968 | extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) | |
9969 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
9970 | ||
9971 | ||
9972 | ||
9973 | ||
9974 | ||
9975 | ||
9976 | ||
9977 | extern int pthread_setschedparam (pthread_t __target_thread, int __policy, | |
9978 | __const struct sched_param *__param) | |
9979 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); | |
9980 | ||
9981 | ||
9982 | extern int pthread_getschedparam (pthread_t __target_thread, | |
9983 | int *__restrict __policy, | |
9984 | struct sched_param *__restrict __param) | |
9985 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
9986 | ||
9987 | ||
9988 | extern int pthread_setschedprio (pthread_t __target_thread, int __prio) | |
9989 | __attribute__ ((__nothrow__)); | |
9990 | ||
9991 | ||
9992 | ||
9993 | ||
9994 | extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__)); | |
9995 | ||
9996 | ||
9997 | extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__)); | |
9998 | ||
9999 | ||
10000 | ||
10001 | ||
10002 | ||
10003 | ||
10004 | ||
10005 | extern int pthread_yield (void) __attribute__ ((__nothrow__)); | |
10006 | ||
10007 | ||
10008 | ||
10009 | ||
10010 | extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, | |
10011 | __const cpu_set_t *__cpuset) | |
10012 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); | |
10013 | ||
10014 | ||
10015 | extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, | |
10016 | cpu_set_t *__cpuset) | |
10017 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); | |
10018 | # 463 "/usr/include/pthread.h" 3 4 | |
10019 | extern int pthread_once (pthread_once_t *__once_control, | |
10020 | void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); | |
10021 | # 475 "/usr/include/pthread.h" 3 4 | |
10022 | extern int pthread_setcancelstate (int __state, int *__oldstate); | |
10023 | ||
10024 | ||
10025 | ||
10026 | extern int pthread_setcanceltype (int __type, int *__oldtype); | |
10027 | ||
10028 | ||
10029 | extern int pthread_cancel (pthread_t __th); | |
10030 | ||
10031 | ||
10032 | ||
10033 | ||
10034 | extern void pthread_testcancel (void); | |
10035 | ||
10036 | ||
10037 | ||
10038 | ||
10039 | typedef struct | |
10040 | { | |
10041 | struct | |
10042 | { | |
10043 | __jmp_buf __cancel_jmp_buf; | |
10044 | int __mask_was_saved; | |
10045 | } __cancel_jmp_buf[1]; | |
10046 | void *__pad[4]; | |
10047 | } __pthread_unwind_buf_t __attribute__ ((__aligned__)); | |
10048 | # 509 "/usr/include/pthread.h" 3 4 | |
10049 | struct __pthread_cleanup_frame | |
10050 | { | |
10051 | void (*__cancel_routine) (void *); | |
10052 | void *__cancel_arg; | |
10053 | int __do_it; | |
10054 | int __cancel_type; | |
10055 | }; | |
10056 | # 649 "/usr/include/pthread.h" 3 4 | |
10057 | extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) | |
10058 | __attribute__ ((__regparm__ (1))); | |
10059 | # 660 "/usr/include/pthread.h" 3 4 | |
10060 | extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) | |
10061 | __attribute__ ((__regparm__ (1))); | |
10062 | # 683 "/usr/include/pthread.h" 3 4 | |
10063 | extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) | |
10064 | __attribute__ ((__regparm__ (1))); | |
10065 | # 695 "/usr/include/pthread.h" 3 4 | |
10066 | extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) | |
10067 | __attribute__ ((__regparm__ (1))); | |
10068 | ||
10069 | ||
10070 | ||
10071 | extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) | |
10072 | __attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__)) | |
10073 | ||
10074 | __attribute__ ((__weak__)) | |
10075 | ||
10076 | ; | |
10077 | ||
10078 | ||
10079 | ||
10080 | struct __jmp_buf_tag; | |
10081 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); | |
10082 | ||
10083 | ||
10084 | ||
10085 | ||
10086 | ||
10087 | extern int pthread_mutex_init (pthread_mutex_t *__mutex, | |
10088 | __const pthread_mutexattr_t *__mutexattr) | |
10089 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10090 | ||
10091 | ||
10092 | extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) | |
10093 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10094 | ||
10095 | ||
10096 | extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) | |
10097 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10098 | ||
10099 | ||
10100 | extern int pthread_mutex_lock (pthread_mutex_t *__mutex) | |
10101 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10102 | ||
10103 | ||
10104 | ||
10105 | extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, | |
10106 | __const struct timespec *__restrict | |
10107 | __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10108 | ||
10109 | ||
10110 | ||
10111 | extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) | |
10112 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10113 | ||
10114 | ||
10115 | ||
10116 | ||
10117 | extern int pthread_mutex_getprioceiling (__const pthread_mutex_t * | |
10118 | __restrict __mutex, | |
10119 | int *__restrict __prioceiling) | |
10120 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10121 | ||
10122 | ||
10123 | ||
10124 | extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, | |
10125 | int __prioceiling, | |
10126 | int *__restrict __old_ceiling) | |
10127 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); | |
10128 | ||
10129 | ||
10130 | ||
10131 | ||
10132 | ||
10133 | extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) | |
10134 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10135 | ||
10136 | ||
10137 | ||
10138 | ||
10139 | ||
10140 | ||
10141 | ||
10142 | extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) | |
10143 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10144 | ||
10145 | ||
10146 | extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) | |
10147 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10148 | ||
10149 | ||
10150 | extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * | |
10151 | __restrict __attr, | |
10152 | int *__restrict __pshared) | |
10153 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10154 | ||
10155 | ||
10156 | extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, | |
10157 | int __pshared) | |
10158 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10159 | ||
10160 | ||
10161 | ||
10162 | extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict | |
10163 | __attr, int *__restrict __kind) | |
10164 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10165 | ||
10166 | ||
10167 | ||
10168 | ||
10169 | extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) | |
10170 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10171 | ||
10172 | ||
10173 | extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t * | |
10174 | __restrict __attr, | |
10175 | int *__restrict __protocol) | |
10176 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10177 | ||
10178 | ||
10179 | ||
10180 | extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, | |
10181 | int __protocol) | |
10182 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10183 | ||
10184 | ||
10185 | extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t * | |
10186 | __restrict __attr, | |
10187 | int *__restrict __prioceiling) | |
10188 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10189 | ||
10190 | ||
10191 | extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, | |
10192 | int __prioceiling) | |
10193 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10194 | ||
10195 | ||
10196 | ||
10197 | ||
10198 | extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr, | |
10199 | int *__robustness) | |
10200 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10201 | ||
10202 | ||
10203 | extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, | |
10204 | int __robustness) | |
10205 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10206 | # 843 "/usr/include/pthread.h" 3 4 | |
10207 | extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, | |
10208 | __const pthread_rwlockattr_t *__restrict | |
10209 | __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10210 | ||
10211 | ||
10212 | extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) | |
10213 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10214 | ||
10215 | ||
10216 | extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) | |
10217 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10218 | ||
10219 | ||
10220 | extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) | |
10221 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10222 | ||
10223 | ||
10224 | ||
10225 | extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, | |
10226 | __const struct timespec *__restrict | |
10227 | __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10228 | ||
10229 | ||
10230 | ||
10231 | extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) | |
10232 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10233 | ||
10234 | ||
10235 | extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) | |
10236 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10237 | ||
10238 | ||
10239 | ||
10240 | extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, | |
10241 | __const struct timespec *__restrict | |
10242 | __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10243 | ||
10244 | ||
10245 | ||
10246 | extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) | |
10247 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10248 | ||
10249 | ||
10250 | ||
10251 | ||
10252 | ||
10253 | extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) | |
10254 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10255 | ||
10256 | ||
10257 | extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) | |
10258 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10259 | ||
10260 | ||
10261 | extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * | |
10262 | __restrict __attr, | |
10263 | int *__restrict __pshared) | |
10264 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10265 | ||
10266 | ||
10267 | extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, | |
10268 | int __pshared) | |
10269 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10270 | ||
10271 | ||
10272 | extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * | |
10273 | __restrict __attr, | |
10274 | int *__restrict __pref) | |
10275 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10276 | ||
10277 | ||
10278 | extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, | |
10279 | int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10280 | ||
10281 | ||
10282 | ||
10283 | ||
10284 | ||
10285 | ||
10286 | ||
10287 | extern int pthread_cond_init (pthread_cond_t *__restrict __cond, | |
10288 | __const pthread_condattr_t *__restrict | |
10289 | __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10290 | ||
10291 | ||
10292 | extern int pthread_cond_destroy (pthread_cond_t *__cond) | |
10293 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10294 | ||
10295 | ||
10296 | extern int pthread_cond_signal (pthread_cond_t *__cond) | |
10297 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10298 | ||
10299 | ||
10300 | extern int pthread_cond_broadcast (pthread_cond_t *__cond) | |
10301 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10302 | ||
10303 | ||
10304 | ||
10305 | ||
10306 | ||
10307 | ||
10308 | extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, | |
10309 | pthread_mutex_t *__restrict __mutex) | |
10310 | __attribute__ ((__nonnull__ (1, 2))); | |
10311 | # 955 "/usr/include/pthread.h" 3 4 | |
10312 | extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, | |
10313 | pthread_mutex_t *__restrict __mutex, | |
10314 | __const struct timespec *__restrict | |
10315 | __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); | |
10316 | ||
10317 | ||
10318 | ||
10319 | ||
10320 | extern int pthread_condattr_init (pthread_condattr_t *__attr) | |
10321 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10322 | ||
10323 | ||
10324 | extern int pthread_condattr_destroy (pthread_condattr_t *__attr) | |
10325 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10326 | ||
10327 | ||
10328 | extern int pthread_condattr_getpshared (__const pthread_condattr_t * | |
10329 | __restrict __attr, | |
10330 | int *__restrict __pshared) | |
10331 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10332 | ||
10333 | ||
10334 | extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, | |
10335 | int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10336 | ||
10337 | ||
10338 | ||
10339 | extern int pthread_condattr_getclock (__const pthread_condattr_t * | |
10340 | __restrict __attr, | |
10341 | __clockid_t *__restrict __clock_id) | |
10342 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10343 | ||
10344 | ||
10345 | extern int pthread_condattr_setclock (pthread_condattr_t *__attr, | |
10346 | __clockid_t __clock_id) | |
10347 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10348 | # 999 "/usr/include/pthread.h" 3 4 | |
10349 | extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) | |
10350 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10351 | ||
10352 | ||
10353 | extern int pthread_spin_destroy (pthread_spinlock_t *__lock) | |
10354 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10355 | ||
10356 | ||
10357 | extern int pthread_spin_lock (pthread_spinlock_t *__lock) | |
10358 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10359 | ||
10360 | ||
10361 | extern int pthread_spin_trylock (pthread_spinlock_t *__lock) | |
10362 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10363 | ||
10364 | ||
10365 | extern int pthread_spin_unlock (pthread_spinlock_t *__lock) | |
10366 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10367 | ||
10368 | ||
10369 | ||
10370 | ||
10371 | ||
10372 | ||
10373 | extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, | |
10374 | __const pthread_barrierattr_t *__restrict | |
10375 | __attr, unsigned int __count) | |
10376 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10377 | ||
10378 | ||
10379 | extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) | |
10380 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10381 | ||
10382 | ||
10383 | extern int pthread_barrier_wait (pthread_barrier_t *__barrier) | |
10384 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10385 | ||
10386 | ||
10387 | ||
10388 | extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) | |
10389 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10390 | ||
10391 | ||
10392 | extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) | |
10393 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10394 | ||
10395 | ||
10396 | extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * | |
10397 | __restrict __attr, | |
10398 | int *__restrict __pshared) | |
10399 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
10400 | ||
10401 | ||
10402 | extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, | |
10403 | int __pshared) | |
10404 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10405 | # 1066 "/usr/include/pthread.h" 3 4 | |
10406 | extern int pthread_key_create (pthread_key_t *__key, | |
10407 | void (*__destr_function) (void *)) | |
10408 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
10409 | ||
10410 | ||
10411 | extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); | |
10412 | ||
10413 | ||
10414 | extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); | |
10415 | ||
10416 | ||
10417 | extern int pthread_setspecific (pthread_key_t __key, | |
10418 | __const void *__pointer) __attribute__ ((__nothrow__)) ; | |
10419 | ||
10420 | ||
10421 | ||
10422 | ||
10423 | extern int pthread_getcpuclockid (pthread_t __thread_id, | |
10424 | __clockid_t *__clock_id) | |
10425 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
10426 | # 1100 "/usr/include/pthread.h" 3 4 | |
10427 | extern int pthread_atfork (void (*__prepare) (void), | |
10428 | void (*__parent) (void), | |
10429 | void (*__child) (void)) __attribute__ ((__nothrow__)); | |
10430 | ||
10431 | ||
10432 | ||
10433 | ||
10434 | extern __inline int | |
10435 | __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) | |
10436 | { | |
10437 | return __thread1 == __thread2; | |
10438 | } | |
10439 | # 94 "../glapi/glthread.h" 2 | |
10440 | ||
10441 | typedef struct { | |
10442 | pthread_key_t key; | |
10443 | int initMagic; | |
10444 | } _glthread_TSD; | |
10445 | ||
10446 | typedef pthread_t _glthread_Thread; | |
10447 | ||
10448 | typedef pthread_mutex_t _glthread_Mutex; | |
10449 | # 286 "../glapi/glthread.h" | |
10450 | extern unsigned long | |
10451 | _glthread_GetID(void); | |
10452 | ||
10453 | ||
10454 | extern void | |
10455 | _glthread_InitTSD(_glthread_TSD *); | |
10456 | ||
10457 | ||
10458 | extern void * | |
10459 | _glthread_GetTSD(_glthread_TSD *); | |
10460 | ||
10461 | ||
10462 | extern void | |
10463 | _glthread_SetTSD(_glthread_TSD *, void *); | |
10464 | ||
10465 | ||
10466 | ||
10467 | extern __thread struct _glapi_table * _glapi_tls_Dispatch | |
10468 | __attribute__((tls_model("initial-exec"))); | |
10469 | # 51 "../glapi/glapi.h" 2 | |
10470 | ||
10471 | ||
10472 | typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); | |
10473 | # 72 "../glapi/glapi.h" | |
10474 | const extern void *_glapi_Context; | |
10475 | const extern struct _glapi_table *_glapi_Dispatch; | |
10476 | ||
10477 | extern __thread void * _glapi_tls_Context | |
10478 | __attribute__((tls_model("initial-exec"))); | |
10479 | # 98 "../glapi/glapi.h" | |
10480 | extern void | |
10481 | _glapi_noop_enable_warnings(GLboolean enable); | |
10482 | ||
10483 | extern void | |
10484 | _glapi_set_warning_func(_glapi_warning_func func); | |
10485 | ||
10486 | extern void | |
10487 | _glapi_check_multithread(void); | |
10488 | ||
10489 | ||
10490 | extern void | |
10491 | _glapi_set_context(void *context); | |
10492 | ||
10493 | ||
10494 | extern void * | |
10495 | _glapi_get_context(void); | |
10496 | ||
10497 | ||
10498 | extern void | |
10499 | _glapi_set_dispatch(struct _glapi_table *dispatch); | |
10500 | ||
10501 | ||
10502 | extern struct _glapi_table * | |
10503 | _glapi_get_dispatch(void); | |
10504 | ||
10505 | ||
10506 | extern int | |
10507 | _glapi_begin_dispatch_override(struct _glapi_table *override); | |
10508 | ||
10509 | ||
10510 | extern void | |
10511 | _glapi_end_dispatch_override(int layer); | |
10512 | ||
10513 | ||
10514 | struct _glapi_table * | |
10515 | _glapi_get_override_dispatch(int layer); | |
10516 | ||
10517 | ||
10518 | extern GLuint | |
10519 | _glapi_get_dispatch_table_size(void); | |
10520 | ||
10521 | ||
10522 | extern void | |
10523 | _glapi_check_table(const struct _glapi_table *table); | |
10524 | ||
10525 | ||
10526 | extern int | |
10527 | _glapi_add_dispatch( const char * const * function_names, | |
10528 | const char * parameter_signature ); | |
10529 | ||
10530 | extern GLint | |
10531 | _glapi_get_proc_offset(const char *funcName); | |
10532 | ||
10533 | ||
10534 | extern _glapi_proc | |
10535 | _glapi_get_proc_address(const char *funcName); | |
10536 | ||
10537 | ||
10538 | extern const char * | |
10539 | _glapi_get_proc_name(GLuint offset); | |
10540 | # 53 "context.h" 2 | |
10541 | ||
10542 | ||
10543 | # 1 "mtypes.h" 1 | |
10544 | # 41 "mtypes.h" | |
10545 | ||
10546 | # 1 "../glapi/glapitable.h" 1 | |
10547 | # 42 "mtypes.h" 2 | |
10548 | ||
10549 | # 1 "../glapi/glthread.h" 1 | |
10550 | # 43 "mtypes.h" 2 | |
10551 | ||
10552 | # 1 "../math/m_matrix.h" 1 | |
10553 | # 55 "../math/m_matrix.h" | |
10554 | enum GLmatrixtype { | |
10555 | MATRIX_GENERAL, | |
10556 | MATRIX_IDENTITY, | |
10557 | MATRIX_3D_NO_ROT, | |
10558 | MATRIX_PERSPECTIVE, | |
10559 | MATRIX_2D, | |
10560 | MATRIX_2D_NO_ROT, | |
10561 | MATRIX_3D | |
10562 | } ; | |
10563 | ||
10564 | ||
10565 | ||
10566 | ||
10567 | typedef struct { | |
10568 | GLfloat *m; | |
10569 | GLfloat *inv; | |
10570 | GLuint flags; | |
10571 | ||
10572 | ||
10573 | enum GLmatrixtype type; | |
10574 | } GLmatrix; | |
10575 | ||
10576 | ||
10577 | ||
10578 | ||
10579 | extern void | |
10580 | _math_matrix_ctr( GLmatrix *m ); | |
10581 | ||
10582 | extern void | |
10583 | _math_matrix_dtr( GLmatrix *m ); | |
10584 | ||
10585 | extern void | |
10586 | _math_matrix_alloc_inv( GLmatrix *m ); | |
10587 | ||
10588 | extern void | |
10589 | _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b ); | |
10590 | ||
10591 | extern void | |
10592 | _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *b ); | |
10593 | ||
10594 | extern void | |
10595 | _math_matrix_loadf( GLmatrix *mat, const GLfloat *m ); | |
10596 | ||
10597 | extern void | |
10598 | _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); | |
10599 | ||
10600 | extern void | |
10601 | _math_matrix_rotate( GLmatrix *m, GLfloat angle, | |
10602 | GLfloat x, GLfloat y, GLfloat z ); | |
10603 | ||
10604 | extern void | |
10605 | _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); | |
10606 | ||
10607 | extern void | |
10608 | _math_matrix_ortho( GLmatrix *mat, | |
10609 | GLfloat left, GLfloat right, | |
10610 | GLfloat bottom, GLfloat top, | |
10611 | GLfloat nearval, GLfloat farval ); | |
10612 | ||
10613 | extern void | |
10614 | _math_matrix_frustum( GLmatrix *mat, | |
10615 | GLfloat left, GLfloat right, | |
10616 | GLfloat bottom, GLfloat top, | |
10617 | GLfloat nearval, GLfloat farval ); | |
10618 | ||
10619 | extern void | |
10620 | _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height, | |
10621 | GLfloat zNear, GLfloat zFar, GLfloat depthMax); | |
10622 | ||
10623 | extern void | |
10624 | _math_matrix_set_identity( GLmatrix *dest ); | |
10625 | ||
10626 | extern void | |
10627 | _math_matrix_copy( GLmatrix *to, const GLmatrix *from ); | |
10628 | ||
10629 | extern void | |
10630 | _math_matrix_analyse( GLmatrix *mat ); | |
10631 | ||
10632 | extern void | |
10633 | _math_matrix_print( const GLmatrix *m ); | |
10634 | ||
10635 | extern GLboolean | |
10636 | _math_matrix_is_length_preserving( const GLmatrix *m ); | |
10637 | ||
10638 | extern GLboolean | |
10639 | _math_matrix_has_rotation( const GLmatrix *m ); | |
10640 | ||
10641 | extern GLboolean | |
10642 | _math_matrix_is_general_scale( const GLmatrix *m ); | |
10643 | ||
10644 | extern GLboolean | |
10645 | _math_matrix_is_dirty( const GLmatrix *m ); | |
10646 | ||
10647 | ||
10648 | ||
10649 | ||
10650 | ||
10651 | ||
10652 | ||
10653 | extern void | |
10654 | _math_transposef( GLfloat to[16], const GLfloat from[16] ); | |
10655 | ||
10656 | extern void | |
10657 | _math_transposed( GLdouble to[16], const GLdouble from[16] ); | |
10658 | ||
10659 | extern void | |
10660 | _math_transposefd( GLfloat to[16], const GLdouble from[16] ); | |
10661 | # 44 "mtypes.h" 2 | |
10662 | ||
10663 | # 1 "bitset.h" 1 | |
10664 | # 45 "mtypes.h" 2 | |
10665 | # 57 "mtypes.h" | |
10666 | typedef GLubyte GLchan; | |
10667 | # 80 "mtypes.h" | |
10668 | typedef GLubyte GLstencil; | |
10669 | # 91 "mtypes.h" | |
10670 | typedef int GLfixed; | |
10671 | # 124 "mtypes.h" | |
10672 | struct _mesa_HashTable; | |
10673 | struct gl_pixelstore_attrib; | |
10674 | struct gl_texture_format; | |
10675 | struct gl_texture_image; | |
10676 | struct gl_texture_object; | |
10677 | typedef struct __GLcontextRec GLcontext; | |
10678 | typedef struct __GLcontextModesRec GLvisual; | |
10679 | typedef struct gl_framebuffer GLframebuffer; | |
10680 | # 143 "mtypes.h" | |
10681 | enum | |
10682 | { | |
10683 | VERT_ATTRIB_POS = 0, | |
10684 | VERT_ATTRIB_WEIGHT = 1, | |
10685 | VERT_ATTRIB_NORMAL = 2, | |
10686 | VERT_ATTRIB_COLOR0 = 3, | |
10687 | VERT_ATTRIB_COLOR1 = 4, | |
10688 | VERT_ATTRIB_FOG = 5, | |
10689 | VERT_ATTRIB_COLOR_INDEX = 6, | |
10690 | VERT_ATTRIB_EDGEFLAG = 7, | |
10691 | VERT_ATTRIB_TEX0 = 8, | |
10692 | VERT_ATTRIB_TEX1 = 9, | |
10693 | VERT_ATTRIB_TEX2 = 10, | |
10694 | VERT_ATTRIB_TEX3 = 11, | |
10695 | VERT_ATTRIB_TEX4 = 12, | |
10696 | VERT_ATTRIB_TEX5 = 13, | |
10697 | VERT_ATTRIB_TEX6 = 14, | |
10698 | VERT_ATTRIB_TEX7 = 15, | |
10699 | VERT_ATTRIB_GENERIC0 = 16, | |
10700 | VERT_ATTRIB_GENERIC1 = 17, | |
10701 | VERT_ATTRIB_GENERIC2 = 18, | |
10702 | VERT_ATTRIB_GENERIC3 = 19, | |
10703 | VERT_ATTRIB_GENERIC4 = 20, | |
10704 | VERT_ATTRIB_GENERIC5 = 21, | |
10705 | VERT_ATTRIB_GENERIC6 = 22, | |
10706 | VERT_ATTRIB_GENERIC7 = 23, | |
10707 | VERT_ATTRIB_GENERIC8 = 24, | |
10708 | VERT_ATTRIB_GENERIC9 = 25, | |
10709 | VERT_ATTRIB_GENERIC10 = 26, | |
10710 | VERT_ATTRIB_GENERIC11 = 27, | |
10711 | VERT_ATTRIB_GENERIC12 = 28, | |
10712 | VERT_ATTRIB_GENERIC13 = 29, | |
10713 | VERT_ATTRIB_GENERIC14 = 30, | |
10714 | VERT_ATTRIB_GENERIC15 = 31, | |
10715 | VERT_ATTRIB_MAX = 32 | |
10716 | }; | |
10717 | # 251 "mtypes.h" | |
10718 | enum | |
10719 | { | |
10720 | FRAG_ATTRIB_WPOS = 0, | |
10721 | FRAG_ATTRIB_COL0 = 1, | |
10722 | FRAG_ATTRIB_COL1 = 2, | |
10723 | FRAG_ATTRIB_FOGC = 3, | |
10724 | FRAG_ATTRIB_TEX0 = 4, | |
10725 | FRAG_ATTRIB_TEX1 = 5, | |
10726 | FRAG_ATTRIB_TEX2 = 6, | |
10727 | FRAG_ATTRIB_TEX3 = 7, | |
10728 | FRAG_ATTRIB_TEX4 = 8, | |
10729 | FRAG_ATTRIB_TEX5 = 9, | |
10730 | FRAG_ATTRIB_TEX6 = 10, | |
10731 | FRAG_ATTRIB_TEX7 = 11, | |
10732 | FRAG_ATTRIB_VAR0 = 12, | |
10733 | FRAG_ATTRIB_MAX = (FRAG_ATTRIB_VAR0 + 8) | |
10734 | }; | |
10735 | # 304 "mtypes.h" | |
10736 | enum | |
10737 | { | |
10738 | FRAG_RESULT_COLR = 0, | |
10739 | FRAG_RESULT_COLH = 1, | |
10740 | FRAG_RESULT_DEPR = 2, | |
10741 | FRAG_RESULT_DATA0 = 3, | |
10742 | FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + 4) | |
10743 | }; | |
10744 | ||
10745 | ||
10746 | ||
10747 | ||
10748 | ||
10749 | enum { | |
10750 | BUFFER_FRONT_LEFT = 0, | |
10751 | BUFFER_BACK_LEFT = 1, | |
10752 | BUFFER_FRONT_RIGHT = 2, | |
10753 | BUFFER_BACK_RIGHT = 3, | |
10754 | BUFFER_AUX0 = 4, | |
10755 | BUFFER_AUX1 = 5, | |
10756 | BUFFER_AUX2 = 6, | |
10757 | BUFFER_AUX3 = 7, | |
10758 | BUFFER_DEPTH = 8, | |
10759 | BUFFER_STENCIL = 9, | |
10760 | BUFFER_ACCUM = 10, | |
10761 | BUFFER_COLOR0 = 11, | |
10762 | BUFFER_COLOR1 = 12, | |
10763 | BUFFER_COLOR2 = 13, | |
10764 | BUFFER_COLOR3 = 14, | |
10765 | BUFFER_COLOR4 = 15, | |
10766 | BUFFER_COLOR5 = 16, | |
10767 | BUFFER_COLOR6 = 17, | |
10768 | BUFFER_COLOR7 = 18, | |
10769 | BUFFER_COUNT = 19 | |
10770 | }; | |
10771 | # 396 "mtypes.h" | |
10772 | struct gl_color_table | |
10773 | { | |
10774 | GLenum InternalFormat; | |
10775 | GLenum _BaseFormat; | |
10776 | GLuint Size; | |
10777 | GLfloat *TableF; | |
10778 | GLubyte *TableUB; | |
10779 | GLubyte RedSize; | |
10780 | GLubyte GreenSize; | |
10781 | GLubyte BlueSize; | |
10782 | GLubyte AlphaSize; | |
10783 | GLubyte LuminanceSize; | |
10784 | GLubyte IntensitySize; | |
10785 | }; | |
10786 | # 479 "mtypes.h" | |
10787 | struct gl_shine_tab | |
10788 | { | |
10789 | struct gl_shine_tab *next, *prev; | |
10790 | GLfloat tab[256 +1]; | |
10791 | GLfloat shininess; | |
10792 | GLuint refcount; | |
10793 | }; | |
10794 | ||
10795 | ||
10796 | ||
10797 | ||
10798 | ||
10799 | struct gl_light | |
10800 | { | |
10801 | struct gl_light *next; | |
10802 | struct gl_light *prev; | |
10803 | ||
10804 | GLfloat Ambient[4]; | |
10805 | GLfloat Diffuse[4]; | |
10806 | GLfloat Specular[4]; | |
10807 | GLfloat EyePosition[4]; | |
10808 | GLfloat EyeDirection[4]; | |
10809 | GLfloat SpotExponent; | |
10810 | GLfloat SpotCutoff; | |
10811 | GLfloat _CosCutoffNeg; | |
10812 | GLfloat _CosCutoff; | |
10813 | GLfloat ConstantAttenuation; | |
10814 | GLfloat LinearAttenuation; | |
10815 | GLfloat QuadraticAttenuation; | |
10816 | GLboolean Enabled; | |
10817 | ||
10818 | ||
10819 | ||
10820 | ||
10821 | ||
10822 | GLbitfield _Flags; | |
10823 | ||
10824 | GLfloat _Position[4]; | |
10825 | GLfloat _VP_inf_norm[3]; | |
10826 | GLfloat _h_inf_norm[3]; | |
10827 | GLfloat _NormDirection[4]; | |
10828 | GLfloat _VP_inf_spot_attenuation; | |
10829 | ||
10830 | GLfloat _SpotExpTable[512][2]; | |
10831 | GLfloat _MatAmbient[2][3]; | |
10832 | GLfloat _MatDiffuse[2][3]; | |
10833 | GLfloat _MatSpecular[2][3]; | |
10834 | GLfloat _dli; | |
10835 | GLfloat _sli; | |
10836 | ||
10837 | }; | |
10838 | ||
10839 | ||
10840 | ||
10841 | ||
10842 | ||
10843 | struct gl_lightmodel | |
10844 | { | |
10845 | GLfloat Ambient[4]; | |
10846 | GLboolean LocalViewer; | |
10847 | GLboolean TwoSide; | |
10848 | GLenum ColorControl; | |
10849 | ||
10850 | }; | |
10851 | ||
10852 | ||
10853 | ||
10854 | ||
10855 | ||
10856 | struct gl_material | |
10857 | { | |
10858 | GLfloat Attrib[12][4]; | |
10859 | }; | |
10860 | ||
10861 | ||
10862 | ||
10863 | ||
10864 | ||
10865 | struct gl_accum_attrib | |
10866 | { | |
10867 | GLfloat ClearColor[4]; | |
10868 | }; | |
10869 | ||
10870 | ||
10871 | ||
10872 | ||
10873 | ||
10874 | struct gl_colorbuffer_attrib | |
10875 | { | |
10876 | GLuint ClearIndex; | |
10877 | GLclampf ClearColor[4]; | |
10878 | ||
10879 | GLuint IndexMask; | |
10880 | GLubyte ColorMask[4]; | |
10881 | ||
10882 | GLenum DrawBuffer[4]; | |
10883 | ||
10884 | ||
10885 | ||
10886 | ||
10887 | ||
10888 | GLboolean AlphaEnabled; | |
10889 | GLenum AlphaFunc; | |
10890 | GLclampf AlphaRef; | |
10891 | ||
10892 | ||
10893 | ||
10894 | ||
10895 | ||
10896 | ||
10897 | GLboolean BlendEnabled; | |
10898 | GLenum BlendSrcRGB; | |
10899 | GLenum BlendDstRGB; | |
10900 | GLenum BlendSrcA; | |
10901 | GLenum BlendDstA; | |
10902 | GLenum BlendEquationRGB; | |
10903 | GLenum BlendEquationA; | |
10904 | GLfloat BlendColor[4]; | |
10905 | ||
10906 | ||
10907 | ||
10908 | ||
10909 | ||
10910 | ||
10911 | GLenum LogicOp; | |
10912 | GLboolean IndexLogicOpEnabled; | |
10913 | GLboolean ColorLogicOpEnabled; | |
10914 | GLboolean _LogicOpEnabled; | |
10915 | ||
10916 | ||
10917 | GLboolean DitherFlag; | |
10918 | ||
10919 | GLenum ClampFragmentColor; | |
10920 | GLenum ClampReadColor; | |
10921 | }; | |
10922 | ||
10923 | ||
10924 | ||
10925 | ||
10926 | ||
10927 | struct gl_current_attrib | |
10928 | { | |
10929 | ||
10930 | ||
10931 | ||
10932 | ||
10933 | ||
10934 | ||
10935 | ||
10936 | GLfloat Attrib[VERT_ATTRIB_MAX][4]; | |
10937 | ||
10938 | ||
10939 | ||
10940 | ||
10941 | ||
10942 | ||
10943 | ||
10944 | GLfloat RasterPos[4]; | |
10945 | GLfloat RasterDistance; | |
10946 | GLfloat RasterColor[4]; | |
10947 | GLfloat RasterSecondaryColor[4]; | |
10948 | GLfloat RasterIndex; | |
10949 | GLfloat RasterTexCoords[8][4]; | |
10950 | GLboolean RasterPosValid; | |
10951 | ||
10952 | }; | |
10953 | ||
10954 | ||
10955 | ||
10956 | ||
10957 | ||
10958 | struct gl_depthbuffer_attrib | |
10959 | { | |
10960 | GLenum Func; | |
10961 | GLclampd Clear; | |
10962 | GLboolean Test; | |
10963 | GLboolean Mask; | |
10964 | GLboolean BoundsTest; | |
10965 | GLfloat BoundsMin, BoundsMax; | |
10966 | }; | |
10967 | ||
10968 | ||
10969 | ||
10970 | ||
10971 | ||
10972 | struct gl_enable_attrib | |
10973 | { | |
10974 | GLboolean AlphaTest; | |
10975 | GLboolean AutoNormal; | |
10976 | GLboolean Blend; | |
10977 | GLbitfield ClipPlanes; | |
10978 | GLboolean ColorMaterial; | |
10979 | GLboolean ColorTable[3]; | |
10980 | GLboolean Convolution1D; | |
10981 | GLboolean Convolution2D; | |
10982 | GLboolean Separable2D; | |
10983 | GLboolean CullFace; | |
10984 | GLboolean DepthTest; | |
10985 | GLboolean Dither; | |
10986 | GLboolean Fog; | |
10987 | GLboolean Histogram; | |
10988 | GLboolean Light[8]; | |
10989 | GLboolean Lighting; | |
10990 | GLboolean LineSmooth; | |
10991 | GLboolean LineStipple; | |
10992 | GLboolean IndexLogicOp; | |
10993 | GLboolean ColorLogicOp; | |
10994 | GLboolean Map1Color4; | |
10995 | GLboolean Map1Index; | |
10996 | GLboolean Map1Normal; | |
10997 | GLboolean Map1TextureCoord1; | |
10998 | GLboolean Map1TextureCoord2; | |
10999 | GLboolean Map1TextureCoord3; | |
11000 | GLboolean Map1TextureCoord4; | |
11001 | GLboolean Map1Vertex3; | |
11002 | GLboolean Map1Vertex4; | |
11003 | GLboolean Map1Attrib[16]; | |
11004 | GLboolean Map2Color4; | |
11005 | GLboolean Map2Index; | |
11006 | GLboolean Map2Normal; | |
11007 | GLboolean Map2TextureCoord1; | |
11008 | GLboolean Map2TextureCoord2; | |
11009 | GLboolean Map2TextureCoord3; | |
11010 | GLboolean Map2TextureCoord4; | |
11011 | GLboolean Map2Vertex3; | |
11012 | GLboolean Map2Vertex4; | |
11013 | GLboolean Map2Attrib[16]; | |
11014 | GLboolean MinMax; | |
11015 | GLboolean Normalize; | |
11016 | GLboolean PixelTexture; | |
11017 | GLboolean PointSmooth; | |
11018 | GLboolean PolygonOffsetPoint; | |
11019 | GLboolean PolygonOffsetLine; | |
11020 | GLboolean PolygonOffsetFill; | |
11021 | GLboolean PolygonSmooth; | |
11022 | GLboolean PolygonStipple; | |
11023 | GLboolean RescaleNormals; | |
11024 | GLboolean Scissor; | |
11025 | GLboolean Stencil; | |
11026 | GLboolean StencilTwoSide; | |
11027 | GLboolean MultisampleEnabled; | |
11028 | GLboolean SampleAlphaToCoverage; | |
11029 | GLboolean SampleAlphaToOne; | |
11030 | GLboolean SampleCoverage; | |
11031 | GLboolean SampleCoverageInvert; | |
11032 | GLboolean RasterPositionUnclipped; | |
11033 | GLuint Texture[8]; | |
11034 | GLuint TexGen[8]; | |
11035 | ||
11036 | GLboolean TextureColorTable[8]; | |
11037 | ||
11038 | GLboolean VertexProgram; | |
11039 | GLboolean VertexProgramPointSize; | |
11040 | GLboolean VertexProgramTwoSide; | |
11041 | ||
11042 | GLboolean PointSprite; | |
11043 | GLboolean FragmentShaderATI; | |
11044 | }; | |
11045 | ||
11046 | ||
11047 | ||
11048 | ||
11049 | ||
11050 | struct gl_eval_attrib | |
11051 | { | |
11052 | ||
11053 | ||
11054 | ||
11055 | ||
11056 | GLboolean Map1Color4; | |
11057 | GLboolean Map1Index; | |
11058 | GLboolean Map1Normal; | |
11059 | GLboolean Map1TextureCoord1; | |
11060 | GLboolean Map1TextureCoord2; | |
11061 | GLboolean Map1TextureCoord3; | |
11062 | GLboolean Map1TextureCoord4; | |
11063 | GLboolean Map1Vertex3; | |
11064 | GLboolean Map1Vertex4; | |
11065 | GLboolean Map1Attrib[16]; | |
11066 | GLboolean Map2Color4; | |
11067 | GLboolean Map2Index; | |
11068 | GLboolean Map2Normal; | |
11069 | GLboolean Map2TextureCoord1; | |
11070 | GLboolean Map2TextureCoord2; | |
11071 | GLboolean Map2TextureCoord3; | |
11072 | GLboolean Map2TextureCoord4; | |
11073 | GLboolean Map2Vertex3; | |
11074 | GLboolean Map2Vertex4; | |
11075 | GLboolean Map2Attrib[16]; | |
11076 | GLboolean AutoNormal; | |
11077 | ||
11078 | ||
11079 | ||
11080 | ||
11081 | ||
11082 | ||
11083 | GLint MapGrid1un; | |
11084 | GLfloat MapGrid1u1, MapGrid1u2, MapGrid1du; | |
11085 | GLint MapGrid2un, MapGrid2vn; | |
11086 | GLfloat MapGrid2u1, MapGrid2u2, MapGrid2du; | |
11087 | GLfloat MapGrid2v1, MapGrid2v2, MapGrid2dv; | |
11088 | ||
11089 | }; | |
11090 | ||
11091 | ||
11092 | ||
11093 | ||
11094 | ||
11095 | struct gl_fog_attrib | |
11096 | { | |
11097 | GLboolean Enabled; | |
11098 | GLfloat Color[4]; | |
11099 | GLfloat Density; | |
11100 | GLfloat Start; | |
11101 | GLfloat End; | |
11102 | GLfloat Index; | |
11103 | GLenum Mode; | |
11104 | GLboolean ColorSumEnabled; | |
11105 | GLenum FogCoordinateSource; | |
11106 | GLfloat _Scale; | |
11107 | }; | |
11108 | ||
11109 | ||
11110 | ||
11111 | ||
11112 | ||
11113 | ||
11114 | ||
11115 | struct gl_hint_attrib | |
11116 | { | |
11117 | GLenum PerspectiveCorrection; | |
11118 | GLenum PointSmooth; | |
11119 | GLenum LineSmooth; | |
11120 | GLenum PolygonSmooth; | |
11121 | GLenum Fog; | |
11122 | GLenum ClipVolumeClipping; | |
11123 | GLenum TextureCompression; | |
11124 | GLenum GenerateMipmap; | |
11125 | GLenum FragmentShaderDerivative; | |
11126 | }; | |
11127 | ||
11128 | ||
11129 | ||
11130 | ||
11131 | ||
11132 | struct gl_histogram_attrib | |
11133 | { | |
11134 | GLuint Width; | |
11135 | GLint Format; | |
11136 | GLuint Count[256][4]; | |
11137 | GLboolean Sink; | |
11138 | GLubyte RedSize; | |
11139 | GLubyte GreenSize; | |
11140 | GLubyte BlueSize; | |
11141 | GLubyte AlphaSize; | |
11142 | GLubyte LuminanceSize; | |
11143 | }; | |
11144 | ||
11145 | ||
11146 | ||
11147 | ||
11148 | ||
11149 | struct gl_minmax_attrib | |
11150 | { | |
11151 | GLenum Format; | |
11152 | GLboolean Sink; | |
11153 | GLfloat Min[4], Max[4]; | |
11154 | }; | |
11155 | ||
11156 | ||
11157 | ||
11158 | ||
11159 | ||
11160 | struct gl_convolution_attrib | |
11161 | { | |
11162 | GLenum Format; | |
11163 | GLenum InternalFormat; | |
11164 | GLuint Width; | |
11165 | GLuint Height; | |
11166 | GLfloat Filter[9 * 9 * 4]; | |
11167 | }; | |
11168 | # 876 "mtypes.h" | |
11169 | struct gl_light_attrib | |
11170 | { | |
11171 | struct gl_light Light[8]; | |
11172 | struct gl_lightmodel Model; | |
11173 | ||
11174 | ||
11175 | ||
11176 | ||
11177 | ||
11178 | struct gl_material Material; | |
11179 | ||
11180 | ||
11181 | GLboolean Enabled; | |
11182 | GLenum ShadeModel; | |
11183 | GLenum ColorMaterialFace; | |
11184 | GLenum ColorMaterialMode; | |
11185 | GLbitfield ColorMaterialBitmask; | |
11186 | GLboolean ColorMaterialEnabled; | |
11187 | GLenum ClampVertexColor; | |
11188 | ||
11189 | struct gl_light EnabledList; | |
11190 | ||
11191 | ||
11192 | ||
11193 | ||
11194 | ||
11195 | GLboolean _NeedEyeCoords; | |
11196 | GLboolean _NeedVertices; | |
11197 | GLbitfield _Flags; | |
11198 | GLfloat _BaseColor[2][3]; | |
11199 | ||
11200 | }; | |
11201 | ||
11202 | ||
11203 | ||
11204 | ||
11205 | ||
11206 | struct gl_line_attrib | |
11207 | { | |
11208 | GLboolean SmoothFlag; | |
11209 | GLboolean StippleFlag; | |
11210 | GLushort StipplePattern; | |
11211 | GLint StippleFactor; | |
11212 | GLfloat Width; | |
11213 | GLfloat _Width; | |
11214 | }; | |
11215 | ||
11216 | ||
11217 | ||
11218 | ||
11219 | ||
11220 | struct gl_list_attrib | |
11221 | { | |
11222 | GLuint ListBase; | |
11223 | }; | |
11224 | ||
11225 | ||
11226 | ||
11227 | ||
11228 | ||
11229 | struct gl_list_instruction | |
11230 | { | |
11231 | GLuint Size; | |
11232 | void (*Execute)( GLcontext *ctx, void *data ); | |
11233 | void (*Destroy)( GLcontext *ctx, void *data ); | |
11234 | void (*Print)( GLcontext *ctx, void *data ); | |
11235 | }; | |
11236 | ||
11237 | ||
11238 | ||
11239 | ||
11240 | ||
11241 | ||
11242 | struct gl_list_extensions | |
11243 | { | |
11244 | struct gl_list_instruction Opcode[16]; | |
11245 | GLuint NumOpcodes; | |
11246 | }; | |
11247 | ||
11248 | ||
11249 | ||
11250 | ||
11251 | ||
11252 | struct gl_multisample_attrib | |
11253 | { | |
11254 | GLboolean Enabled; | |
11255 | GLboolean SampleAlphaToCoverage; | |
11256 | GLboolean SampleAlphaToOne; | |
11257 | GLboolean SampleCoverage; | |
11258 | GLfloat SampleCoverageValue; | |
11259 | GLboolean SampleCoverageInvert; | |
11260 | }; | |
11261 | ||
11262 | ||
11263 | ||
11264 | ||
11265 | ||
11266 | struct gl_pixelmap | |
11267 | { | |
11268 | GLint Size; | |
11269 | GLfloat Map[256]; | |
11270 | GLubyte Map8[256]; | |
11271 | }; | |
11272 | ||
11273 | ||
11274 | ||
11275 | ||
11276 | ||
11277 | struct gl_pixelmaps | |
11278 | { | |
11279 | struct gl_pixelmap RtoR; | |
11280 | struct gl_pixelmap GtoG; | |
11281 | struct gl_pixelmap BtoB; | |
11282 | struct gl_pixelmap AtoA; | |
11283 | struct gl_pixelmap ItoR; | |
11284 | struct gl_pixelmap ItoG; | |
11285 | struct gl_pixelmap ItoB; | |
11286 | struct gl_pixelmap ItoA; | |
11287 | struct gl_pixelmap ItoI; | |
11288 | struct gl_pixelmap StoS; | |
11289 | }; | |
11290 | ||
11291 | ||
11292 | ||
11293 | ||
11294 | ||
11295 | struct gl_pixel_attrib | |
11296 | { | |
11297 | GLenum ReadBuffer; | |
11298 | ||
11299 | ||
11300 | ||
11301 | ||
11302 | ||
11303 | GLfloat RedBias, RedScale; | |
11304 | GLfloat GreenBias, GreenScale; | |
11305 | GLfloat BlueBias, BlueScale; | |
11306 | GLfloat AlphaBias, AlphaScale; | |
11307 | GLfloat DepthBias, DepthScale; | |
11308 | GLint IndexShift, IndexOffset; | |
11309 | ||
11310 | ||
11311 | ||
11312 | GLboolean MapColorFlag; | |
11313 | GLboolean MapStencilFlag; | |
11314 | ||
11315 | ||
11316 | GLboolean ColorTableEnabled[3]; | |
11317 | GLfloat ColorTableScale[3][4]; | |
11318 | GLfloat ColorTableBias[3][4]; | |
11319 | ||
11320 | ||
11321 | GLboolean Convolution1DEnabled; | |
11322 | GLboolean Convolution2DEnabled; | |
11323 | GLboolean Separable2DEnabled; | |
11324 | GLfloat ConvolutionBorderColor[3][4]; | |
11325 | GLenum ConvolutionBorderMode[3]; | |
11326 | GLfloat ConvolutionFilterScale[3][4]; | |
11327 | GLfloat ConvolutionFilterBias[3][4]; | |
11328 | GLfloat PostConvolutionScale[4]; | |
11329 | GLfloat PostConvolutionBias[4]; | |
11330 | ||
11331 | ||
11332 | ||
11333 | GLfloat PostColorMatrixScale[4]; | |
11334 | GLfloat PostColorMatrixBias[4]; | |
11335 | ||
11336 | ||
11337 | ||
11338 | GLboolean HistogramEnabled; | |
11339 | GLboolean MinMaxEnabled; | |
11340 | ||
11341 | ||
11342 | ||
11343 | ||
11344 | GLfloat ZoomX, ZoomY; | |
11345 | ||
11346 | ||
11347 | GLfloat TextureColorTableScale[4]; | |
11348 | GLfloat TextureColorTableBias[4]; | |
11349 | }; | |
11350 | ||
11351 | ||
11352 | ||
11353 | ||
11354 | ||
11355 | struct gl_point_attrib | |
11356 | { | |
11357 | GLboolean SmoothFlag; | |
11358 | GLfloat Size; | |
11359 | GLfloat _Size; | |
11360 | GLfloat Params[3]; | |
11361 | GLfloat MinSize, MaxSize; | |
11362 | GLfloat Threshold; | |
11363 | GLboolean _Attenuated; | |
11364 | GLboolean PointSprite; | |
11365 | GLboolean CoordReplace[8]; | |
11366 | GLenum SpriteRMode; | |
11367 | GLenum SpriteOrigin; | |
11368 | }; | |
11369 | ||
11370 | ||
11371 | ||
11372 | ||
11373 | ||
11374 | struct gl_polygon_attrib | |
11375 | { | |
11376 | GLenum FrontFace; | |
11377 | GLenum FrontMode; | |
11378 | GLenum BackMode; | |
11379 | GLboolean _FrontBit; | |
11380 | GLboolean CullFlag; | |
11381 | GLboolean SmoothFlag; | |
11382 | GLboolean StippleFlag; | |
11383 | GLenum CullFaceMode; | |
11384 | GLfloat OffsetFactor; | |
11385 | GLfloat OffsetUnits; | |
11386 | GLboolean OffsetPoint; | |
11387 | GLboolean OffsetLine; | |
11388 | GLboolean OffsetFill; | |
11389 | }; | |
11390 | ||
11391 | ||
11392 | ||
11393 | ||
11394 | ||
11395 | struct gl_scissor_attrib | |
11396 | { | |
11397 | GLboolean Enabled; | |
11398 | GLint X, Y; | |
11399 | GLsizei Width, Height; | |
11400 | }; | |
11401 | ||
11402 | ||
11403 | ||
11404 | ||
11405 | ||
11406 | struct gl_stencil_attrib | |
11407 | { | |
11408 | GLboolean Enabled; | |
11409 | GLboolean TestTwoSide; | |
11410 | GLubyte ActiveFace; | |
11411 | GLboolean _TestTwoSide; | |
11412 | GLenum Function[2]; | |
11413 | GLenum FailFunc[2]; | |
11414 | GLenum ZPassFunc[2]; | |
11415 | GLenum ZFailFunc[2]; | |
11416 | GLint Ref[2]; | |
11417 | GLuint ValueMask[2]; | |
11418 | GLuint WriteMask[2]; | |
11419 | GLuint Clear; | |
11420 | }; | |
11421 | # 1222 "mtypes.h" | |
11422 | typedef void (*FetchTexelFuncC)( const struct gl_texture_image *texImage, | |
11423 | GLint col, GLint row, GLint img, | |
11424 | GLchan *texelOut ); | |
11425 | ||
11426 | ||
11427 | ||
11428 | ||
11429 | ||
11430 | ||
11431 | typedef void (*FetchTexelFuncF)( const struct gl_texture_image *texImage, | |
11432 | GLint col, GLint row, GLint img, | |
11433 | GLfloat *texelOut ); | |
11434 | ||
11435 | ||
11436 | typedef void (*StoreTexelFunc)(struct gl_texture_image *texImage, | |
11437 | GLint col, GLint row, GLint img, | |
11438 | const void *texel); | |
11439 | # 1273 "mtypes.h" | |
11440 | typedef GLboolean (*StoreTexImageFunc)(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
11441 | ||
11442 | ||
11443 | ||
11444 | ||
11445 | ||
11446 | struct gl_texture_format | |
11447 | { | |
11448 | GLint MesaFormat; | |
11449 | ||
11450 | GLenum BaseFormat; | |
11451 | ||
11452 | ||
11453 | ||
11454 | ||
11455 | GLenum DataType; | |
11456 | GLubyte RedBits; | |
11457 | GLubyte GreenBits; | |
11458 | GLubyte BlueBits; | |
11459 | GLubyte AlphaBits; | |
11460 | GLubyte LuminanceBits; | |
11461 | GLubyte IntensityBits; | |
11462 | GLubyte IndexBits; | |
11463 | GLubyte DepthBits; | |
11464 | GLubyte StencilBits; | |
11465 | ||
11466 | GLuint TexelBytes; | |
11467 | ||
11468 | StoreTexImageFunc StoreImage; | |
11469 | ||
11470 | ||
11471 | ||
11472 | ||
11473 | ||
11474 | FetchTexelFuncC FetchTexel1D; | |
11475 | FetchTexelFuncC FetchTexel2D; | |
11476 | FetchTexelFuncC FetchTexel3D; | |
11477 | FetchTexelFuncF FetchTexel1Df; | |
11478 | FetchTexelFuncF FetchTexel2Df; | |
11479 | FetchTexelFuncF FetchTexel3Df; | |
11480 | ||
11481 | ||
11482 | StoreTexelFunc StoreTexel; | |
11483 | }; | |
11484 | # 1325 "mtypes.h" | |
11485 | struct gl_texture_image | |
11486 | { | |
11487 | GLenum _BaseFormat; | |
11488 | ||
11489 | ||
11490 | ||
11491 | ||
11492 | ||
11493 | GLint InternalFormat; | |
11494 | GLuint Border; | |
11495 | GLuint Width; | |
11496 | GLuint Height; | |
11497 | GLuint Depth; | |
11498 | GLuint Width2; | |
11499 | GLuint Height2; | |
11500 | GLuint Depth2; | |
11501 | GLuint WidthLog2; | |
11502 | GLuint HeightLog2; | |
11503 | GLuint DepthLog2; | |
11504 | GLuint MaxLog2; | |
11505 | GLfloat WidthScale; | |
11506 | GLfloat HeightScale; | |
11507 | GLfloat DepthScale; | |
11508 | GLboolean IsClientData; | |
11509 | GLboolean _IsPowerOfTwo; | |
11510 | ||
11511 | const struct gl_texture_format *TexFormat; | |
11512 | ||
11513 | struct gl_texture_object *TexObject; | |
11514 | ||
11515 | FetchTexelFuncC FetchTexelc; | |
11516 | FetchTexelFuncF FetchTexelf; | |
11517 | ||
11518 | GLboolean IsCompressed; | |
11519 | GLuint CompressedSize; | |
11520 | ||
11521 | GLuint RowStride; | |
11522 | GLuint *ImageOffsets; | |
11523 | ||
11524 | GLvoid *Data; | |
11525 | ||
11526 | ||
11527 | ||
11528 | ||
11529 | ||
11530 | void *DriverData; | |
11531 | ||
11532 | }; | |
11533 | # 1394 "mtypes.h" | |
11534 | struct gl_texture_object | |
11535 | { | |
11536 | _glthread_Mutex Mutex; | |
11537 | GLint RefCount; | |
11538 | GLuint Name; | |
11539 | GLenum Target; | |
11540 | GLfloat Priority; | |
11541 | GLfloat BorderColor[4]; | |
11542 | GLchan _BorderChan[4]; | |
11543 | GLenum WrapS; | |
11544 | GLenum WrapT; | |
11545 | GLenum WrapR; | |
11546 | GLenum MinFilter; | |
11547 | GLenum MagFilter; | |
11548 | GLfloat MinLod; | |
11549 | GLfloat MaxLod; | |
11550 | GLfloat LodBias; | |
11551 | GLint BaseLevel; | |
11552 | GLint MaxLevel; | |
11553 | GLfloat MaxAnisotropy; | |
11554 | GLboolean CompareFlag; | |
11555 | GLenum CompareOperator; | |
11556 | GLfloat ShadowAmbient; | |
11557 | GLenum CompareMode; | |
11558 | GLenum CompareFunc; | |
11559 | GLenum DepthMode; | |
11560 | GLint _MaxLevel; | |
11561 | GLfloat _MaxLambda; | |
11562 | GLboolean GenerateMipmap; | |
11563 | GLboolean Complete; | |
11564 | ||
11565 | ||
11566 | struct gl_texture_image *Image[6][12]; | |
11567 | ||
11568 | ||
11569 | struct gl_color_table Palette; | |
11570 | # 1439 "mtypes.h" | |
11571 | void *DriverData; | |
11572 | }; | |
11573 | # 1450 "mtypes.h" | |
11574 | struct gl_tex_env_combine_state | |
11575 | { | |
11576 | GLenum ModeRGB; | |
11577 | GLenum ModeA; | |
11578 | GLenum SourceRGB[3]; | |
11579 | GLenum SourceA[3]; | |
11580 | GLenum OperandRGB[3]; | |
11581 | GLenum OperandA[3]; | |
11582 | GLuint ScaleShiftRGB; | |
11583 | GLuint ScaleShiftA; | |
11584 | GLuint _NumArgsRGB; | |
11585 | GLuint _NumArgsA; | |
11586 | }; | |
11587 | ||
11588 | ||
11589 | ||
11590 | ||
11591 | ||
11592 | ||
11593 | ||
11594 | struct gl_texture_unit | |
11595 | { | |
11596 | GLbitfield Enabled; | |
11597 | GLbitfield _ReallyEnabled; | |
11598 | ||
11599 | GLenum EnvMode; | |
11600 | GLfloat EnvColor[4]; | |
11601 | GLbitfield TexGenEnabled; | |
11602 | ||
11603 | ||
11604 | ||
11605 | GLenum GenModeS; | |
11606 | GLenum GenModeT; | |
11607 | GLenum GenModeR; | |
11608 | GLenum GenModeQ; | |
11609 | ||
11610 | GLbitfield _GenBitS; | |
11611 | GLbitfield _GenBitT; | |
11612 | GLbitfield _GenBitR; | |
11613 | GLbitfield _GenBitQ; | |
11614 | GLbitfield _GenFlags; | |
11615 | GLfloat ObjectPlaneS[4]; | |
11616 | GLfloat ObjectPlaneT[4]; | |
11617 | GLfloat ObjectPlaneR[4]; | |
11618 | GLfloat ObjectPlaneQ[4]; | |
11619 | GLfloat EyePlaneS[4]; | |
11620 | GLfloat EyePlaneT[4]; | |
11621 | GLfloat EyePlaneR[4]; | |
11622 | GLfloat EyePlaneQ[4]; | |
11623 | GLfloat LodBias; | |
11624 | ||
11625 | ||
11626 | ||
11627 | ||
11628 | struct gl_tex_env_combine_state Combine; | |
11629 | ||
11630 | ||
11631 | ||
11632 | ||
11633 | ||
11634 | struct gl_tex_env_combine_state _EnvMode; | |
11635 | ||
11636 | ||
11637 | ||
11638 | ||
11639 | ||
11640 | struct gl_tex_env_combine_state *_CurrentCombine; | |
11641 | ||
11642 | struct gl_texture_object *Current1D; | |
11643 | struct gl_texture_object *Current2D; | |
11644 | struct gl_texture_object *Current3D; | |
11645 | struct gl_texture_object *CurrentCubeMap; | |
11646 | struct gl_texture_object *CurrentRect; | |
11647 | ||
11648 | struct gl_texture_object *_Current; | |
11649 | ||
11650 | struct gl_texture_object Saved1D; | |
11651 | struct gl_texture_object Saved2D; | |
11652 | struct gl_texture_object Saved3D; | |
11653 | struct gl_texture_object SavedCubeMap; | |
11654 | struct gl_texture_object SavedRect; | |
11655 | ||
11656 | ||
11657 | struct gl_color_table ColorTable; | |
11658 | struct gl_color_table ProxyColorTable; | |
11659 | GLboolean ColorTableEnabled; | |
11660 | }; | |
11661 | ||
11662 | struct texenvprog_cache_item { | |
11663 | GLuint hash; | |
11664 | void *key; | |
11665 | struct gl_fragment_program *data; | |
11666 | struct texenvprog_cache_item *next; | |
11667 | }; | |
11668 | ||
11669 | struct texenvprog_cache { | |
11670 | struct texenvprog_cache_item **items; | |
11671 | GLuint size, n_items; | |
11672 | GLcontext *ctx; | |
11673 | }; | |
11674 | ||
11675 | ||
11676 | ||
11677 | ||
11678 | struct gl_texture_attrib | |
11679 | { | |
11680 | ||
11681 | ||
11682 | ||
11683 | ||
11684 | GLuint CurrentUnit; | |
11685 | GLbitfield _EnabledUnits; | |
11686 | GLbitfield _EnabledCoordUnits; | |
11687 | GLbitfield _GenFlags; | |
11688 | GLbitfield _TexGenEnabled; | |
11689 | GLbitfield _TexMatEnabled; | |
11690 | ||
11691 | ||
11692 | struct gl_texture_unit Unit[8]; | |
11693 | ||
11694 | struct gl_texture_object *Proxy1D; | |
11695 | struct gl_texture_object *Proxy2D; | |
11696 | struct gl_texture_object *Proxy3D; | |
11697 | struct gl_texture_object *ProxyCubeMap; | |
11698 | struct gl_texture_object *ProxyRect; | |
11699 | ||
11700 | ||
11701 | GLboolean SharedPalette; | |
11702 | struct gl_color_table Palette; | |
11703 | ||
11704 | ||
11705 | struct texenvprog_cache env_fp_cache; | |
11706 | }; | |
11707 | ||
11708 | ||
11709 | ||
11710 | ||
11711 | ||
11712 | struct gl_transform_attrib | |
11713 | { | |
11714 | GLenum MatrixMode; | |
11715 | GLfloat EyeUserPlane[6][4]; | |
11716 | GLfloat _ClipUserPlane[6][4]; | |
11717 | GLbitfield ClipPlanesEnabled; | |
11718 | GLboolean Normalize; | |
11719 | GLboolean RescaleNormals; | |
11720 | GLboolean RasterPositionUnclipped; | |
11721 | ||
11722 | GLboolean CullVertexFlag; | |
11723 | GLfloat CullEyePos[4]; | |
11724 | GLfloat CullObjPos[4]; | |
11725 | }; | |
11726 | ||
11727 | ||
11728 | ||
11729 | ||
11730 | ||
11731 | struct gl_viewport_attrib | |
11732 | { | |
11733 | GLint X, Y; | |
11734 | GLsizei Width, Height; | |
11735 | GLfloat Near, Far; | |
11736 | GLmatrix _WindowMap; | |
11737 | }; | |
11738 | ||
11739 | ||
11740 | ||
11741 | ||
11742 | ||
11743 | struct gl_attrib_node | |
11744 | { | |
11745 | GLbitfield kind; | |
11746 | void *data; | |
11747 | struct gl_attrib_node *next; | |
11748 | }; | |
11749 | ||
11750 | ||
11751 | ||
11752 | ||
11753 | ||
11754 | struct gl_buffer_object | |
11755 | { | |
11756 | GLint RefCount; | |
11757 | GLuint Name; | |
11758 | GLenum Usage; | |
11759 | GLenum Access; | |
11760 | GLvoid *Pointer; | |
11761 | GLsizeiptrARB Size; | |
11762 | GLubyte *Data; | |
11763 | GLboolean OnCard; | |
11764 | }; | |
11765 | ||
11766 | ||
11767 | ||
11768 | ||
11769 | ||
11770 | ||
11771 | struct gl_pixelstore_attrib | |
11772 | { | |
11773 | GLint Alignment; | |
11774 | GLint RowLength; | |
11775 | GLint SkipPixels; | |
11776 | GLint SkipRows; | |
11777 | GLint ImageHeight; | |
11778 | GLint SkipImages; | |
11779 | GLboolean SwapBytes; | |
11780 | GLboolean LsbFirst; | |
11781 | GLboolean ClientStorage; | |
11782 | GLboolean Invert; | |
11783 | struct gl_buffer_object *BufferObj; | |
11784 | }; | |
11785 | ||
11786 | ||
11787 | ||
11788 | ||
11789 | ||
11790 | ||
11791 | struct gl_client_array | |
11792 | { | |
11793 | GLint Size; | |
11794 | GLenum Type; | |
11795 | GLsizei Stride; | |
11796 | GLsizei StrideB; | |
11797 | const GLubyte *Ptr; | |
11798 | GLboolean Enabled; | |
11799 | GLboolean Normalized; | |
11800 | ||
11801 | ||
11802 | struct gl_buffer_object *BufferObj; | |
11803 | GLuint _MaxElement; | |
11804 | }; | |
11805 | ||
11806 | ||
11807 | ||
11808 | ||
11809 | ||
11810 | ||
11811 | struct gl_array_object | |
11812 | { | |
11813 | ||
11814 | GLuint Name; | |
11815 | ||
11816 | ||
11817 | ||
11818 | struct gl_client_array Vertex; | |
11819 | struct gl_client_array Normal; | |
11820 | struct gl_client_array Color; | |
11821 | struct gl_client_array SecondaryColor; | |
11822 | struct gl_client_array FogCoord; | |
11823 | struct gl_client_array Index; | |
11824 | struct gl_client_array EdgeFlag; | |
11825 | struct gl_client_array TexCoord[8]; | |
11826 | ||
11827 | ||
11828 | ||
11829 | struct gl_client_array VertexAttrib[VERT_ATTRIB_MAX]; | |
11830 | ||
11831 | ||
11832 | GLbitfield _Enabled; | |
11833 | }; | |
11834 | ||
11835 | ||
11836 | ||
11837 | ||
11838 | ||
11839 | struct gl_array_attrib | |
11840 | { | |
11841 | struct gl_array_object *ArrayObj; | |
11842 | struct gl_array_object *DefaultArrayObj; | |
11843 | ||
11844 | GLint ActiveTexture; | |
11845 | GLuint LockFirst; | |
11846 | GLuint LockCount; | |
11847 | ||
11848 | GLbitfield NewState; | |
11849 | ||
11850 | ||
11851 | struct gl_buffer_object *NullBufferObj; | |
11852 | struct gl_buffer_object *ArrayBufferObj; | |
11853 | struct gl_buffer_object *ElementArrayBufferObj; | |
11854 | ||
11855 | GLuint _MaxElement; | |
11856 | }; | |
11857 | ||
11858 | ||
11859 | ||
11860 | ||
11861 | ||
11862 | struct gl_feedback | |
11863 | { | |
11864 | GLenum Type; | |
11865 | GLbitfield _Mask; | |
11866 | GLfloat *Buffer; | |
11867 | GLuint BufferSize; | |
11868 | GLuint Count; | |
11869 | }; | |
11870 | ||
11871 | ||
11872 | ||
11873 | ||
11874 | ||
11875 | struct gl_selection | |
11876 | { | |
11877 | GLuint *Buffer; | |
11878 | GLuint BufferSize; | |
11879 | GLuint BufferCount; | |
11880 | GLuint Hits; | |
11881 | GLuint NameStackDepth; | |
11882 | GLuint NameStack[64]; | |
11883 | GLboolean HitFlag; | |
11884 | GLfloat HitMinZ; | |
11885 | GLfloat HitMaxZ; | |
11886 | }; | |
11887 | ||
11888 | ||
11889 | ||
11890 | ||
11891 | ||
11892 | struct gl_1d_map | |
11893 | { | |
11894 | GLuint Order; | |
11895 | GLfloat u1, u2, du; | |
11896 | GLfloat *Points; | |
11897 | }; | |
11898 | ||
11899 | ||
11900 | ||
11901 | ||
11902 | ||
11903 | struct gl_2d_map | |
11904 | { | |
11905 | GLuint Uorder; | |
11906 | GLuint Vorder; | |
11907 | GLfloat u1, u2, du; | |
11908 | GLfloat v1, v2, dv; | |
11909 | GLfloat *Points; | |
11910 | }; | |
11911 | ||
11912 | ||
11913 | ||
11914 | ||
11915 | ||
11916 | struct gl_evaluators | |
11917 | { | |
11918 | ||
11919 | ||
11920 | ||
11921 | ||
11922 | struct gl_1d_map Map1Vertex3; | |
11923 | struct gl_1d_map Map1Vertex4; | |
11924 | struct gl_1d_map Map1Index; | |
11925 | struct gl_1d_map Map1Color4; | |
11926 | struct gl_1d_map Map1Normal; | |
11927 | struct gl_1d_map Map1Texture1; | |
11928 | struct gl_1d_map Map1Texture2; | |
11929 | struct gl_1d_map Map1Texture3; | |
11930 | struct gl_1d_map Map1Texture4; | |
11931 | struct gl_1d_map Map1Attrib[16]; | |
11932 | ||
11933 | ||
11934 | ||
11935 | ||
11936 | ||
11937 | ||
11938 | struct gl_2d_map Map2Vertex3; | |
11939 | struct gl_2d_map Map2Vertex4; | |
11940 | struct gl_2d_map Map2Index; | |
11941 | struct gl_2d_map Map2Color4; | |
11942 | struct gl_2d_map Map2Normal; | |
11943 | struct gl_2d_map Map2Texture1; | |
11944 | struct gl_2d_map Map2Texture2; | |
11945 | struct gl_2d_map Map2Texture3; | |
11946 | struct gl_2d_map Map2Texture4; | |
11947 | struct gl_2d_map Map2Attrib[16]; | |
11948 | ||
11949 | }; | |
11950 | # 1839 "mtypes.h" | |
11951 | enum register_file | |
11952 | { | |
11953 | PROGRAM_TEMPORARY = 0, | |
11954 | PROGRAM_LOCAL_PARAM = 1, | |
11955 | PROGRAM_ENV_PARAM = 2, | |
11956 | PROGRAM_STATE_VAR = 3, | |
11957 | PROGRAM_INPUT = 4, | |
11958 | PROGRAM_OUTPUT = 5, | |
11959 | PROGRAM_NAMED_PARAM = 6, | |
11960 | PROGRAM_CONSTANT = 7, | |
11961 | PROGRAM_UNIFORM = 8, | |
11962 | PROGRAM_VARYING = 9, | |
11963 | PROGRAM_WRITE_ONLY = 10, | |
11964 | PROGRAM_ADDRESS = 11, | |
11965 | PROGRAM_SAMPLER = 12, | |
11966 | PROGRAM_UNDEFINED = 13, | |
11967 | PROGRAM_FILE_MAX | |
11968 | }; | |
11969 | ||
11970 | ||
11971 | ||
11972 | struct prog_instruction; | |
11973 | struct gl_program_parameter_list; | |
11974 | ||
11975 | ||
11976 | ||
11977 | ||
11978 | ||
11979 | struct gl_program | |
11980 | { | |
11981 | GLuint Id; | |
11982 | GLubyte *String; | |
11983 | GLint RefCount; | |
11984 | GLenum Target; | |
11985 | GLenum Format; | |
11986 | GLboolean Resident; | |
11987 | ||
11988 | struct prog_instruction *Instructions; | |
11989 | ||
11990 | GLbitfield InputsRead; | |
11991 | GLbitfield OutputsWritten; | |
11992 | GLbitfield TexturesUsed[8]; | |
11993 | ||
11994 | ||
11995 | struct gl_program_parameter_list *Parameters; | |
11996 | ||
11997 | GLfloat LocalParams[128][4]; | |
11998 | ||
11999 | ||
12000 | struct gl_program_parameter_list *Varying; | |
12001 | ||
12002 | struct gl_program_parameter_list *Attributes; | |
12003 | ||
12004 | ||
12005 | ||
12006 | GLuint NumInstructions; | |
12007 | GLuint NumTemporaries; | |
12008 | GLuint NumParameters; | |
12009 | GLuint NumAttributes; | |
12010 | GLuint NumAddressRegs; | |
12011 | GLuint NumAluInstructions; | |
12012 | GLuint NumTexInstructions; | |
12013 | GLuint NumTexIndirections; | |
12014 | ||
12015 | ||
12016 | ||
12017 | GLuint NumNativeInstructions; | |
12018 | GLuint NumNativeTemporaries; | |
12019 | GLuint NumNativeParameters; | |
12020 | GLuint NumNativeAttributes; | |
12021 | GLuint NumNativeAddressRegs; | |
12022 | GLuint NumNativeAluInstructions; | |
12023 | GLuint NumNativeTexInstructions; | |
12024 | GLuint NumNativeTexIndirections; | |
12025 | ||
12026 | }; | |
12027 | ||
12028 | ||
12029 | ||
12030 | struct gl_vertex_program | |
12031 | { | |
12032 | struct gl_program Base; | |
12033 | GLboolean IsNVProgram; | |
12034 | GLboolean IsPositionInvariant; | |
12035 | void *TnlData; | |
12036 | }; | |
12037 | ||
12038 | ||
12039 | ||
12040 | struct gl_fragment_program | |
12041 | { | |
12042 | struct gl_program Base; | |
12043 | GLenum FogOption; | |
12044 | GLboolean UsesKill; | |
12045 | }; | |
12046 | ||
12047 | ||
12048 | ||
12049 | ||
12050 | ||
12051 | struct gl_program_state | |
12052 | { | |
12053 | GLint ErrorPos; | |
12054 | const char *ErrorString; | |
12055 | }; | |
12056 | ||
12057 | ||
12058 | ||
12059 | ||
12060 | ||
12061 | struct gl_vertex_program_state | |
12062 | { | |
12063 | GLboolean Enabled; | |
12064 | GLboolean _Enabled; | |
12065 | GLboolean PointSizeEnabled; | |
12066 | GLboolean TwoSideEnabled; | |
12067 | struct gl_vertex_program *Current; | |
12068 | ||
12069 | ||
12070 | ||
12071 | ||
12072 | struct gl_vertex_program *_Current; | |
12073 | ||
12074 | GLfloat Parameters[128][4]; | |
12075 | ||
12076 | ||
12077 | GLenum TrackMatrix[128 / 4]; | |
12078 | GLenum TrackMatrixTransform[128 / 4]; | |
12079 | ||
12080 | ||
12081 | GLboolean _MaintainTnlProgram; | |
12082 | ||
12083 | ||
12084 | struct gl_vertex_program *_TnlProgram; | |
12085 | ||
12086 | ||
12087 | GLprogramcallbackMESA Callback; | |
12088 | GLvoid *CallbackData; | |
12089 | GLboolean CallbackEnabled; | |
12090 | GLuint CurrentPosition; | |
12091 | ||
12092 | }; | |
12093 | ||
12094 | ||
12095 | ||
12096 | ||
12097 | ||
12098 | struct gl_fragment_program_state | |
12099 | { | |
12100 | GLboolean Enabled; | |
12101 | GLboolean _Enabled; | |
12102 | GLboolean _Active; | |
12103 | struct gl_fragment_program *Current; | |
12104 | ||
12105 | ||
12106 | ||
12107 | ||
12108 | struct gl_fragment_program *_Current; | |
12109 | ||
12110 | GLfloat Parameters[128][4]; | |
12111 | ||
12112 | ||
12113 | GLboolean _MaintainTexEnvProgram; | |
12114 | GLboolean _UseTexEnvProgram; | |
12115 | ||
12116 | ||
12117 | struct gl_fragment_program *_TexEnvProgram; | |
12118 | ||
12119 | ||
12120 | GLprogramcallbackMESA Callback; | |
12121 | GLvoid *CallbackData; | |
12122 | GLboolean CallbackEnabled; | |
12123 | GLuint CurrentPosition; | |
12124 | ||
12125 | }; | |
12126 | # 2022 "mtypes.h" | |
12127 | struct atifs_instruction; | |
12128 | struct atifs_setupinst; | |
12129 | ||
12130 | ||
12131 | ||
12132 | ||
12133 | struct ati_fragment_shader | |
12134 | { | |
12135 | GLuint Id; | |
12136 | GLint RefCount; | |
12137 | struct atifs_instruction *Instructions[2]; | |
12138 | struct atifs_setupinst *SetupInst[2]; | |
12139 | GLfloat Constants[8][4]; | |
12140 | GLbitfield LocalConstDef; | |
12141 | GLubyte numArithInstr[2]; | |
12142 | GLubyte regsAssigned[2]; | |
12143 | GLubyte NumPasses; | |
12144 | GLubyte cur_pass; | |
12145 | GLubyte last_optype; | |
12146 | GLboolean interpinp1; | |
12147 | GLboolean isValid; | |
12148 | GLuint swizzlerq; | |
12149 | }; | |
12150 | ||
12151 | ||
12152 | ||
12153 | ||
12154 | struct gl_ati_fragment_shader_state | |
12155 | { | |
12156 | GLboolean Enabled; | |
12157 | GLboolean _Enabled; | |
12158 | GLboolean Compiling; | |
12159 | GLfloat GlobalConstants[8][4]; | |
12160 | struct ati_fragment_shader *Current; | |
12161 | }; | |
12162 | ||
12163 | ||
12164 | ||
12165 | ||
12166 | ||
12167 | struct gl_query_object | |
12168 | { | |
12169 | GLuint Id; | |
12170 | GLuint64EXT Result; | |
12171 | GLboolean Active; | |
12172 | GLboolean Ready; | |
12173 | }; | |
12174 | ||
12175 | ||
12176 | ||
12177 | ||
12178 | ||
12179 | struct gl_query_state | |
12180 | { | |
12181 | struct _mesa_HashTable *QueryObjects; | |
12182 | struct gl_query_object *CurrentOcclusionObject; | |
12183 | struct gl_query_object *CurrentTimerObject; | |
12184 | }; | |
12185 | ||
12186 | ||
12187 | ||
12188 | ||
12189 | ||
12190 | ||
12191 | struct gl_shader | |
12192 | { | |
12193 | GLenum Type; | |
12194 | GLuint Name; | |
12195 | GLint RefCount; | |
12196 | GLboolean DeletePending; | |
12197 | ||
12198 | const GLchar *Source; | |
12199 | GLboolean CompileStatus; | |
12200 | GLuint NumPrograms; | |
12201 | struct gl_program **Programs; | |
12202 | GLchar *InfoLog; | |
12203 | }; | |
12204 | ||
12205 | ||
12206 | ||
12207 | ||
12208 | ||
12209 | struct gl_shader_program | |
12210 | { | |
12211 | GLenum Type; | |
12212 | GLuint Name; | |
12213 | GLint RefCount; | |
12214 | GLboolean DeletePending; | |
12215 | ||
12216 | GLuint NumShaders; | |
12217 | struct gl_shader **Shaders; | |
12218 | ||
12219 | ||
12220 | struct gl_vertex_program *VertexProgram; | |
12221 | struct gl_fragment_program *FragmentProgram; | |
12222 | struct gl_program_parameter_list *Uniforms; | |
12223 | struct gl_program_parameter_list *Varying; | |
12224 | struct gl_program_parameter_list *Attributes; | |
12225 | GLboolean LinkStatus; | |
12226 | GLboolean Validated; | |
12227 | GLchar *InfoLog; | |
12228 | }; | |
12229 | ||
12230 | ||
12231 | ||
12232 | ||
12233 | ||
12234 | struct gl_shader_state | |
12235 | { | |
12236 | struct gl_shader_program *CurrentProgram; | |
12237 | ||
12238 | GLboolean EmitHighLevelInstructions; | |
12239 | GLboolean EmitCondCodes; | |
12240 | GLboolean EmitComments; | |
12241 | void *MemPool; | |
12242 | }; | |
12243 | ||
12244 | ||
12245 | ||
12246 | ||
12247 | ||
12248 | struct gl_shared_state | |
12249 | { | |
12250 | _glthread_Mutex Mutex; | |
12251 | GLint RefCount; | |
12252 | struct _mesa_HashTable *DisplayList; | |
12253 | struct _mesa_HashTable *TexObjects; | |
12254 | ||
12255 | ||
12256 | ||
12257 | ||
12258 | ||
12259 | struct gl_texture_object *Default1D; | |
12260 | struct gl_texture_object *Default2D; | |
12261 | struct gl_texture_object *Default3D; | |
12262 | struct gl_texture_object *DefaultCubeMap; | |
12263 | struct gl_texture_object *DefaultRect; | |
12264 | # 2168 "mtypes.h" | |
12265 | _glthread_Mutex TexMutex; | |
12266 | GLuint TextureStateStamp; | |
12267 | # 2178 "mtypes.h" | |
12268 | struct _mesa_HashTable *Programs; | |
12269 | ||
12270 | struct gl_program *DefaultVertexProgram; | |
12271 | ||
12272 | ||
12273 | struct gl_program *DefaultFragmentProgram; | |
12274 | ||
12275 | ||
12276 | ||
12277 | ||
12278 | struct _mesa_HashTable *ATIShaders; | |
12279 | struct ati_fragment_shader *DefaultFragmentShader; | |
12280 | ||
12281 | ||
12282 | ||
12283 | struct _mesa_HashTable *BufferObjects; | |
12284 | ||
12285 | ||
12286 | ||
12287 | ||
12288 | struct _mesa_HashTable *ShaderObjects; | |
12289 | ||
12290 | ||
12291 | ||
12292 | struct _mesa_HashTable *RenderBuffers; | |
12293 | struct _mesa_HashTable *FrameBuffers; | |
12294 | ||
12295 | ||
12296 | ||
12297 | struct _mesa_HashTable *ArrayObjects; | |
12298 | ||
12299 | void *DriverData; | |
12300 | }; | |
12301 | # 2224 "mtypes.h" | |
12302 | struct gl_renderbuffer | |
12303 | { | |
12304 | ||
12305 | int Magic; | |
12306 | _glthread_Mutex Mutex; | |
12307 | GLuint ClassID; | |
12308 | GLuint Name; | |
12309 | GLint RefCount; | |
12310 | GLuint Width, Height; | |
12311 | GLenum InternalFormat; | |
12312 | GLenum _ActualFormat; | |
12313 | GLenum _BaseFormat; | |
12314 | ||
12315 | GLenum DataType; | |
12316 | GLubyte RedBits; | |
12317 | GLubyte GreenBits; | |
12318 | GLubyte BlueBits; | |
12319 | GLubyte AlphaBits; | |
12320 | GLubyte IndexBits; | |
12321 | GLubyte DepthBits; | |
12322 | GLubyte StencilBits; | |
12323 | GLvoid *Data; | |
12324 | ||
12325 | ||
12326 | struct gl_renderbuffer *Wrapped; | |
12327 | ||
12328 | ||
12329 | void (*Delete)(struct gl_renderbuffer *rb); | |
12330 | ||
12331 | ||
12332 | GLboolean (*AllocStorage)(GLcontext *ctx, struct gl_renderbuffer *rb, | |
12333 | GLenum internalFormat, | |
12334 | GLuint width, GLuint height); | |
12335 | # 2267 "mtypes.h" | |
12336 | void *(*GetPointer)(GLcontext *ctx, struct gl_renderbuffer *rb, | |
12337 | GLint x, GLint y); | |
12338 | ||
12339 | ||
12340 | ||
12341 | ||
12342 | void (*GetRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12343 | GLint x, GLint y, void *values); | |
12344 | ||
12345 | ||
12346 | ||
12347 | ||
12348 | void (*GetValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12349 | const GLint x[], const GLint y[], void *values); | |
12350 | ||
12351 | ||
12352 | ||
12353 | ||
12354 | void (*PutRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12355 | GLint x, GLint y, const void *values, const GLubyte *mask); | |
12356 | ||
12357 | ||
12358 | ||
12359 | ||
12360 | ||
12361 | ||
12362 | void (*PutRowRGB)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12363 | GLint x, GLint y, const void *values, const GLubyte *mask); | |
12364 | ||
12365 | ||
12366 | ||
12367 | ||
12368 | ||
12369 | void (*PutMonoRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12370 | GLint x, GLint y, const void *value, const GLubyte *mask); | |
12371 | ||
12372 | ||
12373 | ||
12374 | ||
12375 | void (*PutValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, | |
12376 | const GLint x[], const GLint y[], const void *values, | |
12377 | const GLubyte *mask); | |
12378 | ||
12379 | ||
12380 | ||
12381 | void (*PutMonoValues)(GLcontext *ctx, struct gl_renderbuffer *rb, | |
12382 | GLuint count, const GLint x[], const GLint y[], | |
12383 | const void *value, const GLubyte *mask); | |
12384 | }; | |
12385 | ||
12386 | ||
12387 | ||
12388 | ||
12389 | ||
12390 | ||
12391 | ||
12392 | struct gl_renderbuffer_attachment | |
12393 | { | |
12394 | GLenum Type; | |
12395 | GLboolean Complete; | |
12396 | ||
12397 | ||
12398 | struct gl_renderbuffer *Renderbuffer; | |
12399 | ||
12400 | ||
12401 | struct gl_texture_object *Texture; | |
12402 | GLuint TextureLevel; | |
12403 | GLuint CubeMapFace; | |
12404 | GLuint Zoffset; | |
12405 | }; | |
12406 | ||
12407 | ||
12408 | ||
12409 | ||
12410 | ||
12411 | ||
12412 | ||
12413 | struct gl_framebuffer | |
12414 | { | |
12415 | _glthread_Mutex Mutex; | |
12416 | GLuint Name; | |
12417 | GLint RefCount; | |
12418 | GLboolean DeletePending; | |
12419 | ||
12420 | GLvisual Visual; | |
12421 | ||
12422 | ||
12423 | ||
12424 | GLboolean Initialized; | |
12425 | ||
12426 | GLuint Width, Height; | |
12427 | ||
12428 | ||
12429 | ||
12430 | GLint _Xmin, _Xmax; | |
12431 | GLint _Ymin, _Ymax; | |
12432 | ||
12433 | ||
12434 | ||
12435 | ||
12436 | GLuint _DepthMax; | |
12437 | GLfloat _DepthMaxF; | |
12438 | GLfloat _MRD; | |
12439 | ||
12440 | ||
12441 | GLenum _Status; | |
12442 | ||
12443 | ||
12444 | struct gl_renderbuffer_attachment Attachment[BUFFER_COUNT]; | |
12445 | ||
12446 | ||
12447 | ||
12448 | ||
12449 | GLenum ColorDrawBuffer[4]; | |
12450 | GLenum ColorReadBuffer; | |
12451 | ||
12452 | ||
12453 | GLbitfield _ColorDrawBufferMask[4]; | |
12454 | GLint _ColorReadBufferIndex; | |
12455 | ||
12456 | ||
12457 | GLuint _NumColorDrawBuffers[4]; | |
12458 | struct gl_renderbuffer *_ColorDrawBuffers[4][4]; | |
12459 | struct gl_renderbuffer *_ColorReadBuffer; | |
12460 | ||
12461 | ||
12462 | ||
12463 | struct gl_renderbuffer *_DepthBuffer; | |
12464 | struct gl_renderbuffer *_StencilBuffer; | |
12465 | ||
12466 | ||
12467 | void (*Delete)(struct gl_framebuffer *fb); | |
12468 | }; | |
12469 | ||
12470 | ||
12471 | ||
12472 | ||
12473 | ||
12474 | struct gl_program_constants | |
12475 | { | |
12476 | ||
12477 | GLuint MaxInstructions; | |
12478 | GLuint MaxAluInstructions; | |
12479 | GLuint MaxTexInstructions; | |
12480 | GLuint MaxTexIndirections; | |
12481 | GLuint MaxAttribs; | |
12482 | GLuint MaxTemps; | |
12483 | GLuint MaxAddressRegs; | |
12484 | GLuint MaxParameters; | |
12485 | GLuint MaxLocalParams; | |
12486 | GLuint MaxEnvParams; | |
12487 | ||
12488 | GLuint MaxNativeInstructions; | |
12489 | GLuint MaxNativeAluInstructions; | |
12490 | GLuint MaxNativeTexInstructions; | |
12491 | GLuint MaxNativeTexIndirections; | |
12492 | GLuint MaxNativeAttribs; | |
12493 | GLuint MaxNativeTemps; | |
12494 | GLuint MaxNativeAddressRegs; | |
12495 | GLuint MaxNativeParameters; | |
12496 | ||
12497 | GLuint MaxUniformComponents; | |
12498 | }; | |
12499 | ||
12500 | ||
12501 | ||
12502 | ||
12503 | ||
12504 | ||
12505 | struct gl_constants | |
12506 | { | |
12507 | GLint MaxTextureLevels; | |
12508 | GLint Max3DTextureLevels; | |
12509 | GLint MaxCubeTextureLevels; | |
12510 | GLint MaxTextureRectSize; | |
12511 | GLuint MaxTextureCoordUnits; | |
12512 | GLuint MaxTextureImageUnits; | |
12513 | GLuint MaxTextureUnits; | |
12514 | GLfloat MaxTextureMaxAnisotropy; | |
12515 | GLfloat MaxTextureLodBias; | |
12516 | GLuint MaxArrayLockSize; | |
12517 | GLint SubPixelBits; | |
12518 | GLfloat MinPointSize, MaxPointSize; | |
12519 | GLfloat MinPointSizeAA, MaxPointSizeAA; | |
12520 | GLfloat PointSizeGranularity; | |
12521 | GLfloat MinLineWidth, MaxLineWidth; | |
12522 | GLfloat MinLineWidthAA, MaxLineWidthAA; | |
12523 | GLfloat LineWidthGranularity; | |
12524 | GLuint MaxColorTableSize; | |
12525 | GLuint MaxConvolutionWidth; | |
12526 | GLuint MaxConvolutionHeight; | |
12527 | GLuint MaxClipPlanes; | |
12528 | GLuint MaxLights; | |
12529 | GLfloat MaxShininess; | |
12530 | GLfloat MaxSpotExponent; | |
12531 | GLuint MaxViewportWidth, MaxViewportHeight; | |
12532 | struct gl_program_constants VertexProgram; | |
12533 | struct gl_program_constants FragmentProgram; | |
12534 | ||
12535 | GLuint MaxProgramMatrices; | |
12536 | GLuint MaxProgramMatrixStackDepth; | |
12537 | ||
12538 | GLboolean CheckArrayBounds; | |
12539 | ||
12540 | GLuint MaxDrawBuffers; | |
12541 | ||
12542 | GLenum ColorReadFormat; | |
12543 | GLenum ColorReadType; | |
12544 | ||
12545 | GLuint MaxColorAttachments; | |
12546 | GLuint MaxRenderbufferSize; | |
12547 | ||
12548 | GLuint MaxVertexTextureImageUnits; | |
12549 | GLuint MaxVarying; | |
12550 | }; | |
12551 | ||
12552 | ||
12553 | ||
12554 | ||
12555 | ||
12556 | ||
12557 | struct gl_extensions | |
12558 | { | |
12559 | ||
12560 | ||
12561 | ||
12562 | ||
12563 | ||
12564 | ||
12565 | GLboolean dummy; | |
12566 | GLboolean ARB_depth_texture; | |
12567 | GLboolean ARB_draw_buffers; | |
12568 | GLboolean ARB_fragment_program; | |
12569 | GLboolean ARB_fragment_shader; | |
12570 | GLboolean ARB_half_float_pixel; | |
12571 | GLboolean ARB_imaging; | |
12572 | GLboolean ARB_multisample; | |
12573 | GLboolean ARB_multitexture; | |
12574 | GLboolean ARB_occlusion_query; | |
12575 | GLboolean ARB_point_sprite; | |
12576 | GLboolean ARB_shader_objects; | |
12577 | GLboolean ARB_shading_language_100; | |
12578 | GLboolean ARB_shading_language_120; | |
12579 | GLboolean ARB_shadow; | |
12580 | GLboolean ARB_texture_border_clamp; | |
12581 | GLboolean ARB_texture_compression; | |
12582 | GLboolean ARB_texture_cube_map; | |
12583 | GLboolean ARB_texture_env_combine; | |
12584 | GLboolean ARB_texture_env_crossbar; | |
12585 | GLboolean ARB_texture_env_dot3; | |
12586 | GLboolean ARB_texture_float; | |
12587 | GLboolean ARB_texture_mirrored_repeat; | |
12588 | GLboolean ARB_texture_non_power_of_two; | |
12589 | GLboolean ARB_transpose_matrix; | |
12590 | GLboolean ARB_vertex_buffer_object; | |
12591 | GLboolean ARB_vertex_program; | |
12592 | GLboolean ARB_vertex_shader; | |
12593 | GLboolean ARB_window_pos; | |
12594 | GLboolean EXT_abgr; | |
12595 | GLboolean EXT_bgra; | |
12596 | GLboolean EXT_blend_color; | |
12597 | GLboolean EXT_blend_equation_separate; | |
12598 | GLboolean EXT_blend_func_separate; | |
12599 | GLboolean EXT_blend_logic_op; | |
12600 | GLboolean EXT_blend_minmax; | |
12601 | GLboolean EXT_blend_subtract; | |
12602 | GLboolean EXT_clip_volume_hint; | |
12603 | GLboolean EXT_cull_vertex; | |
12604 | GLboolean EXT_convolution; | |
12605 | GLboolean EXT_compiled_vertex_array; | |
12606 | GLboolean EXT_copy_texture; | |
12607 | GLboolean EXT_depth_bounds_test; | |
12608 | GLboolean EXT_draw_range_elements; | |
12609 | GLboolean EXT_framebuffer_object; | |
12610 | GLboolean EXT_fog_coord; | |
12611 | GLboolean EXT_framebuffer_blit; | |
12612 | GLboolean EXT_gpu_program_parameters; | |
12613 | GLboolean EXT_histogram; | |
12614 | GLboolean EXT_multi_draw_arrays; | |
12615 | GLboolean EXT_paletted_texture; | |
12616 | GLboolean EXT_packed_depth_stencil; | |
12617 | GLboolean EXT_packed_pixels; | |
12618 | GLboolean EXT_pixel_buffer_object; | |
12619 | GLboolean EXT_point_parameters; | |
12620 | GLboolean EXT_polygon_offset; | |
12621 | GLboolean EXT_rescale_normal; | |
12622 | GLboolean EXT_shadow_funcs; | |
12623 | GLboolean EXT_secondary_color; | |
12624 | GLboolean EXT_separate_specular_color; | |
12625 | GLboolean EXT_shared_texture_palette; | |
12626 | GLboolean EXT_stencil_wrap; | |
12627 | GLboolean EXT_stencil_two_side; | |
12628 | GLboolean EXT_subtexture; | |
12629 | GLboolean EXT_texture; | |
12630 | GLboolean EXT_texture_object; | |
12631 | GLboolean EXT_texture3D; | |
12632 | GLboolean EXT_texture_compression_s3tc; | |
12633 | GLboolean EXT_texture_env_add; | |
12634 | GLboolean EXT_texture_env_combine; | |
12635 | GLboolean EXT_texture_env_dot3; | |
12636 | GLboolean EXT_texture_filter_anisotropic; | |
12637 | GLboolean EXT_texture_lod_bias; | |
12638 | GLboolean EXT_texture_mirror_clamp; | |
12639 | GLboolean EXT_texture_sRGB; | |
12640 | GLboolean EXT_timer_query; | |
12641 | GLboolean EXT_vertex_array; | |
12642 | GLboolean EXT_vertex_array_set; | |
12643 | ||
12644 | GLboolean APPLE_client_storage; | |
12645 | GLboolean APPLE_packed_pixels; | |
12646 | GLboolean APPLE_vertex_array_object; | |
12647 | GLboolean ATI_texture_mirror_once; | |
12648 | GLboolean ATI_texture_env_combine3; | |
12649 | GLboolean ATI_fragment_shader; | |
12650 | GLboolean ATI_separate_stencil; | |
12651 | GLboolean IBM_rasterpos_clip; | |
12652 | GLboolean IBM_multimode_draw_arrays; | |
12653 | GLboolean MESA_pack_invert; | |
12654 | GLboolean MESA_packed_depth_stencil; | |
12655 | GLboolean MESA_program_debug; | |
12656 | GLboolean MESA_resize_buffers; | |
12657 | GLboolean MESA_ycbcr_texture; | |
12658 | GLboolean NV_blend_square; | |
12659 | GLboolean NV_fragment_program; | |
12660 | GLboolean NV_light_max_exponent; | |
12661 | GLboolean NV_point_sprite; | |
12662 | GLboolean NV_texgen_reflection; | |
12663 | GLboolean NV_texture_rectangle; | |
12664 | GLboolean NV_vertex_program; | |
12665 | GLboolean NV_vertex_program1_1; | |
12666 | GLboolean OES_read_format; | |
12667 | GLboolean SGI_color_matrix; | |
12668 | GLboolean SGI_color_table; | |
12669 | GLboolean SGI_texture_color_table; | |
12670 | GLboolean SGIS_generate_mipmap; | |
12671 | GLboolean SGIS_texture_edge_clamp; | |
12672 | GLboolean SGIS_texture_lod; | |
12673 | GLboolean SGIX_depth_texture; | |
12674 | GLboolean SGIX_shadow; | |
12675 | GLboolean SGIX_shadow_ambient; | |
12676 | GLboolean TDFX_texture_compression_FXT1; | |
12677 | GLboolean S3_s3tc; | |
12678 | ||
12679 | ||
12680 | const GLubyte *String; | |
12681 | }; | |
12682 | ||
12683 | ||
12684 | ||
12685 | ||
12686 | ||
12687 | struct gl_matrix_stack | |
12688 | { | |
12689 | GLmatrix *Top; | |
12690 | GLmatrix *Stack; | |
12691 | GLuint Depth; | |
12692 | GLuint MaxDepth; | |
12693 | GLuint DirtyFlag; | |
12694 | }; | |
12695 | # 2795 "mtypes.h" | |
12696 | union node; | |
12697 | typedef union node Node; | |
12698 | ||
12699 | ||
12700 | ||
12701 | ||
12702 | # 1 "dd.h" 1 | |
12703 | # 36 "dd.h" | |
12704 | struct gl_pixelstore_attrib; | |
12705 | struct mesa_display_list; | |
12706 | # 52 "dd.h" | |
12707 | struct dd_function_table { | |
12708 | ||
12709 | ||
12710 | ||
12711 | ||
12712 | ||
12713 | const GLubyte * (*GetString)( GLcontext *ctx, GLenum name ); | |
12714 | ||
12715 | ||
12716 | ||
12717 | ||
12718 | ||
12719 | ||
12720 | ||
12721 | void (*UpdateState)( GLcontext *ctx, GLbitfield new_state ); | |
12722 | ||
12723 | ||
12724 | ||
12725 | ||
12726 | ||
12727 | ||
12728 | ||
12729 | void (*GetBufferSize)( GLframebuffer *buffer, | |
12730 | GLuint *width, GLuint *height ); | |
12731 | ||
12732 | ||
12733 | ||
12734 | ||
12735 | ||
12736 | void (*ResizeBuffers)( GLcontext *ctx, GLframebuffer *fb, | |
12737 | GLuint width, GLuint height); | |
12738 | ||
12739 | ||
12740 | ||
12741 | ||
12742 | ||
12743 | void (*Error)( GLcontext *ctx ); | |
12744 | ||
12745 | ||
12746 | ||
12747 | ||
12748 | void (*Finish)( GLcontext *ctx ); | |
12749 | ||
12750 | ||
12751 | ||
12752 | ||
12753 | void (*Flush)( GLcontext *ctx ); | |
12754 | ||
12755 | ||
12756 | ||
12757 | ||
12758 | ||
12759 | ||
12760 | void (*Clear)( GLcontext *ctx, GLbitfield buffers ); | |
12761 | ||
12762 | ||
12763 | ||
12764 | ||
12765 | void (*Accum)( GLcontext *ctx, GLenum op, GLfloat value ); | |
12766 | # 122 "dd.h" | |
12767 | void (*DrawPixels)( GLcontext *ctx, | |
12768 | GLint x, GLint y, GLsizei width, GLsizei height, | |
12769 | GLenum format, GLenum type, | |
12770 | const struct gl_pixelstore_attrib *unpack, | |
12771 | const GLvoid *pixels ); | |
12772 | ||
12773 | ||
12774 | ||
12775 | ||
12776 | void (*ReadPixels)( GLcontext *ctx, | |
12777 | GLint x, GLint y, GLsizei width, GLsizei height, | |
12778 | GLenum format, GLenum type, | |
12779 | const struct gl_pixelstore_attrib *unpack, | |
12780 | GLvoid *dest ); | |
12781 | ||
12782 | ||
12783 | ||
12784 | ||
12785 | void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy, | |
12786 | GLsizei width, GLsizei height, | |
12787 | GLint dstx, GLint dsty, GLenum type ); | |
12788 | ||
12789 | ||
12790 | ||
12791 | ||
12792 | void (*Bitmap)( GLcontext *ctx, | |
12793 | GLint x, GLint y, GLsizei width, GLsizei height, | |
12794 | const struct gl_pixelstore_attrib *unpack, | |
12795 | const GLubyte *bitmap ); | |
12796 | # 166 "dd.h" | |
12797 | const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx, | |
12798 | GLint internalFormat, GLenum srcFormat, GLenum srcType ); | |
12799 | # 186 "dd.h" | |
12800 | void (*TexImage1D)( GLcontext *ctx, GLenum target, GLint level, | |
12801 | GLint internalFormat, | |
12802 | GLint width, GLint border, | |
12803 | GLenum format, GLenum type, const GLvoid *pixels, | |
12804 | const struct gl_pixelstore_attrib *packing, | |
12805 | struct gl_texture_object *texObj, | |
12806 | struct gl_texture_image *texImage ); | |
12807 | ||
12808 | ||
12809 | ||
12810 | ||
12811 | ||
12812 | ||
12813 | void (*TexImage2D)( GLcontext *ctx, GLenum target, GLint level, | |
12814 | GLint internalFormat, | |
12815 | GLint width, GLint height, GLint border, | |
12816 | GLenum format, GLenum type, const GLvoid *pixels, | |
12817 | const struct gl_pixelstore_attrib *packing, | |
12818 | struct gl_texture_object *texObj, | |
12819 | struct gl_texture_image *texImage ); | |
12820 | ||
12821 | ||
12822 | ||
12823 | ||
12824 | ||
12825 | ||
12826 | void (*TexImage3D)( GLcontext *ctx, GLenum target, GLint level, | |
12827 | GLint internalFormat, | |
12828 | GLint width, GLint height, GLint depth, GLint border, | |
12829 | GLenum format, GLenum type, const GLvoid *pixels, | |
12830 | const struct gl_pixelstore_attrib *packing, | |
12831 | struct gl_texture_object *texObj, | |
12832 | struct gl_texture_image *texImage ); | |
12833 | # 241 "dd.h" | |
12834 | void (*TexSubImage1D)( GLcontext *ctx, GLenum target, GLint level, | |
12835 | GLint xoffset, GLsizei width, | |
12836 | GLenum format, GLenum type, | |
12837 | const GLvoid *pixels, | |
12838 | const struct gl_pixelstore_attrib *packing, | |
12839 | struct gl_texture_object *texObj, | |
12840 | struct gl_texture_image *texImage ); | |
12841 | ||
12842 | ||
12843 | ||
12844 | ||
12845 | ||
12846 | ||
12847 | void (*TexSubImage2D)( GLcontext *ctx, GLenum target, GLint level, | |
12848 | GLint xoffset, GLint yoffset, | |
12849 | GLsizei width, GLsizei height, | |
12850 | GLenum format, GLenum type, | |
12851 | const GLvoid *pixels, | |
12852 | const struct gl_pixelstore_attrib *packing, | |
12853 | struct gl_texture_object *texObj, | |
12854 | struct gl_texture_image *texImage ); | |
12855 | ||
12856 | ||
12857 | ||
12858 | ||
12859 | ||
12860 | ||
12861 | void (*TexSubImage3D)( GLcontext *ctx, GLenum target, GLint level, | |
12862 | GLint xoffset, GLint yoffset, GLint zoffset, | |
12863 | GLsizei width, GLsizei height, GLint depth, | |
12864 | GLenum format, GLenum type, | |
12865 | const GLvoid *pixels, | |
12866 | const struct gl_pixelstore_attrib *packing, | |
12867 | struct gl_texture_object *texObj, | |
12868 | struct gl_texture_image *texImage ); | |
12869 | ||
12870 | ||
12871 | ||
12872 | ||
12873 | void (*GetTexImage)( GLcontext *ctx, GLenum target, GLint level, | |
12874 | GLenum format, GLenum type, GLvoid *pixels, | |
12875 | struct gl_texture_object *texObj, | |
12876 | struct gl_texture_image *texImage ); | |
12877 | ||
12878 | ||
12879 | ||
12880 | ||
12881 | ||
12882 | ||
12883 | void (*CopyTexImage1D)( GLcontext *ctx, GLenum target, GLint level, | |
12884 | GLenum internalFormat, GLint x, GLint y, | |
12885 | GLsizei width, GLint border ); | |
12886 | ||
12887 | ||
12888 | ||
12889 | ||
12890 | ||
12891 | ||
12892 | void (*CopyTexImage2D)( GLcontext *ctx, GLenum target, GLint level, | |
12893 | GLenum internalFormat, GLint x, GLint y, | |
12894 | GLsizei width, GLsizei height, GLint border ); | |
12895 | ||
12896 | ||
12897 | ||
12898 | ||
12899 | ||
12900 | ||
12901 | void (*CopyTexSubImage1D)( GLcontext *ctx, GLenum target, GLint level, | |
12902 | GLint xoffset, | |
12903 | GLint x, GLint y, GLsizei width ); | |
12904 | ||
12905 | ||
12906 | ||
12907 | ||
12908 | ||
12909 | void (*CopyTexSubImage2D)( GLcontext *ctx, GLenum target, GLint level, | |
12910 | GLint xoffset, GLint yoffset, | |
12911 | GLint x, GLint y, | |
12912 | GLsizei width, GLsizei height ); | |
12913 | ||
12914 | ||
12915 | ||
12916 | ||
12917 | ||
12918 | void (*CopyTexSubImage3D)( GLcontext *ctx, GLenum target, GLint level, | |
12919 | GLint xoffset, GLint yoffset, GLint zoffset, | |
12920 | GLint x, GLint y, | |
12921 | GLsizei width, GLsizei height ); | |
12922 | ||
12923 | ||
12924 | ||
12925 | ||
12926 | ||
12927 | ||
12928 | ||
12929 | GLboolean (*TestProxyTexImage)(GLcontext *ctx, GLenum target, | |
12930 | GLint level, GLint internalFormat, | |
12931 | GLenum format, GLenum type, | |
12932 | GLint width, GLint height, | |
12933 | GLint depth, GLint border); | |
12934 | # 364 "dd.h" | |
12935 | void (*CompressedTexImage1D)( GLcontext *ctx, GLenum target, | |
12936 | GLint level, GLint internalFormat, | |
12937 | GLsizei width, GLint border, | |
12938 | GLsizei imageSize, const GLvoid *data, | |
12939 | struct gl_texture_object *texObj, | |
12940 | struct gl_texture_image *texImage ); | |
12941 | ||
12942 | ||
12943 | ||
12944 | ||
12945 | ||
12946 | void (*CompressedTexImage2D)( GLcontext *ctx, GLenum target, | |
12947 | GLint level, GLint internalFormat, | |
12948 | GLsizei width, GLsizei height, GLint border, | |
12949 | GLsizei imageSize, const GLvoid *data, | |
12950 | struct gl_texture_object *texObj, | |
12951 | struct gl_texture_image *texImage ); | |
12952 | ||
12953 | ||
12954 | ||
12955 | ||
12956 | ||
12957 | void (*CompressedTexImage3D)( GLcontext *ctx, GLenum target, | |
12958 | GLint level, GLint internalFormat, | |
12959 | GLsizei width, GLsizei height, GLsizei depth, | |
12960 | GLint border, | |
12961 | GLsizei imageSize, const GLvoid *data, | |
12962 | struct gl_texture_object *texObj, | |
12963 | struct gl_texture_image *texImage ); | |
12964 | # 411 "dd.h" | |
12965 | void (*CompressedTexSubImage1D)(GLcontext *ctx, GLenum target, GLint level, | |
12966 | GLint xoffset, GLsizei width, | |
12967 | GLenum format, | |
12968 | GLsizei imageSize, const GLvoid *data, | |
12969 | struct gl_texture_object *texObj, | |
12970 | struct gl_texture_image *texImage); | |
12971 | ||
12972 | ||
12973 | ||
12974 | ||
12975 | ||
12976 | void (*CompressedTexSubImage2D)(GLcontext *ctx, GLenum target, GLint level, | |
12977 | GLint xoffset, GLint yoffset, | |
12978 | GLsizei width, GLint height, | |
12979 | GLenum format, | |
12980 | GLsizei imageSize, const GLvoid *data, | |
12981 | struct gl_texture_object *texObj, | |
12982 | struct gl_texture_image *texImage); | |
12983 | ||
12984 | ||
12985 | ||
12986 | ||
12987 | ||
12988 | void (*CompressedTexSubImage3D)(GLcontext *ctx, GLenum target, GLint level, | |
12989 | GLint xoffset, GLint yoffset, GLint zoffset, | |
12990 | GLsizei width, GLint height, GLint depth, | |
12991 | GLenum format, | |
12992 | GLsizei imageSize, const GLvoid *data, | |
12993 | struct gl_texture_object *texObj, | |
12994 | struct gl_texture_image *texImage); | |
12995 | ||
12996 | ||
12997 | ||
12998 | ||
12999 | ||
13000 | void (*GetCompressedTexImage)(GLcontext *ctx, GLenum target, GLint level, | |
13001 | GLvoid *img, | |
13002 | const struct gl_texture_object *texObj, | |
13003 | const struct gl_texture_image *texImage); | |
13004 | ||
13005 | ||
13006 | ||
13007 | ||
13008 | ||
13009 | GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width, | |
13010 | GLsizei height, GLsizei depth, | |
13011 | GLenum format ); | |
13012 | # 468 "dd.h" | |
13013 | void (*BindTexture)( GLcontext *ctx, GLenum target, | |
13014 | struct gl_texture_object *tObj ); | |
13015 | ||
13016 | ||
13017 | ||
13018 | ||
13019 | ||
13020 | ||
13021 | struct gl_texture_object * (*NewTextureObject)( GLcontext *ctx, GLuint name, | |
13022 | GLenum target ); | |
13023 | ||
13024 | ||
13025 | ||
13026 | ||
13027 | ||
13028 | ||
13029 | void (*DeleteTexture)( GLcontext *ctx, struct gl_texture_object *tObj ); | |
13030 | ||
13031 | ||
13032 | ||
13033 | ||
13034 | struct gl_texture_image * (*NewTextureImage)( GLcontext *ctx ); | |
13035 | ||
13036 | ||
13037 | ||
13038 | ||
13039 | void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage ); | |
13040 | # 507 "dd.h" | |
13041 | void* (*TextureMemCpy)( void *to, const void *from, size_t sz ); | |
13042 | ||
13043 | ||
13044 | ||
13045 | ||
13046 | GLboolean (*IsTextureResident)( GLcontext *ctx, | |
13047 | struct gl_texture_object *t ); | |
13048 | ||
13049 | ||
13050 | ||
13051 | ||
13052 | void (*PrioritizeTexture)( GLcontext *ctx, struct gl_texture_object *t, | |
13053 | GLclampf priority ); | |
13054 | ||
13055 | ||
13056 | ||
13057 | ||
13058 | void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber ); | |
13059 | ||
13060 | ||
13061 | ||
13062 | ||
13063 | ||
13064 | ||
13065 | ||
13066 | void (*UpdateTexturePalette)( GLcontext *ctx, | |
13067 | struct gl_texture_object *tObj ); | |
13068 | ||
13069 | ||
13070 | ||
13071 | ||
13072 | ||
13073 | ||
13074 | ||
13075 | void (*CopyColorTable)( GLcontext *ctx, | |
13076 | GLenum target, GLenum internalformat, | |
13077 | GLint x, GLint y, GLsizei width ); | |
13078 | ||
13079 | void (*CopyColorSubTable)( GLcontext *ctx, | |
13080 | GLenum target, GLsizei start, | |
13081 | GLint x, GLint y, GLsizei width ); | |
13082 | ||
13083 | void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target, | |
13084 | GLenum internalFormat, | |
13085 | GLint x, GLint y, GLsizei width ); | |
13086 | ||
13087 | void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target, | |
13088 | GLenum internalFormat, | |
13089 | GLint x, GLint y, | |
13090 | GLsizei width, GLsizei height ); | |
13091 | # 565 "dd.h" | |
13092 | void (*BindProgram)(GLcontext *ctx, GLenum target, struct gl_program *prog); | |
13093 | ||
13094 | struct gl_program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id); | |
13095 | ||
13096 | void (*DeleteProgram)(GLcontext *ctx, struct gl_program *prog); | |
13097 | ||
13098 | void (*ProgramStringNotify)(GLcontext *ctx, GLenum target, | |
13099 | struct gl_program *prog); | |
13100 | ||
13101 | void (*GetProgramRegister)(GLcontext *ctx, enum register_file file, | |
13102 | GLuint index, GLfloat val[4]); | |
13103 | ||
13104 | ||
13105 | GLboolean (*IsProgramNative)(GLcontext *ctx, GLenum target, | |
13106 | struct gl_program *prog); | |
13107 | # 595 "dd.h" | |
13108 | void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref); | |
13109 | ||
13110 | void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]); | |
13111 | ||
13112 | void (*BlendEquationSeparate)(GLcontext *ctx, GLenum modeRGB, GLenum modeA); | |
13113 | ||
13114 | void (*BlendFuncSeparate)(GLcontext *ctx, | |
13115 | GLenum sfactorRGB, GLenum dfactorRGB, | |
13116 | GLenum sfactorA, GLenum dfactorA); | |
13117 | ||
13118 | void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]); | |
13119 | ||
13120 | void (*ClearDepth)(GLcontext *ctx, GLclampd d); | |
13121 | ||
13122 | void (*ClearIndex)(GLcontext *ctx, GLuint index); | |
13123 | ||
13124 | void (*ClearStencil)(GLcontext *ctx, GLint s); | |
13125 | ||
13126 | void (*ClipPlane)(GLcontext *ctx, GLenum plane, const GLfloat *equation ); | |
13127 | ||
13128 | void (*ColorMask)(GLcontext *ctx, GLboolean rmask, GLboolean gmask, | |
13129 | GLboolean bmask, GLboolean amask ); | |
13130 | ||
13131 | void (*ColorMaterial)(GLcontext *ctx, GLenum face, GLenum mode); | |
13132 | ||
13133 | void (*CullFace)(GLcontext *ctx, GLenum mode); | |
13134 | ||
13135 | void (*FrontFace)(GLcontext *ctx, GLenum mode); | |
13136 | ||
13137 | void (*DepthFunc)(GLcontext *ctx, GLenum func); | |
13138 | ||
13139 | void (*DepthMask)(GLcontext *ctx, GLboolean flag); | |
13140 | ||
13141 | void (*DepthRange)(GLcontext *ctx, GLclampd nearval, GLclampd farval); | |
13142 | ||
13143 | void (*DrawBuffer)( GLcontext *ctx, GLenum buffer ); | |
13144 | ||
13145 | void (*DrawBuffers)( GLcontext *ctx, GLsizei n, const GLenum *buffers ); | |
13146 | ||
13147 | void (*Enable)(GLcontext *ctx, GLenum cap, GLboolean state); | |
13148 | ||
13149 | void (*Fogfv)(GLcontext *ctx, GLenum pname, const GLfloat *params); | |
13150 | ||
13151 | void (*Hint)(GLcontext *ctx, GLenum target, GLenum mode); | |
13152 | ||
13153 | void (*IndexMask)(GLcontext *ctx, GLuint mask); | |
13154 | ||
13155 | ||
13156 | ||
13157 | ||
13158 | void (*Lightfv)(GLcontext *ctx, GLenum light, | |
13159 | GLenum pname, const GLfloat *params ); | |
13160 | ||
13161 | void (*LightModelfv)(GLcontext *ctx, GLenum pname, const GLfloat *params); | |
13162 | ||
13163 | void (*LineStipple)(GLcontext *ctx, GLint factor, GLushort pattern ); | |
13164 | ||
13165 | void (*LineWidth)(GLcontext *ctx, GLfloat width); | |
13166 | ||
13167 | void (*LogicOpcode)(GLcontext *ctx, GLenum opcode); | |
13168 | void (*PointParameterfv)(GLcontext *ctx, GLenum pname, | |
13169 | const GLfloat *params); | |
13170 | ||
13171 | void (*PointSize)(GLcontext *ctx, GLfloat size); | |
13172 | ||
13173 | void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode); | |
13174 | ||
13175 | void (*PolygonOffset)(GLcontext *ctx, GLfloat factor, GLfloat units); | |
13176 | ||
13177 | void (*PolygonStipple)(GLcontext *ctx, const GLubyte *mask ); | |
13178 | ||
13179 | void (*ReadBuffer)( GLcontext *ctx, GLenum buffer ); | |
13180 | ||
13181 | void (*RenderMode)(GLcontext *ctx, GLenum mode ); | |
13182 | ||
13183 | void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h); | |
13184 | ||
13185 | void (*ShadeModel)(GLcontext *ctx, GLenum mode); | |
13186 | ||
13187 | void (*StencilFuncSeparate)(GLcontext *ctx, GLenum face, GLenum func, | |
13188 | GLint ref, GLuint mask); | |
13189 | ||
13190 | void (*StencilMaskSeparate)(GLcontext *ctx, GLenum face, GLuint mask); | |
13191 | ||
13192 | void (*StencilOpSeparate)(GLcontext *ctx, GLenum face, GLenum fail, | |
13193 | GLenum zfail, GLenum zpass); | |
13194 | ||
13195 | void (*TexGen)(GLcontext *ctx, GLenum coord, GLenum pname, | |
13196 | const GLfloat *params); | |
13197 | ||
13198 | void (*TexEnv)(GLcontext *ctx, GLenum target, GLenum pname, | |
13199 | const GLfloat *param); | |
13200 | ||
13201 | void (*TexParameter)(GLcontext *ctx, GLenum target, | |
13202 | struct gl_texture_object *texObj, | |
13203 | GLenum pname, const GLfloat *params); | |
13204 | void (*TextureMatrix)(GLcontext *ctx, GLuint unit, const GLmatrix *mat); | |
13205 | ||
13206 | void (*Viewport)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h); | |
13207 | # 703 "dd.h" | |
13208 | void (*VertexPointer)(GLcontext *ctx, GLint size, GLenum type, | |
13209 | GLsizei stride, const GLvoid *ptr); | |
13210 | void (*NormalPointer)(GLcontext *ctx, GLenum type, | |
13211 | GLsizei stride, const GLvoid *ptr); | |
13212 | void (*ColorPointer)(GLcontext *ctx, GLint size, GLenum type, | |
13213 | GLsizei stride, const GLvoid *ptr); | |
13214 | void (*FogCoordPointer)(GLcontext *ctx, GLenum type, | |
13215 | GLsizei stride, const GLvoid *ptr); | |
13216 | void (*IndexPointer)(GLcontext *ctx, GLenum type, | |
13217 | GLsizei stride, const GLvoid *ptr); | |
13218 | void (*SecondaryColorPointer)(GLcontext *ctx, GLint size, GLenum type, | |
13219 | GLsizei stride, const GLvoid *ptr); | |
13220 | void (*TexCoordPointer)(GLcontext *ctx, GLint size, GLenum type, | |
13221 | GLsizei stride, const GLvoid *ptr); | |
13222 | void (*EdgeFlagPointer)(GLcontext *ctx, GLsizei stride, const GLvoid *ptr); | |
13223 | void (*VertexAttribPointer)(GLcontext *ctx, GLuint index, GLint size, | |
13224 | GLenum type, GLsizei stride, const GLvoid *ptr); | |
13225 | void (*LockArraysEXT)( GLcontext *ctx, GLint first, GLsizei count ); | |
13226 | void (*UnlockArraysEXT)( GLcontext *ctx ); | |
13227 | # 732 "dd.h" | |
13228 | GLboolean (*GetBooleanv)(GLcontext *ctx, GLenum pname, GLboolean *result); | |
13229 | ||
13230 | GLboolean (*GetDoublev)(GLcontext *ctx, GLenum pname, GLdouble *result); | |
13231 | ||
13232 | GLboolean (*GetFloatv)(GLcontext *ctx, GLenum pname, GLfloat *result); | |
13233 | ||
13234 | GLboolean (*GetIntegerv)(GLcontext *ctx, GLenum pname, GLint *result); | |
13235 | ||
13236 | GLboolean (*GetPointerv)(GLcontext *ctx, GLenum pname, GLvoid **result); | |
13237 | # 749 "dd.h" | |
13238 | void (*BindBuffer)( GLcontext *ctx, GLenum target, | |
13239 | struct gl_buffer_object *obj ); | |
13240 | ||
13241 | struct gl_buffer_object * (*NewBufferObject)( GLcontext *ctx, GLuint buffer, | |
13242 | GLenum target ); | |
13243 | ||
13244 | void (*DeleteBuffer)( GLcontext *ctx, struct gl_buffer_object *obj ); | |
13245 | ||
13246 | void (*BufferData)( GLcontext *ctx, GLenum target, GLsizeiptrARB size, | |
13247 | const GLvoid *data, GLenum usage, | |
13248 | struct gl_buffer_object *obj ); | |
13249 | ||
13250 | void (*BufferSubData)( GLcontext *ctx, GLenum target, GLintptrARB offset, | |
13251 | GLsizeiptrARB size, const GLvoid *data, | |
13252 | struct gl_buffer_object *obj ); | |
13253 | ||
13254 | void (*GetBufferSubData)( GLcontext *ctx, GLenum target, | |
13255 | GLintptrARB offset, GLsizeiptrARB size, | |
13256 | GLvoid *data, struct gl_buffer_object *obj ); | |
13257 | ||
13258 | void * (*MapBuffer)( GLcontext *ctx, GLenum target, GLenum access, | |
13259 | struct gl_buffer_object *obj ); | |
13260 | ||
13261 | GLboolean (*UnmapBuffer)( GLcontext *ctx, GLenum target, | |
13262 | struct gl_buffer_object *obj ); | |
13263 | # 782 "dd.h" | |
13264 | struct gl_framebuffer * (*NewFramebuffer)(GLcontext *ctx, GLuint name); | |
13265 | struct gl_renderbuffer * (*NewRenderbuffer)(GLcontext *ctx, GLuint name); | |
13266 | void (*BindFramebuffer)(GLcontext *ctx, GLenum target, | |
13267 | struct gl_framebuffer *fb); | |
13268 | void (*FramebufferRenderbuffer)(GLcontext *ctx, | |
13269 | struct gl_framebuffer *fb, | |
13270 | GLenum attachment, | |
13271 | struct gl_renderbuffer *rb); | |
13272 | void (*RenderTexture)(GLcontext *ctx, | |
13273 | struct gl_framebuffer *fb, | |
13274 | struct gl_renderbuffer_attachment *att); | |
13275 | void (*FinishRenderTexture)(GLcontext *ctx, | |
13276 | struct gl_renderbuffer_attachment *att); | |
13277 | ||
13278 | ||
13279 | ||
13280 | void (*BlitFramebuffer)(GLcontext *ctx, | |
13281 | GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, | |
13282 | GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, | |
13283 | GLbitfield mask, GLenum filter); | |
13284 | ||
13285 | ||
13286 | ||
13287 | ||
13288 | ||
13289 | ||
13290 | struct gl_query_object * (*NewQueryObject)(GLcontext *ctx, GLuint id); | |
13291 | void (*BeginQuery)(GLcontext *ctx, GLenum target, | |
13292 | struct gl_query_object *q); | |
13293 | void (*EndQuery)(GLcontext *ctx, GLenum target, struct gl_query_object *q); | |
13294 | ||
13295 | ||
13296 | ||
13297 | ||
13298 | ||
13299 | ||
13300 | ||
13301 | struct gl_array_object * (*NewArrayObject)(GLcontext *ctx, GLuint id); | |
13302 | void (*DeleteArrayObject)(GLcontext *ctx, struct gl_array_object *obj); | |
13303 | void (*BindArrayObject)(GLcontext *ctx, struct gl_array_object *obj); | |
13304 | ||
13305 | ||
13306 | ||
13307 | ||
13308 | ||
13309 | ||
13310 | void (*AttachShader)(GLcontext *ctx, GLuint program, GLuint shader); | |
13311 | void (*BindAttribLocation)(GLcontext *ctx, GLuint program, GLuint index, | |
13312 | const GLcharARB *name); | |
13313 | void (*CompileShader)(GLcontext *ctx, GLuint shader); | |
13314 | GLuint (*CreateShader)(GLcontext *ctx, GLenum type); | |
13315 | GLuint (*CreateProgram)(GLcontext *ctx); | |
13316 | void (*DeleteProgram2)(GLcontext *ctx, GLuint program); | |
13317 | void (*DeleteShader)(GLcontext *ctx, GLuint shader); | |
13318 | void (*DetachShader)(GLcontext *ctx, GLuint program, GLuint shader); | |
13319 | void (*GetActiveAttrib)(GLcontext *ctx, GLuint program, GLuint index, | |
13320 | GLsizei maxLength, GLsizei * length, GLint * size, | |
13321 | GLenum * type, GLcharARB * name); | |
13322 | void (*GetActiveUniform)(GLcontext *ctx, GLuint program, GLuint index, | |
13323 | GLsizei maxLength, GLsizei *length, GLint *size, | |
13324 | GLenum *type, GLcharARB *name); | |
13325 | void (*GetAttachedShaders)(GLcontext *ctx, GLuint program, GLsizei maxCount, | |
13326 | GLsizei *count, GLuint *obj); | |
13327 | GLint (*GetAttribLocation)(GLcontext *ctx, GLuint program, | |
13328 | const GLcharARB *name); | |
13329 | GLuint (*GetHandle)(GLcontext *ctx, GLenum pname); | |
13330 | void (*GetProgramiv)(GLcontext *ctx, GLuint program, | |
13331 | GLenum pname, GLint *params); | |
13332 | void (*GetProgramInfoLog)(GLcontext *ctx, GLuint program, GLsizei bufSize, | |
13333 | GLsizei *length, GLchar *infoLog); | |
13334 | void (*GetShaderiv)(GLcontext *ctx, GLuint shader, | |
13335 | GLenum pname, GLint *params); | |
13336 | void (*GetShaderInfoLog)(GLcontext *ctx, GLuint shader, GLsizei bufSize, | |
13337 | GLsizei *length, GLchar *infoLog); | |
13338 | void (*GetShaderSource)(GLcontext *ctx, GLuint shader, GLsizei maxLength, | |
13339 | GLsizei *length, GLcharARB *sourceOut); | |
13340 | void (*GetUniformfv)(GLcontext *ctx, GLuint program, GLint location, | |
13341 | GLfloat *params); | |
13342 | GLint (*GetUniformLocation)(GLcontext *ctx, GLuint program, | |
13343 | const GLcharARB *name); | |
13344 | GLboolean (*IsProgram)(GLcontext *ctx, GLuint name); | |
13345 | GLboolean (*IsShader)(GLcontext *ctx, GLuint name); | |
13346 | void (*LinkProgram)(GLcontext *ctx, GLuint program); | |
13347 | void (*ShaderSource)(GLcontext *ctx, GLuint shader, const GLchar *source); | |
13348 | void (*Uniform)(GLcontext *ctx, GLint location, GLsizei count, | |
13349 | const GLvoid *values, GLenum type); | |
13350 | void (*UniformMatrix)(GLcontext *ctx, GLint cols, GLint rows, | |
13351 | GLenum matrixType, GLint location, GLsizei count, | |
13352 | GLboolean transpose, const GLfloat *values); | |
13353 | void (*UseProgram)(GLcontext *ctx, GLuint program); | |
13354 | void (*ValidateProgram)(GLcontext *ctx, GLuint program); | |
13355 | # 886 "dd.h" | |
13356 | GLuint NeedValidate; | |
13357 | # 899 "dd.h" | |
13358 | void (*ValidateTnlModule)( GLcontext *ctx, GLuint new_state ); | |
13359 | # 911 "dd.h" | |
13360 | GLuint CurrentExecPrimitive; | |
13361 | ||
13362 | ||
13363 | ||
13364 | ||
13365 | ||
13366 | ||
13367 | ||
13368 | GLuint CurrentSavePrimitive; | |
13369 | # 932 "dd.h" | |
13370 | GLuint NeedFlush; | |
13371 | GLuint SaveNeedFlush; | |
13372 | # 944 "dd.h" | |
13373 | void (*FlushVertices)( GLcontext *ctx, GLuint flags ); | |
13374 | void (*SaveFlushVertices)( GLcontext *ctx ); | |
13375 | ||
13376 | ||
13377 | ||
13378 | ||
13379 | ||
13380 | ||
13381 | GLboolean (*NotifySaveBegin)( GLcontext *ctx, GLenum mode ); | |
13382 | ||
13383 | ||
13384 | ||
13385 | ||
13386 | ||
13387 | void (*LightingSpaceChange)( GLcontext *ctx ); | |
13388 | ||
13389 | ||
13390 | ||
13391 | ||
13392 | ||
13393 | ||
13394 | ||
13395 | void (*NewList)( GLcontext *ctx, GLuint list, GLenum mode ); | |
13396 | ||
13397 | ||
13398 | ||
13399 | ||
13400 | ||
13401 | void (*EndList)( GLcontext *ctx ); | |
13402 | ||
13403 | ||
13404 | ||
13405 | ||
13406 | ||
13407 | ||
13408 | void (*BeginCallList)( GLcontext *ctx, | |
13409 | struct mesa_display_list *dlist ); | |
13410 | ||
13411 | ||
13412 | ||
13413 | ||
13414 | ||
13415 | void (*EndCallList)( GLcontext *ctx ); | |
13416 | ||
13417 | }; | |
13418 | # 1009 "dd.h" | |
13419 | typedef struct { | |
13420 | ||
13421 | ||
13422 | ||
13423 | ||
13424 | void ( * ArrayElement)( GLint ); | |
13425 | void ( * Color3f)( GLfloat, GLfloat, GLfloat ); | |
13426 | void ( * Color3fv)( const GLfloat * ); | |
13427 | void ( * Color4f)( GLfloat, GLfloat, GLfloat, GLfloat ); | |
13428 | void ( * Color4fv)( const GLfloat * ); | |
13429 | void ( * EdgeFlag)( GLboolean ); | |
13430 | void ( * EvalCoord1f)( GLfloat ); | |
13431 | void ( * EvalCoord1fv)( const GLfloat * ); | |
13432 | void ( * EvalCoord2f)( GLfloat, GLfloat ); | |
13433 | void ( * EvalCoord2fv)( const GLfloat * ); | |
13434 | void ( * EvalPoint1)( GLint ); | |
13435 | void ( * EvalPoint2)( GLint, GLint ); | |
13436 | void ( * FogCoordfEXT)( GLfloat ); | |
13437 | void ( * FogCoordfvEXT)( const GLfloat * ); | |
13438 | void ( * Indexf)( GLfloat ); | |
13439 | void ( * Indexfv)( const GLfloat * ); | |
13440 | void ( * Materialfv)( GLenum face, GLenum pname, const GLfloat * ); | |
13441 | void ( * MultiTexCoord1fARB)( GLenum, GLfloat ); | |
13442 | void ( * MultiTexCoord1fvARB)( GLenum, const GLfloat * ); | |
13443 | void ( * MultiTexCoord2fARB)( GLenum, GLfloat, GLfloat ); | |
13444 | void ( * MultiTexCoord2fvARB)( GLenum, const GLfloat * ); | |
13445 | void ( * MultiTexCoord3fARB)( GLenum, GLfloat, GLfloat, GLfloat ); | |
13446 | void ( * MultiTexCoord3fvARB)( GLenum, const GLfloat * ); | |
13447 | void ( * MultiTexCoord4fARB)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ); | |
13448 | void ( * MultiTexCoord4fvARB)( GLenum, const GLfloat * ); | |
13449 | void ( * Normal3f)( GLfloat, GLfloat, GLfloat ); | |
13450 | void ( * Normal3fv)( const GLfloat * ); | |
13451 | void ( * SecondaryColor3fEXT)( GLfloat, GLfloat, GLfloat ); | |
13452 | void ( * SecondaryColor3fvEXT)( const GLfloat * ); | |
13453 | void ( * TexCoord1f)( GLfloat ); | |
13454 | void ( * TexCoord1fv)( const GLfloat * ); | |
13455 | void ( * TexCoord2f)( GLfloat, GLfloat ); | |
13456 | void ( * TexCoord2fv)( const GLfloat * ); | |
13457 | void ( * TexCoord3f)( GLfloat, GLfloat, GLfloat ); | |
13458 | void ( * TexCoord3fv)( const GLfloat * ); | |
13459 | void ( * TexCoord4f)( GLfloat, GLfloat, GLfloat, GLfloat ); | |
13460 | void ( * TexCoord4fv)( const GLfloat * ); | |
13461 | void ( * Vertex2f)( GLfloat, GLfloat ); | |
13462 | void ( * Vertex2fv)( const GLfloat * ); | |
13463 | void ( * Vertex3f)( GLfloat, GLfloat, GLfloat ); | |
13464 | void ( * Vertex3fv)( const GLfloat * ); | |
13465 | void ( * Vertex4f)( GLfloat, GLfloat, GLfloat, GLfloat ); | |
13466 | void ( * Vertex4fv)( const GLfloat * ); | |
13467 | void ( * CallList)( GLuint ); | |
13468 | void ( * CallLists)( GLsizei, GLenum, const GLvoid * ); | |
13469 | void ( * Begin)( GLenum ); | |
13470 | void ( * End)( void ); | |
13471 | ||
13472 | void ( * VertexAttrib1fNV)( GLuint index, GLfloat x ); | |
13473 | void ( * VertexAttrib1fvNV)( GLuint index, const GLfloat *v ); | |
13474 | void ( * VertexAttrib2fNV)( GLuint index, GLfloat x, GLfloat y ); | |
13475 | void ( * VertexAttrib2fvNV)( GLuint index, const GLfloat *v ); | |
13476 | void ( * VertexAttrib3fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z ); | |
13477 | void ( * VertexAttrib3fvNV)( GLuint index, const GLfloat *v ); | |
13478 | void ( * VertexAttrib4fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); | |
13479 | void ( * VertexAttrib4fvNV)( GLuint index, const GLfloat *v ); | |
13480 | ||
13481 | void ( * VertexAttrib1fARB)( GLuint index, GLfloat x ); | |
13482 | void ( * VertexAttrib1fvARB)( GLuint index, const GLfloat *v ); | |
13483 | void ( * VertexAttrib2fARB)( GLuint index, GLfloat x, GLfloat y ); | |
13484 | void ( * VertexAttrib2fvARB)( GLuint index, const GLfloat *v ); | |
13485 | void ( * VertexAttrib3fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z ); | |
13486 | void ( * VertexAttrib3fvARB)( GLuint index, const GLfloat *v ); | |
13487 | void ( * VertexAttrib4fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); | |
13488 | void ( * VertexAttrib4fvARB)( GLuint index, const GLfloat *v ); | |
13489 | ||
13490 | ||
13491 | ||
13492 | ||
13493 | ||
13494 | void ( * Rectf)( GLfloat, GLfloat, GLfloat, GLfloat ); | |
13495 | ||
13496 | ||
13497 | ||
13498 | ||
13499 | ||
13500 | void ( * DrawArrays)( GLenum mode, GLint start, GLsizei count ); | |
13501 | void ( * DrawElements)( GLenum mode, GLsizei count, GLenum type, | |
13502 | const GLvoid *indices ); | |
13503 | void ( * DrawRangeElements)( GLenum mode, GLuint start, | |
13504 | GLuint end, GLsizei count, | |
13505 | GLenum type, const GLvoid *indices ); | |
13506 | # 1109 "dd.h" | |
13507 | void ( * EvalMesh1)( GLenum mode, GLint i1, GLint i2 ); | |
13508 | void ( * EvalMesh2)( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); | |
13509 | ||
13510 | ||
13511 | } GLvertexformat; | |
13512 | # 2801 "mtypes.h" 2 | |
13513 | ||
13514 | ||
13515 | ||
13516 | ||
13517 | ||
13518 | ||
13519 | ||
13520 | struct gl_tnl_module | |
13521 | { | |
13522 | ||
13523 | ||
13524 | ||
13525 | const GLvertexformat *Current; | |
13526 | ||
13527 | ||
13528 | ||
13529 | ||
13530 | ||
13531 | ||
13532 | struct { | |
13533 | _glapi_proc * location; | |
13534 | _glapi_proc function; | |
13535 | } Swapped[(sizeof(GLvertexformat) / sizeof(void *))]; | |
13536 | GLuint SwapCount; | |
13537 | ||
13538 | }; | |
13539 | # 2838 "mtypes.h" | |
13540 | struct mesa_display_list | |
13541 | { | |
13542 | Node *node; | |
13543 | GLuint id; | |
13544 | GLbitfield flags; | |
13545 | }; | |
13546 | ||
13547 | ||
13548 | ||
13549 | ||
13550 | ||
13551 | struct gl_dlist_state | |
13552 | { | |
13553 | struct mesa_display_list *CallStack[64]; | |
13554 | GLuint CallDepth; | |
13555 | ||
13556 | struct mesa_display_list *CurrentList; | |
13557 | Node *CurrentListPtr; | |
13558 | GLuint CurrentListNum; | |
13559 | Node *CurrentBlock; | |
13560 | GLuint CurrentPos; | |
13561 | ||
13562 | GLvertexformat ListVtxfmt; | |
13563 | ||
13564 | GLubyte ActiveAttribSize[VERT_ATTRIB_MAX]; | |
13565 | GLfloat CurrentAttrib[VERT_ATTRIB_MAX][4]; | |
13566 | ||
13567 | GLubyte ActiveMaterialSize[12]; | |
13568 | GLfloat CurrentMaterial[12][4]; | |
13569 | ||
13570 | GLubyte ActiveIndex; | |
13571 | GLfloat CurrentIndex; | |
13572 | ||
13573 | GLubyte ActiveEdgeFlag; | |
13574 | GLboolean CurrentEdgeFlag; | |
13575 | }; | |
13576 | # 2886 "mtypes.h" | |
13577 | struct __GLcontextRec | |
13578 | { | |
13579 | ||
13580 | struct gl_shared_state *Shared; | |
13581 | ||
13582 | ||
13583 | ||
13584 | struct _glapi_table *Save; | |
13585 | struct _glapi_table *Exec; | |
13586 | struct _glapi_table *CurrentDispatch; | |
13587 | ||
13588 | ||
13589 | GLvisual Visual; | |
13590 | GLframebuffer *DrawBuffer; | |
13591 | GLframebuffer *ReadBuffer; | |
13592 | GLframebuffer *WinSysDrawBuffer; | |
13593 | GLframebuffer *WinSysReadBuffer; | |
13594 | ||
13595 | ||
13596 | ||
13597 | ||
13598 | struct dd_function_table Driver; | |
13599 | ||
13600 | void *DriverCtx; | |
13601 | ||
13602 | ||
13603 | struct gl_constants Const; | |
13604 | ||
13605 | ||
13606 | ||
13607 | struct gl_matrix_stack ModelviewMatrixStack; | |
13608 | struct gl_matrix_stack ProjectionMatrixStack; | |
13609 | struct gl_matrix_stack ColorMatrixStack; | |
13610 | struct gl_matrix_stack TextureMatrixStack[8]; | |
13611 | struct gl_matrix_stack ProgramMatrixStack[8]; | |
13612 | struct gl_matrix_stack *CurrentStack; | |
13613 | ||
13614 | ||
13615 | ||
13616 | GLmatrix _ModelProjectMatrix; | |
13617 | ||
13618 | ||
13619 | struct gl_dlist_state ListState; | |
13620 | ||
13621 | GLboolean ExecuteFlag; | |
13622 | GLboolean CompileFlag; | |
13623 | ||
13624 | ||
13625 | struct gl_extensions Extensions; | |
13626 | ||
13627 | ||
13628 | ||
13629 | GLuint AttribStackDepth; | |
13630 | struct gl_attrib_node *AttribStack[16]; | |
13631 | # 2948 "mtypes.h" | |
13632 | struct gl_accum_attrib Accum; | |
13633 | struct gl_colorbuffer_attrib Color; | |
13634 | struct gl_current_attrib Current; | |
13635 | struct gl_depthbuffer_attrib Depth; | |
13636 | struct gl_eval_attrib Eval; | |
13637 | struct gl_fog_attrib Fog; | |
13638 | struct gl_hint_attrib Hint; | |
13639 | struct gl_light_attrib Light; | |
13640 | struct gl_line_attrib Line; | |
13641 | struct gl_list_attrib List; | |
13642 | struct gl_multisample_attrib Multisample; | |
13643 | struct gl_pixel_attrib Pixel; | |
13644 | struct gl_point_attrib Point; | |
13645 | struct gl_polygon_attrib Polygon; | |
13646 | GLuint PolygonStipple[32]; | |
13647 | struct gl_scissor_attrib Scissor; | |
13648 | struct gl_stencil_attrib Stencil; | |
13649 | struct gl_texture_attrib Texture; | |
13650 | struct gl_transform_attrib Transform; | |
13651 | struct gl_viewport_attrib Viewport; | |
13652 | ||
13653 | ||
13654 | ||
13655 | ||
13656 | GLuint ClientAttribStackDepth; | |
13657 | struct gl_attrib_node *ClientAttribStack[16]; | |
13658 | ||
13659 | ||
13660 | ||
13661 | ||
13662 | struct gl_array_attrib Array; | |
13663 | struct gl_pixelstore_attrib Pack; | |
13664 | struct gl_pixelstore_attrib Unpack; | |
13665 | struct gl_pixelstore_attrib DefaultPacking; | |
13666 | ||
13667 | ||
13668 | ||
13669 | ||
13670 | struct gl_pixelmaps PixelMaps; | |
13671 | struct gl_histogram_attrib Histogram; | |
13672 | struct gl_minmax_attrib MinMax; | |
13673 | struct gl_convolution_attrib Convolution1D; | |
13674 | struct gl_convolution_attrib Convolution2D; | |
13675 | struct gl_convolution_attrib Separable2D; | |
13676 | ||
13677 | struct gl_evaluators EvalMap; | |
13678 | struct gl_feedback Feedback; | |
13679 | struct gl_selection Select; | |
13680 | ||
13681 | struct gl_color_table ColorTable[3]; | |
13682 | struct gl_color_table ProxyColorTable[3]; | |
13683 | ||
13684 | ||
13685 | ||
13686 | ||
13687 | ||
13688 | ||
13689 | ||
13690 | struct gl_program_state Program; | |
13691 | struct gl_vertex_program_state VertexProgram; | |
13692 | struct gl_fragment_program_state FragmentProgram; | |
13693 | struct gl_ati_fragment_shader_state ATIFragmentShader; | |
13694 | ||
13695 | struct gl_query_state Query; | |
13696 | ||
13697 | struct gl_shader_state Shader; | |
13698 | ||
13699 | ||
13700 | ||
13701 | struct gl_renderbuffer *CurrentRenderbuffer; | |
13702 | ||
13703 | ||
13704 | GLenum ErrorValue; | |
13705 | GLenum RenderMode; | |
13706 | GLbitfield NewState; | |
13707 | ||
13708 | ||
13709 | ||
13710 | GLbitfield _TriangleCaps; | |
13711 | GLbitfield _ImageTransferState; | |
13712 | GLfloat _EyeZDir[3]; | |
13713 | GLfloat _ModelViewInvScale; | |
13714 | GLboolean _NeedEyeCoords; | |
13715 | GLboolean _ForceEyeCoords; | |
13716 | GLenum _CurrentProgram; | |
13717 | ||
13718 | GLuint TextureStateTimestamp; | |
13719 | ||
13720 | struct gl_shine_tab *_ShineTable[2]; | |
13721 | struct gl_shine_tab *_ShineTabList; | |
13722 | ||
13723 | ||
13724 | struct gl_list_extensions ListExt; | |
13725 | ||
13726 | ||
13727 | GLuint _Facing; | |
13728 | ||
13729 | ||
13730 | ||
13731 | ||
13732 | ||
13733 | ||
13734 | GLboolean FirstTimeCurrent; | |
13735 | ||
13736 | ||
13737 | ||
13738 | GLboolean NoDither; | |
13739 | ||
13740 | ||
13741 | GLboolean Mesa_DXTn; | |
13742 | ||
13743 | ||
13744 | struct gl_tnl_module TnlModule; | |
13745 | ||
13746 | ||
13747 | ||
13748 | ||
13749 | ||
13750 | ||
13751 | ||
13752 | void *swrast_context; | |
13753 | void *swsetup_context; | |
13754 | void *swtnl_context; | |
13755 | void *swtnl_im; | |
13756 | void *acache_context; | |
13757 | void *aelt_context; | |
13758 | ||
13759 | }; | |
13760 | ||
13761 | ||
13762 | ||
13763 | extern const char *_mesa_prim_name[0x0009 +4]; | |
13764 | # 3096 "mtypes.h" | |
13765 | enum _verbose | |
13766 | { | |
13767 | VERBOSE_VARRAY = 0x0001, | |
13768 | VERBOSE_TEXTURE = 0x0002, | |
13769 | VERBOSE_IMMEDIATE = 0x0004, | |
13770 | VERBOSE_PIPELINE = 0x0008, | |
13771 | VERBOSE_DRIVER = 0x0010, | |
13772 | VERBOSE_STATE = 0x0020, | |
13773 | VERBOSE_API = 0x0040, | |
13774 | VERBOSE_DISPLAY_LIST = 0x0100, | |
13775 | VERBOSE_LIGHTING = 0x0200, | |
13776 | VERBOSE_PRIMS = 0x0400, | |
13777 | VERBOSE_VERTS = 0x0800, | |
13778 | VERBOSE_DISASSEM = 0x1000 | |
13779 | }; | |
13780 | ||
13781 | ||
13782 | enum _debug | |
13783 | { | |
13784 | DEBUG_ALWAYS_FLUSH = 0x1 | |
13785 | }; | |
13786 | # 55 "context.h" 2 | |
13787 | ||
13788 | ||
13789 | ||
13790 | ||
13791 | ||
13792 | extern GLvisual * | |
13793 | _mesa_create_visual( GLboolean rgbFlag, | |
13794 | GLboolean dbFlag, | |
13795 | GLboolean stereoFlag, | |
13796 | GLint redBits, | |
13797 | GLint greenBits, | |
13798 | GLint blueBits, | |
13799 | GLint alphaBits, | |
13800 | GLint indexBits, | |
13801 | GLint depthBits, | |
13802 | GLint stencilBits, | |
13803 | GLint accumRedBits, | |
13804 | GLint accumGreenBits, | |
13805 | GLint accumBlueBits, | |
13806 | GLint accumAlphaBits, | |
13807 | GLint numSamples ); | |
13808 | ||
13809 | extern GLboolean | |
13810 | _mesa_initialize_visual( GLvisual *v, | |
13811 | GLboolean rgbFlag, | |
13812 | GLboolean dbFlag, | |
13813 | GLboolean stereoFlag, | |
13814 | GLint redBits, | |
13815 | GLint greenBits, | |
13816 | GLint blueBits, | |
13817 | GLint alphaBits, | |
13818 | GLint indexBits, | |
13819 | GLint depthBits, | |
13820 | GLint stencilBits, | |
13821 | GLint accumRedBits, | |
13822 | GLint accumGreenBits, | |
13823 | GLint accumBlueBits, | |
13824 | GLint accumAlphaBits, | |
13825 | GLint numSamples ); | |
13826 | ||
13827 | extern void | |
13828 | _mesa_destroy_visual( GLvisual *vis ); | |
13829 | ||
13830 | ||
13831 | ||
13832 | ||
13833 | ||
13834 | ||
13835 | ||
13836 | extern GLcontext * | |
13837 | _mesa_create_context( const GLvisual *visual, | |
13838 | GLcontext *share_list, | |
13839 | const struct dd_function_table *driverFunctions, | |
13840 | void *driverContext ); | |
13841 | ||
13842 | extern GLboolean | |
13843 | _mesa_initialize_context( GLcontext *ctx, | |
13844 | const GLvisual *visual, | |
13845 | GLcontext *share_list, | |
13846 | const struct dd_function_table *driverFunctions, | |
13847 | void *driverContext ); | |
13848 | ||
13849 | extern void | |
13850 | _mesa_free_context_data( GLcontext *ctx ); | |
13851 | ||
13852 | extern void | |
13853 | _mesa_destroy_context( GLcontext *ctx ); | |
13854 | ||
13855 | ||
13856 | extern void | |
13857 | _mesa_copy_context(const GLcontext *src, GLcontext *dst, GLuint mask); | |
13858 | ||
13859 | ||
13860 | extern void | |
13861 | _mesa_make_current( GLcontext *ctx, GLframebuffer *drawBuffer, | |
13862 | GLframebuffer *readBuffer ); | |
13863 | ||
13864 | extern GLboolean | |
13865 | _mesa_share_state(GLcontext *ctx, GLcontext *ctxToShare); | |
13866 | ||
13867 | extern GLcontext * | |
13868 | _mesa_get_current_context(void); | |
13869 | ||
13870 | ||
13871 | ||
13872 | ||
13873 | extern void | |
13874 | _mesa_notifySwapBuffers(__GLcontext *gc); | |
13875 | ||
13876 | ||
13877 | extern struct _glapi_table * | |
13878 | _mesa_get_dispatch(GLcontext *ctx); | |
13879 | ||
13880 | ||
13881 | ||
13882 | ||
13883 | ||
13884 | ||
13885 | extern void | |
13886 | _mesa_record_error( GLcontext *ctx, GLenum error ); | |
13887 | ||
13888 | extern void | |
13889 | _mesa_Finish( void ); | |
13890 | ||
13891 | extern void | |
13892 | _mesa_Flush( void ); | |
13893 | # 36 "texcompress_fxt1.c" 2 | |
13894 | ||
13895 | # 1 "convolve.h" 1 | |
13896 | # 35 "convolve.h" | |
13897 | extern void | |
13898 | _mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, | |
13899 | GLenum format, GLenum type, const GLvoid *image); | |
13900 | ||
13901 | extern void | |
13902 | _mesa_ConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, | |
13903 | GLsizei height, GLenum format, GLenum type, | |
13904 | const GLvoid *image); | |
13905 | ||
13906 | extern void | |
13907 | _mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); | |
13908 | ||
13909 | extern void | |
13910 | _mesa_ConvolutionParameterfv(GLenum target, GLenum pname, | |
13911 | const GLfloat *params); | |
13912 | ||
13913 | extern void | |
13914 | _mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint params); | |
13915 | ||
13916 | extern void | |
13917 | _mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); | |
13918 | ||
13919 | extern void | |
13920 | _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalformat, | |
13921 | GLint x, GLint y, GLsizei width); | |
13922 | ||
13923 | extern void | |
13924 | _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalformat, | |
13925 | GLint x, GLint y, GLsizei width, GLsizei height); | |
13926 | ||
13927 | extern void | |
13928 | _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, | |
13929 | GLvoid *image); | |
13930 | ||
13931 | extern void | |
13932 | _mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); | |
13933 | ||
13934 | extern void | |
13935 | _mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); | |
13936 | ||
13937 | extern void | |
13938 | _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type, | |
13939 | GLvoid *row, GLvoid *column, GLvoid *span); | |
13940 | ||
13941 | extern void | |
13942 | _mesa_SeparableFilter2D(GLenum target, GLenum internalformat, | |
13943 | GLsizei width, GLsizei height, | |
13944 | GLenum format, GLenum type, | |
13945 | const GLvoid *row, const GLvoid *column); | |
13946 | ||
13947 | ||
13948 | ||
13949 | extern void | |
13950 | _mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width, | |
13951 | const GLfloat *srcImage, GLfloat *dstImage); | |
13952 | ||
13953 | ||
13954 | extern void | |
13955 | _mesa_convolve_2d_image(const GLcontext *ctx, GLsizei *width, GLsizei *height, | |
13956 | const GLfloat *srcImage, GLfloat *dstImage); | |
13957 | ||
13958 | ||
13959 | extern void | |
13960 | _mesa_convolve_sep_image(const GLcontext *ctx, | |
13961 | GLsizei *width, GLsizei *height, | |
13962 | const GLfloat *srcImage, GLfloat *dstImage); | |
13963 | ||
13964 | ||
13965 | extern void | |
13966 | _mesa_adjust_image_for_convolution(const GLcontext *ctx, GLuint dimensions, | |
13967 | GLsizei *width, GLsizei *height); | |
13968 | # 37 "texcompress_fxt1.c" 2 | |
13969 | ||
13970 | # 1 "image.h" 1 | |
13971 | # 33 "image.h" | |
13972 | extern void | |
13973 | _mesa_swap2( GLushort *p, GLuint n ); | |
13974 | ||
13975 | extern void | |
13976 | _mesa_swap4( GLuint *p, GLuint n ); | |
13977 | ||
13978 | extern GLint | |
13979 | _mesa_sizeof_type( GLenum type ); | |
13980 | ||
13981 | extern GLint | |
13982 | _mesa_sizeof_packed_type( GLenum type ); | |
13983 | ||
13984 | extern GLint | |
13985 | _mesa_components_in_format( GLenum format ); | |
13986 | ||
13987 | extern GLint | |
13988 | _mesa_bytes_per_pixel( GLenum format, GLenum type ); | |
13989 | ||
13990 | extern GLboolean | |
13991 | _mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type ); | |
13992 | ||
13993 | ||
13994 | extern GLvoid * | |
13995 | _mesa_image_address( GLuint dimensions, | |
13996 | const struct gl_pixelstore_attrib *packing, | |
13997 | const GLvoid *image, | |
13998 | GLsizei width, GLsizei height, | |
13999 | GLenum format, GLenum type, | |
14000 | GLint img, GLint row, GLint column ); | |
14001 | ||
14002 | extern GLvoid * | |
14003 | _mesa_image_address1d( const struct gl_pixelstore_attrib *packing, | |
14004 | const GLvoid *image, | |
14005 | GLsizei width, | |
14006 | GLenum format, GLenum type, | |
14007 | GLint column ); | |
14008 | ||
14009 | extern GLvoid * | |
14010 | _mesa_image_address2d( const struct gl_pixelstore_attrib *packing, | |
14011 | const GLvoid *image, | |
14012 | GLsizei width, GLsizei height, | |
14013 | GLenum format, GLenum type, | |
14014 | GLint row, GLint column ); | |
14015 | ||
14016 | extern GLvoid * | |
14017 | _mesa_image_address3d( const struct gl_pixelstore_attrib *packing, | |
14018 | const GLvoid *image, | |
14019 | GLsizei width, GLsizei height, | |
14020 | GLenum format, GLenum type, | |
14021 | GLint img, GLint row, GLint column ); | |
14022 | ||
14023 | ||
14024 | extern GLint | |
14025 | _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing, | |
14026 | GLint width, GLenum format, GLenum type ); | |
14027 | ||
14028 | ||
14029 | extern GLint | |
14030 | _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing, | |
14031 | GLint width, GLint height, | |
14032 | GLenum format, GLenum type ); | |
14033 | ||
14034 | extern void | |
14035 | _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32], | |
14036 | const struct gl_pixelstore_attrib *unpacking ); | |
14037 | ||
14038 | ||
14039 | extern void | |
14040 | _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest, | |
14041 | const struct gl_pixelstore_attrib *packing ); | |
14042 | ||
14043 | ||
14044 | extern GLvoid * | |
14045 | _mesa_unpack_bitmap( GLint width, GLint height, const GLubyte *pixels, | |
14046 | const struct gl_pixelstore_attrib *packing ); | |
14047 | ||
14048 | extern void | |
14049 | _mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source, | |
14050 | GLubyte *dest, const struct gl_pixelstore_attrib *packing ); | |
14051 | ||
14052 | ||
14053 | extern void | |
14054 | _mesa_apply_rgba_transfer_ops(GLcontext *ctx, GLbitfield transferOps, | |
14055 | GLuint n, GLfloat rgba[][4]); | |
14056 | ||
14057 | ||
14058 | extern void | |
14059 | _mesa_apply_ci_transfer_ops(const GLcontext *ctx, GLbitfield transferOps, | |
14060 | GLuint n, GLuint indexes[]); | |
14061 | ||
14062 | ||
14063 | extern void | |
14064 | _mesa_apply_stencil_transfer_ops(const GLcontext *ctx, GLuint n, | |
14065 | GLstencil stencil[]); | |
14066 | ||
14067 | ||
14068 | extern void | |
14069 | _mesa_pack_rgba_span_float( GLcontext *ctx, GLuint n, GLfloat rgba[][4], | |
14070 | GLenum dstFormat, GLenum dstType, GLvoid *dstAddr, | |
14071 | const struct gl_pixelstore_attrib *dstPacking, | |
14072 | GLbitfield transferOps ); | |
14073 | ||
14074 | ||
14075 | extern void | |
14076 | _mesa_unpack_color_span_chan( GLcontext *ctx, | |
14077 | GLuint n, GLenum dstFormat, GLchan dest[], | |
14078 | GLenum srcFormat, GLenum srcType, | |
14079 | const GLvoid *source, | |
14080 | const struct gl_pixelstore_attrib *srcPacking, | |
14081 | GLbitfield transferOps ); | |
14082 | ||
14083 | ||
14084 | extern void | |
14085 | _mesa_unpack_color_span_float( GLcontext *ctx, | |
14086 | GLuint n, GLenum dstFormat, GLfloat dest[], | |
14087 | GLenum srcFormat, GLenum srcType, | |
14088 | const GLvoid *source, | |
14089 | const struct gl_pixelstore_attrib *srcPacking, | |
14090 | GLbitfield transferOps ); | |
14091 | ||
14092 | ||
14093 | extern void | |
14094 | _mesa_unpack_index_span( const GLcontext *ctx, GLuint n, | |
14095 | GLenum dstType, GLvoid *dest, | |
14096 | GLenum srcType, const GLvoid *source, | |
14097 | const struct gl_pixelstore_attrib *srcPacking, | |
14098 | GLbitfield transferOps ); | |
14099 | ||
14100 | ||
14101 | extern void | |
14102 | _mesa_pack_index_span( const GLcontext *ctx, GLuint n, | |
14103 | GLenum dstType, GLvoid *dest, const GLuint *source, | |
14104 | const struct gl_pixelstore_attrib *dstPacking, | |
14105 | GLbitfield transferOps ); | |
14106 | ||
14107 | ||
14108 | extern void | |
14109 | _mesa_unpack_stencil_span( const GLcontext *ctx, GLuint n, | |
14110 | GLenum dstType, GLvoid *dest, | |
14111 | GLenum srcType, const GLvoid *source, | |
14112 | const struct gl_pixelstore_attrib *srcPacking, | |
14113 | GLbitfield transferOps ); | |
14114 | ||
14115 | extern void | |
14116 | _mesa_pack_stencil_span( const GLcontext *ctx, GLuint n, | |
14117 | GLenum dstType, GLvoid *dest, const GLstencil *source, | |
14118 | const struct gl_pixelstore_attrib *dstPacking ); | |
14119 | ||
14120 | ||
14121 | extern void | |
14122 | _mesa_unpack_depth_span( const GLcontext *ctx, GLuint n, | |
14123 | GLenum dstType, GLvoid *dest, GLfloat depthScale, | |
14124 | GLenum srcType, const GLvoid *source, | |
14125 | const struct gl_pixelstore_attrib *srcPacking ); | |
14126 | ||
14127 | extern void | |
14128 | _mesa_pack_depth_span( const GLcontext *ctx, GLuint n, GLvoid *dest, | |
14129 | GLenum dstType, const GLfloat *depthSpan, | |
14130 | const struct gl_pixelstore_attrib *dstPacking ); | |
14131 | ||
14132 | ||
14133 | extern void | |
14134 | _mesa_pack_depth_stencil_span(const GLcontext *ctx, GLuint n, GLuint *dest, | |
14135 | const GLfloat *depthVals, | |
14136 | const GLstencil *stencilVals, | |
14137 | const struct gl_pixelstore_attrib *dstPacking); | |
14138 | ||
14139 | ||
14140 | extern void * | |
14141 | _mesa_unpack_image( GLuint dimensions, | |
14142 | GLsizei width, GLsizei height, GLsizei depth, | |
14143 | GLenum format, GLenum type, const GLvoid *pixels, | |
14144 | const struct gl_pixelstore_attrib *unpack ); | |
14145 | ||
14146 | ||
14147 | extern void | |
14148 | _mesa_convert_colors(GLenum srcType, const GLvoid *src, | |
14149 | GLenum dstType, GLvoid *dst, | |
14150 | GLuint count, const GLubyte mask[]); | |
14151 | ||
14152 | ||
14153 | extern GLboolean | |
14154 | _mesa_clip_drawpixels(const GLcontext *ctx, | |
14155 | GLint *destX, GLint *destY, | |
14156 | GLsizei *width, GLsizei *height, | |
14157 | struct gl_pixelstore_attrib *unpack); | |
14158 | ||
14159 | ||
14160 | extern GLboolean | |
14161 | _mesa_clip_readpixels(const GLcontext *ctx, | |
14162 | GLint *destX, GLint *destY, | |
14163 | GLsizei *width, GLsizei *height, | |
14164 | struct gl_pixelstore_attrib *pack); | |
14165 | ||
14166 | extern GLboolean | |
14167 | _mesa_clip_to_region(GLint xmin, GLint ymin, | |
14168 | GLint xmax, GLint ymax, | |
14169 | GLint *x, GLint *y, | |
14170 | GLsizei *width, GLsizei *height ); | |
14171 | # 38 "texcompress_fxt1.c" 2 | |
14172 | ||
14173 | # 1 "mipmap.h" 1 | |
14174 | # 31 "mipmap.h" | |
14175 | extern void | |
14176 | _mesa_generate_mipmap(GLcontext *ctx, GLenum target, | |
14177 | const struct gl_texture_unit *texUnit, | |
14178 | struct gl_texture_object *texObj); | |
14179 | ||
14180 | ||
14181 | extern void | |
14182 | _mesa_rescale_teximage2d(GLuint bytesPerPixel, | |
14183 | GLuint srcStrideInPixels, | |
14184 | GLuint dstRowStride, | |
14185 | GLint srcWidth, GLint srcHeight, | |
14186 | GLint dstWidth, GLint dstHeight, | |
14187 | const GLvoid *srcImage, GLvoid *dstImage); | |
14188 | ||
14189 | extern void | |
14190 | _mesa_upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, | |
14191 | GLsizei outWidth, GLsizei outHeight, | |
14192 | GLint comps, const GLchan *src, GLint srcRowStride, | |
14193 | GLchan *dest); | |
14194 | # 39 "texcompress_fxt1.c" 2 | |
14195 | ||
14196 | # 1 "texcompress.h" 1 | |
14197 | # 32 "texcompress.h" | |
14198 | extern GLuint | |
14199 | _mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all); | |
14200 | ||
14201 | extern GLuint | |
14202 | _mesa_compressed_texture_size( GLcontext *ctx, | |
14203 | GLsizei width, GLsizei height, GLsizei depth, | |
14204 | GLuint mesaFormat ); | |
14205 | ||
14206 | extern GLuint | |
14207 | _mesa_compressed_texture_size_glenum(GLcontext *ctx, | |
14208 | GLsizei width, GLsizei height, | |
14209 | GLsizei depth, GLenum glformat); | |
14210 | ||
14211 | extern GLint | |
14212 | _mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width); | |
14213 | ||
14214 | ||
14215 | extern GLubyte * | |
14216 | _mesa_compressed_image_address(GLint col, GLint row, GLint img, | |
14217 | GLuint mesaFormat, | |
14218 | GLsizei width, const GLubyte *image); | |
14219 | ||
14220 | ||
14221 | extern void | |
14222 | _mesa_init_texture_s3tc( GLcontext *ctx ); | |
14223 | ||
14224 | extern void | |
14225 | _mesa_init_texture_fxt1( GLcontext *ctx ); | |
14226 | # 40 "texcompress_fxt1.c" 2 | |
14227 | ||
14228 | # 1 "texformat.h" 1 | |
14229 | # 48 "texformat.h" | |
14230 | enum _format { | |
14231 | # 65 "texformat.h" | |
14232 | MESA_FORMAT_RGBA8888, | |
14233 | MESA_FORMAT_RGBA8888_REV, | |
14234 | MESA_FORMAT_ARGB8888, | |
14235 | MESA_FORMAT_ARGB8888_REV, | |
14236 | MESA_FORMAT_RGB888, | |
14237 | MESA_FORMAT_BGR888, | |
14238 | MESA_FORMAT_RGB565, | |
14239 | MESA_FORMAT_RGB565_REV, | |
14240 | MESA_FORMAT_ARGB4444, | |
14241 | MESA_FORMAT_ARGB4444_REV, | |
14242 | MESA_FORMAT_ARGB1555, | |
14243 | MESA_FORMAT_ARGB1555_REV, | |
14244 | MESA_FORMAT_AL88, | |
14245 | MESA_FORMAT_AL88_REV, | |
14246 | MESA_FORMAT_RGB332, | |
14247 | MESA_FORMAT_A8, | |
14248 | MESA_FORMAT_L8, | |
14249 | MESA_FORMAT_I8, | |
14250 | MESA_FORMAT_CI8, | |
14251 | MESA_FORMAT_YCBCR, | |
14252 | MESA_FORMAT_YCBCR_REV, | |
14253 | MESA_FORMAT_Z24_S8, | |
14254 | MESA_FORMAT_Z16, | |
14255 | MESA_FORMAT_Z32, | |
14256 | ||
14257 | ||
14258 | ||
14259 | ||
14260 | ||
14261 | ||
14262 | ||
14263 | MESA_FORMAT_SRGB8, | |
14264 | MESA_FORMAT_SRGBA8, | |
14265 | MESA_FORMAT_SL8, | |
14266 | MESA_FORMAT_SLA8, | |
14267 | ||
14268 | ||
14269 | ||
14270 | ||
14271 | ||
14272 | ||
14273 | ||
14274 | MESA_FORMAT_RGB_FXT1, | |
14275 | MESA_FORMAT_RGBA_FXT1, | |
14276 | MESA_FORMAT_RGB_DXT1, | |
14277 | MESA_FORMAT_RGBA_DXT1, | |
14278 | MESA_FORMAT_RGBA_DXT3, | |
14279 | MESA_FORMAT_RGBA_DXT5, | |
14280 | # 126 "texformat.h" | |
14281 | MESA_FORMAT_RGBA, | |
14282 | MESA_FORMAT_RGB, | |
14283 | MESA_FORMAT_ALPHA, | |
14284 | MESA_FORMAT_LUMINANCE, | |
14285 | MESA_FORMAT_LUMINANCE_ALPHA, | |
14286 | MESA_FORMAT_INTENSITY, | |
14287 | ||
14288 | ||
14289 | ||
14290 | ||
14291 | ||
14292 | ||
14293 | MESA_FORMAT_RGBA_FLOAT32, | |
14294 | MESA_FORMAT_RGBA_FLOAT16, | |
14295 | MESA_FORMAT_RGB_FLOAT32, | |
14296 | MESA_FORMAT_RGB_FLOAT16, | |
14297 | MESA_FORMAT_ALPHA_FLOAT32, | |
14298 | MESA_FORMAT_ALPHA_FLOAT16, | |
14299 | MESA_FORMAT_LUMINANCE_FLOAT32, | |
14300 | MESA_FORMAT_LUMINANCE_FLOAT16, | |
14301 | MESA_FORMAT_LUMINANCE_ALPHA_FLOAT32, | |
14302 | MESA_FORMAT_LUMINANCE_ALPHA_FLOAT16, | |
14303 | MESA_FORMAT_INTENSITY_FLOAT32, | |
14304 | MESA_FORMAT_INTENSITY_FLOAT16 | |
14305 | ||
14306 | }; | |
14307 | ||
14308 | ||
14309 | ||
14310 | ||
14311 | extern const struct gl_texture_format _mesa_texformat_rgba; | |
14312 | extern const struct gl_texture_format _mesa_texformat_rgb; | |
14313 | extern const struct gl_texture_format _mesa_texformat_alpha; | |
14314 | extern const struct gl_texture_format _mesa_texformat_luminance; | |
14315 | extern const struct gl_texture_format _mesa_texformat_luminance_alpha; | |
14316 | extern const struct gl_texture_format _mesa_texformat_intensity; | |
14317 | ||
14318 | ||
14319 | ||
14320 | ||
14321 | ||
14322 | extern const struct gl_texture_format _mesa_texformat_srgb8; | |
14323 | extern const struct gl_texture_format _mesa_texformat_srgba8; | |
14324 | extern const struct gl_texture_format _mesa_texformat_sl8; | |
14325 | extern const struct gl_texture_format _mesa_texformat_sla8; | |
14326 | ||
14327 | ||
14328 | ||
14329 | ||
14330 | ||
14331 | extern const struct gl_texture_format _mesa_texformat_rgba_float32; | |
14332 | extern const struct gl_texture_format _mesa_texformat_rgba_float16; | |
14333 | extern const struct gl_texture_format _mesa_texformat_rgb_float32; | |
14334 | extern const struct gl_texture_format _mesa_texformat_rgb_float16; | |
14335 | extern const struct gl_texture_format _mesa_texformat_alpha_float32; | |
14336 | extern const struct gl_texture_format _mesa_texformat_alpha_float16; | |
14337 | extern const struct gl_texture_format _mesa_texformat_luminance_float32; | |
14338 | extern const struct gl_texture_format _mesa_texformat_luminance_float16; | |
14339 | extern const struct gl_texture_format _mesa_texformat_luminance_alpha_float32; | |
14340 | extern const struct gl_texture_format _mesa_texformat_luminance_alpha_float16; | |
14341 | extern const struct gl_texture_format _mesa_texformat_intensity_float32; | |
14342 | extern const struct gl_texture_format _mesa_texformat_intensity_float16; | |
14343 | ||
14344 | ||
14345 | ||
14346 | ||
14347 | extern const struct gl_texture_format _mesa_texformat_rgba8888; | |
14348 | extern const struct gl_texture_format _mesa_texformat_rgba8888_rev; | |
14349 | extern const struct gl_texture_format _mesa_texformat_argb8888; | |
14350 | extern const struct gl_texture_format _mesa_texformat_argb8888_rev; | |
14351 | extern const struct gl_texture_format _mesa_texformat_rgb888; | |
14352 | extern const struct gl_texture_format _mesa_texformat_bgr888; | |
14353 | extern const struct gl_texture_format _mesa_texformat_rgb565; | |
14354 | extern const struct gl_texture_format _mesa_texformat_rgb565_rev; | |
14355 | extern const struct gl_texture_format _mesa_texformat_argb4444; | |
14356 | extern const struct gl_texture_format _mesa_texformat_argb4444_rev; | |
14357 | extern const struct gl_texture_format _mesa_texformat_argb1555; | |
14358 | extern const struct gl_texture_format _mesa_texformat_argb1555_rev; | |
14359 | extern const struct gl_texture_format _mesa_texformat_al88; | |
14360 | extern const struct gl_texture_format _mesa_texformat_al88_rev; | |
14361 | extern const struct gl_texture_format _mesa_texformat_rgb332; | |
14362 | extern const struct gl_texture_format _mesa_texformat_a8; | |
14363 | extern const struct gl_texture_format _mesa_texformat_l8; | |
14364 | extern const struct gl_texture_format _mesa_texformat_i8; | |
14365 | extern const struct gl_texture_format _mesa_texformat_ci8; | |
14366 | extern const struct gl_texture_format _mesa_texformat_z24_s8; | |
14367 | extern const struct gl_texture_format _mesa_texformat_z16; | |
14368 | extern const struct gl_texture_format _mesa_texformat_z32; | |
14369 | ||
14370 | ||
14371 | ||
14372 | ||
14373 | extern const struct gl_texture_format _mesa_texformat_ycbcr; | |
14374 | extern const struct gl_texture_format _mesa_texformat_ycbcr_rev; | |
14375 | ||
14376 | ||
14377 | ||
14378 | ||
14379 | extern const struct gl_texture_format _mesa_texformat_rgb_fxt1; | |
14380 | extern const struct gl_texture_format _mesa_texformat_rgba_fxt1; | |
14381 | extern const struct gl_texture_format _mesa_texformat_rgb_dxt1; | |
14382 | extern const struct gl_texture_format _mesa_texformat_rgba_dxt1; | |
14383 | extern const struct gl_texture_format _mesa_texformat_rgba_dxt3; | |
14384 | extern const struct gl_texture_format _mesa_texformat_rgba_dxt5; | |
14385 | ||
14386 | ||
14387 | ||
14388 | ||
14389 | extern const struct gl_texture_format _mesa_null_texformat; | |
14390 | ||
14391 | ||
14392 | ||
14393 | extern const struct gl_texture_format * | |
14394 | _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat, | |
14395 | GLenum format, GLenum type ); | |
14396 | # 41 "texcompress_fxt1.c" 2 | |
14397 | ||
14398 | # 1 "texstore.h" 1 | |
14399 | # 41 "texstore.h" | |
14400 | extern GLboolean _mesa_texstore_rgba(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14401 | extern GLboolean _mesa_texstore_color_index(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14402 | extern GLboolean _mesa_texstore_rgba8888(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14403 | extern GLboolean _mesa_texstore_argb8888(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14404 | extern GLboolean _mesa_texstore_rgb888(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14405 | extern GLboolean _mesa_texstore_bgr888(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14406 | extern GLboolean _mesa_texstore_rgb565(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14407 | extern GLboolean _mesa_texstore_rgb565_rev(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14408 | extern GLboolean _mesa_texstore_argb4444(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14409 | extern GLboolean _mesa_texstore_argb4444_rev(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14410 | extern GLboolean _mesa_texstore_argb1555(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14411 | extern GLboolean _mesa_texstore_argb1555_rev(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14412 | extern GLboolean _mesa_texstore_al88(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14413 | extern GLboolean _mesa_texstore_al88_rev(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14414 | extern GLboolean _mesa_texstore_rgb332(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14415 | extern GLboolean _mesa_texstore_a8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14416 | extern GLboolean _mesa_texstore_ci8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14417 | extern GLboolean _mesa_texstore_ycbcr(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14418 | extern GLboolean _mesa_texstore_z24_s8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14419 | extern GLboolean _mesa_texstore_z16(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14420 | extern GLboolean _mesa_texstore_z32(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14421 | extern GLboolean _mesa_texstore_rgba_float32(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14422 | extern GLboolean _mesa_texstore_rgba_float16(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14423 | extern GLboolean _mesa_texstore_rgb_fxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14424 | extern GLboolean _mesa_texstore_rgba_fxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14425 | extern GLboolean _mesa_texstore_rgb_dxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14426 | extern GLboolean _mesa_texstore_rgba_dxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14427 | extern GLboolean _mesa_texstore_rgba_dxt3(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14428 | extern GLboolean _mesa_texstore_rgba_dxt5(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14429 | ||
14430 | extern GLboolean _mesa_texstore_srgb8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14431 | extern GLboolean _mesa_texstore_srgba8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14432 | extern GLboolean _mesa_texstore_sl8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14433 | extern GLboolean _mesa_texstore_sla8(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); | |
14434 | ||
14435 | ||
14436 | ||
14437 | extern GLchan * | |
14438 | _mesa_make_temp_chan_image(GLcontext *ctx, GLuint dims, | |
14439 | GLenum logicalBaseFormat, | |
14440 | GLenum textureBaseFormat, | |
14441 | GLint srcWidth, GLint srcHeight, GLint srcDepth, | |
14442 | GLenum srcFormat, GLenum srcType, | |
14443 | const GLvoid *srcAddr, | |
14444 | const struct gl_pixelstore_attrib *srcPacking); | |
14445 | ||
14446 | ||
14447 | extern void | |
14448 | _mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims); | |
14449 | ||
14450 | ||
14451 | extern void | |
14452 | _mesa_store_teximage1d(GLcontext *ctx, GLenum target, GLint level, | |
14453 | GLint internalFormat, | |
14454 | GLint width, GLint border, | |
14455 | GLenum format, GLenum type, const GLvoid *pixels, | |
14456 | const struct gl_pixelstore_attrib *packing, | |
14457 | struct gl_texture_object *texObj, | |
14458 | struct gl_texture_image *texImage); | |
14459 | ||
14460 | ||
14461 | extern void | |
14462 | _mesa_store_teximage2d(GLcontext *ctx, GLenum target, GLint level, | |
14463 | GLint internalFormat, | |
14464 | GLint width, GLint height, GLint border, | |
14465 | GLenum format, GLenum type, const GLvoid *pixels, | |
14466 | const struct gl_pixelstore_attrib *packing, | |
14467 | struct gl_texture_object *texObj, | |
14468 | struct gl_texture_image *texImage); | |
14469 | ||
14470 | ||
14471 | extern void | |
14472 | _mesa_store_teximage3d(GLcontext *ctx, GLenum target, GLint level, | |
14473 | GLint internalFormat, | |
14474 | GLint width, GLint height, GLint depth, GLint border, | |
14475 | GLenum format, GLenum type, const GLvoid *pixels, | |
14476 | const struct gl_pixelstore_attrib *packing, | |
14477 | struct gl_texture_object *texObj, | |
14478 | struct gl_texture_image *texImage); | |
14479 | ||
14480 | ||
14481 | extern void | |
14482 | _mesa_store_texsubimage1d(GLcontext *ctx, GLenum target, GLint level, | |
14483 | GLint xoffset, GLint width, | |
14484 | GLenum format, GLenum type, const GLvoid *pixels, | |
14485 | const struct gl_pixelstore_attrib *packing, | |
14486 | struct gl_texture_object *texObj, | |
14487 | struct gl_texture_image *texImage); | |
14488 | ||
14489 | ||
14490 | extern void | |
14491 | _mesa_store_texsubimage2d(GLcontext *ctx, GLenum target, GLint level, | |
14492 | GLint xoffset, GLint yoffset, | |
14493 | GLint width, GLint height, | |
14494 | GLenum format, GLenum type, const GLvoid *pixels, | |
14495 | const struct gl_pixelstore_attrib *packing, | |
14496 | struct gl_texture_object *texObj, | |
14497 | struct gl_texture_image *texImage); | |
14498 | ||
14499 | ||
14500 | extern void | |
14501 | _mesa_store_texsubimage3d(GLcontext *ctx, GLenum target, GLint level, | |
14502 | GLint xoffset, GLint yoffset, GLint zoffset, | |
14503 | GLint width, GLint height, GLint depth, | |
14504 | GLenum format, GLenum type, const GLvoid *pixels, | |
14505 | const struct gl_pixelstore_attrib *packing, | |
14506 | struct gl_texture_object *texObj, | |
14507 | struct gl_texture_image *texImage); | |
14508 | ||
14509 | ||
14510 | extern void | |
14511 | _mesa_store_compressed_teximage1d(GLcontext *ctx, GLenum target, GLint level, | |
14512 | GLint internalFormat, | |
14513 | GLint width, GLint border, | |
14514 | GLsizei imageSize, const GLvoid *data, | |
14515 | struct gl_texture_object *texObj, | |
14516 | struct gl_texture_image *texImage); | |
14517 | ||
14518 | extern void | |
14519 | _mesa_store_compressed_teximage2d(GLcontext *ctx, GLenum target, GLint level, | |
14520 | GLint internalFormat, | |
14521 | GLint width, GLint height, GLint border, | |
14522 | GLsizei imageSize, const GLvoid *data, | |
14523 | struct gl_texture_object *texObj, | |
14524 | struct gl_texture_image *texImage); | |
14525 | ||
14526 | extern void | |
14527 | _mesa_store_compressed_teximage3d(GLcontext *ctx, GLenum target, GLint level, | |
14528 | GLint internalFormat, | |
14529 | GLint width, GLint height, GLint depth, | |
14530 | GLint border, | |
14531 | GLsizei imageSize, const GLvoid *data, | |
14532 | struct gl_texture_object *texObj, | |
14533 | struct gl_texture_image *texImage); | |
14534 | ||
14535 | ||
14536 | extern void | |
14537 | _mesa_store_compressed_texsubimage1d(GLcontext *ctx, GLenum target, | |
14538 | GLint level, | |
14539 | GLint xoffset, GLsizei width, | |
14540 | GLenum format, | |
14541 | GLsizei imageSize, const GLvoid *data, | |
14542 | struct gl_texture_object *texObj, | |
14543 | struct gl_texture_image *texImage); | |
14544 | ||
14545 | extern void | |
14546 | _mesa_store_compressed_texsubimage2d(GLcontext *ctx, GLenum target, | |
14547 | GLint level, | |
14548 | GLint xoffset, GLint yoffset, | |
14549 | GLsizei width, GLsizei height, | |
14550 | GLenum format, | |
14551 | GLsizei imageSize, const GLvoid *data, | |
14552 | struct gl_texture_object *texObj, | |
14553 | struct gl_texture_image *texImage); | |
14554 | ||
14555 | extern void | |
14556 | _mesa_store_compressed_texsubimage3d(GLcontext *ctx, GLenum target, | |
14557 | GLint level, | |
14558 | GLint xoffset, GLint yoffset, GLint zoffset, | |
14559 | GLsizei width, GLsizei height, GLsizei depth, | |
14560 | GLenum format, | |
14561 | GLsizei imageSize, const GLvoid *data, | |
14562 | struct gl_texture_object *texObj, | |
14563 | struct gl_texture_image *texImage); | |
14564 | ||
14565 | ||
14566 | extern void | |
14567 | _mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level, | |
14568 | GLenum format, GLenum type, GLvoid *pixels, | |
14569 | struct gl_texture_object *texObj, | |
14570 | struct gl_texture_image *texImage); | |
14571 | ||
14572 | ||
14573 | extern void | |
14574 | _mesa_get_compressed_teximage(GLcontext *ctx, GLenum target, GLint level, | |
14575 | GLvoid *img, | |
14576 | const struct gl_texture_object *texObj, | |
14577 | const struct gl_texture_image *texImage); | |
14578 | ||
14579 | extern const GLvoid * | |
14580 | _mesa_validate_pbo_teximage(GLcontext *ctx, GLuint dimensions, | |
14581 | GLsizei width, GLsizei height, GLsizei depth, | |
14582 | GLenum format, GLenum type, const GLvoid *pixels, | |
14583 | const struct gl_pixelstore_attrib *unpack, | |
14584 | const char *funcName); | |
14585 | ||
14586 | extern const GLvoid * | |
14587 | _mesa_validate_pbo_compressed_teximage(GLcontext *ctx, | |
14588 | GLsizei imageSize, const GLvoid *pixels, | |
14589 | const struct gl_pixelstore_attrib *packing, | |
14590 | const char *funcName); | |
14591 | ||
14592 | extern void | |
14593 | _mesa_unmap_teximage_pbo(GLcontext *ctx, | |
14594 | const struct gl_pixelstore_attrib *unpack); | |
14595 | # 42 "texcompress_fxt1.c" 2 | |
14596 | ||
14597 | ||
14598 | static void | |
14599 | fxt1_encode (GLuint width, GLuint height, GLint comps, | |
14600 | const void *source, GLint srcRowStride, | |
14601 | void *dest, GLint destRowStride); | |
14602 | ||
14603 | void | |
14604 | fxt1_decode_1 (const void *texture, GLint stride, | |
14605 | GLint i, GLint j, GLchan *rgba); | |
14606 | ||
14607 | ||
14608 | ||
14609 | ||
14610 | ||
14611 | void | |
14612 | _mesa_init_texture_fxt1( GLcontext *ctx ) | |
14613 | { | |
14614 | (void) ctx; | |
14615 | } | |
14616 | ||
14617 | ||
14618 | ||
14619 | ||
14620 | ||
14621 | static GLboolean | |
14622 | texstore_rgb_fxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) | |
14623 | { | |
14624 | const GLchan *pixels; | |
14625 | GLint srcRowStride; | |
14626 | GLubyte *dst; | |
14627 | const GLint texWidth = dstRowStride * 8 / 16; | |
14628 | const GLchan *tempImage = ((void *)0); | |
14629 | ||
14630 | ; | |
14631 | ; | |
14632 | ; | |
14633 | ; | |
14634 | (void) dstZoffset; | |
14635 | (void) dstImageOffsets; | |
14636 | ||
14637 | if (srcFormat != 0x1907 || | |
14638 | srcType != 0x1401 || | |
14639 | ctx->_ImageTransferState || | |
14640 | srcPacking->SwapBytes) { | |
14641 | ||
14642 | tempImage = _mesa_make_temp_chan_image(ctx, dims, | |
14643 | baseInternalFormat, | |
14644 | dstFormat->BaseFormat, | |
14645 | srcWidth, srcHeight, srcDepth, | |
14646 | srcFormat, srcType, srcAddr, | |
14647 | srcPacking); | |
14648 | if (!tempImage) | |
14649 | return 0x0; | |
14650 | _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight); | |
14651 | pixels = tempImage; | |
14652 | srcRowStride = 3 * srcWidth; | |
14653 | srcFormat = 0x1907; | |
14654 | } | |
14655 | else { | |
14656 | pixels = (const GLchan *) srcAddr; | |
14657 | srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, | |
14658 | srcType) / sizeof(GLchan); | |
14659 | } | |
14660 | ||
14661 | dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, | |
14662 | dstFormat->MesaFormat, | |
14663 | texWidth, (GLubyte *) dstAddr); | |
14664 | ||
14665 | fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, | |
14666 | dst, dstRowStride); | |
14667 | ||
14668 | if (tempImage) | |
14669 | _mesa_free((void*) tempImage); | |
14670 | ||
14671 | return 0x1; | |
14672 | } | |
14673 | ||
14674 | ||
14675 | ||
14676 | ||
14677 | ||
14678 | static GLboolean | |
14679 | texstore_rgba_fxt1(GLcontext *ctx, GLuint dims, GLenum baseInternalFormat, const struct gl_texture_format *dstFormat, GLvoid *dstAddr, GLint dstXoffset, GLint dstYoffset, GLint dstZoffset, GLint dstRowStride, const GLuint *dstImageOffsets, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) | |
14680 | { | |
14681 | const GLchan *pixels; | |
14682 | GLint srcRowStride; | |
14683 | GLubyte *dst; | |
14684 | GLint texWidth = dstRowStride * 8 / 16; | |
14685 | const GLchan *tempImage = ((void *)0); | |
14686 | ||
14687 | ; | |
14688 | ; | |
14689 | ; | |
14690 | ; | |
14691 | (void) dstZoffset; | |
14692 | (void) dstImageOffsets; | |
14693 | ||
14694 | if (srcFormat != 0x1908 || | |
14695 | srcType != 0x1401 || | |
14696 | ctx->_ImageTransferState || | |
14697 | srcPacking->SwapBytes) { | |
14698 | ||
14699 | tempImage = _mesa_make_temp_chan_image(ctx, dims, | |
14700 | baseInternalFormat, | |
14701 | dstFormat->BaseFormat, | |
14702 | srcWidth, srcHeight, srcDepth, | |
14703 | srcFormat, srcType, srcAddr, | |
14704 | srcPacking); | |
14705 | if (!tempImage) | |
14706 | return 0x0; | |
14707 | _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight); | |
14708 | pixels = tempImage; | |
14709 | srcRowStride = 4 * srcWidth; | |
14710 | srcFormat = 0x1908; | |
14711 | } | |
14712 | else { | |
14713 | pixels = (const GLchan *) srcAddr; | |
14714 | srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, | |
14715 | srcType) / sizeof(GLchan); | |
14716 | } | |
14717 | ||
14718 | dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, | |
14719 | dstFormat->MesaFormat, | |
14720 | texWidth, (GLubyte *) dstAddr); | |
14721 | ||
14722 | fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, | |
14723 | dst, dstRowStride); | |
14724 | ||
14725 | if (tempImage) | |
14726 | _mesa_free((void*) tempImage); | |
14727 | ||
14728 | return 0x1; | |
14729 | } | |
14730 | ||
14731 | ||
14732 | static void | |
14733 | fetch_texel_2d_rgba_fxt1( const struct gl_texture_image *texImage, | |
14734 | GLint i, GLint j, GLint k, GLchan *texel ) | |
14735 | { | |
14736 | (void) k; | |
14737 | fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel); | |
14738 | } | |
14739 | ||
14740 | ||
14741 | static void | |
14742 | fetch_texel_2d_f_rgba_fxt1( const struct gl_texture_image *texImage, | |
14743 | GLint i, GLint j, GLint k, GLfloat *texel ) | |
14744 | { | |
14745 | ||
14746 | GLchan rgba[4]; | |
14747 | (void) k; | |
14748 | fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, rgba); | |
14749 | texel[0] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[0])]; | |
14750 | texel[1] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[1])]; | |
14751 | texel[2] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[2])]; | |
14752 | texel[3] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[3])]; | |
14753 | } | |
14754 | ||
14755 | ||
14756 | static void | |
14757 | fetch_texel_2d_rgb_fxt1( const struct gl_texture_image *texImage, | |
14758 | GLint i, GLint j, GLint k, GLchan *texel ) | |
14759 | { | |
14760 | (void) k; | |
14761 | fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel); | |
14762 | texel[3] = 255; | |
14763 | } | |
14764 | ||
14765 | ||
14766 | static void | |
14767 | fetch_texel_2d_f_rgb_fxt1( const struct gl_texture_image *texImage, | |
14768 | GLint i, GLint j, GLint k, GLfloat *texel ) | |
14769 | { | |
14770 | ||
14771 | GLchan rgba[4]; | |
14772 | (void) k; | |
14773 | fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, rgba); | |
14774 | texel[0] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[0])]; | |
14775 | texel[1] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[1])]; | |
14776 | texel[2] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[2])]; | |
14777 | texel[3] = 1.0F; | |
14778 | } | |
14779 | ||
14780 | ||
14781 | ||
14782 | const struct gl_texture_format _mesa_texformat_rgb_fxt1 = { | |
14783 | MESA_FORMAT_RGB_FXT1, | |
14784 | 0x1907, | |
14785 | 0x8C17, | |
14786 | 4, | |
14787 | 4, | |
14788 | 4, | |
14789 | 0, | |
14790 | 0, | |
14791 | 0, | |
14792 | 0, | |
14793 | 0, | |
14794 | 0, | |
14795 | 0, | |
14796 | texstore_rgb_fxt1, | |
14797 | ((void *)0), | |
14798 | fetch_texel_2d_rgb_fxt1, | |
14799 | ((void *)0), | |
14800 | ((void *)0), | |
14801 | fetch_texel_2d_f_rgb_fxt1, | |
14802 | ((void *)0), | |
14803 | ((void *)0) | |
14804 | }; | |
14805 | ||
14806 | const struct gl_texture_format _mesa_texformat_rgba_fxt1 = { | |
14807 | MESA_FORMAT_RGBA_FXT1, | |
14808 | 0x1908, | |
14809 | 0x8C17, | |
14810 | 4, | |
14811 | 4, | |
14812 | 4, | |
14813 | 1, | |
14814 | 0, | |
14815 | 0, | |
14816 | 0, | |
14817 | 0, | |
14818 | 0, | |
14819 | 0, | |
14820 | texstore_rgba_fxt1, | |
14821 | ((void *)0), | |
14822 | fetch_texel_2d_rgba_fxt1, | |
14823 | ((void *)0), | |
14824 | ((void *)0), | |
14825 | fetch_texel_2d_f_rgba_fxt1, | |
14826 | ((void *)0), | |
14827 | ((void *)0) | |
14828 | }; | |
14829 | # 308 "texcompress_fxt1.c" | |
14830 | typedef unsigned long long Fx64; | |
14831 | # 381 "texcompress_fxt1.c" | |
14832 | static GLint | |
14833 | fxt1_bestcol (GLfloat vec[][4], GLint nv, | |
14834 | GLubyte input[4], GLint nc) | |
14835 | { | |
14836 | GLint i, j, best = -1; | |
14837 | GLfloat err = 1e9; | |
14838 | ||
14839 | for (j = 0; j < nv; j++) { | |
14840 | GLfloat e = 0.0F; | |
14841 | for (i = 0; i < nc; i++) { | |
14842 | e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); | |
14843 | } | |
14844 | if (e < err) { | |
14845 | err = e; | |
14846 | best = j; | |
14847 | } | |
14848 | } | |
14849 | ||
14850 | return best; | |
14851 | } | |
14852 | ||
14853 | ||
14854 | static GLint | |
14855 | fxt1_worst (GLfloat vec[4], | |
14856 | GLubyte input[32][4], GLint nc, GLint n) | |
14857 | { | |
14858 | GLint i, k, worst = -1; | |
14859 | GLfloat err = -1.0F; | |
14860 | ||
14861 | for (k = 0; k < n; k++) { | |
14862 | GLfloat e = 0.0F; | |
14863 | for (i = 0; i < nc; i++) { | |
14864 | e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); | |
14865 | } | |
14866 | if (e > err) { | |
14867 | err = e; | |
14868 | worst = k; | |
14869 | } | |
14870 | } | |
14871 | ||
14872 | return worst; | |
14873 | } | |
14874 | ||
14875 | ||
14876 | static GLint | |
14877 | fxt1_variance (GLdouble variance[4], | |
14878 | GLubyte input[32][4], GLint nc, GLint n) | |
14879 | { | |
14880 | GLint i, k, best = 0; | |
14881 | GLint sx, sx2; | |
14882 | GLdouble var, maxvar = -1; | |
14883 | GLdouble teenth = 1.0 / n; | |
14884 | ||
14885 | for (i = 0; i < nc; i++) { | |
14886 | sx = sx2 = 0; | |
14887 | for (k = 0; k < n; k++) { | |
14888 | GLint t = input[k][i]; | |
14889 | sx += t; | |
14890 | sx2 += t * t; | |
14891 | } | |
14892 | var = sx2 * teenth - sx * sx * teenth * teenth; | |
14893 | if (maxvar < var) { | |
14894 | maxvar = var; | |
14895 | best = i; | |
14896 | } | |
14897 | if (variance) { | |
14898 | variance[i] = var; | |
14899 | } | |
14900 | } | |
14901 | ||
14902 | return best; | |
14903 | } | |
14904 | ||
14905 | ||
14906 | static GLint | |
14907 | fxt1_choose (GLfloat vec[][4], GLint nv, | |
14908 | GLubyte input[32][4], GLint nc, GLint n) | |
14909 | { | |
14910 | # 475 "texcompress_fxt1.c" | |
14911 | GLint i, j, k; | |
14912 | GLint minSum = 2000; | |
14913 | GLint maxSum = -1; | |
14914 | GLint minCol = 0; | |
14915 | GLint maxCol = 0; | |
14916 | ||
14917 | struct { | |
14918 | GLint flag; | |
14919 | GLint key; | |
14920 | GLint freq; | |
14921 | GLint idx; | |
14922 | } hist[32]; | |
14923 | GLint lenh = 0; | |
14924 | ||
14925 | _mesa_memset(hist, 0, sizeof(hist)); | |
14926 | ||
14927 | for (k = 0; k < n; k++) { | |
14928 | GLint l; | |
14929 | GLint key = 0; | |
14930 | GLint sum = 0; | |
14931 | for (i = 0; i < nc; i++) { | |
14932 | key <<= 8; | |
14933 | key |= input[k][i]; | |
14934 | sum += input[k][i]; | |
14935 | } | |
14936 | for (l = 0; l < n; l++) { | |
14937 | if (!hist[l].flag) { | |
14938 | ||
14939 | hist[l].flag = !0; | |
14940 | hist[l].key = key; | |
14941 | hist[l].freq = 1; | |
14942 | hist[l].idx = k; | |
14943 | lenh = l + 1; | |
14944 | break; | |
14945 | } else if (hist[l].key == key) { | |
14946 | hist[l].freq++; | |
14947 | break; | |
14948 | } | |
14949 | } | |
14950 | if (minSum > sum) { | |
14951 | minSum = sum; | |
14952 | minCol = k; | |
14953 | } | |
14954 | if (maxSum < sum) { | |
14955 | maxSum = sum; | |
14956 | maxCol = k; | |
14957 | } | |
14958 | } | |
14959 | ||
14960 | if (lenh <= nv) { | |
14961 | for (j = 0; j < lenh; j++) { | |
14962 | for (i = 0; i < nc; i++) { | |
14963 | vec[j][i] = (GLfloat)input[hist[j].idx][i]; | |
14964 | } | |
14965 | } | |
14966 | for (; j < nv; j++) { | |
14967 | for (i = 0; i < nc; i++) { | |
14968 | vec[j][i] = vec[0][i]; | |
14969 | } | |
14970 | } | |
14971 | return 0; | |
14972 | } | |
14973 | ||
14974 | for (j = 0; j < nv; j++) { | |
14975 | for (i = 0; i < nc; i++) { | |
14976 | vec[j][i] = ((nv - 1 - j) * input[minCol][i] + j * input[maxCol][i] + (nv - 1) / 2) / (GLfloat)(nv - 1); | |
14977 | } | |
14978 | } | |
14979 | ||
14980 | ||
14981 | return !0; | |
14982 | } | |
14983 | ||
14984 | ||
14985 | static GLint | |
14986 | fxt1_lloyd (GLfloat vec[][4], GLint nv, | |
14987 | GLubyte input[32][4], GLint nc, GLint n) | |
14988 | { | |
14989 | # 573 "texcompress_fxt1.c" | |
14990 | GLint sum[4][4]; | |
14991 | GLint cnt[4]; | |
14992 | GLfloat error, lasterror = 1e9; | |
14993 | ||
14994 | GLint i, j, k, rep; | |
14995 | ||
14996 | ||
14997 | for (rep = 0; rep < 50; rep++) { | |
14998 | ||
14999 | for (j = 0; j < nv; j++) { | |
15000 | for (i = 0; i < nc; i++) { | |
15001 | sum[j][i] = 0; | |
15002 | } | |
15003 | cnt[j] = 0; | |
15004 | } | |
15005 | error = 0; | |
15006 | ||
15007 | ||
15008 | for (k = 0; k < n; k++) { | |
15009 | ||
15010 | GLint best = -1; | |
15011 | GLfloat err = 1e9; | |
15012 | ||
15013 | for (j = 0; j < nv; j++) { | |
15014 | GLfloat e = (vec[j][0] - input[k][0]) * (vec[j][0] - input[k][0]) + | |
15015 | (vec[j][1] - input[k][1]) * (vec[j][1] - input[k][1]) + | |
15016 | (vec[j][2] - input[k][2]) * (vec[j][2] - input[k][2]); | |
15017 | if (nc == 4) { | |
15018 | e += (vec[j][3] - input[k][3]) * (vec[j][3] - input[k][3]); | |
15019 | } | |
15020 | if (e < err) { | |
15021 | err = e; | |
15022 | best = j; | |
15023 | } | |
15024 | } | |
15025 | ||
15026 | ||
15027 | ||
15028 | ||
15029 | for (i = 0; i < nc; i++) { | |
15030 | sum[best][i] += input[k][i]; | |
15031 | } | |
15032 | ||
15033 | cnt[best]++; | |
15034 | ||
15035 | error += err; | |
15036 | } | |
15037 | ||
15038 | ||
15039 | if ((error < 255) || | |
15040 | ((error < lasterror) && ((lasterror - error) < 10))) { | |
15041 | return !0; | |
15042 | } | |
15043 | lasterror = error; | |
15044 | ||
15045 | ||
15046 | for (j = 0; j < nv; j++) { | |
15047 | if (cnt[j]) { | |
15048 | GLfloat div = 1.0F / cnt[j]; | |
15049 | for (i = 0; i < nc; i++) { | |
15050 | vec[j][i] = div * sum[j][i]; | |
15051 | } | |
15052 | } else { | |
15053 | ||
15054 | GLint worst = fxt1_worst(vec[j], input, nc, n); | |
15055 | for (i = 0; i < nc; i++) { | |
15056 | vec[j][i] = input[worst][i]; | |
15057 | } | |
15058 | } | |
15059 | } | |
15060 | } | |
15061 | ||
15062 | return 0; | |
15063 | } | |
15064 | ||
15065 | ||
15066 | static void | |
15067 | fxt1_quantize_CHROMA (GLuint *cc, | |
15068 | GLubyte input[32][4]) | |
15069 | { | |
15070 | const GLint n_vect = 4; | |
15071 | const GLint n_comp = 3; | |
15072 | GLfloat vec[4][4]; | |
15073 | GLint i, j, k; | |
15074 | Fx64 hi; | |
15075 | GLuint lohi, lolo; | |
15076 | ||
15077 | if (fxt1_choose(vec, n_vect, input, n_comp, 32) != 0) { | |
15078 | fxt1_lloyd(vec, n_vect, input, n_comp, 32); | |
15079 | } | |
15080 | ||
15081 | hi = 4; | |
15082 | for (j = n_vect - 1; j >= 0; j--) { | |
15083 | for (i = 0; i < n_comp; i++) { | |
15084 | ||
15085 | hi <<= 5; | |
15086 | hi |= (GLuint)(vec[j][i] / 8.0F); | |
15087 | } | |
15088 | } | |
15089 | ((Fx64 *)cc)[1] = hi; | |
15090 | ||
15091 | lohi = lolo = 0; | |
15092 | ||
15093 | for (k = 32 - 1; k >= 32/2; k--) { | |
15094 | lohi <<= 2; | |
15095 | lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); | |
15096 | } | |
15097 | ||
15098 | for (; k >= 0; k--) { | |
15099 | lolo <<= 2; | |
15100 | lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); | |
15101 | } | |
15102 | cc[1] = lohi; | |
15103 | cc[0] = lolo; | |
15104 | } | |
15105 | ||
15106 | ||
15107 | static void | |
15108 | fxt1_quantize_ALPHA0 (GLuint *cc, | |
15109 | GLubyte input[32][4], | |
15110 | GLubyte reord[32][4], GLint n) | |
15111 | { | |
15112 | const GLint n_vect = 3; | |
15113 | const GLint n_comp = 4; | |
15114 | GLfloat vec[4][4]; | |
15115 | GLint i, j, k; | |
15116 | Fx64 hi; | |
15117 | GLuint lohi, lolo; | |
15118 | ||
15119 | ||
15120 | for (i = 0; i < n_comp; i++) { | |
15121 | vec[n_vect][i] = 0; | |
15122 | } | |
15123 | ||
15124 | ||
15125 | if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { | |
15126 | fxt1_lloyd(vec, n_vect, reord, n_comp, n); | |
15127 | } | |
15128 | ||
15129 | hi = 6; | |
15130 | for (j = n_vect - 1; j >= 0; j--) { | |
15131 | ||
15132 | hi <<= 5; | |
15133 | hi |= (GLuint)(vec[j][3] / 8.0F); | |
15134 | } | |
15135 | for (j = n_vect - 1; j >= 0; j--) { | |
15136 | for (i = 0; i < n_comp - 1; i++) { | |
15137 | ||
15138 | hi <<= 5; | |
15139 | hi |= (GLuint)(vec[j][i] / 8.0F); | |
15140 | } | |
15141 | } | |
15142 | ((Fx64 *)cc)[1] = hi; | |
15143 | ||
15144 | lohi = lolo = 0; | |
15145 | ||
15146 | for (k = 32 - 1; k >= 32/2; k--) { | |
15147 | lohi <<= 2; | |
15148 | lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); | |
15149 | } | |
15150 | ||
15151 | for (; k >= 0; k--) { | |
15152 | lolo <<= 2; | |
15153 | lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); | |
15154 | } | |
15155 | cc[1] = lohi; | |
15156 | cc[0] = lolo; | |
15157 | } | |
15158 | ||
15159 | ||
15160 | static void | |
15161 | fxt1_quantize_ALPHA1 (GLuint *cc, | |
15162 | GLubyte input[32][4]) | |
15163 | { | |
15164 | const GLint n_vect = 3; | |
15165 | const GLint n_comp = 4; | |
15166 | GLfloat vec[1 + 1 + 1][4]; | |
15167 | GLfloat b, iv[4]; | |
15168 | GLint i, j, k; | |
15169 | Fx64 hi; | |
15170 | GLuint lohi, lolo; | |
15171 | ||
15172 | GLint minSum; | |
15173 | GLint maxSum; | |
15174 | GLint minColL = 0, maxColL = 0; | |
15175 | GLint minColR = 0, maxColR = 0; | |
15176 | GLint sumL = 0, sumR = 0; | |
15177 | GLint nn_comp; | |
15178 | ||
15179 | ||
15180 | ||
15181 | ||
15182 | nn_comp = n_comp; | |
15183 | while ((minColL == maxColL) && nn_comp) { | |
15184 | minSum = 2000; | |
15185 | maxSum = -1; | |
15186 | for (k = 0; k < 32 / 2; k++) { | |
15187 | GLint sum = 0; | |
15188 | for (i = 0; i < nn_comp; i++) { | |
15189 | sum += input[k][i]; | |
15190 | } | |
15191 | if (minSum > sum) { | |
15192 | minSum = sum; | |
15193 | minColL = k; | |
15194 | } | |
15195 | if (maxSum < sum) { | |
15196 | maxSum = sum; | |
15197 | maxColL = k; | |
15198 | } | |
15199 | sumL += sum; | |
15200 | } | |
15201 | ||
15202 | nn_comp--; | |
15203 | } | |
15204 | ||
15205 | nn_comp = n_comp; | |
15206 | while ((minColR == maxColR) && nn_comp) { | |
15207 | minSum = 2000; | |
15208 | maxSum = -1; | |
15209 | for (k = 32 / 2; k < 32; k++) { | |
15210 | GLint sum = 0; | |
15211 | for (i = 0; i < nn_comp; i++) { | |
15212 | sum += input[k][i]; | |
15213 | } | |
15214 | if (minSum > sum) { | |
15215 | minSum = sum; | |
15216 | minColR = k; | |
15217 | } | |
15218 | if (maxSum < sum) { | |
15219 | maxSum = sum; | |
15220 | maxColR = k; | |
15221 | } | |
15222 | sumR += sum; | |
15223 | } | |
15224 | ||
15225 | nn_comp--; | |
15226 | } | |
15227 | ||
15228 | ||
15229 | { | |
15230 | GLint j1, j2; | |
15231 | GLint v1 = 0, v2 = 0; | |
15232 | GLfloat err = 1e9; | |
15233 | GLfloat tv[2 * 2][4]; | |
15234 | for (i = 0; i < n_comp; i++) { | |
15235 | tv[0][i] = input[minColL][i]; | |
15236 | tv[1][i] = input[maxColL][i]; | |
15237 | tv[2][i] = input[minColR][i]; | |
15238 | tv[3][i] = input[maxColR][i]; | |
15239 | } | |
15240 | for (j1 = 0; j1 < 2; j1++) { | |
15241 | for (j2 = 2; j2 < 4; j2++) { | |
15242 | GLfloat e = 0.0F; | |
15243 | for (i = 0; i < n_comp; i++) { | |
15244 | e += (tv[j1][i] - tv[j2][i]) * (tv[j1][i] - tv[j2][i]); | |
15245 | } | |
15246 | if (e < err) { | |
15247 | err = e; | |
15248 | v1 = j1; | |
15249 | v2 = j2; | |
15250 | } | |
15251 | } | |
15252 | } | |
15253 | for (i = 0; i < n_comp; i++) { | |
15254 | vec[0][i] = tv[1 - v1][i]; | |
15255 | vec[1][i] = (tv[v1][i] * sumL + tv[v2][i] * sumR) / (sumL + sumR); | |
15256 | vec[2][i] = tv[5 - v2][i]; | |
15257 | } | |
15258 | } | |
15259 | ||
15260 | ||
15261 | cc[0] = 0; | |
15262 | if (minColL != maxColL) { | |
15263 | ||
15264 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[1][i] - vec[0][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[0][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15265 | ||
15266 | ||
15267 | lolo = 0; | |
15268 | for (k = 32 / 2 - 1; k >= 0; k--) { | |
15269 | GLint texel; | |
15270 | ||
15271 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15272 | ||
15273 | lolo <<= 2; | |
15274 | lolo |= texel; | |
15275 | } | |
15276 | ||
15277 | cc[0] = lolo; | |
15278 | } | |
15279 | ||
15280 | ||
15281 | cc[1] = 0; | |
15282 | if (minColR != maxColR) { | |
15283 | ||
15284 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[1][i] - vec[2][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[2][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15285 | ||
15286 | ||
15287 | lohi = 0; | |
15288 | for (k = 32 - 1; k >= 32 / 2; k--) { | |
15289 | GLint texel; | |
15290 | ||
15291 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15292 | ||
15293 | lohi <<= 2; | |
15294 | lohi |= texel; | |
15295 | } | |
15296 | ||
15297 | cc[1] = lohi; | |
15298 | } | |
15299 | ||
15300 | hi = 7; | |
15301 | for (j = n_vect - 1; j >= 0; j--) { | |
15302 | ||
15303 | hi <<= 5; | |
15304 | hi |= (GLuint)(vec[j][3] / 8.0F); | |
15305 | } | |
15306 | for (j = n_vect - 1; j >= 0; j--) { | |
15307 | for (i = 0; i < n_comp - 1; i++) { | |
15308 | ||
15309 | hi <<= 5; | |
15310 | hi |= (GLuint)(vec[j][i] / 8.0F); | |
15311 | } | |
15312 | } | |
15313 | ((Fx64 *)cc)[1] = hi; | |
15314 | } | |
15315 | ||
15316 | ||
15317 | static void | |
15318 | fxt1_quantize_HI (GLuint *cc, | |
15319 | GLubyte input[32][4], | |
15320 | GLubyte reord[32][4], GLint n) | |
15321 | { | |
15322 | const GLint n_vect = 6; | |
15323 | const GLint n_comp = 3; | |
15324 | GLfloat b = 0.0F; | |
15325 | GLfloat iv[4]; | |
15326 | GLint i, k; | |
15327 | GLuint hihi; | |
15328 | ||
15329 | GLint minSum = 2000; | |
15330 | GLint maxSum = -1; | |
15331 | GLint minCol = 0; | |
15332 | GLint maxCol = 0; | |
15333 | ||
15334 | ||
15335 | ||
15336 | ||
15337 | ||
15338 | for (k = 0; k < n; k++) { | |
15339 | GLint sum = 0; | |
15340 | for (i = 0; i < n_comp; i++) { | |
15341 | sum += reord[k][i]; | |
15342 | } | |
15343 | if (minSum > sum) { | |
15344 | minSum = sum; | |
15345 | minCol = k; | |
15346 | } | |
15347 | if (maxSum < sum) { | |
15348 | maxSum = sum; | |
15349 | maxCol = k; | |
15350 | } | |
15351 | } | |
15352 | ||
15353 | hihi = 0; | |
15354 | for (i = 0; i < n_comp; i++) { | |
15355 | ||
15356 | hihi <<= 5; | |
15357 | hihi |= reord[maxCol][i] >> 3; | |
15358 | } | |
15359 | for (i = 0; i < n_comp; i++) { | |
15360 | ||
15361 | hihi <<= 5; | |
15362 | hihi |= reord[minCol][i] >> 3; | |
15363 | } | |
15364 | cc[3] = hihi; | |
15365 | cc[0] = cc[1] = cc[2] = 0; | |
15366 | ||
15367 | ||
15368 | if (minCol != maxCol) { | |
15369 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (reord[maxCol][i] - reord[minCol][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * reord[minCol][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15370 | } | |
15371 | ||
15372 | ||
15373 | for (k = 32 - 1; k >= 0; k--) { | |
15374 | GLint t = k * 3; | |
15375 | GLuint *kk = (GLuint *)((char *)cc + t / 8); | |
15376 | GLint texel = n_vect + 1; | |
15377 | ||
15378 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15379 | if (minCol != maxCol) { | |
15380 | ||
15381 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15382 | ||
15383 | kk[0] |= texel << (t & 7); | |
15384 | } | |
15385 | } else { | |
15386 | ||
15387 | kk[0] |= texel << (t & 7); | |
15388 | } | |
15389 | } | |
15390 | } | |
15391 | ||
15392 | ||
15393 | static void | |
15394 | fxt1_quantize_MIXED1 (GLuint *cc, | |
15395 | GLubyte input[32][4]) | |
15396 | { | |
15397 | const GLint n_vect = 2; | |
15398 | const GLint n_comp = 3; | |
15399 | GLubyte vec[2 * 2][4]; | |
15400 | GLfloat b, iv[4]; | |
15401 | GLint i, j, k; | |
15402 | Fx64 hi; | |
15403 | GLuint lohi, lolo; | |
15404 | ||
15405 | GLint minSum; | |
15406 | GLint maxSum; | |
15407 | GLint minColL = 0, maxColL = -1; | |
15408 | GLint minColR = 0, maxColR = -1; | |
15409 | ||
15410 | ||
15411 | ||
15412 | ||
15413 | ||
15414 | minSum = 2000; | |
15415 | maxSum = -1; | |
15416 | for (k = 0; k < 32 / 2; k++) { | |
15417 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15418 | GLint sum = 0; | |
15419 | for (i = 0; i < n_comp; i++) { | |
15420 | sum += input[k][i]; | |
15421 | } | |
15422 | if (minSum > sum) { | |
15423 | minSum = sum; | |
15424 | minColL = k; | |
15425 | } | |
15426 | if (maxSum < sum) { | |
15427 | maxSum = sum; | |
15428 | maxColL = k; | |
15429 | } | |
15430 | } | |
15431 | } | |
15432 | minSum = 2000; | |
15433 | maxSum = -1; | |
15434 | for (; k < 32; k++) { | |
15435 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15436 | GLint sum = 0; | |
15437 | for (i = 0; i < n_comp; i++) { | |
15438 | sum += input[k][i]; | |
15439 | } | |
15440 | if (minSum > sum) { | |
15441 | minSum = sum; | |
15442 | minColR = k; | |
15443 | } | |
15444 | if (maxSum < sum) { | |
15445 | maxSum = sum; | |
15446 | maxColR = k; | |
15447 | } | |
15448 | } | |
15449 | } | |
15450 | ||
15451 | ||
15452 | if (maxColL == -1) { | |
15453 | ||
15454 | cc[0] = ~0u; | |
15455 | for (i = 0; i < n_comp; i++) { | |
15456 | vec[0][i] = 0; | |
15457 | vec[1][i] = 0; | |
15458 | } | |
15459 | } else { | |
15460 | cc[0] = 0; | |
15461 | for (i = 0; i < n_comp; i++) { | |
15462 | vec[0][i] = input[minColL][i]; | |
15463 | vec[1][i] = input[maxColL][i]; | |
15464 | } | |
15465 | if (minColL != maxColL) { | |
15466 | ||
15467 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[1][i] - vec[0][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[0][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15468 | ||
15469 | ||
15470 | lolo = 0; | |
15471 | for (k = 32 / 2 - 1; k >= 0; k--) { | |
15472 | GLint texel = n_vect + 1; | |
15473 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15474 | ||
15475 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15476 | } | |
15477 | ||
15478 | lolo <<= 2; | |
15479 | lolo |= texel; | |
15480 | } | |
15481 | cc[0] = lolo; | |
15482 | } | |
15483 | } | |
15484 | ||
15485 | ||
15486 | if (maxColR == -1) { | |
15487 | ||
15488 | cc[1] = ~0u; | |
15489 | for (i = 0; i < n_comp; i++) { | |
15490 | vec[2][i] = 0; | |
15491 | vec[3][i] = 0; | |
15492 | } | |
15493 | } else { | |
15494 | cc[1] = 0; | |
15495 | for (i = 0; i < n_comp; i++) { | |
15496 | vec[2][i] = input[minColR][i]; | |
15497 | vec[3][i] = input[maxColR][i]; | |
15498 | } | |
15499 | if (minColR != maxColR) { | |
15500 | ||
15501 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[3][i] - vec[2][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[2][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15502 | ||
15503 | ||
15504 | lohi = 0; | |
15505 | for (k = 32 - 1; k >= 32 / 2; k--) { | |
15506 | GLint texel = n_vect + 1; | |
15507 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15508 | ||
15509 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15510 | } | |
15511 | ||
15512 | lohi <<= 2; | |
15513 | lohi |= texel; | |
15514 | } | |
15515 | cc[1] = lohi; | |
15516 | } | |
15517 | } | |
15518 | ||
15519 | hi = 9 | (vec[3][1] & 4) | ((vec[1][1] >> 1) & 2); | |
15520 | for (j = 2 * 2 - 1; j >= 0; j--) { | |
15521 | for (i = 0; i < n_comp; i++) { | |
15522 | ||
15523 | hi <<= 5; | |
15524 | hi |= vec[j][i] >> 3; | |
15525 | } | |
15526 | } | |
15527 | ((Fx64 *)cc)[1] = hi; | |
15528 | } | |
15529 | ||
15530 | ||
15531 | static void | |
15532 | fxt1_quantize_MIXED0 (GLuint *cc, | |
15533 | GLubyte input[32][4]) | |
15534 | { | |
15535 | const GLint n_vect = 3; | |
15536 | const GLint n_comp = 3; | |
15537 | GLubyte vec[2 * 2][4]; | |
15538 | GLfloat b, iv[4]; | |
15539 | GLint i, j, k; | |
15540 | Fx64 hi; | |
15541 | GLuint lohi, lolo; | |
15542 | ||
15543 | GLint minColL = 0, maxColL = 0; | |
15544 | GLint minColR = 0, maxColR = 0; | |
15545 | # 1169 "texcompress_fxt1.c" | |
15546 | GLint minVal; | |
15547 | GLint maxVal; | |
15548 | GLint maxVarL = fxt1_variance(((void *)0), input, n_comp, 32 / 2); | |
15549 | GLint maxVarR = fxt1_variance(((void *)0), &input[32 / 2], n_comp, 32 / 2); | |
15550 | ||
15551 | ||
15552 | ||
15553 | ||
15554 | minVal = 2000; | |
15555 | maxVal = -1; | |
15556 | for (k = 0; k < 32 / 2; k++) { | |
15557 | GLint t = input[k][maxVarL]; | |
15558 | if (minVal > t) { | |
15559 | minVal = t; | |
15560 | minColL = k; | |
15561 | } | |
15562 | if (maxVal < t) { | |
15563 | maxVal = t; | |
15564 | maxColL = k; | |
15565 | } | |
15566 | } | |
15567 | minVal = 2000; | |
15568 | maxVal = -1; | |
15569 | for (; k < 32; k++) { | |
15570 | GLint t = input[k][maxVarR]; | |
15571 | if (minVal > t) { | |
15572 | minVal = t; | |
15573 | minColR = k; | |
15574 | } | |
15575 | if (maxVal < t) { | |
15576 | maxVal = t; | |
15577 | maxColR = k; | |
15578 | } | |
15579 | } | |
15580 | ||
15581 | ||
15582 | ||
15583 | cc[0] = 0; | |
15584 | for (i = 0; i < n_comp; i++) { | |
15585 | vec[0][i] = input[minColL][i]; | |
15586 | vec[1][i] = input[maxColL][i]; | |
15587 | } | |
15588 | if (minColL != maxColL) { | |
15589 | ||
15590 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[1][i] - vec[0][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[0][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15591 | ||
15592 | ||
15593 | lolo = 0; | |
15594 | for (k = 32 / 2 - 1; k >= 0; k--) { | |
15595 | GLint texel; | |
15596 | ||
15597 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15598 | ||
15599 | lolo <<= 2; | |
15600 | lolo |= texel; | |
15601 | } | |
15602 | ||
15603 | ||
15604 | if ((GLint)((lolo >> 1) & 1) != (((vec[1][1] ^ vec[0][1]) >> 2) & 1)) { | |
15605 | for (i = 0; i < n_comp; i++) { | |
15606 | vec[1][i] = input[minColL][i]; | |
15607 | vec[0][i] = input[maxColL][i]; | |
15608 | } | |
15609 | lolo = ~lolo; | |
15610 | } | |
15611 | ||
15612 | cc[0] = lolo; | |
15613 | } | |
15614 | ||
15615 | ||
15616 | cc[1] = 0; | |
15617 | for (i = 0; i < n_comp; i++) { | |
15618 | vec[2][i] = input[minColR][i]; | |
15619 | vec[3][i] = input[maxColR][i]; | |
15620 | } | |
15621 | if (minColR != maxColR) { | |
15622 | ||
15623 | do { GLfloat d2 = 0.0F; GLfloat rd2; for (i = 0; i < n_comp; i++) { iv[i] = (vec[3][i] - vec[2][i]) * (GLfloat)1; d2 += iv[i] * iv[i]; } rd2 = (GLfloat)n_vect / d2; b = 0; for (i = 0; i < n_comp; i++) { iv[i] *= (GLfloat)1; b -= iv[i] * vec[2][i]; iv[i] *= rd2; } b = b * rd2 + 0.5f; } while (0); | |
15624 | ||
15625 | ||
15626 | lohi = 0; | |
15627 | for (k = 32 - 1; k >= 32 / 2; k--) { | |
15628 | GLint texel; | |
15629 | ||
15630 | do { GLfloat dot = 0.0F; for (i = 0; i < n_comp; i++) { dot += input[k][i] * iv[i]; } texel = (GLint)(dot + b); if (1) { if (texel < 0) { texel = 0; } else if (texel > n_vect) { texel = n_vect; } } } while (0); | |
15631 | ||
15632 | lohi <<= 2; | |
15633 | lohi |= texel; | |
15634 | } | |
15635 | ||
15636 | ||
15637 | if ((GLint)((lohi >> 1) & 1) != (((vec[3][1] ^ vec[2][1]) >> 2) & 1)) { | |
15638 | for (i = 0; i < n_comp; i++) { | |
15639 | vec[3][i] = input[minColR][i]; | |
15640 | vec[2][i] = input[maxColR][i]; | |
15641 | } | |
15642 | lohi = ~lohi; | |
15643 | } | |
15644 | ||
15645 | cc[1] = lohi; | |
15646 | } | |
15647 | ||
15648 | hi = 8 | (vec[3][1] & 4) | ((vec[1][1] >> 1) & 2); | |
15649 | for (j = 2 * 2 - 1; j >= 0; j--) { | |
15650 | for (i = 0; i < n_comp; i++) { | |
15651 | ||
15652 | hi <<= 5; | |
15653 | hi |= vec[j][i] >> 3; | |
15654 | } | |
15655 | } | |
15656 | ((Fx64 *)cc)[1] = hi; | |
15657 | } | |
15658 | ||
15659 | ||
15660 | static void | |
15661 | fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps) | |
15662 | { | |
15663 | GLint trualpha; | |
15664 | GLubyte reord[32][4]; | |
15665 | ||
15666 | GLubyte input[32][4]; | |
15667 | GLint i, k, l; | |
15668 | ||
15669 | if (comps == 3) { | |
15670 | ||
15671 | _mesa_memset(input, -1, sizeof(input)); | |
15672 | } | |
15673 | ||
15674 | ||
15675 | for (l = 0; l < 4; l++) { | |
15676 | for (k = 0; k < 4; k++) { | |
15677 | for (i = 0; i < comps; i++) { | |
15678 | input[k + l * 4][i] = *lines[l]++; | |
15679 | } | |
15680 | } | |
15681 | for (; k < 8; k++) { | |
15682 | for (i = 0; i < comps; i++) { | |
15683 | input[k + l * 4 + 12][i] = *lines[l]++; | |
15684 | } | |
15685 | } | |
15686 | } | |
15687 | # 1321 "texcompress_fxt1.c" | |
15688 | l = 32; | |
15689 | trualpha = 0; | |
15690 | if (comps == 4) { | |
15691 | ||
15692 | l = 0; | |
15693 | for (k = 0; k < 32; k++) { | |
15694 | ||
15695 | if (!(*((GLuint *)(input[k])) == 0)) { | |
15696 | ||
15697 | do { *((GLuint*)(reord[l])) = *((GLuint*)(input[k])); } while (0); | |
15698 | if (reord[l][3] < (255 - 2)) { | |
15699 | ||
15700 | trualpha = !0; | |
15701 | } | |
15702 | l++; | |
15703 | } | |
15704 | } | |
15705 | } | |
15706 | # 1355 "texcompress_fxt1.c" | |
15707 | if (trualpha) { | |
15708 | fxt1_quantize_ALPHA1(cc, input); | |
15709 | } else if (l == 0) { | |
15710 | cc[0] = cc[1] = cc[2] = ~0u; | |
15711 | cc[3] = 0; | |
15712 | } else if (l < 32) { | |
15713 | fxt1_quantize_MIXED1(cc, input); | |
15714 | } else { | |
15715 | fxt1_quantize_MIXED0(cc, input); | |
15716 | } | |
15717 | (void)fxt1_quantize_ALPHA0; | |
15718 | (void)fxt1_quantize_HI; | |
15719 | (void)fxt1_quantize_CHROMA; | |
15720 | ||
15721 | } | |
15722 | ||
15723 | ||
15724 | static void | |
15725 | fxt1_encode (GLuint width, GLuint height, GLint comps, | |
15726 | const void *source, GLint srcRowStride, | |
15727 | void *dest, GLint destRowStride) | |
15728 | { | |
15729 | GLuint x, y; | |
15730 | const GLubyte *data; | |
15731 | GLuint *encoded = (GLuint *)dest; | |
15732 | void *newSource = ((void *)0); | |
15733 | ||
15734 | ((void) (0)); | |
15735 | ||
15736 | ||
15737 | if ((width & 7) | (height & 3)) { | |
15738 | GLint newWidth = (width + 7) & ~7; | |
15739 | GLint newHeight = (height + 3) & ~3; | |
15740 | newSource = _mesa_malloc(comps * newWidth * newHeight * sizeof(GLchan)); | |
15741 | if (!newSource) { | |
15742 | GLcontext *ctx = (GLcontext *) _glapi_tls_Context; | |
15743 | _mesa_error(ctx, 0x0505, "texture compression"); | |
15744 | goto cleanUp; | |
15745 | } | |
15746 | _mesa_upscale_teximage2d(width, height, newWidth, newHeight, | |
15747 | comps, (const GLchan *) source, | |
15748 | srcRowStride, (GLchan *) newSource); | |
15749 | source = newSource; | |
15750 | width = newWidth; | |
15751 | height = newHeight; | |
15752 | srcRowStride = comps * newWidth; | |
15753 | } | |
15754 | ||
15755 | ||
15756 | if (0x1401 != 0x1401) { | |
15757 | const GLuint n = width * height * comps; | |
15758 | const GLchan *src = (const GLchan *) source; | |
15759 | GLubyte *dest = (GLubyte *) _mesa_malloc(n * sizeof(GLubyte)); | |
15760 | GLuint i; | |
15761 | if (!dest) { | |
15762 | GLcontext *ctx = (GLcontext *) _glapi_tls_Context; | |
15763 | _mesa_error(ctx, 0x0505, "texture compression"); | |
15764 | goto cleanUp; | |
15765 | } | |
15766 | for (i = 0; i < n; i++) { | |
15767 | dest[i] = (src[i]); | |
15768 | } | |
15769 | if (newSource != ((void *)0)) { | |
15770 | _mesa_free(newSource); | |
15771 | } | |
15772 | newSource = dest; | |
15773 | source = dest; | |
15774 | } | |
15775 | ||
15776 | data = (const GLubyte *) source; | |
15777 | destRowStride = (destRowStride - width * 2) / 4; | |
15778 | for (y = 0; y < height; y += 4) { | |
15779 | GLuint offs = 0 + (y + 0) * srcRowStride; | |
15780 | for (x = 0; x < width; x += 8) { | |
15781 | const GLubyte *lines[4]; | |
15782 | lines[0] = &data[offs]; | |
15783 | lines[1] = lines[0] + srcRowStride; | |
15784 | lines[2] = lines[1] + srcRowStride; | |
15785 | lines[3] = lines[2] + srcRowStride; | |
15786 | offs += 8 * comps; | |
15787 | fxt1_quantize(encoded, lines, comps); | |
15788 | ||
15789 | encoded += 4; | |
15790 | } | |
15791 | encoded += destRowStride; | |
15792 | } | |
15793 | ||
15794 | cleanUp: | |
15795 | if (newSource != ((void *)0)) { | |
15796 | _mesa_free(newSource); | |
15797 | } | |
15798 | } | |
15799 | # 1458 "texcompress_fxt1.c" | |
15800 | static const GLubyte _rgb_scale_5[] = { | |
15801 | 0, 8, 16, 25, 33, 41, 49, 58, | |
15802 | 66, 74, 82, 90, 99, 107, 115, 123, | |
15803 | 132, 140, 148, 156, 165, 173, 181, 189, | |
15804 | 197, 206, 214, 222, 230, 239, 247, 255 | |
15805 | }; | |
15806 | ||
15807 | ||
15808 | static const GLubyte _rgb_scale_6[] = { | |
15809 | 0, 4, 8, 12, 16, 20, 24, 28, | |
15810 | 32, 36, 40, 45, 49, 53, 57, 61, | |
15811 | 65, 69, 73, 77, 81, 85, 89, 93, | |
15812 | 97, 101, 105, 109, 113, 117, 121, 125, | |
15813 | 130, 134, 138, 142, 146, 150, 154, 158, | |
15814 | 162, 166, 170, 174, 178, 182, 186, 190, | |
15815 | 194, 198, 202, 206, 210, 215, 219, 223, | |
15816 | 227, 231, 235, 239, 243, 247, 251, 255 | |
15817 | }; | |
15818 | # 1484 "texcompress_fxt1.c" | |
15819 | static void | |
15820 | fxt1_decode_1HI (const GLubyte *code, GLint t, GLchan *rgba) | |
15821 | { | |
15822 | const GLuint *cc; | |
15823 | ||
15824 | t *= 3; | |
15825 | cc = (const GLuint *)(code + t / 8); | |
15826 | t = (cc[0] >> (t & 7)) & 7; | |
15827 | ||
15828 | if (t == 7) { | |
15829 | rgba[0] = rgba[1] = rgba[2] = rgba[3] = 0; | |
15830 | } else { | |
15831 | GLubyte r, g, b; | |
15832 | cc = (const GLuint *)(code + 12); | |
15833 | if (t == 0) { | |
15834 | b = _rgb_scale_5[((((GLuint *)(cc))[(0) / 32] >> ((0) & 31))) & 31]; | |
15835 | g = _rgb_scale_5[((((GLuint *)(cc))[(5) / 32] >> ((5) & 31))) & 31]; | |
15836 | r = _rgb_scale_5[((((GLuint *)(cc))[(10) / 32] >> ((10) & 31))) & 31]; | |
15837 | } else if (t == 6) { | |
15838 | b = _rgb_scale_5[((((GLuint *)(cc))[(15) / 32] >> ((15) & 31))) & 31]; | |
15839 | g = _rgb_scale_5[((((GLuint *)(cc))[(20) / 32] >> ((20) & 31))) & 31]; | |
15840 | r = _rgb_scale_5[((((GLuint *)(cc))[(25) / 32] >> ((25) & 31))) & 31]; | |
15841 | } else { | |
15842 | b = (((6) - (t)) * (_rgb_scale_5[((((GLuint *)(cc))[(0) / 32] >> ((0) & 31))) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(15) / 32] >> ((15) & 31))) & 31]) + (6) / 2) / (6); | |
15843 | g = (((6) - (t)) * (_rgb_scale_5[((((GLuint *)(cc))[(5) / 32] >> ((5) & 31))) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(20) / 32] >> ((20) & 31))) & 31]) + (6) / 2) / (6); | |
15844 | r = (((6) - (t)) * (_rgb_scale_5[((((GLuint *)(cc))[(10) / 32] >> ((10) & 31))) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(25) / 32] >> ((25) & 31))) & 31]) + (6) / 2) / (6); | |
15845 | } | |
15846 | rgba[0] = (r); | |
15847 | rgba[1] = (g); | |
15848 | rgba[2] = (b); | |
15849 | rgba[3] = 255; | |
15850 | } | |
15851 | } | |
15852 | ||
15853 | ||
15854 | static void | |
15855 | fxt1_decode_1CHROMA (const GLubyte *code, GLint t, GLchan *rgba) | |
15856 | { | |
15857 | const GLuint *cc; | |
15858 | GLuint kk; | |
15859 | ||
15860 | cc = (const GLuint *)code; | |
15861 | if (t & 16) { | |
15862 | cc++; | |
15863 | t &= 15; | |
15864 | } | |
15865 | t = (cc[0] >> (t * 2)) & 3; | |
15866 | ||
15867 | t *= 15; | |
15868 | cc = (const GLuint *)(code + 8 + t / 8); | |
15869 | kk = cc[0] >> (t & 7); | |
15870 | rgba[2] = (_rgb_scale_5[(kk) & 31]); | |
15871 | rgba[1] = (_rgb_scale_5[(kk >> 5) & 31]); | |
15872 | rgba[0] = (_rgb_scale_5[(kk >> 10) & 31]); | |
15873 | rgba[3] = 255; | |
15874 | } | |
15875 | ||
15876 | ||
15877 | static void | |
15878 | fxt1_decode_1MIXED (const GLubyte *code, GLint t, GLchan *rgba) | |
15879 | { | |
15880 | const GLuint *cc; | |
15881 | GLuint col[2][3]; | |
15882 | GLint glsb, selb; | |
15883 | ||
15884 | cc = (const GLuint *)code; | |
15885 | if (t & 16) { | |
15886 | t &= 15; | |
15887 | t = (cc[1] >> (t * 2)) & 3; | |
15888 | ||
15889 | col[0][2] = (*(const GLuint *)(code + 11)) >> 6; | |
15890 | col[0][1] = (((GLuint *)(cc))[(99) / 32] >> ((99) & 31)); | |
15891 | col[0][0] = (((GLuint *)(cc))[(104) / 32] >> ((104) & 31)); | |
15892 | ||
15893 | col[1][2] = (((GLuint *)(cc))[(109) / 32] >> ((109) & 31)); | |
15894 | col[1][1] = (((GLuint *)(cc))[(114) / 32] >> ((114) & 31)); | |
15895 | col[1][0] = (((GLuint *)(cc))[(119) / 32] >> ((119) & 31)); | |
15896 | glsb = (((GLuint *)(cc))[(126) / 32] >> ((126) & 31)); | |
15897 | selb = (((GLuint *)(cc))[(33) / 32] >> ((33) & 31)); | |
15898 | } else { | |
15899 | t = (cc[0] >> (t * 2)) & 3; | |
15900 | ||
15901 | col[0][2] = (((GLuint *)(cc))[(64) / 32] >> ((64) & 31)); | |
15902 | col[0][1] = (((GLuint *)(cc))[(69) / 32] >> ((69) & 31)); | |
15903 | col[0][0] = (((GLuint *)(cc))[(74) / 32] >> ((74) & 31)); | |
15904 | ||
15905 | col[1][2] = (((GLuint *)(cc))[(79) / 32] >> ((79) & 31)); | |
15906 | col[1][1] = (((GLuint *)(cc))[(84) / 32] >> ((84) & 31)); | |
15907 | col[1][0] = (((GLuint *)(cc))[(89) / 32] >> ((89) & 31)); | |
15908 | glsb = (((GLuint *)(cc))[(125) / 32] >> ((125) & 31)); | |
15909 | selb = (((GLuint *)(cc))[(1) / 32] >> ((1) & 31)); | |
15910 | } | |
15911 | ||
15912 | if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) { | |
15913 | ||
15914 | ||
15915 | if (t == 3) { | |
15916 | ||
15917 | rgba[0] = rgba[2] = rgba[1] = rgba[3] = 0; | |
15918 | } else { | |
15919 | GLubyte r, g, b; | |
15920 | if (t == 0) { | |
15921 | b = _rgb_scale_5[(col[0][2]) & 31]; | |
15922 | g = _rgb_scale_5[(col[0][1]) & 31]; | |
15923 | r = _rgb_scale_5[(col[0][0]) & 31]; | |
15924 | } else if (t == 2) { | |
15925 | b = _rgb_scale_5[(col[1][2]) & 31]; | |
15926 | g = _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]; | |
15927 | r = _rgb_scale_5[(col[1][0]) & 31]; | |
15928 | } else { | |
15929 | b = (_rgb_scale_5[(col[0][2]) & 31] + _rgb_scale_5[(col[1][2]) & 31]) / 2; | |
15930 | g = (_rgb_scale_5[(col[0][1]) & 31] + _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]) / 2; | |
15931 | r = (_rgb_scale_5[(col[0][0]) & 31] + _rgb_scale_5[(col[1][0]) & 31]) / 2; | |
15932 | } | |
15933 | rgba[0] = (r); | |
15934 | rgba[1] = (g); | |
15935 | rgba[2] = (b); | |
15936 | rgba[3] = 255; | |
15937 | } | |
15938 | } else { | |
15939 | ||
15940 | GLubyte r, g, b; | |
15941 | if (t == 0) { | |
15942 | b = _rgb_scale_5[(col[0][2]) & 31]; | |
15943 | g = _rgb_scale_6[(((col[0][1]) & 31) << 1) | ((glsb ^ selb) & 1)]; | |
15944 | r = _rgb_scale_5[(col[0][0]) & 31]; | |
15945 | } else if (t == 3) { | |
15946 | b = _rgb_scale_5[(col[1][2]) & 31]; | |
15947 | g = _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]; | |
15948 | r = _rgb_scale_5[(col[1][0]) & 31]; | |
15949 | } else { | |
15950 | b = (((3) - (t)) * (_rgb_scale_5[(col[0][2]) & 31]) + (t) * (_rgb_scale_5[(col[1][2]) & 31]) + (3) / 2) / (3); | |
15951 | g = (((3) - (t)) * (_rgb_scale_6[(((col[0][1]) & 31) << 1) | ((glsb ^ selb) & 1)]) + (t) * (_rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]) + (3) / 2) / (3); | |
15952 | ||
15953 | r = (((3) - (t)) * (_rgb_scale_5[(col[0][0]) & 31]) + (t) * (_rgb_scale_5[(col[1][0]) & 31]) + (3) / 2) / (3); | |
15954 | } | |
15955 | rgba[0] = (r); | |
15956 | rgba[1] = (g); | |
15957 | rgba[2] = (b); | |
15958 | rgba[3] = 255; | |
15959 | } | |
15960 | } | |
15961 | ||
15962 | ||
15963 | static void | |
15964 | fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLchan *rgba) | |
15965 | { | |
15966 | const GLuint *cc; | |
15967 | GLubyte r, g, b, a; | |
15968 | ||
15969 | cc = (const GLuint *)code; | |
15970 | if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) { | |
15971 | ||
15972 | GLuint col0[4]; | |
15973 | ||
15974 | if (t & 16) { | |
15975 | t &= 15; | |
15976 | t = (cc[1] >> (t * 2)) & 3; | |
15977 | ||
15978 | col0[2] = (*(const GLuint *)(code + 11)) >> 6; | |
15979 | col0[1] = (((GLuint *)(cc))[(99) / 32] >> ((99) & 31)); | |
15980 | col0[0] = (((GLuint *)(cc))[(104) / 32] >> ((104) & 31)); | |
15981 | col0[3] = (((GLuint *)(cc))[(119) / 32] >> ((119) & 31)); | |
15982 | } else { | |
15983 | t = (cc[0] >> (t * 2)) & 3; | |
15984 | ||
15985 | col0[2] = (((GLuint *)(cc))[(64) / 32] >> ((64) & 31)); | |
15986 | col0[1] = (((GLuint *)(cc))[(69) / 32] >> ((69) & 31)); | |
15987 | col0[0] = (((GLuint *)(cc))[(74) / 32] >> ((74) & 31)); | |
15988 | col0[3] = (((GLuint *)(cc))[(109) / 32] >> ((109) & 31)); | |
15989 | } | |
15990 | ||
15991 | if (t == 0) { | |
15992 | b = _rgb_scale_5[(col0[2]) & 31]; | |
15993 | g = _rgb_scale_5[(col0[1]) & 31]; | |
15994 | r = _rgb_scale_5[(col0[0]) & 31]; | |
15995 | a = _rgb_scale_5[(col0[3]) & 31]; | |
15996 | } else if (t == 3) { | |
15997 | b = _rgb_scale_5[((((GLuint *)(cc))[(79) / 32] >> ((79) & 31))) & 31]; | |
15998 | g = _rgb_scale_5[((((GLuint *)(cc))[(84) / 32] >> ((84) & 31))) & 31]; | |
15999 | r = _rgb_scale_5[((((GLuint *)(cc))[(89) / 32] >> ((89) & 31))) & 31]; | |
16000 | a = _rgb_scale_5[((((GLuint *)(cc))[(114) / 32] >> ((114) & 31))) & 31]; | |
16001 | } else { | |
16002 | b = (((3) - (t)) * (_rgb_scale_5[(col0[2]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(79) / 32] >> ((79) & 31))) & 31]) + (3) / 2) / (3); | |
16003 | g = (((3) - (t)) * (_rgb_scale_5[(col0[1]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(84) / 32] >> ((84) & 31))) & 31]) + (3) / 2) / (3); | |
16004 | r = (((3) - (t)) * (_rgb_scale_5[(col0[0]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(89) / 32] >> ((89) & 31))) & 31]) + (3) / 2) / (3); | |
16005 | a = (((3) - (t)) * (_rgb_scale_5[(col0[3]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(114) / 32] >> ((114) & 31))) & 31]) + (3) / 2) / (3); | |
16006 | } | |
16007 | } else { | |
16008 | ||
16009 | ||
16010 | if (t & 16) { | |
16011 | cc++; | |
16012 | t &= 15; | |
16013 | } | |
16014 | t = (cc[0] >> (t * 2)) & 3; | |
16015 | ||
16016 | if (t == 3) { | |
16017 | ||
16018 | r = g = b = a = 0; | |
16019 | } else { | |
16020 | GLuint kk; | |
16021 | cc = (const GLuint *)code; | |
16022 | a = _rgb_scale_5[(cc[3] >> (t * 5 + 13)) & 31]; | |
16023 | t *= 15; | |
16024 | cc = (const GLuint *)(code + 8 + t / 8); | |
16025 | kk = cc[0] >> (t & 7); | |
16026 | b = _rgb_scale_5[(kk) & 31]; | |
16027 | g = _rgb_scale_5[(kk >> 5) & 31]; | |
16028 | r = _rgb_scale_5[(kk >> 10) & 31]; | |
16029 | } | |
16030 | } | |
16031 | rgba[0] = (r); | |
16032 | rgba[1] = (g); | |
16033 | rgba[2] = (b); | |
16034 | rgba[3] = (a); | |
16035 | } | |
16036 | ||
16037 | ||
16038 | void | |
16039 | fxt1_decode_1 (const void *texture, GLint stride, | |
16040 | GLint i, GLint j, GLchan *rgba) | |
16041 | { | |
16042 | static void (*decode_1[]) (const GLubyte *, GLint, GLchan *) = { | |
16043 | fxt1_decode_1HI, | |
16044 | fxt1_decode_1HI, | |
16045 | fxt1_decode_1CHROMA, | |
16046 | fxt1_decode_1ALPHA, | |
16047 | fxt1_decode_1MIXED, | |
16048 | fxt1_decode_1MIXED, | |
16049 | fxt1_decode_1MIXED, | |
16050 | fxt1_decode_1MIXED | |
16051 | }; | |
16052 | ||
16053 | const GLubyte *code = (const GLubyte *)texture + | |
16054 | ((j / 4) * (stride / 8) + (i / 8)) * 16; | |
16055 | GLint mode = (((GLuint *)(code))[(125) / 32] >> ((125) & 31)); | |
16056 | GLint t = i & 7; | |
16057 | ||
16058 | if (t & 4) { | |
16059 | t += 12; | |
16060 | } | |
16061 | t += (j & 3) * 4; | |
16062 | ||
16063 | decode_1[mode](code, t, rgba); | |
16064 | } |