Compare commits
852 Commits
mesa_texma
...
texmem_0_3
Author | SHA1 | Date | |
---|---|---|---|
|
814cae6a45 | ||
|
410673f64c | ||
|
a83a3cfa1c | ||
|
da89238b13 | ||
|
984387b89c | ||
|
93bc5e8402 | ||
|
43722cae42 | ||
|
f397a2a1e5 | ||
|
87a0312068 | ||
|
ee525436cc | ||
|
520ba25dc3 | ||
|
6f9dc91045 | ||
|
d17637d47f | ||
|
980a25cd92 | ||
|
607c474f2d | ||
|
2f54146c1f | ||
|
72aeeef7c3 | ||
|
dadc8e2a50 | ||
|
02d401b475 | ||
|
9d695abcac | ||
|
e070007d16 | ||
|
39c4c8d54b | ||
|
4fa3cf225f | ||
|
1c2c1c4560 | ||
|
e3904516bb | ||
|
ceb222798b | ||
|
6abcf6a3d3 | ||
|
db0ed8942f | ||
|
bd9f38ccaa | ||
|
b15421c22b | ||
|
5db0e131ef | ||
|
b249ff8a86 | ||
|
9d6e0f5d64 | ||
|
4f8549634e | ||
|
3345ab8ccf | ||
|
cd3c9febda | ||
|
8c58a32360 | ||
|
0d646ea3a8 | ||
|
6a33e6d221 | ||
|
fc4bc6fc97 | ||
|
4239cfd534 | ||
|
b0902a4158 | ||
|
269219dc05 | ||
|
5dbadd418c | ||
|
71bce51324 | ||
|
308d377ca8 | ||
|
4f39d22c29 | ||
|
8dab7963b7 | ||
|
ec30116c9f | ||
|
5ac3ad7722 | ||
|
fe239744aa | ||
|
137dcd4a46 | ||
|
0d7755fc73 | ||
|
c863e63549 | ||
|
62920e2ab2 | ||
|
ce3885fc5f | ||
|
bf0c1ca618 | ||
|
64bc9caa1c | ||
|
89a2ea6fd3 | ||
|
41123a85ec | ||
|
f10469abe8 | ||
|
4a74de797c | ||
|
c745394242 | ||
|
f9f3de8c31 | ||
|
3d0a073a71 | ||
|
219ee91fa8 | ||
|
632eae3fec | ||
|
f378bcd8bf | ||
|
ded29089f3 | ||
|
527c05eb2a | ||
|
365582dd6f | ||
|
cc738e004f | ||
|
f05e7eba95 | ||
|
90d7b9c9eb | ||
|
e724324894 | ||
|
9a4f15ee59 | ||
|
689df543db | ||
|
667dd3c3e8 | ||
|
fe3242f00a | ||
|
e8947a5fa0 | ||
|
91dbc04d5e | ||
|
32bf274f78 | ||
|
fc434622b3 | ||
|
4cc87c7248 | ||
|
c26999fd2c | ||
|
d2ac9ab6ee | ||
|
39dd5196e6 | ||
|
0e6ef1b1cd | ||
|
32d61d0616 | ||
|
a7722cb794 | ||
|
c28399baa7 | ||
|
a97492f4df | ||
|
9d9d7b1dee | ||
|
122629f279 | ||
|
459db7bd72 | ||
|
a623e008c6 | ||
|
2f12458fb3 | ||
|
a1a6ac4af4 | ||
|
4e2de9531e | ||
|
ad15866ef0 | ||
|
0749e2723b | ||
|
69ddf6cc41 | ||
|
114ecb9d67 | ||
|
df926955be | ||
|
813e56db51 | ||
|
f81b1dbe37 | ||
|
416ac254c2 | ||
|
f4e46e1a46 | ||
|
7ef4a07165 | ||
|
883f9891cb | ||
|
d9eff8ba19 | ||
|
b8528ea55e | ||
|
e5c28321b2 | ||
|
e77875dcbe | ||
|
59cfd3cd3f | ||
|
d8bb5ea967 | ||
|
c04bb519e1 | ||
|
c60bcc8966 | ||
|
c0eb777cd8 | ||
|
17b5063c6f | ||
|
aead688e7f | ||
|
bbe197ec1d | ||
|
85b4ae0654 | ||
|
b9920ba7b7 | ||
|
27908d2bcb | ||
|
04f43226a8 | ||
|
8c140c9c37 | ||
|
3ae1905744 | ||
|
218ba1ff54 | ||
|
5906acad08 | ||
|
1ff8daf21e | ||
|
1ad914575a | ||
|
525eb0b621 | ||
|
f385cf115a | ||
|
c6e1784062 | ||
|
2922aa236f | ||
|
77afb43519 | ||
|
46c1419c93 | ||
|
bf35d70635 | ||
|
69f31f5475 | ||
|
bfb2729f9e | ||
|
a6c72b67f6 | ||
|
527cd2544f | ||
|
be9282bf0b | ||
|
0cdf2d7413 | ||
|
f63623779a | ||
|
2893072967 | ||
|
66c9be06f9 | ||
|
c7e164f091 | ||
|
d179e16501 | ||
|
9f6798d6e1 | ||
|
7c583f5d11 | ||
|
f7f5b2c415 | ||
|
ff3a5b1842 | ||
|
8ca6250d72 | ||
|
ff5b590382 | ||
|
787f4965a2 | ||
|
b10ea9843b | ||
|
6c33475424 | ||
|
7a7aa2aabb | ||
|
4063b1730d | ||
|
291fd257eb | ||
|
caf0176472 | ||
|
4e0617849c | ||
|
9671548424 | ||
|
199729ff27 | ||
|
78a6000cf2 | ||
|
0deb088cf0 | ||
|
3cb56804ca | ||
|
0e794a1bc6 | ||
|
b4517527eb | ||
|
5fb9f80e37 | ||
|
942b5b7bc0 | ||
|
feb0ff11e5 | ||
|
4cd9e5c3c9 | ||
|
bd0bfd1dc2 | ||
|
c28834bfbb | ||
|
1ec9ed4f25 | ||
|
4afcd8aa8b | ||
|
161de10ce8 | ||
|
11fceb19d3 | ||
|
16d1024f27 | ||
|
e6a17b6052 | ||
|
385f23edf9 | ||
|
c0168fabed | ||
|
65897c04c8 | ||
|
c97c5f0b6b | ||
|
c3c64383ca | ||
|
be906fe05e | ||
|
2d77b25c27 | ||
|
9960ddcd66 | ||
|
0b994ef589 | ||
|
d048b7d36e | ||
|
4f68411e77 | ||
|
62e1fae858 | ||
|
62dc134771 | ||
|
3c18d49607 | ||
|
ee06106082 | ||
|
2d087480b4 | ||
|
e49aea9cef | ||
|
f9d88c8204 | ||
|
4df010b296 | ||
|
34a3779aae | ||
|
7dfdf3a5b7 | ||
|
44b82dffe8 | ||
|
5c7c5a762e | ||
|
1c546ae552 | ||
|
8bc00c2047 | ||
|
212d7e8369 | ||
|
73e73ffdd5 | ||
|
bd1e587ebe | ||
|
0395cc01fd | ||
|
c25eb99f95 | ||
|
18d0efb555 | ||
|
9853aac495 | ||
|
a3feff414f | ||
|
48c03d7c9f | ||
|
d2fb24a671 | ||
|
f2ce358331 | ||
|
c8f8fbecd7 | ||
|
0e0e3b05ab | ||
|
050d39b3f4 | ||
|
ee34e6ef71 | ||
|
6254d59043 | ||
|
51eb359ea9 | ||
|
5b90cf2f2f | ||
|
da4b01211b | ||
|
4812a59754 | ||
|
6acc6dd0c4 | ||
|
52c5d9c5b7 | ||
|
5dbd0a400a | ||
|
11ea8cb0a2 | ||
|
ee7e58e111 | ||
|
a0daa1220f | ||
|
3ebf0418a9 | ||
|
0bc09bdace | ||
|
0c65604eeb | ||
|
d6213e6023 | ||
|
808809b061 | ||
|
37474eca68 | ||
|
9248882ca2 | ||
|
9ba2006594 | ||
|
2f42558050 | ||
|
4cb9fffa7e | ||
|
3696f0ee1d | ||
|
6f172f7aba | ||
|
98c791b543 | ||
|
65ced47453 | ||
|
21fbdb14e9 | ||
|
79d8db77b9 | ||
|
2b04dd9d2c | ||
|
b302419abe | ||
|
5377ac80dc | ||
|
fe57ed4f25 | ||
|
4d3ab19abf | ||
|
1ec9b5a5a9 | ||
|
e689a7fc6a | ||
|
49db174df5 | ||
|
9efe17ed91 | ||
|
fe94d0b335 | ||
|
b18191cf30 | ||
|
9400550c16 | ||
|
55ad3cc055 | ||
|
a8c4242395 | ||
|
e4cb9cd167 | ||
|
8333012b56 | ||
|
1d0fa45bc1 | ||
|
6be8127ea4 | ||
|
51fec69ea6 | ||
|
4decba90be | ||
|
23b7c7dc14 | ||
|
44d5c8668a | ||
|
b20cdf1d28 | ||
|
919f6a070c | ||
|
76b6e88e56 | ||
|
8a61821057 | ||
|
04fa003a50 | ||
|
65a51c0d62 | ||
|
5a67af97fa | ||
|
1798d9a8a4 | ||
|
0c1cbd5805 | ||
|
d9736db667 | ||
|
f5a2ac95c3 | ||
|
fe9026d04a | ||
|
a6f7f10efa | ||
|
b8f2f6fee1 | ||
|
acc9566b86 | ||
|
17befff800 | ||
|
8065c120c4 | ||
|
64da16146f | ||
|
5ddc53f899 | ||
|
7e3fa7e837 | ||
|
b0b6d1abe5 | ||
|
226d0187b5 | ||
|
04d5d16415 | ||
|
89ffca52ac | ||
|
7ac5b7b934 | ||
|
b52f02121b | ||
|
2eb88c1752 | ||
|
cbb19930b3 | ||
|
20e11b2332 | ||
|
4e470db0b9 | ||
|
5ec34f0ff9 | ||
|
083f8111aa | ||
|
68bc7df638 | ||
|
fd02ca7711 | ||
|
e35b9058ce | ||
|
d44248ca00 | ||
|
6a74f65c58 | ||
|
d2e5598cd3 | ||
|
e2db790a46 | ||
|
3c30b35134 | ||
|
23a5c57cee | ||
|
0ca9082cbd | ||
|
787fd58186 | ||
|
5e51ebd8eb | ||
|
0d957ca400 | ||
|
3d8a791ff9 | ||
|
c717ffa146 | ||
|
7d848c3308 | ||
|
9cc115e417 | ||
|
4c6319db9c | ||
|
b99c801f73 | ||
|
cea0c74bcb | ||
|
601c02f783 | ||
|
bd4256acfd | ||
|
0b9d7e477a | ||
|
969c43108e | ||
|
b4c5905549 | ||
|
b6e92d090c | ||
|
563f8ad50a | ||
|
21ef956e9a | ||
|
a67330d157 | ||
|
d1b40400d6 | ||
|
ecf2e5b0a1 | ||
|
d2b9e1c560 | ||
|
d88c67fd81 | ||
|
a1a02e6203 | ||
|
32c2f939e6 | ||
|
2ca741ad4b | ||
|
5e2e96b6f0 | ||
|
c8ea111166 | ||
|
20215ecc7d | ||
|
d77a165eac | ||
|
ed875a4cb3 | ||
|
ad7805dfee | ||
|
f1dbacc6ad | ||
|
5d7ab75b02 | ||
|
88cf5aa783 | ||
|
fa489dd043 | ||
|
aecd02b391 | ||
|
932c2fc291 | ||
|
bb2dd388d0 | ||
|
1e7d84e258 | ||
|
700359ca5a | ||
|
adc0490420 | ||
|
452be7e7ef | ||
|
2b3aab0717 | ||
|
ab13ec10eb | ||
|
791e7b385a | ||
|
008ed1df83 | ||
|
5e4c39dc0e | ||
|
a546769733 | ||
|
c3c19be8e0 | ||
|
5999c5b620 | ||
|
c93c18abf1 | ||
|
71b2504e03 | ||
|
960973b2ec | ||
|
85bc17495b | ||
|
ca8b235188 | ||
|
8a1848bf99 | ||
|
0c7cbf0a7c | ||
|
efbf170cfb | ||
|
9b20b68af1 | ||
|
6717a7aca0 | ||
|
86740f1593 | ||
|
2364d9abd3 | ||
|
ab377ce414 | ||
|
6e2ab82f5c | ||
|
ee251d4313 | ||
|
bea7fe57c1 | ||
|
698b04c735 | ||
|
0157624557 | ||
|
ae7f22f1ef | ||
|
0174d894ef | ||
|
c5b3343e65 | ||
|
9ecd280f33 | ||
|
6a769d97e3 | ||
|
49a80ca2bc | ||
|
c4fe46f0b8 | ||
|
444cd293fd | ||
|
e814d5e89f | ||
|
edc16a5f7a | ||
|
e440bcf41a | ||
|
d44c3e647f | ||
|
a4ebd5f684 | ||
|
65dccf377d | ||
|
faee3f0f1e | ||
|
901ac21938 | ||
|
9c4fd26bca | ||
|
2486267dda | ||
|
6acf1e93a2 | ||
|
cb0ae25a4e | ||
|
94b30dc390 | ||
|
5bdc6fdebc | ||
|
095c6699f4 | ||
|
f12ea2d402 | ||
|
9cd1cc0535 | ||
|
263fff44b4 | ||
|
44a22a2c28 | ||
|
a55842b9b3 | ||
|
95cc7a6dac | ||
|
aa93b4ced0 | ||
|
2f92adb9e0 | ||
|
e60ce392d8 | ||
|
ca98203cd9 | ||
|
b87957d59a | ||
|
ba999b1a3f | ||
|
a95dd106e3 | ||
|
fb87976ef6 | ||
|
8743d00571 | ||
|
34ba50522a | ||
|
8a97946e0a | ||
|
45e05dccd9 | ||
|
3538f81513 | ||
|
34b3b40af9 | ||
|
b5d76b6858 | ||
|
6e542f11c9 | ||
|
53f8b7190e | ||
|
5beff7c6c1 | ||
|
12ad488e59 | ||
|
b3282a3b9d | ||
|
e34bf25d2d | ||
|
2f8496b565 | ||
|
d55de658b5 | ||
|
fcdc6a7d24 | ||
|
28bc3cdfba | ||
|
3adee0829b | ||
|
1e1af99132 | ||
|
6bef5e7621 | ||
|
9326962f06 | ||
|
a76c216b37 | ||
|
780155ab31 | ||
|
730b26556b | ||
|
61608ecfa7 | ||
|
767ffdcc9f | ||
|
ee4e75bd6f | ||
|
1d886a81ad | ||
|
da238ee06a | ||
|
564b2aa2ef | ||
|
13abf91b42 | ||
|
ad38681a00 | ||
|
56e0ee8efe | ||
|
cbed2f8061 | ||
|
294d9abf6f | ||
|
cb32dcfa33 | ||
|
fe14cf6951 | ||
|
ecc0d10d2d | ||
|
a186c80788 | ||
|
09c8e41955 | ||
|
c4a4864210 | ||
|
c82eadd157 | ||
|
68ad7ca3ba | ||
|
da21ca988a | ||
|
ba23f699f0 | ||
|
ea2b711061 | ||
|
c6f8ae1085 | ||
|
342d1de38c | ||
|
bb38cadb1c | ||
|
d90ad3fd87 | ||
|
3ed16bd9cc | ||
|
6c419be402 | ||
|
3a5ec72125 | ||
|
8c3d15ce28 | ||
|
83a43aca23 | ||
|
ff2b910dd1 | ||
|
9073c40c7e | ||
|
1936019cd1 | ||
|
9f3bcd87db | ||
|
e2af1da1d3 | ||
|
9d3de643d1 | ||
|
d25ad506f2 | ||
|
03593f53e7 | ||
|
0a605f93db | ||
|
51faca1270 | ||
|
f51a32e82a | ||
|
05529fefa4 | ||
|
f4d5b1da7b | ||
|
0dcab2a86a | ||
|
789eb27870 | ||
|
c1c954e81b | ||
|
a1a9858ca3 | ||
|
e099ce85ca | ||
|
dc32eb8f93 | ||
|
a9bcf75103 | ||
|
762c3618f5 | ||
|
5722338ea5 | ||
|
32cd166971 | ||
|
f08f233d6f | ||
|
59ebe1ff77 | ||
|
e80b9c24f4 | ||
|
2e7af79f48 | ||
|
c87809c9ed | ||
|
1979b6b2de | ||
|
900da88dae | ||
|
9ebe3b6d36 | ||
|
28b014ee25 | ||
|
027bb77e02 | ||
|
f8ca99d697 | ||
|
6a9f0a27c3 | ||
|
7473d17268 | ||
|
b7339d7023 | ||
|
b4e9750bf4 | ||
|
607b61a994 | ||
|
1a5fecb4d6 | ||
|
ae76be49eb | ||
|
3c327c9f3a | ||
|
76a0797c32 | ||
|
a9cc078b0e | ||
|
ac619f4912 | ||
|
edd2702287 | ||
|
225148ea07 | ||
|
a824813d22 | ||
|
5bb5a1908f | ||
|
a951c80ae4 | ||
|
808a678d85 | ||
|
d61c1cc7c9 | ||
|
cf69d09202 | ||
|
b927a75979 | ||
|
5ab5517ba8 | ||
|
05ddc4a6c5 | ||
|
b3208c2de9 | ||
|
1ee92f984b | ||
|
75f81ad5f9 | ||
|
b100484145 | ||
|
278736ff6f | ||
|
57b61638af | ||
|
09b6b9e9c3 | ||
|
482d9dd21d | ||
|
9e8659f346 | ||
|
e3f41ce611 | ||
|
3a3e63dc4f | ||
|
3a46dff27d | ||
|
29d833bd52 | ||
|
9305cba6a7 | ||
|
f2ad1b60c0 | ||
|
df3d4e0bb9 | ||
|
6652dc8aac | ||
|
7da1daf0a2 | ||
|
18b72d184c | ||
|
ef5b48dea1 | ||
|
2cd4056fae | ||
|
fb0175db93 | ||
|
aa70d92a13 | ||
|
aba4967150 | ||
|
174ce730c6 | ||
|
48547ee129 | ||
|
823c581f7c | ||
|
8982697981 | ||
|
9542537cee | ||
|
c3f2c287ce | ||
|
9e81d6ae3a | ||
|
94d6bf883b | ||
|
84c5d0a789 | ||
|
dd7074736f | ||
|
ef8b89faee | ||
|
159ca321cb | ||
|
ec83f38e2e | ||
|
197d725601 | ||
|
693a66aea9 | ||
|
8ea3353ec3 | ||
|
87af12dbdc | ||
|
a8c9ecfab0 | ||
|
4ecb9f0532 | ||
|
8b186e3695 | ||
|
e43edd3c70 | ||
|
20e15f9381 | ||
|
75a8383e8d | ||
|
920023240c | ||
|
62c325af3f | ||
|
32244ac7e9 | ||
|
3a6d968f37 | ||
|
cec74532bf | ||
|
f331bb0312 | ||
|
c3051df8e1 | ||
|
db79d2abac | ||
|
c19de0b7f6 | ||
|
e5b6eee15d | ||
|
006e183b6e | ||
|
180b0dab8b | ||
|
a85fbb1d36 | ||
|
555478fed6 | ||
|
2742c4e4db | ||
|
2b430ef56a | ||
|
b7a5a9db88 | ||
|
888ab86f85 | ||
|
2526152a10 | ||
|
519a2e7cb7 | ||
|
b687531f69 | ||
|
54b65e080e | ||
|
3076557ca3 | ||
|
4f21180416 | ||
|
c61763b5d2 | ||
|
08e62a1476 | ||
|
0e26ca0834 | ||
|
e44499480f | ||
|
9f6ff49650 | ||
|
c7a5d528c7 | ||
|
b8915340ea | ||
|
1155f64cc0 | ||
|
255e8ebd58 | ||
|
95174c4eb2 | ||
|
f76ff7e4a7 | ||
|
96aa403cee | ||
|
004673d4d1 | ||
|
0ad1bda7a1 | ||
|
e72b745f32 | ||
|
ea4fe661d7 | ||
|
4cbd16ed3f | ||
|
06049e2416 | ||
|
753af3a206 | ||
|
70207b70c5 | ||
|
1bbc203c6e | ||
|
6494541eaa | ||
|
590cd26006 | ||
|
ed4ab13cef | ||
|
af8d39861d | ||
|
c4f2710f9d | ||
|
436d72e994 | ||
|
d76ef5867d | ||
|
0a6040dc2d | ||
|
eab896cc21 | ||
|
f756924fa5 | ||
|
4fafe6390b | ||
|
6fc864b9e6 | ||
|
daffbe99dc | ||
|
8995544bc9 | ||
|
071357096e | ||
|
519b23b21f | ||
|
4991888fa0 | ||
|
34bd1233a9 | ||
|
457fb0e128 | ||
|
7275d4d097 | ||
|
f1038f81e4 | ||
|
c27c382acc | ||
|
5319ed0e53 | ||
|
070f280895 | ||
|
096dd541bd | ||
|
77174f0072 | ||
|
21a4fb4137 | ||
|
19b05d5009 | ||
|
2d2af2dcf7 | ||
|
eec33cc310 | ||
|
0f1d98c422 | ||
|
724df02073 | ||
|
2b17741e1b | ||
|
c6c0f94714 | ||
|
ef8653a838 | ||
|
514a15cea1 | ||
|
ac8b07b3ae | ||
|
e660690985 | ||
|
30655c211c | ||
|
59e0faaa5c | ||
|
eccb6a0698 | ||
|
10f08cc202 | ||
|
b7e3e0d64e | ||
|
19b8322169 | ||
|
2a0d441ebb | ||
|
15e74a6441 | ||
|
0f618b7eb7 | ||
|
8af48fc4d6 | ||
|
e9484e4085 | ||
|
a0cf4ceb36 | ||
|
5042778449 | ||
|
9c32af5bb2 | ||
|
841a823d6d | ||
|
0d57301ba2 | ||
|
12d51beb7e | ||
|
e294d938f2 | ||
|
f1b431b265 | ||
|
9fc897af7a | ||
|
d97ab9a7bd | ||
|
d9894e0d72 | ||
|
dba9c0bafd | ||
|
ba7ea2e697 | ||
|
50f319242b | ||
|
ca007cb449 | ||
|
d75963d258 | ||
|
8ee311d36d | ||
|
2e01918b55 | ||
|
168a7516b1 | ||
|
c107058e7e | ||
|
3bca4f679a | ||
|
9d881ea718 | ||
|
448d23331d | ||
|
66df1731e6 | ||
|
5820f7998a | ||
|
780d270312 | ||
|
e1e03b32ab | ||
|
f8ba07a77d | ||
|
5e01f9a114 | ||
|
f4ab5654d0 | ||
|
da16813f43 | ||
|
9227bca103 | ||
|
81b8aa9ecd | ||
|
14d3ab9662 | ||
|
904ab0c22c | ||
|
afa1df5871 | ||
|
c241d3b06a | ||
|
93da673904 | ||
|
cf6be2d5bd | ||
|
dbfd246db8 | ||
|
190e5595bc | ||
|
68edf28df6 | ||
|
9b8059e536 | ||
|
6d4284e2bf | ||
|
9974540c73 | ||
|
2c61fdafd6 | ||
|
1eca891dbe | ||
|
a231097609 | ||
|
fbe48ef01f | ||
|
71932ef85c | ||
|
6754e17138 | ||
|
f71fd439f5 | ||
|
147f5091a1 | ||
|
176dac684a | ||
|
34b60b001d | ||
|
3073cf21d2 | ||
|
d1d4121682 | ||
|
9ac9605de1 | ||
|
c56f2c49a5 | ||
|
be42f53020 | ||
|
a764b7eae0 | ||
|
4e77669926 | ||
|
2aabdc743f | ||
|
ee2339f673 | ||
|
228d4a6de7 | ||
|
1aad408b5a | ||
|
44a2e96729 | ||
|
5b2ee9c1e9 | ||
|
956fff6345 | ||
|
7b6fd8a0c6 | ||
|
cebad151a1 | ||
|
4f8b59d59b | ||
|
49ad2d4ed1 | ||
|
cc1591667d | ||
|
8986e36f36 | ||
|
fcbbdf9991 | ||
|
97a3023c9f | ||
|
3654193a4d | ||
|
e94be8d5c0 | ||
|
8da9f448f4 | ||
|
555b5fac4f | ||
|
a176bc6c17 | ||
|
ee40c4fb34 | ||
|
a584e846d4 | ||
|
dd02edf381 | ||
|
88d994c3b2 | ||
|
50092f8f33 | ||
|
870ebefb3b | ||
|
a663931204 | ||
|
5bc35a823a | ||
|
dc3a922cf3 | ||
|
0c8e578a38 | ||
|
3699751b0b | ||
|
d5aca8bf0c | ||
|
0c1438d331 | ||
|
a5033a0421 | ||
|
2189d9c96e | ||
|
e7ffe4619f | ||
|
8a54fad6cd | ||
|
ebcbf2f853 | ||
|
41eeae5fb1 | ||
|
02eb9acc5e | ||
|
44e9ccc708 | ||
|
adef42c88d | ||
|
7d376c76c9 | ||
|
a2ea606377 | ||
|
2363fff347 | ||
|
c92e688e15 | ||
|
170f08d4b1 | ||
|
91c30771b6 | ||
|
f236300e3a | ||
|
a73094cc6a | ||
|
42447365b2 | ||
|
b77a225250 | ||
|
d93615fc1e | ||
|
42725d6f54 | ||
|
4cd0e24f86 | ||
|
640ef7f890 | ||
|
63b852f4f9 | ||
|
ea970da0b6 | ||
|
e7276b7fa5 | ||
|
16a14510c4 | ||
|
725740c7c8 | ||
|
5951aab823 | ||
|
865ad82bb8 | ||
|
3b6f62fc73 | ||
|
111281f1fc | ||
|
663138a951 | ||
|
a45f23bed1 | ||
|
4b4cc650e1 | ||
|
781c54a5b8 | ||
|
6a36407a00 | ||
|
7905b19ec9 | ||
|
bd8c742762 | ||
|
9dc8bce88e | ||
|
b2006a40eb | ||
|
daf3093f28 | ||
|
5e9d73153c | ||
|
0b3c2a9a24 | ||
|
5594ddbcfe | ||
|
58e4aa0ec9 | ||
|
0fcfa1c5b0 | ||
|
e797bc8bbe | ||
|
7d82d284e3 | ||
|
a7bd2563c3 | ||
|
875df252a7 | ||
|
e804370014 | ||
|
32551222bc | ||
|
77667266a7 | ||
|
32a6468014 | ||
|
e65ad47a8f | ||
|
edc98df891 | ||
|
fbcb37cac5 | ||
|
3a5bb1729d | ||
|
2219a15b06 | ||
|
74235b1cf1 | ||
|
f3cf636e57 | ||
|
166b0ff973 | ||
|
7f1274fa8b | ||
|
99da2d30eb | ||
|
8b1dc68662 | ||
|
4dd8a8907e | ||
|
65573edd1b | ||
|
f3134ca7ad | ||
|
f7360cd42d | ||
|
39c492bb14 | ||
|
acd1f16b35 | ||
|
c6f35dd8db | ||
|
f087d60f18 | ||
|
41a874f486 | ||
|
ef073b7a75 | ||
|
c90b569238 | ||
|
93a7605b1d | ||
|
b42d5bcaff | ||
|
37e86254c1 | ||
|
216f729a95 | ||
|
38da697546 | ||
|
f93a228c38 | ||
|
1096eae18d | ||
|
361bccb4ec |
35
Makefile
35
Makefile
@@ -33,8 +33,9 @@ realclean:
|
|||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@echo "Installing"
|
@for dir in $(SUBDIRS) ; do \
|
||||||
$(TOP)/bin/installmesa $(DESTDIR)
|
(cd $$dir ; $(MAKE) install) || exit 1 ; \
|
||||||
|
done
|
||||||
|
|
||||||
# DirectFBGL module installation
|
# DirectFBGL module installation
|
||||||
linux-directfb-install:
|
linux-directfb-install:
|
||||||
@@ -55,11 +56,14 @@ $(TOP)/configs/current:
|
|||||||
# Rules to set/install a specific build configuration
|
# Rules to set/install a specific build configuration
|
||||||
aix \
|
aix \
|
||||||
aix-64 \
|
aix-64 \
|
||||||
|
aix-64-static \
|
||||||
aix-gcc \
|
aix-gcc \
|
||||||
aix-static \
|
aix-static \
|
||||||
beos \
|
beos \
|
||||||
darwin \
|
darwin \
|
||||||
darwin-static \
|
darwin-static \
|
||||||
|
darwin-static-x86ppc \
|
||||||
|
darwin-x86ppc \
|
||||||
freebsd \
|
freebsd \
|
||||||
freebsd-dri \
|
freebsd-dri \
|
||||||
freebsd-dri-amd64 \
|
freebsd-dri-amd64 \
|
||||||
@@ -72,6 +76,8 @@ hpux11-32-static \
|
|||||||
hpux11-32-static-nothreads \
|
hpux11-32-static-nothreads \
|
||||||
hpux11-64 \
|
hpux11-64 \
|
||||||
hpux11-64-static \
|
hpux11-64-static \
|
||||||
|
hpux11-ia64 \
|
||||||
|
hpux11-ia64-static \
|
||||||
hpux9 \
|
hpux9 \
|
||||||
hpux9-gcc \
|
hpux9-gcc \
|
||||||
irix6-64 \
|
irix6-64 \
|
||||||
@@ -89,11 +95,15 @@ linux-dri \
|
|||||||
linux-dri-x86 \
|
linux-dri-x86 \
|
||||||
linux-dri-x86-64 \
|
linux-dri-x86-64 \
|
||||||
linux-dri-ppc \
|
linux-dri-ppc \
|
||||||
|
linux-dri-xcb \
|
||||||
linux-indirect \
|
linux-indirect \
|
||||||
linux-fbdev \
|
linux-fbdev \
|
||||||
linux-glide \
|
linux-glide \
|
||||||
|
linux-ia64-icc \
|
||||||
|
linux-ia64-icc-static \
|
||||||
linux-icc \
|
linux-icc \
|
||||||
linux-icc-static \
|
linux-icc-static \
|
||||||
|
linux-osmesa \
|
||||||
linux-osmesa16 \
|
linux-osmesa16 \
|
||||||
linux-osmesa16-static \
|
linux-osmesa16-static \
|
||||||
linux-osmesa32 \
|
linux-osmesa32 \
|
||||||
@@ -113,20 +123,26 @@ linux-x86-32 \
|
|||||||
linux-x86-64 \
|
linux-x86-64 \
|
||||||
linux-x86-64-debug \
|
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 \
|
||||||
openbsd \
|
openbsd \
|
||||||
osf1 \
|
osf1 \
|
||||||
|
osf1-static \
|
||||||
solaris-x86 \
|
solaris-x86 \
|
||||||
solaris-x86-gcc \
|
solaris-x86-gcc \
|
||||||
|
solaris-x86-gcc-static \
|
||||||
sunos4 \
|
sunos4 \
|
||||||
sunos4-gcc \
|
sunos4-gcc \
|
||||||
sunos4-static \
|
sunos4-static \
|
||||||
sunos5 \
|
sunos5 \
|
||||||
sunos5-gcc \
|
sunos5-gcc \
|
||||||
|
sunos5-64-gcc \
|
||||||
sunos5-smp \
|
sunos5-smp \
|
||||||
|
sunos5-v8 \
|
||||||
|
sunos5-v8-static \
|
||||||
|
sunos5-v9 \
|
||||||
|
sunos5-v9-static \
|
||||||
ultrix-gcc:
|
ultrix-gcc:
|
||||||
(cd configs && rm -f current && ln -s $@ current)
|
(cd configs && rm -f current && ln -s $@ current)
|
||||||
$(MAKE) default
|
$(MAKE) default
|
||||||
@@ -134,10 +150,10 @@ ultrix-gcc:
|
|||||||
|
|
||||||
# Rules for making release tarballs
|
# Rules for making release tarballs
|
||||||
|
|
||||||
DIRECTORY = Mesa-6.5
|
DIRECTORY = Mesa-6.5.1
|
||||||
LIB_NAME = MesaLib-6.5
|
LIB_NAME = MesaLib-6.5.1
|
||||||
DEMO_NAME = MesaDemos-6.5
|
DEMO_NAME = MesaDemos-6.5.1
|
||||||
GLUT_NAME = MesaGLUT-6.5
|
GLUT_NAME = MesaGLUT-6.5.1
|
||||||
|
|
||||||
MAIN_FILES = \
|
MAIN_FILES = \
|
||||||
$(DIRECTORY)/Makefile* \
|
$(DIRECTORY)/Makefile* \
|
||||||
@@ -166,6 +182,7 @@ MAIN_FILES = \
|
|||||||
$(DIRECTORY)/include/GL/glx.h \
|
$(DIRECTORY)/include/GL/glx.h \
|
||||||
$(DIRECTORY)/include/GL/glxext.h \
|
$(DIRECTORY)/include/GL/glxext.h \
|
||||||
$(DIRECTORY)/include/GL/glx_mangle.h \
|
$(DIRECTORY)/include/GL/glx_mangle.h \
|
||||||
|
$(DIRECTORY)/include/GL/glfbdev.h \
|
||||||
$(DIRECTORY)/include/GL/mesa_wgl.h \
|
$(DIRECTORY)/include/GL/mesa_wgl.h \
|
||||||
$(DIRECTORY)/include/GL/mglmesa.h \
|
$(DIRECTORY)/include/GL/mglmesa.h \
|
||||||
$(DIRECTORY)/include/GL/osmesa.h \
|
$(DIRECTORY)/include/GL/osmesa.h \
|
||||||
@@ -359,11 +376,15 @@ GLUT_FILES = \
|
|||||||
$(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 \
|
||||||
|
$(DIRECTORY)/src/glut/fbdev/Makefile \
|
||||||
|
$(DIRECTORY)/src/glut/fbdev/cursors.h \
|
||||||
|
$(DIRECTORY)/src/glut/fbdev/glut_fbdev.c \
|
||||||
$(DIRECTORY)/windows/VC6/progs/glut/glut.dsp \
|
$(DIRECTORY)/windows/VC6/progs/glut/glut.dsp \
|
||||||
$(DIRECTORY)/windows/VC7/progs/glut/glut.vcproj
|
$(DIRECTORY)/windows/VC7/progs/glut/glut.vcproj
|
||||||
|
|
||||||
DEPEND_FILES = \
|
DEPEND_FILES = \
|
||||||
$(TOP)/src/mesa/depend \
|
$(TOP)/src/mesa/depend \
|
||||||
|
$(TOP)/src/glx/x11/depend \
|
||||||
$(TOP)/src/glw/depend \
|
$(TOP)/src/glw/depend \
|
||||||
$(TOP)/src/glut/glx/depend \
|
$(TOP)/src/glut/glx/depend \
|
||||||
$(TOP)/src/glu/sgi/depend
|
$(TOP)/src/glu/sgi/depend
|
||||||
|
11
Makefile.DJ
11
Makefile.DJ
@@ -20,9 +20,9 @@
|
|||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
# DOS/DJGPP makefile v1.6 for Mesa
|
# DOS/DJGPP makefile for Mesa
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002 - Daniel Borca
|
# Author: Daniel Borca
|
||||||
# Email : dborca@users.sourceforge.net
|
# Email : dborca@users.sourceforge.net
|
||||||
# Web : http://www.geocities.com/dborca
|
# Web : http://www.geocities.com/dborca
|
||||||
|
|
||||||
@@ -31,9 +31,6 @@
|
|||||||
# Available options:
|
# Available options:
|
||||||
#
|
#
|
||||||
# Environment variables:
|
# Environment variables:
|
||||||
# GLU=[mesa|sgi] specify GLU directory; can be `sgi' (requires GNU/C++)
|
|
||||||
# or `mesa'.
|
|
||||||
# default = mesa
|
|
||||||
# GLIDE path to Glide3 SDK; used with FX.
|
# GLIDE path to Glide3 SDK; used with FX.
|
||||||
# default = $(TOP)/glide3
|
# default = $(TOP)/glide3
|
||||||
# FX=1 build for 3dfx Glide3. Note that this disables
|
# FX=1 build for 3dfx Glide3. Note that this disables
|
||||||
@@ -57,8 +54,6 @@
|
|||||||
|
|
||||||
.PHONY : all libgl libglu libglut clean realclean
|
.PHONY : all libgl libglu libglut clean realclean
|
||||||
|
|
||||||
GLU ?= mesa
|
|
||||||
|
|
||||||
CFLAGS = -Wall -W -pedantic
|
CFLAGS = -Wall -W -pedantic
|
||||||
CFLAGS += -O2 -ffast-math
|
CFLAGS += -O2 -ffast-math
|
||||||
|
|
||||||
@@ -75,7 +70,7 @@ all: libgl libglu libglut
|
|||||||
libgl: lib
|
libgl: lib
|
||||||
$(MAKE) -f Makefile.DJ -C src/mesa
|
$(MAKE) -f Makefile.DJ -C src/mesa
|
||||||
libglu: lib
|
libglu: lib
|
||||||
$(MAKE) -f Makefile.DJ -C src/glu/$(GLU)
|
$(MAKE) -f Makefile.DJ -C src/glu/sgi
|
||||||
libglut: lib
|
libglut: lib
|
||||||
$(MAKE) -f Makefile.DJ -C src/glut/dos
|
$(MAKE) -f Makefile.DJ -C src/glut/dos
|
||||||
|
|
||||||
|
@@ -53,6 +53,8 @@ if [ `uname` = "FreeBSD" ] ; then
|
|||||||
CP_FLAGS="-f"
|
CP_FLAGS="-f"
|
||||||
elif [ `uname` = "Darwin" ] ; then
|
elif [ `uname` = "Darwin" ] ; then
|
||||||
CP_FLAGS="-f"
|
CP_FLAGS="-f"
|
||||||
|
elif [ `uname` = "AIX" ] ; then
|
||||||
|
CP_FLAGS="-fh"
|
||||||
else
|
else
|
||||||
CP_FLAGS="-fd"
|
CP_FLAGS="-fd"
|
||||||
fi
|
fi
|
||||||
@@ -62,7 +64,7 @@ set -v
|
|||||||
|
|
||||||
mkdir ${INCLUDE_DIR}
|
mkdir ${INCLUDE_DIR}
|
||||||
mkdir ${INCLUDE_DIR}/GL
|
mkdir ${INCLUDE_DIR}/GL
|
||||||
mkdir ${INCLUDE_DIR}/GLES
|
# NOT YET: mkdir ${INCLUDE_DIR}/GLES
|
||||||
mkdir ${LIB_DIR}
|
mkdir ${LIB_DIR}
|
||||||
cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL
|
cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL
|
||||||
cp -f ${TOP}/src/glw/*.h ${INCLUDE_DIR}/GL
|
cp -f ${TOP}/src/glw/*.h ${INCLUDE_DIR}/GL
|
||||||
|
182
bin/mklib
182
bin/mklib
@@ -5,7 +5,7 @@
|
|||||||
# Improvements/fixes are welcome.
|
# Improvements/fixes are welcome.
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
# Copyright (C) 1999-2006 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"),
|
||||||
@@ -36,6 +36,7 @@ DEPS=""
|
|||||||
LINK=""
|
LINK=""
|
||||||
CPLUSPLUS=0
|
CPLUSPLUS=0
|
||||||
STATIC=0
|
STATIC=0
|
||||||
|
DLOPEN=0
|
||||||
INSTALLDIR="."
|
INSTALLDIR="."
|
||||||
ARCH="auto"
|
ARCH="auto"
|
||||||
ARCHOPT=""
|
ARCHOPT=""
|
||||||
@@ -64,6 +65,7 @@ do
|
|||||||
echo ' Not observed on all systems at this time.'
|
echo ' Not observed on all systems at this time.'
|
||||||
echo ' -cplusplus link with C++ runtime'
|
echo ' -cplusplus link with C++ runtime'
|
||||||
echo ' -static make a static library (default is dynamic/shared)'
|
echo ' -static make a static library (default is dynamic/shared)'
|
||||||
|
echo ' -dlopen make a shared library suitable for dynamic loading'
|
||||||
echo ' -install DIR put resulting library file(s) in DIR'
|
echo ' -install DIR put resulting library file(s) in DIR'
|
||||||
echo ' -arch ARCH override using `uname` to determine host system'
|
echo ' -arch ARCH override using `uname` to determine host system'
|
||||||
echo ' -archopt OPT specify an extra achitecture-specific option OPT'
|
echo ' -archopt OPT specify an extra achitecture-specific option OPT'
|
||||||
@@ -104,6 +106,9 @@ do
|
|||||||
'-static')
|
'-static')
|
||||||
STATIC=1
|
STATIC=1
|
||||||
;;
|
;;
|
||||||
|
'-dlopen')
|
||||||
|
DLOPEN=1
|
||||||
|
;;
|
||||||
'-install')
|
'-install')
|
||||||
shift 1;
|
shift 1;
|
||||||
INSTALLDIR=$1
|
INSTALLDIR=$1
|
||||||
@@ -175,7 +180,7 @@ fi
|
|||||||
#
|
#
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
|
|
||||||
'Linux' | 'OpenBSD')
|
'Linux' | 'OpenBSD' | 'GNU' | GNU/*)
|
||||||
# we assume gcc
|
# we assume gcc
|
||||||
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
if [ "x$LINK" = "x" ] ; then
|
||||||
@@ -209,18 +214,22 @@ case $ARCH in
|
|||||||
elif [ $STATIC = 1 ] ; then
|
elif [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
||||||
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a
|
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a
|
||||||
rm -f ${LIBNAME}.a
|
LINK="ar"
|
||||||
ar -ru ${LIBNAME}.a ${OBJECTS}
|
OPTS="-ru"
|
||||||
|
# make lib
|
||||||
|
${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS}
|
||||||
ranlib ${LIBNAME}.a
|
ranlib ${LIBNAME}.a
|
||||||
# finish up
|
# finish up
|
||||||
FINAL_LIBS=${LIBNAME}.a
|
FINAL_LIBS=${LIBNAME}.a
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
||||||
if [ $ARCH = 'Linux' ] ; then
|
case $ARCH in 'Linux' | 'GNU' | GNU/*)
|
||||||
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
||||||
else
|
;;
|
||||||
|
*)
|
||||||
OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
if [ $EXPORTS ] ; then
|
if [ $EXPORTS ] ; then
|
||||||
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
||||||
# Make the 'exptmp' file for --version-script option
|
# Make the 'exptmp' file for --version-script option
|
||||||
@@ -276,9 +285,7 @@ case $ARCH in
|
|||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.so"
|
LIBNAME="lib${LIBNAME}.so"
|
||||||
echo "mklib: Making SunOS shared library: " ${LIBNAME}
|
echo "mklib: Making SunOS shared library: " ${LIBNAME}
|
||||||
# XXX OPTS for gcc should be -shared, but that doesn't work.
|
|
||||||
# Using -G does work though.
|
|
||||||
OPTS="-G"
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
if [ "x$LINK" = "x" ] ; then
|
||||||
# -linker was not specified, choose default linker now
|
# -linker was not specified, choose default linker now
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
@@ -298,7 +305,34 @@ case $ARCH in
|
|||||||
LINK="ld"
|
LINK="ld"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "mklib: linker is" ${LINK} ${OPTS}
|
|
||||||
|
# linker options
|
||||||
|
if [ ${LINK} = "ld" -o ${LINK} = "cc" -o ${LINK} = "CC" ] ; then
|
||||||
|
# SunOS tools, -G to make shared libs
|
||||||
|
OPTS="-G"
|
||||||
|
else
|
||||||
|
# gcc linker
|
||||||
|
# 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}" ] ; then
|
||||||
|
OPTS="-m32 -shared -Wl,-Bdynamic"
|
||||||
|
else
|
||||||
|
OPTS="-m64 -shared -Wl,-Bdynamic"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check if objects are SPARC v9
|
||||||
|
# file says: ELF 64-bit MSB relocatable SPARCV9 Version 1
|
||||||
|
set ${OBJECTS}
|
||||||
|
SPARCV9=`file $1 | grep SPARCV9`
|
||||||
|
if [ "${SPARCV9}" ] ; then
|
||||||
|
OPTS="${OPTS} -xarch=v9"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# for debug:
|
||||||
|
#echo "mklib: linker is" ${LINK} ${OPTS}
|
||||||
rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
|
rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||||
${LINK} ${OPTS} -o ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} -o ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
||||||
ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
|
ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||||
@@ -368,26 +402,33 @@ case $ARCH in
|
|||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
||||||
# XXX we should run 'file' on the first object file to determine
|
|
||||||
# if it's o32, n32 or 64 format, as we do for Linux above.
|
# examine first object to determine ABI
|
||||||
if [ $ARCHOPT = "64" ] ; then
|
set ${OBJECTS}
|
||||||
# 64-bit ABI
|
ABI_O32=`file $1 | grep 'ELF 32-bit'`
|
||||||
OPTS="-64 -shared -all"
|
ABI_N32=`file $1 | grep 'ELF N32'`
|
||||||
echo "mklib: Making IRIX 64-bit shared library: " ${LIBNAME}
|
ABI_N64=`file $1 | grep 'ELF 64-bit'`
|
||||||
elif [ $ARCHOPT = "o32" ] ; then
|
if [ "${ABI_O32}" ] ; then
|
||||||
# old 32-bit ABI
|
|
||||||
OPTS="-32 -shared -all"
|
OPTS="-32 -shared -all"
|
||||||
echo "mklib: Making IRIX o32-bit shared library: " ${LIBNAME}
|
ABI="o32-bit"
|
||||||
else
|
elif [ "${ABI_N32}" ] ; then
|
||||||
# new 32-bit ABI
|
|
||||||
OPTS="-n32 -shared -all"
|
OPTS="-n32 -shared -all"
|
||||||
echo "mklib: Making IRIX n32-bit shared library: " ${LIBNAME}
|
ABI="n32-bit"
|
||||||
|
elif [ "${ABI_N64}" ] ; then
|
||||||
|
OPTS="-64 -shared -all"
|
||||||
|
ABI="64-bit"
|
||||||
|
else
|
||||||
|
echo "Error: Unexpected IRIX ABI!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
LINK="CC"
|
LINK="CC"
|
||||||
else
|
else
|
||||||
LINK="ld"
|
LINK="ld"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "mklib: Making IRIX " ${ABI} " shared library: " ${LIBNAME}
|
||||||
${LINK} ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
fi
|
fi
|
||||||
@@ -409,6 +450,10 @@ case $ARCH in
|
|||||||
ar -ruv ${LIBNAME} ${OBJECTS}
|
ar -ruv ${LIBNAME} ${OBJECTS}
|
||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
|
# HP uses a .2 for their current GL/GLU libraries
|
||||||
|
if [ ${LIBNAME} = "GL" -o ${LIBNAME} = "GLU" ] ; then
|
||||||
|
MAJOR=2
|
||||||
|
fi
|
||||||
RUNLIB="lib${LIBNAME}.${MAJOR}"
|
RUNLIB="lib${LIBNAME}.${MAJOR}"
|
||||||
DEVLIB="lib${LIBNAME}.sl"
|
DEVLIB="lib${LIBNAME}.sl"
|
||||||
echo "mklib: Making HP-UX shared library: " ${RUNLIB} ${DEVLIB}
|
echo "mklib: Making HP-UX shared library: " ${RUNLIB} ${DEVLIB}
|
||||||
@@ -418,26 +463,27 @@ case $ARCH in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'AIX' | 'AIX64')
|
'AIX' )
|
||||||
if [ $ARCH = "AIX64" ] ; then
|
# examine first object to determine ABI
|
||||||
|
set ${OBJECTS}
|
||||||
|
ABI_64=`file $1 | grep '64-bit'`
|
||||||
|
if [ "${ABI_64}" ] ; then
|
||||||
X64="-X64"
|
X64="-X64"
|
||||||
|
Q64="-q64"
|
||||||
|
OFILE=shr_64.o
|
||||||
|
else
|
||||||
|
OFILE=shr.o #Want to be consistent with the IBM libGL.a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making AIX static library: " ${LIBNAME}
|
echo "mklib: Making AIX static library: " ${LIBNAME}
|
||||||
rm -f ${LIBNAME}
|
ar -ruv ${X64} ${LIBNAME} ${OBJECTS}
|
||||||
ar -ruv ${X64} ${LIBNAME} ${OBJECTS}
|
FINAL_LIBS=${LIBNAME}
|
||||||
FINAL_LIBS=${LIBNAME}
|
else
|
||||||
else
|
|
||||||
EXPFILE="lib${LIBNAME}.exp"
|
EXPFILE="lib${LIBNAME}.exp"
|
||||||
OFILE=shr.o #Want to be consistent with the IBM libGL.a
|
|
||||||
LIBNAME="lib${LIBNAME}.a" # shared objects are still stored in the .a libraries
|
LIBNAME="lib${LIBNAME}.a" # shared objects are still stored in the .a libraries
|
||||||
if [ $ARCH = "AIX64" ] ; then
|
OPTS="-bE:${EXPFILE} -bM:SRE -bnoentry ${Q64}"
|
||||||
OPTS="-bE:${EXPFILE} -bM:SRE -bnoentry -q64"
|
|
||||||
else
|
|
||||||
OPTS="-bE:${EXPFILE} -bM:SRE -bnoentry"
|
|
||||||
fi
|
|
||||||
rm -f ${EXPFILE} ${OFILE}
|
rm -f ${EXPFILE} ${OFILE}
|
||||||
NM="/bin/nm -eC ${X64}"
|
NM="/bin/nm -eC ${X64}"
|
||||||
echo "#! /usr/lib/${LIBNAME}" > ${EXPFILE}
|
echo "#! /usr/lib/${LIBNAME}" > ${EXPFILE}
|
||||||
@@ -455,8 +501,16 @@ case $ARCH in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}' | sort -u >> ${EXPFILE}
|
}' | sort -u >> ${EXPFILE}
|
||||||
cc ${OPTS} -o ${OFILE} ${OBJECTS} ${DEPS}
|
|
||||||
ar ${X64} -r ${LIBNAME} ${OFILE}
|
# On AIX a shared library is linked differently when
|
||||||
|
# you want to dlopen the file
|
||||||
|
if [ $DLOPEN = "1" ] ; then
|
||||||
|
cc -G ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
|
else
|
||||||
|
cc ${OPTS} -o ${OFILE} ${OBJECTS} ${DEPS}
|
||||||
|
ar ${X64} -r ${LIBNAME} ${OFILE}
|
||||||
|
fi
|
||||||
|
|
||||||
FINAL_LIBS="${LIBNAME}"
|
FINAL_LIBS="${LIBNAME}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@@ -498,20 +552,46 @@ case $ARCH in
|
|||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making Darwin static library: " ${LIBNAME}
|
echo "mklib: Making Darwin static library: " ${LIBNAME}
|
||||||
LINK="ar"
|
LINK="ar"
|
||||||
OPTS="-ruv"
|
OPTS="-ruvs"
|
||||||
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.dylib"
|
# On Darwin a .bundle is used for a library that you want to dlopen
|
||||||
echo "mklib: Making Darwin shared library: " ${LIBNAME}
|
if [ $DLOPEN = "1" ] ; then
|
||||||
FLAGS="-dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0"
|
LIBSUFFIX="bundle"
|
||||||
|
OPTS="${ARCHOPT} -bundle -multiply_defined suppress"
|
||||||
|
else
|
||||||
|
LIBSUFFIX="dylib"
|
||||||
|
OPTS="${ARCHOPT} -dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0 -install_name lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||||
|
fi
|
||||||
|
LINKNAME="lib${LIBNAME}.${LIBSUFFIX}"
|
||||||
|
LIBNAME="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||||
|
|
||||||
|
# examine first object to determine ABI
|
||||||
|
set ${OBJECTS}
|
||||||
|
ABI_PPC=`file $1 | grep 'object ppc'`
|
||||||
|
ABI_I386=`file $1 | grep 'object i386'`
|
||||||
|
if [ "${ABI_PPC}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch ppc"
|
||||||
|
fi
|
||||||
|
if [ "${ABI_I386}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch i386"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# XXX can we always add -isysroot /Developer/SDKs/MacOSX10.4u.sdk
|
||||||
|
# to OPTS here?
|
||||||
|
|
||||||
|
# determine linker
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
LINK="g++"
|
LINK="g++"
|
||||||
else
|
else
|
||||||
LINK="cc"
|
LINK="cc"
|
||||||
fi
|
fi
|
||||||
${LINK} ${FLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
|
||||||
FINAL_LIBS=${LIBNAME}
|
echo "mklib: Making Darwin shared library: " ${LIBNAME}
|
||||||
|
${LINK} ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
|
ln -s ${LIBNAME} ${LINKNAME}
|
||||||
|
FINAL_LIBS="${LIBNAME} ${LINKNAME}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -553,7 +633,7 @@ case $ARCH in
|
|||||||
FINAL_LIBS="${LIBNAME}"
|
FINAL_LIBS="${LIBNAME}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'icc')
|
'icc' | 'icc-istatic')
|
||||||
# Intel C compiler
|
# Intel C compiler
|
||||||
# This should get merged into the Linux code, above, since this isn't
|
# This should get merged into the Linux code, above, since this isn't
|
||||||
# really a different architecture.
|
# really a different architecture.
|
||||||
@@ -568,12 +648,16 @@ case $ARCH in
|
|||||||
# finish up
|
# finish up
|
||||||
FINAL_LIBS="${LIBNAME}.a"
|
FINAL_LIBS="${LIBNAME}.a"
|
||||||
else
|
else
|
||||||
OPTS="-shared"
|
if [ $ARCH = icc-istatic ] ; then
|
||||||
|
OPTS="-shared -i-static -cxxlib-icc"
|
||||||
|
else
|
||||||
|
OPTS="-shared"
|
||||||
|
fi
|
||||||
VERSION="${MAJOR}.${MINOR}.${PATCH}"
|
VERSION="${MAJOR}.${MINOR}.${PATCH}"
|
||||||
echo "mklib: Making Intel ICC shared library: " ${LIBNAME}.so.${VERSION}
|
echo "mklib: Making Intel ICC shared library: " ${LIBNAME}.so.${VERSION}
|
||||||
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
LINK="icc"
|
LINK="icpc"
|
||||||
else
|
else
|
||||||
LINK="icc"
|
LINK="icc"
|
||||||
fi
|
fi
|
||||||
|
13
configs/aix
13
configs/aix
@@ -8,9 +8,12 @@ CONFIG_NAME = aix
|
|||||||
CC = cc
|
CC = cc
|
||||||
CXX = xlC
|
CXX = xlC
|
||||||
|
|
||||||
CFLAGS = -O -DAIXV3
|
CFLAGS = -O -DAIXV3 -DPTHREADS
|
||||||
CXXFLAGS = -O -DAIXV3
|
CXXFLAGS = -O -DAIXV3 -DPTHREADS
|
||||||
|
|
||||||
|
# Misc tools and flags
|
||||||
MKLIB_OPTIONS =
|
MKLIB_OPTIONS =
|
||||||
|
COPY_LIBS = cp -f -h
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
@@ -19,10 +22,10 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm
|
GL_LIB_DEPS = -lX11 -lXext -lpthread -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
|
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
|
||||||
GLUT_LIB_DEPS = -L$(TOP)/lib -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
GLUT_LIB_DEPS = -L$(TOP)/lib -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXm -lXt -lX11
|
||||||
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
|
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
|
||||||
APP_LIB_DEPS = -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lC
|
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
|
@@ -8,9 +8,9 @@ CONFIG_NAME = aix-64
|
|||||||
CC = xlc
|
CC = xlc
|
||||||
CXX = xlC
|
CXX = xlC
|
||||||
|
|
||||||
CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3
|
CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
|
||||||
CXXFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3
|
CXXFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -arch AIX64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
@@ -19,10 +19,9 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm
|
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC
|
||||||
GLUT_LIB_DEPS = -L$(TOP)/lib -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11
|
||||||
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
|
APP_LIB_DEPS = -L$(TOP)/lib64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
APP_LIB_DEPS = -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lC
|
|
||||||
|
|
||||||
|
25
configs/aix-64-static
Normal file
25
configs/aix-64-static
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Configuration for AIX, static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = aix-64-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = xlC
|
||||||
|
|
||||||
|
CFLAGS = -q64 -O -DAIXV3 -DPTHREADS
|
||||||
|
CXXFLAGS = -q64 -O -DAIXV3 -DPTHREADS
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -q64 -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
-lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
|
|
@@ -13,7 +13,7 @@ CXXFLAGS = -O2 -DAIXV3
|
|||||||
|
|
||||||
MKLIB_OPTIONS = -arch aix-gcc
|
MKLIB_OPTIONS = -arch aix-gcc
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm
|
GL_LIB_DEPS = -lX11 -lXext -lm
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi
|
||||||
|
|
||||||
|
@@ -8,8 +8,8 @@ CONFIG_NAME = aix-static
|
|||||||
CC = cc
|
CC = cc
|
||||||
CXX = xlC
|
CXX = xlC
|
||||||
|
|
||||||
CFLAGS = -O -DAIXV3
|
CFLAGS = -O -DAIXV3 -DPTHREADS
|
||||||
CXXFLAGS = -O -DAIXV3
|
CXXFLAGS = -O -DAIXV3 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
@@ -19,5 +19,7 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
-lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
|
|
||||||
|
|
||||||
|
@@ -93,8 +93,8 @@ PROGRAM_DIRS = beos samples redbook demos tests
|
|||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS =
|
GL_LIB_DEPS =
|
||||||
OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS = -lgame -L$(LIB_DIR) -l$(GL_LIB)
|
GLUT_LIB_DEPS = -lgame -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
APP_LIB_DEPS = -lbe -L$(LIB_DIR) -l$(GL_LIB) -l$(GLUT_LIB)
|
APP_LIB_DEPS = -lbe -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLUT_LIB)
|
||||||
|
|
||||||
|
@@ -5,13 +5,11 @@ include $(TOP)/configs/default
|
|||||||
CONFIG_NAME = darwin
|
CONFIG_NAME = darwin
|
||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = c++
|
CC = cc
|
||||||
CXX = c++
|
CXX = cc
|
||||||
CFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
CFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
CXXFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
CXXFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
|
||||||
MKLIB_OPTIONS = -cplusplus
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.dylib
|
GL_LIB_NAME = libGL.dylib
|
||||||
GLU_LIB_NAME = libGLU.dylib
|
GLU_LIB_NAME = libGLU.dylib
|
||||||
@@ -20,9 +18,9 @@ GLW_LIB_NAME = libGLw.dylib
|
|||||||
OSMESA_LIB_NAME = libOSMesa.dylib
|
OSMESA_LIB_NAME = libOSMesa.dylib
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
||||||
OSMESA_LIB_DEPS = -L$(LIB_DIR) -lGL
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -lGL
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext
|
||||||
GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib
|
GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib
|
||||||
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
|
||||||
|
@@ -16,9 +16,9 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS =
|
||||||
OSMESA_LIB_DEPS =
|
OSMESA_LIB_DEPS =
|
||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS =
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
APP_LIB_DEPS = -Wl,-search_paths_first -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lstdc++ -lgcc_s.1 -lm
|
||||||
|
26
configs/darwin-static-x86ppc
Normal file
26
configs/darwin-static-x86ppc
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Configuration for Darwin / MacOS X, making static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/darwin
|
||||||
|
|
||||||
|
CONFIG_NAME = darwin-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
OSMESA_LIB_DEPS =
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -Wl,-search_paths_first -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lstdc++ -lgcc_s.1 -lm
|
33
configs/darwin-x86ppc
Normal file
33
configs/darwin-x86ppc
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Configuration for Darwin / MacOS X, making dynamic libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = darwin
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = cc
|
||||||
|
CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.dylib
|
||||||
|
GLU_LIB_NAME = libGLU.dylib
|
||||||
|
GLUT_LIB_NAME = libglut.dylib
|
||||||
|
GLW_LIB_NAME = libGLw.dylib
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.dylib
|
||||||
|
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
||||||
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext
|
||||||
|
GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
|
||||||
|
# omit glw lib for now:
|
||||||
|
SRC_DIRS = mesa glu glut/glx
|
||||||
|
|
@@ -2,13 +2,15 @@
|
|||||||
|
|
||||||
# This is included by other config files which may override some
|
# This is included by other config files which may override some
|
||||||
# of these variables.
|
# of these variables.
|
||||||
|
# Think of this as a base class from which configs are derived.
|
||||||
|
|
||||||
|
|
||||||
CONFIG_NAME = default
|
CONFIG_NAME = default
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
MESA_MAJOR=6
|
MESA_MAJOR=6
|
||||||
MESA_MINOR=5
|
MESA_MINOR=5
|
||||||
MESA_TINY=0
|
MESA_TINY=1
|
||||||
|
|
||||||
# external projects. This should be useless now that we use libdrm.
|
# external projects. This should be useless now that we use libdrm.
|
||||||
DRM_SOURCE_PATH=$(TOP)/../drm
|
DRM_SOURCE_PATH=$(TOP)/../drm
|
||||||
@@ -25,6 +27,8 @@ MKLIB_OPTIONS =
|
|||||||
MKDEP = makedepend
|
MKDEP = makedepend
|
||||||
MKDEP_OPTIONS = -fdepend
|
MKDEP_OPTIONS = -fdepend
|
||||||
MAKE = make
|
MAKE = make
|
||||||
|
INSTALL = install
|
||||||
|
COPY_LIBS = cp -f -d
|
||||||
|
|
||||||
# Python and flags (generally only needed by the developers)
|
# Python and flags (generally only needed by the developers)
|
||||||
PYTHON2 = python
|
PYTHON2 = python
|
||||||
@@ -54,9 +58,8 @@ ASM_SOURCES =
|
|||||||
GLW_SOURCES = GLwDrawA.c
|
GLW_SOURCES = GLwDrawA.c
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
# Directories to build
|
||||||
LIB_DIR = $(TOP)/lib
|
LIB_DIR = lib
|
||||||
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
|
||||||
@@ -67,8 +70,18 @@ PROGRAM_DIRS = demos redbook samples xdemos
|
|||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH ?=
|
EXTRA_LIB_PATH ?=
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
||||||
OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Installation directories (for make install)
|
||||||
|
INSTALL_DIR = /usr/local
|
||||||
|
DRI_DRIVER_INSTALL_DIR = /usr/X11R6/lib/modules/dri
|
||||||
|
|
||||||
|
# Where libGL will look for DRI hardware drivers
|
||||||
|
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
||||||
|
|
||||||
|
@@ -5,13 +5,25 @@ include $(TOP)/configs/default
|
|||||||
CONFIG_NAME = FreeBSD
|
CONFIG_NAME = FreeBSD
|
||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = gcc
|
CC = cc
|
||||||
CXX = g++
|
CXX = c++
|
||||||
MAKE = gmake
|
MAKE = gmake
|
||||||
|
|
||||||
CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 \
|
# cp -d not supported on FreeBSD (see bug 4435)
|
||||||
$(ASM_FLAGS)
|
COPY_LIBS = cp -f
|
||||||
CXXFLAGS = -O2 -fPIC -pedantic
|
|
||||||
|
OPT_FLAGS = -O2
|
||||||
|
PIC_FLAGS = -fPIC
|
||||||
|
|
||||||
|
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM -DHZ=100
|
||||||
|
|
||||||
|
X11_INCLUDES = -I/usr/X11R6/include
|
||||||
|
|
||||||
|
CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ffast-math -pedantic
|
||||||
|
|
||||||
|
CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)
|
||||||
|
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm
|
EXTRA_LIB_PATH = -L/usr/X11R6/lib
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
@@ -15,19 +15,21 @@ EXPAT_INCLUDES = -I/usr/local/include
|
|||||||
X11_INCLUDES = -I/usr/X11R6/include
|
X11_INCLUDES = -I/usr/X11R6/include
|
||||||
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||||
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS
|
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS
|
||||||
CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC \
|
|
||||||
-ffast-math $(ASM_FLAGS) $(X11_INCLUDES)
|
CFLAGS = -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math \
|
||||||
|
$(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
|
CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
|
||||||
|
|
||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
LIBDRM_LIB = `pkg-config --libs libdrm` -ldrm
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
|
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread $(LIBDRM_LIB)
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread $(LIBDRM_LIB)
|
||||||
|
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
@@ -40,6 +42,6 @@ DRM_SOURCE_PATH=$(TOP)/../drm
|
|||||||
|
|
||||||
# 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 = i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx \
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon tdfx \
|
||||||
unichrome savage sis
|
unichrome savage sis
|
||||||
|
|
||||||
|
@@ -11,4 +11,4 @@ CXX = aCC
|
|||||||
CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
||||||
CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE
|
CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE
|
||||||
|
|
||||||
APP_LIB_DEPS = -$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
@@ -12,5 +12,5 @@ CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/incl
|
|||||||
CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE
|
CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|
||||||
|
@@ -26,5 +26,5 @@ OSMESA_LIB_DEPS =
|
|||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS =
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -lstdc++
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -lstdc++
|
||||||
|
@@ -10,7 +10,7 @@ CXX = aCC
|
|||||||
|
|
||||||
CFLAGS = +z -Ae +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
CFLAGS = +z -Ae +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
CXXFLAGS = +z -Aa +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include
|
CXXFLAGS = +z -Aa +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
MKLIB_OPTIONS =
|
MKLIB_OPTIONS =
|
||||||
|
|
||||||
@@ -23,4 +23,8 @@ GLW_LIB_NAME = libGLw.a
|
|||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
|
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXt -lXi -lX11 -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
@@ -8,9 +8,9 @@ CONFIG_NAME = hpux11-32-static
|
|||||||
CC = cc
|
CC = cc
|
||||||
CXX = aCC
|
CXX = aCC
|
||||||
|
|
||||||
CFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
CFLAGS = +O3 +DA2.0 -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
CXXFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include
|
CXXFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
@@ -23,4 +23,5 @@ GLW_LIB_NAME = libGLw.a
|
|||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lCsup -lcl
|
||||||
|
|
||||||
|
@@ -10,11 +10,11 @@ CXX = aCC
|
|||||||
|
|
||||||
CFLAGS = +z -Ae +DD64 +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
CFLAGS = +z -Ae +DD64 +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
CXXFLAGS = +z -Aa +DD64 +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include
|
CXXFLAGS = +z -Aa +DD64 +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
MKLIB_OPTIONS =
|
MKLIB_OPTIONS =
|
||||||
|
|
||||||
LIBDIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
@@ -24,4 +24,8 @@ GLW_LIB_NAME = libGLw.a
|
|||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
|
GL_LIB_DEPS = -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
@@ -8,13 +8,13 @@ CONFIG_NAME = hpux11-64-static
|
|||||||
CC = cc
|
CC = cc
|
||||||
CXX = aCC
|
CXX = aCC
|
||||||
|
|
||||||
CFLAGS = +O3 +DA2.0W -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
CFLAGS = +O3 +DA2.0W -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
CXXFLAGS = +O3 +DA2.0W -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include
|
CXXFLAGS = +O3 +DA2.0W -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
LIBDIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
@@ -24,4 +24,4 @@ GLW_LIB_NAME = libGLw.a
|
|||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lCsup -lcl
|
||||||
|
30
configs/hpux11-ia64
Normal file
30
configs/hpux11-ia64
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# Configuration for HPUX IA64 v11, 64-bit
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = hpux11-ia64
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = aCC
|
||||||
|
|
||||||
|
CFLAGS = +z -Ae +DD64 +O3 +DSmckinley -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
|
CXXFLAGS = +z -Aa +DD64 +O3 +DSmckinley -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
|
MKLIB_OPTIONS =
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.so
|
||||||
|
GLU_LIB_NAME = libGLU.so
|
||||||
|
GLUT_LIB_NAME = libglut.so
|
||||||
|
GLW_LIB_NAME = libGLw.so
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.so
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
27
configs/hpux11-ia64-static
Normal file
27
configs/hpux11-ia64-static
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Configuration for HPUX v11, 64-bit, static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = hpux11-ia64-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = aCC
|
||||||
|
|
||||||
|
CFLAGS = +O3 +DD64 -Aa -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS
|
||||||
|
|
||||||
|
CXXFLAGS = +O3 +DD64 -Aa -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lXt -lX11 -lpthread -lm -lCsup -lcl
|
@@ -12,5 +12,5 @@ CXX = c++
|
|||||||
CFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM
|
CFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM
|
||||||
CXXFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5
|
CXXFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|
||||||
|
@@ -11,4 +11,4 @@ CXX = aCC
|
|||||||
CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
||||||
CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE
|
CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
@@ -7,12 +7,11 @@ CONFIG_NAME = irix6-64
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM
|
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM -DPTHREADS
|
||||||
CXXFLAGS = -64 -O3 -ansi -woff 1174
|
CXXFLAGS = -64 -O3 -ansi -woff 1174 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -archopt 64
|
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -64 -rpath $(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -64 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lpthread -lm
|
||||||
|
@@ -7,15 +7,15 @@ CONFIG_NAME = irix6-64-static
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM
|
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM -DPTHREADS
|
||||||
CXXFLAGS = -64 -O3 -ansi -woff 1174
|
CXXFLAGS = -64 -O3 -ansi -woff 1174 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -archopt 64 -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
@@ -23,3 +23,4 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,12 +7,11 @@ CONFIG_NAME = irix6-n32
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM
|
CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM -DPTHREADS
|
||||||
CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552
|
CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -archopt n32
|
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -n32 -rpath $(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lfpe -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -n32 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lfpe -lpthread -lm
|
||||||
|
@@ -7,15 +7,15 @@ CONFIG_NAME = irix6-n32-static
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -n32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
|
CFLAGS = -n32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM -DPTHREADS
|
||||||
CXXFLAGS = -n32 -mips2 -O2 -ansi -woff 3262,3666
|
CXXFLAGS = -n32 -mips2 -O2 -ansi -woff 3262,3666 -DPTHREADS
|
||||||
MKLIB_OPTIONS = -archopt n32 -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -n32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -n32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
@@ -9,11 +9,10 @@ CC = cc
|
|||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
|
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
|
||||||
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666
|
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666
|
||||||
MKLIB_OPTIONS = -archopt o32
|
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -32 -rpath $(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -32 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
||||||
|
|
||||||
|
@@ -9,13 +9,13 @@ CC = cc
|
|||||||
CXX = CC
|
CXX = CC
|
||||||
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
|
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
|
||||||
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666
|
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666
|
||||||
MKLIB_OPTIONS = -archopt o32 -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
@@ -12,7 +12,7 @@ CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE
|
|||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(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
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
|
@@ -22,6 +22,6 @@ OSMESA_LIB_NAME = libOSMesa.a
|
|||||||
|
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(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 -L/usr/X11R6/lib -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -L/usr/X11R6/lib -lX11 -lm
|
||||||
|
@@ -4,5 +4,5 @@ include $(TOP)/configs/linux
|
|||||||
|
|
||||||
CONFIG_NAME = linux-debug
|
CONFIG_NAME = linux-debug
|
||||||
|
|
||||||
OPT_FLAGS = -g
|
OPT_FLAGS = -g -ansi -pedantic
|
||||||
DEFINES += -DDEBUG -DDEBUG_MATH
|
DEFINES += -DDEBUG -DDEBUG_MATH
|
||||||
|
@@ -22,9 +22,13 @@ ifeq ($(HAVE_X86), yes)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu
|
SRC_DIRS = mesa glu glut/directfb
|
||||||
|
GLU_DIRS = sgi
|
||||||
DRIVER_DIRS = directfb
|
DRIVER_DIRS = directfb
|
||||||
PROGRAM_DIRS = # disabled
|
PROGRAM_DIRS = demos directfb
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS = -lm -lpthread
|
GL_LIB_DEPS = -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLU_LIB)
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLU_LIB) -l$(GLUT_LIB)
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ CXX = g++
|
|||||||
#MKDEP = gcc -M
|
#MKDEP = gcc -M
|
||||||
#MKDEP_OPTIONS = -MF depend
|
#MKDEP_OPTIONS = -MF depend
|
||||||
|
|
||||||
OPT_FLAGS = -g
|
OPT_FLAGS = -O -g
|
||||||
PIC_FLAGS = -fPIC
|
PIC_FLAGS = -fPIC
|
||||||
|
|
||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
||||||
@@ -26,8 +26,8 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
|||||||
|
|
||||||
X11_INCLUDES = -I/usr/X11R6/include
|
X11_INCLUDES = -I/usr/X11R6/include
|
||||||
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
||||||
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math
|
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
||||||
|
|
||||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ ASM_SOURCES =
|
|||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
||||||
|
|
||||||
LIBDRM_LIB = `pkg-config --libs libdrm` -ldrm
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
|
||||||
$(LIBDRM_LIB)
|
$(LIBDRM_LIB)
|
||||||
@@ -65,5 +65,3 @@ WINDOW_SYSTEM=dri
|
|||||||
# interface.
|
# interface.
|
||||||
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
||||||
savage sis tdfx trident unichrome ffb
|
savage sis tdfx trident unichrome ffb
|
||||||
|
|
||||||
DRI_DIRS = i915
|
|
||||||
|
@@ -11,13 +11,13 @@ ASM_FLAGS = -DUSE_X86_64_ASM
|
|||||||
ASM_SOURCES = $(X86-64_SOURCES)
|
ASM_SOURCES = $(X86-64_SOURCES)
|
||||||
ASM_API = $(X86-64_API)
|
ASM_API = $(X86-64_API)
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
||||||
|
|
||||||
# ffb, gamma, and sis are missing because they have not be converted to use
|
# ffb, gamma, and sis are missing because they have not be converted to use
|
||||||
# the new interface. i810 and i830 are missing because there is no x86-64
|
# the new interface. i810 are missing because there is no x86-64
|
||||||
# system where they could *ever* be used.
|
# system where they could *ever* be used.
|
||||||
#
|
#
|
||||||
DRI_DIRS = i915 mach64 mga r128 r200 radeon tdfx unichrome savage r300
|
DRI_DIRS = i915 mach64 mga r128 r200 radeon tdfx unichrome savage r300
|
||||||
|
67
configs/linux-dri-xcb
Normal file
67
configs/linux-dri-xcb
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# -*-makefile-*-
|
||||||
|
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-dri-xcb
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
#MKDEP = /usr/X11R6/bin/makedepend
|
||||||
|
#MKDEP = gcc -M
|
||||||
|
#MKDEP_OPTIONS = -MF depend
|
||||||
|
|
||||||
|
OPT_FLAGS = -g
|
||||||
|
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 \
|
||||||
|
-D_BSD_SOURCE -D_GNU_SOURCE \
|
||||||
|
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||||
|
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB
|
||||||
|
|
||||||
|
X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I xcb-glx`
|
||||||
|
|
||||||
|
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
||||||
|
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math
|
||||||
|
|
||||||
|
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||||
|
|
||||||
|
|
||||||
|
ASM_SOURCES =
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
EXTRA_LIB_PATH=`pkg-config --libs-only-L x11`
|
||||||
|
|
||||||
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
||||||
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
|
||||||
|
$(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs xcb-glx`
|
||||||
|
|
||||||
|
|
||||||
|
# This is now 0 by default since it seems to confuse the hell out of people
|
||||||
|
# and generate a lot of extra noise on bugzilla. If you need to build with
|
||||||
|
# EGL, do 'make linux-dri USING_EGL=1'
|
||||||
|
|
||||||
|
USING_EGL=0
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
ifeq ($(USING_EGL), 1)
|
||||||
|
SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS = egl
|
||||||
|
else
|
||||||
|
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS =
|
||||||
|
endif
|
||||||
|
|
||||||
|
DRIVER_DIRS = dri
|
||||||
|
WINDOW_SYSTEM=dri
|
||||||
|
|
||||||
|
# gamma are missing because they have not been converted to use the new
|
||||||
|
# interface.
|
||||||
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
||||||
|
savage sis tdfx trident unichrome ffb
|
@@ -15,6 +15,6 @@ GLUT_CFLAGS = -fexceptions
|
|||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(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) -L/usr/local/glide/lib -lglide3x -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/local/glide/lib -lglide3x -lm
|
||||||
|
21
configs/linux-ia64-icc
Normal file
21
configs/linux-ia64-icc
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Configuration for Linux with Intel C compiler
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-icc
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = icc
|
||||||
|
CXX = icpc
|
||||||
|
CFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
CXXFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
MKLIB_OPTIONS = -arch icc-istatic
|
||||||
|
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
|
|
||||||
|
|
27
configs/linux-ia64-icc-static
Normal file
27
configs/linux-ia64-icc-static
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Configuration for Linux with Intel C compiler, static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-icc-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = icc
|
||||||
|
CXX = icpc
|
||||||
|
CFLAGS = -O3 -ansi -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
CXXFLAGS = -O3 -ansi -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
MKLIB_OPTIONS = -static -arch icc-istatic
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -i-static -cxxlib-icc -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lpthread -lm -lcxa -lunwind
|
||||||
|
|
@@ -13,8 +13,8 @@ GLUT_CFLAGS = -fexceptions
|
|||||||
MKLIB_OPTIONS = -arch icc
|
MKLIB_OPTIONS = -arch icc
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
ASM_SOURCES = $(X86_SOURCES)
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
ASM_API = $(X86_API)
|
ASM_API = $(X86_API)
|
||||||
|
@@ -6,9 +6,9 @@ CONFIG_NAME = linux-icc-static
|
|||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = icc
|
CC = icc
|
||||||
CXX = g++
|
CXX = icpc
|
||||||
CFLAGS = -O3 -tpp6 -axK -D_GCC_LIMITS_H_ -D__GNUC__ -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
|
CFLAGS = -O3 -tpp6 -axK -D_GCC_LIMITS_H_ -D__GNUC__ -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 = -O3
|
CXXFLAGS = -O3 -tpp6 -axK -DPTHREADS
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
MKLIB_OPTIONS = -static -arch icc
|
MKLIB_OPTIONS = -static -arch icc
|
||||||
|
|
||||||
@@ -19,12 +19,9 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS =
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm -lpthread -lcxa -lunwind
|
||||||
MKLIB_OPTIONS = -arch icc
|
|
||||||
|
|
||||||
ASM_SOURCES = $(X86_SOURCES)
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
ASM_API = $(X86_API)
|
ASM_API = $(X86_API)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ CONFIG_NAME = linux-dri
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
||||||
MKDEP = /usr/X11R6/bin/makedepend
|
#MKDEP = /usr/X11R6/bin/makedepend
|
||||||
#MKDEP = gcc -M
|
#MKDEP = gcc -M
|
||||||
#MKDEP_OPTIONS = -MF depend
|
#MKDEP_OPTIONS = -MF depend
|
||||||
|
|
||||||
|
25
configs/linux-osmesa
Normal file
25
configs/linux-osmesa
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Configuration for building only libOSMesa on Linux, no Xlib driver
|
||||||
|
# This doesn't really have any Linux dependencies, so it should be usable
|
||||||
|
# on other (gcc-based) systems.
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-osmesa
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
|
||||||
|
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
SRC_DIRS = mesa glu
|
||||||
|
DRIVER_DIRS = osmesa
|
||||||
|
PROGRAM_DIRS = osdemos
|
||||||
|
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
|
APP_LIB_DEPS = -lOSMesa -lGLU
|
@@ -24,4 +24,5 @@ PROGRAM_DIRS =
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
OSMESA_LIB_DEPS = -lm -lpthread
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
APP_LIB_DEPS = -lOSMesa16
|
APP_LIB_DEPS = -lOSMesa16
|
||||||
|
@@ -24,4 +24,5 @@ PROGRAM_DIRS =
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
OSMESA_LIB_DEPS = -lm -lpthread
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
APP_LIB_DEPS = -lOSMesa32
|
APP_LIB_DEPS = -lOSMesa32
|
||||||
|
@@ -16,8 +16,8 @@ GLUT_CFLAGS = -fexceptions
|
|||||||
|
|
||||||
# Need to have -L/usr/X11R6/lib in these:
|
# Need to have -L/usr/X11R6/lib in these:
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -L/usr/X11R6/lib -lX11
|
||||||
|
|
||||||
# Need to make static libs for profiling:
|
# Need to make static libs for profiling:
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
@@ -26,4 +26,4 @@ GLU_LIB_NAME = lib$(GLU_LIB).a
|
|||||||
GLUT_LIB_NAME = lib$(GLUT_LIB).a
|
GLUT_LIB_NAME = lib$(GLUT_LIB).a
|
||||||
GLW_LIB_NAME = lib$(GLW_LIB).a
|
GLW_LIB_NAME = lib$(GLW_LIB).a
|
||||||
OSMESA_LIB_NAME = lib$(OSMesa).a
|
OSMESA_LIB_NAME = lib$(OSMesa).a
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
||||||
|
@@ -28,11 +28,11 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(LIB_DIR)
|
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(TOP)/$(LIB_DIR)
|
||||||
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$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(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$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = glx/mini mesa glu glut/mini
|
SRC_DIRS = glx/mini mesa glu glut/mini
|
||||||
@@ -40,4 +40,4 @@ DRIVER_DIRS = dri
|
|||||||
PROGRAM_DIRS = miniglx
|
PROGRAM_DIRS = miniglx
|
||||||
|
|
||||||
#DRI_DIRS = ffb gamma sis savage
|
#DRI_DIRS = ffb gamma sis savage
|
||||||
DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome fb
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 radeon tdfx unichrome fb
|
||||||
|
@@ -26,5 +26,5 @@ GLUT_CFLAGS = -fexceptions
|
|||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
||||||
|
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
||||||
|
@@ -12,6 +12,6 @@ CXXFLAGS = -mcpu=ultrasparc -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE
|
|||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
||||||
|
|
||||||
|
@@ -12,6 +12,6 @@ CXXFLAGS = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BS
|
|||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
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
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(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
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR)-l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
@@ -10,5 +10,5 @@ ASM_SOURCES = $(X86-64_SOURCES)
|
|||||||
ASM_API = $(X86-64_API)
|
ASM_API = $(X86-64_API)
|
||||||
ASM_FLAGS = -DUSE_X86_64_ASM
|
ASM_FLAGS = -DUSE_X86_64_ASM
|
||||||
|
|
||||||
LIB_DIR = $(TOP)/lib64
|
LIB_DIR = lib64
|
||||||
EXTRA_LIB_PATH = -L/usr/X11R6/lib64
|
EXTRA_LIB_PATH = -L/usr/X11R6/lib64
|
||||||
|
@@ -19,3 +19,5 @@ OSMESA_LIB_DEPS =
|
|||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS =
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
$(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||||
|
@@ -20,6 +20,6 @@ ASM_API = $(X86_API)
|
|||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(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
|
GLW_LIB_DEPS = -L$(TOP)/$(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) -L/usr/local/glide/lib -lglide3x -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/local/glide/lib -lglide3x -lm
|
||||||
|
@@ -19,3 +19,5 @@ OSMESA_LIB_DEPS =
|
|||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS =
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
$(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||||
|
@@ -1,25 +0,0 @@
|
|||||||
# 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)
|
|
||||||
ASM_API = $(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
|
|
@@ -10,5 +10,5 @@ CXX = g++
|
|||||||
CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100
|
CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100
|
||||||
CXXFLAGS = -O2 -fPIC
|
CXXFLAGS = -O2 -fPIC
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ CXXFLAGS = -O2 -fPIC -I/usr/X11R6/include -DHZ=100
|
|||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm
|
||||||
OSMESA_LIB_DEPS = -lm
|
OSMESA_LIB_DEPS = -lm
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
|
10
configs/osf1
10
configs/osf1
@@ -7,10 +7,10 @@ CONFIG_NAME = osf1
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = cxx
|
CXX = cxx
|
||||||
CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM
|
CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM -DPTHREADS -D_REENTRANT
|
||||||
CXXFLAGS = -O2 -std ansi -ieee
|
CXXFLAGS = -O2 -std ansi -ieee -DPTHREADS -D_REENTRANT
|
||||||
|
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm
|
||||||
|
17
configs/osf1-static
Normal file
17
configs/osf1-static
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Configuration for OSF/1
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = osf1
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = cxx
|
||||||
|
CFLAGS = -O2 -std1 -ieee_with_no_inexact -DUSE_XSHM -DPTHREADS -D_REENTRANT
|
||||||
|
CXXFLAGS = -O2 -std ansi -ieee -DPTHREADS -D_REENTRANT
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -noso -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -so_archive -lX11 -lXext -lXmu -lXi -lpthread -lm -lcxx
|
@@ -9,7 +9,7 @@ CC = cc
|
|||||||
CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM
|
CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm -lglut -lGLU -lGL
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm -lglut -lGLU -lGL
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Configuration for Solaris on x86 with gcc, static libs
|
# Configuration for Solaris on x86 with gcc, dynamic libs
|
||||||
|
|
||||||
include $(TOP)/configs/default
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
@@ -7,18 +7,11 @@ CONFIG_NAME = solaris-x86-gcc
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM
|
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
|
||||||
CXXFLAGS = -O3 -m486 -fPIC
|
CXXFLAGS = -O3 -march=i486 -fPIC
|
||||||
GLUT_CFLAGS = -fexceptions
|
GLUT_CFLAGS = -fexceptions
|
||||||
MKLIB_OPTIONS = -static
|
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXi -lXmu
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
|
||||||
GLU_LIB_NAME = libGLU.a
|
|
||||||
GLUT_LIB_NAME = libglut.a
|
|
||||||
GLW_LIB_NAME = libGLw.a
|
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
|
||||||
|
24
configs/solaris-x86-gcc-static
Normal file
24
configs/solaris-x86-gcc-static
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Configuration for Solaris on x86 with gcc, static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = solaris-x86-gcc
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
|
||||||
|
CXXFLAGS = -O3 -march=i486 -fPIC
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
|
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXi -lXmu
|
||||||
|
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
@@ -7,6 +7,6 @@ CONFIG_NAME = sunos4
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = acc
|
CC = acc
|
||||||
CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4
|
CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/lib/X11R5 -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R5 -lX11 -lXext -lXmu -lXi -lm
|
||||||
|
|
||||||
|
|
||||||
|
@@ -11,5 +11,5 @@ CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X1
|
|||||||
CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4
|
CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4
|
||||||
GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
|
GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
|
||||||
|
|
||||||
|
@@ -22,4 +22,4 @@ OSMESA_LIB_DEPS =
|
|||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
GLUT_LIB_DEPS =
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm
|
||||||
|
@@ -12,7 +12,7 @@ CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include
|
|||||||
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm
|
GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -lCrun -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lCrun -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
11
configs/sunos5-64-gcc
Normal file
11
configs/sunos5-64-gcc
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Configuration for 64-bit SunOS 5, with gcc
|
||||||
|
|
||||||
|
include $(TOP)/configs/sunos5-gcc
|
||||||
|
|
||||||
|
CONFIG_NAME = sunos5-64-gcc
|
||||||
|
|
||||||
|
# only set vars that differ from sunos5-gcc config
|
||||||
|
|
||||||
|
OPT_FLAGS = -O3 -m64 -mcpu=ultrasparc -mv8plus -mvis -g -fomit-frame-pointer -pipe
|
||||||
|
|
||||||
|
ARCH_FLAGS = -m64
|
@@ -32,5 +32,5 @@ GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
|
|||||||
EXTRA_LIB_PATH=-L/usr/openwin/lib
|
EXTRA_LIB_PATH=-L/usr/openwin/lib
|
||||||
|
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXi -lm
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXi -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
@@ -12,8 +12,8 @@ CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/open
|
|||||||
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
|
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
|
||||||
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lCrun
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lCrun
|
||||||
|
|
||||||
|
18
configs/sunos5-v8
Normal file
18
configs/sunos5-v8
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Configuration for SunOS 5
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = sunos5-v8
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = CC
|
||||||
|
CFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
|
||||||
|
CXXFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS
|
||||||
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
|
GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
16
configs/sunos5-v8-static
Normal file
16
configs/sunos5-v8-static
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Configuration for SunOS 5
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = sunos5-v8-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = CC
|
||||||
|
CFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
|
||||||
|
CXXFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS
|
||||||
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11 -lXext -lXmu -lXi -lpthread -lm -lCstd -lCrun
|
23
configs/sunos5-v9
Normal file
23
configs/sunos5-v9
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Configuration for SunOS 5, SPARC V9
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = sunos5-v9
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -cplusplus
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = CC
|
||||||
|
CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
|
||||||
|
CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS
|
||||||
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
|
GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
18
configs/sunos5-v9-static
Normal file
18
configs/sunos5-v9-static
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Configuration for SunOS 5, SPARC V9, static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = sunos5-v9-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static -cplusplus
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = CC
|
||||||
|
CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
|
||||||
|
CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS
|
||||||
|
GLUT_CFLAGS = -DSOLARIS_2_4_BUG
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11 -lXext -lXmu -lXi -lpthread -lm -lCstd -lCrun
|
@@ -18,4 +18,4 @@ GLUT_LIB_NAME = libglut.a
|
|||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXmu -lX11 -lXi -lm
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXmu -lX11 -lXi -lm
|
||||||
|
265
docs/MESA_shader_debug.spec
Normal file
265
docs/MESA_shader_debug.spec
Normal file
@@ -0,0 +1,265 @@
|
|||||||
|
Name
|
||||||
|
|
||||||
|
MESA_shader_debug
|
||||||
|
|
||||||
|
Name Strings
|
||||||
|
|
||||||
|
GL_MESA_shader_debug
|
||||||
|
|
||||||
|
Contact
|
||||||
|
|
||||||
|
Brian Paul (brian.paul 'at' tungstengraphics.com)
|
||||||
|
Michal Krol (mjkrol 'at' gmail.com)
|
||||||
|
|
||||||
|
Status
|
||||||
|
|
||||||
|
XXX - Not complete yet!!!
|
||||||
|
|
||||||
|
Version
|
||||||
|
|
||||||
|
Last Modified Date: July 30, 2006
|
||||||
|
Author Revision: 0.2
|
||||||
|
$Date: 2006/07/30 14:28:38 $ $Revision: 1.2 $
|
||||||
|
|
||||||
|
Number
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
Dependencies
|
||||||
|
|
||||||
|
OpenGL 1.0 is required.
|
||||||
|
|
||||||
|
The ARB_shader_objects extension is required.
|
||||||
|
|
||||||
|
The ARB_shading_language_100 extension is required.
|
||||||
|
|
||||||
|
The extension is written against the OpenGL 1.5 specification.
|
||||||
|
|
||||||
|
The extension is written against the OpenGL Shading Language 1.10
|
||||||
|
Specification.
|
||||||
|
|
||||||
|
Overview
|
||||||
|
|
||||||
|
This extension introduces a debug object that can be attached to
|
||||||
|
a program object to enable debugging. Vertex and/or fragment shader,
|
||||||
|
during execution, issue diagnostic function calls that are logged
|
||||||
|
to the debug object's log. A separate debug log for each shader type
|
||||||
|
is maintained. A debug object can be attached, detached and queried
|
||||||
|
at any time outside the Begin/End pair. Multiple debug objects can
|
||||||
|
be attached to a single program object.
|
||||||
|
|
||||||
|
IP Status
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Issues
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
New Procedures and Functions
|
||||||
|
|
||||||
|
handleARB CreateDebugObjectMESA(void)
|
||||||
|
void ClearDebugLogMESA(handleARB obj, enum logType, enum shaderType)
|
||||||
|
void GetDebugLogMESA(handleARB obj, enum logType, enum shaderType,
|
||||||
|
sizei maxLength, sizei *length,
|
||||||
|
charARB *debugLog)
|
||||||
|
sizei GetDebugLogLengthMESA(handleARB obj, enum logType,
|
||||||
|
enum shaderType)
|
||||||
|
|
||||||
|
New Types
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
New Tokens
|
||||||
|
|
||||||
|
Returned by the <params> parameter of GetObjectParameter{fi}vARB:
|
||||||
|
|
||||||
|
DEBUG_OBJECT_MESA 0x8759
|
||||||
|
|
||||||
|
Accepted by the <logType> argument of ClearDebugLogMESA,
|
||||||
|
GetDebugLogLengthMESA and GetDebugLogMESA:
|
||||||
|
|
||||||
|
DEBUG_PRINT_MESA 0x875A
|
||||||
|
DEBUG_ASSERT_MESA 0x875B
|
||||||
|
|
||||||
|
Additions to Chapter 2 of the OpenGL 1.5 Specification
|
||||||
|
(OpenGL Operation)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 3 of the OpenGL 1.5 Specification (Rasterization)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 4 of the OpenGL 1.5 Specification (Per-Fragment
|
||||||
|
Operations and the Frame Buffer)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 5 of the OpenGL 1.5 Specification
|
||||||
|
(Special Functions)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 6 of the OpenGL 1.5 Specification (State and State
|
||||||
|
Requests)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Appendix A of the OpenGL 1.5 Specification (Invariance)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 1 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Introduction)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 2 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Overview of OpenGL Shading)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 3 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Basics)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 4 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Variables and Types)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 5 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Operators and Expressions)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 6 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Statements and Structure)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 7 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Built-in Variables)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 8 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Built-in Functions)
|
||||||
|
|
||||||
|
Add a new section 8.10 "Debug Functions":
|
||||||
|
|
||||||
|
Debug functions are available to both fragment and vertex shaders.
|
||||||
|
They are used to track the execution of a shader by logging
|
||||||
|
passed-in arguments to the debug object's log. Those values can be
|
||||||
|
retrieved by the application for inspection after shader execution
|
||||||
|
is complete.
|
||||||
|
|
||||||
|
The text, if any, produced by any of these functions is appended
|
||||||
|
to each debug object that is attached to the program object.
|
||||||
|
There are different debug log types
|
||||||
|
|
||||||
|
Add a new section 8.10.1 "Print Function":
|
||||||
|
|
||||||
|
The following printMESA prototypes are available.
|
||||||
|
|
||||||
|
void printMESA(const float value)
|
||||||
|
void printMESA(const int value)
|
||||||
|
void printMESA(const bool value)
|
||||||
|
void printMESA(const vec2 value)
|
||||||
|
void printMESA(const vec3 value)
|
||||||
|
void printMESA(const vec4 value)
|
||||||
|
void printMESA(const ivec2 value)
|
||||||
|
void printMESA(const ivec3 value)
|
||||||
|
void printMESA(const ivec4 value)
|
||||||
|
void printMESA(const bvec2 value)
|
||||||
|
void printMESA(const bvec3 value)
|
||||||
|
void printMESA(const bvec4 value)
|
||||||
|
void printMESA(const mat2 value)
|
||||||
|
void printMESA(const mat3 value)
|
||||||
|
void printMESA(const mat4 value)
|
||||||
|
void printMESA(const sampler1D value)
|
||||||
|
void printMESA(const sampler2D value)
|
||||||
|
void printMESA(const sampler3D value)
|
||||||
|
void printMESA(const samplerCube value)
|
||||||
|
void printMESA(const sampler1DShadow value)
|
||||||
|
void printMESA(const sampler2DShadow value)
|
||||||
|
|
||||||
|
The printMESA function writes the argument <value> to the "debug
|
||||||
|
print log" (XXX DEBUG_PRINT_MESA?). Each component is written in
|
||||||
|
text format (XXX format!) and is delimited by a white space (XXX 1
|
||||||
|
or more?).
|
||||||
|
|
||||||
|
Add a new section 8.10.2 "Assert Function":
|
||||||
|
|
||||||
|
The following assertMESA prototypes are available.
|
||||||
|
|
||||||
|
void assertMESA(const bool condition)
|
||||||
|
void assertMESA(const bool condition, const int cookie)
|
||||||
|
void assertMESA(const bool condition, const int cookie,
|
||||||
|
const int file, const int line)
|
||||||
|
|
||||||
|
The assertMESA function checks if the argument <condition> is
|
||||||
|
true or false. If it is true, nothing happens. If it is false,
|
||||||
|
a diagnostic message is written to the "debug assert log".
|
||||||
|
The message contains the argument <file>, <line>, <cookie> and
|
||||||
|
implementation dependent double-quoted string, each of this
|
||||||
|
delimited by a white space. If the argument <cookie> is not present,
|
||||||
|
it is meant as if it was of value 0. If the arguments <file> and
|
||||||
|
<line> are not present, they are meant as if they were of values
|
||||||
|
__FILE__ and __LINE__, respectively. The following three calls
|
||||||
|
produce the same output, assuming they were issued from the same
|
||||||
|
file and line.
|
||||||
|
|
||||||
|
assertMESA (false);
|
||||||
|
assertMESA (false, 0);
|
||||||
|
assertMESA (false, 0, __FILE__, __LINE__);
|
||||||
|
|
||||||
|
The diagnostic message examples follow.
|
||||||
|
|
||||||
|
1 89 0 ""
|
||||||
|
1 45 333 "all (lessThanEqual (fragColor, vec4 (1.0)))"
|
||||||
|
1 66 1 "assertion failed in file 1, line 66, cookie 1"
|
||||||
|
|
||||||
|
Additions to Chapter 9 of the OpenGL Shading Language 1.10 Specification
|
||||||
|
(Shading Language Grammar)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to Chapter 10 of the OpenGL Shading Language 1.10
|
||||||
|
Specification (Issues)
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Additions to the AGL/EGL/GLX/WGL Specifications
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
GLX Protocol
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Errors
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
New State
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
New Implementation Dependent State
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
Sample Code
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
Revision History
|
||||||
|
|
||||||
|
29 May 2006
|
||||||
|
Initial draft. (Michal Krol)
|
||||||
|
30 July 2006
|
||||||
|
Add Overview, New Procedures and Functions, New Tokens sections.
|
||||||
|
Add sections 8.10.1, 8.10.2 to GLSL spec.
|
@@ -32,7 +32,7 @@ Dependencies
|
|||||||
|
|
||||||
Overview
|
Overview
|
||||||
|
|
||||||
This extension allows an application to deterine what portion of the
|
This extension allows an application to determine what portion of the
|
||||||
swap period has elapsed since the last swap operation completed. The
|
swap period has elapsed since the last swap operation completed. The
|
||||||
"usage" value is a floating point value on the range [0,max] which is
|
"usage" value is a floating point value on the range [0,max] which is
|
||||||
calculated as follows:
|
calculated as follows:
|
||||||
@@ -59,7 +59,7 @@ Overview
|
|||||||
is taken from the completion of one swap to the issuance of the next.
|
is taken from the completion of one swap to the issuance of the next.
|
||||||
This representation may not be as useful as measuring between
|
This representation may not be as useful as measuring between
|
||||||
completions, as a significant amount of time may pass between the
|
completions, as a significant amount of time may pass between the
|
||||||
issuance of a swap and the swap actually occuring.
|
issuance of a swap and the swap actually occurring.
|
||||||
|
|
||||||
There is also a mechanism to determine whether a frame swap was
|
There is also a mechanism to determine whether a frame swap was
|
||||||
missed.
|
missed.
|
||||||
@@ -110,7 +110,7 @@ Additions to Chapter 6 of the 1.4 GL Specification (State and State Requests)
|
|||||||
Additions to the GLX 1.3 Specification
|
Additions to the GLX 1.3 Specification
|
||||||
|
|
||||||
The frame usage is measured as the percentage of the swap period elapsed
|
The frame usage is measured as the percentage of the swap period elapsed
|
||||||
between two buffer-swap operations being commited. In unextened GLX the
|
between two buffer-swap operations being committed. In unextended GLX the
|
||||||
swap period is the vertical refresh time. If SGI_swap_control or
|
swap period is the vertical refresh time. If SGI_swap_control or
|
||||||
MESA_swap_control are supported, the swap period is the vertical refresh
|
MESA_swap_control are supported, the swap period is the vertical refresh
|
||||||
time multiplied by the swap interval (or one if the swap interval is set
|
time multiplied by the swap interval (or one if the swap interval is set
|
||||||
@@ -119,7 +119,7 @@ Additions to the GLX 1.3 Specification
|
|||||||
If OML_sync_control is supported, the swap period is the vertical
|
If OML_sync_control is supported, the swap period is the vertical
|
||||||
refresh time multiplied by the divisor parameter to
|
refresh time multiplied by the divisor parameter to
|
||||||
glXSwapBuffersMscOML. The frame usage in this case is less than 1.0 if
|
glXSwapBuffersMscOML. The frame usage in this case is less than 1.0 if
|
||||||
the swap is commited before target_msc, and is greater than or equal to
|
the swap is committed before target_msc, and is greater than or equal to
|
||||||
1.0 otherwise. The actual usage value is based on the divisor and is
|
1.0 otherwise. The actual usage value is based on the divisor and is
|
||||||
never less than 0.0.
|
never less than 0.0.
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ Additions to the GLX 1.3 Specification
|
|||||||
|
|
||||||
The current missed frame count and total number of swaps since
|
The current missed frame count and total number of swaps since
|
||||||
the last call to glXBeginFrameTrackingMESA can be obtained by
|
the last call to glXBeginFrameTrackingMESA can be obtained by
|
||||||
callling the following function:
|
calling the following function:
|
||||||
|
|
||||||
int glXQueryFrameTrackingMESA(Display *dpy,
|
int glXQueryFrameTrackingMESA(Display *dpy,
|
||||||
GLXDrawable drawable,
|
GLXDrawable drawable,
|
||||||
@@ -152,7 +152,7 @@ Additions to the GLX 1.3 Specification
|
|||||||
float *lastMissedUsage)
|
float *lastMissedUsage)
|
||||||
|
|
||||||
The location pointed to by <swapCount> will be updated with the
|
The location pointed to by <swapCount> will be updated with the
|
||||||
number of swaps that have been commited. This value may not match the
|
number of swaps that have been committed. This value may not match the
|
||||||
number of swaps that have been requested since swaps may be
|
number of swaps that have been requested since swaps may be
|
||||||
queued by the implementation. This function can be called at any
|
queued by the implementation. This function can be called at any
|
||||||
time and does not synchronize to vertical blank.
|
time and does not synchronize to vertical blank.
|
||||||
@@ -171,7 +171,7 @@ Additions to the GLX 1.3 Specification
|
|||||||
application can call glXQueryFrameTrackingMESA for a final swap and
|
application can call glXQueryFrameTrackingMESA for a final swap and
|
||||||
missed frame count.
|
missed frame count.
|
||||||
|
|
||||||
If these functions are succesful, zero is returned. If the context
|
If these functions are successful, zero is returned. If the context
|
||||||
associated with dpy and drawable is not a direct context,
|
associated with dpy and drawable is not a direct context,
|
||||||
GLX_BAD_CONTEXT is returned.
|
GLX_BAD_CONTEXT is returned.
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Mesa 6.3 DOS/DJGPP Port v1.7
|
Mesa 6.5 DOS/DJGPP Port v1.8
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
||||||
@@ -6,17 +6,16 @@
|
|||||||
Description:
|
Description:
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
Well, guess what... this is the DOS port of Mesa 6.3, for DJGPP fans... Whoa!
|
Well, guess what... this is the DOS port of Mesa 6.5, for DJGPP fans... Whoa!
|
||||||
The driver has its origins in ddsample.c, written by Brian Paul and found by me
|
The driver uses OSMesa to draw off screen, and then blits the buffer. This is
|
||||||
in Mesa 3.4.2.
|
not terribly efficient, and has some drawbacks, but saves maintenance costs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Legal:
|
Legal:
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
Mesa copyright applies, provided this package is used within Mesa. For anything
|
Mesa copyright applies.
|
||||||
else, see GPL.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -32,9 +31,6 @@ Available options:
|
|||||||
Environment variables:
|
Environment variables:
|
||||||
CPU optimize for the given processor.
|
CPU optimize for the given processor.
|
||||||
default = pentium
|
default = pentium
|
||||||
GLU=[mesa|sgi] specify GLU directory; can be `sgi' (requires GNU/C++)
|
|
||||||
or `mesa'.
|
|
||||||
default = mesa
|
|
||||||
GLIDE path to Glide3 SDK; used with FX.
|
GLIDE path to Glide3 SDK; used with FX.
|
||||||
default = $(TOP)/glide3
|
default = $(TOP)/glide3
|
||||||
FX=1 build for 3dfx Glide3. Note that this disables
|
FX=1 build for 3dfx Glide3. Note that this disables
|
||||||
@@ -56,11 +52,9 @@ Available options:
|
|||||||
|
|
||||||
|
|
||||||
Tested on:
|
Tested on:
|
||||||
CPU: AMD Athlon XP 1800+
|
Video card: Radeon 9500
|
||||||
Mainboard: GA-7VTXE w/ 512 MB DDRAM
|
DJGPP: djdev 2.04 + gcc v4.1.0 + make v3.80
|
||||||
Video card: Voodoo5 6000 AGP w/ 128 MB SDRAM
|
OS: DOS, Win98SE, WinXP (using Videoport driver)
|
||||||
DJGPP: djdev 2.04 + gcc v3.4.3 + make v3.80
|
|
||||||
OS: DOS and Win98SE
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -98,7 +92,7 @@ FAQ:
|
|||||||
Q) DMesa is so SLOOOW! The Win32 OpenGL performs so much better...
|
Q) DMesa is so SLOOOW! The Win32 OpenGL performs so much better...
|
||||||
A) Is that a question? If you have a 3dfx Voodoo (any model), you're
|
A) Is that a question? If you have a 3dfx Voodoo (any model), you're
|
||||||
lucky (check http://sourceforge.net/projects/glide for the DJGPP port).
|
lucky (check http://sourceforge.net/projects/glide for the DJGPP port).
|
||||||
If you haven't, sorry; everything is done in software. Suggestions?
|
If you haven't, sorry; everything is done in software.
|
||||||
|
|
||||||
Q) I tried to set refresh rate w/ DMesa, but without success.
|
Q) I tried to set refresh rate w/ DMesa, but without success.
|
||||||
A) Refresh rate control works only for VESA 3.0 and the 3dfx driver (in
|
A) Refresh rate control works only for VESA 3.0 and the 3dfx driver (in
|
||||||
@@ -107,7 +101,8 @@ FAQ:
|
|||||||
|
|
||||||
Q) I made a simple application and it does nothing. It exits right away. Not
|
Q) I made a simple application and it does nothing. It exits right away. Not
|
||||||
even a blank screen.
|
even a blank screen.
|
||||||
A) Pure software drivers (VESA/VGA/NUL) support only double-buffered modes.
|
A) Software drivers (VESA/VGA/NUL) must to be constructed as single-buffered
|
||||||
|
visuals. However, DMesaSwapBuffers must be called to get any output.
|
||||||
A) Another weird "feature" is that buffer width must be multiple of 8 (I'm a
|
A) Another weird "feature" is that buffer width must be multiple of 8 (I'm a
|
||||||
lazy programmer and I found that the easiest way to keep buffer handling
|
lazy programmer and I found that the easiest way to keep buffer handling
|
||||||
at peak performance ;-).
|
at peak performance ;-).
|
||||||
@@ -265,6 +260,11 @@ v1.7 (???-2005)
|
|||||||
* no more GLX sources in DOS GLUT
|
* no more GLX sources in DOS GLUT
|
||||||
* made GLUT timer callbacks less accurate but safer
|
* made GLUT timer callbacks less accurate but safer
|
||||||
|
|
||||||
|
v1.8 (apr-2006)
|
||||||
|
* killed lots of code, the driver is now a front-end to OSMesa
|
||||||
|
* fixed problem with WinNT (http://www.volny.cz/martin.sulak/)
|
||||||
|
- removed 3dfx Glide3 support (temporarily?)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Contact:
|
Contact:
|
||||||
|
@@ -1,15 +1,15 @@
|
|||||||
File: docs/README.WIN32
|
File: docs/README.WIN32
|
||||||
|
|
||||||
Last updated: Jul 01, 2005 - Karl Schultz - kschultz@users.sourceforge.net
|
Last updated: Mar 31, 2006 - Karl Schultz - kschultz@users.sourceforge.net
|
||||||
|
|
||||||
Quick Start
|
Quick Start
|
||||||
----- -----
|
----- -----
|
||||||
|
|
||||||
Unzip both ZIP files (MesaLib and MesaDemos) into the same directory.
|
Unzip the MesaLib, MesaGLUT, and MesaDemos ZIP files into the same
|
||||||
The libs and demos build separately, so if you do not care about the
|
directory. The libs and demos build separately, so if you do not care
|
||||||
demos, you do not have to unzip that zip file. But if you do, it does
|
about the demos or GLUT, you only need to unzip MesaLib. If you unzip
|
||||||
need to be unzipped into the same directory as the lib zip file
|
more than one ZIP file, they all need to be unzipped into the same
|
||||||
because the demos depend on the libs.
|
directory. Don't worry, you will not overwrite anything.
|
||||||
|
|
||||||
The Windows build system uses Microsoft Visual Studio. Project files
|
The Windows build system uses Microsoft Visual Studio. Project files
|
||||||
for a specific version of Visual Studio are in their own directory in
|
for a specific version of Visual Studio are in their own directory in
|
||||||
@@ -22,6 +22,10 @@ of Version 8 and it runs on 64-bit Windows. If you want to try this,
|
|||||||
start by importing the VC7 files and create the 64-bit targets in the
|
start by importing the VC7 files and create the 64-bit targets in the
|
||||||
configuration manager.
|
configuration manager.
|
||||||
|
|
||||||
|
It is likely that the new and free Visual Studio Express can be used
|
||||||
|
to build Mesa, but it hasn't been tried yet. Start with the VC7
|
||||||
|
project files.
|
||||||
|
|
||||||
The project files to build the core Mesa library, Windows Mesa
|
The project files to build the core Mesa library, Windows Mesa
|
||||||
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
||||||
to build GLUT and some demo programs are in the progs directory.
|
to build GLUT and some demo programs are in the progs directory.
|
||||||
@@ -33,10 +37,11 @@ from the projects using Visual Studio.
|
|||||||
Windows Drivers
|
Windows Drivers
|
||||||
------- -------
|
------- -------
|
||||||
|
|
||||||
At this time, only the GDI driver is known to work, as it has been
|
At this time, only the GDI driver is known to work. Most of the demos
|
||||||
ported and rewritten to the latest Mesa DD interfaces. Source code
|
in progs/demos should work with this driver.
|
||||||
also exists in the tree for other drivers in src/mesa/drivers/windows,
|
|
||||||
but the status of this code is unknown.
|
Source code also exists in the tree for other drivers in
|
||||||
|
src/mesa/drivers/windows, but the status of this code is unknown.
|
||||||
|
|
||||||
The GDI driver operates basically by writing pixel spans into a DIB
|
The GDI driver operates basically by writing pixel spans into a DIB
|
||||||
section and then blitting the DIB to the window. The driver was
|
section and then blitting the DIB to the window. The driver was
|
||||||
@@ -86,6 +91,14 @@ simply run the demo executables from the demo directory.
|
|||||||
If you want to run the demos from the Visual Studio, you may have to
|
If you want to run the demos from the Visual Studio, you may have to
|
||||||
change the startup directory and explicitly state where the executables are.
|
change the startup directory and explicitly state where the executables are.
|
||||||
|
|
||||||
|
You may also build all the demo programs by using a makefile. Go to
|
||||||
|
the progs/demos directory and make sure you have executed VCVARS32.BAT
|
||||||
|
or whatever setup script is appropriate for your compiler. Then,
|
||||||
|
|
||||||
|
nmake -f Makefile.win
|
||||||
|
|
||||||
|
should build all the demos.
|
||||||
|
|
||||||
|
|
||||||
Build System Notes
|
Build System Notes
|
||||||
----- ------ -----
|
----- ------ -----
|
||||||
@@ -98,6 +111,9 @@ language files, without a lot of unnatural tweaking. So, the VC6
|
|||||||
build process uses custom build steps to compile these files in the
|
build process uses custom build steps to compile these files in the
|
||||||
GLU library.
|
GLU library.
|
||||||
|
|
||||||
|
Two additional configurations are provided, Debug x86 and Release x86
|
||||||
|
that activate the shader code compilation by defining SLANG_86. It is
|
||||||
|
unknown if and how this works.
|
||||||
|
|
||||||
VC7
|
VC7
|
||||||
---
|
---
|
||||||
|
314
docs/README.X11
314
docs/README.X11
@@ -1,314 +0,0 @@
|
|||||||
|
|
||||||
Mesa Unix/X11 Information
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Installation
|
|
||||||
============
|
|
||||||
|
|
||||||
There are two ways to compile Mesa on Unix/X11 systems:
|
|
||||||
|
|
||||||
1. The old way:
|
|
||||||
First type 'make' alone to see the list of system
|
|
||||||
configurations currently supported. If you see your configuration on the
|
|
||||||
list, type 'make <config>'. Most popular Unix/X workstations are currently
|
|
||||||
supported.
|
|
||||||
|
|
||||||
If your system configuration is not listed by 'make', you'll have to modify
|
|
||||||
the top-level Makefile and Make-config files. There are instructions in
|
|
||||||
each file.
|
|
||||||
|
|
||||||
When finished, the Mesa libraries will be in the Mesa-x.y/lib/ directory.
|
|
||||||
|
|
||||||
|
|
||||||
2. The new way:
|
|
||||||
Type './configure' and then 'make'. This uses GNU autoconfig.
|
|
||||||
Run 'make check' to build the demos.
|
|
||||||
See docs/INSTALL for more details.
|
|
||||||
When finished, the Mesa libraries will be in the Mesa-x.y/src/.libs/,
|
|
||||||
Mesa-x.y/si-glu/.libs, etc directories.
|
|
||||||
|
|
||||||
|
|
||||||
Notes on assembly language optimizations:
|
|
||||||
|
|
||||||
When using the old-style Makefiles, you can specify a configuration
|
|
||||||
that uses X86 assembly language optimizations (linux-3dnow for example).
|
|
||||||
|
|
||||||
The detection of MMX, 3DNow!, PIII/SSE, etc capability is done at
|
|
||||||
runtime. That means you can compile Mesa for 3DNow! optimizations
|
|
||||||
even if you don't have an AMD CPU.
|
|
||||||
|
|
||||||
However, your Linux binutils and assembler must understand the
|
|
||||||
special instructions in order to compile them. If you have
|
|
||||||
compilation problems, try upgrading your binutils.
|
|
||||||
|
|
||||||
|
|
||||||
Header and library files:
|
|
||||||
After you've compiled Mesa and tried the demos I recommend the following
|
|
||||||
procedure for "installing" Mesa.
|
|
||||||
|
|
||||||
Copy the Mesa include/GL directory to /usr/local/include:
|
|
||||||
cp -r include/GL /usr/local/include
|
|
||||||
|
|
||||||
Copy the Mesa library files to /usr/local/lib:
|
|
||||||
cp lib/* /usr/local/lib
|
|
||||||
|
|
||||||
(actually, use "cp -d" on Linux to preserve symbolic links)
|
|
||||||
|
|
||||||
|
|
||||||
Xt/Motif widgets:
|
|
||||||
If you want to use Mesa or OpenGL in your Xt/Motif program you can build
|
|
||||||
the widgets found in either the widgets-mesa or widgets-sgi directories.
|
|
||||||
The former were written for Mesa and the later are the original SGI
|
|
||||||
widgets. Look in those directories for more information.
|
|
||||||
|
|
||||||
|
|
||||||
Notes:
|
|
||||||
HP users: a Mesa user reports that the HP-UX 10.01 C compiler has
|
|
||||||
a bug which effects glReadPixels. A patch for the compiler (PHSS_5743) is
|
|
||||||
available. Otherwise be sure your compiler is version 10.13 or later.
|
|
||||||
|
|
||||||
QNX users: if you have problems running the demos try setting the
|
|
||||||
stack size to 200K or larger with -N200K, for example.
|
|
||||||
|
|
||||||
SunOS 5.x users: The X shared memory extension may not work
|
|
||||||
correctly. If Mesa prints an error message to the effect of "Shared memory
|
|
||||||
error" then you'll have to append the following three lines to the end of
|
|
||||||
your /etc/system file then reboot:
|
|
||||||
set shmsys:shminfo_shmmax = 0x2000000
|
|
||||||
set shmsys:shminfo_shmmni = 0x1000
|
|
||||||
set shmsys:shminfo_shmseg = 0x100
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Using the library
|
|
||||||
=================
|
|
||||||
|
|
||||||
Configuration options:
|
|
||||||
The file src/mesa/main/config.h has many parameters which you can adjust
|
|
||||||
such as maximum number of lights, clipping planes, maximum texture size,
|
|
||||||
etc. In particular, you may want to change DEPTH_BITS from 16 to 32
|
|
||||||
if a 16-bit depth buffer isn't precise enough for your application.
|
|
||||||
|
|
||||||
|
|
||||||
Shared libraries:
|
|
||||||
If you compile shared libraries you may have to set an environment
|
|
||||||
variable to specify where the Mesa libraries are located. On Linux and
|
|
||||||
Sun systems for example, set the LD_LIBRARY_PATH variable to include
|
|
||||||
/your-dir/Mesa-2.6/lib. Otherwise, when you try to run a demo it
|
|
||||||
may fail with a message saying that one or more libraries couldn't be
|
|
||||||
found.
|
|
||||||
|
|
||||||
|
|
||||||
Remote display of OpenGL/GLX programs:
|
|
||||||
As of version 1.2.3, Mesa's header files use the same GLenum and GLUenum
|
|
||||||
values as SGI's (and most/all other vendor's) OpenGL headers. This means
|
|
||||||
you can freely mix object files compiled with OpenGL or Mesa headers.
|
|
||||||
In fact, on systems with dynamic runtime linkers it's possible to dynam-
|
|
||||||
ically link with Mesa or OpenGL shared libraries at runtime, without
|
|
||||||
recompiling or relinking anything!
|
|
||||||
|
|
||||||
Using IRIX 5.x as an example, you can run SGI's OpenGL demos with the
|
|
||||||
Mesa shared libraries as follows. Let's assume you're installing Mesa
|
|
||||||
in /usr/local/Mesa and using the C-shell:
|
|
||||||
% cd /usr/local/Mesa
|
|
||||||
% make irix5-dso
|
|
||||||
% setenv _RLD_LIST "/usr/local/Mesa/lib/libGL.so:DEFAULT"
|
|
||||||
% /usr/demos/bin/ideas_ogl // this is a test
|
|
||||||
|
|
||||||
You can now run OpenGL executables on almost any X display! There may
|
|
||||||
be some problems from the fact that Mesa supports many X visual types
|
|
||||||
that an OpenGL client may not expect (grayscale for example). In this
|
|
||||||
case the application may abort, print error messages, or just behave
|
|
||||||
strangely. You may have to experiment with the MESA_RGB_VISUAL envi-
|
|
||||||
ronment variable.
|
|
||||||
|
|
||||||
|
|
||||||
Xt/Motif Widgets:
|
|
||||||
Two versions of the Xt/Motif OpenGL drawing area widgets are included:
|
|
||||||
|
|
||||||
widgets-sgi/ SGI's stock widgets
|
|
||||||
widgets-mesa/ Mesa-tuned widgets
|
|
||||||
|
|
||||||
Look in those directories for details
|
|
||||||
|
|
||||||
|
|
||||||
Togl:
|
|
||||||
Togl is an OpenGL/Mesa widget for Tcl/Tk.
|
|
||||||
See http://togl.sourceforge.net for more information.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
X Display Modes:
|
|
||||||
Mesa supports RGB(A) rendering into almost any X visual type and depth.
|
|
||||||
|
|
||||||
The glXChooseVisual function tries its best to pick an appropriate visual
|
|
||||||
for the given attribute list. However, if this doesn't suit your needs
|
|
||||||
you can force Mesa to use any X visual you want (any supported by your
|
|
||||||
X server that is) by setting the MESA_RGB_VISUAL and MESA_CI_VISUAL
|
|
||||||
environment variables. When an RGB visual is requested, glXChooseVisual
|
|
||||||
will first look if the MESA_RGB_VISUAL variable is defined. If so, it
|
|
||||||
will try to use the specified visual. Similarly, when a color index
|
|
||||||
visual is requested, glXChooseVisual will look for the MESA_CI_VISUAL
|
|
||||||
variable.
|
|
||||||
|
|
||||||
The format of accepted values is: <visual-class> <depth>
|
|
||||||
Here are some examples:
|
|
||||||
|
|
||||||
using the C-shell:
|
|
||||||
% setenv MESA_RGB_VISUAL "TrueColor 8" // 8-bit TrueColor
|
|
||||||
% setenv MESA_CI_VISUAL "PseudoColor 12" // 12-bit PseudoColor
|
|
||||||
% setenv MESA_RGB_VISUAL "PseudoColor 8" // 8-bit PseudoColor
|
|
||||||
|
|
||||||
using the KornShell:
|
|
||||||
$ export MESA_RGB_VISUAL="TrueColor 8"
|
|
||||||
$ export MESA_CI_VISUAL="PseudoColor 12"
|
|
||||||
$ export MESA_RGB_VISUAL="PseudoColor 8"
|
|
||||||
|
|
||||||
|
|
||||||
Double buffering:
|
|
||||||
Mesa can use either an X Pixmap or XImage as the backbuffer when in
|
|
||||||
double buffer mode. Using GLX, the default is to use an XImage. The
|
|
||||||
MESA_BACK_BUFFER environment variable can override this. The valid
|
|
||||||
values for MESA_BACK_BUFFER are: Pixmap and XImage (only the first
|
|
||||||
letter is checked, case doesn't matter).
|
|
||||||
|
|
||||||
A pixmap is faster when drawing simple lines and polygons while an
|
|
||||||
XImage is faster when Mesa has to do pixel-by-pixel rendering. If you
|
|
||||||
need depth buffering the XImage will almost surely be faster. Exper-
|
|
||||||
iment with the MESA_BACK_BUFFER variable to see which is faster for
|
|
||||||
your application.
|
|
||||||
|
|
||||||
|
|
||||||
Colormaps:
|
|
||||||
When using Mesa directly or with GLX, it's up to the application writer
|
|
||||||
to create a window with an appropriate colormap. The aux, tk, and GLUT
|
|
||||||
toolkits try to minimize colormap "flashing" by sharing colormaps when
|
|
||||||
possible. Specifically, if the visual and depth of the window matches
|
|
||||||
that of the root window, the root window's colormap will be shared by
|
|
||||||
the Mesa window. Otherwise, a new, private colormap will be allocated.
|
|
||||||
|
|
||||||
When sharing the root colormap, Mesa may be unable to allocate the colors
|
|
||||||
it needs, resulting in poor color quality. This can happen when a
|
|
||||||
large number of colorcells in the root colormap are already allocated.
|
|
||||||
To prevent colormap sharing in aux, tk and GLUT, define the environment
|
|
||||||
variable MESA_PRIVATE_CMAP. The value isn't significant.
|
|
||||||
|
|
||||||
|
|
||||||
Gamma correction:
|
|
||||||
To compensate for the nonlinear relationship between pixel values
|
|
||||||
and displayed intensities, there is a gamma correction feature in
|
|
||||||
Mesa. Some systems, such as Silicon Graphics, support gamma
|
|
||||||
correction in hardware (man gamma) so you won't need to use Mesa's
|
|
||||||
gamma facility. Other systems, however, may need gamma adjustment
|
|
||||||
to produce images which look correct. If in the past you thought
|
|
||||||
Mesa's images were too dim, read on.
|
|
||||||
|
|
||||||
Gamma correction is controlled with the MESA_GAMMA environment
|
|
||||||
variable. Its value is of the form "Gr Gg Gb" or just "G" where
|
|
||||||
Gr is the red gamma value, Gg is the green gamma value, Gb is the
|
|
||||||
blue gamma value and G is one gamma value to use for all three
|
|
||||||
channels. Each value is a positive real number typically in the
|
|
||||||
range 1.0 to 2.5. The defaults are all 1.0, effectively disabling
|
|
||||||
gamma correction. Examples using csh:
|
|
||||||
|
|
||||||
% setenv MESA_GAMMA "2.3 2.2 2.4" // separate R,G,B values
|
|
||||||
% setenv MESA_GAMMA "2.0" // same gamma for R,G,B
|
|
||||||
|
|
||||||
The demos/gamma.c program may help you to determine reasonable gamma
|
|
||||||
value for your display. With correct gamma values, the color intensities
|
|
||||||
displayed in the top row (drawn by dithering) should nearly match those
|
|
||||||
in the bottom row (drawn as grays).
|
|
||||||
|
|
||||||
Alex De Bruyn reports that gamma values of 1.6, 1.6 and 1.9 work well
|
|
||||||
on HP displays using the HP-ColorRecovery technology.
|
|
||||||
|
|
||||||
Mesa implements gamma correction with a lookup table which translates
|
|
||||||
a "linear" pixel value to a gamma-corrected pixel value. There is a
|
|
||||||
small performance penalty. Gamma correction only works in RGB mode.
|
|
||||||
Also be aware that pixel values read back from the frame buffer will
|
|
||||||
not be "un-corrected" so glReadPixels may not return the same data
|
|
||||||
drawn with glDrawPixels.
|
|
||||||
|
|
||||||
For more information about gamma correction see:
|
|
||||||
http://www.inforamp.net/~poynton/notes/colour_and_gamma/GammaFAQ.html
|
|
||||||
|
|
||||||
|
|
||||||
Overlay Planes
|
|
||||||
|
|
||||||
Overlay planes in the frame buffer are supported by Mesa but require
|
|
||||||
hardware and X server support. To determine if your X server has
|
|
||||||
overlay support you can test for the SERVER_OVERLAY_VISUALS property:
|
|
||||||
|
|
||||||
xprop -root | grep SERVER_OVERLAY_VISUALS
|
|
||||||
|
|
||||||
|
|
||||||
HPCR glClear(GL_COLOR_BUFFER_BIT) dithering
|
|
||||||
|
|
||||||
If you set the MESA_HPCR_CLEAR environment variable then dithering
|
|
||||||
will be used when clearing the color buffer. This is only applicable
|
|
||||||
to HP systems with the HPCR (Color Recovery) system.
|
|
||||||
|
|
||||||
|
|
||||||
Extensions
|
|
||||||
==========
|
|
||||||
There are three Mesa-specific GLX extensions at this time.
|
|
||||||
|
|
||||||
GLX_MESA_pixmap_colormap
|
|
||||||
|
|
||||||
This extension adds the GLX function:
|
|
||||||
|
|
||||||
GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual,
|
|
||||||
Pixmap pixmap, Colormap cmap )
|
|
||||||
|
|
||||||
It is an alternative to the standard glXCreateGLXPixmap() function.
|
|
||||||
Since Mesa supports RGB rendering into any X visual, not just True-
|
|
||||||
Color or DirectColor, Mesa needs colormap information to convert RGB
|
|
||||||
values into pixel values. An X window carries this information but a
|
|
||||||
pixmap does not. This function associates a colormap to a GLX pixmap.
|
|
||||||
See the xdemos/glxpixmap.c file for an example of how to use this
|
|
||||||
extension.
|
|
||||||
|
|
||||||
GLX_MESA_release_buffers
|
|
||||||
|
|
||||||
Mesa associates a set of ancillary (depth, accumulation, stencil and
|
|
||||||
alpha) buffers with each X window it draws into. These ancillary
|
|
||||||
buffers are allocated for each X window the first time the X window
|
|
||||||
is passed to glXMakeCurrent(). Mesa, however, can't detect when an
|
|
||||||
X window has been destroyed in order to free the ancillary buffers.
|
|
||||||
|
|
||||||
The best it can do is to check for recently destroyed windows whenever
|
|
||||||
the client calls the glXCreateContext() or glXDestroyContext()
|
|
||||||
functions. This may not be sufficient in all situations though.
|
|
||||||
|
|
||||||
The GLX_MESA_release_buffers extension allows a client to explicitly
|
|
||||||
deallocate the ancillary buffers by calling glxReleaseBuffersMESA()
|
|
||||||
just before an X window is destroyed. For example:
|
|
||||||
|
|
||||||
#ifdef GLX_MESA_release_buffers
|
|
||||||
glXReleaseBuffersMESA( dpy, window );
|
|
||||||
#endif
|
|
||||||
XDestroyWindow( dpy, window );
|
|
||||||
|
|
||||||
This extension is new in Mesa 2.0.
|
|
||||||
|
|
||||||
GLX_MESA_copy_sub_buffer
|
|
||||||
|
|
||||||
This extension adds the glXCopySubBufferMESA() function. It works
|
|
||||||
like glXSwapBuffers() but only copies a sub-region of the window
|
|
||||||
instead of the whole window.
|
|
||||||
|
|
||||||
This extension is new in Mesa version 2.6
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Summary of X-related environment variables:
|
|
||||||
MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
|
|
||||||
MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
|
|
||||||
MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
|
|
||||||
MESA_PRIVATE_CMAP - force aux/tk libraries to use private colormaps (X only)
|
|
||||||
MESA_GAMMA - gamma correction coefficients (X only)
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
|
||||||
$Id: README.X11,v 3.11 2003/12/17 15:14:31 brianp Exp $
|
|
47
docs/RELNOTES-6.4.1
Normal file
47
docs/RELNOTES-6.4.1
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
|
||||||
|
Mesa 6.4.1 Release Notes
|
||||||
|
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
Mesa uses an even/odd version number scheme like the Linux kernel.
|
||||||
|
Odd numbered versions (such as 6.3) designate new developmental releases.
|
||||||
|
Even numbered versions (such as 6.4) designate stable releases.
|
||||||
|
|
||||||
|
|
||||||
|
6.4.1 is a bug-fix release. See the VERSIONS file for details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
GLUT tarball
|
||||||
|
------------
|
||||||
|
|
||||||
|
Starting with 6.4, the GLUT library sources are distributed in a separate
|
||||||
|
tarball. This was done at the request of Linux distro vendors who prefer
|
||||||
|
to use freeglut.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Driver Status
|
||||||
|
---------------------- ----------------------
|
||||||
|
DRI drivers varies with the driver
|
||||||
|
XMesa (Xlib) implements OpenGL 1.5
|
||||||
|
OSMesa (off-screen) implements OpenGL 1.5
|
||||||
|
Windows/Win32 implements OpenGL 1.5
|
||||||
|
Glide (3dfx Voodoo1/2) requires updates
|
||||||
|
SVGA requires updates
|
||||||
|
DJGPP requires updates
|
||||||
|
GGI requires updates
|
||||||
|
BeOS requires updates
|
||||||
|
Allegro requires updates
|
||||||
|
D3D requires updates
|
||||||
|
|
||||||
|
The drivers which require updates mostly need to be updated to work
|
||||||
|
with the new gl_renderbuffer / gl_framebuffer infrastructure introduced
|
||||||
|
in Mesa 6.3.
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
$Id: RELNOTES-6.4.1,v 3.1 2006/02/03 17:21:54 brianp Exp $
|
47
docs/RELNOTES-6.4.2
Normal file
47
docs/RELNOTES-6.4.2
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
|
||||||
|
Mesa 6.4.2 Release Notes
|
||||||
|
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
Mesa uses an even/odd version number scheme like the Linux kernel.
|
||||||
|
Odd numbered versions (such as 6.3) designate new developmental releases.
|
||||||
|
Even numbered versions (such as 6.4) designate stable releases.
|
||||||
|
|
||||||
|
|
||||||
|
6.4.2 is a minor bug-fix release. See the VERSIONS file for details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
GLUT tarball
|
||||||
|
------------
|
||||||
|
|
||||||
|
Starting with 6.4, the GLUT library sources are distributed in a separate
|
||||||
|
tarball. This was done at the request of Linux distro vendors who prefer
|
||||||
|
to use freeglut.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Driver Status
|
||||||
|
---------------------- ----------------------
|
||||||
|
DRI drivers varies with the driver
|
||||||
|
XMesa (Xlib) implements OpenGL 1.5
|
||||||
|
OSMesa (off-screen) implements OpenGL 1.5
|
||||||
|
Windows/Win32 implements OpenGL 1.5
|
||||||
|
Glide (3dfx Voodoo1/2) requires updates
|
||||||
|
SVGA requires updates
|
||||||
|
DJGPP requires updates
|
||||||
|
GGI requires updates
|
||||||
|
BeOS requires updates
|
||||||
|
Allegro requires updates
|
||||||
|
D3D requires updates
|
||||||
|
|
||||||
|
The drivers which require updates mostly need to be updated to work
|
||||||
|
with the new gl_renderbuffer / gl_framebuffer infrastructure introduced
|
||||||
|
in Mesa 6.3.
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
$Id: RELNOTES-6.4.2,v 3.1 2006/02/03 17:21:54 brianp Exp $
|
@@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
Mesa 6.5 Release Notes
|
Mesa 6.5 Release Notes
|
||||||
|
|
||||||
month, day, 2005
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -17,23 +15,29 @@ Even numbered versions (such as 6.4) designate stable releases.
|
|||||||
New Features
|
New Features
|
||||||
------------
|
------------
|
||||||
|
|
||||||
GL_EXT_timer_query - used to get elapsed time information from the renderer.
|
OpenGL Shading language support
|
||||||
|
This includes the GL_ARB_shader_objects, GL_ARB_shading_language_100,
|
||||||
|
GL_ARB_vertex_shader and GL_ARB_fragment_shader extensions. Most of
|
||||||
|
the work was done by Michal Krol.
|
||||||
|
There's probably a fair number of bugs since this is a pretty large,
|
||||||
|
complicated body of code.
|
||||||
|
|
||||||
|
The OpenGL 2.0 interface to these features will be implemented in a
|
||||||
|
future version of Mesa,
|
||||||
|
|
||||||
|
GL_EXT_timer_query
|
||||||
|
Used to measure the time of OpenGL operations at high precision.
|
||||||
|
Only supported in the software/Xlib driver at this time.
|
||||||
|
|
||||||
Driver Interface Changes
|
GL_EXT_packed_depth_stencil
|
||||||
------------------------
|
Defines a new GL_DEPTH_STENCIL_EXT pixel format.
|
||||||
|
|
||||||
Stencil: The Driver.StencilOp/Func/Mask() functions have been replaced by
|
GL_EXT_framebuffer_blit
|
||||||
the two-sided versions: Driver.Stencil*Separate().
|
A simplified glCopyPixels-like feature for copying pixel rectangles.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To Do
|
|
||||||
-----
|
|
||||||
Fix linux-glide target/driver.
|
|
||||||
Fix lambda calculation for frag progs.
|
|
||||||
|
|
||||||
|
GL_ARB_half_float_pixel
|
||||||
|
Adds a new half-precision floating point format for image transfers,
|
||||||
|
such as for glDrawPixels, glReadPixels, glTexImage, etc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -46,18 +50,37 @@ The following extensions have been removed:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Known Issues
|
||||||
|
------------
|
||||||
|
|
||||||
|
Rendering to depth textures will not work. Rendering to GL_DEPTH_STENCIL
|
||||||
|
textures should work.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Driver Interface Changes
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
Stencil: The Driver.StencilOp/Func/Mask() functions have been replaced by
|
||||||
|
the two-sided versions: Driver.Stencil*Separate().
|
||||||
|
|
||||||
|
Render-to-texture: The functions for rendering to textures have changed.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To Do (someday) items
|
To Do (someday) items
|
||||||
---------------------
|
---------------------
|
||||||
Switch to freeglut
|
Switch to freeglut
|
||||||
Increase MAX_DRAWBUFFERS
|
Increase MAX_DRAWBUFFERS
|
||||||
|
Fix linux-glide target/driver.
|
||||||
|
Fix lambda calculation for frag progs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Driver Status
|
Driver Status
|
||||||
---------------------- ----------------------
|
---------------------- ----------------------
|
||||||
DRI drivers varies with the driver
|
DRI drivers varies with the driver
|
||||||
XMesa (Xlib) implements OpenGL 1.5
|
XMesa/GLX (on Xlib) implements OpenGL 1.5
|
||||||
OSMesa (off-screen) implements OpenGL 1.5
|
OSMesa (off-screen) implements OpenGL 1.5
|
||||||
Glide (3dfx Voodoo1/2) implements OpenGL 1.3
|
Glide (3dfx Voodoo1/2) implements OpenGL 1.3
|
||||||
SVGA implements OpenGL 1.3
|
SVGA implements OpenGL 1.3
|
||||||
@@ -71,4 +94,4 @@ D3D needs updating
|
|||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
$Id: RELNOTES-6.5,v 3.1 2005/09/14 14:34:54 brianp Exp $
|
$Id: RELNOTES-6.5,v 3.4 2006/03/29 04:53:02 brianp Exp $
|
||||||
|
@@ -1407,10 +1407,42 @@ Mesa Version History
|
|||||||
- fragment programs that wrote result.depth.z didn't work
|
- fragment programs that wrote result.depth.z didn't work
|
||||||
|
|
||||||
|
|
||||||
6.5 month, day, 2005
|
6.4.1 November 30, 2005
|
||||||
|
Bug fixes:
|
||||||
|
- redefining a vertex program string didn't take effect in TNL module
|
||||||
|
- fixed occasional segfault upon vertex/fragment parsing error
|
||||||
|
- vertex program LIT instruction didn't handle 0^0=1 correctly
|
||||||
|
- fragment program fog option didn't work with glDrawPixels, glBitmap
|
||||||
|
- USE_MGL_NAMESPACE didn't work for x86-64
|
||||||
|
- OSMesa demos were missing from previous release tarballs
|
||||||
|
- fixed problem with float->ushort conversion in glClear (bug 4992)
|
||||||
|
- popping of GL_EYE_PLANE texgen state was broken (bug 4996)
|
||||||
|
- popping of GL_SPOT_DIRECTION light state was broken (bug 5005)
|
||||||
|
- fixed occasional triangle color interpolation problem on VMS
|
||||||
|
- work around invalid free() call (bug 5131)
|
||||||
|
- fixed BSD X server compilation problem by including stdint.h
|
||||||
|
|
||||||
|
|
||||||
|
6.4.2 February 2, 2006
|
||||||
New:
|
New:
|
||||||
|
- added OSMesaColorClamp() function/feature
|
||||||
|
- added wglGetExtensionStringARB() function
|
||||||
|
Bug fixes:
|
||||||
|
- fixed some problems when building on Windows
|
||||||
|
- GLw header files weren't installed by installmesa script (bug 5396)
|
||||||
|
- GL/glfbdev.h file was missing from tarballs
|
||||||
|
- fixed TNL initialization bug which could lead to crash (bug 5791)
|
||||||
|
|
||||||
|
|
||||||
|
6.5 March 31, 2006
|
||||||
|
New:
|
||||||
|
- OpenGL Shading Language support through GL_ARB_shader_objects,
|
||||||
|
GL_ARB_shading_language_100, GL_ARB_vertex_shader and
|
||||||
|
GL_ARB_fragment_shader (done by Michal Krol)
|
||||||
- GL_EXT_packed_depth_stencil extension
|
- GL_EXT_packed_depth_stencil extension
|
||||||
- GL_EXT_timer_query extension
|
- GL_EXT_timer_query extension
|
||||||
|
- GL_EXT_framebuffer_blit extension
|
||||||
|
- GL_ARB_half_float_pixel
|
||||||
- reflect demo improved to support multiple windows
|
- reflect demo improved to support multiple windows
|
||||||
- singlebuffer demo (shows no/little-flicker single-buffered rendering)
|
- singlebuffer demo (shows no/little-flicker single-buffered rendering)
|
||||||
- r200: enable GL_ARB_texture_env_crossbar, separate the texture
|
- r200: enable GL_ARB_texture_env_crossbar, separate the texture
|
||||||
@@ -1420,8 +1452,49 @@ Mesa Version History
|
|||||||
- radeon: add support for all 3 tmus, GL_ARB_texture_cube_map
|
- radeon: add support for all 3 tmus, GL_ARB_texture_cube_map
|
||||||
and GL_EXT_fog_coord
|
and GL_EXT_fog_coord
|
||||||
- MESA_GLX_ALPHA_BITS env var for xlib driver
|
- MESA_GLX_ALPHA_BITS env var for xlib driver
|
||||||
|
- many DRI driver updates (including screen rotation support
|
||||||
|
for the Intel DRI driver)
|
||||||
Changes:
|
Changes:
|
||||||
- removed GL_HP_occlusion_test (use GL_ARB_occlusion_query instead)
|
- removed GL_HP_occlusion_test (use GL_ARB_occlusion_query instead)
|
||||||
- removed GL_SGIX/SGIS_pixel_texture extensions
|
- removed GL_SGIX/SGIS_pixel_texture extensions
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
- fixed glxcontextmodes.c datatype problem (bug 5835)
|
||||||
|
- fixed aix-gcc build/install bugs (bug 5874)
|
||||||
|
- fixed some bugs in texture env program generation
|
||||||
|
- glXCopyContext() didn't handle texture object bindings properly
|
||||||
|
- glXCopyContext() didn't copy all lighting state
|
||||||
|
- fixed FreeBSD config (Pedro Giffuni)
|
||||||
|
- fixed some minor framebuffer object bugs
|
||||||
|
- replaced dprintf() with _glu_printf() in GLU (bug 6244)
|
||||||
|
- fixed a number of thread safety bugs/regressions
|
||||||
|
- fixed a number of GLU tesselator bugs (John Shell, bug 6339)
|
||||||
|
- paletted texturing was broken w/ floating point palettes (K. Schultz)
|
||||||
|
- lots of assorted framebuffer object bug fixes
|
||||||
|
|
||||||
|
6.5.1 month, day, 2006
|
||||||
|
New:
|
||||||
|
- GL_APPLE_vertex_array_object extension (Ian Romanick)
|
||||||
|
- "engine" demo
|
||||||
|
Changes:
|
||||||
|
- The glVertexAttribARB functions no longer alias the conventional
|
||||||
|
vertex attributes.
|
||||||
|
- glxinfo program prints more info with -l option
|
||||||
|
Bug fixes:
|
||||||
|
- fixed broken texture border handling for depth textures (bug 6498)
|
||||||
|
- removed the test for duplicated framebuffer attachments, per
|
||||||
|
version 117 of the GL_EXT_framebuffer_object specification
|
||||||
|
- fixed a few render-to-texture bugs, including render to depth texture
|
||||||
|
- clipping of lines against user-defined clip planes was broken (6512)
|
||||||
|
- assembly language dispatch for SPARC was broken (bug 6484)
|
||||||
|
- assorted compilation fixes on various Unix platforms (Dan Schikore)
|
||||||
|
- glPopAttrib could restore an invalid value for GL_DRAW_BUFFER
|
||||||
|
- assorted minor fixes for 16 and 32 bit/channel modes
|
||||||
|
- fixed assorted bugs in texture compression paths
|
||||||
|
- fixed indirect rendering vertex array crashes (bug 6863)
|
||||||
|
- glDrawPixels GL_INDEX_OFFSET didn't always work
|
||||||
|
- fixed convolution memory leak (bug 7077)
|
||||||
|
- rectangular depth textures didn't work
|
||||||
|
- invalid mode to glBegin didn't generate an error (bug 7142)
|
||||||
|
- 'normalized' parameter to glVertexAttribPointerARB didn't work
|
||||||
|
- disable bogus GLX_SGI_video_sync extension in xlib driver
|
||||||
|
- fixed R128 driver locking bug (Martijn van Oosterhout)
|
||||||
|
@@ -40,14 +40,14 @@ Here are the basic instructions for Unix systems:
|
|||||||
Version 1.9.28 is known to work.
|
Version 1.9.28 is known to work.
|
||||||
<li>Login as an anonymous user:
|
<li>Login as an anonymous user:
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa login
|
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa login
|
||||||
</pre>
|
</pre>
|
||||||
Just press Enter/Return when prompted for a password.
|
Just press Enter/Return when prompted for a password.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<li>Check out the code:
|
<li>Check out the code:
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa co Mesa
|
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa co Mesa
|
||||||
</pre>
|
</pre>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ Here are the basic instructions for Unix systems:
|
|||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li><code>cd Mesa</code>
|
<li><code>cd Mesa</code>
|
||||||
<li><code>cvs -z3 -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa update</code>
|
<li><code>cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa update</code>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ with:
|
|||||||
</pre>
|
</pre>
|
||||||
followed by:
|
followed by:
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:ext:yourusername@pdx.freedesktop.org:/cvs/mesa co Mesa
|
cvs -d:ext:yourusername@cvs.freedesktop.org:/cvs/mesa co Mesa
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@@ -83,7 +83,7 @@ Brace example:
|
|||||||
Here's the GNU indent command which will best approximate my preferred style:
|
Here's the GNU indent command which will best approximate my preferred style:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
indent -br -i3 -npcs infile.c -o outfile.c
|
indent -br -i3 -npcs --no-tabs infile.c -o outfile.c
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ DEMO_NAME are correct.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Update the docs/news.html file and docs/contents.html files.
|
Update the docs/news.html file and docs/download.html files.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@@ -9,11 +9,11 @@
|
|||||||
<H1>Downloading</H1>
|
<H1>Downloading</H1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Last development release: <b>6.3.2</b>
|
Last development release: <b>6.5</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Last stable release: <b>6.2.1</b>
|
Last stable release: <b>6.4.2</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -32,10 +32,10 @@ Mesa is distributed in several parts:
|
|||||||
</li>
|
</li>
|
||||||
<li><b>MesaDemos-x.y.z</b> - OpenGL demonstration and test programs.
|
<li><b>MesaDemos-x.y.z</b> - OpenGL demonstration and test programs.
|
||||||
Most of the programs require GLUT (either the
|
Most of the programs require GLUT (either the
|
||||||
<a href="http://www.opengl.org/resources/libraries/glut.html"
|
<a href="http://www.opengl.org/resources/libraries/glut"
|
||||||
target="_parent">original GLUT by Mark Kilgard</a> or
|
target="_parent">original GLUT by Mark Kilgard</a> or
|
||||||
<a href="http://freeglut.sourceforge.net" target="_parent">freeglut</a> or
|
<a href="http://freeglut.sourceforge.net" target="_parent">freeglut</a> or
|
||||||
<a href="http://freeglut.sourceforge.net" target="_parent">OpenGLUT</a>).
|
<a href="http://openglut.sourceforge.net" target="_parent">OpenGLUT</a>).
|
||||||
</li>
|
</li>
|
||||||
<li><b>MesaGLUT-x.y.z</b> - Mark Kilgard's GLUT, easily compiled and used
|
<li><b>MesaGLUT-x.y.z</b> - Mark Kilgard's GLUT, easily compiled and used
|
||||||
with Mesa. Plus, other implementation of GLUT for DOS, OS/2, BeOS, etc.
|
with Mesa. Plus, other implementation of GLUT for DOS, OS/2, BeOS, etc.
|
||||||
@@ -47,9 +47,13 @@ If you're not interested in running the demos, you'll only need the first
|
|||||||
package.
|
package.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you're new to this and not sure what you're doing, grab all three packages.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The packages are available in .tar.gz, .tar.bz2 and .zip formats.
|
The packages are available in .tar.gz, .tar.bz2 and .zip formats.
|
||||||
Other organizations might offer additional package formats.
|
Other sites might offer additional package formats.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H1>Unpacking</H1>
|
<H1>Unpacking</H1>
|
||||||
@@ -95,7 +99,7 @@ or
|
|||||||
<h1>Contents</h1>
|
<h1>Contents</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
After unpacking you'll have these directories:
|
After unpacking you'll have these files and directories (among others):
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
Makefile - top-level Makefile for most systems
|
Makefile - top-level Makefile for most systems
|
||||||
@@ -106,6 +110,7 @@ docs/ - documentation
|
|||||||
src/ - source code for libraries
|
src/ - source code for libraries
|
||||||
src/mesa - sources for the main Mesa library and device drivers
|
src/mesa - sources for the main Mesa library and device drivers
|
||||||
src/glu - libGLU source code
|
src/glu - libGLU source code
|
||||||
|
src/glx - sources for building libGL with full GLX and DRI support
|
||||||
src/glw - Xt/Motif/OpenGL widget code
|
src/glw - Xt/Motif/OpenGL widget code
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -30,6 +30,11 @@ MESA_ycbcr_texture.spec:
|
|||||||
GL_MESA_pack_invert.spec
|
GL_MESA_pack_invert.spec
|
||||||
GL_PACK_INVERT_MESA 0x8758
|
GL_PACK_INVERT_MESA 0x8758
|
||||||
|
|
||||||
|
GL_MESA_shader_debug.spec:
|
||||||
|
GL_DEBUG_OBJECT_MESA 0x8759
|
||||||
|
GL_DEBUG_PRINT_MESA 0x875A
|
||||||
|
GL_DEBUG_ASSERT_MESA 0x875B
|
||||||
|
|
||||||
GL_MESA_program_debug.spec:
|
GL_MESA_program_debug.spec:
|
||||||
GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x????
|
GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x????
|
||||||
GL_VERTEX_PROGRAM_CALLBACK_MESA 0x????
|
GL_VERTEX_PROGRAM_CALLBACK_MESA 0x????
|
||||||
|
@@ -20,19 +20,25 @@ Mesa supports the following environment variables:
|
|||||||
If the value of MESA_DEBUG is "FP" floating point arithmetic errors will
|
If the value of MESA_DEBUG is "FP" floating point arithmetic errors will
|
||||||
generate exceptions.
|
generate exceptions.
|
||||||
<li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
|
<li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
|
||||||
|
<li>MESA_TEX_PROG - if set, implement conventional texture env modes with
|
||||||
|
fragment programs (intended for developers only)
|
||||||
|
<li>MESA_TNL_PROG - if set, implement conventional vertex transformation
|
||||||
|
operations with vertex programs (intended for developers only).
|
||||||
|
Setting this variable automatically sets the MESA_TEX_PROG variable as well.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The following environment variables are only applicable to the Xlib/X11
|
The following are only applicable to the Xlib software driver.
|
||||||
software driver:
|
See <A HREF="README.X11">README.X11</A> for details.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
|
<li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode
|
||||||
<li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
|
<li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode
|
||||||
<li>MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
|
<li>MESA_BACK_BUFFER - specifies how to implement the back color buffer,
|
||||||
<li>MESA_GAMMA - gamma correction coefficients (X only)
|
either "pixmap" or "ximage"
|
||||||
<li>MESA_XSYNC - enable synchronous X behavior (for X debugging only)
|
<li>MESA_GAMMA - gamma correction coefficients for red, green, blue channels
|
||||||
<li>MESA_GLX_FORCE_CI - if set, force GLX to treak 8bpp visuals as CI visuals
|
<li>MESA_XSYNC - enable synchronous X behavior (for debugging only)
|
||||||
|
<li>MESA_GLX_FORCE_CI - if set, force GLX to treat 8bpp visuals as CI visuals
|
||||||
<li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
|
<li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
|
||||||
"window" to render into a window, or "disable" to disable the Glide driver.
|
"window" to render into a window, or "disable" to disable the Glide driver.
|
||||||
<li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
|
<li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<center>
|
<center>
|
||||||
<h1>Mesa Frequently Asked Questions</h1>
|
<h1>Mesa Frequently Asked Questions</h1>
|
||||||
Last updated: 21 October 2004
|
Last updated: 8 June 2006
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@@ -159,6 +159,12 @@ but it does export the OpenGL API. It allows tiled rendering, sort-last
|
|||||||
rendering, etc.
|
rendering, etc.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="http://www.ticalc.org/archives/files/fileinfo/361/36173.html"
|
||||||
|
target="_parent">ClosedGL</a> is an OpenGL subset library for TI
|
||||||
|
graphing calculators.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
There may be other open OpenGL implementations, but Mesa is the most
|
There may be other open OpenGL implementations, but Mesa is the most
|
||||||
popular and feature-complete.
|
popular and feature-complete.
|
||||||
@@ -373,7 +379,7 @@ the archives) is a good way to get information.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2>4.3 Why isn't GL_EXT_texture_compression_s3tc implemented in Mesa and/or the DRI drivers?</h2>
|
<h2>4.3 Why isn't GL_EXT_texture_compression_s3tc implemented in Mesa?</h2>
|
||||||
<p>
|
<p>
|
||||||
The <a href="http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt" target="_parent">specification for the extension</a>
|
The <a href="http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt" target="_parent">specification for the extension</a>
|
||||||
indicates that there are intellectual property (IP) and/or patent issues
|
indicates that there are intellectual property (IP) and/or patent issues
|
||||||
@@ -385,8 +391,9 @@ implement the extension (specifically the compression/decompression
|
|||||||
algorithms).
|
algorithms).
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Until we can get official permission to do so, this extension will not
|
In the mean time, a 3rd party <a href=
|
||||||
be implemented in Mesa.
|
"http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html"
|
||||||
|
target="_parent">plug-in library</a> is available.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -70,13 +70,13 @@ They're found in a module of the DRI CVS tree.
|
|||||||
To obtain the code do the following:
|
To obtain the code do the following:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/dri login
|
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri login
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
Press Enter/Return when prompted for a password. Then,
|
Press Enter/Return when prompted for a password. Then,
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/dri co drm
|
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@@ -37,54 +37,75 @@ The GL/glfbdev.h header file defines the glFBDev interface.
|
|||||||
The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
|
The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For more information about fbdev, see the
|
For more information about fbdev, see the
|
||||||
<a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
|
<a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
|
||||||
Framebuffer Howto</a>
|
Framebuffer Howto</a>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
You will need at minimum, a framebuffer device, check /dev/fb0
|
||||||
|
</p>
|
||||||
|
|
||||||
<h1>2. Compilation</h1>
|
<h1>2. Compilation</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To compile Mesa with support for the glFBDev interface:
|
To compile Mesa with support for the glFBDev interface:
|
||||||
<pre>
|
<pre>
|
||||||
XXX todo
|
make realclean
|
||||||
|
make linux-fbdev
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
|
When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
|
||||||
</p>
|
</p>
|
||||||
|
<h1>3. Permissions</h1>
|
||||||
</p>
|
|
||||||
xxx todo
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h1>3. Compiling and linking glFBDev programs</h1>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
xxx todo
|
Typically /dev/fb/0 is grouped to the video group. It may be useful to add
|
||||||
</p>
|
your user to the video group so the demos will not have to be run as root.
|
||||||
|
To use fbdevglut with the prefered tty input, you should add the user to the
|
||||||
|
tty group as well
|
||||||
|
|
||||||
<h1>4. Running glFBDev programs</h1>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
First, you need to have a working fbdev environment.
|
|
||||||
See the
|
|
||||||
<a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
|
|
||||||
Framebuffer Howto</a> for information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
<h1>4. Using fbdevglut</h1>
|
||||||
|
Almost all of the programs in the progs directory use glut, and they compile with fbdevglut.
|
||||||
|
Currently glBlendFunc is not working with glFBDev.
|
||||||
<p>
|
<p>
|
||||||
Programs must be run with root permission.
|
To compile the redbook sample programs:
|
||||||
|
<pre>
|
||||||
|
cd progs/redbook
|
||||||
|
make
|
||||||
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
|
<p>glut features not supported:
|
||||||
|
<li>Overlays
|
||||||
|
<li>Subwindows
|
||||||
|
<li>Input devices other than Keyboard/Mouse
|
||||||
|
<li>No support for GLUT_MULTISAMPLE, GLUT_STEREO, or GLUT_LUMINANCE
|
||||||
|
<li>Cursor and Menu Support will flicker in GLUT_SINGLE mode
|
||||||
|
|
||||||
|
<p>Keyboard input is read by opening /dev/tty and reading keycodes in medium raw mode.
|
||||||
|
<p>Mouse input is read from env var MOUSE, or /dev/gpmdata and should be in ms3 format.
|
||||||
|
To forward data in this format to /dev/gpmdata, run gpm with the -Rms3 option.
|
||||||
|
<p> glutInit allows glut programs to pass parameters to the glut library, currently the
|
||||||
|
following options are supported for fbdevglut:
|
||||||
|
<p><li>-geometry widthxheight -- This will force the resolution to be widthxheight instead of autodetecting.
|
||||||
|
The modes are read from /etc/fb.modes
|
||||||
|
<p><li>-bpp -- This will force the bitdepth to the one specified
|
||||||
|
<p><li>-vt -- This allows you to specify the virtual terminal to attach keyboard input to. It is useful to specify when running inside screen.
|
||||||
|
<p><li>-mousespeed -- A floating point multiplication factor to increase mouse speed
|
||||||
|
<p><li>-nomouse -- Disable mouse support
|
||||||
|
<p><li>-nokeyboard -- Disable keyboard support (this will probably break mouse support as well)
|
||||||
|
<p><li>-stdin -- Use stdin for input instead of attaching to kbd in medium-raw mode.
|
||||||
|
This will make it impossible to detect keypresses like Shift+Tab, you will also need to specify -gpmmouse for mouse support. This option can be used with a debugger, and it is possible to single step a program with gdb and set the FRAMEBUFFER environment variable to a different framebuffer for display. The program will not be able to handle vt switching on it's own, so it will always display.
|
||||||
|
<p><li>-gpmmouse -- This will attempt to connect to the /dev/gpmctl socket using liblow
|
||||||
|
for mouse data. Gpm does not provide this data when in graphics mode, so vt switching
|
||||||
|
will briefly display text. This mode typically has no initial mouse delay.
|
||||||
|
<p><li>-- Ignore any additional arguments
|
||||||
|
<p>Notes:
|
||||||
|
<p>
|
||||||
|
1. The mouse pointer flickers in single buffering mode, as it must be rendered in software. Hopefully in the future there will be a way to access hardware cursors in fbdev devices.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -27,9 +27,12 @@
|
|||||||
Mesa may be compiled in several different ways:
|
Mesa may be compiled in several different ways:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b><em>Stand-alone/Xlib mode</em></b> - Mesa is compiled as
|
<li><b><em>Stand-alone/Xlib mode</em></b> - Mesa will be compiled as
|
||||||
a software renderer using Xlib to do all rendering.
|
a software renderer using Xlib to do all rendering.
|
||||||
libGL.so is a self-contained rendering library.
|
The libGL.so library will be a self-contained rendering library that will
|
||||||
|
allow you to run OpenGL/GLX applications on any X server (regardless of
|
||||||
|
whether it supports the GLX X server extension).
|
||||||
|
You will <em>not</em> be able to use hardware 3D acceleration.
|
||||||
<p>
|
<p>
|
||||||
To compile stand-alone Mesa type <b>make</b> in the top-level directory.
|
To compile stand-alone Mesa type <b>make</b> in the top-level directory.
|
||||||
You'll see a list of supported system configurations.
|
You'll see a list of supported system configurations.
|
||||||
@@ -41,49 +44,73 @@ Choose one from the list (such as linux-x86), and type:
|
|||||||
<p>This will produce libGL.so and several other libraries</p>
|
<p>This will produce libGL.so and several other libraries</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><b><em>DRI/accelerated</em></b> - The DRI hardware drivers (for ATI,
|
<li><b><em>DRI/accelerated</em></b> - The DRI hardware drivers for
|
||||||
Intel, Matrox, etc) are built.
|
accelerated OpenGL rendering (for ATI, Intel, Matrox, etc) will be built.
|
||||||
libGL.so implements the GLX extension and dynamically loads the DRI drivers.
|
The libGL.so library will support the GLX extension and will load/use
|
||||||
|
the DRI hardware drivers.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To build the DRI drivers you'll first need to have the DRM (Direct
|
<b>Prerequisites:</b>
|
||||||
Rendering Manager) kernel drivers and header files.
|
|
||||||
They're available from the <a href="http://dri.sf.net/" target="_parent">DRI</a> project.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
|
||||||
|
<li>
|
||||||
<p>
|
<p>
|
||||||
You can get them from CVS by doing:
|
DRM kernel modules and header files from the
|
||||||
<pre>
|
<a href="http://dri.sf.net/" target="_parent">DRI</a> project.
|
||||||
cvs -d:pserver:anonymous@pds.freedesktop.org:/cvs/dri login
|
|
||||||
(hit enter when prompted for a password)
|
|
||||||
cvs -z3 -d:pserver:anonymous@pdx.freedesktop.org:/cvs/dri co drm
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
Make note of the directory in which the drm files are placed.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
See the <a href="http://dri.freedesktop.org/wiki/Building" target="_parent">
|
|
||||||
DRI Building Instructions</a> for the steps to build the DRM modules.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Next, in the <code>Mesa-x.y.z/configs/default</code> file, set the
|
|
||||||
<code>DRM_SOURCE_PATH</code> variable to indicate where the DRM files
|
|
||||||
are located.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Now build Mesa and the DRI drivers by running
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
make linux-dri
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
There are also <code>linux-dri-x86</code>, <code>linux-dri-x86-64</code>,
|
|
||||||
and <code>linux-ppc</code> configurations, optimized for those architectures.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Finally, you'll need a DRI-enabled X server from
|
If you don't already have the DRM file, you can get the sources from
|
||||||
|
CVS by doing:
|
||||||
|
<pre>
|
||||||
|
cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
See the <a href="http://dri.freedesktop.org/wiki/Building" target="_parent">
|
||||||
|
DRI Building Instructions</a> for the steps to build the DRM modules. Mesa
|
||||||
|
6.5 requires at least libdrm 2.0.1 or greater.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
You can verify that the DRM files have been properly installed by
|
||||||
|
running <code>pkg-config --modversion libdrm</code>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
Recent /usr/include/GL/glxproto.h file.
|
||||||
|
<p>You'll need this if you get any errors about _GLXvop_BindTexImageEXT
|
||||||
|
being undefined.
|
||||||
|
</p>
|
||||||
|
<p>The latest version can be
|
||||||
|
obtained from <A href="http://webcvs.freedesktop.org/*checkout*/xorg/proto/GL/glxproto.h?rev=1.9&content-type=text%2Fplain">freedesktop.org CVS</a>
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>DRI-enabled X server.
|
||||||
|
<p>Visit
|
||||||
|
<a href="http://www.xfree86.org" target="_parent">XFree86</a>
|
||||||
|
or
|
||||||
<a href="http://freedesktop.org/wiki/Software_2fXserver" target="_parent">
|
<a href="http://freedesktop.org/wiki/Software_2fXserver" target="_parent">
|
||||||
X.org</a> or <a href="http://www.xfree86.org" target="_parent">XFree86</a>.
|
X.org</a>
|
||||||
Visit those projects' home pages for more information.
|
for more information.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Build Mesa and the DRI hardware drivers by running
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
make linux-dri
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
There are also <code>linux-dri-x86</code>, <code>linux-dri-x86-64</code>,
|
||||||
|
and <code>linux-ppc</code> configurations which are optimized for those
|
||||||
|
architectures.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -100,7 +127,7 @@ Later, if you want to rebuild for a different configuration run
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When compilation has finished, look in the top-level <code>lib/</code>
|
When compilation has finished, look in the top-level <code>lib/</code>
|
||||||
directory.
|
(or <code>lib64/</code>) directory.
|
||||||
You'll see a set of library files similar to this:
|
You'll see a set of library files similar to this:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
@@ -137,10 +164,15 @@ lrwxrwxrwx 1 brian users 23 Mar 26 07:53 libOSMesa.so.6 -> libOSM
|
|||||||
If you built the DRI hardware drivers, you'll also see the DRI drivers:
|
If you built the DRI hardware drivers, you'll also see the DRI drivers:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
|
-rwxr-xr-x 1 brian users 15607851 Jul 21 12:11 ffb_dri.so*
|
||||||
|
-rwxr-xr-x 1 brian users 15148747 Jul 21 12:11 i810_dri.so*
|
||||||
|
-rwxr-xr-x 1 brian users 14497814 Jul 21 12:11 i830_dri.so*
|
||||||
|
-rwxr-xr-x 1 brian users 16895413 Jul 21 12:11 i915_dri.so*
|
||||||
-rwxr-xr-x 1 brian users 11320803 Jul 21 12:11 mach64_dri.so
|
-rwxr-xr-x 1 brian users 11320803 Jul 21 12:11 mach64_dri.so
|
||||||
-rwxr-xr-x 1 brian users 11418014 Jul 21 12:12 mga_dri.so
|
-rwxr-xr-x 1 brian users 11418014 Jul 21 12:12 mga_dri.so
|
||||||
-rwxr-xr-x 1 brian users 11064426 Jul 21 12:12 r128_dri.so
|
-rwxr-xr-x 1 brian users 11064426 Jul 21 12:12 r128_dri.so
|
||||||
-rwxr-xr-x 1 brian users 11849858 Jul 21 12:12 r200_dri.so
|
-rwxr-xr-x 1 brian users 11849858 Jul 21 12:12 r200_dri.so
|
||||||
|
-rwxr-xr-x 1 brian users 16050488 Jul 21 12:11 r300_dri.so*
|
||||||
-rwxr-xr-x 1 brian users 11757388 Jul 21 12:12 radeon_dri.so
|
-rwxr-xr-x 1 brian users 11757388 Jul 21 12:12 radeon_dri.so
|
||||||
-rwxr-xr-x 1 brian users 11232304 Jul 21 12:13 s3v_dri.so
|
-rwxr-xr-x 1 brian users 11232304 Jul 21 12:13 s3v_dri.so
|
||||||
-rwxr-xr-x 1 brian users 11062970 Jul 21 12:13 savage_dri.so
|
-rwxr-xr-x 1 brian users 11062970 Jul 21 12:13 savage_dri.so
|
||||||
@@ -247,14 +279,16 @@ already installed, you'll have to choose different directories, like
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To install Mesa's headers and libraries, run <code>make install</code>
|
To install Mesa's headers and libraries, run <code>make install</code>.
|
||||||
You'll be prompted to enter alternative directories for the headers
|
But first, check the Mesa/configs/default file and examine the values
|
||||||
and libraries.
|
of the <b>INSTALL_DIR</b> and <b>DRI_DRIVER_INSTALL_DIR</b> variables.
|
||||||
|
Change them if needed, then run <code>make install</code>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Note: at runtime, you can set the LD_LIBRARY_PATH (on Linux) to switch
|
Note: at runtime you can use the LD_LIBRARY_PATH environment variable
|
||||||
between the Mesa libs and another vendor libs whenever you want.
|
(on Linux at least) to switch
|
||||||
|
between the Mesa libraries and other vendor's libraries whenever you want.
|
||||||
This is a handy way to compare multiple OpenGL implementations.
|
This is a handy way to compare multiple OpenGL implementations.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<li><a href="http://math.nist.gov/f90gl" target="_parent">Fortran77/90 bindings for OpenGL and Mesa</a> - by William Mitchell
|
<li><a href="http://math.nist.gov/f90gl" target="_parent">Fortran77/90 bindings for OpenGL and Mesa</a> - by William Mitchell
|
||||||
<li><a href="http://glow.sourceforge.net/" target="_parent">GLOW</a> - a GUI toolkit for GLUT and OpenGL
|
<li><a href="http://glow.sourceforge.net/" target="_parent">GLOW</a> - a GUI toolkit for GLUT and OpenGL
|
||||||
<li><a href="http://www.nigels.com/glt/">Glt</a> - an OpenGL C++ toolkit
|
<li><a href="http://www.nigels.com/glt/">Glt</a> - an OpenGL C++ toolkit
|
||||||
<li><a href="http://www.opengl.org/developers/documentation/glut/" target="_parent">GLUT (GL Utility Toolkit)</a> - by Mark Kilgard
|
<li><a href="http://www.opengl.org/resources/libraries/glut.html" target="_parent">GLUT (GL Utility Toolkit)</a> - by Mark Kilgard
|
||||||
<li><a href="http://atrey.karlin.mff.cuni.cz/%7E0rfelyus/guileGL/" target="_parent">GuileGL</a> - OpenGL and GtkGLArea language bindings for Guile
|
<li><a href="http://atrey.karlin.mff.cuni.cz/%7E0rfelyus/guileGL/" target="_parent">GuileGL</a> - OpenGL and GtkGLArea language bindings for Guile
|
||||||
<li><a href="http://www.rsinc.com/" target="_parent">IDL</a> - Interactive Data Language
|
<li><a href="http://www.rsinc.com/" target="_parent">IDL</a> - Interactive Data Language
|
||||||
<li><a href="http://www.newplanetsoftware.com/jx/" target="_parent">JX</a> - C++ application framework and GUI library
|
<li><a href="http://www.newplanetsoftware.com/jx/" target="_parent">JX</a> - C++ application framework and GUI library
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
</li><li><a href="http://mesa3d.sourceforge.net/notfound.html">ARCAD</a> - CAD program
|
</li><li><a href="http://mesa3d.sourceforge.net/notfound.html">ARCAD</a> - CAD program
|
||||||
</li><li><a href="http://www.mediascape.com/" target="_parent">Artstream</a> - provides
|
</li><li><a href="http://www.mediascape.com/" target="_parent">Artstream</a> - provides
|
||||||
functionality like Corel Draw and Illustrator
|
functionality like Corel Draw and Illustrator
|
||||||
</li><li><a href="http://www.blender.nl/" target="_parent">Blender</a> - 3-D animation
|
</li><li><a href="http://www.blender.org/" target="_parent">Blender</a> - 3-D animation
|
||||||
software
|
software
|
||||||
</li><li><a href="http://www.arq.net/%7Ekasten/demtools/" target="_parent">Demtools</a>
|
</li><li><a href="http://www.arq.net/%7Ekasten/demtools/" target="_parent">Demtools</a>
|
||||||
- Map viewer
|
- Map viewer
|
||||||
|
126
docs/news.html
126
docs/news.html
@@ -11,6 +11,130 @@
|
|||||||
<H1>News</H1>
|
<H1>News</H1>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>March 31, 2006</h2>
|
||||||
|
<p>
|
||||||
|
Mesa 6.5 has been released. This is a new development release.
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
New:
|
||||||
|
- OpenGL Shading Language support through GL_ARB_shader_objects,
|
||||||
|
GL_ARB_shading_language_100, GL_ARB_vertex_shader and
|
||||||
|
GL_ARB_fragment_shader (done by Michal Krol)
|
||||||
|
- GL_EXT_packed_depth_stencil extension
|
||||||
|
- GL_EXT_timer_query extension
|
||||||
|
- GL_EXT_framebuffer_blit extension
|
||||||
|
- GL_ARB_half_float_pixel
|
||||||
|
- GLX_MESA_copy_sub_buffer for DRI drivers (Dave Reveman)
|
||||||
|
- reflect demo improved to support multiple windows
|
||||||
|
- singlebuffer demo (shows no/little-flicker single-buffered rendering)
|
||||||
|
- r200: enable GL_ARB_texture_env_crossbar, separate the texture
|
||||||
|
sampling unit bits from the texture env combine enable bits
|
||||||
|
- r200: add support for GL_ATI_fragment_shader
|
||||||
|
- added fast XOR-mode line drawing optimization
|
||||||
|
- radeon: add support for all 3 tmus, GL_ARB_texture_cube_map
|
||||||
|
and GL_EXT_fog_coord
|
||||||
|
- MESA_GLX_ALPHA_BITS env var for xlib driver
|
||||||
|
- many DRI driver updates (including screen rotation support
|
||||||
|
for the Intel DRI driver)
|
||||||
|
Changes:
|
||||||
|
- removed GL_HP_occlusion_test (use GL_ARB_occlusion_query instead)
|
||||||
|
- removed GL_SGIX/SGIS_pixel_texture extensions
|
||||||
|
Bug fixes:
|
||||||
|
- fixed glxcontextmodes.c datatype problem (bug 5835)
|
||||||
|
- fixed aix-gcc build/install bugs (bug 5874)
|
||||||
|
- fixed some bugs in texture env program generation
|
||||||
|
- glXCopyContext() didn't handle texture object bindings properly
|
||||||
|
- glXCopyContext() didn't copy all lighting state
|
||||||
|
- fixed FreeBSD config (Pedro Giffuni)
|
||||||
|
- fixed some minor framebuffer object bugs
|
||||||
|
- replaced dprintf() with _glu_printf() in GLU (bug 6244)
|
||||||
|
- fixed a number of thread safety bugs/regressions
|
||||||
|
- fixed a number of GLU tesselator bugs (John Shell, bug 6339)
|
||||||
|
- paletted texturing was broken w/ floating point palettes (K. Schultz)
|
||||||
|
- lots of assorted framebuffer object bug fixes
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
The MD5 checksums are:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
657be3b92f6dabc78a67ed9cb8d67813 MesaLib-6.5.tar.gz
|
||||||
|
61beda590bfc5b4a12e979d5f2d70d7a MesaLib-6.5.tar.bz2
|
||||||
|
19d48b872d579d4f91466060804a59ac MesaLib-6.5.zip
|
||||||
|
694ad3a7007010c7418a9c72d1cba5b7 MesaDemos-6.5.tar.gz
|
||||||
|
ab95b590dcd640726a2d89e62068c66e MesaDemos-6.5.tar.bz2
|
||||||
|
b792c303fefd87294488e2b7eab976e5 MesaDemos-6.5.zip
|
||||||
|
ac1d585483617db0c91e5c15cb5ec3a3 MesaGLUT-6.5.tar.gz
|
||||||
|
59f0bf2b2ffb67fe23ee479f9b044f31 MesaGLUT-6.5.tar.bz2
|
||||||
|
005decb2136718e22222ac1c4805cd15 MesaGLUT-6.5.zip
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>February 2, 2006</h2>
|
||||||
|
<p>
|
||||||
|
Mesa 6.4.2 has been released. This is primarily a bug-fix release.
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
New items:
|
||||||
|
- added OSMesaColorClamp() function/feature
|
||||||
|
- added wglGetExtensionStringARB() function
|
||||||
|
Bug fixes:
|
||||||
|
- fixed some problems when building on Windows
|
||||||
|
- GLw header files weren't installed by installmesa script (bug 5396)
|
||||||
|
- GL/glfbdev.h file was missing from tarballs
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
The MD5 checksums are:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
cb0d745d520fa7c2bb9178058b763544 MesaLib-6.4.2.tar.gz
|
||||||
|
7674d2c603b5834259e4e5a820cefd5b MesaLib-6.4.2.tar.bz2
|
||||||
|
d224e1325b33ff71a0f3893fc6b4d594 MesaLib-6.4.2.zip
|
||||||
|
d4b345d4588fc750cd3d34f3ac26673e MesaDemos-6.4.2.tar.gz
|
||||||
|
9cae1ab874af533ce356bd7dfe2e0bb0 MesaDemos-6.4.2.tar.bz2
|
||||||
|
2da6e1d1245e441d27813595c6ba50de MesaDemos-6.4.2.zip
|
||||||
|
84427d18c3453f0ea52388eeba7169b5 MesaGLUT-6.4.2.tar.gz
|
||||||
|
b157ba8ad1ea63260cf5339132e7aac6 MesaGLUT-6.4.2.tar.bz2
|
||||||
|
fe1523744fc05edc3811dfc6a1bf4181 MesaGLUT-6.4.2.zip
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>November 29, 2005</h2>
|
||||||
|
<p>
|
||||||
|
Mesa 6.4.1 has been released. This is a stable, bug-fix release.
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
Bug fixes:
|
||||||
|
- redefining a vertex program string didn't take effect in TNL module
|
||||||
|
- fixed occasional segfault upon vertex/fragment parsing error
|
||||||
|
- vertex program LIT instruction didn't handle 0^0=1 correctly
|
||||||
|
- fragment program fog option didn't work with glDrawPixels, glBitmap
|
||||||
|
- USE_MGL_NAMESPACE didn't work for x86-64
|
||||||
|
- OSMesa demos were missing from previous release tarballs
|
||||||
|
- fixed problem with float->ushort conversion in glClear (bug 4992)
|
||||||
|
- popping of GL_EYE_PLANE texgen state was broken (bug 4996)
|
||||||
|
- popping of GL_SPOT_DIRECTION light state was broken (bug 5005)
|
||||||
|
- fixed occasional triangle color interpolation problem on VMS
|
||||||
|
- work around invalid free() call (bug 5131)
|
||||||
|
- fixed BSD X server compilation problem by including stdint.h
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
The MD5 checksums are:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
698ceb574cf882b0226761f5913c0da9 MesaLib-6.4.1.tar.gz
|
||||||
|
ea148c828ec6f645526451db1b8556f1 MesaLib-6.4.1.tar.bz2
|
||||||
|
42e93279468975ed2bf3111b8721e5d9 MesaLib-6.4.1.zip
|
||||||
|
e3b0d50807fd2bdcd1a95aaddd786f13 MesaDemos-6.4.1.tar.gz
|
||||||
|
99df1fdcb98d391666b476ca6f1dda8a MesaDemos-6.4.1.tar.bz2
|
||||||
|
b999d2c6d92fb4b7740a3dbd889348e3 MesaDemos-6.4.1.zip
|
||||||
|
eadfe01fe5ddfb1eb8227dd567b31635 MesaGLUT-6.4.1.tar.gz
|
||||||
|
bd003bb4f981a4f91dee4c38644d4f3f MesaGLUT-6.4.1.tar.bz2
|
||||||
|
71c401c037088bf688a88afdaeb3420f MesaGLUT-6.4.1.zip
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>October 24, 2005</h2>
|
<h2>October 24, 2005</h2>
|
||||||
<p>
|
<p>
|
||||||
Mesa 6.4 has been released. This is a stable, bug-fix release.
|
Mesa 6.4 has been released. This is a stable, bug-fix release.
|
||||||
@@ -1102,6 +1226,6 @@ source code</a>.</p>
|
|||||||
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
$Id: news.html,v 3.25 2005/10/24 23:33:27 brianp Exp $
|
$Id: news.html,v 3.28 2006/04/01 02:29:40 brianp Exp $
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user