Compare commits
966 Commits
unichrome-
...
the_perfec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3cdbca63f | ||
|
|
6bc9ea1df9 | ||
|
|
9a1b5af333 | ||
|
|
8818eae253 | ||
|
|
2b2bd08589 | ||
|
|
dc7fc17396 | ||
|
|
96582f4f28 | ||
|
|
dd4c1dd038 | ||
|
|
b745bf08cd | ||
|
|
2f74adc41f | ||
|
|
e53fc72f67 | ||
|
|
bd565e4bb7 | ||
|
|
9a3da7ea7b | ||
|
|
6e56f905d0 | ||
|
|
2860e5f536 | ||
|
|
22652f952f | ||
|
|
ae818ed1da | ||
|
|
198d6d05b0 | ||
|
|
5a0cb726d1 | ||
|
|
d2ab4eb2c2 | ||
|
|
2ec2e94e2e | ||
|
|
40c1c723fb | ||
|
|
bf7f998f39 | ||
|
|
bb2c65200c | ||
|
|
5119056324 | ||
|
|
4c80f8df46 | ||
|
|
e03b5cdf3f | ||
|
|
167b141e6e | ||
|
|
d06da50888 | ||
|
|
c1082804a8 | ||
|
|
ffd97d20aa | ||
|
|
a33f0d3024 | ||
|
|
380991cb65 | ||
|
|
3e8001a465 | ||
|
|
af1a729972 | ||
|
|
cf4f3c5061 | ||
|
|
4cf20d9236 | ||
|
|
72a313902b | ||
|
|
f9bad3dfea | ||
|
|
a495ed372f | ||
|
|
d9789b7861 | ||
|
|
51ac95ba89 | ||
|
|
6493bd07a7 | ||
|
|
7bfe8df08a | ||
|
|
5873faf39b | ||
|
|
fdeda9c458 | ||
|
|
9b134f641c | ||
|
|
efeea95dcc | ||
|
|
45472672a2 | ||
|
|
aca2e0da3c | ||
|
|
d5084d42d4 | ||
|
|
578f63f2bf | ||
|
|
1c606a9aa1 | ||
|
|
09f433b97c | ||
|
|
8110df4f61 | ||
|
|
9cf35d2876 | ||
|
|
11bd5c1ac4 | ||
|
|
686e9b9f57 | ||
|
|
aecc05627a | ||
|
|
d0ddf190aa | ||
|
|
5cb977fedf | ||
|
|
296428dcf4 | ||
|
|
ee83a1302f | ||
|
|
7012d01d88 | ||
|
|
a6ed129dfc | ||
|
|
733bc876ee | ||
|
|
64034c4fb5 | ||
|
|
846eb333ae | ||
|
|
c9a69a6968 | ||
|
|
269e3895d9 | ||
|
|
5c72837af9 | ||
|
|
5f430c9976 | ||
|
|
714be699be | ||
|
|
10432bcc0a | ||
|
|
69a2f7cdd5 | ||
|
|
db21f1c84f | ||
|
|
4e68f4c1fa | ||
|
|
1e5772f0ba | ||
|
|
ac6728d2d9 | ||
|
|
49d8cbe8d1 | ||
|
|
9d148e6b2b | ||
|
|
363d0bcf01 | ||
|
|
e490242b9a | ||
|
|
a582015905 | ||
|
|
3509fd8c1b | ||
|
|
93cd9237d7 | ||
|
|
1243b829bb | ||
|
|
2fcaf7a529 | ||
|
|
a42fe19d8d | ||
|
|
e57d5c4742 | ||
|
|
5a5b4436cb | ||
|
|
3ffe8731e6 | ||
|
|
c5f5055097 | ||
|
|
dbeea25bb8 | ||
|
|
f29f2fc294 | ||
|
|
ab81d1fd99 | ||
|
|
d9fdb6c2bb | ||
|
|
9eef0da109 | ||
|
|
8b88f62fbd | ||
|
|
948fa3b295 | ||
|
|
586f2c59fe | ||
|
|
e3b0c19ec9 | ||
|
|
9ca8815d3b | ||
|
|
ecb6bfc0ce | ||
|
|
fee163a61a | ||
|
|
0e26580c90 | ||
|
|
c8542705f7 | ||
|
|
435eff8b85 | ||
|
|
276330b241 | ||
|
|
ff6723e326 | ||
|
|
1180fc13db | ||
|
|
5c6aec2f39 | ||
|
|
86300c6945 | ||
|
|
fc3bc1ae14 | ||
|
|
d3bd97bb14 | ||
|
|
52064f6c37 | ||
|
|
2eb147e7f5 | ||
|
|
6f3d16c64a | ||
|
|
42fa81275c | ||
|
|
e3f684b753 | ||
|
|
883d20791a | ||
|
|
b1d0ac64ab | ||
|
|
c64573997c | ||
|
|
e133984f51 | ||
|
|
bd8162aaac | ||
|
|
4a55d4ffa7 | ||
|
|
6258b76c49 | ||
|
|
203dcb733d | ||
|
|
bd1d9d96b2 | ||
|
|
9f8b3fac97 | ||
|
|
0355d3ff94 | ||
|
|
cb34c11663 | ||
|
|
1077779c7d | ||
|
|
1c39d183c4 | ||
|
|
fd4f7064e2 | ||
|
|
db46e2a7dd | ||
|
|
e7769cb348 | ||
|
|
d83c4e6dd1 | ||
|
|
73e8ffe9f3 | ||
|
|
286c4cc201 | ||
|
|
b3e878ad90 | ||
|
|
eae0439ae6 | ||
|
|
79c0bb5264 | ||
|
|
41a93f544e | ||
|
|
e4b2356c07 | ||
|
|
ebef61f5c0 | ||
|
|
fe6ee3f5e6 | ||
|
|
f5581bb994 | ||
|
|
47b29f511a | ||
|
|
c3f764f7bb | ||
|
|
3151b27b0a | ||
|
|
209b090241 | ||
|
|
d8f9599403 | ||
|
|
c6e1569b7f | ||
|
|
82761cb08b | ||
|
|
c22990c29a | ||
|
|
3aeae20685 | ||
|
|
884b5ade86 | ||
|
|
138b7ef4d9 | ||
|
|
3a934557bf | ||
|
|
5f0bf77255 | ||
|
|
8af7ff1ded | ||
|
|
1c54579e86 | ||
|
|
7d33053e47 | ||
|
|
47d18cbb64 | ||
|
|
f1d053b19a | ||
|
|
28d0a9c9dd | ||
|
|
5f534aa1e2 | ||
|
|
e9e20fc47d | ||
|
|
a5cb1aa211 | ||
|
|
431417fec7 | ||
|
|
5c81a4b9cd | ||
|
|
a6ebcdfe7d | ||
|
|
2c19069182 | ||
|
|
15e75e00c7 | ||
|
|
d59054e60b | ||
|
|
5cef1a1fed | ||
|
|
545515cbea | ||
|
|
97e1e60b1c | ||
|
|
69441868f6 | ||
|
|
55d8dd4078 | ||
|
|
d09df24082 | ||
|
|
c03b6f40ba | ||
|
|
c039af165d | ||
|
|
c3259fa436 | ||
|
|
b83aadb0e4 | ||
|
|
576caad33e | ||
|
|
cbc8d7596a | ||
|
|
6ffd0a4cf1 | ||
|
|
5c906924ed | ||
|
|
9b4536a654 | ||
|
|
df943a4041 | ||
|
|
0d4af83f25 | ||
|
|
bf87f86493 | ||
|
|
963586b871 | ||
|
|
fc06f9fb25 | ||
|
|
20d44dc9bc | ||
|
|
11b0a76370 | ||
|
|
adbff7e977 | ||
|
|
a661654a33 | ||
|
|
6f973f3367 | ||
|
|
6a13c7da4c | ||
|
|
addcc6afbd | ||
|
|
19fb77ee7b | ||
|
|
b10d080b1e | ||
|
|
3ed1f07686 | ||
|
|
2cbbd3dc50 | ||
|
|
a7fcac5e92 | ||
|
|
07d91bbb59 | ||
|
|
b3474de7b5 | ||
|
|
7c26b61f93 | ||
|
|
88b69d7998 | ||
|
|
f069e5e412 | ||
|
|
0ff98b03c6 | ||
|
|
70375aff48 | ||
|
|
52bf005425 | ||
|
|
8d51bbf2a3 | ||
|
|
fc8f202181 | ||
|
|
c4e1fd5a7f | ||
|
|
f8ed0aa268 | ||
|
|
d03ab104db | ||
|
|
93d2d54e7a | ||
|
|
8ea22650bd | ||
|
|
2510ba618d | ||
|
|
b7142567bc | ||
|
|
61f08d8094 | ||
|
|
f905145b60 | ||
|
|
02986cb2cc | ||
|
|
2e823f29e4 | ||
|
|
b52673117b | ||
|
|
49b1d95c1c | ||
|
|
e9a3d8a772 | ||
|
|
afb3fb4b77 | ||
|
|
635ee2df37 | ||
|
|
509710cfd7 | ||
|
|
efb41b07ff | ||
|
|
78803b2667 | ||
|
|
a131d50fb7 | ||
|
|
e3a846b0e3 | ||
|
|
65ce50897e | ||
|
|
8855664489 | ||
|
|
35725a92be | ||
|
|
d8aa5ffed5 | ||
|
|
067e788acd | ||
|
|
73b4c1b388 | ||
|
|
a3deff2404 | ||
|
|
6cae4f3bc9 | ||
|
|
f434e07a6a | ||
|
|
369404299c | ||
|
|
b2b01a60db | ||
|
|
60e2810ae4 | ||
|
|
99b329ca13 | ||
|
|
ed5f790919 | ||
|
|
8c01903114 | ||
|
|
6372ea0da0 | ||
|
|
2a37053fd5 | ||
|
|
1e8fc5ffea | ||
|
|
5c968cbc5e | ||
|
|
98e35025ba | ||
|
|
fd451b6d01 | ||
|
|
25fe93f0a1 | ||
|
|
c604e457d1 | ||
|
|
9a5ba4794c | ||
|
|
fa2802d4d0 | ||
|
|
0e7836b500 | ||
|
|
d3ea221d3e | ||
|
|
2f951683be | ||
|
|
5a38200122 | ||
|
|
f18d70b804 | ||
|
|
cfcf86b37d | ||
|
|
0ad2ef20a7 | ||
|
|
ad0dbe6b04 | ||
|
|
41bddcfa7b | ||
|
|
55ba0dccc9 | ||
|
|
aaa5a66433 | ||
|
|
5f92c38f0e | ||
|
|
db382c5b1d | ||
|
|
a657c1aee8 | ||
|
|
d9c389dff6 | ||
|
|
c51ed8c236 | ||
|
|
c61782958b | ||
|
|
c3984fc015 | ||
|
|
481bdd383a | ||
|
|
bfc8a8dc63 | ||
|
|
29c909f81c | ||
|
|
5234d17514 | ||
|
|
c39a4bc83c | ||
|
|
a92100a3c6 | ||
|
|
fe1230f1c8 | ||
|
|
26772ac988 | ||
|
|
425569bbc5 | ||
|
|
93b52d9484 | ||
|
|
1706ba4101 | ||
|
|
9a54843a94 | ||
|
|
cb80e3905c | ||
|
|
32e845f05e | ||
|
|
7d4abc9b3a | ||
|
|
a62fe7f5e3 | ||
|
|
00e599e783 | ||
|
|
1d7f71924d | ||
|
|
05ab19ef43 | ||
|
|
a095aa4f4b | ||
|
|
675f802542 | ||
|
|
116986bad5 | ||
|
|
798e753e07 | ||
|
|
ce1d7ee5ee | ||
|
|
068039eec1 | ||
|
|
05bbafa01a | ||
|
|
8fb17f5b3f | ||
|
|
3e62d3a8d8 | ||
|
|
050b77a9ac | ||
|
|
59b4b7e07e | ||
|
|
46d50d9e8e | ||
|
|
de4fe1e3c5 | ||
|
|
7f8e10f96c | ||
|
|
e7c7a0f353 | ||
|
|
6bd390743d | ||
|
|
2fb2e27e28 | ||
|
|
5b641a516e | ||
|
|
706bb1c714 | ||
|
|
1d5c727bba | ||
|
|
a890ceee63 | ||
|
|
8a7dcd97bd | ||
|
|
a78bbd0816 | ||
|
|
80a939cafb | ||
|
|
6af6a69312 | ||
|
|
979f35fb78 | ||
|
|
b81efaaa1a | ||
|
|
00e760c971 | ||
|
|
3f35fbbf66 | ||
|
|
9eae0b9f19 | ||
|
|
c1aa3d1e6f | ||
|
|
dd9da8cdb5 | ||
|
|
fbe5296d14 | ||
|
|
7541794373 | ||
|
|
3c4c86aff2 | ||
|
|
34dd4843d7 | ||
|
|
7457a648d2 | ||
|
|
bd5bba8470 | ||
|
|
e2e4a5c992 | ||
|
|
02eb36fa8d | ||
|
|
0c7d2fff1e | ||
|
|
5c9d21df3d | ||
|
|
8998de569c | ||
|
|
278c6025f9 | ||
|
|
4f05e61543 | ||
|
|
45f26f9979 | ||
|
|
203bd3e8ec | ||
|
|
91c219d906 | ||
|
|
522ea42718 | ||
|
|
e24a9c10b5 | ||
|
|
96035d54f3 | ||
|
|
746df56717 | ||
|
|
5737fda093 | ||
|
|
439f7feab1 | ||
|
|
f0d484fa5a | ||
|
|
2579c32a5f | ||
|
|
0bd5373d94 | ||
|
|
9d05d3dd30 | ||
|
|
e6aa21156a | ||
|
|
a30402b56a | ||
|
|
07561c6b32 | ||
|
|
a4296239d4 | ||
|
|
3f9467c946 | ||
|
|
1bb14ad90c | ||
|
|
87030f6618 | ||
|
|
8ff72e9723 | ||
|
|
b47731f24d | ||
|
|
bc6bf401f5 | ||
|
|
984d527626 | ||
|
|
fdb5a87f91 | ||
|
|
ce77d37264 | ||
|
|
6e776f25fd | ||
|
|
c1f2f9090b | ||
|
|
7644bfb536 | ||
|
|
3e1961839e | ||
|
|
fff3b2f318 | ||
|
|
b960c14cbb | ||
|
|
3db7ae3a38 | ||
|
|
7cd2ae9d97 | ||
|
|
03dc437363 | ||
|
|
80875253ce | ||
|
|
d1e40c9bdd | ||
|
|
6c0c91714c | ||
|
|
87a2f3df64 | ||
|
|
ab7312ef63 | ||
|
|
67742383e8 | ||
|
|
4932ba28ad | ||
|
|
8ca515097f | ||
|
|
c68233cb35 | ||
|
|
9bfd9582d4 | ||
|
|
24dcc6b6bf | ||
|
|
f3a6e4fa5b | ||
|
|
4e262cfb07 | ||
|
|
40af76bbaa | ||
|
|
1fd3bbc42e | ||
|
|
ac8020ea9c | ||
|
|
2c6f911e10 | ||
|
|
7b7d00ca62 | ||
|
|
365a0a7c15 | ||
|
|
2b1ec683d3 | ||
|
|
ba0fe1832e | ||
|
|
540b260cbd | ||
|
|
8f5f6b3d59 | ||
|
|
6614766f3e | ||
|
|
57b5e8538e | ||
|
|
fdb07636f2 | ||
|
|
cb83f62e30 | ||
|
|
78123bb38b | ||
|
|
3c69df8a70 | ||
|
|
e00b729716 | ||
|
|
a2990a9d73 | ||
|
|
dee1c795c2 | ||
|
|
eb6560bf2b | ||
|
|
35bc4ac680 | ||
|
|
ff3ce3dd96 | ||
|
|
42896b2a18 | ||
|
|
10b892af96 | ||
|
|
9605806d81 | ||
|
|
3f22c0966d | ||
|
|
8281cca82f | ||
|
|
4d73f1af35 | ||
|
|
26d812ae00 | ||
|
|
f448e632b6 | ||
|
|
49f7430b12 | ||
|
|
d73b929ef2 | ||
|
|
6f37e76272 | ||
|
|
74477b24a8 | ||
|
|
78152f85e7 | ||
|
|
002a64cc48 | ||
|
|
ca4116bfce | ||
|
|
0846e52d46 | ||
|
|
6e2fd96627 | ||
|
|
a9eb712fc9 | ||
|
|
934be3266f | ||
|
|
c8af2b5a52 | ||
|
|
f321f16e83 | ||
|
|
41d180c899 | ||
|
|
8eeef423e9 | ||
|
|
1ff8f50f2f | ||
|
|
2c28dd892c | ||
|
|
5c2f3d5d3a | ||
|
|
d588311dbb | ||
|
|
f446027656 | ||
|
|
233d93d47e | ||
|
|
70f2be9cc6 | ||
|
|
9e5a0b8895 | ||
|
|
09298228c6 | ||
|
|
e82cb7852b | ||
|
|
4ea4589302 | ||
|
|
a5f2dcb57b | ||
|
|
72b2af6035 | ||
|
|
84396a72df | ||
|
|
0340663eb7 | ||
|
|
8352666a9d | ||
|
|
8d12a6d537 | ||
|
|
fbdd7a5e74 | ||
|
|
aeee36a311 | ||
|
|
2f99f6558c | ||
|
|
b6082fd236 | ||
|
|
0a13cebaa1 | ||
|
|
baa832d311 | ||
|
|
1718e34352 | ||
|
|
d5e008b84b | ||
|
|
3271390362 | ||
|
|
37cbb521d3 | ||
|
|
2752177ade | ||
|
|
f640ee2f6e | ||
|
|
25817dc26b | ||
|
|
ed9119b72a | ||
|
|
0872b85b1e | ||
|
|
6125515cec | ||
|
|
cc70176446 | ||
|
|
a0c8524924 | ||
|
|
2d10924a14 | ||
|
|
4837ea3020 | ||
|
|
26d3159125 | ||
|
|
b66251f76d | ||
|
|
d9468c9405 | ||
|
|
f901072afb | ||
|
|
1982a66838 | ||
|
|
3f9bae90c3 | ||
|
|
b97e478fe9 | ||
|
|
a9a4c5489e | ||
|
|
a85eb9c0a7 | ||
|
|
dd951e6dde | ||
|
|
d190734875 | ||
|
|
4afa1d7abb | ||
|
|
58010eb35c | ||
|
|
816c0c932d | ||
|
|
4f1f5e336b | ||
|
|
a8d5b176b5 | ||
|
|
fe7aa08ad9 | ||
|
|
1f6735a6a5 | ||
|
|
f0bbbf66b8 | ||
|
|
d863424032 | ||
|
|
799bc13da2 | ||
|
|
4754fc653f | ||
|
|
85199453cc | ||
|
|
a91e0218a3 | ||
|
|
5e4a7581df | ||
|
|
6a04cff065 | ||
|
|
3dec3c7a74 | ||
|
|
8e5f0e62dd | ||
|
|
46cde1715f | ||
|
|
d084982240 | ||
|
|
4885a9eb20 | ||
|
|
1764b78ee9 | ||
|
|
315afce941 | ||
|
|
3f847b73f3 | ||
|
|
923b6fc4d9 | ||
|
|
1864c7d79a | ||
|
|
386e997f45 | ||
|
|
3d2e10564e | ||
|
|
cf69e051ce | ||
|
|
78e6e59477 | ||
|
|
87440f531c | ||
|
|
6cfd4f7e55 | ||
|
|
463642c0be | ||
|
|
d1b1b37270 | ||
|
|
0d22b90540 | ||
|
|
27f75a863e | ||
|
|
049290c584 | ||
|
|
71699df7de | ||
|
|
8d621b3bdd | ||
|
|
1f2b715988 | ||
|
|
3deaa01c2b | ||
|
|
1e42244e82 | ||
|
|
66b48d6df6 | ||
|
|
5bdf2bc6c7 | ||
|
|
d9d972a944 | ||
|
|
ddc82eefca | ||
|
|
2886579324 | ||
|
|
bb7d5f8837 | ||
|
|
8c3ddf4270 | ||
|
|
f955218bf1 | ||
|
|
7aafcc86c7 | ||
|
|
ce657cf752 | ||
|
|
cf899d400d | ||
|
|
557dce9bc2 | ||
|
|
b64d4a27cb | ||
|
|
a02b83115a | ||
|
|
0a755ade51 | ||
|
|
19064f818a | ||
|
|
cbff5db516 | ||
|
|
64b85b4563 | ||
|
|
9ea600ff3f | ||
|
|
fe58074dea | ||
|
|
c326f9ffae | ||
|
|
54b03eefda | ||
|
|
d26e464b6a | ||
|
|
4c56261075 | ||
|
|
19b260119a | ||
|
|
3f0926b612 | ||
|
|
cb085044c9 | ||
|
|
f350617c24 | ||
|
|
f46de6f23b | ||
|
|
94a20cbadf | ||
|
|
eba5b610b9 | ||
|
|
2eb9e67a5a | ||
|
|
8b21166c14 | ||
|
|
1a141b9161 | ||
|
|
6286dda286 | ||
|
|
1a1c49f8a6 | ||
|
|
3fec8c24ec | ||
|
|
6b158a7d23 | ||
|
|
b5c90ca7d9 | ||
|
|
b5128c6e82 | ||
|
|
7bccfa1026 | ||
|
|
5dd4030e76 | ||
|
|
6d419feec7 | ||
|
|
88e155e353 | ||
|
|
d4697b0997 | ||
|
|
4a3c6095fc | ||
|
|
0ab7fb56f5 | ||
|
|
c2803587b6 | ||
|
|
ba09c19ed6 | ||
|
|
886280763c | ||
|
|
fc4cabbfa8 | ||
|
|
e61c8a5c63 | ||
|
|
9c1773e505 | ||
|
|
15f108335a | ||
|
|
0cd936c01f | ||
|
|
b55117042f | ||
|
|
29d021cd31 | ||
|
|
3aa69b39bf | ||
|
|
5ff53cb448 | ||
|
|
9ff3c49ef2 | ||
|
|
941d6b008f | ||
|
|
3bde211549 | ||
|
|
98a9ad9241 | ||
|
|
371f576731 | ||
|
|
58f4d67703 | ||
|
|
c84cde7b0b | ||
|
|
fbb478c946 | ||
|
|
16c3c74018 | ||
|
|
8d27148bbd | ||
|
|
54584df8cc | ||
|
|
20b8d9c1b9 | ||
|
|
fdb0527ddc | ||
|
|
1fca563232 | ||
|
|
b365d28627 | ||
|
|
e451a95ecc | ||
|
|
f856b3f10f | ||
|
|
6398a97aff | ||
|
|
82e22f50f1 | ||
|
|
d773598224 | ||
|
|
5aa6dc329b | ||
|
|
5b0dd89370 | ||
|
|
a205137423 | ||
|
|
7104ce0a0e | ||
|
|
914746b400 | ||
|
|
0cbc25480f | ||
|
|
8f029f175e | ||
|
|
7c58a00a50 | ||
|
|
d01292bc54 | ||
|
|
b07390c8fd | ||
|
|
38e6e09cb8 | ||
|
|
e4d41524a2 | ||
|
|
f106493d8b | ||
|
|
01ec76dbd5 | ||
|
|
85f0fa3761 | ||
|
|
cb59bd44db | ||
|
|
00772ac42f | ||
|
|
ad15f1bdea | ||
|
|
5ff2b94630 | ||
|
|
0246b2a5c0 | ||
|
|
7f958e9e11 | ||
|
|
f9f2db5132 | ||
|
|
d7d54423a8 | ||
|
|
5c6b391900 | ||
|
|
428a5e82fc | ||
|
|
c74ffb8266 | ||
|
|
72e3664996 | ||
|
|
0b5a5a9efb | ||
|
|
4ced594aa8 | ||
|
|
cb77dcf0b9 | ||
|
|
150ed2e43d | ||
|
|
999534216d | ||
|
|
e82d5f2be9 | ||
|
|
8736c228cb | ||
|
|
3b50f00433 | ||
|
|
36a35c5614 | ||
|
|
8fca9bdc35 | ||
|
|
f4cafc8d13 | ||
|
|
4ac53aed6c | ||
|
|
1060211918 | ||
|
|
308fbb7b64 | ||
|
|
8346c5ee1d | ||
|
|
b39665950e | ||
|
|
e51b0b1d30 | ||
|
|
fa15f6c840 | ||
|
|
677d1d07c4 | ||
|
|
14dee36fa7 | ||
|
|
edb9a165c1 | ||
|
|
ddfa61ee19 | ||
|
|
cb3bc2c49a | ||
|
|
ea2943efd9 | ||
|
|
36da0459e4 | ||
|
|
10378919d7 | ||
|
|
31fb7648fc | ||
|
|
4f6d9aaa9a | ||
|
|
42fee73aad | ||
|
|
140f99f81c | ||
|
|
7948bc02ed | ||
|
|
4ef0e046ec | ||
|
|
2aa34ea984 | ||
|
|
bdb5725bab | ||
|
|
6931087958 | ||
|
|
520e56f232 | ||
|
|
c98323bd89 | ||
|
|
9ebce91a66 | ||
|
|
59c2e16e75 | ||
|
|
c47d19a1a2 | ||
|
|
41db4e1be5 | ||
|
|
95be63771a | ||
|
|
4cfd97e3a8 | ||
|
|
c57a312978 | ||
|
|
fa32c92ea5 | ||
|
|
a885c7a6e0 | ||
|
|
619f006bba | ||
|
|
955190fbad | ||
|
|
092af29ea1 | ||
|
|
af72b4dd8e | ||
|
|
7443c2caa6 | ||
|
|
db99b8b29d | ||
|
|
ea28a5b5b3 | ||
|
|
730fabd67a | ||
|
|
7d079fd780 | ||
|
|
cc9ab78158 | ||
|
|
434f622ede | ||
|
|
0a7ea2b0c3 | ||
|
|
389e292a1b | ||
|
|
ff39c65dee | ||
|
|
714c36c120 | ||
|
|
d98c47300a | ||
|
|
6a432a7c50 | ||
|
|
a6ddd2494a | ||
|
|
0a360cfab5 | ||
|
|
848ff85157 | ||
|
|
fc3028d2c7 | ||
|
|
6c58ddae17 | ||
|
|
b4199a1f71 | ||
|
|
5255044c00 | ||
|
|
169a723d2b | ||
|
|
c07ec046b7 | ||
|
|
14aea4a485 | ||
|
|
781d512a0b | ||
|
|
82d1421736 | ||
|
|
ad360a81bd | ||
|
|
ca710a0a7f | ||
|
|
76de160b64 | ||
|
|
b5f49e6f91 | ||
|
|
c478a09a5b | ||
|
|
dbb3ec35a7 | ||
|
|
ffe7496ac3 | ||
|
|
afa05e68b8 | ||
|
|
4ccee80190 | ||
|
|
faf96a157d | ||
|
|
42cfcce8d4 | ||
|
|
38595eda39 | ||
|
|
96d375c682 | ||
|
|
404273ad09 | ||
|
|
0c68589673 | ||
|
|
aa7a27b38e | ||
|
|
7da875d55f | ||
|
|
f4bff83c32 | ||
|
|
52f5ff525b | ||
|
|
517ac1bf25 | ||
|
|
2821b05a0f | ||
|
|
d2001bd88f | ||
|
|
f11d6d4cb4 | ||
|
|
288114b9db | ||
|
|
a7ab2b2e0b | ||
|
|
b1d322a1e7 | ||
|
|
c06f8cb9e5 | ||
|
|
a0371b0b3c | ||
|
|
d9af44f358 | ||
|
|
edd21a6f72 | ||
|
|
db19ae89f2 | ||
|
|
436f4bbd62 | ||
|
|
7f3e2dac7a | ||
|
|
302a414b34 | ||
|
|
01d38cdf0c | ||
|
|
6324f73b93 | ||
|
|
8b7cc45f3d | ||
|
|
b05e75bf69 | ||
|
|
3d52858c78 | ||
|
|
0e85388ba8 | ||
|
|
9b3752c8ab | ||
|
|
8f8534f691 | ||
|
|
df14522540 | ||
|
|
5bd6a5f2df | ||
|
|
db93e6165e | ||
|
|
d4330fc322 | ||
|
|
d456ef48e5 | ||
|
|
3ff4eca05c | ||
|
|
cce4d5cb70 | ||
|
|
88440d2d75 | ||
|
|
8e5281fbe1 | ||
|
|
0aca086f7a | ||
|
|
8e46534b3b | ||
|
|
118b82145a | ||
|
|
f9b89910d1 | ||
|
|
7ea2084513 | ||
|
|
4676a6ab7b | ||
|
|
2937d403db | ||
|
|
708e25142b | ||
|
|
5ba7d85fea | ||
|
|
09ac1d1125 | ||
|
|
26dcb88fb9 | ||
|
|
a9531eb2c5 | ||
|
|
d7b837ad4a | ||
|
|
2a34e66d6a | ||
|
|
a9e34c68ac | ||
|
|
591b72b6a9 | ||
|
|
ff04e50e2e | ||
|
|
d24e49f301 | ||
|
|
5b28844dba | ||
|
|
3bd6e3d532 | ||
|
|
5b5e6cc120 | ||
|
|
aac4d8857a | ||
|
|
8e039bf40a | ||
|
|
f29aaf80a4 | ||
|
|
cdb6541634 | ||
|
|
43343913b9 | ||
|
|
b13eaf2698 | ||
|
|
51365b2d0d | ||
|
|
0275d921ac | ||
|
|
94dd520210 | ||
|
|
5358682aa7 | ||
|
|
0cb0a36d8c | ||
|
|
d5432ac584 | ||
|
|
864137984a | ||
|
|
086ca3dffb | ||
|
|
dd4837502c | ||
|
|
14e98b7d7c | ||
|
|
ff53a4ee13 | ||
|
|
86f1439f82 | ||
|
|
9db66a3f9f | ||
|
|
eaf2b170ff | ||
|
|
574f3c7daf | ||
|
|
a887a44b2d | ||
|
|
8c231d2e28 | ||
|
|
6867117b58 | ||
|
|
5f61c6f21f | ||
|
|
8ad31013b2 | ||
|
|
e9acd0ca5f | ||
|
|
527af7571e | ||
|
|
612bf1fa2e | ||
|
|
7a663b315e | ||
|
|
a00c591511 | ||
|
|
a4a31c5d76 | ||
|
|
2d84ed83c4 | ||
|
|
92eddb0fd4 | ||
|
|
516f9bc6e3 | ||
|
|
575d24a5ff | ||
|
|
0fe7f406be | ||
|
|
b58091a336 | ||
|
|
429efa9f00 | ||
|
|
1b058a06c2 | ||
|
|
c1065ee977 | ||
|
|
0261042beb | ||
|
|
b45ce5c607 | ||
|
|
e4499ed276 | ||
|
|
675b92515a | ||
|
|
1074eae704 | ||
|
|
ccaa15a081 | ||
|
|
f1481aa2d7 | ||
|
|
f0e4f5e556 | ||
|
|
ae73b3d5ed | ||
|
|
fa1362241b | ||
|
|
5fff0c135d | ||
|
|
5911d87315 | ||
|
|
e0be62e2c5 | ||
|
|
85243b8120 | ||
|
|
b3d772bd9a | ||
|
|
5cd24d4dc2 | ||
|
|
8764441b58 | ||
|
|
000dd4afe2 | ||
|
|
1837dda4d8 | ||
|
|
a11659adaf | ||
|
|
0f34f3efb8 | ||
|
|
a285acbbef | ||
|
|
70d2f152f8 | ||
|
|
5f1f229f8d | ||
|
|
3385d7cec3 | ||
|
|
ba5ceda7e0 | ||
|
|
7e3379b1a0 | ||
|
|
71fc6a3fc9 | ||
|
|
1f98ee9022 | ||
|
|
8bb717d2d5 | ||
|
|
a61ee65910 | ||
|
|
a2db56b34b | ||
|
|
9f149bf206 | ||
|
|
d401faf877 | ||
|
|
4c1d373ce1 | ||
|
|
dd1ef7c0d7 | ||
|
|
5135d37813 | ||
|
|
ed1fc20199 | ||
|
|
9b7367154b | ||
|
|
994d5cc5f4 | ||
|
|
7047cb08eb | ||
|
|
50122c9d2d | ||
|
|
e09c843c13 | ||
|
|
91538b4432 | ||
|
|
dbc125eede | ||
|
|
7b51aa54be | ||
|
|
3e4d4aca77 | ||
|
|
1e21673ea1 | ||
|
|
ee2761f2f3 | ||
|
|
699fc6baf9 | ||
|
|
609e54820c | ||
|
|
99fc261c47 | ||
|
|
dd9666bc1d | ||
|
|
30f6486276 | ||
|
|
830e046972 | ||
|
|
e3fe80a60f | ||
|
|
9a8a9fb01f | ||
|
|
d5b1605449 | ||
|
|
380ba2daec | ||
|
|
e99f390ff6 | ||
|
|
065f725672 | ||
|
|
6b185aaedf | ||
|
|
55ee1daaf9 | ||
|
|
638faa92fc | ||
|
|
85edffd5ff | ||
|
|
932dee87e3 | ||
|
|
bdbdab837e | ||
|
|
6650264802 | ||
|
|
31c25f2edc | ||
|
|
e024cae14b | ||
|
|
b6ab7a1bf1 | ||
|
|
f72e4424d9 | ||
|
|
e3748eb19b | ||
|
|
87889aeab4 | ||
|
|
3276c192b7 | ||
|
|
dd1a817c50 | ||
|
|
a5039af357 | ||
|
|
8e73b14228 | ||
|
|
81ca616e7e | ||
|
|
6563c16e38 | ||
|
|
25faa2d56e | ||
|
|
63473a8e76 | ||
|
|
2fc9351ee7 | ||
|
|
63fd67e561 | ||
|
|
f50a1964d1 | ||
|
|
d6be8dd651 | ||
|
|
9a04b25c60 | ||
|
|
3c80f5c56b | ||
|
|
7a231da442 | ||
|
|
1067ce0cea | ||
|
|
467d64a177 | ||
|
|
404d925b58 | ||
|
|
e443d1ec47 | ||
|
|
92d47e79f1 | ||
|
|
11374bdb86 | ||
|
|
24b5e49141 | ||
|
|
179cc373f1 | ||
|
|
c664f0c515 | ||
|
|
8be4747fd6 | ||
|
|
4a04f002db | ||
|
|
8f1ba083ba | ||
|
|
58cc2e9124 | ||
|
|
18551e75ea | ||
|
|
6fcc6c4965 | ||
|
|
bcd1a9ed68 | ||
|
|
2269445f6d | ||
|
|
b53030a94c | ||
|
|
a656dc251e | ||
|
|
51050efe0e | ||
|
|
7d8c1fb03a | ||
|
|
74bf43051c | ||
|
|
5be14fd59a | ||
|
|
490e764d7a | ||
|
|
ef494c06b6 | ||
|
|
54ef88109b | ||
|
|
e158292ee3 | ||
|
|
e972497310 | ||
|
|
f102f7ae3d | ||
|
|
cb0cc796d2 | ||
|
|
3b486d795d | ||
|
|
13ae06cf36 | ||
|
|
7b05b70c2a | ||
|
|
4c3f041862 | ||
|
|
5bdb4652f9 | ||
|
|
6a50fc43cb | ||
|
|
c6cca6a3b8 | ||
|
|
29c88396db | ||
|
|
d9fcfa2797 | ||
|
|
0983c9dd99 | ||
|
|
c3eaa17b37 | ||
|
|
99edafd4e8 | ||
|
|
83fcf49647 | ||
|
|
3cbc2bd833 | ||
|
|
1b2a655521 | ||
|
|
46a35b2284 | ||
|
|
1c86c7ad9c | ||
|
|
3deaf21745 | ||
|
|
9876730f7a | ||
|
|
15da29b5e7 | ||
|
|
7db50bb3a8 | ||
|
|
922bfd70ff | ||
|
|
80dd3c7917 | ||
|
|
8bdaa927eb | ||
|
|
990dec7ea0 |
33
Makefile
33
Makefile
@@ -33,7 +33,11 @@ realclean:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
@echo "Installing"
|
@echo "Installing"
|
||||||
$(TOP)/bin/installmesa
|
$(TOP)/bin/installmesa $(DESTDIR)
|
||||||
|
|
||||||
|
# DirectFBGL module installation
|
||||||
|
linux-directfb-install:
|
||||||
|
cd src/mesa/drivers/directfb && $(MAKE) install
|
||||||
|
|
||||||
# If there's no current configuration file
|
# If there's no current configuration file
|
||||||
$(TOP)/configs/current:
|
$(TOP)/configs/current:
|
||||||
@@ -78,10 +82,12 @@ linux \
|
|||||||
linux-alpha \
|
linux-alpha \
|
||||||
linux-alpha-static \
|
linux-alpha-static \
|
||||||
linux-debug \
|
linux-debug \
|
||||||
|
linux-directfb \
|
||||||
linux-dri \
|
linux-dri \
|
||||||
linux-dri-x86 \
|
linux-dri-x86 \
|
||||||
linux-dri-x86-64 \
|
linux-dri-x86-64 \
|
||||||
linux-dri-ppc \
|
linux-dri-ppc \
|
||||||
|
linux-fbdev \
|
||||||
linux-glide \
|
linux-glide \
|
||||||
linux-icc \
|
linux-icc \
|
||||||
linux-icc-static \
|
linux-icc-static \
|
||||||
@@ -100,8 +106,11 @@ linux-ultrasparc \
|
|||||||
linux-tcc \
|
linux-tcc \
|
||||||
linux-x86 \
|
linux-x86 \
|
||||||
linux-x86-debug \
|
linux-x86-debug \
|
||||||
|
linux-x86-32 \
|
||||||
linux-x86-64 \
|
linux-x86-64 \
|
||||||
|
linux-x86-64-debug \
|
||||||
linux-x86-64-static \
|
linux-x86-64-static \
|
||||||
|
linux-x86-xcb \
|
||||||
linux-x86-glide \
|
linux-x86-glide \
|
||||||
linux-x86-static \
|
linux-x86-static \
|
||||||
netbsd \
|
netbsd \
|
||||||
@@ -122,9 +131,9 @@ ultrix-gcc:
|
|||||||
|
|
||||||
# Rules for making release tarballs
|
# Rules for making release tarballs
|
||||||
|
|
||||||
DIRECTORY = Mesa-6.2
|
DIRECTORY = Mesa-6.3
|
||||||
LIB_NAME = MesaLib-6.2
|
LIB_NAME = MesaLib-6.3
|
||||||
DEMO_NAME = MesaDemos-6.2
|
DEMO_NAME = MesaDemos-6.3
|
||||||
|
|
||||||
LIB_FILES = \
|
LIB_FILES = \
|
||||||
$(DIRECTORY)/Makefile* \
|
$(DIRECTORY)/Makefile* \
|
||||||
@@ -136,7 +145,6 @@ LIB_FILES = \
|
|||||||
$(DIRECTORY)/configs/[a-z]* \
|
$(DIRECTORY)/configs/[a-z]* \
|
||||||
$(DIRECTORY)/docs/*.html \
|
$(DIRECTORY)/docs/*.html \
|
||||||
$(DIRECTORY)/docs/COPYING \
|
$(DIRECTORY)/docs/COPYING \
|
||||||
$(DIRECTORY)/docs/INSTALL.GNU \
|
|
||||||
$(DIRECTORY)/docs/README.* \
|
$(DIRECTORY)/docs/README.* \
|
||||||
$(DIRECTORY)/docs/RELNOTES* \
|
$(DIRECTORY)/docs/RELNOTES* \
|
||||||
$(DIRECTORY)/docs/VERSIONS \
|
$(DIRECTORY)/docs/VERSIONS \
|
||||||
@@ -201,6 +209,8 @@ LIB_FILES = \
|
|||||||
$(DIRECTORY)/src/mesa/drivers/beos/Makefile \
|
$(DIRECTORY)/src/mesa/drivers/beos/Makefile \
|
||||||
$(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
|
$(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
|
||||||
$(DIRECTORY)/src/mesa/drivers/common/descrip.mms \
|
$(DIRECTORY)/src/mesa/drivers/common/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/directfb/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/directfb/Makefile \
|
||||||
$(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
|
$(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
|
||||||
$(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
|
$(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
|
||||||
$(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
|
$(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
|
||||||
@@ -270,7 +280,7 @@ LIB_FILES = \
|
|||||||
$(DIRECTORY)/vms/xlib_share.opt
|
$(DIRECTORY)/vms/xlib_share.opt
|
||||||
|
|
||||||
|
|
||||||
DEMO_FILES = \
|
GLUT_FILES = \
|
||||||
$(DIRECTORY)/include/GL/glut.h \
|
$(DIRECTORY)/include/GL/glut.h \
|
||||||
$(DIRECTORY)/include/GL/glutf90.h \
|
$(DIRECTORY)/include/GL/glutf90.h \
|
||||||
$(DIRECTORY)/src/glut/glx/Makefile* \
|
$(DIRECTORY)/src/glut/glx/Makefile* \
|
||||||
@@ -287,7 +297,10 @@ DEMO_FILES = \
|
|||||||
$(DIRECTORY)/src/glut/dos/Makefile.DJ \
|
$(DIRECTORY)/src/glut/dos/Makefile.DJ \
|
||||||
$(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
|
$(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
|
||||||
$(DIRECTORY)/src/glut/ggi/*.[ch] \
|
$(DIRECTORY)/src/glut/ggi/*.[ch] \
|
||||||
$(DIRECTORY)/src/glut/ggi/Makefile \
|
$(DIRECTORY)/src/glut/ggi/Makefile
|
||||||
|
|
||||||
|
|
||||||
|
DEMO_FILES = \
|
||||||
$(DIRECTORY)/progs/beos/*.cpp \
|
$(DIRECTORY)/progs/beos/*.cpp \
|
||||||
$(DIRECTORY)/progs/beos/Makefile \
|
$(DIRECTORY)/progs/beos/Makefile \
|
||||||
$(DIRECTORY)/progs/images/*.rgb \
|
$(DIRECTORY)/progs/images/*.rgb \
|
||||||
@@ -344,7 +357,7 @@ lib_gz:
|
|||||||
|
|
||||||
demo_gz:
|
demo_gz:
|
||||||
cd .. ; \
|
cd .. ; \
|
||||||
tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
|
tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) $(GLUT_FILES) ; \
|
||||||
gzip $(DEMO_NAME).tar ; \
|
gzip $(DEMO_NAME).tar ; \
|
||||||
mv $(DEMO_NAME).tar.gz $(DIRECTORY)
|
mv $(DEMO_NAME).tar.gz $(DIRECTORY)
|
||||||
|
|
||||||
@@ -357,7 +370,7 @@ lib_bz2:
|
|||||||
|
|
||||||
demo_bz2:
|
demo_bz2:
|
||||||
cd .. ; \
|
cd .. ; \
|
||||||
tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
|
tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) $(GLUT_FILES) ; \
|
||||||
bzip2 $(DEMO_NAME).tar ; \
|
bzip2 $(DEMO_NAME).tar ; \
|
||||||
mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
|
mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
|
||||||
|
|
||||||
@@ -371,7 +384,7 @@ lib_zip:
|
|||||||
demo_zip:
|
demo_zip:
|
||||||
-rm $(DEMO_NAME).zip ; \
|
-rm $(DEMO_NAME).zip ; \
|
||||||
cd .. ; \
|
cd .. ; \
|
||||||
zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
|
zip -r $(DEMO_NAME).zip $(DEMO_FILES) $(GLUT_FILES) ; \
|
||||||
mv $(DEMO_NAME).zip $(DIRECTORY)
|
mv $(DEMO_NAME).zip $(DIRECTORY)
|
||||||
|
|
||||||
md5:
|
md5:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ TOP=.
|
|||||||
INCLUDE_DIR="/usr/local/include"
|
INCLUDE_DIR="/usr/local/include"
|
||||||
LIB_DIR="/usr/local/lib"
|
LIB_DIR="/usr/local/lib"
|
||||||
|
|
||||||
|
if [ x$# == "x0" ] ; then
|
||||||
echo
|
echo
|
||||||
echo "***** Mesa installation - You may need root privileges to do this *****"
|
echo "***** Mesa installation - You may need root privileges to do this *****"
|
||||||
echo
|
echo
|
||||||
@@ -33,7 +33,6 @@ if [ x${INPUT} != "x" ] ; then
|
|||||||
LIB_DIR=${INPUT}
|
LIB_DIR=${INPUT}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "About to install Mesa header files (GL/*.h) in: " ${INCLUDE_DIR}/GL
|
echo "About to install Mesa header files (GL/*.h) in: " ${INCLUDE_DIR}/GL
|
||||||
echo "and Mesa library files (libGL.*, etc) in: " ${LIB_DIR}
|
echo "and Mesa library files (libGL.*, etc) in: " ${LIB_DIR}
|
||||||
@@ -41,6 +40,10 @@ echo "Press <Enter> to continue, or <ctrl>-C to abort."
|
|||||||
|
|
||||||
read INPUT
|
read INPUT
|
||||||
|
|
||||||
|
else
|
||||||
|
INCLUDE_DIR=$1/include
|
||||||
|
LIB_DIR=$1/lib
|
||||||
|
fi
|
||||||
|
|
||||||
# flags:
|
# flags:
|
||||||
# -f = force
|
# -f = force
|
||||||
|
|||||||
@@ -173,6 +173,15 @@ case $ARCH in
|
|||||||
OPTS="${OPTS} -Xlinker --version-script=exptmp"
|
OPTS="${OPTS} -Xlinker --version-script=exptmp"
|
||||||
# exptmp is removed below
|
# exptmp is removed below
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if objects are 32-bit and we're running in 64-bit
|
||||||
|
# environment. If so, pass -m32 flag to linker.
|
||||||
|
set ${OBJECTS}
|
||||||
|
ABI32=`file $1 | grep 32-bit`
|
||||||
|
if [ "${ABI32}" -a `uname -m` = "x86_64" ] ; then
|
||||||
|
OPTS="-m32 ${OPTS}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ x${PATCH} = "x" ] ; then
|
if [ x${PATCH} = "x" ] ; then
|
||||||
VERSION="${MAJOR}.${MINOR}"
|
VERSION="${MAJOR}.${MINOR}"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ OSMESA_LIB = OSMesa
|
|||||||
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.so
|
GL_LIB_NAME = lib$(GL_LIB).so
|
||||||
GLU_LIB_NAME = libGLU.so
|
GLU_LIB_NAME = lib$(GLU_LIB).so
|
||||||
GLUT_LIB_NAME = libglut.so
|
GLUT_LIB_NAME = lib$(GLUT_LIB).so
|
||||||
GLW_LIB_NAME = libGLw.so
|
GLW_LIB_NAME = lib$(GLW_LIB).so
|
||||||
OSMESA_LIB_NAME = libOSMesa.so
|
OSMESA_LIB_NAME = lib$(OSMesa).so
|
||||||
|
|
||||||
|
|
||||||
# Optional assembly language optimization files for libGL
|
# Optional assembly language optimization files for libGL
|
||||||
@@ -56,6 +56,7 @@ INSTALL_PREFIX = /usr/local
|
|||||||
SRC_DIRS = mesa glu glut/glx glw
|
SRC_DIRS = mesa glu glut/glx glw
|
||||||
GLU_DIRS = sgi
|
GLU_DIRS = sgi
|
||||||
DRIVER_DIRS = x11 osmesa
|
DRIVER_DIRS = x11 osmesa
|
||||||
|
# Which subdirs under $(TOP)/progs/ to enter:
|
||||||
PROGRAM_DIRS = demos redbook samples xdemos
|
PROGRAM_DIRS = demos redbook samples xdemos
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
|
|||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat
|
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -pthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -pthread
|
||||||
|
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
|||||||
29
configs/linux-directfb
Normal file
29
configs/linux-directfb
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Configuration for DirectFB
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-directfb
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE \
|
||||||
|
-D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DPTHREADS
|
||||||
|
|
||||||
|
CXXFLAGS = -Wall -O3 -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
|
HAVE_X86 = $(shell uname -m | grep 'i[3-6]86' >/dev/null && echo yes)
|
||||||
|
ifeq ($(HAVE_X86), yes)
|
||||||
|
CFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
|
CXXFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
|
ASM_SOURCES = $(X86_SOURCES) $(X86_API)
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
SRC_DIRS = mesa glu
|
||||||
|
DRIVER_DIRS = directfb
|
||||||
|
PROGRAM_DIRS = # disabled
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -lm -lpthread
|
||||||
@@ -14,9 +14,11 @@ MKDEP = /usr/X11R6/bin/makedepend
|
|||||||
#MKDEP_OPTIONS = -MF depend
|
#MKDEP_OPTIONS = -MF depend
|
||||||
|
|
||||||
WARN_FLAGS = -Wall
|
WARN_FLAGS = -Wall
|
||||||
OPT_FLAGS = -O -g
|
OPT_FLAGS = -O -g
|
||||||
PIC_FLAGS = -fPIC
|
PIC_FLAGS = -fPIC
|
||||||
|
|
||||||
|
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
||||||
|
ARCH_FLAGS ?=
|
||||||
|
|
||||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
||||||
-D_BSD_SOURCE -D_GNU_SOURCE \
|
-D_BSD_SOURCE -D_GNU_SOURCE \
|
||||||
@@ -24,31 +26,30 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
|||||||
|
|
||||||
X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
|
X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
|
||||||
|
|
||||||
CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(ASM_FLAGS) -std=c99 $(PIC_FLAGS) -ffast-math \
|
CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
|
||||||
$(DEFINES)
|
$(ASM_FLAGS) -std=c99 -ffast-math
|
||||||
|
|
||||||
CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) \
|
CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||||
$(DEFINES)
|
|
||||||
|
|
||||||
|
|
||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread -ldl
|
|
||||||
|
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl
|
||||||
|
GLUT_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu glut/glx glw glx/x11
|
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
PROGRAM_DIRS =
|
PROGRAM_DIRS =
|
||||||
WINDOW_SYSTEM=dri
|
WINDOW_SYSTEM=dri
|
||||||
|
|
||||||
# ffb and gamma are missing because they have not been converted to use the new
|
# ffb and gamma are missing because they have not been converted to use the new
|
||||||
# interface.
|
# interface.
|
||||||
DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon tdfx \
|
DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon s3v \
|
||||||
unichrome savage sis
|
savage sis tdfx trident unichrome
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +1,20 @@
|
|||||||
# -*-makefile-*-
|
# -*-makefile-*-
|
||||||
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
|
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
|
||||||
|
|
||||||
include $(TOP)/configs/default
|
include $(TOP)/configs/linux-dri
|
||||||
|
|
||||||
CONFIG_NAME = linux-dri-x86-64
|
CONFIG_NAME = linux-dri-x86-64
|
||||||
|
|
||||||
# Compiler and flags
|
ARCH_FLAGS = -m64
|
||||||
CC = gcc
|
|
||||||
CXX = g++
|
|
||||||
|
|
||||||
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -D_GNU_SOURCE -D__AMD64__
|
|
||||||
|
|
||||||
CFLAGS = -m64 -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math $(DEFINES)
|
|
||||||
CXXFLAGS = -m64 -Wall -g -ansi -pedantic -fPIC $(DEFINES)
|
|
||||||
|
|
||||||
X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
|
|
||||||
|
|
||||||
#ASM_SOURCES = $(X86_SOURCES)
|
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = $(TOP)/lib64
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86vm -lm -lpthread -ldl
|
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm
|
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib64 -lXt -lX11
|
|
||||||
|
|
||||||
# Directories
|
# ffb, gamma, and sis are missing because they have not be converted to use
|
||||||
SRC_DIRS = mesa glu glut/glx glw glx/x11
|
# the new interface. i810 and i830 are missing because there is no x86-64
|
||||||
DRIVER_DIRS = dri
|
# system where they could *ever* be used.
|
||||||
PROGRAM_DIRS =
|
|
||||||
WINDOW_SYSTEM=dri
|
|
||||||
|
|
||||||
# ffb, gamma, and sis are missing because they have
|
|
||||||
# not be converted to use the new interface. Do i810 & i830 really
|
|
||||||
# need to be included here?
|
|
||||||
#
|
#
|
||||||
DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome savage
|
DRI_DIRS = dri_client i915 mach64 mga r128 r200 radeon tdfx unichrome savage
|
||||||
|
|
||||||
|
|||||||
10
configs/linux-fbdev
Normal file
10
configs/linux-fbdev
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for Linux fbdev interface
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-fbdev
|
||||||
|
DRIVER_DIRS = fbdev
|
||||||
|
|
||||||
|
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -DUSE_GLFBDEV_DRIVER
|
||||||
|
|
||||||
|
PROGRAM_DIRS = fbdev
|
||||||
29
configs/linux-profile
Normal file
29
configs/linux-profile
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Configuration for profiling on Linux with gprof
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-profile
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -pg -O -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG
|
||||||
|
|
||||||
|
CXXFLAGS = -pg -O -ansi -pedantic -Wall -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
# Need to have -L/usr/X11R6/lib in these:
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -L/usr/X11R6/lib -lX11
|
||||||
|
|
||||||
|
# Need to make static libs for profiling:
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
GL_LIB_NAME = lib$(GL_LIB).a
|
||||||
|
GLU_LIB_NAME = lib$(GLU_LIB).a
|
||||||
|
GLUT_LIB_NAME = lib$(GLUT_LIB).a
|
||||||
|
GLW_LIB_NAME = lib$(GLW_LIB).a
|
||||||
|
OSMESA_LIB_NAME = lib$(OSMesa).a
|
||||||
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
||||||
@@ -8,26 +8,23 @@ CONFIG_NAME = linux-solo
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE
|
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC
|
||||||
|
|
||||||
CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
||||||
|
|
||||||
CXXFLAGS = $(DEFINES) -Wall -O3 -ansi -pedantic -fPIC
|
CXXFLAGS = $(DEFINES) -Wall -O3 -ansi -pedantic -fPIC
|
||||||
|
|
||||||
|
|
||||||
ASM_SOURCES = $(X86_SOURCES)
|
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl
|
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(LIB_DIR) -lEGL -l$(GL_LIB)
|
||||||
GL_LIB_DEPS = -lm -lpthread -ldl
|
GL_LIB_DEPS = -lm -lpthread -ldl
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glx/mini glu glut/mini
|
SRC_DIRS = mesa egl glx/mini glu glut/mini
|
||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
PROGRAM_DIRS = miniglx
|
PROGRAM_DIRS = miniglx egl
|
||||||
|
|
||||||
#DRI_DIRS = fb ffb gamma sis savage
|
#DRI_DIRS = ffb gamma sis savage
|
||||||
DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome
|
DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome fb
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ CONFIG_NAME = linux-solo-ia64
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE
|
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DDRM_USE_MALLOC
|
||||||
|
|
||||||
CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ CONFIG_NAME = linux-solo-x86
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS
|
DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC
|
||||||
|
|
||||||
CFLAGS = $(DEFINES) -Wmissing-prototypes -O3 -g -std=c99 -Wundef -fPIC -ffast-math
|
CFLAGS = $(DEFINES) -Wmissing-prototypes -O3 -g -std=c99 -Wundef -fPIC -ffast-math
|
||||||
|
|
||||||
|
|||||||
13
configs/linux-x86-32
Normal file
13
configs/linux-x86-32
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# To build Linux x86 32-bit in an x86-64 environment
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-x86-32
|
||||||
|
|
||||||
|
|
||||||
|
# Other than -m32, these are the same as in linux-x86, which we included above.
|
||||||
|
|
||||||
|
CFLAGS = -m32 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
|
||||||
|
CXXFLAGS = -m32 -Wall -O3 fPIC -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
@@ -8,14 +8,14 @@ CONFIG_NAME = linux-x86-64
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
CFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -D__AMD64__ -I/usr/X11R6/include
|
CFLAGS = -m64 -Wall -O3 -std=c99 -pedantic -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DUSE_X86_64_ASM
|
||||||
|
|
||||||
CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D__AMD64__
|
CXXFLAGS = -m64 -Wall -O3 -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
|
||||||
#ASM_SOURCES = $(X86_SOURCES)
|
ASM_SOURCES = $(X86-64_SOURCES)
|
||||||
|
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = $(TOP)/lib64
|
||||||
|
|||||||
28
configs/linux-x86-64-debug
Normal file
28
configs/linux-x86-64-debug
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Configuration for Linux for 64-bit X86 (Opteron)
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-x86-64-debug
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -g -m64 -Wall -O3 -std=c99 -pedantic -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DUSE_X86_64_ASM -DDEBUG -DMESA_DEBUG -DRUN_DEBUG_BENCHMARK
|
||||||
|
|
||||||
|
CXXFLAGS = -g -m64 -Wall -O3 -ansi -pedantic -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG -DRUN_DEBUG_BENCHMARK
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
|
||||||
|
ASM_SOURCES = $(X86-64_SOURCES)
|
||||||
|
|
||||||
|
|
||||||
|
LIB_DIR = $(TOP)/lib64
|
||||||
|
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib64 -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
@@ -8,9 +8,9 @@ CONFIG_NAME = linux-x86-64-static
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
CFLAGS = -m64 -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -D__AMD64__ -I/usr/X11R6/include
|
CFLAGS = -m64 -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
|
||||||
CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D__AMD64__
|
CXXFLAGS = -m64 -Wall -O3 -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
|||||||
24
configs/linux-x86-xcb
Normal file
24
configs/linux-x86-xcb
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Configuration for Linux with x86 optimizations
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-x86-xcb
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -DUSE_XCB -I/usr/X11R6/include
|
||||||
|
|
||||||
|
CXXFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XCB
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
|
||||||
|
ASM_SOURCES = $(X86_SOURCES) $(X86_API)
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -lXCB
|
||||||
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
@@ -13,7 +13,9 @@ all :
|
|||||||
if f$search("lib.dir") .eqs. "" then create/directory [.lib]
|
if f$search("lib.dir") .eqs. "" then create/directory [.lib]
|
||||||
set default [.src]
|
set default [.src]
|
||||||
$(MMS)$(MMSQUALIFIERS)
|
$(MMS)$(MMSQUALIFIERS)
|
||||||
set default [-.progs.demos]
|
set default [-.progs.util]
|
||||||
|
$(MMS)$(MMSQUALIFIERS)
|
||||||
|
set default [-.demos]
|
||||||
$(MMS)$(MMSQUALIFIERS)
|
$(MMS)$(MMSQUALIFIERS)
|
||||||
set default [-.xdemos]
|
set default [-.xdemos]
|
||||||
$(MMS)$(MMSQUALIFIERS)
|
$(MMS)$(MMSQUALIFIERS)
|
||||||
|
|||||||
182
docs/INSTALL.GNU
182
docs/INSTALL.GNU
@@ -1,182 +0,0 @@
|
|||||||
Basic Installation
|
|
||||||
==================
|
|
||||||
|
|
||||||
These are generic installation instructions.
|
|
||||||
|
|
||||||
The `configure' shell script attempts to guess correct values for
|
|
||||||
various system-dependent variables used during compilation. It uses
|
|
||||||
those values to create a `Makefile' in each directory of the package.
|
|
||||||
It may also create one or more `.h' files containing system-dependent
|
|
||||||
definitions. Finally, it creates a shell script `config.status' that
|
|
||||||
you can run in the future to recreate the current configuration, a file
|
|
||||||
`config.cache' that saves the results of its tests to speed up
|
|
||||||
reconfiguring, and a file `config.log' containing compiler output
|
|
||||||
(useful mainly for debugging `configure').
|
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
|
||||||
diffs or instructions to the address given in the `README' so they can
|
|
||||||
be considered for the next release. If at some point `config.cache'
|
|
||||||
contains results you don't want to keep, you may remove or edit it.
|
|
||||||
|
|
||||||
The file `configure.in' is used to create `configure' by a program
|
|
||||||
called `autoconf'. You only need `configure.in' if you want to change
|
|
||||||
it or regenerate `configure' using a newer version of `autoconf'.
|
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
|
||||||
|
|
||||||
1. `cd' to the directory containing the package's source code and type
|
|
||||||
`./configure' to configure the package for your system. If you're
|
|
||||||
using `csh' on an old version of System V, you might need to type
|
|
||||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
|
||||||
`configure' itself.
|
|
||||||
|
|
||||||
Running `configure' takes awhile. While running, it prints some
|
|
||||||
messages telling which features it is checking for.
|
|
||||||
|
|
||||||
2. Type `make' to compile the package.
|
|
||||||
|
|
||||||
3. Optionally, type `make check' to run any self-tests that come with
|
|
||||||
the package.
|
|
||||||
|
|
||||||
4. Type `make install' to install the programs and any data files and
|
|
||||||
documentation.
|
|
||||||
|
|
||||||
5. You can remove the program binaries and object files from the
|
|
||||||
source code directory by typing `make clean'. To also remove the
|
|
||||||
files that `configure' created (so you can compile the package for
|
|
||||||
a different kind of computer), type `make distclean'. There is
|
|
||||||
also a `make maintainer-clean' target, but that is intended mainly
|
|
||||||
for the package's developers. If you use it, you may have to get
|
|
||||||
all sorts of other programs in order to regenerate files that came
|
|
||||||
with the distribution.
|
|
||||||
|
|
||||||
Compilers and Options
|
|
||||||
=====================
|
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that
|
|
||||||
the `configure' script does not know about. You can give `configure'
|
|
||||||
initial values for variables by setting them in the environment. Using
|
|
||||||
a Bourne-compatible shell, you can do that on the command line like
|
|
||||||
this:
|
|
||||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
|
||||||
|
|
||||||
Or on systems that have the `env' program, you can do it like this:
|
|
||||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
|
||||||
====================================
|
|
||||||
|
|
||||||
You can compile the package for more than one kind of computer at the
|
|
||||||
same time, by placing the object files for each architecture in their
|
|
||||||
own directory. To do this, you must use a version of `make' that
|
|
||||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
|
||||||
directory where you want the object files and executables to go and run
|
|
||||||
the `configure' script. `configure' automatically checks for the
|
|
||||||
source code in the directory that `configure' is in and in `..'.
|
|
||||||
|
|
||||||
If you have to use a `make' that does not supports the `VPATH'
|
|
||||||
variable, you have to compile the package for one architecture at a time
|
|
||||||
in the source code directory. After you have installed the package for
|
|
||||||
one architecture, use `make distclean' before reconfiguring for another
|
|
||||||
architecture.
|
|
||||||
|
|
||||||
Installation Names
|
|
||||||
==================
|
|
||||||
|
|
||||||
By default, `make install' will install the package's files in
|
|
||||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
|
||||||
installation prefix other than `/usr/local' by giving `configure' the
|
|
||||||
option `--prefix=PATH'.
|
|
||||||
|
|
||||||
You can specify separate installation prefixes for
|
|
||||||
architecture-specific files and architecture-independent files. If you
|
|
||||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
|
||||||
PATH as the prefix for installing programs and libraries.
|
|
||||||
Documentation and other data files will still use the regular prefix.
|
|
||||||
|
|
||||||
In addition, if you use an unusual directory layout you can give
|
|
||||||
options like `--bindir=PATH' to specify different values for particular
|
|
||||||
kinds of files. Run `configure --help' for a list of the directories
|
|
||||||
you can set and what kinds of files go in them.
|
|
||||||
|
|
||||||
If the package supports it, you can cause programs to be installed
|
|
||||||
with an extra prefix or suffix on their names by giving `configure' the
|
|
||||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
|
||||||
|
|
||||||
Optional Features
|
|
||||||
=================
|
|
||||||
|
|
||||||
Some packages pay attention to `--enable-FEATURE' options to
|
|
||||||
`configure', where FEATURE indicates an optional part of the package.
|
|
||||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
|
||||||
is something like `gnu-as' or `x' (for the X Window System). The
|
|
||||||
`README' should mention any `--enable-' and `--with-' options that the
|
|
||||||
package recognizes.
|
|
||||||
|
|
||||||
For packages that use the X Window System, `configure' can usually
|
|
||||||
find the X include and library files automatically, but if it doesn't,
|
|
||||||
you can use the `configure' options `--x-includes=DIR' and
|
|
||||||
`--x-libraries=DIR' to specify their locations.
|
|
||||||
|
|
||||||
Specifying the System Type
|
|
||||||
==========================
|
|
||||||
|
|
||||||
There may be some features `configure' can not figure out
|
|
||||||
automatically, but needs to determine by the type of host the package
|
|
||||||
will run on. Usually `configure' can figure that out, but if it prints
|
|
||||||
a message saying it can not guess the host type, give it the
|
|
||||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
|
||||||
type, such as `sun4', or a canonical name with three fields:
|
|
||||||
CPU-COMPANY-SYSTEM
|
|
||||||
|
|
||||||
See the file `config.sub' for the possible values of each field. If
|
|
||||||
`config.sub' isn't included in this package, then this package doesn't
|
|
||||||
need to know the host type.
|
|
||||||
|
|
||||||
If you are building compiler tools for cross-compiling, you can also
|
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
|
||||||
produce code for and the `--build=TYPE' option to select the type of
|
|
||||||
system on which you are compiling the package.
|
|
||||||
|
|
||||||
Sharing Defaults
|
|
||||||
================
|
|
||||||
|
|
||||||
If you want to set default values for `configure' scripts to share,
|
|
||||||
you can create a site shell script called `config.site' that gives
|
|
||||||
default values for variables like `CC', `cache_file', and `prefix'.
|
|
||||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
|
||||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
|
||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
|
||||||
A warning: not all `configure' scripts look for a site script.
|
|
||||||
|
|
||||||
Operation Controls
|
|
||||||
==================
|
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it
|
|
||||||
operates.
|
|
||||||
|
|
||||||
`--cache-file=FILE'
|
|
||||||
Use and save the results of the tests in FILE instead of
|
|
||||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
|
||||||
debugging `configure'.
|
|
||||||
|
|
||||||
`--help'
|
|
||||||
Print a summary of the options to `configure', and exit.
|
|
||||||
|
|
||||||
`--quiet'
|
|
||||||
`--silent'
|
|
||||||
`-q'
|
|
||||||
Do not print messages saying which checks are being made. To
|
|
||||||
suppress all normal output, redirect it to `/dev/null' (any error
|
|
||||||
messages will still be shown).
|
|
||||||
|
|
||||||
`--srcdir=DIR'
|
|
||||||
Look for the package's source code in directory DIR. Usually
|
|
||||||
`configure' can determine that directory automatically.
|
|
||||||
|
|
||||||
`--version'
|
|
||||||
Print the version of Autoconf used to generate the `configure'
|
|
||||||
script, and exit.
|
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options.
|
|
||||||
@@ -113,14 +113,10 @@ FAQ:
|
|||||||
at peak performance ;-).
|
at peak performance ;-).
|
||||||
|
|
||||||
Q) I'm getting a "bad font!" fatal error.
|
Q) I'm getting a "bad font!" fatal error.
|
||||||
A) By default, DOS GLUT compiles with GLUT_IMPORT_LIB, to cope with variable
|
A) Always use GLUT_STROKE_* and GLUT_BITMAP_* constants when dealing with
|
||||||
access inside dynamic modules (same mechanism used for Win32 _DLL). Since
|
GLUT fonts. If you're using `glut.dxe', then make sure GLUT_STROKE_* and
|
||||||
-DGLUT_IMPORT_LIB affects Mesa's `glut.h', your apps must be compiled the
|
GLUT_BITMAP_* are mapped to integer constants, not to the actual font
|
||||||
same way GLUT was compiled (either with or without defining it). If you
|
address (same mechanism used for Win32 _DLL).
|
||||||
want to use another `glut.h' when building your own demos, or just don't
|
|
||||||
feel happy about this, make sure you remove the line with GLUT_IMPORT_LIB
|
|
||||||
from `Mesa/src/glut/dos/Makefile.DJ' before (re)making GLUT. Beware, this
|
|
||||||
means you will never EVER be able to safely use `glut.dxe'!
|
|
||||||
|
|
||||||
Q) What is NUL driver good for, if I don't get any output at all?
|
Q) What is NUL driver good for, if I don't get any output at all?
|
||||||
A) For debugging. The NUL driver is very much like OSMesa. Everything is
|
A) For debugging. The NUL driver is very much like OSMesa. Everything is
|
||||||
@@ -265,7 +261,9 @@ v1.6 (aug-2004)
|
|||||||
v1.7 (???-2005)
|
v1.7 (???-2005)
|
||||||
+ enabled OpenGL 2.0 support
|
+ enabled OpenGL 2.0 support
|
||||||
+ added support for sw texture compression
|
+ added support for sw texture compression
|
||||||
* minor rework
|
+ added FreeGLUT specific functions
|
||||||
|
* no more GLX sources in DOS GLUT
|
||||||
|
* made GLUT timer callbacks less accurate but safer
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
28
docs/README.directfb
Normal file
28
docs/README.directfb
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
|
||||||
|
Mesa DirectFB Information
|
||||||
|
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
============
|
||||||
|
|
||||||
|
To build Mesa with DirectFB (DirectFBGL) support you need:
|
||||||
|
- DirectFB at least 0.9.21 (http://directfb.org)
|
||||||
|
- pkg-config at least 0.9 (http://pkgconfig.sf.net)
|
||||||
|
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
Run
|
||||||
|
|
||||||
|
make linux-directfb
|
||||||
|
|
||||||
|
to build Mesa and DirectFBGL module,
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
to install OpenGL libraries and
|
||||||
|
|
||||||
|
make linux-directfb-install
|
||||||
|
|
||||||
|
to install DirectFBGL module in the proper location.
|
||||||
|
|
||||||
@@ -25,6 +25,44 @@ GL_ARB_draw_buffers - allows a fragment program to write to a number of
|
|||||||
GL_OES_read_format - allows one to query the fastest glReadPixels format
|
GL_OES_read_format - allows one to query the fastest glReadPixels format
|
||||||
and datatype.
|
and datatype.
|
||||||
|
|
||||||
|
GL_ARB_pixel_buffer_object - buffer objects for pixel read/write functions.
|
||||||
|
|
||||||
|
GL_EXT_framebuffer_object - allows render-to-texture and provides a
|
||||||
|
window-system indepedent Pbuffer facility
|
||||||
|
|
||||||
|
DirectFB driver, contributed by Claudio Ciccani. See docs/README.directfb
|
||||||
|
for details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Vertex/Fragment Program PRINT Instruction
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
|
The GL_NV_vertex_program and GL_NV_fragment_program languages have been
|
||||||
|
extended with a PRINT instruction.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
glDeleteTextures(), glDeletePrograms() and glDeleteBuffers() Changed
|
||||||
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
|
To match the behaviour of other OpenGL implementations, glDeleteTextures,
|
||||||
|
glDeletePrograms and glDeleteBuffers have been modified so that:
|
||||||
|
|
||||||
|
* The named texture/program/buffer ID is immediately freed for re-use.
|
||||||
|
|
||||||
|
* The actual texture object, program or buffers isn't really deleted until
|
||||||
|
it is no longer bound in any rendering context (the reference count
|
||||||
|
is zero).
|
||||||
|
|
||||||
|
Previously, the texture/program/buffer ID wasn't freed until the object
|
||||||
|
was really deleted.
|
||||||
|
|
||||||
|
Note that textures, programs and buffers can be shared by several rendering
|
||||||
|
contexts so they can't be deleted until they're unbound in _all_ contexts.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To Do before release
|
To Do before release
|
||||||
@@ -36,6 +74,12 @@ To Do before release
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Miscellaneous
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The main/get.c file is now generated with a Python script.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Driver Status
|
Driver Status
|
||||||
---------------------- ---------------------
|
---------------------- ---------------------
|
||||||
@@ -53,4 +97,4 @@ D3D needs updating
|
|||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
$Id: RELNOTES-6.3,v 3.6 2004/12/09 23:21:36 brianp Exp $
|
$Id: RELNOTES-6.3,v 3.9 2005/05/04 20:11:35 brianp Exp $
|
||||||
|
|||||||
@@ -1308,7 +1308,7 @@ Mesa Version History
|
|||||||
- glReadPixels from a clipped front color buffer didn't always work
|
- glReadPixels from a clipped front color buffer didn't always work
|
||||||
- glTexImage didn't accept GL_RED/GREEN/BLUE as the format
|
- glTexImage didn't accept GL_RED/GREEN/BLUE as the format
|
||||||
- Attempting queries/accesses of VBO 0 weren't detected as errors
|
- Attempting queries/accesses of VBO 0 weren't detected as errors
|
||||||
- paletted textures failed if the palette had fewer that 256 entries
|
- paletted textures failed if the palette had fewer than 256 entries
|
||||||
Changes:
|
Changes:
|
||||||
- fixed a bunch of compiler warnings found with gcc 3.4
|
- fixed a bunch of compiler warnings found with gcc 3.4
|
||||||
- bug reports should to go bugzilla.freedesktop.org
|
- bug reports should to go bugzilla.freedesktop.org
|
||||||
@@ -1317,11 +1317,17 @@ Mesa Version History
|
|||||||
6.3 Month day, 2004
|
6.3 Month day, 2004
|
||||||
New:
|
New:
|
||||||
- GL_ARB_draw_buffers extension
|
- GL_ARB_draw_buffers extension
|
||||||
|
- GL_ARB_pixel_buffer_object extension
|
||||||
- GL_OES_read_format extension (Ian Romanick)
|
- GL_OES_read_format extension (Ian Romanick)
|
||||||
- full support for GL_EXT_pixel_buffer_object (convolution filters,
|
- DirectFB driver (Claudio Ciccani)
|
||||||
polygon stipple, colormaps, etc)
|
- x86_64 vertex transformation code (Mikko T.)
|
||||||
Changes:
|
Changes:
|
||||||
- added -stereo option for glxgears demo (Jacek Rosik)
|
- added -stereo option for glxgears demo (Jacek Rosik)
|
||||||
|
- updated the PBuffer demo code in xdemos/ directory
|
||||||
|
- glDeleteTextures/Programs/Buffers() now makes the object ID
|
||||||
|
available for immediate re-use
|
||||||
|
- assorted 64-bit clean-ups fixes (x86_64 and Win64)
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
fixes from 6.2.1, plus:
|
- some functions didn't support PBO functionality
|
||||||
-
|
- glGetTexImage didn't convert color index images to RGBA as required
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,27 @@
|
|||||||
<HTML>
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
<title>Banner</title>
|
<head>
|
||||||
|
<title>Banner</title>
|
||||||
|
</head>
|
||||||
<body text="#ffffff" bgcolor="#aa4444">
|
<body bgcolor="#000000" text="#ffffff">
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<p>
|
<table style="width: 95%; text-align: left;" border="0" cellpadding="2"
|
||||||
<font size="5">The Mesa 3D Graphics Library</font>
|
cellspacing="2">
|
||||||
</p>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="vertical-align: top;">
|
||||||
|
<p><img src="gears.png"> </p>
|
||||||
|
</td>
|
||||||
|
<td style="text-align: center;"><font face="sans-serif" size="5">The
|
||||||
|
Mesa 3D Graphics Library</font></td>
|
||||||
|
<td style="vertical-align: top; text-align: right;">
|
||||||
|
<p><img src="gears.png"> </p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><font face="sans-serif" size="5"><br>
|
||||||
|
</font></p>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Bug Reporting</TITLE>
|
<TITLE>Mesa Bug Reporting</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Bug Database</H1>
|
<H1>Bug Database</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Conformance</TITLE>
|
<TITLE>Conformance</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Conformance</H1>
|
<H1>Conformance</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,26 @@
|
|||||||
|
|
||||||
<title>Contents</title>
|
<title>Contents</title>
|
||||||
|
|
||||||
<body text="#ffffff" bgcolor="#119955" link="#ffffff" vlink="#dddddd" alink="#ffffff">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<body bgcolor="#eeeeee">
|
||||||
|
|
||||||
|
<!--Override a few values from the style sheet: -->
|
||||||
|
<style>
|
||||||
|
<!--
|
||||||
|
body {
|
||||||
|
background-color: #cccccc;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
a:link {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
a:visited {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<b>Documentation</b>
|
<b>Documentation</b>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -53,7 +72,6 @@
|
|||||||
<li><a href="utilities.html" target="MainFrame">Utilities</a>
|
<li><a href="utilities.html" target="MainFrame">Utilities</a>
|
||||||
<li><a href="helpwanted.html" target="MainFrame">Help Wanted</a>
|
<li><a href="helpwanted.html" target="MainFrame">Help Wanted</a>
|
||||||
<li><a href="devinfo.html" target="MainFrame">Development Notes</a>
|
<li><a href="devinfo.html" target="MainFrame">Development Notes</a>
|
||||||
<li><a href="drivers.html" target="MainFrame">Writing Device Drivers</a>
|
|
||||||
<li><a href="sourcedocs.html" target="MainFrame">Source Documentation</a>
|
<li><a href="sourcedocs.html" target="MainFrame">Source Documentation</a>
|
||||||
<li><a href="subset.html" target="MainFrame">Subset Information</a>
|
<li><a href="subset.html" target="MainFrame">Subset Information</a>
|
||||||
<li><a href="fbdev-dri.html" target="MainFrame">fbdev/DRI Environment</a>
|
<li><a href="fbdev-dri.html" target="MainFrame">fbdev/DRI Environment</a>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Custom Development</TITLE>
|
<TITLE>Custom Development</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Custom Development</H1>
|
<H1>Custom Development</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>CVS Access</TITLE>
|
<TITLE>CVS Access</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<h1>CVS Access</h1>
|
<h1>CVS Access</h1>
|
||||||
|
|
||||||
@@ -65,9 +67,11 @@ Here are the basic instructions for Unix systems:
|
|||||||
Mesa developers working with the Mesa CVS repository need to first
|
Mesa developers working with the Mesa CVS repository need to first
|
||||||
have an account on <a href="http://www.freedesktop.org" target="_parent">
|
have an account on <a href="http://www.freedesktop.org" target="_parent">
|
||||||
freedesktop.org</a>.
|
freedesktop.org</a>.
|
||||||
You can request an account from either
|
To get an account, please ask Brian or the other Mesa developers for
|
||||||
<a href="mailto:dstone@trinity.unimelb.edu.au">Daniel Stone</a> or
|
permission.
|
||||||
<a href="mailto:eta@lclark.edu">Eric Anholt</a>.
|
Then, if there are no objections, follow this
|
||||||
|
<a href="http://www.freedesktop.org/wiki/AccountRequests" target="_parent">
|
||||||
|
procedure</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>CVS Branches</TITLE>
|
<TITLE>CVS Branches</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>CVS Branch Information</H1>
|
<H1>CVS Branch Information</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Debugging Tips</TITLE>
|
<TITLE>Debugging Tips</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Debugging Tips</H1>
|
<H1>Debugging Tips</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Demos</TITLE>
|
<TITLE>Demos</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Demos</H1>
|
<H1>Demos</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Development Notes</TITLE>
|
<TITLE>Development Notes</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Development Notes</H1>
|
<H1>Development Notes</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Getting Mesa</TITLE>
|
<TITLE>Getting Mesa</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Downloading / Unpacking</H1>
|
<H1>Downloading / Unpacking</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Environment Variables</TITLE>
|
<TITLE>Environment Variables</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Environment Variables</H1>
|
<H1>Environment Variables</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Extensions</TITLE>
|
<TITLE>Mesa Extensions</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Mesa Extensions</H1>
|
<H1>Mesa Extensions</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<head><title>Mesa FAQ</title></head>
|
<head><title>Mesa FAQ</title></head>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa fbdev/DRI Environment</TITLE>
|
<TITLE>Mesa fbdev/DRI Environment</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<center><H1>Mesa fbdev/DRI Drivers</H1></center>
|
<center><H1>Mesa fbdev/DRI Drivers</H1></center>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Games</TITLE>
|
<TITLE>Games</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Games</H1>
|
<H1>Games</H1>
|
||||||
|
|
||||||
|
|||||||
BIN
docs/gears.png
Normal file
BIN
docs/gears.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa glFBDev Driver</TITLE>
|
<TITLE>Mesa glFBDev Driver</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<center><H1>Mesa glFBDev Driver</H1></center>
|
<center><H1>Mesa glFBDev Driver</H1></center>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>SGI GLU</TITLE>
|
<TITLE>SGI GLU</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>SGI SI GLU</H1>
|
<H1>SGI SI GLU</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,59 +2,71 @@
|
|||||||
|
|
||||||
<TITLE>Help Wanted</TITLE>
|
<TITLE>Help Wanted</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Help Wanted</H1>
|
<H1>Help Wanted</H1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
We can always use more help with the Mesa project. Here are some
|
We can always use more help with the Mesa project.
|
||||||
specific areas. If you think you can help out, post to the mesa3d-dev
|
Here are some specific ideas and areas where help would be appreciated:
|
||||||
mailing list.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ol>
|
||||||
<li>Windows 98/NT build/driver maintenance and testing (Karl Schultz has been
|
<li><p>
|
||||||
doing a great job of this lately)
|
Generate the src/mesa/main/enums.c file with a Python script which
|
||||||
<li>DOS/DJGPP build/driver maintenance and testing
|
uses the gl_API.xml file.
|
||||||
<li>GGI driver/build maintenance and testing
|
</p>
|
||||||
<li>GNU autoconfig/libtool maintenance (esp. on non-Linux systems)
|
<li><p>
|
||||||
<li>x86, SSE, 3DNow! and SPARC assembly language programming
|
Try to auto-generate the display list "save" functions seen in dlist.c
|
||||||
<li>Implement WGL font functions in the WGL interface code
|
using a Python script and the gl_API.xml file.
|
||||||
<li>Implement off-screen bitmap rendering support in the WGL interface code
|
The gl_API.xml file will probably need a new tag to indicate whether or
|
||||||
<li>Help with writing/testing the new NV_fragment_program extension code
|
not each function gets compiled into display lists.
|
||||||
<li>Implement the ARB_vertex/fragment extensions
|
</p>
|
||||||
<li>Download/compile/test Mesa and report any bugs found
|
<li><p>
|
||||||
</ul>
|
Maintenance of assembly language files on Linux, Windows and SPARC systems.
|
||||||
|
</p>
|
||||||
|
<li><p>
|
||||||
|
Help to incorporate the 3Dlabs' shading language compiler for OpenGL 2.0.
|
||||||
|
</p>
|
||||||
|
<li><p>
|
||||||
|
Implement assembly language (SSE/MMX) code generation for
|
||||||
|
vertex/fragment programs.
|
||||||
|
</p>
|
||||||
|
<li><p>
|
||||||
|
Windows 98/NT driver building, maintenance and testing
|
||||||
|
(Karl Schultz has been doing a great job of this lately).
|
||||||
|
</p>
|
||||||
|
<li><p>
|
||||||
|
Maintenance and testing of various drivers, such as DOS/DJGPP, GGI, etc.
|
||||||
|
</p>
|
||||||
|
<li><p>
|
||||||
|
Write new tests for Glean.
|
||||||
|
</p>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you want to help with Mesa, first join the Mesa developer's
|
If you want to help with Mesa, first join the Mesa developer's
|
||||||
mailing list. Then post a message explaining what you might like
|
mailing list.
|
||||||
to help with. The Mesa web page has a list of a few work items
|
Then post a message to propose what you want to do, just to make sure
|
||||||
which you may consider.
|
there's no issues.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
Anyone is welcome to contribute code to the Mesa project, provided you
|
Anyone is welcome to contribute code to the Mesa project.
|
||||||
agree to the copyright terms of the relevant code. See the COPYRIGHT
|
By doing so, it's assumed that you agree to the code's licensing terms.
|
||||||
file.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Unfortunately, all the easy work in Mesa was done years ago. Nowadays, the
|
Finally:
|
||||||
work is rather complicated and not suited to beginners.
|
<p>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
If you're contribution code to the Mesa library itself:
|
|
||||||
<p>
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Try to write clean code (uniform indentation, comments, meaningful
|
<li>Try to write high-quality code that follows the existing style.
|
||||||
identifiers, etc). It must be readable and maintainable!
|
<li>Use uniform indentation, write comments, use meaningful identifiers, etc.
|
||||||
|
<li>Test your code thoroughly. Include test programs if appropriate.
|
||||||
<li>Test your code. On several occations I've incorporated code from
|
|
||||||
users which later turned out to have bugs. Now, I'm pretty hesitant
|
|
||||||
to use code which doesn't look good.
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,23 +1,29 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<title>Mesa Home Page</title></head>
|
<head>
|
||||||
|
<title>Mesa Home Page</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<frameset rows="80,*" border="0" frameborder="yes">
|
||||||
|
|
||||||
<frameset rows="50,100% " border="1" framespacing="1" frameborder="yes">
|
<frame src="banner.html" name="BannerFrame"
|
||||||
<frame src="banner.html" name="BannerFrame" scrolling="no" marginwidth="1" marginheight="1" resize="">
|
scrolling="no" marginwidth="1" marginheight="1">
|
||||||
<frameset cols="28%,72% " border="1" framespacing="1" frameborder="yes">
|
|
||||||
<frame src="contents.html" name="ContentsFrame" marginwidth="2" marginheight="1" resize="">
|
<frameset cols="28%,72% " border="1" frameborder="yes">
|
||||||
<frame src="news.html" name="MainFrame" marginwidth="3" marginheight="1" resize="">
|
|
||||||
</frameset>
|
<frame src="contents.html" name="ContentsFrame"
|
||||||
</frameset>
|
marginwidth="2" marginheight="1" noresize="noresize">
|
||||||
|
|
||||||
|
<frame src="news.html" name="MainFrame"
|
||||||
|
marginwidth="3" marginheight="1" noresize="noresize">
|
||||||
|
|
||||||
|
</frameset>
|
||||||
|
|
||||||
<noframes>
|
<noframes>
|
||||||
|
<p>Sorry, this site requires frame support</p>
|
||||||
<BODY>
|
|
||||||
|
|
||||||
<P>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</noframes>
|
</noframes>
|
||||||
|
|
||||||
|
</frameset>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Compilation and Installation</TITLE>
|
<TITLE>Compilation and Installation</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
|
|
||||||
<H1>Compilation and Installation</H1>
|
<H1>Compilation and Installation</H1>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Introduction</TITLE>
|
<TITLE>Mesa Introduction</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Introduction</H1>
|
<H1>Introduction</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Libraries and Toolkits</TITLE>
|
<TITLE>Libraries and Toolkits</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Libraries and Toolkits</H1>
|
<H1>Libraries and Toolkits</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>License / Cppyright Information</TITLE>
|
<TITLE>License / Cppyright Information</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>License / Copyright Information</H1>
|
<H1>License / Copyright Information</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Mailing Lists</TITLE>
|
<TITLE>Mesa Mailing Lists</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Mailing Lists</H1>
|
<H1>Mailing Lists</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Function Name Mangling</TITLE>
|
<TITLE>Function Name Mangling</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Function Name Mangling</H1>
|
<H1>Function Name Mangling</H1>
|
||||||
|
|
||||||
|
|||||||
34
docs/mesa.css
Normal file
34
docs/mesa.css
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
/* Mesa CSS */
|
||||||
|
body {
|
||||||
|
background-color: #ffffff;
|
||||||
|
/*background-color: #55bbff;*/
|
||||||
|
font: 14px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
|
||||||
|
color: black;
|
||||||
|
link: #111188;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font: 24px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font: 18px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif, bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: 10pt;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
pre {
|
||||||
|
/*font-family: monospace;*/
|
||||||
|
font-size: 10pt;
|
||||||
|
/*color: black;*/
|
||||||
|
}
|
||||||
|
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Modelers, Renderers and Viewers</TITLE>
|
<TITLE>Modelers, Renderers and Viewers</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Modelers, Renderers and Viewers</H1>
|
<H1>Modelers, Renderers and Viewers</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa News</TITLE>
|
<TITLE>Mesa News</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff">
|
<head><link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>News</H1>
|
<H1>News</H1>
|
||||||
|
|
||||||
@@ -23,7 +25,7 @@ This is a stable release which just fixes bugs since the 6.2 release.
|
|||||||
- glReadPixels from a clipped front color buffer didn't always work
|
- glReadPixels from a clipped front color buffer didn't always work
|
||||||
- glTexImage didn't accept GL_RED/GREEN/BLUE as the format
|
- glTexImage didn't accept GL_RED/GREEN/BLUE as the format
|
||||||
- Attempting queries/accesses of VBO 0 weren't detected as errors
|
- Attempting queries/accesses of VBO 0 weren't detected as errors
|
||||||
- paletted textures failed if the palette had fewer that 256 entries
|
- paletted textures failed if the palette had fewer than 256 entries
|
||||||
Changes:
|
Changes:
|
||||||
- fixed a bunch of compiler warnings found with gcc 3.4
|
- fixed a bunch of compiler warnings found with gcc 3.4
|
||||||
- bug reports should to go bugzilla.freedesktop.org
|
- bug reports should to go bugzilla.freedesktop.org
|
||||||
@@ -958,6 +960,6 @@ source code</a>.</p>
|
|||||||
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
$Id: news.html,v 3.16 2004/12/09 23:21:36 brianp Exp $
|
$Id: news.html,v 3.19 2005/05/05 14:18:31 brianp Exp $
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Off-screen Rendering</TITLE>
|
<TITLE>Off-screen Rendering</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Off-screen Rendering</H1>
|
<H1>Off-screen Rendering</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>PBuffer Rendering</TITLE>
|
<TITLE>PBuffer Rendering</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>PBuffer Rendering</H1>
|
<H1>PBuffer Rendering</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Performance Tips</TITLE>
|
<TITLE>Performance Tips</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Performance Tips</H1>
|
<H1>Performance Tips</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Precompiled libraries</TITLE>
|
<TITLE>Precompiled libraries</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Precompiled Libraries</H1>
|
<H1>Precompiled Libraries</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Release Notes</TITLE>
|
<TITLE>Mesa Release Notes</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Release Notes</H1>
|
<H1>Release Notes</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Science and Technical</TITLE>
|
<TITLE>Science and Technical</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Science and Technical</H1>
|
<H1>Science and Technical</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Source Code Documentation</TITLE>
|
<TITLE>Source Code Documentation</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Source Code Documentation</H1>
|
<H1>Source Code Documentation</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Subset</TITLE>
|
<TITLE>Mesa Subset</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Mesa Subset</H1>
|
<H1>Mesa Subset</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Supported Systems and Drivers</TITLE>
|
<TITLE>Supported Systems and Drivers</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Supported Systems and Drivers</H1>
|
<H1>Supported Systems and Drivers</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,16 @@
|
|||||||
<TITLE>Acknowledgements</TITLE>
|
<TITLE>Acknowledgements</TITLE>
|
||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Acknowledgments</H1>
|
<H1>Acknowledgments</H1>
|
||||||
|
|
||||||
|
|
||||||
The following individuals and groups are to be acknowledged for their
|
The following individuals and groups are to be acknowledged for their
|
||||||
contributions to Mesa over the years.
|
contributions to Mesa over the years.
|
||||||
|
This list is far from complete and somewhat dated, unfortunately.
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -30,14 +33,21 @@ substantial piece of work.
|
|||||||
Tungsten Graphics, Inc. have supported the ongoing development of Mesa.
|
Tungsten Graphics, Inc. have supported the ongoing development of Mesa.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<li>The <A HREF="http://sourceforge.net/projects/mesa3d"
|
<li>The
|
||||||
target="_parent">Mesa</A>
|
<A HREF="http://sourceforge.net/projects/mesa3d" target="_parent">Mesa</A>
|
||||||
project is hosted by<A HREF="http://sourceforge.net"
|
website is hosted by
|
||||||
target="_parent"><IMG SRC="http://sourceforge.net/sflogo.php?group_id=3&type=1"
|
<A HREF="http://sourceforge.net" target="_parent">
|
||||||
|
<IMG SRC="http://sourceforge.net/sflogo.php?group_id=3&type=1"
|
||||||
WIDTH="88" HEIGHT="31" ALIGN="BOTTOM" ALT="Sourceforge.net" BORDER="0"></A>
|
WIDTH="88" HEIGHT="31" ALIGN="BOTTOM" ALT="Sourceforge.net" BORDER="0"></A>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
<li>The Mesa CVS repository is hosted by
|
||||||
|
<a href="http://freedesktop.org/" target="_parent">freedesktop.org</a>.
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
|
||||||
<li><a href="http://www.altsoftware.com/"
|
<li><a href="http://www.altsoftware.com/"
|
||||||
target="_parent">alt.software</a> contributed the Direct3D driver.
|
target="_parent">alt.software</a> contributed the Direct3D driver.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Development Utilities</TITLE>
|
<TITLE>Development Utilities</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Development Utilities</H1>
|
<H1>Development Utilities</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Utilities</TITLE>
|
<TITLE>Utilities</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Utilities</H1>
|
<H1>Utilities</H1>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<TITLE>Mesa Introduction</TITLE>
|
<TITLE>Mesa Introduction</TITLE>
|
||||||
|
|
||||||
<BODY text="#000000" bgcolor="#55bbff">
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
<H1>Webmaster</font></H1>
|
<H1>Webmaster</font></H1>
|
||||||
|
|
||||||
|
|||||||
89
include/GL/directfbgl.h
Normal file
89
include/GL/directfbgl.h
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
/*
|
||||||
|
(c) Copyright 2001 convergence integrated media GmbH.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Written by Denis Oliver Kropp <dok@convergence.de> and
|
||||||
|
Andreas Hundt <andi@convergence.de>.
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the
|
||||||
|
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __DIRECTFBGL_H__
|
||||||
|
#define __DIRECTFBGL_H__
|
||||||
|
|
||||||
|
#include <directfb.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int buffer_size;
|
||||||
|
int depth_size;
|
||||||
|
int stencil_size;
|
||||||
|
int aux_buffers;
|
||||||
|
|
||||||
|
int red_size;
|
||||||
|
int green_size;
|
||||||
|
int blue_size;
|
||||||
|
int alpha_size;
|
||||||
|
|
||||||
|
int accum_red_size;
|
||||||
|
int accum_green_size;
|
||||||
|
int accum_blue_size;
|
||||||
|
int accum_alpha_size;
|
||||||
|
|
||||||
|
DFBBoolean double_buffer;
|
||||||
|
DFBBoolean stereo;
|
||||||
|
} DFBGLAttributes;
|
||||||
|
|
||||||
|
|
||||||
|
DEFINE_INTERFACE( IDirectFBGL,
|
||||||
|
|
||||||
|
/** Context handling **/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Acquire the hardware lock.
|
||||||
|
*/
|
||||||
|
DFBResult (*Lock) (
|
||||||
|
IDirectFBGL *thiz
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Release the lock.
|
||||||
|
*/
|
||||||
|
DFBResult (*Unlock) (
|
||||||
|
IDirectFBGL *thiz
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Query the OpenGL attributes.
|
||||||
|
*/
|
||||||
|
DFBResult (*GetAttributes) (
|
||||||
|
IDirectFBGL *thiz,
|
||||||
|
DFBGLAttributes *attributes
|
||||||
|
);
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
134
include/GL/gl.h
134
include/GL/gl.h
@@ -62,6 +62,9 @@
|
|||||||
#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
|
#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
|
||||||
# define GLAPI extern
|
# define GLAPI extern
|
||||||
# define GLAPIENTRY __stdcall
|
# define GLAPIENTRY __stdcall
|
||||||
|
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
|
||||||
|
# define GLAPI __attribute__((visibility("default")))
|
||||||
|
# define GLAPIENTRY
|
||||||
#endif /* WIN32 && !CYGWIN */
|
#endif /* WIN32 && !CYGWIN */
|
||||||
|
|
||||||
#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
|
#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
|
||||||
@@ -101,7 +104,7 @@
|
|||||||
#define APIENTRY GLAPIENTRY
|
#define APIENTRY GLAPIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* "P" suffix for when function returns a pointer */
|
/* "P" suffix to be used for a pointer to a function */
|
||||||
#ifndef APIENTRYP
|
#ifndef APIENTRYP
|
||||||
#define APIENTRYP APIENTRY *
|
#define APIENTRYP APIENTRY *
|
||||||
#endif
|
#endif
|
||||||
@@ -850,7 +853,7 @@ GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
|
|||||||
|
|
||||||
GLAPI GLenum GLAPIENTRY glGetError( void );
|
GLAPI GLenum GLAPIENTRY glGetError( void );
|
||||||
|
|
||||||
GLAPI const GLubyte GLAPIENTRYP glGetString( GLenum name );
|
GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
|
||||||
|
|
||||||
GLAPI void GLAPIENTRY glFinish( void );
|
GLAPI void GLAPIENTRY glFinish( void );
|
||||||
|
|
||||||
@@ -2210,11 +2213,11 @@ GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid
|
|||||||
|
|
||||||
typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data);
|
typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data);
|
||||||
|
|
||||||
extern void
|
GLAPI void GLAPIENTRY
|
||||||
glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback,
|
glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback,
|
||||||
GLvoid *data);
|
GLvoid *data);
|
||||||
|
|
||||||
extern void
|
GLAPI void GLAPIENTRY
|
||||||
glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name,
|
glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name,
|
||||||
GLfloat *v);
|
GLfloat *v);
|
||||||
|
|
||||||
@@ -2232,16 +2235,122 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen
|
|||||||
#endif /* GL_ATI_blend_equation_separate */
|
#endif /* GL_ATI_blend_equation_separate */
|
||||||
|
|
||||||
|
|
||||||
/* As soon as the official glext.h is updated to include this, it will be
|
/* XXX this is temporary here! */
|
||||||
* removed from here.
|
#ifndef GL_EXT_framebuffer_object
|
||||||
*/
|
#define GL_EXT_framebuffer_object
|
||||||
#ifndef GL_OES_read_format
|
|
||||||
#define GL_OES_read_format 1
|
GLAPI GLboolean GLAPIENTRY
|
||||||
|
glIsRenderbufferEXT(GLuint renderbuffer);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glBindRenderbufferEXT(GLenum target, GLuint renderbuffer);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glDeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glRenderbufferStorageEXT(GLenum target, GLenum internalformat,
|
||||||
|
GLsizei width, GLsizei height);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params);
|
||||||
|
|
||||||
|
GLAPI GLboolean GLAPIENTRY
|
||||||
|
glIsFramebufferEXT(GLuint framebuffer);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glBindFramebufferEXT(GLenum target, GLuint framebuffer);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glDeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers);
|
||||||
|
|
||||||
|
GLAPI GLenum GLAPIENTRY
|
||||||
|
glCheckFramebufferStatusEXT(GLenum target);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glFramebufferTexture1DEXT(GLenum target, GLenum attachment,
|
||||||
|
GLenum textarget, GLuint texture, GLint level);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glFramebufferTexture2DEXT(GLenum target, GLenum attachment,
|
||||||
|
GLenum textarget, GLuint texture, GLint level);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glFramebufferTexture3DEXT(GLenum target, GLenum attachment,
|
||||||
|
GLenum textarget, GLuint texture,
|
||||||
|
GLint level, GLint zoffset);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glFramebufferRenderbufferEXT(GLenum target, GLenum attachment,
|
||||||
|
GLenum renderbuffertarget,
|
||||||
|
GLuint renderbuffer);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
|
||||||
|
GLenum pname, GLint *params);
|
||||||
|
|
||||||
|
GLAPI void GLAPIENTRY
|
||||||
|
glGenerateMipmapEXT(GLenum target);
|
||||||
|
|
||||||
|
|
||||||
|
#define GL_FRAMEBUFFER_EXT 0x8D40
|
||||||
|
#define GL_RENDERBUFFER_EXT 0x8D41
|
||||||
|
#define GL_STENCIL_INDEX_EXT 0x8D45
|
||||||
|
#define GL_STENCIL_INDEX1_EXT 0x8D46
|
||||||
|
#define GL_STENCIL_INDEX4_EXT 0x8D47
|
||||||
|
#define GL_STENCIL_INDEX8_EXT 0x8D48
|
||||||
|
#define GL_STENCIL_INDEX16_EXT 0x8D49
|
||||||
|
#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
|
||||||
|
#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
|
||||||
|
#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
|
||||||
|
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
|
||||||
|
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
|
||||||
|
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
|
||||||
|
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
|
||||||
|
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
|
||||||
|
#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
|
||||||
|
#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
|
||||||
|
#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
|
||||||
|
#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
|
||||||
|
#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
|
||||||
|
#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
|
||||||
|
#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
|
||||||
|
#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
|
||||||
|
#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
|
||||||
|
#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
|
||||||
|
#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
|
||||||
|
#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
|
||||||
|
#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
|
||||||
|
#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
|
||||||
|
#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
|
||||||
|
#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
|
||||||
|
#define GL_DEPTH_ATTACHMENT_EXT 0x8D00
|
||||||
|
#define GL_STENCIL_ATTACHMENT_EXT 0x8D20
|
||||||
|
#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
|
||||||
|
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
|
||||||
|
#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
|
||||||
|
#define GL_FRAMEBUFFER_STATUS_ERROR_EXT 0x8CDE
|
||||||
|
#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
|
||||||
|
#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
|
||||||
|
#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
|
||||||
|
#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
|
||||||
|
#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
|
||||||
|
|
||||||
|
#endif /* GL_EXT_framebuffer_object */
|
||||||
|
|
||||||
#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
|
|
||||||
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
|
|
||||||
|
|
||||||
#endif /* GL_OES_read_format */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** NOTE!!!!! If you add new functions to this file, or update
|
** NOTE!!!!! If you add new functions to this file, or update
|
||||||
@@ -2250,6 +2359,7 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Begin system-specific stuff
|
* Begin system-specific stuff
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
#define glArrayObjectATI MANGLE(ArrayObjectATI)
|
#define glArrayObjectATI MANGLE(ArrayObjectATI)
|
||||||
#define glAsyncMarkerSGIX MANGLE(AsyncMarkerSGIX)
|
#define glAsyncMarkerSGIX MANGLE(AsyncMarkerSGIX)
|
||||||
#define glAttachObjectARB MANGLE(AttachObjectARB)
|
#define glAttachObjectARB MANGLE(AttachObjectARB)
|
||||||
|
#define glAttachShader MANGLE(AttachShader)
|
||||||
#define glBeginFragmentShaderATI MANGLE(BeginFragmentShaderATI)
|
#define glBeginFragmentShaderATI MANGLE(BeginFragmentShaderATI)
|
||||||
#define glBegin MANGLE(Begin)
|
#define glBegin MANGLE(Begin)
|
||||||
#define glBeginOcclusionQueryNV MANGLE(BeginOcclusionQueryNV)
|
#define glBeginOcclusionQueryNV MANGLE(BeginOcclusionQueryNV)
|
||||||
@@ -57,6 +58,7 @@
|
|||||||
#define glBeginQuery MANGLE(BeginQuery)
|
#define glBeginQuery MANGLE(BeginQuery)
|
||||||
#define glBeginVertexShaderEXT MANGLE(BeginVertexShaderEXT)
|
#define glBeginVertexShaderEXT MANGLE(BeginVertexShaderEXT)
|
||||||
#define glBindAttribLocationARB MANGLE(BindAttribLocationARB)
|
#define glBindAttribLocationARB MANGLE(BindAttribLocationARB)
|
||||||
|
#define glBindAttribLocation MANGLE(BindAttribLocation)
|
||||||
#define glBindBufferARB MANGLE(BindBufferARB)
|
#define glBindBufferARB MANGLE(BindBufferARB)
|
||||||
#define glBindBuffer MANGLE(BindBuffer)
|
#define glBindBuffer MANGLE(BindBuffer)
|
||||||
#define glBindFragmentShaderATI MANGLE(BindFragmentShaderATI)
|
#define glBindFragmentShaderATI MANGLE(BindFragmentShaderATI)
|
||||||
@@ -89,6 +91,7 @@
|
|||||||
#define glBlendEquation MANGLE(BlendEquation)
|
#define glBlendEquation MANGLE(BlendEquation)
|
||||||
#define glBlendEquationSeparateATI MANGLE(BlendEquationSeparateATI)
|
#define glBlendEquationSeparateATI MANGLE(BlendEquationSeparateATI)
|
||||||
#define glBlendEquationSeparateEXT MANGLE(BlendEquationSeparateEXT)
|
#define glBlendEquationSeparateEXT MANGLE(BlendEquationSeparateEXT)
|
||||||
|
#define glBlendEquationSeparate MANGLE(BlendEquationSeparate)
|
||||||
#define glBlendFunc MANGLE(BlendFunc)
|
#define glBlendFunc MANGLE(BlendFunc)
|
||||||
#define glBlendFuncSeparateEXT MANGLE(BlendFuncSeparateEXT)
|
#define glBlendFuncSeparateEXT MANGLE(BlendFuncSeparateEXT)
|
||||||
#define glBlendFuncSeparateINGR MANGLE(BlendFuncSeparateINGR)
|
#define glBlendFuncSeparateINGR MANGLE(BlendFuncSeparateINGR)
|
||||||
@@ -99,6 +102,7 @@
|
|||||||
#define glBufferSubData MANGLE(BufferSubData)
|
#define glBufferSubData MANGLE(BufferSubData)
|
||||||
#define glCallList MANGLE(CallList)
|
#define glCallList MANGLE(CallList)
|
||||||
#define glCallLists MANGLE(CallLists)
|
#define glCallLists MANGLE(CallLists)
|
||||||
|
#define glClampColorARB MANGLE(ClampColorARB)
|
||||||
#define glClearAccum MANGLE(ClearAccum)
|
#define glClearAccum MANGLE(ClearAccum)
|
||||||
#define glClearColor MANGLE(ClearColor)
|
#define glClearColor MANGLE(ClearColor)
|
||||||
#define glClearDepth MANGLE(ClearDepth)
|
#define glClearDepth MANGLE(ClearDepth)
|
||||||
@@ -179,6 +183,7 @@
|
|||||||
#define glCombinerParameterivNV MANGLE(CombinerParameterivNV)
|
#define glCombinerParameterivNV MANGLE(CombinerParameterivNV)
|
||||||
#define glCombinerStageParameterfvNV MANGLE(CombinerStageParameterfvNV)
|
#define glCombinerStageParameterfvNV MANGLE(CombinerStageParameterfvNV)
|
||||||
#define glCompileShaderARB MANGLE(CompileShaderARB)
|
#define glCompileShaderARB MANGLE(CompileShaderARB)
|
||||||
|
#define glCompileShader MANGLE(CompileShader)
|
||||||
#define glCompressedTexImage1DARB MANGLE(CompressedTexImage1DARB)
|
#define glCompressedTexImage1DARB MANGLE(CompressedTexImage1DARB)
|
||||||
#define glCompressedTexImage1D MANGLE(CompressedTexImage1D)
|
#define glCompressedTexImage1D MANGLE(CompressedTexImage1D)
|
||||||
#define glCompressedTexImage2DARB MANGLE(CompressedTexImage2DARB)
|
#define glCompressedTexImage2DARB MANGLE(CompressedTexImage2DARB)
|
||||||
@@ -222,7 +227,9 @@
|
|||||||
#define glCopyTexSubImage2D MANGLE(CopyTexSubImage2D)
|
#define glCopyTexSubImage2D MANGLE(CopyTexSubImage2D)
|
||||||
#define glCopyTexSubImage3DEXT MANGLE(CopyTexSubImage3DEXT)
|
#define glCopyTexSubImage3DEXT MANGLE(CopyTexSubImage3DEXT)
|
||||||
#define glCopyTexSubImage3D MANGLE(CopyTexSubImage3D)
|
#define glCopyTexSubImage3D MANGLE(CopyTexSubImage3D)
|
||||||
|
#define glCreateProgram MANGLE(CreateProgram)
|
||||||
#define glCreateProgramObjectARB MANGLE(CreateProgramObjectARB)
|
#define glCreateProgramObjectARB MANGLE(CreateProgramObjectARB)
|
||||||
|
#define glCreateShader MANGLE(CreateShader)
|
||||||
#define glCreateShaderObjectARB MANGLE(CreateShaderObjectARB)
|
#define glCreateShaderObjectARB MANGLE(CreateShaderObjectARB)
|
||||||
#define glCullFace MANGLE(CullFace)
|
#define glCullFace MANGLE(CullFace)
|
||||||
#define glCullParameterdvEXT MANGLE(CullParameterdvEXT)
|
#define glCullParameterdvEXT MANGLE(CullParameterdvEXT)
|
||||||
@@ -240,10 +247,12 @@
|
|||||||
#define glDeleteLists MANGLE(DeleteLists)
|
#define glDeleteLists MANGLE(DeleteLists)
|
||||||
#define glDeleteObjectARB MANGLE(DeleteObjectARB)
|
#define glDeleteObjectARB MANGLE(DeleteObjectARB)
|
||||||
#define glDeleteOcclusionQueriesNV MANGLE(DeleteOcclusionQueriesNV)
|
#define glDeleteOcclusionQueriesNV MANGLE(DeleteOcclusionQueriesNV)
|
||||||
|
#define glDeleteProgram MANGLE(DeleteProgram)
|
||||||
#define glDeleteProgramsARB MANGLE(DeleteProgramsARB)
|
#define glDeleteProgramsARB MANGLE(DeleteProgramsARB)
|
||||||
#define glDeleteProgramsNV MANGLE(DeleteProgramsNV)
|
#define glDeleteProgramsNV MANGLE(DeleteProgramsNV)
|
||||||
#define glDeleteQueriesARB MANGLE(DeleteQueriesARB)
|
#define glDeleteQueriesARB MANGLE(DeleteQueriesARB)
|
||||||
#define glDeleteQueries MANGLE(DeleteQueries)
|
#define glDeleteQueries MANGLE(DeleteQueries)
|
||||||
|
#define glDeleteShader MANGLE(DeleteShader)
|
||||||
#define glDeleteTexturesEXT MANGLE(DeleteTexturesEXT)
|
#define glDeleteTexturesEXT MANGLE(DeleteTexturesEXT)
|
||||||
#define glDeleteTextures MANGLE(DeleteTextures)
|
#define glDeleteTextures MANGLE(DeleteTextures)
|
||||||
#define glDeleteVertexArraysAPPLE MANGLE(DeleteVertexArraysAPPLE)
|
#define glDeleteVertexArraysAPPLE MANGLE(DeleteVertexArraysAPPLE)
|
||||||
@@ -253,16 +262,20 @@
|
|||||||
#define glDepthMask MANGLE(DepthMask)
|
#define glDepthMask MANGLE(DepthMask)
|
||||||
#define glDepthRange MANGLE(DepthRange)
|
#define glDepthRange MANGLE(DepthRange)
|
||||||
#define glDetachObjectARB MANGLE(DetachObjectARB)
|
#define glDetachObjectARB MANGLE(DetachObjectARB)
|
||||||
|
#define glDetachShader MANGLE(DetachShader)
|
||||||
#define glDetailTexFuncSGIS MANGLE(DetailTexFuncSGIS)
|
#define glDetailTexFuncSGIS MANGLE(DetailTexFuncSGIS)
|
||||||
#define glDisableClientState MANGLE(DisableClientState)
|
#define glDisableClientState MANGLE(DisableClientState)
|
||||||
#define glDisable MANGLE(Disable)
|
#define glDisable MANGLE(Disable)
|
||||||
#define glDisableTraceMESA MANGLE(DisableTraceMESA)
|
#define glDisableTraceMESA MANGLE(DisableTraceMESA)
|
||||||
#define glDisableVariantClientStateEXT MANGLE(DisableVariantClientStateEXT)
|
#define glDisableVariantClientStateEXT MANGLE(DisableVariantClientStateEXT)
|
||||||
#define glDisableVertexAttribArrayARB MANGLE(DisableVertexAttribArrayARB)
|
#define glDisableVertexAttribArrayARB MANGLE(DisableVertexAttribArrayARB)
|
||||||
|
#define glDisableVertexAttribArray MANGLE(DisableVertexAttribArray)
|
||||||
#define glDrawArraysEXT MANGLE(DrawArraysEXT)
|
#define glDrawArraysEXT MANGLE(DrawArraysEXT)
|
||||||
#define glDrawArrays MANGLE(DrawArrays)
|
#define glDrawArrays MANGLE(DrawArrays)
|
||||||
#define glDrawBuffer MANGLE(DrawBuffer)
|
#define glDrawBuffer MANGLE(DrawBuffer)
|
||||||
|
#define glDrawBuffersARB MANGLE(DrawBuffersARB)
|
||||||
#define glDrawBuffersATI MANGLE(DrawBuffersATI)
|
#define glDrawBuffersATI MANGLE(DrawBuffersATI)
|
||||||
|
#define glDrawBuffers MANGLE(DrawBuffers)
|
||||||
#define glDrawElementArrayAPPLE MANGLE(DrawElementArrayAPPLE)
|
#define glDrawElementArrayAPPLE MANGLE(DrawElementArrayAPPLE)
|
||||||
#define glDrawElementArrayATI MANGLE(DrawElementArrayATI)
|
#define glDrawElementArrayATI MANGLE(DrawElementArrayATI)
|
||||||
#define glDrawElements MANGLE(DrawElements)
|
#define glDrawElements MANGLE(DrawElements)
|
||||||
@@ -284,6 +297,7 @@
|
|||||||
#define glEnableTraceMESA MANGLE(EnableTraceMESA)
|
#define glEnableTraceMESA MANGLE(EnableTraceMESA)
|
||||||
#define glEnableVariantClientStateEXT MANGLE(EnableVariantClientStateEXT)
|
#define glEnableVariantClientStateEXT MANGLE(EnableVariantClientStateEXT)
|
||||||
#define glEnableVertexAttribArrayARB MANGLE(EnableVertexAttribArrayARB)
|
#define glEnableVertexAttribArrayARB MANGLE(EnableVertexAttribArrayARB)
|
||||||
|
#define glEnableVertexAttribArray MANGLE(EnableVertexAttribArray)
|
||||||
#define glEndFragmentShaderATI MANGLE(EndFragmentShaderATI)
|
#define glEndFragmentShaderATI MANGLE(EndFragmentShaderATI)
|
||||||
#define glEndList MANGLE(EndList)
|
#define glEndList MANGLE(EndList)
|
||||||
#define glEnd MANGLE(End)
|
#define glEnd MANGLE(End)
|
||||||
@@ -373,11 +387,15 @@
|
|||||||
#define glGenVertexArraysAPPLE MANGLE(GenVertexArraysAPPLE)
|
#define glGenVertexArraysAPPLE MANGLE(GenVertexArraysAPPLE)
|
||||||
#define glGenVertexShadersEXT MANGLE(GenVertexShadersEXT)
|
#define glGenVertexShadersEXT MANGLE(GenVertexShadersEXT)
|
||||||
#define glGetActiveAttribARB MANGLE(GetActiveAttribARB)
|
#define glGetActiveAttribARB MANGLE(GetActiveAttribARB)
|
||||||
|
#define glGetActiveAttrib MANGLE(GetActiveAttrib)
|
||||||
#define glGetActiveUniformARB MANGLE(GetActiveUniformARB)
|
#define glGetActiveUniformARB MANGLE(GetActiveUniformARB)
|
||||||
|
#define glGetActiveUniform MANGLE(GetActiveUniform)
|
||||||
#define glGetArrayObjectfvATI MANGLE(GetArrayObjectfvATI)
|
#define glGetArrayObjectfvATI MANGLE(GetArrayObjectfvATI)
|
||||||
#define glGetArrayObjectivATI MANGLE(GetArrayObjectivATI)
|
#define glGetArrayObjectivATI MANGLE(GetArrayObjectivATI)
|
||||||
#define glGetAttachedObjectsARB MANGLE(GetAttachedObjectsARB)
|
#define glGetAttachedObjectsARB MANGLE(GetAttachedObjectsARB)
|
||||||
|
#define glGetAttachedShaders MANGLE(GetAttachedShaders)
|
||||||
#define glGetAttribLocationARB MANGLE(GetAttribLocationARB)
|
#define glGetAttribLocationARB MANGLE(GetAttribLocationARB)
|
||||||
|
#define glGetAttribLocation MANGLE(GetAttribLocation)
|
||||||
#define glGetBooleanv MANGLE(GetBooleanv)
|
#define glGetBooleanv MANGLE(GetBooleanv)
|
||||||
#define glGetBufferParameterivARB MANGLE(GetBufferParameterivARB)
|
#define glGetBufferParameterivARB MANGLE(GetBufferParameterivARB)
|
||||||
#define glGetBufferParameteriv MANGLE(GetBufferParameteriv)
|
#define glGetBufferParameteriv MANGLE(GetBufferParameteriv)
|
||||||
@@ -474,7 +492,9 @@
|
|||||||
#define glGetPolygonStipple MANGLE(GetPolygonStipple)
|
#define glGetPolygonStipple MANGLE(GetPolygonStipple)
|
||||||
#define glGetProgramEnvParameterdvARB MANGLE(GetProgramEnvParameterdvARB)
|
#define glGetProgramEnvParameterdvARB MANGLE(GetProgramEnvParameterdvARB)
|
||||||
#define glGetProgramEnvParameterfvARB MANGLE(GetProgramEnvParameterfvARB)
|
#define glGetProgramEnvParameterfvARB MANGLE(GetProgramEnvParameterfvARB)
|
||||||
|
#define glGetProgramInfoLog MANGLE(GetProgramInfoLog)
|
||||||
#define glGetProgramivARB MANGLE(GetProgramivARB)
|
#define glGetProgramivARB MANGLE(GetProgramivARB)
|
||||||
|
#define glGetProgramiv MANGLE(GetProgramiv)
|
||||||
#define glGetProgramivNV MANGLE(GetProgramivNV)
|
#define glGetProgramivNV MANGLE(GetProgramivNV)
|
||||||
#define glGetProgramLocalParameterdvARB MANGLE(GetProgramLocalParameterdvARB)
|
#define glGetProgramLocalParameterdvARB MANGLE(GetProgramLocalParameterdvARB)
|
||||||
#define glGetProgramLocalParameterfvARB MANGLE(GetProgramLocalParameterfvARB)
|
#define glGetProgramLocalParameterfvARB MANGLE(GetProgramLocalParameterfvARB)
|
||||||
@@ -492,7 +512,10 @@
|
|||||||
#define glGetQueryObjectuiv MANGLE(GetQueryObjectuiv)
|
#define glGetQueryObjectuiv MANGLE(GetQueryObjectuiv)
|
||||||
#define glGetSeparableFilterEXT MANGLE(GetSeparableFilterEXT)
|
#define glGetSeparableFilterEXT MANGLE(GetSeparableFilterEXT)
|
||||||
#define glGetSeparableFilter MANGLE(GetSeparableFilter)
|
#define glGetSeparableFilter MANGLE(GetSeparableFilter)
|
||||||
|
#define glGetShaderInfoLog MANGLE(GetShaderInfoLog)
|
||||||
|
#define glGetShaderiv MANGLE(GetShaderiv)
|
||||||
#define glGetShaderSourceARB MANGLE(GetShaderSourceARB)
|
#define glGetShaderSourceARB MANGLE(GetShaderSourceARB)
|
||||||
|
#define glGetShaderSource MANGLE(GetShaderSource)
|
||||||
#define glGetSharpenTexFuncSGIS MANGLE(GetSharpenTexFuncSGIS)
|
#define glGetSharpenTexFuncSGIS MANGLE(GetSharpenTexFuncSGIS)
|
||||||
#define glGetString MANGLE(GetString)
|
#define glGetString MANGLE(GetString)
|
||||||
#define glGetTexBumpParameterfvATI MANGLE(GetTexBumpParameterfvATI)
|
#define glGetTexBumpParameterfvATI MANGLE(GetTexBumpParameterfvATI)
|
||||||
@@ -510,8 +533,11 @@
|
|||||||
#define glGetTexParameteriv MANGLE(GetTexParameteriv)
|
#define glGetTexParameteriv MANGLE(GetTexParameteriv)
|
||||||
#define glGetTrackMatrixivNV MANGLE(GetTrackMatrixivNV)
|
#define glGetTrackMatrixivNV MANGLE(GetTrackMatrixivNV)
|
||||||
#define glGetUniformfvARB MANGLE(GetUniformfvARB)
|
#define glGetUniformfvARB MANGLE(GetUniformfvARB)
|
||||||
|
#define glGetUniformfv MANGLE(GetUniformfv)
|
||||||
#define glGetUniformivARB MANGLE(GetUniformivARB)
|
#define glGetUniformivARB MANGLE(GetUniformivARB)
|
||||||
|
#define glGetUniformiv MANGLE(GetUniformiv)
|
||||||
#define glGetUniformLocationARB MANGLE(GetUniformLocationARB)
|
#define glGetUniformLocationARB MANGLE(GetUniformLocationARB)
|
||||||
|
#define glGetUniformLocation MANGLE(GetUniformLocation)
|
||||||
#define glGetVariantArrayObjectfvATI MANGLE(GetVariantArrayObjectfvATI)
|
#define glGetVariantArrayObjectfvATI MANGLE(GetVariantArrayObjectfvATI)
|
||||||
#define glGetVariantArrayObjectivATI MANGLE(GetVariantArrayObjectivATI)
|
#define glGetVariantArrayObjectivATI MANGLE(GetVariantArrayObjectivATI)
|
||||||
#define glGetVariantBooleanvEXT MANGLE(GetVariantBooleanvEXT)
|
#define glGetVariantBooleanvEXT MANGLE(GetVariantBooleanvEXT)
|
||||||
@@ -521,12 +547,16 @@
|
|||||||
#define glGetVertexAttribArrayObjectfvATI MANGLE(GetVertexAttribArrayObjectfvATI)
|
#define glGetVertexAttribArrayObjectfvATI MANGLE(GetVertexAttribArrayObjectfvATI)
|
||||||
#define glGetVertexAttribArrayObjectivATI MANGLE(GetVertexAttribArrayObjectivATI)
|
#define glGetVertexAttribArrayObjectivATI MANGLE(GetVertexAttribArrayObjectivATI)
|
||||||
#define glGetVertexAttribdvARB MANGLE(GetVertexAttribdvARB)
|
#define glGetVertexAttribdvARB MANGLE(GetVertexAttribdvARB)
|
||||||
|
#define glGetVertexAttribdv MANGLE(GetVertexAttribdv)
|
||||||
#define glGetVertexAttribdvNV MANGLE(GetVertexAttribdvNV)
|
#define glGetVertexAttribdvNV MANGLE(GetVertexAttribdvNV)
|
||||||
#define glGetVertexAttribfvARB MANGLE(GetVertexAttribfvARB)
|
#define glGetVertexAttribfvARB MANGLE(GetVertexAttribfvARB)
|
||||||
|
#define glGetVertexAttribfv MANGLE(GetVertexAttribfv)
|
||||||
#define glGetVertexAttribfvNV MANGLE(GetVertexAttribfvNV)
|
#define glGetVertexAttribfvNV MANGLE(GetVertexAttribfvNV)
|
||||||
#define glGetVertexAttribivARB MANGLE(GetVertexAttribivARB)
|
#define glGetVertexAttribivARB MANGLE(GetVertexAttribivARB)
|
||||||
|
#define glGetVertexAttribiv MANGLE(GetVertexAttribiv)
|
||||||
#define glGetVertexAttribivNV MANGLE(GetVertexAttribivNV)
|
#define glGetVertexAttribivNV MANGLE(GetVertexAttribivNV)
|
||||||
#define glGetVertexAttribPointervARB MANGLE(GetVertexAttribPointervARB)
|
#define glGetVertexAttribPointervARB MANGLE(GetVertexAttribPointervARB)
|
||||||
|
#define glGetVertexAttribPointerv MANGLE(GetVertexAttribPointerv)
|
||||||
#define glGetVertexAttribPointervNV MANGLE(GetVertexAttribPointervNV)
|
#define glGetVertexAttribPointervNV MANGLE(GetVertexAttribPointervNV)
|
||||||
#define glGlobalAlphaFactorbSUN MANGLE(GlobalAlphaFactorbSUN)
|
#define glGlobalAlphaFactorbSUN MANGLE(GlobalAlphaFactorbSUN)
|
||||||
#define glGlobalAlphaFactordSUN MANGLE(GlobalAlphaFactordSUN)
|
#define glGlobalAlphaFactordSUN MANGLE(GlobalAlphaFactordSUN)
|
||||||
@@ -575,9 +605,11 @@
|
|||||||
#define glIsObjectBufferATI MANGLE(IsObjectBufferATI)
|
#define glIsObjectBufferATI MANGLE(IsObjectBufferATI)
|
||||||
#define glIsOcclusionQueryNV MANGLE(IsOcclusionQueryNV)
|
#define glIsOcclusionQueryNV MANGLE(IsOcclusionQueryNV)
|
||||||
#define glIsProgramARB MANGLE(IsProgramARB)
|
#define glIsProgramARB MANGLE(IsProgramARB)
|
||||||
|
#define glIsProgram MANGLE(IsProgram)
|
||||||
#define glIsProgramNV MANGLE(IsProgramNV)
|
#define glIsProgramNV MANGLE(IsProgramNV)
|
||||||
#define glIsQueryARB MANGLE(IsQueryARB)
|
#define glIsQueryARB MANGLE(IsQueryARB)
|
||||||
#define glIsQuery MANGLE(IsQuery)
|
#define glIsQuery MANGLE(IsQuery)
|
||||||
|
#define glIsShader MANGLE(IsShader)
|
||||||
#define glIsTextureEXT MANGLE(IsTextureEXT)
|
#define glIsTextureEXT MANGLE(IsTextureEXT)
|
||||||
#define glIsTexture MANGLE(IsTexture)
|
#define glIsTexture MANGLE(IsTexture)
|
||||||
#define glIsVariantEnabledEXT MANGLE(IsVariantEnabledEXT)
|
#define glIsVariantEnabledEXT MANGLE(IsVariantEnabledEXT)
|
||||||
@@ -594,6 +626,7 @@
|
|||||||
#define glLineStipple MANGLE(LineStipple)
|
#define glLineStipple MANGLE(LineStipple)
|
||||||
#define glLineWidth MANGLE(LineWidth)
|
#define glLineWidth MANGLE(LineWidth)
|
||||||
#define glLinkProgramARB MANGLE(LinkProgramARB)
|
#define glLinkProgramARB MANGLE(LinkProgramARB)
|
||||||
|
#define glLinkProgram MANGLE(LinkProgram)
|
||||||
#define glListBase MANGLE(ListBase)
|
#define glListBase MANGLE(ListBase)
|
||||||
#define glListParameterfSGIX MANGLE(ListParameterfSGIX)
|
#define glListParameterfSGIX MANGLE(ListParameterfSGIX)
|
||||||
#define glListParameterfvSGIX MANGLE(ListParameterfvSGIX)
|
#define glListParameterfvSGIX MANGLE(ListParameterfvSGIX)
|
||||||
@@ -954,6 +987,7 @@
|
|||||||
#define glShaderOp2EXT MANGLE(ShaderOp2EXT)
|
#define glShaderOp2EXT MANGLE(ShaderOp2EXT)
|
||||||
#define glShaderOp3EXT MANGLE(ShaderOp3EXT)
|
#define glShaderOp3EXT MANGLE(ShaderOp3EXT)
|
||||||
#define glShaderSourceARB MANGLE(ShaderSourceARB)
|
#define glShaderSourceARB MANGLE(ShaderSourceARB)
|
||||||
|
#define glShaderSource MANGLE(ShaderSource)
|
||||||
#define glSharpenTexFuncSGIS MANGLE(SharpenTexFuncSGIS)
|
#define glSharpenTexFuncSGIS MANGLE(SharpenTexFuncSGIS)
|
||||||
#define glSpriteParameterfSGIX MANGLE(SpriteParameterfSGIX)
|
#define glSpriteParameterfSGIX MANGLE(SpriteParameterfSGIX)
|
||||||
#define glSpriteParameterfvSGIX MANGLE(SpriteParameterfvSGIX)
|
#define glSpriteParameterfvSGIX MANGLE(SpriteParameterfvSGIX)
|
||||||
@@ -962,9 +996,12 @@
|
|||||||
#define glStartInstrumentsSGIX MANGLE(StartInstrumentsSGIX)
|
#define glStartInstrumentsSGIX MANGLE(StartInstrumentsSGIX)
|
||||||
#define glStencilFunc MANGLE(StencilFunc)
|
#define glStencilFunc MANGLE(StencilFunc)
|
||||||
#define glStencilFuncSeparateATI MANGLE(StencilFuncSeparateATI)
|
#define glStencilFuncSeparateATI MANGLE(StencilFuncSeparateATI)
|
||||||
|
#define glStencilFuncSeparate MANGLE(StencilFuncSeparate)
|
||||||
#define glStencilMask MANGLE(StencilMask)
|
#define glStencilMask MANGLE(StencilMask)
|
||||||
|
#define glStencilMaskSeparate MANGLE(StencilMaskSeparate)
|
||||||
#define glStencilOp MANGLE(StencilOp)
|
#define glStencilOp MANGLE(StencilOp)
|
||||||
#define glStencilOpSeparateATI MANGLE(StencilOpSeparateATI)
|
#define glStencilOpSeparateATI MANGLE(StencilOpSeparateATI)
|
||||||
|
#define glStencilOpSeparate MANGLE(StencilOpSeparate)
|
||||||
#define glStopInstrumentsSGIX MANGLE(StopInstrumentsSGIX)
|
#define glStopInstrumentsSGIX MANGLE(StopInstrumentsSGIX)
|
||||||
#define glSwizzleEXT MANGLE(SwizzleEXT)
|
#define glSwizzleEXT MANGLE(SwizzleEXT)
|
||||||
#define glTagSampleBufferSGIX MANGLE(TagSampleBufferSGIX)
|
#define glTagSampleBufferSGIX MANGLE(TagSampleBufferSGIX)
|
||||||
@@ -1084,31 +1121,52 @@
|
|||||||
#define glTranslated MANGLE(Translated)
|
#define glTranslated MANGLE(Translated)
|
||||||
#define glTranslatef MANGLE(Translatef)
|
#define glTranslatef MANGLE(Translatef)
|
||||||
#define glUniform1fARB MANGLE(Uniform1fARB)
|
#define glUniform1fARB MANGLE(Uniform1fARB)
|
||||||
|
#define glUniform1f MANGLE(Uniform1f)
|
||||||
#define glUniform1fvARB MANGLE(Uniform1fvARB)
|
#define glUniform1fvARB MANGLE(Uniform1fvARB)
|
||||||
|
#define glUniform1fv MANGLE(Uniform1fv)
|
||||||
#define glUniform1iARB MANGLE(Uniform1iARB)
|
#define glUniform1iARB MANGLE(Uniform1iARB)
|
||||||
|
#define glUniform1i MANGLE(Uniform1i)
|
||||||
#define glUniform1ivARB MANGLE(Uniform1ivARB)
|
#define glUniform1ivARB MANGLE(Uniform1ivARB)
|
||||||
|
#define glUniform1iv MANGLE(Uniform1iv)
|
||||||
#define glUniform2fARB MANGLE(Uniform2fARB)
|
#define glUniform2fARB MANGLE(Uniform2fARB)
|
||||||
|
#define glUniform2f MANGLE(Uniform2f)
|
||||||
#define glUniform2fvARB MANGLE(Uniform2fvARB)
|
#define glUniform2fvARB MANGLE(Uniform2fvARB)
|
||||||
|
#define glUniform2fv MANGLE(Uniform2fv)
|
||||||
#define glUniform2iARB MANGLE(Uniform2iARB)
|
#define glUniform2iARB MANGLE(Uniform2iARB)
|
||||||
|
#define glUniform2i MANGLE(Uniform2i)
|
||||||
#define glUniform2ivARB MANGLE(Uniform2ivARB)
|
#define glUniform2ivARB MANGLE(Uniform2ivARB)
|
||||||
|
#define glUniform2iv MANGLE(Uniform2iv)
|
||||||
#define glUniform3fARB MANGLE(Uniform3fARB)
|
#define glUniform3fARB MANGLE(Uniform3fARB)
|
||||||
|
#define glUniform3f MANGLE(Uniform3f)
|
||||||
#define glUniform3fvARB MANGLE(Uniform3fvARB)
|
#define glUniform3fvARB MANGLE(Uniform3fvARB)
|
||||||
|
#define glUniform3fv MANGLE(Uniform3fv)
|
||||||
#define glUniform3iARB MANGLE(Uniform3iARB)
|
#define glUniform3iARB MANGLE(Uniform3iARB)
|
||||||
|
#define glUniform3i MANGLE(Uniform3i)
|
||||||
#define glUniform3ivARB MANGLE(Uniform3ivARB)
|
#define glUniform3ivARB MANGLE(Uniform3ivARB)
|
||||||
|
#define glUniform3iv MANGLE(Uniform3iv)
|
||||||
#define glUniform4fARB MANGLE(Uniform4fARB)
|
#define glUniform4fARB MANGLE(Uniform4fARB)
|
||||||
|
#define glUniform4f MANGLE(Uniform4f)
|
||||||
#define glUniform4fvARB MANGLE(Uniform4fvARB)
|
#define glUniform4fvARB MANGLE(Uniform4fvARB)
|
||||||
|
#define glUniform4fv MANGLE(Uniform4fv)
|
||||||
#define glUniform4iARB MANGLE(Uniform4iARB)
|
#define glUniform4iARB MANGLE(Uniform4iARB)
|
||||||
|
#define glUniform4i MANGLE(Uniform4i)
|
||||||
#define glUniform4ivARB MANGLE(Uniform4ivARB)
|
#define glUniform4ivARB MANGLE(Uniform4ivARB)
|
||||||
|
#define glUniform4iv MANGLE(Uniform4iv)
|
||||||
#define glUniformMatrix2fvARB MANGLE(UniformMatrix2fvARB)
|
#define glUniformMatrix2fvARB MANGLE(UniformMatrix2fvARB)
|
||||||
|
#define glUniformMatrix2fv MANGLE(UniformMatrix2fv)
|
||||||
#define glUniformMatrix3fvARB MANGLE(UniformMatrix3fvARB)
|
#define glUniformMatrix3fvARB MANGLE(UniformMatrix3fvARB)
|
||||||
|
#define glUniformMatrix3fv MANGLE(UniformMatrix3fv)
|
||||||
#define glUniformMatrix4fvARB MANGLE(UniformMatrix4fvARB)
|
#define glUniformMatrix4fvARB MANGLE(UniformMatrix4fvARB)
|
||||||
|
#define glUniformMatrix4fv MANGLE(UniformMatrix4fv)
|
||||||
#define glUnlockArraysEXT MANGLE(UnlockArraysEXT)
|
#define glUnlockArraysEXT MANGLE(UnlockArraysEXT)
|
||||||
#define glUnmapBufferARB MANGLE(UnmapBufferARB)
|
#define glUnmapBufferARB MANGLE(UnmapBufferARB)
|
||||||
#define glUnmapBuffer MANGLE(UnmapBuffer)
|
#define glUnmapBuffer MANGLE(UnmapBuffer)
|
||||||
#define glUnmapObjectBufferATI MANGLE(UnmapObjectBufferATI)
|
#define glUnmapObjectBufferATI MANGLE(UnmapObjectBufferATI)
|
||||||
#define glUpdateObjectBufferATI MANGLE(UpdateObjectBufferATI)
|
#define glUpdateObjectBufferATI MANGLE(UpdateObjectBufferATI)
|
||||||
|
#define glUseProgram MANGLE(UseProgram)
|
||||||
#define glUseProgramObjectARB MANGLE(UseProgramObjectARB)
|
#define glUseProgramObjectARB MANGLE(UseProgramObjectARB)
|
||||||
#define glValidateProgramARB MANGLE(ValidateProgramARB)
|
#define glValidateProgramARB MANGLE(ValidateProgramARB)
|
||||||
|
#define glValidateProgram MANGLE(ValidateProgram)
|
||||||
#define glVariantArrayObjectATI MANGLE(VariantArrayObjectATI)
|
#define glVariantArrayObjectATI MANGLE(VariantArrayObjectATI)
|
||||||
#define glVariantbvEXT MANGLE(VariantbvEXT)
|
#define glVariantbvEXT MANGLE(VariantbvEXT)
|
||||||
#define glVariantdvEXT MANGLE(VariantdvEXT)
|
#define glVariantdvEXT MANGLE(VariantdvEXT)
|
||||||
@@ -1153,77 +1211,114 @@
|
|||||||
#define glVertexArrayRangeAPPLE MANGLE(VertexArrayRangeAPPLE)
|
#define glVertexArrayRangeAPPLE MANGLE(VertexArrayRangeAPPLE)
|
||||||
#define glVertexArrayRangeNV MANGLE(VertexArrayRangeNV)
|
#define glVertexArrayRangeNV MANGLE(VertexArrayRangeNV)
|
||||||
#define glVertexAttrib1dARB MANGLE(VertexAttrib1dARB)
|
#define glVertexAttrib1dARB MANGLE(VertexAttrib1dARB)
|
||||||
|
#define glVertexAttrib1d MANGLE(VertexAttrib1d)
|
||||||
#define glVertexAttrib1dNV MANGLE(VertexAttrib1dNV)
|
#define glVertexAttrib1dNV MANGLE(VertexAttrib1dNV)
|
||||||
#define glVertexAttrib1dvARB MANGLE(VertexAttrib1dvARB)
|
#define glVertexAttrib1dvARB MANGLE(VertexAttrib1dvARB)
|
||||||
|
#define glVertexAttrib1dv MANGLE(VertexAttrib1dv)
|
||||||
#define glVertexAttrib1dvNV MANGLE(VertexAttrib1dvNV)
|
#define glVertexAttrib1dvNV MANGLE(VertexAttrib1dvNV)
|
||||||
#define glVertexAttrib1fARB MANGLE(VertexAttrib1fARB)
|
#define glVertexAttrib1fARB MANGLE(VertexAttrib1fARB)
|
||||||
|
#define glVertexAttrib1f MANGLE(VertexAttrib1f)
|
||||||
#define glVertexAttrib1fNV MANGLE(VertexAttrib1fNV)
|
#define glVertexAttrib1fNV MANGLE(VertexAttrib1fNV)
|
||||||
#define glVertexAttrib1fvARB MANGLE(VertexAttrib1fvARB)
|
#define glVertexAttrib1fvARB MANGLE(VertexAttrib1fvARB)
|
||||||
|
#define glVertexAttrib1fv MANGLE(VertexAttrib1fv)
|
||||||
#define glVertexAttrib1fvNV MANGLE(VertexAttrib1fvNV)
|
#define glVertexAttrib1fvNV MANGLE(VertexAttrib1fvNV)
|
||||||
#define glVertexAttrib1hNV MANGLE(VertexAttrib1hNV)
|
#define glVertexAttrib1hNV MANGLE(VertexAttrib1hNV)
|
||||||
#define glVertexAttrib1hvNV MANGLE(VertexAttrib1hvNV)
|
#define glVertexAttrib1hvNV MANGLE(VertexAttrib1hvNV)
|
||||||
#define glVertexAttrib1sARB MANGLE(VertexAttrib1sARB)
|
#define glVertexAttrib1sARB MANGLE(VertexAttrib1sARB)
|
||||||
|
#define glVertexAttrib1s MANGLE(VertexAttrib1s)
|
||||||
#define glVertexAttrib1sNV MANGLE(VertexAttrib1sNV)
|
#define glVertexAttrib1sNV MANGLE(VertexAttrib1sNV)
|
||||||
#define glVertexAttrib1svARB MANGLE(VertexAttrib1svARB)
|
#define glVertexAttrib1svARB MANGLE(VertexAttrib1svARB)
|
||||||
|
#define glVertexAttrib1sv MANGLE(VertexAttrib1sv)
|
||||||
#define glVertexAttrib1svNV MANGLE(VertexAttrib1svNV)
|
#define glVertexAttrib1svNV MANGLE(VertexAttrib1svNV)
|
||||||
#define glVertexAttrib2dARB MANGLE(VertexAttrib2dARB)
|
#define glVertexAttrib2dARB MANGLE(VertexAttrib2dARB)
|
||||||
|
#define glVertexAttrib2d MANGLE(VertexAttrib2d)
|
||||||
#define glVertexAttrib2dNV MANGLE(VertexAttrib2dNV)
|
#define glVertexAttrib2dNV MANGLE(VertexAttrib2dNV)
|
||||||
#define glVertexAttrib2dvARB MANGLE(VertexAttrib2dvARB)
|
#define glVertexAttrib2dvARB MANGLE(VertexAttrib2dvARB)
|
||||||
|
#define glVertexAttrib2dv MANGLE(VertexAttrib2dv)
|
||||||
#define glVertexAttrib2dvNV MANGLE(VertexAttrib2dvNV)
|
#define glVertexAttrib2dvNV MANGLE(VertexAttrib2dvNV)
|
||||||
#define glVertexAttrib2fARB MANGLE(VertexAttrib2fARB)
|
#define glVertexAttrib2fARB MANGLE(VertexAttrib2fARB)
|
||||||
|
#define glVertexAttrib2f MANGLE(VertexAttrib2f)
|
||||||
#define glVertexAttrib2fNV MANGLE(VertexAttrib2fNV)
|
#define glVertexAttrib2fNV MANGLE(VertexAttrib2fNV)
|
||||||
#define glVertexAttrib2fvARB MANGLE(VertexAttrib2fvARB)
|
#define glVertexAttrib2fvARB MANGLE(VertexAttrib2fvARB)
|
||||||
|
#define glVertexAttrib2fv MANGLE(VertexAttrib2fv)
|
||||||
#define glVertexAttrib2fvNV MANGLE(VertexAttrib2fvNV)
|
#define glVertexAttrib2fvNV MANGLE(VertexAttrib2fvNV)
|
||||||
#define glVertexAttrib2hNV MANGLE(VertexAttrib2hNV)
|
#define glVertexAttrib2hNV MANGLE(VertexAttrib2hNV)
|
||||||
#define glVertexAttrib2hvNV MANGLE(VertexAttrib2hvNV)
|
#define glVertexAttrib2hvNV MANGLE(VertexAttrib2hvNV)
|
||||||
#define glVertexAttrib2sARB MANGLE(VertexAttrib2sARB)
|
#define glVertexAttrib2sARB MANGLE(VertexAttrib2sARB)
|
||||||
|
#define glVertexAttrib2s MANGLE(VertexAttrib2s)
|
||||||
#define glVertexAttrib2sNV MANGLE(VertexAttrib2sNV)
|
#define glVertexAttrib2sNV MANGLE(VertexAttrib2sNV)
|
||||||
#define glVertexAttrib2svARB MANGLE(VertexAttrib2svARB)
|
#define glVertexAttrib2svARB MANGLE(VertexAttrib2svARB)
|
||||||
|
#define glVertexAttrib2sv MANGLE(VertexAttrib2sv)
|
||||||
#define glVertexAttrib2svNV MANGLE(VertexAttrib2svNV)
|
#define glVertexAttrib2svNV MANGLE(VertexAttrib2svNV)
|
||||||
#define glVertexAttrib3dARB MANGLE(VertexAttrib3dARB)
|
#define glVertexAttrib3dARB MANGLE(VertexAttrib3dARB)
|
||||||
|
#define glVertexAttrib3d MANGLE(VertexAttrib3d)
|
||||||
#define glVertexAttrib3dNV MANGLE(VertexAttrib3dNV)
|
#define glVertexAttrib3dNV MANGLE(VertexAttrib3dNV)
|
||||||
#define glVertexAttrib3dvARB MANGLE(VertexAttrib3dvARB)
|
#define glVertexAttrib3dvARB MANGLE(VertexAttrib3dvARB)
|
||||||
|
#define glVertexAttrib3dv MANGLE(VertexAttrib3dv)
|
||||||
#define glVertexAttrib3dvNV MANGLE(VertexAttrib3dvNV)
|
#define glVertexAttrib3dvNV MANGLE(VertexAttrib3dvNV)
|
||||||
#define glVertexAttrib3fARB MANGLE(VertexAttrib3fARB)
|
#define glVertexAttrib3fARB MANGLE(VertexAttrib3fARB)
|
||||||
|
#define glVertexAttrib3f MANGLE(VertexAttrib3f)
|
||||||
#define glVertexAttrib3fNV MANGLE(VertexAttrib3fNV)
|
#define glVertexAttrib3fNV MANGLE(VertexAttrib3fNV)
|
||||||
#define glVertexAttrib3fvARB MANGLE(VertexAttrib3fvARB)
|
#define glVertexAttrib3fvARB MANGLE(VertexAttrib3fvARB)
|
||||||
|
#define glVertexAttrib3fv MANGLE(VertexAttrib3fv)
|
||||||
#define glVertexAttrib3fvNV MANGLE(VertexAttrib3fvNV)
|
#define glVertexAttrib3fvNV MANGLE(VertexAttrib3fvNV)
|
||||||
#define glVertexAttrib3hNV MANGLE(VertexAttrib3hNV)
|
#define glVertexAttrib3hNV MANGLE(VertexAttrib3hNV)
|
||||||
#define glVertexAttrib3hvNV MANGLE(VertexAttrib3hvNV)
|
#define glVertexAttrib3hvNV MANGLE(VertexAttrib3hvNV)
|
||||||
#define glVertexAttrib3sARB MANGLE(VertexAttrib3sARB)
|
#define glVertexAttrib3sARB MANGLE(VertexAttrib3sARB)
|
||||||
|
#define glVertexAttrib3s MANGLE(VertexAttrib3s)
|
||||||
#define glVertexAttrib3sNV MANGLE(VertexAttrib3sNV)
|
#define glVertexAttrib3sNV MANGLE(VertexAttrib3sNV)
|
||||||
#define glVertexAttrib3svARB MANGLE(VertexAttrib3svARB)
|
#define glVertexAttrib3svARB MANGLE(VertexAttrib3svARB)
|
||||||
|
#define glVertexAttrib3sv MANGLE(VertexAttrib3sv)
|
||||||
#define glVertexAttrib3svNV MANGLE(VertexAttrib3svNV)
|
#define glVertexAttrib3svNV MANGLE(VertexAttrib3svNV)
|
||||||
#define glVertexAttrib4bvARB MANGLE(VertexAttrib4bvARB)
|
#define glVertexAttrib4bvARB MANGLE(VertexAttrib4bvARB)
|
||||||
|
#define glVertexAttrib4bv MANGLE(VertexAttrib4bv)
|
||||||
#define glVertexAttrib4dARB MANGLE(VertexAttrib4dARB)
|
#define glVertexAttrib4dARB MANGLE(VertexAttrib4dARB)
|
||||||
|
#define glVertexAttrib4d MANGLE(VertexAttrib4d)
|
||||||
#define glVertexAttrib4dNV MANGLE(VertexAttrib4dNV)
|
#define glVertexAttrib4dNV MANGLE(VertexAttrib4dNV)
|
||||||
#define glVertexAttrib4dvARB MANGLE(VertexAttrib4dvARB)
|
#define glVertexAttrib4dvARB MANGLE(VertexAttrib4dvARB)
|
||||||
|
#define glVertexAttrib4dv MANGLE(VertexAttrib4dv)
|
||||||
#define glVertexAttrib4dvNV MANGLE(VertexAttrib4dvNV)
|
#define glVertexAttrib4dvNV MANGLE(VertexAttrib4dvNV)
|
||||||
#define glVertexAttrib4fARB MANGLE(VertexAttrib4fARB)
|
#define glVertexAttrib4fARB MANGLE(VertexAttrib4fARB)
|
||||||
|
#define glVertexAttrib4f MANGLE(VertexAttrib4f)
|
||||||
#define glVertexAttrib4fNV MANGLE(VertexAttrib4fNV)
|
#define glVertexAttrib4fNV MANGLE(VertexAttrib4fNV)
|
||||||
#define glVertexAttrib4fvARB MANGLE(VertexAttrib4fvARB)
|
#define glVertexAttrib4fvARB MANGLE(VertexAttrib4fvARB)
|
||||||
|
#define glVertexAttrib4fv MANGLE(VertexAttrib4fv)
|
||||||
#define glVertexAttrib4fvNV MANGLE(VertexAttrib4fvNV)
|
#define glVertexAttrib4fvNV MANGLE(VertexAttrib4fvNV)
|
||||||
#define glVertexAttrib4hNV MANGLE(VertexAttrib4hNV)
|
#define glVertexAttrib4hNV MANGLE(VertexAttrib4hNV)
|
||||||
#define glVertexAttrib4hvNV MANGLE(VertexAttrib4hvNV)
|
#define glVertexAttrib4hvNV MANGLE(VertexAttrib4hvNV)
|
||||||
#define glVertexAttrib4ivARB MANGLE(VertexAttrib4ivARB)
|
#define glVertexAttrib4ivARB MANGLE(VertexAttrib4ivARB)
|
||||||
|
#define glVertexAttrib4iv MANGLE(VertexAttrib4iv)
|
||||||
#define glVertexAttrib4NbvARB MANGLE(VertexAttrib4NbvARB)
|
#define glVertexAttrib4NbvARB MANGLE(VertexAttrib4NbvARB)
|
||||||
|
#define glVertexAttrib4Nbv MANGLE(VertexAttrib4Nbv)
|
||||||
#define glVertexAttrib4NivARB MANGLE(VertexAttrib4NivARB)
|
#define glVertexAttrib4NivARB MANGLE(VertexAttrib4NivARB)
|
||||||
|
#define glVertexAttrib4Niv MANGLE(VertexAttrib4Niv)
|
||||||
#define glVertexAttrib4NsvARB MANGLE(VertexAttrib4NsvARB)
|
#define glVertexAttrib4NsvARB MANGLE(VertexAttrib4NsvARB)
|
||||||
|
#define glVertexAttrib4Nsv MANGLE(VertexAttrib4Nsv)
|
||||||
#define glVertexAttrib4NubARB MANGLE(VertexAttrib4NubARB)
|
#define glVertexAttrib4NubARB MANGLE(VertexAttrib4NubARB)
|
||||||
|
#define glVertexAttrib4Nub MANGLE(VertexAttrib4Nub)
|
||||||
#define glVertexAttrib4NubvARB MANGLE(VertexAttrib4NubvARB)
|
#define glVertexAttrib4NubvARB MANGLE(VertexAttrib4NubvARB)
|
||||||
|
#define glVertexAttrib4Nubv MANGLE(VertexAttrib4Nubv)
|
||||||
#define glVertexAttrib4NuivARB MANGLE(VertexAttrib4NuivARB)
|
#define glVertexAttrib4NuivARB MANGLE(VertexAttrib4NuivARB)
|
||||||
|
#define glVertexAttrib4Nuiv MANGLE(VertexAttrib4Nuiv)
|
||||||
#define glVertexAttrib4NusvARB MANGLE(VertexAttrib4NusvARB)
|
#define glVertexAttrib4NusvARB MANGLE(VertexAttrib4NusvARB)
|
||||||
|
#define glVertexAttrib4Nusv MANGLE(VertexAttrib4Nusv)
|
||||||
#define glVertexAttrib4sARB MANGLE(VertexAttrib4sARB)
|
#define glVertexAttrib4sARB MANGLE(VertexAttrib4sARB)
|
||||||
|
#define glVertexAttrib4s MANGLE(VertexAttrib4s)
|
||||||
#define glVertexAttrib4sNV MANGLE(VertexAttrib4sNV)
|
#define glVertexAttrib4sNV MANGLE(VertexAttrib4sNV)
|
||||||
#define glVertexAttrib4svARB MANGLE(VertexAttrib4svARB)
|
#define glVertexAttrib4svARB MANGLE(VertexAttrib4svARB)
|
||||||
|
#define glVertexAttrib4sv MANGLE(VertexAttrib4sv)
|
||||||
#define glVertexAttrib4svNV MANGLE(VertexAttrib4svNV)
|
#define glVertexAttrib4svNV MANGLE(VertexAttrib4svNV)
|
||||||
#define glVertexAttrib4ubNV MANGLE(VertexAttrib4ubNV)
|
#define glVertexAttrib4ubNV MANGLE(VertexAttrib4ubNV)
|
||||||
#define glVertexAttrib4ubvARB MANGLE(VertexAttrib4ubvARB)
|
#define glVertexAttrib4ubvARB MANGLE(VertexAttrib4ubvARB)
|
||||||
|
#define glVertexAttrib4ubv MANGLE(VertexAttrib4ubv)
|
||||||
#define glVertexAttrib4ubvNV MANGLE(VertexAttrib4ubvNV)
|
#define glVertexAttrib4ubvNV MANGLE(VertexAttrib4ubvNV)
|
||||||
#define glVertexAttrib4uivARB MANGLE(VertexAttrib4uivARB)
|
#define glVertexAttrib4uivARB MANGLE(VertexAttrib4uivARB)
|
||||||
|
#define glVertexAttrib4uiv MANGLE(VertexAttrib4uiv)
|
||||||
#define glVertexAttrib4usvARB MANGLE(VertexAttrib4usvARB)
|
#define glVertexAttrib4usvARB MANGLE(VertexAttrib4usvARB)
|
||||||
|
#define glVertexAttrib4usv MANGLE(VertexAttrib4usv)
|
||||||
#define glVertexAttribArrayObjectATI MANGLE(VertexAttribArrayObjectATI)
|
#define glVertexAttribArrayObjectATI MANGLE(VertexAttribArrayObjectATI)
|
||||||
#define glVertexAttribPointerARB MANGLE(VertexAttribPointerARB)
|
#define glVertexAttribPointerARB MANGLE(VertexAttribPointerARB)
|
||||||
|
#define glVertexAttribPointer MANGLE(VertexAttribPointer)
|
||||||
#define glVertexAttribPointerNV MANGLE(VertexAttribPointerNV)
|
#define glVertexAttribPointerNV MANGLE(VertexAttribPointerNV)
|
||||||
#define glVertexAttribs1dvNV MANGLE(VertexAttribs1dvNV)
|
#define glVertexAttribs1dvNV MANGLE(VertexAttribs1dvNV)
|
||||||
#define glVertexAttribs1fvNV MANGLE(VertexAttribs1fvNV)
|
#define glVertexAttribs1fvNV MANGLE(VertexAttribs1fvNV)
|
||||||
|
|||||||
@@ -52,9 +52,9 @@ extern "C" {
|
|||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
/* Header file version number, required by OpenGL ABI for Linux */
|
/* Header file version number, required by OpenGL ABI for Linux */
|
||||||
/* glext.h last updated 2004/7/26 */
|
/* glext.h last updated 2005/01/20 */
|
||||||
/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
|
/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
|
||||||
#define GL_GLEXT_VERSION 24
|
#define GL_GLEXT_VERSION 26
|
||||||
|
|
||||||
#ifndef GL_VERSION_1_2
|
#ifndef GL_VERSION_1_2
|
||||||
#define GL_UNSIGNED_BYTE_3_3_2 0x8032
|
#define GL_UNSIGNED_BYTE_3_3_2 0x8032
|
||||||
@@ -372,6 +372,93 @@ extern "C" {
|
|||||||
#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
|
#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_VERSION_2_0
|
||||||
|
#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
|
||||||
|
#define GL_CURRENT_VERTEX_ATTRIB 0x8626
|
||||||
|
#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
|
||||||
|
#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
|
||||||
|
#define GL_STENCIL_BACK_FUNC 0x8800
|
||||||
|
#define GL_STENCIL_BACK_FAIL 0x8801
|
||||||
|
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
|
||||||
|
#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
|
||||||
|
#define GL_MAX_DRAW_BUFFERS 0x8824
|
||||||
|
#define GL_DRAW_BUFFER0 0x8825
|
||||||
|
#define GL_DRAW_BUFFER1 0x8826
|
||||||
|
#define GL_DRAW_BUFFER2 0x8827
|
||||||
|
#define GL_DRAW_BUFFER3 0x8828
|
||||||
|
#define GL_DRAW_BUFFER4 0x8829
|
||||||
|
#define GL_DRAW_BUFFER5 0x882A
|
||||||
|
#define GL_DRAW_BUFFER6 0x882B
|
||||||
|
#define GL_DRAW_BUFFER7 0x882C
|
||||||
|
#define GL_DRAW_BUFFER8 0x882D
|
||||||
|
#define GL_DRAW_BUFFER9 0x882E
|
||||||
|
#define GL_DRAW_BUFFER10 0x882F
|
||||||
|
#define GL_DRAW_BUFFER11 0x8830
|
||||||
|
#define GL_DRAW_BUFFER12 0x8831
|
||||||
|
#define GL_DRAW_BUFFER13 0x8832
|
||||||
|
#define GL_DRAW_BUFFER14 0x8833
|
||||||
|
#define GL_DRAW_BUFFER15 0x8834
|
||||||
|
#define GL_BLEND_EQUATION_ALPHA 0x883D
|
||||||
|
#define GL_POINT_SPRITE 0x8861
|
||||||
|
#define GL_COORD_REPLACE 0x8862
|
||||||
|
#define GL_MAX_VERTEX_ATTRIBS 0x8869
|
||||||
|
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
|
||||||
|
#define GL_MAX_TEXTURE_COORDS 0x8871
|
||||||
|
#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
|
||||||
|
#define GL_FRAGMENT_SHADER 0x8B30
|
||||||
|
#define GL_VERTEX_SHADER 0x8B31
|
||||||
|
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
|
||||||
|
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
|
||||||
|
#define GL_MAX_VARYING_FLOATS 0x8B4B
|
||||||
|
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
|
||||||
|
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
|
||||||
|
#define GL_SHADER_TYPE 0x8B4F
|
||||||
|
#define GL_FLOAT_VEC2 0x8B50
|
||||||
|
#define GL_FLOAT_VEC3 0x8B51
|
||||||
|
#define GL_FLOAT_VEC4 0x8B52
|
||||||
|
#define GL_INT_VEC2 0x8B53
|
||||||
|
#define GL_INT_VEC3 0x8B54
|
||||||
|
#define GL_INT_VEC4 0x8B55
|
||||||
|
#define GL_BOOL 0x8B56
|
||||||
|
#define GL_BOOL_VEC2 0x8B57
|
||||||
|
#define GL_BOOL_VEC3 0x8B58
|
||||||
|
#define GL_BOOL_VEC4 0x8B59
|
||||||
|
#define GL_FLOAT_MAT2 0x8B5A
|
||||||
|
#define GL_FLOAT_MAT3 0x8B5B
|
||||||
|
#define GL_FLOAT_MAT4 0x8B5C
|
||||||
|
#define GL_SAMPLER_1D 0x8B5D
|
||||||
|
#define GL_SAMPLER_2D 0x8B5E
|
||||||
|
#define GL_SAMPLER_3D 0x8B5F
|
||||||
|
#define GL_SAMPLER_CUBE 0x8B60
|
||||||
|
#define GL_SAMPLER_1D_SHADOW 0x8B61
|
||||||
|
#define GL_SAMPLER_2D_SHADOW 0x8B62
|
||||||
|
#define GL_DELETE_STATUS 0x8B80
|
||||||
|
#define GL_COMPILE_STATUS 0x8B81
|
||||||
|
#define GL_LINK_STATUS 0x8B82
|
||||||
|
#define GL_VALIDATE_STATUS 0x8B83
|
||||||
|
#define GL_INFO_LOG_LENGTH 0x8B84
|
||||||
|
#define GL_ATTACHED_SHADERS 0x8B85
|
||||||
|
#define GL_ACTIVE_UNIFORMS 0x8B86
|
||||||
|
#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
|
||||||
|
#define GL_SHADER_SOURCE_LENGTH 0x8B88
|
||||||
|
#define GL_ACTIVE_ATTRIBUTES 0x8B89
|
||||||
|
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
|
||||||
|
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
|
||||||
|
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
|
||||||
|
#define GL_CURRENT_PROGRAM 0x8B8D
|
||||||
|
#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
|
||||||
|
#define GL_LOWER_LEFT 0x8CA1
|
||||||
|
#define GL_UPPER_LEFT 0x8CA2
|
||||||
|
#define GL_STENCIL_BACK_REF 0x8CA3
|
||||||
|
#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
|
||||||
|
#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_multitexture
|
#ifndef GL_ARB_multitexture
|
||||||
#define GL_TEXTURE0_ARB 0x84C0
|
#define GL_TEXTURE0_ARB 0x84C0
|
||||||
#define GL_TEXTURE1_ARB 0x84C1
|
#define GL_TEXTURE1_ARB 0x84C1
|
||||||
@@ -825,6 +912,48 @@ extern "C" {
|
|||||||
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
|
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_color_buffer_float
|
||||||
|
#define GL_RGBA_FLOAT_MODE_ARB 0x8820
|
||||||
|
#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
|
||||||
|
#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
|
||||||
|
#define GL_CLAMP_READ_COLOR_ARB 0x891C
|
||||||
|
#define GL_FIXED_ONLY_ARB 0x891D
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_half_float_pixel
|
||||||
|
#define GL_HALF_FLOAT_ARB 0x140B
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_texture_float
|
||||||
|
#define GL_TEXTURE_RED_TYPE_ARB 0x8C10
|
||||||
|
#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
|
||||||
|
#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
|
||||||
|
#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
|
||||||
|
#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
|
||||||
|
#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
|
||||||
|
#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
|
||||||
|
#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
|
||||||
|
#define GL_RGBA32F_ARB 0x8814
|
||||||
|
#define GL_RGB32F_ARB 0x8815
|
||||||
|
#define GL_ALPHA32F_ARB 0x8816
|
||||||
|
#define GL_INTENSITY32F_ARB 0x8817
|
||||||
|
#define GL_LUMINANCE32F_ARB 0x8818
|
||||||
|
#define GL_LUMINANCE_ALPHA32F_ARB 0x8819
|
||||||
|
#define GL_RGBA16F_ARB 0x881A
|
||||||
|
#define GL_RGB16F_ARB 0x881B
|
||||||
|
#define GL_ALPHA16F_ARB 0x881C
|
||||||
|
#define GL_INTENSITY16F_ARB 0x881D
|
||||||
|
#define GL_LUMINANCE16F_ARB 0x881E
|
||||||
|
#define GL_LUMINANCE_ALPHA16F_ARB 0x881F
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_pixel_buffer_object
|
||||||
|
#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
|
||||||
|
#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
|
||||||
|
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
|
||||||
|
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_EXT_abgr
|
#ifndef GL_EXT_abgr
|
||||||
#define GL_ABGR_EXT 0x8000
|
#define GL_ABGR_EXT 0x8000
|
||||||
#endif
|
#endif
|
||||||
@@ -2793,6 +2922,11 @@ extern "C" {
|
|||||||
#ifndef GL_ATI_vertex_attrib_array_object
|
#ifndef GL_ATI_vertex_attrib_array_object
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_OES_read_format
|
||||||
|
#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
|
||||||
|
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_EXT_depth_bounds_test
|
#ifndef GL_EXT_depth_bounds_test
|
||||||
#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
|
#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
|
||||||
#define GL_DEPTH_BOUNDS_EXT 0x8891
|
#define GL_DEPTH_BOUNDS_EXT 0x8891
|
||||||
@@ -2850,6 +2984,11 @@ extern "C" {
|
|||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#ifndef GL_VERSION_2_0
|
||||||
|
/* GL type for program/shader text */
|
||||||
|
typedef char GLchar; /* native character */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
@@ -2863,13 +3002,17 @@ typedef ptrdiff_t GLsizeiptrARB;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_shader_objects
|
#ifndef GL_ARB_shader_objects
|
||||||
/* GL types for handling shader object handles and characters */
|
/* GL types for handling shader object handles and program/shader text */
|
||||||
typedef char GLcharARB; /* native character */
|
typedef char GLcharARB; /* native character */
|
||||||
typedef unsigned int GLhandleARB; /* shader object handle */
|
typedef unsigned int GLhandleARB; /* shader object handle */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* GL types for "half" precision (s10e5) float data in host memory */
|
||||||
|
#ifndef GL_ARB_half_float_pixel
|
||||||
|
typedef unsigned short GLhalfARB;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_NV_half_float
|
#ifndef GL_NV_half_float
|
||||||
/* GL type for representing NVIDIA "half" floating point type in host memory */
|
|
||||||
typedef unsigned short GLhalfNV;
|
typedef unsigned short GLhalfNV;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -3193,6 +3336,198 @@ typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pn
|
|||||||
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
|
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_VERSION_2_0
|
||||||
|
#define GL_VERSION_2_0 1
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
|
||||||
|
GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
|
||||||
|
GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
|
||||||
|
GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
|
||||||
|
GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
|
||||||
|
GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
|
||||||
|
GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
|
||||||
|
GLAPI void APIENTRY glCompileShader (GLuint);
|
||||||
|
GLAPI GLuint APIENTRY glCreateProgram (void);
|
||||||
|
GLAPI GLuint APIENTRY glCreateShader (GLenum);
|
||||||
|
GLAPI void APIENTRY glDeleteProgram (GLuint);
|
||||||
|
GLAPI void APIENTRY glDeleteShader (GLuint);
|
||||||
|
GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
|
||||||
|
GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
|
||||||
|
GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
|
||||||
|
GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
|
||||||
|
GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
|
||||||
|
GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
|
||||||
|
GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
|
||||||
|
GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
|
||||||
|
GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
|
||||||
|
GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
|
||||||
|
GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
|
||||||
|
GLAPI GLboolean APIENTRY glIsProgram (GLuint);
|
||||||
|
GLAPI GLboolean APIENTRY glIsShader (GLuint);
|
||||||
|
GLAPI void APIENTRY glLinkProgram (GLuint);
|
||||||
|
GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
|
||||||
|
GLAPI void APIENTRY glUseProgram (GLuint);
|
||||||
|
GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
|
||||||
|
GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glUniform1i (GLint, GLint);
|
||||||
|
GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
|
||||||
|
GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
|
||||||
|
GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
|
||||||
|
GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
|
||||||
|
GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
|
||||||
|
GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
|
||||||
|
GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
|
||||||
|
GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glValidateProgram (GLuint);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
|
||||||
|
GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
|
||||||
|
GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
|
||||||
|
#endif /* GL_GLEXT_PROTOTYPES */
|
||||||
|
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
|
||||||
|
typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
|
||||||
|
typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
||||||
|
typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
|
||||||
|
typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
|
||||||
|
typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
|
||||||
|
typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
|
||||||
|
typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
|
||||||
|
typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
|
||||||
|
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
|
||||||
|
typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
|
||||||
|
typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
|
||||||
|
typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
|
||||||
|
typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
|
||||||
|
typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
|
||||||
|
typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
|
||||||
|
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
|
||||||
|
typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
|
||||||
|
typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
|
||||||
|
typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
|
||||||
|
typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
|
||||||
|
typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
|
||||||
|
typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
|
||||||
|
typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
|
||||||
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
|
||||||
|
typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
|
||||||
|
typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
|
||||||
|
typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
|
||||||
|
typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
|
||||||
|
typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
||||||
|
typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
|
||||||
|
typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_multitexture
|
#ifndef GL_ARB_multitexture
|
||||||
#define GL_ARB_multitexture 1
|
#define GL_ARB_multitexture 1
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
@@ -3752,6 +4087,26 @@ typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs)
|
|||||||
#define GL_ARB_texture_rectangle 1
|
#define GL_ARB_texture_rectangle 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_color_buffer_float
|
||||||
|
#define GL_ARB_color_buffer_float 1
|
||||||
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
|
||||||
|
#endif /* GL_GLEXT_PROTOTYPES */
|
||||||
|
typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_half_float_pixel
|
||||||
|
#define GL_ARB_half_float_pixel 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_texture_float
|
||||||
|
#define GL_ARB_texture_float 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_ARB_pixel_buffer_object
|
||||||
|
#define GL_ARB_pixel_buffer_object 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_EXT_abgr
|
#ifndef GL_EXT_abgr
|
||||||
#define GL_EXT_abgr 1
|
#define GL_EXT_abgr 1
|
||||||
#endif
|
#endif
|
||||||
@@ -5974,6 +6329,10 @@ typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index,
|
|||||||
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
|
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_OES_read_format
|
||||||
|
#define GL_OES_read_format 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_EXT_depth_bounds_test
|
#ifndef GL_EXT_depth_bounds_test
|
||||||
#define GL_EXT_depth_bounds_test 1
|
#define GL_EXT_depth_bounds_test 1
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
|
|||||||
@@ -62,7 +62,10 @@ extern const char *
|
|||||||
glFBDevGetString( int str );
|
glFBDevGetString( int str );
|
||||||
|
|
||||||
|
|
||||||
extern const void *
|
typedef void (*GLFBDevProc)();
|
||||||
|
|
||||||
|
|
||||||
|
extern const GLFBDevProc
|
||||||
glFBDevGetProcAddress( const char *procName );
|
glFBDevGetProcAddress( const char *procName );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -193,13 +193,11 @@ WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *);
|
|||||||
#else /* _WIN32 not defined */
|
#else /* _WIN32 not defined */
|
||||||
|
|
||||||
/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing if we aren't on Win32. */
|
/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing if we aren't on Win32. */
|
||||||
# define GLUTAPIENTRY
|
# define GLUTAPIENTRY GLAPIENTRY
|
||||||
# define GLUTAPIENTRYV
|
# define GLUTAPIENTRYV
|
||||||
# define GLUT_APIENTRY_DEFINED
|
|
||||||
# define GLUTCALLBACK
|
# define GLUTCALLBACK
|
||||||
# define GLUTAPI extern
|
# define GLUTAPI extern
|
||||||
/* Prototype exit for the non-Win32 case (see above). */
|
|
||||||
/*extern void exit(int); this screws up gcc -ansi -pedantic! */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@@ -747,26 +745,4 @@ GLUTAPI int GLUTAPIENTRY glutGameModeGet(GLenum mode);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
|
||||||
#ifdef GLUT_APIENTRY_DEFINED
|
|
||||||
# undef GLUT_APIENTRY_DEFINED
|
|
||||||
# undef APIENTRY
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef GLUT_WINGDIAPI_DEFINED
|
|
||||||
# undef GLUT_WINGDIAPI_DEFINED
|
|
||||||
# undef WINGDIAPI
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef GLUT_DEFINED___CDECL
|
|
||||||
# undef GLUT_DEFINED___CDECL
|
|
||||||
# undef __cdecl
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef GLUT_DEFINED__CRTIMP
|
|
||||||
# undef GLUT_DEFINED__CRTIMP
|
|
||||||
# undef _CRTIMP
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __glut_h__ */
|
#endif /* __glut_h__ */
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
* Version: 6.2
|
* Version: 6.3
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -482,6 +482,21 @@ typedef GLuint (* PFNGLXGETAGPOFFSETMESAPROC) (const GLvoid *pointer);
|
|||||||
#endif /* GLX_MESA_agp_offset */
|
#endif /* GLX_MESA_agp_offset */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ???. GLX_MESA_allocate_memory
|
||||||
|
*/
|
||||||
|
#ifndef GLX_MESA_allocate_memory
|
||||||
|
#define GLX_MESA_allocate_memory 1
|
||||||
|
|
||||||
|
extern void *glXAllocateMemoryMESA(Display *dpy, int scrn, size_t size, float readfreq, float writefreq, float priority);
|
||||||
|
extern void glXFreeMemoryMESA(Display *dpy, int scrn, void *pointer);
|
||||||
|
extern GLuint glXGetMemoryOffsetMESA(Display *dpy, int scrn, const void *pointer);
|
||||||
|
typedef void * ( * PFNGLXALLOCATEMEMORYMESAPROC) (Display *dpy, int scrn, size_t size, float readfreq, float writefreq, float priority);
|
||||||
|
typedef void ( * PFNGLXFREEMEMORYMESAPROC) (Display *dpy, int scrn, void *pointer);
|
||||||
|
typedef GLuint (* PFNGLXGETMEMORYOFFSETMESAPROC) (Display *dpy, int scrn, const void *pointer);
|
||||||
|
|
||||||
|
#endif /* GLX_MESA_allocate_memory */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ARB ?. GLX_ARB_render_texture
|
* ARB ?. GLX_ARB_render_texture
|
||||||
*/
|
*/
|
||||||
@@ -495,6 +510,39 @@ extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attr
|
|||||||
#endif /* GLX_ARB_render_texture */
|
#endif /* GLX_ARB_render_texture */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Remove this when glxext.h is updated.
|
||||||
|
*/
|
||||||
|
#ifndef GLX_NV_float_buffer
|
||||||
|
#define GLX_NV_float_buffer 1
|
||||||
|
|
||||||
|
#define GLX_FLOAT_COMPONENTS_NV 0x20B0
|
||||||
|
|
||||||
|
#endif /* GLX_NV_float_buffer */
|
||||||
|
|
||||||
|
|
||||||
|
/*** Should these go here, or in another header? */
|
||||||
|
/*
|
||||||
|
** GLX Events
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
int event_type; /* GLX_DAMAGED or GLX_SAVED */
|
||||||
|
int draw_type; /* GLX_WINDOW or GLX_PBUFFER */
|
||||||
|
unsigned long serial; /* # of last request processed by server */
|
||||||
|
Bool send_event; /* true if this came for SendEvent request */
|
||||||
|
Display *display; /* display the event was read from */
|
||||||
|
GLXDrawable drawable; /* XID of Drawable */
|
||||||
|
unsigned int buffer_mask; /* mask indicating which buffers are affected */
|
||||||
|
unsigned int aux_buffer; /* which aux buffer was affected */
|
||||||
|
int x, y;
|
||||||
|
int width, height;
|
||||||
|
int count; /* if nonzero, at least this many more */
|
||||||
|
} GLXPbufferClobberEvent;
|
||||||
|
|
||||||
|
typedef union __GLXEvent {
|
||||||
|
GLXPbufferClobberEvent glxpbufferclobber;
|
||||||
|
long pad[24];
|
||||||
|
} GLXEvent;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,14 +52,20 @@ extern "C" {
|
|||||||
*
|
*
|
||||||
* It can have the values #True or #False.
|
* It can have the values #True or #False.
|
||||||
*/
|
*/
|
||||||
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
typedef int Bool;
|
typedef int Bool;
|
||||||
|
#endif
|
||||||
|
typedef int MINI_Bool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Color map.
|
* \brief Color map.
|
||||||
*
|
*
|
||||||
* Alias for private ::MiniGLXColormapRec structure.
|
* Alias for private ::MiniGLXColormapRec structure.
|
||||||
*/
|
*/
|
||||||
|
typedef struct MiniGLXColormapRec *MINI_Colormap;
|
||||||
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
typedef struct MiniGLXColormapRec *Colormap;
|
typedef struct MiniGLXColormapRec *Colormap;
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Window attributes.
|
* \brief Window attributes.
|
||||||
@@ -67,7 +73,7 @@ typedef struct MiniGLXColormapRec *Colormap;
|
|||||||
typedef struct MiniGLXSetWindowAttributesRec {
|
typedef struct MiniGLXSetWindowAttributesRec {
|
||||||
int background_pixel; /**< \brief background pixel */
|
int background_pixel; /**< \brief background pixel */
|
||||||
int border_pixel; /**< \brief border pixel value */
|
int border_pixel; /**< \brief border pixel value */
|
||||||
Colormap colormap; /**< \brief color map to be associated with window */
|
MINI_Colormap colormap; /**< \brief color map to be associated with window */
|
||||||
int event_mask; /**< \brief set of events that should be saved */
|
int event_mask; /**< \brief set of events that should be saved */
|
||||||
} XSetWindowAttributes;
|
} XSetWindowAttributes;
|
||||||
|
|
||||||
@@ -85,10 +91,13 @@ typedef struct MiniGLXVisualRec Visual;
|
|||||||
*
|
*
|
||||||
* \sa \ref datatypes.
|
* \sa \ref datatypes.
|
||||||
*/
|
*/
|
||||||
typedef unsigned int VisualID;
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
|
typedef unsigned long VisualID;
|
||||||
|
#endif
|
||||||
|
typedef unsigned long MINI_VisualID;
|
||||||
typedef struct MiniGLXXVisualInfoRec {
|
typedef struct MiniGLXXVisualInfoRec {
|
||||||
Visual *visual; /**< \brief pointer to the GLX Visual */
|
Visual *visual; /**< \brief pointer to the GLX Visual */
|
||||||
VisualID visualid; /**< \brief visual ID */
|
MINI_VisualID visualid; /**< \brief visual ID */
|
||||||
int screen; /**< \brief screen number */
|
int screen; /**< \brief screen number */
|
||||||
int depth; /**< \brief bit depth */
|
int depth; /**< \brief bit depth */
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
@@ -115,7 +124,10 @@ typedef struct MiniGLXFBConfigRec {
|
|||||||
*
|
*
|
||||||
* \sa \ref datatypes.
|
* \sa \ref datatypes.
|
||||||
*/
|
*/
|
||||||
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
typedef struct MiniGLXDisplayRec Display;
|
typedef struct MiniGLXDisplayRec Display;
|
||||||
|
#endif
|
||||||
|
typedef struct MiniGLXDisplayRec MINI_Display;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Window handle.
|
* \brief Window handle.
|
||||||
@@ -124,7 +136,10 @@ typedef struct MiniGLXDisplayRec Display;
|
|||||||
*
|
*
|
||||||
* \sa \ref datatypes.
|
* \sa \ref datatypes.
|
||||||
*/
|
*/
|
||||||
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
typedef struct MiniGLXWindowRec *Window;
|
typedef struct MiniGLXWindowRec *Window;
|
||||||
|
#endif
|
||||||
|
typedef struct MiniGLXWindowRec *MINI_Window;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Drawable.
|
* \brief Drawable.
|
||||||
@@ -136,7 +151,10 @@ typedef struct MiniGLXWindowRec *Window;
|
|||||||
*
|
*
|
||||||
* \sa \ref datatypes.
|
* \sa \ref datatypes.
|
||||||
*/
|
*/
|
||||||
|
#ifndef MINIGLX_NO_XTYPES
|
||||||
typedef struct MiniGLXWindowRec *Drawable;
|
typedef struct MiniGLXWindowRec *Drawable;
|
||||||
|
#endif
|
||||||
|
typedef struct MiniGLXWindowRec *MINI_Drawable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief GLX drawable.
|
* \brief GLX drawable.
|
||||||
@@ -174,9 +192,9 @@ typedef struct MiniGLXContextRec *GLXContext;
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window window;
|
MINI_Window window;
|
||||||
int x, y;
|
int x, y;
|
||||||
int width, height;
|
int width, height;
|
||||||
int count; /* if non-zero, at least this many more */
|
int count; /* if non-zero, at least this many more */
|
||||||
@@ -185,53 +203,53 @@ typedef struct {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window parent; /* parent of the window */
|
MINI_Window parent; /* parent of the window */
|
||||||
Window window; /* window id of window created */
|
MINI_Window window; /* window id of window created */
|
||||||
int x, y; /* window location */
|
int x, y; /* window location */
|
||||||
int width, height; /* size of window */
|
int width, height; /* size of window */
|
||||||
int border_width; /* border width */
|
int border_width; /* border width */
|
||||||
Bool override_redirect; /* creation should be overridden */
|
MINI_Bool override_redirect; /* creation should be overridden */
|
||||||
} XCreateWindowEvent;
|
} XCreateWindowEvent;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window event;
|
MINI_Window event;
|
||||||
Window window;
|
MINI_Window window;
|
||||||
} XDestroyWindowEvent;
|
} XDestroyWindowEvent;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window event;
|
MINI_Window event;
|
||||||
Window window;
|
MINI_Window window;
|
||||||
Bool from_configure;
|
MINI_Bool from_configure;
|
||||||
} XUnmapEvent;
|
} XUnmapEvent;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window event;
|
MINI_Window event;
|
||||||
Window window;
|
MINI_Window window;
|
||||||
Bool override_redirect; /* boolean, is override set... */
|
MINI_Bool override_redirect; /* boolean, is override set... */
|
||||||
} XMapEvent;
|
} XMapEvent;
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial; /* # of last request processed by server */
|
unsigned long serial; /* # of last request processed by server */
|
||||||
Bool send_event; /* true if this came from a SendEvent request */
|
MINI_Bool send_event; /* true if this came from a SendEvent request */
|
||||||
Display *display; /* Display the event was read from */
|
MINI_Display *display; /* Display the event was read from */
|
||||||
Window parent;
|
MINI_Window parent;
|
||||||
Window window;
|
MINI_Window window;
|
||||||
} XMapRequestEvent;
|
} XMapRequestEvent;
|
||||||
|
|
||||||
typedef union _XEvent {
|
typedef union _XEvent {
|
||||||
@@ -263,6 +281,7 @@ typedef union _XEvent {
|
|||||||
#define CWColormap (1L<<13)
|
#define CWColormap (1L<<13)
|
||||||
#define PseudoColor 3
|
#define PseudoColor 3
|
||||||
#define TrueColor 4
|
#define TrueColor 4
|
||||||
|
#define VisualIDMask 0x1
|
||||||
#define VisualScreenMask 0x2
|
#define VisualScreenMask 0x2
|
||||||
#define Expose 12
|
#define Expose 12
|
||||||
#define CreateNotify 16
|
#define CreateNotify 16
|
||||||
@@ -318,11 +337,11 @@ typedef union _XEvent {
|
|||||||
/**
|
/**
|
||||||
* \name Server-specific functions
|
* \name Server-specific functions
|
||||||
*/
|
*/
|
||||||
extern Display *
|
extern MINI_Display *
|
||||||
__miniglx_StartServer( const char *display_name );
|
__miniglx_StartServer( const char *display_name );
|
||||||
|
|
||||||
extern int
|
extern int
|
||||||
__miniglx_Select( Display *dpy, int maxfd,
|
__miniglx_Select( MINI_Display *dpy, int maxfd,
|
||||||
fd_set *rfds, fd_set *wfds, fd_set *xfds,
|
fd_set *rfds, fd_set *wfds, fd_set *xfds,
|
||||||
struct timeval *tv );
|
struct timeval *tv );
|
||||||
|
|
||||||
@@ -331,25 +350,25 @@ __miniglx_Select( Display *dpy, int maxfd,
|
|||||||
* \name Simulated Xlib functions
|
* \name Simulated Xlib functions
|
||||||
*/
|
*/
|
||||||
/*@{*/
|
/*@{*/
|
||||||
extern Display *
|
extern MINI_Display *
|
||||||
XOpenDisplay( const char *dpy_name );
|
XOpenDisplay( const char *dpy_name );
|
||||||
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XCloseDisplay( Display *display );
|
XCloseDisplay( MINI_Display *display );
|
||||||
|
|
||||||
extern Window
|
extern MINI_Window
|
||||||
XCreateWindow( Display *display, Window parent, int x, int y,
|
XCreateWindow( MINI_Display *display, MINI_Window parent, int x, int y,
|
||||||
unsigned int width, unsigned int height,
|
unsigned int width, unsigned int height,
|
||||||
unsigned int border_width, int depth, unsigned int winclass,
|
unsigned int border_width, int depth, unsigned int winclass,
|
||||||
Visual *visual, unsigned long valuemask,
|
Visual *visual, unsigned long valuemask,
|
||||||
XSetWindowAttributes *attributes );
|
XSetWindowAttributes *attributes );
|
||||||
|
|
||||||
extern int
|
extern int
|
||||||
XNextEvent(Display *display, XEvent *event_return);
|
XNextEvent(MINI_Display *display, XEvent *event_return);
|
||||||
|
|
||||||
extern Bool
|
extern MINI_Bool
|
||||||
XCheckMaskEvent( Display *dpy, long event_mask, XEvent *event_return );
|
XCheckMaskEvent( MINI_Display *dpy, long event_mask, XEvent *event_return );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Return the root window.
|
* \brief Return the root window.
|
||||||
@@ -365,27 +384,27 @@ XCheckMaskEvent( Display *dpy, long event_mask, XEvent *event_return );
|
|||||||
#define DefaultScreen(dpy) 0
|
#define DefaultScreen(dpy) 0
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XDestroyWindow( Display *display, Window w );
|
XDestroyWindow( MINI_Display *display, MINI_Window w );
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XMapWindow( Display *display, Window w );
|
XMapWindow( MINI_Display *display, MINI_Window w );
|
||||||
|
|
||||||
/* Should clients have access to this?
|
/* Should clients have access to this?
|
||||||
*/
|
*/
|
||||||
extern void
|
extern void
|
||||||
XUnmapWindow( Display *display, Window w );
|
XUnmapWindow( MINI_Display *display, MINI_Window w );
|
||||||
|
|
||||||
extern Colormap
|
extern MINI_Colormap
|
||||||
XCreateColormap( Display *display, Window w, Visual *visual, int alloc );
|
XCreateColormap( MINI_Display *display, MINI_Window w, Visual *visual, int alloc );
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XFreeColormap( Display *display, Colormap cmap );
|
XFreeColormap( MINI_Display *display, MINI_Colormap cmap );
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XFree( void *data );
|
XFree( void *data );
|
||||||
|
|
||||||
extern XVisualInfo *
|
extern XVisualInfo *
|
||||||
XGetVisualInfo( Display *display, long vinfo_mask,
|
XGetVisualInfo( MINI_Display *display, long vinfo_mask,
|
||||||
XVisualInfo *vinfo_template, int *nitems_return );
|
XVisualInfo *vinfo_template, int *nitems_return );
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
@@ -396,23 +415,23 @@ XGetVisualInfo( Display *display, long vinfo_mask,
|
|||||||
*/
|
*/
|
||||||
/*@{*/
|
/*@{*/
|
||||||
extern XVisualInfo*
|
extern XVisualInfo*
|
||||||
glXChooseVisual( Display *dpy, int screen, int *attribList );
|
glXChooseVisual( MINI_Display *dpy, int screen, int *attribList );
|
||||||
|
|
||||||
extern int
|
extern int
|
||||||
glXGetConfig( Display *dpy, XVisualInfo *vis, int attrib, int *value );
|
glXGetConfig( MINI_Display *dpy, XVisualInfo *vis, int attrib, int *value );
|
||||||
|
|
||||||
extern GLXContext
|
extern GLXContext
|
||||||
glXCreateContext( Display *dpy, XVisualInfo *vis,
|
glXCreateContext( MINI_Display *dpy, XVisualInfo *vis,
|
||||||
GLXContext shareList, Bool direct );
|
GLXContext shareList, MINI_Bool direct );
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
glXDestroyContext( Display *dpy, GLXContext ctx );
|
glXDestroyContext( MINI_Display *dpy, GLXContext ctx );
|
||||||
|
|
||||||
extern Bool
|
extern MINI_Bool
|
||||||
glXMakeCurrent( Display *dpy, GLXDrawable drawable, GLXContext ctx);
|
glXMakeCurrent( MINI_Display *dpy, GLXDrawable drawable, GLXContext ctx);
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
glXSwapBuffers( Display *dpy, GLXDrawable drawable );
|
glXSwapBuffers( MINI_Display *dpy, GLXDrawable drawable );
|
||||||
|
|
||||||
extern GLXContext
|
extern GLXContext
|
||||||
glXGetCurrentContext( void );
|
glXGetCurrentContext( void );
|
||||||
@@ -423,22 +442,35 @@ glXGetCurrentDrawable( void );
|
|||||||
extern void
|
extern void
|
||||||
(*glXGetProcAddress(const GLubyte *procname))( void );
|
(*glXGetProcAddress(const GLubyte *procname))( void );
|
||||||
|
|
||||||
extern Bool
|
extern MINI_Bool
|
||||||
glXQueryVersion( Display *dpy, int *major, int *minor );
|
glXQueryVersion( MINI_Display *dpy, int *major, int *minor );
|
||||||
|
|
||||||
/* Added in MiniGLX 1.1 */
|
/* Added in MiniGLX 1.1 */
|
||||||
extern GLXPbuffer
|
extern GLXPbuffer
|
||||||
glXCreatePbuffer( Display *dpy, GLXFBConfig config, const int *attribList );
|
glXCreatePbuffer( MINI_Display *dpy, GLXFBConfig config, const int *attribList );
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
glXDestroyPbuffer( Display *dpy, GLXPbuffer pbuf );
|
glXDestroyPbuffer( MINI_Display *dpy, GLXPbuffer pbuf );
|
||||||
|
|
||||||
extern GLXFBConfig *
|
extern GLXFBConfig *
|
||||||
glXChooseFBConfig( Display *dpy, int screen, const int *attribList,
|
glXChooseFBConfig( MINI_Display *dpy, int screen, const int *attribList,
|
||||||
int *nitems );
|
int *nitems );
|
||||||
|
|
||||||
extern XVisualInfo *
|
extern XVisualInfo *
|
||||||
glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config );
|
glXGetVisualFromFBConfig( MINI_Display *dpy, GLXFBConfig config );
|
||||||
|
|
||||||
|
extern void *glXAllocateMemoryMESA(Display *dpy, int scrn,
|
||||||
|
size_t size, float readFreq,
|
||||||
|
float writeFreq, float priority);
|
||||||
|
|
||||||
|
extern void glXFreeMemoryMESA(Display *dpy, int scrn, void *pointer);
|
||||||
|
|
||||||
|
extern GLuint glXGetMemoryOffsetMESA( Display *dpy, int scrn,
|
||||||
|
const void *pointer );
|
||||||
|
/*@}*/
|
||||||
|
|
||||||
|
extern void
|
||||||
|
__glXScrEnableExtension( void *, const char * name );
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
|||||||
274
include/GLES/egl.h
Normal file
274
include/GLES/egl.h
Normal file
@@ -0,0 +1,274 @@
|
|||||||
|
#ifndef _EGL_H
|
||||||
|
#define _EGL_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
** License Applicability. Except to the extent portions of this file are
|
||||||
|
** made subject to an alternative license as permitted in the SGI Free
|
||||||
|
** Software License B, Version 1.0 (the "License"), the contents of this
|
||||||
|
** file are subject only to the provisions of the License. You may not use
|
||||||
|
** this file except in compliance with the License. You may obtain a copy
|
||||||
|
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
|
||||||
|
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
|
||||||
|
**
|
||||||
|
** http://oss.sgi.com/projects/FreeB
|
||||||
|
**
|
||||||
|
** Note that, as provided in the License, the Software is distributed on an
|
||||||
|
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
|
||||||
|
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
|
||||||
|
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
|
||||||
|
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
||||||
|
**
|
||||||
|
** Original Code. The Original Code is: OpenGL Sample Implementation,
|
||||||
|
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
|
||||||
|
** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
|
||||||
|
** Copyright in any portions created by third parties is as indicated
|
||||||
|
** elsewhere herein. All Rights Reserved.
|
||||||
|
**
|
||||||
|
** Additional Notice Provisions: The application programming interfaces
|
||||||
|
** established by SGI in conjunction with the Original Code are The
|
||||||
|
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
|
||||||
|
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
|
||||||
|
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
|
||||||
|
** Window System(R) (Version 1.3), released October 19, 1998. This software
|
||||||
|
** was created using the OpenGL(R) version 1.2.1 Sample Implementation
|
||||||
|
** published by SGI, but has not been independently verified as being
|
||||||
|
** compliant with the OpenGL(R) version 1.2.1 Specification.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if 0/*XXX TEMPORARY HACK*/
|
||||||
|
#include <GLES/gl.h>
|
||||||
|
#else
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
#include <GLES/egltypes.h>
|
||||||
|
|
||||||
|
/* XXX should go in eglext.h */
|
||||||
|
#define GL_OES_VERSION_1_0 1
|
||||||
|
#define GL_OES_read_format 1
|
||||||
|
#define GL_OES_compressed_paletted_texture 1
|
||||||
|
#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
|
||||||
|
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
|
||||||
|
#define GL_PALETTE4_RGB8_OES 0x8B90
|
||||||
|
#define GL_PALETTE4_RGBA8_OES 0x8B91
|
||||||
|
#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
|
||||||
|
#define GL_PALETTE4_RGBA4_OES 0x8B93
|
||||||
|
#define GL_PALETTE4_RGB5_A1_OES 0x8B94
|
||||||
|
#define GL_PALETTE8_RGB8_OES 0x8B95
|
||||||
|
#define GL_PALETTE8_RGBA8_OES 0x8B96
|
||||||
|
#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
|
||||||
|
#define GL_PALETTE8_RGBA4_OES 0x8B98
|
||||||
|
#define GL_PALETTE8_RGB5_A1_OES 0x8B99
|
||||||
|
/* XXX */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Versioning and extensions
|
||||||
|
*/
|
||||||
|
#define EGL_VERSION_1_0 1
|
||||||
|
#if 0
|
||||||
|
#define EGL_VERSION_1_1 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Boolean
|
||||||
|
*/
|
||||||
|
#define EGL_FALSE 0
|
||||||
|
#define EGL_TRUE 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Errors
|
||||||
|
*/
|
||||||
|
#define EGL_SUCCESS 0x3000
|
||||||
|
#define EGL_NOT_INITIALIZED 0x3001
|
||||||
|
#define EGL_BAD_ACCESS 0x3002
|
||||||
|
#define EGL_BAD_ALLOC 0x3003
|
||||||
|
#define EGL_BAD_ATTRIBUTE 0x3004
|
||||||
|
#define EGL_BAD_CONFIG 0x3005
|
||||||
|
#define EGL_BAD_CONTEXT 0x3006
|
||||||
|
#define EGL_BAD_CURRENT_SURFACE 0x3007
|
||||||
|
#define EGL_BAD_DISPLAY 0x3008
|
||||||
|
#define EGL_BAD_MATCH 0x3009
|
||||||
|
#define EGL_BAD_NATIVE_PIXMAP 0x300A
|
||||||
|
#define EGL_BAD_NATIVE_WINDOW 0x300B
|
||||||
|
#define EGL_BAD_PARAMETER 0x300C
|
||||||
|
#define EGL_BAD_SURFACE 0x300D
|
||||||
|
#define EGL_CONTEXT_LOST 0x300E
|
||||||
|
/* 0x300F - 0x301F reserved for additional errors. */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Config attributes
|
||||||
|
*/
|
||||||
|
#define EGL_BUFFER_SIZE 0x3020
|
||||||
|
#define EGL_ALPHA_SIZE 0x3021
|
||||||
|
#define EGL_BLUE_SIZE 0x3022
|
||||||
|
#define EGL_GREEN_SIZE 0x3023
|
||||||
|
#define EGL_RED_SIZE 0x3024
|
||||||
|
#define EGL_DEPTH_SIZE 0x3025
|
||||||
|
#define EGL_STENCIL_SIZE 0x3026
|
||||||
|
#define EGL_CONFIG_CAVEAT 0x3027
|
||||||
|
#define EGL_CONFIG_ID 0x3028
|
||||||
|
#define EGL_LEVEL 0x3029
|
||||||
|
#define EGL_MAX_PBUFFER_HEIGHT 0x302A
|
||||||
|
#define EGL_MAX_PBUFFER_PIXELS 0x302B
|
||||||
|
#define EGL_MAX_PBUFFER_WIDTH 0x302C
|
||||||
|
#define EGL_NATIVE_RENDERABLE 0x302D
|
||||||
|
#define EGL_NATIVE_VISUAL_ID 0x302E
|
||||||
|
#define EGL_NATIVE_VISUAL_TYPE 0x302F
|
||||||
|
/*#define EGL_PRESERVED_RESOURCES 0x3030*/
|
||||||
|
#define EGL_SAMPLES 0x3031
|
||||||
|
#define EGL_SAMPLE_BUFFERS 0x3032
|
||||||
|
#define EGL_SURFACE_TYPE 0x3033
|
||||||
|
#define EGL_TRANSPARENT_TYPE 0x3034
|
||||||
|
#define EGL_TRANSPARENT_BLUE_VALUE 0x3035
|
||||||
|
#define EGL_TRANSPARENT_GREEN_VALUE 0x3036
|
||||||
|
#define EGL_TRANSPARENT_RED_VALUE 0x3037
|
||||||
|
#define EGL_NONE 0x3038 /* Also a config value */
|
||||||
|
#define EGL_BIND_TO_TEXTURE_RGB 0x3039
|
||||||
|
#define EGL_BIND_TO_TEXTURE_RGBA 0x303A
|
||||||
|
#define EGL_MIN_SWAP_INTERVAL 0x303B
|
||||||
|
#define EGL_MAX_SWAP_INTERVAL 0x303C
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Config values
|
||||||
|
*/
|
||||||
|
#define EGL_DONT_CARE ((EGLint) -1)
|
||||||
|
|
||||||
|
#define EGL_SLOW_CONFIG 0x3050 /* EGL_CONFIG_CAVEAT value */
|
||||||
|
#define EGL_NON_CONFORMANT_CONFIG 0x3051 /* " */
|
||||||
|
#define EGL_TRANSPARENT_RGB 0x3052 /* EGL_TRANSPARENT_TYPE value */
|
||||||
|
#define EGL_NO_TEXTURE 0x305C /* EGL_TEXTURE_FORMAT/TARGET value */
|
||||||
|
#define EGL_TEXTURE_RGB 0x305D /* EGL_TEXTURE_FORMAT value */
|
||||||
|
#define EGL_TEXTURE_RGBA 0x305E /* " */
|
||||||
|
#define EGL_TEXTURE_2D 0x305F /* EGL_TEXTURE_TARGET value */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Config attribute mask bits
|
||||||
|
*/
|
||||||
|
#define EGL_PBUFFER_BIT 0x01 /* EGL_SURFACE_TYPE mask bit */
|
||||||
|
#define EGL_PIXMAP_BIT 0x02 /* " */
|
||||||
|
#define EGL_WINDOW_BIT 0x04 /* " */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** String names
|
||||||
|
*/
|
||||||
|
#define EGL_VENDOR 0x3053 /* eglQueryString target */
|
||||||
|
#define EGL_VERSION 0x3054 /* " */
|
||||||
|
#define EGL_EXTENSIONS 0x3055 /* " */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Surface attributes
|
||||||
|
*/
|
||||||
|
#define EGL_HEIGHT 0x3056
|
||||||
|
#define EGL_WIDTH 0x3057
|
||||||
|
#define EGL_LARGEST_PBUFFER 0x3058
|
||||||
|
#define EGL_TEXTURE_FORMAT 0x3080 /* For pbuffers bound as textures */
|
||||||
|
#define EGL_TEXTURE_TARGET 0x3081 /* " */
|
||||||
|
#define EGL_MIPMAP_TEXTURE 0x3082 /* " */
|
||||||
|
#define EGL_MIPMAP_LEVEL 0x3083 /* " */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** BindTexImage / ReleaseTexImage buffer target
|
||||||
|
*/
|
||||||
|
#define EGL_BACK_BUFFER 0x3084
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Current surfaces
|
||||||
|
*/
|
||||||
|
#define EGL_DRAW 0x3059
|
||||||
|
#define EGL_READ 0x305A
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Engines
|
||||||
|
*/
|
||||||
|
#define EGL_CORE_NATIVE_ENGINE 0x305B
|
||||||
|
|
||||||
|
/* 0x305C-0x3FFFF reserved for future use */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Functions
|
||||||
|
*/
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
GLAPI EGLint APIENTRY eglGetError (void);
|
||||||
|
|
||||||
|
GLAPI EGLDisplay APIENTRY eglGetDisplay (NativeDisplayType display);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglTerminate (EGLDisplay dpy);
|
||||||
|
GLAPI const char * APIENTRY eglQueryString (EGLDisplay dpy, EGLint name);
|
||||||
|
GLAPI void (* APIENTRY eglGetProcAddress (const char *procname))(void);
|
||||||
|
|
||||||
|
GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
|
||||||
|
|
||||||
|
GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list);
|
||||||
|
GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list);
|
||||||
|
GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
|
||||||
|
|
||||||
|
/* EGL 1.1 render-to-texture APIs */
|
||||||
|
GLAPI EGLBoolean APIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
|
||||||
|
|
||||||
|
/* EGL 1.1 swap control API */
|
||||||
|
GLAPI EGLBoolean APIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval);
|
||||||
|
|
||||||
|
GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
|
||||||
|
GLAPI EGLContext APIENTRY eglGetCurrentContext (void);
|
||||||
|
GLAPI EGLSurface APIENTRY eglGetCurrentSurface (EGLint readdraw);
|
||||||
|
GLAPI EGLDisplay APIENTRY eglGetCurrentDisplay (void);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
|
||||||
|
|
||||||
|
GLAPI EGLBoolean APIENTRY eglWaitGL (void);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglWaitNative (EGLint engine);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface draw);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, NativePixmapType target);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* EGL_MESA_screen extension >>> PRELIMINARY <<< */
|
||||||
|
#ifndef EGL_MESA_screen_surface
|
||||||
|
#define EGL_MESA_screen_surface 1
|
||||||
|
|
||||||
|
#define EGL_BAD_SCREEN_MESA 0x4000
|
||||||
|
#define EGL_BAD_MODE_MESA 0x4001
|
||||||
|
#define EGL_SCREEN_COUNT_MESA 0x4002
|
||||||
|
#define EGL_SCREEN_POSITION_MESA 0x4003
|
||||||
|
#define EGL_MODE_ID_MESA 0x4004
|
||||||
|
#define EGL_REFRESH_RATE_MESA 0x4005
|
||||||
|
#define EGL_OPTIMAL_MODE_MESA 0x4006
|
||||||
|
#define EGL_SCREEN_BIT_MESA 0x08
|
||||||
|
|
||||||
|
GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens);
|
||||||
|
GLAPI EGLSurface APIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglShowSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglScreenPositionMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglQueryScreenMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface);
|
||||||
|
GLAPI EGLBoolean APIENTRY eglQueryScreenModeMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode);
|
||||||
|
GLAPI const char * APIENTRY eglQueryModeStringMESA(EGLDisplay dpy, EGLModeMESA mode);
|
||||||
|
|
||||||
|
#endif /* EGL_MESA_screen_surface */
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef EGL_MESA_copy_context
|
||||||
|
#define EGL_MESA_copy_context 1
|
||||||
|
|
||||||
|
GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask);
|
||||||
|
|
||||||
|
#endif /* EGL_MESA_copy_context */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _EGL_H */
|
||||||
45
include/GLES/egltypes.h
Normal file
45
include/GLES/egltypes.h
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
** egltypes.h for Mesa
|
||||||
|
**
|
||||||
|
** ONLY egl.h SHOULD INCLUDE THIS FILE!
|
||||||
|
**
|
||||||
|
** See comments about egltypes.h in the standard egl.h file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** These opaque EGL types are implemented as unsigned 32-bit integers:
|
||||||
|
*/
|
||||||
|
typedef u_int32_t EGLDisplay;
|
||||||
|
typedef u_int32_t EGLConfig;
|
||||||
|
typedef u_int32_t EGLSurface;
|
||||||
|
typedef u_int32_t EGLContext;
|
||||||
|
|
||||||
|
/* EGL_MESA_screen_surface */
|
||||||
|
typedef u_int32_t EGLModeMESA;
|
||||||
|
typedef u_int32_t EGLScreenMESA;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Other basic EGL types:
|
||||||
|
*/
|
||||||
|
typedef u_int8_t EGLBoolean;
|
||||||
|
typedef int32_t EGLint;
|
||||||
|
|
||||||
|
typedef void * NativeDisplayType;
|
||||||
|
typedef int NativePixmapType;
|
||||||
|
typedef int NativeWindowType;
|
||||||
|
|
||||||
|
/*
|
||||||
|
** EGL and native handle null values:
|
||||||
|
*/
|
||||||
|
#define EGL_DEFAULT_DISPLAY ((NativeDisplayType) 0)
|
||||||
|
#define EGL_NO_CONTEXT ((EGLContext) 0)
|
||||||
|
#define EGL_NO_DISPLAY ((EGLDisplay) 0)
|
||||||
|
#define EGL_NO_SURFACE ((EGLSurface) 0)
|
||||||
|
|
||||||
|
/* EGL_MESA_screen_surface */
|
||||||
|
#define EGL_NO_MODE_MESA ((EGLModeMESA) 0)
|
||||||
@@ -7,6 +7,8 @@ INCDIR = $(TOP)/include
|
|||||||
|
|
||||||
OSMESA_LIBS = -L$(LIB_DIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
|
OSMESA_LIBS = -L$(LIB_DIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
|
||||||
|
|
||||||
|
OSMESA16_LIBS = -L$(LIB_DIR) -lglut -lOSMesa16 -lGLU -lGL $(APP_LIB_DEPS)
|
||||||
|
|
||||||
OSMESA32_LIBS = -L$(LIB_DIR) -lglut -lOSMesa32 -lGLU -lGL $(APP_LIB_DEPS)
|
OSMESA32_LIBS = -L$(LIB_DIR) -lglut -lOSMesa32 -lGLU -lGL $(APP_LIB_DEPS)
|
||||||
|
|
||||||
LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME) $(LIB_DIR)/$(GLUT_LIB_NAME)
|
LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME) $(LIB_DIR)/$(GLUT_LIB_NAME)
|
||||||
@@ -66,32 +68,63 @@ PROGS = \
|
|||||||
|
|
||||||
|
|
||||||
# make executable from .c file:
|
# make executable from .c file:
|
||||||
.c: $(LIB_DEP)
|
.c: $(LIB_DEP) readtex.o
|
||||||
$(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) $< readtex.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
|
|
||||||
##### TARGETS #####
|
##### TARGETS #####
|
||||||
|
|
||||||
default: readtex.c readtex.h $(PROGS)
|
default: readtex.o $(PROGS)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
readtex.c: $(TOP)/progs/util/readtex.c
|
||||||
-rm -f $(PROGS)
|
cp $< .
|
||||||
-rm -f *.o *~
|
|
||||||
-rm -f readtex.[ch]
|
readtex.h: $(TOP)/progs/util/readtex.h
|
||||||
|
cp $< .
|
||||||
|
|
||||||
|
readtex.o: readtex.c readtex.h
|
||||||
|
$(CC) -c -I$(INCDIR) $(CFLAGS) readtex.c
|
||||||
|
|
||||||
|
|
||||||
readtex.c:
|
showbuffer.c: $(TOP)/progs/util/showbuffer.c
|
||||||
cp $(TOP)/progs/util/readtex.c .
|
cp $< .
|
||||||
|
|
||||||
readtex.h:
|
showbuffer.h: $(TOP)/progs/util/showbuffer.h
|
||||||
cp $(TOP)/progs/util/readtex.h .
|
cp $< .
|
||||||
|
|
||||||
|
showbuffer.o: showbuffer.c showbuffer.h
|
||||||
|
$(CC) -c -I$(INCDIR) $(CFLAGS) showbuffer.c
|
||||||
|
|
||||||
|
|
||||||
|
reflect: reflect.o showbuffer.o readtex.o
|
||||||
|
$(CC) -I$(INCDIR) $(CFLAGS) reflect.o showbuffer.o readtex.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
|
reflect.o: reflect.c showbuffer.h
|
||||||
|
$(CC) -c -I$(INCDIR) $(CFLAGS) reflect.c
|
||||||
|
|
||||||
|
|
||||||
|
shadowtex: shadowtex.o showbuffer.o
|
||||||
|
$(CC) -I$(INCDIR) $(CFLAGS) shadowtex.o showbuffer.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
|
shadowtex.o: shadowtex.c showbuffer.h
|
||||||
|
$(CC) -c -I$(INCDIR) $(CFLAGS) shadowtex.c
|
||||||
|
|
||||||
# special case: need the -lOSMesa library:
|
# special case: need the -lOSMesa library:
|
||||||
osdemo: osdemo.c
|
osdemo: osdemo.c
|
||||||
$(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@
|
||||||
|
|
||||||
|
# another special case: need the -lOSMesa16 library:
|
||||||
|
osdemo16: osdemo16.c
|
||||||
|
$(CC) -I$(INCDIR) $(CFLAGS) osdemo16.c $(OSMESA16_LIBS) -o $@
|
||||||
|
|
||||||
# another special case: need the -lOSMesa32 library:
|
# another special case: need the -lOSMesa32 library:
|
||||||
osdemo32: osdemo32.c
|
osdemo32: osdemo32.c
|
||||||
$(CC) -I$(INCDIR) $(CFLAGS) osdemo32.c $(OSMESA32_LIBS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) osdemo32.c $(OSMESA32_LIBS) -o $@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f $(PROGS)
|
||||||
|
-rm -f *.o *~
|
||||||
|
-rm -f readtex.[ch] showbuffer.[ch]
|
||||||
|
|||||||
@@ -365,11 +365,9 @@ static void Init( void )
|
|||||||
{
|
{
|
||||||
/* Green-ish fog color */
|
/* Green-ish fog color */
|
||||||
static const GLfloat fogColor[4] = {0.5, 1.0, 0.5, 0};
|
static const GLfloat fogColor[4] = {0.5, 1.0, 0.5, 0};
|
||||||
glFogi(GL_FOG_MODE, GL_LINEAR);
|
|
||||||
glFogfv(GL_FOG_COLOR, fogColor);
|
glFogfv(GL_FOG_COLOR, fogColor);
|
||||||
glFogf(GL_FOG_START, 5.0);
|
glFogf(GL_FOG_START, 5.0);
|
||||||
glFogf(GL_FOG_END, 25.0);
|
glFogf(GL_FOG_END, 25.0);
|
||||||
glEnable(GL_FOG);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ static void Display( void )
|
|||||||
glScalef(0.3, 0.3, 1.0);
|
glScalef(0.3, 0.3, 1.0);
|
||||||
glRotatef(-90.0 * Xpos, 0, 0, 1);
|
glRotatef(-90.0 * Xpos, 0, 0, 1);
|
||||||
|
|
||||||
|
#if defined(GL_ARB_occlusion_query)
|
||||||
#if TEST_DISPLAY_LISTS
|
#if TEST_DISPLAY_LISTS
|
||||||
glNewList(10, GL_COMPILE);
|
glNewList(10, GL_COMPILE);
|
||||||
glBeginQueryARB(GL_SAMPLES_PASSED_ARB, OccQuery);
|
glBeginQueryARB(GL_SAMPLES_PASSED_ARB, OccQuery);
|
||||||
@@ -152,6 +153,7 @@ static void Display( void )
|
|||||||
/* turn off occlusion testing */
|
/* turn off occlusion testing */
|
||||||
glColorMask(1, 1, 1, 1);
|
glColorMask(1, 1, 1, 1);
|
||||||
glDepthMask(GL_TRUE);
|
glDepthMask(GL_TRUE);
|
||||||
|
#endif /* GL_ARB_occlusion_query */
|
||||||
|
|
||||||
/* draw the orange rect, so we can see what's going on */
|
/* draw the orange rect, so we can see what's going on */
|
||||||
glColor3f(0.8, 0.5, 0);
|
glColor3f(0.8, 0.5, 0);
|
||||||
@@ -173,6 +175,7 @@ static void Display( void )
|
|||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
|
|
||||||
glColor3f(1, 1, 1);
|
glColor3f(1, 1, 1);
|
||||||
|
#if defined(GL_ARB_occlusion_query)
|
||||||
sprintf(s, " %4d Fragments Visible", passed);
|
sprintf(s, " %4d Fragments Visible", passed);
|
||||||
glRasterPos3f(-0.50, -0.7, 0);
|
glRasterPos3f(-0.50, -0.7, 0);
|
||||||
PrintString(s);
|
PrintString(s);
|
||||||
@@ -180,6 +183,10 @@ static void Display( void )
|
|||||||
glRasterPos3f(-0.25, -0.8, 0);
|
glRasterPos3f(-0.25, -0.8, 0);
|
||||||
PrintString("Fully Occluded");
|
PrintString("Fully Occluded");
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
glRasterPos3f(-0.25, -0.8, 0);
|
||||||
|
PrintString("GL_ARB_occlusion_query not available at compile time");
|
||||||
|
#endif /* GL_ARB_occlusion_query */
|
||||||
|
|
||||||
glutSwapBuffers();
|
glutSwapBuffers();
|
||||||
}
|
}
|
||||||
@@ -238,17 +245,21 @@ static void Init( void )
|
|||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(GL_ARB_occlusion_query)
|
||||||
glGetQueryivARB(GL_SAMPLES_PASSED_ARB, GL_QUERY_COUNTER_BITS_ARB, &bits);
|
glGetQueryivARB(GL_SAMPLES_PASSED_ARB, GL_QUERY_COUNTER_BITS_ARB, &bits);
|
||||||
if (!bits) {
|
if (!bits) {
|
||||||
printf("Hmmm, GL_QUERY_COUNTER_BITS_ARB is zero!\n");
|
printf("Hmmm, GL_QUERY_COUNTER_BITS_ARB is zero!\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
#endif /* GL_ARB_occlusion_query */
|
||||||
|
|
||||||
glGetIntegerv(GL_DEPTH_BITS, &bits);
|
glGetIntegerv(GL_DEPTH_BITS, &bits);
|
||||||
printf("Depthbits: %d\n", bits);
|
printf("Depthbits: %d\n", bits);
|
||||||
|
|
||||||
|
#if defined(GL_ARB_occlusion_query)
|
||||||
glGenQueriesARB(1, &OccQuery);
|
glGenQueriesARB(1, &OccQuery);
|
||||||
assert(OccQuery > 0);
|
assert(OccQuery > 0);
|
||||||
|
#endif /* GL_ARB_occlusion_query */
|
||||||
|
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#define COS(X) cos( (X) * 3.14159/180.0 )
|
#define COS(X) cos( (X) * 3.14159/180.0 )
|
||||||
#define SIN(X) sin( (X) * 3.14159/180.0 )
|
#define SIN(X) sin( (X) * 3.14159/180.0 )
|
||||||
@@ -25,12 +27,12 @@
|
|||||||
GLboolean IndexMode = GL_FALSE;
|
GLboolean IndexMode = GL_FALSE;
|
||||||
GLuint Ball;
|
GLuint Ball;
|
||||||
GLenum Mode;
|
GLenum Mode;
|
||||||
GLfloat Zrot = 0.0, Zstep = 6.0;
|
GLfloat Zrot = 0.0, Zstep = 180.0;
|
||||||
GLfloat Xpos = 0.0, Ypos = 1.0;
|
GLfloat Xpos = 0.0, Ypos = 1.0;
|
||||||
GLfloat Xvel = 0.2, Yvel = 0.0;
|
GLfloat Xvel = 2.0, Yvel = 0.0;
|
||||||
GLfloat Xmin = -4.0, Xmax = 4.0;
|
GLfloat Xmin = -4.0, Xmax = 4.0;
|
||||||
GLfloat Ymin = -3.8, Ymax = 4.0;
|
GLfloat Ymin = -3.8, Ymax = 4.0;
|
||||||
GLfloat G = -0.1;
|
GLfloat G = -9.8;
|
||||||
|
|
||||||
static GLuint
|
static GLuint
|
||||||
make_ball(void)
|
make_ball(void)
|
||||||
@@ -149,10 +151,17 @@ static void
|
|||||||
idle(void)
|
idle(void)
|
||||||
{
|
{
|
||||||
static float vel0 = -100.0;
|
static float vel0 = -100.0;
|
||||||
|
static double t0 = -1.;
|
||||||
|
double t, dt;
|
||||||
|
t = glutGet(GLUT_ELAPSED_TIME) / 1000.;
|
||||||
|
if (t0 < 0.)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
Zrot += Zstep;
|
Zrot += Zstep*dt;
|
||||||
|
|
||||||
Xpos += Xvel;
|
Xpos += Xvel*dt;
|
||||||
if (Xpos >= Xmax) {
|
if (Xpos >= Xmax) {
|
||||||
Xpos = Xmax;
|
Xpos = Xmax;
|
||||||
Xvel = -Xvel;
|
Xvel = -Xvel;
|
||||||
@@ -163,8 +172,8 @@ idle(void)
|
|||||||
Xvel = -Xvel;
|
Xvel = -Xvel;
|
||||||
Zstep = -Zstep;
|
Zstep = -Zstep;
|
||||||
}
|
}
|
||||||
Ypos += Yvel;
|
Ypos += Yvel*dt;
|
||||||
Yvel += G;
|
Yvel += G*dt;
|
||||||
if (Ypos < Ymin) {
|
if (Ypos < Ymin) {
|
||||||
Ypos = Ymin;
|
Ypos = Ymin;
|
||||||
if (vel0 == -100.0)
|
if (vel0 == -100.0)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "GL/glut.h"
|
#include "GL/glut.h"
|
||||||
#include "../util/readtex.c" /* a hack */
|
#include "readtex.h"
|
||||||
|
|
||||||
|
|
||||||
static GLfloat Xrot = 0, Yrot = 0;
|
static GLfloat Xrot = 0, Yrot = 0;
|
||||||
|
|||||||
@@ -44,24 +44,30 @@ realclean :
|
|||||||
|
|
||||||
bounce.exe; : bounce.obj $(LIB_DEP)
|
bounce.exe; : bounce.obj $(LIB_DEP)
|
||||||
clearspd.exe; : clearspd.obj $(LIB_DEP)
|
clearspd.exe; : clearspd.obj $(LIB_DEP)
|
||||||
drawpix.exe; : drawpix.obj $(LIB_DEP)
|
drawpix.exe; : drawpix.obj $(LIB_DEP) [-.util]readtex.obj
|
||||||
|
cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
|
||||||
gamma.exe; : gamma.obj $(LIB_DEP)
|
gamma.exe; : gamma.obj $(LIB_DEP)
|
||||||
gears.exe; : gears.obj $(LIB_DEP)
|
gears.exe; : gears.obj $(LIB_DEP)
|
||||||
glinfo.exe; : glinfo.obj $(LIB_DEP)
|
glinfo.exe; : glinfo.obj $(LIB_DEP)
|
||||||
glutfx.exe; : glutfx.obj $(LIB_DEP)
|
glutfx.exe; : glutfx.obj $(LIB_DEP)
|
||||||
isosurf.exe; : isosurf.obj $(LIB_DEP)
|
isosurf.exe; : isosurf.obj $(LIB_DEP) [-.util]readtex.obj
|
||||||
|
cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
|
||||||
morph3d.exe; : morph3d.obj $(LIB_DEP)
|
morph3d.exe; : morph3d.obj $(LIB_DEP)
|
||||||
osdemo.exe; : osdemo.obj $(LIB_DEP)
|
osdemo.exe; : osdemo.obj $(LIB_DEP)
|
||||||
paltex.exe; : paltex.obj $(LIB_DEP)
|
paltex.exe; : paltex.obj $(LIB_DEP)
|
||||||
pointblast.exe; : pointblast.obj $(LIB_DEP)
|
pointblast.exe; : pointblast.obj $(LIB_DEP)
|
||||||
reflect.exe; : reflect.obj $(LIB_DEP)
|
reflect.exe; : reflect.obj [-.util]readtex.obj [-.util]showbuffer.obj\
|
||||||
|
$(LIB_DEP)
|
||||||
|
cxxlink $(MMS$TARGET_NAME),[-.util]readtex,showbuffer,$(GL_LIBS)
|
||||||
spectex.exe; : spectex.obj $(LIB_DEP)
|
spectex.exe; : spectex.obj $(LIB_DEP)
|
||||||
stex3d.exe; : stex3d.obj $(LIB_DEP)
|
stex3d.exe; : stex3d.obj $(LIB_DEP)
|
||||||
tessdemo.exe; : tessdemo.obj $(LIB_DEP)
|
tessdemo.exe; : tessdemo.obj $(LIB_DEP)
|
||||||
texcyl.exe; : texcyl.obj $(LIB_DEP)
|
texcyl.exe; : texcyl.obj [-.util]readtex.obj $(LIB_DEP)
|
||||||
|
cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
|
||||||
texobj.exe; : texobj.obj $(LIB_DEP)
|
texobj.exe; : texobj.obj $(LIB_DEP)
|
||||||
trispd.exe; : trispd.obj $(LIB_DEP)
|
trispd.exe; : trispd.obj $(LIB_DEP)
|
||||||
winpos.exe; : winpos.obj $(LIB_DEP)
|
winpos.exe; : winpos.obj [-.util]readtex.obj $(LIB_DEP)
|
||||||
|
cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
|
||||||
|
|
||||||
|
|
||||||
bounce.obj : bounce.c
|
bounce.obj : bounce.c
|
||||||
|
|||||||
@@ -8,9 +8,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
#include "readtex.c"
|
#include "readtex.h"
|
||||||
|
|
||||||
#define IMAGE_FILE "../images/girl.rgb"
|
#define IMAGE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include "readtex.c"
|
#include "readtex.h"
|
||||||
|
|
||||||
#ifdef XMESA
|
#ifdef XMESA
|
||||||
#include "GL/xmesa.h"
|
#include "GL/xmesa.h"
|
||||||
@@ -98,8 +99,8 @@ part;
|
|||||||
static float treepos[NUMTREE][3];
|
static float treepos[NUMTREE][3];
|
||||||
|
|
||||||
static float black[3] = { 0.0, 0.0, 0.0 };
|
static float black[3] = { 0.0, 0.0, 0.0 };
|
||||||
static float blu[3] = { 0.0, 0.2, 1.0 };
|
static float blu[3] = { 1.0, 0.2, 0.0 };
|
||||||
static float blu2[3] = { 0.0, 1.0, 1.0 };
|
static float blu2[3] = { 1.0, 1.0, 0.0 };
|
||||||
|
|
||||||
static float fogcolor[4] = { 1.0, 1.0, 1.0, 1.0 };
|
static float fogcolor[4] = { 1.0, 1.0, 1.0, 1.0 };
|
||||||
|
|
||||||
@@ -136,7 +137,7 @@ static GLuint treeid;
|
|||||||
static float obs[3] = { 2.0, 1.0, 0.0 };
|
static float obs[3] = { 2.0, 1.0, 0.0 };
|
||||||
static float dir[3];
|
static float dir[3];
|
||||||
static float v = 0.0;
|
static float v = 0.0;
|
||||||
static float alpha = -90.0;
|
static float alpha = -84.0;
|
||||||
static float beta = 90.0;
|
static float beta = 90.0;
|
||||||
|
|
||||||
static float
|
static float
|
||||||
@@ -303,7 +304,7 @@ printhelp(void)
|
|||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "Help");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "Help");
|
||||||
|
|
||||||
glRasterPos2i(60, 390);
|
glRasterPos2i(60, 390);
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "h - Togle Help");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "h - Toggle Help");
|
||||||
|
|
||||||
glRasterPos2i(60, 360);
|
glRasterPos2i(60, 360);
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "t - Increase particle size");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "t - Increase particle size");
|
||||||
@@ -316,9 +317,9 @@ printhelp(void)
|
|||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "R - Decrease emission radius");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "R - Decrease emission radius");
|
||||||
|
|
||||||
glRasterPos2i(60, 240);
|
glRasterPos2i(60, 240);
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "f - Togle Fog");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "f - Toggle Fog");
|
||||||
glRasterPos2i(60, 210);
|
glRasterPos2i(60, 210);
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "s - Togle shadows");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "s - Toggle shadows");
|
||||||
glRasterPos2i(60, 180);
|
glRasterPos2i(60, 180);
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "Arrow Keys - Rotate");
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24, "Arrow Keys - Rotate");
|
||||||
glRasterPos2i(60, 150);
|
glRasterPos2i(60, 150);
|
||||||
@@ -329,7 +330,7 @@ printhelp(void)
|
|||||||
glRasterPos2i(60, 90);
|
glRasterPos2i(60, 90);
|
||||||
if (joyavailable)
|
if (joyavailable)
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24,
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24,
|
||||||
"j - Togle jostick control (Joystick control available)");
|
"j - Toggle jostick control (Joystick control available)");
|
||||||
else
|
else
|
||||||
printstring(GLUT_BITMAP_TIMES_ROMAN_24,
|
printstring(GLUT_BITMAP_TIMES_ROMAN_24,
|
||||||
"(No Joystick control available)");
|
"(No Joystick control available)");
|
||||||
@@ -384,6 +385,12 @@ drawfire(void)
|
|||||||
{
|
{
|
||||||
static char frbuf[80] = "";
|
static char frbuf[80] = "";
|
||||||
int j;
|
int j;
|
||||||
|
static double t0 = -1.;
|
||||||
|
double t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = (t - t0) * 1.0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
dojoy();
|
dojoy();
|
||||||
|
|
||||||
@@ -563,10 +570,10 @@ key(unsigned char key, int x, int y)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'a':
|
case 'a':
|
||||||
v += 0.01;
|
v += 0.0005;
|
||||||
break;
|
break;
|
||||||
case 'z':
|
case 'z':
|
||||||
v -= 0.01;
|
v -= 0.0005;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'j':
|
case 'j':
|
||||||
@@ -709,12 +716,12 @@ main(int ac, char **av)
|
|||||||
/* Default settings */
|
/* Default settings */
|
||||||
|
|
||||||
np = 800;
|
np = 800;
|
||||||
eject_r = 0.1;
|
eject_r = -0.65;
|
||||||
dt = 0.015;
|
dt = 0.015;
|
||||||
eject_vy = 4;
|
eject_vy = 4;
|
||||||
eject_vl = 1;
|
eject_vl = 1;
|
||||||
shadows = 1;
|
shadows = 1;
|
||||||
ridtri = 0.1;
|
ridtri = 0.25;
|
||||||
|
|
||||||
maxage = 1.0 / dt;
|
maxage = 1.0 / dt;
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
#include "readtex.c" /* the compulsory hack */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_FILE "../images/bw.rgb"
|
#define TEXTURE_FILE "../images/bw.rgb"
|
||||||
|
|
||||||
@@ -23,6 +23,10 @@
|
|||||||
|
|
||||||
#define DEPTH 15.0f
|
#define DEPTH 15.0f
|
||||||
|
|
||||||
|
#if !defined(GLAPIENTRYP)
|
||||||
|
# define GLAPIENTRYP *
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void (GLAPIENTRYP GLFOGCOORDFEXTPROC) (GLfloat f);
|
typedef void (GLAPIENTRYP GLFOGCOORDFEXTPROC) (GLfloat f);
|
||||||
typedef void (GLAPIENTRYP GLFOGCOORDPOINTEREXTPROC) (GLenum, GLsizei, const GLvoid *);
|
typedef void (GLAPIENTRYP GLFOGCOORDPOINTEREXTPROC) (GLenum, GLsizei, const GLvoid *);
|
||||||
|
|
||||||
|
|||||||
@@ -37,15 +37,19 @@ static void Display( void )
|
|||||||
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
||||||
|
|
||||||
if (PixelLight) {
|
if (PixelLight) {
|
||||||
|
#if defined(GL_NV_fragment_program)
|
||||||
NAMED_PARAMETER4FV(FragProg, "LightPos", LightPos);
|
NAMED_PARAMETER4FV(FragProg, "LightPos", LightPos);
|
||||||
glEnable(GL_FRAGMENT_PROGRAM_NV);
|
glEnable(GL_FRAGMENT_PROGRAM_NV);
|
||||||
glEnable(GL_VERTEX_PROGRAM_NV);
|
glEnable(GL_VERTEX_PROGRAM_NV);
|
||||||
|
#endif
|
||||||
glDisable(GL_LIGHTING);
|
glDisable(GL_LIGHTING);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
|
glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
|
||||||
|
#if defined(GL_NV_fragment_program)
|
||||||
glDisable(GL_FRAGMENT_PROGRAM_NV);
|
glDisable(GL_FRAGMENT_PROGRAM_NV);
|
||||||
glDisable(GL_VERTEX_PROGRAM_NV);
|
glDisable(GL_VERTEX_PROGRAM_NV);
|
||||||
|
#endif
|
||||||
glEnable(GL_LIGHTING);
|
glEnable(GL_LIGHTING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -216,6 +220,7 @@ static void Init( void )
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(GL_NV_fragment_program)
|
||||||
glGenProgramsNV(1, &FragProg);
|
glGenProgramsNV(1, &FragProg);
|
||||||
assert(FragProg > 0);
|
assert(FragProg > 0);
|
||||||
glGenProgramsNV(1, &VertProg);
|
glGenProgramsNV(1, &VertProg);
|
||||||
@@ -243,6 +248,7 @@ static void Init( void )
|
|||||||
glBindProgramNV(GL_VERTEX_PROGRAM_NV, VertProg);
|
glBindProgramNV(GL_VERTEX_PROGRAM_NV, VertProg);
|
||||||
glTrackMatrixNV(GL_VERTEX_PROGRAM_NV, 0, GL_MODELVIEW_PROJECTION_NV, GL_IDENTITY_NV);
|
glTrackMatrixNV(GL_VERTEX_PROGRAM_NV, 0, GL_MODELVIEW_PROJECTION_NV, GL_IDENTITY_NV);
|
||||||
glTrackMatrixNV(GL_VERTEX_PROGRAM_NV, 4, GL_MODELVIEW, GL_INVERSE_TRANSPOSE_NV);
|
glTrackMatrixNV(GL_VERTEX_PROGRAM_NV, 4, GL_MODELVIEW, GL_INVERSE_TRANSPOSE_NV);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Misc init
|
* Misc init
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 3-D gear wheels. This program is in the public domain.
|
* 3-D gear wheels. This program is in the public domain.
|
||||||
*
|
*
|
||||||
@@ -28,6 +27,7 @@ static GLint T0 = 0;
|
|||||||
static GLint Frames = 0;
|
static GLint Frames = 0;
|
||||||
static GLint autoexit = 0;
|
static GLint autoexit = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
Draw a gear wheel. You'll probably want to call this function when
|
Draw a gear wheel. You'll probably want to call this function when
|
||||||
@@ -215,7 +215,14 @@ draw(void)
|
|||||||
static void
|
static void
|
||||||
idle(void)
|
idle(void)
|
||||||
{
|
{
|
||||||
angle += 2.0;
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
|
angle += 70.0 * dt; /* 90 degrees per second */
|
||||||
glutPostRedisplay();
|
glutPostRedisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -912,14 +912,18 @@ draw (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
idle (void)
|
idle (void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
for (i = 0; i < number_of_gears; i++)
|
for (i = 0; i < number_of_gears; i++)
|
||||||
g[i].angle += g[i].angular_velocity;
|
g[i].angle += g[i].angular_velocity * dt;
|
||||||
glutPostRedisplay();
|
glutPostRedisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ APOSITION = -7.000 0.000 0.000
|
|||||||
ACOLOR = 0.800 0.500 0.200
|
ACOLOR = 0.800 0.500 0.200
|
||||||
ALENGTH = 6.000
|
ALENGTH = 6.000
|
||||||
AMOTORED = 1
|
AMOTORED = 1
|
||||||
AANGULARVELOCITY = 2.000
|
AANGULARVELOCITY = 90.000
|
||||||
ADIRECTION = 1
|
ADIRECTION = 1
|
||||||
|
|
||||||
ANAME = AXLE2
|
ANAME = AXLE2
|
||||||
|
|||||||
@@ -21,9 +21,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define SPECULAR_TEXTURE_FILE "../images/reflect.rgb"
|
#define SPECULAR_TEXTURE_FILE "../images/reflect.rgb"
|
||||||
#define BASE_TEXTURE_FILE "../images/tile.rgb"
|
#define BASE_TEXTURE_FILE "../images/tile.rgb"
|
||||||
@@ -43,7 +44,7 @@ static GLuint Object = 0;
|
|||||||
static GLboolean Animate = GL_TRUE;
|
static GLboolean Animate = GL_TRUE;
|
||||||
|
|
||||||
static GLfloat Xrot = 0.0, Yrot = 0.0, Zrot = 0.0;
|
static GLfloat Xrot = 0.0, Yrot = 0.0, Zrot = 0.0;
|
||||||
static GLfloat DXrot = 1.0, DYrot = 2.5;
|
static GLfloat DXrot = 20.0, DYrot = 50.;
|
||||||
|
|
||||||
static GLfloat Black[4] = { 0, 0, 0, 0 };
|
static GLfloat Black[4] = { 0, 0, 0, 0 };
|
||||||
static GLfloat White[4] = { 1, 1, 1, 1 };
|
static GLfloat White[4] = { 1, 1, 1, 1 };
|
||||||
@@ -58,13 +59,18 @@ static GLint T0 = 0;
|
|||||||
static GLint Frames = 0;
|
static GLint Frames = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void Idle( void )
|
static void Idle( void )
|
||||||
{
|
{
|
||||||
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
if (Animate) {
|
if (Animate) {
|
||||||
Xrot += DXrot;
|
Xrot += DXrot*dt;
|
||||||
Yrot += DYrot;
|
Yrot += DYrot*dt;
|
||||||
glutPostRedisplay();
|
glutPostRedisplay();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <time.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if defined (WIN32)|| defined(_WIN32)
|
#if defined (WIN32)|| defined(_WIN32)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
#include "readtex.c"
|
#include "readtex.h"
|
||||||
|
|
||||||
#ifdef XMESA
|
#ifdef XMESA
|
||||||
#include "GL/xmesa.h"
|
#include "GL/xmesa.h"
|
||||||
@@ -543,6 +543,12 @@ draw(void)
|
|||||||
static GLfloat alpha = 0.0f;
|
static GLfloat alpha = 0.0f;
|
||||||
static GLfloat beta = 0.0f;
|
static GLfloat beta = 0.0f;
|
||||||
static float fr = 0.0;
|
static float fr = 0.0;
|
||||||
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
dojoy();
|
dojoy();
|
||||||
|
|
||||||
@@ -586,8 +592,8 @@ draw(void)
|
|||||||
drawipers(0, FROM_NONE);
|
drawipers(0, FROM_NONE);
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
alpha += 0.5f;
|
alpha += 4.f * dt;
|
||||||
beta += 0.3f;
|
beta += 2.4f * dt;
|
||||||
|
|
||||||
glDisable(GL_LIGHTING);
|
glDisable(GL_LIGHTING);
|
||||||
glDisable(GL_LIGHT0);
|
glDisable(GL_LIGHT0);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include "GL/glut.h"
|
#include "GL/glut.h"
|
||||||
|
|
||||||
#include "readtex.c" /* I know, this is a hack. KW: me too. */
|
#include "readtex.h"
|
||||||
#define TEXTURE_FILE "../images/reflect.rgb"
|
#define TEXTURE_FILE "../images/reflect.rgb"
|
||||||
|
|
||||||
#define LIT 0x00000001
|
#define LIT 0x00000001
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
|
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_FILE "../images/girl.rgb"
|
#define TEXTURE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
|||||||
@@ -660,6 +660,13 @@ static void draw_ico( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void draw ( void ) {
|
static void draw ( void ) {
|
||||||
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
||||||
|
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
@@ -681,7 +688,7 @@ static void draw ( void ) {
|
|||||||
|
|
||||||
glutSwapBuffers();
|
glutSwapBuffers();
|
||||||
|
|
||||||
step+=0.05;
|
step += dt;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void idle_( void )
|
static void idle_( void )
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_1_FILE "../images/girl.rgb"
|
#define TEXTURE_1_FILE "../images/girl.rgb"
|
||||||
#define TEXTURE_2_FILE "../images/reflect.rgb"
|
#define TEXTURE_2_FILE "../images/reflect.rgb"
|
||||||
@@ -36,7 +36,6 @@ static GLfloat drift_increment = 0.005;
|
|||||||
static GLfloat Xrot = 20.0, Yrot = 30.0, Zrot = 0.0;
|
static GLfloat Xrot = 20.0, Yrot = 30.0, Zrot = 0.0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void Idle( void )
|
static void Idle( void )
|
||||||
{
|
{
|
||||||
if (Animate) {
|
if (Animate) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Compile with something like this:
|
* Compile with something like this:
|
||||||
*
|
*
|
||||||
* gcc osdemo16.c -I../include -L../lib -lOSMesa16 -lm -o osdemo16
|
* gcc osdemo16.c -I../../include -L../../lib -lglut -lGLU -lOSMesa16 -lm -o osdemo16
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -128,6 +128,11 @@ static void render_image( void )
|
|||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
|
/* This is very important!!!
|
||||||
|
* Make sure buffered commands are finished!!!
|
||||||
|
*/
|
||||||
|
glFinish();
|
||||||
|
|
||||||
gluDeleteQuadric(qobj);
|
gluDeleteQuadric(qobj);
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -173,6 +178,7 @@ write_targa(const char *filename, const GLushort *buffer, int width, int height)
|
|||||||
for (y=height-1; y>=0; y--) {
|
for (y=height-1; y>=0; y--) {
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
i = (y*width + x) * 4;
|
i = (y*width + x) * 4;
|
||||||
|
/* just write 8 high bits */
|
||||||
fputc(ptr[i+2] >> 8, f); /* write blue */
|
fputc(ptr[i+2] >> 8, f); /* write blue */
|
||||||
fputc(ptr[i+1] >> 8, f); /* write green */
|
fputc(ptr[i+1] >> 8, f); /* write green */
|
||||||
fputc(ptr[i] >> 8, f); /* write red */
|
fputc(ptr[i] >> 8, f); /* write red */
|
||||||
@@ -183,13 +189,13 @@ write_targa(const char *filename, const GLushort *buffer, int width, int height)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
write_ppm(const char *filename, const GLushort *buffer, int width, int height)
|
||||||
{
|
{
|
||||||
const int binary = 0;
|
const int binary = 0;
|
||||||
FILE *f = fopen( filename, "w" );
|
FILE *f = fopen( filename, "w" );
|
||||||
if (f) {
|
if (f) {
|
||||||
int i, x, y;
|
int i, x, y;
|
||||||
const GLubyte *ptr = buffer;
|
const GLushort *ptr = buffer;
|
||||||
if (binary) {
|
if (binary) {
|
||||||
fprintf(f,"P6\n");
|
fprintf(f,"P6\n");
|
||||||
fprintf(f,"# ppm-file created by osdemo.c\n");
|
fprintf(f,"# ppm-file created by osdemo.c\n");
|
||||||
@@ -200,9 +206,10 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
for (y=height-1; y>=0; y--) {
|
for (y=height-1; y>=0; y--) {
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
i = (y*width + x) * 4;
|
i = (y*width + x) * 4;
|
||||||
fputc(ptr[i], f); /* write red */
|
/* just write 8 high bits */
|
||||||
fputc(ptr[i+1], f); /* write green */
|
fputc(ptr[i] >> 8, f); /* write red */
|
||||||
fputc(ptr[i+2], f); /* write blue */
|
fputc(ptr[i+1] >> 8, f); /* write green */
|
||||||
|
fputc(ptr[i+2] >> 8, f); /* write blue */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -216,7 +223,8 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
for (y=height-1; y>=0; y--) {
|
for (y=height-1; y>=0; y--) {
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
i = (y*width + x) * 4;
|
i = (y*width + x) * 4;
|
||||||
fprintf(f, " %3d %3d %3d", ptr[i], ptr[i+1], ptr[i+2]);
|
/* just write 8 high bits */
|
||||||
|
fprintf(f, " %3d %3d %3d", ptr[i] >> 8, ptr[i+1] >> 8, ptr[i+2] >> 8);
|
||||||
counter++;
|
counter++;
|
||||||
if (counter % 5 == 0)
|
if (counter % 5 == 0)
|
||||||
fprintf(f, "\n");
|
fprintf(f, "\n");
|
||||||
@@ -231,7 +239,7 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
|
|
||||||
int main( int argc, char *argv[] )
|
int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
void *buffer;
|
GLushort *buffer;
|
||||||
|
|
||||||
/* Create an RGBA-mode context */
|
/* Create an RGBA-mode context */
|
||||||
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
|
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
|
||||||
@@ -246,7 +254,7 @@ int main( int argc, char *argv[] )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate the image buffer */
|
/* Allocate the image buffer */
|
||||||
buffer = malloc( WIDTH * HEIGHT * 4 * sizeof(GLushort));
|
buffer = (GLushort *) malloc( WIDTH * HEIGHT * 4 * sizeof(GLushort));
|
||||||
if (!buffer) {
|
if (!buffer) {
|
||||||
printf("Alloc image buffer failed!\n");
|
printf("Alloc image buffer failed!\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Compile with something like this:
|
* Compile with something like this:
|
||||||
*
|
*
|
||||||
* gcc osdemo32.c -I../include -L../lib -lOSMesa32 -lm -o osdemo32
|
* gcc osdemo32.c -I../../include -L../../lib -lglut -lGLU -lOSMesa32 -lm -o osdemo32
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -127,6 +127,11 @@ static void render_image( void )
|
|||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
|
/* This is very important!!!
|
||||||
|
* Make sure buffered commands are finished!!!
|
||||||
|
*/
|
||||||
|
glFinish();
|
||||||
|
|
||||||
gluDeleteQuadric(qobj);
|
gluDeleteQuadric(qobj);
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -189,13 +194,13 @@ write_targa(const char *filename, const GLfloat *buffer, int width, int height)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
write_ppm(const char *filename, const GLfloat *buffer, int width, int height)
|
||||||
{
|
{
|
||||||
const int binary = 0;
|
const int binary = 0;
|
||||||
FILE *f = fopen( filename, "w" );
|
FILE *f = fopen( filename, "w" );
|
||||||
if (f) {
|
if (f) {
|
||||||
int i, x, y;
|
int i, x, y;
|
||||||
const GLubyte *ptr = buffer;
|
const GLfloat *ptr = buffer;
|
||||||
if (binary) {
|
if (binary) {
|
||||||
fprintf(f,"P6\n");
|
fprintf(f,"P6\n");
|
||||||
fprintf(f,"# ppm-file created by osdemo.c\n");
|
fprintf(f,"# ppm-file created by osdemo.c\n");
|
||||||
@@ -205,10 +210,17 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
f = fopen( filename, "ab" ); /* reopen in binary append mode */
|
f = fopen( filename, "ab" ); /* reopen in binary append mode */
|
||||||
for (y=height-1; y>=0; y--) {
|
for (y=height-1; y>=0; y--) {
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
|
int r, g, b;
|
||||||
i = (y*width + x) * 4;
|
i = (y*width + x) * 4;
|
||||||
fputc(ptr[i], f); /* write red */
|
r = (int) (ptr[i+0] * 255.0);
|
||||||
fputc(ptr[i+1], f); /* write green */
|
g = (int) (ptr[i+1] * 255.0);
|
||||||
fputc(ptr[i+2], f); /* write blue */
|
b = (int) (ptr[i+2] * 255.0);
|
||||||
|
if (r > 255) r = 255;
|
||||||
|
if (g > 255) g = 255;
|
||||||
|
if (b > 255) b = 255;
|
||||||
|
fputc(r, f); /* write red */
|
||||||
|
fputc(g, f); /* write green */
|
||||||
|
fputc(b, f); /* write blue */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -221,8 +233,15 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
fprintf(f,"255\n");
|
fprintf(f,"255\n");
|
||||||
for (y=height-1; y>=0; y--) {
|
for (y=height-1; y>=0; y--) {
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
|
int r, g, b;
|
||||||
i = (y*width + x) * 4;
|
i = (y*width + x) * 4;
|
||||||
fprintf(f, " %3d %3d %3d", ptr[i], ptr[i+1], ptr[i+2]);
|
r = (int) (ptr[i+0] * 255.0);
|
||||||
|
g = (int) (ptr[i+1] * 255.0);
|
||||||
|
b = (int) (ptr[i+2] * 255.0);
|
||||||
|
if (r > 255) r = 255;
|
||||||
|
if (g > 255) g = 255;
|
||||||
|
if (b > 255) b = 255;
|
||||||
|
fprintf(f, " %3d %3d %3d", r, g, b);
|
||||||
counter++;
|
counter++;
|
||||||
if (counter % 5 == 0)
|
if (counter % 5 == 0)
|
||||||
fprintf(f, "\n");
|
fprintf(f, "\n");
|
||||||
@@ -237,7 +256,7 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
|
|||||||
|
|
||||||
int main( int argc, char *argv[] )
|
int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
void *buffer;
|
GLfloat *buffer;
|
||||||
|
|
||||||
/* Create an RGBA-mode context */
|
/* Create an RGBA-mode context */
|
||||||
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
|
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
|
||||||
@@ -252,7 +271,7 @@ int main( int argc, char *argv[] )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate the image buffer */
|
/* Allocate the image buffer */
|
||||||
buffer = malloc( WIDTH * HEIGHT * 4 * sizeof(GLfloat));
|
buffer = (GLfloat *) malloc( WIDTH * HEIGHT * 4 * sizeof(GLfloat));
|
||||||
if (!buffer) {
|
if (!buffer) {
|
||||||
printf("Alloc image buffer failed!\n");
|
printf("Alloc image buffer failed!\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_FILE "../images/girl.rgb"
|
#define TEXTURE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
|||||||
@@ -79,7 +79,6 @@ static float float_rand(void) { return rand() / (float) RAND_MAX; }
|
|||||||
|
|
||||||
#define MEAN_VELOCITY 3.0
|
#define MEAN_VELOCITY 3.0
|
||||||
#define GRAVITY 2.0
|
#define GRAVITY 2.0
|
||||||
#define TIME_DELTA 0.025 /* The speed of time. */
|
|
||||||
|
|
||||||
/* Modeling units of ground extent in each X and Z direction. */
|
/* Modeling units of ground extent in each X and Z direction. */
|
||||||
#define EDGE 12
|
#define EDGE 12
|
||||||
@@ -114,6 +113,13 @@ updatePointList(void)
|
|||||||
float distance;
|
float distance;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
static double t0 = -1.;
|
||||||
|
double dt, t = glutGet(GLUT_ELAPSED_TIME) / 1000.0;
|
||||||
|
if (t0 < 0.0)
|
||||||
|
t0 = t;
|
||||||
|
dt = t - t0;
|
||||||
|
t0 = t;
|
||||||
|
|
||||||
motion = 0;
|
motion = 0;
|
||||||
for (i=0; i<numPoints; i++) {
|
for (i=0; i<numPoints; i++) {
|
||||||
distance = pointVelocity[i][0] * theTime;
|
distance = pointVelocity[i][0] * theTime;
|
||||||
@@ -139,9 +145,9 @@ updatePointList(void)
|
|||||||
pointTime[i] = 0.0; /* Reset the particles sense of up time. */
|
pointTime[i] = 0.0; /* Reset the particles sense of up time. */
|
||||||
}
|
}
|
||||||
motion = 1;
|
motion = 1;
|
||||||
pointTime[i] += TIME_DELTA;
|
pointTime[i] += dt;
|
||||||
}
|
}
|
||||||
theTime += TIME_DELTA;
|
theTime += dt;
|
||||||
if (!motion && !spin) {
|
if (!motion && !spin) {
|
||||||
if (repeat) {
|
if (repeat) {
|
||||||
makePointList();
|
makePointList();
|
||||||
@@ -264,7 +270,7 @@ menu(int option)
|
|||||||
case 0:
|
case 0:
|
||||||
makePointList();
|
makePointList();
|
||||||
break;
|
break;
|
||||||
#if GL_ARB_point_parameters
|
#ifdef GL_ARB_point_parameters
|
||||||
case 1:
|
case 1:
|
||||||
glPointParameterfvARB(GL_POINT_DISTANCE_ATTENUATION_ARB, constant);
|
glPointParameterfvARB(GL_POINT_DISTANCE_ATTENUATION_ARB, constant);
|
||||||
break;
|
break;
|
||||||
@@ -281,7 +287,7 @@ menu(int option)
|
|||||||
case 5:
|
case 5:
|
||||||
blend = 0;
|
blend = 0;
|
||||||
break;
|
break;
|
||||||
#if GL_ARB_point_parameters
|
#ifdef GL_ARB_point_parameters
|
||||||
case 6:
|
case 6:
|
||||||
glPointParameterfARB(GL_POINT_FADE_THRESHOLD_SIZE_ARB, 1.0);
|
glPointParameterfARB(GL_POINT_FADE_THRESHOLD_SIZE_ARB, 1.0);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user