// /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 # 1 "texcompress_fxt1.c" # 1 "" # 1 "" # 1 "texcompress_fxt1.c" # 32 "texcompress_fxt1.c" # 1 "glheader.h" 1 # 51 "glheader.h" # 1 "../../../include/dix-config.h" 1 # 52 "glheader.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 37 "/usr/include/assert.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 322 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 324 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 325 "/usr/include/sys/cdefs.h" 2 3 4 # 323 "/usr/include/features.h" 2 3 4 # 345 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/gnu/stubs.h" 2 3 4 # 346 "/usr/include/features.h" 2 3 4 # 38 "/usr/include/assert.h" 2 3 4 # 55 "glheader.h" 2 # 1 "/usr/include/ctype.h" 1 3 4 # 28 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 typedef unsigned int size_t; # 32 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 134 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 135 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 29 "/usr/include/ctype.h" 2 3 4 # 41 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 42 "/usr/include/ctype.h" 2 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 81 "/usr/include/ctype.h" 3 4 extern __const unsigned short int **__ctype_b_loc (void) __attribute__ ((__const)); extern __const __int32_t **__ctype_tolower_loc (void) __attribute__ ((__const)); extern __const __int32_t **__ctype_toupper_loc (void) __attribute__ ((__const)); # 96 "/usr/include/ctype.h" 3 4 extern int isalnum (int) __attribute__ ((__nothrow__)); extern int isalpha (int) __attribute__ ((__nothrow__)); extern int iscntrl (int) __attribute__ ((__nothrow__)); extern int isdigit (int) __attribute__ ((__nothrow__)); extern int islower (int) __attribute__ ((__nothrow__)); extern int isgraph (int) __attribute__ ((__nothrow__)); extern int isprint (int) __attribute__ ((__nothrow__)); extern int ispunct (int) __attribute__ ((__nothrow__)); extern int isspace (int) __attribute__ ((__nothrow__)); extern int isupper (int) __attribute__ ((__nothrow__)); extern int isxdigit (int) __attribute__ ((__nothrow__)); extern int tolower (int __c) __attribute__ ((__nothrow__)); extern int toupper (int __c) __attribute__ ((__nothrow__)); # 128 "/usr/include/ctype.h" 3 4 extern int isblank (int) __attribute__ ((__nothrow__)); extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__)); extern int isascii (int __c) __attribute__ ((__nothrow__)); extern int toascii (int __c) __attribute__ ((__nothrow__)); extern int _toupper (int) __attribute__ ((__nothrow__)); extern int _tolower (int) __attribute__ ((__nothrow__)); # 190 "/usr/include/ctype.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) tolower (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; } extern __inline int __attribute__ ((__nothrow__)) toupper (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; } # 233 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; # 234 "/usr/include/ctype.h" 2 3 4 # 247 "/usr/include/ctype.h" 3 4 extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); # 323 "/usr/include/ctype.h" 3 4 # 56 "glheader.h" 2 # 1 "/usr/include/math.h" 1 3 4 # 30 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 35 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_valf.h" 1 3 4 # 37 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_vall.h" 1 3 4 # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/inf.h" 1 3 4 # 41 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 44 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 36 "/usr/include/bits/mathdef.h" 3 4 typedef long double float_t; typedef long double double_t; # 48 "/usr/include/math.h" 2 3 4 # 71 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__)); extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__)); extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); # 72 "/usr/include/math.h" 2 3 4 # 94 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__)); extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__)); extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); # 95 "/usr/include/math.h" 2 3 4 # 141 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); 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__)); extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__)); # 154 "/usr/include/bits/mathcalls.h" 3 4 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); # 179 "/usr/include/bits/mathcalls.h" 3 4 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); 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__)); extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__)); extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); 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__)); 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__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); 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__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); 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__)); # 364 "/usr/include/bits/mathcalls.h" 3 4 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); # 142 "/usr/include/math.h" 2 3 4 # 157 "/usr/include/math.h" 3 4 extern int signgam; # 198 "/usr/include/math.h" 3 4 enum { FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL }; # 284 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 309 "/usr/include/math.h" 3 4 struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 409 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathinline.h" 1 3 4 # 127 "/usr/include/bits/mathinline.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) __signbitf (float __x) { __extension__ union { float __f; int __i; } __u = { __f: __x }; return __u.__i < 0; } extern __inline int __attribute__ ((__nothrow__)) __signbit (double __x) { __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; return __u.__i[1] < 0; } extern __inline int __attribute__ ((__nothrow__)) __signbitl (long double __x) { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 291 "/usr/include/bits/mathinline.h" 3 4 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); } # 433 "/usr/include/bits/mathinline.h" 3 4 extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } # 473 "/usr/include/bits/mathinline.h" 3 4 extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); } extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); } extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); } extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } # 506 "/usr/include/bits/mathinline.h" 3 4 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; } # 530 "/usr/include/bits/mathinline.h" 3 4 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; } # 548 "/usr/include/bits/mathinline.h" 3 4 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; } # 667 "/usr/include/bits/mathinline.h" 3 4 extern __inline long int __attribute__ ((__nothrow__)) lrintf (float __x) { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } extern __inline long int __attribute__ ((__nothrow__)) lrint (double __x) { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } extern __inline long int __attribute__ ((__nothrow__)) lrintl (long double __x) { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } # 690 "/usr/include/bits/mathinline.h" 3 4 extern __inline long long int __attribute__ ((__nothrow__)) llrintf (float __x) { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } extern __inline long long int __attribute__ ((__nothrow__)) llrint (double __x) { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } extern __inline long long int __attribute__ ((__nothrow__)) llrintl (long double __x) { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } # 727 "/usr/include/bits/mathinline.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) __finite (double __x) { return (__extension__ (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | 0x800fffffu) + 1) >> 31)); } # 410 "/usr/include/math.h" 2 3 4 # 465 "/usr/include/math.h" 3 4 # 60 "glheader.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 1 3 4 # 11 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 1 3 4 # 122 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 153 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 36 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 37 "/usr/include/bits/local_lim.h" 2 3 4 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 34 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4 # 154 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/syslimits.h" 2 3 4 # 12 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/limits.h" 2 3 4 # 62 "glheader.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 326 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 typedef long int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 43 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 67 "/usr/include/bits/waitstatus.h" 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 68 "/usr/include/stdlib.h" 3 4 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 240 "/usr/include/stdlib.h" 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ; extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; extern double __strtod_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float __strtof_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double __strtold_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int __strtol_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 327 "/usr/include/stdlib.h" 3 4 extern __inline double __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtod_internal (__nptr, __endptr, 0); } extern __inline long int __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoul_internal (__nptr, __endptr, __base, 0); } extern __inline float __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtof_internal (__nptr, __endptr, 0); } extern __inline long double __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtold_internal (__nptr, __endptr, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } extern __inline double __attribute__ ((__nothrow__)) atof (__const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } extern __inline int __attribute__ ((__nothrow__)) atoi (__const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline long int __attribute__ ((__nothrow__)) atol (__const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) atoll (__const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 429 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 59 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 75 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 93 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 105 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 220 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 121 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 # 55 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 224 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 36 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[36]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; unsigned int __nusers; __extension__ union { int __spins; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; long int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; long int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned int __flags; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 439 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 589 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 613 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 698 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 719 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 738 "/usr/include/stdlib.h" 3 4 extern int system (__const char *__command) ; extern char *canonicalize_file_name (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 755 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) ; typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 820 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); # 897 "/usr/include/stdlib.h" 3 4 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 908 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) __attribute__ ((__nothrow__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 976 "/usr/include/stdlib.h" 3 4 # 63 "glheader.h" 2 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 45 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 65 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 75 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 14 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 355 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 typedef unsigned int wint_t; # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 51 "/usr/include/wchar.h" 2 3 4 # 76 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 25 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/gconv.h" 1 3 4 # 28 "/usr/include/gconv.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 32 "/usr/include/gconv.h" 2 3 4 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 45 "/usr/include/_G_config.h" 2 3 4 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 167 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 177 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 200 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 268 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 316 "/usr/include/libio.h" 3 4 __off64_t _offset; # 325 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 361 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); extern wint_t __wunderflow (_IO_FILE *); extern wint_t __wuflow (_IO_FILE *); extern wint_t __woverflow (_IO_FILE *, wint_t); # 451 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 481 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 76 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 89 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 141 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 142 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); extern int renameat (int __oldfd, __const char *__old, int __newfd, __const char *__new) __attribute__ ((__nothrow__)); # 172 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) ; # 182 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ; # 204 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; # 214 "/usr/include/stdio.h" 3 4 extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 229 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 239 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 249 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) ; extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) ; # 272 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (__const char *__restrict __filename, __const char *__restrict __modes) ; extern FILE *freopen64 (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ; extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ; extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __attribute__ ((__nothrow__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); # 331 "/usr/include/stdio.h" 3 4 extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); # 403 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) ; extern int scanf (__const char *__restrict __format, ...) ; extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); # 421 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 445 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 464 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 475 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); # 487 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 508 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); # 536 "/usr/include/stdio.h" 3 4 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) ; # 554 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 570 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; # 594 "/usr/include/stdio.h" 3 4 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s) ; # 631 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (__const char *__restrict __s, FILE *__restrict __stream); # 642 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; # 654 "/usr/include/stdio.h" 3 4 extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 678 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 697 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, __const fpos_t *__pos); # 720 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; # 751 "/usr/include/stdio.h" 3 4 extern void perror (__const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; extern int _sys_nerr; extern __const char *__const _sys_errlist[]; # 759 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; # 778 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 839 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 33 "/usr/include/bits/stdio.h" 3 4 extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 840 "/usr/include/stdio.h" 2 3 4 # 848 "/usr/include/stdio.h" 3 4 # 64 "glheader.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 28 "/usr/include/string.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern void *rawmemchr (__const void *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern void *memrchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 121 "/usr/include/string.h" 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strchrnul (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strcasestr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 281 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (__const char *__s1, __const char *__s2, size_t __n, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 420 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string.h" 1 3 4 # 421 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/bits/string2.h" 1 3 4 # 394 "/usr/include/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "/usr/include/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; 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)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1304 "/usr/include/bits/string2.h" 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "/usr/include/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 424 "/usr/include/string.h" 2 3 4 # 432 "/usr/include/string.h" 3 4 # 65 "glheader.h" 2 # 1 "/usr/include/fpu_control.h" 1 3 4 # 89 "/usr/include/fpu_control.h" 3 4 typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__))); # 100 "/usr/include/fpu_control.h" 3 4 extern fpu_control_t __fpu_control; # 67 "glheader.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/float.h" 1 3 4 # 69 "glheader.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stdarg.h" 1 3 4 # 70 "glheader.h" 2 # 81 "glheader.h" # 1 "/usr/include/inttypes.h" 1 3 4 # 28 "/usr/include/inttypes.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 28 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 49 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 126 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 138 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 29 "/usr/include/inttypes.h" 2 3 4 typedef long int __gwchar_t; # 274 "/usr/include/inttypes.h" 3 4 # 288 "/usr/include/inttypes.h" 3 4 typedef struct { long long int quot; long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern intmax_t strtoimax (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern uintmax_t strtoumax (__const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); # 396 "/usr/include/inttypes.h" 3 4 extern __inline intmax_t __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) { return __strtoll_internal (nptr, endptr, base, 0); } # 414 "/usr/include/inttypes.h" 3 4 extern __inline uintmax_t __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) { return __strtoull_internal (nptr, endptr, base, 0); } __extension__ extern long long int __wcstoll_internal (__const __gwchar_t * __restrict __nptr, __gwchar_t **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)); extern __inline intmax_t __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) { return __wcstoll_internal (nptr, endptr, base, 0); } __extension__ extern unsigned long long int __wcstoull_internal (__const __gwchar_t * __restrict __nptr, __gwchar_t ** __restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)); extern __inline uintmax_t __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) { return __wcstoull_internal (nptr, endptr, base, 0); } # 82 "glheader.h" 2 # 144 "glheader.h" # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 1 # 147 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; typedef void GLvoid; typedef signed char GLbyte; typedef short GLshort; typedef int GLint; typedef unsigned char GLubyte; typedef unsigned short GLushort; typedef unsigned int GLuint; typedef int GLsizei; typedef float GLfloat; typedef float GLclampf; typedef double GLdouble; typedef double GLclampd; # 774 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glClearIndex( GLfloat c ); __attribute__((visibility("default"))) void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); __attribute__((visibility("default"))) void glClear( GLbitfield mask ); __attribute__((visibility("default"))) void glIndexMask( GLuint mask ); __attribute__((visibility("default"))) void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); __attribute__((visibility("default"))) void glAlphaFunc( GLenum func, GLclampf ref ); __attribute__((visibility("default"))) void glBlendFunc( GLenum sfactor, GLenum dfactor ); __attribute__((visibility("default"))) void glLogicOp( GLenum opcode ); __attribute__((visibility("default"))) void glCullFace( GLenum mode ); __attribute__((visibility("default"))) void glFrontFace( GLenum mode ); __attribute__((visibility("default"))) void glPointSize( GLfloat size ); __attribute__((visibility("default"))) void glLineWidth( GLfloat width ); __attribute__((visibility("default"))) void glLineStipple( GLint factor, GLushort pattern ); __attribute__((visibility("default"))) void glPolygonMode( GLenum face, GLenum mode ); __attribute__((visibility("default"))) void glPolygonOffset( GLfloat factor, GLfloat units ); __attribute__((visibility("default"))) void glPolygonStipple( const GLubyte *mask ); __attribute__((visibility("default"))) void glGetPolygonStipple( GLubyte *mask ); __attribute__((visibility("default"))) void glEdgeFlag( GLboolean flag ); __attribute__((visibility("default"))) void glEdgeFlagv( const GLboolean *flag ); __attribute__((visibility("default"))) void glScissor( GLint x, GLint y, GLsizei width, GLsizei height); __attribute__((visibility("default"))) void glClipPlane( GLenum plane, const GLdouble *equation ); __attribute__((visibility("default"))) void glGetClipPlane( GLenum plane, GLdouble *equation ); __attribute__((visibility("default"))) void glDrawBuffer( GLenum mode ); __attribute__((visibility("default"))) void glReadBuffer( GLenum mode ); __attribute__((visibility("default"))) void glEnable( GLenum cap ); __attribute__((visibility("default"))) void glDisable( GLenum cap ); __attribute__((visibility("default"))) GLboolean glIsEnabled( GLenum cap ); __attribute__((visibility("default"))) void glEnableClientState( GLenum cap ); __attribute__((visibility("default"))) void glDisableClientState( GLenum cap ); __attribute__((visibility("default"))) void glGetBooleanv( GLenum pname, GLboolean *params ); __attribute__((visibility("default"))) void glGetDoublev( GLenum pname, GLdouble *params ); __attribute__((visibility("default"))) void glGetFloatv( GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetIntegerv( GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glPushAttrib( GLbitfield mask ); __attribute__((visibility("default"))) void glPopAttrib( void ); __attribute__((visibility("default"))) void glPushClientAttrib( GLbitfield mask ); __attribute__((visibility("default"))) void glPopClientAttrib( void ); __attribute__((visibility("default"))) GLint glRenderMode( GLenum mode ); __attribute__((visibility("default"))) GLenum glGetError( void ); __attribute__((visibility("default"))) const GLubyte * glGetString( GLenum name ); __attribute__((visibility("default"))) void glFinish( void ); __attribute__((visibility("default"))) void glFlush( void ); __attribute__((visibility("default"))) void glHint( GLenum target, GLenum mode ); __attribute__((visibility("default"))) void glClearDepth( GLclampd depth ); __attribute__((visibility("default"))) void glDepthFunc( GLenum func ); __attribute__((visibility("default"))) void glDepthMask( GLboolean flag ); __attribute__((visibility("default"))) void glDepthRange( GLclampd near_val, GLclampd far_val ); __attribute__((visibility("default"))) void glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); __attribute__((visibility("default"))) void glAccum( GLenum op, GLfloat value ); __attribute__((visibility("default"))) void glMatrixMode( GLenum mode ); __attribute__((visibility("default"))) void glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); __attribute__((visibility("default"))) void glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); __attribute__((visibility("default"))) void glViewport( GLint x, GLint y, GLsizei width, GLsizei height ); __attribute__((visibility("default"))) void glPushMatrix( void ); __attribute__((visibility("default"))) void glPopMatrix( void ); __attribute__((visibility("default"))) void glLoadIdentity( void ); __attribute__((visibility("default"))) void glLoadMatrixd( const GLdouble *m ); __attribute__((visibility("default"))) void glLoadMatrixf( const GLfloat *m ); __attribute__((visibility("default"))) void glMultMatrixd( const GLdouble *m ); __attribute__((visibility("default"))) void glMultMatrixf( const GLfloat *m ); __attribute__((visibility("default"))) void glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ); __attribute__((visibility("default"))) void glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); __attribute__((visibility("default"))) void glScaled( GLdouble x, GLdouble y, GLdouble z ); __attribute__((visibility("default"))) void glScalef( GLfloat x, GLfloat y, GLfloat z ); __attribute__((visibility("default"))) void glTranslated( GLdouble x, GLdouble y, GLdouble z ); __attribute__((visibility("default"))) void glTranslatef( GLfloat x, GLfloat y, GLfloat z ); __attribute__((visibility("default"))) GLboolean glIsList( GLuint list ); __attribute__((visibility("default"))) void glDeleteLists( GLuint list, GLsizei range ); __attribute__((visibility("default"))) GLuint glGenLists( GLsizei range ); __attribute__((visibility("default"))) void glNewList( GLuint list, GLenum mode ); __attribute__((visibility("default"))) void glEndList( void ); __attribute__((visibility("default"))) void glCallList( GLuint list ); __attribute__((visibility("default"))) void glCallLists( GLsizei n, GLenum type, const GLvoid *lists ); __attribute__((visibility("default"))) void glListBase( GLuint base ); __attribute__((visibility("default"))) void glBegin( GLenum mode ); __attribute__((visibility("default"))) void glEnd( void ); __attribute__((visibility("default"))) void glVertex2d( GLdouble x, GLdouble y ); __attribute__((visibility("default"))) void glVertex2f( GLfloat x, GLfloat y ); __attribute__((visibility("default"))) void glVertex2i( GLint x, GLint y ); __attribute__((visibility("default"))) void glVertex2s( GLshort x, GLshort y ); __attribute__((visibility("default"))) void glVertex3d( GLdouble x, GLdouble y, GLdouble z ); __attribute__((visibility("default"))) void glVertex3f( GLfloat x, GLfloat y, GLfloat z ); __attribute__((visibility("default"))) void glVertex3i( GLint x, GLint y, GLint z ); __attribute__((visibility("default"))) void glVertex3s( GLshort x, GLshort y, GLshort z ); __attribute__((visibility("default"))) void glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); __attribute__((visibility("default"))) void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); __attribute__((visibility("default"))) void glVertex4i( GLint x, GLint y, GLint z, GLint w ); __attribute__((visibility("default"))) void glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); __attribute__((visibility("default"))) void glVertex2dv( const GLdouble *v ); __attribute__((visibility("default"))) void glVertex2fv( const GLfloat *v ); __attribute__((visibility("default"))) void glVertex2iv( const GLint *v ); __attribute__((visibility("default"))) void glVertex2sv( const GLshort *v ); __attribute__((visibility("default"))) void glVertex3dv( const GLdouble *v ); __attribute__((visibility("default"))) void glVertex3fv( const GLfloat *v ); __attribute__((visibility("default"))) void glVertex3iv( const GLint *v ); __attribute__((visibility("default"))) void glVertex3sv( const GLshort *v ); __attribute__((visibility("default"))) void glVertex4dv( const GLdouble *v ); __attribute__((visibility("default"))) void glVertex4fv( const GLfloat *v ); __attribute__((visibility("default"))) void glVertex4iv( const GLint *v ); __attribute__((visibility("default"))) void glVertex4sv( const GLshort *v ); __attribute__((visibility("default"))) void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); __attribute__((visibility("default"))) void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); __attribute__((visibility("default"))) void glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); __attribute__((visibility("default"))) void glNormal3i( GLint nx, GLint ny, GLint nz ); __attribute__((visibility("default"))) void glNormal3s( GLshort nx, GLshort ny, GLshort nz ); __attribute__((visibility("default"))) void glNormal3bv( const GLbyte *v ); __attribute__((visibility("default"))) void glNormal3dv( const GLdouble *v ); __attribute__((visibility("default"))) void glNormal3fv( const GLfloat *v ); __attribute__((visibility("default"))) void glNormal3iv( const GLint *v ); __attribute__((visibility("default"))) void glNormal3sv( const GLshort *v ); __attribute__((visibility("default"))) void glIndexd( GLdouble c ); __attribute__((visibility("default"))) void glIndexf( GLfloat c ); __attribute__((visibility("default"))) void glIndexi( GLint c ); __attribute__((visibility("default"))) void glIndexs( GLshort c ); __attribute__((visibility("default"))) void glIndexub( GLubyte c ); __attribute__((visibility("default"))) void glIndexdv( const GLdouble *c ); __attribute__((visibility("default"))) void glIndexfv( const GLfloat *c ); __attribute__((visibility("default"))) void glIndexiv( const GLint *c ); __attribute__((visibility("default"))) void glIndexsv( const GLshort *c ); __attribute__((visibility("default"))) void glIndexubv( const GLubyte *c ); __attribute__((visibility("default"))) void glColor3b( GLbyte red, GLbyte green, GLbyte blue ); __attribute__((visibility("default"))) void glColor3d( GLdouble red, GLdouble green, GLdouble blue ); __attribute__((visibility("default"))) void glColor3f( GLfloat red, GLfloat green, GLfloat blue ); __attribute__((visibility("default"))) void glColor3i( GLint red, GLint green, GLint blue ); __attribute__((visibility("default"))) void glColor3s( GLshort red, GLshort green, GLshort blue ); __attribute__((visibility("default"))) void glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); __attribute__((visibility("default"))) void glColor3ui( GLuint red, GLuint green, GLuint blue ); __attribute__((visibility("default"))) void glColor3us( GLushort red, GLushort green, GLushort blue ); __attribute__((visibility("default"))) void glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); __attribute__((visibility("default"))) void glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ); __attribute__((visibility("default"))) void glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); __attribute__((visibility("default"))) void glColor4i( GLint red, GLint green, GLint blue, GLint alpha ); __attribute__((visibility("default"))) void glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ); __attribute__((visibility("default"))) void glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ); __attribute__((visibility("default"))) void glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ); __attribute__((visibility("default"))) void glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ); __attribute__((visibility("default"))) void glColor3bv( const GLbyte *v ); __attribute__((visibility("default"))) void glColor3dv( const GLdouble *v ); __attribute__((visibility("default"))) void glColor3fv( const GLfloat *v ); __attribute__((visibility("default"))) void glColor3iv( const GLint *v ); __attribute__((visibility("default"))) void glColor3sv( const GLshort *v ); __attribute__((visibility("default"))) void glColor3ubv( const GLubyte *v ); __attribute__((visibility("default"))) void glColor3uiv( const GLuint *v ); __attribute__((visibility("default"))) void glColor3usv( const GLushort *v ); __attribute__((visibility("default"))) void glColor4bv( const GLbyte *v ); __attribute__((visibility("default"))) void glColor4dv( const GLdouble *v ); __attribute__((visibility("default"))) void glColor4fv( const GLfloat *v ); __attribute__((visibility("default"))) void glColor4iv( const GLint *v ); __attribute__((visibility("default"))) void glColor4sv( const GLshort *v ); __attribute__((visibility("default"))) void glColor4ubv( const GLubyte *v ); __attribute__((visibility("default"))) void glColor4uiv( const GLuint *v ); __attribute__((visibility("default"))) void glColor4usv( const GLushort *v ); __attribute__((visibility("default"))) void glTexCoord1d( GLdouble s ); __attribute__((visibility("default"))) void glTexCoord1f( GLfloat s ); __attribute__((visibility("default"))) void glTexCoord1i( GLint s ); __attribute__((visibility("default"))) void glTexCoord1s( GLshort s ); __attribute__((visibility("default"))) void glTexCoord2d( GLdouble s, GLdouble t ); __attribute__((visibility("default"))) void glTexCoord2f( GLfloat s, GLfloat t ); __attribute__((visibility("default"))) void glTexCoord2i( GLint s, GLint t ); __attribute__((visibility("default"))) void glTexCoord2s( GLshort s, GLshort t ); __attribute__((visibility("default"))) void glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); __attribute__((visibility("default"))) void glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); __attribute__((visibility("default"))) void glTexCoord3i( GLint s, GLint t, GLint r ); __attribute__((visibility("default"))) void glTexCoord3s( GLshort s, GLshort t, GLshort r ); __attribute__((visibility("default"))) void glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); __attribute__((visibility("default"))) void glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); __attribute__((visibility("default"))) void glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); __attribute__((visibility("default"))) void glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); __attribute__((visibility("default"))) void glTexCoord1dv( const GLdouble *v ); __attribute__((visibility("default"))) void glTexCoord1fv( const GLfloat *v ); __attribute__((visibility("default"))) void glTexCoord1iv( const GLint *v ); __attribute__((visibility("default"))) void glTexCoord1sv( const GLshort *v ); __attribute__((visibility("default"))) void glTexCoord2dv( const GLdouble *v ); __attribute__((visibility("default"))) void glTexCoord2fv( const GLfloat *v ); __attribute__((visibility("default"))) void glTexCoord2iv( const GLint *v ); __attribute__((visibility("default"))) void glTexCoord2sv( const GLshort *v ); __attribute__((visibility("default"))) void glTexCoord3dv( const GLdouble *v ); __attribute__((visibility("default"))) void glTexCoord3fv( const GLfloat *v ); __attribute__((visibility("default"))) void glTexCoord3iv( const GLint *v ); __attribute__((visibility("default"))) void glTexCoord3sv( const GLshort *v ); __attribute__((visibility("default"))) void glTexCoord4dv( const GLdouble *v ); __attribute__((visibility("default"))) void glTexCoord4fv( const GLfloat *v ); __attribute__((visibility("default"))) void glTexCoord4iv( const GLint *v ); __attribute__((visibility("default"))) void glTexCoord4sv( const GLshort *v ); __attribute__((visibility("default"))) void glRasterPos2d( GLdouble x, GLdouble y ); __attribute__((visibility("default"))) void glRasterPos2f( GLfloat x, GLfloat y ); __attribute__((visibility("default"))) void glRasterPos2i( GLint x, GLint y ); __attribute__((visibility("default"))) void glRasterPos2s( GLshort x, GLshort y ); __attribute__((visibility("default"))) void glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); __attribute__((visibility("default"))) void glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); __attribute__((visibility("default"))) void glRasterPos3i( GLint x, GLint y, GLint z ); __attribute__((visibility("default"))) void glRasterPos3s( GLshort x, GLshort y, GLshort z ); __attribute__((visibility("default"))) void glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); __attribute__((visibility("default"))) void glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); __attribute__((visibility("default"))) void glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); __attribute__((visibility("default"))) void glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); __attribute__((visibility("default"))) void glRasterPos2dv( const GLdouble *v ); __attribute__((visibility("default"))) void glRasterPos2fv( const GLfloat *v ); __attribute__((visibility("default"))) void glRasterPos2iv( const GLint *v ); __attribute__((visibility("default"))) void glRasterPos2sv( const GLshort *v ); __attribute__((visibility("default"))) void glRasterPos3dv( const GLdouble *v ); __attribute__((visibility("default"))) void glRasterPos3fv( const GLfloat *v ); __attribute__((visibility("default"))) void glRasterPos3iv( const GLint *v ); __attribute__((visibility("default"))) void glRasterPos3sv( const GLshort *v ); __attribute__((visibility("default"))) void glRasterPos4dv( const GLdouble *v ); __attribute__((visibility("default"))) void glRasterPos4fv( const GLfloat *v ); __attribute__((visibility("default"))) void glRasterPos4iv( const GLint *v ); __attribute__((visibility("default"))) void glRasterPos4sv( const GLshort *v ); __attribute__((visibility("default"))) void glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); __attribute__((visibility("default"))) void glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); __attribute__((visibility("default"))) void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); __attribute__((visibility("default"))) void glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); __attribute__((visibility("default"))) void glRectdv( const GLdouble *v1, const GLdouble *v2 ); __attribute__((visibility("default"))) void glRectfv( const GLfloat *v1, const GLfloat *v2 ); __attribute__((visibility("default"))) void glRectiv( const GLint *v1, const GLint *v2 ); __attribute__((visibility("default"))) void glRectsv( const GLshort *v1, const GLshort *v2 ); __attribute__((visibility("default"))) void glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glNormalPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glIndexPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); __attribute__((visibility("default"))) void glGetPointerv( GLenum pname, GLvoid **params ); __attribute__((visibility("default"))) void glArrayElement( GLint i ); __attribute__((visibility("default"))) void glDrawArrays( GLenum mode, GLint first, GLsizei count ); __attribute__((visibility("default"))) void glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ); __attribute__((visibility("default"))) void glInterleavedArrays( GLenum format, GLsizei stride, const GLvoid *pointer ); __attribute__((visibility("default"))) void glShadeModel( GLenum mode ); __attribute__((visibility("default"))) void glLightf( GLenum light, GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glLighti( GLenum light, GLenum pname, GLint param ); __attribute__((visibility("default"))) void glLightfv( GLenum light, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glLightiv( GLenum light, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glGetLightfv( GLenum light, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetLightiv( GLenum light, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glLightModelf( GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glLightModeli( GLenum pname, GLint param ); __attribute__((visibility("default"))) void glLightModelfv( GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glLightModeliv( GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glMaterialf( GLenum face, GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glMateriali( GLenum face, GLenum pname, GLint param ); __attribute__((visibility("default"))) void glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glMaterialiv( GLenum face, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glColorMaterial( GLenum face, GLenum mode ); __attribute__((visibility("default"))) void glPixelZoom( GLfloat xfactor, GLfloat yfactor ); __attribute__((visibility("default"))) void glPixelStoref( GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glPixelStorei( GLenum pname, GLint param ); __attribute__((visibility("default"))) void glPixelTransferf( GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glPixelTransferi( GLenum pname, GLint param ); __attribute__((visibility("default"))) void glPixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values ); __attribute__((visibility("default"))) void glPixelMapuiv( GLenum map, GLsizei mapsize, const GLuint *values ); __attribute__((visibility("default"))) void glPixelMapusv( GLenum map, GLsizei mapsize, const GLushort *values ); __attribute__((visibility("default"))) void glGetPixelMapfv( GLenum map, GLfloat *values ); __attribute__((visibility("default"))) void glGetPixelMapuiv( GLenum map, GLuint *values ); __attribute__((visibility("default"))) void glGetPixelMapusv( GLenum map, GLushort *values ); __attribute__((visibility("default"))) void glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap ); __attribute__((visibility("default"))) void glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ); __attribute__((visibility("default"))) void glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ); __attribute__((visibility("default"))) void glStencilFunc( GLenum func, GLint ref, GLuint mask ); __attribute__((visibility("default"))) void glStencilMask( GLuint mask ); __attribute__((visibility("default"))) void glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); __attribute__((visibility("default"))) void glClearStencil( GLint s ); __attribute__((visibility("default"))) void glTexGend( GLenum coord, GLenum pname, GLdouble param ); __attribute__((visibility("default"))) void glTexGenf( GLenum coord, GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glTexGeni( GLenum coord, GLenum pname, GLint param ); __attribute__((visibility("default"))) void glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); __attribute__((visibility("default"))) void glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); __attribute__((visibility("default"))) void glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glTexEnvf( GLenum target, GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glTexEnvi( GLenum target, GLenum pname, GLint param ); __attribute__((visibility("default"))) void glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glTexEnviv( GLenum target, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glTexParameterf( GLenum target, GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glTexParameteri( GLenum target, GLenum pname, GLint param ); __attribute__((visibility("default"))) void glTexParameterfv( GLenum target, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glTexParameteriv( GLenum target, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glGetTexParameterfv( GLenum target, GLenum pname, GLfloat *params); __attribute__((visibility("default"))) void glGetTexParameteriv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels ); __attribute__((visibility("default"))) void glGenTextures( GLsizei n, GLuint *textures ); __attribute__((visibility("default"))) void glDeleteTextures( GLsizei n, const GLuint *textures); __attribute__((visibility("default"))) void glBindTexture( GLenum target, GLuint texture ); __attribute__((visibility("default"))) void glPrioritizeTextures( GLsizei n, const GLuint *textures, const GLclampf *priorities ); __attribute__((visibility("default"))) GLboolean glAreTexturesResident( GLsizei n, const GLuint *textures, GLboolean *residences ); __attribute__((visibility("default"))) GLboolean glIsTexture( GLuint texture ); __attribute__((visibility("default"))) void glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ); __attribute__((visibility("default"))) void glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ); __attribute__((visibility("default"))) void glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ); __attribute__((visibility("default"))) void glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ); __attribute__((visibility("default"))) void glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points ); __attribute__((visibility("default"))) void glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points ); __attribute__((visibility("default"))) void glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points ); __attribute__((visibility("default"))) void glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points ); __attribute__((visibility("default"))) void glGetMapdv( GLenum target, GLenum query, GLdouble *v ); __attribute__((visibility("default"))) void glGetMapfv( GLenum target, GLenum query, GLfloat *v ); __attribute__((visibility("default"))) void glGetMapiv( GLenum target, GLenum query, GLint *v ); __attribute__((visibility("default"))) void glEvalCoord1d( GLdouble u ); __attribute__((visibility("default"))) void glEvalCoord1f( GLfloat u ); __attribute__((visibility("default"))) void glEvalCoord1dv( const GLdouble *u ); __attribute__((visibility("default"))) void glEvalCoord1fv( const GLfloat *u ); __attribute__((visibility("default"))) void glEvalCoord2d( GLdouble u, GLdouble v ); __attribute__((visibility("default"))) void glEvalCoord2f( GLfloat u, GLfloat v ); __attribute__((visibility("default"))) void glEvalCoord2dv( const GLdouble *u ); __attribute__((visibility("default"))) void glEvalCoord2fv( const GLfloat *u ); __attribute__((visibility("default"))) void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); __attribute__((visibility("default"))) void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); __attribute__((visibility("default"))) void glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ); __attribute__((visibility("default"))) void glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ); __attribute__((visibility("default"))) void glEvalPoint1( GLint i ); __attribute__((visibility("default"))) void glEvalPoint2( GLint i, GLint j ); __attribute__((visibility("default"))) void glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); __attribute__((visibility("default"))) void glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); __attribute__((visibility("default"))) void glFogf( GLenum pname, GLfloat param ); __attribute__((visibility("default"))) void glFogi( GLenum pname, GLint param ); __attribute__((visibility("default"))) void glFogfv( GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glFogiv( GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); __attribute__((visibility("default"))) void glPassThrough( GLfloat token ); __attribute__((visibility("default"))) void glSelectBuffer( GLsizei size, GLuint *buffer ); __attribute__((visibility("default"))) void glInitNames( void ); __attribute__((visibility("default"))) void glLoadName( GLuint name ); __attribute__((visibility("default"))) void glPushName( GLuint name ); __attribute__((visibility("default"))) void glPopName( void ); # 1519 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); __attribute__((visibility("default"))) void glTexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); __attribute__((visibility("default"))) void glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); __attribute__((visibility("default"))) void glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); typedef void ( * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); typedef void ( * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 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); typedef void ( * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); # 1629 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); __attribute__((visibility("default"))) void glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ); __attribute__((visibility("default"))) void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); __attribute__((visibility("default"))) void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); __attribute__((visibility("default"))) void glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ); __attribute__((visibility("default"))) void glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); __attribute__((visibility("default"))) void glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid *table ); __attribute__((visibility("default"))) void glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glBlendEquation( GLenum mode ); __attribute__((visibility("default"))) void glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); __attribute__((visibility("default"))) void glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ); __attribute__((visibility("default"))) void glResetHistogram( GLenum target ); __attribute__((visibility("default"))) void glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values ); __attribute__((visibility("default"))) void glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetHistogramParameteriv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glMinmax( GLenum target, GLenum internalformat, GLboolean sink ); __attribute__((visibility("default"))) void glResetMinmax( GLenum target ); __attribute__((visibility("default"))) void glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values ); __attribute__((visibility("default"))) void glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image ); __attribute__((visibility("default"))) void glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image ); __attribute__((visibility("default"))) void glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ); __attribute__((visibility("default"))) void glConvolutionParameterfv( GLenum target, GLenum pname, const GLfloat *params ); __attribute__((visibility("default"))) void glConvolutionParameteri( GLenum target, GLenum pname, GLint params ); __attribute__((visibility("default"))) void glConvolutionParameteriv( GLenum target, GLenum pname, const GLint *params ); __attribute__((visibility("default"))) void glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); __attribute__((visibility("default"))) void glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); __attribute__((visibility("default"))) void glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid *image ); __attribute__((visibility("default"))) void glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat *params ); __attribute__((visibility("default"))) void glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint *params ); __attribute__((visibility("default"))) void glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column ); __attribute__((visibility("default"))) void glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); typedef void ( * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); typedef void ( * PFNGLBLENDEQUATIONPROC) (GLenum mode); typedef void ( * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); typedef void ( * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); typedef void ( * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); typedef void ( * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); typedef void ( * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); typedef void ( * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); typedef void ( * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void ( * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); typedef void ( * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); typedef void ( * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void ( * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void ( * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); typedef void ( * PFNGLRESETHISTOGRAMPROC) (GLenum target); typedef void ( * PFNGLRESETMINMAXPROC) (GLenum target); # 1883 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glActiveTexture( GLenum texture ); __attribute__((visibility("default"))) void glClientActiveTexture( GLenum texture ); __attribute__((visibility("default"))) void glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); __attribute__((visibility("default"))) void glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); __attribute__((visibility("default"))) void glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); __attribute__((visibility("default"))) void glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); __attribute__((visibility("default"))) void glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); __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 ); __attribute__((visibility("default"))) void glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); __attribute__((visibility("default"))) void glMultiTexCoord1d( GLenum target, GLdouble s ); __attribute__((visibility("default"))) void glMultiTexCoord1dv( GLenum target, const GLdouble *v ); __attribute__((visibility("default"))) void glMultiTexCoord1f( GLenum target, GLfloat s ); __attribute__((visibility("default"))) void glMultiTexCoord1fv( GLenum target, const GLfloat *v ); __attribute__((visibility("default"))) void glMultiTexCoord1i( GLenum target, GLint s ); __attribute__((visibility("default"))) void glMultiTexCoord1iv( GLenum target, const GLint *v ); __attribute__((visibility("default"))) void glMultiTexCoord1s( GLenum target, GLshort s ); __attribute__((visibility("default"))) void glMultiTexCoord1sv( GLenum target, const GLshort *v ); __attribute__((visibility("default"))) void glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); __attribute__((visibility("default"))) void glMultiTexCoord2dv( GLenum target, const GLdouble *v ); __attribute__((visibility("default"))) void glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); __attribute__((visibility("default"))) void glMultiTexCoord2fv( GLenum target, const GLfloat *v ); __attribute__((visibility("default"))) void glMultiTexCoord2i( GLenum target, GLint s, GLint t ); __attribute__((visibility("default"))) void glMultiTexCoord2iv( GLenum target, const GLint *v ); __attribute__((visibility("default"))) void glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); __attribute__((visibility("default"))) void glMultiTexCoord2sv( GLenum target, const GLshort *v ); __attribute__((visibility("default"))) void glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); __attribute__((visibility("default"))) void glMultiTexCoord3dv( GLenum target, const GLdouble *v ); __attribute__((visibility("default"))) void glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); __attribute__((visibility("default"))) void glMultiTexCoord3fv( GLenum target, const GLfloat *v ); __attribute__((visibility("default"))) void glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); __attribute__((visibility("default"))) void glMultiTexCoord3iv( GLenum target, const GLint *v ); __attribute__((visibility("default"))) void glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); __attribute__((visibility("default"))) void glMultiTexCoord3sv( GLenum target, const GLshort *v ); __attribute__((visibility("default"))) void glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); __attribute__((visibility("default"))) void glMultiTexCoord4dv( GLenum target, const GLdouble *v ); __attribute__((visibility("default"))) void glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); __attribute__((visibility("default"))) void glMultiTexCoord4fv( GLenum target, const GLfloat *v ); __attribute__((visibility("default"))) void glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); __attribute__((visibility("default"))) void glMultiTexCoord4iv( GLenum target, const GLint *v ); __attribute__((visibility("default"))) void glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); __attribute__((visibility("default"))) void glMultiTexCoord4sv( GLenum target, const GLshort *v ); __attribute__((visibility("default"))) void glLoadTransposeMatrixd( const GLdouble m[16] ); __attribute__((visibility("default"))) void glLoadTransposeMatrixf( const GLfloat m[16] ); __attribute__((visibility("default"))) void glMultTransposeMatrixd( const GLdouble m[16] ); __attribute__((visibility("default"))) void glMultTransposeMatrixf( const GLfloat m[16] ); __attribute__((visibility("default"))) void glSampleCoverage( GLclampf value, GLboolean invert ); typedef void ( * PFNGLACTIVETEXTUREPROC) (GLenum texture); typedef void ( * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); typedef void ( * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); typedef void ( * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); typedef void ( * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); typedef void ( * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); typedef void ( * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); typedef void ( * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); typedef void ( * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); typedef void ( * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); typedef void ( * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void ( * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void ( * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); typedef void ( * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); typedef void ( * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void ( * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void ( * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void ( * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void ( * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); typedef void ( * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); typedef void ( * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); typedef void ( * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); typedef void ( * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 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); typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); # 2066 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glActiveTextureARB(GLenum texture); __attribute__((visibility("default"))) void glClientActiveTextureARB(GLenum texture); __attribute__((visibility("default"))) void glMultiTexCoord1dARB(GLenum target, GLdouble s); __attribute__((visibility("default"))) void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); __attribute__((visibility("default"))) void glMultiTexCoord1fARB(GLenum target, GLfloat s); __attribute__((visibility("default"))) void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); __attribute__((visibility("default"))) void glMultiTexCoord1iARB(GLenum target, GLint s); __attribute__((visibility("default"))) void glMultiTexCoord1ivARB(GLenum target, const GLint *v); __attribute__((visibility("default"))) void glMultiTexCoord1sARB(GLenum target, GLshort s); __attribute__((visibility("default"))) void glMultiTexCoord1svARB(GLenum target, const GLshort *v); __attribute__((visibility("default"))) void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); __attribute__((visibility("default"))) void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); __attribute__((visibility("default"))) void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); __attribute__((visibility("default"))) void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); __attribute__((visibility("default"))) void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); __attribute__((visibility("default"))) void glMultiTexCoord2ivARB(GLenum target, const GLint *v); __attribute__((visibility("default"))) void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); __attribute__((visibility("default"))) void glMultiTexCoord2svARB(GLenum target, const GLshort *v); __attribute__((visibility("default"))) void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); __attribute__((visibility("default"))) void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); __attribute__((visibility("default"))) void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); __attribute__((visibility("default"))) void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); __attribute__((visibility("default"))) void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); __attribute__((visibility("default"))) void glMultiTexCoord3ivARB(GLenum target, const GLint *v); __attribute__((visibility("default"))) void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); __attribute__((visibility("default"))) void glMultiTexCoord3svARB(GLenum target, const GLshort *v); __attribute__((visibility("default"))) void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); __attribute__((visibility("default"))) void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); __attribute__((visibility("default"))) void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); __attribute__((visibility("default"))) void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); __attribute__((visibility("default"))) void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); __attribute__((visibility("default"))) void glMultiTexCoord4ivARB(GLenum target, const GLint *v); __attribute__((visibility("default"))) void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); __attribute__((visibility("default"))) void glMultiTexCoord4svARB(GLenum target, const GLshort *v); typedef void ( * PFNGLACTIVETEXTUREARBPROC) (GLenum texture); typedef void ( * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); typedef void ( * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); typedef void ( * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); typedef void ( * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); typedef void ( * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); typedef void ( * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); typedef void ( * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); typedef void ( * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); typedef void ( * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); typedef void ( * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void ( * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void ( * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); typedef void ( * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); typedef void ( * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); typedef void ( * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void ( * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); typedef void ( * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void ( * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); typedef void ( * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void ( * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); typedef void ( * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void ( * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); # 2150 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" 1 # 3385 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 152 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 typedef int ptrdiff_t; # 3386 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" 2 typedef char GLchar; typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLsizeiptr; typedef ptrdiff_t GLintptrARB; typedef ptrdiff_t GLsizeiptrARB; typedef char GLcharARB; typedef unsigned int GLhandleARB; typedef unsigned short GLhalfARB; typedef unsigned short GLhalfNV; # 3456 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" typedef int64_t GLint64EXT; typedef uint64_t GLuint64EXT; # 3643 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glFogCoordf (GLfloat); __attribute__((visibility("default"))) void glFogCoordfv (const GLfloat *); __attribute__((visibility("default"))) void glFogCoordd (GLdouble); __attribute__((visibility("default"))) void glFogCoorddv (const GLdouble *); __attribute__((visibility("default"))) void glFogCoordPointer (GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); __attribute__((visibility("default"))) void glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); __attribute__((visibility("default"))) void glPointParameterf (GLenum, GLfloat); __attribute__((visibility("default"))) void glPointParameterfv (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glPointParameteri (GLenum, GLint); __attribute__((visibility("default"))) void glPointParameteriv (GLenum, const GLint *); __attribute__((visibility("default"))) void glSecondaryColor3b (GLbyte, GLbyte, GLbyte); __attribute__((visibility("default"))) void glSecondaryColor3bv (const GLbyte *); __attribute__((visibility("default"))) void glSecondaryColor3d (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glSecondaryColor3dv (const GLdouble *); __attribute__((visibility("default"))) void glSecondaryColor3f (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glSecondaryColor3fv (const GLfloat *); __attribute__((visibility("default"))) void glSecondaryColor3i (GLint, GLint, GLint); __attribute__((visibility("default"))) void glSecondaryColor3iv (const GLint *); __attribute__((visibility("default"))) void glSecondaryColor3s (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glSecondaryColor3sv (const GLshort *); __attribute__((visibility("default"))) void glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); __attribute__((visibility("default"))) void glSecondaryColor3ubv (const GLubyte *); __attribute__((visibility("default"))) void glSecondaryColor3ui (GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glSecondaryColor3uiv (const GLuint *); __attribute__((visibility("default"))) void glSecondaryColor3us (GLushort, GLushort, GLushort); __attribute__((visibility("default"))) void glSecondaryColor3usv (const GLushort *); __attribute__((visibility("default"))) void glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glWindowPos2d (GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos2dv (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos2f (GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos2fv (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos2i (GLint, GLint); __attribute__((visibility("default"))) void glWindowPos2iv (const GLint *); __attribute__((visibility("default"))) void glWindowPos2s (GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos2sv (const GLshort *); __attribute__((visibility("default"))) void glWindowPos3d (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos3dv (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos3f (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos3fv (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos3i (GLint, GLint, GLint); __attribute__((visibility("default"))) void glWindowPos3iv (const GLint *); __attribute__((visibility("default"))) void glWindowPos3s (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos3sv (const GLshort *); typedef void ( * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void ( * PFNGLFOGCOORDFPROC) (GLfloat coord); typedef void ( * PFNGLFOGCOORDFVPROC) (const GLfloat *coord); typedef void ( * PFNGLFOGCOORDDPROC) (GLdouble coord); typedef void ( * PFNGLFOGCOORDDVPROC) (const GLdouble *coord); typedef void ( * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); typedef void ( * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); typedef void ( * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); typedef void ( * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); typedef void ( * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); typedef void ( * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void ( * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); typedef void ( * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); typedef void ( * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); typedef void ( * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void ( * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); typedef void ( * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); typedef void ( * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); typedef void ( * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); typedef void ( * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); typedef void ( * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); typedef void ( * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); typedef void ( * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); typedef void ( * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); typedef void ( * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); typedef void ( * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); typedef void ( * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); typedef void ( * PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); typedef void ( * PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); typedef void ( * PFNGLWINDOWPOS2IVPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); typedef void ( * PFNGLWINDOWPOS2SVPROC) (const GLshort *v); typedef void ( * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); typedef void ( * PFNGLWINDOWPOS3IVPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLWINDOWPOS3SVPROC) (const GLshort *v); __attribute__((visibility("default"))) void glGenQueries (GLsizei, GLuint *); __attribute__((visibility("default"))) void glDeleteQueries (GLsizei, const GLuint *); __attribute__((visibility("default"))) GLboolean glIsQuery (GLuint); __attribute__((visibility("default"))) void glBeginQuery (GLenum, GLuint); __attribute__((visibility("default"))) void glEndQuery (GLenum); __attribute__((visibility("default"))) void glGetQueryiv (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetQueryObjectiv (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetQueryObjectuiv (GLuint, GLenum, GLuint *); __attribute__((visibility("default"))) void glBindBuffer (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteBuffers (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenBuffers (GLsizei, GLuint *); __attribute__((visibility("default"))) GLboolean glIsBuffer (GLuint); __attribute__((visibility("default"))) void glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum); __attribute__((visibility("default"))) void glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *); __attribute__((visibility("default"))) void glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *); __attribute__((visibility("default"))) GLvoid* glMapBuffer (GLenum, GLenum); __attribute__((visibility("default"))) GLboolean glUnmapBuffer (GLenum); __attribute__((visibility("default"))) void glGetBufferParameteriv (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetBufferPointerv (GLenum, GLenum, GLvoid* *); typedef void ( * PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); typedef void ( * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); typedef GLboolean ( * PFNGLISQUERYPROC) (GLuint id); typedef void ( * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); typedef void ( * PFNGLENDQUERYPROC) (GLenum target); typedef void ( * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); typedef void ( * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); typedef void ( * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); typedef void ( * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); typedef void ( * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); typedef GLboolean ( * PFNGLISBUFFERPROC) (GLuint buffer); typedef void ( * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); typedef void ( * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); typedef void ( * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); typedef GLvoid* ( * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); typedef GLboolean ( * PFNGLUNMAPBUFFERPROC) (GLenum target); typedef void ( * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); __attribute__((visibility("default"))) void glBlendEquationSeparate (GLenum, GLenum); __attribute__((visibility("default"))) void glDrawBuffers (GLsizei, const GLenum *); __attribute__((visibility("default"))) void glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); __attribute__((visibility("default"))) void glStencilMaskSeparate (GLenum, GLuint); __attribute__((visibility("default"))) void glAttachShader (GLuint, GLuint); __attribute__((visibility("default"))) void glBindAttribLocation (GLuint, GLuint, const GLchar *); __attribute__((visibility("default"))) void glCompileShader (GLuint); __attribute__((visibility("default"))) GLuint glCreateProgram (void); __attribute__((visibility("default"))) GLuint glCreateShader (GLenum); __attribute__((visibility("default"))) void glDeleteProgram (GLuint); __attribute__((visibility("default"))) void glDeleteShader (GLuint); __attribute__((visibility("default"))) void glDetachShader (GLuint, GLuint); __attribute__((visibility("default"))) void glDisableVertexAttribArray (GLuint); __attribute__((visibility("default"))) void glEnableVertexAttribArray (GLuint); __attribute__((visibility("default"))) void glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); __attribute__((visibility("default"))) void glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); __attribute__((visibility("default"))) void glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *); __attribute__((visibility("default"))) GLint glGetAttribLocation (GLuint, const GLchar *); __attribute__((visibility("default"))) void glGetProgramiv (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); __attribute__((visibility("default"))) void glGetShaderiv (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); __attribute__((visibility("default"))) void glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *); __attribute__((visibility("default"))) GLint glGetUniformLocation (GLuint, const GLchar *); __attribute__((visibility("default"))) void glGetUniformfv (GLuint, GLint, GLfloat *); __attribute__((visibility("default"))) void glGetUniformiv (GLuint, GLint, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribdv (GLuint, GLenum, GLdouble *); __attribute__((visibility("default"))) void glGetVertexAttribfv (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVertexAttribiv (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); __attribute__((visibility("default"))) GLboolean glIsProgram (GLuint); __attribute__((visibility("default"))) GLboolean glIsShader (GLuint); __attribute__((visibility("default"))) void glLinkProgram (GLuint); __attribute__((visibility("default"))) void glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *); __attribute__((visibility("default"))) void glUseProgram (GLuint); __attribute__((visibility("default"))) void glUniform1f (GLint, GLfloat); __attribute__((visibility("default"))) void glUniform2f (GLint, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform3f (GLint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform1i (GLint, GLint); __attribute__((visibility("default"))) void glUniform2i (GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform3i (GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform4i (GLint, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform1fv (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform2fv (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform3fv (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform4fv (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform1iv (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform2iv (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform3iv (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform4iv (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glValidateProgram (GLuint); __attribute__((visibility("default"))) void glVertexAttrib1d (GLuint, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib1dv (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib1f (GLuint, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib1fv (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib1s (GLuint, GLshort); __attribute__((visibility("default"))) void glVertexAttrib1sv (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib2d (GLuint, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib2dv (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib2f (GLuint, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib2fv (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib2s (GLuint, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib2sv (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib3dv (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib3fv (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib3sv (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4Nbv (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVertexAttrib4Niv (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttrib4Nsv (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); __attribute__((visibility("default"))) void glVertexAttrib4Nubv (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttrib4Nuiv (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttrib4Nusv (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVertexAttrib4bv (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib4dv (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib4fv (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib4iv (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib4sv (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4ubv (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttrib4uiv (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttrib4usv (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); typedef void ( * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); typedef void ( * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); typedef void ( * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); typedef void ( * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); typedef void ( * PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); typedef void ( * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); typedef void ( * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); typedef void ( * PFNGLCOMPILESHADERPROC) (GLuint shader); typedef GLuint ( * PFNGLCREATEPROGRAMPROC) (void); typedef GLuint ( * PFNGLCREATESHADERPROC) (GLenum type); typedef void ( * PFNGLDELETEPROGRAMPROC) (GLuint program); typedef void ( * PFNGLDELETESHADERPROC) (GLuint shader); typedef void ( * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); typedef void ( * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); typedef void ( * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); typedef void ( * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); typedef GLint ( * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); typedef void ( * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); typedef void ( * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); typedef void ( * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); typedef void ( * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); typedef void ( * PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); typedef GLint ( * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); typedef void ( * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); typedef void ( * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); typedef void ( * PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); typedef GLboolean ( * PFNGLISPROGRAMPROC) (GLuint program); typedef GLboolean ( * PFNGLISSHADERPROC) (GLuint shader); typedef void ( * PFNGLLINKPROGRAMPROC) (GLuint program); typedef void ( * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); typedef void ( * PFNGLUSEPROGRAMPROC) (GLuint program); typedef void ( * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); typedef void ( * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); typedef void ( * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void ( * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void ( * PFNGLUNIFORM1IPROC) (GLint location, GLint v0); typedef void ( * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); typedef void ( * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); typedef void ( * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void ( * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLVALIDATEPROGRAMPROC) (GLuint program); typedef void ( * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); typedef void ( * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); typedef void ( * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); typedef void ( * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); typedef void ( * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); typedef void ( * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); typedef void ( * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); typedef void ( * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void ( * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); typedef void ( * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); typedef void ( * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void ( * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); typedef void ( * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); __attribute__((visibility("default"))) void glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *); typedef void ( * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); # 4067 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glLoadTransposeMatrixfARB (const GLfloat *); __attribute__((visibility("default"))) void glLoadTransposeMatrixdARB (const GLdouble *); __attribute__((visibility("default"))) void glMultTransposeMatrixfARB (const GLfloat *); __attribute__((visibility("default"))) void glMultTransposeMatrixdARB (const GLdouble *); typedef void ( * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); typedef void ( * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); typedef void ( * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); typedef void ( * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); __attribute__((visibility("default"))) void glSampleCoverageARB (GLclampf, GLboolean); typedef void ( * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); # 4097 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 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); typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); # 4121 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glPointParameterfARB (GLenum, GLfloat); __attribute__((visibility("default"))) void glPointParameterfvARB (GLenum, const GLfloat *); typedef void ( * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); __attribute__((visibility("default"))) void glWeightbvARB (GLint, const GLbyte *); __attribute__((visibility("default"))) void glWeightsvARB (GLint, const GLshort *); __attribute__((visibility("default"))) void glWeightivARB (GLint, const GLint *); __attribute__((visibility("default"))) void glWeightfvARB (GLint, const GLfloat *); __attribute__((visibility("default"))) void glWeightdvARB (GLint, const GLdouble *); __attribute__((visibility("default"))) void glWeightubvARB (GLint, const GLubyte *); __attribute__((visibility("default"))) void glWeightusvARB (GLint, const GLushort *); __attribute__((visibility("default"))) void glWeightuivARB (GLint, const GLuint *); __attribute__((visibility("default"))) void glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glVertexBlendARB (GLint); typedef void ( * PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); typedef void ( * PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); typedef void ( * PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); typedef void ( * PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); typedef void ( * PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); typedef void ( * PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); typedef void ( * PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); typedef void ( * PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); typedef void ( * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLVERTEXBLENDARBPROC) (GLint count); __attribute__((visibility("default"))) void glCurrentPaletteMatrixARB (GLint); __attribute__((visibility("default"))) void glMatrixIndexubvARB (GLint, const GLubyte *); __attribute__((visibility("default"))) void glMatrixIndexusvARB (GLint, const GLushort *); __attribute__((visibility("default"))) void glMatrixIndexuivARB (GLint, const GLuint *); __attribute__((visibility("default"))) void glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *); typedef void ( * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); typedef void ( * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); typedef void ( * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); typedef void ( * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); typedef void ( * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); # 4201 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glWindowPos2dARB (GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos2dvARB (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos2fARB (GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos2fvARB (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos2iARB (GLint, GLint); __attribute__((visibility("default"))) void glWindowPos2ivARB (const GLint *); __attribute__((visibility("default"))) void glWindowPos2sARB (GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos2svARB (const GLshort *); __attribute__((visibility("default"))) void glWindowPos3dARB (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos3dvARB (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos3fARB (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos3fvARB (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos3iARB (GLint, GLint, GLint); __attribute__((visibility("default"))) void glWindowPos3ivARB (const GLint *); __attribute__((visibility("default"))) void glWindowPos3sARB (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos3svARB (const GLshort *); typedef void ( * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); typedef void ( * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); typedef void ( * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); typedef void ( * PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); typedef void ( * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); typedef void ( * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); typedef void ( * PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); __attribute__((visibility("default"))) void glVertexAttrib1dARB (GLuint, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib1dvARB (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib1fARB (GLuint, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib1fvARB (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib1sARB (GLuint, GLshort); __attribute__((visibility("default"))) void glVertexAttrib1svARB (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib2dvARB (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib2fvARB (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib2sARB (GLuint, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib2svARB (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib3dvARB (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib3fvARB (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib3svARB (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4NbvARB (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVertexAttrib4NivARB (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttrib4NsvARB (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); __attribute__((visibility("default"))) void glVertexAttrib4NubvARB (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttrib4NuivARB (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttrib4NusvARB (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVertexAttrib4bvARB (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib4dvARB (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib4fvARB (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib4ivARB (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib4svARB (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4ubvARB (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttrib4uivARB (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttrib4usvARB (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glEnableVertexAttribArrayARB (GLuint); __attribute__((visibility("default"))) void glDisableVertexAttribArrayARB (GLuint); __attribute__((visibility("default"))) void glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glBindProgramARB (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteProgramsARB (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenProgramsARB (GLsizei, GLuint *); __attribute__((visibility("default"))) void glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *); __attribute__((visibility("default"))) void glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *); __attribute__((visibility("default"))) void glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *); __attribute__((visibility("default"))) void glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *); __attribute__((visibility("default"))) void glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *); __attribute__((visibility("default"))) void glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *); __attribute__((visibility("default"))) void glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *); __attribute__((visibility("default"))) void glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *); __attribute__((visibility("default"))) void glGetProgramivARB (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetProgramStringARB (GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); __attribute__((visibility("default"))) void glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVertexAttribivARB (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *); __attribute__((visibility("default"))) GLboolean glIsProgramARB (GLuint); typedef void ( * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); typedef void ( * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); typedef void ( * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); typedef void ( * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); typedef void ( * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); typedef void ( * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); typedef void ( * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); typedef void ( * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void ( * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); typedef void ( * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); typedef void ( * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void ( * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); typedef void ( * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); typedef void ( * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); typedef void ( * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); typedef void ( * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); typedef void ( * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); typedef void ( * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); typedef void ( * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); typedef void ( * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); typedef void ( * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); typedef void ( * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); typedef void ( * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); typedef void ( * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); typedef GLboolean ( * PFNGLISPROGRAMARBPROC) (GLuint program); # 4374 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBindBufferARB (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteBuffersARB (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenBuffersARB (GLsizei, GLuint *); __attribute__((visibility("default"))) GLboolean glIsBufferARB (GLuint); __attribute__((visibility("default"))) void glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum); __attribute__((visibility("default"))) void glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); __attribute__((visibility("default"))) void glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); __attribute__((visibility("default"))) GLvoid* glMapBufferARB (GLenum, GLenum); __attribute__((visibility("default"))) GLboolean glUnmapBufferARB (GLenum); __attribute__((visibility("default"))) void glGetBufferParameterivARB (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); typedef void ( * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); typedef void ( * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); typedef void ( * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); typedef GLboolean ( * PFNGLISBUFFERARBPROC) (GLuint buffer); typedef void ( * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); typedef void ( * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); typedef void ( * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); typedef GLvoid* ( * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); typedef GLboolean ( * PFNGLUNMAPBUFFERARBPROC) (GLenum target); typedef void ( * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); __attribute__((visibility("default"))) void glGenQueriesARB (GLsizei, GLuint *); __attribute__((visibility("default"))) void glDeleteQueriesARB (GLsizei, const GLuint *); __attribute__((visibility("default"))) GLboolean glIsQueryARB (GLuint); __attribute__((visibility("default"))) void glBeginQueryARB (GLenum, GLuint); __attribute__((visibility("default"))) void glEndQueryARB (GLenum); __attribute__((visibility("default"))) void glGetQueryivARB (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetQueryObjectivARB (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); typedef void ( * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); typedef void ( * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); typedef GLboolean ( * PFNGLISQUERYARBPROC) (GLuint id); typedef void ( * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); typedef void ( * PFNGLENDQUERYARBPROC) (GLenum target); typedef void ( * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); typedef void ( * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); __attribute__((visibility("default"))) void glDeleteObjectARB (GLhandleARB); __attribute__((visibility("default"))) GLhandleARB glGetHandleARB (GLenum); __attribute__((visibility("default"))) void glDetachObjectARB (GLhandleARB, GLhandleARB); __attribute__((visibility("default"))) GLhandleARB glCreateShaderObjectARB (GLenum); __attribute__((visibility("default"))) void glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *); __attribute__((visibility("default"))) void glCompileShaderARB (GLhandleARB); __attribute__((visibility("default"))) GLhandleARB glCreateProgramObjectARB (void); __attribute__((visibility("default"))) void glAttachObjectARB (GLhandleARB, GLhandleARB); __attribute__((visibility("default"))) void glLinkProgramARB (GLhandleARB); __attribute__((visibility("default"))) void glUseProgramObjectARB (GLhandleARB); __attribute__((visibility("default"))) void glValidateProgramARB (GLhandleARB); __attribute__((visibility("default"))) void glUniform1fARB (GLint, GLfloat); __attribute__((visibility("default"))) void glUniform2fARB (GLint, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glUniform1iARB (GLint, GLint); __attribute__((visibility("default"))) void glUniform2iARB (GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform3iARB (GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform4iARB (GLint, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glUniform1fvARB (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform2fvARB (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform3fvARB (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform4fvARB (GLint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glUniform1ivARB (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform2ivARB (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform3ivARB (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniform4ivARB (GLint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *); __attribute__((visibility("default"))) void glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *); __attribute__((visibility("default"))) void glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); __attribute__((visibility("default"))) void glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); __attribute__((visibility("default"))) GLint glGetUniformLocationARB (GLhandleARB, const GLcharARB *); __attribute__((visibility("default"))) void glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); __attribute__((visibility("default"))) void glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); __attribute__((visibility("default"))) void glGetUniformivARB (GLhandleARB, GLint, GLint *); __attribute__((visibility("default"))) void glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); typedef void ( * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); typedef GLhandleARB ( * PFNGLGETHANDLEARBPROC) (GLenum pname); typedef void ( * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); typedef GLhandleARB ( * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); typedef void ( * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); typedef void ( * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); typedef GLhandleARB ( * PFNGLCREATEPROGRAMOBJECTARBPROC) (void); typedef void ( * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); typedef void ( * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); typedef void ( * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); typedef void ( * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); typedef void ( * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); typedef void ( * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); typedef void ( * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void ( * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void ( * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); typedef void ( * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); typedef void ( * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); typedef void ( * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void ( * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); typedef void ( * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); typedef void ( * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void ( * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); typedef void ( * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); typedef void ( * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); typedef GLint ( * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); typedef void ( * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); typedef void ( * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); typedef void ( * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); typedef void ( * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); __attribute__((visibility("default"))) void glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); __attribute__((visibility("default"))) void glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); __attribute__((visibility("default"))) GLint glGetAttribLocationARB (GLhandleARB, const GLcharARB *); typedef void ( * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); typedef void ( * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); typedef GLint ( * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); # 4540 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDrawBuffersARB (GLsizei, const GLenum *); typedef void ( * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); # 4552 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glClampColorARB (GLenum, GLenum); typedef void ( * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); # 4576 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf); typedef void ( * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); __attribute__((visibility("default"))) void glPolygonOffsetEXT (GLfloat, GLfloat); typedef void ( * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); # 4596 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); typedef void ( * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 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); __attribute__((visibility("default"))) void glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *); typedef void ( * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); typedef void ( * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); __attribute__((visibility("default"))) void glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); typedef void ( * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); typedef void ( * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); __attribute__((visibility("default"))) void glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); __attribute__((visibility("default"))) void glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); __attribute__((visibility("default"))) void glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei); __attribute__((visibility("default"))) void glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); __attribute__((visibility("default"))) void glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); typedef void ( * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void ( * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void ( * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void ( * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); __attribute__((visibility("default"))) void glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); __attribute__((visibility("default"))) void glMinmaxEXT (GLenum, GLenum, GLboolean); __attribute__((visibility("default"))) void glResetHistogramEXT (GLenum); __attribute__((visibility("default"))) void glResetMinmaxEXT (GLenum); typedef void ( * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void ( * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void ( * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); typedef void ( * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); typedef void ( * PFNGLRESETMINMAXEXTPROC) (GLenum target); __attribute__((visibility("default"))) void glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); __attribute__((visibility("default"))) void glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glConvolutionParameteriEXT (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glConvolutionParameterivEXT (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei); __attribute__((visibility("default"))) void glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); __attribute__((visibility("default"))) void glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); __attribute__((visibility("default"))) void glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); typedef void ( * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); typedef void ( * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); typedef void ( * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); typedef void ( * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); typedef void ( * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void ( * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); typedef void ( * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); # 4704 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glColorTableParameterivSGI (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); __attribute__((visibility("default"))) void glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); typedef void ( * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); typedef void ( * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void ( * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); __attribute__((visibility("default"))) void glPixelTexGenSGIX (GLenum); typedef void ( * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); __attribute__((visibility("default"))) void glPixelTexGenParameteriSGIS (GLenum, GLint); __attribute__((visibility("default"))) void glPixelTexGenParameterivSGIS (GLenum, const GLint *); __attribute__((visibility("default"))) void glPixelTexGenParameterfSGIS (GLenum, GLfloat); __attribute__((visibility("default"))) void glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glGetPixelTexGenParameterivSGIS (GLenum, GLint *); __attribute__((visibility("default"))) void glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); typedef void ( * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); typedef void ( * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); typedef void ( * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); typedef void ( * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); typedef void ( * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); __attribute__((visibility("default"))) void glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 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); 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); # 4768 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) GLboolean glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *); __attribute__((visibility("default"))) void glBindTextureEXT (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteTexturesEXT (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenTexturesEXT (GLsizei, GLuint *); __attribute__((visibility("default"))) GLboolean glIsTextureEXT (GLuint); __attribute__((visibility("default"))) void glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *); typedef GLboolean ( * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); typedef void ( * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); typedef void ( * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); typedef void ( * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); typedef GLboolean ( * PFNGLISTEXTUREEXTPROC) (GLuint texture); typedef void ( * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); __attribute__((visibility("default"))) void glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glGetDetailTexFuncSGIS (GLenum, GLfloat *); typedef void ( * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); typedef void ( * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); __attribute__((visibility("default"))) void glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glGetSharpenTexFuncSGIS (GLenum, GLfloat *); typedef void ( * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); typedef void ( * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); # 4814 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glSampleMaskSGIS (GLclampf, GLboolean); __attribute__((visibility("default"))) void glSamplePatternSGIS (GLenum); typedef void ( * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); typedef void ( * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); # 4828 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glArrayElementEXT (GLint); __attribute__((visibility("default"))) void glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glDrawArraysEXT (GLenum, GLint, GLsizei); __attribute__((visibility("default"))) void glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *); __attribute__((visibility("default"))) void glGetPointervEXT (GLenum, GLvoid* *); __attribute__((visibility("default"))) void glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); typedef void ( * PFNGLARRAYELEMENTEXTPROC) (GLint i); typedef void ( * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void ( * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); typedef void ( * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); typedef void ( * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); typedef void ( * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void ( * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void ( * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void ( * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); # 4876 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBlendEquationEXT (GLenum); typedef void ( * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); # 4904 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glSpriteParameterfSGIX (GLenum, GLfloat); __attribute__((visibility("default"))) void glSpriteParameterfvSGIX (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glSpriteParameteriSGIX (GLenum, GLint); __attribute__((visibility("default"))) void glSpriteParameterivSGIX (GLenum, const GLint *); typedef void ( * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); typedef void ( * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); typedef void ( * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); # 4922 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glPointParameterfEXT (GLenum, GLfloat); __attribute__((visibility("default"))) void glPointParameterfvEXT (GLenum, const GLfloat *); typedef void ( * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); __attribute__((visibility("default"))) void glPointParameterfSGIS (GLenum, GLfloat); __attribute__((visibility("default"))) void glPointParameterfvSGIS (GLenum, const GLfloat *); typedef void ( * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); __attribute__((visibility("default"))) GLint glGetInstrumentsSGIX (void); __attribute__((visibility("default"))) void glInstrumentsBufferSGIX (GLsizei, GLint *); __attribute__((visibility("default"))) GLint glPollInstrumentsSGIX (GLint *); __attribute__((visibility("default"))) void glReadInstrumentsSGIX (GLint); __attribute__((visibility("default"))) void glStartInstrumentsSGIX (void); __attribute__((visibility("default"))) void glStopInstrumentsSGIX (GLint); typedef GLint ( * PFNGLGETINSTRUMENTSSGIXPROC) (void); typedef void ( * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); typedef GLint ( * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); typedef void ( * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); typedef void ( * PFNGLSTARTINSTRUMENTSSGIXPROC) (void); typedef void ( * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); # 4964 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glFrameZoomSGIX (GLint); typedef void ( * PFNGLFRAMEZOOMSGIXPROC) (GLint factor); __attribute__((visibility("default"))) void glTagSampleBufferSGIX (void); typedef void ( * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); __attribute__((visibility("default"))) void glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); __attribute__((visibility("default"))) void glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); __attribute__((visibility("default"))) void glDeformSGIX (GLbitfield); __attribute__((visibility("default"))) void glLoadIdentityDeformationMapSGIX (GLbitfield); 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); 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); typedef void ( * PFNGLDEFORMSGIXPROC) (GLbitfield mask); typedef void ( * PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); __attribute__((visibility("default"))) void glReferencePlaneSGIX (const GLdouble *); typedef void ( * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); __attribute__((visibility("default"))) void glFlushRasterSGIX (void); typedef void ( * PFNGLFLUSHRASTERSGIXPROC) (void); # 5014 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glFogFuncSGIS (GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glGetFogFuncSGIS (GLfloat *); typedef void ( * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); typedef void ( * PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); # 5028 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glImageTransformParameteriHP (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glImageTransformParameterfHP (GLenum, GLenum, GLfloat); __attribute__((visibility("default"))) void glImageTransformParameterivHP (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glGetImageTransformParameterivHP (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *); typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); # 5054 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei); typedef void ( * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); typedef void ( * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); # 5068 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glHintPGI (GLenum, GLint); typedef void ( * PFNGLHINTPGIPROC) (GLenum target, GLint mode); __attribute__((visibility("default"))) void glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); __attribute__((visibility("default"))) void glGetColorTableParameterivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *); typedef void ( * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); typedef void ( * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); # 5094 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetListParameterivSGIX (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glListParameterfSGIX (GLuint, GLenum, GLfloat); __attribute__((visibility("default"))) void glListParameterfvSGIX (GLuint, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glListParameteriSGIX (GLuint, GLenum, GLint); __attribute__((visibility("default"))) void glListParameterivSGIX (GLuint, GLenum, const GLint *); typedef void ( * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); typedef void ( * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); typedef void ( * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); typedef void ( * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); typedef void ( * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); # 5132 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glIndexMaterialEXT (GLenum, GLenum); typedef void ( * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); __attribute__((visibility("default"))) void glIndexFuncEXT (GLenum, GLclampf); typedef void ( * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); # 5152 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glLockArraysEXT (GLint, GLsizei); __attribute__((visibility("default"))) void glUnlockArraysEXT (void); typedef void ( * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); typedef void ( * PFNGLUNLOCKARRAYSEXTPROC) (void); __attribute__((visibility("default"))) void glCullParameterdvEXT (GLenum, GLdouble *); __attribute__((visibility("default"))) void glCullParameterfvEXT (GLenum, GLfloat *); typedef void ( * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); typedef void ( * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); # 5176 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glFragmentColorMaterialSGIX (GLenum, GLenum); __attribute__((visibility("default"))) void glFragmentLightfSGIX (GLenum, GLenum, GLfloat); __attribute__((visibility("default"))) void glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glFragmentLightiSGIX (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glFragmentLightivSGIX (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glFragmentLightModelfSGIX (GLenum, GLfloat); __attribute__((visibility("default"))) void glFragmentLightModelfvSGIX (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glFragmentLightModeliSGIX (GLenum, GLint); __attribute__((visibility("default"))) void glFragmentLightModelivSGIX (GLenum, const GLint *); __attribute__((visibility("default"))) void glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); __attribute__((visibility("default"))) void glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glFragmentMaterialiSGIX (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glLightEnviSGIX (GLenum, GLint); typedef void ( * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); typedef void ( * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); typedef void ( * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); typedef void ( * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); typedef void ( * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); typedef void ( * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); typedef void ( * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); typedef void ( * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); typedef void ( * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); typedef void ( * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); typedef void ( * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); typedef void ( * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); typedef void ( * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); typedef void ( * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); typedef void ( * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); # 5226 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); typedef void ( * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); # 5242 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glApplyTextureEXT (GLenum); __attribute__((visibility("default"))) void glTextureLightEXT (GLenum); __attribute__((visibility("default"))) void glTextureMaterialEXT (GLenum, GLenum); typedef void ( * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); typedef void ( * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); typedef void ( * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); # 5262 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glAsyncMarkerSGIX (GLuint); __attribute__((visibility("default"))) GLint glFinishAsyncSGIX (GLuint *); __attribute__((visibility("default"))) GLint glPollAsyncSGIX (GLuint *); __attribute__((visibility("default"))) GLuint glGenAsyncMarkersSGIX (GLsizei); __attribute__((visibility("default"))) void glDeleteAsyncMarkersSGIX (GLuint, GLsizei); __attribute__((visibility("default"))) GLboolean glIsAsyncMarkerSGIX (GLuint); typedef void ( * PFNGLASYNCMARKERSGIXPROC) (GLuint marker); typedef GLint ( * PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); typedef GLint ( * PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); typedef GLuint ( * PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); typedef void ( * PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); typedef GLboolean ( * PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); # 5288 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); __attribute__((visibility("default"))) void glNormalPointervINTEL (GLenum, const GLvoid* *); __attribute__((visibility("default"))) void glColorPointervINTEL (GLint, GLenum, const GLvoid* *); __attribute__((visibility("default"))) void glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *); typedef void ( * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); typedef void ( * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); typedef void ( * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); typedef void ( * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); # 5306 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glPixelTransformParameteriEXT (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat); __attribute__((visibility("default"))) void glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *); typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); # 5332 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); __attribute__((visibility("default"))) void glSecondaryColor3bvEXT (const GLbyte *); __attribute__((visibility("default"))) void glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glSecondaryColor3dvEXT (const GLdouble *); __attribute__((visibility("default"))) void glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glSecondaryColor3fvEXT (const GLfloat *); __attribute__((visibility("default"))) void glSecondaryColor3iEXT (GLint, GLint, GLint); __attribute__((visibility("default"))) void glSecondaryColor3ivEXT (const GLint *); __attribute__((visibility("default"))) void glSecondaryColor3sEXT (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glSecondaryColor3svEXT (const GLshort *); __attribute__((visibility("default"))) void glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); __attribute__((visibility("default"))) void glSecondaryColor3ubvEXT (const GLubyte *); __attribute__((visibility("default"))) void glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glSecondaryColor3uivEXT (const GLuint *); __attribute__((visibility("default"))) void glSecondaryColor3usEXT (GLushort, GLushort, GLushort); __attribute__((visibility("default"))) void glSecondaryColor3usvEXT (const GLushort *); __attribute__((visibility("default"))) void glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); typedef void ( * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void ( * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); typedef void ( * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); typedef void ( * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); typedef void ( * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void ( * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); typedef void ( * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); typedef void ( * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); typedef void ( * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); typedef void ( * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); typedef void ( * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); typedef void ( * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); typedef void ( * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); typedef void ( * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); typedef void ( * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); typedef void ( * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); typedef void ( * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); __attribute__((visibility("default"))) void glTextureNormalEXT (GLenum); typedef void ( * PFNGLTEXTURENORMALEXTPROC) (GLenum mode); __attribute__((visibility("default"))) void glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei); __attribute__((visibility("default"))) void glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); typedef void ( * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); typedef void ( * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); __attribute__((visibility("default"))) void glFogCoordfEXT (GLfloat); __attribute__((visibility("default"))) void glFogCoordfvEXT (const GLfloat *); __attribute__((visibility("default"))) void glFogCoorddEXT (GLdouble); __attribute__((visibility("default"))) void glFogCoorddvEXT (const GLdouble *); __attribute__((visibility("default"))) void glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); typedef void ( * PFNGLFOGCOORDFEXTPROC) (GLfloat coord); typedef void ( * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); typedef void ( * PFNGLFOGCOORDDEXTPROC) (GLdouble coord); typedef void ( * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); typedef void ( * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); # 5410 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTangent3bEXT (GLbyte, GLbyte, GLbyte); __attribute__((visibility("default"))) void glTangent3bvEXT (const GLbyte *); __attribute__((visibility("default"))) void glTangent3dEXT (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glTangent3dvEXT (const GLdouble *); __attribute__((visibility("default"))) void glTangent3fEXT (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTangent3fvEXT (const GLfloat *); __attribute__((visibility("default"))) void glTangent3iEXT (GLint, GLint, GLint); __attribute__((visibility("default"))) void glTangent3ivEXT (const GLint *); __attribute__((visibility("default"))) void glTangent3sEXT (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glTangent3svEXT (const GLshort *); __attribute__((visibility("default"))) void glBinormal3bEXT (GLbyte, GLbyte, GLbyte); __attribute__((visibility("default"))) void glBinormal3bvEXT (const GLbyte *); __attribute__((visibility("default"))) void glBinormal3dEXT (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glBinormal3dvEXT (const GLdouble *); __attribute__((visibility("default"))) void glBinormal3fEXT (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glBinormal3fvEXT (const GLfloat *); __attribute__((visibility("default"))) void glBinormal3iEXT (GLint, GLint, GLint); __attribute__((visibility("default"))) void glBinormal3ivEXT (const GLint *); __attribute__((visibility("default"))) void glBinormal3sEXT (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glBinormal3svEXT (const GLshort *); __attribute__((visibility("default"))) void glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); typedef void ( * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); typedef void ( * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); typedef void ( * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); typedef void ( * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); typedef void ( * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); typedef void ( * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); typedef void ( * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); typedef void ( * PFNGLTANGENT3IVEXTPROC) (const GLint *v); typedef void ( * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); typedef void ( * PFNGLTANGENT3SVEXTPROC) (const GLshort *v); typedef void ( * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); typedef void ( * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); typedef void ( * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); typedef void ( * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); typedef void ( * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); typedef void ( * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); typedef void ( * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); typedef void ( * PFNGLBINORMAL3IVEXTPROC) (const GLint *v); typedef void ( * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); typedef void ( * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); typedef void ( * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); # 5476 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glFinishTextureSUNX (void); typedef void ( * PFNGLFINISHTEXTURESUNXPROC) (void); __attribute__((visibility("default"))) void glGlobalAlphaFactorbSUN (GLbyte); __attribute__((visibility("default"))) void glGlobalAlphaFactorsSUN (GLshort); __attribute__((visibility("default"))) void glGlobalAlphaFactoriSUN (GLint); __attribute__((visibility("default"))) void glGlobalAlphaFactorfSUN (GLfloat); __attribute__((visibility("default"))) void glGlobalAlphaFactordSUN (GLdouble); __attribute__((visibility("default"))) void glGlobalAlphaFactorubSUN (GLubyte); __attribute__((visibility("default"))) void glGlobalAlphaFactorusSUN (GLushort); __attribute__((visibility("default"))) void glGlobalAlphaFactoruiSUN (GLuint); typedef void ( * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); typedef void ( * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); typedef void ( * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); typedef void ( * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); typedef void ( * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); typedef void ( * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); typedef void ( * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); typedef void ( * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); __attribute__((visibility("default"))) void glReplacementCodeuiSUN (GLuint); __attribute__((visibility("default"))) void glReplacementCodeusSUN (GLushort); __attribute__((visibility("default"))) void glReplacementCodeubSUN (GLubyte); __attribute__((visibility("default"))) void glReplacementCodeuivSUN (const GLuint *); __attribute__((visibility("default"))) void glReplacementCodeusvSUN (const GLushort *); __attribute__((visibility("default"))) void glReplacementCodeubvSUN (const GLubyte *); __attribute__((visibility("default"))) void glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *); typedef void ( * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); typedef void ( * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); typedef void ( * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); typedef void ( * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); typedef void ( * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); typedef void ( * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); typedef void ( * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); __attribute__((visibility("default"))) void glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat); __attribute__((visibility("default"))) void glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *); __attribute__((visibility("default"))) void glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *); __attribute__((visibility("default"))) void glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); typedef void ( * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); typedef void ( * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); typedef void ( * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); typedef void ( * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); typedef void ( * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); typedef void ( * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); typedef void ( * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); 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); typedef void ( * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 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); typedef void ( * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); 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); typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); 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); typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); __attribute__((visibility("default"))) void glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum); typedef void ( * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); __attribute__((visibility("default"))) void glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum); typedef void ( * PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); # 5664 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glVertexWeightfEXT (GLfloat); __attribute__((visibility("default"))) void glVertexWeightfvEXT (const GLfloat *); __attribute__((visibility("default"))) void glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *); typedef void ( * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); typedef void ( * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); typedef void ( * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); # 5680 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glFlushVertexArrayRangeNV (void); __attribute__((visibility("default"))) void glVertexArrayRangeNV (GLsizei, const GLvoid *); typedef void ( * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); typedef void ( * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); __attribute__((visibility("default"))) void glCombinerParameterfvNV (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glCombinerParameterfNV (GLenum, GLfloat); __attribute__((visibility("default"))) void glCombinerParameterivNV (GLenum, const GLint *); __attribute__((visibility("default"))) void glCombinerParameteriNV (GLenum, GLint); __attribute__((visibility("default"))) void glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); __attribute__((visibility("default"))) void glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); typedef void ( * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); typedef void ( * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); typedef void ( * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); typedef void ( * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); typedef void ( * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); typedef void ( * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); typedef void ( * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); # 5738 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glResizeBuffersMESA (void); typedef void ( * PFNGLRESIZEBUFFERSMESAPROC) (void); __attribute__((visibility("default"))) void glWindowPos2dMESA (GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos2dvMESA (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos2fMESA (GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos2fvMESA (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos2iMESA (GLint, GLint); __attribute__((visibility("default"))) void glWindowPos2ivMESA (const GLint *); __attribute__((visibility("default"))) void glWindowPos2sMESA (GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos2svMESA (const GLshort *); __attribute__((visibility("default"))) void glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos3dvMESA (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos3fvMESA (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos3iMESA (GLint, GLint, GLint); __attribute__((visibility("default"))) void glWindowPos3ivMESA (const GLint *); __attribute__((visibility("default"))) void glWindowPos3sMESA (GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos3svMESA (const GLshort *); __attribute__((visibility("default"))) void glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glWindowPos4dvMESA (const GLdouble *); __attribute__((visibility("default"))) void glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glWindowPos4fvMESA (const GLfloat *); __attribute__((visibility("default"))) void glWindowPos4iMESA (GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glWindowPos4ivMESA (const GLint *); __attribute__((visibility("default"))) void glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glWindowPos4svMESA (const GLshort *); typedef void ( * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); typedef void ( * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); typedef void ( * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); typedef void ( * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); typedef void ( * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); typedef void ( * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); typedef void ( * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); typedef void ( * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); typedef void ( * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); typedef void ( * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); typedef void ( * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); typedef void ( * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); typedef void ( * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); # 5804 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); __attribute__((visibility("default"))) void glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint); typedef void ( * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); typedef void ( * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); __attribute__((visibility("default"))) void glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint); __attribute__((visibility("default"))) void glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); __attribute__((visibility("default"))) void glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); typedef void ( * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); typedef void ( * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void ( * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); # 5860 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTbufferMask3DFX (GLuint); typedef void ( * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); __attribute__((visibility("default"))) void glSampleMaskEXT (GLclampf, GLboolean); __attribute__((visibility("default"))) void glSamplePatternEXT (GLenum); typedef void ( * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); typedef void ( * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); # 5894 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean); typedef void ( * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); __attribute__((visibility("default"))) void glIglooInterfaceSGIX (GLenum, const GLvoid *); typedef void ( * PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); # 5918 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDeleteFencesNV (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenFencesNV (GLsizei, GLuint *); __attribute__((visibility("default"))) GLboolean glIsFenceNV (GLuint); __attribute__((visibility("default"))) GLboolean glTestFenceNV (GLuint); __attribute__((visibility("default"))) void glGetFenceivNV (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glFinishFenceNV (GLuint); __attribute__((visibility("default"))) void glSetFenceNV (GLuint, GLenum); typedef void ( * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); typedef void ( * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); typedef GLboolean ( * PFNGLISFENCENVPROC) (GLuint fence); typedef GLboolean ( * PFNGLTESTFENCENVPROC) (GLuint fence); typedef void ( * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); typedef void ( * PFNGLFINISHFENCENVPROC) (GLuint fence); typedef void ( * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); __attribute__((visibility("default"))) void glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *); __attribute__((visibility("default"))) void glMapParameterivNV (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glMapParameterfvNV (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *); __attribute__((visibility("default"))) void glGetMapParameterivNV (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glEvalMapsNV (GLenum, GLenum); typedef void ( * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); typedef void ( * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void ( * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); typedef void ( * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); typedef void ( * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); # 5966 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); __attribute__((visibility("default"))) void glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); typedef void ( * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); typedef void ( * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); # 5996 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) GLboolean glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *); __attribute__((visibility("default"))) void glBindProgramNV (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteProgramsNV (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glExecuteProgramNV (GLenum, GLuint, const GLfloat *); __attribute__((visibility("default"))) void glGenProgramsNV (GLsizei, GLuint *); __attribute__((visibility("default"))) void glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *); __attribute__((visibility("default"))) void glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetProgramivNV (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetProgramStringNV (GLuint, GLenum, GLubyte *); __attribute__((visibility("default"))) void glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); __attribute__((visibility("default"))) void glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVertexAttribivNV (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *); __attribute__((visibility("default"))) GLboolean glIsProgramNV (GLuint); __attribute__((visibility("default"))) void glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *); __attribute__((visibility("default"))) void glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *); __attribute__((visibility("default"))) void glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *); __attribute__((visibility("default"))) void glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *); __attribute__((visibility("default"))) void glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *); __attribute__((visibility("default"))) void glRequestResidentProgramsNV (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); __attribute__((visibility("default"))) void glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glVertexAttrib1dNV (GLuint, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib1dvNV (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib1fNV (GLuint, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib1fvNV (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib1sNV (GLuint, GLshort); __attribute__((visibility("default"))) void glVertexAttrib1svNV (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib2dvNV (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib2fvNV (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib2sNV (GLuint, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib2svNV (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib3dvNV (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib3fvNV (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib3svNV (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexAttrib4dvNV (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexAttrib4fvNV (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexAttrib4svNV (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); __attribute__((visibility("default"))) void glVertexAttrib4ubvNV (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *); __attribute__((visibility("default"))) void glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *); __attribute__((visibility("default"))) void glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *); __attribute__((visibility("default"))) void glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *); __attribute__((visibility("default"))) void glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *); __attribute__((visibility("default"))) void glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *); typedef GLboolean ( * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); typedef void ( * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); typedef void ( * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); typedef void ( * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); typedef void ( * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); typedef void ( * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); typedef void ( * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); typedef void ( * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); typedef void ( * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); typedef void ( * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); typedef GLboolean ( * PFNGLISPROGRAMNVPROC) (GLuint id); typedef void ( * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); typedef void ( * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); typedef void ( * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); typedef void ( * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v); typedef void ( * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v); typedef void ( * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); typedef void ( * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); typedef void ( * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); typedef void ( * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); typedef void ( * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); typedef void ( * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); typedef void ( * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); typedef void ( * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); typedef void ( * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void ( * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void ( * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void ( * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void ( * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); # 6154 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTexBumpParameterivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glTexBumpParameterfvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glGetTexBumpParameterivATI (GLenum, GLint *); __attribute__((visibility("default"))) void glGetTexBumpParameterfvATI (GLenum, GLfloat *); typedef void ( * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); typedef void ( * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); typedef void ( * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); typedef void ( * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); __attribute__((visibility("default"))) GLuint glGenFragmentShadersATI (GLuint); __attribute__((visibility("default"))) void glBindFragmentShaderATI (GLuint); __attribute__((visibility("default"))) void glDeleteFragmentShaderATI (GLuint); __attribute__((visibility("default"))) void glBeginFragmentShaderATI (void); __attribute__((visibility("default"))) void glEndFragmentShaderATI (void); __attribute__((visibility("default"))) void glPassTexCoordATI (GLuint, GLuint, GLenum); __attribute__((visibility("default"))) void glSampleMapATI (GLuint, GLuint, GLenum); __attribute__((visibility("default"))) void glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glSetFragmentShaderConstantATI (GLuint, const GLfloat *); typedef GLuint ( * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); typedef void ( * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); typedef void ( * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); typedef void ( * PFNGLBEGINFRAGMENTSHADERATIPROC) (void); typedef void ( * PFNGLENDFRAGMENTSHADERATIPROC) (void); typedef void ( * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); typedef void ( * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); typedef void ( * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); typedef void ( * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 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); typedef void ( * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); typedef void ( * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 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); typedef void ( * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); __attribute__((visibility("default"))) void glPNTrianglesiATI (GLenum, GLint); __attribute__((visibility("default"))) void glPNTrianglesfATI (GLenum, GLfloat); typedef void ( * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); typedef void ( * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); __attribute__((visibility("default"))) GLuint glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum); __attribute__((visibility("default"))) GLboolean glIsObjectBufferATI (GLuint); __attribute__((visibility("default"))) void glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum); __attribute__((visibility("default"))) void glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetObjectBufferivATI (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glFreeObjectBufferATI (GLuint); __attribute__((visibility("default"))) void glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint); __attribute__((visibility("default"))) void glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetArrayObjectivATI (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint); __attribute__((visibility("default"))) void glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); typedef GLuint ( * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); typedef GLboolean ( * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); typedef void ( * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); typedef void ( * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); typedef void ( * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); typedef void ( * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef void ( * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); typedef void ( * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef void ( * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); __attribute__((visibility("default"))) void glBeginVertexShaderEXT (void); __attribute__((visibility("default"))) void glEndVertexShaderEXT (void); __attribute__((visibility("default"))) void glBindVertexShaderEXT (GLuint); __attribute__((visibility("default"))) GLuint glGenVertexShadersEXT (GLuint); __attribute__((visibility("default"))) void glDeleteVertexShaderEXT (GLuint); __attribute__((visibility("default"))) void glShaderOp1EXT (GLenum, GLuint, GLuint); __attribute__((visibility("default"))) void glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glInsertComponentEXT (GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glExtractComponentEXT (GLuint, GLuint, GLuint); __attribute__((visibility("default"))) GLuint glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); __attribute__((visibility("default"))) void glSetInvariantEXT (GLuint, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); __attribute__((visibility("default"))) void glVariantbvEXT (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVariantsvEXT (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVariantivEXT (GLuint, const GLint *); __attribute__((visibility("default"))) void glVariantfvEXT (GLuint, const GLfloat *); __attribute__((visibility("default"))) void glVariantdvEXT (GLuint, const GLdouble *); __attribute__((visibility("default"))) void glVariantubvEXT (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVariantusvEXT (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVariantuivEXT (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *); __attribute__((visibility("default"))) void glEnableVariantClientStateEXT (GLuint); __attribute__((visibility("default"))) void glDisableVariantClientStateEXT (GLuint); __attribute__((visibility("default"))) GLuint glBindLightParameterEXT (GLenum, GLenum); __attribute__((visibility("default"))) GLuint glBindMaterialParameterEXT (GLenum, GLenum); __attribute__((visibility("default"))) GLuint glBindTexGenParameterEXT (GLenum, GLenum, GLenum); __attribute__((visibility("default"))) GLuint glBindTextureUnitParameterEXT (GLenum, GLenum); __attribute__((visibility("default"))) GLuint glBindParameterEXT (GLenum); __attribute__((visibility("default"))) GLboolean glIsVariantEnabledEXT (GLuint, GLenum); __attribute__((visibility("default"))) void glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); __attribute__((visibility("default"))) void glGetVariantIntegervEXT (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); __attribute__((visibility("default"))) void glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *); __attribute__((visibility("default"))) void glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *); __attribute__((visibility("default"))) void glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *); typedef void ( * PFNGLBEGINVERTEXSHADEREXTPROC) (void); typedef void ( * PFNGLENDVERTEXSHADEREXTPROC) (void); typedef void ( * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); typedef GLuint ( * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); typedef void ( * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); typedef void ( * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); typedef void ( * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); typedef void ( * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); typedef void ( * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); typedef void ( * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); typedef void ( * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); typedef void ( * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); typedef GLuint ( * PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); typedef void ( * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); typedef void ( * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); typedef void ( * PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); typedef void ( * PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); typedef void ( * PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); typedef void ( * PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); typedef void ( * PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); typedef void ( * PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); typedef void ( * PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); typedef void ( * PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); typedef void ( * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); typedef void ( * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); typedef void ( * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); typedef GLuint ( * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); typedef GLuint ( * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); typedef GLuint ( * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); typedef GLuint ( * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); typedef GLuint ( * PFNGLBINDPARAMETEREXTPROC) (GLenum value); typedef GLboolean ( * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); typedef void ( * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); typedef void ( * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); typedef void ( * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); typedef void ( * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); typedef void ( * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); typedef void ( * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); typedef void ( * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); typedef void ( * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); typedef void ( * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); typedef void ( * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); __attribute__((visibility("default"))) void glVertexStream1sATI (GLenum, GLshort); __attribute__((visibility("default"))) void glVertexStream1svATI (GLenum, const GLshort *); __attribute__((visibility("default"))) void glVertexStream1iATI (GLenum, GLint); __attribute__((visibility("default"))) void glVertexStream1ivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glVertexStream1fATI (GLenum, GLfloat); __attribute__((visibility("default"))) void glVertexStream1fvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glVertexStream1dATI (GLenum, GLdouble); __attribute__((visibility("default"))) void glVertexStream1dvATI (GLenum, const GLdouble *); __attribute__((visibility("default"))) void glVertexStream2sATI (GLenum, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexStream2svATI (GLenum, const GLshort *); __attribute__((visibility("default"))) void glVertexStream2iATI (GLenum, GLint, GLint); __attribute__((visibility("default"))) void glVertexStream2ivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glVertexStream2fATI (GLenum, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexStream2fvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glVertexStream2dATI (GLenum, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexStream2dvATI (GLenum, const GLdouble *); __attribute__((visibility("default"))) void glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexStream3svATI (GLenum, const GLshort *); __attribute__((visibility("default"))) void glVertexStream3iATI (GLenum, GLint, GLint, GLint); __attribute__((visibility("default"))) void glVertexStream3ivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexStream3fvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexStream3dvATI (GLenum, const GLdouble *); __attribute__((visibility("default"))) void glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glVertexStream4svATI (GLenum, const GLshort *); __attribute__((visibility("default"))) void glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glVertexStream4ivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glVertexStream4fvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glVertexStream4dvATI (GLenum, const GLdouble *); __attribute__((visibility("default"))) void glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); __attribute__((visibility("default"))) void glNormalStream3bvATI (GLenum, const GLbyte *); __attribute__((visibility("default"))) void glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort); __attribute__((visibility("default"))) void glNormalStream3svATI (GLenum, const GLshort *); __attribute__((visibility("default"))) void glNormalStream3iATI (GLenum, GLint, GLint, GLint); __attribute__((visibility("default"))) void glNormalStream3ivATI (GLenum, const GLint *); __attribute__((visibility("default"))) void glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glNormalStream3fvATI (GLenum, const GLfloat *); __attribute__((visibility("default"))) void glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glNormalStream3dvATI (GLenum, const GLdouble *); __attribute__((visibility("default"))) void glClientActiveVertexStreamATI (GLenum); __attribute__((visibility("default"))) void glVertexBlendEnviATI (GLenum, GLint); __attribute__((visibility("default"))) void glVertexBlendEnvfATI (GLenum, GLfloat); typedef void ( * PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); typedef void ( * PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); typedef void ( * PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); typedef void ( * PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); typedef void ( * PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); typedef void ( * PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void ( * PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); typedef void ( * PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void ( * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); typedef void ( * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); typedef void ( * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); typedef void ( * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); typedef void ( * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); typedef void ( * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void ( * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); typedef void ( * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void ( * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); typedef void ( * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); typedef void ( * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); typedef void ( * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); typedef void ( * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); typedef void ( * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void ( * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); typedef void ( * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void ( * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); typedef void ( * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); typedef void ( * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); typedef void ( * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); typedef void ( * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void ( * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void ( * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); typedef void ( * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); typedef void ( * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); typedef void ( * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); typedef void ( * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); typedef void ( * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); typedef void ( * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); typedef void ( * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void ( * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); typedef void ( * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void ( * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); typedef void ( * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); typedef void ( * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); __attribute__((visibility("default"))) void glElementPointerATI (GLenum, const GLvoid *); __attribute__((visibility("default"))) void glDrawElementArrayATI (GLenum, GLsizei); __attribute__((visibility("default"))) void glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei); typedef void ( * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); typedef void ( * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); typedef void ( * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); __attribute__((visibility("default"))) void glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); typedef void ( * PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); # 6460 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glGenOcclusionQueriesNV (GLsizei, GLuint *); __attribute__((visibility("default"))) void glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); __attribute__((visibility("default"))) GLboolean glIsOcclusionQueryNV (GLuint); __attribute__((visibility("default"))) void glBeginOcclusionQueryNV (GLuint); __attribute__((visibility("default"))) void glEndOcclusionQueryNV (void); __attribute__((visibility("default"))) void glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); typedef void ( * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); typedef void ( * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); typedef GLboolean ( * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); typedef void ( * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); typedef void ( * PFNGLENDOCCLUSIONQUERYNVPROC) (void); typedef void ( * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); typedef void ( * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); __attribute__((visibility("default"))) void glPointParameteriNV (GLenum, GLint); __attribute__((visibility("default"))) void glPointParameterivNV (GLenum, const GLint *); typedef void ( * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); typedef void ( * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); # 6502 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glActiveStencilFaceEXT (GLenum); typedef void ( * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); # 6518 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glElementPointerAPPLE (GLenum, const GLvoid *); __attribute__((visibility("default"))) void glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); __attribute__((visibility("default"))) void glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei); __attribute__((visibility("default"))) void glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei); __attribute__((visibility("default"))) void glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei); typedef void ( * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); typedef void ( * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); typedef void ( * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); typedef void ( * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); typedef void ( * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); __attribute__((visibility("default"))) void glGenFencesAPPLE (GLsizei, GLuint *); __attribute__((visibility("default"))) void glDeleteFencesAPPLE (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glSetFenceAPPLE (GLuint); __attribute__((visibility("default"))) GLboolean glIsFenceAPPLE (GLuint); __attribute__((visibility("default"))) GLboolean glTestFenceAPPLE (GLuint); __attribute__((visibility("default"))) void glFinishFenceAPPLE (GLuint); __attribute__((visibility("default"))) GLboolean glTestObjectAPPLE (GLenum, GLuint); __attribute__((visibility("default"))) void glFinishObjectAPPLE (GLenum, GLint); typedef void ( * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); typedef void ( * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); typedef void ( * PFNGLSETFENCEAPPLEPROC) (GLuint fence); typedef GLboolean ( * PFNGLISFENCEAPPLEPROC) (GLuint fence); typedef GLboolean ( * PFNGLTESTFENCEAPPLEPROC) (GLuint fence); typedef void ( * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); typedef GLboolean ( * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); typedef void ( * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); __attribute__((visibility("default"))) void glBindVertexArrayAPPLE (GLuint); __attribute__((visibility("default"))) void glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenVertexArraysAPPLE (GLsizei, GLuint *); __attribute__((visibility("default"))) GLboolean glIsVertexArrayAPPLE (GLuint); typedef void ( * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); typedef void ( * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); typedef void ( * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); typedef GLboolean ( * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); __attribute__((visibility("default"))) void glVertexArrayRangeAPPLE (GLsizei, GLvoid *); __attribute__((visibility("default"))) void glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); __attribute__((visibility("default"))) void glVertexArrayParameteriAPPLE (GLenum, GLint); typedef void ( * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); typedef void ( * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); typedef void ( * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); # 6590 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDrawBuffersATI (GLsizei, const GLenum *); typedef void ( * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); # 6618 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); __attribute__((visibility("default"))) void glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); __attribute__((visibility("default"))) void glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *); __attribute__((visibility("default"))) void glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *); __attribute__((visibility("default"))) void glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *); __attribute__((visibility("default"))) void glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *); typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); __attribute__((visibility("default"))) void glVertex2hNV (GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertex2hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertex3hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertex4hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glNormal3hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glColor3hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glColor4hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glTexCoord1hNV (GLhalfNV); __attribute__((visibility("default"))) void glTexCoord1hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glTexCoord2hNV (GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glTexCoord2hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glTexCoord3hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glTexCoord4hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glMultiTexCoord1hNV (GLenum, GLhalfNV); __attribute__((visibility("default"))) void glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); __attribute__((visibility("default"))) void glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); __attribute__((visibility("default"))) void glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); __attribute__((visibility("default"))) void glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); __attribute__((visibility("default"))) void glFogCoordhNV (GLhalfNV); __attribute__((visibility("default"))) void glFogCoordhvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glSecondaryColor3hvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glVertexWeighthNV (GLhalfNV); __attribute__((visibility("default"))) void glVertexWeighthvNV (const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttrib1hNV (GLuint, GLhalfNV); __attribute__((visibility("default"))) void glVertexAttrib1hvNV (GLuint, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertexAttrib2hvNV (GLuint, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertexAttrib3hvNV (GLuint, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); __attribute__((visibility("default"))) void glVertexAttrib4hvNV (GLuint, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *); __attribute__((visibility("default"))) void glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *); typedef void ( * PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); typedef void ( * PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); typedef void ( * PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); typedef void ( * PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); typedef void ( * PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); typedef void ( * PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); typedef void ( * PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); typedef void ( * PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); typedef void ( * PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); typedef void ( * PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); typedef void ( * PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); typedef void ( * PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); typedef void ( * PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); typedef void ( * PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); typedef void ( * PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); typedef void ( * PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); typedef void ( * PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); typedef void ( * PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); typedef void ( * PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); typedef void ( * PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); typedef void ( * PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); typedef void ( * PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); typedef void ( * PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); typedef void ( * PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); typedef void ( * PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); typedef void ( * PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); typedef void ( * PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); typedef void ( * PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); typedef void ( * PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void ( * PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); __attribute__((visibility("default"))) void glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); __attribute__((visibility("default"))) void glFlushPixelDataRangeNV (GLenum); typedef void ( * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); typedef void ( * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); __attribute__((visibility("default"))) void glPrimitiveRestartNV (void); __attribute__((visibility("default"))) void glPrimitiveRestartIndexNV (GLuint); typedef void ( * PFNGLPRIMITIVERESTARTNVPROC) (void); typedef void ( * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); # 6762 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) GLvoid* glMapObjectBufferATI (GLuint); __attribute__((visibility("default"))) void glUnmapObjectBufferATI (GLuint); typedef GLvoid* ( * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); typedef void ( * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); __attribute__((visibility("default"))) void glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum); __attribute__((visibility("default"))) void glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint); typedef void ( * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); typedef void ( * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); __attribute__((visibility("default"))) void glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint); __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *); __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *); typedef void ( * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); # 6798 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDepthBoundsEXT (GLclampd, GLclampd); typedef void ( * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); # 6810 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBlendEquationSeparateEXT (GLenum, GLenum); typedef void ( * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); # 6846 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) GLboolean glIsRenderbufferEXT (GLuint); __attribute__((visibility("default"))) void glBindRenderbufferEXT (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteRenderbuffersEXT (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenRenderbuffersEXT (GLsizei, GLuint *); __attribute__((visibility("default"))) void glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei); __attribute__((visibility("default"))) void glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) GLboolean glIsFramebufferEXT (GLuint); __attribute__((visibility("default"))) void glBindFramebufferEXT (GLenum, GLuint); __attribute__((visibility("default"))) void glDeleteFramebuffersEXT (GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGenFramebuffersEXT (GLsizei, GLuint *); __attribute__((visibility("default"))) GLenum glCheckFramebufferStatusEXT (GLenum); __attribute__((visibility("default"))) void glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint); __attribute__((visibility("default"))) void glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint); __attribute__((visibility("default"))) void glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint); __attribute__((visibility("default"))) void glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint); __attribute__((visibility("default"))) void glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGenerateMipmapEXT (GLenum); typedef GLboolean ( * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); typedef void ( * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); typedef void ( * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); typedef void ( * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); typedef void ( * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void ( * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef GLboolean ( * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); typedef void ( * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); typedef void ( * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); typedef void ( * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); typedef GLenum ( * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); typedef void ( * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void ( * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void ( * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void ( * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void ( * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); typedef void ( * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); __attribute__((visibility("default"))) void glStringMarkerGREMEDY (GLsizei, const GLvoid *); typedef void ( * PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); # 6898 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glStencilClearTagEXT (GLsizei, GLuint); typedef void ( * PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); # 6910 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); typedef void ( * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei); typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); # 6930 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *); __attribute__((visibility("default"))) void glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT *); typedef void ( * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); typedef void ( * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); __attribute__((visibility("default"))) void glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); typedef void ( * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); __attribute__((visibility("default"))) void glBufferParameteriAPPLE (GLenum, GLenum, GLint); __attribute__((visibility("default"))) void glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr); typedef void ( * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); typedef void ( * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); __attribute__((visibility("default"))) void glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glProgramLocalParameterI4ivNV (GLenum, GLuint, const GLint *); __attribute__((visibility("default"))) void glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glProgramLocalParameterI4uivNV (GLenum, GLuint, const GLuint *); __attribute__((visibility("default"))) void glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); __attribute__((visibility("default"))) void glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLint *); __attribute__((visibility("default"))) void glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLuint *); __attribute__((visibility("default"))) void glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); __attribute__((visibility("default"))) void glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint *); __attribute__((visibility("default"))) void glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuint *); __attribute__((visibility("default"))) void glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *); __attribute__((visibility("default"))) void glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint *); typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); typedef void ( * PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void ( * PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); typedef void ( * PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); typedef void ( * PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void ( * PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); typedef void ( * PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); typedef void ( * PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); typedef void ( * PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); __attribute__((visibility("default"))) void glProgramVertexLimitNV (GLenum, GLint); __attribute__((visibility("default"))) void glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint); __attribute__((visibility("default"))) void glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, GLint, GLint); __attribute__((visibility("default"))) void glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GLint, GLenum); typedef void ( * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); typedef void ( * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void ( * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void ( * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); __attribute__((visibility("default"))) void glProgramParameteriEXT (GLuint, GLenum, GLint); typedef void ( * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); __attribute__((visibility("default"))) void glVertexAttribI1iEXT (GLuint, GLint); __attribute__((visibility("default"))) void glVertexAttribI2iEXT (GLuint, GLint, GLint); __attribute__((visibility("default"))) void glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glVertexAttribI1uiEXT (GLuint, GLuint); __attribute__((visibility("default"))) void glVertexAttribI2uiEXT (GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glVertexAttribI1ivEXT (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttribI2ivEXT (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttribI3ivEXT (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttribI4ivEXT (GLuint, const GLint *); __attribute__((visibility("default"))) void glVertexAttribI1uivEXT (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttribI2uivEXT (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttribI3uivEXT (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttribI4uivEXT (GLuint, const GLuint *); __attribute__((visibility("default"))) void glVertexAttribI4bvEXT (GLuint, const GLbyte *); __attribute__((visibility("default"))) void glVertexAttribI4svEXT (GLuint, const GLshort *); __attribute__((visibility("default"))) void glVertexAttribI4ubvEXT (GLuint, const GLubyte *); __attribute__((visibility("default"))) void glVertexAttribI4usvEXT (GLuint, const GLushort *); __attribute__((visibility("default"))) void glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsizei, const GLvoid *); __attribute__((visibility("default"))) void glGetVertexAttribIivEXT (GLuint, GLenum, GLint *); __attribute__((visibility("default"))) void glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *); typedef void ( * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); typedef void ( * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); typedef void ( * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); typedef void ( * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void ( * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); typedef void ( * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); typedef void ( * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); typedef void ( * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void ( * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); typedef void ( * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); typedef void ( * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); typedef void ( * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); typedef void ( * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); typedef void ( * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); typedef void ( * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void ( * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); typedef void ( * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); __attribute__((visibility("default"))) void glGetUniformuivEXT (GLuint, GLint, GLuint *); __attribute__((visibility("default"))) void glBindFragDataLocationEXT (GLuint, GLuint, const GLchar *); __attribute__((visibility("default"))) GLint glGetFragDataLocationEXT (GLuint, const GLchar *); __attribute__((visibility("default"))) void glUniform1uiEXT (GLint, GLuint); __attribute__((visibility("default"))) void glUniform2uiEXT (GLint, GLuint, GLuint); __attribute__((visibility("default"))) void glUniform3uiEXT (GLint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint); __attribute__((visibility("default"))) void glUniform1uivEXT (GLint, GLsizei, const GLuint *); __attribute__((visibility("default"))) void glUniform2uivEXT (GLint, GLsizei, const GLuint *); __attribute__((visibility("default"))) void glUniform3uivEXT (GLint, GLsizei, const GLuint *); __attribute__((visibility("default"))) void glUniform4uivEXT (GLint, GLsizei, const GLuint *); typedef void ( * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); typedef void ( * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); typedef GLint ( * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); typedef void ( * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); typedef void ( * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); typedef void ( * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void ( * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void ( * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); typedef void ( * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); typedef void ( * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); typedef void ( * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); __attribute__((visibility("default"))) void glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei); __attribute__((visibility("default"))) void glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); typedef void ( * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); typedef void ( * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); # 7118 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glTexBufferEXT (GLenum, GLenum, GLuint); typedef void ( * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); # 7138 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glDepthRangedNV (GLdouble, GLdouble); __attribute__((visibility("default"))) void glClearDepthdNV (GLdouble); __attribute__((visibility("default"))) void glDepthBoundsdNV (GLdouble, GLdouble); typedef void ( * PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); typedef void ( * PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); typedef void ( * PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); # 7154 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleCoverageNV (GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei); typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); # 7170 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/glext.h" __attribute__((visibility("default"))) void glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLsizei, const GLfloat *); __attribute__((visibility("default"))) void glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLsizei, const GLint *); __attribute__((visibility("default"))) void glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint, GLsizei, const GLuint *); typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); __attribute__((visibility("default"))) void glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GLboolean, GLboolean); __attribute__((visibility("default"))) void glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *); __attribute__((visibility("default"))) void glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *); __attribute__((visibility("default"))) void glEnableIndexedEXT (GLenum, GLuint); __attribute__((visibility("default"))) void glDisableIndexedEXT (GLenum, GLuint); __attribute__((visibility("default"))) GLboolean glIsEnabledIndexedEXT (GLenum, GLuint); typedef void ( * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void ( * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); typedef void ( * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); typedef void ( * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); typedef void ( * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); typedef GLboolean ( * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); __attribute__((visibility("default"))) void glBeginTransformFeedbackNV (GLenum); __attribute__((visibility("default"))) void glEndTransformFeedbackNV (void); __attribute__((visibility("default"))) void glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum); __attribute__((visibility("default"))) void glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); __attribute__((visibility("default"))) void glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr); __attribute__((visibility("default"))) void glBindBufferBaseNV (GLenum, GLuint, GLuint); __attribute__((visibility("default"))) void glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum); __attribute__((visibility("default"))) void glActiveVaryingNV (GLuint, const GLchar *); __attribute__((visibility("default"))) GLint glGetVaryingLocationNV (GLuint, const GLchar *); __attribute__((visibility("default"))) void glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); __attribute__((visibility("default"))) void glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *); typedef void ( * PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); typedef void ( * PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); typedef void ( * PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); typedef void ( * PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void ( * PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); typedef void ( * PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); typedef void ( * PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); typedef void ( * PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); typedef GLint ( * PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); typedef void ( * PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); typedef void ( * PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); __attribute__((visibility("default"))) void glUniformBufferEXT (GLuint, GLint, GLuint); __attribute__((visibility("default"))) GLint glGetUniformBufferSizeEXT (GLuint, GLint); __attribute__((visibility("default"))) GLintptr glGetUniformOffsetEXT (GLuint, GLint); typedef void ( * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); typedef GLint ( * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); typedef GLintptr ( * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); __attribute__((visibility("default"))) void glTexParameterIivEXT (GLenum, GLenum, const GLint *); __attribute__((visibility("default"))) void glTexParameterIuivEXT (GLenum, GLenum, const GLuint *); __attribute__((visibility("default"))) void glGetTexParameterIivEXT (GLenum, GLenum, GLint *); __attribute__((visibility("default"))) void glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *); __attribute__((visibility("default"))) void glClearColorIiEXT (GLint, GLint, GLint, GLint); __attribute__((visibility("default"))) void glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint); typedef void ( * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void ( * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); typedef void ( * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void ( * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); typedef void ( * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); typedef void ( * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); # 2151 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 2 # 2165 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) GLhandleARB glCreateDebugObjectMESA (void); __attribute__((visibility("default"))) void glClearDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType); __attribute__((visibility("default"))) void glGetDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType, GLsizei maxLength, GLsizei *length, GLcharARB *debugLog); __attribute__((visibility("default"))) GLsizei glGetDebugLogLengthMESA (GLhandleARB obj, GLenum logType, GLenum shaderType); # 2204 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data); __attribute__((visibility("default"))) void glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data); __attribute__((visibility("default"))) void glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v); # 2218 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" __attribute__((visibility("default"))) void glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); typedef void ( * PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); # 145 "glheader.h" 2 # 258 "glheader.h" # 1 "config.h" 1 # 259 "glheader.h" 2 # 33 "texcompress_fxt1.c" 2 # 1 "imports.h" 1 # 42 "imports.h" # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" 1 # 45 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" typedef struct __GLcontextRec __GLcontext; # 70 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/internal/glcore.h" typedef struct __GLcontextModesRec { struct __GLcontextModesRec * next; GLboolean rgbMode; GLboolean floatMode; GLboolean colorIndexMode; GLuint doubleBufferMode; GLuint stereoMode; GLboolean haveAccumBuffer; GLboolean haveDepthBuffer; GLboolean haveStencilBuffer; GLint redBits, greenBits, blueBits, alphaBits; GLuint redMask, greenMask, blueMask, alphaMask; GLint rgbBits; GLint indexBits; GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; GLint depthBits; GLint stencilBits; GLint numAuxBuffers; GLint level; GLint pixmapMode; GLint visualID; GLint visualType; GLint visualRating; GLint transparentPixel; GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha; GLint transparentIndex; GLint sampleBuffers; GLint samples; GLint drawableType; GLint renderType; GLint xRenderable; GLint fbconfigID; GLint maxPbufferWidth; GLint maxPbufferHeight; GLint maxPbufferPixels; GLint optimalPbufferWidth; GLint optimalPbufferHeight; GLint visualSelectGroup; GLint swapMethod; GLint screen; GLint bindToTextureRgb; GLint bindToTextureRgba; GLint bindToMipmapTexture; GLint bindToTextureTargets; GLint yInverted; } __GLcontextModes; # 43 "imports.h" 2 # 122 "imports.h" typedef union { GLfloat f; GLint i; } fi_type; # 214 "imports.h" static __inline__ GLfloat LOG2(GLfloat val) { fi_type num; GLint log_2; num.f = val; log_2 = ((num.i >> 23) & 255) - 128; num.i &= ~(255 << 23); num.i += 127 << 23; num.f = ((-1.0f/3) * num.f + 2) * num.f - 2.0f/3; return num.f + log_2; } # 238 "imports.h" static __inline__ int IS_INF_OR_NAN( float x ) { fi_type tmp; tmp.f = x; return !(int)((unsigned int)((tmp.i & 0x7fffffff)-0x7f800000) >> 31); } # 261 "imports.h" static __inline__ int GET_FLOAT_BITS( float x ) { fi_type fi; fi.f = x; return fi.i; } # 395 "imports.h" static __inline__ int ifloor(float f) { int ai, bi; double af, bf; fi_type u; af = (3 << 22) + 0.5 + (double)f; bf = (3 << 22) + 0.5 - (double)f; u.f = (float) af; ai = u.i; u.f = (float) bf; bi = u.i; return (ai - bi) >> 1; } # 442 "imports.h" static __inline__ int iceil(float f) { int ai, bi; double af, bf; fi_type u; af = (3 << 22) + 0.5 + (double)f; bf = (3 << 22) + 0.5 - (double)f; u.f = (float) af; ai = u.i; u.f = (float) bf; bi = u.i; return (ai - bi + 1) >> 1; } # 610 "imports.h" static __inline__ GLboolean _mesa_little_endian(void) { const GLuint ui = 1; return *((const GLubyte *) &ui); } extern void * _mesa_malloc( size_t bytes ); extern void * _mesa_calloc( size_t bytes ); extern void _mesa_free( void *ptr ); extern void * _mesa_align_malloc( size_t bytes, unsigned long alignment ); extern void * _mesa_align_calloc( size_t bytes, unsigned long alignment ); extern void _mesa_align_free( void *ptr ); extern void * _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize, unsigned long alignment); extern void * _mesa_exec_malloc( GLuint size ); extern void _mesa_exec_free( void *addr ); extern void * _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize ); extern void * _mesa_memcpy( void *dest, const void *src, size_t n ); extern void _mesa_memset( void *dst, int val, size_t n ); extern void _mesa_memset16( unsigned short *dst, unsigned short val, size_t n ); extern void _mesa_bzero( void *dst, size_t n ); extern int _mesa_memcmp( const void *s1, const void *s2, size_t n ); extern double _mesa_sin(double a); extern float _mesa_sinf(float a); extern double _mesa_cos(double a); extern float _mesa_asinf(float x); extern float _mesa_atanf(float x); extern double _mesa_sqrtd(double x); extern float _mesa_sqrtf(float x); extern float _mesa_inv_sqrtf(float x); extern void _mesa_init_sqrt_table(void); extern double _mesa_pow(double x, double y); extern int _mesa_ffs(int i); extern int _mesa_ffsll(long long i); extern unsigned int _mesa_bitcount(unsigned int n); extern GLhalfARB _mesa_float_to_half(float f); extern float _mesa_half_to_float(GLhalfARB h); extern void * _mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *) ); extern char * _mesa_getenv( const char *var ); extern char * _mesa_strstr( const char *haystack, const char *needle ); extern char * _mesa_strncat( char *dest, const char *src, size_t n ); extern char * _mesa_strcpy( char *dest, const char *src ); extern char * _mesa_strncpy( char *dest, const char *src, size_t n ); extern size_t _mesa_strlen( const char *s ); extern int _mesa_strcmp( const char *s1, const char *s2 ); extern int _mesa_strncmp( const char *s1, const char *s2, size_t n ); extern char * _mesa_strdup( const char *s ); extern int _mesa_atoi( const char *s ); extern double _mesa_strtod( const char *s, char **end ); extern int _mesa_sprintf( char *str, const char *fmt, ... ); extern void _mesa_printf( const char *fmtString, ... ); extern int _mesa_vsprintf( char *str, const char *fmt, va_list args ); extern void _mesa_warning( __GLcontext *gc, const char *fmtString, ... ); extern void _mesa_problem( const __GLcontext *ctx, const char *fmtString, ... ); extern void _mesa_error( __GLcontext *ctx, GLenum error, const char *fmtString, ... ); extern void _mesa_debug( const __GLcontext *ctx, const char *fmtString, ... ); extern void _mesa_exit( int status ); # 34 "texcompress_fxt1.c" 2 # 1 "colormac.h" 1 # 38 "colormac.h" # 1 "macros.h" 1 # 43 "macros.h" extern GLfloat _mesa_ubyte_to_float_color_tab[256]; # 39 "colormac.h" 2 # 35 "texcompress_fxt1.c" 2 # 1 "context.h" 1 # 52 "context.h" # 1 "../glapi/glapi.h" 1 # 48 "../glapi/glapi.h" # 1 "/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/Mesa-7.0.1/include/GL/gl.h" 1 # 49 "../glapi/glapi.h" 2 # 1 "../glapi/glapitable.h" 1 # 40 "../glapi/glapitable.h" typedef void (*_glapi_proc)(void); struct _glapi_table { void ( * NewList)(GLuint list, GLenum mode); void ( * EndList)(void); void ( * CallList)(GLuint list); void ( * CallLists)(GLsizei n, GLenum type, const GLvoid * lists); void ( * DeleteLists)(GLuint list, GLsizei range); GLuint ( * GenLists)(GLsizei range); void ( * ListBase)(GLuint base); void ( * Begin)(GLenum mode); void ( * Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); void ( * Color3b)(GLbyte red, GLbyte green, GLbyte blue); void ( * Color3bv)(const GLbyte * v); void ( * Color3d)(GLdouble red, GLdouble green, GLdouble blue); void ( * Color3dv)(const GLdouble * v); void ( * Color3f)(GLfloat red, GLfloat green, GLfloat blue); void ( * Color3fv)(const GLfloat * v); void ( * Color3i)(GLint red, GLint green, GLint blue); void ( * Color3iv)(const GLint * v); void ( * Color3s)(GLshort red, GLshort green, GLshort blue); void ( * Color3sv)(const GLshort * v); void ( * Color3ub)(GLubyte red, GLubyte green, GLubyte blue); void ( * Color3ubv)(const GLubyte * v); void ( * Color3ui)(GLuint red, GLuint green, GLuint blue); void ( * Color3uiv)(const GLuint * v); void ( * Color3us)(GLushort red, GLushort green, GLushort blue); void ( * Color3usv)(const GLushort * v); void ( * Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); void ( * Color4bv)(const GLbyte * v); void ( * Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); void ( * Color4dv)(const GLdouble * v); void ( * Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); void ( * Color4fv)(const GLfloat * v); void ( * Color4i)(GLint red, GLint green, GLint blue, GLint alpha); void ( * Color4iv)(const GLint * v); void ( * Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha); void ( * Color4sv)(const GLshort * v); void ( * Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); void ( * Color4ubv)(const GLubyte * v); void ( * Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha); void ( * Color4uiv)(const GLuint * v); void ( * Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha); void ( * Color4usv)(const GLushort * v); void ( * EdgeFlag)(GLboolean flag); void ( * EdgeFlagv)(const GLboolean * flag); void ( * End)(void); void ( * Indexd)(GLdouble c); void ( * Indexdv)(const GLdouble * c); void ( * Indexf)(GLfloat c); void ( * Indexfv)(const GLfloat * c); void ( * Indexi)(GLint c); void ( * Indexiv)(const GLint * c); void ( * Indexs)(GLshort c); void ( * Indexsv)(const GLshort * c); void ( * Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz); void ( * Normal3bv)(const GLbyte * v); void ( * Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz); void ( * Normal3dv)(const GLdouble * v); void ( * Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz); void ( * Normal3fv)(const GLfloat * v); void ( * Normal3i)(GLint nx, GLint ny, GLint nz); void ( * Normal3iv)(const GLint * v); void ( * Normal3s)(GLshort nx, GLshort ny, GLshort nz); void ( * Normal3sv)(const GLshort * v); void ( * RasterPos2d)(GLdouble x, GLdouble y); void ( * RasterPos2dv)(const GLdouble * v); void ( * RasterPos2f)(GLfloat x, GLfloat y); void ( * RasterPos2fv)(const GLfloat * v); void ( * RasterPos2i)(GLint x, GLint y); void ( * RasterPos2iv)(const GLint * v); void ( * RasterPos2s)(GLshort x, GLshort y); void ( * RasterPos2sv)(const GLshort * v); void ( * RasterPos3d)(GLdouble x, GLdouble y, GLdouble z); void ( * RasterPos3dv)(const GLdouble * v); void ( * RasterPos3f)(GLfloat x, GLfloat y, GLfloat z); void ( * RasterPos3fv)(const GLfloat * v); void ( * RasterPos3i)(GLint x, GLint y, GLint z); void ( * RasterPos3iv)(const GLint * v); void ( * RasterPos3s)(GLshort x, GLshort y, GLshort z); void ( * RasterPos3sv)(const GLshort * v); void ( * RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * RasterPos4dv)(const GLdouble * v); void ( * RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * RasterPos4fv)(const GLfloat * v); void ( * RasterPos4i)(GLint x, GLint y, GLint z, GLint w); void ( * RasterPos4iv)(const GLint * v); void ( * RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w); void ( * RasterPos4sv)(const GLshort * v); void ( * Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); void ( * Rectdv)(const GLdouble * v1, const GLdouble * v2); void ( * Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); void ( * Rectfv)(const GLfloat * v1, const GLfloat * v2); void ( * Recti)(GLint x1, GLint y1, GLint x2, GLint y2); void ( * Rectiv)(const GLint * v1, const GLint * v2); void ( * Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); void ( * Rectsv)(const GLshort * v1, const GLshort * v2); void ( * TexCoord1d)(GLdouble s); void ( * TexCoord1dv)(const GLdouble * v); void ( * TexCoord1f)(GLfloat s); void ( * TexCoord1fv)(const GLfloat * v); void ( * TexCoord1i)(GLint s); void ( * TexCoord1iv)(const GLint * v); void ( * TexCoord1s)(GLshort s); void ( * TexCoord1sv)(const GLshort * v); void ( * TexCoord2d)(GLdouble s, GLdouble t); void ( * TexCoord2dv)(const GLdouble * v); void ( * TexCoord2f)(GLfloat s, GLfloat t); void ( * TexCoord2fv)(const GLfloat * v); void ( * TexCoord2i)(GLint s, GLint t); void ( * TexCoord2iv)(const GLint * v); void ( * TexCoord2s)(GLshort s, GLshort t); void ( * TexCoord2sv)(const GLshort * v); void ( * TexCoord3d)(GLdouble s, GLdouble t, GLdouble r); void ( * TexCoord3dv)(const GLdouble * v); void ( * TexCoord3f)(GLfloat s, GLfloat t, GLfloat r); void ( * TexCoord3fv)(const GLfloat * v); void ( * TexCoord3i)(GLint s, GLint t, GLint r); void ( * TexCoord3iv)(const GLint * v); void ( * TexCoord3s)(GLshort s, GLshort t, GLshort r); void ( * TexCoord3sv)(const GLshort * v); void ( * TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); void ( * TexCoord4dv)(const GLdouble * v); void ( * TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); void ( * TexCoord4fv)(const GLfloat * v); void ( * TexCoord4i)(GLint s, GLint t, GLint r, GLint q); void ( * TexCoord4iv)(const GLint * v); void ( * TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q); void ( * TexCoord4sv)(const GLshort * v); void ( * Vertex2d)(GLdouble x, GLdouble y); void ( * Vertex2dv)(const GLdouble * v); void ( * Vertex2f)(GLfloat x, GLfloat y); void ( * Vertex2fv)(const GLfloat * v); void ( * Vertex2i)(GLint x, GLint y); void ( * Vertex2iv)(const GLint * v); void ( * Vertex2s)(GLshort x, GLshort y); void ( * Vertex2sv)(const GLshort * v); void ( * Vertex3d)(GLdouble x, GLdouble y, GLdouble z); void ( * Vertex3dv)(const GLdouble * v); void ( * Vertex3f)(GLfloat x, GLfloat y, GLfloat z); void ( * Vertex3fv)(const GLfloat * v); void ( * Vertex3i)(GLint x, GLint y, GLint z); void ( * Vertex3iv)(const GLint * v); void ( * Vertex3s)(GLshort x, GLshort y, GLshort z); void ( * Vertex3sv)(const GLshort * v); void ( * Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * Vertex4dv)(const GLdouble * v); void ( * Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * Vertex4fv)(const GLfloat * v); void ( * Vertex4i)(GLint x, GLint y, GLint z, GLint w); void ( * Vertex4iv)(const GLint * v); void ( * Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w); void ( * Vertex4sv)(const GLshort * v); void ( * ClipPlane)(GLenum plane, const GLdouble * equation); void ( * ColorMaterial)(GLenum face, GLenum mode); void ( * CullFace)(GLenum mode); void ( * Fogf)(GLenum pname, GLfloat param); void ( * Fogfv)(GLenum pname, const GLfloat * params); void ( * Fogi)(GLenum pname, GLint param); void ( * Fogiv)(GLenum pname, const GLint * params); void ( * FrontFace)(GLenum mode); void ( * Hint)(GLenum target, GLenum mode); void ( * Lightf)(GLenum light, GLenum pname, GLfloat param); void ( * Lightfv)(GLenum light, GLenum pname, const GLfloat * params); void ( * Lighti)(GLenum light, GLenum pname, GLint param); void ( * Lightiv)(GLenum light, GLenum pname, const GLint * params); void ( * LightModelf)(GLenum pname, GLfloat param); void ( * LightModelfv)(GLenum pname, const GLfloat * params); void ( * LightModeli)(GLenum pname, GLint param); void ( * LightModeliv)(GLenum pname, const GLint * params); void ( * LineStipple)(GLint factor, GLushort pattern); void ( * LineWidth)(GLfloat width); void ( * Materialf)(GLenum face, GLenum pname, GLfloat param); void ( * Materialfv)(GLenum face, GLenum pname, const GLfloat * params); void ( * Materiali)(GLenum face, GLenum pname, GLint param); void ( * Materialiv)(GLenum face, GLenum pname, const GLint * params); void ( * PointSize)(GLfloat size); void ( * PolygonMode)(GLenum face, GLenum mode); void ( * PolygonStipple)(const GLubyte * mask); void ( * Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); void ( * ShadeModel)(GLenum mode); void ( * TexParameterf)(GLenum target, GLenum pname, GLfloat param); void ( * TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params); void ( * TexParameteri)(GLenum target, GLenum pname, GLint param); void ( * TexParameteriv)(GLenum target, GLenum pname, const GLint * params); void ( * TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); void ( * TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); void ( * TexEnvf)(GLenum target, GLenum pname, GLfloat param); void ( * TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params); void ( * TexEnvi)(GLenum target, GLenum pname, GLint param); void ( * TexEnviv)(GLenum target, GLenum pname, const GLint * params); void ( * TexGend)(GLenum coord, GLenum pname, GLdouble param); void ( * TexGendv)(GLenum coord, GLenum pname, const GLdouble * params); void ( * TexGenf)(GLenum coord, GLenum pname, GLfloat param); void ( * TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params); void ( * TexGeni)(GLenum coord, GLenum pname, GLint param); void ( * TexGeniv)(GLenum coord, GLenum pname, const GLint * params); void ( * FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer); void ( * SelectBuffer)(GLsizei size, GLuint * buffer); GLint ( * RenderMode)(GLenum mode); void ( * InitNames)(void); void ( * LoadName)(GLuint name); void ( * PassThrough)(GLfloat token); void ( * PopName)(void); void ( * PushName)(GLuint name); void ( * DrawBuffer)(GLenum mode); void ( * Clear)(GLbitfield mask); void ( * ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); void ( * ClearIndex)(GLfloat c); void ( * ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); void ( * ClearStencil)(GLint s); void ( * ClearDepth)(GLclampd depth); void ( * StencilMask)(GLuint mask); void ( * ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); void ( * DepthMask)(GLboolean flag); void ( * IndexMask)(GLuint mask); void ( * Accum)(GLenum op, GLfloat value); void ( * Disable)(GLenum cap); void ( * Enable)(GLenum cap); void ( * Finish)(void); void ( * Flush)(void); void ( * PopAttrib)(void); void ( * PushAttrib)(GLbitfield mask); void ( * Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); void ( * Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); void ( * Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); void ( * Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); void ( * MapGrid1d)(GLint un, GLdouble u1, GLdouble u2); void ( * MapGrid1f)(GLint un, GLfloat u1, GLfloat u2); void ( * MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); void ( * MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); void ( * EvalCoord1d)(GLdouble u); void ( * EvalCoord1dv)(const GLdouble * u); void ( * EvalCoord1f)(GLfloat u); void ( * EvalCoord1fv)(const GLfloat * u); void ( * EvalCoord2d)(GLdouble u, GLdouble v); void ( * EvalCoord2dv)(const GLdouble * u); void ( * EvalCoord2f)(GLfloat u, GLfloat v); void ( * EvalCoord2fv)(const GLfloat * u); void ( * EvalMesh1)(GLenum mode, GLint i1, GLint i2); void ( * EvalPoint1)(GLint i); void ( * EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); void ( * EvalPoint2)(GLint i, GLint j); void ( * AlphaFunc)(GLenum func, GLclampf ref); void ( * BlendFunc)(GLenum sfactor, GLenum dfactor); void ( * LogicOp)(GLenum opcode); void ( * StencilFunc)(GLenum func, GLint ref, GLuint mask); void ( * StencilOp)(GLenum fail, GLenum zfail, GLenum zpass); void ( * DepthFunc)(GLenum func); void ( * PixelZoom)(GLfloat xfactor, GLfloat yfactor); void ( * PixelTransferf)(GLenum pname, GLfloat param); void ( * PixelTransferi)(GLenum pname, GLint param); void ( * PixelStoref)(GLenum pname, GLfloat param); void ( * PixelStorei)(GLenum pname, GLint param); void ( * PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); void ( * PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); void ( * PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); void ( * ReadBuffer)(GLenum mode); void ( * CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); void ( * ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); void ( * DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); void ( * GetBooleanv)(GLenum pname, GLboolean * params); void ( * GetClipPlane)(GLenum plane, GLdouble * equation); void ( * GetDoublev)(GLenum pname, GLdouble * params); GLenum ( * GetError)(void); void ( * GetFloatv)(GLenum pname, GLfloat * params); void ( * GetIntegerv)(GLenum pname, GLint * params); void ( * GetLightfv)(GLenum light, GLenum pname, GLfloat * params); void ( * GetLightiv)(GLenum light, GLenum pname, GLint * params); void ( * GetMapdv)(GLenum target, GLenum query, GLdouble * v); void ( * GetMapfv)(GLenum target, GLenum query, GLfloat * v); void ( * GetMapiv)(GLenum target, GLenum query, GLint * v); void ( * GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params); void ( * GetMaterialiv)(GLenum face, GLenum pname, GLint * params); void ( * GetPixelMapfv)(GLenum map, GLfloat * values); void ( * GetPixelMapuiv)(GLenum map, GLuint * values); void ( * GetPixelMapusv)(GLenum map, GLushort * values); void ( * GetPolygonStipple)(GLubyte * mask); const GLubyte * ( * GetString)(GLenum name); void ( * GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetTexEnviv)(GLenum target, GLenum pname, GLint * params); void ( * GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params); void ( * GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params); void ( * GetTexGeniv)(GLenum coord, GLenum pname, GLint * params); void ( * GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); void ( * GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetTexParameteriv)(GLenum target, GLenum pname, GLint * params); void ( * GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params); void ( * GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params); GLboolean ( * IsEnabled)(GLenum cap); GLboolean ( * IsList)(GLuint list); void ( * DepthRange)(GLclampd zNear, GLclampd zFar); void ( * Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); void ( * LoadIdentity)(void); void ( * LoadMatrixf)(const GLfloat * m); void ( * LoadMatrixd)(const GLdouble * m); void ( * MatrixMode)(GLenum mode); void ( * MultMatrixf)(const GLfloat * m); void ( * MultMatrixd)(const GLdouble * m); void ( * Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); void ( * PopMatrix)(void); void ( * PushMatrix)(void); void ( * Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); void ( * Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); void ( * Scaled)(GLdouble x, GLdouble y, GLdouble z); void ( * Scalef)(GLfloat x, GLfloat y, GLfloat z); void ( * Translated)(GLdouble x, GLdouble y, GLdouble z); void ( * Translatef)(GLfloat x, GLfloat y, GLfloat z); void ( * Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); void ( * ArrayElement)(GLint i); void ( * BindTexture)(GLenum target, GLuint texture); void ( * ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); void ( * DisableClientState)(GLenum array); void ( * DrawArrays)(GLenum mode, GLint first, GLsizei count); void ( * DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); void ( * EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer); void ( * EnableClientState)(GLenum array); void ( * IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); void ( * Indexub)(GLubyte c); void ( * Indexubv)(const GLubyte * c); void ( * InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer); void ( * NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); void ( * PolygonOffset)(GLfloat factor, GLfloat units); void ( * TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); void ( * VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); GLboolean ( * AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); void ( * CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); void ( * CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); void ( * CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); void ( * CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); void ( * DeleteTextures)(GLsizei n, const GLuint * textures); void ( * GenTextures)(GLsizei n, GLuint * textures); void ( * GetPointerv)(GLenum pname, GLvoid ** params); GLboolean ( * IsTexture)(GLuint texture); void ( * PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities); void ( * TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); void ( * TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); void ( * PopClientAttrib)(void); void ( * PushClientAttrib)(GLbitfield mask); void ( * BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); void ( * BlendEquation)(GLenum mode); void ( * DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); void ( * ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); void ( * ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params); void ( * ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params); void ( * CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); void ( * GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table); void ( * GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params); void ( * ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); void ( * CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); void ( * ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); void ( * ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); void ( * ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params); void ( * ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params); void ( * ConvolutionParameteri)(GLenum target, GLenum pname, GLint params); void ( * ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params); void ( * CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); void ( * CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); void ( * GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image); void ( * GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params); void ( * GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); void ( * SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); void ( * GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); void ( * GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params); void ( * GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); void ( * GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params); void ( * GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params); void ( * Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); void ( * Minmax)(GLenum target, GLenum internalformat, GLboolean sink); void ( * ResetHistogram)(GLenum target); void ( * ResetMinmax)(GLenum target); void ( * TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); 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); void ( * CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); void ( * ActiveTextureARB)(GLenum texture); void ( * ClientActiveTextureARB)(GLenum texture); void ( * MultiTexCoord1dARB)(GLenum target, GLdouble s); void ( * MultiTexCoord1dvARB)(GLenum target, const GLdouble * v); void ( * MultiTexCoord1fARB)(GLenum target, GLfloat s); void ( * MultiTexCoord1fvARB)(GLenum target, const GLfloat * v); void ( * MultiTexCoord1iARB)(GLenum target, GLint s); void ( * MultiTexCoord1ivARB)(GLenum target, const GLint * v); void ( * MultiTexCoord1sARB)(GLenum target, GLshort s); void ( * MultiTexCoord1svARB)(GLenum target, const GLshort * v); void ( * MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t); void ( * MultiTexCoord2dvARB)(GLenum target, const GLdouble * v); void ( * MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); void ( * MultiTexCoord2fvARB)(GLenum target, const GLfloat * v); void ( * MultiTexCoord2iARB)(GLenum target, GLint s, GLint t); void ( * MultiTexCoord2ivARB)(GLenum target, const GLint * v); void ( * MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t); void ( * MultiTexCoord2svARB)(GLenum target, const GLshort * v); void ( * MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); void ( * MultiTexCoord3dvARB)(GLenum target, const GLdouble * v); void ( * MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); void ( * MultiTexCoord3fvARB)(GLenum target, const GLfloat * v); void ( * MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r); void ( * MultiTexCoord3ivARB)(GLenum target, const GLint * v); void ( * MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r); void ( * MultiTexCoord3svARB)(GLenum target, const GLshort * v); void ( * MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); void ( * MultiTexCoord4dvARB)(GLenum target, const GLdouble * v); void ( * MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); void ( * MultiTexCoord4fvARB)(GLenum target, const GLfloat * v); void ( * MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); void ( * MultiTexCoord4ivARB)(GLenum target, const GLint * v); void ( * MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); void ( * MultiTexCoord4svARB)(GLenum target, const GLshort * v); void ( * AttachShader)(GLuint program, GLuint shader); GLuint ( * CreateProgram)(void); GLuint ( * CreateShader)(GLenum type); void ( * DeleteProgram)(GLuint program); void ( * DeleteShader)(GLuint program); void ( * DetachShader)(GLuint program, GLuint shader); void ( * GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); void ( * GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); void ( * GetProgramiv)(GLuint program, GLenum pname, GLint * params); void ( * GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); void ( * GetShaderiv)(GLuint shader, GLenum pname, GLint * params); GLboolean ( * IsProgram)(GLuint program); GLboolean ( * IsShader)(GLuint shader); void ( * StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); void ( * StencilMaskSeparate)(GLenum face, GLuint mask); void ( * StencilOpSeparate)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); void ( * UniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * LoadTransposeMatrixdARB)(const GLdouble * m); void ( * LoadTransposeMatrixfARB)(const GLfloat * m); void ( * MultTransposeMatrixdARB)(const GLdouble * m); void ( * MultTransposeMatrixfARB)(const GLfloat * m); void ( * SampleCoverageARB)(GLclampf value, GLboolean invert); void ( * CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); void ( * CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); void ( * CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); void ( * CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); void ( * CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); 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); void ( * GetCompressedTexImageARB)(GLenum target, GLint level, GLvoid * img); void ( * DisableVertexAttribArrayARB)(GLuint index); void ( * EnableVertexAttribArrayARB)(GLuint index); void ( * GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); void ( * GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); void ( * GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); void ( * GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); void ( * GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string); void ( * GetProgramivARB)(GLenum target, GLenum pname, GLint * params); void ( * GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params); void ( * GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params); void ( * GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params); void ( * ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); void ( * ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); void ( * ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); void ( * ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); void ( * ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string); void ( * VertexAttrib1dARB)(GLuint index, GLdouble x); void ( * VertexAttrib1dvARB)(GLuint index, const GLdouble * v); void ( * VertexAttrib1fARB)(GLuint index, GLfloat x); void ( * VertexAttrib1fvARB)(GLuint index, const GLfloat * v); void ( * VertexAttrib1sARB)(GLuint index, GLshort x); void ( * VertexAttrib1svARB)(GLuint index, const GLshort * v); void ( * VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y); void ( * VertexAttrib2dvARB)(GLuint index, const GLdouble * v); void ( * VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); void ( * VertexAttrib2fvARB)(GLuint index, const GLfloat * v); void ( * VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y); void ( * VertexAttrib2svARB)(GLuint index, const GLshort * v); void ( * VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); void ( * VertexAttrib3dvARB)(GLuint index, const GLdouble * v); void ( * VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); void ( * VertexAttrib3fvARB)(GLuint index, const GLfloat * v); void ( * VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z); void ( * VertexAttrib3svARB)(GLuint index, const GLshort * v); void ( * VertexAttrib4NbvARB)(GLuint index, const GLbyte * v); void ( * VertexAttrib4NivARB)(GLuint index, const GLint * v); void ( * VertexAttrib4NsvARB)(GLuint index, const GLshort * v); void ( * VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); void ( * VertexAttrib4NubvARB)(GLuint index, const GLubyte * v); void ( * VertexAttrib4NuivARB)(GLuint index, const GLuint * v); void ( * VertexAttrib4NusvARB)(GLuint index, const GLushort * v); void ( * VertexAttrib4bvARB)(GLuint index, const GLbyte * v); void ( * VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * VertexAttrib4dvARB)(GLuint index, const GLdouble * v); void ( * VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * VertexAttrib4fvARB)(GLuint index, const GLfloat * v); void ( * VertexAttrib4ivARB)(GLuint index, const GLint * v); void ( * VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); void ( * VertexAttrib4svARB)(GLuint index, const GLshort * v); void ( * VertexAttrib4ubvARB)(GLuint index, const GLubyte * v); void ( * VertexAttrib4uivARB)(GLuint index, const GLuint * v); void ( * VertexAttrib4usvARB)(GLuint index, const GLushort * v); void ( * VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); void ( * BindBufferARB)(GLenum target, GLuint buffer); void ( * BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); void ( * BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); void ( * DeleteBuffersARB)(GLsizei n, const GLuint * buffer); void ( * GenBuffersARB)(GLsizei n, GLuint * buffer); void ( * GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params); void ( * GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params); void ( * GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data); GLboolean ( * IsBufferARB)(GLuint buffer); GLvoid * ( * MapBufferARB)(GLenum target, GLenum access); GLboolean ( * UnmapBufferARB)(GLenum target); void ( * BeginQueryARB)(GLenum target, GLuint id); void ( * DeleteQueriesARB)(GLsizei n, const GLuint * ids); void ( * EndQueryARB)(GLenum target); void ( * GenQueriesARB)(GLsizei n, GLuint * ids); void ( * GetQueryObjectivARB)(GLuint id, GLenum pname, GLint * params); void ( * GetQueryObjectuivARB)(GLuint id, GLenum pname, GLuint * params); void ( * GetQueryivARB)(GLenum target, GLenum pname, GLint * params); GLboolean ( * IsQueryARB)(GLuint id); void ( * AttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); void ( * CompileShaderARB)(GLhandleARB shader); GLhandleARB ( * CreateProgramObjectARB)(void); GLhandleARB ( * CreateShaderObjectARB)(GLenum shaderType); void ( * DeleteObjectARB)(GLhandleARB obj); void ( * DetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj); void ( * GetActiveUniformARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); void ( * GetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); GLhandleARB ( * GetHandleARB)(GLenum pname); void ( * GetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); void ( * GetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params); void ( * GetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params); void ( * GetShaderSourceARB)(GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source); GLint ( * GetUniformLocationARB)(GLhandleARB program, const GLcharARB * name); void ( * GetUniformfvARB)(GLhandleARB program, GLint location, GLfloat * params); void ( * GetUniformivARB)(GLhandleARB program, GLint location, GLint * params); void ( * LinkProgramARB)(GLhandleARB program); void ( * ShaderSourceARB)(GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length); void ( * Uniform1fARB)(GLint location, GLfloat v0); void ( * Uniform1fvARB)(GLint location, GLsizei count, const GLfloat * value); void ( * Uniform1iARB)(GLint location, GLint v0); void ( * Uniform1ivARB)(GLint location, GLsizei count, const GLint * value); void ( * Uniform2fARB)(GLint location, GLfloat v0, GLfloat v1); void ( * Uniform2fvARB)(GLint location, GLsizei count, const GLfloat * value); void ( * Uniform2iARB)(GLint location, GLint v0, GLint v1); void ( * Uniform2ivARB)(GLint location, GLsizei count, const GLint * value); void ( * Uniform3fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); void ( * Uniform3fvARB)(GLint location, GLsizei count, const GLfloat * value); void ( * Uniform3iARB)(GLint location, GLint v0, GLint v1, GLint v2); void ( * Uniform3ivARB)(GLint location, GLsizei count, const GLint * value); void ( * Uniform4fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); void ( * Uniform4fvARB)(GLint location, GLsizei count, const GLfloat * value); void ( * Uniform4iARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); void ( * Uniform4ivARB)(GLint location, GLsizei count, const GLint * value); void ( * UniformMatrix2fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix3fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UniformMatrix4fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void ( * UseProgramObjectARB)(GLhandleARB program); void ( * ValidateProgramARB)(GLhandleARB program); void ( * BindAttribLocationARB)(GLhandleARB program, GLuint index, const GLcharARB * name); void ( * GetActiveAttribARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); GLint ( * GetAttribLocationARB)(GLhandleARB program, const GLcharARB * name); void ( * DrawBuffersARB)(GLsizei n, const GLenum * bufs); void ( * PolygonOffsetEXT)(GLfloat factor, GLfloat bias); void ( * GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); void ( * GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); void ( * PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); void ( * PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); void ( * PixelTexGenParameteriSGIS)(GLenum pname, GLint param); void ( * PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); void ( * SampleMaskSGIS)(GLclampf value, GLboolean invert); void ( * SamplePatternSGIS)(GLenum pattern); void ( * ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); void ( * EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); void ( * IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); void ( * NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); void ( * TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); void ( * VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); void ( * PointParameterfEXT)(GLenum pname, GLfloat param); void ( * PointParameterfvEXT)(GLenum pname, const GLfloat * params); void ( * LockArraysEXT)(GLint first, GLsizei count); void ( * UnlockArraysEXT)(void); void ( * CullParameterdvEXT)(GLenum pname, GLdouble * params); void ( * CullParameterfvEXT)(GLenum pname, GLfloat * params); void ( * SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); void ( * SecondaryColor3bvEXT)(const GLbyte * v); void ( * SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); void ( * SecondaryColor3dvEXT)(const GLdouble * v); void ( * SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); void ( * SecondaryColor3fvEXT)(const GLfloat * v); void ( * SecondaryColor3iEXT)(GLint red, GLint green, GLint blue); void ( * SecondaryColor3ivEXT)(const GLint * v); void ( * SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); void ( * SecondaryColor3svEXT)(const GLshort * v); void ( * SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); void ( * SecondaryColor3ubvEXT)(const GLubyte * v); void ( * SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); void ( * SecondaryColor3uivEXT)(const GLuint * v); void ( * SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); void ( * SecondaryColor3usvEXT)(const GLushort * v); void ( * SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); void ( * MultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount); void ( * MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); void ( * FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer); void ( * FogCoorddEXT)(GLdouble coord); void ( * FogCoorddvEXT)(const GLdouble * coord); void ( * FogCoordfEXT)(GLfloat coord); void ( * FogCoordfvEXT)(const GLfloat * coord); void ( * PixelTexGenSGIX)(GLenum mode); void ( * BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); void ( * FlushVertexArrayRangeNV)(void); void ( * VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); void ( * CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); void ( * CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); void ( * CombinerParameterfNV)(GLenum pname, GLfloat param); void ( * CombinerParameterfvNV)(GLenum pname, const GLfloat * params); void ( * CombinerParameteriNV)(GLenum pname, GLint param); void ( * CombinerParameterivNV)(GLenum pname, const GLint * params); void ( * FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); void ( * GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); void ( * GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); void ( * GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); void ( * GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); void ( * GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); void ( * GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); void ( * ResizeBuffersMESA)(void); void ( * WindowPos2dMESA)(GLdouble x, GLdouble y); void ( * WindowPos2dvMESA)(const GLdouble * v); void ( * WindowPos2fMESA)(GLfloat x, GLfloat y); void ( * WindowPos2fvMESA)(const GLfloat * v); void ( * WindowPos2iMESA)(GLint x, GLint y); void ( * WindowPos2ivMESA)(const GLint * v); void ( * WindowPos2sMESA)(GLshort x, GLshort y); void ( * WindowPos2svMESA)(const GLshort * v); void ( * WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); void ( * WindowPos3dvMESA)(const GLdouble * v); void ( * WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); void ( * WindowPos3fvMESA)(const GLfloat * v); void ( * WindowPos3iMESA)(GLint x, GLint y, GLint z); void ( * WindowPos3ivMESA)(const GLint * v); void ( * WindowPos3sMESA)(GLshort x, GLshort y, GLshort z); void ( * WindowPos3svMESA)(const GLshort * v); void ( * WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * WindowPos4dvMESA)(const GLdouble * v); void ( * WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * WindowPos4fvMESA)(const GLfloat * v); void ( * WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); void ( * WindowPos4ivMESA)(const GLint * v); void ( * WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); void ( * WindowPos4svMESA)(const GLshort * v); void ( * MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); void ( * MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); void ( * DeleteFencesNV)(GLsizei n, const GLuint * fences); void ( * FinishFenceNV)(GLuint fence); void ( * GenFencesNV)(GLsizei n, GLuint * fences); void ( * GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); GLboolean ( * IsFenceNV)(GLuint fence); void ( * SetFenceNV)(GLuint fence, GLenum condition); GLboolean ( * TestFenceNV)(GLuint fence); GLboolean ( * AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); void ( * BindProgramNV)(GLenum target, GLuint program); void ( * DeleteProgramsNV)(GLsizei n, const GLuint * programs); void ( * ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); void ( * GenProgramsNV)(GLsizei n, GLuint * programs); void ( * GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); void ( * GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); void ( * GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); void ( * GetProgramivNV)(GLuint id, GLenum pname, GLint * params); void ( * GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); void ( * GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer); void ( * GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); void ( * GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); void ( * GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); GLboolean ( * IsProgramNV)(GLuint program); void ( * LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); void ( * ProgramParameter4dNV)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * ProgramParameter4dvNV)(GLenum target, GLuint index, const GLdouble * params); void ( * ProgramParameter4fNV)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * ProgramParameter4fvNV)(GLenum target, GLuint index, const GLfloat * params); void ( * ProgramParameters4dvNV)(GLenum target, GLuint index, GLuint num, const GLdouble * params); void ( * ProgramParameters4fvNV)(GLenum target, GLuint index, GLuint num, const GLfloat * params); void ( * RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); void ( * TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); void ( * VertexAttrib1dNV)(GLuint index, GLdouble x); void ( * VertexAttrib1dvNV)(GLuint index, const GLdouble * v); void ( * VertexAttrib1fNV)(GLuint index, GLfloat x); void ( * VertexAttrib1fvNV)(GLuint index, const GLfloat * v); void ( * VertexAttrib1sNV)(GLuint index, GLshort x); void ( * VertexAttrib1svNV)(GLuint index, const GLshort * v); void ( * VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); void ( * VertexAttrib2dvNV)(GLuint index, const GLdouble * v); void ( * VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); void ( * VertexAttrib2fvNV)(GLuint index, const GLfloat * v); void ( * VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); void ( * VertexAttrib2svNV)(GLuint index, const GLshort * v); void ( * VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); void ( * VertexAttrib3dvNV)(GLuint index, const GLdouble * v); void ( * VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); void ( * VertexAttrib3fvNV)(GLuint index, const GLfloat * v); void ( * VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); void ( * VertexAttrib3svNV)(GLuint index, const GLshort * v); void ( * VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * VertexAttrib4dvNV)(GLuint index, const GLdouble * v); void ( * VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * VertexAttrib4fvNV)(GLuint index, const GLfloat * v); void ( * VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); void ( * VertexAttrib4svNV)(GLuint index, const GLshort * v); void ( * VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); void ( * VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); void ( * VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); void ( * VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); void ( * VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); void ( * VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); void ( * VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); void ( * VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); void ( * VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); void ( * VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); void ( * VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); void ( * VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); void ( * VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); void ( * VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); void ( * VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); void ( * VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); void ( * AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); void ( * AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 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); void ( * BeginFragmentShaderATI)(void); void ( * BindFragmentShaderATI)(GLuint id); void ( * ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); void ( * ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 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); void ( * DeleteFragmentShaderATI)(GLuint id); void ( * EndFragmentShaderATI)(void); GLuint ( * GenFragmentShadersATI)(GLuint range); void ( * PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); void ( * SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); void ( * SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); void ( * PointParameteriNV)(GLenum pname, GLint param); void ( * PointParameterivNV)(GLenum pname, const GLint * params); void ( * ActiveStencilFaceEXT)(GLenum face); void ( * BindVertexArrayAPPLE)(GLuint array); void ( * DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); void ( * GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); GLboolean ( * IsVertexArrayAPPLE)(GLuint array); void ( * GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); void ( * GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); void ( * ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); void ( * ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); void ( * ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void ( * ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); void ( * DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); void ( * BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA); void ( * BindFramebufferEXT)(GLenum target, GLuint framebuffer); void ( * BindRenderbufferEXT)(GLenum target, GLuint renderbuffer); GLenum ( * CheckFramebufferStatusEXT)(GLenum target); void ( * DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); void ( * DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); void ( * FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); void ( * FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); void ( * FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); void ( * FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); void ( * GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); void ( * GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); void ( * GenerateMipmapEXT)(GLenum target); void ( * GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); void ( * GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); GLboolean ( * IsFramebufferEXT)(GLuint framebuffer); GLboolean ( * IsRenderbufferEXT)(GLuint renderbuffer); void ( * RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); void ( * BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); void ( * ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); void ( * ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); void ( * GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); void ( * GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); }; # 50 "../glapi/glapi.h" 2 # 1 "../glapi/glthread.h" 1 # 93 "../glapi/glthread.h" # 1 "/usr/include/pthread.h" 1 3 4 # 24 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 29 "/usr/include/sched.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 66 "/usr/include/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) __attribute__ ((__nothrow__)); extern int unshare (int __flags) __attribute__ ((__nothrow__)); extern int sched_getcpu (void) __attribute__ ((__nothrow__)); # 93 "/usr/include/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 108 "/usr/include/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 134 "/usr/include/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, cpu_set_t *__setp) __attribute__ ((__nothrow__)); # 33 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); extern int sched_yield (void) __attribute__ ((__nothrow__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); # 77 "/usr/include/sched.h" 3 4 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 31 "/usr/include/time.h" 3 4 # 40 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 # 40 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 44 "/usr/include/time.h" 2 3 4 # 132 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; # 162 "/usr/include/time.h" 3 4 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 181 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 312 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 327 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 389 "/usr/include/time.h" 3 4 extern int getdate_err; # 398 "/usr/include/time.h" 3 4 extern struct tm *getdate (__const char *__string); # 412 "/usr/include/time.h" 3 4 extern int getdate_r (__const char *__restrict __string, struct tm *__restrict __resbufp); # 26 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 31 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 34 "/usr/include/signal.h" 2 3 4 # 400 "/usr/include/signal.h" 3 4 # 29 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 29 "/usr/include/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 31 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 32 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP }; enum { PTHREAD_MUTEX_STALLED_NP, PTHREAD_MUTEX_ROBUST_NP }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 114 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 144 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 179 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 217 "/usr/include/pthread.h" 3 4 extern int pthread_create (pthread_t *__restrict __newthread, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__)); extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, __const struct timespec *__abstime); extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, __const struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__)); extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__)); extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__)); extern int pthread_yield (void) __attribute__ ((__nothrow__)); extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); # 463 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 475 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 509 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 649 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); # 660 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); # 683 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); # 695 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (__const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 843 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, __const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, __const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 955 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (__const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (__const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 999 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, __const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1066 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __attribute__ ((__nothrow__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1100 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__)); extern __inline int __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) { return __thread1 == __thread2; } # 94 "../glapi/glthread.h" 2 typedef struct { pthread_key_t key; int initMagic; } _glthread_TSD; typedef pthread_t _glthread_Thread; typedef pthread_mutex_t _glthread_Mutex; # 286 "../glapi/glthread.h" extern unsigned long _glthread_GetID(void); extern void _glthread_InitTSD(_glthread_TSD *); extern void * _glthread_GetTSD(_glthread_TSD *); extern void _glthread_SetTSD(_glthread_TSD *, void *); extern __thread struct _glapi_table * _glapi_tls_Dispatch __attribute__((tls_model("initial-exec"))); # 51 "../glapi/glapi.h" 2 typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); # 72 "../glapi/glapi.h" const extern void *_glapi_Context; const extern struct _glapi_table *_glapi_Dispatch; extern __thread void * _glapi_tls_Context __attribute__((tls_model("initial-exec"))); # 98 "../glapi/glapi.h" extern void _glapi_noop_enable_warnings(GLboolean enable); extern void _glapi_set_warning_func(_glapi_warning_func func); extern void _glapi_check_multithread(void); extern void _glapi_set_context(void *context); extern void * _glapi_get_context(void); extern void _glapi_set_dispatch(struct _glapi_table *dispatch); extern struct _glapi_table * _glapi_get_dispatch(void); extern int _glapi_begin_dispatch_override(struct _glapi_table *override); extern void _glapi_end_dispatch_override(int layer); struct _glapi_table * _glapi_get_override_dispatch(int layer); extern GLuint _glapi_get_dispatch_table_size(void); extern void _glapi_check_table(const struct _glapi_table *table); extern int _glapi_add_dispatch( const char * const * function_names, const char * parameter_signature ); extern GLint _glapi_get_proc_offset(const char *funcName); extern _glapi_proc _glapi_get_proc_address(const char *funcName); extern const char * _glapi_get_proc_name(GLuint offset); # 53 "context.h" 2 # 1 "mtypes.h" 1 # 41 "mtypes.h" # 1 "../glapi/glapitable.h" 1 # 42 "mtypes.h" 2 # 1 "../glapi/glthread.h" 1 # 43 "mtypes.h" 2 # 1 "../math/m_matrix.h" 1 # 55 "../math/m_matrix.h" enum GLmatrixtype { MATRIX_GENERAL, MATRIX_IDENTITY, MATRIX_3D_NO_ROT, MATRIX_PERSPECTIVE, MATRIX_2D, MATRIX_2D_NO_ROT, MATRIX_3D } ; typedef struct { GLfloat *m; GLfloat *inv; GLuint flags; enum GLmatrixtype type; } GLmatrix; extern void _math_matrix_ctr( GLmatrix *m ); extern void _math_matrix_dtr( GLmatrix *m ); extern void _math_matrix_alloc_inv( GLmatrix *m ); extern void _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b ); extern void _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *b ); extern void _math_matrix_loadf( GLmatrix *mat, const GLfloat *m ); extern void _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); extern void _math_matrix_rotate( GLmatrix *m, GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); extern void _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z ); extern void _math_matrix_ortho( GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval ); extern void _math_matrix_frustum( GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval ); extern void _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height, GLfloat zNear, GLfloat zFar, GLfloat depthMax); extern void _math_matrix_set_identity( GLmatrix *dest ); extern void _math_matrix_copy( GLmatrix *to, const GLmatrix *from ); extern void _math_matrix_analyse( GLmatrix *mat ); extern void _math_matrix_print( const GLmatrix *m ); extern GLboolean _math_matrix_is_length_preserving( const GLmatrix *m ); extern GLboolean _math_matrix_has_rotation( const GLmatrix *m ); extern GLboolean _math_matrix_is_general_scale( const GLmatrix *m ); extern GLboolean _math_matrix_is_dirty( const GLmatrix *m ); extern void _math_transposef( GLfloat to[16], const GLfloat from[16] ); extern void _math_transposed( GLdouble to[16], const GLdouble from[16] ); extern void _math_transposefd( GLfloat to[16], const GLdouble from[16] ); # 44 "mtypes.h" 2 # 1 "bitset.h" 1 # 45 "mtypes.h" 2 # 57 "mtypes.h" typedef GLubyte GLchan; # 80 "mtypes.h" typedef GLubyte GLstencil; # 91 "mtypes.h" typedef int GLfixed; # 124 "mtypes.h" struct _mesa_HashTable; struct gl_pixelstore_attrib; struct gl_texture_format; struct gl_texture_image; struct gl_texture_object; typedef struct __GLcontextRec GLcontext; typedef struct __GLcontextModesRec GLvisual; typedef struct gl_framebuffer GLframebuffer; # 143 "mtypes.h" enum { VERT_ATTRIB_POS = 0, VERT_ATTRIB_WEIGHT = 1, VERT_ATTRIB_NORMAL = 2, VERT_ATTRIB_COLOR0 = 3, VERT_ATTRIB_COLOR1 = 4, VERT_ATTRIB_FOG = 5, VERT_ATTRIB_COLOR_INDEX = 6, VERT_ATTRIB_EDGEFLAG = 7, VERT_ATTRIB_TEX0 = 8, VERT_ATTRIB_TEX1 = 9, VERT_ATTRIB_TEX2 = 10, VERT_ATTRIB_TEX3 = 11, VERT_ATTRIB_TEX4 = 12, VERT_ATTRIB_TEX5 = 13, VERT_ATTRIB_TEX6 = 14, VERT_ATTRIB_TEX7 = 15, VERT_ATTRIB_GENERIC0 = 16, VERT_ATTRIB_GENERIC1 = 17, VERT_ATTRIB_GENERIC2 = 18, VERT_ATTRIB_GENERIC3 = 19, VERT_ATTRIB_GENERIC4 = 20, VERT_ATTRIB_GENERIC5 = 21, VERT_ATTRIB_GENERIC6 = 22, VERT_ATTRIB_GENERIC7 = 23, VERT_ATTRIB_GENERIC8 = 24, VERT_ATTRIB_GENERIC9 = 25, VERT_ATTRIB_GENERIC10 = 26, VERT_ATTRIB_GENERIC11 = 27, VERT_ATTRIB_GENERIC12 = 28, VERT_ATTRIB_GENERIC13 = 29, VERT_ATTRIB_GENERIC14 = 30, VERT_ATTRIB_GENERIC15 = 31, VERT_ATTRIB_MAX = 32 }; # 251 "mtypes.h" enum { FRAG_ATTRIB_WPOS = 0, FRAG_ATTRIB_COL0 = 1, FRAG_ATTRIB_COL1 = 2, FRAG_ATTRIB_FOGC = 3, FRAG_ATTRIB_TEX0 = 4, FRAG_ATTRIB_TEX1 = 5, FRAG_ATTRIB_TEX2 = 6, FRAG_ATTRIB_TEX3 = 7, FRAG_ATTRIB_TEX4 = 8, FRAG_ATTRIB_TEX5 = 9, FRAG_ATTRIB_TEX6 = 10, FRAG_ATTRIB_TEX7 = 11, FRAG_ATTRIB_VAR0 = 12, FRAG_ATTRIB_MAX = (FRAG_ATTRIB_VAR0 + 8) }; # 304 "mtypes.h" enum { FRAG_RESULT_COLR = 0, FRAG_RESULT_COLH = 1, FRAG_RESULT_DEPR = 2, FRAG_RESULT_DATA0 = 3, FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + 4) }; enum { BUFFER_FRONT_LEFT = 0, BUFFER_BACK_LEFT = 1, BUFFER_FRONT_RIGHT = 2, BUFFER_BACK_RIGHT = 3, BUFFER_AUX0 = 4, BUFFER_AUX1 = 5, BUFFER_AUX2 = 6, BUFFER_AUX3 = 7, BUFFER_DEPTH = 8, BUFFER_STENCIL = 9, BUFFER_ACCUM = 10, BUFFER_COLOR0 = 11, BUFFER_COLOR1 = 12, BUFFER_COLOR2 = 13, BUFFER_COLOR3 = 14, BUFFER_COLOR4 = 15, BUFFER_COLOR5 = 16, BUFFER_COLOR6 = 17, BUFFER_COLOR7 = 18, BUFFER_COUNT = 19 }; # 396 "mtypes.h" struct gl_color_table { GLenum InternalFormat; GLenum _BaseFormat; GLuint Size; GLfloat *TableF; GLubyte *TableUB; GLubyte RedSize; GLubyte GreenSize; GLubyte BlueSize; GLubyte AlphaSize; GLubyte LuminanceSize; GLubyte IntensitySize; }; # 479 "mtypes.h" struct gl_shine_tab { struct gl_shine_tab *next, *prev; GLfloat tab[256 +1]; GLfloat shininess; GLuint refcount; }; struct gl_light { struct gl_light *next; struct gl_light *prev; GLfloat Ambient[4]; GLfloat Diffuse[4]; GLfloat Specular[4]; GLfloat EyePosition[4]; GLfloat EyeDirection[4]; GLfloat SpotExponent; GLfloat SpotCutoff; GLfloat _CosCutoffNeg; GLfloat _CosCutoff; GLfloat ConstantAttenuation; GLfloat LinearAttenuation; GLfloat QuadraticAttenuation; GLboolean Enabled; GLbitfield _Flags; GLfloat _Position[4]; GLfloat _VP_inf_norm[3]; GLfloat _h_inf_norm[3]; GLfloat _NormDirection[4]; GLfloat _VP_inf_spot_attenuation; GLfloat _SpotExpTable[512][2]; GLfloat _MatAmbient[2][3]; GLfloat _MatDiffuse[2][3]; GLfloat _MatSpecular[2][3]; GLfloat _dli; GLfloat _sli; }; struct gl_lightmodel { GLfloat Ambient[4]; GLboolean LocalViewer; GLboolean TwoSide; GLenum ColorControl; }; struct gl_material { GLfloat Attrib[12][4]; }; struct gl_accum_attrib { GLfloat ClearColor[4]; }; struct gl_colorbuffer_attrib { GLuint ClearIndex; GLclampf ClearColor[4]; GLuint IndexMask; GLubyte ColorMask[4]; GLenum DrawBuffer[4]; GLboolean AlphaEnabled; GLenum AlphaFunc; GLclampf AlphaRef; GLboolean BlendEnabled; GLenum BlendSrcRGB; GLenum BlendDstRGB; GLenum BlendSrcA; GLenum BlendDstA; GLenum BlendEquationRGB; GLenum BlendEquationA; GLfloat BlendColor[4]; GLenum LogicOp; GLboolean IndexLogicOpEnabled; GLboolean ColorLogicOpEnabled; GLboolean _LogicOpEnabled; GLboolean DitherFlag; GLenum ClampFragmentColor; GLenum ClampReadColor; }; struct gl_current_attrib { GLfloat Attrib[VERT_ATTRIB_MAX][4]; GLfloat RasterPos[4]; GLfloat RasterDistance; GLfloat RasterColor[4]; GLfloat RasterSecondaryColor[4]; GLfloat RasterIndex; GLfloat RasterTexCoords[8][4]; GLboolean RasterPosValid; }; struct gl_depthbuffer_attrib { GLenum Func; GLclampd Clear; GLboolean Test; GLboolean Mask; GLboolean BoundsTest; GLfloat BoundsMin, BoundsMax; }; struct gl_enable_attrib { GLboolean AlphaTest; GLboolean AutoNormal; GLboolean Blend; GLbitfield ClipPlanes; GLboolean ColorMaterial; GLboolean ColorTable[3]; GLboolean Convolution1D; GLboolean Convolution2D; GLboolean Separable2D; GLboolean CullFace; GLboolean DepthTest; GLboolean Dither; GLboolean Fog; GLboolean Histogram; GLboolean Light[8]; GLboolean Lighting; GLboolean LineSmooth; GLboolean LineStipple; GLboolean IndexLogicOp; GLboolean ColorLogicOp; GLboolean Map1Color4; GLboolean Map1Index; GLboolean Map1Normal; GLboolean Map1TextureCoord1; GLboolean Map1TextureCoord2; GLboolean Map1TextureCoord3; GLboolean Map1TextureCoord4; GLboolean Map1Vertex3; GLboolean Map1Vertex4; GLboolean Map1Attrib[16]; GLboolean Map2Color4; GLboolean Map2Index; GLboolean Map2Normal; GLboolean Map2TextureCoord1; GLboolean Map2TextureCoord2; GLboolean Map2TextureCoord3; GLboolean Map2TextureCoord4; GLboolean Map2Vertex3; GLboolean Map2Vertex4; GLboolean Map2Attrib[16]; GLboolean MinMax; GLboolean Normalize; GLboolean PixelTexture; GLboolean PointSmooth; GLboolean PolygonOffsetPoint; GLboolean PolygonOffsetLine; GLboolean PolygonOffsetFill; GLboolean PolygonSmooth; GLboolean PolygonStipple; GLboolean RescaleNormals; GLboolean Scissor; GLboolean Stencil; GLboolean StencilTwoSide; GLboolean MultisampleEnabled; GLboolean SampleAlphaToCoverage; GLboolean SampleAlphaToOne; GLboolean SampleCoverage; GLboolean SampleCoverageInvert; GLboolean RasterPositionUnclipped; GLuint Texture[8]; GLuint TexGen[8]; GLboolean TextureColorTable[8]; GLboolean VertexProgram; GLboolean VertexProgramPointSize; GLboolean VertexProgramTwoSide; GLboolean PointSprite; GLboolean FragmentShaderATI; }; struct gl_eval_attrib { GLboolean Map1Color4; GLboolean Map1Index; GLboolean Map1Normal; GLboolean Map1TextureCoord1; GLboolean Map1TextureCoord2; GLboolean Map1TextureCoord3; GLboolean Map1TextureCoord4; GLboolean Map1Vertex3; GLboolean Map1Vertex4; GLboolean Map1Attrib[16]; GLboolean Map2Color4; GLboolean Map2Index; GLboolean Map2Normal; GLboolean Map2TextureCoord1; GLboolean Map2TextureCoord2; GLboolean Map2TextureCoord3; GLboolean Map2TextureCoord4; GLboolean Map2Vertex3; GLboolean Map2Vertex4; GLboolean Map2Attrib[16]; GLboolean AutoNormal; GLint MapGrid1un; GLfloat MapGrid1u1, MapGrid1u2, MapGrid1du; GLint MapGrid2un, MapGrid2vn; GLfloat MapGrid2u1, MapGrid2u2, MapGrid2du; GLfloat MapGrid2v1, MapGrid2v2, MapGrid2dv; }; struct gl_fog_attrib { GLboolean Enabled; GLfloat Color[4]; GLfloat Density; GLfloat Start; GLfloat End; GLfloat Index; GLenum Mode; GLboolean ColorSumEnabled; GLenum FogCoordinateSource; GLfloat _Scale; }; struct gl_hint_attrib { GLenum PerspectiveCorrection; GLenum PointSmooth; GLenum LineSmooth; GLenum PolygonSmooth; GLenum Fog; GLenum ClipVolumeClipping; GLenum TextureCompression; GLenum GenerateMipmap; GLenum FragmentShaderDerivative; }; struct gl_histogram_attrib { GLuint Width; GLint Format; GLuint Count[256][4]; GLboolean Sink; GLubyte RedSize; GLubyte GreenSize; GLubyte BlueSize; GLubyte AlphaSize; GLubyte LuminanceSize; }; struct gl_minmax_attrib { GLenum Format; GLboolean Sink; GLfloat Min[4], Max[4]; }; struct gl_convolution_attrib { GLenum Format; GLenum InternalFormat; GLuint Width; GLuint Height; GLfloat Filter[9 * 9 * 4]; }; # 876 "mtypes.h" struct gl_light_attrib { struct gl_light Light[8]; struct gl_lightmodel Model; struct gl_material Material; GLboolean Enabled; GLenum ShadeModel; GLenum ColorMaterialFace; GLenum ColorMaterialMode; GLbitfield ColorMaterialBitmask; GLboolean ColorMaterialEnabled; GLenum ClampVertexColor; struct gl_light EnabledList; GLboolean _NeedEyeCoords; GLboolean _NeedVertices; GLbitfield _Flags; GLfloat _BaseColor[2][3]; }; struct gl_line_attrib { GLboolean SmoothFlag; GLboolean StippleFlag; GLushort StipplePattern; GLint StippleFactor; GLfloat Width; GLfloat _Width; }; struct gl_list_attrib { GLuint ListBase; }; struct gl_list_instruction { GLuint Size; void (*Execute)( GLcontext *ctx, void *data ); void (*Destroy)( GLcontext *ctx, void *data ); void (*Print)( GLcontext *ctx, void *data ); }; struct gl_list_extensions { struct gl_list_instruction Opcode[16]; GLuint NumOpcodes; }; struct gl_multisample_attrib { GLboolean Enabled; GLboolean SampleAlphaToCoverage; GLboolean SampleAlphaToOne; GLboolean SampleCoverage; GLfloat SampleCoverageValue; GLboolean SampleCoverageInvert; }; struct gl_pixelmap { GLint Size; GLfloat Map[256]; GLubyte Map8[256]; }; struct gl_pixelmaps { struct gl_pixelmap RtoR; struct gl_pixelmap GtoG; struct gl_pixelmap BtoB; struct gl_pixelmap AtoA; struct gl_pixelmap ItoR; struct gl_pixelmap ItoG; struct gl_pixelmap ItoB; struct gl_pixelmap ItoA; struct gl_pixelmap ItoI; struct gl_pixelmap StoS; }; struct gl_pixel_attrib { GLenum ReadBuffer; GLfloat RedBias, RedScale; GLfloat GreenBias, GreenScale; GLfloat BlueBias, BlueScale; GLfloat AlphaBias, AlphaScale; GLfloat DepthBias, DepthScale; GLint IndexShift, IndexOffset; GLboolean MapColorFlag; GLboolean MapStencilFlag; GLboolean ColorTableEnabled[3]; GLfloat ColorTableScale[3][4]; GLfloat ColorTableBias[3][4]; GLboolean Convolution1DEnabled; GLboolean Convolution2DEnabled; GLboolean Separable2DEnabled; GLfloat ConvolutionBorderColor[3][4]; GLenum ConvolutionBorderMode[3]; GLfloat ConvolutionFilterScale[3][4]; GLfloat ConvolutionFilterBias[3][4]; GLfloat PostConvolutionScale[4]; GLfloat PostConvolutionBias[4]; GLfloat PostColorMatrixScale[4]; GLfloat PostColorMatrixBias[4]; GLboolean HistogramEnabled; GLboolean MinMaxEnabled; GLfloat ZoomX, ZoomY; GLfloat TextureColorTableScale[4]; GLfloat TextureColorTableBias[4]; }; struct gl_point_attrib { GLboolean SmoothFlag; GLfloat Size; GLfloat _Size; GLfloat Params[3]; GLfloat MinSize, MaxSize; GLfloat Threshold; GLboolean _Attenuated; GLboolean PointSprite; GLboolean CoordReplace[8]; GLenum SpriteRMode; GLenum SpriteOrigin; }; struct gl_polygon_attrib { GLenum FrontFace; GLenum FrontMode; GLenum BackMode; GLboolean _FrontBit; GLboolean CullFlag; GLboolean SmoothFlag; GLboolean StippleFlag; GLenum CullFaceMode; GLfloat OffsetFactor; GLfloat OffsetUnits; GLboolean OffsetPoint; GLboolean OffsetLine; GLboolean OffsetFill; }; struct gl_scissor_attrib { GLboolean Enabled; GLint X, Y; GLsizei Width, Height; }; struct gl_stencil_attrib { GLboolean Enabled; GLboolean TestTwoSide; GLubyte ActiveFace; GLboolean _TestTwoSide; GLenum Function[2]; GLenum FailFunc[2]; GLenum ZPassFunc[2]; GLenum ZFailFunc[2]; GLint Ref[2]; GLuint ValueMask[2]; GLuint WriteMask[2]; GLuint Clear; }; # 1222 "mtypes.h" typedef void (*FetchTexelFuncC)( const struct gl_texture_image *texImage, GLint col, GLint row, GLint img, GLchan *texelOut ); typedef void (*FetchTexelFuncF)( const struct gl_texture_image *texImage, GLint col, GLint row, GLint img, GLfloat *texelOut ); typedef void (*StoreTexelFunc)(struct gl_texture_image *texImage, GLint col, GLint row, GLint img, const void *texel); # 1273 "mtypes.h" 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); struct gl_texture_format { GLint MesaFormat; GLenum BaseFormat; GLenum DataType; GLubyte RedBits; GLubyte GreenBits; GLubyte BlueBits; GLubyte AlphaBits; GLubyte LuminanceBits; GLubyte IntensityBits; GLubyte IndexBits; GLubyte DepthBits; GLubyte StencilBits; GLuint TexelBytes; StoreTexImageFunc StoreImage; FetchTexelFuncC FetchTexel1D; FetchTexelFuncC FetchTexel2D; FetchTexelFuncC FetchTexel3D; FetchTexelFuncF FetchTexel1Df; FetchTexelFuncF FetchTexel2Df; FetchTexelFuncF FetchTexel3Df; StoreTexelFunc StoreTexel; }; # 1325 "mtypes.h" struct gl_texture_image { GLenum _BaseFormat; GLint InternalFormat; GLuint Border; GLuint Width; GLuint Height; GLuint Depth; GLuint Width2; GLuint Height2; GLuint Depth2; GLuint WidthLog2; GLuint HeightLog2; GLuint DepthLog2; GLuint MaxLog2; GLfloat WidthScale; GLfloat HeightScale; GLfloat DepthScale; GLboolean IsClientData; GLboolean _IsPowerOfTwo; const struct gl_texture_format *TexFormat; struct gl_texture_object *TexObject; FetchTexelFuncC FetchTexelc; FetchTexelFuncF FetchTexelf; GLboolean IsCompressed; GLuint CompressedSize; GLuint RowStride; GLuint *ImageOffsets; GLvoid *Data; void *DriverData; }; # 1394 "mtypes.h" struct gl_texture_object { _glthread_Mutex Mutex; GLint RefCount; GLuint Name; GLenum Target; GLfloat Priority; GLfloat BorderColor[4]; GLchan _BorderChan[4]; GLenum WrapS; GLenum WrapT; GLenum WrapR; GLenum MinFilter; GLenum MagFilter; GLfloat MinLod; GLfloat MaxLod; GLfloat LodBias; GLint BaseLevel; GLint MaxLevel; GLfloat MaxAnisotropy; GLboolean CompareFlag; GLenum CompareOperator; GLfloat ShadowAmbient; GLenum CompareMode; GLenum CompareFunc; GLenum DepthMode; GLint _MaxLevel; GLfloat _MaxLambda; GLboolean GenerateMipmap; GLboolean Complete; struct gl_texture_image *Image[6][12]; struct gl_color_table Palette; # 1439 "mtypes.h" void *DriverData; }; # 1450 "mtypes.h" struct gl_tex_env_combine_state { GLenum ModeRGB; GLenum ModeA; GLenum SourceRGB[3]; GLenum SourceA[3]; GLenum OperandRGB[3]; GLenum OperandA[3]; GLuint ScaleShiftRGB; GLuint ScaleShiftA; GLuint _NumArgsRGB; GLuint _NumArgsA; }; struct gl_texture_unit { GLbitfield Enabled; GLbitfield _ReallyEnabled; GLenum EnvMode; GLfloat EnvColor[4]; GLbitfield TexGenEnabled; GLenum GenModeS; GLenum GenModeT; GLenum GenModeR; GLenum GenModeQ; GLbitfield _GenBitS; GLbitfield _GenBitT; GLbitfield _GenBitR; GLbitfield _GenBitQ; GLbitfield _GenFlags; GLfloat ObjectPlaneS[4]; GLfloat ObjectPlaneT[4]; GLfloat ObjectPlaneR[4]; GLfloat ObjectPlaneQ[4]; GLfloat EyePlaneS[4]; GLfloat EyePlaneT[4]; GLfloat EyePlaneR[4]; GLfloat EyePlaneQ[4]; GLfloat LodBias; struct gl_tex_env_combine_state Combine; struct gl_tex_env_combine_state _EnvMode; struct gl_tex_env_combine_state *_CurrentCombine; struct gl_texture_object *Current1D; struct gl_texture_object *Current2D; struct gl_texture_object *Current3D; struct gl_texture_object *CurrentCubeMap; struct gl_texture_object *CurrentRect; struct gl_texture_object *_Current; struct gl_texture_object Saved1D; struct gl_texture_object Saved2D; struct gl_texture_object Saved3D; struct gl_texture_object SavedCubeMap; struct gl_texture_object SavedRect; struct gl_color_table ColorTable; struct gl_color_table ProxyColorTable; GLboolean ColorTableEnabled; }; struct texenvprog_cache_item { GLuint hash; void *key; struct gl_fragment_program *data; struct texenvprog_cache_item *next; }; struct texenvprog_cache { struct texenvprog_cache_item **items; GLuint size, n_items; GLcontext *ctx; }; struct gl_texture_attrib { GLuint CurrentUnit; GLbitfield _EnabledUnits; GLbitfield _EnabledCoordUnits; GLbitfield _GenFlags; GLbitfield _TexGenEnabled; GLbitfield _TexMatEnabled; struct gl_texture_unit Unit[8]; struct gl_texture_object *Proxy1D; struct gl_texture_object *Proxy2D; struct gl_texture_object *Proxy3D; struct gl_texture_object *ProxyCubeMap; struct gl_texture_object *ProxyRect; GLboolean SharedPalette; struct gl_color_table Palette; struct texenvprog_cache env_fp_cache; }; struct gl_transform_attrib { GLenum MatrixMode; GLfloat EyeUserPlane[6][4]; GLfloat _ClipUserPlane[6][4]; GLbitfield ClipPlanesEnabled; GLboolean Normalize; GLboolean RescaleNormals; GLboolean RasterPositionUnclipped; GLboolean CullVertexFlag; GLfloat CullEyePos[4]; GLfloat CullObjPos[4]; }; struct gl_viewport_attrib { GLint X, Y; GLsizei Width, Height; GLfloat Near, Far; GLmatrix _WindowMap; }; struct gl_attrib_node { GLbitfield kind; void *data; struct gl_attrib_node *next; }; struct gl_buffer_object { GLint RefCount; GLuint Name; GLenum Usage; GLenum Access; GLvoid *Pointer; GLsizeiptrARB Size; GLubyte *Data; GLboolean OnCard; }; struct gl_pixelstore_attrib { GLint Alignment; GLint RowLength; GLint SkipPixels; GLint SkipRows; GLint ImageHeight; GLint SkipImages; GLboolean SwapBytes; GLboolean LsbFirst; GLboolean ClientStorage; GLboolean Invert; struct gl_buffer_object *BufferObj; }; struct gl_client_array { GLint Size; GLenum Type; GLsizei Stride; GLsizei StrideB; const GLubyte *Ptr; GLboolean Enabled; GLboolean Normalized; struct gl_buffer_object *BufferObj; GLuint _MaxElement; }; struct gl_array_object { GLuint Name; struct gl_client_array Vertex; struct gl_client_array Normal; struct gl_client_array Color; struct gl_client_array SecondaryColor; struct gl_client_array FogCoord; struct gl_client_array Index; struct gl_client_array EdgeFlag; struct gl_client_array TexCoord[8]; struct gl_client_array VertexAttrib[VERT_ATTRIB_MAX]; GLbitfield _Enabled; }; struct gl_array_attrib { struct gl_array_object *ArrayObj; struct gl_array_object *DefaultArrayObj; GLint ActiveTexture; GLuint LockFirst; GLuint LockCount; GLbitfield NewState; struct gl_buffer_object *NullBufferObj; struct gl_buffer_object *ArrayBufferObj; struct gl_buffer_object *ElementArrayBufferObj; GLuint _MaxElement; }; struct gl_feedback { GLenum Type; GLbitfield _Mask; GLfloat *Buffer; GLuint BufferSize; GLuint Count; }; struct gl_selection { GLuint *Buffer; GLuint BufferSize; GLuint BufferCount; GLuint Hits; GLuint NameStackDepth; GLuint NameStack[64]; GLboolean HitFlag; GLfloat HitMinZ; GLfloat HitMaxZ; }; struct gl_1d_map { GLuint Order; GLfloat u1, u2, du; GLfloat *Points; }; struct gl_2d_map { GLuint Uorder; GLuint Vorder; GLfloat u1, u2, du; GLfloat v1, v2, dv; GLfloat *Points; }; struct gl_evaluators { struct gl_1d_map Map1Vertex3; struct gl_1d_map Map1Vertex4; struct gl_1d_map Map1Index; struct gl_1d_map Map1Color4; struct gl_1d_map Map1Normal; struct gl_1d_map Map1Texture1; struct gl_1d_map Map1Texture2; struct gl_1d_map Map1Texture3; struct gl_1d_map Map1Texture4; struct gl_1d_map Map1Attrib[16]; struct gl_2d_map Map2Vertex3; struct gl_2d_map Map2Vertex4; struct gl_2d_map Map2Index; struct gl_2d_map Map2Color4; struct gl_2d_map Map2Normal; struct gl_2d_map Map2Texture1; struct gl_2d_map Map2Texture2; struct gl_2d_map Map2Texture3; struct gl_2d_map Map2Texture4; struct gl_2d_map Map2Attrib[16]; }; # 1839 "mtypes.h" enum register_file { PROGRAM_TEMPORARY = 0, PROGRAM_LOCAL_PARAM = 1, PROGRAM_ENV_PARAM = 2, PROGRAM_STATE_VAR = 3, PROGRAM_INPUT = 4, PROGRAM_OUTPUT = 5, PROGRAM_NAMED_PARAM = 6, PROGRAM_CONSTANT = 7, PROGRAM_UNIFORM = 8, PROGRAM_VARYING = 9, PROGRAM_WRITE_ONLY = 10, PROGRAM_ADDRESS = 11, PROGRAM_SAMPLER = 12, PROGRAM_UNDEFINED = 13, PROGRAM_FILE_MAX }; struct prog_instruction; struct gl_program_parameter_list; struct gl_program { GLuint Id; GLubyte *String; GLint RefCount; GLenum Target; GLenum Format; GLboolean Resident; struct prog_instruction *Instructions; GLbitfield InputsRead; GLbitfield OutputsWritten; GLbitfield TexturesUsed[8]; struct gl_program_parameter_list *Parameters; GLfloat LocalParams[128][4]; struct gl_program_parameter_list *Varying; struct gl_program_parameter_list *Attributes; GLuint NumInstructions; GLuint NumTemporaries; GLuint NumParameters; GLuint NumAttributes; GLuint NumAddressRegs; GLuint NumAluInstructions; GLuint NumTexInstructions; GLuint NumTexIndirections; GLuint NumNativeInstructions; GLuint NumNativeTemporaries; GLuint NumNativeParameters; GLuint NumNativeAttributes; GLuint NumNativeAddressRegs; GLuint NumNativeAluInstructions; GLuint NumNativeTexInstructions; GLuint NumNativeTexIndirections; }; struct gl_vertex_program { struct gl_program Base; GLboolean IsNVProgram; GLboolean IsPositionInvariant; void *TnlData; }; struct gl_fragment_program { struct gl_program Base; GLenum FogOption; GLboolean UsesKill; }; struct gl_program_state { GLint ErrorPos; const char *ErrorString; }; struct gl_vertex_program_state { GLboolean Enabled; GLboolean _Enabled; GLboolean PointSizeEnabled; GLboolean TwoSideEnabled; struct gl_vertex_program *Current; struct gl_vertex_program *_Current; GLfloat Parameters[128][4]; GLenum TrackMatrix[128 / 4]; GLenum TrackMatrixTransform[128 / 4]; GLboolean _MaintainTnlProgram; struct gl_vertex_program *_TnlProgram; GLprogramcallbackMESA Callback; GLvoid *CallbackData; GLboolean CallbackEnabled; GLuint CurrentPosition; }; struct gl_fragment_program_state { GLboolean Enabled; GLboolean _Enabled; GLboolean _Active; struct gl_fragment_program *Current; struct gl_fragment_program *_Current; GLfloat Parameters[128][4]; GLboolean _MaintainTexEnvProgram; GLboolean _UseTexEnvProgram; struct gl_fragment_program *_TexEnvProgram; GLprogramcallbackMESA Callback; GLvoid *CallbackData; GLboolean CallbackEnabled; GLuint CurrentPosition; }; # 2022 "mtypes.h" struct atifs_instruction; struct atifs_setupinst; struct ati_fragment_shader { GLuint Id; GLint RefCount; struct atifs_instruction *Instructions[2]; struct atifs_setupinst *SetupInst[2]; GLfloat Constants[8][4]; GLbitfield LocalConstDef; GLubyte numArithInstr[2]; GLubyte regsAssigned[2]; GLubyte NumPasses; GLubyte cur_pass; GLubyte last_optype; GLboolean interpinp1; GLboolean isValid; GLuint swizzlerq; }; struct gl_ati_fragment_shader_state { GLboolean Enabled; GLboolean _Enabled; GLboolean Compiling; GLfloat GlobalConstants[8][4]; struct ati_fragment_shader *Current; }; struct gl_query_object { GLuint Id; GLuint64EXT Result; GLboolean Active; GLboolean Ready; }; struct gl_query_state { struct _mesa_HashTable *QueryObjects; struct gl_query_object *CurrentOcclusionObject; struct gl_query_object *CurrentTimerObject; }; struct gl_shader { GLenum Type; GLuint Name; GLint RefCount; GLboolean DeletePending; const GLchar *Source; GLboolean CompileStatus; GLuint NumPrograms; struct gl_program **Programs; GLchar *InfoLog; }; struct gl_shader_program { GLenum Type; GLuint Name; GLint RefCount; GLboolean DeletePending; GLuint NumShaders; struct gl_shader **Shaders; struct gl_vertex_program *VertexProgram; struct gl_fragment_program *FragmentProgram; struct gl_program_parameter_list *Uniforms; struct gl_program_parameter_list *Varying; struct gl_program_parameter_list *Attributes; GLboolean LinkStatus; GLboolean Validated; GLchar *InfoLog; }; struct gl_shader_state { struct gl_shader_program *CurrentProgram; GLboolean EmitHighLevelInstructions; GLboolean EmitCondCodes; GLboolean EmitComments; void *MemPool; }; struct gl_shared_state { _glthread_Mutex Mutex; GLint RefCount; struct _mesa_HashTable *DisplayList; struct _mesa_HashTable *TexObjects; struct gl_texture_object *Default1D; struct gl_texture_object *Default2D; struct gl_texture_object *Default3D; struct gl_texture_object *DefaultCubeMap; struct gl_texture_object *DefaultRect; # 2168 "mtypes.h" _glthread_Mutex TexMutex; GLuint TextureStateStamp; # 2178 "mtypes.h" struct _mesa_HashTable *Programs; struct gl_program *DefaultVertexProgram; struct gl_program *DefaultFragmentProgram; struct _mesa_HashTable *ATIShaders; struct ati_fragment_shader *DefaultFragmentShader; struct _mesa_HashTable *BufferObjects; struct _mesa_HashTable *ShaderObjects; struct _mesa_HashTable *RenderBuffers; struct _mesa_HashTable *FrameBuffers; struct _mesa_HashTable *ArrayObjects; void *DriverData; }; # 2224 "mtypes.h" struct gl_renderbuffer { int Magic; _glthread_Mutex Mutex; GLuint ClassID; GLuint Name; GLint RefCount; GLuint Width, Height; GLenum InternalFormat; GLenum _ActualFormat; GLenum _BaseFormat; GLenum DataType; GLubyte RedBits; GLubyte GreenBits; GLubyte BlueBits; GLubyte AlphaBits; GLubyte IndexBits; GLubyte DepthBits; GLubyte StencilBits; GLvoid *Data; struct gl_renderbuffer *Wrapped; void (*Delete)(struct gl_renderbuffer *rb); GLboolean (*AllocStorage)(GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height); # 2267 "mtypes.h" void *(*GetPointer)(GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y); void (*GetRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values); void (*GetValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values); void (*PutRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask); void (*PutRowRGB)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask); void (*PutMonoRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask); void (*PutValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask); void (*PutMonoValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask); }; struct gl_renderbuffer_attachment { GLenum Type; GLboolean Complete; struct gl_renderbuffer *Renderbuffer; struct gl_texture_object *Texture; GLuint TextureLevel; GLuint CubeMapFace; GLuint Zoffset; }; struct gl_framebuffer { _glthread_Mutex Mutex; GLuint Name; GLint RefCount; GLboolean DeletePending; GLvisual Visual; GLboolean Initialized; GLuint Width, Height; GLint _Xmin, _Xmax; GLint _Ymin, _Ymax; GLuint _DepthMax; GLfloat _DepthMaxF; GLfloat _MRD; GLenum _Status; struct gl_renderbuffer_attachment Attachment[BUFFER_COUNT]; GLenum ColorDrawBuffer[4]; GLenum ColorReadBuffer; GLbitfield _ColorDrawBufferMask[4]; GLint _ColorReadBufferIndex; GLuint _NumColorDrawBuffers[4]; struct gl_renderbuffer *_ColorDrawBuffers[4][4]; struct gl_renderbuffer *_ColorReadBuffer; struct gl_renderbuffer *_DepthBuffer; struct gl_renderbuffer *_StencilBuffer; void (*Delete)(struct gl_framebuffer *fb); }; struct gl_program_constants { GLuint MaxInstructions; GLuint MaxAluInstructions; GLuint MaxTexInstructions; GLuint MaxTexIndirections; GLuint MaxAttribs; GLuint MaxTemps; GLuint MaxAddressRegs; GLuint MaxParameters; GLuint MaxLocalParams; GLuint MaxEnvParams; GLuint MaxNativeInstructions; GLuint MaxNativeAluInstructions; GLuint MaxNativeTexInstructions; GLuint MaxNativeTexIndirections; GLuint MaxNativeAttribs; GLuint MaxNativeTemps; GLuint MaxNativeAddressRegs; GLuint MaxNativeParameters; GLuint MaxUniformComponents; }; struct gl_constants { GLint MaxTextureLevels; GLint Max3DTextureLevels; GLint MaxCubeTextureLevels; GLint MaxTextureRectSize; GLuint MaxTextureCoordUnits; GLuint MaxTextureImageUnits; GLuint MaxTextureUnits; GLfloat MaxTextureMaxAnisotropy; GLfloat MaxTextureLodBias; GLuint MaxArrayLockSize; GLint SubPixelBits; GLfloat MinPointSize, MaxPointSize; GLfloat MinPointSizeAA, MaxPointSizeAA; GLfloat PointSizeGranularity; GLfloat MinLineWidth, MaxLineWidth; GLfloat MinLineWidthAA, MaxLineWidthAA; GLfloat LineWidthGranularity; GLuint MaxColorTableSize; GLuint MaxConvolutionWidth; GLuint MaxConvolutionHeight; GLuint MaxClipPlanes; GLuint MaxLights; GLfloat MaxShininess; GLfloat MaxSpotExponent; GLuint MaxViewportWidth, MaxViewportHeight; struct gl_program_constants VertexProgram; struct gl_program_constants FragmentProgram; GLuint MaxProgramMatrices; GLuint MaxProgramMatrixStackDepth; GLboolean CheckArrayBounds; GLuint MaxDrawBuffers; GLenum ColorReadFormat; GLenum ColorReadType; GLuint MaxColorAttachments; GLuint MaxRenderbufferSize; GLuint MaxVertexTextureImageUnits; GLuint MaxVarying; }; struct gl_extensions { GLboolean dummy; GLboolean ARB_depth_texture; GLboolean ARB_draw_buffers; GLboolean ARB_fragment_program; GLboolean ARB_fragment_shader; GLboolean ARB_half_float_pixel; GLboolean ARB_imaging; GLboolean ARB_multisample; GLboolean ARB_multitexture; GLboolean ARB_occlusion_query; GLboolean ARB_point_sprite; GLboolean ARB_shader_objects; GLboolean ARB_shading_language_100; GLboolean ARB_shading_language_120; GLboolean ARB_shadow; GLboolean ARB_texture_border_clamp; GLboolean ARB_texture_compression; GLboolean ARB_texture_cube_map; GLboolean ARB_texture_env_combine; GLboolean ARB_texture_env_crossbar; GLboolean ARB_texture_env_dot3; GLboolean ARB_texture_float; GLboolean ARB_texture_mirrored_repeat; GLboolean ARB_texture_non_power_of_two; GLboolean ARB_transpose_matrix; GLboolean ARB_vertex_buffer_object; GLboolean ARB_vertex_program; GLboolean ARB_vertex_shader; GLboolean ARB_window_pos; GLboolean EXT_abgr; GLboolean EXT_bgra; GLboolean EXT_blend_color; GLboolean EXT_blend_equation_separate; GLboolean EXT_blend_func_separate; GLboolean EXT_blend_logic_op; GLboolean EXT_blend_minmax; GLboolean EXT_blend_subtract; GLboolean EXT_clip_volume_hint; GLboolean EXT_cull_vertex; GLboolean EXT_convolution; GLboolean EXT_compiled_vertex_array; GLboolean EXT_copy_texture; GLboolean EXT_depth_bounds_test; GLboolean EXT_draw_range_elements; GLboolean EXT_framebuffer_object; GLboolean EXT_fog_coord; GLboolean EXT_framebuffer_blit; GLboolean EXT_gpu_program_parameters; GLboolean EXT_histogram; GLboolean EXT_multi_draw_arrays; GLboolean EXT_paletted_texture; GLboolean EXT_packed_depth_stencil; GLboolean EXT_packed_pixels; GLboolean EXT_pixel_buffer_object; GLboolean EXT_point_parameters; GLboolean EXT_polygon_offset; GLboolean EXT_rescale_normal; GLboolean EXT_shadow_funcs; GLboolean EXT_secondary_color; GLboolean EXT_separate_specular_color; GLboolean EXT_shared_texture_palette; GLboolean EXT_stencil_wrap; GLboolean EXT_stencil_two_side; GLboolean EXT_subtexture; GLboolean EXT_texture; GLboolean EXT_texture_object; GLboolean EXT_texture3D; GLboolean EXT_texture_compression_s3tc; GLboolean EXT_texture_env_add; GLboolean EXT_texture_env_combine; GLboolean EXT_texture_env_dot3; GLboolean EXT_texture_filter_anisotropic; GLboolean EXT_texture_lod_bias; GLboolean EXT_texture_mirror_clamp; GLboolean EXT_texture_sRGB; GLboolean EXT_timer_query; GLboolean EXT_vertex_array; GLboolean EXT_vertex_array_set; GLboolean APPLE_client_storage; GLboolean APPLE_packed_pixels; GLboolean APPLE_vertex_array_object; GLboolean ATI_texture_mirror_once; GLboolean ATI_texture_env_combine3; GLboolean ATI_fragment_shader; GLboolean ATI_separate_stencil; GLboolean IBM_rasterpos_clip; GLboolean IBM_multimode_draw_arrays; GLboolean MESA_pack_invert; GLboolean MESA_packed_depth_stencil; GLboolean MESA_program_debug; GLboolean MESA_resize_buffers; GLboolean MESA_ycbcr_texture; GLboolean NV_blend_square; GLboolean NV_fragment_program; GLboolean NV_light_max_exponent; GLboolean NV_point_sprite; GLboolean NV_texgen_reflection; GLboolean NV_texture_rectangle; GLboolean NV_vertex_program; GLboolean NV_vertex_program1_1; GLboolean OES_read_format; GLboolean SGI_color_matrix; GLboolean SGI_color_table; GLboolean SGI_texture_color_table; GLboolean SGIS_generate_mipmap; GLboolean SGIS_texture_edge_clamp; GLboolean SGIS_texture_lod; GLboolean SGIX_depth_texture; GLboolean SGIX_shadow; GLboolean SGIX_shadow_ambient; GLboolean TDFX_texture_compression_FXT1; GLboolean S3_s3tc; const GLubyte *String; }; struct gl_matrix_stack { GLmatrix *Top; GLmatrix *Stack; GLuint Depth; GLuint MaxDepth; GLuint DirtyFlag; }; # 2795 "mtypes.h" union node; typedef union node Node; # 1 "dd.h" 1 # 36 "dd.h" struct gl_pixelstore_attrib; struct mesa_display_list; # 52 "dd.h" struct dd_function_table { const GLubyte * (*GetString)( GLcontext *ctx, GLenum name ); void (*UpdateState)( GLcontext *ctx, GLbitfield new_state ); void (*GetBufferSize)( GLframebuffer *buffer, GLuint *width, GLuint *height ); void (*ResizeBuffers)( GLcontext *ctx, GLframebuffer *fb, GLuint width, GLuint height); void (*Error)( GLcontext *ctx ); void (*Finish)( GLcontext *ctx ); void (*Flush)( GLcontext *ctx ); void (*Clear)( GLcontext *ctx, GLbitfield buffers ); void (*Accum)( GLcontext *ctx, GLenum op, GLfloat value ); # 122 "dd.h" void (*DrawPixels)( GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ); void (*ReadPixels)( GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, GLvoid *dest ); void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint dstx, GLint dsty, GLenum type ); void (*Bitmap)( GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ); # 166 "dd.h" const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx, GLint internalFormat, GLenum srcFormat, GLenum srcType ); # 186 "dd.h" void (*TexImage1D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*TexImage2D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*TexImage3D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); # 241 "dd.h" void (*TexSubImage1D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*TexSubImage2D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*TexSubImage3D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*GetTexImage)( GLcontext *ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*CopyTexImage1D)( GLcontext *ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border ); void (*CopyTexImage2D)( GLcontext *ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ); void (*CopyTexSubImage1D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ); void (*CopyTexSubImage2D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ); void (*CopyTexSubImage3D)( GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); GLboolean (*TestProxyTexImage)(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border); # 364 "dd.h" void (*CompressedTexImage1D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*CompressedTexImage2D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); void (*CompressedTexImage3D)( GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage ); # 411 "dd.h" void (*CompressedTexSubImage1D)(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); void (*CompressedTexSubImage2D)(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLint height, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); void (*CompressedTexSubImage3D)(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLint height, GLint depth, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); void (*GetCompressedTexImage)(GLcontext *ctx, GLenum target, GLint level, GLvoid *img, const struct gl_texture_object *texObj, const struct gl_texture_image *texImage); GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width, GLsizei height, GLsizei depth, GLenum format ); # 468 "dd.h" void (*BindTexture)( GLcontext *ctx, GLenum target, struct gl_texture_object *tObj ); struct gl_texture_object * (*NewTextureObject)( GLcontext *ctx, GLuint name, GLenum target ); void (*DeleteTexture)( GLcontext *ctx, struct gl_texture_object *tObj ); struct gl_texture_image * (*NewTextureImage)( GLcontext *ctx ); void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage ); # 507 "dd.h" void* (*TextureMemCpy)( void *to, const void *from, size_t sz ); GLboolean (*IsTextureResident)( GLcontext *ctx, struct gl_texture_object *t ); void (*PrioritizeTexture)( GLcontext *ctx, struct gl_texture_object *t, GLclampf priority ); void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber ); void (*UpdateTexturePalette)( GLcontext *ctx, struct gl_texture_object *tObj ); void (*CopyColorTable)( GLcontext *ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); void (*CopyColorSubTable)( GLcontext *ctx, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ); void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width ); void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height ); # 565 "dd.h" void (*BindProgram)(GLcontext *ctx, GLenum target, struct gl_program *prog); struct gl_program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id); void (*DeleteProgram)(GLcontext *ctx, struct gl_program *prog); void (*ProgramStringNotify)(GLcontext *ctx, GLenum target, struct gl_program *prog); void (*GetProgramRegister)(GLcontext *ctx, enum register_file file, GLuint index, GLfloat val[4]); GLboolean (*IsProgramNative)(GLcontext *ctx, GLenum target, struct gl_program *prog); # 595 "dd.h" void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref); void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]); void (*BlendEquationSeparate)(GLcontext *ctx, GLenum modeRGB, GLenum modeA); void (*BlendFuncSeparate)(GLcontext *ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA); void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]); void (*ClearDepth)(GLcontext *ctx, GLclampd d); void (*ClearIndex)(GLcontext *ctx, GLuint index); void (*ClearStencil)(GLcontext *ctx, GLint s); void (*ClipPlane)(GLcontext *ctx, GLenum plane, const GLfloat *equation ); void (*ColorMask)(GLcontext *ctx, GLboolean rmask, GLboolean gmask, GLboolean bmask, GLboolean amask ); void (*ColorMaterial)(GLcontext *ctx, GLenum face, GLenum mode); void (*CullFace)(GLcontext *ctx, GLenum mode); void (*FrontFace)(GLcontext *ctx, GLenum mode); void (*DepthFunc)(GLcontext *ctx, GLenum func); void (*DepthMask)(GLcontext *ctx, GLboolean flag); void (*DepthRange)(GLcontext *ctx, GLclampd nearval, GLclampd farval); void (*DrawBuffer)( GLcontext *ctx, GLenum buffer ); void (*DrawBuffers)( GLcontext *ctx, GLsizei n, const GLenum *buffers ); void (*Enable)(GLcontext *ctx, GLenum cap, GLboolean state); void (*Fogfv)(GLcontext *ctx, GLenum pname, const GLfloat *params); void (*Hint)(GLcontext *ctx, GLenum target, GLenum mode); void (*IndexMask)(GLcontext *ctx, GLuint mask); void (*Lightfv)(GLcontext *ctx, GLenum light, GLenum pname, const GLfloat *params ); void (*LightModelfv)(GLcontext *ctx, GLenum pname, const GLfloat *params); void (*LineStipple)(GLcontext *ctx, GLint factor, GLushort pattern ); void (*LineWidth)(GLcontext *ctx, GLfloat width); void (*LogicOpcode)(GLcontext *ctx, GLenum opcode); void (*PointParameterfv)(GLcontext *ctx, GLenum pname, const GLfloat *params); void (*PointSize)(GLcontext *ctx, GLfloat size); void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode); void (*PolygonOffset)(GLcontext *ctx, GLfloat factor, GLfloat units); void (*PolygonStipple)(GLcontext *ctx, const GLubyte *mask ); void (*ReadBuffer)( GLcontext *ctx, GLenum buffer ); void (*RenderMode)(GLcontext *ctx, GLenum mode ); void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h); void (*ShadeModel)(GLcontext *ctx, GLenum mode); void (*StencilFuncSeparate)(GLcontext *ctx, GLenum face, GLenum func, GLint ref, GLuint mask); void (*StencilMaskSeparate)(GLcontext *ctx, GLenum face, GLuint mask); void (*StencilOpSeparate)(GLcontext *ctx, GLenum face, GLenum fail, GLenum zfail, GLenum zpass); void (*TexGen)(GLcontext *ctx, GLenum coord, GLenum pname, const GLfloat *params); void (*TexEnv)(GLcontext *ctx, GLenum target, GLenum pname, const GLfloat *param); void (*TexParameter)(GLcontext *ctx, GLenum target, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params); void (*TextureMatrix)(GLcontext *ctx, GLuint unit, const GLmatrix *mat); void (*Viewport)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h); # 703 "dd.h" void (*VertexPointer)(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); void (*NormalPointer)(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr); void (*ColorPointer)(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); void (*FogCoordPointer)(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr); void (*IndexPointer)(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr); void (*SecondaryColorPointer)(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); void (*TexCoordPointer)(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); void (*EdgeFlagPointer)(GLcontext *ctx, GLsizei stride, const GLvoid *ptr); void (*VertexAttribPointer)(GLcontext *ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); void (*LockArraysEXT)( GLcontext *ctx, GLint first, GLsizei count ); void (*UnlockArraysEXT)( GLcontext *ctx ); # 732 "dd.h" GLboolean (*GetBooleanv)(GLcontext *ctx, GLenum pname, GLboolean *result); GLboolean (*GetDoublev)(GLcontext *ctx, GLenum pname, GLdouble *result); GLboolean (*GetFloatv)(GLcontext *ctx, GLenum pname, GLfloat *result); GLboolean (*GetIntegerv)(GLcontext *ctx, GLenum pname, GLint *result); GLboolean (*GetPointerv)(GLcontext *ctx, GLenum pname, GLvoid **result); # 749 "dd.h" void (*BindBuffer)( GLcontext *ctx, GLenum target, struct gl_buffer_object *obj ); struct gl_buffer_object * (*NewBufferObject)( GLcontext *ctx, GLuint buffer, GLenum target ); void (*DeleteBuffer)( GLcontext *ctx, struct gl_buffer_object *obj ); void (*BufferData)( GLcontext *ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage, struct gl_buffer_object *obj ); void (*BufferSubData)( GLcontext *ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data, struct gl_buffer_object *obj ); void (*GetBufferSubData)( GLcontext *ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data, struct gl_buffer_object *obj ); void * (*MapBuffer)( GLcontext *ctx, GLenum target, GLenum access, struct gl_buffer_object *obj ); GLboolean (*UnmapBuffer)( GLcontext *ctx, GLenum target, struct gl_buffer_object *obj ); # 782 "dd.h" struct gl_framebuffer * (*NewFramebuffer)(GLcontext *ctx, GLuint name); struct gl_renderbuffer * (*NewRenderbuffer)(GLcontext *ctx, GLuint name); void (*BindFramebuffer)(GLcontext *ctx, GLenum target, struct gl_framebuffer *fb); void (*FramebufferRenderbuffer)(GLcontext *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb); void (*RenderTexture)(GLcontext *ctx, struct gl_framebuffer *fb, struct gl_renderbuffer_attachment *att); void (*FinishRenderTexture)(GLcontext *ctx, struct gl_renderbuffer_attachment *att); void (*BlitFramebuffer)(GLcontext *ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); struct gl_query_object * (*NewQueryObject)(GLcontext *ctx, GLuint id); void (*BeginQuery)(GLcontext *ctx, GLenum target, struct gl_query_object *q); void (*EndQuery)(GLcontext *ctx, GLenum target, struct gl_query_object *q); struct gl_array_object * (*NewArrayObject)(GLcontext *ctx, GLuint id); void (*DeleteArrayObject)(GLcontext *ctx, struct gl_array_object *obj); void (*BindArrayObject)(GLcontext *ctx, struct gl_array_object *obj); void (*AttachShader)(GLcontext *ctx, GLuint program, GLuint shader); void (*BindAttribLocation)(GLcontext *ctx, GLuint program, GLuint index, const GLcharARB *name); void (*CompileShader)(GLcontext *ctx, GLuint shader); GLuint (*CreateShader)(GLcontext *ctx, GLenum type); GLuint (*CreateProgram)(GLcontext *ctx); void (*DeleteProgram2)(GLcontext *ctx, GLuint program); void (*DeleteShader)(GLcontext *ctx, GLuint shader); void (*DetachShader)(GLcontext *ctx, GLuint program, GLuint shader); void (*GetActiveAttrib)(GLcontext *ctx, GLuint program, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); void (*GetActiveUniform)(GLcontext *ctx, GLuint program, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); void (*GetAttachedShaders)(GLcontext *ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); GLint (*GetAttribLocation)(GLcontext *ctx, GLuint program, const GLcharARB *name); GLuint (*GetHandle)(GLcontext *ctx, GLenum pname); void (*GetProgramiv)(GLcontext *ctx, GLuint program, GLenum pname, GLint *params); void (*GetProgramInfoLog)(GLcontext *ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); void (*GetShaderiv)(GLcontext *ctx, GLuint shader, GLenum pname, GLint *params); void (*GetShaderInfoLog)(GLcontext *ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); void (*GetShaderSource)(GLcontext *ctx, GLuint shader, GLsizei maxLength, GLsizei *length, GLcharARB *sourceOut); void (*GetUniformfv)(GLcontext *ctx, GLuint program, GLint location, GLfloat *params); GLint (*GetUniformLocation)(GLcontext *ctx, GLuint program, const GLcharARB *name); GLboolean (*IsProgram)(GLcontext *ctx, GLuint name); GLboolean (*IsShader)(GLcontext *ctx, GLuint name); void (*LinkProgram)(GLcontext *ctx, GLuint program); void (*ShaderSource)(GLcontext *ctx, GLuint shader, const GLchar *source); void (*Uniform)(GLcontext *ctx, GLint location, GLsizei count, const GLvoid *values, GLenum type); void (*UniformMatrix)(GLcontext *ctx, GLint cols, GLint rows, GLenum matrixType, GLint location, GLsizei count, GLboolean transpose, const GLfloat *values); void (*UseProgram)(GLcontext *ctx, GLuint program); void (*ValidateProgram)(GLcontext *ctx, GLuint program); # 886 "dd.h" GLuint NeedValidate; # 899 "dd.h" void (*ValidateTnlModule)( GLcontext *ctx, GLuint new_state ); # 911 "dd.h" GLuint CurrentExecPrimitive; GLuint CurrentSavePrimitive; # 932 "dd.h" GLuint NeedFlush; GLuint SaveNeedFlush; # 944 "dd.h" void (*FlushVertices)( GLcontext *ctx, GLuint flags ); void (*SaveFlushVertices)( GLcontext *ctx ); GLboolean (*NotifySaveBegin)( GLcontext *ctx, GLenum mode ); void (*LightingSpaceChange)( GLcontext *ctx ); void (*NewList)( GLcontext *ctx, GLuint list, GLenum mode ); void (*EndList)( GLcontext *ctx ); void (*BeginCallList)( GLcontext *ctx, struct mesa_display_list *dlist ); void (*EndCallList)( GLcontext *ctx ); }; # 1009 "dd.h" typedef struct { void ( * ArrayElement)( GLint ); void ( * Color3f)( GLfloat, GLfloat, GLfloat ); void ( * Color3fv)( const GLfloat * ); void ( * Color4f)( GLfloat, GLfloat, GLfloat, GLfloat ); void ( * Color4fv)( const GLfloat * ); void ( * EdgeFlag)( GLboolean ); void ( * EvalCoord1f)( GLfloat ); void ( * EvalCoord1fv)( const GLfloat * ); void ( * EvalCoord2f)( GLfloat, GLfloat ); void ( * EvalCoord2fv)( const GLfloat * ); void ( * EvalPoint1)( GLint ); void ( * EvalPoint2)( GLint, GLint ); void ( * FogCoordfEXT)( GLfloat ); void ( * FogCoordfvEXT)( const GLfloat * ); void ( * Indexf)( GLfloat ); void ( * Indexfv)( const GLfloat * ); void ( * Materialfv)( GLenum face, GLenum pname, const GLfloat * ); void ( * MultiTexCoord1fARB)( GLenum, GLfloat ); void ( * MultiTexCoord1fvARB)( GLenum, const GLfloat * ); void ( * MultiTexCoord2fARB)( GLenum, GLfloat, GLfloat ); void ( * MultiTexCoord2fvARB)( GLenum, const GLfloat * ); void ( * MultiTexCoord3fARB)( GLenum, GLfloat, GLfloat, GLfloat ); void ( * MultiTexCoord3fvARB)( GLenum, const GLfloat * ); void ( * MultiTexCoord4fARB)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ); void ( * MultiTexCoord4fvARB)( GLenum, const GLfloat * ); void ( * Normal3f)( GLfloat, GLfloat, GLfloat ); void ( * Normal3fv)( const GLfloat * ); void ( * SecondaryColor3fEXT)( GLfloat, GLfloat, GLfloat ); void ( * SecondaryColor3fvEXT)( const GLfloat * ); void ( * TexCoord1f)( GLfloat ); void ( * TexCoord1fv)( const GLfloat * ); void ( * TexCoord2f)( GLfloat, GLfloat ); void ( * TexCoord2fv)( const GLfloat * ); void ( * TexCoord3f)( GLfloat, GLfloat, GLfloat ); void ( * TexCoord3fv)( const GLfloat * ); void ( * TexCoord4f)( GLfloat, GLfloat, GLfloat, GLfloat ); void ( * TexCoord4fv)( const GLfloat * ); void ( * Vertex2f)( GLfloat, GLfloat ); void ( * Vertex2fv)( const GLfloat * ); void ( * Vertex3f)( GLfloat, GLfloat, GLfloat ); void ( * Vertex3fv)( const GLfloat * ); void ( * Vertex4f)( GLfloat, GLfloat, GLfloat, GLfloat ); void ( * Vertex4fv)( const GLfloat * ); void ( * CallList)( GLuint ); void ( * CallLists)( GLsizei, GLenum, const GLvoid * ); void ( * Begin)( GLenum ); void ( * End)( void ); void ( * VertexAttrib1fNV)( GLuint index, GLfloat x ); void ( * VertexAttrib1fvNV)( GLuint index, const GLfloat *v ); void ( * VertexAttrib2fNV)( GLuint index, GLfloat x, GLfloat y ); void ( * VertexAttrib2fvNV)( GLuint index, const GLfloat *v ); void ( * VertexAttrib3fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z ); void ( * VertexAttrib3fvNV)( GLuint index, const GLfloat *v ); void ( * VertexAttrib4fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); void ( * VertexAttrib4fvNV)( GLuint index, const GLfloat *v ); void ( * VertexAttrib1fARB)( GLuint index, GLfloat x ); void ( * VertexAttrib1fvARB)( GLuint index, const GLfloat *v ); void ( * VertexAttrib2fARB)( GLuint index, GLfloat x, GLfloat y ); void ( * VertexAttrib2fvARB)( GLuint index, const GLfloat *v ); void ( * VertexAttrib3fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z ); void ( * VertexAttrib3fvARB)( GLuint index, const GLfloat *v ); void ( * VertexAttrib4fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); void ( * VertexAttrib4fvARB)( GLuint index, const GLfloat *v ); void ( * Rectf)( GLfloat, GLfloat, GLfloat, GLfloat ); void ( * DrawArrays)( GLenum mode, GLint start, GLsizei count ); void ( * DrawElements)( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ); void ( * DrawRangeElements)( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); # 1109 "dd.h" void ( * EvalMesh1)( GLenum mode, GLint i1, GLint i2 ); void ( * EvalMesh2)( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); } GLvertexformat; # 2801 "mtypes.h" 2 struct gl_tnl_module { const GLvertexformat *Current; struct { _glapi_proc * location; _glapi_proc function; } Swapped[(sizeof(GLvertexformat) / sizeof(void *))]; GLuint SwapCount; }; # 2838 "mtypes.h" struct mesa_display_list { Node *node; GLuint id; GLbitfield flags; }; struct gl_dlist_state { struct mesa_display_list *CallStack[64]; GLuint CallDepth; struct mesa_display_list *CurrentList; Node *CurrentListPtr; GLuint CurrentListNum; Node *CurrentBlock; GLuint CurrentPos; GLvertexformat ListVtxfmt; GLubyte ActiveAttribSize[VERT_ATTRIB_MAX]; GLfloat CurrentAttrib[VERT_ATTRIB_MAX][4]; GLubyte ActiveMaterialSize[12]; GLfloat CurrentMaterial[12][4]; GLubyte ActiveIndex; GLfloat CurrentIndex; GLubyte ActiveEdgeFlag; GLboolean CurrentEdgeFlag; }; # 2886 "mtypes.h" struct __GLcontextRec { struct gl_shared_state *Shared; struct _glapi_table *Save; struct _glapi_table *Exec; struct _glapi_table *CurrentDispatch; GLvisual Visual; GLframebuffer *DrawBuffer; GLframebuffer *ReadBuffer; GLframebuffer *WinSysDrawBuffer; GLframebuffer *WinSysReadBuffer; struct dd_function_table Driver; void *DriverCtx; struct gl_constants Const; struct gl_matrix_stack ModelviewMatrixStack; struct gl_matrix_stack ProjectionMatrixStack; struct gl_matrix_stack ColorMatrixStack; struct gl_matrix_stack TextureMatrixStack[8]; struct gl_matrix_stack ProgramMatrixStack[8]; struct gl_matrix_stack *CurrentStack; GLmatrix _ModelProjectMatrix; struct gl_dlist_state ListState; GLboolean ExecuteFlag; GLboolean CompileFlag; struct gl_extensions Extensions; GLuint AttribStackDepth; struct gl_attrib_node *AttribStack[16]; # 2948 "mtypes.h" struct gl_accum_attrib Accum; struct gl_colorbuffer_attrib Color; struct gl_current_attrib Current; struct gl_depthbuffer_attrib Depth; struct gl_eval_attrib Eval; struct gl_fog_attrib Fog; struct gl_hint_attrib Hint; struct gl_light_attrib Light; struct gl_line_attrib Line; struct gl_list_attrib List; struct gl_multisample_attrib Multisample; struct gl_pixel_attrib Pixel; struct gl_point_attrib Point; struct gl_polygon_attrib Polygon; GLuint PolygonStipple[32]; struct gl_scissor_attrib Scissor; struct gl_stencil_attrib Stencil; struct gl_texture_attrib Texture; struct gl_transform_attrib Transform; struct gl_viewport_attrib Viewport; GLuint ClientAttribStackDepth; struct gl_attrib_node *ClientAttribStack[16]; struct gl_array_attrib Array; struct gl_pixelstore_attrib Pack; struct gl_pixelstore_attrib Unpack; struct gl_pixelstore_attrib DefaultPacking; struct gl_pixelmaps PixelMaps; struct gl_histogram_attrib Histogram; struct gl_minmax_attrib MinMax; struct gl_convolution_attrib Convolution1D; struct gl_convolution_attrib Convolution2D; struct gl_convolution_attrib Separable2D; struct gl_evaluators EvalMap; struct gl_feedback Feedback; struct gl_selection Select; struct gl_color_table ColorTable[3]; struct gl_color_table ProxyColorTable[3]; struct gl_program_state Program; struct gl_vertex_program_state VertexProgram; struct gl_fragment_program_state FragmentProgram; struct gl_ati_fragment_shader_state ATIFragmentShader; struct gl_query_state Query; struct gl_shader_state Shader; struct gl_renderbuffer *CurrentRenderbuffer; GLenum ErrorValue; GLenum RenderMode; GLbitfield NewState; GLbitfield _TriangleCaps; GLbitfield _ImageTransferState; GLfloat _EyeZDir[3]; GLfloat _ModelViewInvScale; GLboolean _NeedEyeCoords; GLboolean _ForceEyeCoords; GLenum _CurrentProgram; GLuint TextureStateTimestamp; struct gl_shine_tab *_ShineTable[2]; struct gl_shine_tab *_ShineTabList; struct gl_list_extensions ListExt; GLuint _Facing; GLboolean FirstTimeCurrent; GLboolean NoDither; GLboolean Mesa_DXTn; struct gl_tnl_module TnlModule; void *swrast_context; void *swsetup_context; void *swtnl_context; void *swtnl_im; void *acache_context; void *aelt_context; }; extern const char *_mesa_prim_name[0x0009 +4]; # 3096 "mtypes.h" enum _verbose { VERBOSE_VARRAY = 0x0001, VERBOSE_TEXTURE = 0x0002, VERBOSE_IMMEDIATE = 0x0004, VERBOSE_PIPELINE = 0x0008, VERBOSE_DRIVER = 0x0010, VERBOSE_STATE = 0x0020, VERBOSE_API = 0x0040, VERBOSE_DISPLAY_LIST = 0x0100, VERBOSE_LIGHTING = 0x0200, VERBOSE_PRIMS = 0x0400, VERBOSE_VERTS = 0x0800, VERBOSE_DISASSEM = 0x1000 }; enum _debug { DEBUG_ALWAYS_FLUSH = 0x1 }; # 55 "context.h" 2 extern GLvisual * _mesa_create_visual( GLboolean rgbFlag, GLboolean dbFlag, GLboolean stereoFlag, GLint redBits, GLint greenBits, GLint blueBits, GLint alphaBits, GLint indexBits, GLint depthBits, GLint stencilBits, GLint accumRedBits, GLint accumGreenBits, GLint accumBlueBits, GLint accumAlphaBits, GLint numSamples ); extern GLboolean _mesa_initialize_visual( GLvisual *v, GLboolean rgbFlag, GLboolean dbFlag, GLboolean stereoFlag, GLint redBits, GLint greenBits, GLint blueBits, GLint alphaBits, GLint indexBits, GLint depthBits, GLint stencilBits, GLint accumRedBits, GLint accumGreenBits, GLint accumBlueBits, GLint accumAlphaBits, GLint numSamples ); extern void _mesa_destroy_visual( GLvisual *vis ); extern GLcontext * _mesa_create_context( const GLvisual *visual, GLcontext *share_list, const struct dd_function_table *driverFunctions, void *driverContext ); extern GLboolean _mesa_initialize_context( GLcontext *ctx, const GLvisual *visual, GLcontext *share_list, const struct dd_function_table *driverFunctions, void *driverContext ); extern void _mesa_free_context_data( GLcontext *ctx ); extern void _mesa_destroy_context( GLcontext *ctx ); extern void _mesa_copy_context(const GLcontext *src, GLcontext *dst, GLuint mask); extern void _mesa_make_current( GLcontext *ctx, GLframebuffer *drawBuffer, GLframebuffer *readBuffer ); extern GLboolean _mesa_share_state(GLcontext *ctx, GLcontext *ctxToShare); extern GLcontext * _mesa_get_current_context(void); extern void _mesa_notifySwapBuffers(__GLcontext *gc); extern struct _glapi_table * _mesa_get_dispatch(GLcontext *ctx); extern void _mesa_record_error( GLcontext *ctx, GLenum error ); extern void _mesa_Finish( void ); extern void _mesa_Flush( void ); # 36 "texcompress_fxt1.c" 2 # 1 "convolve.h" 1 # 35 "convolve.h" extern void _mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); extern void _mesa_ConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); extern void _mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); extern void _mesa_ConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params); extern void _mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint params); extern void _mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); extern void _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); extern void _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); extern void _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image); extern void _mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); extern void _mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); extern void _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); extern void _mesa_SeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); extern void _mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width, const GLfloat *srcImage, GLfloat *dstImage); extern void _mesa_convolve_2d_image(const GLcontext *ctx, GLsizei *width, GLsizei *height, const GLfloat *srcImage, GLfloat *dstImage); extern void _mesa_convolve_sep_image(const GLcontext *ctx, GLsizei *width, GLsizei *height, const GLfloat *srcImage, GLfloat *dstImage); extern void _mesa_adjust_image_for_convolution(const GLcontext *ctx, GLuint dimensions, GLsizei *width, GLsizei *height); # 37 "texcompress_fxt1.c" 2 # 1 "image.h" 1 # 33 "image.h" extern void _mesa_swap2( GLushort *p, GLuint n ); extern void _mesa_swap4( GLuint *p, GLuint n ); extern GLint _mesa_sizeof_type( GLenum type ); extern GLint _mesa_sizeof_packed_type( GLenum type ); extern GLint _mesa_components_in_format( GLenum format ); extern GLint _mesa_bytes_per_pixel( GLenum format, GLenum type ); extern GLboolean _mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type ); extern GLvoid * _mesa_image_address( GLuint dimensions, const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ); extern GLvoid * _mesa_image_address1d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLenum format, GLenum type, GLint column ); extern GLvoid * _mesa_image_address2d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint row, GLint column ); extern GLvoid * _mesa_image_address3d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ); extern GLint _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLenum format, GLenum type ); extern GLint _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLint height, GLenum format, GLenum type ); extern void _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32], const struct gl_pixelstore_attrib *unpacking ); extern void _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest, const struct gl_pixelstore_attrib *packing ); extern GLvoid * _mesa_unpack_bitmap( GLint width, GLint height, const GLubyte *pixels, const struct gl_pixelstore_attrib *packing ); extern void _mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source, GLubyte *dest, const struct gl_pixelstore_attrib *packing ); extern void _mesa_apply_rgba_transfer_ops(GLcontext *ctx, GLbitfield transferOps, GLuint n, GLfloat rgba[][4]); extern void _mesa_apply_ci_transfer_ops(const GLcontext *ctx, GLbitfield transferOps, GLuint n, GLuint indexes[]); extern void _mesa_apply_stencil_transfer_ops(const GLcontext *ctx, GLuint n, GLstencil stencil[]); extern void _mesa_pack_rgba_span_float( GLcontext *ctx, GLuint n, GLfloat rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr, const struct gl_pixelstore_attrib *dstPacking, GLbitfield transferOps ); extern void _mesa_unpack_color_span_chan( GLcontext *ctx, GLuint n, GLenum dstFormat, GLchan dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ); extern void _mesa_unpack_color_span_float( GLcontext *ctx, GLuint n, GLenum dstFormat, GLfloat dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ); extern void _mesa_unpack_index_span( const GLcontext *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ); extern void _mesa_pack_index_span( const GLcontext *ctx, GLuint n, GLenum dstType, GLvoid *dest, const GLuint *source, const struct gl_pixelstore_attrib *dstPacking, GLbitfield transferOps ); extern void _mesa_unpack_stencil_span( const GLcontext *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ); extern void _mesa_pack_stencil_span( const GLcontext *ctx, GLuint n, GLenum dstType, GLvoid *dest, const GLstencil *source, const struct gl_pixelstore_attrib *dstPacking ); extern void _mesa_unpack_depth_span( const GLcontext *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLfloat depthScale, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking ); extern void _mesa_pack_depth_span( const GLcontext *ctx, GLuint n, GLvoid *dest, GLenum dstType, const GLfloat *depthSpan, const struct gl_pixelstore_attrib *dstPacking ); extern void _mesa_pack_depth_stencil_span(const GLcontext *ctx, GLuint n, GLuint *dest, const GLfloat *depthVals, const GLstencil *stencilVals, const struct gl_pixelstore_attrib *dstPacking); extern void * _mesa_unpack_image( GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack ); extern void _mesa_convert_colors(GLenum srcType, const GLvoid *src, GLenum dstType, GLvoid *dst, GLuint count, const GLubyte mask[]); extern GLboolean _mesa_clip_drawpixels(const GLcontext *ctx, GLint *destX, GLint *destY, GLsizei *width, GLsizei *height, struct gl_pixelstore_attrib *unpack); extern GLboolean _mesa_clip_readpixels(const GLcontext *ctx, GLint *destX, GLint *destY, GLsizei *width, GLsizei *height, struct gl_pixelstore_attrib *pack); extern GLboolean _mesa_clip_to_region(GLint xmin, GLint ymin, GLint xmax, GLint ymax, GLint *x, GLint *y, GLsizei *width, GLsizei *height ); # 38 "texcompress_fxt1.c" 2 # 1 "mipmap.h" 1 # 31 "mipmap.h" extern void _mesa_generate_mipmap(GLcontext *ctx, GLenum target, const struct gl_texture_unit *texUnit, struct gl_texture_object *texObj); extern void _mesa_rescale_teximage2d(GLuint bytesPerPixel, GLuint srcStrideInPixels, GLuint dstRowStride, GLint srcWidth, GLint srcHeight, GLint dstWidth, GLint dstHeight, const GLvoid *srcImage, GLvoid *dstImage); extern void _mesa_upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, GLsizei outWidth, GLsizei outHeight, GLint comps, const GLchan *src, GLint srcRowStride, GLchan *dest); # 39 "texcompress_fxt1.c" 2 # 1 "texcompress.h" 1 # 32 "texcompress.h" extern GLuint _mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all); extern GLuint _mesa_compressed_texture_size( GLcontext *ctx, GLsizei width, GLsizei height, GLsizei depth, GLuint mesaFormat ); extern GLuint _mesa_compressed_texture_size_glenum(GLcontext *ctx, GLsizei width, GLsizei height, GLsizei depth, GLenum glformat); extern GLint _mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width); extern GLubyte * _mesa_compressed_image_address(GLint col, GLint row, GLint img, GLuint mesaFormat, GLsizei width, const GLubyte *image); extern void _mesa_init_texture_s3tc( GLcontext *ctx ); extern void _mesa_init_texture_fxt1( GLcontext *ctx ); # 40 "texcompress_fxt1.c" 2 # 1 "texformat.h" 1 # 48 "texformat.h" enum _format { # 65 "texformat.h" MESA_FORMAT_RGBA8888, MESA_FORMAT_RGBA8888_REV, MESA_FORMAT_ARGB8888, MESA_FORMAT_ARGB8888_REV, MESA_FORMAT_RGB888, MESA_FORMAT_BGR888, MESA_FORMAT_RGB565, MESA_FORMAT_RGB565_REV, MESA_FORMAT_ARGB4444, MESA_FORMAT_ARGB4444_REV, MESA_FORMAT_ARGB1555, MESA_FORMAT_ARGB1555_REV, MESA_FORMAT_AL88, MESA_FORMAT_AL88_REV, MESA_FORMAT_RGB332, MESA_FORMAT_A8, MESA_FORMAT_L8, MESA_FORMAT_I8, MESA_FORMAT_CI8, MESA_FORMAT_YCBCR, MESA_FORMAT_YCBCR_REV, MESA_FORMAT_Z24_S8, MESA_FORMAT_Z16, MESA_FORMAT_Z32, MESA_FORMAT_SRGB8, MESA_FORMAT_SRGBA8, MESA_FORMAT_SL8, MESA_FORMAT_SLA8, MESA_FORMAT_RGB_FXT1, MESA_FORMAT_RGBA_FXT1, MESA_FORMAT_RGB_DXT1, MESA_FORMAT_RGBA_DXT1, MESA_FORMAT_RGBA_DXT3, MESA_FORMAT_RGBA_DXT5, # 126 "texformat.h" MESA_FORMAT_RGBA, MESA_FORMAT_RGB, MESA_FORMAT_ALPHA, MESA_FORMAT_LUMINANCE, MESA_FORMAT_LUMINANCE_ALPHA, MESA_FORMAT_INTENSITY, MESA_FORMAT_RGBA_FLOAT32, MESA_FORMAT_RGBA_FLOAT16, MESA_FORMAT_RGB_FLOAT32, MESA_FORMAT_RGB_FLOAT16, MESA_FORMAT_ALPHA_FLOAT32, MESA_FORMAT_ALPHA_FLOAT16, MESA_FORMAT_LUMINANCE_FLOAT32, MESA_FORMAT_LUMINANCE_FLOAT16, MESA_FORMAT_LUMINANCE_ALPHA_FLOAT32, MESA_FORMAT_LUMINANCE_ALPHA_FLOAT16, MESA_FORMAT_INTENSITY_FLOAT32, MESA_FORMAT_INTENSITY_FLOAT16 }; extern const struct gl_texture_format _mesa_texformat_rgba; extern const struct gl_texture_format _mesa_texformat_rgb; extern const struct gl_texture_format _mesa_texformat_alpha; extern const struct gl_texture_format _mesa_texformat_luminance; extern const struct gl_texture_format _mesa_texformat_luminance_alpha; extern const struct gl_texture_format _mesa_texformat_intensity; extern const struct gl_texture_format _mesa_texformat_srgb8; extern const struct gl_texture_format _mesa_texformat_srgba8; extern const struct gl_texture_format _mesa_texformat_sl8; extern const struct gl_texture_format _mesa_texformat_sla8; extern const struct gl_texture_format _mesa_texformat_rgba_float32; extern const struct gl_texture_format _mesa_texformat_rgba_float16; extern const struct gl_texture_format _mesa_texformat_rgb_float32; extern const struct gl_texture_format _mesa_texformat_rgb_float16; extern const struct gl_texture_format _mesa_texformat_alpha_float32; extern const struct gl_texture_format _mesa_texformat_alpha_float16; extern const struct gl_texture_format _mesa_texformat_luminance_float32; extern const struct gl_texture_format _mesa_texformat_luminance_float16; extern const struct gl_texture_format _mesa_texformat_luminance_alpha_float32; extern const struct gl_texture_format _mesa_texformat_luminance_alpha_float16; extern const struct gl_texture_format _mesa_texformat_intensity_float32; extern const struct gl_texture_format _mesa_texformat_intensity_float16; extern const struct gl_texture_format _mesa_texformat_rgba8888; extern const struct gl_texture_format _mesa_texformat_rgba8888_rev; extern const struct gl_texture_format _mesa_texformat_argb8888; extern const struct gl_texture_format _mesa_texformat_argb8888_rev; extern const struct gl_texture_format _mesa_texformat_rgb888; extern const struct gl_texture_format _mesa_texformat_bgr888; extern const struct gl_texture_format _mesa_texformat_rgb565; extern const struct gl_texture_format _mesa_texformat_rgb565_rev; extern const struct gl_texture_format _mesa_texformat_argb4444; extern const struct gl_texture_format _mesa_texformat_argb4444_rev; extern const struct gl_texture_format _mesa_texformat_argb1555; extern const struct gl_texture_format _mesa_texformat_argb1555_rev; extern const struct gl_texture_format _mesa_texformat_al88; extern const struct gl_texture_format _mesa_texformat_al88_rev; extern const struct gl_texture_format _mesa_texformat_rgb332; extern const struct gl_texture_format _mesa_texformat_a8; extern const struct gl_texture_format _mesa_texformat_l8; extern const struct gl_texture_format _mesa_texformat_i8; extern const struct gl_texture_format _mesa_texformat_ci8; extern const struct gl_texture_format _mesa_texformat_z24_s8; extern const struct gl_texture_format _mesa_texformat_z16; extern const struct gl_texture_format _mesa_texformat_z32; extern const struct gl_texture_format _mesa_texformat_ycbcr; extern const struct gl_texture_format _mesa_texformat_ycbcr_rev; extern const struct gl_texture_format _mesa_texformat_rgb_fxt1; extern const struct gl_texture_format _mesa_texformat_rgba_fxt1; extern const struct gl_texture_format _mesa_texformat_rgb_dxt1; extern const struct gl_texture_format _mesa_texformat_rgba_dxt1; extern const struct gl_texture_format _mesa_texformat_rgba_dxt3; extern const struct gl_texture_format _mesa_texformat_rgba_dxt5; extern const struct gl_texture_format _mesa_null_texformat; extern const struct gl_texture_format * _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat, GLenum format, GLenum type ); # 41 "texcompress_fxt1.c" 2 # 1 "texstore.h" 1 # 41 "texstore.h" 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); 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); extern GLchan * _mesa_make_temp_chan_image(GLcontext *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking); extern void _mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims); extern void _mesa_store_teximage1d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_teximage2d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_teximage3d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_texsubimage1d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint width, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_texsubimage2d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_texsubimage3d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_teximage1d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_teximage2d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_teximage3d(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint depth, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_texsubimage1d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_texsubimage2d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_store_compressed_texsubimage3d(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_object *texObj, struct gl_texture_image *texImage); extern void _mesa_get_compressed_teximage(GLcontext *ctx, GLenum target, GLint level, GLvoid *img, const struct gl_texture_object *texObj, const struct gl_texture_image *texImage); extern const GLvoid * _mesa_validate_pbo_teximage(GLcontext *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName); extern const GLvoid * _mesa_validate_pbo_compressed_teximage(GLcontext *ctx, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName); extern void _mesa_unmap_teximage_pbo(GLcontext *ctx, const struct gl_pixelstore_attrib *unpack); # 42 "texcompress_fxt1.c" 2 static void fxt1_encode (GLuint width, GLuint height, GLint comps, const void *source, GLint srcRowStride, void *dest, GLint destRowStride); void fxt1_decode_1 (const void *texture, GLint stride, GLint i, GLint j, GLchan *rgba); void _mesa_init_texture_fxt1( GLcontext *ctx ) { (void) ctx; } static GLboolean 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) { const GLchan *pixels; GLint srcRowStride; GLubyte *dst; const GLint texWidth = dstRowStride * 8 / 16; const GLchan *tempImage = ((void *)0); ; ; ; ; (void) dstZoffset; (void) dstImageOffsets; if (srcFormat != 0x1907 || srcType != 0x1401 || ctx->_ImageTransferState || srcPacking->SwapBytes) { tempImage = _mesa_make_temp_chan_image(ctx, dims, baseInternalFormat, dstFormat->BaseFormat, srcWidth, srcHeight, srcDepth, srcFormat, srcType, srcAddr, srcPacking); if (!tempImage) return 0x0; _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight); pixels = tempImage; srcRowStride = 3 * srcWidth; srcFormat = 0x1907; } else { pixels = (const GLchan *) srcAddr; srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) / sizeof(GLchan); } dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, dstFormat->MesaFormat, texWidth, (GLubyte *) dstAddr); fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, dst, dstRowStride); if (tempImage) _mesa_free((void*) tempImage); return 0x1; } static GLboolean 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) { const GLchan *pixels; GLint srcRowStride; GLubyte *dst; GLint texWidth = dstRowStride * 8 / 16; const GLchan *tempImage = ((void *)0); ; ; ; ; (void) dstZoffset; (void) dstImageOffsets; if (srcFormat != 0x1908 || srcType != 0x1401 || ctx->_ImageTransferState || srcPacking->SwapBytes) { tempImage = _mesa_make_temp_chan_image(ctx, dims, baseInternalFormat, dstFormat->BaseFormat, srcWidth, srcHeight, srcDepth, srcFormat, srcType, srcAddr, srcPacking); if (!tempImage) return 0x0; _mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight); pixels = tempImage; srcRowStride = 4 * srcWidth; srcFormat = 0x1908; } else { pixels = (const GLchan *) srcAddr; srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) / sizeof(GLchan); } dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, dstFormat->MesaFormat, texWidth, (GLubyte *) dstAddr); fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, dst, dstRowStride); if (tempImage) _mesa_free((void*) tempImage); return 0x1; } static void fetch_texel_2d_rgba_fxt1( const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLchan *texel ) { (void) k; fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel); } static void fetch_texel_2d_f_rgba_fxt1( const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel ) { GLchan rgba[4]; (void) k; fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, rgba); texel[0] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[0])]; texel[1] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[1])]; texel[2] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[2])]; texel[3] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[3])]; } static void fetch_texel_2d_rgb_fxt1( const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLchan *texel ) { (void) k; fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, texel); texel[3] = 255; } static void fetch_texel_2d_f_rgb_fxt1( const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel ) { GLchan rgba[4]; (void) k; fxt1_decode_1(texImage->Data, texImage->RowStride, i, j, rgba); texel[0] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[0])]; texel[1] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[1])]; texel[2] = _mesa_ubyte_to_float_color_tab[(unsigned int)(rgba[2])]; texel[3] = 1.0F; } const struct gl_texture_format _mesa_texformat_rgb_fxt1 = { MESA_FORMAT_RGB_FXT1, 0x1907, 0x8C17, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, texstore_rgb_fxt1, ((void *)0), fetch_texel_2d_rgb_fxt1, ((void *)0), ((void *)0), fetch_texel_2d_f_rgb_fxt1, ((void *)0), ((void *)0) }; const struct gl_texture_format _mesa_texformat_rgba_fxt1 = { MESA_FORMAT_RGBA_FXT1, 0x1908, 0x8C17, 4, 4, 4, 1, 0, 0, 0, 0, 0, 0, texstore_rgba_fxt1, ((void *)0), fetch_texel_2d_rgba_fxt1, ((void *)0), ((void *)0), fetch_texel_2d_f_rgba_fxt1, ((void *)0), ((void *)0) }; # 308 "texcompress_fxt1.c" typedef unsigned long long Fx64; # 381 "texcompress_fxt1.c" static GLint fxt1_bestcol (GLfloat vec[][4], GLint nv, GLubyte input[4], GLint nc) { GLint i, j, best = -1; GLfloat err = 1e9; for (j = 0; j < nv; j++) { GLfloat e = 0.0F; for (i = 0; i < nc; i++) { e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); } if (e < err) { err = e; best = j; } } return best; } static GLint fxt1_worst (GLfloat vec[4], GLubyte input[32][4], GLint nc, GLint n) { GLint i, k, worst = -1; GLfloat err = -1.0F; for (k = 0; k < n; k++) { GLfloat e = 0.0F; for (i = 0; i < nc; i++) { e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); } if (e > err) { err = e; worst = k; } } return worst; } static GLint fxt1_variance (GLdouble variance[4], GLubyte input[32][4], GLint nc, GLint n) { GLint i, k, best = 0; GLint sx, sx2; GLdouble var, maxvar = -1; GLdouble teenth = 1.0 / n; for (i = 0; i < nc; i++) { sx = sx2 = 0; for (k = 0; k < n; k++) { GLint t = input[k][i]; sx += t; sx2 += t * t; } var = sx2 * teenth - sx * sx * teenth * teenth; if (maxvar < var) { maxvar = var; best = i; } if (variance) { variance[i] = var; } } return best; } static GLint fxt1_choose (GLfloat vec[][4], GLint nv, GLubyte input[32][4], GLint nc, GLint n) { # 475 "texcompress_fxt1.c" GLint i, j, k; GLint minSum = 2000; GLint maxSum = -1; GLint minCol = 0; GLint maxCol = 0; struct { GLint flag; GLint key; GLint freq; GLint idx; } hist[32]; GLint lenh = 0; _mesa_memset(hist, 0, sizeof(hist)); for (k = 0; k < n; k++) { GLint l; GLint key = 0; GLint sum = 0; for (i = 0; i < nc; i++) { key <<= 8; key |= input[k][i]; sum += input[k][i]; } for (l = 0; l < n; l++) { if (!hist[l].flag) { hist[l].flag = !0; hist[l].key = key; hist[l].freq = 1; hist[l].idx = k; lenh = l + 1; break; } else if (hist[l].key == key) { hist[l].freq++; break; } } if (minSum > sum) { minSum = sum; minCol = k; } if (maxSum < sum) { maxSum = sum; maxCol = k; } } if (lenh <= nv) { for (j = 0; j < lenh; j++) { for (i = 0; i < nc; i++) { vec[j][i] = (GLfloat)input[hist[j].idx][i]; } } for (; j < nv; j++) { for (i = 0; i < nc; i++) { vec[j][i] = vec[0][i]; } } return 0; } for (j = 0; j < nv; j++) { for (i = 0; i < nc; i++) { vec[j][i] = ((nv - 1 - j) * input[minCol][i] + j * input[maxCol][i] + (nv - 1) / 2) / (GLfloat)(nv - 1); } } return !0; } static GLint fxt1_lloyd (GLfloat vec[][4], GLint nv, GLubyte input[32][4], GLint nc, GLint n) { # 573 "texcompress_fxt1.c" GLint sum[4][4]; GLint cnt[4]; GLfloat error, lasterror = 1e9; GLint i, j, k, rep; for (rep = 0; rep < 50; rep++) { for (j = 0; j < nv; j++) { for (i = 0; i < nc; i++) { sum[j][i] = 0; } cnt[j] = 0; } error = 0; for (k = 0; k < n; k++) { GLint best = -1; GLfloat err = 1e9; for (j = 0; j < nv; j++) { GLfloat e = (vec[j][0] - input[k][0]) * (vec[j][0] - input[k][0]) + (vec[j][1] - input[k][1]) * (vec[j][1] - input[k][1]) + (vec[j][2] - input[k][2]) * (vec[j][2] - input[k][2]); if (nc == 4) { e += (vec[j][3] - input[k][3]) * (vec[j][3] - input[k][3]); } if (e < err) { err = e; best = j; } } for (i = 0; i < nc; i++) { sum[best][i] += input[k][i]; } cnt[best]++; error += err; } if ((error < 255) || ((error < lasterror) && ((lasterror - error) < 10))) { return !0; } lasterror = error; for (j = 0; j < nv; j++) { if (cnt[j]) { GLfloat div = 1.0F / cnt[j]; for (i = 0; i < nc; i++) { vec[j][i] = div * sum[j][i]; } } else { GLint worst = fxt1_worst(vec[j], input, nc, n); for (i = 0; i < nc; i++) { vec[j][i] = input[worst][i]; } } } } return 0; } static void fxt1_quantize_CHROMA (GLuint *cc, GLubyte input[32][4]) { const GLint n_vect = 4; const GLint n_comp = 3; GLfloat vec[4][4]; GLint i, j, k; Fx64 hi; GLuint lohi, lolo; if (fxt1_choose(vec, n_vect, input, n_comp, 32) != 0) { fxt1_lloyd(vec, n_vect, input, n_comp, 32); } hi = 4; for (j = n_vect - 1; j >= 0; j--) { for (i = 0; i < n_comp; i++) { hi <<= 5; hi |= (GLuint)(vec[j][i] / 8.0F); } } ((Fx64 *)cc)[1] = hi; lohi = lolo = 0; for (k = 32 - 1; k >= 32/2; k--) { lohi <<= 2; lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); } for (; k >= 0; k--) { lolo <<= 2; lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); } cc[1] = lohi; cc[0] = lolo; } static void fxt1_quantize_ALPHA0 (GLuint *cc, GLubyte input[32][4], GLubyte reord[32][4], GLint n) { const GLint n_vect = 3; const GLint n_comp = 4; GLfloat vec[4][4]; GLint i, j, k; Fx64 hi; GLuint lohi, lolo; for (i = 0; i < n_comp; i++) { vec[n_vect][i] = 0; } if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { fxt1_lloyd(vec, n_vect, reord, n_comp, n); } hi = 6; for (j = n_vect - 1; j >= 0; j--) { hi <<= 5; hi |= (GLuint)(vec[j][3] / 8.0F); } for (j = n_vect - 1; j >= 0; j--) { for (i = 0; i < n_comp - 1; i++) { hi <<= 5; hi |= (GLuint)(vec[j][i] / 8.0F); } } ((Fx64 *)cc)[1] = hi; lohi = lolo = 0; for (k = 32 - 1; k >= 32/2; k--) { lohi <<= 2; lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); } for (; k >= 0; k--) { lolo <<= 2; lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); } cc[1] = lohi; cc[0] = lolo; } static void fxt1_quantize_ALPHA1 (GLuint *cc, GLubyte input[32][4]) { const GLint n_vect = 3; const GLint n_comp = 4; GLfloat vec[1 + 1 + 1][4]; GLfloat b, iv[4]; GLint i, j, k; Fx64 hi; GLuint lohi, lolo; GLint minSum; GLint maxSum; GLint minColL = 0, maxColL = 0; GLint minColR = 0, maxColR = 0; GLint sumL = 0, sumR = 0; GLint nn_comp; nn_comp = n_comp; while ((minColL == maxColL) && nn_comp) { minSum = 2000; maxSum = -1; for (k = 0; k < 32 / 2; k++) { GLint sum = 0; for (i = 0; i < nn_comp; i++) { sum += input[k][i]; } if (minSum > sum) { minSum = sum; minColL = k; } if (maxSum < sum) { maxSum = sum; maxColL = k; } sumL += sum; } nn_comp--; } nn_comp = n_comp; while ((minColR == maxColR) && nn_comp) { minSum = 2000; maxSum = -1; for (k = 32 / 2; k < 32; k++) { GLint sum = 0; for (i = 0; i < nn_comp; i++) { sum += input[k][i]; } if (minSum > sum) { minSum = sum; minColR = k; } if (maxSum < sum) { maxSum = sum; maxColR = k; } sumR += sum; } nn_comp--; } { GLint j1, j2; GLint v1 = 0, v2 = 0; GLfloat err = 1e9; GLfloat tv[2 * 2][4]; for (i = 0; i < n_comp; i++) { tv[0][i] = input[minColL][i]; tv[1][i] = input[maxColL][i]; tv[2][i] = input[minColR][i]; tv[3][i] = input[maxColR][i]; } for (j1 = 0; j1 < 2; j1++) { for (j2 = 2; j2 < 4; j2++) { GLfloat e = 0.0F; for (i = 0; i < n_comp; i++) { e += (tv[j1][i] - tv[j2][i]) * (tv[j1][i] - tv[j2][i]); } if (e < err) { err = e; v1 = j1; v2 = j2; } } } for (i = 0; i < n_comp; i++) { vec[0][i] = tv[1 - v1][i]; vec[1][i] = (tv[v1][i] * sumL + tv[v2][i] * sumR) / (sumL + sumR); vec[2][i] = tv[5 - v2][i]; } } cc[0] = 0; if (minColL != maxColL) { 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); lolo = 0; for (k = 32 / 2 - 1; k >= 0; k--) { GLint texel; 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); lolo <<= 2; lolo |= texel; } cc[0] = lolo; } cc[1] = 0; if (minColR != maxColR) { 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); lohi = 0; for (k = 32 - 1; k >= 32 / 2; k--) { GLint texel; 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); lohi <<= 2; lohi |= texel; } cc[1] = lohi; } hi = 7; for (j = n_vect - 1; j >= 0; j--) { hi <<= 5; hi |= (GLuint)(vec[j][3] / 8.0F); } for (j = n_vect - 1; j >= 0; j--) { for (i = 0; i < n_comp - 1; i++) { hi <<= 5; hi |= (GLuint)(vec[j][i] / 8.0F); } } ((Fx64 *)cc)[1] = hi; } static void fxt1_quantize_HI (GLuint *cc, GLubyte input[32][4], GLubyte reord[32][4], GLint n) { const GLint n_vect = 6; const GLint n_comp = 3; GLfloat b = 0.0F; GLfloat iv[4]; GLint i, k; GLuint hihi; GLint minSum = 2000; GLint maxSum = -1; GLint minCol = 0; GLint maxCol = 0; for (k = 0; k < n; k++) { GLint sum = 0; for (i = 0; i < n_comp; i++) { sum += reord[k][i]; } if (minSum > sum) { minSum = sum; minCol = k; } if (maxSum < sum) { maxSum = sum; maxCol = k; } } hihi = 0; for (i = 0; i < n_comp; i++) { hihi <<= 5; hihi |= reord[maxCol][i] >> 3; } for (i = 0; i < n_comp; i++) { hihi <<= 5; hihi |= reord[minCol][i] >> 3; } cc[3] = hihi; cc[0] = cc[1] = cc[2] = 0; if (minCol != maxCol) { 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); } for (k = 32 - 1; k >= 0; k--) { GLint t = k * 3; GLuint *kk = (GLuint *)((char *)cc + t / 8); GLint texel = n_vect + 1; if (!(*((GLuint *)(input[k])) == 0)) { if (minCol != maxCol) { 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); kk[0] |= texel << (t & 7); } } else { kk[0] |= texel << (t & 7); } } } static void fxt1_quantize_MIXED1 (GLuint *cc, GLubyte input[32][4]) { const GLint n_vect = 2; const GLint n_comp = 3; GLubyte vec[2 * 2][4]; GLfloat b, iv[4]; GLint i, j, k; Fx64 hi; GLuint lohi, lolo; GLint minSum; GLint maxSum; GLint minColL = 0, maxColL = -1; GLint minColR = 0, maxColR = -1; minSum = 2000; maxSum = -1; for (k = 0; k < 32 / 2; k++) { if (!(*((GLuint *)(input[k])) == 0)) { GLint sum = 0; for (i = 0; i < n_comp; i++) { sum += input[k][i]; } if (minSum > sum) { minSum = sum; minColL = k; } if (maxSum < sum) { maxSum = sum; maxColL = k; } } } minSum = 2000; maxSum = -1; for (; k < 32; k++) { if (!(*((GLuint *)(input[k])) == 0)) { GLint sum = 0; for (i = 0; i < n_comp; i++) { sum += input[k][i]; } if (minSum > sum) { minSum = sum; minColR = k; } if (maxSum < sum) { maxSum = sum; maxColR = k; } } } if (maxColL == -1) { cc[0] = ~0u; for (i = 0; i < n_comp; i++) { vec[0][i] = 0; vec[1][i] = 0; } } else { cc[0] = 0; for (i = 0; i < n_comp; i++) { vec[0][i] = input[minColL][i]; vec[1][i] = input[maxColL][i]; } if (minColL != maxColL) { 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); lolo = 0; for (k = 32 / 2 - 1; k >= 0; k--) { GLint texel = n_vect + 1; if (!(*((GLuint *)(input[k])) == 0)) { 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); } lolo <<= 2; lolo |= texel; } cc[0] = lolo; } } if (maxColR == -1) { cc[1] = ~0u; for (i = 0; i < n_comp; i++) { vec[2][i] = 0; vec[3][i] = 0; } } else { cc[1] = 0; for (i = 0; i < n_comp; i++) { vec[2][i] = input[minColR][i]; vec[3][i] = input[maxColR][i]; } if (minColR != maxColR) { 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); lohi = 0; for (k = 32 - 1; k >= 32 / 2; k--) { GLint texel = n_vect + 1; if (!(*((GLuint *)(input[k])) == 0)) { 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); } lohi <<= 2; lohi |= texel; } cc[1] = lohi; } } hi = 9 | (vec[3][1] & 4) | ((vec[1][1] >> 1) & 2); for (j = 2 * 2 - 1; j >= 0; j--) { for (i = 0; i < n_comp; i++) { hi <<= 5; hi |= vec[j][i] >> 3; } } ((Fx64 *)cc)[1] = hi; } static void fxt1_quantize_MIXED0 (GLuint *cc, GLubyte input[32][4]) { const GLint n_vect = 3; const GLint n_comp = 3; GLubyte vec[2 * 2][4]; GLfloat b, iv[4]; GLint i, j, k; Fx64 hi; GLuint lohi, lolo; GLint minColL = 0, maxColL = 0; GLint minColR = 0, maxColR = 0; # 1169 "texcompress_fxt1.c" GLint minVal; GLint maxVal; GLint maxVarL = fxt1_variance(((void *)0), input, n_comp, 32 / 2); GLint maxVarR = fxt1_variance(((void *)0), &input[32 / 2], n_comp, 32 / 2); minVal = 2000; maxVal = -1; for (k = 0; k < 32 / 2; k++) { GLint t = input[k][maxVarL]; if (minVal > t) { minVal = t; minColL = k; } if (maxVal < t) { maxVal = t; maxColL = k; } } minVal = 2000; maxVal = -1; for (; k < 32; k++) { GLint t = input[k][maxVarR]; if (minVal > t) { minVal = t; minColR = k; } if (maxVal < t) { maxVal = t; maxColR = k; } } cc[0] = 0; for (i = 0; i < n_comp; i++) { vec[0][i] = input[minColL][i]; vec[1][i] = input[maxColL][i]; } if (minColL != maxColL) { 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); lolo = 0; for (k = 32 / 2 - 1; k >= 0; k--) { GLint texel; 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); lolo <<= 2; lolo |= texel; } if ((GLint)((lolo >> 1) & 1) != (((vec[1][1] ^ vec[0][1]) >> 2) & 1)) { for (i = 0; i < n_comp; i++) { vec[1][i] = input[minColL][i]; vec[0][i] = input[maxColL][i]; } lolo = ~lolo; } cc[0] = lolo; } cc[1] = 0; for (i = 0; i < n_comp; i++) { vec[2][i] = input[minColR][i]; vec[3][i] = input[maxColR][i]; } if (minColR != maxColR) { 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); lohi = 0; for (k = 32 - 1; k >= 32 / 2; k--) { GLint texel; 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); lohi <<= 2; lohi |= texel; } if ((GLint)((lohi >> 1) & 1) != (((vec[3][1] ^ vec[2][1]) >> 2) & 1)) { for (i = 0; i < n_comp; i++) { vec[3][i] = input[minColR][i]; vec[2][i] = input[maxColR][i]; } lohi = ~lohi; } cc[1] = lohi; } hi = 8 | (vec[3][1] & 4) | ((vec[1][1] >> 1) & 2); for (j = 2 * 2 - 1; j >= 0; j--) { for (i = 0; i < n_comp; i++) { hi <<= 5; hi |= vec[j][i] >> 3; } } ((Fx64 *)cc)[1] = hi; } static void fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps) { GLint trualpha; GLubyte reord[32][4]; GLubyte input[32][4]; GLint i, k, l; if (comps == 3) { _mesa_memset(input, -1, sizeof(input)); } for (l = 0; l < 4; l++) { for (k = 0; k < 4; k++) { for (i = 0; i < comps; i++) { input[k + l * 4][i] = *lines[l]++; } } for (; k < 8; k++) { for (i = 0; i < comps; i++) { input[k + l * 4 + 12][i] = *lines[l]++; } } } # 1321 "texcompress_fxt1.c" l = 32; trualpha = 0; if (comps == 4) { l = 0; for (k = 0; k < 32; k++) { if (!(*((GLuint *)(input[k])) == 0)) { do { *((GLuint*)(reord[l])) = *((GLuint*)(input[k])); } while (0); if (reord[l][3] < (255 - 2)) { trualpha = !0; } l++; } } } # 1355 "texcompress_fxt1.c" if (trualpha) { fxt1_quantize_ALPHA1(cc, input); } else if (l == 0) { cc[0] = cc[1] = cc[2] = ~0u; cc[3] = 0; } else if (l < 32) { fxt1_quantize_MIXED1(cc, input); } else { fxt1_quantize_MIXED0(cc, input); } (void)fxt1_quantize_ALPHA0; (void)fxt1_quantize_HI; (void)fxt1_quantize_CHROMA; } static void fxt1_encode (GLuint width, GLuint height, GLint comps, const void *source, GLint srcRowStride, void *dest, GLint destRowStride) { GLuint x, y; const GLubyte *data; GLuint *encoded = (GLuint *)dest; void *newSource = ((void *)0); ((void) (0)); if ((width & 7) | (height & 3)) { GLint newWidth = (width + 7) & ~7; GLint newHeight = (height + 3) & ~3; newSource = _mesa_malloc(comps * newWidth * newHeight * sizeof(GLchan)); if (!newSource) { GLcontext *ctx = (GLcontext *) _glapi_tls_Context; _mesa_error(ctx, 0x0505, "texture compression"); goto cleanUp; } _mesa_upscale_teximage2d(width, height, newWidth, newHeight, comps, (const GLchan *) source, srcRowStride, (GLchan *) newSource); source = newSource; width = newWidth; height = newHeight; srcRowStride = comps * newWidth; } if (0x1401 != 0x1401) { const GLuint n = width * height * comps; const GLchan *src = (const GLchan *) source; GLubyte *dest = (GLubyte *) _mesa_malloc(n * sizeof(GLubyte)); GLuint i; if (!dest) { GLcontext *ctx = (GLcontext *) _glapi_tls_Context; _mesa_error(ctx, 0x0505, "texture compression"); goto cleanUp; } for (i = 0; i < n; i++) { dest[i] = (src[i]); } if (newSource != ((void *)0)) { _mesa_free(newSource); } newSource = dest; source = dest; } data = (const GLubyte *) source; destRowStride = (destRowStride - width * 2) / 4; for (y = 0; y < height; y += 4) { GLuint offs = 0 + (y + 0) * srcRowStride; for (x = 0; x < width; x += 8) { const GLubyte *lines[4]; lines[0] = &data[offs]; lines[1] = lines[0] + srcRowStride; lines[2] = lines[1] + srcRowStride; lines[3] = lines[2] + srcRowStride; offs += 8 * comps; fxt1_quantize(encoded, lines, comps); encoded += 4; } encoded += destRowStride; } cleanUp: if (newSource != ((void *)0)) { _mesa_free(newSource); } } # 1458 "texcompress_fxt1.c" static const GLubyte _rgb_scale_5[] = { 0, 8, 16, 25, 33, 41, 49, 58, 66, 74, 82, 90, 99, 107, 115, 123, 132, 140, 148, 156, 165, 173, 181, 189, 197, 206, 214, 222, 230, 239, 247, 255 }; static const GLubyte _rgb_scale_6[] = { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 45, 49, 53, 57, 61, 65, 69, 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 113, 117, 121, 125, 130, 134, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174, 178, 182, 186, 190, 194, 198, 202, 206, 210, 215, 219, 223, 227, 231, 235, 239, 243, 247, 251, 255 }; # 1484 "texcompress_fxt1.c" static void fxt1_decode_1HI (const GLubyte *code, GLint t, GLchan *rgba) { const GLuint *cc; t *= 3; cc = (const GLuint *)(code + t / 8); t = (cc[0] >> (t & 7)) & 7; if (t == 7) { rgba[0] = rgba[1] = rgba[2] = rgba[3] = 0; } else { GLubyte r, g, b; cc = (const GLuint *)(code + 12); if (t == 0) { b = _rgb_scale_5[((((GLuint *)(cc))[(0) / 32] >> ((0) & 31))) & 31]; g = _rgb_scale_5[((((GLuint *)(cc))[(5) / 32] >> ((5) & 31))) & 31]; r = _rgb_scale_5[((((GLuint *)(cc))[(10) / 32] >> ((10) & 31))) & 31]; } else if (t == 6) { b = _rgb_scale_5[((((GLuint *)(cc))[(15) / 32] >> ((15) & 31))) & 31]; g = _rgb_scale_5[((((GLuint *)(cc))[(20) / 32] >> ((20) & 31))) & 31]; r = _rgb_scale_5[((((GLuint *)(cc))[(25) / 32] >> ((25) & 31))) & 31]; } else { 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); 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); 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); } rgba[0] = (r); rgba[1] = (g); rgba[2] = (b); rgba[3] = 255; } } static void fxt1_decode_1CHROMA (const GLubyte *code, GLint t, GLchan *rgba) { const GLuint *cc; GLuint kk; cc = (const GLuint *)code; if (t & 16) { cc++; t &= 15; } t = (cc[0] >> (t * 2)) & 3; t *= 15; cc = (const GLuint *)(code + 8 + t / 8); kk = cc[0] >> (t & 7); rgba[2] = (_rgb_scale_5[(kk) & 31]); rgba[1] = (_rgb_scale_5[(kk >> 5) & 31]); rgba[0] = (_rgb_scale_5[(kk >> 10) & 31]); rgba[3] = 255; } static void fxt1_decode_1MIXED (const GLubyte *code, GLint t, GLchan *rgba) { const GLuint *cc; GLuint col[2][3]; GLint glsb, selb; cc = (const GLuint *)code; if (t & 16) { t &= 15; t = (cc[1] >> (t * 2)) & 3; col[0][2] = (*(const GLuint *)(code + 11)) >> 6; col[0][1] = (((GLuint *)(cc))[(99) / 32] >> ((99) & 31)); col[0][0] = (((GLuint *)(cc))[(104) / 32] >> ((104) & 31)); col[1][2] = (((GLuint *)(cc))[(109) / 32] >> ((109) & 31)); col[1][1] = (((GLuint *)(cc))[(114) / 32] >> ((114) & 31)); col[1][0] = (((GLuint *)(cc))[(119) / 32] >> ((119) & 31)); glsb = (((GLuint *)(cc))[(126) / 32] >> ((126) & 31)); selb = (((GLuint *)(cc))[(33) / 32] >> ((33) & 31)); } else { t = (cc[0] >> (t * 2)) & 3; col[0][2] = (((GLuint *)(cc))[(64) / 32] >> ((64) & 31)); col[0][1] = (((GLuint *)(cc))[(69) / 32] >> ((69) & 31)); col[0][0] = (((GLuint *)(cc))[(74) / 32] >> ((74) & 31)); col[1][2] = (((GLuint *)(cc))[(79) / 32] >> ((79) & 31)); col[1][1] = (((GLuint *)(cc))[(84) / 32] >> ((84) & 31)); col[1][0] = (((GLuint *)(cc))[(89) / 32] >> ((89) & 31)); glsb = (((GLuint *)(cc))[(125) / 32] >> ((125) & 31)); selb = (((GLuint *)(cc))[(1) / 32] >> ((1) & 31)); } if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) { if (t == 3) { rgba[0] = rgba[2] = rgba[1] = rgba[3] = 0; } else { GLubyte r, g, b; if (t == 0) { b = _rgb_scale_5[(col[0][2]) & 31]; g = _rgb_scale_5[(col[0][1]) & 31]; r = _rgb_scale_5[(col[0][0]) & 31]; } else if (t == 2) { b = _rgb_scale_5[(col[1][2]) & 31]; g = _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]; r = _rgb_scale_5[(col[1][0]) & 31]; } else { b = (_rgb_scale_5[(col[0][2]) & 31] + _rgb_scale_5[(col[1][2]) & 31]) / 2; g = (_rgb_scale_5[(col[0][1]) & 31] + _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]) / 2; r = (_rgb_scale_5[(col[0][0]) & 31] + _rgb_scale_5[(col[1][0]) & 31]) / 2; } rgba[0] = (r); rgba[1] = (g); rgba[2] = (b); rgba[3] = 255; } } else { GLubyte r, g, b; if (t == 0) { b = _rgb_scale_5[(col[0][2]) & 31]; g = _rgb_scale_6[(((col[0][1]) & 31) << 1) | ((glsb ^ selb) & 1)]; r = _rgb_scale_5[(col[0][0]) & 31]; } else if (t == 3) { b = _rgb_scale_5[(col[1][2]) & 31]; g = _rgb_scale_6[(((col[1][1]) & 31) << 1) | ((glsb) & 1)]; r = _rgb_scale_5[(col[1][0]) & 31]; } else { b = (((3) - (t)) * (_rgb_scale_5[(col[0][2]) & 31]) + (t) * (_rgb_scale_5[(col[1][2]) & 31]) + (3) / 2) / (3); 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); r = (((3) - (t)) * (_rgb_scale_5[(col[0][0]) & 31]) + (t) * (_rgb_scale_5[(col[1][0]) & 31]) + (3) / 2) / (3); } rgba[0] = (r); rgba[1] = (g); rgba[2] = (b); rgba[3] = 255; } } static void fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLchan *rgba) { const GLuint *cc; GLubyte r, g, b, a; cc = (const GLuint *)code; if ((((GLuint *)(cc))[(124) / 32] >> ((124) & 31)) & 1) { GLuint col0[4]; if (t & 16) { t &= 15; t = (cc[1] >> (t * 2)) & 3; col0[2] = (*(const GLuint *)(code + 11)) >> 6; col0[1] = (((GLuint *)(cc))[(99) / 32] >> ((99) & 31)); col0[0] = (((GLuint *)(cc))[(104) / 32] >> ((104) & 31)); col0[3] = (((GLuint *)(cc))[(119) / 32] >> ((119) & 31)); } else { t = (cc[0] >> (t * 2)) & 3; col0[2] = (((GLuint *)(cc))[(64) / 32] >> ((64) & 31)); col0[1] = (((GLuint *)(cc))[(69) / 32] >> ((69) & 31)); col0[0] = (((GLuint *)(cc))[(74) / 32] >> ((74) & 31)); col0[3] = (((GLuint *)(cc))[(109) / 32] >> ((109) & 31)); } if (t == 0) { b = _rgb_scale_5[(col0[2]) & 31]; g = _rgb_scale_5[(col0[1]) & 31]; r = _rgb_scale_5[(col0[0]) & 31]; a = _rgb_scale_5[(col0[3]) & 31]; } else if (t == 3) { b = _rgb_scale_5[((((GLuint *)(cc))[(79) / 32] >> ((79) & 31))) & 31]; g = _rgb_scale_5[((((GLuint *)(cc))[(84) / 32] >> ((84) & 31))) & 31]; r = _rgb_scale_5[((((GLuint *)(cc))[(89) / 32] >> ((89) & 31))) & 31]; a = _rgb_scale_5[((((GLuint *)(cc))[(114) / 32] >> ((114) & 31))) & 31]; } else { b = (((3) - (t)) * (_rgb_scale_5[(col0[2]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(79) / 32] >> ((79) & 31))) & 31]) + (3) / 2) / (3); g = (((3) - (t)) * (_rgb_scale_5[(col0[1]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(84) / 32] >> ((84) & 31))) & 31]) + (3) / 2) / (3); r = (((3) - (t)) * (_rgb_scale_5[(col0[0]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(89) / 32] >> ((89) & 31))) & 31]) + (3) / 2) / (3); a = (((3) - (t)) * (_rgb_scale_5[(col0[3]) & 31]) + (t) * (_rgb_scale_5[((((GLuint *)(cc))[(114) / 32] >> ((114) & 31))) & 31]) + (3) / 2) / (3); } } else { if (t & 16) { cc++; t &= 15; } t = (cc[0] >> (t * 2)) & 3; if (t == 3) { r = g = b = a = 0; } else { GLuint kk; cc = (const GLuint *)code; a = _rgb_scale_5[(cc[3] >> (t * 5 + 13)) & 31]; t *= 15; cc = (const GLuint *)(code + 8 + t / 8); kk = cc[0] >> (t & 7); b = _rgb_scale_5[(kk) & 31]; g = _rgb_scale_5[(kk >> 5) & 31]; r = _rgb_scale_5[(kk >> 10) & 31]; } } rgba[0] = (r); rgba[1] = (g); rgba[2] = (b); rgba[3] = (a); } void fxt1_decode_1 (const void *texture, GLint stride, GLint i, GLint j, GLchan *rgba) { static void (*decode_1[]) (const GLubyte *, GLint, GLchan *) = { fxt1_decode_1HI, fxt1_decode_1HI, fxt1_decode_1CHROMA, fxt1_decode_1ALPHA, fxt1_decode_1MIXED, fxt1_decode_1MIXED, fxt1_decode_1MIXED, fxt1_decode_1MIXED }; const GLubyte *code = (const GLubyte *)texture + ((j / 4) * (stride / 8) + (i / 8)) * 16; GLint mode = (((GLuint *)(code))[(125) / 32] >> ((125) & 31)); GLint t = i & 7; if (t & 4) { t += 12; } t += (j & 3) * 4; decode_1[mode](code, t, rgba); }