]> git.wh0rd.org Git - ICEs.git/blob - 225977/texenvprogram.i.0
initial import
[ICEs.git] / 225977 / texenvprogram.i.0
1 # 1 "texenvprogram.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "texenvprogram.c"
5 # 28 "texenvprogram.c"
6 # 1 "glheader.h" 1
7 # 51 "glheader.h"
8 # 1 "../../../include/dix-config.h" 1
9 # 52 "glheader.h" 2
10
11
12 # 1 "/usr/include/assert.h" 1 3 4
13 # 37 "/usr/include/assert.h" 3 4
14 # 1 "/usr/include/features.h" 1 3 4
15 # 330 "/usr/include/features.h" 3 4
16 # 1 "/usr/include/sys/cdefs.h" 1 3 4
17 # 348 "/usr/include/sys/cdefs.h" 3 4
18 # 1 "/usr/include/bits/wordsize.h" 1 3 4
19 # 349 "/usr/include/sys/cdefs.h" 2 3 4
20 # 331 "/usr/include/features.h" 2 3 4
21 # 354 "/usr/include/features.h" 3 4
22 # 1 "/usr/include/gnu/stubs.h" 1 3 4
23
24
25
26 # 1 "/usr/include/bits/wordsize.h" 1 3 4
27 # 5 "/usr/include/gnu/stubs.h" 2 3 4
28
29
30
31
32 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
33 # 10 "/usr/include/gnu/stubs.h" 2 3 4
34 # 355 "/usr/include/features.h" 2 3 4
35 # 38 "/usr/include/assert.h" 2 3 4
36 # 55 "glheader.h" 2
37 # 1 "/usr/include/ctype.h" 1 3 4
38 # 28 "/usr/include/ctype.h" 3 4
39 # 1 "/usr/include/bits/types.h" 1 3 4
40 # 28 "/usr/include/bits/types.h" 3 4
41 # 1 "/usr/include/bits/wordsize.h" 1 3 4
42 # 29 "/usr/include/bits/types.h" 2 3 4
43
44
45 typedef unsigned char __u_char;
46 typedef unsigned short int __u_short;
47 typedef unsigned int __u_int;
48 typedef unsigned long int __u_long;
49
50
51 typedef signed char __int8_t;
52 typedef unsigned char __uint8_t;
53 typedef signed short int __int16_t;
54 typedef unsigned short int __uint16_t;
55 typedef signed int __int32_t;
56 typedef unsigned int __uint32_t;
57
58 typedef signed long int __int64_t;
59 typedef unsigned long int __uint64_t;
60
61
62
63
64
65
66
67 typedef long int __quad_t;
68 typedef unsigned long int __u_quad_t;
69 # 131 "/usr/include/bits/types.h" 3 4
70 # 1 "/usr/include/bits/typesizes.h" 1 3 4
71 # 132 "/usr/include/bits/types.h" 2 3 4
72
73
74 typedef unsigned long int __dev_t;
75 typedef unsigned int __uid_t;
76 typedef unsigned int __gid_t;
77 typedef unsigned long int __ino_t;
78 typedef unsigned long int __ino64_t;
79 typedef unsigned int __mode_t;
80 typedef unsigned long int __nlink_t;
81 typedef long int __off_t;
82 typedef long int __off64_t;
83 typedef int __pid_t;
84 typedef struct { int __val[2]; } __fsid_t;
85 typedef long int __clock_t;
86 typedef unsigned long int __rlim_t;
87 typedef unsigned long int __rlim64_t;
88 typedef unsigned int __id_t;
89 typedef long int __time_t;
90 typedef unsigned int __useconds_t;
91 typedef long int __suseconds_t;
92
93 typedef int __daddr_t;
94 typedef long int __swblk_t;
95 typedef int __key_t;
96
97
98 typedef int __clockid_t;
99
100
101 typedef void * __timer_t;
102
103
104 typedef long int __blksize_t;
105
106
107
108
109 typedef long int __blkcnt_t;
110 typedef long int __blkcnt64_t;
111
112
113 typedef unsigned long int __fsblkcnt_t;
114 typedef unsigned long int __fsblkcnt64_t;
115
116
117 typedef unsigned long int __fsfilcnt_t;
118 typedef unsigned long int __fsfilcnt64_t;
119
120 typedef long int __ssize_t;
121
122
123
124 typedef __off64_t __loff_t;
125 typedef __quad_t *__qaddr_t;
126 typedef char *__caddr_t;
127
128
129 typedef long int __intptr_t;
130
131
132 typedef unsigned int __socklen_t;
133 # 29 "/usr/include/ctype.h" 2 3 4
134
135
136 # 41 "/usr/include/ctype.h" 3 4
137 # 1 "/usr/include/endian.h" 1 3 4
138 # 37 "/usr/include/endian.h" 3 4
139 # 1 "/usr/include/bits/endian.h" 1 3 4
140 # 38 "/usr/include/endian.h" 2 3 4
141 # 42 "/usr/include/ctype.h" 2 3 4
142
143
144
145
146
147
148 enum
149 {
150   _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
151   _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
152   _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
153   _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
154   _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
155   _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
156   _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
157   _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
158   _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
159   _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
160   _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
161   _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
162 };
163 # 81 "/usr/include/ctype.h" 3 4
164 extern __const unsigned short int **__ctype_b_loc (void)
165      __attribute__ ((__nothrow__)) __attribute__ ((__const));
166 extern __const __int32_t **__ctype_tolower_loc (void)
167      __attribute__ ((__nothrow__)) __attribute__ ((__const));
168 extern __const __int32_t **__ctype_toupper_loc (void)
169      __attribute__ ((__nothrow__)) __attribute__ ((__const));
170 # 96 "/usr/include/ctype.h" 3 4
171
172
173
174
175
176
177 extern int isalnum (int) __attribute__ ((__nothrow__));
178 extern int isalpha (int) __attribute__ ((__nothrow__));
179 extern int iscntrl (int) __attribute__ ((__nothrow__));
180 extern int isdigit (int) __attribute__ ((__nothrow__));
181 extern int islower (int) __attribute__ ((__nothrow__));
182 extern int isgraph (int) __attribute__ ((__nothrow__));
183 extern int isprint (int) __attribute__ ((__nothrow__));
184 extern int ispunct (int) __attribute__ ((__nothrow__));
185 extern int isspace (int) __attribute__ ((__nothrow__));
186 extern int isupper (int) __attribute__ ((__nothrow__));
187 extern int isxdigit (int) __attribute__ ((__nothrow__));
188
189
190
191 extern int tolower (int __c) __attribute__ ((__nothrow__));
192
193
194 extern int toupper (int __c) __attribute__ ((__nothrow__));
195
196
197
198
199
200
201
202
203 extern int isblank (int) __attribute__ ((__nothrow__));
204
205
206
207
208
209
210 extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__));
211
212
213
214
215
216
217 extern int isascii (int __c) __attribute__ ((__nothrow__));
218
219
220
221 extern int toascii (int __c) __attribute__ ((__nothrow__));
222
223
224
225 extern int _toupper (int) __attribute__ ((__nothrow__));
226 extern int _tolower (int) __attribute__ ((__nothrow__));
227 # 190 "/usr/include/ctype.h" 3 4
228 extern __inline int
229 __attribute__ ((__nothrow__)) tolower (int __c)
230 {
231   return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
232 }
233
234 extern __inline int
235 __attribute__ ((__nothrow__)) toupper (int __c)
236 {
237   return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
238 }
239 # 233 "/usr/include/ctype.h" 3 4
240 # 1 "/usr/include/xlocale.h" 1 3 4
241 # 28 "/usr/include/xlocale.h" 3 4
242 typedef struct __locale_struct
243 {
244
245   struct locale_data *__locales[13];
246
247
248   const unsigned short int *__ctype_b;
249   const int *__ctype_tolower;
250   const int *__ctype_toupper;
251
252
253   const char *__names[13];
254 } *__locale_t;
255 # 234 "/usr/include/ctype.h" 2 3 4
256 # 247 "/usr/include/ctype.h" 3 4
257 extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__));
258 extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__));
259 extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__));
260 extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
261 extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__));
262 extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__));
263 extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__));
264 extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__));
265 extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__));
266 extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__));
267 extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
268
269 extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__));
270
271
272
273 extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
274 extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
275
276
277 extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
278 extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
279 # 323 "/usr/include/ctype.h" 3 4
280
281 # 56 "glheader.h" 2
282
283
284
285 # 1 "/usr/include/math.h" 1 3 4
286 # 30 "/usr/include/math.h" 3 4
287
288
289
290
291 # 1 "/usr/include/bits/huge_val.h" 1 3 4
292 # 35 "/usr/include/math.h" 2 3 4
293
294 # 1 "/usr/include/bits/huge_valf.h" 1 3 4
295 # 37 "/usr/include/math.h" 2 3 4
296 # 1 "/usr/include/bits/huge_vall.h" 1 3 4
297 # 38 "/usr/include/math.h" 2 3 4
298
299
300 # 1 "/usr/include/bits/inf.h" 1 3 4
301 # 41 "/usr/include/math.h" 2 3 4
302
303
304 # 1 "/usr/include/bits/nan.h" 1 3 4
305 # 44 "/usr/include/math.h" 2 3 4
306
307
308
309 # 1 "/usr/include/bits/mathdef.h" 1 3 4
310 # 26 "/usr/include/bits/mathdef.h" 3 4
311 # 1 "/usr/include/bits/wordsize.h" 1 3 4
312 # 27 "/usr/include/bits/mathdef.h" 2 3 4
313
314
315
316
317 typedef float float_t;
318 typedef double double_t;
319 # 48 "/usr/include/math.h" 2 3 4
320 # 71 "/usr/include/math.h" 3 4
321 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
322 # 53 "/usr/include/bits/mathcalls.h" 3 4
323
324
325 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
326
327 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
328
329 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
330
331 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
332
333
334 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
335
336 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
337
338 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
339
340
341
342
343 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
344
345 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
346
347 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
348
349
350
351
352 extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__));
353
354
355
356
357
358
359 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
360
361 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
362
363 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
364
365
366
367
368
369
370
371 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
372
373
374 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
375
376
377 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
378
379
380 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
381
382
383 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
384
385
386 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
387
388
389
390
391 extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__));
392
393 extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__));
394
395
396
397
398
399 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
400
401
402 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
403
404
405 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
406
407
408
409
410
411
412 extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__));
413
414
415 extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__));
416
417
418
419
420
421
422
423
424 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
425
426
427 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
428
429
430
431
432
433 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
434
435
436
437
438
439
440 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
441
442
443
444
445
446
447
448
449 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
450
451
452 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
453
454
455 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
456
457
458 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
459
460
461
462
463 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
464
465
466 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
467
468
469
470
471
472 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
473
474
475 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
476
477
478 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
479
480
481
482 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
483
484
485
486
487
488 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
489
490
491
492
493
494
495 extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
496
497
498
499
500
501 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
502
503
504
505 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
506
507
508 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
509 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
510 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
511 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
512 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
513 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
514
515
516
517
518
519
520 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
521 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
522 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
523
524
525
526
527
528
529 extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__));
530
531
532
533
534
535 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
536
537
538
539
540
541
542 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
543
544
545
546
547
548
549
550 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
551
552
553 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
554
555 extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
556
557
558
559 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
560
561
562
563 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
564
565
566
567 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
568
569
570
571
572 extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__));
573
574
575
576 extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__));
577
578
579
580 extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
581
582
583
584 extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
585
586
587
588
589 extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__));
590
591
592
593
594
595
596 extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__));
597 extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__));
598
599
600
601 extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__));
602 extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__));
603
604
605
606 extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__));
607
608
609 extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__));
610
611
612 extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__));
613
614
615
616 extern int __fpclassify (double __value) __attribute__ ((__nothrow__))
617      __attribute__ ((__const__));
618
619
620 extern int __signbit (double __value) __attribute__ ((__nothrow__))
621      __attribute__ ((__const__));
622
623
624
625 extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__));
626
627
628
629
630
631
632
633
634 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__));
635 # 72 "/usr/include/math.h" 2 3 4
636 # 94 "/usr/include/math.h" 3 4
637 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
638 # 53 "/usr/include/bits/mathcalls.h" 3 4
639
640
641 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
642
643 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
644
645 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
646
647 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
648
649
650 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
651
652 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
653
654 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
655
656
657
658
659 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
660
661 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
662
663 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
664
665
666
667
668 extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__));
669
670
671
672
673
674
675 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
676
677 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
678
679 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
680
681
682
683
684
685
686
687 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
688
689
690 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
691
692
693 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
694
695
696 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
697
698
699 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
700
701
702 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
703
704
705
706
707 extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__));
708
709 extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__));
710
711
712
713
714
715 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
716
717
718 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
719
720
721 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
722
723
724
725
726
727
728 extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__));
729
730
731 extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__));
732
733
734
735
736
737
738
739
740 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
741
742
743 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
744
745
746
747
748
749 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
750
751
752
753
754
755
756 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
757
758
759
760
761
762
763
764
765 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
766
767
768 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
769
770
771 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
772
773
774 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
775
776
777
778
779 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
780
781
782 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
783
784
785
786
787
788 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
789
790
791 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
792
793
794 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
795
796
797
798 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
799
800
801
802
803
804 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
805
806
807
808
809
810
811 extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
812
813
814
815
816
817 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
818
819
820
821 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
822
823
824 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
825 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
826 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
827 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
828 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
829 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
830
831
832
833
834
835
836 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
837 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
838 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
839
840
841
842
843
844
845 extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__));
846
847
848
849
850
851 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
852
853
854
855
856
857
858 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
859
860
861
862
863
864
865
866 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
867
868
869 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
870
871 extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
872
873
874
875 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
876
877
878
879 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
880
881
882
883 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
884
885
886
887
888 extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__));
889
890
891
892 extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__));
893
894
895
896 extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
897
898
899
900 extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
901
902
903
904
905 extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__));
906
907
908
909
910
911
912 extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__));
913 extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__));
914
915
916
917 extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__));
918 extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__));
919
920
921
922 extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__));
923
924
925 extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__));
926
927
928 extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__));
929
930
931
932 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__))
933      __attribute__ ((__const__));
934
935
936 extern int __signbitf (float __value) __attribute__ ((__nothrow__))
937      __attribute__ ((__const__));
938
939
940
941 extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__));
942
943
944
945
946
947
948
949
950 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__));
951 # 95 "/usr/include/math.h" 2 3 4
952 # 141 "/usr/include/math.h" 3 4
953 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
954 # 53 "/usr/include/bits/mathcalls.h" 3 4
955
956
957 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
958
959 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
960
961 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
962
963 extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
964
965
966 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
967
968 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
969
970 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
971
972
973
974
975 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
976
977 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
978
979 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
980
981
982
983
984 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__));
985
986
987
988
989
990
991 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
992
993 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
994
995 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
996
997
998
999
1000
1001
1002
1003 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
1004
1005
1006 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
1007
1008
1009 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
1010
1011
1012 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
1013
1014
1015 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
1016
1017
1018 extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
1019
1020
1021
1022
1023 extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__));
1024
1025 extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__));
1026
1027
1028
1029
1030
1031 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
1032
1033
1034 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
1035
1036
1037 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
1038
1039
1040
1041
1042
1043
1044 extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__));
1045
1046
1047 extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__));
1048
1049
1050
1051
1052
1053
1054
1055
1056 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
1057
1058
1059 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
1060
1061
1062
1063
1064
1065 extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
1066
1067
1068
1069
1070
1071
1072 extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
1073
1074
1075
1076
1077
1078
1079
1080
1081 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1082
1083
1084 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1085
1086
1087 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1088
1089
1090 extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
1091
1092
1093
1094
1095 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1096
1097
1098 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1099
1100
1101
1102
1103
1104 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1105
1106
1107 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1108
1109
1110 extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
1111
1112
1113
1114 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
1115
1116
1117
1118
1119
1120 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__));
1121
1122
1123
1124
1125
1126
1127 extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1128
1129
1130
1131
1132
1133 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1134
1135
1136
1137 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1138
1139
1140 extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
1141 extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
1142 extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
1143 extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
1144 extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
1145 extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
1146
1147
1148
1149
1150
1151
1152 extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
1153 extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
1154 extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
1155
1156
1157
1158
1159
1160
1161 extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__));
1162
1163
1164
1165
1166
1167 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
1168
1169
1170
1171
1172
1173
1174 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
1175
1176
1177
1178
1179
1180
1181
1182 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
1183
1184
1185 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__));
1186
1187 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__));
1188
1189
1190
1191 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
1192
1193
1194
1195 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
1196
1197
1198
1199 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
1200
1201
1202
1203
1204 extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__));
1205
1206
1207
1208 extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__));
1209
1210
1211
1212 extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1213
1214
1215
1216 extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1217
1218
1219
1220
1221 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__));
1222
1223
1224
1225
1226
1227
1228 extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__));
1229 extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__));
1230
1231
1232
1233 extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__));
1234 extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__));
1235
1236
1237
1238 extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__));
1239
1240
1241 extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__));
1242
1243
1244 extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__));
1245
1246
1247
1248 extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__))
1249      __attribute__ ((__const__));
1250
1251
1252 extern int __signbitl (long double __value) __attribute__ ((__nothrow__))
1253      __attribute__ ((__const__));
1254
1255
1256
1257 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__));
1258
1259
1260
1261
1262
1263
1264
1265
1266 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__));
1267 # 142 "/usr/include/math.h" 2 3 4
1268 # 157 "/usr/include/math.h" 3 4
1269 extern int signgam;
1270 # 198 "/usr/include/math.h" 3 4
1271 enum
1272   {
1273     FP_NAN,
1274
1275     FP_INFINITE,
1276
1277     FP_ZERO,
1278
1279     FP_SUBNORMAL,
1280
1281     FP_NORMAL
1282
1283   };
1284 # 284 "/usr/include/math.h" 3 4
1285 typedef enum
1286 {
1287   _IEEE_ = -1,
1288   _SVID_,
1289   _XOPEN_,
1290   _POSIX_,
1291   _ISOC_
1292 } _LIB_VERSION_TYPE;
1293
1294
1295
1296
1297 extern _LIB_VERSION_TYPE _LIB_VERSION;
1298 # 309 "/usr/include/math.h" 3 4
1299 struct exception
1300
1301   {
1302     int type;
1303     char *name;
1304     double arg1;
1305     double arg2;
1306     double retval;
1307   };
1308
1309
1310
1311
1312 extern int matherr (struct exception *__exc);
1313 # 409 "/usr/include/math.h" 3 4
1314 # 1 "/usr/include/bits/mathinline.h" 1 3 4
1315 # 35 "/usr/include/bits/mathinline.h" 3 4
1316 extern __inline int
1317 __attribute__ ((__nothrow__)) __signbitf (float __x)
1318 {
1319   __extension__ union { float __f; int __i; } __u = { __f: __x };
1320   return __u.__i < 0;
1321 }
1322 extern __inline int
1323 __attribute__ ((__nothrow__)) __signbit (double __x)
1324 {
1325   __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
1326   return __u.__i[1] < 0;
1327 }
1328 extern __inline int
1329 __attribute__ ((__nothrow__)) __signbitl (long double __x)
1330 {
1331   __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
1332   return (__u.__i[2] & 0x8000) != 0;
1333 }
1334 # 410 "/usr/include/math.h" 2 3 4
1335 # 465 "/usr/include/math.h" 3 4
1336
1337 # 60 "glheader.h" 2
1338
1339 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 1 3 4
1340 # 11 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 3 4
1341 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/syslimits.h" 1 3 4
1342
1343
1344
1345
1346
1347
1348 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 1 3 4
1349 # 122 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 3 4
1350 # 1 "/usr/include/limits.h" 1 3 4
1351 # 145 "/usr/include/limits.h" 3 4
1352 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
1353 # 153 "/usr/include/bits/posix1_lim.h" 3 4
1354 # 1 "/usr/include/bits/local_lim.h" 1 3 4
1355 # 39 "/usr/include/bits/local_lim.h" 3 4
1356 # 1 "/usr/include/linux/limits.h" 1 3 4
1357 # 40 "/usr/include/bits/local_lim.h" 2 3 4
1358 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
1359 # 146 "/usr/include/limits.h" 2 3 4
1360
1361
1362
1363 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
1364 # 150 "/usr/include/limits.h" 2 3 4
1365
1366
1367
1368 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
1369 # 34 "/usr/include/bits/xopen_lim.h" 3 4
1370 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
1371 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
1372 # 154 "/usr/include/limits.h" 2 3 4
1373 # 123 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 2 3 4
1374 # 8 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/syslimits.h" 2 3 4
1375 # 12 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include-fixed/limits.h" 2 3 4
1376 # 62 "glheader.h" 2
1377 # 1 "/usr/include/stdlib.h" 1 3 4
1378 # 33 "/usr/include/stdlib.h" 3 4
1379 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
1380 # 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 3 4
1381 typedef long unsigned int size_t;
1382 # 326 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 3 4
1383 typedef int wchar_t;
1384 # 34 "/usr/include/stdlib.h" 2 3 4
1385
1386
1387
1388
1389
1390
1391
1392
1393 # 1 "/usr/include/bits/waitflags.h" 1 3 4
1394 # 43 "/usr/include/stdlib.h" 2 3 4
1395 # 1 "/usr/include/bits/waitstatus.h" 1 3 4
1396 # 67 "/usr/include/bits/waitstatus.h" 3 4
1397 union wait
1398   {
1399     int w_status;
1400     struct
1401       {
1402
1403  unsigned int __w_termsig:7;
1404  unsigned int __w_coredump:1;
1405  unsigned int __w_retcode:8;
1406  unsigned int:16;
1407
1408
1409
1410
1411
1412
1413
1414       } __wait_terminated;
1415     struct
1416       {
1417
1418  unsigned int __w_stopval:8;
1419  unsigned int __w_stopsig:8;
1420  unsigned int:16;
1421
1422
1423
1424
1425
1426
1427       } __wait_stopped;
1428   };
1429 # 44 "/usr/include/stdlib.h" 2 3 4
1430 # 68 "/usr/include/stdlib.h" 3 4
1431 typedef union
1432   {
1433     union wait *__uptr;
1434     int *__iptr;
1435   } __WAIT_STATUS __attribute__ ((__transparent_union__));
1436 # 96 "/usr/include/stdlib.h" 3 4
1437
1438
1439 typedef struct
1440   {
1441     int quot;
1442     int rem;
1443   } div_t;
1444
1445
1446
1447 typedef struct
1448   {
1449     long int quot;
1450     long int rem;
1451   } ldiv_t;
1452
1453
1454
1455
1456
1457
1458
1459 __extension__ typedef struct
1460   {
1461     long long int quot;
1462     long long int rem;
1463   } lldiv_t;
1464
1465
1466 # 140 "/usr/include/stdlib.h" 3 4
1467 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
1468
1469
1470
1471
1472 extern double atof (__const char *__nptr)
1473      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1474
1475 extern int atoi (__const char *__nptr)
1476      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1477
1478 extern long int atol (__const char *__nptr)
1479      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1480
1481
1482
1483
1484
1485 __extension__ extern long long int atoll (__const char *__nptr)
1486      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1487
1488
1489
1490
1491
1492 extern double strtod (__const char *__restrict __nptr,
1493         char **__restrict __endptr)
1494      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1495
1496
1497
1498
1499
1500 extern float strtof (__const char *__restrict __nptr,
1501        char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1502
1503 extern long double strtold (__const char *__restrict __nptr,
1504        char **__restrict __endptr)
1505      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1506
1507
1508
1509
1510
1511 extern long int strtol (__const char *__restrict __nptr,
1512    char **__restrict __endptr, int __base)
1513      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1514
1515 extern unsigned long int strtoul (__const char *__restrict __nptr,
1516       char **__restrict __endptr, int __base)
1517      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1518
1519
1520
1521
1522 __extension__
1523 extern long long int strtoq (__const char *__restrict __nptr,
1524         char **__restrict __endptr, int __base)
1525      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1526
1527 __extension__
1528 extern unsigned long long int strtouq (__const char *__restrict __nptr,
1529            char **__restrict __endptr, int __base)
1530      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1531
1532
1533
1534
1535
1536 __extension__
1537 extern long long int strtoll (__const char *__restrict __nptr,
1538          char **__restrict __endptr, int __base)
1539      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1540
1541 __extension__
1542 extern unsigned long long int strtoull (__const char *__restrict __nptr,
1543      char **__restrict __endptr, int __base)
1544      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1545
1546 # 240 "/usr/include/stdlib.h" 3 4
1547 extern long int strtol_l (__const char *__restrict __nptr,
1548      char **__restrict __endptr, int __base,
1549      __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1550
1551 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
1552         char **__restrict __endptr,
1553         int __base, __locale_t __loc)
1554      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1555
1556 __extension__
1557 extern long long int strtoll_l (__const char *__restrict __nptr,
1558     char **__restrict __endptr, int __base,
1559     __locale_t __loc)
1560      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1561
1562 __extension__
1563 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
1564        char **__restrict __endptr,
1565        int __base, __locale_t __loc)
1566      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1567
1568 extern double strtod_l (__const char *__restrict __nptr,
1569    char **__restrict __endptr, __locale_t __loc)
1570      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1571
1572 extern float strtof_l (__const char *__restrict __nptr,
1573          char **__restrict __endptr, __locale_t __loc)
1574      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1575
1576 extern long double strtold_l (__const char *__restrict __nptr,
1577          char **__restrict __endptr,
1578          __locale_t __loc)
1579      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1580
1581
1582
1583
1584
1585 extern __inline double
1586 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
1587 {
1588   return strtod (__nptr, (char **) ((void *)0));
1589 }
1590 extern __inline int
1591 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
1592 {
1593   return (int) strtol (__nptr, (char **) ((void *)0), 10);
1594 }
1595 extern __inline long int
1596 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
1597 {
1598   return strtol (__nptr, (char **) ((void *)0), 10);
1599 }
1600
1601
1602
1603
1604 __extension__ extern __inline long long int
1605 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
1606 {
1607   return strtoll (__nptr, (char **) ((void *)0), 10);
1608 }
1609
1610 # 311 "/usr/include/stdlib.h" 3 4
1611 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
1612
1613
1614 extern long int a64l (__const char *__s)
1615      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1616
1617
1618
1619
1620 # 1 "/usr/include/sys/types.h" 1 3 4
1621 # 29 "/usr/include/sys/types.h" 3 4
1622
1623
1624
1625
1626
1627
1628 typedef __u_char u_char;
1629 typedef __u_short u_short;
1630 typedef __u_int u_int;
1631 typedef __u_long u_long;
1632 typedef __quad_t quad_t;
1633 typedef __u_quad_t u_quad_t;
1634 typedef __fsid_t fsid_t;
1635
1636
1637
1638
1639 typedef __loff_t loff_t;
1640
1641
1642
1643 typedef __ino_t ino_t;
1644
1645
1646
1647
1648
1649
1650 typedef __ino64_t ino64_t;
1651
1652
1653
1654
1655 typedef __dev_t dev_t;
1656
1657
1658
1659
1660 typedef __gid_t gid_t;
1661
1662
1663
1664
1665 typedef __mode_t mode_t;
1666
1667
1668
1669
1670 typedef __nlink_t nlink_t;
1671
1672
1673
1674
1675 typedef __uid_t uid_t;
1676
1677
1678
1679
1680
1681 typedef __off_t off_t;
1682
1683
1684
1685
1686
1687
1688 typedef __off64_t off64_t;
1689
1690
1691
1692
1693 typedef __pid_t pid_t;
1694
1695
1696
1697
1698 typedef __id_t id_t;
1699
1700
1701
1702
1703 typedef __ssize_t ssize_t;
1704
1705
1706
1707
1708
1709 typedef __daddr_t daddr_t;
1710 typedef __caddr_t caddr_t;
1711
1712
1713
1714
1715
1716 typedef __key_t key_t;
1717 # 133 "/usr/include/sys/types.h" 3 4
1718 # 1 "/usr/include/time.h" 1 3 4
1719 # 59 "/usr/include/time.h" 3 4
1720
1721
1722 typedef __clock_t clock_t;
1723
1724
1725
1726 # 75 "/usr/include/time.h" 3 4
1727
1728
1729 typedef __time_t time_t;
1730
1731
1732
1733 # 93 "/usr/include/time.h" 3 4
1734 typedef __clockid_t clockid_t;
1735 # 105 "/usr/include/time.h" 3 4
1736 typedef __timer_t timer_t;
1737 # 134 "/usr/include/sys/types.h" 2 3 4
1738
1739
1740
1741 typedef __useconds_t useconds_t;
1742
1743
1744
1745 typedef __suseconds_t suseconds_t;
1746
1747
1748
1749
1750
1751 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
1752 # 148 "/usr/include/sys/types.h" 2 3 4
1753
1754
1755
1756 typedef unsigned long int ulong;
1757 typedef unsigned short int ushort;
1758 typedef unsigned int uint;
1759 # 195 "/usr/include/sys/types.h" 3 4
1760 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1761 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1762 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1763 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1764
1765
1766 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1767 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1768 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1769 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1770
1771 typedef int register_t __attribute__ ((__mode__ (__word__)));
1772 # 220 "/usr/include/sys/types.h" 3 4
1773 # 1 "/usr/include/sys/select.h" 1 3 4
1774 # 31 "/usr/include/sys/select.h" 3 4
1775 # 1 "/usr/include/bits/select.h" 1 3 4
1776 # 32 "/usr/include/sys/select.h" 2 3 4
1777
1778
1779 # 1 "/usr/include/bits/sigset.h" 1 3 4
1780 # 24 "/usr/include/bits/sigset.h" 3 4
1781 typedef int __sig_atomic_t;
1782
1783
1784
1785
1786 typedef struct
1787   {
1788     unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1789   } __sigset_t;
1790 # 35 "/usr/include/sys/select.h" 2 3 4
1791
1792
1793
1794 typedef __sigset_t sigset_t;
1795
1796
1797
1798
1799
1800 # 1 "/usr/include/time.h" 1 3 4
1801 # 121 "/usr/include/time.h" 3 4
1802 struct timespec
1803   {
1804     __time_t tv_sec;
1805     long int tv_nsec;
1806   };
1807 # 45 "/usr/include/sys/select.h" 2 3 4
1808
1809 # 1 "/usr/include/bits/time.h" 1 3 4
1810 # 69 "/usr/include/bits/time.h" 3 4
1811 struct timeval
1812   {
1813     __time_t tv_sec;
1814     __suseconds_t tv_usec;
1815   };
1816 # 47 "/usr/include/sys/select.h" 2 3 4
1817 # 55 "/usr/include/sys/select.h" 3 4
1818 typedef long int __fd_mask;
1819 # 67 "/usr/include/sys/select.h" 3 4
1820 typedef struct
1821   {
1822
1823
1824
1825     __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1826
1827
1828
1829
1830
1831   } fd_set;
1832
1833
1834
1835
1836
1837
1838 typedef __fd_mask fd_mask;
1839 # 99 "/usr/include/sys/select.h" 3 4
1840
1841 # 109 "/usr/include/sys/select.h" 3 4
1842 extern int select (int __nfds, fd_set *__restrict __readfds,
1843      fd_set *__restrict __writefds,
1844      fd_set *__restrict __exceptfds,
1845      struct timeval *__restrict __timeout);
1846 # 121 "/usr/include/sys/select.h" 3 4
1847 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1848       fd_set *__restrict __writefds,
1849       fd_set *__restrict __exceptfds,
1850       const struct timespec *__restrict __timeout,
1851       const __sigset_t *__restrict __sigmask);
1852
1853
1854
1855 # 221 "/usr/include/sys/types.h" 2 3 4
1856
1857
1858 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1859 # 30 "/usr/include/sys/sysmacros.h" 3 4
1860 __extension__
1861 extern unsigned int gnu_dev_major (unsigned long long int __dev)
1862      __attribute__ ((__nothrow__));
1863 __extension__
1864 extern unsigned int gnu_dev_minor (unsigned long long int __dev)
1865      __attribute__ ((__nothrow__));
1866 __extension__
1867 extern unsigned long long int gnu_dev_makedev (unsigned int __major,
1868             unsigned int __minor)
1869      __attribute__ ((__nothrow__));
1870
1871
1872 __extension__ extern __inline unsigned int
1873 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1874 {
1875   return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1876 }
1877
1878 __extension__ extern __inline unsigned int
1879 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1880 {
1881   return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1882 }
1883
1884 __extension__ extern __inline unsigned long long int
1885 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1886 {
1887   return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1888    | (((unsigned long long int) (__minor & ~0xff)) << 12)
1889    | (((unsigned long long int) (__major & ~0xfff)) << 32));
1890 }
1891 # 224 "/usr/include/sys/types.h" 2 3 4
1892
1893
1894
1895
1896 typedef __blksize_t blksize_t;
1897
1898
1899
1900
1901
1902
1903 typedef __blkcnt_t blkcnt_t;
1904
1905
1906
1907 typedef __fsblkcnt_t fsblkcnt_t;
1908
1909
1910
1911 typedef __fsfilcnt_t fsfilcnt_t;
1912 # 262 "/usr/include/sys/types.h" 3 4
1913 typedef __blkcnt64_t blkcnt64_t;
1914 typedef __fsblkcnt64_t fsblkcnt64_t;
1915 typedef __fsfilcnt64_t fsfilcnt64_t;
1916
1917
1918
1919
1920
1921 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1922 # 23 "/usr/include/bits/pthreadtypes.h" 3 4
1923 # 1 "/usr/include/bits/wordsize.h" 1 3 4
1924 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
1925 # 50 "/usr/include/bits/pthreadtypes.h" 3 4
1926 typedef unsigned long int pthread_t;
1927
1928
1929 typedef union
1930 {
1931   char __size[56];
1932   long int __align;
1933 } pthread_attr_t;
1934
1935
1936
1937 typedef struct __pthread_internal_list
1938 {
1939   struct __pthread_internal_list *__prev;
1940   struct __pthread_internal_list *__next;
1941 } __pthread_list_t;
1942 # 76 "/usr/include/bits/pthreadtypes.h" 3 4
1943 typedef union
1944 {
1945   struct __pthread_mutex_s
1946   {
1947     int __lock;
1948     unsigned int __count;
1949     int __owner;
1950
1951     unsigned int __nusers;
1952
1953
1954
1955     int __kind;
1956
1957     int __spins;
1958     __pthread_list_t __list;
1959 # 101 "/usr/include/bits/pthreadtypes.h" 3 4
1960   } __data;
1961   char __size[40];
1962   long int __align;
1963 } pthread_mutex_t;
1964
1965 typedef union
1966 {
1967   char __size[4];
1968   int __align;
1969 } pthread_mutexattr_t;
1970
1971
1972
1973
1974 typedef union
1975 {
1976   struct
1977   {
1978     int __lock;
1979     unsigned int __futex;
1980     __extension__ unsigned long long int __total_seq;
1981     __extension__ unsigned long long int __wakeup_seq;
1982     __extension__ unsigned long long int __woken_seq;
1983     void *__mutex;
1984     unsigned int __nwaiters;
1985     unsigned int __broadcast_seq;
1986   } __data;
1987   char __size[48];
1988   __extension__ long long int __align;
1989 } pthread_cond_t;
1990
1991 typedef union
1992 {
1993   char __size[4];
1994   int __align;
1995 } pthread_condattr_t;
1996
1997
1998
1999 typedef unsigned int pthread_key_t;
2000
2001
2002
2003 typedef int pthread_once_t;
2004
2005
2006
2007
2008
2009 typedef union
2010 {
2011
2012   struct
2013   {
2014     int __lock;
2015     unsigned int __nr_readers;
2016     unsigned int __readers_wakeup;
2017     unsigned int __writer_wakeup;
2018     unsigned int __nr_readers_queued;
2019     unsigned int __nr_writers_queued;
2020     int __writer;
2021     int __shared;
2022     unsigned long int __pad1;
2023     unsigned long int __pad2;
2024
2025
2026     unsigned int __flags;
2027   } __data;
2028 # 187 "/usr/include/bits/pthreadtypes.h" 3 4
2029   char __size[56];
2030   long int __align;
2031 } pthread_rwlock_t;
2032
2033 typedef union
2034 {
2035   char __size[8];
2036   long int __align;
2037 } pthread_rwlockattr_t;
2038
2039
2040
2041
2042
2043 typedef volatile int pthread_spinlock_t;
2044
2045
2046
2047
2048 typedef union
2049 {
2050   char __size[32];
2051   long int __align;
2052 } pthread_barrier_t;
2053
2054 typedef union
2055 {
2056   char __size[4];
2057   int __align;
2058 } pthread_barrierattr_t;
2059 # 271 "/usr/include/sys/types.h" 2 3 4
2060
2061
2062
2063 # 321 "/usr/include/stdlib.h" 2 3 4
2064
2065
2066
2067
2068
2069
2070 extern long int random (void) __attribute__ ((__nothrow__));
2071
2072
2073 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
2074
2075
2076
2077
2078
2079 extern char *initstate (unsigned int __seed, char *__statebuf,
2080    size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2081
2082
2083
2084 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2085
2086
2087
2088
2089
2090
2091
2092 struct random_data
2093   {
2094     int32_t *fptr;
2095     int32_t *rptr;
2096     int32_t *state;
2097     int rand_type;
2098     int rand_deg;
2099     int rand_sep;
2100     int32_t *end_ptr;
2101   };
2102
2103 extern int random_r (struct random_data *__restrict __buf,
2104        int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2105
2106 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2107      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2108
2109 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2110    size_t __statelen,
2111    struct random_data *__restrict __buf)
2112      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2113
2114 extern int setstate_r (char *__restrict __statebuf,
2115          struct random_data *__restrict __buf)
2116      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2117
2118
2119
2120
2121
2122
2123 extern int rand (void) __attribute__ ((__nothrow__));
2124
2125 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2126
2127
2128
2129
2130 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2131
2132
2133
2134
2135
2136
2137
2138 extern double drand48 (void) __attribute__ ((__nothrow__));
2139 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2140
2141
2142 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2143 extern long int nrand48 (unsigned short int __xsubi[3])
2144      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2145
2146
2147 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2148 extern long int jrand48 (unsigned short int __xsubi[3])
2149      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2150
2151
2152 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
2153 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2154      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2155 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2156
2157
2158
2159
2160
2161 struct drand48_data
2162   {
2163     unsigned short int __x[3];
2164     unsigned short int __old_x[3];
2165     unsigned short int __c;
2166     unsigned short int __init;
2167     unsigned long long int __a;
2168   };
2169
2170
2171 extern int drand48_r (struct drand48_data *__restrict __buffer,
2172         double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2173 extern int erand48_r (unsigned short int __xsubi[3],
2174         struct drand48_data *__restrict __buffer,
2175         double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2176
2177
2178 extern int lrand48_r (struct drand48_data *__restrict __buffer,
2179         long int *__restrict __result)
2180      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2181 extern int nrand48_r (unsigned short int __xsubi[3],
2182         struct drand48_data *__restrict __buffer,
2183         long int *__restrict __result)
2184      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2185
2186
2187 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2188         long int *__restrict __result)
2189      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2190 extern int jrand48_r (unsigned short int __xsubi[3],
2191         struct drand48_data *__restrict __buffer,
2192         long int *__restrict __result)
2193      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2194
2195
2196 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2197      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2198
2199 extern int seed48_r (unsigned short int __seed16v[3],
2200        struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2201
2202 extern int lcong48_r (unsigned short int __param[7],
2203         struct drand48_data *__buffer)
2204      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2215
2216 extern void *calloc (size_t __nmemb, size_t __size)
2217      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228 extern void *realloc (void *__ptr, size_t __size)
2229      __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2230
2231 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2232
2233
2234
2235
2236 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2237
2238
2239
2240 # 1 "/usr/include/alloca.h" 1 3 4
2241 # 25 "/usr/include/alloca.h" 3 4
2242 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
2243 # 26 "/usr/include/alloca.h" 2 3 4
2244
2245
2246
2247
2248
2249
2250
2251 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2252
2253
2254
2255
2256
2257
2258 # 498 "/usr/include/stdlib.h" 2 3 4
2259
2260
2261
2262
2263 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2264
2265
2266
2267
2268 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2269      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2270
2271
2272
2273
2274 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2275
2276
2277
2278 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2279
2280
2281
2282
2283
2284 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2285      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2286
2287
2288
2289
2290
2291
2292 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2293
2294
2295
2296
2297
2298
2299 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2300
2301
2302
2303
2304
2305
2306 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2307
2308
2309
2310
2311 extern char *__secure_getenv (__const char *__name)
2312      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2313
2314
2315
2316
2317
2318 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2319
2320
2321
2322
2323
2324 extern int setenv (__const char *__name, __const char *__value, int __replace)
2325      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2326
2327
2328 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
2329
2330
2331
2332
2333
2334
2335 extern int clearenv (void) __attribute__ ((__nothrow__));
2336 # 583 "/usr/include/stdlib.h" 3 4
2337 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2338 # 594 "/usr/include/stdlib.h" 3 4
2339 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
2340 # 604 "/usr/include/stdlib.h" 3 4
2341 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
2342 # 614 "/usr/include/stdlib.h" 3 4
2343 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2344 # 625 "/usr/include/stdlib.h" 3 4
2345 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ;
2346 # 635 "/usr/include/stdlib.h" 3 4
2347 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ;
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357 extern int system (__const char *__command) ;
2358
2359
2360
2361
2362
2363
2364 extern char *canonicalize_file_name (__const char *__name)
2365      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2366 # 662 "/usr/include/stdlib.h" 3 4
2367 extern char *realpath (__const char *__restrict __name,
2368          char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
2369
2370
2371
2372
2373
2374
2375 typedef int (*__compar_fn_t) (__const void *, __const void *);
2376
2377
2378 typedef __compar_fn_t comparison_fn_t;
2379
2380
2381
2382 typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
2383
2384
2385
2386
2387
2388 extern void *bsearch (__const void *__key, __const void *__base,
2389         size_t __nmemb, size_t __size, __compar_fn_t __compar)
2390      __attribute__ ((__nonnull__ (1, 2, 5))) ;
2391
2392
2393
2394 extern void qsort (void *__base, size_t __nmemb, size_t __size,
2395      __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2396
2397 extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
2398        __compar_d_fn_t __compar, void *__arg)
2399   __attribute__ ((__nonnull__ (1, 4)));
2400
2401
2402
2403
2404 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2405 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2406
2407
2408
2409 __extension__ extern long long int llabs (long long int __x)
2410      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2411
2412
2413
2414
2415
2416
2417
2418 extern div_t div (int __numer, int __denom)
2419      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2420 extern ldiv_t ldiv (long int __numer, long int __denom)
2421      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2422
2423
2424
2425
2426 __extension__ extern lldiv_t lldiv (long long int __numer,
2427         long long int __denom)
2428      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2429
2430 # 735 "/usr/include/stdlib.h" 3 4
2431 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2432      int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2433
2434
2435
2436
2437 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2438      int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2439
2440
2441
2442
2443 extern char *gcvt (double __value, int __ndigit, char *__buf)
2444      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2445
2446
2447
2448
2449 extern char *qecvt (long double __value, int __ndigit,
2450       int *__restrict __decpt, int *__restrict __sign)
2451      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2452 extern char *qfcvt (long double __value, int __ndigit,
2453       int *__restrict __decpt, int *__restrict __sign)
2454      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2455 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2456      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2457
2458
2459
2460
2461 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2462      int *__restrict __sign, char *__restrict __buf,
2463      size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2464 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2465      int *__restrict __sign, char *__restrict __buf,
2466      size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2467
2468 extern int qecvt_r (long double __value, int __ndigit,
2469       int *__restrict __decpt, int *__restrict __sign,
2470       char *__restrict __buf, size_t __len)
2471      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2472 extern int qfcvt_r (long double __value, int __ndigit,
2473       int *__restrict __decpt, int *__restrict __sign,
2474       char *__restrict __buf, size_t __len)
2475      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2476
2477
2478
2479
2480
2481
2482
2483 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
2484
2485
2486 extern int mbtowc (wchar_t *__restrict __pwc,
2487      __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
2488
2489
2490 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
2491
2492
2493
2494 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2495    __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
2496
2497 extern size_t wcstombs (char *__restrict __s,
2498    __const wchar_t *__restrict __pwcs, size_t __n)
2499      __attribute__ ((__nothrow__));
2500
2501
2502
2503
2504
2505
2506
2507
2508 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2509 # 823 "/usr/include/stdlib.h" 3 4
2510 extern int getsubopt (char **__restrict __optionp,
2511         char *__const *__restrict __tokens,
2512         char **__restrict __valuep)
2513      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
2514
2515
2516
2517
2518
2519 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2520
2521
2522
2523
2524
2525
2526
2527 extern int posix_openpt (int __oflag) ;
2528
2529
2530
2531
2532
2533
2534
2535 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
2536
2537
2538
2539 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
2540
2541
2542
2543
2544 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
2545
2546
2547
2548
2549
2550
2551 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
2552      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2553
2554
2555 extern int getpt (void);
2556
2557
2558
2559
2560
2561
2562 extern int getloadavg (double __loadavg[], int __nelem)
2563      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2564 # 891 "/usr/include/stdlib.h" 3 4
2565
2566 # 63 "glheader.h" 2
2567 # 1 "/usr/include/stdio.h" 1 3 4
2568 # 30 "/usr/include/stdio.h" 3 4
2569
2570
2571
2572
2573 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
2574 # 35 "/usr/include/stdio.h" 2 3 4
2575 # 45 "/usr/include/stdio.h" 3 4
2576 struct _IO_FILE;
2577
2578
2579
2580 typedef struct _IO_FILE FILE;
2581
2582
2583
2584
2585
2586 # 65 "/usr/include/stdio.h" 3 4
2587 typedef struct _IO_FILE __FILE;
2588 # 75 "/usr/include/stdio.h" 3 4
2589 # 1 "/usr/include/libio.h" 1 3 4
2590 # 32 "/usr/include/libio.h" 3 4
2591 # 1 "/usr/include/_G_config.h" 1 3 4
2592 # 15 "/usr/include/_G_config.h" 3 4
2593 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
2594 # 16 "/usr/include/_G_config.h" 2 3 4
2595
2596
2597
2598
2599 # 1 "/usr/include/wchar.h" 1 3 4
2600 # 78 "/usr/include/wchar.h" 3 4
2601 typedef struct
2602 {
2603   int __count;
2604   union
2605   {
2606
2607     unsigned int __wch;
2608
2609
2610
2611     char __wchb[4];
2612   } __value;
2613 } __mbstate_t;
2614 # 21 "/usr/include/_G_config.h" 2 3 4
2615
2616 typedef struct
2617 {
2618   __off_t __pos;
2619   __mbstate_t __state;
2620 } _G_fpos_t;
2621 typedef struct
2622 {
2623   __off64_t __pos;
2624   __mbstate_t __state;
2625 } _G_fpos64_t;
2626 # 53 "/usr/include/_G_config.h" 3 4
2627 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
2628 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
2629 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
2630 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
2631 # 33 "/usr/include/libio.h" 2 3 4
2632 # 53 "/usr/include/libio.h" 3 4
2633 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stdarg.h" 1 3 4
2634 # 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stdarg.h" 3 4
2635 typedef __builtin_va_list __gnuc_va_list;
2636 # 54 "/usr/include/libio.h" 2 3 4
2637 # 170 "/usr/include/libio.h" 3 4
2638 struct _IO_jump_t; struct _IO_FILE;
2639 # 180 "/usr/include/libio.h" 3 4
2640 typedef void _IO_lock_t;
2641
2642
2643
2644
2645
2646 struct _IO_marker {
2647   struct _IO_marker *_next;
2648   struct _IO_FILE *_sbuf;
2649
2650
2651
2652   int _pos;
2653 # 203 "/usr/include/libio.h" 3 4
2654 };
2655
2656
2657 enum __codecvt_result
2658 {
2659   __codecvt_ok,
2660   __codecvt_partial,
2661   __codecvt_error,
2662   __codecvt_noconv
2663 };
2664 # 271 "/usr/include/libio.h" 3 4
2665 struct _IO_FILE {
2666   int _flags;
2667
2668
2669
2670
2671   char* _IO_read_ptr;
2672   char* _IO_read_end;
2673   char* _IO_read_base;
2674   char* _IO_write_base;
2675   char* _IO_write_ptr;
2676   char* _IO_write_end;
2677   char* _IO_buf_base;
2678   char* _IO_buf_end;
2679
2680   char *_IO_save_base;
2681   char *_IO_backup_base;
2682   char *_IO_save_end;
2683
2684   struct _IO_marker *_markers;
2685
2686   struct _IO_FILE *_chain;
2687
2688   int _fileno;
2689
2690
2691
2692   int _flags2;
2693
2694   __off_t _old_offset;
2695
2696
2697
2698   unsigned short _cur_column;
2699   signed char _vtable_offset;
2700   char _shortbuf[1];
2701
2702
2703
2704   _IO_lock_t *_lock;
2705 # 319 "/usr/include/libio.h" 3 4
2706   __off64_t _offset;
2707 # 328 "/usr/include/libio.h" 3 4
2708   void *__pad1;
2709   void *__pad2;
2710   void *__pad3;
2711   void *__pad4;
2712   size_t __pad5;
2713
2714   int _mode;
2715
2716   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
2717
2718 };
2719
2720
2721 typedef struct _IO_FILE _IO_FILE;
2722
2723
2724 struct _IO_FILE_plus;
2725
2726 extern struct _IO_FILE_plus _IO_2_1_stdin_;
2727 extern struct _IO_FILE_plus _IO_2_1_stdout_;
2728 extern struct _IO_FILE_plus _IO_2_1_stderr_;
2729 # 364 "/usr/include/libio.h" 3 4
2730 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
2731
2732
2733
2734
2735
2736
2737
2738 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
2739      size_t __n);
2740
2741
2742
2743
2744
2745
2746
2747 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
2748
2749
2750 typedef int __io_close_fn (void *__cookie);
2751
2752
2753
2754
2755 typedef __io_read_fn cookie_read_function_t;
2756 typedef __io_write_fn cookie_write_function_t;
2757 typedef __io_seek_fn cookie_seek_function_t;
2758 typedef __io_close_fn cookie_close_function_t;
2759
2760
2761 typedef struct
2762 {
2763   __io_read_fn *read;
2764   __io_write_fn *write;
2765   __io_seek_fn *seek;
2766   __io_close_fn *close;
2767 } _IO_cookie_io_functions_t;
2768 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
2769
2770 struct _IO_cookie_file;
2771
2772
2773 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
2774         void *__cookie, _IO_cookie_io_functions_t __fns);
2775
2776
2777
2778
2779
2780
2781
2782 extern int __underflow (_IO_FILE *);
2783 extern int __uflow (_IO_FILE *);
2784 extern int __overflow (_IO_FILE *, int);
2785 # 458 "/usr/include/libio.h" 3 4
2786 extern int _IO_getc (_IO_FILE *__fp);
2787 extern int _IO_putc (int __c, _IO_FILE *__fp);
2788 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
2789 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
2790
2791 extern int _IO_peekc_locked (_IO_FILE *__fp);
2792
2793
2794
2795
2796
2797 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
2798 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
2799 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
2800 # 488 "/usr/include/libio.h" 3 4
2801 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
2802    __gnuc_va_list, int *__restrict);
2803 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
2804     __gnuc_va_list);
2805 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
2806 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
2807
2808 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
2809 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
2810
2811 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
2812 # 76 "/usr/include/stdio.h" 2 3 4
2813
2814
2815
2816
2817 typedef __gnuc_va_list va_list;
2818 # 89 "/usr/include/stdio.h" 3 4
2819
2820
2821 typedef _G_fpos_t fpos_t;
2822
2823
2824
2825
2826
2827 typedef _G_fpos64_t fpos64_t;
2828 # 141 "/usr/include/stdio.h" 3 4
2829 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
2830 # 142 "/usr/include/stdio.h" 2 3 4
2831
2832
2833
2834 extern struct _IO_FILE *stdin;
2835 extern struct _IO_FILE *stdout;
2836 extern struct _IO_FILE *stderr;
2837
2838
2839
2840
2841
2842
2843
2844 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
2845
2846 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
2847
2848
2849
2850
2851 extern int renameat (int __oldfd, __const char *__old, int __newfd,
2852        __const char *__new) __attribute__ ((__nothrow__));
2853
2854
2855
2856
2857
2858
2859
2860
2861 extern FILE *tmpfile (void) ;
2862 # 182 "/usr/include/stdio.h" 3 4
2863 extern FILE *tmpfile64 (void) ;
2864
2865
2866
2867 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
2868
2869
2870
2871
2872
2873 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
2874 # 204 "/usr/include/stdio.h" 3 4
2875 extern char *tempnam (__const char *__dir, __const char *__pfx)
2876      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2877
2878
2879
2880
2881
2882
2883
2884
2885 extern int fclose (FILE *__stream);
2886
2887
2888
2889
2890 extern int fflush (FILE *__stream);
2891
2892 # 229 "/usr/include/stdio.h" 3 4
2893 extern int fflush_unlocked (FILE *__stream);
2894 # 239 "/usr/include/stdio.h" 3 4
2895 extern int fcloseall (void);
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905 extern FILE *fopen (__const char *__restrict __filename,
2906       __const char *__restrict __modes) ;
2907
2908
2909
2910
2911 extern FILE *freopen (__const char *__restrict __filename,
2912         __const char *__restrict __modes,
2913         FILE *__restrict __stream) ;
2914 # 272 "/usr/include/stdio.h" 3 4
2915
2916
2917 extern FILE *fopen64 (__const char *__restrict __filename,
2918         __const char *__restrict __modes) ;
2919 extern FILE *freopen64 (__const char *__restrict __filename,
2920    __const char *__restrict __modes,
2921    FILE *__restrict __stream) ;
2922
2923
2924
2925
2926 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
2927
2928
2929
2930
2931
2932 extern FILE *fopencookie (void *__restrict __magic_cookie,
2933      __const char *__restrict __modes,
2934      _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ;
2935
2936
2937 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
2938   __attribute__ ((__nothrow__)) ;
2939
2940
2941
2942
2943 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
2944
2945
2946
2947
2948
2949
2950 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
2951
2952
2953
2954 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
2955       int __modes, size_t __n) __attribute__ ((__nothrow__));
2956
2957
2958
2959
2960
2961 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
2962          size_t __size) __attribute__ ((__nothrow__));
2963
2964
2965 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
2966
2967
2968
2969
2970
2971
2972
2973
2974 extern int fprintf (FILE *__restrict __stream,
2975       __const char *__restrict __format, ...);
2976
2977
2978
2979
2980 extern int printf (__const char *__restrict __format, ...);
2981
2982 extern int sprintf (char *__restrict __s,
2983       __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
2984
2985
2986
2987
2988
2989 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
2990        __gnuc_va_list __arg);
2991
2992
2993
2994
2995 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
2996
2997 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
2998        __gnuc_va_list __arg) __attribute__ ((__nothrow__));
2999
3000
3001
3002
3003
3004 extern int snprintf (char *__restrict __s, size_t __maxlen,
3005        __const char *__restrict __format, ...)
3006      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
3007
3008 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
3009         __const char *__restrict __format, __gnuc_va_list __arg)
3010      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
3011
3012
3013
3014
3015
3016
3017 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
3018         __gnuc_va_list __arg)
3019      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ;
3020 extern int __asprintf (char **__restrict __ptr,
3021          __const char *__restrict __fmt, ...)
3022      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
3023 extern int asprintf (char **__restrict __ptr,
3024        __const char *__restrict __fmt, ...)
3025      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
3026
3027
3028
3029
3030
3031
3032
3033 extern int vdprintf (int __fd, __const char *__restrict __fmt,
3034        __gnuc_va_list __arg)
3035      __attribute__ ((__format__ (__printf__, 2, 0)));
3036 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
3037      __attribute__ ((__format__ (__printf__, 2, 3)));
3038
3039
3040
3041
3042
3043
3044
3045
3046 extern int fscanf (FILE *__restrict __stream,
3047      __const char *__restrict __format, ...) ;
3048
3049
3050
3051
3052 extern int scanf (__const char *__restrict __format, ...) ;
3053
3054 extern int sscanf (__const char *__restrict __s,
3055      __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
3056 # 441 "/usr/include/stdio.h" 3 4
3057
3058
3059
3060
3061
3062
3063
3064
3065 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
3066       __gnuc_va_list __arg)
3067      __attribute__ ((__format__ (__scanf__, 2, 0))) ;
3068
3069
3070
3071
3072
3073 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
3074      __attribute__ ((__format__ (__scanf__, 1, 0))) ;
3075
3076
3077 extern int vsscanf (__const char *__restrict __s,
3078       __const char *__restrict __format, __gnuc_va_list __arg)
3079      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
3080 # 500 "/usr/include/stdio.h" 3 4
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090 extern int fgetc (FILE *__stream);
3091 extern int getc (FILE *__stream);
3092
3093
3094
3095
3096
3097 extern int getchar (void);
3098
3099 # 528 "/usr/include/stdio.h" 3 4
3100 extern int getc_unlocked (FILE *__stream);
3101 extern int getchar_unlocked (void);
3102 # 539 "/usr/include/stdio.h" 3 4
3103 extern int fgetc_unlocked (FILE *__stream);
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115 extern int fputc (int __c, FILE *__stream);
3116 extern int putc (int __c, FILE *__stream);
3117
3118
3119
3120
3121
3122 extern int putchar (int __c);
3123
3124 # 572 "/usr/include/stdio.h" 3 4
3125 extern int fputc_unlocked (int __c, FILE *__stream);
3126
3127
3128
3129
3130
3131
3132
3133 extern int putc_unlocked (int __c, FILE *__stream);
3134 extern int putchar_unlocked (int __c);
3135
3136
3137
3138
3139
3140
3141 extern int getw (FILE *__stream);
3142
3143
3144 extern int putw (int __w, FILE *__stream);
3145
3146
3147
3148
3149
3150
3151
3152
3153 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
3154      ;
3155
3156
3157
3158
3159
3160
3161 extern char *gets (char *__s) ;
3162
3163 # 618 "/usr/include/stdio.h" 3 4
3164 extern char *fgets_unlocked (char *__restrict __s, int __n,
3165         FILE *__restrict __stream) ;
3166 # 634 "/usr/include/stdio.h" 3 4
3167 extern __ssize_t __getdelim (char **__restrict __lineptr,
3168           size_t *__restrict __n, int __delimiter,
3169           FILE *__restrict __stream) ;
3170 extern __ssize_t getdelim (char **__restrict __lineptr,
3171         size_t *__restrict __n, int __delimiter,
3172         FILE *__restrict __stream) ;
3173
3174
3175
3176
3177
3178
3179
3180 extern __ssize_t getline (char **__restrict __lineptr,
3181        size_t *__restrict __n,
3182        FILE *__restrict __stream) ;
3183
3184
3185
3186
3187
3188
3189
3190
3191 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
3192
3193
3194
3195
3196
3197 extern int puts (__const char *__s);
3198
3199
3200
3201
3202
3203
3204 extern int ungetc (int __c, FILE *__stream);
3205
3206
3207
3208
3209
3210
3211 extern size_t fread (void *__restrict __ptr, size_t __size,
3212        size_t __n, FILE *__restrict __stream) ;
3213
3214
3215
3216
3217 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
3218         size_t __n, FILE *__restrict __s) ;
3219
3220 # 695 "/usr/include/stdio.h" 3 4
3221 extern int fputs_unlocked (__const char *__restrict __s,
3222       FILE *__restrict __stream);
3223 # 706 "/usr/include/stdio.h" 3 4
3224 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
3225          size_t __n, FILE *__restrict __stream) ;
3226 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
3227           size_t __n, FILE *__restrict __stream) ;
3228
3229
3230
3231
3232
3233
3234
3235
3236 extern int fseek (FILE *__stream, long int __off, int __whence);
3237
3238
3239
3240
3241 extern long int ftell (FILE *__stream) ;
3242
3243
3244
3245
3246 extern void rewind (FILE *__stream);
3247
3248 # 742 "/usr/include/stdio.h" 3 4
3249 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
3250
3251
3252
3253
3254 extern __off_t ftello (FILE *__stream) ;
3255 # 761 "/usr/include/stdio.h" 3 4
3256
3257
3258
3259
3260
3261
3262 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
3263
3264
3265
3266
3267 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
3268 # 784 "/usr/include/stdio.h" 3 4
3269
3270
3271
3272 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
3273 extern __off64_t ftello64 (FILE *__stream) ;
3274 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
3275 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
3276
3277
3278
3279
3280 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
3281
3282 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
3283
3284 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
3285
3286
3287
3288
3289 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
3290 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
3291 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
3292
3293
3294
3295
3296
3297
3298
3299
3300 extern void perror (__const char *__s);
3301
3302
3303
3304
3305
3306
3307 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
3308 # 27 "/usr/include/bits/sys_errlist.h" 3 4
3309 extern int sys_nerr;
3310 extern __const char *__const sys_errlist[];
3311
3312
3313 extern int _sys_nerr;
3314 extern __const char *__const _sys_errlist[];
3315 # 823 "/usr/include/stdio.h" 2 3 4
3316
3317
3318
3319
3320 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
3321
3322
3323
3324
3325 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
3326 # 842 "/usr/include/stdio.h" 3 4
3327 extern FILE *popen (__const char *__command, __const char *__modes) ;
3328
3329
3330
3331
3332
3333 extern int pclose (FILE *__stream);
3334
3335
3336
3337
3338
3339 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
3340
3341
3342
3343
3344
3345 extern char *cuserid (char *__s);
3346
3347
3348
3349
3350 struct obstack;
3351
3352
3353 extern int obstack_printf (struct obstack *__restrict __obstack,
3354       __const char *__restrict __format, ...)
3355      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
3356 extern int obstack_vprintf (struct obstack *__restrict __obstack,
3357        __const char *__restrict __format,
3358        __gnuc_va_list __args)
3359      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
3360
3361
3362
3363
3364
3365
3366
3367 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
3368
3369
3370
3371 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
3372
3373
3374 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
3375 # 903 "/usr/include/stdio.h" 3 4
3376 # 1 "/usr/include/bits/stdio.h" 1 3 4
3377 # 36 "/usr/include/bits/stdio.h" 3 4
3378 extern __inline int
3379 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
3380 {
3381   return vfprintf (stdout, __fmt, __arg);
3382 }
3383
3384
3385
3386 extern __inline int
3387 getchar (void)
3388 {
3389   return _IO_getc (stdin);
3390 }
3391
3392
3393
3394
3395 extern __inline int
3396 fgetc_unlocked (FILE *__fp)
3397 {
3398   return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
3399 }
3400
3401
3402
3403
3404
3405 extern __inline int
3406 getc_unlocked (FILE *__fp)
3407 {
3408   return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
3409 }
3410
3411
3412 extern __inline int
3413 getchar_unlocked (void)
3414 {
3415   return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
3416 }
3417
3418
3419
3420
3421 extern __inline int
3422 putchar (int __c)
3423 {
3424   return _IO_putc (__c, stdout);
3425 }
3426
3427
3428
3429
3430 extern __inline int
3431 fputc_unlocked (int __c, FILE *__stream)
3432 {
3433   return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
3434 }
3435
3436
3437
3438
3439
3440 extern __inline int
3441 putc_unlocked (int __c, FILE *__stream)
3442 {
3443   return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
3444 }
3445
3446
3447 extern __inline int
3448 putchar_unlocked (int __c)
3449 {
3450   return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
3451 }
3452
3453
3454
3455
3456
3457 extern __inline __ssize_t
3458 getline (char **__lineptr, size_t *__n, FILE *__stream)
3459 {
3460   return __getdelim (__lineptr, __n, '\n', __stream);
3461 }
3462
3463
3464
3465
3466
3467 extern __inline int
3468 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
3469 {
3470   return (((__stream)->_flags & 0x10) != 0);
3471 }
3472
3473
3474 extern __inline int
3475 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
3476 {
3477   return (((__stream)->_flags & 0x20) != 0);
3478 }
3479 # 904 "/usr/include/stdio.h" 2 3 4
3480 # 912 "/usr/include/stdio.h" 3 4
3481
3482 # 64 "glheader.h" 2
3483 # 1 "/usr/include/string.h" 1 3 4
3484 # 28 "/usr/include/string.h" 3 4
3485
3486
3487
3488
3489
3490 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
3491 # 34 "/usr/include/string.h" 2 3 4
3492
3493
3494
3495
3496 extern void *memcpy (void *__restrict __dest,
3497        __const void *__restrict __src, size_t __n)
3498      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3499
3500
3501 extern void *memmove (void *__dest, __const void *__src, size_t __n)
3502      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3503
3504
3505
3506
3507
3508
3509 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
3510         int __c, size_t __n)
3511      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3512
3513
3514
3515
3516
3517 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3518
3519
3520 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
3521      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3522
3523
3524 extern void *memchr (__const void *__s, int __c, size_t __n)
3525       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3526
3527
3528
3529
3530
3531 extern void *rawmemchr (__const void *__s, int __c)
3532      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3533
3534
3535 extern void *memrchr (__const void *__s, int __c, size_t __n)
3536       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3537
3538
3539
3540
3541
3542 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
3543      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3544
3545 extern char *strncpy (char *__restrict __dest,
3546         __const char *__restrict __src, size_t __n)
3547      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3548
3549
3550 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
3551      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3552
3553 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
3554         size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3555
3556
3557 extern int strcmp (__const char *__s1, __const char *__s2)
3558      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3559
3560 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
3561      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3562
3563
3564 extern int strcoll (__const char *__s1, __const char *__s2)
3565      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3566
3567 extern size_t strxfrm (char *__restrict __dest,
3568          __const char *__restrict __src, size_t __n)
3569      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3570
3571 # 121 "/usr/include/string.h" 3 4
3572 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
3573      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
3574
3575 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
3576     __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
3577
3578
3579
3580
3581 extern char *strdup (__const char *__s)
3582      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
3583
3584
3585
3586
3587
3588
3589 extern char *strndup (__const char *__string, size_t __n)
3590      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
3591 # 165 "/usr/include/string.h" 3 4
3592
3593
3594 extern char *strchr (__const char *__s, int __c)
3595      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3596
3597 extern char *strrchr (__const char *__s, int __c)
3598      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3599
3600
3601
3602
3603
3604 extern char *strchrnul (__const char *__s, int __c)
3605      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3606
3607
3608
3609
3610
3611 extern size_t strcspn (__const char *__s, __const char *__reject)
3612      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3613
3614
3615 extern size_t strspn (__const char *__s, __const char *__accept)
3616      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3617
3618 extern char *strpbrk (__const char *__s, __const char *__accept)
3619      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3620
3621 extern char *strstr (__const char *__haystack, __const char *__needle)
3622      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3623
3624
3625
3626 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
3627      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3628
3629
3630
3631
3632 extern char *__strtok_r (char *__restrict __s,
3633     __const char *__restrict __delim,
3634     char **__restrict __save_ptr)
3635      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3636
3637 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
3638          char **__restrict __save_ptr)
3639      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3640
3641
3642
3643
3644 extern char *strcasestr (__const char *__haystack, __const char *__needle)
3645      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3646
3647
3648
3649
3650
3651
3652 extern void *memmem (__const void *__haystack, size_t __haystacklen,
3653        __const void *__needle, size_t __needlelen)
3654      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
3655
3656
3657
3658 extern void *__mempcpy (void *__restrict __dest,
3659    __const void *__restrict __src, size_t __n)
3660      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3661 extern void *mempcpy (void *__restrict __dest,
3662         __const void *__restrict __src, size_t __n)
3663      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3664
3665
3666
3667
3668
3669 extern size_t strlen (__const char *__s)
3670      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3671
3672
3673
3674
3675
3676 extern size_t strnlen (__const char *__string, size_t __maxlen)
3677      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3678
3679
3680
3681
3682
3683 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
3684
3685 # 281 "/usr/include/string.h" 3 4
3686 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
3687      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3688
3689
3690
3691
3692
3693 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
3694
3695
3696
3697
3698
3699 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3700
3701
3702
3703 extern void bcopy (__const void *__src, void *__dest, size_t __n)
3704      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3705
3706
3707 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3708
3709
3710 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
3711      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3712
3713
3714 extern char *index (__const char *__s, int __c)
3715      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3716
3717
3718 extern char *rindex (__const char *__s, int __c)
3719      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3720
3721
3722
3723 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3724
3725
3726
3727
3728 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3729
3730 __extension__ extern int ffsll (long long int __ll)
3731      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3732
3733
3734
3735
3736 extern int strcasecmp (__const char *__s1, __const char *__s2)
3737      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3738
3739
3740 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
3741      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3742
3743
3744
3745
3746
3747 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
3748     __locale_t __loc)
3749      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
3750
3751 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
3752      size_t __n, __locale_t __loc)
3753      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
3754
3755
3756
3757
3758
3759 extern char *strsep (char **__restrict __stringp,
3760        __const char *__restrict __delim)
3761      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3762
3763
3764
3765
3766 extern int strverscmp (__const char *__s1, __const char *__s2)
3767      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3768
3769
3770 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
3771
3772
3773 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
3774      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3775 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
3776      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3777
3778
3779
3780 extern char *__stpncpy (char *__restrict __dest,
3781    __const char *__restrict __src, size_t __n)
3782      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3783 extern char *stpncpy (char *__restrict __dest,
3784         __const char *__restrict __src, size_t __n)
3785      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3786
3787
3788 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3789
3790
3791 extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3792
3793
3794
3795
3796
3797
3798 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3799 # 420 "/usr/include/string.h" 3 4
3800 # 1 "/usr/include/bits/string.h" 1 3 4
3801 # 421 "/usr/include/string.h" 2 3 4
3802
3803
3804 # 1 "/usr/include/bits/string2.h" 1 3 4
3805 # 394 "/usr/include/bits/string2.h" 3 4
3806 extern void *__rawmemchr (const void *__s, int __c);
3807 # 969 "/usr/include/bits/string2.h" 3 4
3808 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
3809 extern __inline size_t
3810 __strcspn_c1 (__const char *__s, int __reject)
3811 {
3812   register size_t __result = 0;
3813   while (__s[__result] != '\0' && __s[__result] != __reject)
3814     ++__result;
3815   return __result;
3816 }
3817
3818 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
3819          int __reject2);
3820 extern __inline size_t
3821 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
3822 {
3823   register size_t __result = 0;
3824   while (__s[__result] != '\0' && __s[__result] != __reject1
3825   && __s[__result] != __reject2)
3826     ++__result;
3827   return __result;
3828 }
3829
3830 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
3831          int __reject2, int __reject3);
3832 extern __inline size_t
3833 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
3834        int __reject3)
3835 {
3836   register size_t __result = 0;
3837   while (__s[__result] != '\0' && __s[__result] != __reject1
3838   && __s[__result] != __reject2 && __s[__result] != __reject3)
3839     ++__result;
3840   return __result;
3841 }
3842 # 1045 "/usr/include/bits/string2.h" 3 4
3843 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
3844 extern __inline size_t
3845 __strspn_c1 (__const char *__s, int __accept)
3846 {
3847   register size_t __result = 0;
3848
3849   while (__s[__result] == __accept)
3850     ++__result;
3851   return __result;
3852 }
3853
3854 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
3855         int __accept2);
3856 extern __inline size_t
3857 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
3858 {
3859   register size_t __result = 0;
3860
3861   while (__s[__result] == __accept1 || __s[__result] == __accept2)
3862     ++__result;
3863   return __result;
3864 }
3865
3866 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
3867         int __accept2, int __accept3);
3868 extern __inline size_t
3869 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
3870 {
3871   register size_t __result = 0;
3872
3873   while (__s[__result] == __accept1 || __s[__result] == __accept2
3874   || __s[__result] == __accept3)
3875     ++__result;
3876   return __result;
3877 }
3878 # 1121 "/usr/include/bits/string2.h" 3 4
3879 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
3880          int __accept2);
3881 extern __inline char *
3882 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
3883 {
3884
3885   while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
3886     ++__s;
3887   return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3888 }
3889
3890 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
3891          int __accept2, int __accept3);
3892 extern __inline char *
3893 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
3894        int __accept3)
3895 {
3896
3897   while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
3898   && *__s != __accept3)
3899     ++__s;
3900   return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3901 }
3902 # 1172 "/usr/include/bits/string2.h" 3 4
3903 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
3904 extern __inline char *
3905 __strtok_r_1c (char *__s, char __sep, char **__nextp)
3906 {
3907   char *__result;
3908   if (__s == ((void *)0))
3909     __s = *__nextp;
3910   while (*__s == __sep)
3911     ++__s;
3912   __result = ((void *)0);
3913   if (*__s != '\0')
3914     {
3915       __result = __s++;
3916       while (*__s != '\0')
3917  if (*__s++ == __sep)
3918    {
3919      __s[-1] = '\0';
3920      break;
3921    }
3922     }
3923   *__nextp = __s;
3924   return __result;
3925 }
3926 # 1204 "/usr/include/bits/string2.h" 3 4
3927 extern char *__strsep_g (char **__stringp, __const char *__delim);
3928 # 1222 "/usr/include/bits/string2.h" 3 4
3929 extern __inline char *__strsep_1c (char **__s, char __reject);
3930 extern __inline char *
3931 __strsep_1c (char **__s, char __reject)
3932 {
3933   register char *__retval = *__s;
3934   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))
3935     *(*__s)++ = '\0';
3936   return __retval;
3937 }
3938
3939 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
3940 extern __inline char *
3941 __strsep_2c (char **__s, char __reject1, char __reject2)
3942 {
3943   register char *__retval = *__s;
3944   if (__retval != ((void *)0))
3945     {
3946       register char *__cp = __retval;
3947       while (1)
3948  {
3949    if (*__cp == '\0')
3950      {
3951        __cp = ((void *)0);
3952    break;
3953      }
3954    if (*__cp == __reject1 || *__cp == __reject2)
3955      {
3956        *__cp++ = '\0';
3957        break;
3958      }
3959    ++__cp;
3960  }
3961       *__s = __cp;
3962     }
3963   return __retval;
3964 }
3965
3966 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
3967        char __reject3);
3968 extern __inline char *
3969 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
3970 {
3971   register char *__retval = *__s;
3972   if (__retval != ((void *)0))
3973     {
3974       register char *__cp = __retval;
3975       while (1)
3976  {
3977    if (*__cp == '\0')
3978      {
3979        __cp = ((void *)0);
3980    break;
3981      }
3982    if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
3983      {
3984        *__cp++ = '\0';
3985        break;
3986      }
3987    ++__cp;
3988  }
3989       *__s = __cp;
3990     }
3991   return __retval;
3992 }
3993 # 1303 "/usr/include/bits/string2.h" 3 4
3994 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
3995 # 1322 "/usr/include/bits/string2.h" 3 4
3996 extern char *__strndup (__const char *__string, size_t __n)
3997      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
3998 # 424 "/usr/include/string.h" 2 3 4
3999 # 432 "/usr/include/string.h" 3 4
4000
4001 # 65 "glheader.h" 2
4002
4003
4004
4005 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/float.h" 1 3 4
4006 # 69 "glheader.h" 2
4007 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stdarg.h" 1 3 4
4008 # 70 "glheader.h" 2
4009 # 81 "glheader.h"
4010 # 1 "/usr/include/inttypes.h" 1 3 4
4011 # 28 "/usr/include/inttypes.h" 3 4
4012 # 1 "/usr/include/stdint.h" 1 3 4
4013 # 27 "/usr/include/stdint.h" 3 4
4014 # 1 "/usr/include/bits/wchar.h" 1 3 4
4015 # 28 "/usr/include/stdint.h" 2 3 4
4016 # 1 "/usr/include/bits/wordsize.h" 1 3 4
4017 # 29 "/usr/include/stdint.h" 2 3 4
4018 # 49 "/usr/include/stdint.h" 3 4
4019 typedef unsigned char uint8_t;
4020 typedef unsigned short int uint16_t;
4021
4022 typedef unsigned int uint32_t;
4023
4024
4025
4026 typedef unsigned long int uint64_t;
4027 # 66 "/usr/include/stdint.h" 3 4
4028 typedef signed char int_least8_t;
4029 typedef short int int_least16_t;
4030 typedef int int_least32_t;
4031
4032 typedef long int int_least64_t;
4033
4034
4035
4036
4037
4038
4039 typedef unsigned char uint_least8_t;
4040 typedef unsigned short int uint_least16_t;
4041 typedef unsigned int uint_least32_t;
4042
4043 typedef unsigned long int uint_least64_t;
4044 # 91 "/usr/include/stdint.h" 3 4
4045 typedef signed char int_fast8_t;
4046
4047 typedef long int int_fast16_t;
4048 typedef long int int_fast32_t;
4049 typedef long int int_fast64_t;
4050 # 104 "/usr/include/stdint.h" 3 4
4051 typedef unsigned char uint_fast8_t;
4052
4053 typedef unsigned long int uint_fast16_t;
4054 typedef unsigned long int uint_fast32_t;
4055 typedef unsigned long int uint_fast64_t;
4056 # 120 "/usr/include/stdint.h" 3 4
4057 typedef long int intptr_t;
4058
4059
4060 typedef unsigned long int uintptr_t;
4061 # 135 "/usr/include/stdint.h" 3 4
4062 typedef long int intmax_t;
4063 typedef unsigned long int uintmax_t;
4064 # 29 "/usr/include/inttypes.h" 2 3 4
4065
4066
4067
4068
4069
4070
4071 typedef int __gwchar_t;
4072 # 274 "/usr/include/inttypes.h" 3 4
4073
4074
4075
4076
4077
4078 typedef struct
4079   {
4080     long int quot;
4081     long int rem;
4082   } imaxdiv_t;
4083 # 298 "/usr/include/inttypes.h" 3 4
4084 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4085
4086
4087 extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
4088       __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4089
4090
4091 extern intmax_t strtoimax (__const char *__restrict __nptr,
4092       char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
4093
4094
4095 extern uintmax_t strtoumax (__const char *__restrict __nptr,
4096        char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
4097
4098
4099 extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
4100       __gwchar_t **__restrict __endptr, int __base)
4101      __attribute__ ((__nothrow__));
4102
4103
4104 extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
4105        __gwchar_t ** __restrict __endptr, int __base)
4106      __attribute__ ((__nothrow__));
4107
4108
4109
4110
4111
4112 extern long int __strtol_internal (__const char *__restrict __nptr,
4113        char **__restrict __endptr,
4114        int __base, int __group)
4115   __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4116
4117 extern __inline intmax_t
4118 __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
4119
4120 {
4121   return __strtol_internal (nptr, endptr, base, 0);
4122 }
4123
4124 extern unsigned long int __strtoul_internal (__const char *
4125           __restrict __nptr,
4126           char ** __restrict __endptr,
4127           int __base, int __group)
4128   __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4129
4130 extern __inline uintmax_t
4131 __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
4132
4133 {
4134   return __strtoul_internal (nptr, endptr, base, 0);
4135 }
4136
4137 extern long int __wcstol_internal (__const __gwchar_t * __restrict __nptr,
4138        __gwchar_t **__restrict __endptr,
4139        int __base, int __group)
4140   __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4141
4142 extern __inline intmax_t
4143 __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
4144
4145 {
4146   return __wcstol_internal (nptr, endptr, base, 0);
4147 }
4148
4149 extern unsigned long int __wcstoul_internal (__const __gwchar_t *
4150           __restrict __nptr,
4151           __gwchar_t **
4152           __restrict __endptr,
4153           int __base, int __group)
4154   __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4155
4156 extern __inline uintmax_t
4157 __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
4158
4159 {
4160   return __wcstoul_internal (nptr, endptr, base, 0);
4161 }
4162 # 442 "/usr/include/inttypes.h" 3 4
4163
4164 # 82 "glheader.h" 2
4165 # 144 "glheader.h"
4166 # 1 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h" 1
4167 # 147 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
4168 typedef unsigned int GLenum;
4169 typedef unsigned char GLboolean;
4170 typedef unsigned int GLbitfield;
4171 typedef void GLvoid;
4172 typedef signed char GLbyte;
4173 typedef short GLshort;
4174 typedef int GLint;
4175 typedef unsigned char GLubyte;
4176 typedef unsigned short GLushort;
4177 typedef unsigned int GLuint;
4178 typedef int GLsizei;
4179 typedef float GLfloat;
4180 typedef float GLclampf;
4181 typedef double GLdouble;
4182 typedef double GLclampd;
4183 # 774 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
4184 __attribute__((visibility("default"))) void glClearIndex( GLfloat c );
4185
4186 __attribute__((visibility("default"))) void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
4187
4188 __attribute__((visibility("default"))) void glClear( GLbitfield mask );
4189
4190 __attribute__((visibility("default"))) void glIndexMask( GLuint mask );
4191
4192 __attribute__((visibility("default"))) void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
4193
4194 __attribute__((visibility("default"))) void glAlphaFunc( GLenum func, GLclampf ref );
4195
4196 __attribute__((visibility("default"))) void glBlendFunc( GLenum sfactor, GLenum dfactor );
4197
4198 __attribute__((visibility("default"))) void glLogicOp( GLenum opcode );
4199
4200 __attribute__((visibility("default"))) void glCullFace( GLenum mode );
4201
4202 __attribute__((visibility("default"))) void glFrontFace( GLenum mode );
4203
4204 __attribute__((visibility("default"))) void glPointSize( GLfloat size );
4205
4206 __attribute__((visibility("default"))) void glLineWidth( GLfloat width );
4207
4208 __attribute__((visibility("default"))) void glLineStipple( GLint factor, GLushort pattern );
4209
4210 __attribute__((visibility("default"))) void glPolygonMode( GLenum face, GLenum mode );
4211
4212 __attribute__((visibility("default"))) void glPolygonOffset( GLfloat factor, GLfloat units );
4213
4214 __attribute__((visibility("default"))) void glPolygonStipple( const GLubyte *mask );
4215
4216 __attribute__((visibility("default"))) void glGetPolygonStipple( GLubyte *mask );
4217
4218 __attribute__((visibility("default"))) void glEdgeFlag( GLboolean flag );
4219
4220 __attribute__((visibility("default"))) void glEdgeFlagv( const GLboolean *flag );
4221
4222 __attribute__((visibility("default"))) void glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
4223
4224 __attribute__((visibility("default"))) void glClipPlane( GLenum plane, const GLdouble *equation );
4225
4226 __attribute__((visibility("default"))) void glGetClipPlane( GLenum plane, GLdouble *equation );
4227
4228 __attribute__((visibility("default"))) void glDrawBuffer( GLenum mode );
4229
4230 __attribute__((visibility("default"))) void glReadBuffer( GLenum mode );
4231
4232 __attribute__((visibility("default"))) void glEnable( GLenum cap );
4233
4234 __attribute__((visibility("default"))) void glDisable( GLenum cap );
4235
4236 __attribute__((visibility("default"))) GLboolean glIsEnabled( GLenum cap );
4237
4238
4239 __attribute__((visibility("default"))) void glEnableClientState( GLenum cap );
4240
4241 __attribute__((visibility("default"))) void glDisableClientState( GLenum cap );
4242
4243
4244 __attribute__((visibility("default"))) void glGetBooleanv( GLenum pname, GLboolean *params );
4245
4246 __attribute__((visibility("default"))) void glGetDoublev( GLenum pname, GLdouble *params );
4247
4248 __attribute__((visibility("default"))) void glGetFloatv( GLenum pname, GLfloat *params );
4249
4250 __attribute__((visibility("default"))) void glGetIntegerv( GLenum pname, GLint *params );
4251
4252
4253 __attribute__((visibility("default"))) void glPushAttrib( GLbitfield mask );
4254
4255 __attribute__((visibility("default"))) void glPopAttrib( void );
4256
4257
4258 __attribute__((visibility("default"))) void glPushClientAttrib( GLbitfield mask );
4259
4260 __attribute__((visibility("default"))) void glPopClientAttrib( void );
4261
4262
4263 __attribute__((visibility("default"))) GLint glRenderMode( GLenum mode );
4264
4265 __attribute__((visibility("default"))) GLenum glGetError( void );
4266
4267 __attribute__((visibility("default"))) const GLubyte * glGetString( GLenum name );
4268
4269 __attribute__((visibility("default"))) void glFinish( void );
4270
4271 __attribute__((visibility("default"))) void glFlush( void );
4272
4273 __attribute__((visibility("default"))) void glHint( GLenum target, GLenum mode );
4274
4275
4276
4277
4278
4279
4280 __attribute__((visibility("default"))) void glClearDepth( GLclampd depth );
4281
4282 __attribute__((visibility("default"))) void glDepthFunc( GLenum func );
4283
4284 __attribute__((visibility("default"))) void glDepthMask( GLboolean flag );
4285
4286 __attribute__((visibility("default"))) void glDepthRange( GLclampd near_val, GLclampd far_val );
4287
4288
4289
4290
4291
4292
4293 __attribute__((visibility("default"))) void glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
4294
4295 __attribute__((visibility("default"))) void glAccum( GLenum op, GLfloat value );
4296
4297
4298
4299
4300
4301
4302 __attribute__((visibility("default"))) void glMatrixMode( GLenum mode );
4303
4304 __attribute__((visibility("default"))) void glOrtho( GLdouble left, GLdouble right,
4305                                  GLdouble bottom, GLdouble top,
4306                                  GLdouble near_val, GLdouble far_val );
4307
4308 __attribute__((visibility("default"))) void glFrustum( GLdouble left, GLdouble right,
4309                                    GLdouble bottom, GLdouble top,
4310                                    GLdouble near_val, GLdouble far_val );
4311
4312 __attribute__((visibility("default"))) void glViewport( GLint x, GLint y,
4313                                     GLsizei width, GLsizei height );
4314
4315 __attribute__((visibility("default"))) void glPushMatrix( void );
4316
4317 __attribute__((visibility("default"))) void glPopMatrix( void );
4318
4319 __attribute__((visibility("default"))) void glLoadIdentity( void );
4320
4321 __attribute__((visibility("default"))) void glLoadMatrixd( const GLdouble *m );
4322 __attribute__((visibility("default"))) void glLoadMatrixf( const GLfloat *m );
4323
4324 __attribute__((visibility("default"))) void glMultMatrixd( const GLdouble *m );
4325 __attribute__((visibility("default"))) void glMultMatrixf( const GLfloat *m );
4326
4327 __attribute__((visibility("default"))) void glRotated( GLdouble angle,
4328                                    GLdouble x, GLdouble y, GLdouble z );
4329 __attribute__((visibility("default"))) void glRotatef( GLfloat angle,
4330                                    GLfloat x, GLfloat y, GLfloat z );
4331
4332 __attribute__((visibility("default"))) void glScaled( GLdouble x, GLdouble y, GLdouble z );
4333 __attribute__((visibility("default"))) void glScalef( GLfloat x, GLfloat y, GLfloat z );
4334
4335 __attribute__((visibility("default"))) void glTranslated( GLdouble x, GLdouble y, GLdouble z );
4336 __attribute__((visibility("default"))) void glTranslatef( GLfloat x, GLfloat y, GLfloat z );
4337
4338
4339
4340
4341
4342
4343 __attribute__((visibility("default"))) GLboolean glIsList( GLuint list );
4344
4345 __attribute__((visibility("default"))) void glDeleteLists( GLuint list, GLsizei range );
4346
4347 __attribute__((visibility("default"))) GLuint glGenLists( GLsizei range );
4348
4349 __attribute__((visibility("default"))) void glNewList( GLuint list, GLenum mode );
4350
4351 __attribute__((visibility("default"))) void glEndList( void );
4352
4353 __attribute__((visibility("default"))) void glCallList( GLuint list );
4354
4355 __attribute__((visibility("default"))) void glCallLists( GLsizei n, GLenum type,
4356                                      const GLvoid *lists );
4357
4358 __attribute__((visibility("default"))) void glListBase( GLuint base );
4359
4360
4361
4362
4363
4364
4365 __attribute__((visibility("default"))) void glBegin( GLenum mode );
4366
4367 __attribute__((visibility("default"))) void glEnd( void );
4368
4369
4370 __attribute__((visibility("default"))) void glVertex2d( GLdouble x, GLdouble y );
4371 __attribute__((visibility("default"))) void glVertex2f( GLfloat x, GLfloat y );
4372 __attribute__((visibility("default"))) void glVertex2i( GLint x, GLint y );
4373 __attribute__((visibility("default"))) void glVertex2s( GLshort x, GLshort y );
4374
4375 __attribute__((visibility("default"))) void glVertex3d( GLdouble x, GLdouble y, GLdouble z );
4376 __attribute__((visibility("default"))) void glVertex3f( GLfloat x, GLfloat y, GLfloat z );
4377 __attribute__((visibility("default"))) void glVertex3i( GLint x, GLint y, GLint z );
4378 __attribute__((visibility("default"))) void glVertex3s( GLshort x, GLshort y, GLshort z );
4379
4380 __attribute__((visibility("default"))) void glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
4381 __attribute__((visibility("default"))) void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
4382 __attribute__((visibility("default"))) void glVertex4i( GLint x, GLint y, GLint z, GLint w );
4383 __attribute__((visibility("default"))) void glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
4384
4385 __attribute__((visibility("default"))) void glVertex2dv( const GLdouble *v );
4386 __attribute__((visibility("default"))) void glVertex2fv( const GLfloat *v );
4387 __attribute__((visibility("default"))) void glVertex2iv( const GLint *v );
4388 __attribute__((visibility("default"))) void glVertex2sv( const GLshort *v );
4389
4390 __attribute__((visibility("default"))) void glVertex3dv( const GLdouble *v );
4391 __attribute__((visibility("default"))) void glVertex3fv( const GLfloat *v );
4392 __attribute__((visibility("default"))) void glVertex3iv( const GLint *v );
4393 __attribute__((visibility("default"))) void glVertex3sv( const GLshort *v );
4394
4395 __attribute__((visibility("default"))) void glVertex4dv( const GLdouble *v );
4396 __attribute__((visibility("default"))) void glVertex4fv( const GLfloat *v );
4397 __attribute__((visibility("default"))) void glVertex4iv( const GLint *v );
4398 __attribute__((visibility("default"))) void glVertex4sv( const GLshort *v );
4399
4400
4401 __attribute__((visibility("default"))) void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
4402 __attribute__((visibility("default"))) void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz );
4403 __attribute__((visibility("default"))) void glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz );
4404 __attribute__((visibility("default"))) void glNormal3i( GLint nx, GLint ny, GLint nz );
4405 __attribute__((visibility("default"))) void glNormal3s( GLshort nx, GLshort ny, GLshort nz );
4406
4407 __attribute__((visibility("default"))) void glNormal3bv( const GLbyte *v );
4408 __attribute__((visibility("default"))) void glNormal3dv( const GLdouble *v );
4409 __attribute__((visibility("default"))) void glNormal3fv( const GLfloat *v );
4410 __attribute__((visibility("default"))) void glNormal3iv( const GLint *v );
4411 __attribute__((visibility("default"))) void glNormal3sv( const GLshort *v );
4412
4413
4414 __attribute__((visibility("default"))) void glIndexd( GLdouble c );
4415 __attribute__((visibility("default"))) void glIndexf( GLfloat c );
4416 __attribute__((visibility("default"))) void glIndexi( GLint c );
4417 __attribute__((visibility("default"))) void glIndexs( GLshort c );
4418 __attribute__((visibility("default"))) void glIndexub( GLubyte c );
4419
4420 __attribute__((visibility("default"))) void glIndexdv( const GLdouble *c );
4421 __attribute__((visibility("default"))) void glIndexfv( const GLfloat *c );
4422 __attribute__((visibility("default"))) void glIndexiv( const GLint *c );
4423 __attribute__((visibility("default"))) void glIndexsv( const GLshort *c );
4424 __attribute__((visibility("default"))) void glIndexubv( const GLubyte *c );
4425
4426 __attribute__((visibility("default"))) void glColor3b( GLbyte red, GLbyte green, GLbyte blue );
4427 __attribute__((visibility("default"))) void glColor3d( GLdouble red, GLdouble green, GLdouble blue );
4428 __attribute__((visibility("default"))) void glColor3f( GLfloat red, GLfloat green, GLfloat blue );
4429 __attribute__((visibility("default"))) void glColor3i( GLint red, GLint green, GLint blue );
4430 __attribute__((visibility("default"))) void glColor3s( GLshort red, GLshort green, GLshort blue );
4431 __attribute__((visibility("default"))) void glColor3ub( GLubyte red, GLubyte green, GLubyte blue );
4432 __attribute__((visibility("default"))) void glColor3ui( GLuint red, GLuint green, GLuint blue );
4433 __attribute__((visibility("default"))) void glColor3us( GLushort red, GLushort green, GLushort blue );
4434
4435 __attribute__((visibility("default"))) void glColor4b( GLbyte red, GLbyte green,
4436                                    GLbyte blue, GLbyte alpha );
4437 __attribute__((visibility("default"))) void glColor4d( GLdouble red, GLdouble green,
4438                                    GLdouble blue, GLdouble alpha );
4439 __attribute__((visibility("default"))) void glColor4f( GLfloat red, GLfloat green,
4440                                    GLfloat blue, GLfloat alpha );
4441 __attribute__((visibility("default"))) void glColor4i( GLint red, GLint green,
4442                                    GLint blue, GLint alpha );
4443 __attribute__((visibility("default"))) void glColor4s( GLshort red, GLshort green,
4444                                    GLshort blue, GLshort alpha );
4445 __attribute__((visibility("default"))) void glColor4ub( GLubyte red, GLubyte green,
4446                                     GLubyte blue, GLubyte alpha );
4447 __attribute__((visibility("default"))) void glColor4ui( GLuint red, GLuint green,
4448                                     GLuint blue, GLuint alpha );
4449 __attribute__((visibility("default"))) void glColor4us( GLushort red, GLushort green,
4450                                     GLushort blue, GLushort alpha );
4451
4452
4453 __attribute__((visibility("default"))) void glColor3bv( const GLbyte *v );
4454 __attribute__((visibility("default"))) void glColor3dv( const GLdouble *v );
4455 __attribute__((visibility("default"))) void glColor3fv( const GLfloat *v );
4456 __attribute__((visibility("default"))) void glColor3iv( const GLint *v );
4457 __attribute__((visibility("default"))) void glColor3sv( const GLshort *v );
4458 __attribute__((visibility("default"))) void glColor3ubv( const GLubyte *v );
4459 __attribute__((visibility("default"))) void glColor3uiv( const GLuint *v );
4460 __attribute__((visibility("default"))) void glColor3usv( const GLushort *v );
4461
4462 __attribute__((visibility("default"))) void glColor4bv( const GLbyte *v );
4463 __attribute__((visibility("default"))) void glColor4dv( const GLdouble *v );
4464 __attribute__((visibility("default"))) void glColor4fv( const GLfloat *v );
4465 __attribute__((visibility("default"))) void glColor4iv( const GLint *v );
4466 __attribute__((visibility("default"))) void glColor4sv( const GLshort *v );
4467 __attribute__((visibility("default"))) void glColor4ubv( const GLubyte *v );
4468 __attribute__((visibility("default"))) void glColor4uiv( const GLuint *v );
4469 __attribute__((visibility("default"))) void glColor4usv( const GLushort *v );
4470
4471
4472 __attribute__((visibility("default"))) void glTexCoord1d( GLdouble s );
4473 __attribute__((visibility("default"))) void glTexCoord1f( GLfloat s );
4474 __attribute__((visibility("default"))) void glTexCoord1i( GLint s );
4475 __attribute__((visibility("default"))) void glTexCoord1s( GLshort s );
4476
4477 __attribute__((visibility("default"))) void glTexCoord2d( GLdouble s, GLdouble t );
4478 __attribute__((visibility("default"))) void glTexCoord2f( GLfloat s, GLfloat t );
4479 __attribute__((visibility("default"))) void glTexCoord2i( GLint s, GLint t );
4480 __attribute__((visibility("default"))) void glTexCoord2s( GLshort s, GLshort t );
4481
4482 __attribute__((visibility("default"))) void glTexCoord3d( GLdouble s, GLdouble t, GLdouble r );
4483 __attribute__((visibility("default"))) void glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
4484 __attribute__((visibility("default"))) void glTexCoord3i( GLint s, GLint t, GLint r );
4485 __attribute__((visibility("default"))) void glTexCoord3s( GLshort s, GLshort t, GLshort r );
4486
4487 __attribute__((visibility("default"))) void glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
4488 __attribute__((visibility("default"))) void glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
4489 __attribute__((visibility("default"))) void glTexCoord4i( GLint s, GLint t, GLint r, GLint q );
4490 __attribute__((visibility("default"))) void glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
4491
4492 __attribute__((visibility("default"))) void glTexCoord1dv( const GLdouble *v );
4493 __attribute__((visibility("default"))) void glTexCoord1fv( const GLfloat *v );
4494 __attribute__((visibility("default"))) void glTexCoord1iv( const GLint *v );
4495 __attribute__((visibility("default"))) void glTexCoord1sv( const GLshort *v );
4496
4497 __attribute__((visibility("default"))) void glTexCoord2dv( const GLdouble *v );
4498 __attribute__((visibility("default"))) void glTexCoord2fv( const GLfloat *v );
4499 __attribute__((visibility("default"))) void glTexCoord2iv( const GLint *v );
4500 __attribute__((visibility("default"))) void glTexCoord2sv( const GLshort *v );
4501
4502 __attribute__((visibility("default"))) void glTexCoord3dv( const GLdouble *v );
4503 __attribute__((visibility("default"))) void glTexCoord3fv( const GLfloat *v );
4504 __attribute__((visibility("default"))) void glTexCoord3iv( const GLint *v );
4505 __attribute__((visibility("default"))) void glTexCoord3sv( const GLshort *v );
4506
4507 __attribute__((visibility("default"))) void glTexCoord4dv( const GLdouble *v );
4508 __attribute__((visibility("default"))) void glTexCoord4fv( const GLfloat *v );
4509 __attribute__((visibility("default"))) void glTexCoord4iv( const GLint *v );
4510 __attribute__((visibility("default"))) void glTexCoord4sv( const GLshort *v );
4511
4512
4513 __attribute__((visibility("default"))) void glRasterPos2d( GLdouble x, GLdouble y );
4514 __attribute__((visibility("default"))) void glRasterPos2f( GLfloat x, GLfloat y );
4515 __attribute__((visibility("default"))) void glRasterPos2i( GLint x, GLint y );
4516 __attribute__((visibility("default"))) void glRasterPos2s( GLshort x, GLshort y );
4517
4518 __attribute__((visibility("default"))) void glRasterPos3d( GLdouble x, GLdouble y, GLdouble z );
4519 __attribute__((visibility("default"))) void glRasterPos3f( GLfloat x, GLfloat y, GLfloat z );
4520 __attribute__((visibility("default"))) void glRasterPos3i( GLint x, GLint y, GLint z );
4521 __attribute__((visibility("default"))) void glRasterPos3s( GLshort x, GLshort y, GLshort z );
4522
4523 __attribute__((visibility("default"))) void glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
4524 __attribute__((visibility("default"))) void glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
4525 __attribute__((visibility("default"))) void glRasterPos4i( GLint x, GLint y, GLint z, GLint w );
4526 __attribute__((visibility("default"))) void glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w );
4527
4528 __attribute__((visibility("default"))) void glRasterPos2dv( const GLdouble *v );
4529 __attribute__((visibility("default"))) void glRasterPos2fv( const GLfloat *v );
4530 __attribute__((visibility("default"))) void glRasterPos2iv( const GLint *v );
4531 __attribute__((visibility("default"))) void glRasterPos2sv( const GLshort *v );
4532
4533 __attribute__((visibility("default"))) void glRasterPos3dv( const GLdouble *v );
4534 __attribute__((visibility("default"))) void glRasterPos3fv( const GLfloat *v );
4535 __attribute__((visibility("default"))) void glRasterPos3iv( const GLint *v );
4536 __attribute__((visibility("default"))) void glRasterPos3sv( const GLshort *v );
4537
4538 __attribute__((visibility("default"))) void glRasterPos4dv( const GLdouble *v );
4539 __attribute__((visibility("default"))) void glRasterPos4fv( const GLfloat *v );
4540 __attribute__((visibility("default"))) void glRasterPos4iv( const GLint *v );
4541 __attribute__((visibility("default"))) void glRasterPos4sv( const GLshort *v );
4542
4543
4544 __attribute__((visibility("default"))) void glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
4545 __attribute__((visibility("default"))) void glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
4546 __attribute__((visibility("default"))) void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 );
4547 __attribute__((visibility("default"))) void glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
4548
4549
4550 __attribute__((visibility("default"))) void glRectdv( const GLdouble *v1, const GLdouble *v2 );
4551 __attribute__((visibility("default"))) void glRectfv( const GLfloat *v1, const GLfloat *v2 );
4552 __attribute__((visibility("default"))) void glRectiv( const GLint *v1, const GLint *v2 );
4553 __attribute__((visibility("default"))) void glRectsv( const GLshort *v1, const GLshort *v2 );
4554
4555
4556
4557
4558
4559
4560 __attribute__((visibility("default"))) void glVertexPointer( GLint size, GLenum type,
4561                                        GLsizei stride, const GLvoid *ptr );
4562
4563 __attribute__((visibility("default"))) void glNormalPointer( GLenum type, GLsizei stride,
4564                                        const GLvoid *ptr );
4565
4566 __attribute__((visibility("default"))) void glColorPointer( GLint size, GLenum type,
4567                                       GLsizei stride, const GLvoid *ptr );
4568
4569 __attribute__((visibility("default"))) void glIndexPointer( GLenum type, GLsizei stride,
4570                                       const GLvoid *ptr );
4571
4572 __attribute__((visibility("default"))) void glTexCoordPointer( GLint size, GLenum type,
4573                                          GLsizei stride, const GLvoid *ptr );
4574
4575 __attribute__((visibility("default"))) void glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
4576
4577 __attribute__((visibility("default"))) void glGetPointerv( GLenum pname, GLvoid **params );
4578
4579 __attribute__((visibility("default"))) void glArrayElement( GLint i );
4580
4581 __attribute__((visibility("default"))) void glDrawArrays( GLenum mode, GLint first, GLsizei count );
4582
4583 __attribute__((visibility("default"))) void glDrawElements( GLenum mode, GLsizei count,
4584                                       GLenum type, const GLvoid *indices );
4585
4586 __attribute__((visibility("default"))) void glInterleavedArrays( GLenum format, GLsizei stride,
4587                                            const GLvoid *pointer );
4588
4589
4590
4591
4592
4593 __attribute__((visibility("default"))) void glShadeModel( GLenum mode );
4594
4595 __attribute__((visibility("default"))) void glLightf( GLenum light, GLenum pname, GLfloat param );
4596 __attribute__((visibility("default"))) void glLighti( GLenum light, GLenum pname, GLint param );
4597 __attribute__((visibility("default"))) void glLightfv( GLenum light, GLenum pname,
4598                                  const GLfloat *params );
4599 __attribute__((visibility("default"))) void glLightiv( GLenum light, GLenum pname,
4600                                  const GLint *params );
4601
4602 __attribute__((visibility("default"))) void glGetLightfv( GLenum light, GLenum pname,
4603                                     GLfloat *params );
4604 __attribute__((visibility("default"))) void glGetLightiv( GLenum light, GLenum pname,
4605                                     GLint *params );
4606
4607 __attribute__((visibility("default"))) void glLightModelf( GLenum pname, GLfloat param );
4608 __attribute__((visibility("default"))) void glLightModeli( GLenum pname, GLint param );
4609 __attribute__((visibility("default"))) void glLightModelfv( GLenum pname, const GLfloat *params );
4610 __attribute__((visibility("default"))) void glLightModeliv( GLenum pname, const GLint *params );
4611
4612 __attribute__((visibility("default"))) void glMaterialf( GLenum face, GLenum pname, GLfloat param );
4613 __attribute__((visibility("default"))) void glMateriali( GLenum face, GLenum pname, GLint param );
4614 __attribute__((visibility("default"))) void glMaterialfv( GLenum face, GLenum pname, const GLfloat *params );
4615 __attribute__((visibility("default"))) void glMaterialiv( GLenum face, GLenum pname, const GLint *params );
4616
4617 __attribute__((visibility("default"))) void glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
4618 __attribute__((visibility("default"))) void glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
4619
4620 __attribute__((visibility("default"))) void glColorMaterial( GLenum face, GLenum mode );
4621
4622
4623
4624
4625
4626
4627 __attribute__((visibility("default"))) void glPixelZoom( GLfloat xfactor, GLfloat yfactor );
4628
4629 __attribute__((visibility("default"))) void glPixelStoref( GLenum pname, GLfloat param );
4630 __attribute__((visibility("default"))) void glPixelStorei( GLenum pname, GLint param );
4631
4632 __attribute__((visibility("default"))) void glPixelTransferf( GLenum pname, GLfloat param );
4633 __attribute__((visibility("default"))) void glPixelTransferi( GLenum pname, GLint param );
4634
4635 __attribute__((visibility("default"))) void glPixelMapfv( GLenum map, GLsizei mapsize,
4636                                     const GLfloat *values );
4637 __attribute__((visibility("default"))) void glPixelMapuiv( GLenum map, GLsizei mapsize,
4638                                      const GLuint *values );
4639 __attribute__((visibility("default"))) void glPixelMapusv( GLenum map, GLsizei mapsize,
4640                                      const GLushort *values );
4641
4642 __attribute__((visibility("default"))) void glGetPixelMapfv( GLenum map, GLfloat *values );
4643 __attribute__((visibility("default"))) void glGetPixelMapuiv( GLenum map, GLuint *values );
4644 __attribute__((visibility("default"))) void glGetPixelMapusv( GLenum map, GLushort *values );
4645
4646 __attribute__((visibility("default"))) void glBitmap( GLsizei width, GLsizei height,
4647                                 GLfloat xorig, GLfloat yorig,
4648                                 GLfloat xmove, GLfloat ymove,
4649                                 const GLubyte *bitmap );
4650
4651 __attribute__((visibility("default"))) void glReadPixels( GLint x, GLint y,
4652                                     GLsizei width, GLsizei height,
4653                                     GLenum format, GLenum type,
4654                                     GLvoid *pixels );
4655
4656 __attribute__((visibility("default"))) void glDrawPixels( GLsizei width, GLsizei height,
4657                                     GLenum format, GLenum type,
4658                                     const GLvoid *pixels );
4659
4660 __attribute__((visibility("default"))) void glCopyPixels( GLint x, GLint y,
4661                                     GLsizei width, GLsizei height,
4662                                     GLenum type );
4663
4664
4665
4666
4667
4668 __attribute__((visibility("default"))) void glStencilFunc( GLenum func, GLint ref, GLuint mask );
4669
4670 __attribute__((visibility("default"))) void glStencilMask( GLuint mask );
4671
4672 __attribute__((visibility("default"))) void glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
4673
4674 __attribute__((visibility("default"))) void glClearStencil( GLint s );
4675
4676
4677
4678
4679
4680
4681
4682 __attribute__((visibility("default"))) void glTexGend( GLenum coord, GLenum pname, GLdouble param );
4683 __attribute__((visibility("default"))) void glTexGenf( GLenum coord, GLenum pname, GLfloat param );
4684 __attribute__((visibility("default"))) void glTexGeni( GLenum coord, GLenum pname, GLint param );
4685
4686 __attribute__((visibility("default"))) void glTexGendv( GLenum coord, GLenum pname, const GLdouble *params );
4687 __attribute__((visibility("default"))) void glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
4688 __attribute__((visibility("default"))) void glTexGeniv( GLenum coord, GLenum pname, const GLint *params );
4689
4690 __attribute__((visibility("default"))) void glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
4691 __attribute__((visibility("default"))) void glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
4692 __attribute__((visibility("default"))) void glGetTexGeniv( GLenum coord, GLenum pname, GLint *params );
4693
4694
4695 __attribute__((visibility("default"))) void glTexEnvf( GLenum target, GLenum pname, GLfloat param );
4696 __attribute__((visibility("default"))) void glTexEnvi( GLenum target, GLenum pname, GLint param );
4697
4698 __attribute__((visibility("default"))) void glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params );
4699 __attribute__((visibility("default"))) void glTexEnviv( GLenum target, GLenum pname, const GLint *params );
4700
4701 __attribute__((visibility("default"))) void glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
4702 __attribute__((visibility("default"))) void glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
4703
4704
4705 __attribute__((visibility("default"))) void glTexParameterf( GLenum target, GLenum pname, GLfloat param );
4706 __attribute__((visibility("default"))) void glTexParameteri( GLenum target, GLenum pname, GLint param );
4707
4708 __attribute__((visibility("default"))) void glTexParameterfv( GLenum target, GLenum pname,
4709                                           const GLfloat *params );
4710 __attribute__((visibility("default"))) void glTexParameteriv( GLenum target, GLenum pname,
4711                                           const GLint *params );
4712
4713 __attribute__((visibility("default"))) void glGetTexParameterfv( GLenum target,
4714                                            GLenum pname, GLfloat *params);
4715 __attribute__((visibility("default"))) void glGetTexParameteriv( GLenum target,
4716                                            GLenum pname, GLint *params );
4717
4718 __attribute__((visibility("default"))) void glGetTexLevelParameterfv( GLenum target, GLint level,
4719                                                 GLenum pname, GLfloat *params );
4720 __attribute__((visibility("default"))) void glGetTexLevelParameteriv( GLenum target, GLint level,
4721                                                 GLenum pname, GLint *params );
4722
4723
4724 __attribute__((visibility("default"))) void glTexImage1D( GLenum target, GLint level,
4725                                     GLint internalFormat,
4726                                     GLsizei width, GLint border,
4727                                     GLenum format, GLenum type,
4728                                     const GLvoid *pixels );
4729
4730 __attribute__((visibility("default"))) void glTexImage2D( GLenum target, GLint level,
4731                                     GLint internalFormat,
4732                                     GLsizei width, GLsizei height,
4733                                     GLint border, GLenum format, GLenum type,
4734                                     const GLvoid *pixels );
4735
4736 __attribute__((visibility("default"))) void glGetTexImage( GLenum target, GLint level,
4737                                      GLenum format, GLenum type,
4738                                      GLvoid *pixels );
4739
4740
4741
4742
4743 __attribute__((visibility("default"))) void glGenTextures( GLsizei n, GLuint *textures );
4744
4745 __attribute__((visibility("default"))) void glDeleteTextures( GLsizei n, const GLuint *textures);
4746
4747 __attribute__((visibility("default"))) void glBindTexture( GLenum target, GLuint texture );
4748
4749 __attribute__((visibility("default"))) void glPrioritizeTextures( GLsizei n,
4750                                             const GLuint *textures,
4751                                             const GLclampf *priorities );
4752
4753 __attribute__((visibility("default"))) GLboolean glAreTexturesResident( GLsizei n,
4754                                                   const GLuint *textures,
4755                                                   GLboolean *residences );
4756
4757 __attribute__((visibility("default"))) GLboolean glIsTexture( GLuint texture );
4758
4759
4760 __attribute__((visibility("default"))) void glTexSubImage1D( GLenum target, GLint level,
4761                                        GLint xoffset,
4762                                        GLsizei width, GLenum format,
4763                                        GLenum type, const GLvoid *pixels );
4764
4765
4766 __attribute__((visibility("default"))) void glTexSubImage2D( GLenum target, GLint level,
4767                                        GLint xoffset, GLint yoffset,
4768                                        GLsizei width, GLsizei height,
4769                                        GLenum format, GLenum type,
4770                                        const GLvoid *pixels );
4771
4772
4773 __attribute__((visibility("default"))) void glCopyTexImage1D( GLenum target, GLint level,
4774                                         GLenum internalformat,
4775                                         GLint x, GLint y,
4776                                         GLsizei width, GLint border );
4777
4778
4779 __attribute__((visibility("default"))) void glCopyTexImage2D( GLenum target, GLint level,
4780                                         GLenum internalformat,
4781                                         GLint x, GLint y,
4782                                         GLsizei width, GLsizei height,
4783                                         GLint border );
4784
4785
4786 __attribute__((visibility("default"))) void glCopyTexSubImage1D( GLenum target, GLint level,
4787                                            GLint xoffset, GLint x, GLint y,
4788                                            GLsizei width );
4789
4790
4791 __attribute__((visibility("default"))) void glCopyTexSubImage2D( GLenum target, GLint level,
4792                                            GLint xoffset, GLint yoffset,
4793                                            GLint x, GLint y,
4794                                            GLsizei width, GLsizei height );
4795
4796
4797
4798
4799
4800
4801 __attribute__((visibility("default"))) void glMap1d( GLenum target, GLdouble u1, GLdouble u2,
4802                                GLint stride,
4803                                GLint order, const GLdouble *points );
4804 __attribute__((visibility("default"))) void glMap1f( GLenum target, GLfloat u1, GLfloat u2,
4805                                GLint stride,
4806                                GLint order, const GLfloat *points );
4807
4808 __attribute__((visibility("default"))) void glMap2d( GLenum target,
4809        GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
4810        GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
4811        const GLdouble *points );
4812 __attribute__((visibility("default"))) void glMap2f( GLenum target,
4813        GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
4814        GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
4815        const GLfloat *points );
4816
4817 __attribute__((visibility("default"))) void glGetMapdv( GLenum target, GLenum query, GLdouble *v );
4818 __attribute__((visibility("default"))) void glGetMapfv( GLenum target, GLenum query, GLfloat *v );
4819 __attribute__((visibility("default"))) void glGetMapiv( GLenum target, GLenum query, GLint *v );
4820
4821 __attribute__((visibility("default"))) void glEvalCoord1d( GLdouble u );
4822 __attribute__((visibility("default"))) void glEvalCoord1f( GLfloat u );
4823
4824 __attribute__((visibility("default"))) void glEvalCoord1dv( const GLdouble *u );
4825 __attribute__((visibility("default"))) void glEvalCoord1fv( const GLfloat *u );
4826
4827 __attribute__((visibility("default"))) void glEvalCoord2d( GLdouble u, GLdouble v );
4828 __attribute__((visibility("default"))) void glEvalCoord2f( GLfloat u, GLfloat v );
4829
4830 __attribute__((visibility("default"))) void glEvalCoord2dv( const GLdouble *u );
4831 __attribute__((visibility("default"))) void glEvalCoord2fv( const GLfloat *u );
4832
4833 __attribute__((visibility("default"))) void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 );
4834 __attribute__((visibility("default"))) void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 );
4835
4836 __attribute__((visibility("default"))) void glMapGrid2d( GLint un, GLdouble u1, GLdouble u2,
4837                                    GLint vn, GLdouble v1, GLdouble v2 );
4838 __attribute__((visibility("default"))) void glMapGrid2f( GLint un, GLfloat u1, GLfloat u2,
4839                                    GLint vn, GLfloat v1, GLfloat v2 );
4840
4841 __attribute__((visibility("default"))) void glEvalPoint1( GLint i );
4842
4843 __attribute__((visibility("default"))) void glEvalPoint2( GLint i, GLint j );
4844
4845 __attribute__((visibility("default"))) void glEvalMesh1( GLenum mode, GLint i1, GLint i2 );
4846
4847 __attribute__((visibility("default"))) void glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
4848
4849
4850
4851
4852
4853
4854 __attribute__((visibility("default"))) void glFogf( GLenum pname, GLfloat param );
4855
4856 __attribute__((visibility("default"))) void glFogi( GLenum pname, GLint param );
4857
4858 __attribute__((visibility("default"))) void glFogfv( GLenum pname, const GLfloat *params );
4859
4860 __attribute__((visibility("default"))) void glFogiv( GLenum pname, const GLint *params );
4861
4862
4863
4864
4865
4866
4867 __attribute__((visibility("default"))) void glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
4868
4869 __attribute__((visibility("default"))) void glPassThrough( GLfloat token );
4870
4871 __attribute__((visibility("default"))) void glSelectBuffer( GLsizei size, GLuint *buffer );
4872
4873 __attribute__((visibility("default"))) void glInitNames( void );
4874
4875 __attribute__((visibility("default"))) void glLoadName( GLuint name );
4876
4877 __attribute__((visibility("default"))) void glPushName( GLuint name );
4878
4879 __attribute__((visibility("default"))) void glPopName( void );
4880 # 1519 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
4881 __attribute__((visibility("default"))) void glDrawRangeElements( GLenum mode, GLuint start,
4882  GLuint end, GLsizei count, GLenum type, const GLvoid *indices );
4883
4884 __attribute__((visibility("default"))) void glTexImage3D( GLenum target, GLint level,
4885                                       GLint internalFormat,
4886                                       GLsizei width, GLsizei height,
4887                                       GLsizei depth, GLint border,
4888                                       GLenum format, GLenum type,
4889                                       const GLvoid *pixels );
4890
4891 __attribute__((visibility("default"))) void glTexSubImage3D( GLenum target, GLint level,
4892                                          GLint xoffset, GLint yoffset,
4893                                          GLint zoffset, GLsizei width,
4894                                          GLsizei height, GLsizei depth,
4895                                          GLenum format,
4896                                          GLenum type, const GLvoid *pixels);
4897
4898 __attribute__((visibility("default"))) void glCopyTexSubImage3D( GLenum target, GLint level,
4899                                              GLint xoffset, GLint yoffset,
4900                                              GLint zoffset, GLint x,
4901                                              GLint y, GLsizei width,
4902                                              GLsizei height );
4903
4904 typedef void ( * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
4905 typedef void ( * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
4906 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);
4907 typedef void ( * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
4908 # 1629 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
4909 __attribute__((visibility("default"))) void glColorTable( GLenum target, GLenum internalformat,
4910                                     GLsizei width, GLenum format,
4911                                     GLenum type, const GLvoid *table );
4912
4913 __attribute__((visibility("default"))) void glColorSubTable( GLenum target,
4914                                        GLsizei start, GLsizei count,
4915                                        GLenum format, GLenum type,
4916                                        const GLvoid *data );
4917
4918 __attribute__((visibility("default"))) void glColorTableParameteriv(GLenum target, GLenum pname,
4919                                               const GLint *params);
4920
4921 __attribute__((visibility("default"))) void glColorTableParameterfv(GLenum target, GLenum pname,
4922                                               const GLfloat *params);
4923
4924 __attribute__((visibility("default"))) void glCopyColorSubTable( GLenum target, GLsizei start,
4925                                            GLint x, GLint y, GLsizei width );
4926
4927 __attribute__((visibility("default"))) void glCopyColorTable( GLenum target, GLenum internalformat,
4928                                         GLint x, GLint y, GLsizei width );
4929
4930 __attribute__((visibility("default"))) void glGetColorTable( GLenum target, GLenum format,
4931                                        GLenum type, GLvoid *table );
4932
4933 __attribute__((visibility("default"))) void glGetColorTableParameterfv( GLenum target, GLenum pname,
4934                                                   GLfloat *params );
4935
4936 __attribute__((visibility("default"))) void glGetColorTableParameteriv( GLenum target, GLenum pname,
4937                                                   GLint *params );
4938
4939 __attribute__((visibility("default"))) void glBlendEquation( GLenum mode );
4940
4941 __attribute__((visibility("default"))) void glBlendColor( GLclampf red, GLclampf green,
4942                                     GLclampf blue, GLclampf alpha );
4943
4944 __attribute__((visibility("default"))) void glHistogram( GLenum target, GLsizei width,
4945        GLenum internalformat, GLboolean sink );
4946
4947 __attribute__((visibility("default"))) void glResetHistogram( GLenum target );
4948
4949 __attribute__((visibility("default"))) void glGetHistogram( GLenum target, GLboolean reset,
4950           GLenum format, GLenum type,
4951           GLvoid *values );
4952
4953 __attribute__((visibility("default"))) void glGetHistogramParameterfv( GLenum target, GLenum pname,
4954        GLfloat *params );
4955
4956 __attribute__((visibility("default"))) void glGetHistogramParameteriv( GLenum target, GLenum pname,
4957        GLint *params );
4958
4959 __attribute__((visibility("default"))) void glMinmax( GLenum target, GLenum internalformat,
4960     GLboolean sink );
4961
4962 __attribute__((visibility("default"))) void glResetMinmax( GLenum target );
4963
4964 __attribute__((visibility("default"))) void glGetMinmax( GLenum target, GLboolean reset,
4965                                    GLenum format, GLenum types,
4966                                    GLvoid *values );
4967
4968 __attribute__((visibility("default"))) void glGetMinmaxParameterfv( GLenum target, GLenum pname,
4969            GLfloat *params );
4970
4971 __attribute__((visibility("default"))) void glGetMinmaxParameteriv( GLenum target, GLenum pname,
4972            GLint *params );
4973
4974 __attribute__((visibility("default"))) void glConvolutionFilter1D( GLenum target,
4975  GLenum internalformat, GLsizei width, GLenum format, GLenum type,
4976  const GLvoid *image );
4977
4978 __attribute__((visibility("default"))) void glConvolutionFilter2D( GLenum target,
4979  GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
4980  GLenum type, const GLvoid *image );
4981
4982 __attribute__((visibility("default"))) void glConvolutionParameterf( GLenum target, GLenum pname,
4983  GLfloat params );
4984
4985 __attribute__((visibility("default"))) void glConvolutionParameterfv( GLenum target, GLenum pname,
4986  const GLfloat *params );
4987
4988 __attribute__((visibility("default"))) void glConvolutionParameteri( GLenum target, GLenum pname,
4989  GLint params );
4990
4991 __attribute__((visibility("default"))) void glConvolutionParameteriv( GLenum target, GLenum pname,
4992  const GLint *params );
4993
4994 __attribute__((visibility("default"))) void glCopyConvolutionFilter1D( GLenum target,
4995  GLenum internalformat, GLint x, GLint y, GLsizei width );
4996
4997 __attribute__((visibility("default"))) void glCopyConvolutionFilter2D( GLenum target,
4998  GLenum internalformat, GLint x, GLint y, GLsizei width,
4999  GLsizei height);
5000
5001 __attribute__((visibility("default"))) void glGetConvolutionFilter( GLenum target, GLenum format,
5002  GLenum type, GLvoid *image );
5003
5004 __attribute__((visibility("default"))) void glGetConvolutionParameterfv( GLenum target, GLenum pname,
5005  GLfloat *params );
5006
5007 __attribute__((visibility("default"))) void glGetConvolutionParameteriv( GLenum target, GLenum pname,
5008  GLint *params );
5009
5010 __attribute__((visibility("default"))) void glSeparableFilter2D( GLenum target,
5011  GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
5012  GLenum type, const GLvoid *row, const GLvoid *column );
5013
5014 __attribute__((visibility("default"))) void glGetSeparableFilter( GLenum target, GLenum format,
5015  GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
5016
5017 typedef void ( * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
5018 typedef void ( * PFNGLBLENDEQUATIONPROC) (GLenum mode);
5019 typedef void ( * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
5020 typedef void ( * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5021 typedef void ( * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
5022 typedef void ( * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5023 typedef void ( * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
5024 typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5025 typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5026 typedef void ( * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
5027 typedef void ( * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
5028 typedef void ( * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
5029 typedef void ( * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
5030 typedef void ( * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
5031 typedef void ( * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5032 typedef void ( * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
5033 typedef void ( * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
5034 typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5035 typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
5036 typedef void ( * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
5037 typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5038 typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5039 typedef void ( * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
5040 typedef void ( * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
5041 typedef void ( * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5042 typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5043 typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5044 typedef void ( * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5045 typedef void ( * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5046 typedef void ( * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5047 typedef void ( * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
5048 typedef void ( * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
5049 typedef void ( * PFNGLRESETHISTOGRAMPROC) (GLenum target);
5050 typedef void ( * PFNGLRESETMINMAXPROC) (GLenum target);
5051 # 1883 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
5052 __attribute__((visibility("default"))) void glActiveTexture( GLenum texture );
5053
5054 __attribute__((visibility("default"))) void glClientActiveTexture( GLenum texture );
5055
5056 __attribute__((visibility("default"))) void glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
5057
5058 __attribute__((visibility("default"))) void glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
5059
5060 __attribute__((visibility("default"))) void glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
5061
5062 __attribute__((visibility("default"))) void glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
5063
5064 __attribute__((visibility("default"))) void glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
5065
5066 __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 );
5067
5068 __attribute__((visibility("default"))) void glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img );
5069
5070 __attribute__((visibility("default"))) void glMultiTexCoord1d( GLenum target, GLdouble s );
5071
5072 __attribute__((visibility("default"))) void glMultiTexCoord1dv( GLenum target, const GLdouble *v );
5073
5074 __attribute__((visibility("default"))) void glMultiTexCoord1f( GLenum target, GLfloat s );
5075
5076 __attribute__((visibility("default"))) void glMultiTexCoord1fv( GLenum target, const GLfloat *v );
5077
5078 __attribute__((visibility("default"))) void glMultiTexCoord1i( GLenum target, GLint s );
5079
5080 __attribute__((visibility("default"))) void glMultiTexCoord1iv( GLenum target, const GLint *v );
5081
5082 __attribute__((visibility("default"))) void glMultiTexCoord1s( GLenum target, GLshort s );
5083
5084 __attribute__((visibility("default"))) void glMultiTexCoord1sv( GLenum target, const GLshort *v );
5085
5086 __attribute__((visibility("default"))) void glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t );
5087
5088 __attribute__((visibility("default"))) void glMultiTexCoord2dv( GLenum target, const GLdouble *v );
5089
5090 __attribute__((visibility("default"))) void glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t );
5091
5092 __attribute__((visibility("default"))) void glMultiTexCoord2fv( GLenum target, const GLfloat *v );
5093
5094 __attribute__((visibility("default"))) void glMultiTexCoord2i( GLenum target, GLint s, GLint t );
5095
5096 __attribute__((visibility("default"))) void glMultiTexCoord2iv( GLenum target, const GLint *v );
5097
5098 __attribute__((visibility("default"))) void glMultiTexCoord2s( GLenum target, GLshort s, GLshort t );
5099
5100 __attribute__((visibility("default"))) void glMultiTexCoord2sv( GLenum target, const GLshort *v );
5101
5102 __attribute__((visibility("default"))) void glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r );
5103
5104 __attribute__((visibility("default"))) void glMultiTexCoord3dv( GLenum target, const GLdouble *v );
5105
5106 __attribute__((visibility("default"))) void glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r );
5107
5108 __attribute__((visibility("default"))) void glMultiTexCoord3fv( GLenum target, const GLfloat *v );
5109
5110 __attribute__((visibility("default"))) void glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r );
5111
5112 __attribute__((visibility("default"))) void glMultiTexCoord3iv( GLenum target, const GLint *v );
5113
5114 __attribute__((visibility("default"))) void glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r );
5115
5116 __attribute__((visibility("default"))) void glMultiTexCoord3sv( GLenum target, const GLshort *v );
5117
5118 __attribute__((visibility("default"))) void glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
5119
5120 __attribute__((visibility("default"))) void glMultiTexCoord4dv( GLenum target, const GLdouble *v );
5121
5122 __attribute__((visibility("default"))) void glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
5123
5124 __attribute__((visibility("default"))) void glMultiTexCoord4fv( GLenum target, const GLfloat *v );
5125
5126 __attribute__((visibility("default"))) void glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q );
5127
5128 __attribute__((visibility("default"))) void glMultiTexCoord4iv( GLenum target, const GLint *v );
5129
5130 __attribute__((visibility("default"))) void glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
5131
5132 __attribute__((visibility("default"))) void glMultiTexCoord4sv( GLenum target, const GLshort *v );
5133
5134
5135 __attribute__((visibility("default"))) void glLoadTransposeMatrixd( const GLdouble m[16] );
5136
5137 __attribute__((visibility("default"))) void glLoadTransposeMatrixf( const GLfloat m[16] );
5138
5139 __attribute__((visibility("default"))) void glMultTransposeMatrixd( const GLdouble m[16] );
5140
5141 __attribute__((visibility("default"))) void glMultTransposeMatrixf( const GLfloat m[16] );
5142
5143 __attribute__((visibility("default"))) void glSampleCoverage( GLclampf value, GLboolean invert );
5144
5145 typedef void ( * PFNGLACTIVETEXTUREPROC) (GLenum texture);
5146 typedef void ( * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
5147 typedef void ( * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
5148 typedef void ( * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
5149 typedef void ( * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
5150 typedef void ( * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
5151 typedef void ( * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
5152 typedef void ( * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
5153 typedef void ( * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
5154 typedef void ( * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
5155 typedef void ( * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
5156 typedef void ( * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
5157 typedef void ( * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
5158 typedef void ( * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
5159 typedef void ( * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
5160 typedef void ( * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
5161 typedef void ( * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
5162 typedef void ( * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
5163 typedef void ( * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
5164 typedef void ( * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
5165 typedef void ( * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
5166 typedef void ( * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
5167 typedef void ( * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
5168 typedef void ( * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
5169 typedef void ( * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
5170 typedef void ( * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
5171 typedef void ( * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
5172 typedef void ( * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
5173 typedef void ( * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
5174 typedef void ( * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
5175 typedef void ( * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
5176 typedef void ( * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
5177 typedef void ( * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
5178 typedef void ( * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
5179 typedef void ( * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
5180 typedef void ( * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
5181 typedef void ( * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
5182 typedef void ( * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
5183 typedef void ( * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
5184 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
5185 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
5186 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
5187 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);
5188 typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
5189 typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
5190 typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
5191 # 2066 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
5192 __attribute__((visibility("default"))) void glActiveTextureARB(GLenum texture);
5193 __attribute__((visibility("default"))) void glClientActiveTextureARB(GLenum texture);
5194 __attribute__((visibility("default"))) void glMultiTexCoord1dARB(GLenum target, GLdouble s);
5195 __attribute__((visibility("default"))) void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
5196 __attribute__((visibility("default"))) void glMultiTexCoord1fARB(GLenum target, GLfloat s);
5197 __attribute__((visibility("default"))) void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
5198 __attribute__((visibility("default"))) void glMultiTexCoord1iARB(GLenum target, GLint s);
5199 __attribute__((visibility("default"))) void glMultiTexCoord1ivARB(GLenum target, const GLint *v);
5200 __attribute__((visibility("default"))) void glMultiTexCoord1sARB(GLenum target, GLshort s);
5201 __attribute__((visibility("default"))) void glMultiTexCoord1svARB(GLenum target, const GLshort *v);
5202 __attribute__((visibility("default"))) void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
5203 __attribute__((visibility("default"))) void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
5204 __attribute__((visibility("default"))) void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
5205 __attribute__((visibility("default"))) void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
5206 __attribute__((visibility("default"))) void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
5207 __attribute__((visibility("default"))) void glMultiTexCoord2ivARB(GLenum target, const GLint *v);
5208 __attribute__((visibility("default"))) void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
5209 __attribute__((visibility("default"))) void glMultiTexCoord2svARB(GLenum target, const GLshort *v);
5210 __attribute__((visibility("default"))) void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
5211 __attribute__((visibility("default"))) void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
5212 __attribute__((visibility("default"))) void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
5213 __attribute__((visibility("default"))) void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
5214 __attribute__((visibility("default"))) void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
5215 __attribute__((visibility("default"))) void glMultiTexCoord3ivARB(GLenum target, const GLint *v);
5216 __attribute__((visibility("default"))) void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
5217 __attribute__((visibility("default"))) void glMultiTexCoord3svARB(GLenum target, const GLshort *v);
5218 __attribute__((visibility("default"))) void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
5219 __attribute__((visibility("default"))) void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
5220 __attribute__((visibility("default"))) void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
5221 __attribute__((visibility("default"))) void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
5222 __attribute__((visibility("default"))) void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
5223 __attribute__((visibility("default"))) void glMultiTexCoord4ivARB(GLenum target, const GLint *v);
5224 __attribute__((visibility("default"))) void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
5225 __attribute__((visibility("default"))) void glMultiTexCoord4svARB(GLenum target, const GLshort *v);
5226
5227 typedef void ( * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
5228 typedef void ( * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
5229 typedef void ( * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
5230 typedef void ( * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
5231 typedef void ( * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
5232 typedef void ( * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
5233 typedef void ( * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
5234 typedef void ( * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
5235 typedef void ( * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
5236 typedef void ( * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
5237 typedef void ( * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
5238 typedef void ( * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
5239 typedef void ( * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
5240 typedef void ( * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
5241 typedef void ( * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
5242 typedef void ( * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
5243 typedef void ( * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
5244 typedef void ( * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
5245 typedef void ( * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
5246 typedef void ( * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
5247 typedef void ( * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
5248 typedef void ( * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
5249 typedef void ( * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
5250 typedef void ( * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
5251 typedef void ( * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
5252 typedef void ( * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
5253 typedef void ( * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
5254 typedef void ( * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
5255 typedef void ( * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
5256 typedef void ( * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
5257 typedef void ( * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
5258 typedef void ( * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
5259 typedef void ( * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
5260 typedef void ( * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
5261 # 2150 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
5262 # 1 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h" 1
5263 # 3385 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5264 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 1 3 4
5265 # 152 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/stddef.h" 3 4
5266 typedef long int ptrdiff_t;
5267 # 3386 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h" 2
5268
5269
5270 typedef char GLchar;
5271
5272
5273
5274
5275 typedef ptrdiff_t GLintptr;
5276 typedef ptrdiff_t GLsizeiptr;
5277
5278
5279
5280
5281 typedef ptrdiff_t GLintptrARB;
5282 typedef ptrdiff_t GLsizeiptrARB;
5283
5284
5285
5286
5287 typedef char GLcharARB;
5288 typedef unsigned int GLhandleARB;
5289
5290
5291
5292
5293 typedef unsigned short GLhalfARB;
5294
5295
5296
5297 typedef unsigned short GLhalfNV;
5298 # 3456 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5299 typedef int64_t GLint64EXT;
5300 typedef uint64_t GLuint64EXT;
5301 # 3643 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5302 __attribute__((visibility("default"))) void glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
5303 __attribute__((visibility("default"))) void glFogCoordf (GLfloat);
5304 __attribute__((visibility("default"))) void glFogCoordfv (const GLfloat *);
5305 __attribute__((visibility("default"))) void glFogCoordd (GLdouble);
5306 __attribute__((visibility("default"))) void glFogCoorddv (const GLdouble *);
5307 __attribute__((visibility("default"))) void glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
5308 __attribute__((visibility("default"))) void glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
5309 __attribute__((visibility("default"))) void glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
5310 __attribute__((visibility("default"))) void glPointParameterf (GLenum, GLfloat);
5311 __attribute__((visibility("default"))) void glPointParameterfv (GLenum, const GLfloat *);
5312 __attribute__((visibility("default"))) void glPointParameteri (GLenum, GLint);
5313 __attribute__((visibility("default"))) void glPointParameteriv (GLenum, const GLint *);
5314 __attribute__((visibility("default"))) void glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
5315 __attribute__((visibility("default"))) void glSecondaryColor3bv (const GLbyte *);
5316 __attribute__((visibility("default"))) void glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
5317 __attribute__((visibility("default"))) void glSecondaryColor3dv (const GLdouble *);
5318 __attribute__((visibility("default"))) void glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
5319 __attribute__((visibility("default"))) void glSecondaryColor3fv (const GLfloat *);
5320 __attribute__((visibility("default"))) void glSecondaryColor3i (GLint, GLint, GLint);
5321 __attribute__((visibility("default"))) void glSecondaryColor3iv (const GLint *);
5322 __attribute__((visibility("default"))) void glSecondaryColor3s (GLshort, GLshort, GLshort);
5323 __attribute__((visibility("default"))) void glSecondaryColor3sv (const GLshort *);
5324 __attribute__((visibility("default"))) void glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
5325 __attribute__((visibility("default"))) void glSecondaryColor3ubv (const GLubyte *);
5326 __attribute__((visibility("default"))) void glSecondaryColor3ui (GLuint, GLuint, GLuint);
5327 __attribute__((visibility("default"))) void glSecondaryColor3uiv (const GLuint *);
5328 __attribute__((visibility("default"))) void glSecondaryColor3us (GLushort, GLushort, GLushort);
5329 __attribute__((visibility("default"))) void glSecondaryColor3usv (const GLushort *);
5330 __attribute__((visibility("default"))) void glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
5331 __attribute__((visibility("default"))) void glWindowPos2d (GLdouble, GLdouble);
5332 __attribute__((visibility("default"))) void glWindowPos2dv (const GLdouble *);
5333 __attribute__((visibility("default"))) void glWindowPos2f (GLfloat, GLfloat);
5334 __attribute__((visibility("default"))) void glWindowPos2fv (const GLfloat *);
5335 __attribute__((visibility("default"))) void glWindowPos2i (GLint, GLint);
5336 __attribute__((visibility("default"))) void glWindowPos2iv (const GLint *);
5337 __attribute__((visibility("default"))) void glWindowPos2s (GLshort, GLshort);
5338 __attribute__((visibility("default"))) void glWindowPos2sv (const GLshort *);
5339 __attribute__((visibility("default"))) void glWindowPos3d (GLdouble, GLdouble, GLdouble);
5340 __attribute__((visibility("default"))) void glWindowPos3dv (const GLdouble *);
5341 __attribute__((visibility("default"))) void glWindowPos3f (GLfloat, GLfloat, GLfloat);
5342 __attribute__((visibility("default"))) void glWindowPos3fv (const GLfloat *);
5343 __attribute__((visibility("default"))) void glWindowPos3i (GLint, GLint, GLint);
5344 __attribute__((visibility("default"))) void glWindowPos3iv (const GLint *);
5345 __attribute__((visibility("default"))) void glWindowPos3s (GLshort, GLshort, GLshort);
5346 __attribute__((visibility("default"))) void glWindowPos3sv (const GLshort *);
5347
5348 typedef void ( * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5349 typedef void ( * PFNGLFOGCOORDFPROC) (GLfloat coord);
5350 typedef void ( * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
5351 typedef void ( * PFNGLFOGCOORDDPROC) (GLdouble coord);
5352 typedef void ( * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
5353 typedef void ( * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
5354 typedef void ( * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
5355 typedef void ( * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
5356 typedef void ( * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
5357 typedef void ( * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
5358 typedef void ( * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
5359 typedef void ( * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
5360 typedef void ( * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
5361 typedef void ( * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
5362 typedef void ( * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
5363 typedef void ( * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
5364 typedef void ( * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
5365 typedef void ( * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
5366 typedef void ( * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
5367 typedef void ( * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
5368 typedef void ( * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
5369 typedef void ( * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
5370 typedef void ( * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
5371 typedef void ( * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
5372 typedef void ( * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
5373 typedef void ( * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
5374 typedef void ( * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
5375 typedef void ( * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
5376 typedef void ( * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5377 typedef void ( * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
5378 typedef void ( * PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
5379 typedef void ( * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
5380 typedef void ( * PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
5381 typedef void ( * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
5382 typedef void ( * PFNGLWINDOWPOS2IVPROC) (const GLint *v);
5383 typedef void ( * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
5384 typedef void ( * PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
5385 typedef void ( * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
5386 typedef void ( * PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
5387 typedef void ( * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
5388 typedef void ( * PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
5389 typedef void ( * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
5390 typedef void ( * PFNGLWINDOWPOS3IVPROC) (const GLint *v);
5391 typedef void ( * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
5392 typedef void ( * PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
5393
5394
5395
5396
5397
5398 __attribute__((visibility("default"))) void glGenQueries (GLsizei, GLuint *);
5399 __attribute__((visibility("default"))) void glDeleteQueries (GLsizei, const GLuint *);
5400 __attribute__((visibility("default"))) GLboolean glIsQuery (GLuint);
5401 __attribute__((visibility("default"))) void glBeginQuery (GLenum, GLuint);
5402 __attribute__((visibility("default"))) void glEndQuery (GLenum);
5403 __attribute__((visibility("default"))) void glGetQueryiv (GLenum, GLenum, GLint *);
5404 __attribute__((visibility("default"))) void glGetQueryObjectiv (GLuint, GLenum, GLint *);
5405 __attribute__((visibility("default"))) void glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
5406 __attribute__((visibility("default"))) void glBindBuffer (GLenum, GLuint);
5407 __attribute__((visibility("default"))) void glDeleteBuffers (GLsizei, const GLuint *);
5408 __attribute__((visibility("default"))) void glGenBuffers (GLsizei, GLuint *);
5409 __attribute__((visibility("default"))) GLboolean glIsBuffer (GLuint);
5410 __attribute__((visibility("default"))) void glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
5411 __attribute__((visibility("default"))) void glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
5412 __attribute__((visibility("default"))) void glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
5413 __attribute__((visibility("default"))) GLvoid* glMapBuffer (GLenum, GLenum);
5414 __attribute__((visibility("default"))) GLboolean glUnmapBuffer (GLenum);
5415 __attribute__((visibility("default"))) void glGetBufferParameteriv (GLenum, GLenum, GLint *);
5416 __attribute__((visibility("default"))) void glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
5417
5418 typedef void ( * PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
5419 typedef void ( * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
5420 typedef GLboolean ( * PFNGLISQUERYPROC) (GLuint id);
5421 typedef void ( * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
5422 typedef void ( * PFNGLENDQUERYPROC) (GLenum target);
5423 typedef void ( * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
5424 typedef void ( * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
5425 typedef void ( * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
5426 typedef void ( * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
5427 typedef void ( * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
5428 typedef void ( * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
5429 typedef GLboolean ( * PFNGLISBUFFERPROC) (GLuint buffer);
5430 typedef void ( * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
5431 typedef void ( * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
5432 typedef void ( * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
5433 typedef GLvoid* ( * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
5434 typedef GLboolean ( * PFNGLUNMAPBUFFERPROC) (GLenum target);
5435 typedef void ( * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5436 typedef void ( * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
5437
5438
5439
5440
5441
5442 __attribute__((visibility("default"))) void glBlendEquationSeparate (GLenum, GLenum);
5443 __attribute__((visibility("default"))) void glDrawBuffers (GLsizei, const GLenum *);
5444 __attribute__((visibility("default"))) void glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
5445 __attribute__((visibility("default"))) void glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
5446 __attribute__((visibility("default"))) void glStencilMaskSeparate (GLenum, GLuint);
5447 __attribute__((visibility("default"))) void glAttachShader (GLuint, GLuint);
5448 __attribute__((visibility("default"))) void glBindAttribLocation (GLuint, GLuint, const GLchar *);
5449 __attribute__((visibility("default"))) void glCompileShader (GLuint);
5450 __attribute__((visibility("default"))) GLuint glCreateProgram (void);
5451 __attribute__((visibility("default"))) GLuint glCreateShader (GLenum);
5452 __attribute__((visibility("default"))) void glDeleteProgram (GLuint);
5453 __attribute__((visibility("default"))) void glDeleteShader (GLuint);
5454 __attribute__((visibility("default"))) void glDetachShader (GLuint, GLuint);
5455 __attribute__((visibility("default"))) void glDisableVertexAttribArray (GLuint);
5456 __attribute__((visibility("default"))) void glEnableVertexAttribArray (GLuint);
5457 __attribute__((visibility("default"))) void glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
5458 __attribute__((visibility("default"))) void glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
5459 __attribute__((visibility("default"))) void glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
5460 __attribute__((visibility("default"))) GLint glGetAttribLocation (GLuint, const GLchar *);
5461 __attribute__((visibility("default"))) void glGetProgramiv (GLuint, GLenum, GLint *);
5462 __attribute__((visibility("default"))) void glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
5463 __attribute__((visibility("default"))) void glGetShaderiv (GLuint, GLenum, GLint *);
5464 __attribute__((visibility("default"))) void glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
5465 __attribute__((visibility("default"))) void glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
5466 __attribute__((visibility("default"))) GLint glGetUniformLocation (GLuint, const GLchar *);
5467 __attribute__((visibility("default"))) void glGetUniformfv (GLuint, GLint, GLfloat *);
5468 __attribute__((visibility("default"))) void glGetUniformiv (GLuint, GLint, GLint *);
5469 __attribute__((visibility("default"))) void glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
5470 __attribute__((visibility("default"))) void glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
5471 __attribute__((visibility("default"))) void glGetVertexAttribiv (GLuint, GLenum, GLint *);
5472 __attribute__((visibility("default"))) void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
5473 __attribute__((visibility("default"))) GLboolean glIsProgram (GLuint);
5474 __attribute__((visibility("default"))) GLboolean glIsShader (GLuint);
5475 __attribute__((visibility("default"))) void glLinkProgram (GLuint);
5476 __attribute__((visibility("default"))) void glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
5477 __attribute__((visibility("default"))) void glUseProgram (GLuint);
5478 __attribute__((visibility("default"))) void glUniform1f (GLint, GLfloat);
5479 __attribute__((visibility("default"))) void glUniform2f (GLint, GLfloat, GLfloat);
5480 __attribute__((visibility("default"))) void glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
5481 __attribute__((visibility("default"))) void glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
5482 __attribute__((visibility("default"))) void glUniform1i (GLint, GLint);
5483 __attribute__((visibility("default"))) void glUniform2i (GLint, GLint, GLint);
5484 __attribute__((visibility("default"))) void glUniform3i (GLint, GLint, GLint, GLint);
5485 __attribute__((visibility("default"))) void glUniform4i (GLint, GLint, GLint, GLint, GLint);
5486 __attribute__((visibility("default"))) void glUniform1fv (GLint, GLsizei, const GLfloat *);
5487 __attribute__((visibility("default"))) void glUniform2fv (GLint, GLsizei, const GLfloat *);
5488 __attribute__((visibility("default"))) void glUniform3fv (GLint, GLsizei, const GLfloat *);
5489 __attribute__((visibility("default"))) void glUniform4fv (GLint, GLsizei, const GLfloat *);
5490 __attribute__((visibility("default"))) void glUniform1iv (GLint, GLsizei, const GLint *);
5491 __attribute__((visibility("default"))) void glUniform2iv (GLint, GLsizei, const GLint *);
5492 __attribute__((visibility("default"))) void glUniform3iv (GLint, GLsizei, const GLint *);
5493 __attribute__((visibility("default"))) void glUniform4iv (GLint, GLsizei, const GLint *);
5494 __attribute__((visibility("default"))) void glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
5495 __attribute__((visibility("default"))) void glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
5496 __attribute__((visibility("default"))) void glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
5497 __attribute__((visibility("default"))) void glValidateProgram (GLuint);
5498 __attribute__((visibility("default"))) void glVertexAttrib1d (GLuint, GLdouble);
5499 __attribute__((visibility("default"))) void glVertexAttrib1dv (GLuint, const GLdouble *);
5500 __attribute__((visibility("default"))) void glVertexAttrib1f (GLuint, GLfloat);
5501 __attribute__((visibility("default"))) void glVertexAttrib1fv (GLuint, const GLfloat *);
5502 __attribute__((visibility("default"))) void glVertexAttrib1s (GLuint, GLshort);
5503 __attribute__((visibility("default"))) void glVertexAttrib1sv (GLuint, const GLshort *);
5504 __attribute__((visibility("default"))) void glVertexAttrib2d (GLuint, GLdouble, GLdouble);
5505 __attribute__((visibility("default"))) void glVertexAttrib2dv (GLuint, const GLdouble *);
5506 __attribute__((visibility("default"))) void glVertexAttrib2f (GLuint, GLfloat, GLfloat);
5507 __attribute__((visibility("default"))) void glVertexAttrib2fv (GLuint, const GLfloat *);
5508 __attribute__((visibility("default"))) void glVertexAttrib2s (GLuint, GLshort, GLshort);
5509 __attribute__((visibility("default"))) void glVertexAttrib2sv (GLuint, const GLshort *);
5510 __attribute__((visibility("default"))) void glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
5511 __attribute__((visibility("default"))) void glVertexAttrib3dv (GLuint, const GLdouble *);
5512 __attribute__((visibility("default"))) void glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
5513 __attribute__((visibility("default"))) void glVertexAttrib3fv (GLuint, const GLfloat *);
5514 __attribute__((visibility("default"))) void glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
5515 __attribute__((visibility("default"))) void glVertexAttrib3sv (GLuint, const GLshort *);
5516 __attribute__((visibility("default"))) void glVertexAttrib4Nbv (GLuint, const GLbyte *);
5517 __attribute__((visibility("default"))) void glVertexAttrib4Niv (GLuint, const GLint *);
5518 __attribute__((visibility("default"))) void glVertexAttrib4Nsv (GLuint, const GLshort *);
5519 __attribute__((visibility("default"))) void glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
5520 __attribute__((visibility("default"))) void glVertexAttrib4Nubv (GLuint, const GLubyte *);
5521 __attribute__((visibility("default"))) void glVertexAttrib4Nuiv (GLuint, const GLuint *);
5522 __attribute__((visibility("default"))) void glVertexAttrib4Nusv (GLuint, const GLushort *);
5523 __attribute__((visibility("default"))) void glVertexAttrib4bv (GLuint, const GLbyte *);
5524 __attribute__((visibility("default"))) void glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5525 __attribute__((visibility("default"))) void glVertexAttrib4dv (GLuint, const GLdouble *);
5526 __attribute__((visibility("default"))) void glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5527 __attribute__((visibility("default"))) void glVertexAttrib4fv (GLuint, const GLfloat *);
5528 __attribute__((visibility("default"))) void glVertexAttrib4iv (GLuint, const GLint *);
5529 __attribute__((visibility("default"))) void glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
5530 __attribute__((visibility("default"))) void glVertexAttrib4sv (GLuint, const GLshort *);
5531 __attribute__((visibility("default"))) void glVertexAttrib4ubv (GLuint, const GLubyte *);
5532 __attribute__((visibility("default"))) void glVertexAttrib4uiv (GLuint, const GLuint *);
5533 __attribute__((visibility("default"))) void glVertexAttrib4usv (GLuint, const GLushort *);
5534 __attribute__((visibility("default"))) void glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
5535
5536 typedef void ( * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
5537 typedef void ( * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
5538 typedef void ( * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5539 typedef void ( * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5540 typedef void ( * PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
5541 typedef void ( * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
5542 typedef void ( * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
5543 typedef void ( * PFNGLCOMPILESHADERPROC) (GLuint shader);
5544 typedef GLuint ( * PFNGLCREATEPROGRAMPROC) (void);
5545 typedef GLuint ( * PFNGLCREATESHADERPROC) (GLenum type);
5546 typedef void ( * PFNGLDELETEPROGRAMPROC) (GLuint program);
5547 typedef void ( * PFNGLDELETESHADERPROC) (GLuint shader);
5548 typedef void ( * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
5549 typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
5550 typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
5551 typedef void ( * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5552 typedef void ( * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5553 typedef void ( * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
5554 typedef GLint ( * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
5555 typedef void ( * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
5556 typedef void ( * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5557 typedef void ( * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
5558 typedef void ( * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5559 typedef void ( * PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
5560 typedef GLint ( * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
5561 typedef void ( * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
5562 typedef void ( * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
5563 typedef void ( * PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
5564 typedef void ( * PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
5565 typedef void ( * PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
5566 typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
5567 typedef GLboolean ( * PFNGLISPROGRAMPROC) (GLuint program);
5568 typedef GLboolean ( * PFNGLISSHADERPROC) (GLuint shader);
5569 typedef void ( * PFNGLLINKPROGRAMPROC) (GLuint program);
5570 typedef void ( * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
5571 typedef void ( * PFNGLUSEPROGRAMPROC) (GLuint program);
5572 typedef void ( * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
5573 typedef void ( * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
5574 typedef void ( * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
5575 typedef void ( * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
5576 typedef void ( * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
5577 typedef void ( * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
5578 typedef void ( * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
5579 typedef void ( * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
5580 typedef void ( * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5581 typedef void ( * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5582 typedef void ( * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5583 typedef void ( * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5584 typedef void ( * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
5585 typedef void ( * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
5586 typedef void ( * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
5587 typedef void ( * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
5588 typedef void ( * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5589 typedef void ( * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5590 typedef void ( * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5591 typedef void ( * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
5592 typedef void ( * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
5593 typedef void ( * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
5594 typedef void ( * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
5595 typedef void ( * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
5596 typedef void ( * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
5597 typedef void ( * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
5598 typedef void ( * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
5599 typedef void ( * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
5600 typedef void ( * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
5601 typedef void ( * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
5602 typedef void ( * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
5603 typedef void ( * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
5604 typedef void ( * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5605 typedef void ( * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
5606 typedef void ( * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5607 typedef void ( * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
5608 typedef void ( * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5609 typedef void ( * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
5610 typedef void ( * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
5611 typedef void ( * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
5612 typedef void ( * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
5613 typedef void ( * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5614 typedef void ( * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
5615 typedef void ( * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
5616 typedef void ( * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
5617 typedef void ( * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
5618 typedef void ( * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5619 typedef void ( * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
5620 typedef void ( * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5621 typedef void ( * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
5622 typedef void ( * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
5623 typedef void ( * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5624 typedef void ( * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
5625 typedef void ( * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
5626 typedef void ( * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
5627 typedef void ( * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
5628 typedef void ( * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
5629
5630
5631
5632
5633
5634 __attribute__((visibility("default"))) void glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
5635 __attribute__((visibility("default"))) void glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
5636 __attribute__((visibility("default"))) void glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
5637 __attribute__((visibility("default"))) void glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
5638 __attribute__((visibility("default"))) void glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
5639 __attribute__((visibility("default"))) void glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
5640
5641 typedef void ( * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5642 typedef void ( * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5643 typedef void ( * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5644 typedef void ( * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5645 typedef void ( * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5646 typedef void ( * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5647 # 4067 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5648 __attribute__((visibility("default"))) void glLoadTransposeMatrixfARB (const GLfloat *);
5649 __attribute__((visibility("default"))) void glLoadTransposeMatrixdARB (const GLdouble *);
5650 __attribute__((visibility("default"))) void glMultTransposeMatrixfARB (const GLfloat *);
5651 __attribute__((visibility("default"))) void glMultTransposeMatrixdARB (const GLdouble *);
5652
5653 typedef void ( * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
5654 typedef void ( * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
5655 typedef void ( * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
5656 typedef void ( * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
5657
5658
5659
5660
5661
5662 __attribute__((visibility("default"))) void glSampleCoverageARB (GLclampf, GLboolean);
5663
5664 typedef void ( * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
5665 # 4097 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5666 __attribute__((visibility("default"))) void glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
5667 __attribute__((visibility("default"))) void glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
5668 __attribute__((visibility("default"))) void glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
5669 __attribute__((visibility("default"))) void glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
5670 __attribute__((visibility("default"))) void glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
5671 __attribute__((visibility("default"))) void glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
5672 __attribute__((visibility("default"))) void glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
5673
5674 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
5675 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
5676 typedef void ( * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
5677 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);
5678 typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
5679 typedef void ( * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
5680 typedef void ( * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
5681 # 4121 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5682 __attribute__((visibility("default"))) void glPointParameterfARB (GLenum, GLfloat);
5683 __attribute__((visibility("default"))) void glPointParameterfvARB (GLenum, const GLfloat *);
5684
5685 typedef void ( * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
5686 typedef void ( * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
5687
5688
5689
5690
5691
5692 __attribute__((visibility("default"))) void glWeightbvARB (GLint, const GLbyte *);
5693 __attribute__((visibility("default"))) void glWeightsvARB (GLint, const GLshort *);
5694 __attribute__((visibility("default"))) void glWeightivARB (GLint, const GLint *);
5695 __attribute__((visibility("default"))) void glWeightfvARB (GLint, const GLfloat *);
5696 __attribute__((visibility("default"))) void glWeightdvARB (GLint, const GLdouble *);
5697 __attribute__((visibility("default"))) void glWeightubvARB (GLint, const GLubyte *);
5698 __attribute__((visibility("default"))) void glWeightusvARB (GLint, const GLushort *);
5699 __attribute__((visibility("default"))) void glWeightuivARB (GLint, const GLuint *);
5700 __attribute__((visibility("default"))) void glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
5701 __attribute__((visibility("default"))) void glVertexBlendARB (GLint);
5702
5703 typedef void ( * PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
5704 typedef void ( * PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
5705 typedef void ( * PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
5706 typedef void ( * PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
5707 typedef void ( * PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
5708 typedef void ( * PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
5709 typedef void ( * PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
5710 typedef void ( * PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
5711 typedef void ( * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5712 typedef void ( * PFNGLVERTEXBLENDARBPROC) (GLint count);
5713
5714
5715
5716
5717
5718 __attribute__((visibility("default"))) void glCurrentPaletteMatrixARB (GLint);
5719 __attribute__((visibility("default"))) void glMatrixIndexubvARB (GLint, const GLubyte *);
5720 __attribute__((visibility("default"))) void glMatrixIndexusvARB (GLint, const GLushort *);
5721 __attribute__((visibility("default"))) void glMatrixIndexuivARB (GLint, const GLuint *);
5722 __attribute__((visibility("default"))) void glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
5723
5724 typedef void ( * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
5725 typedef void ( * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
5726 typedef void ( * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
5727 typedef void ( * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
5728 typedef void ( * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5729 # 4201 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5730 __attribute__((visibility("default"))) void glWindowPos2dARB (GLdouble, GLdouble);
5731 __attribute__((visibility("default"))) void glWindowPos2dvARB (const GLdouble *);
5732 __attribute__((visibility("default"))) void glWindowPos2fARB (GLfloat, GLfloat);
5733 __attribute__((visibility("default"))) void glWindowPos2fvARB (const GLfloat *);
5734 __attribute__((visibility("default"))) void glWindowPos2iARB (GLint, GLint);
5735 __attribute__((visibility("default"))) void glWindowPos2ivARB (const GLint *);
5736 __attribute__((visibility("default"))) void glWindowPos2sARB (GLshort, GLshort);
5737 __attribute__((visibility("default"))) void glWindowPos2svARB (const GLshort *);
5738 __attribute__((visibility("default"))) void glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
5739 __attribute__((visibility("default"))) void glWindowPos3dvARB (const GLdouble *);
5740 __attribute__((visibility("default"))) void glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
5741 __attribute__((visibility("default"))) void glWindowPos3fvARB (const GLfloat *);
5742 __attribute__((visibility("default"))) void glWindowPos3iARB (GLint, GLint, GLint);
5743 __attribute__((visibility("default"))) void glWindowPos3ivARB (const GLint *);
5744 __attribute__((visibility("default"))) void glWindowPos3sARB (GLshort, GLshort, GLshort);
5745 __attribute__((visibility("default"))) void glWindowPos3svARB (const GLshort *);
5746
5747 typedef void ( * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
5748 typedef void ( * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
5749 typedef void ( * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
5750 typedef void ( * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
5751 typedef void ( * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
5752 typedef void ( * PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
5753 typedef void ( * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
5754 typedef void ( * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
5755 typedef void ( * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
5756 typedef void ( * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
5757 typedef void ( * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
5758 typedef void ( * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
5759 typedef void ( * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
5760 typedef void ( * PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
5761 typedef void ( * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
5762 typedef void ( * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
5763
5764
5765
5766
5767
5768 __attribute__((visibility("default"))) void glVertexAttrib1dARB (GLuint, GLdouble);
5769 __attribute__((visibility("default"))) void glVertexAttrib1dvARB (GLuint, const GLdouble *);
5770 __attribute__((visibility("default"))) void glVertexAttrib1fARB (GLuint, GLfloat);
5771 __attribute__((visibility("default"))) void glVertexAttrib1fvARB (GLuint, const GLfloat *);
5772 __attribute__((visibility("default"))) void glVertexAttrib1sARB (GLuint, GLshort);
5773 __attribute__((visibility("default"))) void glVertexAttrib1svARB (GLuint, const GLshort *);
5774 __attribute__((visibility("default"))) void glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
5775 __attribute__((visibility("default"))) void glVertexAttrib2dvARB (GLuint, const GLdouble *);
5776 __attribute__((visibility("default"))) void glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
5777 __attribute__((visibility("default"))) void glVertexAttrib2fvARB (GLuint, const GLfloat *);
5778 __attribute__((visibility("default"))) void glVertexAttrib2sARB (GLuint, GLshort, GLshort);
5779 __attribute__((visibility("default"))) void glVertexAttrib2svARB (GLuint, const GLshort *);
5780 __attribute__((visibility("default"))) void glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
5781 __attribute__((visibility("default"))) void glVertexAttrib3dvARB (GLuint, const GLdouble *);
5782 __attribute__((visibility("default"))) void glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
5783 __attribute__((visibility("default"))) void glVertexAttrib3fvARB (GLuint, const GLfloat *);
5784 __attribute__((visibility("default"))) void glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
5785 __attribute__((visibility("default"))) void glVertexAttrib3svARB (GLuint, const GLshort *);
5786 __attribute__((visibility("default"))) void glVertexAttrib4NbvARB (GLuint, const GLbyte *);
5787 __attribute__((visibility("default"))) void glVertexAttrib4NivARB (GLuint, const GLint *);
5788 __attribute__((visibility("default"))) void glVertexAttrib4NsvARB (GLuint, const GLshort *);
5789 __attribute__((visibility("default"))) void glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
5790 __attribute__((visibility("default"))) void glVertexAttrib4NubvARB (GLuint, const GLubyte *);
5791 __attribute__((visibility("default"))) void glVertexAttrib4NuivARB (GLuint, const GLuint *);
5792 __attribute__((visibility("default"))) void glVertexAttrib4NusvARB (GLuint, const GLushort *);
5793 __attribute__((visibility("default"))) void glVertexAttrib4bvARB (GLuint, const GLbyte *);
5794 __attribute__((visibility("default"))) void glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5795 __attribute__((visibility("default"))) void glVertexAttrib4dvARB (GLuint, const GLdouble *);
5796 __attribute__((visibility("default"))) void glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5797 __attribute__((visibility("default"))) void glVertexAttrib4fvARB (GLuint, const GLfloat *);
5798 __attribute__((visibility("default"))) void glVertexAttrib4ivARB (GLuint, const GLint *);
5799 __attribute__((visibility("default"))) void glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
5800 __attribute__((visibility("default"))) void glVertexAttrib4svARB (GLuint, const GLshort *);
5801 __attribute__((visibility("default"))) void glVertexAttrib4ubvARB (GLuint, const GLubyte *);
5802 __attribute__((visibility("default"))) void glVertexAttrib4uivARB (GLuint, const GLuint *);
5803 __attribute__((visibility("default"))) void glVertexAttrib4usvARB (GLuint, const GLushort *);
5804 __attribute__((visibility("default"))) void glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
5805 __attribute__((visibility("default"))) void glEnableVertexAttribArrayARB (GLuint);
5806 __attribute__((visibility("default"))) void glDisableVertexAttribArrayARB (GLuint);
5807 __attribute__((visibility("default"))) void glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
5808 __attribute__((visibility("default"))) void glBindProgramARB (GLenum, GLuint);
5809 __attribute__((visibility("default"))) void glDeleteProgramsARB (GLsizei, const GLuint *);
5810 __attribute__((visibility("default"))) void glGenProgramsARB (GLsizei, GLuint *);
5811 __attribute__((visibility("default"))) void glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5812 __attribute__((visibility("default"))) void glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
5813 __attribute__((visibility("default"))) void glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5814 __attribute__((visibility("default"))) void glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
5815 __attribute__((visibility("default"))) void glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5816 __attribute__((visibility("default"))) void glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
5817 __attribute__((visibility("default"))) void glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5818 __attribute__((visibility("default"))) void glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
5819 __attribute__((visibility("default"))) void glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
5820 __attribute__((visibility("default"))) void glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
5821 __attribute__((visibility("default"))) void glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
5822 __attribute__((visibility("default"))) void glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
5823 __attribute__((visibility("default"))) void glGetProgramivARB (GLenum, GLenum, GLint *);
5824 __attribute__((visibility("default"))) void glGetProgramStringARB (GLenum, GLenum, GLvoid *);
5825 __attribute__((visibility("default"))) void glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
5826 __attribute__((visibility("default"))) void glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
5827 __attribute__((visibility("default"))) void glGetVertexAttribivARB (GLuint, GLenum, GLint *);
5828 __attribute__((visibility("default"))) void glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
5829 __attribute__((visibility("default"))) GLboolean glIsProgramARB (GLuint);
5830
5831 typedef void ( * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
5832 typedef void ( * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
5833 typedef void ( * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
5834 typedef void ( * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
5835 typedef void ( * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
5836 typedef void ( * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
5837 typedef void ( * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
5838 typedef void ( * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
5839 typedef void ( * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
5840 typedef void ( * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
5841 typedef void ( * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
5842 typedef void ( * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
5843 typedef void ( * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5844 typedef void ( * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
5845 typedef void ( * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5846 typedef void ( * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
5847 typedef void ( * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5848 typedef void ( * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
5849 typedef void ( * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
5850 typedef void ( * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
5851 typedef void ( * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
5852 typedef void ( * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5853 typedef void ( * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
5854 typedef void ( * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
5855 typedef void ( * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
5856 typedef void ( * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
5857 typedef void ( * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5858 typedef void ( * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
5859 typedef void ( * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5860 typedef void ( * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
5861 typedef void ( * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
5862 typedef void ( * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5863 typedef void ( * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
5864 typedef void ( * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
5865 typedef void ( * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
5866 typedef void ( * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
5867 typedef void ( * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
5868 typedef void ( * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
5869 typedef void ( * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
5870 typedef void ( * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
5871 typedef void ( * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
5872 typedef void ( * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
5873 typedef void ( * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
5874 typedef void ( * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5875 typedef void ( * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
5876 typedef void ( * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5877 typedef void ( * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
5878 typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5879 typedef void ( * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
5880 typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5881 typedef void ( * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
5882 typedef void ( * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
5883 typedef void ( * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
5884 typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
5885 typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
5886 typedef void ( * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
5887 typedef void ( * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
5888 typedef void ( * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
5889 typedef void ( * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
5890 typedef void ( * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
5891 typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
5892 typedef GLboolean ( * PFNGLISPROGRAMARBPROC) (GLuint program);
5893 # 4374 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
5894 __attribute__((visibility("default"))) void glBindBufferARB (GLenum, GLuint);
5895 __attribute__((visibility("default"))) void glDeleteBuffersARB (GLsizei, const GLuint *);
5896 __attribute__((visibility("default"))) void glGenBuffersARB (GLsizei, GLuint *);
5897 __attribute__((visibility("default"))) GLboolean glIsBufferARB (GLuint);
5898 __attribute__((visibility("default"))) void glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
5899 __attribute__((visibility("default"))) void glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
5900 __attribute__((visibility("default"))) void glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
5901 __attribute__((visibility("default"))) GLvoid* glMapBufferARB (GLenum, GLenum);
5902 __attribute__((visibility("default"))) GLboolean glUnmapBufferARB (GLenum);
5903 __attribute__((visibility("default"))) void glGetBufferParameterivARB (GLenum, GLenum, GLint *);
5904 __attribute__((visibility("default"))) void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
5905
5906 typedef void ( * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
5907 typedef void ( * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
5908 typedef void ( * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
5909 typedef GLboolean ( * PFNGLISBUFFERARBPROC) (GLuint buffer);
5910 typedef void ( * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
5911 typedef void ( * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
5912 typedef void ( * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
5913 typedef GLvoid* ( * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
5914 typedef GLboolean ( * PFNGLUNMAPBUFFERARBPROC) (GLenum target);
5915 typedef void ( * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
5916 typedef void ( * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
5917
5918
5919
5920
5921
5922 __attribute__((visibility("default"))) void glGenQueriesARB (GLsizei, GLuint *);
5923 __attribute__((visibility("default"))) void glDeleteQueriesARB (GLsizei, const GLuint *);
5924 __attribute__((visibility("default"))) GLboolean glIsQueryARB (GLuint);
5925 __attribute__((visibility("default"))) void glBeginQueryARB (GLenum, GLuint);
5926 __attribute__((visibility("default"))) void glEndQueryARB (GLenum);
5927 __attribute__((visibility("default"))) void glGetQueryivARB (GLenum, GLenum, GLint *);
5928 __attribute__((visibility("default"))) void glGetQueryObjectivARB (GLuint, GLenum, GLint *);
5929 __attribute__((visibility("default"))) void glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
5930
5931 typedef void ( * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
5932 typedef void ( * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
5933 typedef GLboolean ( * PFNGLISQUERYARBPROC) (GLuint id);
5934 typedef void ( * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
5935 typedef void ( * PFNGLENDQUERYARBPROC) (GLenum target);
5936 typedef void ( * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
5937 typedef void ( * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
5938 typedef void ( * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
5939
5940
5941
5942
5943
5944 __attribute__((visibility("default"))) void glDeleteObjectARB (GLhandleARB);
5945 __attribute__((visibility("default"))) GLhandleARB glGetHandleARB (GLenum);
5946 __attribute__((visibility("default"))) void glDetachObjectARB (GLhandleARB, GLhandleARB);
5947 __attribute__((visibility("default"))) GLhandleARB glCreateShaderObjectARB (GLenum);
5948 __attribute__((visibility("default"))) void glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
5949 __attribute__((visibility("default"))) void glCompileShaderARB (GLhandleARB);
5950 __attribute__((visibility("default"))) GLhandleARB glCreateProgramObjectARB (void);
5951 __attribute__((visibility("default"))) void glAttachObjectARB (GLhandleARB, GLhandleARB);
5952 __attribute__((visibility("default"))) void glLinkProgramARB (GLhandleARB);
5953 __attribute__((visibility("default"))) void glUseProgramObjectARB (GLhandleARB);
5954 __attribute__((visibility("default"))) void glValidateProgramARB (GLhandleARB);
5955 __attribute__((visibility("default"))) void glUniform1fARB (GLint, GLfloat);
5956 __attribute__((visibility("default"))) void glUniform2fARB (GLint, GLfloat, GLfloat);
5957 __attribute__((visibility("default"))) void glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
5958 __attribute__((visibility("default"))) void glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
5959 __attribute__((visibility("default"))) void glUniform1iARB (GLint, GLint);
5960 __attribute__((visibility("default"))) void glUniform2iARB (GLint, GLint, GLint);
5961 __attribute__((visibility("default"))) void glUniform3iARB (GLint, GLint, GLint, GLint);
5962 __attribute__((visibility("default"))) void glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
5963 __attribute__((visibility("default"))) void glUniform1fvARB (GLint, GLsizei, const GLfloat *);
5964 __attribute__((visibility("default"))) void glUniform2fvARB (GLint, GLsizei, const GLfloat *);
5965 __attribute__((visibility("default"))) void glUniform3fvARB (GLint, GLsizei, const GLfloat *);
5966 __attribute__((visibility("default"))) void glUniform4fvARB (GLint, GLsizei, const GLfloat *);
5967 __attribute__((visibility("default"))) void glUniform1ivARB (GLint, GLsizei, const GLint *);
5968 __attribute__((visibility("default"))) void glUniform2ivARB (GLint, GLsizei, const GLint *);
5969 __attribute__((visibility("default"))) void glUniform3ivARB (GLint, GLsizei, const GLint *);
5970 __attribute__((visibility("default"))) void glUniform4ivARB (GLint, GLsizei, const GLint *);
5971 __attribute__((visibility("default"))) void glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
5972 __attribute__((visibility("default"))) void glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
5973 __attribute__((visibility("default"))) void glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
5974 __attribute__((visibility("default"))) void glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
5975 __attribute__((visibility("default"))) void glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
5976 __attribute__((visibility("default"))) void glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
5977 __attribute__((visibility("default"))) void glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
5978 __attribute__((visibility("default"))) GLint glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
5979 __attribute__((visibility("default"))) void glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
5980 __attribute__((visibility("default"))) void glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
5981 __attribute__((visibility("default"))) void glGetUniformivARB (GLhandleARB, GLint, GLint *);
5982 __attribute__((visibility("default"))) void glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
5983
5984 typedef void ( * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
5985 typedef GLhandleARB ( * PFNGLGETHANDLEARBPROC) (GLenum pname);
5986 typedef void ( * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
5987 typedef GLhandleARB ( * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
5988 typedef void ( * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
5989 typedef void ( * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
5990 typedef GLhandleARB ( * PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
5991 typedef void ( * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
5992 typedef void ( * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
5993 typedef void ( * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
5994 typedef void ( * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
5995 typedef void ( * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
5996 typedef void ( * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
5997 typedef void ( * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
5998 typedef void ( * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
5999 typedef void ( * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
6000 typedef void ( * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
6001 typedef void ( * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
6002 typedef void ( * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6003 typedef void ( * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6004 typedef void ( * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6005 typedef void ( * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6006 typedef void ( * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6007 typedef void ( * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6008 typedef void ( * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6009 typedef void ( * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6010 typedef void ( * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6011 typedef void ( * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6012 typedef void ( * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6013 typedef void ( * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6014 typedef void ( * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
6015 typedef void ( * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
6016 typedef void ( * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
6017 typedef void ( * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
6018 typedef GLint ( * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
6019 typedef void ( * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6020 typedef void ( * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
6021 typedef void ( * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
6022 typedef void ( * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
6023
6024
6025
6026
6027
6028 __attribute__((visibility("default"))) void glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
6029 __attribute__((visibility("default"))) void glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
6030 __attribute__((visibility("default"))) GLint glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
6031
6032 typedef void ( * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
6033 typedef void ( * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6034 typedef GLint ( * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
6035 # 4540 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6036 __attribute__((visibility("default"))) void glDrawBuffersARB (GLsizei, const GLenum *);
6037
6038 typedef void ( * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
6039 # 4552 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6040 __attribute__((visibility("default"))) void glClampColorARB (GLenum, GLenum);
6041
6042 typedef void ( * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
6043 # 4576 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6044 __attribute__((visibility("default"))) void glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
6045
6046 typedef void ( * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
6047
6048
6049
6050
6051
6052 __attribute__((visibility("default"))) void glPolygonOffsetEXT (GLfloat, GLfloat);
6053
6054 typedef void ( * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
6055 # 4596 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6056 __attribute__((visibility("default"))) void glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
6057 __attribute__((visibility("default"))) void glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
6058
6059 typedef void ( * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
6060 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);
6061
6062
6063
6064
6065
6066 __attribute__((visibility("default"))) void glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
6067 __attribute__((visibility("default"))) void glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
6068
6069 typedef void ( * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
6070 typedef void ( * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
6071
6072
6073
6074
6075
6076 __attribute__((visibility("default"))) void glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
6077 __attribute__((visibility("default"))) void glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
6078
6079 typedef void ( * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
6080 typedef void ( * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
6081
6082
6083
6084
6085
6086 __attribute__((visibility("default"))) void glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
6087 __attribute__((visibility("default"))) void glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
6088 __attribute__((visibility("default"))) void glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
6089 __attribute__((visibility("default"))) void glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
6090 __attribute__((visibility("default"))) void glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
6091
6092 typedef void ( * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6093 typedef void ( * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6094 typedef void ( * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6095 typedef void ( * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6096 typedef void ( * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6097
6098
6099
6100
6101
6102 __attribute__((visibility("default"))) void glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
6103 __attribute__((visibility("default"))) void glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
6104 __attribute__((visibility("default"))) void glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
6105 __attribute__((visibility("default"))) void glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
6106 __attribute__((visibility("default"))) void glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
6107 __attribute__((visibility("default"))) void glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
6108 __attribute__((visibility("default"))) void glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
6109 __attribute__((visibility("default"))) void glMinmaxEXT (GLenum, GLenum, GLboolean);
6110 __attribute__((visibility("default"))) void glResetHistogramEXT (GLenum);
6111 __attribute__((visibility("default"))) void glResetMinmaxEXT (GLenum);
6112
6113 typedef void ( * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6114 typedef void ( * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6115 typedef void ( * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6116 typedef void ( * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6117 typedef void ( * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6118 typedef void ( * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6119 typedef void ( * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6120 typedef void ( * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
6121 typedef void ( * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
6122 typedef void ( * PFNGLRESETMINMAXEXTPROC) (GLenum target);
6123
6124
6125
6126
6127
6128 __attribute__((visibility("default"))) void glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
6129 __attribute__((visibility("default"))) void glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
6130 __attribute__((visibility("default"))) void glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
6131 __attribute__((visibility("default"))) void glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
6132 __attribute__((visibility("default"))) void glConvolutionParameteriEXT (GLenum, GLenum, GLint);
6133 __attribute__((visibility("default"))) void glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
6134 __attribute__((visibility("default"))) void glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
6135 __attribute__((visibility("default"))) void glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
6136 __attribute__((visibility("default"))) void glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
6137 __attribute__((visibility("default"))) void glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
6138 __attribute__((visibility("default"))) void glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
6139 __attribute__((visibility("default"))) void glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
6140 __attribute__((visibility("default"))) void glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
6141
6142 typedef void ( * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
6143 typedef void ( * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
6144 typedef void ( * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
6145 typedef void ( * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6146 typedef void ( * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
6147 typedef void ( * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6148 typedef void ( * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6149 typedef void ( * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6150 typedef void ( * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
6151 typedef void ( * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6152 typedef void ( * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6153 typedef void ( * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
6154 typedef void ( * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
6155 # 4704 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6156 __attribute__((visibility("default"))) void glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
6157 __attribute__((visibility("default"))) void glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
6158 __attribute__((visibility("default"))) void glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
6159 __attribute__((visibility("default"))) void glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
6160 __attribute__((visibility("default"))) void glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
6161 __attribute__((visibility("default"))) void glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
6162 __attribute__((visibility("default"))) void glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
6163
6164 typedef void ( * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
6165 typedef void ( * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
6166 typedef void ( * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
6167 typedef void ( * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6168 typedef void ( * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
6169 typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
6170 typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
6171
6172
6173
6174
6175
6176 __attribute__((visibility("default"))) void glPixelTexGenSGIX (GLenum);
6177
6178 typedef void ( * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
6179
6180
6181
6182
6183
6184 __attribute__((visibility("default"))) void glPixelTexGenParameteriSGIS (GLenum, GLint);
6185 __attribute__((visibility("default"))) void glPixelTexGenParameterivSGIS (GLenum, const GLint *);
6186 __attribute__((visibility("default"))) void glPixelTexGenParameterfSGIS (GLenum, GLfloat);
6187 __attribute__((visibility("default"))) void glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
6188 __attribute__((visibility("default"))) void glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
6189 __attribute__((visibility("default"))) void glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
6190
6191 typedef void ( * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
6192 typedef void ( * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
6193 typedef void ( * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
6194 typedef void ( * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
6195 typedef void ( * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
6196 typedef void ( * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
6197
6198
6199
6200
6201
6202 __attribute__((visibility("default"))) void glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
6203 __attribute__((visibility("default"))) void glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
6204
6205 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);
6206 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);
6207 # 4768 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6208 __attribute__((visibility("default"))) GLboolean glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
6209 __attribute__((visibility("default"))) void glBindTextureEXT (GLenum, GLuint);
6210 __attribute__((visibility("default"))) void glDeleteTexturesEXT (GLsizei, const GLuint *);
6211 __attribute__((visibility("default"))) void glGenTexturesEXT (GLsizei, GLuint *);
6212 __attribute__((visibility("default"))) GLboolean glIsTextureEXT (GLuint);
6213 __attribute__((visibility("default"))) void glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
6214
6215 typedef GLboolean ( * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
6216 typedef void ( * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
6217 typedef void ( * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
6218 typedef void ( * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
6219 typedef GLboolean ( * PFNGLISTEXTUREEXTPROC) (GLuint texture);
6220 typedef void ( * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
6221
6222
6223
6224
6225
6226 __attribute__((visibility("default"))) void glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
6227 __attribute__((visibility("default"))) void glGetDetailTexFuncSGIS (GLenum, GLfloat *);
6228
6229 typedef void ( * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
6230 typedef void ( * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
6231
6232
6233
6234
6235
6236 __attribute__((visibility("default"))) void glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
6237 __attribute__((visibility("default"))) void glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
6238
6239 typedef void ( * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
6240 typedef void ( * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
6241 # 4814 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6242 __attribute__((visibility("default"))) void glSampleMaskSGIS (GLclampf, GLboolean);
6243 __attribute__((visibility("default"))) void glSamplePatternSGIS (GLenum);
6244
6245 typedef void ( * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
6246 typedef void ( * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
6247 # 4828 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6248 __attribute__((visibility("default"))) void glArrayElementEXT (GLint);
6249 __attribute__((visibility("default"))) void glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
6250 __attribute__((visibility("default"))) void glDrawArraysEXT (GLenum, GLint, GLsizei);
6251 __attribute__((visibility("default"))) void glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
6252 __attribute__((visibility("default"))) void glGetPointervEXT (GLenum, GLvoid* *);
6253 __attribute__((visibility("default"))) void glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
6254 __attribute__((visibility("default"))) void glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
6255 __attribute__((visibility("default"))) void glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
6256 __attribute__((visibility("default"))) void glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
6257
6258 typedef void ( * PFNGLARRAYELEMENTEXTPROC) (GLint i);
6259 typedef void ( * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
6260 typedef void ( * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
6261 typedef void ( * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
6262 typedef void ( * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
6263 typedef void ( * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
6264 typedef void ( * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
6265 typedef void ( * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
6266 typedef void ( * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
6267 # 4876 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6268 __attribute__((visibility("default"))) void glBlendEquationEXT (GLenum);
6269
6270 typedef void ( * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6271 # 4904 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6272 __attribute__((visibility("default"))) void glSpriteParameterfSGIX (GLenum, GLfloat);
6273 __attribute__((visibility("default"))) void glSpriteParameterfvSGIX (GLenum, const GLfloat *);
6274 __attribute__((visibility("default"))) void glSpriteParameteriSGIX (GLenum, GLint);
6275 __attribute__((visibility("default"))) void glSpriteParameterivSGIX (GLenum, const GLint *);
6276
6277 typedef void ( * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
6278 typedef void ( * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
6279 typedef void ( * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
6280 typedef void ( * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
6281 # 4922 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6282 __attribute__((visibility("default"))) void glPointParameterfEXT (GLenum, GLfloat);
6283 __attribute__((visibility("default"))) void glPointParameterfvEXT (GLenum, const GLfloat *);
6284
6285 typedef void ( * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
6286 typedef void ( * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
6287
6288
6289
6290
6291
6292 __attribute__((visibility("default"))) void glPointParameterfSGIS (GLenum, GLfloat);
6293 __attribute__((visibility("default"))) void glPointParameterfvSGIS (GLenum, const GLfloat *);
6294
6295 typedef void ( * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
6296 typedef void ( * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
6297
6298
6299
6300
6301
6302 __attribute__((visibility("default"))) GLint glGetInstrumentsSGIX (void);
6303 __attribute__((visibility("default"))) void glInstrumentsBufferSGIX (GLsizei, GLint *);
6304 __attribute__((visibility("default"))) GLint glPollInstrumentsSGIX (GLint *);
6305 __attribute__((visibility("default"))) void glReadInstrumentsSGIX (GLint);
6306 __attribute__((visibility("default"))) void glStartInstrumentsSGIX (void);
6307 __attribute__((visibility("default"))) void glStopInstrumentsSGIX (GLint);
6308
6309 typedef GLint ( * PFNGLGETINSTRUMENTSSGIXPROC) (void);
6310 typedef void ( * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
6311 typedef GLint ( * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
6312 typedef void ( * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
6313 typedef void ( * PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
6314 typedef void ( * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
6315 # 4964 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6316 __attribute__((visibility("default"))) void glFrameZoomSGIX (GLint);
6317
6318 typedef void ( * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
6319
6320
6321
6322
6323
6324 __attribute__((visibility("default"))) void glTagSampleBufferSGIX (void);
6325
6326 typedef void ( * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
6327
6328
6329
6330
6331
6332 __attribute__((visibility("default"))) void glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
6333 __attribute__((visibility("default"))) void glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
6334 __attribute__((visibility("default"))) void glDeformSGIX (GLbitfield);
6335 __attribute__((visibility("default"))) void glLoadIdentityDeformationMapSGIX (GLbitfield);
6336
6337 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);
6338 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);
6339 typedef void ( * PFNGLDEFORMSGIXPROC) (GLbitfield mask);
6340 typedef void ( * PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
6341
6342
6343
6344
6345
6346 __attribute__((visibility("default"))) void glReferencePlaneSGIX (const GLdouble *);
6347
6348 typedef void ( * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
6349
6350
6351
6352
6353
6354 __attribute__((visibility("default"))) void glFlushRasterSGIX (void);
6355
6356 typedef void ( * PFNGLFLUSHRASTERSGIXPROC) (void);
6357 # 5014 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6358 __attribute__((visibility("default"))) void glFogFuncSGIS (GLsizei, const GLfloat *);
6359 __attribute__((visibility("default"))) void glGetFogFuncSGIS (GLfloat *);
6360
6361 typedef void ( * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
6362 typedef void ( * PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
6363 # 5028 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6364 __attribute__((visibility("default"))) void glImageTransformParameteriHP (GLenum, GLenum, GLint);
6365 __attribute__((visibility("default"))) void glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
6366 __attribute__((visibility("default"))) void glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
6367 __attribute__((visibility("default"))) void glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
6368 __attribute__((visibility("default"))) void glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
6369 __attribute__((visibility("default"))) void glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
6370
6371 typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
6372 typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
6373 typedef void ( * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
6374 typedef void ( * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
6375 typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
6376 typedef void ( * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
6377 # 5054 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6378 __attribute__((visibility("default"))) void glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
6379 __attribute__((visibility("default"))) void glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
6380
6381 typedef void ( * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
6382 typedef void ( * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6383 # 5068 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6384 __attribute__((visibility("default"))) void glHintPGI (GLenum, GLint);
6385
6386 typedef void ( * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
6387
6388
6389
6390
6391
6392 __attribute__((visibility("default"))) void glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
6393 __attribute__((visibility("default"))) void glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
6394 __attribute__((visibility("default"))) void glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
6395 __attribute__((visibility("default"))) void glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
6396
6397 typedef void ( * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
6398 typedef void ( * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
6399 typedef void ( * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6400 typedef void ( * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6401 # 5094 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6402 __attribute__((visibility("default"))) void glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
6403 __attribute__((visibility("default"))) void glGetListParameterivSGIX (GLuint, GLenum, GLint *);
6404 __attribute__((visibility("default"))) void glListParameterfSGIX (GLuint, GLenum, GLfloat);
6405 __attribute__((visibility("default"))) void glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
6406 __attribute__((visibility("default"))) void glListParameteriSGIX (GLuint, GLenum, GLint);
6407 __attribute__((visibility("default"))) void glListParameterivSGIX (GLuint, GLenum, const GLint *);
6408
6409 typedef void ( * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
6410 typedef void ( * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
6411 typedef void ( * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
6412 typedef void ( * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
6413 typedef void ( * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
6414 typedef void ( * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
6415 # 5132 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6416 __attribute__((visibility("default"))) void glIndexMaterialEXT (GLenum, GLenum);
6417
6418 typedef void ( * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
6419
6420
6421
6422
6423
6424 __attribute__((visibility("default"))) void glIndexFuncEXT (GLenum, GLclampf);
6425
6426 typedef void ( * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
6427 # 5152 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6428 __attribute__((visibility("default"))) void glLockArraysEXT (GLint, GLsizei);
6429 __attribute__((visibility("default"))) void glUnlockArraysEXT (void);
6430
6431 typedef void ( * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6432 typedef void ( * PFNGLUNLOCKARRAYSEXTPROC) (void);
6433
6434
6435
6436
6437
6438 __attribute__((visibility("default"))) void glCullParameterdvEXT (GLenum, GLdouble *);
6439 __attribute__((visibility("default"))) void glCullParameterfvEXT (GLenum, GLfloat *);
6440
6441 typedef void ( * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6442 typedef void ( * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6443 # 5176 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6444 __attribute__((visibility("default"))) void glFragmentColorMaterialSGIX (GLenum, GLenum);
6445 __attribute__((visibility("default"))) void glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
6446 __attribute__((visibility("default"))) void glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
6447 __attribute__((visibility("default"))) void glFragmentLightiSGIX (GLenum, GLenum, GLint);
6448 __attribute__((visibility("default"))) void glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
6449 __attribute__((visibility("default"))) void glFragmentLightModelfSGIX (GLenum, GLfloat);
6450 __attribute__((visibility("default"))) void glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
6451 __attribute__((visibility("default"))) void glFragmentLightModeliSGIX (GLenum, GLint);
6452 __attribute__((visibility("default"))) void glFragmentLightModelivSGIX (GLenum, const GLint *);
6453 __attribute__((visibility("default"))) void glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
6454 __attribute__((visibility("default"))) void glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
6455 __attribute__((visibility("default"))) void glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
6456 __attribute__((visibility("default"))) void glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
6457 __attribute__((visibility("default"))) void glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
6458 __attribute__((visibility("default"))) void glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
6459 __attribute__((visibility("default"))) void glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
6460 __attribute__((visibility("default"))) void glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
6461 __attribute__((visibility("default"))) void glLightEnviSGIX (GLenum, GLint);
6462
6463 typedef void ( * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
6464 typedef void ( * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
6465 typedef void ( * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
6466 typedef void ( * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
6467 typedef void ( * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
6468 typedef void ( * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
6469 typedef void ( * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
6470 typedef void ( * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
6471 typedef void ( * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
6472 typedef void ( * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
6473 typedef void ( * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
6474 typedef void ( * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
6475 typedef void ( * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
6476 typedef void ( * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
6477 typedef void ( * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
6478 typedef void ( * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
6479 typedef void ( * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
6480 typedef void ( * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
6481 # 5226 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6482 __attribute__((visibility("default"))) void glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
6483
6484 typedef void ( * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
6485 # 5242 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6486 __attribute__((visibility("default"))) void glApplyTextureEXT (GLenum);
6487 __attribute__((visibility("default"))) void glTextureLightEXT (GLenum);
6488 __attribute__((visibility("default"))) void glTextureMaterialEXT (GLenum, GLenum);
6489
6490 typedef void ( * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
6491 typedef void ( * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
6492 typedef void ( * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
6493 # 5262 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6494 __attribute__((visibility("default"))) void glAsyncMarkerSGIX (GLuint);
6495 __attribute__((visibility("default"))) GLint glFinishAsyncSGIX (GLuint *);
6496 __attribute__((visibility("default"))) GLint glPollAsyncSGIX (GLuint *);
6497 __attribute__((visibility("default"))) GLuint glGenAsyncMarkersSGIX (GLsizei);
6498 __attribute__((visibility("default"))) void glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
6499 __attribute__((visibility("default"))) GLboolean glIsAsyncMarkerSGIX (GLuint);
6500
6501 typedef void ( * PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
6502 typedef GLint ( * PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
6503 typedef GLint ( * PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
6504 typedef GLuint ( * PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
6505 typedef void ( * PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
6506 typedef GLboolean ( * PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
6507 # 5288 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6508 __attribute__((visibility("default"))) void glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
6509 __attribute__((visibility("default"))) void glNormalPointervINTEL (GLenum, const GLvoid* *);
6510 __attribute__((visibility("default"))) void glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
6511 __attribute__((visibility("default"))) void glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
6512
6513 typedef void ( * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
6514 typedef void ( * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
6515 typedef void ( * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
6516 typedef void ( * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
6517 # 5306 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6518 __attribute__((visibility("default"))) void glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
6519 __attribute__((visibility("default"))) void glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
6520 __attribute__((visibility("default"))) void glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
6521 __attribute__((visibility("default"))) void glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
6522
6523 typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
6524 typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
6525 typedef void ( * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6526 typedef void ( * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6527 # 5332 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6528 __attribute__((visibility("default"))) void glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
6529 __attribute__((visibility("default"))) void glSecondaryColor3bvEXT (const GLbyte *);
6530 __attribute__((visibility("default"))) void glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
6531 __attribute__((visibility("default"))) void glSecondaryColor3dvEXT (const GLdouble *);
6532 __attribute__((visibility("default"))) void glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
6533 __attribute__((visibility("default"))) void glSecondaryColor3fvEXT (const GLfloat *);
6534 __attribute__((visibility("default"))) void glSecondaryColor3iEXT (GLint, GLint, GLint);
6535 __attribute__((visibility("default"))) void glSecondaryColor3ivEXT (const GLint *);
6536 __attribute__((visibility("default"))) void glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
6537 __attribute__((visibility("default"))) void glSecondaryColor3svEXT (const GLshort *);
6538 __attribute__((visibility("default"))) void glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
6539 __attribute__((visibility("default"))) void glSecondaryColor3ubvEXT (const GLubyte *);
6540 __attribute__((visibility("default"))) void glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
6541 __attribute__((visibility("default"))) void glSecondaryColor3uivEXT (const GLuint *);
6542 __attribute__((visibility("default"))) void glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
6543 __attribute__((visibility("default"))) void glSecondaryColor3usvEXT (const GLushort *);
6544 __attribute__((visibility("default"))) void glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *);
6545
6546 typedef void ( * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
6547 typedef void ( * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
6548 typedef void ( * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
6549 typedef void ( * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
6550 typedef void ( * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
6551 typedef void ( * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
6552 typedef void ( * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
6553 typedef void ( * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
6554 typedef void ( * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
6555 typedef void ( * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
6556 typedef void ( * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
6557 typedef void ( * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
6558 typedef void ( * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
6559 typedef void ( * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
6560 typedef void ( * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
6561 typedef void ( * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
6562 typedef void ( * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6563
6564
6565
6566
6567
6568 __attribute__((visibility("default"))) void glTextureNormalEXT (GLenum);
6569
6570 typedef void ( * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
6571
6572
6573
6574
6575
6576 __attribute__((visibility("default"))) void glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
6577 __attribute__((visibility("default"))) void glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
6578
6579 typedef void ( * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
6580 typedef void ( * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
6581
6582
6583
6584
6585
6586 __attribute__((visibility("default"))) void glFogCoordfEXT (GLfloat);
6587 __attribute__((visibility("default"))) void glFogCoordfvEXT (const GLfloat *);
6588 __attribute__((visibility("default"))) void glFogCoorddEXT (GLdouble);
6589 __attribute__((visibility("default"))) void glFogCoorddvEXT (const GLdouble *);
6590 __attribute__((visibility("default"))) void glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
6591
6592 typedef void ( * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
6593 typedef void ( * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
6594 typedef void ( * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
6595 typedef void ( * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
6596 typedef void ( * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
6597 # 5410 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6598 __attribute__((visibility("default"))) void glTangent3bEXT (GLbyte, GLbyte, GLbyte);
6599 __attribute__((visibility("default"))) void glTangent3bvEXT (const GLbyte *);
6600 __attribute__((visibility("default"))) void glTangent3dEXT (GLdouble, GLdouble, GLdouble);
6601 __attribute__((visibility("default"))) void glTangent3dvEXT (const GLdouble *);
6602 __attribute__((visibility("default"))) void glTangent3fEXT (GLfloat, GLfloat, GLfloat);
6603 __attribute__((visibility("default"))) void glTangent3fvEXT (const GLfloat *);
6604 __attribute__((visibility("default"))) void glTangent3iEXT (GLint, GLint, GLint);
6605 __attribute__((visibility("default"))) void glTangent3ivEXT (const GLint *);
6606 __attribute__((visibility("default"))) void glTangent3sEXT (GLshort, GLshort, GLshort);
6607 __attribute__((visibility("default"))) void glTangent3svEXT (const GLshort *);
6608 __attribute__((visibility("default"))) void glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
6609 __attribute__((visibility("default"))) void glBinormal3bvEXT (const GLbyte *);
6610 __attribute__((visibility("default"))) void glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
6611 __attribute__((visibility("default"))) void glBinormal3dvEXT (const GLdouble *);
6612 __attribute__((visibility("default"))) void glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
6613 __attribute__((visibility("default"))) void glBinormal3fvEXT (const GLfloat *);
6614 __attribute__((visibility("default"))) void glBinormal3iEXT (GLint, GLint, GLint);
6615 __attribute__((visibility("default"))) void glBinormal3ivEXT (const GLint *);
6616 __attribute__((visibility("default"))) void glBinormal3sEXT (GLshort, GLshort, GLshort);
6617 __attribute__((visibility("default"))) void glBinormal3svEXT (const GLshort *);
6618 __attribute__((visibility("default"))) void glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
6619 __attribute__((visibility("default"))) void glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
6620
6621 typedef void ( * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
6622 typedef void ( * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
6623 typedef void ( * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
6624 typedef void ( * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
6625 typedef void ( * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
6626 typedef void ( * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
6627 typedef void ( * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
6628 typedef void ( * PFNGLTANGENT3IVEXTPROC) (const GLint *v);
6629 typedef void ( * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
6630 typedef void ( * PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
6631 typedef void ( * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
6632 typedef void ( * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
6633 typedef void ( * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
6634 typedef void ( * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
6635 typedef void ( * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
6636 typedef void ( * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
6637 typedef void ( * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
6638 typedef void ( * PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
6639 typedef void ( * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
6640 typedef void ( * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
6641 typedef void ( * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
6642 typedef void ( * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
6643 # 5476 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6644 __attribute__((visibility("default"))) void glFinishTextureSUNX (void);
6645
6646 typedef void ( * PFNGLFINISHTEXTURESUNXPROC) (void);
6647
6648
6649
6650
6651
6652 __attribute__((visibility("default"))) void glGlobalAlphaFactorbSUN (GLbyte);
6653 __attribute__((visibility("default"))) void glGlobalAlphaFactorsSUN (GLshort);
6654 __attribute__((visibility("default"))) void glGlobalAlphaFactoriSUN (GLint);
6655 __attribute__((visibility("default"))) void glGlobalAlphaFactorfSUN (GLfloat);
6656 __attribute__((visibility("default"))) void glGlobalAlphaFactordSUN (GLdouble);
6657 __attribute__((visibility("default"))) void glGlobalAlphaFactorubSUN (GLubyte);
6658 __attribute__((visibility("default"))) void glGlobalAlphaFactorusSUN (GLushort);
6659 __attribute__((visibility("default"))) void glGlobalAlphaFactoruiSUN (GLuint);
6660
6661 typedef void ( * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
6662 typedef void ( * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
6663 typedef void ( * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
6664 typedef void ( * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
6665 typedef void ( * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
6666 typedef void ( * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
6667 typedef void ( * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
6668 typedef void ( * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
6669
6670
6671
6672
6673
6674 __attribute__((visibility("default"))) void glReplacementCodeuiSUN (GLuint);
6675 __attribute__((visibility("default"))) void glReplacementCodeusSUN (GLushort);
6676 __attribute__((visibility("default"))) void glReplacementCodeubSUN (GLubyte);
6677 __attribute__((visibility("default"))) void glReplacementCodeuivSUN (const GLuint *);
6678 __attribute__((visibility("default"))) void glReplacementCodeusvSUN (const GLushort *);
6679 __attribute__((visibility("default"))) void glReplacementCodeubvSUN (const GLubyte *);
6680 __attribute__((visibility("default"))) void glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
6681
6682 typedef void ( * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
6683 typedef void ( * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
6684 typedef void ( * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
6685 typedef void ( * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
6686 typedef void ( * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
6687 typedef void ( * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
6688 typedef void ( * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
6689
6690
6691
6692
6693
6694 __attribute__((visibility("default"))) void glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
6695 __attribute__((visibility("default"))) void glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
6696 __attribute__((visibility("default"))) void glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
6697 __attribute__((visibility("default"))) void glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
6698 __attribute__((visibility("default"))) void glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6699 __attribute__((visibility("default"))) void glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
6700 __attribute__((visibility("default"))) void glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6701 __attribute__((visibility("default"))) void glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
6702 __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6703 __attribute__((visibility("default"))) void glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
6704 __attribute__((visibility("default"))) void glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6705 __attribute__((visibility("default"))) void glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
6706 __attribute__((visibility("default"))) void glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6707 __attribute__((visibility("default"))) void glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
6708 __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
6709 __attribute__((visibility("default"))) void glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
6710 __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6711 __attribute__((visibility("default"))) void glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
6712 __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6713 __attribute__((visibility("default"))) void glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
6714 __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6715 __attribute__((visibility("default"))) void glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
6716 __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6717 __attribute__((visibility("default"))) void glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
6718 __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat);
6719 __attribute__((visibility("default"))) void glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *);
6720 __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
6721 __attribute__((visibility("default"))) void glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *);
6722 __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6723 __attribute__((visibility("default"))) void glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
6724 __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6725 __attribute__((visibility("default"))) void glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
6726 __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6727 __attribute__((visibility("default"))) void glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
6728 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6729 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
6730 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6731 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
6732 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
6733 __attribute__((visibility("default"))) void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
6734
6735 typedef void ( * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
6736 typedef void ( * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
6737 typedef void ( * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
6738 typedef void ( * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
6739 typedef void ( * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
6740 typedef void ( * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
6741 typedef void ( * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
6742 typedef void ( * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
6743 typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
6744 typedef void ( * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
6745 typedef void ( * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
6746 typedef void ( * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
6747 typedef void ( * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6748 typedef void ( * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
6749 typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
6750 typedef void ( * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
6751 typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
6752 typedef void ( * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
6753 typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
6754 typedef void ( * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
6755 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);
6756 typedef void ( * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
6757 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);
6758 typedef void ( * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
6759 typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
6760 typedef void ( * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
6761 typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
6762 typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
6763 typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
6764 typedef void ( * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
6765 typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
6766 typedef void ( * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
6767 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);
6768 typedef void ( * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
6769 typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
6770 typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
6771 typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
6772 typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
6773 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);
6774 typedef void ( * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
6775
6776
6777
6778
6779
6780 __attribute__((visibility("default"))) void glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
6781
6782 typedef void ( * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6783
6784
6785
6786
6787
6788 __attribute__((visibility("default"))) void glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
6789
6790 typedef void ( * PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6791 # 5664 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6792 __attribute__((visibility("default"))) void glVertexWeightfEXT (GLfloat);
6793 __attribute__((visibility("default"))) void glVertexWeightfvEXT (const GLfloat *);
6794 __attribute__((visibility("default"))) void glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
6795
6796 typedef void ( * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
6797 typedef void ( * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
6798 typedef void ( * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
6799 # 5680 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6800 __attribute__((visibility("default"))) void glFlushVertexArrayRangeNV (void);
6801 __attribute__((visibility("default"))) void glVertexArrayRangeNV (GLsizei, const GLvoid *);
6802
6803 typedef void ( * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
6804 typedef void ( * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
6805
6806
6807
6808
6809
6810 __attribute__((visibility("default"))) void glCombinerParameterfvNV (GLenum, const GLfloat *);
6811 __attribute__((visibility("default"))) void glCombinerParameterfNV (GLenum, GLfloat);
6812 __attribute__((visibility("default"))) void glCombinerParameterivNV (GLenum, const GLint *);
6813 __attribute__((visibility("default"))) void glCombinerParameteriNV (GLenum, GLint);
6814 __attribute__((visibility("default"))) void glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
6815 __attribute__((visibility("default"))) void glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
6816 __attribute__((visibility("default"))) void glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
6817 __attribute__((visibility("default"))) void glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
6818 __attribute__((visibility("default"))) void glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
6819 __attribute__((visibility("default"))) void glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
6820 __attribute__((visibility("default"))) void glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
6821 __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
6822 __attribute__((visibility("default"))) void glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
6823
6824 typedef void ( * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
6825 typedef void ( * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
6826 typedef void ( * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
6827 typedef void ( * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
6828 typedef void ( * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
6829 typedef void ( * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
6830 typedef void ( * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
6831 typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
6832 typedef void ( * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
6833 typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
6834 typedef void ( * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
6835 typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
6836 typedef void ( * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
6837 # 5738 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6838 __attribute__((visibility("default"))) void glResizeBuffersMESA (void);
6839
6840 typedef void ( * PFNGLRESIZEBUFFERSMESAPROC) (void);
6841
6842
6843
6844
6845
6846 __attribute__((visibility("default"))) void glWindowPos2dMESA (GLdouble, GLdouble);
6847 __attribute__((visibility("default"))) void glWindowPos2dvMESA (const GLdouble *);
6848 __attribute__((visibility("default"))) void glWindowPos2fMESA (GLfloat, GLfloat);
6849 __attribute__((visibility("default"))) void glWindowPos2fvMESA (const GLfloat *);
6850 __attribute__((visibility("default"))) void glWindowPos2iMESA (GLint, GLint);
6851 __attribute__((visibility("default"))) void glWindowPos2ivMESA (const GLint *);
6852 __attribute__((visibility("default"))) void glWindowPos2sMESA (GLshort, GLshort);
6853 __attribute__((visibility("default"))) void glWindowPos2svMESA (const GLshort *);
6854 __attribute__((visibility("default"))) void glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
6855 __attribute__((visibility("default"))) void glWindowPos3dvMESA (const GLdouble *);
6856 __attribute__((visibility("default"))) void glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
6857 __attribute__((visibility("default"))) void glWindowPos3fvMESA (const GLfloat *);
6858 __attribute__((visibility("default"))) void glWindowPos3iMESA (GLint, GLint, GLint);
6859 __attribute__((visibility("default"))) void glWindowPos3ivMESA (const GLint *);
6860 __attribute__((visibility("default"))) void glWindowPos3sMESA (GLshort, GLshort, GLshort);
6861 __attribute__((visibility("default"))) void glWindowPos3svMESA (const GLshort *);
6862 __attribute__((visibility("default"))) void glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
6863 __attribute__((visibility("default"))) void glWindowPos4dvMESA (const GLdouble *);
6864 __attribute__((visibility("default"))) void glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
6865 __attribute__((visibility("default"))) void glWindowPos4fvMESA (const GLfloat *);
6866 __attribute__((visibility("default"))) void glWindowPos4iMESA (GLint, GLint, GLint, GLint);
6867 __attribute__((visibility("default"))) void glWindowPos4ivMESA (const GLint *);
6868 __attribute__((visibility("default"))) void glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
6869 __attribute__((visibility("default"))) void glWindowPos4svMESA (const GLshort *);
6870
6871 typedef void ( * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
6872 typedef void ( * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
6873 typedef void ( * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
6874 typedef void ( * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
6875 typedef void ( * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
6876 typedef void ( * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
6877 typedef void ( * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
6878 typedef void ( * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
6879 typedef void ( * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
6880 typedef void ( * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
6881 typedef void ( * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
6882 typedef void ( * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
6883 typedef void ( * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
6884 typedef void ( * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
6885 typedef void ( * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
6886 typedef void ( * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
6887 typedef void ( * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6888 typedef void ( * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
6889 typedef void ( * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6890 typedef void ( * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
6891 typedef void ( * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
6892 typedef void ( * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
6893 typedef void ( * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
6894 typedef void ( * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
6895 # 5804 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6896 __attribute__((visibility("default"))) void glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
6897 __attribute__((visibility("default"))) void glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint);
6898
6899 typedef void ( * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
6900 typedef void ( * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
6901
6902
6903
6904
6905
6906 __attribute__((visibility("default"))) void glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
6907 __attribute__((visibility("default"))) void glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
6908 __attribute__((visibility("default"))) void glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
6909 __attribute__((visibility("default"))) void glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
6910 __attribute__((visibility("default"))) void glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
6911 __attribute__((visibility("default"))) void glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
6912 __attribute__((visibility("default"))) void glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
6913 __attribute__((visibility("default"))) void glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
6914
6915 typedef void ( * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6916 typedef void ( * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6917 typedef void ( * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
6918 typedef void ( * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6919 typedef void ( * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6920 typedef void ( * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6921 typedef void ( * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6922 typedef void ( * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
6923 # 5860 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6924 __attribute__((visibility("default"))) void glTbufferMask3DFX (GLuint);
6925
6926 typedef void ( * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
6927
6928
6929
6930
6931
6932 __attribute__((visibility("default"))) void glSampleMaskEXT (GLclampf, GLboolean);
6933 __attribute__((visibility("default"))) void glSamplePatternEXT (GLenum);
6934
6935 typedef void ( * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
6936 typedef void ( * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
6937 # 5894 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6938 __attribute__((visibility("default"))) void glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
6939
6940 typedef void ( * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
6941
6942
6943
6944
6945
6946 __attribute__((visibility("default"))) void glIglooInterfaceSGIX (GLenum, const GLvoid *);
6947
6948 typedef void ( * PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
6949 # 5918 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6950 __attribute__((visibility("default"))) void glDeleteFencesNV (GLsizei, const GLuint *);
6951 __attribute__((visibility("default"))) void glGenFencesNV (GLsizei, GLuint *);
6952 __attribute__((visibility("default"))) GLboolean glIsFenceNV (GLuint);
6953 __attribute__((visibility("default"))) GLboolean glTestFenceNV (GLuint);
6954 __attribute__((visibility("default"))) void glGetFenceivNV (GLuint, GLenum, GLint *);
6955 __attribute__((visibility("default"))) void glFinishFenceNV (GLuint);
6956 __attribute__((visibility("default"))) void glSetFenceNV (GLuint, GLenum);
6957
6958 typedef void ( * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
6959 typedef void ( * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
6960 typedef GLboolean ( * PFNGLISFENCENVPROC) (GLuint fence);
6961 typedef GLboolean ( * PFNGLTESTFENCENVPROC) (GLuint fence);
6962 typedef void ( * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
6963 typedef void ( * PFNGLFINISHFENCENVPROC) (GLuint fence);
6964 typedef void ( * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
6965
6966
6967
6968
6969
6970 __attribute__((visibility("default"))) void glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *);
6971 __attribute__((visibility("default"))) void glMapParameterivNV (GLenum, GLenum, const GLint *);
6972 __attribute__((visibility("default"))) void glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
6973 __attribute__((visibility("default"))) void glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *);
6974 __attribute__((visibility("default"))) void glGetMapParameterivNV (GLenum, GLenum, GLint *);
6975 __attribute__((visibility("default"))) void glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
6976 __attribute__((visibility("default"))) void glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *);
6977 __attribute__((visibility("default"))) void glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
6978 __attribute__((visibility("default"))) void glEvalMapsNV (GLenum, GLenum);
6979
6980 typedef void ( * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
6981 typedef void ( * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
6982 typedef void ( * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
6983 typedef void ( * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
6984 typedef void ( * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
6985 typedef void ( * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
6986 typedef void ( * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
6987 typedef void ( * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
6988 typedef void ( * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
6989 # 5966 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6990 __attribute__((visibility("default"))) void glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
6991 __attribute__((visibility("default"))) void glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
6992
6993 typedef void ( * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
6994 typedef void ( * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
6995 # 5996 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
6996 __attribute__((visibility("default"))) GLboolean glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *);
6997 __attribute__((visibility("default"))) void glBindProgramNV (GLenum, GLuint);
6998 __attribute__((visibility("default"))) void glDeleteProgramsNV (GLsizei, const GLuint *);
6999 __attribute__((visibility("default"))) void glExecuteProgramNV (GLenum, GLuint, const GLfloat *);
7000 __attribute__((visibility("default"))) void glGenProgramsNV (GLsizei, GLuint *);
7001 __attribute__((visibility("default"))) void glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *);
7002 __attribute__((visibility("default"))) void glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
7003 __attribute__((visibility("default"))) void glGetProgramivNV (GLuint, GLenum, GLint *);
7004 __attribute__((visibility("default"))) void glGetProgramStringNV (GLuint, GLenum, GLubyte *);
7005 __attribute__((visibility("default"))) void glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *);
7006 __attribute__((visibility("default"))) void glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *);
7007 __attribute__((visibility("default"))) void glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *);
7008 __attribute__((visibility("default"))) void glGetVertexAttribivNV (GLuint, GLenum, GLint *);
7009 __attribute__((visibility("default"))) void glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *);
7010 __attribute__((visibility("default"))) GLboolean glIsProgramNV (GLuint);
7011 __attribute__((visibility("default"))) void glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *);
7012 __attribute__((visibility("default"))) void glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
7013 __attribute__((visibility("default"))) void glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *);
7014 __attribute__((visibility("default"))) void glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
7015 __attribute__((visibility("default"))) void glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *);
7016 __attribute__((visibility("default"))) void glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *);
7017 __attribute__((visibility("default"))) void glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *);
7018 __attribute__((visibility("default"))) void glRequestResidentProgramsNV (GLsizei, const GLuint *);
7019 __attribute__((visibility("default"))) void glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum);
7020 __attribute__((visibility("default"))) void glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
7021 __attribute__((visibility("default"))) void glVertexAttrib1dNV (GLuint, GLdouble);
7022 __attribute__((visibility("default"))) void glVertexAttrib1dvNV (GLuint, const GLdouble *);
7023 __attribute__((visibility("default"))) void glVertexAttrib1fNV (GLuint, GLfloat);
7024 __attribute__((visibility("default"))) void glVertexAttrib1fvNV (GLuint, const GLfloat *);
7025 __attribute__((visibility("default"))) void glVertexAttrib1sNV (GLuint, GLshort);
7026 __attribute__((visibility("default"))) void glVertexAttrib1svNV (GLuint, const GLshort *);
7027 __attribute__((visibility("default"))) void glVertexAttrib2dNV (GLuint, GLdouble, GLdouble);
7028 __attribute__((visibility("default"))) void glVertexAttrib2dvNV (GLuint, const GLdouble *);
7029 __attribute__((visibility("default"))) void glVertexAttrib2fNV (GLuint, GLfloat, GLfloat);
7030 __attribute__((visibility("default"))) void glVertexAttrib2fvNV (GLuint, const GLfloat *);
7031 __attribute__((visibility("default"))) void glVertexAttrib2sNV (GLuint, GLshort, GLshort);
7032 __attribute__((visibility("default"))) void glVertexAttrib2svNV (GLuint, const GLshort *);
7033 __attribute__((visibility("default"))) void glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble);
7034 __attribute__((visibility("default"))) void glVertexAttrib3dvNV (GLuint, const GLdouble *);
7035 __attribute__((visibility("default"))) void glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat);
7036 __attribute__((visibility("default"))) void glVertexAttrib3fvNV (GLuint, const GLfloat *);
7037 __attribute__((visibility("default"))) void glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort);
7038 __attribute__((visibility("default"))) void glVertexAttrib3svNV (GLuint, const GLshort *);
7039 __attribute__((visibility("default"))) void glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
7040 __attribute__((visibility("default"))) void glVertexAttrib4dvNV (GLuint, const GLdouble *);
7041 __attribute__((visibility("default"))) void glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
7042 __attribute__((visibility("default"))) void glVertexAttrib4fvNV (GLuint, const GLfloat *);
7043 __attribute__((visibility("default"))) void glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort);
7044 __attribute__((visibility("default"))) void glVertexAttrib4svNV (GLuint, const GLshort *);
7045 __attribute__((visibility("default"))) void glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
7046 __attribute__((visibility("default"))) void glVertexAttrib4ubvNV (GLuint, const GLubyte *);
7047 __attribute__((visibility("default"))) void glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *);
7048 __attribute__((visibility("default"))) void glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *);
7049 __attribute__((visibility("default"))) void glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *);
7050 __attribute__((visibility("default"))) void glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *);
7051 __attribute__((visibility("default"))) void glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *);
7052 __attribute__((visibility("default"))) void glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *);
7053 __attribute__((visibility("default"))) void glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *);
7054 __attribute__((visibility("default"))) void glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *);
7055 __attribute__((visibility("default"))) void glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *);
7056 __attribute__((visibility("default"))) void glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *);
7057 __attribute__((visibility("default"))) void glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *);
7058 __attribute__((visibility("default"))) void glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *);
7059 __attribute__((visibility("default"))) void glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *);
7060
7061 typedef GLboolean ( * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
7062 typedef void ( * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
7063 typedef void ( * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
7064 typedef void ( * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
7065 typedef void ( * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
7066 typedef void ( * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
7067 typedef void ( * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
7068 typedef void ( * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
7069 typedef void ( * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
7070 typedef void ( * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
7071 typedef void ( * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
7072 typedef void ( * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
7073 typedef void ( * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
7074 typedef void ( * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
7075 typedef GLboolean ( * PFNGLISPROGRAMNVPROC) (GLuint id);
7076 typedef void ( * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
7077 typedef void ( * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7078 typedef void ( * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
7079 typedef void ( * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7080 typedef void ( * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
7081 typedef void ( * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
7082 typedef void ( * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
7083 typedef void ( * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
7084 typedef void ( * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
7085 typedef void ( * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
7086 typedef void ( * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
7087 typedef void ( * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
7088 typedef void ( * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
7089 typedef void ( * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
7090 typedef void ( * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
7091 typedef void ( * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
7092 typedef void ( * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
7093 typedef void ( * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
7094 typedef void ( * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
7095 typedef void ( * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
7096 typedef void ( * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
7097 typedef void ( * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
7098 typedef void ( * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7099 typedef void ( * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
7100 typedef void ( * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
7101 typedef void ( * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
7102 typedef void ( * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
7103 typedef void ( * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
7104 typedef void ( * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7105 typedef void ( * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
7106 typedef void ( * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7107 typedef void ( * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
7108 typedef void ( * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
7109 typedef void ( * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
7110 typedef void ( * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
7111 typedef void ( * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
7112 typedef void ( * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
7113 typedef void ( * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
7114 typedef void ( * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
7115 typedef void ( * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
7116 typedef void ( * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
7117 typedef void ( * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
7118 typedef void ( * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
7119 typedef void ( * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
7120 typedef void ( * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
7121 typedef void ( * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
7122 typedef void ( * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
7123 typedef void ( * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
7124 typedef void ( * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
7125 # 6154 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7126 __attribute__((visibility("default"))) void glTexBumpParameterivATI (GLenum, const GLint *);
7127 __attribute__((visibility("default"))) void glTexBumpParameterfvATI (GLenum, const GLfloat *);
7128 __attribute__((visibility("default"))) void glGetTexBumpParameterivATI (GLenum, GLint *);
7129 __attribute__((visibility("default"))) void glGetTexBumpParameterfvATI (GLenum, GLfloat *);
7130
7131 typedef void ( * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
7132 typedef void ( * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
7133 typedef void ( * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
7134 typedef void ( * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
7135
7136
7137
7138
7139
7140 __attribute__((visibility("default"))) GLuint glGenFragmentShadersATI (GLuint);
7141 __attribute__((visibility("default"))) void glBindFragmentShaderATI (GLuint);
7142 __attribute__((visibility("default"))) void glDeleteFragmentShaderATI (GLuint);
7143 __attribute__((visibility("default"))) void glBeginFragmentShaderATI (void);
7144 __attribute__((visibility("default"))) void glEndFragmentShaderATI (void);
7145 __attribute__((visibility("default"))) void glPassTexCoordATI (GLuint, GLuint, GLenum);
7146 __attribute__((visibility("default"))) void glSampleMapATI (GLuint, GLuint, GLenum);
7147 __attribute__((visibility("default"))) void glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
7148 __attribute__((visibility("default"))) void glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
7149 __attribute__((visibility("default"))) void glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
7150 __attribute__((visibility("default"))) void glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
7151 __attribute__((visibility("default"))) void glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
7152 __attribute__((visibility("default"))) void glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
7153 __attribute__((visibility("default"))) void glSetFragmentShaderConstantATI (GLuint, const GLfloat *);
7154
7155 typedef GLuint ( * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
7156 typedef void ( * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
7157 typedef void ( * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
7158 typedef void ( * PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
7159 typedef void ( * PFNGLENDFRAGMENTSHADERATIPROC) (void);
7160 typedef void ( * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
7161 typedef void ( * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
7162 typedef void ( * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
7163 typedef void ( * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
7164 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);
7165 typedef void ( * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
7166 typedef void ( * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
7167 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);
7168 typedef void ( * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
7169
7170
7171
7172
7173
7174 __attribute__((visibility("default"))) void glPNTrianglesiATI (GLenum, GLint);
7175 __attribute__((visibility("default"))) void glPNTrianglesfATI (GLenum, GLfloat);
7176
7177 typedef void ( * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
7178 typedef void ( * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
7179
7180
7181
7182
7183
7184 __attribute__((visibility("default"))) GLuint glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum);
7185 __attribute__((visibility("default"))) GLboolean glIsObjectBufferATI (GLuint);
7186 __attribute__((visibility("default"))) void glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum);
7187 __attribute__((visibility("default"))) void glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *);
7188 __attribute__((visibility("default"))) void glGetObjectBufferivATI (GLuint, GLenum, GLint *);
7189 __attribute__((visibility("default"))) void glFreeObjectBufferATI (GLuint);
7190 __attribute__((visibility("default"))) void glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint);
7191 __attribute__((visibility("default"))) void glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *);
7192 __attribute__((visibility("default"))) void glGetArrayObjectivATI (GLenum, GLenum, GLint *);
7193 __attribute__((visibility("default"))) void glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint);
7194 __attribute__((visibility("default"))) void glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *);
7195 __attribute__((visibility("default"))) void glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *);
7196
7197 typedef GLuint ( * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
7198 typedef GLboolean ( * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
7199 typedef void ( * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
7200 typedef void ( * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
7201 typedef void ( * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
7202 typedef void ( * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
7203 typedef void ( * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
7204 typedef void ( * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
7205 typedef void ( * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
7206 typedef void ( * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
7207 typedef void ( * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
7208 typedef void ( * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
7209
7210
7211
7212
7213
7214 __attribute__((visibility("default"))) void glBeginVertexShaderEXT (void);
7215 __attribute__((visibility("default"))) void glEndVertexShaderEXT (void);
7216 __attribute__((visibility("default"))) void glBindVertexShaderEXT (GLuint);
7217 __attribute__((visibility("default"))) GLuint glGenVertexShadersEXT (GLuint);
7218 __attribute__((visibility("default"))) void glDeleteVertexShaderEXT (GLuint);
7219 __attribute__((visibility("default"))) void glShaderOp1EXT (GLenum, GLuint, GLuint);
7220 __attribute__((visibility("default"))) void glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint);
7221 __attribute__((visibility("default"))) void glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint);
7222 __attribute__((visibility("default"))) void glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
7223 __attribute__((visibility("default"))) void glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
7224 __attribute__((visibility("default"))) void glInsertComponentEXT (GLuint, GLuint, GLuint);
7225 __attribute__((visibility("default"))) void glExtractComponentEXT (GLuint, GLuint, GLuint);
7226 __attribute__((visibility("default"))) GLuint glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint);
7227 __attribute__((visibility("default"))) void glSetInvariantEXT (GLuint, GLenum, const GLvoid *);
7228 __attribute__((visibility("default"))) void glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *);
7229 __attribute__((visibility("default"))) void glVariantbvEXT (GLuint, const GLbyte *);
7230 __attribute__((visibility("default"))) void glVariantsvEXT (GLuint, const GLshort *);
7231 __attribute__((visibility("default"))) void glVariantivEXT (GLuint, const GLint *);
7232 __attribute__((visibility("default"))) void glVariantfvEXT (GLuint, const GLfloat *);
7233 __attribute__((visibility("default"))) void glVariantdvEXT (GLuint, const GLdouble *);
7234 __attribute__((visibility("default"))) void glVariantubvEXT (GLuint, const GLubyte *);
7235 __attribute__((visibility("default"))) void glVariantusvEXT (GLuint, const GLushort *);
7236 __attribute__((visibility("default"))) void glVariantuivEXT (GLuint, const GLuint *);
7237 __attribute__((visibility("default"))) void glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *);
7238 __attribute__((visibility("default"))) void glEnableVariantClientStateEXT (GLuint);
7239 __attribute__((visibility("default"))) void glDisableVariantClientStateEXT (GLuint);
7240 __attribute__((visibility("default"))) GLuint glBindLightParameterEXT (GLenum, GLenum);
7241 __attribute__((visibility("default"))) GLuint glBindMaterialParameterEXT (GLenum, GLenum);
7242 __attribute__((visibility("default"))) GLuint glBindTexGenParameterEXT (GLenum, GLenum, GLenum);
7243 __attribute__((visibility("default"))) GLuint glBindTextureUnitParameterEXT (GLenum, GLenum);
7244 __attribute__((visibility("default"))) GLuint glBindParameterEXT (GLenum);
7245 __attribute__((visibility("default"))) GLboolean glIsVariantEnabledEXT (GLuint, GLenum);
7246 __attribute__((visibility("default"))) void glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *);
7247 __attribute__((visibility("default"))) void glGetVariantIntegervEXT (GLuint, GLenum, GLint *);
7248 __attribute__((visibility("default"))) void glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *);
7249 __attribute__((visibility("default"))) void glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *);
7250 __attribute__((visibility("default"))) void glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *);
7251 __attribute__((visibility("default"))) void glGetInvariantIntegervEXT (GLuint, GLenum, GLint *);
7252 __attribute__((visibility("default"))) void glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *);
7253 __attribute__((visibility("default"))) void glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *);
7254 __attribute__((visibility("default"))) void glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *);
7255 __attribute__((visibility("default"))) void glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *);
7256
7257 typedef void ( * PFNGLBEGINVERTEXSHADEREXTPROC) (void);
7258 typedef void ( * PFNGLENDVERTEXSHADEREXTPROC) (void);
7259 typedef void ( * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
7260 typedef GLuint ( * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
7261 typedef void ( * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
7262 typedef void ( * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
7263 typedef void ( * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
7264 typedef void ( * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
7265 typedef void ( * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7266 typedef void ( * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7267 typedef void ( * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
7268 typedef void ( * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
7269 typedef GLuint ( * PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
7270 typedef void ( * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
7271 typedef void ( * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
7272 typedef void ( * PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
7273 typedef void ( * PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
7274 typedef void ( * PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
7275 typedef void ( * PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
7276 typedef void ( * PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
7277 typedef void ( * PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
7278 typedef void ( * PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
7279 typedef void ( * PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
7280 typedef void ( * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
7281 typedef void ( * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
7282 typedef void ( * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
7283 typedef GLuint ( * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
7284 typedef GLuint ( * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
7285 typedef GLuint ( * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
7286 typedef GLuint ( * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
7287 typedef GLuint ( * PFNGLBINDPARAMETEREXTPROC) (GLenum value);
7288 typedef GLboolean ( * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
7289 typedef void ( * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7290 typedef void ( * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7291 typedef void ( * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7292 typedef void ( * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
7293 typedef void ( * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7294 typedef void ( * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7295 typedef void ( * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7296 typedef void ( * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7297 typedef void ( * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7298 typedef void ( * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7299
7300
7301
7302
7303
7304 __attribute__((visibility("default"))) void glVertexStream1sATI (GLenum, GLshort);
7305 __attribute__((visibility("default"))) void glVertexStream1svATI (GLenum, const GLshort *);
7306 __attribute__((visibility("default"))) void glVertexStream1iATI (GLenum, GLint);
7307 __attribute__((visibility("default"))) void glVertexStream1ivATI (GLenum, const GLint *);
7308 __attribute__((visibility("default"))) void glVertexStream1fATI (GLenum, GLfloat);
7309 __attribute__((visibility("default"))) void glVertexStream1fvATI (GLenum, const GLfloat *);
7310 __attribute__((visibility("default"))) void glVertexStream1dATI (GLenum, GLdouble);
7311 __attribute__((visibility("default"))) void glVertexStream1dvATI (GLenum, const GLdouble *);
7312 __attribute__((visibility("default"))) void glVertexStream2sATI (GLenum, GLshort, GLshort);
7313 __attribute__((visibility("default"))) void glVertexStream2svATI (GLenum, const GLshort *);
7314 __attribute__((visibility("default"))) void glVertexStream2iATI (GLenum, GLint, GLint);
7315 __attribute__((visibility("default"))) void glVertexStream2ivATI (GLenum, const GLint *);
7316 __attribute__((visibility("default"))) void glVertexStream2fATI (GLenum, GLfloat, GLfloat);
7317 __attribute__((visibility("default"))) void glVertexStream2fvATI (GLenum, const GLfloat *);
7318 __attribute__((visibility("default"))) void glVertexStream2dATI (GLenum, GLdouble, GLdouble);
7319 __attribute__((visibility("default"))) void glVertexStream2dvATI (GLenum, const GLdouble *);
7320 __attribute__((visibility("default"))) void glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort);
7321 __attribute__((visibility("default"))) void glVertexStream3svATI (GLenum, const GLshort *);
7322 __attribute__((visibility("default"))) void glVertexStream3iATI (GLenum, GLint, GLint, GLint);
7323 __attribute__((visibility("default"))) void glVertexStream3ivATI (GLenum, const GLint *);
7324 __attribute__((visibility("default"))) void glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
7325 __attribute__((visibility("default"))) void glVertexStream3fvATI (GLenum, const GLfloat *);
7326 __attribute__((visibility("default"))) void glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
7327 __attribute__((visibility("default"))) void glVertexStream3dvATI (GLenum, const GLdouble *);
7328 __attribute__((visibility("default"))) void glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort);
7329 __attribute__((visibility("default"))) void glVertexStream4svATI (GLenum, const GLshort *);
7330 __attribute__((visibility("default"))) void glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint);
7331 __attribute__((visibility("default"))) void glVertexStream4ivATI (GLenum, const GLint *);
7332 __attribute__((visibility("default"))) void glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
7333 __attribute__((visibility("default"))) void glVertexStream4fvATI (GLenum, const GLfloat *);
7334 __attribute__((visibility("default"))) void glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
7335 __attribute__((visibility("default"))) void glVertexStream4dvATI (GLenum, const GLdouble *);
7336 __attribute__((visibility("default"))) void glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte);
7337 __attribute__((visibility("default"))) void glNormalStream3bvATI (GLenum, const GLbyte *);
7338 __attribute__((visibility("default"))) void glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort);
7339 __attribute__((visibility("default"))) void glNormalStream3svATI (GLenum, const GLshort *);
7340 __attribute__((visibility("default"))) void glNormalStream3iATI (GLenum, GLint, GLint, GLint);
7341 __attribute__((visibility("default"))) void glNormalStream3ivATI (GLenum, const GLint *);
7342 __attribute__((visibility("default"))) void glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
7343 __attribute__((visibility("default"))) void glNormalStream3fvATI (GLenum, const GLfloat *);
7344 __attribute__((visibility("default"))) void glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
7345 __attribute__((visibility("default"))) void glNormalStream3dvATI (GLenum, const GLdouble *);
7346 __attribute__((visibility("default"))) void glClientActiveVertexStreamATI (GLenum);
7347 __attribute__((visibility("default"))) void glVertexBlendEnviATI (GLenum, GLint);
7348 __attribute__((visibility("default"))) void glVertexBlendEnvfATI (GLenum, GLfloat);
7349
7350 typedef void ( * PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
7351 typedef void ( * PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
7352 typedef void ( * PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
7353 typedef void ( * PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
7354 typedef void ( * PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
7355 typedef void ( * PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
7356 typedef void ( * PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
7357 typedef void ( * PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
7358 typedef void ( * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
7359 typedef void ( * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
7360 typedef void ( * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
7361 typedef void ( * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
7362 typedef void ( * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
7363 typedef void ( * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
7364 typedef void ( * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
7365 typedef void ( * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
7366 typedef void ( * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
7367 typedef void ( * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
7368 typedef void ( * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
7369 typedef void ( * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
7370 typedef void ( * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
7371 typedef void ( * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
7372 typedef void ( * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
7373 typedef void ( * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
7374 typedef void ( * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
7375 typedef void ( * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
7376 typedef void ( * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
7377 typedef void ( * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
7378 typedef void ( * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7379 typedef void ( * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
7380 typedef void ( * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7381 typedef void ( * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
7382 typedef void ( * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
7383 typedef void ( * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
7384 typedef void ( * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
7385 typedef void ( * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
7386 typedef void ( * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
7387 typedef void ( * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
7388 typedef void ( * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
7389 typedef void ( * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
7390 typedef void ( * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
7391 typedef void ( * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
7392 typedef void ( * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
7393 typedef void ( * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
7394 typedef void ( * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
7395
7396
7397
7398
7399
7400 __attribute__((visibility("default"))) void glElementPointerATI (GLenum, const GLvoid *);
7401 __attribute__((visibility("default"))) void glDrawElementArrayATI (GLenum, GLsizei);
7402 __attribute__((visibility("default"))) void glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei);
7403
7404 typedef void ( * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
7405 typedef void ( * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
7406 typedef void ( * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
7407
7408
7409
7410
7411
7412 __attribute__((visibility("default"))) void glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei);
7413
7414 typedef void ( * PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
7415 # 6460 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7416 __attribute__((visibility("default"))) void glGenOcclusionQueriesNV (GLsizei, GLuint *);
7417 __attribute__((visibility("default"))) void glDeleteOcclusionQueriesNV (GLsizei, const GLuint *);
7418 __attribute__((visibility("default"))) GLboolean glIsOcclusionQueryNV (GLuint);
7419 __attribute__((visibility("default"))) void glBeginOcclusionQueryNV (GLuint);
7420 __attribute__((visibility("default"))) void glEndOcclusionQueryNV (void);
7421 __attribute__((visibility("default"))) void glGetOcclusionQueryivNV (GLuint, GLenum, GLint *);
7422 __attribute__((visibility("default"))) void glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *);
7423
7424 typedef void ( * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
7425 typedef void ( * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
7426 typedef GLboolean ( * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
7427 typedef void ( * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
7428 typedef void ( * PFNGLENDOCCLUSIONQUERYNVPROC) (void);
7429 typedef void ( * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
7430 typedef void ( * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
7431
7432
7433
7434
7435
7436 __attribute__((visibility("default"))) void glPointParameteriNV (GLenum, GLint);
7437 __attribute__((visibility("default"))) void glPointParameterivNV (GLenum, const GLint *);
7438
7439 typedef void ( * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
7440 typedef void ( * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
7441 # 6502 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7442 __attribute__((visibility("default"))) void glActiveStencilFaceEXT (GLenum);
7443
7444 typedef void ( * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
7445 # 6518 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7446 __attribute__((visibility("default"))) void glElementPointerAPPLE (GLenum, const GLvoid *);
7447 __attribute__((visibility("default"))) void glDrawElementArrayAPPLE (GLenum, GLint, GLsizei);
7448 __attribute__((visibility("default"))) void glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei);
7449 __attribute__((visibility("default"))) void glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei);
7450 __attribute__((visibility("default"))) void glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei);
7451
7452 typedef void ( * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
7453 typedef void ( * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
7454 typedef void ( * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
7455 typedef void ( * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7456 typedef void ( * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
7457
7458
7459
7460
7461
7462 __attribute__((visibility("default"))) void glGenFencesAPPLE (GLsizei, GLuint *);
7463 __attribute__((visibility("default"))) void glDeleteFencesAPPLE (GLsizei, const GLuint *);
7464 __attribute__((visibility("default"))) void glSetFenceAPPLE (GLuint);
7465 __attribute__((visibility("default"))) GLboolean glIsFenceAPPLE (GLuint);
7466 __attribute__((visibility("default"))) GLboolean glTestFenceAPPLE (GLuint);
7467 __attribute__((visibility("default"))) void glFinishFenceAPPLE (GLuint);
7468 __attribute__((visibility("default"))) GLboolean glTestObjectAPPLE (GLenum, GLuint);
7469 __attribute__((visibility("default"))) void glFinishObjectAPPLE (GLenum, GLint);
7470
7471 typedef void ( * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
7472 typedef void ( * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
7473 typedef void ( * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
7474 typedef GLboolean ( * PFNGLISFENCEAPPLEPROC) (GLuint fence);
7475 typedef GLboolean ( * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
7476 typedef void ( * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
7477 typedef GLboolean ( * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
7478 typedef void ( * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
7479
7480
7481
7482
7483
7484 __attribute__((visibility("default"))) void glBindVertexArrayAPPLE (GLuint);
7485 __attribute__((visibility("default"))) void glDeleteVertexArraysAPPLE (GLsizei, const GLuint *);
7486 __attribute__((visibility("default"))) void glGenVertexArraysAPPLE (GLsizei, GLuint *);
7487 __attribute__((visibility("default"))) GLboolean glIsVertexArrayAPPLE (GLuint);
7488
7489 typedef void ( * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
7490 typedef void ( * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
7491 typedef void ( * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
7492 typedef GLboolean ( * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
7493
7494
7495
7496
7497
7498 __attribute__((visibility("default"))) void glVertexArrayRangeAPPLE (GLsizei, GLvoid *);
7499 __attribute__((visibility("default"))) void glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *);
7500 __attribute__((visibility("default"))) void glVertexArrayParameteriAPPLE (GLenum, GLint);
7501
7502 typedef void ( * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
7503 typedef void ( * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
7504 typedef void ( * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
7505 # 6590 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7506 __attribute__((visibility("default"))) void glDrawBuffersATI (GLsizei, const GLenum *);
7507
7508 typedef void ( * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
7509 # 6618 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7510 __attribute__((visibility("default"))) void glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
7511 __attribute__((visibility("default"))) void glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
7512 __attribute__((visibility("default"))) void glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *);
7513 __attribute__((visibility("default"))) void glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *);
7514 __attribute__((visibility("default"))) void glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *);
7515 __attribute__((visibility("default"))) void glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *);
7516
7517 typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7518 typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7519 typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
7520 typedef void ( * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
7521 typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
7522 typedef void ( * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
7523
7524
7525
7526
7527
7528 __attribute__((visibility("default"))) void glVertex2hNV (GLhalfNV, GLhalfNV);
7529 __attribute__((visibility("default"))) void glVertex2hvNV (const GLhalfNV *);
7530 __attribute__((visibility("default"))) void glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
7531 __attribute__((visibility("default"))) void glVertex3hvNV (const GLhalfNV *);
7532 __attribute__((visibility("default"))) void glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
7533 __attribute__((visibility("default"))) void glVertex4hvNV (const GLhalfNV *);
7534 __attribute__((visibility("default"))) void glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
7535 __attribute__((visibility("default"))) void glNormal3hvNV (const GLhalfNV *);
7536 __attribute__((visibility("default"))) void glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
7537 __attribute__((visibility("default"))) void glColor3hvNV (const GLhalfNV *);
7538 __attribute__((visibility("default"))) void glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
7539 __attribute__((visibility("default"))) void glColor4hvNV (const GLhalfNV *);
7540 __attribute__((visibility("default"))) void glTexCoord1hNV (GLhalfNV);
7541 __attribute__((visibility("default"))) void glTexCoord1hvNV (const GLhalfNV *);
7542 __attribute__((visibility("default"))) void glTexCoord2hNV (GLhalfNV, GLhalfNV);
7543 __attribute__((visibility("default"))) void glTexCoord2hvNV (const GLhalfNV *);
7544 __attribute__((visibility("default"))) void glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
7545 __attribute__((visibility("default"))) void glTexCoord3hvNV (const GLhalfNV *);
7546 __attribute__((visibility("default"))) void glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
7547 __attribute__((visibility("default"))) void glTexCoord4hvNV (const GLhalfNV *);
7548 __attribute__((visibility("default"))) void glMultiTexCoord1hNV (GLenum, GLhalfNV);
7549 __attribute__((visibility("default"))) void glMultiTexCoord1hvNV (GLenum, const GLhalfNV *);
7550 __attribute__((visibility("default"))) void glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV);
7551 __attribute__((visibility("default"))) void glMultiTexCoord2hvNV (GLenum, const GLhalfNV *);
7552 __attribute__((visibility("default"))) void glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV);
7553 __attribute__((visibility("default"))) void glMultiTexCoord3hvNV (GLenum, const GLhalfNV *);
7554 __attribute__((visibility("default"))) void glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
7555 __attribute__((visibility("default"))) void glMultiTexCoord4hvNV (GLenum, const GLhalfNV *);
7556 __attribute__((visibility("default"))) void glFogCoordhNV (GLhalfNV);
7557 __attribute__((visibility("default"))) void glFogCoordhvNV (const GLhalfNV *);
7558 __attribute__((visibility("default"))) void glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
7559 __attribute__((visibility("default"))) void glSecondaryColor3hvNV (const GLhalfNV *);
7560 __attribute__((visibility("default"))) void glVertexWeighthNV (GLhalfNV);
7561 __attribute__((visibility("default"))) void glVertexWeighthvNV (const GLhalfNV *);
7562 __attribute__((visibility("default"))) void glVertexAttrib1hNV (GLuint, GLhalfNV);
7563 __attribute__((visibility("default"))) void glVertexAttrib1hvNV (GLuint, const GLhalfNV *);
7564 __attribute__((visibility("default"))) void glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV);
7565 __attribute__((visibility("default"))) void glVertexAttrib2hvNV (GLuint, const GLhalfNV *);
7566 __attribute__((visibility("default"))) void glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV);
7567 __attribute__((visibility("default"))) void glVertexAttrib3hvNV (GLuint, const GLhalfNV *);
7568 __attribute__((visibility("default"))) void glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
7569 __attribute__((visibility("default"))) void glVertexAttrib4hvNV (GLuint, const GLhalfNV *);
7570 __attribute__((visibility("default"))) void glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *);
7571 __attribute__((visibility("default"))) void glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *);
7572 __attribute__((visibility("default"))) void glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *);
7573 __attribute__((visibility("default"))) void glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *);
7574
7575 typedef void ( * PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
7576 typedef void ( * PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
7577 typedef void ( * PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
7578 typedef void ( * PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
7579 typedef void ( * PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
7580 typedef void ( * PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
7581 typedef void ( * PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
7582 typedef void ( * PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
7583 typedef void ( * PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
7584 typedef void ( * PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
7585 typedef void ( * PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
7586 typedef void ( * PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
7587 typedef void ( * PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
7588 typedef void ( * PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
7589 typedef void ( * PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
7590 typedef void ( * PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
7591 typedef void ( * PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
7592 typedef void ( * PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
7593 typedef void ( * PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
7594 typedef void ( * PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
7595 typedef void ( * PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
7596 typedef void ( * PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
7597 typedef void ( * PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
7598 typedef void ( * PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
7599 typedef void ( * PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
7600 typedef void ( * PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
7601 typedef void ( * PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
7602 typedef void ( * PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
7603 typedef void ( * PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
7604 typedef void ( * PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
7605 typedef void ( * PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
7606 typedef void ( * PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
7607 typedef void ( * PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
7608 typedef void ( * PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
7609 typedef void ( * PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
7610 typedef void ( * PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
7611 typedef void ( * PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
7612 typedef void ( * PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
7613 typedef void ( * PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
7614 typedef void ( * PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
7615 typedef void ( * PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
7616 typedef void ( * PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
7617 typedef void ( * PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
7618 typedef void ( * PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
7619 typedef void ( * PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
7620 typedef void ( * PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
7621
7622
7623
7624
7625
7626 __attribute__((visibility("default"))) void glPixelDataRangeNV (GLenum, GLsizei, GLvoid *);
7627 __attribute__((visibility("default"))) void glFlushPixelDataRangeNV (GLenum);
7628
7629 typedef void ( * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
7630 typedef void ( * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
7631
7632
7633
7634
7635
7636 __attribute__((visibility("default"))) void glPrimitiveRestartNV (void);
7637 __attribute__((visibility("default"))) void glPrimitiveRestartIndexNV (GLuint);
7638
7639 typedef void ( * PFNGLPRIMITIVERESTARTNVPROC) (void);
7640 typedef void ( * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
7641 # 6762 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7642 __attribute__((visibility("default"))) GLvoid* glMapObjectBufferATI (GLuint);
7643 __attribute__((visibility("default"))) void glUnmapObjectBufferATI (GLuint);
7644
7645 typedef GLvoid* ( * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
7646 typedef void ( * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
7647
7648
7649
7650
7651
7652 __attribute__((visibility("default"))) void glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum);
7653 __attribute__((visibility("default"))) void glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint);
7654
7655 typedef void ( * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
7656 typedef void ( * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
7657
7658
7659
7660
7661
7662 __attribute__((visibility("default"))) void glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint);
7663 __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *);
7664 __attribute__((visibility("default"))) void glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *);
7665
7666 typedef void ( * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
7667 typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
7668 typedef void ( * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
7669 # 6798 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7670 __attribute__((visibility("default"))) void glDepthBoundsEXT (GLclampd, GLclampd);
7671
7672 typedef void ( * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
7673 # 6810 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7674 __attribute__((visibility("default"))) void glBlendEquationSeparateEXT (GLenum, GLenum);
7675
7676 typedef void ( * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
7677 # 6846 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7678 __attribute__((visibility("default"))) GLboolean glIsRenderbufferEXT (GLuint);
7679 __attribute__((visibility("default"))) void glBindRenderbufferEXT (GLenum, GLuint);
7680 __attribute__((visibility("default"))) void glDeleteRenderbuffersEXT (GLsizei, const GLuint *);
7681 __attribute__((visibility("default"))) void glGenRenderbuffersEXT (GLsizei, GLuint *);
7682 __attribute__((visibility("default"))) void glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei);
7683 __attribute__((visibility("default"))) void glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *);
7684 __attribute__((visibility("default"))) GLboolean glIsFramebufferEXT (GLuint);
7685 __attribute__((visibility("default"))) void glBindFramebufferEXT (GLenum, GLuint);
7686 __attribute__((visibility("default"))) void glDeleteFramebuffersEXT (GLsizei, const GLuint *);
7687 __attribute__((visibility("default"))) void glGenFramebuffersEXT (GLsizei, GLuint *);
7688 __attribute__((visibility("default"))) GLenum glCheckFramebufferStatusEXT (GLenum);
7689 __attribute__((visibility("default"))) void glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
7690 __attribute__((visibility("default"))) void glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
7691 __attribute__((visibility("default"))) void glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint);
7692 __attribute__((visibility("default"))) void glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint);
7693 __attribute__((visibility("default"))) void glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *);
7694 __attribute__((visibility("default"))) void glGenerateMipmapEXT (GLenum);
7695
7696 typedef GLboolean ( * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7697 typedef void ( * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7698 typedef void ( * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
7699 typedef void ( * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
7700 typedef void ( * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7701 typedef void ( * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7702 typedef GLboolean ( * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7703 typedef void ( * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7704 typedef void ( * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
7705 typedef void ( * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
7706 typedef GLenum ( * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7707 typedef void ( * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7708 typedef void ( * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7709 typedef void ( * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7710 typedef void ( * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7711 typedef void ( * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7712 typedef void ( * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7713
7714
7715
7716
7717
7718 __attribute__((visibility("default"))) void glStringMarkerGREMEDY (GLsizei, const GLvoid *);
7719
7720 typedef void ( * PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
7721 # 6898 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7722 __attribute__((visibility("default"))) void glStencilClearTagEXT (GLsizei, GLuint);
7723
7724 typedef void ( * PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
7725 # 6910 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7726 __attribute__((visibility("default"))) void glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
7727
7728 typedef void ( * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7729
7730
7731
7732
7733
7734 __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
7735
7736 typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7737 # 6930 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7738 __attribute__((visibility("default"))) void glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *);
7739 __attribute__((visibility("default"))) void glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT *);
7740
7741 typedef void ( * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
7742 typedef void ( * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
7743
7744
7745
7746
7747
7748 __attribute__((visibility("default"))) void glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
7749 __attribute__((visibility("default"))) void glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
7750
7751 typedef void ( * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7752 typedef void ( * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7753
7754
7755
7756
7757
7758 __attribute__((visibility("default"))) void glBufferParameteriAPPLE (GLenum, GLenum, GLint);
7759 __attribute__((visibility("default"))) void glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr);
7760
7761 typedef void ( * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
7762 typedef void ( * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
7763
7764
7765
7766
7767
7768 __attribute__((visibility("default"))) void glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint);
7769 __attribute__((visibility("default"))) void glProgramLocalParameterI4ivNV (GLenum, GLuint, const GLint *);
7770 __attribute__((visibility("default"))) void glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *);
7771 __attribute__((visibility("default"))) void glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
7772 __attribute__((visibility("default"))) void glProgramLocalParameterI4uivNV (GLenum, GLuint, const GLuint *);
7773 __attribute__((visibility("default"))) void glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *);
7774 __attribute__((visibility("default"))) void glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint);
7775 __attribute__((visibility("default"))) void glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLint *);
7776 __attribute__((visibility("default"))) void glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *);
7777 __attribute__((visibility("default"))) void glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
7778 __attribute__((visibility("default"))) void glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLuint *);
7779 __attribute__((visibility("default"))) void glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *);
7780 __attribute__((visibility("default"))) void glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint *);
7781 __attribute__((visibility("default"))) void glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuint *);
7782 __attribute__((visibility("default"))) void glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *);
7783 __attribute__((visibility("default"))) void glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint *);
7784
7785 typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
7786 typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
7787 typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
7788 typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7789 typedef void ( * PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
7790 typedef void ( * PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
7791 typedef void ( * PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
7792 typedef void ( * PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
7793 typedef void ( * PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
7794 typedef void ( * PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7795 typedef void ( * PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
7796 typedef void ( * PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
7797 typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
7798 typedef void ( * PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
7799 typedef void ( * PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
7800 typedef void ( * PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
7801
7802
7803
7804
7805
7806 __attribute__((visibility("default"))) void glProgramVertexLimitNV (GLenum, GLint);
7807 __attribute__((visibility("default"))) void glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint);
7808 __attribute__((visibility("default"))) void glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, GLint, GLint);
7809 __attribute__((visibility("default"))) void glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GLint, GLenum);
7810
7811 typedef void ( * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
7812 typedef void ( * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
7813 typedef void ( * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7814 typedef void ( * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
7815
7816
7817
7818
7819
7820 __attribute__((visibility("default"))) void glProgramParameteriEXT (GLuint, GLenum, GLint);
7821
7822 typedef void ( * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7823
7824
7825
7826
7827
7828 __attribute__((visibility("default"))) void glVertexAttribI1iEXT (GLuint, GLint);
7829 __attribute__((visibility("default"))) void glVertexAttribI2iEXT (GLuint, GLint, GLint);
7830 __attribute__((visibility("default"))) void glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint);
7831 __attribute__((visibility("default"))) void glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLint);
7832 __attribute__((visibility("default"))) void glVertexAttribI1uiEXT (GLuint, GLuint);
7833 __attribute__((visibility("default"))) void glVertexAttribI2uiEXT (GLuint, GLuint, GLuint);
7834 __attribute__((visibility("default"))) void glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint);
7835 __attribute__((visibility("default"))) void glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, GLuint);
7836 __attribute__((visibility("default"))) void glVertexAttribI1ivEXT (GLuint, const GLint *);
7837 __attribute__((visibility("default"))) void glVertexAttribI2ivEXT (GLuint, const GLint *);
7838 __attribute__((visibility("default"))) void glVertexAttribI3ivEXT (GLuint, const GLint *);
7839 __attribute__((visibility("default"))) void glVertexAttribI4ivEXT (GLuint, const GLint *);
7840 __attribute__((visibility("default"))) void glVertexAttribI1uivEXT (GLuint, const GLuint *);
7841 __attribute__((visibility("default"))) void glVertexAttribI2uivEXT (GLuint, const GLuint *);
7842 __attribute__((visibility("default"))) void glVertexAttribI3uivEXT (GLuint, const GLuint *);
7843 __attribute__((visibility("default"))) void glVertexAttribI4uivEXT (GLuint, const GLuint *);
7844 __attribute__((visibility("default"))) void glVertexAttribI4bvEXT (GLuint, const GLbyte *);
7845 __attribute__((visibility("default"))) void glVertexAttribI4svEXT (GLuint, const GLshort *);
7846 __attribute__((visibility("default"))) void glVertexAttribI4ubvEXT (GLuint, const GLubyte *);
7847 __attribute__((visibility("default"))) void glVertexAttribI4usvEXT (GLuint, const GLushort *);
7848 __attribute__((visibility("default"))) void glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
7849 __attribute__((visibility("default"))) void glGetVertexAttribIivEXT (GLuint, GLenum, GLint *);
7850 __attribute__((visibility("default"))) void glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *);
7851
7852 typedef void ( * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
7853 typedef void ( * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
7854 typedef void ( * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
7855 typedef void ( * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
7856 typedef void ( * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
7857 typedef void ( * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
7858 typedef void ( * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
7859 typedef void ( * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7860 typedef void ( * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
7861 typedef void ( * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
7862 typedef void ( * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
7863 typedef void ( * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
7864 typedef void ( * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
7865 typedef void ( * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
7866 typedef void ( * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
7867 typedef void ( * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
7868 typedef void ( * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
7869 typedef void ( * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
7870 typedef void ( * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
7871 typedef void ( * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
7872 typedef void ( * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7873 typedef void ( * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
7874 typedef void ( * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
7875
7876
7877
7878
7879
7880 __attribute__((visibility("default"))) void glGetUniformuivEXT (GLuint, GLint, GLuint *);
7881 __attribute__((visibility("default"))) void glBindFragDataLocationEXT (GLuint, GLuint, const GLchar *);
7882 __attribute__((visibility("default"))) GLint glGetFragDataLocationEXT (GLuint, const GLchar *);
7883 __attribute__((visibility("default"))) void glUniform1uiEXT (GLint, GLuint);
7884 __attribute__((visibility("default"))) void glUniform2uiEXT (GLint, GLuint, GLuint);
7885 __attribute__((visibility("default"))) void glUniform3uiEXT (GLint, GLuint, GLuint, GLuint);
7886 __attribute__((visibility("default"))) void glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint);
7887 __attribute__((visibility("default"))) void glUniform1uivEXT (GLint, GLsizei, const GLuint *);
7888 __attribute__((visibility("default"))) void glUniform2uivEXT (GLint, GLsizei, const GLuint *);
7889 __attribute__((visibility("default"))) void glUniform3uivEXT (GLint, GLsizei, const GLuint *);
7890 __attribute__((visibility("default"))) void glUniform4uivEXT (GLint, GLsizei, const GLuint *);
7891
7892 typedef void ( * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7893 typedef void ( * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7894 typedef GLint ( * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7895 typedef void ( * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7896 typedef void ( * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7897 typedef void ( * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7898 typedef void ( * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7899 typedef void ( * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7900 typedef void ( * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7901 typedef void ( * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7902 typedef void ( * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7903
7904
7905
7906
7907
7908 __attribute__((visibility("default"))) void glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei);
7909 __attribute__((visibility("default"))) void glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
7910
7911 typedef void ( * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7912 typedef void ( * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
7913 # 7118 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7914 __attribute__((visibility("default"))) void glTexBufferEXT (GLenum, GLenum, GLuint);
7915
7916 typedef void ( * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
7917 # 7138 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7918 __attribute__((visibility("default"))) void glDepthRangedNV (GLdouble, GLdouble);
7919 __attribute__((visibility("default"))) void glClearDepthdNV (GLdouble);
7920 __attribute__((visibility("default"))) void glDepthBoundsdNV (GLdouble, GLdouble);
7921
7922 typedef void ( * PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
7923 typedef void ( * PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
7924 typedef void ( * PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
7925 # 7154 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7926 __attribute__((visibility("default"))) void glRenderbufferStorageMultisampleCoverageNV (GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei);
7927
7928 typedef void ( * PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
7929 # 7170 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/glext.h"
7930 __attribute__((visibility("default"))) void glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLsizei, const GLfloat *);
7931 __attribute__((visibility("default"))) void glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLsizei, const GLint *);
7932 __attribute__((visibility("default"))) void glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint, GLsizei, const GLuint *);
7933
7934 typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
7935 typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
7936 typedef void ( * PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
7937
7938
7939
7940
7941
7942 __attribute__((visibility("default"))) void glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
7943 __attribute__((visibility("default"))) void glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *);
7944 __attribute__((visibility("default"))) void glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *);
7945 __attribute__((visibility("default"))) void glEnableIndexedEXT (GLenum, GLuint);
7946 __attribute__((visibility("default"))) void glDisableIndexedEXT (GLenum, GLuint);
7947 __attribute__((visibility("default"))) GLboolean glIsEnabledIndexedEXT (GLenum, GLuint);
7948
7949 typedef void ( * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7950 typedef void ( * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
7951 typedef void ( * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
7952 typedef void ( * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
7953 typedef void ( * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
7954 typedef GLboolean ( * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
7955
7956
7957
7958
7959
7960 __attribute__((visibility("default"))) void glBeginTransformFeedbackNV (GLenum);
7961 __attribute__((visibility("default"))) void glEndTransformFeedbackNV (void);
7962 __attribute__((visibility("default"))) void glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum);
7963 __attribute__((visibility("default"))) void glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
7964 __attribute__((visibility("default"))) void glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr);
7965 __attribute__((visibility("default"))) void glBindBufferBaseNV (GLenum, GLuint, GLuint);
7966 __attribute__((visibility("default"))) void glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum);
7967 __attribute__((visibility("default"))) void glActiveVaryingNV (GLuint, const GLchar *);
7968 __attribute__((visibility("default"))) GLint glGetVaryingLocationNV (GLuint, const GLchar *);
7969 __attribute__((visibility("default"))) void glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
7970 __attribute__((visibility("default"))) void glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *);
7971
7972 typedef void ( * PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
7973 typedef void ( * PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
7974 typedef void ( * PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
7975 typedef void ( * PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
7976 typedef void ( * PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
7977 typedef void ( * PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
7978 typedef void ( * PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
7979 typedef void ( * PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
7980 typedef GLint ( * PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
7981 typedef void ( * PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
7982 typedef void ( * PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
7983
7984
7985
7986
7987
7988 __attribute__((visibility("default"))) void glUniformBufferEXT (GLuint, GLint, GLuint);
7989 __attribute__((visibility("default"))) GLint glGetUniformBufferSizeEXT (GLuint, GLint);
7990 __attribute__((visibility("default"))) GLintptr glGetUniformOffsetEXT (GLuint, GLint);
7991
7992 typedef void ( * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
7993 typedef GLint ( * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
7994 typedef GLintptr ( * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
7995
7996
7997
7998
7999
8000 __attribute__((visibility("default"))) void glTexParameterIivEXT (GLenum, GLenum, const GLint *);
8001 __attribute__((visibility("default"))) void glTexParameterIuivEXT (GLenum, GLenum, const GLuint *);
8002 __attribute__((visibility("default"))) void glGetTexParameterIivEXT (GLenum, GLenum, GLint *);
8003 __attribute__((visibility("default"))) void glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *);
8004 __attribute__((visibility("default"))) void glClearColorIiEXT (GLint, GLint, GLint, GLint);
8005 __attribute__((visibility("default"))) void glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint);
8006
8007 typedef void ( * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8008 typedef void ( * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
8009 typedef void ( * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8010 typedef void ( * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
8011 typedef void ( * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
8012 typedef void ( * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8013 # 2151 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h" 2
8014 # 2165 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
8015 __attribute__((visibility("default"))) GLhandleARB glCreateDebugObjectMESA (void);
8016 __attribute__((visibility("default"))) void glClearDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
8017 __attribute__((visibility("default"))) void glGetDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType, GLsizei maxLength,
8018                                          GLsizei *length, GLcharARB *debugLog);
8019 __attribute__((visibility("default"))) GLsizei glGetDebugLogLengthMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
8020 # 2204 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
8021 typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data);
8022
8023 __attribute__((visibility("default"))) void glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data);
8024
8025 __attribute__((visibility("default"))) void glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v);
8026 # 2218 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/gl.h"
8027 __attribute__((visibility("default"))) void glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA );
8028 typedef void ( * PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA);
8029 # 145 "glheader.h" 2
8030 # 258 "glheader.h"
8031 # 1 "config.h" 1
8032 # 259 "glheader.h" 2
8033 # 29 "texenvprogram.c" 2
8034 # 1 "macros.h" 1
8035 # 34 "macros.h"
8036 # 1 "imports.h" 1
8037 # 42 "imports.h"
8038 # 1 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/internal/glcore.h" 1
8039 # 45 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/internal/glcore.h"
8040 typedef struct __GLcontextRec __GLcontext;
8041 # 70 "/var/tmp/portage/x11-base/xorg-server-1.4.2/work/Mesa-7.0.2/include/GL/internal/glcore.h"
8042 typedef struct __GLcontextModesRec {
8043     struct __GLcontextModesRec * next;
8044
8045     GLboolean rgbMode;
8046     GLboolean floatMode;
8047     GLboolean colorIndexMode;
8048     GLuint doubleBufferMode;
8049     GLuint stereoMode;
8050
8051     GLboolean haveAccumBuffer;
8052     GLboolean haveDepthBuffer;
8053     GLboolean haveStencilBuffer;
8054
8055     GLint redBits, greenBits, blueBits, alphaBits;
8056     GLuint redMask, greenMask, blueMask, alphaMask;
8057     GLint rgbBits;
8058     GLint indexBits;
8059
8060     GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
8061     GLint depthBits;
8062     GLint stencilBits;
8063
8064     GLint numAuxBuffers;
8065
8066     GLint level;
8067
8068     GLint pixmapMode;
8069
8070
8071     GLint visualID;
8072     GLint visualType;
8073
8074
8075
8076
8077     GLint visualRating;
8078
8079
8080     GLint transparentPixel;
8081
8082     GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha;
8083     GLint transparentIndex;
8084
8085
8086     GLint sampleBuffers;
8087     GLint samples;
8088
8089
8090     GLint drawableType;
8091     GLint renderType;
8092     GLint xRenderable;
8093     GLint fbconfigID;
8094
8095
8096     GLint maxPbufferWidth;
8097     GLint maxPbufferHeight;
8098     GLint maxPbufferPixels;
8099     GLint optimalPbufferWidth;
8100     GLint optimalPbufferHeight;
8101
8102
8103     GLint visualSelectGroup;
8104
8105
8106     GLint swapMethod;
8107
8108     GLint screen;
8109
8110
8111     GLint bindToTextureRgb;
8112     GLint bindToTextureRgba;
8113     GLint bindToMipmapTexture;
8114     GLint bindToTextureTargets;
8115     GLint yInverted;
8116 } __GLcontextModes;
8117 # 43 "imports.h" 2
8118 # 122 "imports.h"
8119 typedef union { GLfloat f; GLint i; } fi_type;
8120 # 214 "imports.h"
8121 static __inline__ GLfloat LOG2(GLfloat val)
8122 {
8123    fi_type num;
8124    GLint log_2;
8125    num.f = val;
8126    log_2 = ((num.i >> 23) & 255) - 128;
8127    num.i &= ~(255 << 23);
8128    num.i += 127 << 23;
8129    num.f = ((-1.0f/3) * num.f + 2) * num.f - 2.0f/3;
8130    return num.f + log_2;
8131 }
8132 # 238 "imports.h"
8133 static __inline__ int IS_INF_OR_NAN( float x )
8134 {
8135    fi_type tmp;
8136    tmp.f = x;
8137    return !(int)((unsigned int)((tmp.i & 0x7fffffff)-0x7f800000) >> 31);
8138 }
8139 # 261 "imports.h"
8140 static __inline__ int GET_FLOAT_BITS( float x )
8141 {
8142    fi_type fi;
8143    fi.f = x;
8144    return fi.i;
8145 }
8146 # 395 "imports.h"
8147 static __inline__ int ifloor(float f)
8148 {
8149    int ai, bi;
8150    double af, bf;
8151    fi_type u;
8152
8153    af = (3 << 22) + 0.5 + (double)f;
8154    bf = (3 << 22) + 0.5 - (double)f;
8155    u.f = (float) af; ai = u.i;
8156    u.f = (float) bf; bi = u.i;
8157    return (ai - bi) >> 1;
8158 }
8159 # 442 "imports.h"
8160 static __inline__ int iceil(float f)
8161 {
8162    int ai, bi;
8163    double af, bf;
8164    fi_type u;
8165    af = (3 << 22) + 0.5 + (double)f;
8166    bf = (3 << 22) + 0.5 - (double)f;
8167    u.f = (float) af; ai = u.i;
8168    u.f = (float) bf; bi = u.i;
8169    return (ai - bi + 1) >> 1;
8170 }
8171 # 610 "imports.h"
8172 static __inline__ GLboolean
8173 _mesa_little_endian(void)
8174 {
8175    const GLuint ui = 1;
8176    return *((const GLubyte *) &ui);
8177 }
8178
8179
8180
8181
8182
8183
8184
8185 extern void *
8186 _mesa_malloc( size_t bytes );
8187
8188 extern void *
8189 _mesa_calloc( size_t bytes );
8190
8191 extern void
8192 _mesa_free( void *ptr );
8193
8194 extern void *
8195 _mesa_align_malloc( size_t bytes, unsigned long alignment );
8196
8197 extern void *
8198 _mesa_align_calloc( size_t bytes, unsigned long alignment );
8199
8200 extern void
8201 _mesa_align_free( void *ptr );
8202
8203 extern void *
8204 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize,
8205                     unsigned long alignment);
8206
8207 extern void *
8208 _mesa_exec_malloc( GLuint size );
8209
8210 extern void
8211 _mesa_exec_free( void *addr );
8212
8213 extern void *
8214 _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize );
8215
8216 extern void *
8217 _mesa_memcpy( void *dest, const void *src, size_t n );
8218
8219 extern void
8220 _mesa_memset( void *dst, int val, size_t n );
8221
8222 extern void
8223 _mesa_memset16( unsigned short *dst, unsigned short val, size_t n );
8224
8225 extern void
8226 _mesa_bzero( void *dst, size_t n );
8227
8228 extern int
8229 _mesa_memcmp( const void *s1, const void *s2, size_t n );
8230
8231 extern double
8232 _mesa_sin(double a);
8233
8234 extern float
8235 _mesa_sinf(float a);
8236
8237 extern double
8238 _mesa_cos(double a);
8239
8240 extern float
8241 _mesa_asinf(float x);
8242
8243 extern float
8244 _mesa_atanf(float x);
8245
8246 extern double
8247 _mesa_sqrtd(double x);
8248
8249 extern float
8250 _mesa_sqrtf(float x);
8251
8252 extern float
8253 _mesa_inv_sqrtf(float x);
8254
8255 extern void
8256 _mesa_init_sqrt_table(void);
8257
8258 extern double
8259 _mesa_pow(double x, double y);
8260
8261 extern int
8262 _mesa_ffs(int i);
8263
8264 extern int
8265
8266
8267
8268 _mesa_ffsll(long long i);
8269
8270
8271 extern unsigned int
8272 _mesa_bitcount(unsigned int n);
8273
8274 extern GLhalfARB
8275 _mesa_float_to_half(float f);
8276
8277 extern float
8278 _mesa_half_to_float(GLhalfARB h);
8279
8280
8281 extern void *
8282 _mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size,
8283                int (*compar)(const void *, const void *) );
8284
8285 extern char *
8286 _mesa_getenv( const char *var );
8287
8288 extern char *
8289 _mesa_strstr( const char *haystack, const char *needle );
8290
8291 extern char *
8292 _mesa_strncat( char *dest, const char *src, size_t n );
8293
8294 extern char *
8295 _mesa_strcpy( char *dest, const char *src );
8296
8297 extern char *
8298 _mesa_strncpy( char *dest, const char *src, size_t n );
8299
8300 extern size_t
8301 _mesa_strlen( const char *s );
8302
8303 extern int
8304 _mesa_strcmp( const char *s1, const char *s2 );
8305
8306 extern int
8307 _mesa_strncmp( const char *s1, const char *s2, size_t n );
8308
8309 extern char *
8310 _mesa_strdup( const char *s );
8311
8312 extern int
8313 _mesa_atoi( const char *s );
8314
8315 extern double
8316 _mesa_strtod( const char *s, char **end );
8317
8318 extern int
8319 _mesa_sprintf( char *str, const char *fmt, ... );
8320
8321 extern void
8322 _mesa_printf( const char *fmtString, ... );
8323
8324 extern int
8325 _mesa_vsprintf( char *str, const char *fmt, va_list args );
8326
8327
8328 extern void
8329 _mesa_warning( __GLcontext *gc, const char *fmtString, ... );
8330
8331 extern void
8332 _mesa_problem( const __GLcontext *ctx, const char *fmtString, ... );
8333
8334 extern void
8335 _mesa_error( __GLcontext *ctx, GLenum error, const char *fmtString, ... );
8336
8337 extern void
8338 _mesa_debug( const __GLcontext *ctx, const char *fmtString, ... );
8339
8340 extern void
8341 _mesa_exit( int status );
8342 # 35 "macros.h" 2
8343 # 43 "macros.h"
8344 extern GLfloat _mesa_ubyte_to_float_color_tab[256];
8345 # 30 "texenvprogram.c" 2
8346 # 1 "enums.h" 1
8347 # 42 "enums.h"
8348 extern const char *_mesa_lookup_enum_by_nr( int nr );
8349 extern int _mesa_lookup_enum_by_name( const char *symbol );
8350 # 31 "texenvprogram.c" 2
8351 # 1 "../shader/prog_parameter.h" 1
8352 # 34 "../shader/prog_parameter.h"
8353 # 1 "./mtypes.h" 1
8354 # 38 "./mtypes.h"
8355 # 1 "./glheader.h" 1
8356 # 39 "./mtypes.h" 2
8357
8358 # 1 "./config.h" 1
8359 # 41 "./mtypes.h" 2
8360 # 1 "../glapi/glapitable.h" 1
8361 # 40 "../glapi/glapitable.h"
8362 typedef void (*_glapi_proc)(void);
8363
8364 struct _glapi_table
8365 {
8366    void ( * NewList)(GLuint list, GLenum mode);
8367    void ( * EndList)(void);
8368    void ( * CallList)(GLuint list);
8369    void ( * CallLists)(GLsizei n, GLenum type, const GLvoid * lists);
8370    void ( * DeleteLists)(GLuint list, GLsizei range);
8371    GLuint ( * GenLists)(GLsizei range);
8372    void ( * ListBase)(GLuint base);
8373    void ( * Begin)(GLenum mode);
8374    void ( * Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap);
8375    void ( * Color3b)(GLbyte red, GLbyte green, GLbyte blue);
8376    void ( * Color3bv)(const GLbyte * v);
8377    void ( * Color3d)(GLdouble red, GLdouble green, GLdouble blue);
8378    void ( * Color3dv)(const GLdouble * v);
8379    void ( * Color3f)(GLfloat red, GLfloat green, GLfloat blue);
8380    void ( * Color3fv)(const GLfloat * v);
8381    void ( * Color3i)(GLint red, GLint green, GLint blue);
8382    void ( * Color3iv)(const GLint * v);
8383    void ( * Color3s)(GLshort red, GLshort green, GLshort blue);
8384    void ( * Color3sv)(const GLshort * v);
8385    void ( * Color3ub)(GLubyte red, GLubyte green, GLubyte blue);
8386    void ( * Color3ubv)(const GLubyte * v);
8387    void ( * Color3ui)(GLuint red, GLuint green, GLuint blue);
8388    void ( * Color3uiv)(const GLuint * v);
8389    void ( * Color3us)(GLushort red, GLushort green, GLushort blue);
8390    void ( * Color3usv)(const GLushort * v);
8391    void ( * Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
8392    void ( * Color4bv)(const GLbyte * v);
8393    void ( * Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
8394    void ( * Color4dv)(const GLdouble * v);
8395    void ( * Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
8396    void ( * Color4fv)(const GLfloat * v);
8397    void ( * Color4i)(GLint red, GLint green, GLint blue, GLint alpha);
8398    void ( * Color4iv)(const GLint * v);
8399    void ( * Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha);
8400    void ( * Color4sv)(const GLshort * v);
8401    void ( * Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
8402    void ( * Color4ubv)(const GLubyte * v);
8403    void ( * Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha);
8404    void ( * Color4uiv)(const GLuint * v);
8405    void ( * Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha);
8406    void ( * Color4usv)(const GLushort * v);
8407    void ( * EdgeFlag)(GLboolean flag);
8408    void ( * EdgeFlagv)(const GLboolean * flag);
8409    void ( * End)(void);
8410    void ( * Indexd)(GLdouble c);
8411    void ( * Indexdv)(const GLdouble * c);
8412    void ( * Indexf)(GLfloat c);
8413    void ( * Indexfv)(const GLfloat * c);
8414    void ( * Indexi)(GLint c);
8415    void ( * Indexiv)(const GLint * c);
8416    void ( * Indexs)(GLshort c);
8417    void ( * Indexsv)(const GLshort * c);
8418    void ( * Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz);
8419    void ( * Normal3bv)(const GLbyte * v);
8420    void ( * Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz);
8421    void ( * Normal3dv)(const GLdouble * v);
8422    void ( * Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz);
8423    void ( * Normal3fv)(const GLfloat * v);
8424    void ( * Normal3i)(GLint nx, GLint ny, GLint nz);
8425    void ( * Normal3iv)(const GLint * v);
8426    void ( * Normal3s)(GLshort nx, GLshort ny, GLshort nz);
8427    void ( * Normal3sv)(const GLshort * v);
8428    void ( * RasterPos2d)(GLdouble x, GLdouble y);
8429    void ( * RasterPos2dv)(const GLdouble * v);
8430    void ( * RasterPos2f)(GLfloat x, GLfloat y);
8431    void ( * RasterPos2fv)(const GLfloat * v);
8432    void ( * RasterPos2i)(GLint x, GLint y);
8433    void ( * RasterPos2iv)(const GLint * v);
8434    void ( * RasterPos2s)(GLshort x, GLshort y);
8435    void ( * RasterPos2sv)(const GLshort * v);
8436    void ( * RasterPos3d)(GLdouble x, GLdouble y, GLdouble z);
8437    void ( * RasterPos3dv)(const GLdouble * v);
8438    void ( * RasterPos3f)(GLfloat x, GLfloat y, GLfloat z);
8439    void ( * RasterPos3fv)(const GLfloat * v);
8440    void ( * RasterPos3i)(GLint x, GLint y, GLint z);
8441    void ( * RasterPos3iv)(const GLint * v);
8442    void ( * RasterPos3s)(GLshort x, GLshort y, GLshort z);
8443    void ( * RasterPos3sv)(const GLshort * v);
8444    void ( * RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8445    void ( * RasterPos4dv)(const GLdouble * v);
8446    void ( * RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8447    void ( * RasterPos4fv)(const GLfloat * v);
8448    void ( * RasterPos4i)(GLint x, GLint y, GLint z, GLint w);
8449    void ( * RasterPos4iv)(const GLint * v);
8450    void ( * RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w);
8451    void ( * RasterPos4sv)(const GLshort * v);
8452    void ( * Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
8453    void ( * Rectdv)(const GLdouble * v1, const GLdouble * v2);
8454    void ( * Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
8455    void ( * Rectfv)(const GLfloat * v1, const GLfloat * v2);
8456    void ( * Recti)(GLint x1, GLint y1, GLint x2, GLint y2);
8457    void ( * Rectiv)(const GLint * v1, const GLint * v2);
8458    void ( * Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
8459    void ( * Rectsv)(const GLshort * v1, const GLshort * v2);
8460    void ( * TexCoord1d)(GLdouble s);
8461    void ( * TexCoord1dv)(const GLdouble * v);
8462    void ( * TexCoord1f)(GLfloat s);
8463    void ( * TexCoord1fv)(const GLfloat * v);
8464    void ( * TexCoord1i)(GLint s);
8465    void ( * TexCoord1iv)(const GLint * v);
8466    void ( * TexCoord1s)(GLshort s);
8467    void ( * TexCoord1sv)(const GLshort * v);
8468    void ( * TexCoord2d)(GLdouble s, GLdouble t);
8469    void ( * TexCoord2dv)(const GLdouble * v);
8470    void ( * TexCoord2f)(GLfloat s, GLfloat t);
8471    void ( * TexCoord2fv)(const GLfloat * v);
8472    void ( * TexCoord2i)(GLint s, GLint t);
8473    void ( * TexCoord2iv)(const GLint * v);
8474    void ( * TexCoord2s)(GLshort s, GLshort t);
8475    void ( * TexCoord2sv)(const GLshort * v);
8476    void ( * TexCoord3d)(GLdouble s, GLdouble t, GLdouble r);
8477    void ( * TexCoord3dv)(const GLdouble * v);
8478    void ( * TexCoord3f)(GLfloat s, GLfloat t, GLfloat r);
8479    void ( * TexCoord3fv)(const GLfloat * v);
8480    void ( * TexCoord3i)(GLint s, GLint t, GLint r);
8481    void ( * TexCoord3iv)(const GLint * v);
8482    void ( * TexCoord3s)(GLshort s, GLshort t, GLshort r);
8483    void ( * TexCoord3sv)(const GLshort * v);
8484    void ( * TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
8485    void ( * TexCoord4dv)(const GLdouble * v);
8486    void ( * TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
8487    void ( * TexCoord4fv)(const GLfloat * v);
8488    void ( * TexCoord4i)(GLint s, GLint t, GLint r, GLint q);
8489    void ( * TexCoord4iv)(const GLint * v);
8490    void ( * TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q);
8491    void ( * TexCoord4sv)(const GLshort * v);
8492    void ( * Vertex2d)(GLdouble x, GLdouble y);
8493    void ( * Vertex2dv)(const GLdouble * v);
8494    void ( * Vertex2f)(GLfloat x, GLfloat y);
8495    void ( * Vertex2fv)(const GLfloat * v);
8496    void ( * Vertex2i)(GLint x, GLint y);
8497    void ( * Vertex2iv)(const GLint * v);
8498    void ( * Vertex2s)(GLshort x, GLshort y);
8499    void ( * Vertex2sv)(const GLshort * v);
8500    void ( * Vertex3d)(GLdouble x, GLdouble y, GLdouble z);
8501    void ( * Vertex3dv)(const GLdouble * v);
8502    void ( * Vertex3f)(GLfloat x, GLfloat y, GLfloat z);
8503    void ( * Vertex3fv)(const GLfloat * v);
8504    void ( * Vertex3i)(GLint x, GLint y, GLint z);
8505    void ( * Vertex3iv)(const GLint * v);
8506    void ( * Vertex3s)(GLshort x, GLshort y, GLshort z);
8507    void ( * Vertex3sv)(const GLshort * v);
8508    void ( * Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8509    void ( * Vertex4dv)(const GLdouble * v);
8510    void ( * Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8511    void ( * Vertex4fv)(const GLfloat * v);
8512    void ( * Vertex4i)(GLint x, GLint y, GLint z, GLint w);
8513    void ( * Vertex4iv)(const GLint * v);
8514    void ( * Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w);
8515    void ( * Vertex4sv)(const GLshort * v);
8516    void ( * ClipPlane)(GLenum plane, const GLdouble * equation);
8517    void ( * ColorMaterial)(GLenum face, GLenum mode);
8518    void ( * CullFace)(GLenum mode);
8519    void ( * Fogf)(GLenum pname, GLfloat param);
8520    void ( * Fogfv)(GLenum pname, const GLfloat * params);
8521    void ( * Fogi)(GLenum pname, GLint param);
8522    void ( * Fogiv)(GLenum pname, const GLint * params);
8523    void ( * FrontFace)(GLenum mode);
8524    void ( * Hint)(GLenum target, GLenum mode);
8525    void ( * Lightf)(GLenum light, GLenum pname, GLfloat param);
8526    void ( * Lightfv)(GLenum light, GLenum pname, const GLfloat * params);
8527    void ( * Lighti)(GLenum light, GLenum pname, GLint param);
8528    void ( * Lightiv)(GLenum light, GLenum pname, const GLint * params);
8529    void ( * LightModelf)(GLenum pname, GLfloat param);
8530    void ( * LightModelfv)(GLenum pname, const GLfloat * params);
8531    void ( * LightModeli)(GLenum pname, GLint param);
8532    void ( * LightModeliv)(GLenum pname, const GLint * params);
8533    void ( * LineStipple)(GLint factor, GLushort pattern);
8534    void ( * LineWidth)(GLfloat width);
8535    void ( * Materialf)(GLenum face, GLenum pname, GLfloat param);
8536    void ( * Materialfv)(GLenum face, GLenum pname, const GLfloat * params);
8537    void ( * Materiali)(GLenum face, GLenum pname, GLint param);
8538    void ( * Materialiv)(GLenum face, GLenum pname, const GLint * params);
8539    void ( * PointSize)(GLfloat size);
8540    void ( * PolygonMode)(GLenum face, GLenum mode);
8541    void ( * PolygonStipple)(const GLubyte * mask);
8542    void ( * Scissor)(GLint x, GLint y, GLsizei width, GLsizei height);
8543    void ( * ShadeModel)(GLenum mode);
8544    void ( * TexParameterf)(GLenum target, GLenum pname, GLfloat param);
8545    void ( * TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params);
8546    void ( * TexParameteri)(GLenum target, GLenum pname, GLint param);
8547    void ( * TexParameteriv)(GLenum target, GLenum pname, const GLint * params);
8548    void ( * TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels);
8549    void ( * TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels);
8550    void ( * TexEnvf)(GLenum target, GLenum pname, GLfloat param);
8551    void ( * TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params);
8552    void ( * TexEnvi)(GLenum target, GLenum pname, GLint param);
8553    void ( * TexEnviv)(GLenum target, GLenum pname, const GLint * params);
8554    void ( * TexGend)(GLenum coord, GLenum pname, GLdouble param);
8555    void ( * TexGendv)(GLenum coord, GLenum pname, const GLdouble * params);
8556    void ( * TexGenf)(GLenum coord, GLenum pname, GLfloat param);
8557    void ( * TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params);
8558    void ( * TexGeni)(GLenum coord, GLenum pname, GLint param);
8559    void ( * TexGeniv)(GLenum coord, GLenum pname, const GLint * params);
8560    void ( * FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer);
8561    void ( * SelectBuffer)(GLsizei size, GLuint * buffer);
8562    GLint ( * RenderMode)(GLenum mode);
8563    void ( * InitNames)(void);
8564    void ( * LoadName)(GLuint name);
8565    void ( * PassThrough)(GLfloat token);
8566    void ( * PopName)(void);
8567    void ( * PushName)(GLuint name);
8568    void ( * DrawBuffer)(GLenum mode);
8569    void ( * Clear)(GLbitfield mask);
8570    void ( * ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
8571    void ( * ClearIndex)(GLfloat c);
8572    void ( * ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
8573    void ( * ClearStencil)(GLint s);
8574    void ( * ClearDepth)(GLclampd depth);
8575    void ( * StencilMask)(GLuint mask);
8576    void ( * ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
8577    void ( * DepthMask)(GLboolean flag);
8578    void ( * IndexMask)(GLuint mask);
8579    void ( * Accum)(GLenum op, GLfloat value);
8580    void ( * Disable)(GLenum cap);
8581    void ( * Enable)(GLenum cap);
8582    void ( * Finish)(void);
8583    void ( * Flush)(void);
8584    void ( * PopAttrib)(void);
8585    void ( * PushAttrib)(GLbitfield mask);
8586    void ( * Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points);
8587    void ( * Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points);
8588    void ( * Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points);
8589    void ( * Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points);
8590    void ( * MapGrid1d)(GLint un, GLdouble u1, GLdouble u2);
8591    void ( * MapGrid1f)(GLint un, GLfloat u1, GLfloat u2);
8592    void ( * MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
8593    void ( * MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
8594    void ( * EvalCoord1d)(GLdouble u);
8595    void ( * EvalCoord1dv)(const GLdouble * u);
8596    void ( * EvalCoord1f)(GLfloat u);
8597    void ( * EvalCoord1fv)(const GLfloat * u);
8598    void ( * EvalCoord2d)(GLdouble u, GLdouble v);
8599    void ( * EvalCoord2dv)(const GLdouble * u);
8600    void ( * EvalCoord2f)(GLfloat u, GLfloat v);
8601    void ( * EvalCoord2fv)(const GLfloat * u);
8602    void ( * EvalMesh1)(GLenum mode, GLint i1, GLint i2);
8603    void ( * EvalPoint1)(GLint i);
8604    void ( * EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
8605    void ( * EvalPoint2)(GLint i, GLint j);
8606    void ( * AlphaFunc)(GLenum func, GLclampf ref);
8607    void ( * BlendFunc)(GLenum sfactor, GLenum dfactor);
8608    void ( * LogicOp)(GLenum opcode);
8609    void ( * StencilFunc)(GLenum func, GLint ref, GLuint mask);
8610    void ( * StencilOp)(GLenum fail, GLenum zfail, GLenum zpass);
8611    void ( * DepthFunc)(GLenum func);
8612    void ( * PixelZoom)(GLfloat xfactor, GLfloat yfactor);
8613    void ( * PixelTransferf)(GLenum pname, GLfloat param);
8614    void ( * PixelTransferi)(GLenum pname, GLint param);
8615    void ( * PixelStoref)(GLenum pname, GLfloat param);
8616    void ( * PixelStorei)(GLenum pname, GLint param);
8617    void ( * PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values);
8618    void ( * PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values);
8619    void ( * PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values);
8620    void ( * ReadBuffer)(GLenum mode);
8621    void ( * CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
8622    void ( * ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels);
8623    void ( * DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels);
8624    void ( * GetBooleanv)(GLenum pname, GLboolean * params);
8625    void ( * GetClipPlane)(GLenum plane, GLdouble * equation);
8626    void ( * GetDoublev)(GLenum pname, GLdouble * params);
8627    GLenum ( * GetError)(void);
8628    void ( * GetFloatv)(GLenum pname, GLfloat * params);
8629    void ( * GetIntegerv)(GLenum pname, GLint * params);
8630    void ( * GetLightfv)(GLenum light, GLenum pname, GLfloat * params);
8631    void ( * GetLightiv)(GLenum light, GLenum pname, GLint * params);
8632    void ( * GetMapdv)(GLenum target, GLenum query, GLdouble * v);
8633    void ( * GetMapfv)(GLenum target, GLenum query, GLfloat * v);
8634    void ( * GetMapiv)(GLenum target, GLenum query, GLint * v);
8635    void ( * GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params);
8636    void ( * GetMaterialiv)(GLenum face, GLenum pname, GLint * params);
8637    void ( * GetPixelMapfv)(GLenum map, GLfloat * values);
8638    void ( * GetPixelMapuiv)(GLenum map, GLuint * values);
8639    void ( * GetPixelMapusv)(GLenum map, GLushort * values);
8640    void ( * GetPolygonStipple)(GLubyte * mask);
8641    const GLubyte * ( * GetString)(GLenum name);
8642    void ( * GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params);
8643    void ( * GetTexEnviv)(GLenum target, GLenum pname, GLint * params);
8644    void ( * GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params);
8645    void ( * GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params);
8646    void ( * GetTexGeniv)(GLenum coord, GLenum pname, GLint * params);
8647    void ( * GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels);
8648    void ( * GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params);
8649    void ( * GetTexParameteriv)(GLenum target, GLenum pname, GLint * params);
8650    void ( * GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params);
8651    void ( * GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params);
8652    GLboolean ( * IsEnabled)(GLenum cap);
8653    GLboolean ( * IsList)(GLuint list);
8654    void ( * DepthRange)(GLclampd zNear, GLclampd zFar);
8655    void ( * Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
8656    void ( * LoadIdentity)(void);
8657    void ( * LoadMatrixf)(const GLfloat * m);
8658    void ( * LoadMatrixd)(const GLdouble * m);
8659    void ( * MatrixMode)(GLenum mode);
8660    void ( * MultMatrixf)(const GLfloat * m);
8661    void ( * MultMatrixd)(const GLdouble * m);
8662    void ( * Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
8663    void ( * PopMatrix)(void);
8664    void ( * PushMatrix)(void);
8665    void ( * Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
8666    void ( * Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
8667    void ( * Scaled)(GLdouble x, GLdouble y, GLdouble z);
8668    void ( * Scalef)(GLfloat x, GLfloat y, GLfloat z);
8669    void ( * Translated)(GLdouble x, GLdouble y, GLdouble z);
8670    void ( * Translatef)(GLfloat x, GLfloat y, GLfloat z);
8671    void ( * Viewport)(GLint x, GLint y, GLsizei width, GLsizei height);
8672    void ( * ArrayElement)(GLint i);
8673    void ( * BindTexture)(GLenum target, GLuint texture);
8674    void ( * ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
8675    void ( * DisableClientState)(GLenum array);
8676    void ( * DrawArrays)(GLenum mode, GLint first, GLsizei count);
8677    void ( * DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices);
8678    void ( * EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer);
8679    void ( * EnableClientState)(GLenum array);
8680    void ( * IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer);
8681    void ( * Indexub)(GLubyte c);
8682    void ( * Indexubv)(const GLubyte * c);
8683    void ( * InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer);
8684    void ( * NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer);
8685    void ( * PolygonOffset)(GLfloat factor, GLfloat units);
8686    void ( * TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
8687    void ( * VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
8688    GLboolean ( * AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences);
8689    void ( * CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
8690    void ( * CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
8691    void ( * CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
8692    void ( * CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8693    void ( * DeleteTextures)(GLsizei n, const GLuint * textures);
8694    void ( * GenTextures)(GLsizei n, GLuint * textures);
8695    void ( * GetPointerv)(GLenum pname, GLvoid ** params);
8696    GLboolean ( * IsTexture)(GLuint texture);
8697    void ( * PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities);
8698    void ( * TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels);
8699    void ( * TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels);
8700    void ( * PopClientAttrib)(void);
8701    void ( * PushClientAttrib)(GLbitfield mask);
8702    void ( * BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
8703    void ( * BlendEquation)(GLenum mode);
8704    void ( * DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices);
8705    void ( * ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table);
8706    void ( * ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params);
8707    void ( * ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params);
8708    void ( * CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8709    void ( * GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table);
8710    void ( * GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params);
8711    void ( * GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params);
8712    void ( * ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data);
8713    void ( * CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
8714    void ( * ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image);
8715    void ( * ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image);
8716    void ( * ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params);
8717    void ( * ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params);
8718    void ( * ConvolutionParameteri)(GLenum target, GLenum pname, GLint params);
8719    void ( * ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params);
8720    void ( * CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8721    void ( * CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
8722    void ( * GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image);
8723    void ( * GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params);
8724    void ( * GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params);
8725    void ( * GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span);
8726    void ( * SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column);
8727    void ( * GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
8728    void ( * GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params);
8729    void ( * GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params);
8730    void ( * GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
8731    void ( * GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params);
8732    void ( * GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params);
8733    void ( * Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
8734    void ( * Minmax)(GLenum target, GLenum internalformat, GLboolean sink);
8735    void ( * ResetHistogram)(GLenum target);
8736    void ( * ResetMinmax)(GLenum target);
8737    void ( * TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels);
8738    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);
8739    void ( * CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8740    void ( * ActiveTextureARB)(GLenum texture);
8741    void ( * ClientActiveTextureARB)(GLenum texture);
8742    void ( * MultiTexCoord1dARB)(GLenum target, GLdouble s);
8743    void ( * MultiTexCoord1dvARB)(GLenum target, const GLdouble * v);
8744    void ( * MultiTexCoord1fARB)(GLenum target, GLfloat s);
8745    void ( * MultiTexCoord1fvARB)(GLenum target, const GLfloat * v);
8746    void ( * MultiTexCoord1iARB)(GLenum target, GLint s);
8747    void ( * MultiTexCoord1ivARB)(GLenum target, const GLint * v);
8748    void ( * MultiTexCoord1sARB)(GLenum target, GLshort s);
8749    void ( * MultiTexCoord1svARB)(GLenum target, const GLshort * v);
8750    void ( * MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t);
8751    void ( * MultiTexCoord2dvARB)(GLenum target, const GLdouble * v);
8752    void ( * MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t);
8753    void ( * MultiTexCoord2fvARB)(GLenum target, const GLfloat * v);
8754    void ( * MultiTexCoord2iARB)(GLenum target, GLint s, GLint t);
8755    void ( * MultiTexCoord2ivARB)(GLenum target, const GLint * v);
8756    void ( * MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t);
8757    void ( * MultiTexCoord2svARB)(GLenum target, const GLshort * v);
8758    void ( * MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r);
8759    void ( * MultiTexCoord3dvARB)(GLenum target, const GLdouble * v);
8760    void ( * MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r);
8761    void ( * MultiTexCoord3fvARB)(GLenum target, const GLfloat * v);
8762    void ( * MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r);
8763    void ( * MultiTexCoord3ivARB)(GLenum target, const GLint * v);
8764    void ( * MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r);
8765    void ( * MultiTexCoord3svARB)(GLenum target, const GLshort * v);
8766    void ( * MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
8767    void ( * MultiTexCoord4dvARB)(GLenum target, const GLdouble * v);
8768    void ( * MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
8769    void ( * MultiTexCoord4fvARB)(GLenum target, const GLfloat * v);
8770    void ( * MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q);
8771    void ( * MultiTexCoord4ivARB)(GLenum target, const GLint * v);
8772    void ( * MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
8773    void ( * MultiTexCoord4svARB)(GLenum target, const GLshort * v);
8774    void ( * AttachShader)(GLuint program, GLuint shader);
8775    GLuint ( * CreateProgram)(void);
8776    GLuint ( * CreateShader)(GLenum type);
8777    void ( * DeleteProgram)(GLuint program);
8778    void ( * DeleteShader)(GLuint program);
8779    void ( * DetachShader)(GLuint program, GLuint shader);
8780    void ( * GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj);
8781    void ( * GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog);
8782    void ( * GetProgramiv)(GLuint program, GLenum pname, GLint * params);
8783    void ( * GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog);
8784    void ( * GetShaderiv)(GLuint shader, GLenum pname, GLint * params);
8785    GLboolean ( * IsProgram)(GLuint program);
8786    GLboolean ( * IsShader)(GLuint shader);
8787    void ( * StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask);
8788    void ( * StencilMaskSeparate)(GLenum face, GLuint mask);
8789    void ( * StencilOpSeparate)(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass);
8790    void ( * UniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8791    void ( * UniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8792    void ( * UniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8793    void ( * UniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8794    void ( * UniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8795    void ( * UniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8796    void ( * LoadTransposeMatrixdARB)(const GLdouble * m);
8797    void ( * LoadTransposeMatrixfARB)(const GLfloat * m);
8798    void ( * MultTransposeMatrixdARB)(const GLdouble * m);
8799    void ( * MultTransposeMatrixfARB)(const GLfloat * m);
8800    void ( * SampleCoverageARB)(GLclampf value, GLboolean invert);
8801    void ( * CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data);
8802    void ( * CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data);
8803    void ( * CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data);
8804    void ( * CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data);
8805    void ( * CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data);
8806    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);
8807    void ( * GetCompressedTexImageARB)(GLenum target, GLint level, GLvoid * img);
8808    void ( * DisableVertexAttribArrayARB)(GLuint index);
8809    void ( * EnableVertexAttribArrayARB)(GLuint index);
8810    void ( * GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params);
8811    void ( * GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params);
8812    void ( * GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params);
8813    void ( * GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params);
8814    void ( * GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string);
8815    void ( * GetProgramivARB)(GLenum target, GLenum pname, GLint * params);
8816    void ( * GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params);
8817    void ( * GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params);
8818    void ( * GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params);
8819    void ( * ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8820    void ( * ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params);
8821    void ( * ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8822    void ( * ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params);
8823    void ( * ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8824    void ( * ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params);
8825    void ( * ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8826    void ( * ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params);
8827    void ( * ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string);
8828    void ( * VertexAttrib1dARB)(GLuint index, GLdouble x);
8829    void ( * VertexAttrib1dvARB)(GLuint index, const GLdouble * v);
8830    void ( * VertexAttrib1fARB)(GLuint index, GLfloat x);
8831    void ( * VertexAttrib1fvARB)(GLuint index, const GLfloat * v);
8832    void ( * VertexAttrib1sARB)(GLuint index, GLshort x);
8833    void ( * VertexAttrib1svARB)(GLuint index, const GLshort * v);
8834    void ( * VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y);
8835    void ( * VertexAttrib2dvARB)(GLuint index, const GLdouble * v);
8836    void ( * VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y);
8837    void ( * VertexAttrib2fvARB)(GLuint index, const GLfloat * v);
8838    void ( * VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y);
8839    void ( * VertexAttrib2svARB)(GLuint index, const GLshort * v);
8840    void ( * VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z);
8841    void ( * VertexAttrib3dvARB)(GLuint index, const GLdouble * v);
8842    void ( * VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z);
8843    void ( * VertexAttrib3fvARB)(GLuint index, const GLfloat * v);
8844    void ( * VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z);
8845    void ( * VertexAttrib3svARB)(GLuint index, const GLshort * v);
8846    void ( * VertexAttrib4NbvARB)(GLuint index, const GLbyte * v);
8847    void ( * VertexAttrib4NivARB)(GLuint index, const GLint * v);
8848    void ( * VertexAttrib4NsvARB)(GLuint index, const GLshort * v);
8849    void ( * VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
8850    void ( * VertexAttrib4NubvARB)(GLuint index, const GLubyte * v);
8851    void ( * VertexAttrib4NuivARB)(GLuint index, const GLuint * v);
8852    void ( * VertexAttrib4NusvARB)(GLuint index, const GLushort * v);
8853    void ( * VertexAttrib4bvARB)(GLuint index, const GLbyte * v);
8854    void ( * VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8855    void ( * VertexAttrib4dvARB)(GLuint index, const GLdouble * v);
8856    void ( * VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8857    void ( * VertexAttrib4fvARB)(GLuint index, const GLfloat * v);
8858    void ( * VertexAttrib4ivARB)(GLuint index, const GLint * v);
8859    void ( * VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
8860    void ( * VertexAttrib4svARB)(GLuint index, const GLshort * v);
8861    void ( * VertexAttrib4ubvARB)(GLuint index, const GLubyte * v);
8862    void ( * VertexAttrib4uivARB)(GLuint index, const GLuint * v);
8863    void ( * VertexAttrib4usvARB)(GLuint index, const GLushort * v);
8864    void ( * VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer);
8865    void ( * BindBufferARB)(GLenum target, GLuint buffer);
8866    void ( * BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage);
8867    void ( * BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data);
8868    void ( * DeleteBuffersARB)(GLsizei n, const GLuint * buffer);
8869    void ( * GenBuffersARB)(GLsizei n, GLuint * buffer);
8870    void ( * GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params);
8871    void ( * GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params);
8872    void ( * GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data);
8873    GLboolean ( * IsBufferARB)(GLuint buffer);
8874    GLvoid * ( * MapBufferARB)(GLenum target, GLenum access);
8875    GLboolean ( * UnmapBufferARB)(GLenum target);
8876    void ( * BeginQueryARB)(GLenum target, GLuint id);
8877    void ( * DeleteQueriesARB)(GLsizei n, const GLuint * ids);
8878    void ( * EndQueryARB)(GLenum target);
8879    void ( * GenQueriesARB)(GLsizei n, GLuint * ids);
8880    void ( * GetQueryObjectivARB)(GLuint id, GLenum pname, GLint * params);
8881    void ( * GetQueryObjectuivARB)(GLuint id, GLenum pname, GLuint * params);
8882    void ( * GetQueryivARB)(GLenum target, GLenum pname, GLint * params);
8883    GLboolean ( * IsQueryARB)(GLuint id);
8884    void ( * AttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj);
8885    void ( * CompileShaderARB)(GLhandleARB shader);
8886    GLhandleARB ( * CreateProgramObjectARB)(void);
8887    GLhandleARB ( * CreateShaderObjectARB)(GLenum shaderType);
8888    void ( * DeleteObjectARB)(GLhandleARB obj);
8889    void ( * DetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj);
8890    void ( * GetActiveUniformARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name);
8891    void ( * GetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog);
8892    GLhandleARB ( * GetHandleARB)(GLenum pname);
8893    void ( * GetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog);
8894    void ( * GetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params);
8895    void ( * GetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params);
8896    void ( * GetShaderSourceARB)(GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source);
8897    GLint ( * GetUniformLocationARB)(GLhandleARB program, const GLcharARB * name);
8898    void ( * GetUniformfvARB)(GLhandleARB program, GLint location, GLfloat * params);
8899    void ( * GetUniformivARB)(GLhandleARB program, GLint location, GLint * params);
8900    void ( * LinkProgramARB)(GLhandleARB program);
8901    void ( * ShaderSourceARB)(GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length);
8902    void ( * Uniform1fARB)(GLint location, GLfloat v0);
8903    void ( * Uniform1fvARB)(GLint location, GLsizei count, const GLfloat * value);
8904    void ( * Uniform1iARB)(GLint location, GLint v0);
8905    void ( * Uniform1ivARB)(GLint location, GLsizei count, const GLint * value);
8906    void ( * Uniform2fARB)(GLint location, GLfloat v0, GLfloat v1);
8907    void ( * Uniform2fvARB)(GLint location, GLsizei count, const GLfloat * value);
8908    void ( * Uniform2iARB)(GLint location, GLint v0, GLint v1);
8909    void ( * Uniform2ivARB)(GLint location, GLsizei count, const GLint * value);
8910    void ( * Uniform3fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
8911    void ( * Uniform3fvARB)(GLint location, GLsizei count, const GLfloat * value);
8912    void ( * Uniform3iARB)(GLint location, GLint v0, GLint v1, GLint v2);
8913    void ( * Uniform3ivARB)(GLint location, GLsizei count, const GLint * value);
8914    void ( * Uniform4fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
8915    void ( * Uniform4fvARB)(GLint location, GLsizei count, const GLfloat * value);
8916    void ( * Uniform4iARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
8917    void ( * Uniform4ivARB)(GLint location, GLsizei count, const GLint * value);
8918    void ( * UniformMatrix2fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8919    void ( * UniformMatrix3fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8920    void ( * UniformMatrix4fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
8921    void ( * UseProgramObjectARB)(GLhandleARB program);
8922    void ( * ValidateProgramARB)(GLhandleARB program);
8923    void ( * BindAttribLocationARB)(GLhandleARB program, GLuint index, const GLcharARB * name);
8924    void ( * GetActiveAttribARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name);
8925    GLint ( * GetAttribLocationARB)(GLhandleARB program, const GLcharARB * name);
8926    void ( * DrawBuffersARB)(GLsizei n, const GLenum * bufs);
8927    void ( * PolygonOffsetEXT)(GLfloat factor, GLfloat bias);
8928    void ( * GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params);
8929    void ( * GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params);
8930    void ( * PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param);
8931    void ( * PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params);
8932    void ( * PixelTexGenParameteriSGIS)(GLenum pname, GLint param);
8933    void ( * PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params);
8934    void ( * SampleMaskSGIS)(GLclampf value, GLboolean invert);
8935    void ( * SamplePatternSGIS)(GLenum pattern);
8936    void ( * ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer);
8937    void ( * EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer);
8938    void ( * IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer);
8939    void ( * NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer);
8940    void ( * TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer);
8941    void ( * VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer);
8942    void ( * PointParameterfEXT)(GLenum pname, GLfloat param);
8943    void ( * PointParameterfvEXT)(GLenum pname, const GLfloat * params);
8944    void ( * LockArraysEXT)(GLint first, GLsizei count);
8945    void ( * UnlockArraysEXT)(void);
8946    void ( * CullParameterdvEXT)(GLenum pname, GLdouble * params);
8947    void ( * CullParameterfvEXT)(GLenum pname, GLfloat * params);
8948    void ( * SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue);
8949    void ( * SecondaryColor3bvEXT)(const GLbyte * v);
8950    void ( * SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue);
8951    void ( * SecondaryColor3dvEXT)(const GLdouble * v);
8952    void ( * SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue);
8953    void ( * SecondaryColor3fvEXT)(const GLfloat * v);
8954    void ( * SecondaryColor3iEXT)(GLint red, GLint green, GLint blue);
8955    void ( * SecondaryColor3ivEXT)(const GLint * v);
8956    void ( * SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue);
8957    void ( * SecondaryColor3svEXT)(const GLshort * v);
8958    void ( * SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue);
8959    void ( * SecondaryColor3ubvEXT)(const GLubyte * v);
8960    void ( * SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue);
8961    void ( * SecondaryColor3uivEXT)(const GLuint * v);
8962    void ( * SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue);
8963    void ( * SecondaryColor3usvEXT)(const GLushort * v);
8964    void ( * SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
8965    void ( * MultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount);
8966    void ( * MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount);
8967    void ( * FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer);
8968    void ( * FogCoorddEXT)(GLdouble coord);
8969    void ( * FogCoorddvEXT)(const GLdouble * coord);
8970    void ( * FogCoordfEXT)(GLfloat coord);
8971    void ( * FogCoordfvEXT)(const GLfloat * coord);
8972    void ( * PixelTexGenSGIX)(GLenum mode);
8973    void ( * BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8974    void ( * FlushVertexArrayRangeNV)(void);
8975    void ( * VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer);
8976    void ( * CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8977    void ( * CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
8978    void ( * CombinerParameterfNV)(GLenum pname, GLfloat param);
8979    void ( * CombinerParameterfvNV)(GLenum pname, const GLfloat * params);
8980    void ( * CombinerParameteriNV)(GLenum pname, GLint param);
8981    void ( * CombinerParameterivNV)(GLenum pname, const GLint * params);
8982    void ( * FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8983    void ( * GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params);
8984    void ( * GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params);
8985    void ( * GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params);
8986    void ( * GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params);
8987    void ( * GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params);
8988    void ( * GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params);
8989    void ( * ResizeBuffersMESA)(void);
8990    void ( * WindowPos2dMESA)(GLdouble x, GLdouble y);
8991    void ( * WindowPos2dvMESA)(const GLdouble * v);
8992    void ( * WindowPos2fMESA)(GLfloat x, GLfloat y);
8993    void ( * WindowPos2fvMESA)(const GLfloat * v);
8994    void ( * WindowPos2iMESA)(GLint x, GLint y);
8995    void ( * WindowPos2ivMESA)(const GLint * v);
8996    void ( * WindowPos2sMESA)(GLshort x, GLshort y);
8997    void ( * WindowPos2svMESA)(const GLshort * v);
8998    void ( * WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z);
8999    void ( * WindowPos3dvMESA)(const GLdouble * v);
9000    void ( * WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z);
9001    void ( * WindowPos3fvMESA)(const GLfloat * v);
9002    void ( * WindowPos3iMESA)(GLint x, GLint y, GLint z);
9003    void ( * WindowPos3ivMESA)(const GLint * v);
9004    void ( * WindowPos3sMESA)(GLshort x, GLshort y, GLshort z);
9005    void ( * WindowPos3svMESA)(const GLshort * v);
9006    void ( * WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9007    void ( * WindowPos4dvMESA)(const GLdouble * v);
9008    void ( * WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9009    void ( * WindowPos4fvMESA)(const GLfloat * v);
9010    void ( * WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w);
9011    void ( * WindowPos4ivMESA)(const GLint * v);
9012    void ( * WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w);
9013    void ( * WindowPos4svMESA)(const GLshort * v);
9014    void ( * MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride);
9015    void ( * MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride);
9016    void ( * DeleteFencesNV)(GLsizei n, const GLuint * fences);
9017    void ( * FinishFenceNV)(GLuint fence);
9018    void ( * GenFencesNV)(GLsizei n, GLuint * fences);
9019    void ( * GetFenceivNV)(GLuint fence, GLenum pname, GLint * params);
9020    GLboolean ( * IsFenceNV)(GLuint fence);
9021    void ( * SetFenceNV)(GLuint fence, GLenum condition);
9022    GLboolean ( * TestFenceNV)(GLuint fence);
9023    GLboolean ( * AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences);
9024    void ( * BindProgramNV)(GLenum target, GLuint program);
9025    void ( * DeleteProgramsNV)(GLsizei n, const GLuint * programs);
9026    void ( * ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params);
9027    void ( * GenProgramsNV)(GLsizei n, GLuint * programs);
9028    void ( * GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params);
9029    void ( * GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params);
9030    void ( * GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program);
9031    void ( * GetProgramivNV)(GLuint id, GLenum pname, GLint * params);
9032    void ( * GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params);
9033    void ( * GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer);
9034    void ( * GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params);
9035    void ( * GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params);
9036    void ( * GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params);
9037    GLboolean ( * IsProgramNV)(GLuint program);
9038    void ( * LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program);
9039    void ( * ProgramParameter4dNV)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9040    void ( * ProgramParameter4dvNV)(GLenum target, GLuint index, const GLdouble * params);
9041    void ( * ProgramParameter4fNV)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9042    void ( * ProgramParameter4fvNV)(GLenum target, GLuint index, const GLfloat * params);
9043    void ( * ProgramParameters4dvNV)(GLenum target, GLuint index, GLuint num, const GLdouble * params);
9044    void ( * ProgramParameters4fvNV)(GLenum target, GLuint index, GLuint num, const GLfloat * params);
9045    void ( * RequestResidentProgramsNV)(GLsizei n, const GLuint * ids);
9046    void ( * TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform);
9047    void ( * VertexAttrib1dNV)(GLuint index, GLdouble x);
9048    void ( * VertexAttrib1dvNV)(GLuint index, const GLdouble * v);
9049    void ( * VertexAttrib1fNV)(GLuint index, GLfloat x);
9050    void ( * VertexAttrib1fvNV)(GLuint index, const GLfloat * v);
9051    void ( * VertexAttrib1sNV)(GLuint index, GLshort x);
9052    void ( * VertexAttrib1svNV)(GLuint index, const GLshort * v);
9053    void ( * VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y);
9054    void ( * VertexAttrib2dvNV)(GLuint index, const GLdouble * v);
9055    void ( * VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y);
9056    void ( * VertexAttrib2fvNV)(GLuint index, const GLfloat * v);
9057    void ( * VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y);
9058    void ( * VertexAttrib2svNV)(GLuint index, const GLshort * v);
9059    void ( * VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z);
9060    void ( * VertexAttrib3dvNV)(GLuint index, const GLdouble * v);
9061    void ( * VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z);
9062    void ( * VertexAttrib3fvNV)(GLuint index, const GLfloat * v);
9063    void ( * VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z);
9064    void ( * VertexAttrib3svNV)(GLuint index, const GLshort * v);
9065    void ( * VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9066    void ( * VertexAttrib4dvNV)(GLuint index, const GLdouble * v);
9067    void ( * VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9068    void ( * VertexAttrib4fvNV)(GLuint index, const GLfloat * v);
9069    void ( * VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
9070    void ( * VertexAttrib4svNV)(GLuint index, const GLshort * v);
9071    void ( * VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
9072    void ( * VertexAttrib4ubvNV)(GLuint index, const GLubyte * v);
9073    void ( * VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
9074    void ( * VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v);
9075    void ( * VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v);
9076    void ( * VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v);
9077    void ( * VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v);
9078    void ( * VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v);
9079    void ( * VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v);
9080    void ( * VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v);
9081    void ( * VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v);
9082    void ( * VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v);
9083    void ( * VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v);
9084    void ( * VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v);
9085    void ( * VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v);
9086    void ( * VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v);
9087    void ( * AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9088    void ( * AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9089    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);
9090    void ( * BeginFragmentShaderATI)(void);
9091    void ( * BindFragmentShaderATI)(GLuint id);
9092    void ( * ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9093    void ( * ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9094    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);
9095    void ( * DeleteFragmentShaderATI)(GLuint id);
9096    void ( * EndFragmentShaderATI)(void);
9097    GLuint ( * GenFragmentShadersATI)(GLuint range);
9098    void ( * PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle);
9099    void ( * SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle);
9100    void ( * SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value);
9101    void ( * PointParameteriNV)(GLenum pname, GLint param);
9102    void ( * PointParameterivNV)(GLenum pname, const GLint * params);
9103    void ( * ActiveStencilFaceEXT)(GLenum face);
9104    void ( * BindVertexArrayAPPLE)(GLuint array);
9105    void ( * DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays);
9106    void ( * GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays);
9107    GLboolean ( * IsVertexArrayAPPLE)(GLuint array);
9108    void ( * GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params);
9109    void ( * GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params);
9110    void ( * ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9111    void ( * ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v);
9112    void ( * ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9113    void ( * ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v);
9114    void ( * DepthBoundsEXT)(GLclampd zmin, GLclampd zmax);
9115    void ( * BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA);
9116    void ( * BindFramebufferEXT)(GLenum target, GLuint framebuffer);
9117    void ( * BindRenderbufferEXT)(GLenum target, GLuint renderbuffer);
9118    GLenum ( * CheckFramebufferStatusEXT)(GLenum target);
9119    void ( * DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers);
9120    void ( * DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers);
9121    void ( * FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
9122    void ( * FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9123    void ( * FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9124    void ( * FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
9125    void ( * GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers);
9126    void ( * GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers);
9127    void ( * GenerateMipmapEXT)(GLenum target);
9128    void ( * GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params);
9129    void ( * GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params);
9130    GLboolean ( * IsFramebufferEXT)(GLuint framebuffer);
9131    GLboolean ( * IsRenderbufferEXT)(GLuint renderbuffer);
9132    void ( * RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
9133    void ( * BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
9134    void ( * StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
9135    void ( * ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
9136    void ( * ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
9137    void ( * GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params);
9138    void ( * GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params);
9139 };
9140 # 42 "./mtypes.h" 2
9141 # 1 "../glapi/glthread.h" 1
9142 # 262 "../glapi/glthread.h"
9143 typedef GLuint _glthread_TSD;
9144
9145 typedef GLuint _glthread_Thread;
9146
9147 typedef GLuint _glthread_Mutex;
9148 # 286 "../glapi/glthread.h"
9149 extern unsigned long
9150 _glthread_GetID(void);
9151
9152
9153 extern void
9154 _glthread_InitTSD(_glthread_TSD *);
9155
9156
9157 extern void *
9158 _glthread_GetTSD(_glthread_TSD *);
9159
9160
9161 extern void
9162 _glthread_SetTSD(_glthread_TSD *, void *);
9163 # 43 "./mtypes.h" 2
9164 # 1 "../math/m_matrix.h" 1
9165 # 55 "../math/m_matrix.h"
9166 enum GLmatrixtype {
9167    MATRIX_GENERAL,
9168    MATRIX_IDENTITY,
9169    MATRIX_3D_NO_ROT,
9170    MATRIX_PERSPECTIVE,
9171    MATRIX_2D,
9172    MATRIX_2D_NO_ROT,
9173    MATRIX_3D
9174 } ;
9175
9176
9177
9178
9179 typedef struct {
9180    GLfloat *m;
9181    GLfloat *inv;
9182    GLuint flags;
9183
9184
9185    enum GLmatrixtype type;
9186 } GLmatrix;
9187
9188
9189
9190
9191 extern void
9192 _math_matrix_ctr( GLmatrix *m );
9193
9194 extern void
9195 _math_matrix_dtr( GLmatrix *m );
9196
9197 extern void
9198 _math_matrix_alloc_inv( GLmatrix *m );
9199
9200 extern void
9201 _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b );
9202
9203 extern void
9204 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *b );
9205
9206 extern void
9207 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m );
9208
9209 extern void
9210 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
9211
9212 extern void
9213 _math_matrix_rotate( GLmatrix *m, GLfloat angle,
9214        GLfloat x, GLfloat y, GLfloat z );
9215
9216 extern void
9217 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
9218
9219 extern void
9220 _math_matrix_ortho( GLmatrix *mat,
9221       GLfloat left, GLfloat right,
9222       GLfloat bottom, GLfloat top,
9223       GLfloat nearval, GLfloat farval );
9224
9225 extern void
9226 _math_matrix_frustum( GLmatrix *mat,
9227         GLfloat left, GLfloat right,
9228         GLfloat bottom, GLfloat top,
9229         GLfloat nearval, GLfloat farval );
9230
9231 extern void
9232 _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height,
9233                       GLfloat zNear, GLfloat zFar, GLfloat depthMax);
9234
9235 extern void
9236 _math_matrix_set_identity( GLmatrix *dest );
9237
9238 extern void
9239 _math_matrix_copy( GLmatrix *to, const GLmatrix *from );
9240
9241 extern void
9242 _math_matrix_analyse( GLmatrix *mat );
9243
9244 extern void
9245 _math_matrix_print( const GLmatrix *m );
9246
9247 extern GLboolean
9248 _math_matrix_is_length_preserving( const GLmatrix *m );
9249
9250 extern GLboolean
9251 _math_matrix_has_rotation( const GLmatrix *m );
9252
9253 extern GLboolean
9254 _math_matrix_is_general_scale( const GLmatrix *m );
9255
9256 extern GLboolean
9257 _math_matrix_is_dirty( const GLmatrix *m );
9258
9259
9260
9261
9262
9263
9264
9265 extern void
9266 _math_transposef( GLfloat to[16], const GLfloat from[16] );
9267
9268 extern void
9269 _math_transposed( GLdouble to[16], const GLdouble from[16] );
9270
9271 extern void
9272 _math_transposefd( GLfloat to[16], const GLdouble from[16] );
9273 # 44 "./mtypes.h" 2
9274 # 1 "./bitset.h" 1
9275 # 45 "./mtypes.h" 2
9276 # 57 "./mtypes.h"
9277    typedef GLubyte GLchan;
9278 # 80 "./mtypes.h"
9279    typedef GLubyte GLstencil;
9280 # 91 "./mtypes.h"
9281 typedef int GLfixed;
9282 # 124 "./mtypes.h"
9283 struct _mesa_HashTable;
9284 struct gl_pixelstore_attrib;
9285 struct gl_texture_format;
9286 struct gl_texture_image;
9287 struct gl_texture_object;
9288 typedef struct __GLcontextRec GLcontext;
9289 typedef struct __GLcontextModesRec GLvisual;
9290 typedef struct gl_framebuffer GLframebuffer;
9291 # 143 "./mtypes.h"
9292 enum
9293 {
9294    VERT_ATTRIB_POS = 0,
9295    VERT_ATTRIB_WEIGHT = 1,
9296    VERT_ATTRIB_NORMAL = 2,
9297    VERT_ATTRIB_COLOR0 = 3,
9298    VERT_ATTRIB_COLOR1 = 4,
9299    VERT_ATTRIB_FOG = 5,
9300    VERT_ATTRIB_COLOR_INDEX = 6,
9301    VERT_ATTRIB_EDGEFLAG = 7,
9302    VERT_ATTRIB_TEX0 = 8,
9303    VERT_ATTRIB_TEX1 = 9,
9304    VERT_ATTRIB_TEX2 = 10,
9305    VERT_ATTRIB_TEX3 = 11,
9306    VERT_ATTRIB_TEX4 = 12,
9307    VERT_ATTRIB_TEX5 = 13,
9308    VERT_ATTRIB_TEX6 = 14,
9309    VERT_ATTRIB_TEX7 = 15,
9310    VERT_ATTRIB_GENERIC0 = 16,
9311    VERT_ATTRIB_GENERIC1 = 17,
9312    VERT_ATTRIB_GENERIC2 = 18,
9313    VERT_ATTRIB_GENERIC3 = 19,
9314    VERT_ATTRIB_GENERIC4 = 20,
9315    VERT_ATTRIB_GENERIC5 = 21,
9316    VERT_ATTRIB_GENERIC6 = 22,
9317    VERT_ATTRIB_GENERIC7 = 23,
9318    VERT_ATTRIB_GENERIC8 = 24,
9319    VERT_ATTRIB_GENERIC9 = 25,
9320    VERT_ATTRIB_GENERIC10 = 26,
9321    VERT_ATTRIB_GENERIC11 = 27,
9322    VERT_ATTRIB_GENERIC12 = 28,
9323    VERT_ATTRIB_GENERIC13 = 29,
9324    VERT_ATTRIB_GENERIC14 = 30,
9325    VERT_ATTRIB_GENERIC15 = 31,
9326    VERT_ATTRIB_MAX = 32
9327 };
9328 # 251 "./mtypes.h"
9329 enum
9330 {
9331    FRAG_ATTRIB_WPOS = 0,
9332    FRAG_ATTRIB_COL0 = 1,
9333    FRAG_ATTRIB_COL1 = 2,
9334    FRAG_ATTRIB_FOGC = 3,
9335    FRAG_ATTRIB_TEX0 = 4,
9336    FRAG_ATTRIB_TEX1 = 5,
9337    FRAG_ATTRIB_TEX2 = 6,
9338    FRAG_ATTRIB_TEX3 = 7,
9339    FRAG_ATTRIB_TEX4 = 8,
9340    FRAG_ATTRIB_TEX5 = 9,
9341    FRAG_ATTRIB_TEX6 = 10,
9342    FRAG_ATTRIB_TEX7 = 11,
9343    FRAG_ATTRIB_VAR0 = 12,
9344    FRAG_ATTRIB_MAX = (FRAG_ATTRIB_VAR0 + 8)
9345 };
9346 # 304 "./mtypes.h"
9347 enum
9348 {
9349    FRAG_RESULT_COLR = 0,
9350    FRAG_RESULT_COLH = 1,
9351    FRAG_RESULT_DEPR = 2,
9352    FRAG_RESULT_DATA0 = 3,
9353    FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + 4)
9354 };
9355
9356
9357
9358
9359
9360 enum {
9361    BUFFER_FRONT_LEFT = 0,
9362    BUFFER_BACK_LEFT = 1,
9363    BUFFER_FRONT_RIGHT = 2,
9364    BUFFER_BACK_RIGHT = 3,
9365    BUFFER_AUX0 = 4,
9366    BUFFER_AUX1 = 5,
9367    BUFFER_AUX2 = 6,
9368    BUFFER_AUX3 = 7,
9369    BUFFER_DEPTH = 8,
9370    BUFFER_STENCIL = 9,
9371    BUFFER_ACCUM = 10,
9372    BUFFER_COLOR0 = 11,
9373    BUFFER_COLOR1 = 12,
9374    BUFFER_COLOR2 = 13,
9375    BUFFER_COLOR3 = 14,
9376    BUFFER_COLOR4 = 15,
9377    BUFFER_COLOR5 = 16,
9378    BUFFER_COLOR6 = 17,
9379    BUFFER_COLOR7 = 18,
9380    BUFFER_COUNT = 19
9381 };
9382 # 396 "./mtypes.h"
9383 struct gl_color_table
9384 {
9385    GLenum InternalFormat;
9386    GLenum _BaseFormat;
9387    GLuint Size;
9388    GLfloat *TableF;
9389    GLubyte *TableUB;
9390    GLubyte RedSize;
9391    GLubyte GreenSize;
9392    GLubyte BlueSize;
9393    GLubyte AlphaSize;
9394    GLubyte LuminanceSize;
9395    GLubyte IntensitySize;
9396 };
9397 # 479 "./mtypes.h"
9398 struct gl_shine_tab
9399 {
9400    struct gl_shine_tab *next, *prev;
9401    GLfloat tab[256 +1];
9402    GLfloat shininess;
9403    GLuint refcount;
9404 };
9405
9406
9407
9408
9409
9410 struct gl_light
9411 {
9412    struct gl_light *next;
9413    struct gl_light *prev;
9414
9415    GLfloat Ambient[4];
9416    GLfloat Diffuse[4];
9417    GLfloat Specular[4];
9418    GLfloat EyePosition[4];
9419    GLfloat EyeDirection[4];
9420    GLfloat SpotExponent;
9421    GLfloat SpotCutoff;
9422    GLfloat _CosCutoffNeg;
9423    GLfloat _CosCutoff;
9424    GLfloat ConstantAttenuation;
9425    GLfloat LinearAttenuation;
9426    GLfloat QuadraticAttenuation;
9427    GLboolean Enabled;
9428
9429
9430
9431
9432
9433    GLbitfield _Flags;
9434
9435    GLfloat _Position[4];
9436    GLfloat _VP_inf_norm[3];
9437    GLfloat _h_inf_norm[3];
9438    GLfloat _NormDirection[4];
9439    GLfloat _VP_inf_spot_attenuation;
9440
9441    GLfloat _SpotExpTable[512][2];
9442    GLfloat _MatAmbient[2][3];
9443    GLfloat _MatDiffuse[2][3];
9444    GLfloat _MatSpecular[2][3];
9445    GLfloat _dli;
9446    GLfloat _sli;
9447
9448 };
9449
9450
9451
9452
9453
9454 struct gl_lightmodel
9455 {
9456    GLfloat Ambient[4];
9457    GLboolean LocalViewer;
9458    GLboolean TwoSide;
9459    GLenum ColorControl;
9460
9461 };
9462
9463
9464
9465
9466
9467 struct gl_material
9468 {
9469    GLfloat Attrib[12][4];
9470 };
9471
9472
9473
9474
9475
9476 struct gl_accum_attrib
9477 {
9478    GLfloat ClearColor[4];
9479 };
9480
9481
9482
9483
9484
9485 struct gl_colorbuffer_attrib
9486 {
9487    GLuint ClearIndex;
9488    GLclampf ClearColor[4];
9489
9490    GLuint IndexMask;
9491    GLubyte ColorMask[4];
9492
9493    GLenum DrawBuffer[4];
9494
9495
9496
9497
9498
9499    GLboolean AlphaEnabled;
9500    GLenum AlphaFunc;
9501    GLclampf AlphaRef;
9502
9503
9504
9505
9506
9507
9508    GLboolean BlendEnabled;
9509    GLenum BlendSrcRGB;
9510    GLenum BlendDstRGB;
9511    GLenum BlendSrcA;
9512    GLenum BlendDstA;
9513    GLenum BlendEquationRGB;
9514    GLenum BlendEquationA;
9515    GLfloat BlendColor[4];
9516
9517
9518
9519
9520
9521
9522    GLenum LogicOp;
9523    GLboolean IndexLogicOpEnabled;
9524    GLboolean ColorLogicOpEnabled;
9525    GLboolean _LogicOpEnabled;
9526
9527
9528    GLboolean DitherFlag;
9529
9530    GLenum ClampFragmentColor;
9531    GLenum ClampReadColor;
9532 };
9533
9534
9535
9536
9537
9538 struct gl_current_attrib
9539 {
9540
9541
9542
9543
9544
9545
9546
9547    GLfloat Attrib[VERT_ATTRIB_MAX][4];
9548
9549
9550
9551
9552
9553
9554
9555    GLfloat RasterPos[4];
9556    GLfloat RasterDistance;
9557    GLfloat RasterColor[4];
9558    GLfloat RasterSecondaryColor[4];
9559    GLfloat RasterIndex;
9560    GLfloat RasterTexCoords[8][4];
9561    GLboolean RasterPosValid;
9562
9563 };
9564
9565
9566
9567
9568
9569 struct gl_depthbuffer_attrib
9570 {
9571    GLenum Func;
9572    GLclampd Clear;
9573    GLboolean Test;
9574    GLboolean Mask;
9575    GLboolean BoundsTest;
9576    GLfloat BoundsMin, BoundsMax;
9577 };
9578
9579
9580
9581
9582
9583 struct gl_enable_attrib
9584 {
9585    GLboolean AlphaTest;
9586    GLboolean AutoNormal;
9587    GLboolean Blend;
9588    GLbitfield ClipPlanes;
9589    GLboolean ColorMaterial;
9590    GLboolean ColorTable[3];
9591    GLboolean Convolution1D;
9592    GLboolean Convolution2D;
9593    GLboolean Separable2D;
9594    GLboolean CullFace;
9595    GLboolean DepthTest;
9596    GLboolean Dither;
9597    GLboolean Fog;
9598    GLboolean Histogram;
9599    GLboolean Light[8];
9600    GLboolean Lighting;
9601    GLboolean LineSmooth;
9602    GLboolean LineStipple;
9603    GLboolean IndexLogicOp;
9604    GLboolean ColorLogicOp;
9605    GLboolean Map1Color4;
9606    GLboolean Map1Index;
9607    GLboolean Map1Normal;
9608    GLboolean Map1TextureCoord1;
9609    GLboolean Map1TextureCoord2;
9610    GLboolean Map1TextureCoord3;
9611    GLboolean Map1TextureCoord4;
9612    GLboolean Map1Vertex3;
9613    GLboolean Map1Vertex4;
9614    GLboolean Map1Attrib[16];
9615    GLboolean Map2Color4;
9616    GLboolean Map2Index;
9617    GLboolean Map2Normal;
9618    GLboolean Map2TextureCoord1;
9619    GLboolean Map2TextureCoord2;
9620    GLboolean Map2TextureCoord3;
9621    GLboolean Map2TextureCoord4;
9622    GLboolean Map2Vertex3;
9623    GLboolean Map2Vertex4;
9624    GLboolean Map2Attrib[16];
9625    GLboolean MinMax;
9626    GLboolean Normalize;
9627    GLboolean PixelTexture;
9628    GLboolean PointSmooth;
9629    GLboolean PolygonOffsetPoint;
9630    GLboolean PolygonOffsetLine;
9631    GLboolean PolygonOffsetFill;
9632    GLboolean PolygonSmooth;
9633    GLboolean PolygonStipple;
9634    GLboolean RescaleNormals;
9635    GLboolean Scissor;
9636    GLboolean Stencil;
9637    GLboolean StencilTwoSide;
9638    GLboolean MultisampleEnabled;
9639    GLboolean SampleAlphaToCoverage;
9640    GLboolean SampleAlphaToOne;
9641    GLboolean SampleCoverage;
9642    GLboolean SampleCoverageInvert;
9643    GLboolean RasterPositionUnclipped;
9644    GLuint Texture[8];
9645    GLuint TexGen[8];
9646
9647    GLboolean TextureColorTable[8];
9648
9649    GLboolean VertexProgram;
9650    GLboolean VertexProgramPointSize;
9651    GLboolean VertexProgramTwoSide;
9652
9653    GLboolean PointSprite;
9654    GLboolean FragmentShaderATI;
9655 };
9656
9657
9658
9659
9660
9661 struct gl_eval_attrib
9662 {
9663
9664
9665
9666
9667    GLboolean Map1Color4;
9668    GLboolean Map1Index;
9669    GLboolean Map1Normal;
9670    GLboolean Map1TextureCoord1;
9671    GLboolean Map1TextureCoord2;
9672    GLboolean Map1TextureCoord3;
9673    GLboolean Map1TextureCoord4;
9674    GLboolean Map1Vertex3;
9675    GLboolean Map1Vertex4;
9676    GLboolean Map1Attrib[16];
9677    GLboolean Map2Color4;
9678    GLboolean Map2Index;
9679    GLboolean Map2Normal;
9680    GLboolean Map2TextureCoord1;
9681    GLboolean Map2TextureCoord2;
9682    GLboolean Map2TextureCoord3;
9683    GLboolean Map2TextureCoord4;
9684    GLboolean Map2Vertex3;
9685    GLboolean Map2Vertex4;
9686    GLboolean Map2Attrib[16];
9687    GLboolean AutoNormal;
9688
9689
9690
9691
9692
9693
9694    GLint MapGrid1un;
9695    GLfloat MapGrid1u1, MapGrid1u2, MapGrid1du;
9696    GLint MapGrid2un, MapGrid2vn;
9697    GLfloat MapGrid2u1, MapGrid2u2, MapGrid2du;
9698    GLfloat MapGrid2v1, MapGrid2v2, MapGrid2dv;
9699
9700 };
9701
9702
9703
9704
9705
9706 struct gl_fog_attrib
9707 {
9708    GLboolean Enabled;
9709    GLfloat Color[4];
9710    GLfloat Density;
9711    GLfloat Start;
9712    GLfloat End;
9713    GLfloat Index;
9714    GLenum Mode;
9715    GLboolean ColorSumEnabled;
9716    GLenum FogCoordinateSource;
9717    GLfloat _Scale;
9718 };
9719
9720
9721
9722
9723
9724
9725
9726 struct gl_hint_attrib
9727 {
9728    GLenum PerspectiveCorrection;
9729    GLenum PointSmooth;
9730    GLenum LineSmooth;
9731    GLenum PolygonSmooth;
9732    GLenum Fog;
9733    GLenum ClipVolumeClipping;
9734    GLenum TextureCompression;
9735    GLenum GenerateMipmap;
9736    GLenum FragmentShaderDerivative;
9737 };
9738
9739
9740
9741
9742
9743 struct gl_histogram_attrib
9744 {
9745    GLuint Width;
9746    GLint Format;
9747    GLuint Count[256][4];
9748    GLboolean Sink;
9749    GLubyte RedSize;
9750    GLubyte GreenSize;
9751    GLubyte BlueSize;
9752    GLubyte AlphaSize;
9753    GLubyte LuminanceSize;
9754 };
9755
9756
9757
9758
9759
9760 struct gl_minmax_attrib
9761 {
9762    GLenum Format;
9763    GLboolean Sink;
9764    GLfloat Min[4], Max[4];
9765 };
9766
9767
9768
9769
9770
9771 struct gl_convolution_attrib
9772 {
9773    GLenum Format;
9774    GLenum InternalFormat;
9775    GLuint Width;
9776    GLuint Height;
9777    GLfloat Filter[9 * 9 * 4];
9778 };
9779 # 876 "./mtypes.h"
9780 struct gl_light_attrib
9781 {
9782    struct gl_light Light[8];
9783    struct gl_lightmodel Model;
9784
9785
9786
9787
9788
9789    struct gl_material Material;
9790
9791
9792    GLboolean Enabled;
9793    GLenum ShadeModel;
9794    GLenum ColorMaterialFace;
9795    GLenum ColorMaterialMode;
9796    GLbitfield ColorMaterialBitmask;
9797    GLboolean ColorMaterialEnabled;
9798    GLenum ClampVertexColor;
9799
9800    struct gl_light EnabledList;
9801
9802
9803
9804
9805
9806    GLboolean _NeedEyeCoords;
9807    GLboolean _NeedVertices;
9808    GLbitfield _Flags;
9809    GLfloat _BaseColor[2][3];
9810
9811 };
9812
9813
9814
9815
9816
9817 struct gl_line_attrib
9818 {
9819    GLboolean SmoothFlag;
9820    GLboolean StippleFlag;
9821    GLushort StipplePattern;
9822    GLint StippleFactor;
9823    GLfloat Width;
9824    GLfloat _Width;
9825 };
9826
9827
9828
9829
9830
9831 struct gl_list_attrib
9832 {
9833    GLuint ListBase;
9834 };
9835
9836
9837
9838
9839
9840 struct gl_list_instruction
9841 {
9842    GLuint Size;
9843    void (*Execute)( GLcontext *ctx, void *data );
9844    void (*Destroy)( GLcontext *ctx, void *data );
9845    void (*Print)( GLcontext *ctx, void *data );
9846 };
9847
9848
9849
9850
9851
9852
9853 struct gl_list_extensions
9854 {
9855    struct gl_list_instruction Opcode[16];
9856    GLuint NumOpcodes;
9857 };
9858
9859
9860
9861
9862
9863 struct gl_multisample_attrib
9864 {
9865    GLboolean Enabled;
9866    GLboolean SampleAlphaToCoverage;
9867    GLboolean SampleAlphaToOne;
9868    GLboolean SampleCoverage;
9869    GLfloat SampleCoverageValue;
9870    GLboolean SampleCoverageInvert;
9871 };
9872
9873
9874
9875
9876
9877 struct gl_pixelmap
9878 {
9879    GLint Size;
9880    GLfloat Map[256];
9881    GLubyte Map8[256];
9882 };
9883
9884
9885
9886
9887
9888 struct gl_pixelmaps
9889 {
9890    struct gl_pixelmap RtoR;
9891    struct gl_pixelmap GtoG;
9892    struct gl_pixelmap BtoB;
9893    struct gl_pixelmap AtoA;
9894    struct gl_pixelmap ItoR;
9895    struct gl_pixelmap ItoG;
9896    struct gl_pixelmap ItoB;
9897    struct gl_pixelmap ItoA;
9898    struct gl_pixelmap ItoI;
9899    struct gl_pixelmap StoS;
9900 };
9901
9902
9903
9904
9905
9906 struct gl_pixel_attrib
9907 {
9908    GLenum ReadBuffer;
9909
9910
9911
9912
9913
9914    GLfloat RedBias, RedScale;
9915    GLfloat GreenBias, GreenScale;
9916    GLfloat BlueBias, BlueScale;
9917    GLfloat AlphaBias, AlphaScale;
9918    GLfloat DepthBias, DepthScale;
9919    GLint IndexShift, IndexOffset;
9920
9921
9922
9923    GLboolean MapColorFlag;
9924    GLboolean MapStencilFlag;
9925
9926
9927    GLboolean ColorTableEnabled[3];
9928    GLfloat ColorTableScale[3][4];
9929    GLfloat ColorTableBias[3][4];
9930
9931
9932    GLboolean Convolution1DEnabled;
9933    GLboolean Convolution2DEnabled;
9934    GLboolean Separable2DEnabled;
9935    GLfloat ConvolutionBorderColor[3][4];
9936    GLenum ConvolutionBorderMode[3];
9937    GLfloat ConvolutionFilterScale[3][4];
9938    GLfloat ConvolutionFilterBias[3][4];
9939    GLfloat PostConvolutionScale[4];
9940    GLfloat PostConvolutionBias[4];
9941
9942
9943
9944    GLfloat PostColorMatrixScale[4];
9945    GLfloat PostColorMatrixBias[4];
9946
9947
9948
9949    GLboolean HistogramEnabled;
9950    GLboolean MinMaxEnabled;
9951
9952
9953
9954
9955    GLfloat ZoomX, ZoomY;
9956
9957
9958    GLfloat TextureColorTableScale[4];
9959    GLfloat TextureColorTableBias[4];
9960 };
9961
9962
9963
9964
9965
9966 struct gl_point_attrib
9967 {
9968    GLboolean SmoothFlag;
9969    GLfloat Size;
9970    GLfloat _Size;
9971    GLfloat Params[3];
9972    GLfloat MinSize, MaxSize;
9973    GLfloat Threshold;
9974    GLboolean _Attenuated;
9975    GLboolean PointSprite;
9976    GLboolean CoordReplace[8];
9977    GLenum SpriteRMode;
9978    GLenum SpriteOrigin;
9979 };
9980
9981
9982
9983
9984
9985 struct gl_polygon_attrib
9986 {
9987    GLenum FrontFace;
9988    GLenum FrontMode;
9989    GLenum BackMode;
9990    GLboolean _FrontBit;
9991    GLboolean CullFlag;
9992    GLboolean SmoothFlag;
9993    GLboolean StippleFlag;
9994    GLenum CullFaceMode;
9995    GLfloat OffsetFactor;
9996    GLfloat OffsetUnits;
9997    GLboolean OffsetPoint;
9998    GLboolean OffsetLine;
9999    GLboolean OffsetFill;
10000 };
10001
10002
10003
10004
10005
10006 struct gl_scissor_attrib
10007 {
10008    GLboolean Enabled;
10009    GLint X, Y;
10010    GLsizei Width, Height;
10011 };
10012
10013
10014
10015
10016
10017 struct gl_stencil_attrib
10018 {
10019    GLboolean Enabled;
10020    GLboolean TestTwoSide;
10021    GLubyte ActiveFace;
10022    GLboolean _TestTwoSide;
10023    GLenum Function[2];
10024    GLenum FailFunc[2];
10025    GLenum ZPassFunc[2];
10026    GLenum ZFailFunc[2];
10027    GLint Ref[2];
10028    GLuint ValueMask[2];
10029    GLuint WriteMask[2];
10030    GLuint Clear;
10031 };
10032 # 1222 "./mtypes.h"
10033 typedef void (*FetchTexelFuncC)( const struct gl_texture_image *texImage,
10034                                  GLint col, GLint row, GLint img,
10035                                  GLchan *texelOut );
10036
10037
10038
10039
10040
10041
10042 typedef void (*FetchTexelFuncF)( const struct gl_texture_image *texImage,
10043                                  GLint col, GLint row, GLint img,
10044                                  GLfloat *texelOut );
10045
10046
10047 typedef void (*StoreTexelFunc)(struct gl_texture_image *texImage,
10048                                GLint col, GLint row, GLint img,
10049                                const void *texel);
10050 # 1273 "./mtypes.h"
10051 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);
10052
10053
10054
10055
10056
10057 struct gl_texture_format
10058 {
10059    GLint MesaFormat;
10060
10061    GLenum BaseFormat;
10062
10063
10064
10065
10066    GLenum DataType;
10067    GLubyte RedBits;
10068    GLubyte GreenBits;
10069    GLubyte BlueBits;
10070    GLubyte AlphaBits;
10071    GLubyte LuminanceBits;
10072    GLubyte IntensityBits;
10073    GLubyte IndexBits;
10074    GLubyte DepthBits;
10075    GLubyte StencilBits;
10076
10077    GLuint TexelBytes;
10078
10079    StoreTexImageFunc StoreImage;
10080
10081
10082
10083
10084
10085    FetchTexelFuncC FetchTexel1D;
10086    FetchTexelFuncC FetchTexel2D;
10087    FetchTexelFuncC FetchTexel3D;
10088    FetchTexelFuncF FetchTexel1Df;
10089    FetchTexelFuncF FetchTexel2Df;
10090    FetchTexelFuncF FetchTexel3Df;
10091
10092
10093    StoreTexelFunc StoreTexel;
10094 };
10095 # 1325 "./mtypes.h"
10096 struct gl_texture_image
10097 {
10098    GLenum _BaseFormat;
10099
10100
10101
10102
10103
10104    GLint InternalFormat;
10105    GLuint Border;
10106    GLuint Width;
10107    GLuint Height;
10108    GLuint Depth;
10109    GLuint Width2;
10110    GLuint Height2;
10111    GLuint Depth2;
10112    GLuint WidthLog2;
10113    GLuint HeightLog2;
10114    GLuint DepthLog2;
10115    GLuint MaxLog2;
10116    GLfloat WidthScale;
10117    GLfloat HeightScale;
10118    GLfloat DepthScale;
10119    GLboolean IsClientData;
10120    GLboolean _IsPowerOfTwo;
10121
10122    const struct gl_texture_format *TexFormat;
10123
10124    struct gl_texture_object *TexObject;
10125
10126    FetchTexelFuncC FetchTexelc;
10127    FetchTexelFuncF FetchTexelf;
10128
10129    GLboolean IsCompressed;
10130    GLuint CompressedSize;
10131
10132    GLuint RowStride;
10133    GLuint *ImageOffsets;
10134
10135    GLvoid *Data;
10136
10137
10138
10139
10140
10141    void *DriverData;
10142
10143 };
10144 # 1394 "./mtypes.h"
10145 struct gl_texture_object
10146 {
10147    _glthread_Mutex Mutex;
10148    GLint RefCount;
10149    GLuint Name;
10150    GLenum Target;
10151    GLfloat Priority;
10152    GLfloat BorderColor[4];
10153    GLchan _BorderChan[4];
10154    GLenum WrapS;
10155    GLenum WrapT;
10156    GLenum WrapR;
10157    GLenum MinFilter;
10158    GLenum MagFilter;
10159    GLfloat MinLod;
10160    GLfloat MaxLod;
10161    GLfloat LodBias;
10162    GLint BaseLevel;
10163    GLint MaxLevel;
10164    GLfloat MaxAnisotropy;
10165    GLboolean CompareFlag;
10166    GLenum CompareOperator;
10167    GLfloat ShadowAmbient;
10168    GLenum CompareMode;
10169    GLenum CompareFunc;
10170    GLenum DepthMode;
10171    GLint _MaxLevel;
10172    GLfloat _MaxLambda;
10173    GLboolean GenerateMipmap;
10174    GLboolean Complete;
10175
10176
10177    struct gl_texture_image *Image[6][12];
10178
10179
10180    struct gl_color_table Palette;
10181 # 1439 "./mtypes.h"
10182    void *DriverData;
10183 };
10184 # 1450 "./mtypes.h"
10185 struct gl_tex_env_combine_state
10186 {
10187    GLenum ModeRGB;
10188    GLenum ModeA;
10189    GLenum SourceRGB[3];
10190    GLenum SourceA[3];
10191    GLenum OperandRGB[3];
10192    GLenum OperandA[3];
10193    GLuint ScaleShiftRGB;
10194    GLuint ScaleShiftA;
10195    GLuint _NumArgsRGB;
10196    GLuint _NumArgsA;
10197 };
10198
10199
10200
10201
10202
10203
10204
10205 struct gl_texture_unit
10206 {
10207    GLbitfield Enabled;
10208    GLbitfield _ReallyEnabled;
10209
10210    GLenum EnvMode;
10211    GLfloat EnvColor[4];
10212    GLbitfield TexGenEnabled;
10213
10214
10215
10216    GLenum GenModeS;
10217    GLenum GenModeT;
10218    GLenum GenModeR;
10219    GLenum GenModeQ;
10220
10221    GLbitfield _GenBitS;
10222    GLbitfield _GenBitT;
10223    GLbitfield _GenBitR;
10224    GLbitfield _GenBitQ;
10225    GLbitfield _GenFlags;
10226    GLfloat ObjectPlaneS[4];
10227    GLfloat ObjectPlaneT[4];
10228    GLfloat ObjectPlaneR[4];
10229    GLfloat ObjectPlaneQ[4];
10230    GLfloat EyePlaneS[4];
10231    GLfloat EyePlaneT[4];
10232    GLfloat EyePlaneR[4];
10233    GLfloat EyePlaneQ[4];
10234    GLfloat LodBias;
10235
10236
10237
10238
10239    struct gl_tex_env_combine_state Combine;
10240
10241
10242
10243
10244
10245    struct gl_tex_env_combine_state _EnvMode;
10246
10247
10248
10249
10250
10251    struct gl_tex_env_combine_state *_CurrentCombine;
10252
10253    struct gl_texture_object *Current1D;
10254    struct gl_texture_object *Current2D;
10255    struct gl_texture_object *Current3D;
10256    struct gl_texture_object *CurrentCubeMap;
10257    struct gl_texture_object *CurrentRect;
10258
10259    struct gl_texture_object *_Current;
10260
10261
10262    struct gl_color_table ColorTable;
10263    struct gl_color_table ProxyColorTable;
10264    GLboolean ColorTableEnabled;
10265 };
10266
10267 struct texenvprog_cache_item {
10268    GLuint hash;
10269    void *key;
10270    struct gl_fragment_program *data;
10271    struct texenvprog_cache_item *next;
10272 };
10273
10274 struct texenvprog_cache {
10275    struct texenvprog_cache_item **items;
10276    GLuint size, n_items;
10277    GLcontext *ctx;
10278 };
10279
10280
10281
10282
10283 struct gl_texture_attrib
10284 {
10285
10286
10287
10288
10289    GLuint CurrentUnit;
10290    GLbitfield _EnabledUnits;
10291    GLbitfield _EnabledCoordUnits;
10292    GLbitfield _GenFlags;
10293    GLbitfield _TexGenEnabled;
10294    GLbitfield _TexMatEnabled;
10295
10296
10297    struct gl_texture_unit Unit[8];
10298
10299    struct gl_texture_object *Proxy1D;
10300    struct gl_texture_object *Proxy2D;
10301    struct gl_texture_object *Proxy3D;
10302    struct gl_texture_object *ProxyCubeMap;
10303    struct gl_texture_object *ProxyRect;
10304
10305
10306    GLboolean SharedPalette;
10307    struct gl_color_table Palette;
10308
10309
10310    struct texenvprog_cache env_fp_cache;
10311 };
10312
10313
10314
10315
10316
10317 struct gl_transform_attrib
10318 {
10319    GLenum MatrixMode;
10320    GLfloat EyeUserPlane[6][4];
10321    GLfloat _ClipUserPlane[6][4];
10322    GLbitfield ClipPlanesEnabled;
10323    GLboolean Normalize;
10324    GLboolean RescaleNormals;
10325    GLboolean RasterPositionUnclipped;
10326
10327    GLboolean CullVertexFlag;
10328    GLfloat CullEyePos[4];
10329    GLfloat CullObjPos[4];
10330 };
10331
10332
10333
10334
10335
10336 struct gl_viewport_attrib
10337 {
10338    GLint X, Y;
10339    GLsizei Width, Height;
10340    GLfloat Near, Far;
10341    GLmatrix _WindowMap;
10342 };
10343
10344
10345
10346
10347
10348 struct gl_attrib_node
10349 {
10350    GLbitfield kind;
10351    void *data;
10352    struct gl_attrib_node *next;
10353 };
10354
10355
10356
10357
10358
10359 struct gl_buffer_object
10360 {
10361    GLint RefCount;
10362    GLuint Name;
10363    GLenum Usage;
10364    GLenum Access;
10365    GLvoid *Pointer;
10366    GLsizeiptrARB Size;
10367    GLubyte *Data;
10368    GLboolean OnCard;
10369 };
10370
10371
10372
10373
10374
10375
10376 struct gl_pixelstore_attrib
10377 {
10378    GLint Alignment;
10379    GLint RowLength;
10380    GLint SkipPixels;
10381    GLint SkipRows;
10382    GLint ImageHeight;
10383    GLint SkipImages;
10384    GLboolean SwapBytes;
10385    GLboolean LsbFirst;
10386    GLboolean ClientStorage;
10387    GLboolean Invert;
10388    struct gl_buffer_object *BufferObj;
10389 };
10390
10391
10392
10393
10394
10395
10396 struct gl_client_array
10397 {
10398    GLint Size;
10399    GLenum Type;
10400    GLsizei Stride;
10401    GLsizei StrideB;
10402    const GLubyte *Ptr;
10403    GLboolean Enabled;
10404    GLboolean Normalized;
10405
10406
10407    struct gl_buffer_object *BufferObj;
10408    GLuint _MaxElement;
10409 };
10410
10411
10412
10413
10414
10415
10416 struct gl_array_object
10417 {
10418
10419    GLuint Name;
10420
10421
10422
10423    struct gl_client_array Vertex;
10424    struct gl_client_array Normal;
10425    struct gl_client_array Color;
10426    struct gl_client_array SecondaryColor;
10427    struct gl_client_array FogCoord;
10428    struct gl_client_array Index;
10429    struct gl_client_array EdgeFlag;
10430    struct gl_client_array TexCoord[8];
10431
10432
10433
10434    struct gl_client_array VertexAttrib[VERT_ATTRIB_MAX];
10435
10436
10437    GLbitfield _Enabled;
10438 };
10439
10440
10441
10442
10443
10444 struct gl_array_attrib
10445 {
10446    struct gl_array_object *ArrayObj;
10447    struct gl_array_object *DefaultArrayObj;
10448
10449    GLint ActiveTexture;
10450    GLuint LockFirst;
10451    GLuint LockCount;
10452
10453    GLbitfield NewState;
10454
10455
10456    struct gl_buffer_object *NullBufferObj;
10457    struct gl_buffer_object *ArrayBufferObj;
10458    struct gl_buffer_object *ElementArrayBufferObj;
10459
10460    GLuint _MaxElement;
10461 };
10462
10463
10464
10465
10466
10467 struct gl_feedback
10468 {
10469    GLenum Type;
10470    GLbitfield _Mask;
10471    GLfloat *Buffer;
10472    GLuint BufferSize;
10473    GLuint Count;
10474 };
10475
10476
10477
10478
10479
10480 struct gl_selection
10481 {
10482    GLuint *Buffer;
10483    GLuint BufferSize;
10484    GLuint BufferCount;
10485    GLuint Hits;
10486    GLuint NameStackDepth;
10487    GLuint NameStack[64];
10488    GLboolean HitFlag;
10489    GLfloat HitMinZ;
10490    GLfloat HitMaxZ;
10491 };
10492
10493
10494
10495
10496
10497 struct gl_1d_map
10498 {
10499    GLuint Order;
10500    GLfloat u1, u2, du;
10501    GLfloat *Points;
10502 };
10503
10504
10505
10506
10507
10508 struct gl_2d_map
10509 {
10510    GLuint Uorder;
10511    GLuint Vorder;
10512    GLfloat u1, u2, du;
10513    GLfloat v1, v2, dv;
10514    GLfloat *Points;
10515 };
10516
10517
10518
10519
10520
10521 struct gl_evaluators
10522 {
10523
10524
10525
10526
10527    struct gl_1d_map Map1Vertex3;
10528    struct gl_1d_map Map1Vertex4;
10529    struct gl_1d_map Map1Index;
10530    struct gl_1d_map Map1Color4;
10531    struct gl_1d_map Map1Normal;
10532    struct gl_1d_map Map1Texture1;
10533    struct gl_1d_map Map1Texture2;
10534    struct gl_1d_map Map1Texture3;
10535    struct gl_1d_map Map1Texture4;
10536    struct gl_1d_map Map1Attrib[16];
10537
10538
10539
10540
10541
10542
10543    struct gl_2d_map Map2Vertex3;
10544    struct gl_2d_map Map2Vertex4;
10545    struct gl_2d_map Map2Index;
10546    struct gl_2d_map Map2Color4;
10547    struct gl_2d_map Map2Normal;
10548    struct gl_2d_map Map2Texture1;
10549    struct gl_2d_map Map2Texture2;
10550    struct gl_2d_map Map2Texture3;
10551    struct gl_2d_map Map2Texture4;
10552    struct gl_2d_map Map2Attrib[16];
10553
10554 };
10555 # 1833 "./mtypes.h"
10556 enum register_file
10557 {
10558    PROGRAM_TEMPORARY = 0,
10559    PROGRAM_LOCAL_PARAM = 1,
10560    PROGRAM_ENV_PARAM = 2,
10561    PROGRAM_STATE_VAR = 3,
10562    PROGRAM_INPUT = 4,
10563    PROGRAM_OUTPUT = 5,
10564    PROGRAM_NAMED_PARAM = 6,
10565    PROGRAM_CONSTANT = 7,
10566    PROGRAM_UNIFORM = 8,
10567    PROGRAM_VARYING = 9,
10568    PROGRAM_WRITE_ONLY = 10,
10569    PROGRAM_ADDRESS = 11,
10570    PROGRAM_SAMPLER = 12,
10571    PROGRAM_UNDEFINED = 13,
10572    PROGRAM_FILE_MAX
10573 };
10574
10575
10576
10577 struct prog_instruction;
10578 struct gl_program_parameter_list;
10579
10580
10581
10582
10583
10584 struct gl_program
10585 {
10586    GLuint Id;
10587    GLubyte *String;
10588    GLint RefCount;
10589    GLenum Target;
10590    GLenum Format;
10591    GLboolean Resident;
10592
10593    struct prog_instruction *Instructions;
10594
10595    GLbitfield InputsRead;
10596    GLbitfield OutputsWritten;
10597    GLbitfield TexturesUsed[8];
10598
10599
10600    struct gl_program_parameter_list *Parameters;
10601
10602    GLfloat LocalParams[128][4];
10603
10604
10605    struct gl_program_parameter_list *Varying;
10606
10607    struct gl_program_parameter_list *Attributes;
10608
10609
10610
10611    GLuint NumInstructions;
10612    GLuint NumTemporaries;
10613    GLuint NumParameters;
10614    GLuint NumAttributes;
10615    GLuint NumAddressRegs;
10616    GLuint NumAluInstructions;
10617    GLuint NumTexInstructions;
10618    GLuint NumTexIndirections;
10619
10620
10621
10622    GLuint NumNativeInstructions;
10623    GLuint NumNativeTemporaries;
10624    GLuint NumNativeParameters;
10625    GLuint NumNativeAttributes;
10626    GLuint NumNativeAddressRegs;
10627    GLuint NumNativeAluInstructions;
10628    GLuint NumNativeTexInstructions;
10629    GLuint NumNativeTexIndirections;
10630
10631 };
10632
10633
10634
10635 struct gl_vertex_program
10636 {
10637    struct gl_program Base;
10638    GLboolean IsNVProgram;
10639    GLboolean IsPositionInvariant;
10640    void *TnlData;
10641 };
10642
10643
10644
10645 struct gl_fragment_program
10646 {
10647    struct gl_program Base;
10648    GLenum FogOption;
10649    GLboolean UsesKill;
10650 };
10651
10652
10653
10654
10655
10656 struct gl_program_state
10657 {
10658    GLint ErrorPos;
10659    const char *ErrorString;
10660 };
10661
10662
10663
10664
10665
10666 struct gl_vertex_program_state
10667 {
10668    GLboolean Enabled;
10669    GLboolean _Enabled;
10670    GLboolean PointSizeEnabled;
10671    GLboolean TwoSideEnabled;
10672    struct gl_vertex_program *Current;
10673
10674
10675
10676
10677    struct gl_vertex_program *_Current;
10678
10679    GLfloat Parameters[128][4];
10680
10681
10682    GLenum TrackMatrix[128 / 4];
10683    GLenum TrackMatrixTransform[128 / 4];
10684
10685
10686    GLboolean _MaintainTnlProgram;
10687
10688
10689    struct gl_vertex_program *_TnlProgram;
10690
10691
10692    GLprogramcallbackMESA Callback;
10693    GLvoid *CallbackData;
10694    GLboolean CallbackEnabled;
10695    GLuint CurrentPosition;
10696
10697 };
10698
10699
10700
10701
10702
10703 struct gl_fragment_program_state
10704 {
10705    GLboolean Enabled;
10706    GLboolean _Enabled;
10707    GLboolean _Active;
10708    struct gl_fragment_program *Current;
10709
10710
10711
10712
10713    struct gl_fragment_program *_Current;
10714
10715    GLfloat Parameters[128][4];
10716
10717
10718    GLboolean _MaintainTexEnvProgram;
10719    GLboolean _UseTexEnvProgram;
10720
10721
10722    struct gl_fragment_program *_TexEnvProgram;
10723
10724
10725    GLprogramcallbackMESA Callback;
10726    GLvoid *CallbackData;
10727    GLboolean CallbackEnabled;
10728    GLuint CurrentPosition;
10729
10730 };
10731 # 2016 "./mtypes.h"
10732 struct atifs_instruction;
10733 struct atifs_setupinst;
10734
10735
10736
10737
10738 struct ati_fragment_shader
10739 {
10740    GLuint Id;
10741    GLint RefCount;
10742    struct atifs_instruction *Instructions[2];
10743    struct atifs_setupinst *SetupInst[2];
10744    GLfloat Constants[8][4];
10745    GLbitfield LocalConstDef;
10746    GLubyte numArithInstr[2];
10747    GLubyte regsAssigned[2];
10748    GLubyte NumPasses;
10749    GLubyte cur_pass;
10750    GLubyte last_optype;
10751    GLboolean interpinp1;
10752    GLboolean isValid;
10753    GLuint swizzlerq;
10754 };
10755
10756
10757
10758
10759 struct gl_ati_fragment_shader_state
10760 {
10761    GLboolean Enabled;
10762    GLboolean _Enabled;
10763    GLboolean Compiling;
10764    GLfloat GlobalConstants[8][4];
10765    struct ati_fragment_shader *Current;
10766 };
10767
10768
10769
10770
10771
10772 struct gl_query_object
10773 {
10774    GLuint Id;
10775    GLuint64EXT Result;
10776    GLboolean Active;
10777    GLboolean Ready;
10778 };
10779
10780
10781
10782
10783
10784 struct gl_query_state
10785 {
10786    struct _mesa_HashTable *QueryObjects;
10787    struct gl_query_object *CurrentOcclusionObject;
10788    struct gl_query_object *CurrentTimerObject;
10789 };
10790
10791
10792
10793
10794
10795
10796 struct gl_shader
10797 {
10798    GLenum Type;
10799    GLuint Name;
10800    GLint RefCount;
10801    GLboolean DeletePending;
10802
10803    const GLchar *Source;
10804    GLboolean CompileStatus;
10805    GLuint NumPrograms;
10806    struct gl_program **Programs;
10807    GLchar *InfoLog;
10808 };
10809
10810
10811
10812
10813
10814 struct gl_shader_program
10815 {
10816    GLenum Type;
10817    GLuint Name;
10818    GLint RefCount;
10819    GLboolean DeletePending;
10820
10821    GLuint NumShaders;
10822    struct gl_shader **Shaders;
10823
10824
10825    struct gl_vertex_program *VertexProgram;
10826    struct gl_fragment_program *FragmentProgram;
10827    struct gl_program_parameter_list *Uniforms;
10828    struct gl_program_parameter_list *Varying;
10829    struct gl_program_parameter_list *Attributes;
10830    GLboolean LinkStatus;
10831    GLboolean Validated;
10832    GLchar *InfoLog;
10833 };
10834
10835
10836
10837
10838
10839 struct gl_shader_state
10840 {
10841    struct gl_shader_program *CurrentProgram;
10842
10843    GLboolean EmitHighLevelInstructions;
10844    GLboolean EmitCondCodes;
10845    GLboolean EmitComments;
10846    void *MemPool;
10847 };
10848
10849
10850
10851
10852
10853 struct gl_shared_state
10854 {
10855    _glthread_Mutex Mutex;
10856    GLint RefCount;
10857    struct _mesa_HashTable *DisplayList;
10858    struct _mesa_HashTable *TexObjects;
10859
10860
10861
10862
10863
10864    struct gl_texture_object *Default1D;
10865    struct gl_texture_object *Default2D;
10866    struct gl_texture_object *Default3D;
10867    struct gl_texture_object *DefaultCubeMap;
10868    struct gl_texture_object *DefaultRect;
10869 # 2162 "./mtypes.h"
10870    _glthread_Mutex TexMutex;
10871    GLuint TextureStateStamp;
10872 # 2172 "./mtypes.h"
10873    struct _mesa_HashTable *Programs;
10874
10875    struct gl_program *DefaultVertexProgram;
10876
10877
10878    struct gl_program *DefaultFragmentProgram;
10879
10880
10881
10882
10883    struct _mesa_HashTable *ATIShaders;
10884    struct ati_fragment_shader *DefaultFragmentShader;
10885
10886
10887
10888    struct _mesa_HashTable *BufferObjects;
10889
10890
10891
10892
10893    struct _mesa_HashTable *ShaderObjects;
10894
10895
10896
10897    struct _mesa_HashTable *RenderBuffers;
10898    struct _mesa_HashTable *FrameBuffers;
10899
10900
10901
10902    struct _mesa_HashTable *ArrayObjects;
10903
10904    void *DriverData;
10905 };
10906 # 2218 "./mtypes.h"
10907 struct gl_renderbuffer
10908 {
10909
10910    int Magic;
10911    _glthread_Mutex Mutex;
10912    GLuint ClassID;
10913    GLuint Name;
10914    GLint RefCount;
10915    GLuint Width, Height;
10916    GLenum InternalFormat;
10917    GLenum _ActualFormat;
10918    GLenum _BaseFormat;
10919
10920    GLenum DataType;
10921    GLubyte RedBits;
10922    GLubyte GreenBits;
10923    GLubyte BlueBits;
10924    GLubyte AlphaBits;
10925    GLubyte IndexBits;
10926    GLubyte DepthBits;
10927    GLubyte StencilBits;
10928    GLvoid *Data;
10929
10930
10931    struct gl_renderbuffer *Wrapped;
10932
10933
10934    void (*Delete)(struct gl_renderbuffer *rb);
10935
10936
10937    GLboolean (*AllocStorage)(GLcontext *ctx, struct gl_renderbuffer *rb,
10938                              GLenum internalFormat,
10939                              GLuint width, GLuint height);
10940 # 2261 "./mtypes.h"
10941    void *(*GetPointer)(GLcontext *ctx, struct gl_renderbuffer *rb,
10942                        GLint x, GLint y);
10943
10944
10945
10946
10947    void (*GetRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10948                   GLint x, GLint y, void *values);
10949
10950
10951
10952
10953    void (*GetValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10954                      const GLint x[], const GLint y[], void *values);
10955
10956
10957
10958
10959    void (*PutRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10960                   GLint x, GLint y, const void *values, const GLubyte *mask);
10961
10962
10963
10964
10965
10966
10967    void (*PutRowRGB)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10968                     GLint x, GLint y, const void *values, const GLubyte *mask);
10969
10970
10971
10972
10973
10974    void (*PutMonoRow)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10975                      GLint x, GLint y, const void *value, const GLubyte *mask);
10976
10977
10978
10979
10980    void (*PutValues)(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
10981                      const GLint x[], const GLint y[], const void *values,
10982                      const GLubyte *mask);
10983
10984
10985
10986    void (*PutMonoValues)(GLcontext *ctx, struct gl_renderbuffer *rb,
10987                          GLuint count, const GLint x[], const GLint y[],
10988                          const void *value, const GLubyte *mask);
10989 };
10990
10991
10992
10993
10994
10995
10996
10997 struct gl_renderbuffer_attachment
10998 {
10999    GLenum Type;
11000    GLboolean Complete;
11001
11002
11003    struct gl_renderbuffer *Renderbuffer;
11004
11005
11006    struct gl_texture_object *Texture;
11007    GLuint TextureLevel;
11008    GLuint CubeMapFace;
11009    GLuint Zoffset;
11010 };
11011
11012
11013
11014
11015
11016
11017
11018 struct gl_framebuffer
11019 {
11020    _glthread_Mutex Mutex;
11021    GLuint Name;
11022    GLint RefCount;
11023    GLboolean DeletePending;
11024
11025    GLvisual Visual;
11026
11027
11028
11029    GLboolean Initialized;
11030
11031    GLuint Width, Height;
11032
11033
11034
11035    GLint _Xmin, _Xmax;
11036    GLint _Ymin, _Ymax;
11037
11038
11039
11040
11041    GLuint _DepthMax;
11042    GLfloat _DepthMaxF;
11043    GLfloat _MRD;
11044
11045
11046    GLenum _Status;
11047
11048
11049    struct gl_renderbuffer_attachment Attachment[BUFFER_COUNT];
11050
11051
11052
11053
11054    GLenum ColorDrawBuffer[4];
11055    GLenum ColorReadBuffer;
11056
11057
11058    GLbitfield _ColorDrawBufferMask[4];
11059    GLint _ColorReadBufferIndex;
11060
11061
11062    GLuint _NumColorDrawBuffers[4];
11063    struct gl_renderbuffer *_ColorDrawBuffers[4][4];
11064    struct gl_renderbuffer *_ColorReadBuffer;
11065
11066
11067
11068    struct gl_renderbuffer *_DepthBuffer;
11069    struct gl_renderbuffer *_StencilBuffer;
11070
11071
11072    void (*Delete)(struct gl_framebuffer *fb);
11073 };
11074
11075
11076
11077
11078
11079 struct gl_program_constants
11080 {
11081
11082    GLuint MaxInstructions;
11083    GLuint MaxAluInstructions;
11084    GLuint MaxTexInstructions;
11085    GLuint MaxTexIndirections;
11086    GLuint MaxAttribs;
11087    GLuint MaxTemps;
11088    GLuint MaxAddressRegs;
11089    GLuint MaxParameters;
11090    GLuint MaxLocalParams;
11091    GLuint MaxEnvParams;
11092
11093    GLuint MaxNativeInstructions;
11094    GLuint MaxNativeAluInstructions;
11095    GLuint MaxNativeTexInstructions;
11096    GLuint MaxNativeTexIndirections;
11097    GLuint MaxNativeAttribs;
11098    GLuint MaxNativeTemps;
11099    GLuint MaxNativeAddressRegs;
11100    GLuint MaxNativeParameters;
11101
11102    GLuint MaxUniformComponents;
11103 };
11104
11105
11106
11107
11108
11109
11110 struct gl_constants
11111 {
11112    GLint MaxTextureLevels;
11113    GLint Max3DTextureLevels;
11114    GLint MaxCubeTextureLevels;
11115    GLint MaxTextureRectSize;
11116    GLuint MaxTextureCoordUnits;
11117    GLuint MaxTextureImageUnits;
11118    GLuint MaxTextureUnits;
11119    GLfloat MaxTextureMaxAnisotropy;
11120    GLfloat MaxTextureLodBias;
11121    GLuint MaxArrayLockSize;
11122    GLint SubPixelBits;
11123    GLfloat MinPointSize, MaxPointSize;
11124    GLfloat MinPointSizeAA, MaxPointSizeAA;
11125    GLfloat PointSizeGranularity;
11126    GLfloat MinLineWidth, MaxLineWidth;
11127    GLfloat MinLineWidthAA, MaxLineWidthAA;
11128    GLfloat LineWidthGranularity;
11129    GLuint MaxColorTableSize;
11130    GLuint MaxConvolutionWidth;
11131    GLuint MaxConvolutionHeight;
11132    GLuint MaxClipPlanes;
11133    GLuint MaxLights;
11134    GLfloat MaxShininess;
11135    GLfloat MaxSpotExponent;
11136    GLuint MaxViewportWidth, MaxViewportHeight;
11137    struct gl_program_constants VertexProgram;
11138    struct gl_program_constants FragmentProgram;
11139
11140    GLuint MaxProgramMatrices;
11141    GLuint MaxProgramMatrixStackDepth;
11142
11143    GLboolean CheckArrayBounds;
11144
11145    GLuint MaxDrawBuffers;
11146
11147    GLenum ColorReadFormat;
11148    GLenum ColorReadType;
11149
11150    GLuint MaxColorAttachments;
11151    GLuint MaxRenderbufferSize;
11152
11153    GLuint MaxVertexTextureImageUnits;
11154    GLuint MaxVarying;
11155 };
11156
11157
11158
11159
11160
11161
11162 struct gl_extensions
11163 {
11164
11165
11166
11167
11168
11169
11170    GLboolean dummy;
11171    GLboolean ARB_depth_texture;
11172    GLboolean ARB_draw_buffers;
11173    GLboolean ARB_fragment_program;
11174    GLboolean ARB_fragment_shader;
11175    GLboolean ARB_half_float_pixel;
11176    GLboolean ARB_imaging;
11177    GLboolean ARB_multisample;
11178    GLboolean ARB_multitexture;
11179    GLboolean ARB_occlusion_query;
11180    GLboolean ARB_point_sprite;
11181    GLboolean ARB_shader_objects;
11182    GLboolean ARB_shading_language_100;
11183    GLboolean ARB_shading_language_120;
11184    GLboolean ARB_shadow;
11185    GLboolean ARB_texture_border_clamp;
11186    GLboolean ARB_texture_compression;
11187    GLboolean ARB_texture_cube_map;
11188    GLboolean ARB_texture_env_combine;
11189    GLboolean ARB_texture_env_crossbar;
11190    GLboolean ARB_texture_env_dot3;
11191    GLboolean ARB_texture_float;
11192    GLboolean ARB_texture_mirrored_repeat;
11193    GLboolean ARB_texture_non_power_of_two;
11194    GLboolean ARB_transpose_matrix;
11195    GLboolean ARB_vertex_buffer_object;
11196    GLboolean ARB_vertex_program;
11197    GLboolean ARB_vertex_shader;
11198    GLboolean ARB_window_pos;
11199    GLboolean EXT_abgr;
11200    GLboolean EXT_bgra;
11201    GLboolean EXT_blend_color;
11202    GLboolean EXT_blend_equation_separate;
11203    GLboolean EXT_blend_func_separate;
11204    GLboolean EXT_blend_logic_op;
11205    GLboolean EXT_blend_minmax;
11206    GLboolean EXT_blend_subtract;
11207    GLboolean EXT_clip_volume_hint;
11208    GLboolean EXT_cull_vertex;
11209    GLboolean EXT_convolution;
11210    GLboolean EXT_compiled_vertex_array;
11211    GLboolean EXT_copy_texture;
11212    GLboolean EXT_depth_bounds_test;
11213    GLboolean EXT_draw_range_elements;
11214    GLboolean EXT_framebuffer_object;
11215    GLboolean EXT_fog_coord;
11216    GLboolean EXT_framebuffer_blit;
11217    GLboolean EXT_gpu_program_parameters;
11218    GLboolean EXT_histogram;
11219    GLboolean EXT_multi_draw_arrays;
11220    GLboolean EXT_paletted_texture;
11221    GLboolean EXT_packed_depth_stencil;
11222    GLboolean EXT_packed_pixels;
11223    GLboolean EXT_pixel_buffer_object;
11224    GLboolean EXT_point_parameters;
11225    GLboolean EXT_polygon_offset;
11226    GLboolean EXT_rescale_normal;
11227    GLboolean EXT_shadow_funcs;
11228    GLboolean EXT_secondary_color;
11229    GLboolean EXT_separate_specular_color;
11230    GLboolean EXT_shared_texture_palette;
11231    GLboolean EXT_stencil_wrap;
11232    GLboolean EXT_stencil_two_side;
11233    GLboolean EXT_subtexture;
11234    GLboolean EXT_texture;
11235    GLboolean EXT_texture_object;
11236    GLboolean EXT_texture3D;
11237    GLboolean EXT_texture_compression_s3tc;
11238    GLboolean EXT_texture_env_add;
11239    GLboolean EXT_texture_env_combine;
11240    GLboolean EXT_texture_env_dot3;
11241    GLboolean EXT_texture_filter_anisotropic;
11242    GLboolean EXT_texture_lod_bias;
11243    GLboolean EXT_texture_mirror_clamp;
11244    GLboolean EXT_texture_sRGB;
11245    GLboolean EXT_timer_query;
11246    GLboolean EXT_vertex_array;
11247    GLboolean EXT_vertex_array_set;
11248
11249    GLboolean APPLE_client_storage;
11250    GLboolean APPLE_packed_pixels;
11251    GLboolean APPLE_vertex_array_object;
11252    GLboolean ATI_texture_mirror_once;
11253    GLboolean ATI_texture_env_combine3;
11254    GLboolean ATI_fragment_shader;
11255    GLboolean ATI_separate_stencil;
11256    GLboolean IBM_rasterpos_clip;
11257    GLboolean IBM_multimode_draw_arrays;
11258    GLboolean MESA_pack_invert;
11259    GLboolean MESA_packed_depth_stencil;
11260    GLboolean MESA_program_debug;
11261    GLboolean MESA_resize_buffers;
11262    GLboolean MESA_ycbcr_texture;
11263    GLboolean NV_blend_square;
11264    GLboolean NV_fragment_program;
11265    GLboolean NV_light_max_exponent;
11266    GLboolean NV_point_sprite;
11267    GLboolean NV_texgen_reflection;
11268    GLboolean NV_texture_rectangle;
11269    GLboolean NV_vertex_program;
11270    GLboolean NV_vertex_program1_1;
11271    GLboolean OES_read_format;
11272    GLboolean SGI_color_matrix;
11273    GLboolean SGI_color_table;
11274    GLboolean SGI_texture_color_table;
11275    GLboolean SGIS_generate_mipmap;
11276    GLboolean SGIS_texture_edge_clamp;
11277    GLboolean SGIS_texture_lod;
11278    GLboolean SGIX_depth_texture;
11279    GLboolean SGIX_shadow;
11280    GLboolean SGIX_shadow_ambient;
11281    GLboolean TDFX_texture_compression_FXT1;
11282    GLboolean S3_s3tc;
11283
11284
11285    const GLubyte *String;
11286 };
11287
11288
11289
11290
11291
11292 struct gl_matrix_stack
11293 {
11294    GLmatrix *Top;
11295    GLmatrix *Stack;
11296    GLuint Depth;
11297    GLuint MaxDepth;
11298    GLuint DirtyFlag;
11299 };
11300 # 2789 "./mtypes.h"
11301 union node;
11302 typedef union node Node;
11303
11304
11305
11306 # 1 "./dd.h" 1
11307 # 36 "./dd.h"
11308 struct gl_pixelstore_attrib;
11309 struct mesa_display_list;
11310 # 52 "./dd.h"
11311 struct dd_function_table {
11312
11313
11314
11315
11316
11317    const GLubyte * (*GetString)( GLcontext *ctx, GLenum name );
11318
11319
11320
11321
11322
11323
11324
11325    void (*UpdateState)( GLcontext *ctx, GLbitfield new_state );
11326
11327
11328
11329
11330
11331
11332
11333    void (*GetBufferSize)( GLframebuffer *buffer,
11334                           GLuint *width, GLuint *height );
11335
11336
11337
11338
11339
11340    void (*ResizeBuffers)( GLcontext *ctx, GLframebuffer *fb,
11341                           GLuint width, GLuint height);
11342
11343
11344
11345
11346
11347    void (*Error)( GLcontext *ctx );
11348
11349
11350
11351
11352    void (*Finish)( GLcontext *ctx );
11353
11354
11355
11356
11357    void (*Flush)( GLcontext *ctx );
11358
11359
11360
11361
11362
11363
11364    void (*Clear)( GLcontext *ctx, GLbitfield buffers );
11365
11366
11367
11368
11369    void (*Accum)( GLcontext *ctx, GLenum op, GLfloat value );
11370 # 122 "./dd.h"
11371    void (*DrawPixels)( GLcontext *ctx,
11372          GLint x, GLint y, GLsizei width, GLsizei height,
11373          GLenum format, GLenum type,
11374          const struct gl_pixelstore_attrib *unpack,
11375          const GLvoid *pixels );
11376
11377
11378
11379
11380    void (*ReadPixels)( GLcontext *ctx,
11381          GLint x, GLint y, GLsizei width, GLsizei height,
11382          GLenum format, GLenum type,
11383          const struct gl_pixelstore_attrib *unpack,
11384          GLvoid *dest );
11385
11386
11387
11388
11389    void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy,
11390                        GLsizei width, GLsizei height,
11391                        GLint dstx, GLint dsty, GLenum type );
11392
11393
11394
11395
11396    void (*Bitmap)( GLcontext *ctx,
11397      GLint x, GLint y, GLsizei width, GLsizei height,
11398      const struct gl_pixelstore_attrib *unpack,
11399      const GLubyte *bitmap );
11400 # 166 "./dd.h"
11401    const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx,
11402                       GLint internalFormat, GLenum srcFormat, GLenum srcType );
11403 # 186 "./dd.h"
11404    void (*TexImage1D)( GLcontext *ctx, GLenum target, GLint level,
11405                        GLint internalFormat,
11406                        GLint width, GLint border,
11407                        GLenum format, GLenum type, const GLvoid *pixels,
11408                        const struct gl_pixelstore_attrib *packing,
11409                        struct gl_texture_object *texObj,
11410                        struct gl_texture_image *texImage );
11411
11412
11413
11414
11415
11416
11417    void (*TexImage2D)( GLcontext *ctx, GLenum target, GLint level,
11418                        GLint internalFormat,
11419                        GLint width, GLint height, GLint border,
11420                        GLenum format, GLenum type, const GLvoid *pixels,
11421                        const struct gl_pixelstore_attrib *packing,
11422                        struct gl_texture_object *texObj,
11423                        struct gl_texture_image *texImage );
11424
11425
11426
11427
11428
11429
11430    void (*TexImage3D)( GLcontext *ctx, GLenum target, GLint level,
11431                        GLint internalFormat,
11432                        GLint width, GLint height, GLint depth, GLint border,
11433                        GLenum format, GLenum type, const GLvoid *pixels,
11434                        const struct gl_pixelstore_attrib *packing,
11435                        struct gl_texture_object *texObj,
11436                        struct gl_texture_image *texImage );
11437 # 241 "./dd.h"
11438    void (*TexSubImage1D)( GLcontext *ctx, GLenum target, GLint level,
11439                           GLint xoffset, GLsizei width,
11440                           GLenum format, GLenum type,
11441                           const GLvoid *pixels,
11442                           const struct gl_pixelstore_attrib *packing,
11443                           struct gl_texture_object *texObj,
11444                           struct gl_texture_image *texImage );
11445
11446
11447
11448
11449
11450
11451    void (*TexSubImage2D)( GLcontext *ctx, GLenum target, GLint level,
11452                           GLint xoffset, GLint yoffset,
11453                           GLsizei width, GLsizei height,
11454                           GLenum format, GLenum type,
11455                           const GLvoid *pixels,
11456                           const struct gl_pixelstore_attrib *packing,
11457                           struct gl_texture_object *texObj,
11458                           struct gl_texture_image *texImage );
11459
11460
11461
11462
11463
11464
11465    void (*TexSubImage3D)( GLcontext *ctx, GLenum target, GLint level,
11466                           GLint xoffset, GLint yoffset, GLint zoffset,
11467                           GLsizei width, GLsizei height, GLint depth,
11468                           GLenum format, GLenum type,
11469                           const GLvoid *pixels,
11470                           const struct gl_pixelstore_attrib *packing,
11471                           struct gl_texture_object *texObj,
11472                           struct gl_texture_image *texImage );
11473
11474
11475
11476
11477    void (*GetTexImage)( GLcontext *ctx, GLenum target, GLint level,
11478                         GLenum format, GLenum type, GLvoid *pixels,
11479                         struct gl_texture_object *texObj,
11480                         struct gl_texture_image *texImage );
11481
11482
11483
11484
11485
11486
11487    void (*CopyTexImage1D)( GLcontext *ctx, GLenum target, GLint level,
11488                            GLenum internalFormat, GLint x, GLint y,
11489                            GLsizei width, GLint border );
11490
11491
11492
11493
11494
11495
11496    void (*CopyTexImage2D)( GLcontext *ctx, GLenum target, GLint level,
11497                            GLenum internalFormat, GLint x, GLint y,
11498                            GLsizei width, GLsizei height, GLint border );
11499
11500
11501
11502
11503
11504
11505    void (*CopyTexSubImage1D)( GLcontext *ctx, GLenum target, GLint level,
11506                               GLint xoffset,
11507                               GLint x, GLint y, GLsizei width );
11508
11509
11510
11511
11512
11513    void (*CopyTexSubImage2D)( GLcontext *ctx, GLenum target, GLint level,
11514                               GLint xoffset, GLint yoffset,
11515                               GLint x, GLint y,
11516                               GLsizei width, GLsizei height );
11517
11518
11519
11520
11521
11522    void (*CopyTexSubImage3D)( GLcontext *ctx, GLenum target, GLint level,
11523                               GLint xoffset, GLint yoffset, GLint zoffset,
11524                               GLint x, GLint y,
11525                               GLsizei width, GLsizei height );
11526
11527
11528
11529
11530
11531
11532
11533    GLboolean (*TestProxyTexImage)(GLcontext *ctx, GLenum target,
11534                                   GLint level, GLint internalFormat,
11535                                   GLenum format, GLenum type,
11536                                   GLint width, GLint height,
11537                                   GLint depth, GLint border);
11538 # 364 "./dd.h"
11539    void (*CompressedTexImage1D)( GLcontext *ctx, GLenum target,
11540                                  GLint level, GLint internalFormat,
11541                                  GLsizei width, GLint border,
11542                                  GLsizei imageSize, const GLvoid *data,
11543                                  struct gl_texture_object *texObj,
11544                                  struct gl_texture_image *texImage );
11545
11546
11547
11548
11549
11550    void (*CompressedTexImage2D)( GLcontext *ctx, GLenum target,
11551                                  GLint level, GLint internalFormat,
11552                                  GLsizei width, GLsizei height, GLint border,
11553                                  GLsizei imageSize, const GLvoid *data,
11554                                  struct gl_texture_object *texObj,
11555                                  struct gl_texture_image *texImage );
11556
11557
11558
11559
11560
11561    void (*CompressedTexImage3D)( GLcontext *ctx, GLenum target,
11562                                  GLint level, GLint internalFormat,
11563                                  GLsizei width, GLsizei height, GLsizei depth,
11564                                  GLint border,
11565                                  GLsizei imageSize, const GLvoid *data,
11566                                  struct gl_texture_object *texObj,
11567                                  struct gl_texture_image *texImage );
11568 # 411 "./dd.h"
11569    void (*CompressedTexSubImage1D)(GLcontext *ctx, GLenum target, GLint level,
11570                                    GLint xoffset, GLsizei width,
11571                                    GLenum format,
11572                                    GLsizei imageSize, const GLvoid *data,
11573                                    struct gl_texture_object *texObj,
11574                                    struct gl_texture_image *texImage);
11575
11576
11577
11578
11579
11580    void (*CompressedTexSubImage2D)(GLcontext *ctx, GLenum target, GLint level,
11581                                    GLint xoffset, GLint yoffset,
11582                                    GLsizei width, GLint height,
11583                                    GLenum format,
11584                                    GLsizei imageSize, const GLvoid *data,
11585                                    struct gl_texture_object *texObj,
11586                                    struct gl_texture_image *texImage);
11587
11588
11589
11590
11591
11592    void (*CompressedTexSubImage3D)(GLcontext *ctx, GLenum target, GLint level,
11593                                    GLint xoffset, GLint yoffset, GLint zoffset,
11594                                    GLsizei width, GLint height, GLint depth,
11595                                    GLenum format,
11596                                    GLsizei imageSize, const GLvoid *data,
11597                                    struct gl_texture_object *texObj,
11598                                    struct gl_texture_image *texImage);
11599
11600
11601
11602
11603
11604    void (*GetCompressedTexImage)(GLcontext *ctx, GLenum target, GLint level,
11605                                  GLvoid *img,
11606                                  const struct gl_texture_object *texObj,
11607                                  const struct gl_texture_image *texImage);
11608
11609
11610
11611
11612
11613    GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width,
11614                                     GLsizei height, GLsizei depth,
11615                                     GLenum format );
11616 # 468 "./dd.h"
11617    void (*BindTexture)( GLcontext *ctx, GLenum target,
11618                         struct gl_texture_object *tObj );
11619
11620
11621
11622
11623
11624
11625    struct gl_texture_object * (*NewTextureObject)( GLcontext *ctx, GLuint name,
11626                                                    GLenum target );
11627
11628
11629
11630
11631
11632
11633    void (*DeleteTexture)( GLcontext *ctx, struct gl_texture_object *tObj );
11634
11635
11636
11637
11638    struct gl_texture_image * (*NewTextureImage)( GLcontext *ctx );
11639
11640
11641
11642
11643    void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage );
11644 # 507 "./dd.h"
11645    void* (*TextureMemCpy)( void *to, const void *from, size_t sz );
11646
11647
11648
11649
11650    GLboolean (*IsTextureResident)( GLcontext *ctx,
11651                                    struct gl_texture_object *t );
11652
11653
11654
11655
11656    void (*PrioritizeTexture)( GLcontext *ctx, struct gl_texture_object *t,
11657                               GLclampf priority );
11658
11659
11660
11661
11662    void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber );
11663
11664
11665
11666
11667
11668
11669
11670    void (*UpdateTexturePalette)( GLcontext *ctx,
11671                                  struct gl_texture_object *tObj );
11672
11673
11674
11675
11676
11677
11678
11679    void (*CopyColorTable)( GLcontext *ctx,
11680       GLenum target, GLenum internalformat,
11681       GLint x, GLint y, GLsizei width );
11682
11683    void (*CopyColorSubTable)( GLcontext *ctx,
11684          GLenum target, GLsizei start,
11685          GLint x, GLint y, GLsizei width );
11686
11687    void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target,
11688         GLenum internalFormat,
11689         GLint x, GLint y, GLsizei width );
11690
11691    void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target,
11692         GLenum internalFormat,
11693         GLint x, GLint y,
11694         GLsizei width, GLsizei height );
11695 # 565 "./dd.h"
11696    void (*BindProgram)(GLcontext *ctx, GLenum target, struct gl_program *prog);
11697
11698    struct gl_program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id);
11699
11700    void (*DeleteProgram)(GLcontext *ctx, struct gl_program *prog);
11701
11702    void (*ProgramStringNotify)(GLcontext *ctx, GLenum target,
11703           struct gl_program *prog);
11704
11705    void (*GetProgramRegister)(GLcontext *ctx, enum register_file file,
11706                               GLuint index, GLfloat val[4]);
11707
11708
11709    GLboolean (*IsProgramNative)(GLcontext *ctx, GLenum target,
11710     struct gl_program *prog);
11711 # 595 "./dd.h"
11712    void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref);
11713
11714    void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]);
11715
11716    void (*BlendEquationSeparate)(GLcontext *ctx, GLenum modeRGB, GLenum modeA);
11717
11718    void (*BlendFuncSeparate)(GLcontext *ctx,
11719                              GLenum sfactorRGB, GLenum dfactorRGB,
11720                              GLenum sfactorA, GLenum dfactorA);
11721
11722    void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]);
11723
11724    void (*ClearDepth)(GLcontext *ctx, GLclampd d);
11725
11726    void (*ClearIndex)(GLcontext *ctx, GLuint index);
11727
11728    void (*ClearStencil)(GLcontext *ctx, GLint s);
11729
11730    void (*ClipPlane)(GLcontext *ctx, GLenum plane, const GLfloat *equation );
11731
11732    void (*ColorMask)(GLcontext *ctx, GLboolean rmask, GLboolean gmask,
11733                      GLboolean bmask, GLboolean amask );
11734
11735    void (*ColorMaterial)(GLcontext *ctx, GLenum face, GLenum mode);
11736
11737    void (*CullFace)(GLcontext *ctx, GLenum mode);
11738
11739    void (*FrontFace)(GLcontext *ctx, GLenum mode);
11740
11741    void (*DepthFunc)(GLcontext *ctx, GLenum func);
11742
11743    void (*DepthMask)(GLcontext *ctx, GLboolean flag);
11744
11745    void (*DepthRange)(GLcontext *ctx, GLclampd nearval, GLclampd farval);
11746
11747    void (*DrawBuffer)( GLcontext *ctx, GLenum buffer );
11748
11749    void (*DrawBuffers)( GLcontext *ctx, GLsizei n, const GLenum *buffers );
11750
11751    void (*Enable)(GLcontext *ctx, GLenum cap, GLboolean state);
11752
11753    void (*Fogfv)(GLcontext *ctx, GLenum pname, const GLfloat *params);
11754
11755    void (*Hint)(GLcontext *ctx, GLenum target, GLenum mode);
11756
11757    void (*IndexMask)(GLcontext *ctx, GLuint mask);
11758
11759
11760
11761
11762    void (*Lightfv)(GLcontext *ctx, GLenum light,
11763      GLenum pname, const GLfloat *params );
11764
11765    void (*LightModelfv)(GLcontext *ctx, GLenum pname, const GLfloat *params);
11766
11767    void (*LineStipple)(GLcontext *ctx, GLint factor, GLushort pattern );
11768
11769    void (*LineWidth)(GLcontext *ctx, GLfloat width);
11770
11771    void (*LogicOpcode)(GLcontext *ctx, GLenum opcode);
11772    void (*PointParameterfv)(GLcontext *ctx, GLenum pname,
11773                             const GLfloat *params);
11774
11775    void (*PointSize)(GLcontext *ctx, GLfloat size);
11776
11777    void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode);
11778
11779    void (*PolygonOffset)(GLcontext *ctx, GLfloat factor, GLfloat units);
11780
11781    void (*PolygonStipple)(GLcontext *ctx, const GLubyte *mask );
11782
11783    void (*ReadBuffer)( GLcontext *ctx, GLenum buffer );
11784
11785    void (*RenderMode)(GLcontext *ctx, GLenum mode );
11786
11787    void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
11788
11789    void (*ShadeModel)(GLcontext *ctx, GLenum mode);
11790
11791    void (*StencilFuncSeparate)(GLcontext *ctx, GLenum face, GLenum func,
11792                                GLint ref, GLuint mask);
11793
11794    void (*StencilMaskSeparate)(GLcontext *ctx, GLenum face, GLuint mask);
11795
11796    void (*StencilOpSeparate)(GLcontext *ctx, GLenum face, GLenum fail,
11797                              GLenum zfail, GLenum zpass);
11798
11799    void (*TexGen)(GLcontext *ctx, GLenum coord, GLenum pname,
11800     const GLfloat *params);
11801
11802    void (*TexEnv)(GLcontext *ctx, GLenum target, GLenum pname,
11803                   const GLfloat *param);
11804
11805    void (*TexParameter)(GLcontext *ctx, GLenum target,
11806                         struct gl_texture_object *texObj,
11807                         GLenum pname, const GLfloat *params);
11808    void (*TextureMatrix)(GLcontext *ctx, GLuint unit, const GLmatrix *mat);
11809
11810    void (*Viewport)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
11811 # 703 "./dd.h"
11812    void (*VertexPointer)(GLcontext *ctx, GLint size, GLenum type,
11813     GLsizei stride, const GLvoid *ptr);
11814    void (*NormalPointer)(GLcontext *ctx, GLenum type,
11815     GLsizei stride, const GLvoid *ptr);
11816    void (*ColorPointer)(GLcontext *ctx, GLint size, GLenum type,
11817    GLsizei stride, const GLvoid *ptr);
11818    void (*FogCoordPointer)(GLcontext *ctx, GLenum type,
11819       GLsizei stride, const GLvoid *ptr);
11820    void (*IndexPointer)(GLcontext *ctx, GLenum type,
11821    GLsizei stride, const GLvoid *ptr);
11822    void (*SecondaryColorPointer)(GLcontext *ctx, GLint size, GLenum type,
11823      GLsizei stride, const GLvoid *ptr);
11824    void (*TexCoordPointer)(GLcontext *ctx, GLint size, GLenum type,
11825       GLsizei stride, const GLvoid *ptr);
11826    void (*EdgeFlagPointer)(GLcontext *ctx, GLsizei stride, const GLvoid *ptr);
11827    void (*VertexAttribPointer)(GLcontext *ctx, GLuint index, GLint size,
11828                                GLenum type, GLsizei stride, const GLvoid *ptr);
11829    void (*LockArraysEXT)( GLcontext *ctx, GLint first, GLsizei count );
11830    void (*UnlockArraysEXT)( GLcontext *ctx );
11831 # 732 "./dd.h"
11832    GLboolean (*GetBooleanv)(GLcontext *ctx, GLenum pname, GLboolean *result);
11833
11834    GLboolean (*GetDoublev)(GLcontext *ctx, GLenum pname, GLdouble *result);
11835
11836    GLboolean (*GetFloatv)(GLcontext *ctx, GLenum pname, GLfloat *result);
11837
11838    GLboolean (*GetIntegerv)(GLcontext *ctx, GLenum pname, GLint *result);
11839
11840    GLboolean (*GetPointerv)(GLcontext *ctx, GLenum pname, GLvoid **result);
11841 # 749 "./dd.h"
11842    void (*BindBuffer)( GLcontext *ctx, GLenum target,
11843          struct gl_buffer_object *obj );
11844
11845    struct gl_buffer_object * (*NewBufferObject)( GLcontext *ctx, GLuint buffer,
11846        GLenum target );
11847
11848    void (*DeleteBuffer)( GLcontext *ctx, struct gl_buffer_object *obj );
11849
11850    void (*BufferData)( GLcontext *ctx, GLenum target, GLsizeiptrARB size,
11851          const GLvoid *data, GLenum usage,
11852          struct gl_buffer_object *obj );
11853
11854    void (*BufferSubData)( GLcontext *ctx, GLenum target, GLintptrARB offset,
11855      GLsizeiptrARB size, const GLvoid *data,
11856      struct gl_buffer_object *obj );
11857
11858    void (*GetBufferSubData)( GLcontext *ctx, GLenum target,
11859         GLintptrARB offset, GLsizeiptrARB size,
11860         GLvoid *data, struct gl_buffer_object *obj );
11861
11862    void * (*MapBuffer)( GLcontext *ctx, GLenum target, GLenum access,
11863    struct gl_buffer_object *obj );
11864
11865    GLboolean (*UnmapBuffer)( GLcontext *ctx, GLenum target,
11866         struct gl_buffer_object *obj );
11867 # 782 "./dd.h"
11868    struct gl_framebuffer * (*NewFramebuffer)(GLcontext *ctx, GLuint name);
11869    struct gl_renderbuffer * (*NewRenderbuffer)(GLcontext *ctx, GLuint name);
11870    void (*BindFramebuffer)(GLcontext *ctx, GLenum target,
11871                            struct gl_framebuffer *fb);
11872    void (*FramebufferRenderbuffer)(GLcontext *ctx,
11873                                    struct gl_framebuffer *fb,
11874                                    GLenum attachment,
11875                                    struct gl_renderbuffer *rb);
11876    void (*RenderTexture)(GLcontext *ctx,
11877                          struct gl_framebuffer *fb,
11878                          struct gl_renderbuffer_attachment *att);
11879    void (*FinishRenderTexture)(GLcontext *ctx,
11880                                struct gl_renderbuffer_attachment *att);
11881
11882
11883
11884    void (*BlitFramebuffer)(GLcontext *ctx,
11885                            GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
11886                            GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
11887                            GLbitfield mask, GLenum filter);
11888
11889
11890
11891
11892
11893
11894    struct gl_query_object * (*NewQueryObject)(GLcontext *ctx, GLuint id);
11895    void (*BeginQuery)(GLcontext *ctx, GLenum target,
11896                       struct gl_query_object *q);
11897    void (*EndQuery)(GLcontext *ctx, GLenum target, struct gl_query_object *q);
11898
11899
11900
11901
11902
11903
11904
11905    struct gl_array_object * (*NewArrayObject)(GLcontext *ctx, GLuint id);
11906    void (*DeleteArrayObject)(GLcontext *ctx, struct gl_array_object *obj);
11907    void (*BindArrayObject)(GLcontext *ctx, struct gl_array_object *obj);
11908
11909
11910
11911
11912
11913
11914    void (*AttachShader)(GLcontext *ctx, GLuint program, GLuint shader);
11915    void (*BindAttribLocation)(GLcontext *ctx, GLuint program, GLuint index,
11916                               const GLcharARB *name);
11917    void (*CompileShader)(GLcontext *ctx, GLuint shader);
11918    GLuint (*CreateShader)(GLcontext *ctx, GLenum type);
11919    GLuint (*CreateProgram)(GLcontext *ctx);
11920    void (*DeleteProgram2)(GLcontext *ctx, GLuint program);
11921    void (*DeleteShader)(GLcontext *ctx, GLuint shader);
11922    void (*DetachShader)(GLcontext *ctx, GLuint program, GLuint shader);
11923    void (*GetActiveAttrib)(GLcontext *ctx, GLuint program, GLuint index,
11924                            GLsizei maxLength, GLsizei * length, GLint * size,
11925                            GLenum * type, GLcharARB * name);
11926    void (*GetActiveUniform)(GLcontext *ctx, GLuint program, GLuint index,
11927                             GLsizei maxLength, GLsizei *length, GLint *size,
11928                             GLenum *type, GLcharARB *name);
11929    void (*GetAttachedShaders)(GLcontext *ctx, GLuint program, GLsizei maxCount,
11930                               GLsizei *count, GLuint *obj);
11931    GLint (*GetAttribLocation)(GLcontext *ctx, GLuint program,
11932                               const GLcharARB *name);
11933    GLuint (*GetHandle)(GLcontext *ctx, GLenum pname);
11934    void (*GetProgramiv)(GLcontext *ctx, GLuint program,
11935                         GLenum pname, GLint *params);
11936    void (*GetProgramInfoLog)(GLcontext *ctx, GLuint program, GLsizei bufSize,
11937                              GLsizei *length, GLchar *infoLog);
11938    void (*GetShaderiv)(GLcontext *ctx, GLuint shader,
11939                        GLenum pname, GLint *params);
11940    void (*GetShaderInfoLog)(GLcontext *ctx, GLuint shader, GLsizei bufSize,
11941                             GLsizei *length, GLchar *infoLog);
11942    void (*GetShaderSource)(GLcontext *ctx, GLuint shader, GLsizei maxLength,
11943                            GLsizei *length, GLcharARB *sourceOut);
11944    void (*GetUniformfv)(GLcontext *ctx, GLuint program, GLint location,
11945                         GLfloat *params);
11946    GLint (*GetUniformLocation)(GLcontext *ctx, GLuint program,
11947                                const GLcharARB *name);
11948    GLboolean (*IsProgram)(GLcontext *ctx, GLuint name);
11949    GLboolean (*IsShader)(GLcontext *ctx, GLuint name);
11950    void (*LinkProgram)(GLcontext *ctx, GLuint program);
11951    void (*ShaderSource)(GLcontext *ctx, GLuint shader, const GLchar *source);
11952    void (*Uniform)(GLcontext *ctx, GLint location, GLsizei count,
11953                    const GLvoid *values, GLenum type);
11954    void (*UniformMatrix)(GLcontext *ctx, GLint cols, GLint rows,
11955                          GLenum matrixType, GLint location, GLsizei count,
11956                          GLboolean transpose, const GLfloat *values);
11957    void (*UseProgram)(GLcontext *ctx, GLuint program);
11958    void (*ValidateProgram)(GLcontext *ctx, GLuint program);
11959 # 886 "./dd.h"
11960    GLuint NeedValidate;
11961 # 899 "./dd.h"
11962    void (*ValidateTnlModule)( GLcontext *ctx, GLuint new_state );
11963 # 911 "./dd.h"
11964    GLuint CurrentExecPrimitive;
11965
11966
11967
11968
11969
11970
11971
11972    GLuint CurrentSavePrimitive;
11973 # 932 "./dd.h"
11974    GLuint NeedFlush;
11975    GLuint SaveNeedFlush;
11976 # 944 "./dd.h"
11977    void (*FlushVertices)( GLcontext *ctx, GLuint flags );
11978    void (*SaveFlushVertices)( GLcontext *ctx );
11979
11980
11981
11982
11983
11984
11985    GLboolean (*NotifySaveBegin)( GLcontext *ctx, GLenum mode );
11986
11987
11988
11989
11990
11991    void (*LightingSpaceChange)( GLcontext *ctx );
11992
11993
11994
11995
11996
11997
11998
11999    void (*NewList)( GLcontext *ctx, GLuint list, GLenum mode );
12000
12001
12002
12003
12004
12005    void (*EndList)( GLcontext *ctx );
12006
12007
12008
12009
12010
12011
12012    void (*BeginCallList)( GLcontext *ctx,
12013      struct mesa_display_list *dlist );
12014
12015
12016
12017
12018
12019    void (*EndCallList)( GLcontext *ctx );
12020
12021 };
12022 # 1009 "./dd.h"
12023 typedef struct {
12024
12025
12026
12027
12028    void ( * ArrayElement)( GLint );
12029    void ( * Color3f)( GLfloat, GLfloat, GLfloat );
12030    void ( * Color3fv)( const GLfloat * );
12031    void ( * Color4f)( GLfloat, GLfloat, GLfloat, GLfloat );
12032    void ( * Color4fv)( const GLfloat * );
12033    void ( * EdgeFlag)( GLboolean );
12034    void ( * EvalCoord1f)( GLfloat );
12035    void ( * EvalCoord1fv)( const GLfloat * );
12036    void ( * EvalCoord2f)( GLfloat, GLfloat );
12037    void ( * EvalCoord2fv)( const GLfloat * );
12038    void ( * EvalPoint1)( GLint );
12039    void ( * EvalPoint2)( GLint, GLint );
12040    void ( * FogCoordfEXT)( GLfloat );
12041    void ( * FogCoordfvEXT)( const GLfloat * );
12042    void ( * Indexf)( GLfloat );
12043    void ( * Indexfv)( const GLfloat * );
12044    void ( * Materialfv)( GLenum face, GLenum pname, const GLfloat * );
12045    void ( * MultiTexCoord1fARB)( GLenum, GLfloat );
12046    void ( * MultiTexCoord1fvARB)( GLenum, const GLfloat * );
12047    void ( * MultiTexCoord2fARB)( GLenum, GLfloat, GLfloat );
12048    void ( * MultiTexCoord2fvARB)( GLenum, const GLfloat * );
12049    void ( * MultiTexCoord3fARB)( GLenum, GLfloat, GLfloat, GLfloat );
12050    void ( * MultiTexCoord3fvARB)( GLenum, const GLfloat * );
12051    void ( * MultiTexCoord4fARB)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat );
12052    void ( * MultiTexCoord4fvARB)( GLenum, const GLfloat * );
12053    void ( * Normal3f)( GLfloat, GLfloat, GLfloat );
12054    void ( * Normal3fv)( const GLfloat * );
12055    void ( * SecondaryColor3fEXT)( GLfloat, GLfloat, GLfloat );
12056    void ( * SecondaryColor3fvEXT)( const GLfloat * );
12057    void ( * TexCoord1f)( GLfloat );
12058    void ( * TexCoord1fv)( const GLfloat * );
12059    void ( * TexCoord2f)( GLfloat, GLfloat );
12060    void ( * TexCoord2fv)( const GLfloat * );
12061    void ( * TexCoord3f)( GLfloat, GLfloat, GLfloat );
12062    void ( * TexCoord3fv)( const GLfloat * );
12063    void ( * TexCoord4f)( GLfloat, GLfloat, GLfloat, GLfloat );
12064    void ( * TexCoord4fv)( const GLfloat * );
12065    void ( * Vertex2f)( GLfloat, GLfloat );
12066    void ( * Vertex2fv)( const GLfloat * );
12067    void ( * Vertex3f)( GLfloat, GLfloat, GLfloat );
12068    void ( * Vertex3fv)( const GLfloat * );
12069    void ( * Vertex4f)( GLfloat, GLfloat, GLfloat, GLfloat );
12070    void ( * Vertex4fv)( const GLfloat * );
12071    void ( * CallList)( GLuint );
12072    void ( * CallLists)( GLsizei, GLenum, const GLvoid * );
12073    void ( * Begin)( GLenum );
12074    void ( * End)( void );
12075
12076    void ( * VertexAttrib1fNV)( GLuint index, GLfloat x );
12077    void ( * VertexAttrib1fvNV)( GLuint index, const GLfloat *v );
12078    void ( * VertexAttrib2fNV)( GLuint index, GLfloat x, GLfloat y );
12079    void ( * VertexAttrib2fvNV)( GLuint index, const GLfloat *v );
12080    void ( * VertexAttrib3fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z );
12081    void ( * VertexAttrib3fvNV)( GLuint index, const GLfloat *v );
12082    void ( * VertexAttrib4fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
12083    void ( * VertexAttrib4fvNV)( GLuint index, const GLfloat *v );
12084
12085    void ( * VertexAttrib1fARB)( GLuint index, GLfloat x );
12086    void ( * VertexAttrib1fvARB)( GLuint index, const GLfloat *v );
12087    void ( * VertexAttrib2fARB)( GLuint index, GLfloat x, GLfloat y );
12088    void ( * VertexAttrib2fvARB)( GLuint index, const GLfloat *v );
12089    void ( * VertexAttrib3fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z );
12090    void ( * VertexAttrib3fvARB)( GLuint index, const GLfloat *v );
12091    void ( * VertexAttrib4fARB)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
12092    void ( * VertexAttrib4fvARB)( GLuint index, const GLfloat *v );
12093
12094
12095
12096
12097
12098    void ( * Rectf)( GLfloat, GLfloat, GLfloat, GLfloat );
12099
12100
12101
12102
12103
12104    void ( * DrawArrays)( GLenum mode, GLint start, GLsizei count );
12105    void ( * DrawElements)( GLenum mode, GLsizei count, GLenum type,
12106     const GLvoid *indices );
12107    void ( * DrawRangeElements)( GLenum mode, GLuint start,
12108          GLuint end, GLsizei count,
12109          GLenum type, const GLvoid *indices );
12110 # 1109 "./dd.h"
12111    void ( * EvalMesh1)( GLenum mode, GLint i1, GLint i2 );
12112    void ( * EvalMesh2)( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
12113
12114
12115 } GLvertexformat;
12116 # 2795 "./mtypes.h" 2
12117
12118
12119
12120
12121
12122
12123
12124 struct gl_tnl_module
12125 {
12126
12127
12128
12129    const GLvertexformat *Current;
12130
12131
12132
12133
12134
12135
12136    struct {
12137        _glapi_proc * location;
12138        _glapi_proc function;
12139    } Swapped[(sizeof(GLvertexformat) / sizeof(void *))];
12140    GLuint SwapCount;
12141
12142 };
12143 # 2832 "./mtypes.h"
12144 struct mesa_display_list
12145 {
12146    Node *node;
12147    GLuint id;
12148    GLbitfield flags;
12149 };
12150
12151
12152
12153
12154
12155 struct gl_dlist_state
12156 {
12157    GLuint CallDepth;
12158
12159    struct mesa_display_list *CurrentList;
12160    Node *CurrentListPtr;
12161    GLuint CurrentListNum;
12162    Node *CurrentBlock;
12163    GLuint CurrentPos;
12164
12165    GLvertexformat ListVtxfmt;
12166
12167    GLubyte ActiveAttribSize[VERT_ATTRIB_MAX];
12168    GLfloat CurrentAttrib[VERT_ATTRIB_MAX][4];
12169
12170    GLubyte ActiveMaterialSize[12];
12171    GLfloat CurrentMaterial[12][4];
12172
12173    GLubyte ActiveIndex;
12174    GLfloat CurrentIndex;
12175
12176    GLubyte ActiveEdgeFlag;
12177    GLboolean CurrentEdgeFlag;
12178 };
12179 # 2879 "./mtypes.h"
12180 struct __GLcontextRec
12181 {
12182
12183    struct gl_shared_state *Shared;
12184
12185
12186
12187    struct _glapi_table *Save;
12188    struct _glapi_table *Exec;
12189    struct _glapi_table *CurrentDispatch;
12190
12191
12192    GLvisual Visual;
12193    GLframebuffer *DrawBuffer;
12194    GLframebuffer *ReadBuffer;
12195    GLframebuffer *WinSysDrawBuffer;
12196    GLframebuffer *WinSysReadBuffer;
12197
12198
12199
12200
12201    struct dd_function_table Driver;
12202
12203    void *DriverCtx;
12204
12205
12206    struct gl_constants Const;
12207
12208
12209
12210    struct gl_matrix_stack ModelviewMatrixStack;
12211    struct gl_matrix_stack ProjectionMatrixStack;
12212    struct gl_matrix_stack ColorMatrixStack;
12213    struct gl_matrix_stack TextureMatrixStack[8];
12214    struct gl_matrix_stack ProgramMatrixStack[8];
12215    struct gl_matrix_stack *CurrentStack;
12216
12217
12218
12219    GLmatrix _ModelProjectMatrix;
12220
12221
12222    struct gl_dlist_state ListState;
12223
12224    GLboolean ExecuteFlag;
12225    GLboolean CompileFlag;
12226
12227
12228    struct gl_extensions Extensions;
12229
12230
12231
12232    GLuint AttribStackDepth;
12233    struct gl_attrib_node *AttribStack[16];
12234 # 2941 "./mtypes.h"
12235    struct gl_accum_attrib Accum;
12236    struct gl_colorbuffer_attrib Color;
12237    struct gl_current_attrib Current;
12238    struct gl_depthbuffer_attrib Depth;
12239    struct gl_eval_attrib Eval;
12240    struct gl_fog_attrib Fog;
12241    struct gl_hint_attrib Hint;
12242    struct gl_light_attrib Light;
12243    struct gl_line_attrib Line;
12244    struct gl_list_attrib List;
12245    struct gl_multisample_attrib Multisample;
12246    struct gl_pixel_attrib Pixel;
12247    struct gl_point_attrib Point;
12248    struct gl_polygon_attrib Polygon;
12249    GLuint PolygonStipple[32];
12250    struct gl_scissor_attrib Scissor;
12251    struct gl_stencil_attrib Stencil;
12252    struct gl_texture_attrib Texture;
12253    struct gl_transform_attrib Transform;
12254    struct gl_viewport_attrib Viewport;
12255
12256
12257
12258
12259    GLuint ClientAttribStackDepth;
12260    struct gl_attrib_node *ClientAttribStack[16];
12261
12262
12263
12264
12265    struct gl_array_attrib Array;
12266    struct gl_pixelstore_attrib Pack;
12267    struct gl_pixelstore_attrib Unpack;
12268    struct gl_pixelstore_attrib DefaultPacking;
12269
12270
12271
12272
12273    struct gl_pixelmaps PixelMaps;
12274    struct gl_histogram_attrib Histogram;
12275    struct gl_minmax_attrib MinMax;
12276    struct gl_convolution_attrib Convolution1D;
12277    struct gl_convolution_attrib Convolution2D;
12278    struct gl_convolution_attrib Separable2D;
12279
12280    struct gl_evaluators EvalMap;
12281    struct gl_feedback Feedback;
12282    struct gl_selection Select;
12283
12284    struct gl_color_table ColorTable[3];
12285    struct gl_color_table ProxyColorTable[3];
12286
12287
12288
12289
12290
12291
12292
12293    struct gl_program_state Program;
12294    struct gl_vertex_program_state VertexProgram;
12295    struct gl_fragment_program_state FragmentProgram;
12296    struct gl_ati_fragment_shader_state ATIFragmentShader;
12297
12298    struct gl_query_state Query;
12299
12300    struct gl_shader_state Shader;
12301
12302
12303
12304    struct gl_renderbuffer *CurrentRenderbuffer;
12305
12306
12307    GLenum ErrorValue;
12308    GLenum RenderMode;
12309    GLbitfield NewState;
12310
12311
12312
12313    GLbitfield _TriangleCaps;
12314    GLbitfield _ImageTransferState;
12315    GLfloat _EyeZDir[3];
12316    GLfloat _ModelViewInvScale;
12317    GLboolean _NeedEyeCoords;
12318    GLboolean _ForceEyeCoords;
12319    GLenum _CurrentProgram;
12320
12321    GLuint TextureStateTimestamp;
12322
12323    struct gl_shine_tab *_ShineTable[2];
12324    struct gl_shine_tab *_ShineTabList;
12325
12326
12327    struct gl_list_extensions ListExt;
12328
12329
12330    GLuint _Facing;
12331
12332
12333
12334
12335
12336
12337    GLboolean FirstTimeCurrent;
12338
12339
12340
12341    GLboolean NoDither;
12342
12343
12344    GLboolean Mesa_DXTn;
12345
12346
12347    struct gl_tnl_module TnlModule;
12348
12349
12350
12351
12352
12353
12354
12355    void *swrast_context;
12356    void *swsetup_context;
12357    void *swtnl_context;
12358    void *swtnl_im;
12359    void *acache_context;
12360    void *aelt_context;
12361
12362 };
12363
12364
12365
12366 extern const char *_mesa_prim_name[0x0009 +4];
12367 # 3089 "./mtypes.h"
12368 enum _verbose
12369 {
12370    VERBOSE_VARRAY = 0x0001,
12371    VERBOSE_TEXTURE = 0x0002,
12372    VERBOSE_IMMEDIATE = 0x0004,
12373    VERBOSE_PIPELINE = 0x0008,
12374    VERBOSE_DRIVER = 0x0010,
12375    VERBOSE_STATE = 0x0020,
12376    VERBOSE_API = 0x0040,
12377    VERBOSE_DISPLAY_LIST = 0x0100,
12378    VERBOSE_LIGHTING = 0x0200,
12379    VERBOSE_PRIMS = 0x0400,
12380    VERBOSE_VERTS = 0x0800,
12381    VERBOSE_DISASSEM = 0x1000
12382 };
12383
12384
12385 enum _debug
12386 {
12387    DEBUG_ALWAYS_FLUSH = 0x1
12388 };
12389 # 35 "../shader/prog_parameter.h" 2
12390 # 1 "../shader/prog_statevars.h" 1
12391 # 47 "../shader/prog_statevars.h"
12392 typedef enum gl_state_index_ {
12393    STATE_MATERIAL = 100,
12394
12395    STATE_LIGHT,
12396    STATE_LIGHTMODEL_AMBIENT,
12397    STATE_LIGHTMODEL_SCENECOLOR,
12398    STATE_LIGHTPROD,
12399
12400    STATE_TEXGEN,
12401
12402    STATE_FOG_COLOR,
12403    STATE_FOG_PARAMS,
12404
12405    STATE_CLIPPLANE,
12406
12407    STATE_POINT_SIZE,
12408    STATE_POINT_ATTENUATION,
12409
12410    STATE_MODELVIEW_MATRIX,
12411    STATE_PROJECTION_MATRIX,
12412    STATE_MVP_MATRIX,
12413    STATE_TEXTURE_MATRIX,
12414    STATE_PROGRAM_MATRIX,
12415    STATE_MATRIX_INVERSE,
12416    STATE_MATRIX_TRANSPOSE,
12417    STATE_MATRIX_INVTRANS,
12418
12419    STATE_AMBIENT,
12420    STATE_DIFFUSE,
12421    STATE_SPECULAR,
12422    STATE_EMISSION,
12423    STATE_SHININESS,
12424    STATE_HALF_VECTOR,
12425
12426    STATE_POSITION,
12427    STATE_ATTENUATION,
12428    STATE_SPOT_DIRECTION,
12429    STATE_SPOT_CUTOFF,
12430
12431    STATE_TEXGEN_EYE_S,
12432    STATE_TEXGEN_EYE_T,
12433    STATE_TEXGEN_EYE_R,
12434    STATE_TEXGEN_EYE_Q,
12435    STATE_TEXGEN_OBJECT_S,
12436    STATE_TEXGEN_OBJECT_T,
12437    STATE_TEXGEN_OBJECT_R,
12438    STATE_TEXGEN_OBJECT_Q,
12439
12440    STATE_TEXENV_COLOR,
12441
12442    STATE_DEPTH_RANGE,
12443
12444    STATE_VERTEX_PROGRAM,
12445    STATE_FRAGMENT_PROGRAM,
12446
12447    STATE_ENV,
12448    STATE_LOCAL,
12449
12450    STATE_INTERNAL,
12451    STATE_NORMAL_SCALE,
12452    STATE_TEXRECT_SCALE,
12453    STATE_POSITION_NORMALIZED,
12454    STATE_FOG_PARAMS_OPTIMIZED,
12455    STATE_SPOT_DIR_NORMALIZED,
12456    STATE_INTERNAL_DRIVER
12457 } gl_state_index;
12458
12459
12460
12461 extern void
12462 _mesa_load_state_parameters(GLcontext *ctx,
12463                             struct gl_program_parameter_list *paramList);
12464
12465
12466 extern GLbitfield
12467 _mesa_program_state_flags(const gl_state_index state[5]);
12468
12469
12470 extern const char *
12471 _mesa_program_state_string(const gl_state_index state[5]);
12472 # 36 "../shader/prog_parameter.h" 2
12473 # 45 "../shader/prog_parameter.h"
12474 struct gl_program_parameter
12475 {
12476    const char *Name;
12477    enum register_file Type;
12478    GLenum DataType;
12479    GLuint Size;
12480
12481
12482
12483    gl_state_index StateIndexes[5];
12484 };
12485
12486
12487
12488
12489
12490 struct gl_program_parameter_list
12491 {
12492    GLuint Size;
12493    GLuint NumParameters;
12494    struct gl_program_parameter *Parameters;
12495    GLfloat (*ParameterValues)[4];
12496    GLbitfield StateFlags;
12497
12498 };
12499
12500
12501 extern struct gl_program_parameter_list *
12502 _mesa_new_parameter_list(void);
12503
12504 extern void
12505 _mesa_free_parameter_list(struct gl_program_parameter_list *paramList);
12506
12507 extern struct gl_program_parameter_list *
12508 _mesa_clone_parameter_list(const struct gl_program_parameter_list *list);
12509
12510 extern GLint
12511 _mesa_add_parameter(struct gl_program_parameter_list *paramList,
12512                     enum register_file type, const char *name,
12513                     GLuint size, GLenum datatype, const GLfloat *values,
12514                     const gl_state_index state[5]);
12515
12516 extern GLint
12517 _mesa_add_named_parameter(struct gl_program_parameter_list *paramList,
12518                           const char *name, const GLfloat values[4]);
12519
12520 extern GLint
12521 _mesa_add_named_constant(struct gl_program_parameter_list *paramList,
12522                          const char *name, const GLfloat values[4],
12523                          GLuint size);
12524
12525 extern GLint
12526 _mesa_add_unnamed_constant(struct gl_program_parameter_list *paramList,
12527                            const GLfloat values[4], GLuint size,
12528                            GLuint *swizzleOut);
12529
12530 extern GLint
12531 _mesa_add_uniform(struct gl_program_parameter_list *paramList,
12532                   const char *name, GLuint size, GLenum datatype);
12533
12534 extern GLint
12535 _mesa_add_sampler(struct gl_program_parameter_list *paramList,
12536                   const char *name, GLenum datatype);
12537
12538 extern GLint
12539 _mesa_add_varying(struct gl_program_parameter_list *paramList,
12540                   const char *name, GLuint size);
12541
12542 extern GLint
12543 _mesa_add_attribute(struct gl_program_parameter_list *paramList,
12544                     const char *name, GLint size, GLint attrib);
12545
12546 extern GLint
12547 _mesa_add_state_reference(struct gl_program_parameter_list *paramList,
12548                           const gl_state_index stateTokens[5]);
12549
12550 extern GLfloat *
12551 _mesa_lookup_parameter_value(const struct gl_program_parameter_list *paramList,
12552                              GLsizei nameLen, const char *name);
12553
12554 extern GLint
12555 _mesa_lookup_parameter_index(const struct gl_program_parameter_list *paramList,
12556                              GLsizei nameLen, const char *name);
12557
12558 extern GLboolean
12559 _mesa_lookup_parameter_constant(const struct gl_program_parameter_list *list,
12560                                 const GLfloat v[], GLuint vSize,
12561                                 GLint *posOut, GLuint *swizzleOut);
12562
12563 extern GLuint
12564 _mesa_longest_parameter_name(const struct gl_program_parameter_list *list,
12565                              enum register_file type);
12566
12567 extern GLuint
12568 _mesa_num_parameters_of_type(const struct gl_program_parameter_list *list,
12569                              enum register_file type);
12570 # 32 "texenvprogram.c" 2
12571 # 1 "../shader/prog_instruction.h" 1
12572 # 142 "../shader/prog_instruction.h"
12573 typedef enum prog_opcode {
12574
12575
12576    OPCODE_NOP = 0,
12577    OPCODE_ABS,
12578    OPCODE_ADD,
12579    OPCODE_ARA,
12580    OPCODE_ARL,
12581    OPCODE_ARL_NV,
12582    OPCODE_ARR,
12583    OPCODE_BGNLOOP,
12584    OPCODE_BGNSUB,
12585    OPCODE_BRA,
12586    OPCODE_BRK,
12587    OPCODE_CAL,
12588    OPCODE_CMP,
12589    OPCODE_CONT,
12590    OPCODE_COS,
12591    OPCODE_DDX,
12592    OPCODE_DDY,
12593    OPCODE_DP3,
12594    OPCODE_DP4,
12595    OPCODE_DPH,
12596    OPCODE_DST,
12597    OPCODE_ELSE,
12598    OPCODE_END,
12599    OPCODE_ENDIF,
12600    OPCODE_ENDLOOP,
12601    OPCODE_ENDSUB,
12602    OPCODE_EX2,
12603    OPCODE_EXP,
12604    OPCODE_FLR,
12605    OPCODE_FRC,
12606    OPCODE_IF,
12607    OPCODE_INT,
12608    OPCODE_KIL,
12609    OPCODE_KIL_NV,
12610    OPCODE_LG2,
12611    OPCODE_LIT,
12612    OPCODE_LOG,
12613    OPCODE_LRP,
12614    OPCODE_MAD,
12615    OPCODE_MAX,
12616    OPCODE_MIN,
12617    OPCODE_MOV,
12618    OPCODE_MUL,
12619    OPCODE_NOISE1,
12620    OPCODE_NOISE2,
12621    OPCODE_NOISE3,
12622    OPCODE_NOISE4,
12623    OPCODE_PK2H,
12624    OPCODE_PK2US,
12625    OPCODE_PK4B,
12626    OPCODE_PK4UB,
12627    OPCODE_POW,
12628    OPCODE_POPA,
12629    OPCODE_PRINT,
12630    OPCODE_PUSHA,
12631    OPCODE_RCC,
12632    OPCODE_RCP,
12633    OPCODE_RET,
12634    OPCODE_RFL,
12635    OPCODE_RSQ,
12636    OPCODE_SCS,
12637    OPCODE_SEQ,
12638    OPCODE_SFL,
12639    OPCODE_SGE,
12640    OPCODE_SGT,
12641    OPCODE_SIN,
12642    OPCODE_SLE,
12643    OPCODE_SLT,
12644    OPCODE_SNE,
12645    OPCODE_SSG,
12646    OPCODE_STR,
12647    OPCODE_SUB,
12648    OPCODE_SWZ,
12649    OPCODE_TEX,
12650    OPCODE_TXB,
12651    OPCODE_TXD,
12652    OPCODE_TXL,
12653    OPCODE_TXP,
12654    OPCODE_TXP_NV,
12655    OPCODE_UP2H,
12656    OPCODE_UP2US,
12657    OPCODE_UP4B,
12658    OPCODE_UP4UB,
12659    OPCODE_X2D,
12660    OPCODE_XPD,
12661    MAX_OPCODE
12662 } gl_inst_opcode;
12663
12664
12665
12666
12667
12668 struct prog_src_register
12669 {
12670    GLuint File:4;
12671    GLint Index:9;
12672    GLuint Swizzle:12;
12673    GLuint RelAddr:1;
12674 # 259 "../shader/prog_instruction.h"
12675    GLuint NegateBase:4;
12676 # 268 "../shader/prog_instruction.h"
12677    GLuint Abs:1;
12678
12679
12680
12681
12682    GLuint NegateAbs:1;
12683
12684 };
12685
12686
12687
12688
12689
12690 struct prog_dst_register
12691 {
12692
12693
12694
12695    GLuint File:4;
12696
12697    GLuint Index:8;
12698    GLuint WriteMask:4;
12699 # 305 "../shader/prog_instruction.h"
12700    GLuint CondMask:4;
12701
12702
12703
12704
12705    GLuint CondSwizzle:12;
12706
12707
12708
12709
12710
12711
12712
12713    GLuint CondSrc:1;
12714
12715
12716    GLuint pad:31;
12717 };
12718
12719
12720
12721
12722
12723 struct prog_instruction
12724 {
12725    gl_inst_opcode Opcode;
12726
12727    GLshort StringPos;
12728
12729
12730
12731
12732    void *Data;
12733
12734    struct prog_src_register SrcReg[3];
12735    struct prog_dst_register DstReg;
12736 # 350 "../shader/prog_instruction.h"
12737    GLuint CondUpdate:1;
12738 # 364 "../shader/prog_instruction.h"
12739    GLuint CondDst:1;
12740 # 375 "../shader/prog_instruction.h"
12741    GLuint SaturateMode:2;
12742
12743
12744
12745
12746
12747
12748
12749    GLuint Precision:3;
12750 # 399 "../shader/prog_instruction.h"
12751    GLuint TexSrcUnit:5;
12752
12753
12754
12755
12756    GLuint TexSrcTarget:3;
12757 # 414 "../shader/prog_instruction.h"
12758    GLint BranchTarget;
12759
12760
12761
12762
12763
12764    GLint Sampler;
12765
12766    const char *Comment;
12767 };
12768
12769
12770 extern void
12771 _mesa_init_instructions(struct prog_instruction *inst, GLuint count);
12772
12773 extern struct prog_instruction *
12774 _mesa_alloc_instructions(GLuint numInst);
12775
12776 extern struct prog_instruction *
12777 _mesa_realloc_instructions(struct prog_instruction *oldInst,
12778                            GLuint numOldInst, GLuint numNewInst);
12779
12780 extern struct prog_instruction *
12781 _mesa_copy_instructions(struct prog_instruction *dest,
12782                         const struct prog_instruction *src, GLuint n);
12783
12784 extern GLuint
12785 _mesa_num_inst_src_regs(gl_inst_opcode opcode);
12786
12787 extern const char *
12788 _mesa_opcode_string(gl_inst_opcode opcode);
12789 # 33 "texenvprogram.c" 2
12790 # 1 "../shader/prog_print.h" 1
12791 # 33 "../shader/prog_print.h"
12792 typedef enum {
12793    PROG_PRINT_ARB,
12794    PROG_PRINT_NV,
12795    PROG_PRINT_DEBUG
12796 } gl_prog_print_mode;
12797
12798
12799 extern const char *
12800 _mesa_condcode_string(GLuint condcode);
12801
12802 extern const char *
12803 _mesa_swizzle_string(GLuint swizzle, GLuint negateBase, GLboolean extended);
12804
12805 extern void
12806 _mesa_print_alu_instruction(const struct prog_instruction *inst,
12807                             const char *opcode_string, GLuint numRegs);
12808
12809 extern void
12810 _mesa_print_instruction(const struct prog_instruction *inst);
12811
12812 extern GLint
12813 _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
12814                             gl_prog_print_mode mode,
12815                             const struct gl_program *prog);
12816
12817 extern void
12818 _mesa_print_program(const struct gl_program *prog);
12819
12820 extern void
12821 _mesa_print_program_opt(const struct gl_program *prog, gl_prog_print_mode mode,
12822                         GLboolean lineNumbers);
12823
12824 extern void
12825 _mesa_print_program_parameters(GLcontext *ctx, const struct gl_program *prog);
12826
12827 extern void
12828 _mesa_print_parameter_list(const struct gl_program_parameter_list *list);
12829 # 34 "texenvprogram.c" 2
12830 # 1 "../shader/prog_statevars.h" 1
12831 # 35 "texenvprogram.c" 2
12832 # 1 "texenvprogram.h" 1
12833 # 35 "texenvprogram.h"
12834 # 1 "mtypes.h" 1
12835 # 36 "texenvprogram.h" 2
12836
12837 extern void _mesa_UpdateTexEnvProgram( GLcontext *ctx );
12838 extern void _mesa_TexEnvProgramCacheInit( GLcontext *ctx );
12839 extern void _mesa_TexEnvProgramCacheDestroy( GLcontext *ctx );
12840 # 36 "texenvprogram.c" 2
12841 # 46 "texenvprogram.c"
12842 struct mode_opt {
12843    GLuint Source:4;
12844    GLuint Operand:3;
12845 };
12846
12847 struct state_key {
12848    GLbitfield enabled_units;
12849    GLuint separate_specular:1;
12850    GLuint fog_enabled:1;
12851    GLuint fog_mode:2;
12852
12853    struct {
12854       GLuint enabled:1;
12855       GLuint source_index:3;
12856       GLuint ScaleShiftRGB:2;
12857       GLuint ScaleShiftA:2;
12858
12859       GLuint NumArgsRGB:2;
12860       GLuint ModeRGB:4;
12861       struct mode_opt OptRGB[3];
12862
12863       GLuint NumArgsA:2;
12864       GLuint ModeA:4;
12865       struct mode_opt OptA[3];
12866    } unit[8];
12867 };
12868
12869
12870
12871
12872
12873
12874 static GLuint translate_fog_mode( GLenum mode )
12875 {
12876    switch (mode) {
12877    case 0x2601: return 0;
12878    case 0x0800: return 1;
12879    case 0x0801: return 2;
12880    default: return 3;
12881    }
12882 }
12883 # 96 "texenvprogram.c"
12884 static GLuint translate_operand( GLenum operand )
12885 {
12886    switch (operand) {
12887    case 0x0300: return 0;
12888    case 0x0301: return 1;
12889    case 0x0302: return 2;
12890    case 0x0303: return 3;
12891    case 0x0: return 4;
12892    case 0x1: return 5;
12893    default: return 7;
12894    }
12895 }
12896 # 123 "texenvprogram.c"
12897 static GLuint translate_source( GLenum src )
12898 {
12899    switch (src) {
12900    case 0x1702: return 0;
12901    case 0x84C0:
12902    case 0x84C1:
12903    case 0x84C2:
12904    case 0x84C3:
12905    case 0x84C4:
12906    case 0x84C5:
12907    case 0x84C6:
12908    case 0x84C7: return 1 + (src - 0x84C0);
12909    case 0x8576: return 9;
12910    case 0x8577: return 10;
12911    case 0x8578: return 11;
12912    default: return 15;
12913    }
12914 }
12915 # 157 "texenvprogram.c"
12916 static GLuint translate_mode( GLenum mode )
12917 {
12918    switch (mode) {
12919    case 0x1E01: return 0;
12920    case 0x2100: return 1;
12921    case 0x0104: return 2;
12922    case 0x8574: return 3;
12923    case 0x8575: return 4;
12924    case 0x84E7: return 5;
12925    case 0x86AE: return 6;
12926    case 0x8740: return 7;
12927    case 0x86AF: return 8;
12928    case 0x8741: return 9;
12929    case 0x8744: return 10;
12930    case 0x8745: return 11;
12931    case 0x8746: return 12;
12932    default: return 15;
12933    }
12934 }
12935
12936
12937 static GLuint translate_tex_src_bit( GLbitfield bit )
12938 {
12939    switch (bit) {
12940    case (1 << 0): return 0;
12941    case (1 << 1): return 1;
12942    case (1 << 4): return 4;
12943    case (1 << 2): return 2;
12944    case (1 << 3): return 3;
12945    default: return 7;
12946    }
12947 }
12948
12949
12950
12951
12952
12953 static void make_state_key( GLcontext *ctx, struct state_key *key )
12954 {
12955    GLuint i, j;
12956
12957    memset(key, 0, sizeof(*key));
12958
12959    for (i=0;i<8;i++) {
12960       const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
12961
12962       if (!texUnit->_ReallyEnabled)
12963          continue;
12964
12965       key->unit[i].enabled = 1;
12966       key->enabled_units |= (1<<i);
12967
12968       key->unit[i].source_index =
12969   translate_tex_src_bit(texUnit->_ReallyEnabled);
12970
12971       key->unit[i].NumArgsRGB = texUnit->_CurrentCombine->_NumArgsRGB;
12972       key->unit[i].NumArgsA = texUnit->_CurrentCombine->_NumArgsA;
12973
12974       key->unit[i].ModeRGB =
12975   translate_mode(texUnit->_CurrentCombine->ModeRGB);
12976       key->unit[i].ModeA =
12977   translate_mode(texUnit->_CurrentCombine->ModeA);
12978
12979       key->unit[i].ScaleShiftRGB = texUnit->_CurrentCombine->ScaleShiftRGB;
12980       key->unit[i].ScaleShiftA = texUnit->_CurrentCombine->ScaleShiftA;
12981
12982       for (j=0;j<3;j++) {
12983          key->unit[i].OptRGB[j].Operand =
12984      translate_operand(texUnit->_CurrentCombine->OperandRGB[j]);
12985          key->unit[i].OptA[j].Operand =
12986      translate_operand(texUnit->_CurrentCombine->OperandA[j]);
12987          key->unit[i].OptRGB[j].Source =
12988      translate_source(texUnit->_CurrentCombine->SourceRGB[j]);
12989          key->unit[i].OptA[j].Source =
12990      translate_source(texUnit->_CurrentCombine->SourceA[j]);
12991       }
12992    }
12993
12994    if (ctx->_TriangleCaps & 0x2)
12995       key->separate_specular = 1;
12996
12997    if (ctx->Fog.Enabled) {
12998       key->fog_enabled = 1;
12999       key->fog_mode = translate_fog_mode(ctx->Fog.Mode);
13000    }
13001 }
13002 # 256 "texenvprogram.c"
13003 struct ureg {
13004    GLuint file:4;
13005    GLuint idx:8;
13006    GLuint negatebase:1;
13007    GLuint abs:1;
13008    GLuint negateabs:1;
13009    GLuint swz:12;
13010    GLuint pad:5;
13011 };
13012
13013 static const struct ureg undef = {
13014    PROGRAM_UNDEFINED,
13015    ~0,
13016    0,
13017    0,
13018    0,
13019    0,
13020    0
13021 };
13022
13023
13024
13025
13026 struct texenv_fragment_program {
13027    struct gl_fragment_program *program;
13028    GLcontext *ctx;
13029    struct state_key *state;
13030
13031    GLbitfield alu_temps;
13032    GLbitfield temps_output;
13033    GLbitfield temp_in_use;
13034    GLboolean error;
13035
13036    struct ureg src_texture[8];
13037
13038
13039
13040
13041    struct ureg src_previous;
13042
13043
13044
13045    GLuint last_tex_stage;
13046
13047    struct ureg half;
13048    struct ureg one;
13049    struct ureg zero;
13050 };
13051
13052
13053
13054 static struct ureg make_ureg(GLuint file, GLuint idx)
13055 {
13056    struct ureg reg;
13057    reg.file = file;
13058    reg.idx = idx;
13059    reg.negatebase = 0;
13060    reg.abs = 0;
13061    reg.negateabs = 0;
13062    reg.swz = (((0)<<0) | ((1)<<3) | ((2)<<6) | ((3)<<9));
13063    reg.pad = 0;
13064    return reg;
13065 }
13066
13067 static struct ureg swizzle( struct ureg reg, int x, int y, int z, int w )
13068 {
13069    reg.swz = ((((((reg.swz) >> ((x)*3)) & 0x7))<<0) | (((((reg.swz) >> ((y)*3)) & 0x7))<<3) | (((((reg.swz) >> ((z)*3)) & 0x7))<<6) | (((((reg.swz) >> ((w)*3)) & 0x7))<<9));
13070
13071
13072
13073
13074    return reg;
13075 }
13076
13077 static struct ureg swizzle1( struct ureg reg, int x )
13078 {
13079    return swizzle(reg, x, x, x, x);
13080 }
13081
13082 static struct ureg negate( struct ureg reg )
13083 {
13084    reg.negatebase ^= 1;
13085    return reg;
13086 }
13087
13088 static GLboolean is_undef( struct ureg reg )
13089 {
13090    return reg.file == PROGRAM_UNDEFINED;
13091 }
13092
13093
13094 static struct ureg get_temp( struct texenv_fragment_program *p )
13095 {
13096    GLint bit;
13097
13098
13099
13100    bit = _mesa_ffs( ~p->temp_in_use & p->alu_temps );
13101
13102
13103
13104    if (!bit)
13105       bit = _mesa_ffs( ~p->temp_in_use );
13106
13107    if (!bit) {
13108       _mesa_problem(((void *)0), "%s: out of temporaries\n", "texenvprogram.c");
13109       _mesa_exit(1);
13110    }
13111
13112    if ((GLuint) bit > p->program->Base.NumTemporaries)
13113       p->program->Base.NumTemporaries = bit;
13114
13115    p->temp_in_use |= 1<<(bit-1);
13116    return make_ureg(PROGRAM_TEMPORARY, (bit-1));
13117 }
13118
13119 static struct ureg get_tex_temp( struct texenv_fragment_program *p )
13120 {
13121    int bit;
13122
13123
13124
13125
13126
13127
13128    bit = _mesa_ffs( ~p->temp_in_use & ~p->alu_temps & ~p->temps_output );
13129
13130
13131
13132    if (!bit)
13133       bit = _mesa_ffs( ~p->temp_in_use );
13134
13135    if (!bit) {
13136       _mesa_problem(((void *)0), "%s: out of temporaries\n", "texenvprogram.c");
13137       _mesa_exit(1);
13138    }
13139
13140    if ((GLuint) bit > p->program->Base.NumTemporaries)
13141       p->program->Base.NumTemporaries = bit;
13142
13143    p->temp_in_use |= 1<<(bit-1);
13144    return make_ureg(PROGRAM_TEMPORARY, (bit-1));
13145 }
13146
13147
13148 static void release_temps( struct texenv_fragment_program *p )
13149 {
13150    GLuint max_temp = p->ctx->Const.FragmentProgram.MaxTemps;
13151
13152
13153
13154
13155    if (max_temp >= sizeof(int) * 8)
13156       p->temp_in_use = p->temps_output;
13157    else
13158       p->temp_in_use = ~((1<<max_temp)-1) | p->temps_output;
13159 }
13160
13161
13162 static struct ureg register_param5( struct texenv_fragment_program *p,
13163         GLint s0,
13164         GLint s1,
13165         GLint s2,
13166         GLint s3,
13167         GLint s4)
13168 {
13169    gl_state_index tokens[5];
13170    GLuint idx;
13171    tokens[0] = s0;
13172    tokens[1] = s1;
13173    tokens[2] = s2;
13174    tokens[3] = s3;
13175    tokens[4] = s4;
13176    idx = _mesa_add_state_reference( p->program->Base.Parameters, tokens );
13177    return make_ureg(PROGRAM_STATE_VAR, idx);
13178 }
13179 # 440 "texenvprogram.c"
13180 static struct ureg register_input( struct texenv_fragment_program *p, GLuint input )
13181 {
13182    p->program->Base.InputsRead |= (1 << input);
13183    return make_ureg(PROGRAM_INPUT, input);
13184 }
13185
13186
13187 static void emit_arg( struct prog_src_register *reg,
13188         struct ureg ureg )
13189 {
13190    reg->File = ureg.file;
13191    reg->Index = ureg.idx;
13192    reg->Swizzle = ureg.swz;
13193    reg->NegateBase = ureg.negatebase ? 0xf : 0x0;
13194    reg->Abs = ureg.abs;
13195    reg->NegateAbs = ureg.negateabs;
13196 }
13197
13198 static void emit_dst( struct prog_dst_register *dst,
13199         struct ureg ureg, GLuint mask )
13200 {
13201    dst->File = ureg.file;
13202    dst->Index = ureg.idx;
13203    dst->WriteMask = mask;
13204    dst->CondMask = 8;
13205    dst->CondSwizzle = (((0)<<0) | ((1)<<3) | ((2)<<6) | ((3)<<9));
13206 }
13207
13208 static struct prog_instruction *
13209 emit_op(struct texenv_fragment_program *p,
13210  enum prog_opcode op,
13211  struct ureg dest,
13212  GLuint mask,
13213  GLboolean saturate,
13214  struct ureg src0,
13215  struct ureg src1,
13216  struct ureg src2 )
13217 {
13218    GLuint nr = p->program->Base.NumInstructions++;
13219    struct prog_instruction *inst = &p->program->Base.Instructions[nr];
13220
13221    ((void) (0));
13222
13223    _mesa_init_instructions(inst, 1);
13224    inst->Opcode = op;
13225
13226    emit_arg( &inst->SrcReg[0], src0 );
13227    emit_arg( &inst->SrcReg[1], src1 );
13228    emit_arg( &inst->SrcReg[2], src2 );
13229
13230    inst->SaturateMode = saturate ? 1 : 0;
13231
13232    emit_dst( &inst->DstReg, dest, mask );
13233
13234
13235
13236    if (dest.file == PROGRAM_TEMPORARY)
13237       p->temps_output |= 1 << dest.idx;
13238
13239    return inst;
13240 }
13241
13242
13243 static struct ureg emit_arith( struct texenv_fragment_program *p,
13244           enum prog_opcode op,
13245           struct ureg dest,
13246           GLuint mask,
13247           GLboolean saturate,
13248           struct ureg src0,
13249           struct ureg src1,
13250           struct ureg src2 )
13251 {
13252    emit_op(p, op, dest, mask, saturate, src0, src1, src2);
13253
13254
13255
13256    if (src0.file == PROGRAM_TEMPORARY)
13257       p->alu_temps |= 1 << src0.idx;
13258
13259    if (!is_undef(src1) && src1.file == PROGRAM_TEMPORARY)
13260       p->alu_temps |= 1 << src1.idx;
13261
13262    if (!is_undef(src2) && src2.file == PROGRAM_TEMPORARY)
13263       p->alu_temps |= 1 << src2.idx;
13264
13265    if (dest.file == PROGRAM_TEMPORARY)
13266       p->alu_temps |= 1 << dest.idx;
13267
13268    p->program->Base.NumAluInstructions++;
13269    return dest;
13270 }
13271
13272 static struct ureg emit_texld( struct texenv_fragment_program *p,
13273           enum prog_opcode op,
13274           struct ureg dest,
13275           GLuint destmask,
13276           GLuint tex_unit,
13277           GLuint tex_idx,
13278           struct ureg coord )
13279 {
13280    struct prog_instruction *inst = emit_op( p, op,
13281        dest, destmask,
13282        0x0,
13283        coord,
13284        undef,
13285        undef);
13286
13287    inst->TexSrcTarget = tex_idx;
13288    inst->TexSrcUnit = tex_unit;
13289
13290    p->program->Base.NumTexInstructions++;
13291
13292
13293
13294    if ((coord.file == PROGRAM_TEMPORARY &&
13295  (p->temps_output & (1<<coord.idx))) ||
13296        (dest.file == PROGRAM_TEMPORARY &&
13297  (p->alu_temps & (1<<dest.idx)))) {
13298       p->program->Base.NumTexIndirections++;
13299       p->temps_output = 1<<coord.idx;
13300       p->alu_temps = 0;
13301       ((void) (0));
13302    }
13303
13304    return dest;
13305 }
13306
13307
13308 static struct ureg register_const4f( struct texenv_fragment_program *p,
13309          GLfloat s0,
13310          GLfloat s1,
13311          GLfloat s2,
13312          GLfloat s3)
13313 {
13314    GLfloat values[4];
13315    GLuint idx, swizzle;
13316    values[0] = s0;
13317    values[1] = s1;
13318    values[2] = s2;
13319    values[3] = s3;
13320    idx = _mesa_add_unnamed_constant( p->program->Base.Parameters, values, 4,
13321                                      &swizzle );
13322    ;
13323    return make_ureg(PROGRAM_STATE_VAR, idx);
13324 }
13325
13326
13327
13328
13329
13330
13331
13332 static struct ureg get_one( struct texenv_fragment_program *p )
13333 {
13334    if (is_undef(p->one))
13335       p->one = register_const4f(p, 1.0, 1.0, 1.0, 1.0);
13336    return p->one;
13337 }
13338
13339 static struct ureg get_half( struct texenv_fragment_program *p )
13340 {
13341    if (is_undef(p->half))
13342       p->half = register_const4f(p, 0.5, 0.5, 0.5, 0.5);
13343    return p->half;
13344 }
13345
13346 static struct ureg get_zero( struct texenv_fragment_program *p )
13347 {
13348    if (is_undef(p->zero))
13349       p->zero = register_const4f(p, 0.0, 0.0, 0.0, 0.0);
13350    return p->zero;
13351 }
13352
13353
13354 static void program_error( struct texenv_fragment_program *p, const char *msg )
13355 {
13356    _mesa_problem(((void *)0), msg);
13357    p->error = 1;
13358 }
13359
13360 static struct ureg get_source( struct texenv_fragment_program *p,
13361           GLuint src, GLuint unit )
13362 {
13363    switch (src) {
13364    case 0:
13365       ((void) (0));
13366       return p->src_texture[unit];
13367
13368    case 1:
13369    case 2:
13370    case 3:
13371    case 4:
13372    case 5:
13373    case 6:
13374    case 7:
13375    case 8:
13376       ((void) (0));
13377       return p->src_texture[src - 1];
13378
13379    case 9:
13380       return register_param5(p,STATE_TEXENV_COLOR,unit,0,0,0);
13381
13382    case 10:
13383       return register_input(p, FRAG_ATTRIB_COL0);
13384
13385    case 11:
13386    default:
13387       if (is_undef(p->src_previous))
13388   return register_input(p, FRAG_ATTRIB_COL0);
13389       else
13390   return p->src_previous;
13391    }
13392 }
13393
13394 static struct ureg emit_combine_source( struct texenv_fragment_program *p,
13395      GLuint mask,
13396      GLuint unit,
13397      GLuint source,
13398      GLuint operand )
13399 {
13400    struct ureg arg, src, one;
13401
13402    src = get_source(p, source, unit);
13403
13404    switch (operand) {
13405    case 1:
13406
13407
13408
13409       arg = get_temp( p );
13410       one = get_one( p );
13411       return emit_arith( p, OPCODE_SUB, arg, mask, 0, one, src, undef);
13412
13413    case 2:
13414       if (mask == 0x8)
13415   return src;
13416       else
13417   return swizzle1( src, 3 );
13418    case 3:
13419
13420
13421
13422       arg = get_temp(p);
13423       one = get_one(p);
13424       return emit_arith(p, OPCODE_SUB, arg, mask, 0,
13425    one, swizzle1(src, 3), undef);
13426    case 4:
13427       return get_zero(p);
13428    case 5:
13429       return get_one(p);
13430    case 0:
13431    default:
13432       return src;
13433    }
13434 }
13435
13436 static GLboolean args_match( struct state_key *key, GLuint unit )
13437 {
13438    GLuint i, nr = key->unit[unit].NumArgsRGB;
13439
13440    for (i = 0 ; i < nr ; i++) {
13441       if (key->unit[unit].OptA[i].Source != key->unit[unit].OptRGB[i].Source)
13442   return 0x0;
13443
13444       switch(key->unit[unit].OptA[i].Operand) {
13445       case 2:
13446   switch(key->unit[unit].OptRGB[i].Operand) {
13447   case 0:
13448   case 2:
13449      break;
13450   default:
13451      return 0x0;
13452   }
13453   break;
13454       case 3:
13455   switch(key->unit[unit].OptRGB[i].Operand) {
13456   case 1:
13457   case 3:
13458      break;
13459   default:
13460      return 0x0;
13461   }
13462   break;
13463       default:
13464   return 0x0;
13465       }
13466    }
13467
13468    return 0x1;
13469 }
13470
13471 static struct ureg emit_combine( struct texenv_fragment_program *p,
13472      struct ureg dest,
13473      GLuint mask,
13474      GLboolean saturate,
13475      GLuint unit,
13476      GLuint nr,
13477      GLuint mode,
13478      const struct mode_opt *opt)
13479 {
13480    struct ureg src[3];
13481    struct ureg tmp, half;
13482    GLuint i;
13483
13484    tmp = undef;
13485
13486    for (i = 0; i < nr; i++)
13487       src[i] = emit_combine_source( p, mask, unit, opt[i].Source, opt[i].Operand );
13488
13489    switch (mode) {
13490    case 0:
13491       if (mask == 0xf && !saturate)
13492   return src[0];
13493       else
13494   return emit_arith( p, OPCODE_MOV, dest, mask, saturate, src[0], undef, undef );
13495    case 1:
13496       return emit_arith( p, OPCODE_MUL, dest, mask, saturate,
13497     src[0], src[1], undef );
13498    case 2:
13499       return emit_arith( p, OPCODE_ADD, dest, mask, saturate,
13500     src[0], src[1], undef );
13501    case 3:
13502
13503
13504
13505       half = get_half(p);
13506       tmp = get_temp( p );
13507       emit_arith( p, OPCODE_ADD, tmp, mask, 0, src[0], src[1], undef );
13508       emit_arith( p, OPCODE_SUB, dest, mask, saturate, tmp, half, undef );
13509       return dest;
13510    case 4:
13511
13512
13513       return emit_arith( p, OPCODE_LRP, dest, mask, saturate, src[2], src[0], src[1] );
13514
13515    case 5:
13516       return emit_arith( p, OPCODE_SUB, dest, mask, saturate, src[0], src[1], undef );
13517
13518    case 8:
13519    case 9:
13520    case 7:
13521    case 6: {
13522       struct ureg tmp0 = get_temp( p );
13523       struct ureg tmp1 = get_temp( p );
13524       struct ureg neg1 = register_const4f(p, -1, -1, -1, -1);
13525       struct ureg two = register_const4f(p, 2, 2, 2, 2);
13526
13527
13528
13529
13530
13531
13532       emit_arith( p, OPCODE_MAD, tmp0, 0xf, 0,
13533     two, src[0], neg1);
13534
13535       if (_mesa_memcmp(&src[0], &src[1], sizeof(struct ureg)) == 0)
13536   tmp1 = tmp0;
13537       else
13538   emit_arith( p, OPCODE_MAD, tmp1, 0xf, 0,
13539        two, src[1], neg1);
13540       emit_arith( p, OPCODE_DP3, dest, mask, saturate, tmp0, tmp1, undef);
13541       return dest;
13542    }
13543    case 10:
13544
13545       return emit_arith( p, OPCODE_MAD, dest, mask, saturate,
13546     src[0], src[2], src[1] );
13547    case 11: {
13548
13549       struct ureg tmp0 = get_temp(p);
13550       half = get_half(p);
13551       emit_arith( p, OPCODE_MAD, tmp0, mask, 0, src[0], src[2], src[1] );
13552       emit_arith( p, OPCODE_SUB, dest, mask, saturate, tmp0, half, undef );
13553       return dest;
13554    }
13555    case 12:
13556
13557       emit_arith( p, OPCODE_MAD, dest, mask, 0, src[0], src[2], negate(src[1]) );
13558       return dest;
13559    default:
13560       return src[0];
13561    }
13562 }
13563
13564
13565
13566
13567
13568 static struct ureg
13569 emit_texenv(struct texenv_fragment_program *p, GLuint unit)
13570 {
13571    struct state_key *key = p->state;
13572    GLboolean saturate = (unit < p->last_tex_stage);
13573    GLuint rgb_shift, alpha_shift;
13574    struct ureg out, shift;
13575    struct ureg dest;
13576
13577    if (!key->unit[unit].enabled) {
13578       return get_source(p, 11, 0);
13579    }
13580
13581    switch (key->unit[unit].ModeRGB) {
13582    case 7:
13583       alpha_shift = key->unit[unit].ScaleShiftA;
13584       rgb_shift = 0;
13585       break;
13586    case 9:
13587       alpha_shift = 0;
13588       rgb_shift = 0;
13589       break;
13590    default:
13591       rgb_shift = key->unit[unit].ScaleShiftRGB;
13592       alpha_shift = key->unit[unit].ScaleShiftA;
13593       break;
13594    }
13595
13596
13597
13598    if (key->separate_specular ||
13599        unit != p->last_tex_stage ||
13600        alpha_shift ||
13601        rgb_shift)
13602       dest = get_temp( p );
13603    else
13604       dest = make_ureg(PROGRAM_OUTPUT, FRAG_RESULT_COLR);
13605
13606
13607
13608    if (key->unit[unit].ModeRGB == key->unit[unit].ModeA &&
13609        args_match(key, unit)) {
13610       out = emit_combine( p, dest, 0xf, saturate,
13611      unit,
13612      key->unit[unit].NumArgsRGB,
13613      key->unit[unit].ModeRGB,
13614      key->unit[unit].OptRGB);
13615    }
13616    else if (key->unit[unit].ModeRGB == 9 ||
13617      key->unit[unit].ModeRGB == 8) {
13618
13619       out = emit_combine( p, dest, 0xf, saturate,
13620      unit,
13621      key->unit[unit].NumArgsRGB,
13622      key->unit[unit].ModeRGB,
13623      key->unit[unit].OptRGB);
13624    }
13625    else {
13626
13627
13628
13629       out = emit_combine( p, dest, 0x7, saturate,
13630      unit,
13631      key->unit[unit].NumArgsRGB,
13632      key->unit[unit].ModeRGB,
13633      key->unit[unit].OptRGB);
13634       out = emit_combine( p, dest, 0x8, saturate,
13635      unit,
13636      key->unit[unit].NumArgsA,
13637      key->unit[unit].ModeA,
13638      key->unit[unit].OptA);
13639    }
13640
13641
13642
13643    if (alpha_shift || rgb_shift) {
13644       if (rgb_shift == alpha_shift) {
13645   shift = register_const4f(p, 1<<rgb_shift, 1<<rgb_shift, 1<<rgb_shift, 1<<rgb_shift);
13646       }
13647       else {
13648   shift = register_const4f(p,
13649       1<<rgb_shift,
13650       1<<rgb_shift,
13651       1<<rgb_shift,
13652       1<<alpha_shift);
13653       }
13654       return emit_arith( p, OPCODE_MUL, dest, 0xf,
13655     saturate, out, shift, undef );
13656    }
13657    else
13658       return out;
13659 }
13660
13661
13662
13663
13664
13665 static void load_texture( struct texenv_fragment_program *p, GLuint unit )
13666 {
13667    if (is_undef(p->src_texture[unit])) {
13668       GLuint dim = p->state->unit[unit].source_index;
13669       struct ureg texcoord = register_input(p, FRAG_ATTRIB_TEX0+unit);
13670       struct ureg tmp = get_tex_temp( p );
13671
13672       if (dim == 7)
13673          program_error(p, "TexSrcBit");
13674
13675
13676
13677       if (p->state->unit[unit].enabled)
13678   p->src_texture[unit] = emit_texld( p, OPCODE_TXP,
13679          tmp, 0xf,
13680          unit, dim, texcoord );
13681       else
13682   p->src_texture[unit] = get_zero(p);
13683    }
13684 }
13685
13686 static GLboolean load_texenv_source( struct texenv_fragment_program *p,
13687          GLuint src, GLuint unit )
13688 {
13689    switch (src) {
13690    case 0:
13691       load_texture(p, unit);
13692       break;
13693
13694    case 1:
13695    case 2:
13696    case 3:
13697    case 4:
13698    case 5:
13699    case 6:
13700    case 7:
13701    case 8:
13702       load_texture(p, src - 1);
13703       break;
13704
13705    default:
13706       break;
13707    }
13708
13709    return 0x1;
13710 }
13711
13712
13713
13714
13715
13716 static GLboolean
13717 load_texunit_sources( struct texenv_fragment_program *p, int unit )
13718 {
13719    struct state_key *key = p->state;
13720    GLuint i;
13721
13722    for (i = 0; i < key->unit[unit].NumArgsRGB; i++) {
13723       load_texenv_source( p, key->unit[unit].OptRGB[i].Source, unit);
13724    }
13725
13726    for (i = 0; i < key->unit[unit].NumArgsA; i++) {
13727       load_texenv_source( p, key->unit[unit].OptA[i].Source, unit );
13728    }
13729
13730    return 0x1;
13731 }
13732
13733
13734
13735
13736
13737
13738 static void
13739 create_new_program(GLcontext *ctx, struct state_key *key,
13740                    struct gl_fragment_program *program)
13741 {
13742    struct prog_instruction instBuffer[((8 * 4) + 12)];
13743    struct texenv_fragment_program p;
13744    GLuint unit;
13745    struct ureg cf, out;
13746
13747    _mesa_memset(&p, 0, sizeof(p));
13748    p.ctx = ctx;
13749    p.state = key;
13750    p.program = program;
13751
13752
13753
13754
13755    p.program->Base.Instructions = instBuffer;
13756    p.program->Base.Target = 0x8804;
13757    p.program->Base.NumTexIndirections = 1;
13758    p.program->Base.NumTexInstructions = 0;
13759    p.program->Base.NumAluInstructions = 0;
13760    p.program->Base.String = ((void *)0);
13761    p.program->Base.NumInstructions =
13762    p.program->Base.NumTemporaries =
13763    p.program->Base.NumParameters =
13764    p.program->Base.NumAttributes = p.program->Base.NumAddressRegs = 0;
13765    p.program->Base.Parameters = _mesa_new_parameter_list();
13766
13767    p.program->Base.InputsRead = 0;
13768    p.program->Base.OutputsWritten = 1 << FRAG_RESULT_COLR;
13769
13770    for (unit = 0; unit < 8; unit++)
13771       p.src_texture[unit] = undef;
13772
13773    p.src_previous = undef;
13774    p.half = undef;
13775    p.zero = undef;
13776    p.one = undef;
13777
13778    p.last_tex_stage = 0;
13779    release_temps(&p);
13780
13781    if (key->enabled_units) {
13782
13783
13784
13785
13786       for (unit = 0 ; unit < ctx->Const.MaxTextureUnits ; unit++)
13787   if (key->unit[unit].enabled) {
13788      load_texunit_sources( &p, unit );
13789      p.last_tex_stage = unit;
13790   }
13791
13792
13793
13794       for (unit = 0 ; unit < ctx->Const.MaxTextureUnits; unit++)
13795   if (key->enabled_units & (1<<unit)) {
13796      p.src_previous = emit_texenv( &p, unit );
13797      release_temps(&p);
13798   }
13799    }
13800
13801    cf = get_source( &p, 11, 0 );
13802    out = make_ureg( PROGRAM_OUTPUT, FRAG_RESULT_COLR );
13803
13804    if (key->separate_specular) {
13805
13806
13807       struct ureg s = register_input(&p, FRAG_ATTRIB_COL1);
13808       emit_arith( &p, OPCODE_ADD, out, 0x7, 0, cf, s, undef );
13809       emit_arith( &p, OPCODE_MOV, out, 0x8, 0, cf, undef, undef );
13810    }
13811    else if (_mesa_memcmp(&cf, &out, sizeof(cf)) != 0) {
13812
13813
13814
13815       emit_arith( &p, OPCODE_MOV, out, 0xf, 0, cf, undef, undef );
13816    }
13817
13818
13819
13820    emit_arith( &p, OPCODE_END, undef, 0xf, 0, undef, undef, undef);
13821
13822    if (key->fog_enabled) {
13823
13824
13825
13826       p.program->FogOption = ctx->Fog.Mode;
13827    } else
13828       p.program->FogOption = 0x0;
13829
13830    if (p.program->Base.NumTexIndirections > ctx->Const.FragmentProgram.MaxTexIndirections)
13831       program_error(&p, "Exceeded max nr indirect texture lookups");
13832
13833    if (p.program->Base.NumTexInstructions > ctx->Const.FragmentProgram.MaxTexInstructions)
13834       program_error(&p, "Exceeded max TEX instructions");
13835
13836    if (p.program->Base.NumAluInstructions > ctx->Const.FragmentProgram.MaxAluInstructions)
13837       program_error(&p, "Exceeded max ALU instructions");
13838
13839    ;
13840
13841
13842    program->Base.Instructions
13843       = _mesa_alloc_instructions(program->Base.NumInstructions);
13844    if (!program->Base.Instructions) {
13845       _mesa_error(ctx, 0x0505,
13846                   "generating tex env program");
13847       return;
13848    }
13849    _mesa_copy_instructions(program->Base.Instructions, instBuffer,
13850                            program->Base.NumInstructions);
13851
13852
13853
13854    if (ctx->Driver.ProgramStringNotify) {
13855       ctx->Driver.ProgramStringNotify( ctx, 0x8804,
13856                                        &p.program->Base );
13857    }
13858
13859    if ((0 & VERBOSE_DISASSEM)) {
13860       _mesa_print_program(&p.program->Base);
13861       _mesa_printf("\n");
13862    }
13863 }
13864
13865
13866 static struct gl_fragment_program *
13867 search_cache(const struct texenvprog_cache *cache,
13868              GLuint hash,
13869              const void *key,
13870              GLuint keysize)
13871 {
13872    struct texenvprog_cache_item *c;
13873
13874    for (c = cache->items[hash % cache->size]; c; c = c->next) {
13875       if (c->hash == hash && memcmp(c->key, key, keysize) == 0)
13876   return (struct gl_fragment_program *) c->data;
13877    }
13878
13879    return ((void *)0);
13880 }
13881
13882 static void rehash( struct texenvprog_cache *cache )
13883 {
13884    struct texenvprog_cache_item **items;
13885    struct texenvprog_cache_item *c, *next;
13886    GLuint size, i;
13887
13888    size = cache->size * 3;
13889    items = (struct texenvprog_cache_item**) _mesa_malloc(size * sizeof(*items));
13890    _mesa_memset(items, 0, size * sizeof(*items));
13891
13892    for (i = 0; i < cache->size; i++)
13893       for (c = cache->items[i]; c; c = next) {
13894   next = c->next;
13895   c->next = items[c->hash % size];
13896   items[c->hash % size] = c;
13897       }
13898
13899    _mesa_free(cache->items);
13900    cache->items = items;
13901    cache->size = size;
13902 }
13903
13904 static void clear_cache( struct texenvprog_cache *cache )
13905 {
13906    struct texenvprog_cache_item *c, *next;
13907    GLuint i;
13908
13909    for (i = 0; i < cache->size; i++) {
13910       for (c = cache->items[i]; c; c = next) {
13911   next = c->next;
13912   _mesa_free(c->key);
13913   cache->ctx->Driver.DeleteProgram(cache->ctx,
13914                                           (struct gl_program *) c->data);
13915   _mesa_free(c);
13916       }
13917       cache->items[i] = ((void *)0);
13918    }
13919
13920
13921    cache->n_items = 0;
13922 }
13923
13924
13925 static void cache_item( struct texenvprog_cache *cache,
13926    GLuint hash,
13927    const struct state_key *key,
13928    void *data )
13929 {
13930    struct texenvprog_cache_item *c
13931       = (struct texenvprog_cache_item *) _mesa_malloc(sizeof(*c));
13932    c->hash = hash;
13933
13934    c->key = _mesa_malloc(sizeof(*key));
13935    memcpy(c->key, key, sizeof(*key));
13936
13937    c->data = (struct gl_fragment_program *) data;
13938
13939    if (cache->n_items > cache->size * 1.5) {
13940       if (cache->size < 1000)
13941   rehash(cache);
13942       else
13943   clear_cache(cache);
13944    }
13945
13946    cache->n_items++;
13947    c->next = cache->items[hash % cache->size];
13948    cache->items[hash % cache->size] = c;
13949 }
13950
13951 static GLuint hash_key( const struct state_key *key )
13952 {
13953    GLuint *ikey = (GLuint *)key;
13954    GLuint hash = 0, i;
13955
13956
13957
13958    for (i = 0; i < sizeof(*key)/sizeof(*ikey); i++)
13959    {
13960       hash += ikey[i];
13961       hash += (hash << 10);
13962       hash ^= (hash >> 6);
13963    }
13964
13965    return hash;
13966 }
13967
13968
13969
13970
13971
13972
13973
13974 void
13975 _mesa_UpdateTexEnvProgram( GLcontext *ctx )
13976 {
13977    struct state_key key;
13978    GLuint hash;
13979    const struct gl_fragment_program *prev = ctx->FragmentProgram._Current;
13980
13981    ;
13982
13983
13984    if (!ctx->FragmentProgram._Enabled &&
13985        !ctx->Shader.CurrentProgram) {
13986       make_state_key(ctx, &key);
13987       hash = hash_key(&key);
13988
13989       ctx->FragmentProgram._Current =
13990       ctx->FragmentProgram._TexEnvProgram =
13991          search_cache(&ctx->Texture.env_fp_cache, hash, &key, sizeof(key));
13992
13993       if (!ctx->FragmentProgram._TexEnvProgram) {
13994          if (0)
13995             _mesa_printf("Building new texenv proggy for key %x\n", hash);
13996
13997
13998   ctx->FragmentProgram._Current =
13999          ctx->FragmentProgram._TexEnvProgram =
14000             (struct gl_fragment_program *)
14001             ctx->Driver.NewProgram(ctx, 0x8804, 0);
14002
14003          create_new_program(ctx, &key, ctx->FragmentProgram._TexEnvProgram);
14004
14005          cache_item(&ctx->Texture.env_fp_cache, hash, &key,
14006                     ctx->FragmentProgram._TexEnvProgram);
14007       }
14008       else {
14009          if (0)
14010             _mesa_printf("Found existing texenv program for key %x\n", hash);
14011       }
14012    }
14013    else {
14014       ctx->FragmentProgram._Current = ctx->FragmentProgram.Current;
14015    }
14016
14017
14018
14019
14020    if (ctx->FragmentProgram._Current != prev && ctx->Driver.BindProgram) {
14021       ctx->Driver.BindProgram(ctx, 0x8804,
14022                          (struct gl_program *) ctx->FragmentProgram._Current);
14023    }
14024 }
14025
14026
14027 void _mesa_TexEnvProgramCacheInit( GLcontext *ctx )
14028 {
14029    ctx->Texture.env_fp_cache.ctx = ctx;
14030    ctx->Texture.env_fp_cache.size = 17;
14031    ctx->Texture.env_fp_cache.n_items = 0;
14032    ctx->Texture.env_fp_cache.items = (struct texenvprog_cache_item **)
14033       _mesa_calloc(ctx->Texture.env_fp_cache.size *
14034      sizeof(struct texenvprog_cache_item));
14035 }
14036
14037
14038 void _mesa_TexEnvProgramCacheDestroy( GLcontext *ctx )
14039 {
14040    clear_cache(&ctx->Texture.env_fp_cache);
14041    _mesa_free(ctx->Texture.env_fp_cache.items);
14042 }