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"
5 # 1 "texcompress_fxt1.c"
6 # 32 "texcompress_fxt1.c"
11 # 1 "../../../include/dix-config.h" 1
16 # 1 "/usr/include/assert.h" 1 3 4
17 # 37 "/usr/include/assert.h" 3 4
19 # 1 "/usr/include/features.h" 1 3 4
20 # 322 "/usr/include/features.h" 3 4
22 # 1 "/usr/include/sys/cdefs.h" 1 3 4
23 # 324 "/usr/include/sys/cdefs.h" 3 4
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
30 # 1 "/usr/include/gnu/stubs.h" 1 3 4
35 # 1 "/usr/include/bits/wordsize.h" 1 3 4
36 # 5 "/usr/include/gnu/stubs.h" 2 3 4
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
46 # 1 "/usr/include/ctype.h" 1 3 4
47 # 28 "/usr/include/ctype.h" 3 4
49 # 1 "/usr/include/bits/types.h" 1 3 4
50 # 28 "/usr/include/bits/types.h" 3 4
52 # 1 "/usr/include/bits/wordsize.h" 1 3 4
53 # 29 "/usr/include/bits/types.h" 2 3 4
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
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;
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;
79 __extension__ typedef signed long long int __int64_t;
80 __extension__ typedef unsigned long long int __uint64_t;
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
92 # 1 "/usr/include/bits/typesizes.h" 1 3 4
93 # 135 "/usr/include/bits/types.h" 2 3 4
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;
115 __extension__ typedef int __daddr_t;
116 __extension__ typedef long int __swblk_t;
117 __extension__ typedef int __key_t;
120 __extension__ typedef int __clockid_t;
123 __extension__ typedef void * __timer_t;
126 __extension__ typedef long int __blksize_t;
131 __extension__ typedef long int __blkcnt_t;
132 __extension__ typedef __quad_t __blkcnt64_t;
135 __extension__ typedef unsigned long int __fsblkcnt_t;
136 __extension__ typedef __u_quad_t __fsblkcnt64_t;
139 __extension__ typedef unsigned long int __fsfilcnt_t;
140 __extension__ typedef __u_quad_t __fsfilcnt64_t;
142 __extension__ typedef int __ssize_t;
146 typedef __off64_t __loff_t;
147 typedef __quad_t *__qaddr_t;
148 typedef char *__caddr_t;
151 __extension__ typedef int __intptr_t;
154 __extension__ typedef unsigned int __socklen_t;
155 # 29 "/usr/include/ctype.h" 2 3 4
156 # 41 "/usr/include/ctype.h" 3 4
158 # 1 "/usr/include/endian.h" 1 3 4
159 # 37 "/usr/include/endian.h" 3 4
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
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))
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
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__));
213 extern int tolower (int __c) __attribute__ ((__nothrow__));
216 extern int toupper (int __c) __attribute__ ((__nothrow__));
217 # 128 "/usr/include/ctype.h" 3 4
218 extern int isblank (int) __attribute__ ((__nothrow__));
225 extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__));
232 extern int isascii (int __c) __attribute__ ((__nothrow__));
236 extern int toascii (int __c) __attribute__ ((__nothrow__));
240 extern int _toupper (int) __attribute__ ((__nothrow__));
241 extern int _tolower (int) __attribute__ ((__nothrow__));
242 # 190 "/usr/include/ctype.h" 3 4
244 __attribute__ ((__nothrow__)) tolower (int __c)
246 return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
250 __attribute__ ((__nothrow__)) toupper (int __c)
252 return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
254 # 233 "/usr/include/ctype.h" 3 4
256 # 1 "/usr/include/xlocale.h" 1 3 4
257 # 28 "/usr/include/xlocale.h" 3 4
258 typedef struct __locale_struct
261 struct locale_data *__locales[13];
264 const unsigned short int *__ctype_b;
265 const int *__ctype_tolower;
266 const int *__ctype_toupper;
269 const char *__names[13];
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__));
285 extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__));
289 extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
290 extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
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
301 # 1 "/usr/include/math.h" 1 3 4
302 # 30 "/usr/include/math.h" 3 4
308 # 1 "/usr/include/bits/huge_val.h" 1 3 4
309 # 35 "/usr/include/math.h" 2 3 4
312 # 1 "/usr/include/bits/huge_valf.h" 1 3 4
313 # 37 "/usr/include/math.h" 2 3 4
315 # 1 "/usr/include/bits/huge_vall.h" 1 3 4
316 # 38 "/usr/include/math.h" 2 3 4
320 # 1 "/usr/include/bits/inf.h" 1 3 4
321 # 41 "/usr/include/math.h" 2 3 4
325 # 1 "/usr/include/bits/nan.h" 1 3 4
326 # 44 "/usr/include/math.h" 2 3 4
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;
335 typedef long double double_t;
336 # 48 "/usr/include/math.h" 2 3 4
337 # 71 "/usr/include/math.h" 3 4
339 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
340 # 53 "/usr/include/bits/mathcalls.h" 3 4
343 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
345 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
347 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
349 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
352 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
354 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
356 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
361 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
363 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
365 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
370 extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__));
377 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
379 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
381 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
389 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
392 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
395 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
398 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
401 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
404 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
409 extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__));
411 extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__));
417 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
420 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
423 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
430 extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__));
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__));
438 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
444 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
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__));
456 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
459 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
462 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
467 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
470 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
476 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
479 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
482 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
486 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
492 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
499 extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
505 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
509 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
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__));
533 extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__));
539 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
546 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
554 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
557 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
563 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
567 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
571 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
576 extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__));
580 extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__));
584 extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
588 extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
593 extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__));
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__));
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__));
610 extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__));
613 extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__));
616 extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__));
620 extern int __fpclassify (double __value) __attribute__ ((__nothrow__))
621 __attribute__ ((__const__));
624 extern int __signbit (double __value) __attribute__ ((__nothrow__))
625 __attribute__ ((__const__));
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
635 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
636 # 53 "/usr/include/bits/mathcalls.h" 3 4
639 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
641 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
643 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
645 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
648 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
650 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
652 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
657 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
659 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
661 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
666 extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__));
673 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
675 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
677 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
685 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
688 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
691 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
694 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
697 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
700 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
705 extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__));
707 extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__));
713 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
716 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
719 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
726 extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__));
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__));
734 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
740 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
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__));
752 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
755 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
758 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
763 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
766 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
772 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
775 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
778 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
782 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
788 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
795 extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
801 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
805 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
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__));
829 extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__));
835 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
842 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
850 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
853 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
859 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
863 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
867 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
872 extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__));
876 extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__));
880 extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
884 extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
889 extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__));
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__));
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__));
906 extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__));
909 extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__));
912 extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__));
916 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__))
917 __attribute__ ((__const__));
920 extern int __signbitf (float __value) __attribute__ ((__nothrow__))
921 __attribute__ ((__const__));
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
931 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
932 # 53 "/usr/include/bits/mathcalls.h" 3 4
935 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
937 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
939 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
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__));
944 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
946 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
948 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
953 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
955 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
957 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
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__));
969 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
971 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
973 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
981 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
984 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
987 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
990 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
993 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
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__));
1001 extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__));
1003 extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__));
1009 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
1012 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
1015 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
1022 extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__));
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__));
1030 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
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__));
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__));
1048 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1051 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
1059 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1062 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1068 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1071 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
1078 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
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__));
1091 extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1097 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1101 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
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__));
1125 extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__));
1131 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
1138 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
1146 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
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__));
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__));
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__));
1159 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
1163 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
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__));
1172 extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__));
1176 extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1180 extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
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__));
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__));
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__));
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__));
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__));
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__));
1212 extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__))
1213 __attribute__ ((__const__));
1216 extern int __signbitl (long double __value) __attribute__ ((__nothrow__))
1217 __attribute__ ((__const__));
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
1227 # 198 "/usr/include/math.h" 3 4
1241 # 284 "/usr/include/math.h" 3 4
1249 } _LIB_VERSION_TYPE;
1254 extern _LIB_VERSION_TYPE _LIB_VERSION;
1255 # 309 "/usr/include/math.h" 3 4
1269 extern int matherr (struct exception *__exc);
1270 # 409 "/usr/include/math.h" 3 4
1272 # 1 "/usr/include/bits/mathinline.h" 1 3 4
1273 # 127 "/usr/include/bits/mathinline.h" 3 4
1275 __attribute__ ((__nothrow__)) __signbitf (float __x)
1277 __extension__ union { float __f; int __i; } __u = { __f: __x };
1281 __attribute__ ((__nothrow__)) __signbit (double __x)
1283 __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
1284 return __u.__i[1] < 0;
1287 __attribute__ ((__nothrow__)) __signbitl (long double __x)
1289 __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
1290 return (__u.__i[2] & 0x8000) != 0;
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); }
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); }
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)
1313 long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres;
1315 extern __inline long int
1316 __attribute__ ((__nothrow__)) lrint (double __x)
1318 long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres;
1320 extern __inline long int
1321 __attribute__ ((__nothrow__)) lrintl (long double __x)
1323 long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres;
1325 # 690 "/usr/include/bits/mathinline.h" 3 4
1326 extern __inline long long int
1327 __attribute__ ((__nothrow__)) llrintf (float __x)
1329 long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres;
1331 extern __inline long long int
1332 __attribute__ ((__nothrow__)) llrint (double __x)
1334 long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres;
1336 extern __inline long long int
1337 __attribute__ ((__nothrow__)) llrintl (long double __x)
1339 long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres;
1341 # 727 "/usr/include/bits/mathinline.h" 3 4
1343 __attribute__ ((__nothrow__)) __finite (double __x)
1345 return (__extension__
1346 (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
1347 | 0x800fffffu) + 1) >> 31));
1349 # 410 "/usr/include/math.h" 2 3 4
1350 # 465 "/usr/include/math.h" 3 4
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
1357 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/syslimits.h" 1 3 4
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
1368 # 1 "/usr/include/limits.h" 1 3 4
1369 # 145 "/usr/include/limits.h" 3 4
1371 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
1372 # 153 "/usr/include/bits/posix1_lim.h" 3 4
1374 # 1 "/usr/include/bits/local_lim.h" 1 3 4
1375 # 36 "/usr/include/bits/local_lim.h" 3 4
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
1385 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
1386 # 150 "/usr/include/limits.h" 2 3 4
1391 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
1392 # 34 "/usr/include/bits/xopen_lim.h" 3 4
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
1402 # 1 "/usr/include/stdlib.h" 1 3 4
1403 # 33 "/usr/include/stdlib.h" 3 4
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
1413 # 1 "/usr/include/bits/waitstatus.h" 1 3 4
1414 # 67 "/usr/include/bits/waitstatus.h" 3 4
1421 unsigned int __w_termsig:7;
1422 unsigned int __w_coredump:1;
1423 unsigned int __w_retcode:8;
1432 } __wait_terminated;
1436 unsigned int __w_stopval:8;
1437 unsigned int __w_stopsig:8;
1447 # 44 "/usr/include/stdlib.h" 2 3 4
1448 # 68 "/usr/include/stdlib.h" 3 4
1453 } __WAIT_STATUS __attribute__ ((__transparent_union__));
1454 # 96 "/usr/include/stdlib.h" 3 4
1477 __extension__ typedef struct
1482 # 140 "/usr/include/stdlib.h" 3 4
1483 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
1488 extern double atof (__const char *__nptr)
1489 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1491 extern int atoi (__const char *__nptr)
1492 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1494 extern long int atol (__const char *__nptr)
1495 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1501 __extension__ extern long long int atoll (__const char *__nptr)
1502 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1508 extern double strtod (__const char *__restrict __nptr,
1509 char **__restrict __endptr)
1510 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1516 extern float strtof (__const char *__restrict __nptr,
1517 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1519 extern long double strtold (__const char *__restrict __nptr,
1520 char **__restrict __endptr)
1521 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1527 extern long int strtol (__const char *__restrict __nptr,
1528 char **__restrict __endptr, int __base)
1529 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1531 extern unsigned long int strtoul (__const char *__restrict __nptr,
1532 char **__restrict __endptr, int __base)
1533 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1539 extern long long int strtoq (__const char *__restrict __nptr,
1540 char **__restrict __endptr, int __base)
1541 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1544 extern unsigned long long int strtouq (__const char *__restrict __nptr,
1545 char **__restrict __endptr, int __base)
1546 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1553 extern long long int strtoll (__const char *__restrict __nptr,
1554 char **__restrict __endptr, int __base)
1555 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
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))) ;
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))) ;
1572 extern long long int strtoll_l (__const char *__restrict __nptr,
1573 char **__restrict __endptr, int __base,
1575 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
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))) ;
1583 extern double strtod_l (__const char *__restrict __nptr,
1584 char **__restrict __endptr, __locale_t __loc)
1585 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1587 extern float strtof_l (__const char *__restrict __nptr,
1588 char **__restrict __endptr, __locale_t __loc)
1589 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1591 extern long double strtold_l (__const char *__restrict __nptr,
1592 char **__restrict __endptr,
1594 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
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,
1610 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
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))) ;
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))) ;
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))) ;
1636 extern unsigned long long int __strtoull_internal (__const char *
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)
1645 return __strtod_internal (__nptr, __endptr, 0);
1647 extern __inline long int
1648 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1651 return __strtol_internal (__nptr, __endptr, __base, 0);
1653 extern __inline unsigned long int
1654 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1657 return __strtoul_internal (__nptr, __endptr, __base, 0);
1663 extern __inline float
1664 __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr)
1666 return __strtof_internal (__nptr, __endptr, 0);
1669 extern __inline long double
1670 __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr)
1672 return __strtold_internal (__nptr, __endptr, 0);
1679 __extension__ extern __inline long long int
1680 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1683 return __strtoll_internal (__nptr, __endptr, __base, 0);
1685 __extension__ extern __inline unsigned long long int
1686 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1689 return __strtoull_internal (__nptr, __endptr, __base, 0);
1695 __extension__ extern __inline long long int
1696 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1699 return __strtoll_internal (__nptr, __endptr, __base, 0);
1701 __extension__ extern __inline unsigned long long int
1702 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
1705 return __strtoull_internal (__nptr, __endptr, __base, 0);
1711 extern __inline double
1712 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
1714 return strtod (__nptr, (char **) ((void *)0));
1717 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
1719 return (int) strtol (__nptr, (char **) ((void *)0), 10);
1721 extern __inline long int
1722 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
1724 return strtol (__nptr, (char **) ((void *)0), 10);
1730 __extension__ extern __inline long long int
1731 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
1733 return strtoll (__nptr, (char **) ((void *)0), 10);
1735 # 429 "/usr/include/stdlib.h" 3 4
1736 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
1739 extern long int a64l (__const char *__s)
1740 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1746 # 1 "/usr/include/sys/types.h" 1 3 4
1747 # 29 "/usr/include/sys/types.h" 3 4
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;
1765 typedef __loff_t loff_t;
1769 typedef __ino_t ino_t;
1776 typedef __ino64_t ino64_t;
1781 typedef __dev_t dev_t;
1786 typedef __gid_t gid_t;
1791 typedef __mode_t mode_t;
1796 typedef __nlink_t nlink_t;
1801 typedef __uid_t uid_t;
1807 typedef __off_t off_t;
1814 typedef __off64_t off64_t;
1819 typedef __pid_t pid_t;
1824 typedef __id_t id_t;
1829 typedef __ssize_t ssize_t;
1835 typedef __daddr_t daddr_t;
1836 typedef __caddr_t caddr_t;
1842 typedef __key_t key_t;
1843 # 133 "/usr/include/sys/types.h" 3 4
1845 # 1 "/usr/include/time.h" 1 3 4
1846 # 59 "/usr/include/time.h" 3 4
1849 typedef __clock_t clock_t;
1850 # 75 "/usr/include/time.h" 3 4
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
1862 typedef __useconds_t useconds_t;
1866 typedef __suseconds_t suseconds_t;
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
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__)));
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__)));
1893 typedef int register_t __attribute__ ((__mode__ (__word__)));
1894 # 220 "/usr/include/sys/types.h" 3 4
1896 # 1 "/usr/include/sys/select.h" 1 3 4
1897 # 31 "/usr/include/sys/select.h" 3 4
1899 # 1 "/usr/include/bits/select.h" 1 3 4
1900 # 32 "/usr/include/sys/select.h" 2 3 4
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;
1913 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1915 # 35 "/usr/include/sys/select.h" 2 3 4
1919 typedef __sigset_t sigset_t;
1926 # 1 "/usr/include/time.h" 1 3 4
1927 # 121 "/usr/include/time.h" 3 4
1933 # 45 "/usr/include/sys/select.h" 2 3 4
1936 # 1 "/usr/include/bits/time.h" 1 3 4
1937 # 69 "/usr/include/bits/time.h" 3 4
1941 __suseconds_t tv_usec;
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
1952 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
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
1982 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1983 # 30 "/usr/include/sys/sysmacros.h" 3 4
1985 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1986 __attribute__ ((__nothrow__));
1988 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1989 __attribute__ ((__nothrow__));
1991 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1992 unsigned int __minor)
1993 __attribute__ ((__nothrow__));
1996 __extension__ extern __inline unsigned int
1997 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1999 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
2002 __extension__ extern __inline unsigned int
2003 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
2005 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
2008 __extension__ extern __inline unsigned long long int
2009 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
2011 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
2012 | (((unsigned long long int) (__minor & ~0xff)) << 12)
2013 | (((unsigned long long int) (__major & ~0xfff)) << 32));
2015 # 224 "/usr/include/sys/types.h" 2 3 4
2020 typedef __blksize_t blksize_t;
2027 typedef __blkcnt_t blkcnt_t;
2031 typedef __fsblkcnt_t fsblkcnt_t;
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;
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;
2058 typedef struct __pthread_internal_slist
2060 struct __pthread_internal_slist *__next;
2061 } __pthread_slist_t;
2068 struct __pthread_mutex_s
2071 unsigned int __count;
2076 unsigned int __nusers;
2080 __pthread_slist_t __list;
2091 } pthread_mutexattr_t;
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;
2106 unsigned int __nwaiters;
2107 unsigned int __broadcast_seq;
2110 __extension__ long long int __align;
2117 } pthread_condattr_t;
2121 typedef unsigned int pthread_key_t;
2125 typedef int pthread_once_t;
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;
2143 unsigned int __flags;
2154 } pthread_rwlockattr_t;
2160 typedef volatile int pthread_spinlock_t;
2169 } pthread_barrier_t;
2175 } pthread_barrierattr_t;
2176 # 271 "/usr/include/sys/types.h" 2 3 4
2177 # 439 "/usr/include/stdlib.h" 2 3 4
2184 extern long int random (void) __attribute__ ((__nothrow__));
2187 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
2193 extern char *initstate (unsigned int __seed, char *__statebuf,
2194 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2198 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2217 extern int random_r (struct random_data *__restrict __buf,
2218 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2220 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2221 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2223 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2225 struct random_data *__restrict __buf)
2226 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2228 extern int setstate_r (char *__restrict __statebuf,
2229 struct random_data *__restrict __buf)
2230 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2237 extern int rand (void) __attribute__ ((__nothrow__));
2239 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2244 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2252 extern double drand48 (void) __attribute__ ((__nothrow__));
2253 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2256 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2257 extern long int nrand48 (unsigned short int __xsubi[3])
2258 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2261 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2262 extern long int jrand48 (unsigned short int __xsubi[3])
2263 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
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;
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)));
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)));
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)));
2310 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2311 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2313 extern int seed48_r (unsigned short int __seed16v[3],
2314 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
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__)) ;
2322 extern void *calloc (size_t __nmemb, size_t __size)
2323 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2331 extern void *realloc (void *__ptr, size_t __size)
2332 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
2334 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2339 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2344 # 1 "/usr/include/alloca.h" 1 3 4
2345 # 25 "/usr/include/alloca.h" 3 4
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
2356 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2357 # 613 "/usr/include/stdlib.h" 2 3 4
2362 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2367 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2368 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2373 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2377 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2383 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2384 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2391 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2398 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2405 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2410 extern char *__secure_getenv (__const char *__name)
2411 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2417 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2423 extern int setenv (__const char *__name, __const char *__value, int __replace)
2424 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2427 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
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) ;
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__)) ;
2462 typedef int (*__compar_fn_t) (__const void *, __const void *);
2465 typedef __compar_fn_t comparison_fn_t;
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))) ;
2478 extern void qsort (void *__base, size_t __nmemb, size_t __size,
2479 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2483 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2484 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2488 __extension__ extern long long int llabs (long long int __x)
2489 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
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__)) ;
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))) ;
2515 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2516 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2521 extern char *gcvt (double __value, int __ndigit, char *__buf)
2522 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
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))) ;
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)));
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)));
2561 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
2564 extern int mbtowc (wchar_t *__restrict __pwc,
2565 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
2568 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
2572 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2573 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
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))) ;
2590 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2598 extern int posix_openpt (int __oflag) ;
2606 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
2610 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
2615 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
2622 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
2623 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2626 extern int getpt (void);
2633 extern int getloadavg (double __loadavg[], int __nelem)
2634 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2635 # 976 "/usr/include/stdlib.h" 3 4
2638 # 1 "/usr/include/stdio.h" 1 3 4
2639 # 30 "/usr/include/stdio.h" 3 4
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
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
2657 # 1 "/usr/include/libio.h" 1 3 4
2658 # 32 "/usr/include/libio.h" 3 4
2660 # 1 "/usr/include/_G_config.h" 1 3 4
2661 # 14 "/usr/include/_G_config.h" 3 4
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
2669 # 1 "/usr/include/wchar.h" 1 3 4
2670 # 48 "/usr/include/wchar.h" 3 4
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
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
2688 # 25 "/usr/include/_G_config.h" 2 3 4
2693 __mbstate_t __state;
2698 __mbstate_t __state;
2700 # 44 "/usr/include/_G_config.h" 3 4
2702 # 1 "/usr/include/gconv.h" 1 3 4
2703 # 28 "/usr/include/gconv.h" 3 4
2705 # 1 "/usr/include/wchar.h" 1 3 4
2706 # 48 "/usr/include/wchar.h" 3 4
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
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
2728 __GCONV_EMPTY_INPUT,
2729 __GCONV_FULL_OUTPUT,
2730 __GCONV_ILLEGAL_INPUT,
2731 __GCONV_INCOMPLETE_INPUT,
2733 __GCONV_ILLEGAL_DESCRIPTOR,
2734 __GCONV_INTERNAL_ERROR
2741 __GCONV_IS_LAST = 0x0001,
2742 __GCONV_IGNORE_ERRORS = 0x0002
2747 struct __gconv_step;
2748 struct __gconv_step_data;
2749 struct __gconv_loaded_object;
2750 struct __gconv_trans_data;
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);
2759 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
2762 typedef int (*__gconv_init_fct) (struct __gconv_step *);
2763 typedef void (*__gconv_end_fct) (struct __gconv_step *);
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 **,
2775 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
2776 __const unsigned char *,
2777 unsigned char *, unsigned char *);
2780 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
2784 typedef int (*__gconv_trans_init_fct) (void **, const char *);
2785 typedef void (*__gconv_trans_end_fct) (void *);
2787 struct __gconv_trans_data
2790 __gconv_trans_fct __trans_fct;
2791 __gconv_trans_context_fct __trans_context_fct;
2792 __gconv_trans_end_fct __trans_end_fct;
2794 struct __gconv_trans_data *__next;
2801 struct __gconv_loaded_object *__shlib_handle;
2802 __const char *__modname;
2810 __gconv_btowc_fct __btowc_fct;
2811 __gconv_init_fct __init_fct;
2812 __gconv_end_fct __end_fct;
2816 int __min_needed_from;
2817 int __max_needed_from;
2818 int __min_needed_to;
2819 int __max_needed_to;
2829 struct __gconv_step_data
2831 unsigned char *__outbuf;
2832 unsigned char *__outbufend;
2840 int __invocation_counter;
2846 __mbstate_t *__statep;
2847 __mbstate_t __state;
2851 struct __gconv_trans_data *__trans;
2856 typedef struct __gconv_info
2859 struct __gconv_step *__steps;
2860 __extension__ struct __gconv_step_data __data [];
2862 # 45 "/usr/include/_G_config.h" 2 3 4
2865 struct __gconv_info __cd;
2868 struct __gconv_info __cd;
2869 struct __gconv_step_data __data;
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
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;
2894 struct _IO_marker *_next;
2895 struct _IO_FILE *_sbuf;
2900 # 200 "/usr/include/libio.h" 3 4
2904 enum __codecvt_result
2911 # 268 "/usr/include/libio.h" 3 4
2920 char* _IO_read_base;
2921 char* _IO_write_base;
2922 char* _IO_write_ptr;
2923 char* _IO_write_end;
2927 char *_IO_save_base;
2928 char *_IO_backup_base;
2931 struct _IO_marker *_markers;
2933 struct _IO_FILE *_chain;
2941 __off_t _old_offset;
2945 unsigned short _cur_column;
2946 signed char _vtable_offset;
2952 # 316 "/usr/include/libio.h" 3 4
2954 # 325 "/usr/include/libio.h" 3 4
2963 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
2968 typedef struct _IO_FILE _IO_FILE;
2971 struct _IO_FILE_plus;
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);
2985 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
2994 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
2997 typedef int __io_close_fn (void *__cookie);
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;
3011 __io_write_fn *write;
3013 __io_close_fn *close;
3014 } _IO_cookie_io_functions_t;
3015 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
3017 struct _IO_cookie_file;
3020 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
3021 void *__cookie, _IO_cookie_io_functions_t __fns);
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__));
3041 extern int _IO_peekc_locked (_IO_FILE *__fp);
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,
3055 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
3056 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
3058 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
3059 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
3061 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
3062 # 76 "/usr/include/stdio.h" 2 3 4
3067 typedef __gnuc_va_list va_list;
3068 # 89 "/usr/include/stdio.h" 3 4
3071 typedef _G_fpos_t fpos_t;
3077 typedef _G_fpos64_t fpos64_t;
3078 # 141 "/usr/include/stdio.h" 3 4
3080 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
3081 # 142 "/usr/include/stdio.h" 2 3 4
3085 extern struct _IO_FILE *stdin;
3086 extern struct _IO_FILE *stdout;
3087 extern struct _IO_FILE *stderr;
3095 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
3097 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
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) ;
3111 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
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);
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) ;
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
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) ;
3154 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
3160 extern FILE *fopencookie (void *__restrict __magic_cookie,
3161 __const char *__restrict __modes,
3162 _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ;
3165 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
3166 __attribute__ ((__nothrow__)) ;
3171 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
3178 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
3182 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
3183 int __modes, size_t __n) __attribute__ ((__nothrow__));
3189 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
3190 size_t __size) __attribute__ ((__nothrow__));
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, ...);
3201 extern int printf (__const char *__restrict __format, ...);
3203 extern int sprintf (char *__restrict __s,
3204 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
3210 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
3211 __gnuc_va_list __arg);
3216 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
3218 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
3219 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
3225 extern int snprintf (char *__restrict __s, size_t __maxlen,
3226 __const char *__restrict __format, ...)
3227 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
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)));
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))) ;
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, ...) ;
3266 extern int scanf (__const char *__restrict __format, ...) ;
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))) ;
3279 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
3280 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
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);
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);
3308 extern int putchar (int __c);
3309 # 508 "/usr/include/stdio.h" 3 4
3310 extern int fputc_unlocked (int __c, FILE *__stream);
3318 extern int putc_unlocked (int __c, FILE *__stream);
3319 extern int putchar_unlocked (int __c);
3326 extern int getw (FILE *__stream);
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)
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) ;
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);
3367 extern int puts (__const char *__s);
3374 extern int ungetc (int __c, FILE *__stream);
3381 extern size_t fread (void *__restrict __ptr, size_t __size,
3382 size_t __n, FILE *__restrict __stream) ;
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);
3403 extern long int ftell (FILE *__stream) ;
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);
3415 extern __off_t ftello (FILE *__stream) ;
3416 # 697 "/usr/include/stdio.h" 3 4
3423 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
3428 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
3429 # 720 "/usr/include/stdio.h" 3 4
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);
3441 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
3443 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
3445 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
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);
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[];
3468 extern int _sys_nerr;
3469 extern __const char *__const _sys_errlist[];
3470 # 759 "/usr/include/stdio.h" 2 3 4
3475 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
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) ;
3488 extern int pclose (FILE *__stream);
3494 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
3500 extern char *cuserid (char *__s);
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)));
3522 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
3526 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
3529 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
3530 # 839 "/usr/include/stdio.h" 3 4
3532 # 1 "/usr/include/bits/stdio.h" 1 3 4
3533 # 33 "/usr/include/bits/stdio.h" 3 4
3535 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
3537 return vfprintf (stdout, __fmt, __arg);
3544 return _IO_getc (stdin);
3551 fgetc_unlocked (FILE *__fp)
3553 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
3561 getc_unlocked (FILE *__fp)
3563 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
3568 getchar_unlocked (void)
3570 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
3579 return _IO_putc (__c, stdout);
3586 fputc_unlocked (int __c, FILE *__stream)
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)));
3596 putc_unlocked (int __c, FILE *__stream)
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)));
3603 putchar_unlocked (int __c)
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)));
3612 extern __inline __ssize_t
3613 getline (char **__lineptr, size_t *__n, FILE *__stream)
3615 return __getdelim (__lineptr, __n, '\n', __stream);
3623 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
3625 return (((__stream)->_flags & 0x10) != 0);
3630 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
3632 return (((__stream)->_flags & 0x20) != 0);
3634 # 840 "/usr/include/stdio.h" 2 3 4
3635 # 848 "/usr/include/stdio.h" 3 4
3638 # 1 "/usr/include/string.h" 1 3 4
3639 # 28 "/usr/include/string.h" 3 4
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
3652 extern void *memcpy (void *__restrict __dest,
3653 __const void *__restrict __src, size_t __n)
3654 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3657 extern void *memmove (void *__dest, __const void *__src, size_t __n)
3658 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3665 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
3666 int __c, size_t __n)
3667 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3673 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3676 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
3677 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3680 extern void *memchr (__const void *__s, int __c, size_t __n)
3681 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3687 extern void *rawmemchr (__const void *__s, int __c)
3688 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3691 extern void *memrchr (__const void *__s, int __c, size_t __n)
3692 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3698 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
3699 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3701 extern char *strncpy (char *__restrict __dest,
3702 __const char *__restrict __src, size_t __n)
3703 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3706 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
3707 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3709 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
3710 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3713 extern int strcmp (__const char *__s1, __const char *__s2)
3714 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3716 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
3717 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3720 extern int strcoll (__const char *__s1, __const char *__s2)
3721 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
3730 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
3731 __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
3736 extern char *strdup (__const char *__s)
3737 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
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
3749 extern char *strchr (__const char *__s, int __c)
3750 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3752 extern char *strrchr (__const char *__s, int __c)
3753 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3759 extern char *strchrnul (__const char *__s, int __c)
3760 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3766 extern size_t strcspn (__const char *__s, __const char *__reject)
3767 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3770 extern size_t strspn (__const char *__s, __const char *__accept)
3771 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3773 extern char *strpbrk (__const char *__s, __const char *__accept)
3774 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3776 extern char *strstr (__const char *__haystack, __const char *__needle)
3777 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3781 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
3782 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
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)));
3792 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
3793 char **__restrict __save_ptr)
3794 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3799 extern char *strcasestr (__const char *__haystack, __const char *__needle)
3800 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
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)));
3824 extern size_t strlen (__const char *__s)
3825 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3831 extern size_t strnlen (__const char *__string, size_t __maxlen)
3832 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
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)));
3847 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
3853 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3857 extern void bcopy (__const void *__src, void *__dest, size_t __n)
3858 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3861 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3864 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
3865 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3868 extern char *index (__const char *__s, int __c)
3869 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3872 extern char *rindex (__const char *__s, int __c)
3873 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3877 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3882 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3884 __extension__ extern int ffsll (long long int __ll)
3885 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3890 extern int strcasecmp (__const char *__s1, __const char *__s2)
3891 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3894 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
3895 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3901 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
3903 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
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)));
3913 extern char *strsep (char **__restrict __stringp,
3914 __const char *__restrict __delim)
3915 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3920 extern int strverscmp (__const char *__s1, __const char *__s2)
3921 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3924 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
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)));
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)));
3942 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3945 extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3952 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3953 # 420 "/usr/include/string.h" 3 4
3955 # 1 "/usr/include/bits/string.h" 1 3 4
3956 # 421 "/usr/include/string.h" 2 3 4
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)
3968 register size_t __result = 0;
3969 while (__s[__result] != '\0' && __s[__result] != __reject)
3974 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
3976 extern __inline size_t
3977 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
3979 register size_t __result = 0;
3980 while (__s[__result] != '\0' && __s[__result] != __reject1
3981 && __s[__result] != __reject2)
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,
3992 register size_t __result = 0;
3993 while (__s[__result] != '\0' && __s[__result] != __reject1
3994 && __s[__result] != __reject2 && __s[__result] != __reject3)
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)
4003 register size_t __result = 0;
4005 while (__s[__result] == __accept)
4010 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
4012 extern __inline size_t
4013 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
4015 register size_t __result = 0;
4017 while (__s[__result] == __accept1 || __s[__result] == __accept2)
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)
4027 register size_t __result = 0;
4029 while (__s[__result] == __accept1 || __s[__result] == __accept2
4030 || __s[__result] == __accept3)
4034 # 1121 "/usr/include/bits/string2.h" 3 4
4035 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
4037 extern __inline char *
4038 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
4041 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
4043 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
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,
4053 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
4054 && *__s != __accept3)
4056 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
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)
4064 if (__s == ((void *)0))
4066 while (*__s == __sep)
4068 __result = ((void *)0);
4072 while (*__s != '\0')
4073 if (*__s++ == __sep)
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)
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))
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)
4099 register char *__retval = *__s;
4100 if (__retval != ((void *)0))
4102 register char *__cp = __retval;
4110 if (*__cp == __reject1 || *__cp == __reject2)
4122 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
4124 extern __inline char *
4125 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
4127 register char *__retval = *__s;
4128 if (__retval != ((void *)0))
4130 register char *__cp = __retval;
4138 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
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
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;
4167 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/float.h" 1 3 4
4170 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 1 3 4
4174 # 1 "/usr/include/inttypes.h" 1 3 4
4175 # 28 "/usr/include/inttypes.h" 3 4
4177 # 1 "/usr/include/stdint.h" 1 3 4
4178 # 28 "/usr/include/stdint.h" 3 4
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;
4186 typedef unsigned int uint32_t;
4193 typedef unsigned long long int uint64_t;
4200 typedef signed char int_least8_t;
4201 typedef short int int_least16_t;
4202 typedef int int_least32_t;
4207 typedef long long int int_least64_t;
4211 typedef unsigned char uint_least8_t;
4212 typedef unsigned short int uint_least16_t;
4213 typedef unsigned int uint_least32_t;
4218 typedef unsigned long long int uint_least64_t;
4225 typedef signed char int_fast8_t;
4231 typedef int int_fast16_t;
4232 typedef int int_fast32_t;
4234 typedef long long int int_fast64_t;
4238 typedef unsigned char uint_fast8_t;
4244 typedef unsigned int uint_fast16_t;
4245 typedef unsigned int uint_fast32_t;
4247 typedef unsigned long long int uint_fast64_t;
4248 # 126 "/usr/include/stdint.h" 3 4
4249 typedef int intptr_t;
4252 typedef unsigned int uintptr_t;
4253 # 138 "/usr/include/stdint.h" 3 4
4255 typedef long long int intmax_t;
4257 typedef unsigned long long int uintmax_t;
4258 # 29 "/usr/include/inttypes.h" 2 3 4
4265 typedef long int __gwchar_t;
4266 # 274 "/usr/include/inttypes.h" 3 4
4267 # 288 "/usr/include/inttypes.h" 3 4
4278 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4281 extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
4282 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4285 extern intmax_t strtoimax (__const char *__restrict __nptr,
4286 char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
4289 extern uintmax_t strtoumax (__const char *__restrict __nptr,
4290 char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
4293 extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
4294 __gwchar_t **__restrict __endptr, int __base)
4295 __attribute__ ((__nothrow__));
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)
4306 return __strtoll_internal (nptr, endptr, base, 0);
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)
4313 return __strtoull_internal (nptr, endptr, base, 0);
4319 extern long long int __wcstoll_internal (__const __gwchar_t *
4321 __gwchar_t **__restrict __endptr,
4322 int __base, int __group) __attribute__ ((__nothrow__));
4325 extern __inline intmax_t
4326 __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
4329 return __wcstoll_internal (nptr, endptr, base, 0);
4336 extern unsigned long long int __wcstoull_internal (__const __gwchar_t *
4339 __restrict __endptr,
4341 int __group) __attribute__ ((__nothrow__));
4344 extern __inline uintmax_t
4345 __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
4348 return __wcstoull_internal (nptr, endptr, base, 0);
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;
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 );
4373 __attribute__((visibility("default"))) void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
4375 __attribute__((visibility("default"))) void glClear( GLbitfield mask );
4377 __attribute__((visibility("default"))) void glIndexMask( GLuint mask );
4379 __attribute__((visibility("default"))) void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
4381 __attribute__((visibility("default"))) void glAlphaFunc( GLenum func, GLclampf ref );
4383 __attribute__((visibility("default"))) void glBlendFunc( GLenum sfactor, GLenum dfactor );
4385 __attribute__((visibility("default"))) void glLogicOp( GLenum opcode );
4387 __attribute__((visibility("default"))) void glCullFace( GLenum mode );
4389 __attribute__((visibility("default"))) void glFrontFace( GLenum mode );
4391 __attribute__((visibility("default"))) void glPointSize( GLfloat size );
4393 __attribute__((visibility("default"))) void glLineWidth( GLfloat width );
4395 __attribute__((visibility("default"))) void glLineStipple( GLint factor, GLushort pattern );
4397 __attribute__((visibility("default"))) void glPolygonMode( GLenum face, GLenum mode );
4399 __attribute__((visibility("default"))) void glPolygonOffset( GLfloat factor, GLfloat units );
4401 __attribute__((visibility("default"))) void glPolygonStipple( const GLubyte *mask );
4403 __attribute__((visibility("default"))) void glGetPolygonStipple( GLubyte *mask );
4405 __attribute__((visibility("default"))) void glEdgeFlag( GLboolean flag );
4407 __attribute__((visibility("default"))) void glEdgeFlagv( const GLboolean *flag );
4409 __attribute__((visibility("default"))) void glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
4411 __attribute__((visibility("default"))) void glClipPlane( GLenum plane, const GLdouble *equation );
4413 __attribute__((visibility("default"))) void glGetClipPlane( GLenum plane, GLdouble *equation );
4415 __attribute__((visibility("default"))) void glDrawBuffer( GLenum mode );
4417 __attribute__((visibility("default"))) void glReadBuffer( GLenum mode );
4419 __attribute__((visibility("default"))) void glEnable( GLenum cap );
4421 __attribute__((visibility("default"))) void glDisable( GLenum cap );
4423 __attribute__((visibility("default"))) GLboolean glIsEnabled( GLenum cap );
4426 __attribute__((visibility("default"))) void glEnableClientState( GLenum cap );
4428 __attribute__((visibility("default"))) void glDisableClientState( GLenum cap );
4431 __attribute__((visibility("default"))) void glGetBooleanv( GLenum pname, GLboolean *params );
4433 __attribute__((visibility("default"))) void glGetDoublev( GLenum pname, GLdouble *params );
4435 __attribute__((visibility("default"))) void glGetFloatv( GLenum pname, GLfloat *params );
4437 __attribute__((visibility("default"))) void glGetIntegerv( GLenum pname, GLint *params );
4440 __attribute__((visibility("default"))) void glPushAttrib( GLbitfield mask );
4442 __attribute__((visibility("default"))) void glPopAttrib( void );
4445 __attribute__((visibility("default"))) void glPushClientAttrib( GLbitfield mask );
4447 __attribute__((visibility("default"))) void glPopClientAttrib( void );
4450 __attribute__((visibility("default"))) GLint glRenderMode( GLenum mode );
4452 __attribute__((visibility("default"))) GLenum glGetError( void );
4454 __attribute__((visibility("default"))) const GLubyte * glGetString( GLenum name );
4456 __attribute__((visibility("default"))) void glFinish( void );
4458 __attribute__((visibility("default"))) void glFlush( void );
4460 __attribute__((visibility("default"))) void glHint( GLenum target, GLenum mode );
4467 __attribute__((visibility("default"))) void glClearDepth( GLclampd depth );
4469 __attribute__((visibility("default"))) void glDepthFunc( GLenum func );
4471 __attribute__((visibility("default"))) void glDepthMask( GLboolean flag );
4473 __attribute__((visibility("default"))) void glDepthRange( GLclampd near_val, GLclampd far_val );
4480 __attribute__((visibility("default"))) void glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
4482 __attribute__((visibility("default"))) void glAccum( GLenum op, GLfloat value );
4489 __attribute__((visibility("default"))) void glMatrixMode( GLenum mode );
4491 __attribute__((visibility("default"))) void glOrtho( GLdouble left, GLdouble right,
4492 GLdouble bottom, GLdouble top,
4493 GLdouble near_val, GLdouble far_val );
4495 __attribute__((visibility("default"))) void glFrustum( GLdouble left, GLdouble right,
4496 GLdouble bottom, GLdouble top,
4497 GLdouble near_val, GLdouble far_val );
4499 __attribute__((visibility("default"))) void glViewport( GLint x, GLint y,
4500 GLsizei width, GLsizei height );
4502 __attribute__((visibility("default"))) void glPushMatrix( void );
4504 __attribute__((visibility("default"))) void glPopMatrix( void );
4506 __attribute__((visibility("default"))) void glLoadIdentity( void );
4508 __attribute__((visibility("default"))) void glLoadMatrixd( const GLdouble *m );
4509 __attribute__((visibility("default"))) void glLoadMatrixf( const GLfloat *m );
4511 __attribute__((visibility("default"))) void glMultMatrixd( const GLdouble *m );
4512 __attribute__((visibility("default"))) void glMultMatrixf( const GLfloat *m );
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 );
4519 __attribute__((visibility("default"))) void glScaled( GLdouble x, GLdouble y, GLdouble z );
4520 __attribute__((visibility("default"))) void glScalef( GLfloat x, GLfloat y, GLfloat z );
4522 __attribute__((visibility("default"))) void glTranslated( GLdouble x, GLdouble y, GLdouble z );
4523 __attribute__((visibility("default"))) void glTranslatef( GLfloat x, GLfloat y, GLfloat z );
4530 __attribute__((visibility("default"))) GLboolean glIsList( GLuint list );
4532 __attribute__((visibility("default"))) void glDeleteLists( GLuint list, GLsizei range );
4534 __attribute__((visibility("default"))) GLuint glGenLists( GLsizei range );
4536 __attribute__((visibility("default"))) void glNewList( GLuint list, GLenum mode );
4538 __attribute__((visibility("default"))) void glEndList( void );
4540 __attribute__((visibility("default"))) void glCallList( GLuint list );
4542 __attribute__((visibility("default"))) void glCallLists( GLsizei n, GLenum type,
4543 const GLvoid *lists );
4545 __attribute__((visibility("default"))) void glListBase( GLuint base );
4552 __attribute__((visibility("default"))) void glBegin( GLenum mode );
4554 __attribute__((visibility("default"))) void glEnd( void );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
4747 __attribute__((visibility("default"))) void glVertexPointer( GLint size, GLenum type,
4748 GLsizei stride, const GLvoid *ptr );
4750 __attribute__((visibility("default"))) void glNormalPointer( GLenum type, GLsizei stride,
4751 const GLvoid *ptr );
4753 __attribute__((visibility("default"))) void glColorPointer( GLint size, GLenum type,
4754 GLsizei stride, const GLvoid *ptr );
4756 __attribute__((visibility("default"))) void glIndexPointer( GLenum type, GLsizei stride,
4757 const GLvoid *ptr );
4759 __attribute__((visibility("default"))) void glTexCoordPointer( GLint size, GLenum type,
4760 GLsizei stride, const GLvoid *ptr );
4762 __attribute__((visibility("default"))) void glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
4764 __attribute__((visibility("default"))) void glGetPointerv( GLenum pname, GLvoid **params );
4766 __attribute__((visibility("default"))) void glArrayElement( GLint i );
4768 __attribute__((visibility("default"))) void glDrawArrays( GLenum mode, GLint first, GLsizei count );
4770 __attribute__((visibility("default"))) void glDrawElements( GLenum mode, GLsizei count,
4771 GLenum type, const GLvoid *indices );
4773 __attribute__((visibility("default"))) void glInterleavedArrays( GLenum format, GLsizei stride,
4774 const GLvoid *pointer );
4780 __attribute__((visibility("default"))) void glShadeModel( GLenum mode );
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 );
4789 __attribute__((visibility("default"))) void glGetLightfv( GLenum light, GLenum pname,
4791 __attribute__((visibility("default"))) void glGetLightiv( GLenum light, GLenum pname,
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 );
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 );
4804 __attribute__((visibility("default"))) void glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
4805 __attribute__((visibility("default"))) void glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
4807 __attribute__((visibility("default"))) void glColorMaterial( GLenum face, GLenum mode );
4814 __attribute__((visibility("default"))) void glPixelZoom( GLfloat xfactor, GLfloat yfactor );
4816 __attribute__((visibility("default"))) void glPixelStoref( GLenum pname, GLfloat param );
4817 __attribute__((visibility("default"))) void glPixelStorei( GLenum pname, GLint param );
4819 __attribute__((visibility("default"))) void glPixelTransferf( GLenum pname, GLfloat param );
4820 __attribute__((visibility("default"))) void glPixelTransferi( GLenum pname, GLint param );
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 );
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 );
4833 __attribute__((visibility("default"))) void glBitmap( GLsizei width, GLsizei height,
4834 GLfloat xorig, GLfloat yorig,
4835 GLfloat xmove, GLfloat ymove,
4836 const GLubyte *bitmap );
4838 __attribute__((visibility("default"))) void glReadPixels( GLint x, GLint y,
4839 GLsizei width, GLsizei height,
4840 GLenum format, GLenum type,
4843 __attribute__((visibility("default"))) void glDrawPixels( GLsizei width, GLsizei height,
4844 GLenum format, GLenum type,
4845 const GLvoid *pixels );
4847 __attribute__((visibility("default"))) void glCopyPixels( GLint x, GLint y,
4848 GLsizei width, GLsizei height,
4855 __attribute__((visibility("default"))) void glStencilFunc( GLenum func, GLint ref, GLuint mask );
4857 __attribute__((visibility("default"))) void glStencilMask( GLuint mask );
4859 __attribute__((visibility("default"))) void glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
4861 __attribute__((visibility("default"))) void glClearStencil( GLint s );
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 );
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 );
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 );
4882 __attribute__((visibility("default"))) void glTexEnvf( GLenum target, GLenum pname, GLfloat param );
4883 __attribute__((visibility("default"))) void glTexEnvi( GLenum target, GLenum pname, GLint param );
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 );
4888 __attribute__((visibility("default"))) void glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
4889 __attribute__((visibility("default"))) void glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
4892 __attribute__((visibility("default"))) void glTexParameterf( GLenum target, GLenum pname, GLfloat param );
4893 __attribute__((visibility("default"))) void glTexParameteri( GLenum target, GLenum pname, GLint param );
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 );
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 );
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 );
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 );
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 );
4923 __attribute__((visibility("default"))) void glGetTexImage( GLenum target, GLint level,
4924 GLenum format, GLenum type,
4930 __attribute__((visibility("default"))) void glGenTextures( GLsizei n, GLuint *textures );
4932 __attribute__((visibility("default"))) void glDeleteTextures( GLsizei n, const GLuint *textures);
4934 __attribute__((visibility("default"))) void glBindTexture( GLenum target, GLuint texture );
4936 __attribute__((visibility("default"))) void glPrioritizeTextures( GLsizei n,
4937 const GLuint *textures,
4938 const GLclampf *priorities );
4940 __attribute__((visibility("default"))) GLboolean glAreTexturesResident( GLsizei n,
4941 const GLuint *textures,
4942 GLboolean *residences );
4944 __attribute__((visibility("default"))) GLboolean glIsTexture( GLuint texture );
4947 __attribute__((visibility("default"))) void glTexSubImage1D( GLenum target, GLint level,
4949 GLsizei width, GLenum format,
4950 GLenum type, const GLvoid *pixels );
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 );
4960 __attribute__((visibility("default"))) void glCopyTexImage1D( GLenum target, GLint level,
4961 GLenum internalformat,
4963 GLsizei width, GLint border );
4966 __attribute__((visibility("default"))) void glCopyTexImage2D( GLenum target, GLint level,
4967 GLenum internalformat,
4969 GLsizei width, GLsizei height,
4973 __attribute__((visibility("default"))) void glCopyTexSubImage1D( GLenum target, GLint level,
4974 GLint xoffset, GLint x, GLint y,
4978 __attribute__((visibility("default"))) void glCopyTexSubImage2D( GLenum target, GLint level,
4979 GLint xoffset, GLint yoffset,
4981 GLsizei width, GLsizei height );
4988 __attribute__((visibility("default"))) void glMap1d( GLenum target, GLdouble u1, GLdouble u2,
4990 GLint order, const GLdouble *points );
4991 __attribute__((visibility("default"))) void glMap1f( GLenum target, GLfloat u1, GLfloat u2,
4993 GLint order, const GLfloat *points );
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 );
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 );
5008 __attribute__((visibility("default"))) void glEvalCoord1d( GLdouble u );
5009 __attribute__((visibility("default"))) void glEvalCoord1f( GLfloat u );
5011 __attribute__((visibility("default"))) void glEvalCoord1dv( const GLdouble *u );
5012 __attribute__((visibility("default"))) void glEvalCoord1fv( const GLfloat *u );
5014 __attribute__((visibility("default"))) void glEvalCoord2d( GLdouble u, GLdouble v );
5015 __attribute__((visibility("default"))) void glEvalCoord2f( GLfloat u, GLfloat v );
5017 __attribute__((visibility("default"))) void glEvalCoord2dv( const GLdouble *u );
5018 __attribute__((visibility("default"))) void glEvalCoord2fv( const GLfloat *u );
5020 __attribute__((visibility("default"))) void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 );
5021 __attribute__((visibility("default"))) void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 );
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 );
5028 __attribute__((visibility("default"))) void glEvalPoint1( GLint i );
5030 __attribute__((visibility("default"))) void glEvalPoint2( GLint i, GLint j );
5032 __attribute__((visibility("default"))) void glEvalMesh1( GLenum mode, GLint i1, GLint i2 );
5034 __attribute__((visibility("default"))) void glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
5041 __attribute__((visibility("default"))) void glFogf( GLenum pname, GLfloat param );
5043 __attribute__((visibility("default"))) void glFogi( GLenum pname, GLint param );
5045 __attribute__((visibility("default"))) void glFogfv( GLenum pname, const GLfloat *params );
5047 __attribute__((visibility("default"))) void glFogiv( GLenum pname, const GLint *params );
5054 __attribute__((visibility("default"))) void glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
5056 __attribute__((visibility("default"))) void glPassThrough( GLfloat token );
5058 __attribute__((visibility("default"))) void glSelectBuffer( GLsizei size, GLuint *buffer );
5060 __attribute__((visibility("default"))) void glInitNames( void );
5062 __attribute__((visibility("default"))) void glLoadName( GLuint name );
5064 __attribute__((visibility("default"))) void glPushName( GLuint name );
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 );
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 );
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,
5083 GLenum type, const GLvoid *pixels);
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,
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 );
5100 __attribute__((visibility("default"))) void glColorSubTable( GLenum target,
5101 GLsizei start, GLsizei count,
5102 GLenum format, GLenum type,
5103 const GLvoid *data );
5105 __attribute__((visibility("default"))) void glColorTableParameteriv(GLenum target, GLenum pname,
5106 const GLint *params);
5108 __attribute__((visibility("default"))) void glColorTableParameterfv(GLenum target, GLenum pname,
5109 const GLfloat *params);
5111 __attribute__((visibility("default"))) void glCopyColorSubTable( GLenum target, GLsizei start,
5112 GLint x, GLint y, GLsizei width );
5114 __attribute__((visibility("default"))) void glCopyColorTable( GLenum target, GLenum internalformat,
5115 GLint x, GLint y, GLsizei width );
5117 __attribute__((visibility("default"))) void glGetColorTable( GLenum target, GLenum format,
5118 GLenum type, GLvoid *table );
5120 __attribute__((visibility("default"))) void glGetColorTableParameterfv( GLenum target, GLenum pname,
5123 __attribute__((visibility("default"))) void glGetColorTableParameteriv( GLenum target, GLenum pname,
5126 __attribute__((visibility("default"))) void glBlendEquation( GLenum mode );
5128 __attribute__((visibility("default"))) void glBlendColor( GLclampf red, GLclampf green,
5129 GLclampf blue, GLclampf alpha );
5131 __attribute__((visibility("default"))) void glHistogram( GLenum target, GLsizei width,
5132 GLenum internalformat, GLboolean sink );
5134 __attribute__((visibility("default"))) void glResetHistogram( GLenum target );
5136 __attribute__((visibility("default"))) void glGetHistogram( GLenum target, GLboolean reset,
5137 GLenum format, GLenum type,
5140 __attribute__((visibility("default"))) void glGetHistogramParameterfv( GLenum target, GLenum pname,
5143 __attribute__((visibility("default"))) void glGetHistogramParameteriv( GLenum target, GLenum pname,
5146 __attribute__((visibility("default"))) void glMinmax( GLenum target, GLenum internalformat,
5149 __attribute__((visibility("default"))) void glResetMinmax( GLenum target );
5151 __attribute__((visibility("default"))) void glGetMinmax( GLenum target, GLboolean reset,
5152 GLenum format, GLenum types,
5155 __attribute__((visibility("default"))) void glGetMinmaxParameterfv( GLenum target, GLenum pname,
5158 __attribute__((visibility("default"))) void glGetMinmaxParameteriv( GLenum target, GLenum pname,
5161 __attribute__((visibility("default"))) void glConvolutionFilter1D( GLenum target,
5162 GLenum internalformat, GLsizei width, GLenum format, GLenum type,
5163 const GLvoid *image );
5165 __attribute__((visibility("default"))) void glConvolutionFilter2D( GLenum target,
5166 GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
5167 GLenum type, const GLvoid *image );
5169 __attribute__((visibility("default"))) void glConvolutionParameterf( GLenum target, GLenum pname,
5172 __attribute__((visibility("default"))) void glConvolutionParameterfv( GLenum target, GLenum pname,
5173 const GLfloat *params );
5175 __attribute__((visibility("default"))) void glConvolutionParameteri( GLenum target, GLenum pname,
5178 __attribute__((visibility("default"))) void glConvolutionParameteriv( GLenum target, GLenum pname,
5179 const GLint *params );
5181 __attribute__((visibility("default"))) void glCopyConvolutionFilter1D( GLenum target,
5182 GLenum internalformat, GLint x, GLint y, GLsizei width );
5184 __attribute__((visibility("default"))) void glCopyConvolutionFilter2D( GLenum target,
5185 GLenum internalformat, GLint x, GLint y, GLsizei width,
5188 __attribute__((visibility("default"))) void glGetConvolutionFilter( GLenum target, GLenum format,
5189 GLenum type, GLvoid *image );
5191 __attribute__((visibility("default"))) void glGetConvolutionParameterfv( GLenum target, GLenum pname,
5194 __attribute__((visibility("default"))) void glGetConvolutionParameteriv( GLenum target, GLenum pname,
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 );
5201 __attribute__((visibility("default"))) void glGetSeparableFilter( GLenum target, GLenum format,
5202 GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
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 );
5241 __attribute__((visibility("default"))) void glClientActiveTexture( GLenum texture );
5243 __attribute__((visibility("default"))) void glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
5245 __attribute__((visibility("default"))) void glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
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 );
5249 __attribute__((visibility("default"))) void glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
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 );
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 );
5255 __attribute__((visibility("default"))) void glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img );
5257 __attribute__((visibility("default"))) void glMultiTexCoord1d( GLenum target, GLdouble s );
5259 __attribute__((visibility("default"))) void glMultiTexCoord1dv( GLenum target, const GLdouble *v );
5261 __attribute__((visibility("default"))) void glMultiTexCoord1f( GLenum target, GLfloat s );
5263 __attribute__((visibility("default"))) void glMultiTexCoord1fv( GLenum target, const GLfloat *v );
5265 __attribute__((visibility("default"))) void glMultiTexCoord1i( GLenum target, GLint s );
5267 __attribute__((visibility("default"))) void glMultiTexCoord1iv( GLenum target, const GLint *v );
5269 __attribute__((visibility("default"))) void glMultiTexCoord1s( GLenum target, GLshort s );
5271 __attribute__((visibility("default"))) void glMultiTexCoord1sv( GLenum target, const GLshort *v );
5273 __attribute__((visibility("default"))) void glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t );
5275 __attribute__((visibility("default"))) void glMultiTexCoord2dv( GLenum target, const GLdouble *v );
5277 __attribute__((visibility("default"))) void glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t );
5279 __attribute__((visibility("default"))) void glMultiTexCoord2fv( GLenum target, const GLfloat *v );
5281 __attribute__((visibility("default"))) void glMultiTexCoord2i( GLenum target, GLint s, GLint t );
5283 __attribute__((visibility("default"))) void glMultiTexCoord2iv( GLenum target, const GLint *v );
5285 __attribute__((visibility("default"))) void glMultiTexCoord2s( GLenum target, GLshort s, GLshort t );
5287 __attribute__((visibility("default"))) void glMultiTexCoord2sv( GLenum target, const GLshort *v );
5289 __attribute__((visibility("default"))) void glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r );
5291 __attribute__((visibility("default"))) void glMultiTexCoord3dv( GLenum target, const GLdouble *v );
5293 __attribute__((visibility("default"))) void glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r );
5295 __attribute__((visibility("default"))) void glMultiTexCoord3fv( GLenum target, const GLfloat *v );
5297 __attribute__((visibility("default"))) void glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r );
5299 __attribute__((visibility("default"))) void glMultiTexCoord3iv( GLenum target, const GLint *v );
5301 __attribute__((visibility("default"))) void glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r );
5303 __attribute__((visibility("default"))) void glMultiTexCoord3sv( GLenum target, const GLshort *v );
5305 __attribute__((visibility("default"))) void glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
5307 __attribute__((visibility("default"))) void glMultiTexCoord4dv( GLenum target, const GLdouble *v );
5309 __attribute__((visibility("default"))) void glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
5311 __attribute__((visibility("default"))) void glMultiTexCoord4fv( GLenum target, const GLfloat *v );
5313 __attribute__((visibility("default"))) void glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q );
5315 __attribute__((visibility("default"))) void glMultiTexCoord4iv( GLenum target, const GLint *v );
5317 __attribute__((visibility("default"))) void glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
5319 __attribute__((visibility("default"))) void glMultiTexCoord4sv( GLenum target, const GLshort *v );
5322 __attribute__((visibility("default"))) void glLoadTransposeMatrixd( const GLdouble m[16] );
5324 __attribute__((visibility("default"))) void glLoadTransposeMatrixf( const GLfloat m[16] );
5326 __attribute__((visibility("default"))) void glMultTransposeMatrixd( const GLdouble m[16] );
5328 __attribute__((visibility("default"))) void glMultTransposeMatrixf( const GLfloat m[16] );
5330 __attribute__((visibility("default"))) void glSampleCoverage( GLclampf value, GLboolean invert );
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);
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"
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"
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
5459 typedef char GLchar;
5464 typedef ptrdiff_t GLintptr;
5465 typedef ptrdiff_t GLsizeiptr;
5470 typedef ptrdiff_t GLintptrARB;
5471 typedef ptrdiff_t GLsizeiptrARB;
5476 typedef char GLcharARB;
5477 typedef unsigned int GLhandleARB;
5482 typedef unsigned short GLhalfARB;
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 *);
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);
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* *);
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);
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 *);
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);
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 *);
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 *);
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);
5851 __attribute__((visibility("default"))) void glSampleCoverageARB (GLclampf, GLboolean);
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 *);
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 *);
5874 typedef void ( * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
5875 typedef void ( * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
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);
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);
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 *);
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 *);
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);
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);
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* *);
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);
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 *);
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);
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 *);
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);
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 *);
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 *);
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);
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);
6235 typedef void ( * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
6241 __attribute__((visibility("default"))) void glPolygonOffsetEXT (GLfloat, GLfloat);
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 *);
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);
6255 __attribute__((visibility("default"))) void glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
6256 __attribute__((visibility("default"))) void glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
6258 typedef void ( * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
6259 typedef void ( * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
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 *);
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);
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);
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);
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);
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);
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 *);
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 *);
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);
6365 __attribute__((visibility("default"))) void glPixelTexGenSGIX (GLenum);
6367 typedef void ( * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
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 *);
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);
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 *);
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 *);
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);
6415 __attribute__((visibility("default"))) void glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
6416 __attribute__((visibility("default"))) void glGetDetailTexFuncSGIS (GLenum, GLfloat *);
6418 typedef void ( * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
6419 typedef void ( * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
6425 __attribute__((visibility("default"))) void glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
6426 __attribute__((visibility("default"))) void glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
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);
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 *);
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);
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 *);
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 *);
6474 typedef void ( * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
6475 typedef void ( * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
6481 __attribute__((visibility("default"))) void glPointParameterfSGIS (GLenum, GLfloat);
6482 __attribute__((visibility("default"))) void glPointParameterfvSGIS (GLenum, const GLfloat *);
6484 typedef void ( * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
6485 typedef void ( * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
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);
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);
6507 typedef void ( * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
6513 __attribute__((visibility("default"))) void glTagSampleBufferSGIX (void);
6515 typedef void ( * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
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);
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);
6535 __attribute__((visibility("default"))) void glReferencePlaneSGIX (const GLdouble *);
6537 typedef void ( * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
6543 __attribute__((visibility("default"))) void glFlushRasterSGIX (void);
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 *);
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 *);
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);
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);
6575 typedef void ( * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
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 *);
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 *);
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);
6607 typedef void ( * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
6613 __attribute__((visibility("default"))) void glIndexFuncEXT (GLenum, GLclampf);
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);
6620 typedef void ( * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6621 typedef void ( * PFNGLUNLOCKARRAYSEXTPROC) (void);
6627 __attribute__((visibility("default"))) void glCullParameterdvEXT (GLenum, GLdouble *);
6628 __attribute__((visibility("default"))) void glCullParameterfvEXT (GLenum, GLfloat *);
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);
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 *);
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);
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);
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* *);
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 *);
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 *);
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);
6757 __attribute__((visibility("default"))) void glTextureNormalEXT (GLenum);
6759 typedef void ( * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
6765 __attribute__((visibility("default"))) void glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
6766 __attribute__((visibility("default"))) void glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
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);
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 *);
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 *);
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);
6835 typedef void ( * PFNGLFINISHTEXTURESUNXPROC) (void);
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);
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);
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* *);
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);
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 *);
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);
6969 __attribute__((visibility("default"))) void glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
6971 typedef void ( * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6977 __attribute__((visibility("default"))) void glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
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 *);
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 *);
6992 typedef void ( * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
6993 typedef void ( * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
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 *);
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);
7029 typedef void ( * PFNGLRESIZEBUFFERSMESAPROC) (void);
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 *);
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);
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);
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);
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);
7115 typedef void ( * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
7121 __attribute__((visibility("default"))) void glSampleMaskEXT (GLclampf, GLboolean);
7122 __attribute__((visibility("default"))) void glSamplePatternEXT (GLenum);
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);
7129 typedef void ( * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
7135 __attribute__((visibility("default"))) void glIglooInterfaceSGIX (GLenum, const GLvoid *);
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);
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);
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);
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 *);
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 *);
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 *);
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);
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 *);
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);
7363 __attribute__((visibility("default"))) void glPNTrianglesiATI (GLenum, GLint);
7364 __attribute__((visibility("default"))) void glPNTrianglesfATI (GLenum, GLfloat);
7366 typedef void ( * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
7367 typedef void ( * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
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 *);
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);
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 *);
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);
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);
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);
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);
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);
7601 __attribute__((visibility("default"))) void glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei);
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 *);
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);
7625 __attribute__((visibility("default"))) void glPointParameteriNV (GLenum, GLint);
7626 __attribute__((visibility("default"))) void glPointParameterivNV (GLenum, const GLint *);
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);
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);
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);
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);
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);
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);
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);
7687 __attribute__((visibility("default"))) void glVertexArrayRangeAPPLE (GLsizei, GLvoid *);
7688 __attribute__((visibility("default"))) void glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *);
7689 __attribute__((visibility("default"))) void glVertexArrayParameteriAPPLE (GLenum, GLint);
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 *);
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 *);
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);
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 *);
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);
7815 __attribute__((visibility("default"))) void glPixelDataRangeNV (GLenum, GLsizei, GLvoid *);
7816 __attribute__((visibility("default"))) void glFlushPixelDataRangeNV (GLenum);
7818 typedef void ( * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
7819 typedef void ( * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
7825 __attribute__((visibility("default"))) void glPrimitiveRestartNV (void);
7826 __attribute__((visibility("default"))) void glPrimitiveRestartIndexNV (GLuint);
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);
7834 typedef GLvoid* ( * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
7835 typedef void ( * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
7841 __attribute__((visibility("default"))) void glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum);
7842 __attribute__((visibility("default"))) void glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint);
7844 typedef void ( * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
7845 typedef void ( * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
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 *);
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);
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);
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);
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);
7907 __attribute__((visibility("default"))) void glStringMarkerGREMEDY (GLsizei, const GLvoid *);
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);
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);
7917 typedef void ( * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7923 __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
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 *);
7930 typedef void ( * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
7931 typedef void ( * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
7937 __attribute__((visibility("default"))) void glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
7938 __attribute__((visibility("default"))) void glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
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);
7947 __attribute__((visibility("default"))) void glBufferParameteriAPPLE (GLenum, GLenum, GLint);
7948 __attribute__((visibility("default"))) void glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr);
7950 typedef void ( * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
7951 typedef void ( * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
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 *);
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);
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);
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);
8009 __attribute__((visibility("default"))) void glProgramParameteriEXT (GLuint, GLenum, GLint);
8011 typedef void ( * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
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 *);
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);
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 *);
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);
8097 __attribute__((visibility("default"))) void glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei);
8098 __attribute__((visibility("default"))) void glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
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);
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);
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);
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 *);
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);
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);
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);
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 *);
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);
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);
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);
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);
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);
8212 __attribute__((visibility("default"))) void glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data);
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
8222 # 259 "glheader.h" 2
8223 # 33 "texcompress_fxt1.c" 2
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;
8236 GLboolean floatMode;
8237 GLboolean colorIndexMode;
8238 GLuint doubleBufferMode;
8241 GLboolean haveAccumBuffer;
8242 GLboolean haveDepthBuffer;
8243 GLboolean haveStencilBuffer;
8245 GLint redBits, greenBits, blueBits, alphaBits;
8246 GLuint redMask, greenMask, blueMask, alphaMask;
8250 GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
8254 GLint numAuxBuffers;
8270 GLint transparentPixel;
8272 GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha;
8273 GLint transparentIndex;
8276 GLint sampleBuffers;
8286 GLint maxPbufferWidth;
8287 GLint maxPbufferHeight;
8288 GLint maxPbufferPixels;
8289 GLint optimalPbufferWidth;
8290 GLint optimalPbufferHeight;
8293 GLint visualSelectGroup;
8301 GLint bindToTextureRgb;
8302 GLint bindToTextureRgba;
8303 GLint bindToMipmapTexture;
8304 GLint bindToTextureTargets;
8309 typedef union { GLfloat f; GLint i; } fi_type;
8311 static __inline__ GLfloat LOG2(GLfloat val)
8316 log_2 = ((num.i >> 23) & 255) - 128;
8317 num.i &= ~(255 << 23);
8319 num.f = ((-1.0f/3) * num.f + 2) * num.f - 2.0f/3;
8320 return num.f + log_2;
8323 static __inline__ int IS_INF_OR_NAN( float x )
8327 return !(int)((unsigned int)((tmp.i & 0x7fffffff)-0x7f800000) >> 31);
8330 static __inline__ int GET_FLOAT_BITS( float x )
8337 static __inline__ int ifloor(float f)
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;
8350 static __inline__ int iceil(float f)
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;
8362 static __inline__ GLboolean
8363 _mesa_little_endian(void)
8365 const GLuint ui = 1;
8366 return *((const GLubyte *) &ui);
8376 _mesa_malloc( size_t bytes );
8379 _mesa_calloc( size_t bytes );
8382 _mesa_free( void *ptr );
8385 _mesa_align_malloc( size_t bytes, unsigned long alignment );
8388 _mesa_align_calloc( size_t bytes, unsigned long alignment );
8391 _mesa_align_free( void *ptr );
8394 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize,
8395 unsigned long alignment);
8398 _mesa_exec_malloc( GLuint size );
8401 _mesa_exec_free( void *addr );
8404 _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize );
8407 _mesa_memcpy( void *dest, const void *src, size_t n );
8410 _mesa_memset( void *dst, int val, size_t n );
8413 _mesa_memset16( unsigned short *dst, unsigned short val, size_t n );
8416 _mesa_bzero( void *dst, size_t n );
8419 _mesa_memcmp( const void *s1, const void *s2, size_t n );
8422 _mesa_sin(double a);
8425 _mesa_sinf(float a);
8428 _mesa_cos(double a);
8431 _mesa_asinf(float x);
8434 _mesa_atanf(float x);
8437 _mesa_sqrtd(double x);
8440 _mesa_sqrtf(float x);
8443 _mesa_inv_sqrtf(float x);
8446 _mesa_init_sqrt_table(void);
8449 _mesa_pow(double x, double y);
8458 _mesa_ffsll(long long i);
8462 _mesa_bitcount(unsigned int n);
8465 _mesa_float_to_half(float f);
8468 _mesa_half_to_float(GLhalfARB h);
8472 _mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size,
8473 int (*compar)(const void *, const void *) );
8476 _mesa_getenv( const char *var );
8479 _mesa_strstr( const char *haystack, const char *needle );
8482 _mesa_strncat( char *dest, const char *src, size_t n );
8485 _mesa_strcpy( char *dest, const char *src );
8488 _mesa_strncpy( char *dest, const char *src, size_t n );
8491 _mesa_strlen( const char *s );
8494 _mesa_strcmp( const char *s1, const char *s2 );
8497 _mesa_strncmp( const char *s1, const char *s2, size_t n );
8500 _mesa_strdup( const char *s );
8503 _mesa_atoi( const char *s );
8506 _mesa_strtod( const char *s, char **end );
8509 _mesa_sprintf( char *str, const char *fmt, ... );
8512 _mesa_printf( const char *fmtString, ... );
8515 _mesa_vsprintf( char *str, const char *fmt, va_list args );
8519 _mesa_warning( __GLcontext *gc, const char *fmtString, ... );
8522 _mesa_problem( const __GLcontext *ctx, const char *fmtString, ... );
8525 _mesa_error( __GLcontext *ctx, GLenum error, const char *fmtString, ... );
8528 _mesa_debug( const __GLcontext *ctx, const char *fmtString, ... );
8531 _mesa_exit( int status );
8532 # 34 "texcompress_fxt1.c" 2
8539 extern GLfloat _mesa_ubyte_to_float_color_tab[256];
8541 # 35 "texcompress_fxt1.c" 2
8546 # 1 "../glapi/glapi.h" 1
8547 # 48 "../glapi/glapi.h"
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
8552 # 1 "../glapi/glapitable.h" 1
8553 # 40 "../glapi/glapitable.h"
8554 typedef void (*_glapi_proc)(void);
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);
9331 # 50 "../glapi/glapi.h" 2
9333 # 1 "../glapi/glthread.h" 1
9334 # 93 "../glapi/glthread.h"
9336 # 1 "/usr/include/pthread.h" 1 3 4
9337 # 24 "/usr/include/pthread.h" 3 4
9339 # 1 "/usr/include/sched.h" 1 3 4
9340 # 29 "/usr/include/sched.h" 3 4
9342 # 1 "/usr/include/time.h" 1 3 4
9343 # 30 "/usr/include/sched.h" 2 3 4
9347 # 1 "/usr/include/bits/sched.h" 1 3 4
9348 # 66 "/usr/include/bits/sched.h" 3 4
9351 int __sched_priority;
9358 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
9359 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
9362 extern int unshare (int __flags) __attribute__ ((__nothrow__));
9365 extern int sched_getcpu (void) __attribute__ ((__nothrow__));
9366 # 93 "/usr/include/bits/sched.h" 3 4
9367 struct __sched_param
9369 int __sched_priority;
9371 # 108 "/usr/include/bits/sched.h" 3 4
9372 typedef unsigned long int __cpu_mask;
9381 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
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
9393 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
9394 __attribute__ ((__nothrow__));
9397 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
9400 extern int sched_setscheduler (__pid_t __pid, int __policy,
9401 __const struct sched_param *__param) __attribute__ ((__nothrow__));
9404 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
9407 extern int sched_yield (void) __attribute__ ((__nothrow__));
9410 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
9413 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
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__));
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
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
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
9454 __const char *tm_zone;
9460 # 162 "/usr/include/time.h" 3 4
9463 struct timespec it_interval;
9464 struct timespec it_value;
9469 # 181 "/usr/include/time.h" 3 4
9473 extern clock_t clock (void) __attribute__ ((__nothrow__));
9476 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
9479 extern double difftime (time_t __time1, time_t __time0)
9480 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
9483 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
9489 extern size_t strftime (char *__restrict __s, size_t __maxsize,
9490 __const char *__restrict __format,
9491 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
9497 extern char *strptime (__const char *__restrict __s,
9498 __const char *__restrict __fmt, struct tm *__tp)
9499 __attribute__ ((__nothrow__));
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__));
9512 extern char *strptime_l (__const char *__restrict __s,
9513 __const char *__restrict __fmt, struct tm *__tp,
9514 __locale_t __loc) __attribute__ ((__nothrow__));
9521 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
9525 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
9531 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
9532 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
9536 extern struct tm *localtime_r (__const time_t *__restrict __timer,
9537 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
9543 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
9546 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
9554 extern char *asctime_r (__const struct tm *__restrict __tp,
9555 char *__restrict __buf) __attribute__ ((__nothrow__));
9558 extern char *ctime_r (__const time_t *__restrict __timer,
9559 char *__restrict __buf) __attribute__ ((__nothrow__));
9564 extern char *__tzname[2];
9565 extern int __daylight;
9566 extern long int __timezone;
9571 extern char *tzname[2];
9575 extern void tzset (void) __attribute__ ((__nothrow__));
9579 extern int daylight;
9580 extern long int timezone;
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__));
9591 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
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);
9601 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
9604 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
9607 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
9608 __attribute__ ((__nothrow__));
9615 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
9616 __const struct timespec *__req,
9617 struct timespec *__rem);
9620 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
9625 extern int timer_create (clockid_t __clock_id,
9626 struct sigevent *__restrict __evp,
9627 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
9630 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
9633 extern int timer_settime (timer_t __timerid, int __flags,
9634 __const struct itimerspec *__restrict __value,
9635 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
9638 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
9639 __attribute__ ((__nothrow__));
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
9654 # 1 "/usr/include/signal.h" 1 3 4
9655 # 31 "/usr/include/signal.h" 3 4
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
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
9670 # 1 "/usr/include/bits/wordsize.h" 1 3 4
9671 # 32 "/usr/include/pthread.h" 2 3 4
9677 PTHREAD_CREATE_JOINABLE,
9679 PTHREAD_CREATE_DETACHED
9687 PTHREAD_MUTEX_TIMED_NP,
9688 PTHREAD_MUTEX_RECURSIVE_NP,
9689 PTHREAD_MUTEX_ERRORCHECK_NP,
9690 PTHREAD_MUTEX_ADAPTIVE_NP
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
9700 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
9709 PTHREAD_MUTEX_STALLED_NP,
9710 PTHREAD_MUTEX_ROBUST_NP
9720 PTHREAD_PRIO_INHERIT,
9721 PTHREAD_PRIO_PROTECT
9723 # 114 "/usr/include/pthread.h" 3 4
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
9731 # 144 "/usr/include/pthread.h" 3 4
9734 PTHREAD_INHERIT_SCHED,
9736 PTHREAD_EXPLICIT_SCHED
9744 PTHREAD_SCOPE_SYSTEM,
9746 PTHREAD_SCOPE_PROCESS
9754 PTHREAD_PROCESS_PRIVATE,
9756 PTHREAD_PROCESS_SHARED
9759 # 179 "/usr/include/pthread.h" 3 4
9760 struct _pthread_cleanup_buffer
9762 void (*__routine) (void *);
9765 struct _pthread_cleanup_buffer *__prev;
9771 PTHREAD_CANCEL_ENABLE,
9773 PTHREAD_CANCEL_DISABLE
9778 PTHREAD_CANCEL_DEFERRED,
9780 PTHREAD_CANCEL_ASYNCHRONOUS
9783 # 217 "/usr/include/pthread.h" 3 4
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)));
9798 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
9806 extern int pthread_join (pthread_t __th, void **__thread_return);
9811 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__));
9819 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
9820 __const struct timespec *__abstime);
9827 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
9831 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
9834 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
9842 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9845 extern int pthread_attr_destroy (pthread_attr_t *__attr)
9846 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9849 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
9851 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9854 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
9856 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9860 extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
9861 size_t *__guardsize)
9862 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9865 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
9867 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9871 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
9873 struct sched_param *__restrict __param)
9874 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
9882 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
9883 __attr, int *__restrict __policy)
9884 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9887 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
9888 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9891 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
9892 __attr, int *__restrict __inherit)
9893 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9896 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
9898 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
9902 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
9903 int *__restrict __scope)
9904 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9907 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
9908 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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__));
9919 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
9921 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
9924 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
9925 __attr, size_t *__restrict __stacksize)
9926 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
9931 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
9933 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
9945 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
9946 size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
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)));
9968 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
9969 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
9977 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
9978 __const struct sched_param *__param)
9979 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
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)));
9988 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
9989 __attribute__ ((__nothrow__));
9994 extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__));
9997 extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__));
10005 extern int pthread_yield (void) __attribute__ ((__nothrow__));
10010 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
10011 __const cpu_set_t *__cpuset)
10012 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
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);
10026 extern int pthread_setcanceltype (int __type, int *__oldtype);
10029 extern int pthread_cancel (pthread_t __th);
10034 extern void pthread_testcancel (void);
10043 __jmp_buf __cancel_jmp_buf;
10044 int __mask_was_saved;
10045 } __cancel_jmp_buf[1];
10047 } __pthread_unwind_buf_t __attribute__ ((__aligned__));
10048 # 509 "/usr/include/pthread.h" 3 4
10049 struct __pthread_cleanup_frame
10051 void (*__cancel_routine) (void *);
10052 void *__cancel_arg;
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)));
10071 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
10072 __attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__))
10074 __attribute__ ((__weak__))
10080 struct __jmp_buf_tag;
10081 extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__));
10087 extern int pthread_mutex_init (pthread_mutex_t *__mutex,
10088 __const pthread_mutexattr_t *__mutexattr)
10089 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10092 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
10093 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10096 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
10097 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10100 extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
10101 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10105 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
10106 __const struct timespec *__restrict
10107 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10111 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
10112 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10117 extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
10118 __restrict __mutex,
10119 int *__restrict __prioceiling)
10120 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10124 extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
10126 int *__restrict __old_ceiling)
10127 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
10133 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
10134 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10142 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
10143 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10146 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
10147 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10150 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
10152 int *__restrict __pshared)
10153 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10156 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
10158 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10162 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
10163 __attr, int *__restrict __kind)
10164 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10169 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
10170 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10173 extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
10175 int *__restrict __protocol)
10176 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10180 extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
10182 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10185 extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
10187 int *__restrict __prioceiling)
10188 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10191 extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
10193 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10198 extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
10200 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10203 extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
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)));
10212 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
10213 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10216 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
10217 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10220 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
10221 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10225 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
10226 __const struct timespec *__restrict
10227 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10231 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
10232 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10235 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
10236 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10240 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
10241 __const struct timespec *__restrict
10242 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10246 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
10247 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10253 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
10254 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10257 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
10258 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10261 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
10263 int *__restrict __pshared)
10264 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10267 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
10269 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10272 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
10274 int *__restrict __pref)
10275 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10278 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
10279 int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
10292 extern int pthread_cond_destroy (pthread_cond_t *__cond)
10293 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10296 extern int pthread_cond_signal (pthread_cond_t *__cond)
10297 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10300 extern int pthread_cond_broadcast (pthread_cond_t *__cond)
10301 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
10320 extern int pthread_condattr_init (pthread_condattr_t *__attr)
10321 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10324 extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
10325 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10328 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
10330 int *__restrict __pshared)
10331 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10334 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
10335 int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10339 extern int pthread_condattr_getclock (__const pthread_condattr_t *
10341 __clockid_t *__restrict __clock_id)
10342 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
10353 extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
10354 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10357 extern int pthread_spin_lock (pthread_spinlock_t *__lock)
10358 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10361 extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
10362 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10365 extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
10366 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
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)));
10379 extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
10380 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10383 extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
10384 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10388 extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
10389 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10392 extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
10393 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
10396 extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
10398 int *__restrict __pshared)
10399 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
10402 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
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)));
10411 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
10414 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
10417 extern int pthread_setspecific (pthread_key_t __key,
10418 __const void *__pointer) __attribute__ ((__nothrow__)) ;
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__));
10434 extern __inline int
10435 __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
10437 return __thread1 == __thread2;
10439 # 94 "../glapi/glthread.h" 2
10446 typedef pthread_t _glthread_Thread;
10448 typedef pthread_mutex_t _glthread_Mutex;
10449 # 286 "../glapi/glthread.h"
10450 extern unsigned long
10451 _glthread_GetID(void);
10455 _glthread_InitTSD(_glthread_TSD *);
10459 _glthread_GetTSD(_glthread_TSD *);
10463 _glthread_SetTSD(_glthread_TSD *, void *);
10467 extern __thread struct _glapi_table * _glapi_tls_Dispatch
10468 __attribute__((tls_model("initial-exec")));
10469 # 51 "../glapi/glapi.h" 2
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;
10477 extern __thread void * _glapi_tls_Context
10478 __attribute__((tls_model("initial-exec")));
10479 # 98 "../glapi/glapi.h"
10481 _glapi_noop_enable_warnings(GLboolean enable);
10484 _glapi_set_warning_func(_glapi_warning_func func);
10487 _glapi_check_multithread(void);
10491 _glapi_set_context(void *context);
10495 _glapi_get_context(void);
10499 _glapi_set_dispatch(struct _glapi_table *dispatch);
10502 extern struct _glapi_table *
10503 _glapi_get_dispatch(void);
10507 _glapi_begin_dispatch_override(struct _glapi_table *override);
10511 _glapi_end_dispatch_override(int layer);
10514 struct _glapi_table *
10515 _glapi_get_override_dispatch(int layer);
10519 _glapi_get_dispatch_table_size(void);
10523 _glapi_check_table(const struct _glapi_table *table);
10527 _glapi_add_dispatch( const char * const * function_names,
10528 const char * parameter_signature );
10531 _glapi_get_proc_offset(const char *funcName);
10535 _glapi_get_proc_address(const char *funcName);
10538 extern const char *
10539 _glapi_get_proc_name(GLuint offset);
10546 # 1 "../glapi/glapitable.h" 1
10549 # 1 "../glapi/glthread.h" 1
10552 # 1 "../math/m_matrix.h" 1
10553 # 55 "../math/m_matrix.h"
10554 enum GLmatrixtype {
10558 MATRIX_PERSPECTIVE,
10573 enum GLmatrixtype type;
10580 _math_matrix_ctr( GLmatrix *m );
10583 _math_matrix_dtr( GLmatrix *m );
10586 _math_matrix_alloc_inv( GLmatrix *m );
10589 _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b );
10592 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *b );
10595 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m );
10598 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
10601 _math_matrix_rotate( GLmatrix *m, GLfloat angle,
10602 GLfloat x, GLfloat y, GLfloat z );
10605 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
10608 _math_matrix_ortho( GLmatrix *mat,
10609 GLfloat left, GLfloat right,
10610 GLfloat bottom, GLfloat top,
10611 GLfloat nearval, GLfloat farval );
10614 _math_matrix_frustum( GLmatrix *mat,
10615 GLfloat left, GLfloat right,
10616 GLfloat bottom, GLfloat top,
10617 GLfloat nearval, GLfloat farval );
10620 _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height,
10621 GLfloat zNear, GLfloat zFar, GLfloat depthMax);
10624 _math_matrix_set_identity( GLmatrix *dest );
10627 _math_matrix_copy( GLmatrix *to, const GLmatrix *from );
10630 _math_matrix_analyse( GLmatrix *mat );
10633 _math_matrix_print( const GLmatrix *m );
10636 _math_matrix_is_length_preserving( const GLmatrix *m );
10639 _math_matrix_has_rotation( const GLmatrix *m );
10642 _math_matrix_is_general_scale( const GLmatrix *m );
10645 _math_matrix_is_dirty( const GLmatrix *m );
10654 _math_transposef( GLfloat to[16], const GLfloat from[16] );
10657 _math_transposed( GLdouble to[16], const GLdouble from[16] );
10660 _math_transposefd( GLfloat to[16], const GLdouble from[16] );
10666 typedef GLubyte GLchan;
10668 typedef GLubyte GLstencil;
10670 typedef int GLfixed;
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;
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
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)
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)
10750 BUFFER_FRONT_LEFT = 0,
10751 BUFFER_BACK_LEFT = 1,
10752 BUFFER_FRONT_RIGHT = 2,
10753 BUFFER_BACK_RIGHT = 3,
10759 BUFFER_STENCIL = 9,
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,
10772 struct gl_color_table
10774 GLenum InternalFormat;
10775 GLenum _BaseFormat;
10783 GLubyte LuminanceSize;
10784 GLubyte IntensitySize;
10787 struct gl_shine_tab
10789 struct gl_shine_tab *next, *prev;
10790 GLfloat tab[256 +1];
10801 struct gl_light *next;
10802 struct gl_light *prev;
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;
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;
10830 GLfloat _SpotExpTable[512][2];
10831 GLfloat _MatAmbient[2][3];
10832 GLfloat _MatDiffuse[2][3];
10833 GLfloat _MatSpecular[2][3];
10843 struct gl_lightmodel
10845 GLfloat Ambient[4];
10846 GLboolean LocalViewer;
10848 GLenum ColorControl;
10858 GLfloat Attrib[12][4];
10865 struct gl_accum_attrib
10867 GLfloat ClearColor[4];
10874 struct gl_colorbuffer_attrib
10877 GLclampf ClearColor[4];
10880 GLubyte ColorMask[4];
10882 GLenum DrawBuffer[4];
10888 GLboolean AlphaEnabled;
10897 GLboolean BlendEnabled;
10898 GLenum BlendSrcRGB;
10899 GLenum BlendDstRGB;
10902 GLenum BlendEquationRGB;
10903 GLenum BlendEquationA;
10904 GLfloat BlendColor[4];
10912 GLboolean IndexLogicOpEnabled;
10913 GLboolean ColorLogicOpEnabled;
10914 GLboolean _LogicOpEnabled;
10917 GLboolean DitherFlag;
10919 GLenum ClampFragmentColor;
10920 GLenum ClampReadColor;
10927 struct gl_current_attrib
10936 GLfloat Attrib[VERT_ATTRIB_MAX][4];
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;
10958 struct gl_depthbuffer_attrib
10964 GLboolean BoundsTest;
10965 GLfloat BoundsMin, BoundsMax;
10972 struct gl_enable_attrib
10974 GLboolean AlphaTest;
10975 GLboolean AutoNormal;
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;
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];
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;
11026 GLboolean StencilTwoSide;
11027 GLboolean MultisampleEnabled;
11028 GLboolean SampleAlphaToCoverage;
11029 GLboolean SampleAlphaToOne;
11030 GLboolean SampleCoverage;
11031 GLboolean SampleCoverageInvert;
11032 GLboolean RasterPositionUnclipped;
11036 GLboolean TextureColorTable[8];
11038 GLboolean VertexProgram;
11039 GLboolean VertexProgramPointSize;
11040 GLboolean VertexProgramTwoSide;
11042 GLboolean PointSprite;
11043 GLboolean FragmentShaderATI;
11050 struct gl_eval_attrib
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;
11084 GLfloat MapGrid1u1, MapGrid1u2, MapGrid1du;
11085 GLint MapGrid2un, MapGrid2vn;
11086 GLfloat MapGrid2u1, MapGrid2u2, MapGrid2du;
11087 GLfloat MapGrid2v1, MapGrid2v2, MapGrid2dv;
11095 struct gl_fog_attrib
11104 GLboolean ColorSumEnabled;
11105 GLenum FogCoordinateSource;
11115 struct gl_hint_attrib
11117 GLenum PerspectiveCorrection;
11118 GLenum PointSmooth;
11120 GLenum PolygonSmooth;
11122 GLenum ClipVolumeClipping;
11123 GLenum TextureCompression;
11124 GLenum GenerateMipmap;
11125 GLenum FragmentShaderDerivative;
11132 struct gl_histogram_attrib
11136 GLuint Count[256][4];
11142 GLubyte LuminanceSize;
11149 struct gl_minmax_attrib
11153 GLfloat Min[4], Max[4];
11160 struct gl_convolution_attrib
11163 GLenum InternalFormat;
11166 GLfloat Filter[9 * 9 * 4];
11169 struct gl_light_attrib
11171 struct gl_light Light[8];
11172 struct gl_lightmodel Model;
11178 struct gl_material Material;
11183 GLenum ColorMaterialFace;
11184 GLenum ColorMaterialMode;
11185 GLbitfield ColorMaterialBitmask;
11186 GLboolean ColorMaterialEnabled;
11187 GLenum ClampVertexColor;
11189 struct gl_light EnabledList;
11195 GLboolean _NeedEyeCoords;
11196 GLboolean _NeedVertices;
11198 GLfloat _BaseColor[2][3];
11206 struct gl_line_attrib
11208 GLboolean SmoothFlag;
11209 GLboolean StippleFlag;
11210 GLushort StipplePattern;
11211 GLint StippleFactor;
11220 struct gl_list_attrib
11229 struct gl_list_instruction
11232 void (*Execute)( GLcontext *ctx, void *data );
11233 void (*Destroy)( GLcontext *ctx, void *data );
11234 void (*Print)( GLcontext *ctx, void *data );
11242 struct gl_list_extensions
11244 struct gl_list_instruction Opcode[16];
11252 struct gl_multisample_attrib
11255 GLboolean SampleAlphaToCoverage;
11256 GLboolean SampleAlphaToOne;
11257 GLboolean SampleCoverage;
11258 GLfloat SampleCoverageValue;
11259 GLboolean SampleCoverageInvert;
11277 struct gl_pixelmaps
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;
11295 struct gl_pixel_attrib
11303 GLfloat RedBias, RedScale;
11304 GLfloat GreenBias, GreenScale;
11305 GLfloat BlueBias, BlueScale;
11306 GLfloat AlphaBias, AlphaScale;
11307 GLfloat DepthBias, DepthScale;
11308 GLint IndexShift, IndexOffset;
11312 GLboolean MapColorFlag;
11313 GLboolean MapStencilFlag;
11316 GLboolean ColorTableEnabled[3];
11317 GLfloat ColorTableScale[3][4];
11318 GLfloat ColorTableBias[3][4];
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];
11333 GLfloat PostColorMatrixScale[4];
11334 GLfloat PostColorMatrixBias[4];
11338 GLboolean HistogramEnabled;
11339 GLboolean MinMaxEnabled;
11344 GLfloat ZoomX, ZoomY;
11347 GLfloat TextureColorTableScale[4];
11348 GLfloat TextureColorTableBias[4];
11355 struct gl_point_attrib
11357 GLboolean SmoothFlag;
11361 GLfloat MinSize, MaxSize;
11363 GLboolean _Attenuated;
11364 GLboolean PointSprite;
11365 GLboolean CoordReplace[8];
11366 GLenum SpriteRMode;
11367 GLenum SpriteOrigin;
11374 struct gl_polygon_attrib
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;
11395 struct gl_scissor_attrib
11399 GLsizei Width, Height;
11406 struct gl_stencil_attrib
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];
11417 GLuint ValueMask[2];
11418 GLuint WriteMask[2];
11422 typedef void (*FetchTexelFuncC)( const struct gl_texture_image *texImage,
11423 GLint col, GLint row, GLint img,
11424 GLchan *texelOut );
11431 typedef void (*FetchTexelFuncF)( const struct gl_texture_image *texImage,
11432 GLint col, GLint row, GLint img,
11433 GLfloat *texelOut );
11436 typedef void (*StoreTexelFunc)(struct gl_texture_image *texImage,
11437 GLint col, GLint row, GLint img,
11438 const void *texel);
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);
11446 struct gl_texture_format
11460 GLubyte LuminanceBits;
11461 GLubyte IntensityBits;
11464 GLubyte StencilBits;
11468 StoreTexImageFunc StoreImage;
11474 FetchTexelFuncC FetchTexel1D;
11475 FetchTexelFuncC FetchTexel2D;
11476 FetchTexelFuncC FetchTexel3D;
11477 FetchTexelFuncF FetchTexel1Df;
11478 FetchTexelFuncF FetchTexel2Df;
11479 FetchTexelFuncF FetchTexel3Df;
11482 StoreTexelFunc StoreTexel;
11485 struct gl_texture_image
11487 GLenum _BaseFormat;
11493 GLint InternalFormat;
11505 GLfloat WidthScale;
11506 GLfloat HeightScale;
11507 GLfloat DepthScale;
11508 GLboolean IsClientData;
11509 GLboolean _IsPowerOfTwo;
11511 const struct gl_texture_format *TexFormat;
11513 struct gl_texture_object *TexObject;
11515 FetchTexelFuncC FetchTexelc;
11516 FetchTexelFuncF FetchTexelf;
11518 GLboolean IsCompressed;
11519 GLuint CompressedSize;
11522 GLuint *ImageOffsets;
11534 struct gl_texture_object
11536 _glthread_Mutex Mutex;
11541 GLfloat BorderColor[4];
11542 GLchan _BorderChan[4];
11553 GLfloat MaxAnisotropy;
11554 GLboolean CompareFlag;
11555 GLenum CompareOperator;
11556 GLfloat ShadowAmbient;
11557 GLenum CompareMode;
11558 GLenum CompareFunc;
11561 GLfloat _MaxLambda;
11562 GLboolean GenerateMipmap;
11563 GLboolean Complete;
11566 struct gl_texture_image *Image[6][12];
11569 struct gl_color_table Palette;
11574 struct gl_tex_env_combine_state
11578 GLenum SourceRGB[3];
11580 GLenum OperandRGB[3];
11581 GLenum OperandA[3];
11582 GLuint ScaleShiftRGB;
11583 GLuint ScaleShiftA;
11584 GLuint _NumArgsRGB;
11594 struct gl_texture_unit
11596 GLbitfield Enabled;
11597 GLbitfield _ReallyEnabled;
11600 GLfloat EnvColor[4];
11601 GLbitfield TexGenEnabled;
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];
11628 struct gl_tex_env_combine_state Combine;
11634 struct gl_tex_env_combine_state _EnvMode;
11640 struct gl_tex_env_combine_state *_CurrentCombine;
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;
11648 struct gl_texture_object *_Current;
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;
11657 struct gl_color_table ColorTable;
11658 struct gl_color_table ProxyColorTable;
11659 GLboolean ColorTableEnabled;
11662 struct texenvprog_cache_item {
11665 struct gl_fragment_program *data;
11666 struct texenvprog_cache_item *next;
11669 struct texenvprog_cache {
11670 struct texenvprog_cache_item **items;
11671 GLuint size, n_items;
11678 struct gl_texture_attrib
11684 GLuint CurrentUnit;
11685 GLbitfield _EnabledUnits;
11686 GLbitfield _EnabledCoordUnits;
11687 GLbitfield _GenFlags;
11688 GLbitfield _TexGenEnabled;
11689 GLbitfield _TexMatEnabled;
11692 struct gl_texture_unit Unit[8];
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;
11701 GLboolean SharedPalette;
11702 struct gl_color_table Palette;
11705 struct texenvprog_cache env_fp_cache;
11712 struct gl_transform_attrib
11715 GLfloat EyeUserPlane[6][4];
11716 GLfloat _ClipUserPlane[6][4];
11717 GLbitfield ClipPlanesEnabled;
11718 GLboolean Normalize;
11719 GLboolean RescaleNormals;
11720 GLboolean RasterPositionUnclipped;
11722 GLboolean CullVertexFlag;
11723 GLfloat CullEyePos[4];
11724 GLfloat CullObjPos[4];
11731 struct gl_viewport_attrib
11734 GLsizei Width, Height;
11736 GLmatrix _WindowMap;
11743 struct gl_attrib_node
11747 struct gl_attrib_node *next;
11754 struct gl_buffer_object
11761 GLsizeiptrARB Size;
11771 struct gl_pixelstore_attrib
11779 GLboolean SwapBytes;
11780 GLboolean LsbFirst;
11781 GLboolean ClientStorage;
11783 struct gl_buffer_object *BufferObj;
11791 struct gl_client_array
11797 const GLubyte *Ptr;
11799 GLboolean Normalized;
11802 struct gl_buffer_object *BufferObj;
11803 GLuint _MaxElement;
11811 struct gl_array_object
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];
11829 struct gl_client_array VertexAttrib[VERT_ATTRIB_MAX];
11832 GLbitfield _Enabled;
11839 struct gl_array_attrib
11841 struct gl_array_object *ArrayObj;
11842 struct gl_array_object *DefaultArrayObj;
11844 GLint ActiveTexture;
11848 GLbitfield NewState;
11851 struct gl_buffer_object *NullBufferObj;
11852 struct gl_buffer_object *ArrayBufferObj;
11853 struct gl_buffer_object *ElementArrayBufferObj;
11855 GLuint _MaxElement;
11875 struct gl_selection
11879 GLuint BufferCount;
11881 GLuint NameStackDepth;
11882 GLuint NameStack[64];
11895 GLfloat u1, u2, du;
11907 GLfloat u1, u2, du;
11908 GLfloat v1, v2, dv;
11916 struct gl_evaluators
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];
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];
11953 PROGRAM_TEMPORARY = 0,
11954 PROGRAM_LOCAL_PARAM = 1,
11955 PROGRAM_ENV_PARAM = 2,
11956 PROGRAM_STATE_VAR = 3,
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,
11972 struct prog_instruction;
11973 struct gl_program_parameter_list;
11986 GLboolean Resident;
11988 struct prog_instruction *Instructions;
11990 GLbitfield InputsRead;
11991 GLbitfield OutputsWritten;
11992 GLbitfield TexturesUsed[8];
11995 struct gl_program_parameter_list *Parameters;
11997 GLfloat LocalParams[128][4];
12000 struct gl_program_parameter_list *Varying;
12002 struct gl_program_parameter_list *Attributes;
12006 GLuint NumInstructions;
12007 GLuint NumTemporaries;
12008 GLuint NumParameters;
12009 GLuint NumAttributes;
12010 GLuint NumAddressRegs;
12011 GLuint NumAluInstructions;
12012 GLuint NumTexInstructions;
12013 GLuint NumTexIndirections;
12017 GLuint NumNativeInstructions;
12018 GLuint NumNativeTemporaries;
12019 GLuint NumNativeParameters;
12020 GLuint NumNativeAttributes;
12021 GLuint NumNativeAddressRegs;
12022 GLuint NumNativeAluInstructions;
12023 GLuint NumNativeTexInstructions;
12024 GLuint NumNativeTexIndirections;
12030 struct gl_vertex_program
12032 struct gl_program Base;
12033 GLboolean IsNVProgram;
12034 GLboolean IsPositionInvariant;
12040 struct gl_fragment_program
12042 struct gl_program Base;
12044 GLboolean UsesKill;
12051 struct gl_program_state
12054 const char *ErrorString;
12061 struct gl_vertex_program_state
12064 GLboolean _Enabled;
12065 GLboolean PointSizeEnabled;
12066 GLboolean TwoSideEnabled;
12067 struct gl_vertex_program *Current;
12072 struct gl_vertex_program *_Current;
12074 GLfloat Parameters[128][4];
12077 GLenum TrackMatrix[128 / 4];
12078 GLenum TrackMatrixTransform[128 / 4];
12081 GLboolean _MaintainTnlProgram;
12084 struct gl_vertex_program *_TnlProgram;
12087 GLprogramcallbackMESA Callback;
12088 GLvoid *CallbackData;
12089 GLboolean CallbackEnabled;
12090 GLuint CurrentPosition;
12098 struct gl_fragment_program_state
12101 GLboolean _Enabled;
12103 struct gl_fragment_program *Current;
12108 struct gl_fragment_program *_Current;
12110 GLfloat Parameters[128][4];
12113 GLboolean _MaintainTexEnvProgram;
12114 GLboolean _UseTexEnvProgram;
12117 struct gl_fragment_program *_TexEnvProgram;
12120 GLprogramcallbackMESA Callback;
12121 GLvoid *CallbackData;
12122 GLboolean CallbackEnabled;
12123 GLuint CurrentPosition;
12127 struct atifs_instruction;
12128 struct atifs_setupinst;
12133 struct ati_fragment_shader
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];
12145 GLubyte last_optype;
12146 GLboolean interpinp1;
12154 struct gl_ati_fragment_shader_state
12157 GLboolean _Enabled;
12158 GLboolean Compiling;
12159 GLfloat GlobalConstants[8][4];
12160 struct ati_fragment_shader *Current;
12167 struct gl_query_object
12170 GLuint64EXT Result;
12179 struct gl_query_state
12181 struct _mesa_HashTable *QueryObjects;
12182 struct gl_query_object *CurrentOcclusionObject;
12183 struct gl_query_object *CurrentTimerObject;
12196 GLboolean DeletePending;
12198 const GLchar *Source;
12199 GLboolean CompileStatus;
12200 GLuint NumPrograms;
12201 struct gl_program **Programs;
12209 struct gl_shader_program
12214 GLboolean DeletePending;
12217 struct gl_shader **Shaders;
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;
12234 struct gl_shader_state
12236 struct gl_shader_program *CurrentProgram;
12238 GLboolean EmitHighLevelInstructions;
12239 GLboolean EmitCondCodes;
12240 GLboolean EmitComments;
12248 struct gl_shared_state
12250 _glthread_Mutex Mutex;
12252 struct _mesa_HashTable *DisplayList;
12253 struct _mesa_HashTable *TexObjects;
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;
12265 _glthread_Mutex TexMutex;
12266 GLuint TextureStateStamp;
12268 struct _mesa_HashTable *Programs;
12270 struct gl_program *DefaultVertexProgram;
12273 struct gl_program *DefaultFragmentProgram;
12278 struct _mesa_HashTable *ATIShaders;
12279 struct ati_fragment_shader *DefaultFragmentShader;
12283 struct _mesa_HashTable *BufferObjects;
12288 struct _mesa_HashTable *ShaderObjects;
12292 struct _mesa_HashTable *RenderBuffers;
12293 struct _mesa_HashTable *FrameBuffers;
12297 struct _mesa_HashTable *ArrayObjects;
12302 struct gl_renderbuffer
12306 _glthread_Mutex Mutex;
12310 GLuint Width, Height;
12311 GLenum InternalFormat;
12312 GLenum _ActualFormat;
12313 GLenum _BaseFormat;
12322 GLubyte StencilBits;
12326 struct gl_renderbuffer *Wrapped;
12329 void (*Delete)(struct gl_renderbuffer *rb);
12332 GLboolean (*AllocStorage)(GLcontext *ctx, struct gl_renderbuffer *rb,
12333 GLenum internalFormat,
12334 GLuint width, GLuint height);
12336 void *(*GetPointer)(GLcontext *ctx, struct gl_renderbuffer *rb,
12342 void (*GetRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
12343 GLint x, GLint y, void *values);
12348 void (*GetValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
12349 const GLint x[], const GLint y[], void *values);
12354 void (*PutRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
12355 GLint x, GLint y, const void *values, const GLubyte *mask);
12362 void (*PutRowRGB)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
12363 GLint x, GLint y, const void *values, const GLubyte *mask);
12369 void (*PutMonoRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
12370 GLint x, GLint y, const void *value, const GLubyte *mask);
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);
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);
12392 struct gl_renderbuffer_attachment
12395 GLboolean Complete;
12398 struct gl_renderbuffer *Renderbuffer;
12401 struct gl_texture_object *Texture;
12402 GLuint TextureLevel;
12403 GLuint CubeMapFace;
12413 struct gl_framebuffer
12415 _glthread_Mutex Mutex;
12418 GLboolean DeletePending;
12424 GLboolean Initialized;
12426 GLuint Width, Height;
12430 GLint _Xmin, _Xmax;
12431 GLint _Ymin, _Ymax;
12437 GLfloat _DepthMaxF;
12444 struct gl_renderbuffer_attachment Attachment[BUFFER_COUNT];
12449 GLenum ColorDrawBuffer[4];
12450 GLenum ColorReadBuffer;
12453 GLbitfield _ColorDrawBufferMask[4];
12454 GLint _ColorReadBufferIndex;
12457 GLuint _NumColorDrawBuffers[4];
12458 struct gl_renderbuffer *_ColorDrawBuffers[4][4];
12459 struct gl_renderbuffer *_ColorReadBuffer;
12463 struct gl_renderbuffer *_DepthBuffer;
12464 struct gl_renderbuffer *_StencilBuffer;
12467 void (*Delete)(struct gl_framebuffer *fb);
12474 struct gl_program_constants
12477 GLuint MaxInstructions;
12478 GLuint MaxAluInstructions;
12479 GLuint MaxTexInstructions;
12480 GLuint MaxTexIndirections;
12483 GLuint MaxAddressRegs;
12484 GLuint MaxParameters;
12485 GLuint MaxLocalParams;
12486 GLuint MaxEnvParams;
12488 GLuint MaxNativeInstructions;
12489 GLuint MaxNativeAluInstructions;
12490 GLuint MaxNativeTexInstructions;
12491 GLuint MaxNativeTexIndirections;
12492 GLuint MaxNativeAttribs;
12493 GLuint MaxNativeTemps;
12494 GLuint MaxNativeAddressRegs;
12495 GLuint MaxNativeParameters;
12497 GLuint MaxUniformComponents;
12505 struct gl_constants
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;
12529 GLfloat MaxShininess;
12530 GLfloat MaxSpotExponent;
12531 GLuint MaxViewportWidth, MaxViewportHeight;
12532 struct gl_program_constants VertexProgram;
12533 struct gl_program_constants FragmentProgram;
12535 GLuint MaxProgramMatrices;
12536 GLuint MaxProgramMatrixStackDepth;
12538 GLboolean CheckArrayBounds;
12540 GLuint MaxDrawBuffers;
12542 GLenum ColorReadFormat;
12543 GLenum ColorReadType;
12545 GLuint MaxColorAttachments;
12546 GLuint MaxRenderbufferSize;
12548 GLuint MaxVertexTextureImageUnits;
12557 struct gl_extensions
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;
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;
12680 const GLubyte *String;
12687 struct gl_matrix_stack
12697 typedef union node Node;
12704 struct gl_pixelstore_attrib;
12705 struct mesa_display_list;
12707 struct dd_function_table {
12713 const GLubyte * (*GetString)( GLcontext *ctx, GLenum name );
12721 void (*UpdateState)( GLcontext *ctx, GLbitfield new_state );
12729 void (*GetBufferSize)( GLframebuffer *buffer,
12730 GLuint *width, GLuint *height );
12736 void (*ResizeBuffers)( GLcontext *ctx, GLframebuffer *fb,
12737 GLuint width, GLuint height);
12743 void (*Error)( GLcontext *ctx );
12748 void (*Finish)( GLcontext *ctx );
12753 void (*Flush)( GLcontext *ctx );
12760 void (*Clear)( GLcontext *ctx, GLbitfield buffers );
12765 void (*Accum)( GLcontext *ctx, GLenum op, GLfloat value );
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 );
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,
12785 void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy,
12786 GLsizei width, GLsizei height,
12787 GLint dstx, GLint dsty, GLenum type );
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 );
12797 const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx,
12798 GLint internalFormat, GLenum srcFormat, GLenum srcType );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
12883 void (*CopyTexImage1D)( GLcontext *ctx, GLenum target, GLint level,
12884 GLenum internalFormat, GLint x, GLint y,
12885 GLsizei width, GLint border );
12892 void (*CopyTexImage2D)( GLcontext *ctx, GLenum target, GLint level,
12893 GLenum internalFormat, GLint x, GLint y,
12894 GLsizei width, GLsizei height, GLint border );
12901 void (*CopyTexSubImage1D)( GLcontext *ctx, GLenum target, GLint level,
12903 GLint x, GLint y, GLsizei width );
12909 void (*CopyTexSubImage2D)( GLcontext *ctx, GLenum target, GLint level,
12910 GLint xoffset, GLint yoffset,
12912 GLsizei width, GLsizei height );
12918 void (*CopyTexSubImage3D)( GLcontext *ctx, GLenum target, GLint level,
12919 GLint xoffset, GLint yoffset, GLint zoffset,
12921 GLsizei width, GLsizei height );
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);
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 );
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 );
12957 void (*CompressedTexImage3D)( GLcontext *ctx, GLenum target,
12958 GLint level, GLint internalFormat,
12959 GLsizei width, GLsizei height, GLsizei depth,
12961 GLsizei imageSize, const GLvoid *data,
12962 struct gl_texture_object *texObj,
12963 struct gl_texture_image *texImage );
12965 void (*CompressedTexSubImage1D)(GLcontext *ctx, GLenum target, GLint level,
12966 GLint xoffset, GLsizei width,
12968 GLsizei imageSize, const GLvoid *data,
12969 struct gl_texture_object *texObj,
12970 struct gl_texture_image *texImage);
12976 void (*CompressedTexSubImage2D)(GLcontext *ctx, GLenum target, GLint level,
12977 GLint xoffset, GLint yoffset,
12978 GLsizei width, GLint height,
12980 GLsizei imageSize, const GLvoid *data,
12981 struct gl_texture_object *texObj,
12982 struct gl_texture_image *texImage);
12988 void (*CompressedTexSubImage3D)(GLcontext *ctx, GLenum target, GLint level,
12989 GLint xoffset, GLint yoffset, GLint zoffset,
12990 GLsizei width, GLint height, GLint depth,
12992 GLsizei imageSize, const GLvoid *data,
12993 struct gl_texture_object *texObj,
12994 struct gl_texture_image *texImage);
13000 void (*GetCompressedTexImage)(GLcontext *ctx, GLenum target, GLint level,
13002 const struct gl_texture_object *texObj,
13003 const struct gl_texture_image *texImage);
13009 GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width,
13010 GLsizei height, GLsizei depth,
13013 void (*BindTexture)( GLcontext *ctx, GLenum target,
13014 struct gl_texture_object *tObj );
13021 struct gl_texture_object * (*NewTextureObject)( GLcontext *ctx, GLuint name,
13029 void (*DeleteTexture)( GLcontext *ctx, struct gl_texture_object *tObj );
13034 struct gl_texture_image * (*NewTextureImage)( GLcontext *ctx );
13039 void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage );
13041 void* (*TextureMemCpy)( void *to, const void *from, size_t sz );
13046 GLboolean (*IsTextureResident)( GLcontext *ctx,
13047 struct gl_texture_object *t );
13052 void (*PrioritizeTexture)( GLcontext *ctx, struct gl_texture_object *t,
13053 GLclampf priority );
13058 void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber );
13066 void (*UpdateTexturePalette)( GLcontext *ctx,
13067 struct gl_texture_object *tObj );
13075 void (*CopyColorTable)( GLcontext *ctx,
13076 GLenum target, GLenum internalformat,
13077 GLint x, GLint y, GLsizei width );
13079 void (*CopyColorSubTable)( GLcontext *ctx,
13080 GLenum target, GLsizei start,
13081 GLint x, GLint y, GLsizei width );
13083 void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target,
13084 GLenum internalFormat,
13085 GLint x, GLint y, GLsizei width );
13087 void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target,
13088 GLenum internalFormat,
13090 GLsizei width, GLsizei height );
13092 void (*BindProgram)(GLcontext *ctx, GLenum target, struct gl_program *prog);
13094 struct gl_program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id);
13096 void (*DeleteProgram)(GLcontext *ctx, struct gl_program *prog);
13098 void (*ProgramStringNotify)(GLcontext *ctx, GLenum target,
13099 struct gl_program *prog);
13101 void (*GetProgramRegister)(GLcontext *ctx, enum register_file file,
13102 GLuint index, GLfloat val[4]);
13105 GLboolean (*IsProgramNative)(GLcontext *ctx, GLenum target,
13106 struct gl_program *prog);
13108 void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref);
13110 void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]);
13112 void (*BlendEquationSeparate)(GLcontext *ctx, GLenum modeRGB, GLenum modeA);
13114 void (*BlendFuncSeparate)(GLcontext *ctx,
13115 GLenum sfactorRGB, GLenum dfactorRGB,
13116 GLenum sfactorA, GLenum dfactorA);
13118 void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]);
13120 void (*ClearDepth)(GLcontext *ctx, GLclampd d);
13122 void (*ClearIndex)(GLcontext *ctx, GLuint index);
13124 void (*ClearStencil)(GLcontext *ctx, GLint s);
13126 void (*ClipPlane)(GLcontext *ctx, GLenum plane, const GLfloat *equation );
13128 void (*ColorMask)(GLcontext *ctx, GLboolean rmask, GLboolean gmask,
13129 GLboolean bmask, GLboolean amask );
13131 void (*ColorMaterial)(GLcontext *ctx, GLenum face, GLenum mode);
13133 void (*CullFace)(GLcontext *ctx, GLenum mode);
13135 void (*FrontFace)(GLcontext *ctx, GLenum mode);
13137 void (*DepthFunc)(GLcontext *ctx, GLenum func);
13139 void (*DepthMask)(GLcontext *ctx, GLboolean flag);
13141 void (*DepthRange)(GLcontext *ctx, GLclampd nearval, GLclampd farval);
13143 void (*DrawBuffer)( GLcontext *ctx, GLenum buffer );
13145 void (*DrawBuffers)( GLcontext *ctx, GLsizei n, const GLenum *buffers );
13147 void (*Enable)(GLcontext *ctx, GLenum cap, GLboolean state);
13149 void (*Fogfv)(GLcontext *ctx, GLenum pname, const GLfloat *params);
13151 void (*Hint)(GLcontext *ctx, GLenum target, GLenum mode);
13153 void (*IndexMask)(GLcontext *ctx, GLuint mask);
13158 void (*Lightfv)(GLcontext *ctx, GLenum light,
13159 GLenum pname, const GLfloat *params );
13161 void (*LightModelfv)(GLcontext *ctx, GLenum pname, const GLfloat *params);
13163 void (*LineStipple)(GLcontext *ctx, GLint factor, GLushort pattern );
13165 void (*LineWidth)(GLcontext *ctx, GLfloat width);
13167 void (*LogicOpcode)(GLcontext *ctx, GLenum opcode);
13168 void (*PointParameterfv)(GLcontext *ctx, GLenum pname,
13169 const GLfloat *params);
13171 void (*PointSize)(GLcontext *ctx, GLfloat size);
13173 void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode);
13175 void (*PolygonOffset)(GLcontext *ctx, GLfloat factor, GLfloat units);
13177 void (*PolygonStipple)(GLcontext *ctx, const GLubyte *mask );
13179 void (*ReadBuffer)( GLcontext *ctx, GLenum buffer );
13181 void (*RenderMode)(GLcontext *ctx, GLenum mode );
13183 void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
13185 void (*ShadeModel)(GLcontext *ctx, GLenum mode);
13187 void (*StencilFuncSeparate)(GLcontext *ctx, GLenum face, GLenum func,
13188 GLint ref, GLuint mask);
13190 void (*StencilMaskSeparate)(GLcontext *ctx, GLenum face, GLuint mask);
13192 void (*StencilOpSeparate)(GLcontext *ctx, GLenum face, GLenum fail,
13193 GLenum zfail, GLenum zpass);
13195 void (*TexGen)(GLcontext *ctx, GLenum coord, GLenum pname,
13196 const GLfloat *params);
13198 void (*TexEnv)(GLcontext *ctx, GLenum target, GLenum pname,
13199 const GLfloat *param);
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);
13206 void (*Viewport)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei 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 );
13228 GLboolean (*GetBooleanv)(GLcontext *ctx, GLenum pname, GLboolean *result);
13230 GLboolean (*GetDoublev)(GLcontext *ctx, GLenum pname, GLdouble *result);
13232 GLboolean (*GetFloatv)(GLcontext *ctx, GLenum pname, GLfloat *result);
13234 GLboolean (*GetIntegerv)(GLcontext *ctx, GLenum pname, GLint *result);
13236 GLboolean (*GetPointerv)(GLcontext *ctx, GLenum pname, GLvoid **result);
13238 void (*BindBuffer)( GLcontext *ctx, GLenum target,
13239 struct gl_buffer_object *obj );
13241 struct gl_buffer_object * (*NewBufferObject)( GLcontext *ctx, GLuint buffer,
13244 void (*DeleteBuffer)( GLcontext *ctx, struct gl_buffer_object *obj );
13246 void (*BufferData)( GLcontext *ctx, GLenum target, GLsizeiptrARB size,
13247 const GLvoid *data, GLenum usage,
13248 struct gl_buffer_object *obj );
13250 void (*BufferSubData)( GLcontext *ctx, GLenum target, GLintptrARB offset,
13251 GLsizeiptrARB size, const GLvoid *data,
13252 struct gl_buffer_object *obj );
13254 void (*GetBufferSubData)( GLcontext *ctx, GLenum target,
13255 GLintptrARB offset, GLsizeiptrARB size,
13256 GLvoid *data, struct gl_buffer_object *obj );
13258 void * (*MapBuffer)( GLcontext *ctx, GLenum target, GLenum access,
13259 struct gl_buffer_object *obj );
13261 GLboolean (*UnmapBuffer)( GLcontext *ctx, GLenum target,
13262 struct gl_buffer_object *obj );
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,
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);
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);
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);
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);
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,
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);
13356 GLuint NeedValidate;
13358 void (*ValidateTnlModule)( GLcontext *ctx, GLuint new_state );
13360 GLuint CurrentExecPrimitive;
13368 GLuint CurrentSavePrimitive;
13371 GLuint SaveNeedFlush;
13373 void (*FlushVertices)( GLcontext *ctx, GLuint flags );
13374 void (*SaveFlushVertices)( GLcontext *ctx );
13381 GLboolean (*NotifySaveBegin)( GLcontext *ctx, GLenum mode );
13387 void (*LightingSpaceChange)( GLcontext *ctx );
13395 void (*NewList)( GLcontext *ctx, GLuint list, GLenum mode );
13401 void (*EndList)( GLcontext *ctx );
13408 void (*BeginCallList)( GLcontext *ctx,
13409 struct mesa_display_list *dlist );
13415 void (*EndCallList)( GLcontext *ctx );
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 );
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 );
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 );
13494 void ( * Rectf)( GLfloat, GLfloat, GLfloat, GLfloat );
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 );
13507 void ( * EvalMesh1)( GLenum mode, GLint i1, GLint i2 );
13508 void ( * EvalMesh2)( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
13512 # 2801 "mtypes.h" 2
13520 struct gl_tnl_module
13525 const GLvertexformat *Current;
13533 _glapi_proc * location;
13534 _glapi_proc function;
13535 } Swapped[(sizeof(GLvertexformat) / sizeof(void *))];
13540 struct mesa_display_list
13551 struct gl_dlist_state
13553 struct mesa_display_list *CallStack[64];
13556 struct mesa_display_list *CurrentList;
13557 Node *CurrentListPtr;
13558 GLuint CurrentListNum;
13559 Node *CurrentBlock;
13562 GLvertexformat ListVtxfmt;
13564 GLubyte ActiveAttribSize[VERT_ATTRIB_MAX];
13565 GLfloat CurrentAttrib[VERT_ATTRIB_MAX][4];
13567 GLubyte ActiveMaterialSize[12];
13568 GLfloat CurrentMaterial[12][4];
13570 GLubyte ActiveIndex;
13571 GLfloat CurrentIndex;
13573 GLubyte ActiveEdgeFlag;
13574 GLboolean CurrentEdgeFlag;
13577 struct __GLcontextRec
13580 struct gl_shared_state *Shared;
13584 struct _glapi_table *Save;
13585 struct _glapi_table *Exec;
13586 struct _glapi_table *CurrentDispatch;
13590 GLframebuffer *DrawBuffer;
13591 GLframebuffer *ReadBuffer;
13592 GLframebuffer *WinSysDrawBuffer;
13593 GLframebuffer *WinSysReadBuffer;
13598 struct dd_function_table Driver;
13603 struct gl_constants Const;
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;
13616 GLmatrix _ModelProjectMatrix;
13619 struct gl_dlist_state ListState;
13621 GLboolean ExecuteFlag;
13622 GLboolean CompileFlag;
13625 struct gl_extensions Extensions;
13629 GLuint AttribStackDepth;
13630 struct gl_attrib_node *AttribStack[16];
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;
13656 GLuint ClientAttribStackDepth;
13657 struct gl_attrib_node *ClientAttribStack[16];
13662 struct gl_array_attrib Array;
13663 struct gl_pixelstore_attrib Pack;
13664 struct gl_pixelstore_attrib Unpack;
13665 struct gl_pixelstore_attrib DefaultPacking;
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;
13677 struct gl_evaluators EvalMap;
13678 struct gl_feedback Feedback;
13679 struct gl_selection Select;
13681 struct gl_color_table ColorTable[3];
13682 struct gl_color_table ProxyColorTable[3];
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;
13695 struct gl_query_state Query;
13697 struct gl_shader_state Shader;
13701 struct gl_renderbuffer *CurrentRenderbuffer;
13706 GLbitfield NewState;
13710 GLbitfield _TriangleCaps;
13711 GLbitfield _ImageTransferState;
13712 GLfloat _EyeZDir[3];
13713 GLfloat _ModelViewInvScale;
13714 GLboolean _NeedEyeCoords;
13715 GLboolean _ForceEyeCoords;
13716 GLenum _CurrentProgram;
13718 GLuint TextureStateTimestamp;
13720 struct gl_shine_tab *_ShineTable[2];
13721 struct gl_shine_tab *_ShineTabList;
13724 struct gl_list_extensions ListExt;
13734 GLboolean FirstTimeCurrent;
13738 GLboolean NoDither;
13741 GLboolean Mesa_DXTn;
13744 struct gl_tnl_module TnlModule;
13752 void *swrast_context;
13753 void *swsetup_context;
13754 void *swtnl_context;
13756 void *acache_context;
13757 void *aelt_context;
13763 extern const char *_mesa_prim_name[0x0009 +4];
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
13784 DEBUG_ALWAYS_FLUSH = 0x1
13793 _mesa_create_visual( GLboolean rgbFlag,
13795 GLboolean stereoFlag,
13803 GLint accumRedBits,
13804 GLint accumGreenBits,
13805 GLint accumBlueBits,
13806 GLint accumAlphaBits,
13807 GLint numSamples );
13810 _mesa_initialize_visual( GLvisual *v,
13813 GLboolean stereoFlag,
13821 GLint accumRedBits,
13822 GLint accumGreenBits,
13823 GLint accumBlueBits,
13824 GLint accumAlphaBits,
13825 GLint numSamples );
13828 _mesa_destroy_visual( GLvisual *vis );
13837 _mesa_create_context( const GLvisual *visual,
13838 GLcontext *share_list,
13839 const struct dd_function_table *driverFunctions,
13840 void *driverContext );
13843 _mesa_initialize_context( GLcontext *ctx,
13844 const GLvisual *visual,
13845 GLcontext *share_list,
13846 const struct dd_function_table *driverFunctions,
13847 void *driverContext );
13850 _mesa_free_context_data( GLcontext *ctx );
13853 _mesa_destroy_context( GLcontext *ctx );
13857 _mesa_copy_context(const GLcontext *src, GLcontext *dst, GLuint mask);
13861 _mesa_make_current( GLcontext *ctx, GLframebuffer *drawBuffer,
13862 GLframebuffer *readBuffer );
13865 _mesa_share_state(GLcontext *ctx, GLcontext *ctxToShare);
13868 _mesa_get_current_context(void);
13874 _mesa_notifySwapBuffers(__GLcontext *gc);
13877 extern struct _glapi_table *
13878 _mesa_get_dispatch(GLcontext *ctx);
13886 _mesa_record_error( GLcontext *ctx, GLenum error );
13889 _mesa_Finish( void );
13892 _mesa_Flush( void );
13893 # 36 "texcompress_fxt1.c" 2
13898 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width,
13899 GLenum format, GLenum type, const GLvoid *image);
13902 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width,
13903 GLsizei height, GLenum format, GLenum type,
13904 const GLvoid *image);
13907 _mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
13910 _mesa_ConvolutionParameterfv(GLenum target, GLenum pname,
13911 const GLfloat *params);
13914 _mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint params);
13917 _mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
13920 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalformat,
13921 GLint x, GLint y, GLsizei width);
13924 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalformat,
13925 GLint x, GLint y, GLsizei width, GLsizei height);
13928 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
13932 _mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
13935 _mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
13938 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
13939 GLvoid *row, GLvoid *column, GLvoid *span);
13942 _mesa_SeparableFilter2D(GLenum target, GLenum internalformat,
13943 GLsizei width, GLsizei height,
13944 GLenum format, GLenum type,
13945 const GLvoid *row, const GLvoid *column);
13950 _mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width,
13951 const GLfloat *srcImage, GLfloat *dstImage);
13955 _mesa_convolve_2d_image(const GLcontext *ctx, GLsizei *width, GLsizei *height,
13956 const GLfloat *srcImage, GLfloat *dstImage);
13960 _mesa_convolve_sep_image(const GLcontext *ctx,
13961 GLsizei *width, GLsizei *height,
13962 const GLfloat *srcImage, GLfloat *dstImage);
13966 _mesa_adjust_image_for_convolution(const GLcontext *ctx, GLuint dimensions,
13967 GLsizei *width, GLsizei *height);
13968 # 37 "texcompress_fxt1.c" 2
13973 _mesa_swap2( GLushort *p, GLuint n );
13976 _mesa_swap4( GLuint *p, GLuint n );
13979 _mesa_sizeof_type( GLenum type );
13982 _mesa_sizeof_packed_type( GLenum type );
13985 _mesa_components_in_format( GLenum format );
13988 _mesa_bytes_per_pixel( GLenum format, GLenum type );
13991 _mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type );
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 );
14003 _mesa_image_address1d( const struct gl_pixelstore_attrib *packing,
14004 const GLvoid *image,
14006 GLenum format, GLenum type,
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 );
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 );
14025 _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing,
14026 GLint width, GLenum format, GLenum type );
14030 _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing,
14031 GLint width, GLint height,
14032 GLenum format, GLenum type );
14035 _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32],
14036 const struct gl_pixelstore_attrib *unpacking );
14040 _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest,
14041 const struct gl_pixelstore_attrib *packing );
14045 _mesa_unpack_bitmap( GLint width, GLint height, const GLubyte *pixels,
14046 const struct gl_pixelstore_attrib *packing );
14049 _mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source,
14050 GLubyte *dest, const struct gl_pixelstore_attrib *packing );
14054 _mesa_apply_rgba_transfer_ops(GLcontext *ctx, GLbitfield transferOps,
14055 GLuint n, GLfloat rgba[][4]);
14059 _mesa_apply_ci_transfer_ops(const GLcontext *ctx, GLbitfield transferOps,
14060 GLuint n, GLuint indexes[]);
14064 _mesa_apply_stencil_transfer_ops(const GLcontext *ctx, GLuint n,
14065 GLstencil stencil[]);
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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 );
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);
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 );
14148 _mesa_convert_colors(GLenum srcType, const GLvoid *src,
14149 GLenum dstType, GLvoid *dst,
14150 GLuint count, const GLubyte mask[]);
14154 _mesa_clip_drawpixels(const GLcontext *ctx,
14155 GLint *destX, GLint *destY,
14156 GLsizei *width, GLsizei *height,
14157 struct gl_pixelstore_attrib *unpack);
14161 _mesa_clip_readpixels(const GLcontext *ctx,
14162 GLint *destX, GLint *destY,
14163 GLsizei *width, GLsizei *height,
14164 struct gl_pixelstore_attrib *pack);
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
14176 _mesa_generate_mipmap(GLcontext *ctx, GLenum target,
14177 const struct gl_texture_unit *texUnit,
14178 struct gl_texture_object *texObj);
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);
14190 _mesa_upscale_teximage2d(GLsizei inWidth, GLsizei inHeight,
14191 GLsizei outWidth, GLsizei outHeight,
14192 GLint comps, const GLchan *src, GLint srcRowStride,
14194 # 39 "texcompress_fxt1.c" 2
14196 # 1 "texcompress.h" 1
14197 # 32 "texcompress.h"
14199 _mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all);
14202 _mesa_compressed_texture_size( GLcontext *ctx,
14203 GLsizei width, GLsizei height, GLsizei depth,
14204 GLuint mesaFormat );
14207 _mesa_compressed_texture_size_glenum(GLcontext *ctx,
14208 GLsizei width, GLsizei height,
14209 GLsizei depth, GLenum glformat);
14212 _mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width);
14216 _mesa_compressed_image_address(GLint col, GLint row, GLint img,
14218 GLsizei width, const GLubyte *image);
14222 _mesa_init_texture_s3tc( GLcontext *ctx );
14225 _mesa_init_texture_fxt1( GLcontext *ctx );
14226 # 40 "texcompress_fxt1.c" 2
14228 # 1 "texformat.h" 1
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,
14245 MESA_FORMAT_AL88_REV,
14246 MESA_FORMAT_RGB332,
14252 MESA_FORMAT_YCBCR_REV,
14253 MESA_FORMAT_Z24_S8,
14264 MESA_FORMAT_SRGBA8,
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"
14284 MESA_FORMAT_LUMINANCE,
14285 MESA_FORMAT_LUMINANCE_ALPHA,
14286 MESA_FORMAT_INTENSITY,
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
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;
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;
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;
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;
14373 extern const struct gl_texture_format _mesa_texformat_ycbcr;
14374 extern const struct gl_texture_format _mesa_texformat_ycbcr_rev;
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;
14389 extern const struct gl_texture_format _mesa_null_texformat;
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
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);
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);
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);
14448 _mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims);
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);
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);
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);
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);
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);
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);
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);
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);
14527 _mesa_store_compressed_teximage3d(GLcontext *ctx, GLenum target, GLint level,
14528 GLint internalFormat,
14529 GLint width, GLint height, GLint depth,
14531 GLsizei imageSize, const GLvoid *data,
14532 struct gl_texture_object *texObj,
14533 struct gl_texture_image *texImage);
14537 _mesa_store_compressed_texsubimage1d(GLcontext *ctx, GLenum target,
14539 GLint xoffset, GLsizei width,
14541 GLsizei imageSize, const GLvoid *data,
14542 struct gl_texture_object *texObj,
14543 struct gl_texture_image *texImage);
14546 _mesa_store_compressed_texsubimage2d(GLcontext *ctx, GLenum target,
14548 GLint xoffset, GLint yoffset,
14549 GLsizei width, GLsizei height,
14551 GLsizei imageSize, const GLvoid *data,
14552 struct gl_texture_object *texObj,
14553 struct gl_texture_image *texImage);
14556 _mesa_store_compressed_texsubimage3d(GLcontext *ctx, GLenum target,
14558 GLint xoffset, GLint yoffset, GLint zoffset,
14559 GLsizei width, GLsizei height, GLsizei depth,
14561 GLsizei imageSize, const GLvoid *data,
14562 struct gl_texture_object *texObj,
14563 struct gl_texture_image *texImage);
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);
14574 _mesa_get_compressed_teximage(GLcontext *ctx, GLenum target, GLint level,
14576 const struct gl_texture_object *texObj,
14577 const struct gl_texture_image *texImage);
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);
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);
14593 _mesa_unmap_teximage_pbo(GLcontext *ctx,
14594 const struct gl_pixelstore_attrib *unpack);
14595 # 42 "texcompress_fxt1.c" 2
14599 fxt1_encode (GLuint width, GLuint height, GLint comps,
14600 const void *source, GLint srcRowStride,
14601 void *dest, GLint destRowStride);
14604 fxt1_decode_1 (const void *texture, GLint stride,
14605 GLint i, GLint j, GLchan *rgba);
14612 _mesa_init_texture_fxt1( GLcontext *ctx )
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)
14624 const GLchan *pixels;
14625 GLint srcRowStride;
14627 const GLint texWidth = dstRowStride * 8 / 16;
14628 const GLchan *tempImage = ((void *)0);
14635 (void) dstImageOffsets;
14637 if (srcFormat != 0x1907 ||
14638 srcType != 0x1401 ||
14639 ctx->_ImageTransferState ||
14640 srcPacking->SwapBytes) {
14642 tempImage = _mesa_make_temp_chan_image(ctx, dims,
14643 baseInternalFormat,
14644 dstFormat->BaseFormat,
14645 srcWidth, srcHeight, srcDepth,
14646 srcFormat, srcType, srcAddr,
14650 _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
14651 pixels = tempImage;
14652 srcRowStride = 3 * srcWidth;
14653 srcFormat = 0x1907;
14656 pixels = (const GLchan *) srcAddr;
14657 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat,
14658 srcType) / sizeof(GLchan);
14661 dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0,
14662 dstFormat->MesaFormat,
14663 texWidth, (GLubyte *) dstAddr);
14665 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride,
14666 dst, dstRowStride);
14669 _mesa_free((void*) tempImage);
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)
14681 const GLchan *pixels;
14682 GLint srcRowStride;
14684 GLint texWidth = dstRowStride * 8 / 16;
14685 const GLchan *tempImage = ((void *)0);
14692 (void) dstImageOffsets;
14694 if (srcFormat != 0x1908 ||
14695 srcType != 0x1401 ||
14696 ctx->_ImageTransferState ||
14697 srcPacking->SwapBytes) {
14699 tempImage = _mesa_make_temp_chan_image(ctx, dims,
14700 baseInternalFormat,
14701 dstFormat->BaseFormat,
14702 srcWidth, srcHeight, srcDepth,
14703 srcFormat, srcType, srcAddr,
14707 _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
14708 pixels = tempImage;
14709 srcRowStride = 4 * srcWidth;
14710 srcFormat = 0x1908;
14713 pixels = (const GLchan *) srcAddr;
14714 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat,
14715 srcType) / sizeof(GLchan);
14718 dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0,
14719 dstFormat->MesaFormat,
14720 texWidth, (GLubyte *) dstAddr);
14722 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride,
14723 dst, dstRowStride);
14726 _mesa_free((void*) tempImage);
14733 fetch_texel_2d_rgba_fxt1( const struct gl_texture_image *texImage,
14734 GLint i, GLint j, GLint k, GLchan *texel )
14737 fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel);
14742 fetch_texel_2d_f_rgba_fxt1( const struct gl_texture_image *texImage,
14743 GLint i, GLint j, GLint k, GLfloat *texel )
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])];
14757 fetch_texel_2d_rgb_fxt1( const struct gl_texture_image *texImage,
14758 GLint i, GLint j, GLint k, GLchan *texel )
14761 fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel);
14767 fetch_texel_2d_f_rgb_fxt1( const struct gl_texture_image *texImage,
14768 GLint i, GLint j, GLint k, GLfloat *texel )
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])];
14782 const struct gl_texture_format _mesa_texformat_rgb_fxt1 = {
14783 MESA_FORMAT_RGB_FXT1,
14798 fetch_texel_2d_rgb_fxt1,
14801 fetch_texel_2d_f_rgb_fxt1,
14806 const struct gl_texture_format _mesa_texformat_rgba_fxt1 = {
14807 MESA_FORMAT_RGBA_FXT1,
14820 texstore_rgba_fxt1,
14822 fetch_texel_2d_rgba_fxt1,
14825 fetch_texel_2d_f_rgba_fxt1,
14829 # 308 "texcompress_fxt1.c"
14830 typedef unsigned long long Fx64;
14831 # 381 "texcompress_fxt1.c"
14833 fxt1_bestcol (GLfloat vec[][4], GLint nv,
14834 GLubyte input[4], GLint nc)
14836 GLint i, j, best = -1;
14839 for (j = 0; j < nv; j++) {
14841 for (i = 0; i < nc; i++) {
14842 e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]);
14855 fxt1_worst (GLfloat vec[4],
14856 GLubyte input[32][4], GLint nc, GLint n)
14858 GLint i, k, worst = -1;
14859 GLfloat err = -1.0F;
14861 for (k = 0; k < n; k++) {
14863 for (i = 0; i < nc; i++) {
14864 e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]);
14877 fxt1_variance (GLdouble variance[4],
14878 GLubyte input[32][4], GLint nc, GLint n)
14880 GLint i, k, best = 0;
14882 GLdouble var, maxvar = -1;
14883 GLdouble teenth = 1.0 / n;
14885 for (i = 0; i < nc; i++) {
14887 for (k = 0; k < n; k++) {
14888 GLint t = input[k][i];
14892 var = sx2 * teenth - sx * sx * teenth * teenth;
14893 if (maxvar < var) {
14907 fxt1_choose (GLfloat vec[][4], GLint nv,
14908 GLubyte input[32][4], GLint nc, GLint n)
14910 # 475 "texcompress_fxt1.c"
14912 GLint minSum = 2000;
14925 _mesa_memset(hist, 0, sizeof(hist));
14927 for (k = 0; k < n; k++) {
14931 for (i = 0; i < nc; i++) {
14933 key |= input[k][i];
14934 sum += input[k][i];
14936 for (l = 0; l < n; l++) {
14937 if (!hist[l].flag) {
14945 } else if (hist[l].key == key) {
14950 if (minSum > sum) {
14954 if (maxSum < sum) {
14961 for (j = 0; j < lenh; j++) {
14962 for (i = 0; i < nc; i++) {
14963 vec[j][i] = (GLfloat)input[hist[j].idx][i];
14966 for (; j < nv; j++) {
14967 for (i = 0; i < nc; i++) {
14968 vec[j][i] = vec[0][i];
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);
14986 fxt1_lloyd (GLfloat vec[][4], GLint nv,
14987 GLubyte input[32][4], GLint nc, GLint n)
14989 # 573 "texcompress_fxt1.c"
14992 GLfloat error, lasterror = 1e9;
14994 GLint i, j, k, rep;
14997 for (rep = 0; rep < 50; rep++) {
14999 for (j = 0; j < nv; j++) {
15000 for (i = 0; i < nc; i++) {
15008 for (k = 0; k < n; k++) {
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]);
15018 e += (vec[j][3] - input[k][3]) * (vec[j][3] - input[k][3]);
15029 for (i = 0; i < nc; i++) {
15030 sum[best][i] += input[k][i];
15039 if ((error < 255) ||
15040 ((error < lasterror) && ((lasterror - error) < 10))) {
15046 for (j = 0; j < nv; j++) {
15048 GLfloat div = 1.0F / cnt[j];
15049 for (i = 0; i < nc; i++) {
15050 vec[j][i] = div * sum[j][i];
15054 GLint worst = fxt1_worst(vec[j], input, nc, n);
15055 for (i = 0; i < nc; i++) {
15056 vec[j][i] = input[worst][i];
15067 fxt1_quantize_CHROMA (GLuint *cc,
15068 GLubyte input[32][4])
15070 const GLint n_vect = 4;
15071 const GLint n_comp = 3;
15077 if (fxt1_choose(vec, n_vect, input, n_comp, 32) != 0) {
15078 fxt1_lloyd(vec, n_vect, input, n_comp, 32);
15082 for (j = n_vect - 1; j >= 0; j--) {
15083 for (i = 0; i < n_comp; i++) {
15086 hi |= (GLuint)(vec[j][i] / 8.0F);
15089 ((Fx64 *)cc)[1] = hi;
15093 for (k = 32 - 1; k >= 32/2; k--) {
15095 lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp);
15098 for (; k >= 0; k--) {
15100 lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp);
15108 fxt1_quantize_ALPHA0 (GLuint *cc,
15109 GLubyte input[32][4],
15110 GLubyte reord[32][4], GLint n)
15112 const GLint n_vect = 3;
15113 const GLint n_comp = 4;
15120 for (i = 0; i < n_comp; i++) {
15121 vec[n_vect][i] = 0;
15125 if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) {
15126 fxt1_lloyd(vec, n_vect, reord, n_comp, n);
15130 for (j = n_vect - 1; j >= 0; j--) {
15133 hi |= (GLuint)(vec[j][3] / 8.0F);
15135 for (j = n_vect - 1; j >= 0; j--) {
15136 for (i = 0; i < n_comp - 1; i++) {
15139 hi |= (GLuint)(vec[j][i] / 8.0F);
15142 ((Fx64 *)cc)[1] = hi;
15146 for (k = 32 - 1; k >= 32/2; k--) {
15148 lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp);
15151 for (; k >= 0; k--) {
15153 lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp);
15161 fxt1_quantize_ALPHA1 (GLuint *cc,
15162 GLubyte input[32][4])
15164 const GLint n_vect = 3;
15165 const GLint n_comp = 4;
15166 GLfloat vec[1 + 1 + 1][4];
15174 GLint minColL = 0, maxColL = 0;
15175 GLint minColR = 0, maxColR = 0;
15176 GLint sumL = 0, sumR = 0;
15183 while ((minColL == maxColL) && nn_comp) {
15186 for (k = 0; k < 32 / 2; k++) {
15188 for (i = 0; i < nn_comp; i++) {
15189 sum += input[k][i];
15191 if (minSum > sum) {
15195 if (maxSum < sum) {
15206 while ((minColR == maxColR) && nn_comp) {
15209 for (k = 32 / 2; k < 32; k++) {
15211 for (i = 0; i < nn_comp; i++) {
15212 sum += input[k][i];
15214 if (minSum > sum) {
15218 if (maxSum < sum) {
15231 GLint v1 = 0, v2 = 0;
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];
15240 for (j1 = 0; j1 < 2; j1++) {
15241 for (j2 = 2; j2 < 4; j2++) {
15243 for (i = 0; i < n_comp; i++) {
15244 e += (tv[j1][i] - tv[j2][i]) * (tv[j1][i] - tv[j2][i]);
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];
15262 if (minColL != maxColL) {
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);
15268 for (k = 32 / 2 - 1; k >= 0; k--) {
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);
15282 if (minColR != maxColR) {
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);
15288 for (k = 32 - 1; k >= 32 / 2; k--) {
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);
15301 for (j = n_vect - 1; j >= 0; j--) {
15304 hi |= (GLuint)(vec[j][3] / 8.0F);
15306 for (j = n_vect - 1; j >= 0; j--) {
15307 for (i = 0; i < n_comp - 1; i++) {
15310 hi |= (GLuint)(vec[j][i] / 8.0F);
15313 ((Fx64 *)cc)[1] = hi;
15318 fxt1_quantize_HI (GLuint *cc,
15319 GLubyte input[32][4],
15320 GLubyte reord[32][4], GLint n)
15322 const GLint n_vect = 6;
15323 const GLint n_comp = 3;
15329 GLint minSum = 2000;
15338 for (k = 0; k < n; k++) {
15340 for (i = 0; i < n_comp; i++) {
15341 sum += reord[k][i];
15343 if (minSum > sum) {
15347 if (maxSum < sum) {
15354 for (i = 0; i < n_comp; i++) {
15357 hihi |= reord[maxCol][i] >> 3;
15359 for (i = 0; i < n_comp; i++) {
15362 hihi |= reord[minCol][i] >> 3;
15365 cc[0] = cc[1] = cc[2] = 0;
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);
15373 for (k = 32 - 1; k >= 0; k--) {
15375 GLuint *kk = (GLuint *)((char *)cc + t / 8);
15376 GLint texel = n_vect + 1;
15378 if (!(*((GLuint *)(input[k])) == 0)) {
15379 if (minCol != maxCol) {
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);
15383 kk[0] |= texel << (t & 7);
15387 kk[0] |= texel << (t & 7);
15394 fxt1_quantize_MIXED1 (GLuint *cc,
15395 GLubyte input[32][4])
15397 const GLint n_vect = 2;
15398 const GLint n_comp = 3;
15399 GLubyte vec[2 * 2][4];
15407 GLint minColL = 0, maxColL = -1;
15408 GLint minColR = 0, maxColR = -1;
15416 for (k = 0; k < 32 / 2; k++) {
15417 if (!(*((GLuint *)(input[k])) == 0)) {
15419 for (i = 0; i < n_comp; i++) {
15420 sum += input[k][i];
15422 if (minSum > sum) {
15426 if (maxSum < sum) {
15434 for (; k < 32; k++) {
15435 if (!(*((GLuint *)(input[k])) == 0)) {
15437 for (i = 0; i < n_comp; i++) {
15438 sum += input[k][i];
15440 if (minSum > sum) {
15444 if (maxSum < sum) {
15452 if (maxColL == -1) {
15455 for (i = 0; i < n_comp; i++) {
15461 for (i = 0; i < n_comp; i++) {
15462 vec[0][i] = input[minColL][i];
15463 vec[1][i] = input[maxColL][i];
15465 if (minColL != maxColL) {
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);
15471 for (k = 32 / 2 - 1; k >= 0; k--) {
15472 GLint texel = n_vect + 1;
15473 if (!(*((GLuint *)(input[k])) == 0)) {
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);
15486 if (maxColR == -1) {
15489 for (i = 0; i < n_comp; i++) {
15495 for (i = 0; i < n_comp; i++) {
15496 vec[2][i] = input[minColR][i];
15497 vec[3][i] = input[maxColR][i];
15499 if (minColR != maxColR) {
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);
15505 for (k = 32 - 1; k >= 32 / 2; k--) {
15506 GLint texel = n_vect + 1;
15507 if (!(*((GLuint *)(input[k])) == 0)) {
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);
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++) {
15524 hi |= vec[j][i] >> 3;
15527 ((Fx64 *)cc)[1] = hi;
15532 fxt1_quantize_MIXED0 (GLuint *cc,
15533 GLubyte input[32][4])
15535 const GLint n_vect = 3;
15536 const GLint n_comp = 3;
15537 GLubyte vec[2 * 2][4];
15543 GLint minColL = 0, maxColL = 0;
15544 GLint minColR = 0, maxColR = 0;
15545 # 1169 "texcompress_fxt1.c"
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);
15556 for (k = 0; k < 32 / 2; k++) {
15557 GLint t = input[k][maxVarL];
15569 for (; k < 32; k++) {
15570 GLint t = input[k][maxVarR];
15584 for (i = 0; i < n_comp; i++) {
15585 vec[0][i] = input[minColL][i];
15586 vec[1][i] = input[maxColL][i];
15588 if (minColL != maxColL) {
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);
15594 for (k = 32 / 2 - 1; k >= 0; k--) {
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);
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];
15617 for (i = 0; i < n_comp; i++) {
15618 vec[2][i] = input[minColR][i];
15619 vec[3][i] = input[maxColR][i];
15621 if (minColR != maxColR) {
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);
15627 for (k = 32 - 1; k >= 32 / 2; k--) {
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);
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];
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++) {
15653 hi |= vec[j][i] >> 3;
15656 ((Fx64 *)cc)[1] = hi;
15661 fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps)
15664 GLubyte reord[32][4];
15666 GLubyte input[32][4];
15671 _mesa_memset(input, -1, sizeof(input));
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]++;
15681 for (; k < 8; k++) {
15682 for (i = 0; i < comps; i++) {
15683 input[k + l * 4 + 12][i] = *lines[l]++;
15687 # 1321 "texcompress_fxt1.c"
15693 for (k = 0; k < 32; k++) {
15695 if (!(*((GLuint *)(input[k])) == 0)) {
15697 do { *((GLuint*)(reord[l])) = *((GLuint*)(input[k])); } while (0);
15698 if (reord[l][3] < (255 - 2)) {
15706 # 1355 "texcompress_fxt1.c"
15708 fxt1_quantize_ALPHA1(cc, input);
15709 } else if (l == 0) {
15710 cc[0] = cc[1] = cc[2] = ~0u;
15712 } else if (l < 32) {
15713 fxt1_quantize_MIXED1(cc, input);
15715 fxt1_quantize_MIXED0(cc, input);
15717 (void)fxt1_quantize_ALPHA0;
15718 (void)fxt1_quantize_HI;
15719 (void)fxt1_quantize_CHROMA;
15725 fxt1_encode (GLuint width, GLuint height, GLint comps,
15726 const void *source, GLint srcRowStride,
15727 void *dest, GLint destRowStride)
15730 const GLubyte *data;
15731 GLuint *encoded = (GLuint *)dest;
15732 void *newSource = ((void *)0);
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));
15742 GLcontext *ctx = (GLcontext *) _glapi_tls_Context;
15743 _mesa_error(ctx, 0x0505, "texture compression");
15746 _mesa_upscale_teximage2d(width, height, newWidth, newHeight,
15747 comps, (const GLchan *) source,
15748 srcRowStride, (GLchan *) newSource);
15749 source = newSource;
15751 height = newHeight;
15752 srcRowStride = comps * newWidth;
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));
15762 GLcontext *ctx = (GLcontext *) _glapi_tls_Context;
15763 _mesa_error(ctx, 0x0505, "texture compression");
15766 for (i = 0; i < n; i++) {
15767 dest[i] = (src[i]);
15769 if (newSource != ((void *)0)) {
15770 _mesa_free(newSource);
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;
15787 fxt1_quantize(encoded, lines, comps);
15791 encoded += destRowStride;
15795 if (newSource != ((void *)0)) {
15796 _mesa_free(newSource);
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
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
15818 # 1484 "texcompress_fxt1.c"
15820 fxt1_decode_1HI (const GLubyte *code, GLint t, GLchan *rgba)
15825 cc = (const GLuint *)(code + t / 8);
15826 t = (cc[0] >> (t & 7)) & 7;
15829 rgba[0] = rgba[1] = rgba[2] = rgba[3] = 0;
15832 cc = (const GLuint *)(code + 12);
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];
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);
15855 fxt1_decode_1CHROMA (const GLubyte *code, GLint t, GLchan *rgba)
15860 cc = (const GLuint *)code;
15865 t = (cc[0] >> (t * 2)) & 3;
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]);
15878 fxt1_decode_1MIXED (const GLubyte *code, GLint t, GLchan *rgba)
15884 cc = (const GLuint *)code;
15887 t = (cc[1] >> (t * 2)) & 3;
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));
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));
15899 t = (cc[0] >> (t * 2)) & 3;
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));
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));
15912 if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) {
15917 rgba[0] = rgba[2] = rgba[1] = rgba[3] = 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];
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;
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];
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);
15953 r = (((3) - (t)) * (_rgb_scale_5[(col[0][0]) & 31]) + (t) * (_rgb_scale_5[(col[1][0]) & 31]) + (3) / 2) / (3);
15964 fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLchan *rgba)
15967 GLubyte r, g, b, a;
15969 cc = (const GLuint *)code;
15970 if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) {
15976 t = (cc[1] >> (t * 2)) & 3;
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));
15983 t = (cc[0] >> (t * 2)) & 3;
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));
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];
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);
16014 t = (cc[0] >> (t * 2)) & 3;
16021 cc = (const GLuint *)code;
16022 a = _rgb_scale_5[(cc[3] >> (t * 5 + 13)) & 31];
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];
16039 fxt1_decode_1 (const void *texture, GLint stride,
16040 GLint i, GLint j, GLchan *rgba)
16042 static void (*decode_1[]) (const GLubyte *, GLint, GLchan *) = {
16045 fxt1_decode_1CHROMA,
16046 fxt1_decode_1ALPHA,
16047 fxt1_decode_1MIXED,
16048 fxt1_decode_1MIXED,
16049 fxt1_decode_1MIXED,
16053 const GLubyte *code = (const GLubyte *)texture +
16054 ((j / 4) * (stride / 8) + (i / 8)) * 16;
16055 GLint mode = (((GLuint *)(code))[(125) / 32] >> ((125) & 31));
16063 decode_1[mode](code, t, rgba);