Compare commits
782 Commits
intel_2009
...
mesa-7.0.3
Author | SHA1 | Date | |
---|---|---|---|
|
5033e5b36d | ||
|
6a6a9c1c5a | ||
|
3d6aa2e06f | ||
|
03970183fc | ||
|
718724deeb | ||
|
85c325c36c | ||
|
7e6d99f5ec | ||
|
6ce6dc961b | ||
|
186883611e | ||
|
48b3c59cb9 | ||
|
04b9d5bc23 | ||
|
91707e9020 | ||
|
82a0e82232 | ||
|
fe4264bf45 | ||
|
2fa795a213 | ||
|
e32aaf5da8 | ||
|
03447de338 | ||
|
ee5f4a4caf | ||
|
c04f3933ab | ||
|
8f328c45e5 | ||
|
9676f0cffc | ||
|
2d0ca23319 | ||
|
6f4c8b5b50 | ||
|
f8bd9cc30f | ||
|
d9f9b1cd0b | ||
|
eca283976b | ||
|
2176259ca6 | ||
|
8fe6fcb900 | ||
|
76d6edcc38 | ||
|
98d6c671f5 | ||
|
f652811df4 | ||
|
e279f4601d | ||
|
87a30337a1 | ||
|
9c2047b275 | ||
|
1dcb0433a3 | ||
|
5ff27e02b3 | ||
|
4beee58e57 | ||
|
1f9de20719 | ||
|
d05a8d9750 | ||
|
db5f206c00 | ||
|
9dface8347 | ||
|
32f4940883 | ||
|
a7969a9b93 | ||
|
ad88130df5 | ||
|
d1e71bc08b | ||
|
fa58fe247c | ||
|
4b71478326 | ||
|
0989471fdb | ||
|
696140bd1d | ||
|
380d15b7fe | ||
|
41261d64b2 | ||
|
ce7a9efb09 | ||
|
8a38ebe328 | ||
|
dcc6671b85 | ||
|
b53b7581e4 | ||
|
64a4a03c2a | ||
|
b878c3f518 | ||
|
6164163ca8 | ||
|
e92a53cd92 | ||
|
2467af98b1 | ||
|
6f851d8875 | ||
|
9b99bf89c4 | ||
|
7346fca083 | ||
|
7facbb69c6 | ||
|
f59267d650 | ||
|
71cb014195 | ||
|
6c0f8db9c2 | ||
|
49f1e2fc4c | ||
|
2d26e19535 | ||
|
5b0c6cd49a | ||
|
c3ee8e46cc | ||
|
46aac24261 | ||
|
e1032ce718 | ||
|
ce636f36f2 | ||
|
93f2eec6b3 | ||
|
46ef09d787 | ||
|
7487ec0ff0 | ||
|
a25549866f | ||
|
558cc6e38f | ||
|
feb1fa1e83 | ||
|
f32462343d | ||
|
08ef1b379a | ||
|
1e79831b56 | ||
|
7a29164f70 | ||
|
f2533e787e | ||
|
b2ccd5c1ae | ||
|
6f63543dd7 | ||
|
c966f1629b | ||
|
709f24adbb | ||
|
52fe7ea3d1 | ||
|
44f6a6f9c4 | ||
|
ac88b3dd16 | ||
|
27b6fa5615 | ||
|
68eb76dfb7 | ||
|
392760ee0c | ||
|
063b60a51f | ||
|
7b676192e9 | ||
|
138e0010eb | ||
|
36bad2b478 | ||
|
f6d6fc603e | ||
|
5545b46571 | ||
|
06b0a7acce | ||
|
534f30064d | ||
|
6c9e1b2337 | ||
|
62c67576e0 | ||
|
91d59e4cb9 | ||
|
8de268bb3c | ||
|
4fd7f6047c | ||
|
ff3033e190 | ||
|
18404076e3 | ||
|
59c9c40c01 | ||
|
666e0635da | ||
|
f9968a0346 | ||
|
39dca05d1d | ||
|
f51b76b670 | ||
|
40ee989db5 | ||
|
ef76dfc7a0 | ||
|
02ddc08353 | ||
|
4b24d5261a | ||
|
4b96a39c48 | ||
|
48616e71d2 | ||
|
70d227ac62 | ||
|
7f2c4f96f5 | ||
|
667f0f60fc | ||
|
7592b8cc10 | ||
|
f55b831859 | ||
|
217f7f7e5d | ||
|
2e5a63f365 | ||
|
7c614b4666 | ||
|
b23d908829 | ||
|
5379b84e63 | ||
|
32c913308e | ||
|
1e83d70b6d | ||
|
767dfa5b9c | ||
|
7ff5b38126 | ||
|
e209f5300d | ||
|
3c4b50c352 | ||
|
4e7c2fcf18 | ||
|
22534f94f5 | ||
|
1a6928fdbe | ||
|
325dbbac47 | ||
|
39ac6b0481 | ||
|
46cc4854e9 | ||
|
f93882512e | ||
|
0dee2a4f6f | ||
|
3cebc35669 | ||
|
e75a204fb9 | ||
|
ac06a5c16a | ||
|
ed758fee0c | ||
|
a21c61ee8b | ||
|
24697da20e | ||
|
7120c0089d | ||
|
88a436a8f7 | ||
|
2fdb5a245d | ||
|
8441b53538 | ||
|
d336df8b73 | ||
|
8aaf805b8a | ||
|
8161fd2785 | ||
|
2f23025dfe | ||
|
1867eac230 | ||
|
096e35d05f | ||
|
8998f52b97 | ||
|
0fd38dcc83 | ||
|
d89cf0649e | ||
|
31e9d9d4f8 | ||
|
ea9c6d3d9e | ||
|
ff63cf8068 | ||
|
eaac94c35a | ||
|
9291506af0 | ||
|
4716670de9 | ||
|
33c5b38034 | ||
|
5737d6c565 | ||
|
08a7f56c6a | ||
|
7916f2b4aa | ||
|
193d303ac7 | ||
|
e70609b7b8 | ||
|
da476ff02d | ||
|
77e3b5d28b | ||
|
bf97ca448c | ||
|
c5f8ff8b32 | ||
|
50465766d1 | ||
|
7d8df58a63 | ||
|
762c074012 | ||
|
51f2ee3bfb | ||
|
b5cd34aa21 | ||
|
ae5c6dcd42 | ||
|
97196d0c8c | ||
|
f6de56b88a | ||
|
d64ea43b76 | ||
|
2deaf93d24 | ||
|
a107ec8300 | ||
|
120a1f9508 | ||
|
bb84007a57 | ||
|
86234e55a6 | ||
|
61972077cd | ||
|
5a7feb8ea2 | ||
|
4b4c131cd0 | ||
|
67617c8f89 | ||
|
0fd23f01c6 | ||
|
557b0d9df7 | ||
|
888f4380cf | ||
|
3266c5e95a | ||
|
834decdaae | ||
|
18b2d83173 | ||
|
30c65c3c62 | ||
|
04fcc4cf1e | ||
|
09504dde1f | ||
|
c04885f072 | ||
|
48ae5cf09d | ||
|
45cdb6eb45 | ||
|
b9f3f732aa | ||
|
17006ddd6b | ||
|
b77a354df3 | ||
|
71d46beebf | ||
|
454e296eb1 | ||
|
f9b696be2b | ||
|
c923edbc71 | ||
|
e20c1d987f | ||
|
cd354eb10f | ||
|
e9ac27ee23 | ||
|
3f9dc9f5b6 | ||
|
ba709875ae | ||
|
80f8397b35 | ||
|
b45fa27fa1 | ||
|
b59480645d | ||
|
148cb36979 | ||
|
c1eb78f7ff | ||
|
8aa0fd6b20 | ||
|
a1b3a908f5 | ||
|
f9e70d951a | ||
|
41ed6be1da | ||
|
27de28fc3e | ||
|
dd2f01c229 | ||
|
deb5c56c77 | ||
|
9fd22f0e3f | ||
|
942372dcdf | ||
|
b7f901088b | ||
|
c02990525c | ||
|
0107acded0 | ||
|
2ac5e08d1d | ||
|
1837b8c214 | ||
|
03d2bc1774 | ||
|
385bddbde0 | ||
|
c135426267 | ||
|
4be0c98120 | ||
|
e760aebd5a | ||
|
1f6e7d9c29 | ||
|
c6d421af05 | ||
|
952df5e493 | ||
|
45acb8b058 | ||
|
e8997c0183 | ||
|
169e62f563 | ||
|
1b43babfb1 | ||
|
43e902f774 | ||
|
b0a800e249 | ||
|
73d5f232ad | ||
|
f7209541e4 | ||
|
397a32dca7 | ||
|
e0719d7122 | ||
|
3f18c0a9f2 | ||
|
b14be61938 | ||
|
440d620308 | ||
|
8dd9df0f3e | ||
|
6b9534eaf5 | ||
|
c91d374ad7 | ||
|
1cab4160bc | ||
|
718d2dfbbd | ||
|
0967e1270d | ||
|
a08c02f1a8 | ||
|
bdfd9afead | ||
|
1c91a590d6 | ||
|
65bd7968bf | ||
|
6ccd23b87b | ||
|
823409b7d0 | ||
|
c85d31f4a0 | ||
|
24af5c44da | ||
|
75efacf8eb | ||
|
825e810247 | ||
|
e20723cfc1 | ||
|
9f39a67c1d | ||
|
2044f3f791 | ||
|
30d4e8c422 | ||
|
92d552f6a2 | ||
|
5adfcbbc4f | ||
|
69969b3819 | ||
|
edfee04fcb | ||
|
ae0bf74db9 | ||
|
1bf7ce97c0 | ||
|
4971a009e0 | ||
|
e1613ab80d | ||
|
28c9930888 | ||
|
e3a35a123e | ||
|
412168f2e8 | ||
|
fc0fa0d636 | ||
|
caf283329b | ||
|
5cedd4a43e | ||
|
0595d32d8a | ||
|
e339b4e8da | ||
|
11c827c588 | ||
|
8a40b670c3 | ||
|
d9fa5cbfc9 | ||
|
1c21564292 | ||
|
6cc96bf156 | ||
|
29afd4bbc4 | ||
|
4e3db063ec | ||
|
6560744c38 | ||
|
572ad87881 | ||
|
2ab75d6cfa | ||
|
041a8eb5ec | ||
|
c1c13bdcfa | ||
|
403edd34dd | ||
|
f279e48416 | ||
|
bf854d8d27 | ||
|
f334121679 | ||
|
b88e2be609 | ||
|
08229c8bb8 | ||
|
c984017f71 | ||
|
00e7dd8a13 | ||
|
d11b375b16 | ||
|
d1afa8146f | ||
|
31d4ba8a93 | ||
|
1a7640958c | ||
|
2e2a5a450b | ||
|
574fd63ff0 | ||
|
1063d47526 | ||
|
b59a892d3e | ||
|
6e5d5d77df | ||
|
a6319d18cf | ||
|
5103e883fd | ||
|
98c4ea4b24 | ||
|
29b8cac7d7 | ||
|
cdb02d43fe | ||
|
50cecddc4a | ||
|
177f6398e5 | ||
|
887bd6a46f | ||
|
9af5153410 | ||
|
0e2103689e | ||
|
2c496d8e46 | ||
|
8f0ba02e44 | ||
|
524c56e417 | ||
|
773f3a266c | ||
|
882ada0d22 | ||
|
6229005f93 | ||
|
6c63b35ef7 | ||
|
fb85e50e09 | ||
|
5e5f908d0c | ||
|
c09e2143c7 | ||
|
74ced1e67f | ||
|
dd02c1609e | ||
|
cdf4880a79 | ||
|
2ec8e8547d | ||
|
b7c36d1d33 | ||
|
8913402b74 | ||
|
c00dfefd6f | ||
|
c3de7b5ade | ||
|
76556f8264 | ||
|
970d18a708 | ||
|
9456e7f0ff | ||
|
a5db24adc2 | ||
|
17664e2620 | ||
|
43a0eb0253 | ||
|
bcdaed2c0a | ||
|
78c6637db5 | ||
|
44214a98fd | ||
|
9cc6d2310c | ||
|
1a045954be | ||
|
b3fc9a1585 | ||
|
2a86a449ca | ||
|
44f032db61 | ||
|
5a520729ee | ||
|
36fbe78c60 | ||
|
029bb17770 | ||
|
7958bee6be | ||
|
0b9bb21ce4 | ||
|
cfcc5b794e | ||
|
925ff408a6 | ||
|
f40ca444f5 | ||
|
638a5e0382 | ||
|
6d777bf055 | ||
|
ae6d4e8bc0 | ||
|
f2728724d3 | ||
|
bc95b34cce | ||
|
9eb89616af | ||
|
f7713a6d81 | ||
|
1cec9b727a | ||
|
18a4730f5b | ||
|
1342aefcdd | ||
|
1fd4b1e702 | ||
|
32dff44c28 | ||
|
e7c2ae476a | ||
|
a66301f83d | ||
|
a5f7d56221 | ||
|
140080c1ec | ||
|
ef43af6d43 | ||
|
949d0532f0 | ||
|
96efc76d74 | ||
|
6ca0d63692 | ||
|
95fc2485e2 | ||
|
d6ce1e4834 | ||
|
2cc2b12fc7 | ||
|
2259f81cf7 | ||
|
791f12880f | ||
|
7aa7373a64 | ||
|
2f186a190f | ||
|
357893a873 | ||
|
a17881da5f | ||
|
4872ee83a9 | ||
|
5ec222a832 | ||
|
40438b3440 | ||
|
e0b80660c8 | ||
|
a2016301f5 | ||
|
7ec6729fb6 | ||
|
837a2cf72e | ||
|
0adca14536 | ||
|
57b0f66c6d | ||
|
e47e7a9571 | ||
|
68ca01560f | ||
|
64f1c91fcb | ||
|
7d33f94198 | ||
|
369cda3752 | ||
|
846078d06f | ||
|
b18500d56e | ||
|
7d92c50490 | ||
|
d69a596193 | ||
|
8aa4ae638e | ||
|
3069f34841 | ||
|
b3788a0e4f | ||
|
582bc029ab | ||
|
e9e3099433 | ||
|
4fc561cc7b | ||
|
ad3e3a0b99 | ||
|
bfb8c849cb | ||
|
09dd25b5d1 | ||
|
c48efb1dbe | ||
|
5408acb6b7 | ||
|
15481160f9 | ||
|
00ccff03a5 | ||
|
21594921b1 | ||
|
42c91eebc9 | ||
|
88273e08b4 | ||
|
08f7fb45ef | ||
|
75ebda3ce6 | ||
|
53ff15fcbf | ||
|
72adb70ee2 | ||
|
960d41fcfe | ||
|
0c4e35b070 | ||
|
c53f1cb813 | ||
|
f6696cc15e | ||
|
fef9a41fe4 | ||
|
e279a0a076 | ||
|
88c8aaed96 | ||
|
34beaefe1c | ||
|
10b828f193 | ||
|
43e6260ed0 | ||
|
62cbbd7226 | ||
|
f7cbe7fcee | ||
|
d8e4ff9079 | ||
|
510ff27eda | ||
|
5abf055100 | ||
|
4bb5721f6b | ||
|
c41ab70d3a | ||
|
a05e403bf2 | ||
|
2f57e0f71d | ||
|
95a2eb9767 | ||
|
55175daed7 | ||
|
ae16a51e95 | ||
|
4398d67546 | ||
|
c93738687c | ||
|
799492e606 | ||
|
f33ff071bb | ||
|
99e854743c | ||
|
6f79062d91 | ||
|
2f682c3995 | ||
|
067370e68f | ||
|
2aa439a6a4 | ||
|
b477182dc3 | ||
|
a8964ca89e | ||
|
4f0e92d07c | ||
|
577f4e8a5f | ||
|
0586d9fe56 | ||
|
1f0d9bf05e | ||
|
8bcae2a527 | ||
|
35ca9aae91 | ||
|
6cdd2bf8d7 | ||
|
ce7d175adb | ||
|
1904fd095f | ||
|
897d0ac5cc | ||
|
e262d0182f | ||
|
aa5b748c10 | ||
|
c6728df4a3 | ||
|
3c182c5bc8 | ||
|
1b5677847b | ||
|
1be59a9dbe | ||
|
55c2178ad4 | ||
|
3e3d392e1c | ||
|
593de57fa2 | ||
|
04b0e43ea6 | ||
|
04eee290c8 | ||
|
756a7a4e4b | ||
|
121b4ac220 | ||
|
cdbd5db3af | ||
|
b2240f6ad4 | ||
|
33814a55f8 | ||
|
a57c5a417b | ||
|
ff1a28de17 | ||
|
772f57f99b | ||
|
dacee32b8b | ||
|
fa1a3eb06d | ||
|
bd4817ca54 | ||
|
d3a160e217 | ||
|
c5837f2791 | ||
|
490bd43f18 | ||
|
005eea249c | ||
|
9747de8ec6 | ||
|
849a9799d0 | ||
|
e32ae4fe33 | ||
|
4595389c4c | ||
|
e8ccc7cc49 | ||
|
673d21047a | ||
|
6186261589 | ||
|
45310e219c | ||
|
250f6b2c88 | ||
|
fdefc2bbda | ||
|
2079df8527 | ||
|
b53659452c | ||
|
46f1d6653e | ||
|
c1938a60f7 | ||
|
d65110f352 | ||
|
9fa3bbcb5a | ||
|
19e51ecbe6 | ||
|
99d62f2922 | ||
|
284743cafe | ||
|
08d7307b2a | ||
|
ef6a64abe6 | ||
|
18bfa52ef7 | ||
|
d62be2652c | ||
|
31f3433635 | ||
|
639eaceee7 | ||
|
ea53ff80af | ||
|
feeca1bcbc | ||
|
12e7278c08 | ||
|
45b5c44eb9 | ||
|
e3456c1028 | ||
|
327fb38573 | ||
|
1d25d9e15f | ||
|
cc7cee3f48 | ||
|
d7062710cd | ||
|
3e21f52796 | ||
|
9bfba734d8 | ||
|
0511d9a9d2 | ||
|
aaebf2f47e | ||
|
23f8d77b38 | ||
|
498b4dbba4 | ||
|
ecc42e79ae | ||
|
0bf8ed523d | ||
|
87d22ee0fe | ||
|
52e25f63d4 | ||
|
f3fb67972b | ||
|
6400756364 | ||
|
d71d04bf6f | ||
|
af90259e09 | ||
|
7c9762f698 | ||
|
b2e67fdb7c | ||
|
d59f0314bd | ||
|
131baefac3 | ||
|
a450078b67 | ||
|
f6b041bf6c | ||
|
4f340d181a | ||
|
74a11701f3 | ||
|
b58e38e936 | ||
|
8713cb48a8 | ||
|
277c5e57ed | ||
|
b3d62d5af5 | ||
|
9c0f0c8d81 | ||
|
18a0a2a7ac | ||
|
8b99d9e33c | ||
|
01e7e153e3 | ||
|
0ad4ca24d2 | ||
|
724a155552 | ||
|
e1b0715dd6 | ||
|
a5c6598966 | ||
|
d38b74a316 | ||
|
54cab4b47b | ||
|
c093666bc5 | ||
|
04972f6761 | ||
|
67f8234622 | ||
|
201d6dbd9c | ||
|
1865ef6fd4 | ||
|
fbcac5aa83 | ||
|
2b72ab8f8f | ||
|
0ea97b9408 | ||
|
28683ac7c0 | ||
|
c72e3e210f | ||
|
a8c856d43c | ||
|
1953cfc954 | ||
|
8e7bac950e | ||
|
03cdacfb6a | ||
|
30f3c3dfad | ||
|
dee1b0d5bb | ||
|
6f2b0fe463 | ||
|
0c69176498 | ||
|
4e7a0385b5 | ||
|
4adbd94b10 | ||
|
4a2905b645 | ||
|
0638c6b530 | ||
|
7dd35ce013 | ||
|
c8629c3178 | ||
|
77ccf51cb3 | ||
|
01197f0c77 | ||
|
69c86ff4fd | ||
|
9a42ffad81 | ||
|
0d8633bf8c | ||
|
d79e80a3d0 | ||
|
d890ebdd25 | ||
|
5ee9b3ce72 | ||
|
031b539a09 | ||
|
47c3c706e8 | ||
|
0d830a616c | ||
|
e219bf8338 | ||
|
6c0fba2480 | ||
|
f4cc159f53 | ||
|
04c002abc2 | ||
|
78fd17907e | ||
|
47edc83080 | ||
|
33e34f5bf4 | ||
|
3832ecadae | ||
|
285ed128ab | ||
|
048144074b | ||
|
856ae782c7 | ||
|
12e3f97541 | ||
|
30f6fe0710 | ||
|
0aa8f1df3c | ||
|
d39147a8a1 | ||
|
7991f7e936 | ||
|
10011efcd7 | ||
|
0058815c8f | ||
|
02048984b7 | ||
|
544601e9f4 | ||
|
2634f06c20 | ||
|
7549426a16 | ||
|
6dcb9a3434 | ||
|
e5a31c00ec | ||
|
00295242fd | ||
|
21b6ed7c29 | ||
|
01894cbf10 | ||
|
28cad2b9d9 | ||
|
71d7b7dbe7 | ||
|
4563723db1 | ||
|
0bce6a1899 | ||
|
e71d6dbd9c | ||
|
132ecd19f3 | ||
|
a404143f4c | ||
|
44467ca45e | ||
|
f70ea0747d | ||
|
c619abf18a | ||
|
6da1323437 | ||
|
1dd29785cf | ||
|
5681987ee4 | ||
|
6eeb18fc68 | ||
|
01c90575b4 | ||
|
32e9cb0275 | ||
|
017bade93c | ||
|
c9c79e7cae | ||
|
777d41dd07 | ||
|
6238c30913 | ||
|
db164ab514 | ||
|
c72ef17731 | ||
|
8dbee7867f | ||
|
f403108f5f | ||
|
223a97f92a | ||
|
bb44a8ae1f | ||
|
b5a5062176 | ||
|
50faa32ce3 | ||
|
b6caed527c | ||
|
d5ef77353b | ||
|
336beba81b | ||
|
5d23a7905c | ||
|
143dfcc904 | ||
|
e076cd42f0 | ||
|
5bed38974e | ||
|
35bc4b82ff | ||
|
4e5d870f72 | ||
|
83def94db5 | ||
|
9d74c1ef2a | ||
|
6023d4bdb5 | ||
|
5e38f566f2 | ||
|
b57341a78b | ||
|
910c32c0e9 | ||
|
e49456d8d8 | ||
|
c46becc9b3 | ||
|
b6e637106f | ||
|
787cffe3d0 | ||
|
9d914e6809 | ||
|
4e183c66e9 | ||
|
b1630fcbe8 | ||
|
cd44f730cc | ||
|
ce5a39559e | ||
|
ccffaef603 | ||
|
ae41f3a3ee | ||
|
c7e576d6bf | ||
|
f069b2812e | ||
|
f20ff6213e | ||
|
24ff74bdcb | ||
|
230e79916f | ||
|
9f14b4db35 | ||
|
ec916398e7 | ||
|
6befad112e | ||
|
55ce23b8db | ||
|
1292ec1ecf | ||
|
65a324062f | ||
|
c9db617e0b | ||
|
b43137d0cc | ||
|
eeca642778 | ||
|
5cef6ca36a | ||
|
be2b518f7b | ||
|
1b0d29afbc | ||
|
55cf480c0b | ||
|
84db6912f0 | ||
|
7495cc28a0 | ||
|
87744f786b | ||
|
5bcfa4c859 | ||
|
8ef731bcd1 | ||
|
8d02f3c68a | ||
|
b1f8b49e8b | ||
|
75733e4237 | ||
|
6e318e2cd1 | ||
|
01e6b84b14 | ||
|
69705d22be | ||
|
b16d1dcff5 | ||
|
10c5b5d5ba | ||
|
d9c5c170f6 | ||
|
32c7138d86 | ||
|
d29244d872 | ||
|
0fca6eda1e | ||
|
1ddf606332 | ||
|
bc8084da74 | ||
|
5eed400862 | ||
|
a37a0959ac | ||
|
53845c52e5 | ||
|
d429f0b14f | ||
|
02339187ad | ||
|
827f778525 | ||
|
d3fc85eea9 | ||
|
9a62963129 | ||
|
a0b2543ba1 | ||
|
387acaac69 | ||
|
952b775dbe | ||
|
eadb76b3f8 | ||
|
b3f7313ae4 | ||
|
0c97d48027 | ||
|
c4a678de9e | ||
|
2c834f4d29 | ||
|
b93d290c9f | ||
|
32266bb21a | ||
|
cab39103b7 | ||
|
5c56a80ac9 | ||
|
d0bac31721 | ||
|
9258e54cfa | ||
|
ccb68495e0 | ||
|
db4236fe0b | ||
|
a4e43427f8 | ||
|
829190abdd | ||
|
99688cd051 | ||
|
1ba0a92702 | ||
|
065d5a8d17 | ||
|
3b53c0ac19 | ||
|
ed56fe4e82 | ||
|
1fbbe807ed | ||
|
c3dccfa05b | ||
|
7703d9293f | ||
|
bcf560e4b8 | ||
|
9d944b501a | ||
|
cf013a5384 | ||
|
2f367491c4 | ||
|
e7d93b62ec | ||
|
a5b309c0c9 | ||
|
df46b96ab0 | ||
|
bda1e332ce | ||
|
53b2ad5fd0 | ||
|
b44d9c657d | ||
|
92ef7527d1 | ||
|
c37d6b4ca8 |
4
.gitattributes
vendored
4
.gitattributes
vendored
@@ -1,4 +0,0 @@
|
||||
*.dsp -crlf
|
||||
*.dsw -crlf
|
||||
*.sln -crlf
|
||||
*.vcproj -crlf
|
16
.gitignore
vendored
16
.gitignore
vendored
@@ -1,16 +0,0 @@
|
||||
*.a
|
||||
*.o
|
||||
*.so
|
||||
*.sw[a-z]
|
||||
*.pc
|
||||
*~
|
||||
depend
|
||||
depend.bak
|
||||
lib
|
||||
lib64
|
||||
configure
|
||||
autom4te.cache
|
||||
aclocal.m4
|
||||
config.log
|
||||
config.status
|
||||
cscope*
|
111
Makefile
111
Makefile
@@ -14,25 +14,25 @@ default: $(TOP)/configs/current
|
||||
|
||||
|
||||
doxygen:
|
||||
cd doxygen && $(MAKE)
|
||||
(cd doxygen ; make) ; \
|
||||
|
||||
clean:
|
||||
-@touch $(TOP)/configs/current
|
||||
-@for dir in $(SUBDIRS) ; do \
|
||||
@for dir in $(SUBDIRS) ; do \
|
||||
if [ -d $$dir ] ; then \
|
||||
(cd $$dir && $(MAKE) clean) ; \
|
||||
fi \
|
||||
done
|
||||
-@test -s $(TOP)/configs/current || rm -f $(TOP)/configs/current
|
||||
|
||||
|
||||
realclean: clean
|
||||
realclean:
|
||||
touch $(TOP)/configs/current
|
||||
$(MAKE) clean
|
||||
-rm -rf lib*
|
||||
-rm -f $(TOP)/configs/current
|
||||
-rm -f $(TOP)/configs/autoconf
|
||||
-rm -rf autom4te.cache
|
||||
-find . '(' -name '*.o' -o -name '*.a' -o -name '*.so' -o \
|
||||
-name depend -o -name depend.bak ')' -exec rm -f '{}' ';'
|
||||
-rm -f `find . -name \*.o`
|
||||
-rm -f `find . -name \*.a`
|
||||
-rm -f `find . -name \*.so`
|
||||
-rm -f `find . -name depend`
|
||||
|
||||
|
||||
|
||||
@@ -48,20 +48,14 @@ install:
|
||||
linux-directfb-install:
|
||||
cd src/mesa/drivers/directfb && $(MAKE) install
|
||||
|
||||
.PHONY: default doxygen clean realclean install linux-directfb-install
|
||||
|
||||
# If there's no current configuration file
|
||||
$(TOP)/configs/current:
|
||||
@echo
|
||||
@echo
|
||||
@echo "Please choose a configuration from the following list:"
|
||||
@ls -1 $(TOP)/configs | grep -v "current\|default\|CVS\|autoconf.*"
|
||||
@ls -1 $(TOP)/configs | grep -v "current\|default\|CVS"
|
||||
@echo
|
||||
@echo "Then type 'make <config>' (ex: 'make linux-x86')"
|
||||
@echo
|
||||
@echo "Or, run './configure' then 'make'"
|
||||
@echo "See './configure --help' for details"
|
||||
@echo
|
||||
@echo "(ignore the following error message)"
|
||||
@exit 1
|
||||
|
||||
@@ -72,20 +66,24 @@ aix-64 \
|
||||
aix-64-static \
|
||||
aix-gcc \
|
||||
aix-static \
|
||||
autoconf \
|
||||
beos \
|
||||
bluegene-osmesa \
|
||||
bluegene-xlc-osmesa \
|
||||
beos \
|
||||
catamount-osmesa-pgi \
|
||||
darwin \
|
||||
darwin-fat-32bit \
|
||||
darwin-fat-all \
|
||||
darwin-static \
|
||||
darwin-static-x86ppc \
|
||||
dragonfly \
|
||||
dragonfly-dri \
|
||||
dragonfly-dri-amd64 \
|
||||
dragonfly-dri-x86 \
|
||||
freebsd \
|
||||
freebsd-dri \
|
||||
freebsd-dri-amd64 \
|
||||
freebsd-dri-x86 \
|
||||
freebsd-static \
|
||||
hpux10 \
|
||||
hpux10-gcc \
|
||||
hpux10-static \
|
||||
@@ -174,26 +172,17 @@ ultrix-gcc:
|
||||
|
||||
# Rules for making release tarballs
|
||||
|
||||
VERSION=7.4-rc2
|
||||
DIRECTORY = Mesa-$(VERSION)
|
||||
LIB_NAME = MesaLib-$(VERSION)
|
||||
DEMO_NAME = MesaDemos-$(VERSION)
|
||||
GLUT_NAME = MesaGLUT-$(VERSION)
|
||||
DIRECTORY = Mesa-7.0.4
|
||||
LIB_NAME = MesaLib-7.0.4
|
||||
DEMO_NAME = MesaDemos-7.0.4
|
||||
GLUT_NAME = MesaGLUT-7.0.4
|
||||
|
||||
MAIN_FILES = \
|
||||
$(DIRECTORY)/Makefile* \
|
||||
$(DIRECTORY)/configure \
|
||||
$(DIRECTORY)/configure.ac \
|
||||
$(DIRECTORY)/acinclude.m4 \
|
||||
$(DIRECTORY)/aclocal.m4 \
|
||||
$(DIRECTORY)/descrip.mms \
|
||||
$(DIRECTORY)/mms-config. \
|
||||
$(DIRECTORY)/bin/config.guess \
|
||||
$(DIRECTORY)/bin/config.sub \
|
||||
$(DIRECTORY)/bin/install-sh \
|
||||
$(DIRECTORY)/bin/mklib \
|
||||
$(DIRECTORY)/bin/minstall \
|
||||
$(DIRECTORY)/bin/version.mk \
|
||||
$(DIRECTORY)/configs/[a-z]* \
|
||||
$(DIRECTORY)/docs/*.html \
|
||||
$(DIRECTORY)/docs/COPYING \
|
||||
@@ -201,7 +190,9 @@ MAIN_FILES = \
|
||||
$(DIRECTORY)/docs/RELNOTES* \
|
||||
$(DIRECTORY)/docs/*.spec \
|
||||
$(DIRECTORY)/include/GL/internal/glcore.h \
|
||||
$(DIRECTORY)/include/GL/amesa.h \
|
||||
$(DIRECTORY)/include/GL/dmesa.h \
|
||||
$(DIRECTORY)/include/GL/fxmesa.h \
|
||||
$(DIRECTORY)/include/GL/ggimesa.h \
|
||||
$(DIRECTORY)/include/GL/gl.h \
|
||||
$(DIRECTORY)/include/GL/glext.h \
|
||||
@@ -216,52 +207,64 @@ MAIN_FILES = \
|
||||
$(DIRECTORY)/include/GL/mglmesa.h \
|
||||
$(DIRECTORY)/include/GL/osmesa.h \
|
||||
$(DIRECTORY)/include/GL/svgamesa.h \
|
||||
$(DIRECTORY)/include/GL/ugl*.h \
|
||||
$(DIRECTORY)/include/GL/vms_x_fix.h \
|
||||
$(DIRECTORY)/include/GL/wmesa.h \
|
||||
$(DIRECTORY)/include/GL/xmesa.h \
|
||||
$(DIRECTORY)/include/GL/xmesa_x.h \
|
||||
$(DIRECTORY)/include/GL/xmesa_xf86.h \
|
||||
$(DIRECTORY)/include/GLView.h \
|
||||
$(DIRECTORY)/src/Makefile \
|
||||
$(DIRECTORY)/src/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/Makefile* \
|
||||
$(DIRECTORY)/src/mesa/sources \
|
||||
$(DIRECTORY)/src/mesa/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/gl.pc.in \
|
||||
$(DIRECTORY)/src/mesa/osmesa.pc.in \
|
||||
$(DIRECTORY)/src/mesa/depend \
|
||||
$(DIRECTORY)/src/mesa/main/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/main/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/main/sources \
|
||||
$(DIRECTORY)/src/mesa/glapi/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/glapi/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/glapi/sources \
|
||||
$(DIRECTORY)/src/mesa/math/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/math/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/math/sources \
|
||||
$(DIRECTORY)/src/mesa/shader/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/shader/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/shader/sources \
|
||||
$(DIRECTORY)/src/mesa/shader/grammar/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/shader/grammar/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/shader/grammar/sources \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/sources \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/library/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/library/*.gc \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/library/*.syn \
|
||||
$(DIRECTORY)/src/mesa/shader/slang/library/Makefile \
|
||||
$(DIRECTORY)/src/mesa/swrast/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/swrast/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/swrast/sources \
|
||||
$(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/swrast_setup/sources \
|
||||
$(DIRECTORY)/src/mesa/vbo/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/vbo/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/tnl/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/tnl/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/tnl/sources \
|
||||
$(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
|
||||
$(DIRECTORY)/src/mesa/drivers/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
|
||||
$(DIRECTORY)/src/mesa/drivers/beos/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/common/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/drivers/common/sources \
|
||||
$(DIRECTORY)/src/mesa/drivers/directfb/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/directfb/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/drivers/fbdev/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
|
||||
$(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \
|
||||
@@ -271,7 +274,6 @@ MAIN_FILES = \
|
||||
$(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \
|
||||
$(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \
|
||||
$(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \
|
||||
$(DIRECTORY)/src/mesa/drivers/osmesa/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \
|
||||
$(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \
|
||||
@@ -279,11 +281,9 @@ MAIN_FILES = \
|
||||
$(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/windows/*/*.def \
|
||||
$(DIRECTORY)/src/mesa/drivers/x11/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \
|
||||
$(DIRECTORY)/src/mesa/drivers/x11/sources \
|
||||
$(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/glslcompiler/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/glslcompiler/glslcompiler.c \
|
||||
$(DIRECTORY)/src/mesa/ppc/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/sparc/*.[chS] \
|
||||
$(DIRECTORY)/src/mesa/x86/Makefile \
|
||||
@@ -299,19 +299,24 @@ MAIN_FILES = \
|
||||
$(DIRECTORY)/vms/analyze_map.com \
|
||||
$(DIRECTORY)/vms/xlib.opt \
|
||||
$(DIRECTORY)/vms/xlib_share.opt \
|
||||
$(DIRECTORY)/windows/VC8/
|
||||
$(DIRECTORY)/windows/VC8/mesa/mesa.sln \
|
||||
$(DIRECTORY)/windows/VC8/mesa/gdi/gdi.vcproj \
|
||||
$(DIRECTORY)/windows/VC8/mesa/glu/glu.vcproj \
|
||||
$(DIRECTORY)/windows/VC8/mesa/mesa/mesa.vcproj \
|
||||
$(DIRECTORY)/windows/VC8/mesa/osmesa/osmesa.vcproj \
|
||||
$(DIRECTORY)/windows/VC8/progs/progs.sln \
|
||||
$(DIRECTORY)/windows/VC8/progs/demos/gears.vcproj \
|
||||
$(DIRECTORY)/windows/VC8/progs/glut/glut.vcproj
|
||||
|
||||
|
||||
DRI_FILES = \
|
||||
$(DIRECTORY)/include/GL/internal/dri_interface.h \
|
||||
$(DIRECTORY)/include/GL/internal/glcore.h \
|
||||
$(DIRECTORY)/include/GL/internal/sarea.h \
|
||||
$(DIRECTORY)/src/glx/Makefile \
|
||||
$(DIRECTORY)/src/glx/x11/Makefile \
|
||||
$(DIRECTORY)/src/glx/x11/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/Makefile \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/Makefile.template \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/dri.pc.in \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.[ch] \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.po \
|
||||
$(DIRECTORY)/src/mesa/drivers/dri/*/*.[chS] \
|
||||
@@ -330,8 +335,6 @@ SGI_GLU_FILES = \
|
||||
$(DIRECTORY)/src/glu/sgi/glu.def \
|
||||
$(DIRECTORY)/src/glu/sgi/dummy.cc \
|
||||
$(DIRECTORY)/src/glu/sgi/descrip.mms \
|
||||
$(DIRECTORY)/src/glu/sgi/glu.exports \
|
||||
$(DIRECTORY)/src/glu/sgi/glu.exports.darwin \
|
||||
$(DIRECTORY)/src/glu/sgi/mesaglu.opt \
|
||||
$(DIRECTORY)/src/glu/sgi/include/gluos.h \
|
||||
$(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
|
||||
@@ -387,8 +390,7 @@ DEMO_FILES = \
|
||||
$(DIRECTORY)/progs/samples/*.c \
|
||||
$(DIRECTORY)/progs/glsl/Makefile* \
|
||||
$(DIRECTORY)/progs/glsl/*.c \
|
||||
$(DIRECTORY)/progs/glsl/*.frag \
|
||||
$(DIRECTORY)/progs/glsl/*.vert \
|
||||
$(DIRECTORY)/progs/glsl/*.txt \
|
||||
$(DIRECTORY)/progs/windml/Makefile.ugl \
|
||||
$(DIRECTORY)/progs/windml/*.c \
|
||||
$(DIRECTORY)/progs/windml/*.bmp \
|
||||
@@ -438,20 +440,9 @@ LIB_FILES = $(MAIN_FILES) $(DRI_FILES) $(SGI_GLU_FILES) $(GLW_FILES)
|
||||
|
||||
|
||||
# Everything for new a Mesa release:
|
||||
tarballs: rm_depend configure aclocal.m4 lib_gz demo_gz glut_gz \
|
||||
lib_bz2 demo_bz2 glut_bz2 lib_zip demo_zip glut_zip md5
|
||||
tarballs: rm_depend lib_gz demo_gz glut_gz lib_bz2 demo_bz2 glut_bz2 lib_zip demo_zip glut_zip md5
|
||||
|
||||
|
||||
# Helper for autoconf builds
|
||||
ACLOCAL = aclocal
|
||||
ACLOCAL_FLAGS =
|
||||
AUTOCONF = autoconf
|
||||
AC_FLAGS =
|
||||
aclocal.m4: configure.ac acinclude.m4
|
||||
$(ACLOCAL) $(ACLOCAL_FLAGS)
|
||||
configure: configure.ac aclocal.m4 acinclude.m4
|
||||
$(AUTOCONF) $(AC_FLAGS)
|
||||
|
||||
rm_depend:
|
||||
@for dep in $(DEPEND_FILES) ; do \
|
||||
rm -f $$dep ; \
|
||||
@@ -460,7 +451,6 @@ rm_depend:
|
||||
|
||||
lib_gz:
|
||||
rm -f configs/current ; \
|
||||
rm -f configs/autoconf ; \
|
||||
cd .. ; \
|
||||
tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \
|
||||
gzip $(LIB_NAME).tar ; \
|
||||
@@ -480,7 +470,6 @@ glut_gz:
|
||||
|
||||
lib_bz2:
|
||||
rm -f configs/current ; \
|
||||
rm -f configs/autoconf ; \
|
||||
cd .. ; \
|
||||
tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \
|
||||
bzip2 $(LIB_NAME).tar ; \
|
||||
@@ -500,7 +489,6 @@ glut_bz2:
|
||||
|
||||
lib_zip:
|
||||
rm -f configs/current ; \
|
||||
rm -f configs/autoconf ; \
|
||||
rm -f $(LIB_NAME).zip ; \
|
||||
cd .. ; \
|
||||
zip -qr $(LIB_NAME).zip $(LIB_FILES) ; \
|
||||
@@ -528,6 +516,3 @@ md5:
|
||||
@-md5sum $(GLUT_NAME).tar.gz
|
||||
@-md5sum $(GLUT_NAME).tar.bz2
|
||||
@-md5sum $(GLUT_NAME).zip
|
||||
|
||||
.PHONY: tarballs rm_depend lib_gz demo_gz glut_gz lib_bz2 demo_bz2 \
|
||||
glut_bz2 lib_zip demo_zip glut_zip md5
|
||||
|
119
acinclude.m4
119
acinclude.m4
@@ -1,119 +0,0 @@
|
||||
# A few convenience macros for Mesa, mostly to keep all the platform
|
||||
# specifics out of configure.ac.
|
||||
|
||||
# MESA_PIC_FLAGS()
|
||||
#
|
||||
# Find out whether to build PIC code using the option --enable-pic and
|
||||
# the configure enable_static/enable_shared settings. If PIC is needed,
|
||||
# figure out the necessary flags for the platform and compiler.
|
||||
#
|
||||
# The platform checks have been shamelessly taken from libtool and
|
||||
# stripped down to just what's needed for Mesa. See _LT_COMPILER_PIC in
|
||||
# /usr/share/aclocal/libtool.m4 or
|
||||
# http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=blob;f=libltdl/m4/libtool.m4;hb=HEAD
|
||||
#
|
||||
AC_DEFUN([MESA_PIC_FLAGS],
|
||||
[AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_ARG_VAR([PIC_FLAGS], [compiler flags for PIC code])
|
||||
AC_ARG_ENABLE([pic],
|
||||
[AS_HELP_STRING([--disable-pic],
|
||||
[compile PIC objects @<:@default=enabled for shared builds
|
||||
on supported platforms@:>@])],
|
||||
[enable_pic="$enableval"
|
||||
test "x$enable_pic" = x && enable_pic=auto],
|
||||
[enable_pic=auto])
|
||||
# disable PIC by default for static builds
|
||||
if test "$enable_pic" = auto && test "$enable_static" = yes; then
|
||||
enable_pic=no
|
||||
fi
|
||||
# if PIC hasn't been explicitly disabled, try to figure out the flags
|
||||
if test "$enable_pic" != no; then
|
||||
AC_MSG_CHECKING([for $CC option to produce PIC])
|
||||
# allow the user's flags to override
|
||||
if test "x$PIC_FLAGS" = x; then
|
||||
# see if we're using GCC
|
||||
if test "x$GCC" = xyes; then
|
||||
case "$host_os" in
|
||||
aix*|beos*|cygwin*|irix5*|irix6*|osf3*|osf4*|osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw*|os2*|pw32*)
|
||||
# This hack is so that the source file can tell whether
|
||||
# it is being built for inclusion in a dll (and should
|
||||
# export symbols for example).
|
||||
PIC_FLAGS="-DDLL_EXPORT"
|
||||
;;
|
||||
darwin*|rhapsody*)
|
||||
# PIC is the default on this platform
|
||||
# Common symbols not allowed in MH_DYLIB files
|
||||
PIC_FLAGS="-fno-common"
|
||||
;;
|
||||
hpux*)
|
||||
# PIC is the default for IA64 HP-UX and 64-bit HP-UX,
|
||||
# but not for PA HP-UX.
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
;;
|
||||
*)
|
||||
PIC_FLAGS="-fPIC"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Everyone else on GCC uses -fPIC
|
||||
PIC_FLAGS="-fPIC"
|
||||
;;
|
||||
esac
|
||||
else # !GCC
|
||||
case "$host_os" in
|
||||
hpux9*|hpux10*|hpux11*)
|
||||
# PIC is the default for IA64 HP-UX and 64-bit HP-UX,
|
||||
# but not for PA HP-UX.
|
||||
case "$host_cpu" in
|
||||
hppa*64*|ia64*)
|
||||
# +Z the default
|
||||
;;
|
||||
*)
|
||||
PIC_FLAGS="+Z"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*|k*bsd*-gnu)
|
||||
case `basename "$CC"` in
|
||||
icc*|ecc*|ifort*)
|
||||
PIC_FLAGS="-KPIC"
|
||||
;;
|
||||
pgcc*|pgf77*|pgf90*|pgf95*)
|
||||
# Portland Group compilers (*not* the Pentium gcc
|
||||
# compiler, which looks to be a dead project)
|
||||
PIC_FLAGS="-fpic"
|
||||
;;
|
||||
ccc*)
|
||||
# All Alpha code is PIC.
|
||||
;;
|
||||
xl*)
|
||||
# IBM XL C 8.0/Fortran 10.1 on PPC
|
||||
PIC_FLAGS="-qpic"
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*|*Sun\ F*)
|
||||
# Sun C 5.9 or Sun Fortran
|
||||
PIC_FLAGS="-KPIC"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
;;
|
||||
solaris*)
|
||||
PIC_FLAGS="-KPIC"
|
||||
;;
|
||||
sunos4*)
|
||||
PIC_FLAGS="-PIC"
|
||||
;;
|
||||
esac
|
||||
fi # GCC
|
||||
fi # PIC_FLAGS
|
||||
AC_MSG_RESULT([$PIC_FLAGS])
|
||||
fi
|
||||
AC_SUBST([PIC_FLAGS])
|
||||
])# MESA_PIC_FLAGS
|
16
autogen.sh
16
autogen.sh
@@ -1,16 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
srcdir=`dirname "$0"`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
SRCDIR=`(cd "$srcdir" && pwd)`
|
||||
ORIGDIR=`pwd`
|
||||
|
||||
if test "x$SRCDIR" != "x$ORIGDIR"; then
|
||||
echo "Mesa cannot be built when srcdir != builddir" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
autoreconf -v --install || exit 1
|
||||
|
||||
"$srcdir"/configure "$@"
|
@@ -1,48 +0,0 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $0 <target1> <target2>"
|
||||
echo "Highlight differences between Mesa configs"
|
||||
echo "Example:"
|
||||
echo " $0 linux linux-x86"
|
||||
}
|
||||
|
||||
die()
|
||||
{
|
||||
echo "$@" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
-h|--help) usage; exit 0;;
|
||||
esac
|
||||
|
||||
[ $# -lt 2 ] && die 2 targets needed. See $0 --help
|
||||
target1=$1
|
||||
target2=$2
|
||||
|
||||
topdir=$(cd "`dirname $0`"/..; pwd)
|
||||
cd "$topdir"
|
||||
|
||||
[ -f "./configs/$target1" ] || die Missing configs/$target1
|
||||
[ -f "./configs/$target2" ] || die Missing configs/$target2
|
||||
|
||||
trap 'rm -f "$t1" "$t2"' 0
|
||||
|
||||
t1=$(mktemp)
|
||||
t2=$(mktemp)
|
||||
|
||||
make -f- -n -p <<EOF | sed '/^# Not a target/,/^$/d' > $t1
|
||||
TOP = .
|
||||
include \$(TOP)/configs/$target1
|
||||
default:
|
||||
EOF
|
||||
|
||||
make -f- -n -p <<EOF | sed '/^# Not a target/,/^$/d' > $t2
|
||||
TOP = .
|
||||
include \$(TOP)/configs/$target2
|
||||
default:
|
||||
EOF
|
||||
|
||||
diff -pu -I'^#' $t1 $t2
|
1516
bin/config.guess
vendored
1516
bin/config.guess
vendored
File diff suppressed because it is too large
Load Diff
1626
bin/config.sub
vendored
1626
bin/config.sub
vendored
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
minstall
|
@@ -42,8 +42,6 @@ if [ $# -ge 2 ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PWDSAVE=`pwd`
|
||||
|
||||
# determine file's type
|
||||
if [ -h "$FILE" ] ; then
|
||||
#echo $FILE is a symlink
|
||||
@@ -59,6 +57,7 @@ if [ $# -ge 2 ] ; then
|
||||
|
||||
FILE=`basename "$FILE"`
|
||||
# Go to $DEST and make the link
|
||||
PWDSAVE="$PWD"
|
||||
cd "$DEST" # pushd
|
||||
$RM "$FILE"
|
||||
$SYMLINK "$TARGET" "$FILE"
|
||||
|
100
bin/mklib
100
bin/mklib
@@ -43,7 +43,7 @@ ARCH="auto"
|
||||
ARCHOPT=""
|
||||
NOPREFIX=0
|
||||
EXPORTS=""
|
||||
ID=""
|
||||
|
||||
|
||||
#
|
||||
# Parse arguments
|
||||
@@ -61,8 +61,7 @@ do
|
||||
echo ' -minor N specifies minor version number (default is 0)'
|
||||
echo ' -patch N specifies patch version number (default is 0)'
|
||||
echo ' -lLIBRARY specifies a dependency on LIBRARY'
|
||||
echo ' -LDIR search in DIR for library dependencies at build time'
|
||||
echo ' -RDIR search in DIR for library dependencies at run time'
|
||||
echo ' -LDIR search in DIR for library dependencies'
|
||||
echo ' -linker L explicity specify the linker program to use (eg: gcc, g++)'
|
||||
echo ' Not observed on all systems at this time.'
|
||||
echo ' -ldflags OPT specify any additional linker flags in OPT'
|
||||
@@ -75,7 +74,6 @@ do
|
||||
echo ' -altopts OPTS alternate options to override all others'
|
||||
echo " -noprefix don't prefix library name with 'lib' nor add any suffix"
|
||||
echo ' -exports FILE only export the symbols listed in FILE'
|
||||
echo ' -id NAME Sets the id of the dylib (Darwin)'
|
||||
echo ' -h, --help display this information and exit'
|
||||
exit 1
|
||||
;;
|
||||
@@ -109,14 +107,15 @@ do
|
||||
-L*)
|
||||
DEPS="$DEPS $1"
|
||||
;;
|
||||
-R*)
|
||||
-pthread)
|
||||
# this is a special case (see bugzilla 10876)
|
||||
DEPS="$DEPS $1"
|
||||
;;
|
||||
-Wl*)
|
||||
# Another special case for DragonFly
|
||||
DEPS="$DEPS $1"
|
||||
;;
|
||||
-Wl*)
|
||||
DEPS="$DEPS $1"
|
||||
;;
|
||||
-pthread)
|
||||
# this is a special case (see bugzilla 10876)
|
||||
DEPS="$DEPS $1"
|
||||
;;
|
||||
'-pthread')
|
||||
@@ -154,10 +153,6 @@ do
|
||||
shift 1;
|
||||
EXPORTS=$1
|
||||
;;
|
||||
'-id')
|
||||
shift 1;
|
||||
ID=$1
|
||||
;;
|
||||
-*)
|
||||
echo "mklib: Unknown option: " $1 ;
|
||||
exit 1
|
||||
@@ -201,7 +196,6 @@ if [ ] ; then
|
||||
echo PATCH is $PATCH
|
||||
echo DEPS are $DEPS
|
||||
echo "EXPORTS in" $EXPORTS
|
||||
echo ID is $ID
|
||||
echo "-----------------"
|
||||
fi
|
||||
|
||||
@@ -260,31 +254,9 @@ case $ARCH in
|
||||
OPTS=${ALTOPTS}
|
||||
fi
|
||||
rm -f ${LIBNAME}
|
||||
|
||||
# expand any .a objects into constituent .o files.
|
||||
NEWOBJECTS=""
|
||||
DELETIA=""
|
||||
for OBJ in ${OBJECTS} ; do
|
||||
if [ `expr match $OBJ '.*\.a'` -gt 0 ] ; then
|
||||
# extract the .o files from this .a archive
|
||||
FILES=`ar t $OBJ`
|
||||
ar x $OBJ
|
||||
NEWOBJECTS="$NEWOBJECTS $FILES"
|
||||
# keep track of temporary .o files and delete them below
|
||||
DELETIA="$DELETIA $FILES"
|
||||
else
|
||||
# ordinary .o file
|
||||
NEWOBJECTS="$NEWOBJECTS $OBJ"
|
||||
fi
|
||||
done
|
||||
|
||||
# make lib
|
||||
${LINK} ${OPTS} ${LIBNAME} ${NEWOBJECTS}
|
||||
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||
ranlib ${LIBNAME}
|
||||
|
||||
# remove temporary extracted .o files
|
||||
rm -f ${DELETIA}
|
||||
|
||||
# finish up
|
||||
FINAL_LIBS=${LIBNAME}
|
||||
else
|
||||
@@ -299,7 +271,7 @@ case $ARCH in
|
||||
if [ $EXPORTS ] ; then
|
||||
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
||||
# Make the 'exptmp' file for --version-script option
|
||||
echo "{" > exptmp
|
||||
echo "VERSION_${MAJOR}.${MINOR} {" > exptmp
|
||||
echo "global:" >> exptmp
|
||||
sed 's/$/;/' ${EXPORTS} >> exptmp
|
||||
echo "local:" >> exptmp
|
||||
@@ -368,7 +340,7 @@ case $ARCH in
|
||||
# use g++
|
||||
LINK="g++"
|
||||
else
|
||||
echo "mklib: warning: can't find C++ compiler, trying CC."
|
||||
echo "mklib: warning: can't find C++ comiler, trying CC."
|
||||
LINK="CC"
|
||||
fi
|
||||
else
|
||||
@@ -394,55 +366,27 @@ case $ARCH in
|
||||
fi
|
||||
fi
|
||||
|
||||
# If using Sun C++ compiler, need to tell it not to add runpaths
|
||||
# that are specific to the build machine
|
||||
if [ ${LINK} = "CC" ] ; then
|
||||
OPTS="${OPTS} -norunpath"
|
||||
fi
|
||||
|
||||
# Solaris linker requires explicitly listing the Standard C & C++
|
||||
# libraries in the link path when building shared objects
|
||||
if [ ${LINK} = "CC" ] ; then
|
||||
DEPS="${DEPS} -lCrun"
|
||||
fi
|
||||
DEPS="${DEPS} -lc"
|
||||
|
||||
if [ $EXPORTS ] ; then
|
||||
# Make the 'mapfile.scope' linker mapfile
|
||||
echo "{" > mapfile.scope
|
||||
echo "global:" >> mapfile.scope
|
||||
sed 's/$/;/' ${EXPORTS} >> mapfile.scope
|
||||
echo "local:" >> mapfile.scope
|
||||
echo " *;" >> mapfile.scope
|
||||
echo "};" >> mapfile.scope
|
||||
OPTS="${OPTS} -Wl,-Mmapfile.scope"
|
||||
fi
|
||||
|
||||
# Check if objects are SPARC v9
|
||||
# file says: ELF 64-bit MSB relocatable SPARCV9 Version 1
|
||||
set ${OBJECTS}
|
||||
if [ ${LINK} = "cc" -o ${LINK} = "CC" ] ; then
|
||||
SPARCV9=`file $1 | grep SPARCV9`
|
||||
if [ "${SPARCV9}" ] ; then
|
||||
OPTS="${OPTS} -xarch=v9"
|
||||
fi
|
||||
SPARCV9=`file $1 | grep SPARCV9`
|
||||
if [ "${SPARCV9}" ] ; then
|
||||
OPTS="${OPTS} -xarch=v9"
|
||||
fi
|
||||
if [ "${ALTOPTS}" ] ; then
|
||||
OPTS=${ALTOPTS}
|
||||
fi
|
||||
|
||||
# for debug:
|
||||
#echo "mklib: linker is" ${LINK} ${OPTS}
|
||||
if [ $NOPREFIX = 1 ] ; then
|
||||
rm -f ${LIBNAME}
|
||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||
FINAL_LIBS="${LIBNAME}"
|
||||
else
|
||||
rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.${MAJOR} -h ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
||||
ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||
FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
|
||||
fi
|
||||
FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -684,19 +628,13 @@ case $ARCH in
|
||||
LIBSUFFIX="bundle"
|
||||
OPTS="${ARCHOPT} -bundle -multiply_defined suppress"
|
||||
else
|
||||
LIBSUFFIX="dylib"
|
||||
if [ -z "$ID" ] ; then
|
||||
ID="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||
fi
|
||||
OPTS="${ARCHOPT} -dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0 -install_name ${ID}"
|
||||
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
|
||||
|
||||
if [ ${EXPORTS} ] ; then
|
||||
if [ -f ${EXPORTS}".darwin" ] ; then
|
||||
EXPORTS=$EXPORTS".darwin"
|
||||
fi
|
||||
OPTS="${OPTS} -exported_symbols_list ${EXPORTS}"
|
||||
fi
|
||||
fi
|
||||
|
||||
LINKNAME="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||
LINKNAME2="lib${LIBNAME}.${LIBSUFFIX}"
|
||||
|
@@ -1,17 +0,0 @@
|
||||
#!/usr/bin/make -sf
|
||||
# Print the various Mesa version fields. This is mostly used to add the
|
||||
# version to configure.
|
||||
|
||||
# This reflects that this script is usually called from the toplevel
|
||||
TOP = .
|
||||
|
||||
include $(TOP)/configs/default
|
||||
|
||||
version:
|
||||
@echo $(MESA_VERSION)
|
||||
major:
|
||||
@echo $(MESA_MAJOR)
|
||||
minor:
|
||||
@echo $(MESA_MINOR)
|
||||
tiny:
|
||||
@echo $(MESA_TINY)
|
2
configs/.gitignore
vendored
2
configs/.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
current
|
||||
autoconf
|
@@ -1,125 +0,0 @@
|
||||
# Autoconf configuration
|
||||
|
||||
# Pull in the defaults
|
||||
include $(TOP)/configs/default
|
||||
|
||||
# This is generated by configure
|
||||
CONFIG_NAME = autoconf
|
||||
|
||||
# Compiler and flags
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
OPT_FLAGS = @OPT_FLAGS@
|
||||
ARCH_FLAGS = @ARCH_FLAGS@
|
||||
ASM_FLAGS = @ASM_FLAGS@
|
||||
PIC_FLAGS = @PIC_FLAGS@
|
||||
DEFINES = @DEFINES@
|
||||
CFLAGS = @CPPFLAGS@ @CFLAGS@ \
|
||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
||||
CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ \
|
||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||
LDFLAGS = @LDFLAGS@
|
||||
EXTRA_LIB_PATH = @EXTRA_LIB_PATH@
|
||||
|
||||
# Assembler
|
||||
ASM_SOURCES = @ASM_SOURCES@
|
||||
ASM_API = @ASM_API@
|
||||
|
||||
# Misc tools and flags
|
||||
MAKE = @MAKE@
|
||||
SHELL = @SHELL@
|
||||
MKLIB_OPTIONS = @MKLIB_OPTIONS@
|
||||
MKDEP = @MKDEP@
|
||||
MKDEP_OPTIONS = @MKDEP_OPTIONS@
|
||||
|
||||
# Python and flags (generally only needed by the developers)
|
||||
PYTHON2 = python
|
||||
PYTHON_FLAGS = -t -O -O
|
||||
|
||||
# Library names (base name)
|
||||
GL_LIB = GL
|
||||
GLU_LIB = GLU
|
||||
GLUT_LIB = glut
|
||||
GLW_LIB = GLw
|
||||
OSMESA_LIB = @OSMESA_LIB@
|
||||
|
||||
# Library names (actual file names)
|
||||
GL_LIB_NAME = @GL_LIB_NAME@
|
||||
GLU_LIB_NAME = @GLU_LIB_NAME@
|
||||
GLUT_LIB_NAME = @GLUT_LIB_NAME@
|
||||
GLW_LIB_NAME = @GLW_LIB_NAME@
|
||||
OSMESA_LIB_NAME = @OSMESA_LIB_NAME@
|
||||
|
||||
# Directories to build
|
||||
LIB_DIR = @LIB_DIR@
|
||||
SRC_DIRS = @SRC_DIRS@
|
||||
GLU_DIRS = @GLU_DIRS@
|
||||
DRIVER_DIRS = @DRIVER_DIRS@
|
||||
# Which subdirs under $(TOP)/progs/ to enter:
|
||||
PROGRAM_DIRS = @PROGRAM_DIRS@
|
||||
|
||||
# Driver specific build vars
|
||||
DRI_DIRS = @DRI_DIRS@
|
||||
WINDOW_SYSTEM = @WINDOW_SYSTEM@
|
||||
USING_EGL = @USING_EGL@
|
||||
|
||||
# Dependencies
|
||||
X11_INCLUDES = @X11_INCLUDES@
|
||||
|
||||
# GLw motif setup
|
||||
GLW_SOURCES = @GLW_SOURCES@
|
||||
MOTIF_CFLAGS = @MOTIF_CFLAGS@
|
||||
|
||||
# Library/program dependencies
|
||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) @GL_LIB_DEPS@
|
||||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @OSMESA_MESA_DEPS@ \
|
||||
$(EXTRA_LIB_PATH) @OSMESA_LIB_DEPS@
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLU_MESA_DEPS@ \
|
||||
$(EXTRA_LIB_PATH) @GLU_LIB_DEPS@
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLUT_MESA_DEPS@ \
|
||||
$(EXTRA_LIB_PATH) @GLUT_LIB_DEPS@
|
||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
|
||||
$(EXTRA_LIB_PATH) @GLW_LIB_DEPS@
|
||||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) @APP_LIB_DEPS@
|
||||
|
||||
# DRI dependencies
|
||||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
|
||||
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
|
||||
LIBDRM_LIB = @LIBDRM_LIBS@
|
||||
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
|
||||
EXPAT_INCLUDES = @EXPAT_INCLUDES@
|
||||
|
||||
# Autoconf directories
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
libdir = @libdir@
|
||||
includedir = @includedir@
|
||||
|
||||
# Installation directories (for make install)
|
||||
INSTALL_DIR = $(prefix)
|
||||
INSTALL_LIB_DIR = $(libdir)
|
||||
INSTALL_INC_DIR = $(includedir)
|
||||
|
||||
# DRI installation directories
|
||||
DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@
|
||||
|
||||
# Where libGL will look for DRI hardware drivers
|
||||
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
||||
|
||||
# pkg-config substitutions
|
||||
GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@
|
||||
GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@
|
||||
GL_PC_CFLAGS = @GL_PC_CFLAGS@
|
||||
DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@
|
||||
GLU_PC_REQ = @GLU_PC_REQ@
|
||||
GLU_PC_REQ_PRIV = @GLU_PC_REQ_PRIV@
|
||||
GLU_PC_LIB_PRIV = @GLU_PC_LIB_PRIV@
|
||||
GLU_PC_CFLAGS = @GLU_PC_CFLAGS@
|
||||
GLUT_PC_REQ_PRIV = @GLUT_PC_REQ_PRIV@
|
||||
GLUT_PC_LIB_PRIV = @GLUT_PC_LIB_PRIV@
|
||||
GLUT_PC_CFLAGS = @GLUT_PC_CFLAGS@
|
||||
GLW_PC_REQ_PRIV = @GLW_PC_REQ_PRIV@
|
||||
GLW_PC_LIB_PRIV = @GLW_PC_LIB_PRIV@
|
||||
GLW_PC_CFLAGS = @GLW_PC_CFLAGS@
|
||||
OSMESA_PC_REQ = @OSMESA_PC_REQ@
|
||||
OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@
|
@@ -1,42 +0,0 @@
|
||||
# MinGW config include file updated for Mesa 7.0
|
||||
#
|
||||
# Updated : by Heromyth, on 2007-7-21
|
||||
# Email : zxpmyth@yahoo.com.cn
|
||||
# Bugs : 1) All the default settings work fine. But the setting X86=1 can't work.
|
||||
# The others havn't been tested yet.
|
||||
# 2) The generated DLLs are *not* compatible with the ones built
|
||||
# with the other compilers like VC8, especially for GLUT.
|
||||
# 3) Although more tests are needed, it can be used individually!
|
||||
|
||||
# The generated DLLs by MingW with STDCALL are not totally compatible
|
||||
# with the ones linked by Microsoft's compilers.
|
||||
#
|
||||
# xxx_USING_STDCALL = 1 Compiling MESA with __stdcall. This is default!
|
||||
#
|
||||
# xxx_USING_STDCALL = 0 Compiling MESA without __stdcall. I like this:)
|
||||
#
|
||||
|
||||
# In fact, GL_USING_STDCALL and GLUT_USING_STDCALL can be
|
||||
# different. For example:
|
||||
#
|
||||
# GL_USING_STDCALL = 0
|
||||
# GLUT_USING_STDCALL = 1
|
||||
#
|
||||
# Suggested setting:
|
||||
#
|
||||
# ALL_USING_STDCALL = 1
|
||||
#
|
||||
# That's default!
|
||||
#
|
||||
|
||||
|
||||
ALL_USING_STDCALL = 1
|
||||
|
||||
|
||||
ifeq ($(ALL_USING_STDCALL),1)
|
||||
GL_USING_STDCALL = 1
|
||||
GLUT_USING_STDCALL = 1
|
||||
else
|
||||
GL_USING_STDCALL = 0
|
||||
GLUT_USING_STDCALL = 0
|
||||
endif
|
@@ -4,26 +4,22 @@ include $(TOP)/configs/default
|
||||
|
||||
CONFIG_NAME = darwin
|
||||
|
||||
INSTALL_DIR = /usr/X11
|
||||
DEFINES = -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L \
|
||||
-D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE \
|
||||
-DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
|
||||
|
||||
# Compiler and flags
|
||||
CC = gcc
|
||||
CXX = gcc
|
||||
PIC_FLAGS = -fPIC
|
||||
DEFINES = -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L \
|
||||
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS \
|
||||
-DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
|
||||
CFLAGS = -I/usr/X11/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin $(DEFINES)
|
||||
CXXFLAGS = -I/usr/X11/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin $(DEFINES)
|
||||
|
||||
# -DGLX_DIRECT_RENDERING - pulls in libdrm stuff in glx/x11
|
||||
# -DGLX_USE_APPLEGL - supposed to be used with GLX_DIRECT_RENDERING to use AGL rather than DRM, but doesn't compile
|
||||
# -DIN_DRI_DRIVER
|
||||
CFLAGS += $(RC_CFLAGS)
|
||||
CXXFLAGS += $(RC_CFLAGS)
|
||||
|
||||
ARCH_FLAGS += $(RC_CFLAGS)
|
||||
|
||||
CFLAGS = -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing \
|
||||
-I$(INSTALL_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
||||
CXXFLAGS = -ggdb3 -Os -Wall -fno-strict-aliasing \
|
||||
-I$(INSTALL_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
# Library names (actual file names)
|
||||
GL_LIB_NAME = libGL.dylib
|
||||
@@ -32,24 +28,13 @@ GLUT_LIB_NAME = libglut.dylib
|
||||
GLW_LIB_NAME = libGLw.dylib
|
||||
OSMESA_LIB_NAME = libOSMesa.dylib
|
||||
|
||||
# globs used to install the lib and all symlinks
|
||||
GL_LIB_GLOB = libGL.*dylib
|
||||
GLU_LIB_GLOB = libGLU.*dylib
|
||||
GLUT_LIB_GLOB = libglut.*dylib
|
||||
GLW_LIB_GLOB = libGLw.*dylib
|
||||
OSMESA_LIB_GLOB = libOSMesa.*dylib
|
||||
|
||||
GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 -lXext -lm -lpthread
|
||||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 -lXmu -lXi -lXext
|
||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 -lXt
|
||||
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 -lXmu -lXt -lXi -lm
|
||||
GL_LIB_DEPS = -L/usr/X11/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/X11/lib -lX11 -lXmu -lXt -lXi -lm
|
||||
|
||||
# omit glw lib for now:
|
||||
SRC_DIRS = glx/x11 mesa glu glut/glx
|
||||
GLU_DIRS = sgi
|
||||
SRC_DIRS = glx/x11 glu glut/glx mesa
|
||||
DRIVER_DIRS = osmesa
|
||||
#DRIVER_DIRS = dri
|
||||
DRI_DIRS = swrast
|
||||
PROGRAM_DIRS = xdemos
|
||||
|
28
configs/darwin-static
Normal file
28
configs/darwin-static
Normal file
@@ -0,0 +1,28 @@
|
||||
# Configuration for Darwin / MacOS X, making static libs
|
||||
|
||||
include $(TOP)/configs/darwin
|
||||
|
||||
CONFIG_NAME = darwin-static
|
||||
|
||||
# Compiler and flags
|
||||
CFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||
CXXFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||
MKLIB_OPTIONS = -static
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
# 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
|
30
configs/darwin-static-x86ppc
Normal file
30
configs/darwin-static-x86ppc
Normal file
@@ -0,0 +1,30 @@
|
||||
# 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"
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
# 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
|
@@ -9,9 +9,8 @@ CONFIG_NAME = default
|
||||
|
||||
# Version info
|
||||
MESA_MAJOR=7
|
||||
MESA_MINOR=3
|
||||
MESA_TINY=0
|
||||
MESA_VERSION = $(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
|
||||
MESA_MINOR=0
|
||||
MESA_TINY=4
|
||||
|
||||
# external projects. This should be useless now that we use libdrm.
|
||||
DRM_SOURCE_PATH=$(TOP)/../drm
|
||||
@@ -25,13 +24,11 @@ LDFLAGS =
|
||||
GLU_CFLAGS =
|
||||
|
||||
# Misc tools and flags
|
||||
SHELL = /bin/sh
|
||||
MKLIB = $(SHELL) $(TOP)/bin/mklib
|
||||
MKLIB_OPTIONS =
|
||||
MKDEP = makedepend
|
||||
MKDEP_OPTIONS = -fdepend
|
||||
MAKE = make
|
||||
INSTALL = $(SHELL) $(TOP)/bin/minstall
|
||||
INSTALL = $(TOP)/bin/minstall
|
||||
|
||||
# Tools for regenerating glapi (generally only needed by the developers)
|
||||
PYTHON2 = python
|
||||
@@ -54,12 +51,6 @@ GLUT_LIB_NAME = lib$(GLUT_LIB).so
|
||||
GLW_LIB_NAME = lib$(GLW_LIB).so
|
||||
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
|
||||
|
||||
# globs used to install the lib and all symlinks
|
||||
GL_LIB_GLOB = $(GL_LIB_NAME)*
|
||||
GLU_LIB_GLOB = $(GLU_LIB_NAME)*
|
||||
GLUT_LIB_GLOB = $(GLUT_LIB_NAME)*
|
||||
GLW_LIB_GLOB = $(GLW_LIB_NAME)*
|
||||
OSMESA_LIB_GLOB = $(OSMESA_LIB_NAME)*
|
||||
|
||||
# Optional assembly language optimization files for libGL
|
||||
ASM_SOURCES =
|
||||
@@ -67,7 +58,6 @@ ASM_SOURCES =
|
||||
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
|
||||
# order to build the Motif widget too)
|
||||
GLW_SOURCES = GLwDrawA.c
|
||||
MOTIF_CFLAGS = -I/usr/include/Motif1.2
|
||||
|
||||
|
||||
# Directories to build
|
||||
@@ -84,36 +74,18 @@ PROGRAM_DIRS = demos redbook samples glsl xdemos
|
||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
||||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -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$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
||||
|
||||
# Program dependencies - specific GL/glut libraries added in Makefiles
|
||||
APP_LIB_DEPS = -lm
|
||||
|
||||
|
||||
|
||||
# Installation directories (for make install)
|
||||
INSTALL_DIR = /usr/local
|
||||
INSTALL_LIB_DIR = $(INSTALL_DIR)/$(LIB_DIR)
|
||||
INSTALL_INC_DIR = $(INSTALL_DIR)/include
|
||||
DRI_DRIVER_INSTALL_DIR = $(INSTALL_LIB_DIR)/dri
|
||||
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)
|
||||
|
||||
# pkg-config substitutions
|
||||
GL_PC_REQ_PRIV =
|
||||
GL_PC_LIB_PRIV =
|
||||
GL_PC_CFLAGS =
|
||||
DRI_PC_REQ_PRIV =
|
||||
GLU_PC_REQ = gl
|
||||
GLU_PC_REQ_PRIV =
|
||||
GLU_PC_LIB_PRIV =
|
||||
GLU_PC_CFLAGS =
|
||||
GLUT_PC_REQ_PRIV =
|
||||
GLUT_PC_LIB_PRIV =
|
||||
GLUT_PC_CFLAGS =
|
||||
GLW_PC_REQ_PRIV =
|
||||
GLW_PC_LIB_PRIV =
|
||||
GLW_PC_CFLAGS =
|
||||
OSMESA_PC_REQ =
|
||||
OSMESA_PC_LIB_PRIV =
|
||||
|
38
configs/dragonfly
Normal file
38
configs/dragonfly
Normal file
@@ -0,0 +1,38 @@
|
||||
# Configuration for DragonFly
|
||||
|
||||
include $(TOP)/configs/default
|
||||
|
||||
CONFIG_NAME = DragonFly
|
||||
|
||||
# Compiler and flags
|
||||
CC = cc
|
||||
CXX = c++
|
||||
MAKE = gmake
|
||||
|
||||
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/pkg/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
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
EXTRA_LIB_PATH = -L/usr/pkg/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
|
||||
|
||||
# Installation directories (for make install)
|
||||
INSTALL_DIR = /usr/pkg
|
||||
DRI_DRIVER_INSTALL_DIR = /usr/pkg/lib/modules/dri/
|
||||
|
56
configs/dragonfly-dri
Normal file
56
configs/dragonfly-dri
Normal file
@@ -0,0 +1,56 @@
|
||||
# -*-makefile-*-
|
||||
# Configuration for dragonfly-dri: DragonFly DRI hardware drivers
|
||||
|
||||
include $(TOP)/configs/dragonfly
|
||||
|
||||
CONFIG_NAME = dragonfly-dri
|
||||
|
||||
# Compiler and flags
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
WARN_FLAGS = -Wall
|
||||
OPT_FLAGS = -O -g
|
||||
|
||||
EXPAT_INCLUDES = -I/usr/pkg/include
|
||||
X11_INCLUDES = -I/usr/pkg/include
|
||||
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
||||
-DHAVE_ALIAS
|
||||
|
||||
CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes \
|
||||
-std=c99 -Wundef -ffast-math $(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES)
|
||||
|
||||
CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi \
|
||||
-pedantic $(ASM_FLAGS) $(X11_INCLUDES)
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
ASM_SOURCES =
|
||||
|
||||
# Library/program dependencies
|
||||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||
DRI_LIB_DEPS = -L/usr/pkg/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
|
||||
GL_LIB_DEPS = -L/usr/pkg/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||
-lm -lpthread $(LIBDRM_LIB)
|
||||
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/pkg/lib -lGLU -lGL -lX11 -lXmu \
|
||||
-lXt -lXi -lm
|
||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/pkg/lib -lGL -lXt -lX11
|
||||
|
||||
|
||||
# Directories
|
||||
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||
DRIVER_DIRS = dri
|
||||
PROGRAM_DIRS =
|
||||
WINDOW_SYSTEM = dri
|
||||
|
||||
DRM_SOURCE_PATH = $(TOP)/../drm
|
||||
|
||||
# ffb and gamma are missing because they have not been converted to use the new
|
||||
# interface.
|
||||
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon tdfx \
|
||||
unichrome savage sis
|
||||
|
10
configs/dragonfly-dri-amd64
Normal file
10
configs/dragonfly-dri-amd64
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*-makefile-*-
|
||||
# Configuration for dragonfly-dri-amd64: DragonFly DRI hardware drivers
|
||||
|
||||
include $(TOP)/configs/dragonfly-dri
|
||||
|
||||
CONFIG_NAME = dragonfly-dri-x86-64
|
||||
|
||||
ASM_FLAGS = -DUSE_X86_64_ASM
|
||||
ASM_SOURCES = $(X86-64_SOURCES)
|
||||
ASM_API = $(X86-64_API)
|
13
configs/dragonfly-dri-x86
Normal file
13
configs/dragonfly-dri-x86
Normal file
@@ -0,0 +1,13 @@
|
||||
# -*-makefile-*-
|
||||
# Configuration for dragonfly-dri-x86: DragonFly DRI hardware drivers
|
||||
|
||||
include $(TOP)/configs/dragonfly-dri
|
||||
|
||||
CONFIG_NAME = dragonfly-dri-x86
|
||||
|
||||
# Unnecessary on x86, generally.
|
||||
PIC_FLAGS =
|
||||
|
||||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||
ASM_SOURCES = $(X86_SOURCES)
|
||||
ASM_API = $(X86_API)
|
@@ -15,7 +15,7 @@ PIC_FLAGS = -fPIC
|
||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \
|
||||
-DHZ=100
|
||||
|
||||
X11_INCLUDES = -I/usr/local/include
|
||||
X11_INCLUDES = -I/usr/X11R6/include
|
||||
|
||||
CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ffast-math -pedantic
|
||||
|
||||
@@ -27,5 +27,5 @@ GLUT_CFLAGS = -fexceptions
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
EXTRA_LIB_PATH = -L/usr/local/lib
|
||||
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
|
||||
|
@@ -9,10 +9,10 @@ CONFIG_NAME = freebsd-dri
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
WARN_FLAGS = -Wall
|
||||
OPT_FLAGS = -O -g
|
||||
OPT_FLAGS = -O
|
||||
|
||||
EXPAT_INCLUDES = -I/usr/local/include
|
||||
X11_INCLUDES = -I/usr/local/include
|
||||
X11_INCLUDES = -I/usr/X11R6/include
|
||||
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
||||
-DHAVE_ALIAS
|
||||
@@ -32,11 +32,11 @@ ASM_SOURCES =
|
||||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||
DRI_LIB_DEPS = -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB)
|
||||
GL_LIB_DEPS = -L/usr/local/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||
-lm -pthread $(LIBDRM_LIB)
|
||||
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGL -lXt -lX11
|
||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lX11
|
||||
|
||||
|
||||
# Directories
|
||||
|
27
configs/freebsd-static
Normal file
27
configs/freebsd-static
Normal file
@@ -0,0 +1,27 @@
|
||||
# Configuration for generic FreeBSD, making static libs
|
||||
# Written by cy on 2008-04-23.
|
||||
|
||||
include $(TOP)/configs/freebsd
|
||||
|
||||
CONFIG_NAME = freebsd-static
|
||||
|
||||
MKLIB_OPTIONS = -static
|
||||
PIC_FLAGS =
|
||||
|
||||
# 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 (static libs don't have dependencies)
|
||||
GL_LIB_DEPS =
|
||||
OSMESA_LIB_DEPS =
|
||||
GLU_LIB_DEPS =
|
||||
GLUT_LIB_DEPS =
|
||||
GLW_LIB_DEPS =
|
||||
|
||||
# Need to specify all libraries we may need
|
||||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \
|
||||
-lstdc++ -lm
|
@@ -47,7 +47,8 @@ LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||
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 -lXdamage -lXfixes \
|
||||
-lm -lpthread -ldl $(LIBDRM_LIB)
|
||||
-lm -lpthread -ldl \
|
||||
$(LIBDRM_LIB)
|
||||
|
||||
|
||||
# This is now 0 by default since it seems to confuse the hell out of people
|
||||
@@ -70,5 +71,5 @@ WINDOW_SYSTEM=dri
|
||||
|
||||
# gamma are missing because they have not been converted to use the new
|
||||
# interface.
|
||||
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
||||
DRI_DIRS = i810 i915tex i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
||||
savage sis tdfx trident unichrome ffb
|
||||
|
@@ -20,5 +20,5 @@ EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
||||
# the new interface. i810 are missing because there is no x86-64
|
||||
# system where they could *ever* be used.
|
||||
#
|
||||
DRI_DIRS = i915 i965 mach64 mga r128 r200 r300 radeon savage tdfx unichrome
|
||||
DRI_DIRS = i915tex i915 i965 mach64 mga r128 r200 radeon tdfx unichrome savage r300
|
||||
|
||||
|
@@ -70,4 +70,4 @@ 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
|
||||
savage sis tdfx trident unichrome ffb nouveau
|
||||
|
@@ -25,4 +25,4 @@ PROGRAM_DIRS = osdemos
|
||||
# Dependencies
|
||||
OSMESA_LIB_DEPS = -lm -lpthread
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
APP_LIB_DEPS = -lm -lpthread
|
||||
APP_LIB_DEPS = -lOSMesa -lGLU
|
||||
|
@@ -28,4 +28,4 @@ PROGRAM_DIRS =
|
||||
# Dependencies
|
||||
OSMESA_LIB_DEPS = -lm -lpthread
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
APP_LIB_DEPS = -lm -lpthread
|
||||
APP_LIB_DEPS = -lOSMesa16
|
||||
|
@@ -29,4 +29,4 @@ PROGRAM_DIRS =
|
||||
|
||||
# Dependencies
|
||||
OSMESA_LIB_DEPS = -lm -lpthread
|
||||
APP_LIB_DEPS = -lm -lpthread
|
||||
APP_LIB_DEPS = -lOSMesa16
|
||||
|
@@ -28,4 +28,4 @@ PROGRAM_DIRS =
|
||||
# Dependencies
|
||||
OSMESA_LIB_DEPS = -lm -lpthread
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
APP_LIB_DEPS = -lm -lpthread
|
||||
APP_LIB_DEPS = -lOSMesa32
|
||||
|
@@ -24,8 +24,7 @@ PCIACCESS_LIB = `pkg-config --libs pciaccess`
|
||||
|
||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
||||
-D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_POSIX_MEMALIGN \
|
||||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||
-DHAVE_ALIAS
|
||||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC -DIN_DRI_DRIVER
|
||||
|
||||
CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
|
||||
$(ASM_FLAGS) -std=c99 -ffast-math
|
||||
|
1103
configure.ac
1103
configure.ac
File diff suppressed because it is too large
Load Diff
1187
debian/changelog
vendored
Normal file
1187
debian/changelog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
5
|
359
debian/control
vendored
Normal file
359
debian/control
vendored
Normal file
@@ -0,0 +1,359 @@
|
||||
Source: mesa
|
||||
Section: graphics
|
||||
Priority: optional
|
||||
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
|
||||
Uploaders: Thierry Reding <thierry@gilfi.de>, Julien Cristau <jcristau@debian.org>, David Nusinow <dnusinow@debian.org>, Brice Goglin <bgoglin@debian.org>
|
||||
Standards-Version: 3.7.3
|
||||
Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.2.0) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev, lesstif2-dev, dpkg-dev (>= 1.13.19), libxfixes-dev, libxdamage-dev, libxext-dev
|
||||
Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
|
||||
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
|
||||
Homepage: http://mesa3d.sourceforge.net/
|
||||
|
||||
Package: libgl1-mesa-swx11
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, libosmesa6 (>= 6.5.2-1)
|
||||
Conflicts: mesag3-glide, mesag3-glide2, mesag3+ggi, libgl1, nvidia-glx, mesag3, libgl1-mesa-swrast
|
||||
Provides: libgl1, mesag3, libgl1-mesa-swrast
|
||||
Replaces: libgl1, mesag3, libgl1-mesa-swrast
|
||||
Description: A free implementation of the OpenGL API -- runtime
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL. To the extent that Mesa utilizes the OpenGL command
|
||||
syntax or state machine, it is being used with authorization from
|
||||
Silicon Graphics, Inc. However, the author makes no claim that Mesa
|
||||
is in any way a compatible replacement for OpenGL or associated with
|
||||
Silicon Graphics, Inc.
|
||||
.
|
||||
This library provides a pure software rasteriser; it does not provide
|
||||
a direct rendering-capable library, or one which uses GLX. For that,
|
||||
please see libgl1-mesa-glx.
|
||||
.
|
||||
On Linux, this library is also known as libGL or libGL.so.1.
|
||||
|
||||
Package: libgl1-mesa-swx11-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libgl1-mesa-swx11 (= ${binary:Version})
|
||||
Conflicts: libgl1-mesa-swrast-dbg
|
||||
Provides: libgl1-mesa-swrast-dbg
|
||||
Replaces: libgl1-mesa-swrast-dbg
|
||||
Description: A free implementation of the OpenGL API -- debugging symbols
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL. To the extent that Mesa utilizes the OpenGL command
|
||||
syntax or state machine, it is being used with authorization from
|
||||
Silicon Graphics, Inc. However, the author makes no claim that Mesa
|
||||
is in any way a compatible replacement for OpenGL or associated with
|
||||
Silicon Graphics, Inc.
|
||||
.
|
||||
This library provides a pure software rasteriser; it does not provide
|
||||
a direct rendering-capable library, or one which uses GLX. For that,
|
||||
please see libgl1-mesa-glx.
|
||||
.
|
||||
On Linux, this library is also known as libGL or libGL.so.1.
|
||||
.
|
||||
This package contains debugging symbols for the software rasterization GL
|
||||
library.
|
||||
|
||||
Package: libgl1-mesa-swx11-i686
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Architecture: i386
|
||||
Depends: libgl1-mesa-swx11 (= ${binary:Version}), ${shlibs:Depends}
|
||||
Description: Mesa OpenGL runtime [i686 optimized]
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL. To the extent that Mesa utilizes the OpenGL command
|
||||
syntax or state machine, it is being used with authorization from
|
||||
Silicon Graphics, Inc. However, the author makes no claim that Mesa
|
||||
is in any way a compatible replacement for OpenGL or associated with
|
||||
Silicon Graphics, Inc.
|
||||
.
|
||||
This library provides a pure software rasteriser; it does not provide
|
||||
a direct rendering-capable library, or one which uses GLX. For that,
|
||||
please see libgl1-mesa-glx.
|
||||
.
|
||||
On Linux, this library is also known as libGL or libGL.so.1.
|
||||
.
|
||||
This set of libraries is optimized for i686 machines and will only be used if
|
||||
you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
|
||||
Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
|
||||
such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
|
||||
|
||||
Package: libgl1-mesa-swx11-dev
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libgl1-mesa-swx11 (= ${binary:Version}), libc6-dev, libx11-dev, libxext6, mesa-common-dev (= ${source:Version})
|
||||
Provides: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev
|
||||
Conflicts: mesa-dev, libgl-dev, mesag3 (<< 3.1-1), nvidia-glx-dev, mesag-dev, libgl1-mesa-swrast-dev
|
||||
Replaces: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev
|
||||
Description: A free implementation of the OpenGL API -- development files
|
||||
This package provides the development environment required for
|
||||
compiling programs with Mesa. For a complete description of Mesa,
|
||||
please look at the libgl1-mesa-swx11 package.
|
||||
.
|
||||
This library provides a pure software rasteriser; it does not provide
|
||||
a direct rendering-capable library, or one which uses GLX. For that,
|
||||
please see libgl1-mesa-dev.
|
||||
|
||||
Package: libgl1-mesa-glx
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libgl1, libgl1-mesa-dri (<< 6.4.0)
|
||||
Replaces: libgl1, libgl1-mesa-dri (<< 6.4.0)
|
||||
Provides: libgl1
|
||||
Description: A free implementation of the OpenGL API -- GLX runtime
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
.
|
||||
This package does not include the modules themselves: these can be found
|
||||
in the libgl1-mesa-dri package.
|
||||
.
|
||||
For a complete description of Mesa, please look at the
|
||||
libgl1-mesa-swx11 package.
|
||||
|
||||
Package: libgl1-mesa-glx-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libgl1-mesa-glx (= ${binary:Version})
|
||||
Description: Debugging symbols for the Mesa GLX runtime
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
.
|
||||
This package does not include the modules themselves: these can be found
|
||||
in the libgl1-mesa-dri package.
|
||||
.
|
||||
For a complete description of Mesa, please look at the
|
||||
libgl1-mesa-swx11 package.
|
||||
.
|
||||
This package contains debugging symbols for the GL library with GLX and DRI
|
||||
capabilities.
|
||||
|
||||
#Package: libgl1-mesa-glx-i686
|
||||
#Section: libs
|
||||
#Priority: extra
|
||||
#Architecture: i386
|
||||
#Pre-Depends: libgl1-mesa-glx
|
||||
#Description: A free implementation of the OpenGL API -- GLX runtime [i686 optimized]
|
||||
# This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
# both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
# modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
# .
|
||||
# This package does not include the modules themselves: these can be found
|
||||
# in the libgl1-mesa-dri package.
|
||||
# .
|
||||
# For a complete description of Mesa, please look at the
|
||||
# libgl1-mesa-swx11 package.
|
||||
# .
|
||||
# This set of libraries is optimized for i686 machines and will only be used if
|
||||
# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
|
||||
# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
|
||||
# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
|
||||
|
||||
Package: libgl1-mesa-dri
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
|
||||
Depends: ${shlibs:Depends}, libgl1-mesa-glx (= ${binary:Version})
|
||||
Suggests: libglide3
|
||||
Conflicts: xlibmesa-dri (<< 1:7.0.0)
|
||||
Replaces: xlibmesa-dri (<< 1:7.0.0)
|
||||
Description: A free implementation of the OpenGL API -- DRI modules
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
.
|
||||
This package does not include the OpenGL library itself, only the DRI
|
||||
modules for accelerating direct rendering.
|
||||
.
|
||||
For a complete description of Mesa, please look at the
|
||||
libgl1-mesa-swx11 package.
|
||||
.
|
||||
The tdfx DRI module needs libglide3 to enable direct rendering.
|
||||
|
||||
Package: libgl1-mesa-dri-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
|
||||
Depends: libgl1-mesa-dri (= ${binary:Version})
|
||||
Description: Debugging symbols for the Mesa DRI modules
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
.
|
||||
This package does not include the OpenGL library itself, only the DRI
|
||||
modules for accelerating direct rendering.
|
||||
.
|
||||
For a complete description of Mesa, please look at the
|
||||
libgl1-mesa-swx11 package.
|
||||
.
|
||||
This package contains debugging symbols for the DRI modules.
|
||||
|
||||
#Package: libgl1-mesa-dri-i686
|
||||
#Section: libs
|
||||
#Priority: extra
|
||||
#Architecture: i386
|
||||
#Pre-Depends: libgl1-mesa-dri
|
||||
#Description: A free implementation of the OpenGL API -- DRI modules [i686 optimized]
|
||||
# This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
# both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
# modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
# .
|
||||
# This package does not include the OpenGL library itself, only the DRI
|
||||
# modules for accelerating direct rendering.
|
||||
# .
|
||||
# For a complete description of Mesa, please look at the
|
||||
# libgl1-mesa-swx11 package.
|
||||
# .
|
||||
# This set of libraries is optimized for i686 machines and will only be used if
|
||||
# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
|
||||
# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
|
||||
# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
|
||||
|
||||
Package: libgl1-mesa-dev
|
||||
Section: libdevel
|
||||
Architecture: all
|
||||
Depends: libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (>= ${source:Upstream-Version})
|
||||
Conflicts: libgl-dev, libgl1-mesa-dri-dev
|
||||
Replaces: libgl-dev, libgl1-mesa-dri-dev
|
||||
Provides: libgl-dev, libgl1-mesa-dri-dev
|
||||
Description: A free implementation of the OpenGL API -- GLX development files
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of
|
||||
both direct and indirect rendering. For direct rendering, it can use DRI
|
||||
modules from the libgl1-mesa-dri package to accelerate drawing.
|
||||
.
|
||||
This package includes headers and static libraries for compiling
|
||||
programs with Mesa.
|
||||
.
|
||||
For a complete description of Mesa, please look at the libgl1-mesa-swx11
|
||||
package.
|
||||
|
||||
Package: mesa-common-dev
|
||||
Section: libdevel
|
||||
Architecture: all
|
||||
Replaces: xlibmesa-gl-dev (<< 1:7), xlibosmesa-dev, libgl1-mesa-swx11-dev (<< 6.5.2), libgl1-mesa-dev (<< 6.5.2)
|
||||
Depends: libx11-dev
|
||||
Description: Developer documentation for Mesa
|
||||
This package includes the specifications for the Mesa-specific OpenGL
|
||||
extensions, the complete set of release notes and the development header
|
||||
files common to all Mesa packages.
|
||||
|
||||
Package: libosmesa6
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: libgl1-mesa-swx11 (<< 6.5.2)
|
||||
Description: Mesa Off-screen rendering extension
|
||||
OSmesa is a Mesa extension that allows programs to render to an
|
||||
off-screen buffer using the OpenGL API without having to create a
|
||||
rendering context on an X Server. It uses a pure software renderer.
|
||||
.
|
||||
This package provides both 16-bit and 32-bit versions of the off-screen
|
||||
renderer which do not require external libraries to work.
|
||||
|
||||
Package: libosmesa6-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${source:Version}) | libgl-dev
|
||||
Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev
|
||||
Replaces: xlibosmesa-dev, libosmesa-dev, libgl1-mesa-swx11-dev (<< 6.5.2), mesa-common-dev (<< 6.5.2)
|
||||
Provides: xlibosmesa-dev, libosmesa-dev
|
||||
Description: Mesa Off-screen rendering extension -- development files
|
||||
This package provides the required environment for developing programs
|
||||
that use the off-screen rendering extension of Mesa.
|
||||
.
|
||||
For more information on OSmesa see the libosmesa6 package.
|
||||
|
||||
Package: libglu1-mesa
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, libgl1-mesa-glx | libgl1
|
||||
Provides: libglu1
|
||||
Conflicts: mesag3 (<< 5.0.0-1), xlibmesa3, libglu1
|
||||
Replaces: libglu1
|
||||
Description: The OpenGL utility library (GLU)
|
||||
GLU offers simple interfaces for building mipmaps; checking for the
|
||||
presence of extensions in the OpenGL (or other libraries which follow
|
||||
the same conventions for advertising extensions); drawing
|
||||
piecewise-linear curves, NURBS, quadrics and other primitives
|
||||
(including, but not limited to, teapots); tesselating surfaces; setting
|
||||
up projection matrices and unprojecting screen coordinates to world
|
||||
coordinates.
|
||||
.
|
||||
On Linux, this library is also known as libGLU or libGLU.so.1.
|
||||
.
|
||||
This package provides the SGI implementation of GLU shipped with the
|
||||
Mesa package (ergo the "-mesa" suffix).
|
||||
|
||||
Package: libglu1-mesa-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libglu1-mesa (= ${binary:Version}), libgl1-mesa-dev | libgl-dev
|
||||
Provides: libglu-dev, xlibmesa-glu-dev
|
||||
Conflicts: mesag-dev (<< 5.0.0-1), mesa-glide2-dev (<< 5.0.0-1), mesag3+ggi-dev (<< 5.0.0-1), xlibmesa-dev
|
||||
Replaces: libglu-dev
|
||||
Description: The OpenGL utility library -- development files
|
||||
Includes headers and static libraries for compiling programs with GLU.
|
||||
.
|
||||
For a complete description of GLU, please look at the libglu1-mesa
|
||||
package.
|
||||
|
||||
Package: libglw1-mesa
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Provides: libglw1
|
||||
Description: A free implementation of the OpenGL API -- runtime
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL. To the extent that Mesa utilizes the OpenGL command
|
||||
syntax or state machine, it is being used with authorization from
|
||||
Silicon Graphics, Inc. However, the author makes no claim that Mesa
|
||||
is in any way a compatible replacement for OpenGL or associated with
|
||||
Silicon Graphics, Inc.
|
||||
.
|
||||
This package provides a simple widgets library, libGLw, which
|
||||
allows Motif-based applications to embed an OpenGL drawing context.
|
||||
.
|
||||
On Linux, this library is also known as libGLw or libGLw.so.1.
|
||||
|
||||
Package: libglw1-mesa-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libglw1-mesa (= ${binary:Version}), libc6-dev, libx11-dev, libxext6, mesa-common-dev (= ${source:Version})
|
||||
Provides: mesag3-widgets, mesag-widgets-dev, libglw-dev
|
||||
Conflicts: libglw-dev, libgl1-mesa-swx11-dev (<< 6.5.2-4)
|
||||
Replaces: libglw-dev
|
||||
Description: A free implementation of the OpenGL API -- development files
|
||||
This package provides the development environment required for
|
||||
compiling programs with the Mesa widgets library, libGLw, which
|
||||
allows Motif-based applications to embed an OpenGL drawing context.
|
||||
The headers and static libraries for compiling programs that use this
|
||||
library are included.
|
||||
|
||||
Package: mesa-swx11-source
|
||||
Section: libdevel
|
||||
Architecture: all
|
||||
Description: Mesa software rasteriser source -- development files
|
||||
This package contains the source to the Mesa software rasteriser, which
|
||||
implements all of Mesa's GL support in software. It powers the X11 and
|
||||
X server backends (assuming unaccelerated indirect). This package is
|
||||
provided mainly for modular X servers which support GL, and need the
|
||||
software rasteriser source to build the GLcore module for unaccelerated
|
||||
indirect rendering.
|
||||
|
||||
Package: mesa-utils
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: xbase-clients (<< 6.8.2-38)
|
||||
Description: Miscellaneous Mesa GL utilities
|
||||
This package provides several basic GL utilities built by Mesa, including
|
||||
glxinfo and glxgears.
|
||||
|
||||
# vim: tw=0
|
444
debian/copyright
vendored
Normal file
444
debian/copyright
vendored
Normal file
@@ -0,0 +1,444 @@
|
||||
This package was debianized by James A. Treacy treacy@debian.org on Thu,
|
||||
6 Jan 2000 01:11:34 -0500. It was newly debianized by Marcelo E.
|
||||
Magallon <mmagallo@debian.org> on Sat, 25 Dec 2004 14:50:02 -0600. It was
|
||||
again debianized by Thierry Reding <thierry@gilfi.de> on Sat, 14 Oct 2006
|
||||
02:01:12 +0200.
|
||||
|
||||
It was downloaded from http://www.mesa3d.org/download.html
|
||||
|
||||
For more information see:
|
||||
|
||||
http://www.mesa3d.org/
|
||||
|
||||
Copyright:
|
||||
|
||||
Upstream Author: Brian Paul <brian.paul@tungstengraphics.com>
|
||||
|
||||
License:
|
||||
|
||||
License / Copyright Information
|
||||
|
||||
The Mesa distribution consists of several components. Different
|
||||
copyrights and licenses apply to different components. For
|
||||
example, GLUT is copyrighted by Mark Kilgard, some demo programs
|
||||
are copyrighted by SGI, some of the Mesa device drivers are
|
||||
copyrighted by their authors. See below for a list of Mesa's
|
||||
components and the copyright/license for each.
|
||||
|
||||
The core Mesa library is licensed according to the terms of the
|
||||
XFree86 copyright (an MIT-style license). This allows integration
|
||||
with the XFree86/DRI project. Unless otherwise stated, the Mesa
|
||||
source code and documentation is licensed as follows:
|
||||
|
||||
Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 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.
|
||||
|
||||
Attention, Contributors
|
||||
|
||||
When contributing to the Mesa project you must agree to relinquish
|
||||
your work to the holder of the copyright for the particular
|
||||
component you're contributing to. That is, you can't put your own
|
||||
copyright on the code, unless it's a modular piece that can be
|
||||
omitted from Mesa (like a new device driver). If for example, you
|
||||
contribute a bug fix to Mesa's texture mapping code, your code
|
||||
will become a part of the body of work which is copyrighted by
|
||||
Brian Paul and licensed by the above terms.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Some files, as listed below, are made available under the SGI Free B
|
||||
license. This license is as follows:
|
||||
|
||||
SGI FREE SOFTWARE LICENSE B (Version 1.1 [02/22/2000])
|
||||
|
||||
1. Definitions.
|
||||
|
||||
1.1. "Additional Notice Provisions" means such additional provisions as
|
||||
appear in the Notice in Original Code under the heading "Additional
|
||||
Notice Provisions."
|
||||
|
||||
1.2. "Covered Code" means the Original Code or Modifications, or any
|
||||
combination thereof.
|
||||
|
||||
1.3. "Hardware" means any physical device that accepts input, processes
|
||||
input, stores the results of processing, and/or provides output.
|
||||
|
||||
1.4. "Larger Work" means a work that combines Covered Code or portions
|
||||
thereof with code not governed by the terms of this License.
|
||||
|
||||
1.5. "Licensable" means having the right to grant, to the maximum extent
|
||||
possible, whether at the time of the initial grant or subsequently
|
||||
acquired, any and all of the rights conveyed herein.
|
||||
|
||||
1.6. "License" means this document.
|
||||
|
||||
1.7. "Licensed Patents" means patent claims Licensable by SGI that are
|
||||
infringed by the use or sale of Original Code or any Modifications
|
||||
provided by SGI, or any combination thereof.
|
||||
|
||||
1.8. "Modifications" means any addition to or deletion from the
|
||||
substance or structure of the Original Code or any previous
|
||||
Modifications. When Covered Code is released as a series of files,
|
||||
a Modification is:
|
||||
|
||||
A. Any addition to the contents of a file containing Original Code
|
||||
and/or addition to or deletion from the contents of a file
|
||||
containing previous Modifications.
|
||||
|
||||
B. Any new file that contains any part of the Original Code or
|
||||
previous Modifications.
|
||||
|
||||
1.9. "Notice" means any notice in Original Code or Covered Code, as
|
||||
required by and in compliance with this License.
|
||||
|
||||
1.10. "Original Code" means source code of computer software code that
|
||||
is described in the source code Notice required by Exhibit A as
|
||||
Original Code, and updates and error corrections specifically
|
||||
thereto.
|
||||
|
||||
1.11. "Recipient" means an individual or a legal entity exercising
|
||||
rights under, and complying with all of the terms of, this License
|
||||
or a future version of this License issued under Section 8. For
|
||||
legal entities, "Recipient" includes any entity that controls, is
|
||||
controlled by, or is under common control with Recipient. For
|
||||
purposes of this definition, "control" of an entity means (a) the
|
||||
power, direct or indirect, to direct or manage such entity, or (b)
|
||||
ownership of fifty percent (50%) or more of the outstanding shares
|
||||
or beneficial ownership of such entity.
|
||||
|
||||
1.12. "Recipient Patents" means patent claims Licensable by a Recipient
|
||||
that are infringed by the use or sale of Original Code or any
|
||||
Modifications provided by SGI, or any combination thereof.
|
||||
|
||||
1.13. "SGI" means Silicon Graphics, Inc.
|
||||
|
||||
1.14. "SGI Patents" means patent claims Licensable by SGI other than the
|
||||
Licensed Patents.
|
||||
|
||||
2. License Grant and Restrictions.
|
||||
|
||||
2.1. SGI License Grant. Subject to the terms of this License and any
|
||||
third party intellectual property claims, for the duration of
|
||||
intellectual property protections inherent in the Original Code,
|
||||
SGI hereby grants Recipient a worldwide, royalty-free,
|
||||
non-exclusive license, to do the following: (i) under copyrights
|
||||
Licensable by SGI, to reproduce, distribute, create derivative
|
||||
works from, and, to the extent applicable, display and perform the
|
||||
Original Code and/or any Modifications provided by SGI alone and/or
|
||||
as part of a Larger Work; and (ii) under any Licensable Patents, to
|
||||
make, have made, use, sell, offer for sale, import and/or otherwise
|
||||
transfer the Original Code and/or any Modifications provided by
|
||||
SGI. Recipient accepts the terms and conditions of this License by
|
||||
undertaking any of the aforementioned actions. The patent license
|
||||
shall apply to the Covered Code if, at the time any related
|
||||
Modification is added, such addition of the Modification causes
|
||||
such combination to be covered by the Licensed Patents. The patent
|
||||
license in Section 2.1(ii) shall not apply to any other
|
||||
combinations that include the Modification. No patent license is
|
||||
provided under SGI Patents for infringements of SGI Patents by
|
||||
Modifications not provided by SGI or combinations of Original Code
|
||||
and Modifications not provided by SGI.
|
||||
|
||||
2.2. Recipient License Grant. Subject to the terms of this License and
|
||||
any third party intellectual property claims, Recipient hereby
|
||||
grants SGI and any other Recipients a worldwide, royalty-free,
|
||||
non-exclusive license, under any Recipient Patents, to make, have
|
||||
made, use, sell, offer for sale, import and/or otherwise transfer
|
||||
the Original Code and/or any Modifications provided by SGI.
|
||||
|
||||
2.3. No License For Hardware Implementations. The licenses granted in
|
||||
Section 2.1 and 2.2 are not applicable to implementation in
|
||||
Hardware of the algorithms embodied in the Original Code or any
|
||||
Modifications provided by SGI .
|
||||
|
||||
3. Redistributions.
|
||||
|
||||
3.1. Retention of Notice/Copy of License. The Notice set forth in
|
||||
Exhibit A, below, must be conspicuously retained or included in any
|
||||
and all redistributions of Covered Code. For distributions of the
|
||||
Covered Code in source code form, the Notice must appear in every
|
||||
file that can include a text comments field; in executable form,
|
||||
the Notice and a copy of this License must appear in related
|
||||
documentation or collateral where the Recipient’s rights relating
|
||||
to Covered Code are described. Any Additional Notice Provisions
|
||||
which actually appears in the Original Code must also be retained
|
||||
or included in any and all redistributions of Covered Code.
|
||||
|
||||
3.2. Alternative License. Provided that Recipient is in compliance with
|
||||
the terms of this License, Recipient may, so long as without
|
||||
derogation of any of SGI’s rights in and to the Original Code,
|
||||
distribute the source code and/or executable version(s) of Covered
|
||||
Code under (1) this License; (2) a license identical to this
|
||||
License but for only such changes as are necessary in order to
|
||||
clarify Recipient’s role as licensor of Modifications; and/or (3) a
|
||||
license of Recipient’s choosing, containing terms different from
|
||||
this License, provided that the license terms include this Section
|
||||
3 and Sections 4, 6, 7, 10, 12, and 13, which terms may not be
|
||||
modified or superseded by any other terms of such license. If
|
||||
Recipient elects to use any license other than this License,
|
||||
Recipient must make it absolutely clear that any of its terms which
|
||||
differ from this License are offered by Recipient alone, and not by
|
||||
SGI. It is emphasized that this License is a limited license, and,
|
||||
regardless of the license form employed by Recipient in accordance
|
||||
with this Section 3.2, Recipient may relicense only such rights, in
|
||||
Original Code and Modifications by SGI, as it has actually been
|
||||
granted by SGI in this License.
|
||||
|
||||
3.3. Indemnity. Recipient hereby agrees to indemnify SGI for any
|
||||
liability incurred by SGI as a result of any such alternative
|
||||
license terms Recipient offers.
|
||||
|
||||
4. Termination. This License and the rights granted hereunder will
|
||||
terminate automatically if Recipient breaches any term herein and
|
||||
fails to cure such breach within 30 days thereof. Any sublicense to
|
||||
the Covered Code that is properly granted shall survive any
|
||||
termination of this License, absent termination by the terms of such
|
||||
sublicense. Provisions that, by their nature, must remain in effect
|
||||
beyond the termination of this License, shall survive.
|
||||
|
||||
5. No Trademark Or Other Rights. This License does not grant any rights
|
||||
to: (i) any software apart from the Covered Code, nor shall any
|
||||
other rights or licenses not expressly granted hereunder arise by
|
||||
implication, estoppel or otherwise with respect to the Covered Code;
|
||||
(ii) any trade name, trademark or service mark whatsoever, including
|
||||
without limitation any related right for purposes of endorsement or
|
||||
promotion of products derived from the Covered Code, without prior
|
||||
written permission of SGI; or (iii) any title to or ownership of the
|
||||
Original Code, which shall at all times remains with SGI. All rights
|
||||
in the Original Code not expressly granted under this License are
|
||||
reserved.
|
||||
|
||||
6. Compliance with Laws; Non-Infringement. There are various worldwide
|
||||
laws, regulations, and executive orders applicable to dispositions
|
||||
of Covered Code, including without limitation export, re-export, and
|
||||
import control laws, regulations, and executive orders, of the U.S.
|
||||
government and other countries, and Recipient is reminded it is
|
||||
obliged to obey such laws, regulations, and executive orders.
|
||||
Recipient may not distribute Covered Code that (i) in any way
|
||||
infringes (directly or contributorily) any intellectual property
|
||||
rights of any kind of any other person or entity or (ii) breaches
|
||||
any representation or warranty, express, implied or statutory, to
|
||||
which, under any applicable law, it might be deemed to have been
|
||||
subject.
|
||||
|
||||
7. Claims of Infringement. If Recipient learns of any third party claim
|
||||
that any disposition of Covered Code and/or functionality wholly or
|
||||
partially infringes the third party's intellectual property rights,
|
||||
Recipient will promptly notify SGI of such claim.
|
||||
|
||||
8. Versions of the License. SGI may publish revised and/or new versions
|
||||
of the License from time to time, each with a distinguishing version
|
||||
number. Once Covered Code has been published under a particular
|
||||
version of the License, Recipient may, for the duration of the
|
||||
license, continue to use it under the terms of that version, or
|
||||
choose to use such Covered Code under the terms of any subsequent
|
||||
version published by SGI. Subject to the provisions of Sections 3
|
||||
and 4 of this License, only SGI may modify the terms applicable to
|
||||
Covered Code created under this License.
|
||||
|
||||
9. DISCLAIMER OF WARRANTY. COVERED CODE IS PROVIDED "AS IS." ALL
|
||||
EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS ARE DISCLAIMED,
|
||||
INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND CONDITIONS
|
||||
OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, AND NON-INFRINGEMENT. SGI ASSUMES NO RISK AS TO THE QUALITY
|
||||
AND PERFORMANCE OF THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE
|
||||
IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR SERVICING,
|
||||
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY IS AN ESSENTIAL
|
||||
PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED
|
||||
HEREUNDER EXCEPT SUBJECT TO THIS DISCLAIMER.
|
||||
|
||||
10. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES NOR LEGAL THEORY,
|
||||
WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT
|
||||
LIABILITY), CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
|
||||
CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
|
||||
LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, LOSS OF
|
||||
DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
|
||||
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
|
||||
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
|
||||
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
|
||||
RESULTING FROM SGI's NEGLIGENCE TO THE EXTENT APPLICABLE LAW
|
||||
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
|
||||
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
|
||||
THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO RECIPIENT.
|
||||
|
||||
11. Indemnity. Recipient shall be solely responsible for damages
|
||||
arising, directly or indirectly, out of its utilization of rights
|
||||
under this License. Recipient will defend, indemnify and hold
|
||||
harmless Silicon Graphics, Inc. from and against any loss,
|
||||
liability, damages, costs or expenses (including the payment of
|
||||
reasonable attorneys fees) arising out of Recipient's use,
|
||||
modification, reproduction and distribution of the Covered Code or
|
||||
out of any representation or warranty made by Recipient.
|
||||
|
||||
12. U.S. Government End Users. The Covered Code is a "commercial item"
|
||||
consisting of "commercial computer software" as such terms are
|
||||
defined in title 48 of the Code of Federal Regulations and all U.S.
|
||||
Government End Users acquire only the rights set forth in this
|
||||
License and are subject to the terms of this License.
|
||||
|
||||
13. Miscellaneous. This License represents the complete agreement
|
||||
concerning the its subject matter. If any provision of this License
|
||||
is held to be unenforceable, such provision shall be reformed so as
|
||||
to achieve as nearly as possible the same legal and economic effect
|
||||
as the original provision and the remainder of this License will
|
||||
remain in effect. This License shall be governed by and construed
|
||||
in accordance with the laws of the United States and the State of
|
||||
California as applied to agreements entered into and to be
|
||||
performed entirely within California between California residents.
|
||||
Any litigation relating to this License shall be subject to the
|
||||
exclusive jurisdiction of the Federal Courts of the Northern
|
||||
District of California (or, absent subject matter jurisdiction in
|
||||
such courts, the courts of the State of California), with venue
|
||||
lying exclusively in Santa Clara County, California, with the
|
||||
losing party responsible for costs, including without limitation,
|
||||
court costs and reasonable attorneys fees and expenses. The
|
||||
application of the United Nations Convention on Contracts for the
|
||||
International Sale of Goods is expressly excluded. Any law or
|
||||
regulation that provides that the language of a contract shall be
|
||||
construed against the drafter shall not apply to this License.
|
||||
|
||||
Exhibit A
|
||||
|
||||
License Applicability. Except to the extent portions of this file are
|
||||
made subject to an alternative license as permitted in the SGI Free
|
||||
Software License B, Version 1.1 (the "License"), the contents of this
|
||||
file are subject only to the provisions of the License. You may not use
|
||||
this file except in compliance with the License. You may obtain a copy
|
||||
of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
|
||||
Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
|
||||
|
||||
http://oss.sgi.com/projects/FreeB
|
||||
|
||||
Note that, as provided in the License, the Software is distributed on an
|
||||
"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
|
||||
DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
|
||||
CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
||||
|
||||
Original Code. The Original Code is: [name of software, version number,
|
||||
and release date], developed by Silicon Graphics, Inc. The Original Code
|
||||
is Copyright (c) [dates of first publication, as appearing in the Notice
|
||||
in the Original Code] Silicon Graphics, Inc. Copyright in any portions
|
||||
created by third parties is as indicated elsewhere herein. All Rights
|
||||
Reserved.
|
||||
|
||||
Additional Notice Provisions: [such additional provisions, if any, as
|
||||
appear in the Notice in the Original Code under the heading "Additional
|
||||
Notice Provisions"]
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
Some other files listed below are made available from Silicon Graphics,
|
||||
Inc. under a more liberal, MIT-style license, as follows:
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for
|
||||
any purpose and without fee is hereby granted, provided that the above
|
||||
copyright notice appear in all copies and that both the copyright notice
|
||||
and this permission notice appear in supporting documentation, and that
|
||||
the name of Silicon Graphics, Inc. not be used in advertising
|
||||
or publicity pertaining to distribution of the software without specific,
|
||||
written prior permission.
|
||||
|
||||
THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE
|
||||
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
|
||||
GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
|
||||
SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
|
||||
KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
|
||||
LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
|
||||
THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
US Government Users Restricted Rights
|
||||
Use, duplication, or disclosure by the Government is subject to
|
||||
restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
|
||||
(c)(1)(ii) of the Rights in Technical Data and Computer Software
|
||||
clause at DFARS 252.227-7013 and/or in similar or successor
|
||||
clauses in the FAR or the DOD or NASA FAR Supplement.
|
||||
Unpublished-- rights reserved under the copyright laws of the
|
||||
United States. Contractor/manufacturer is Silicon Graphics,
|
||||
Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
Mesa Component Licenses:
|
||||
|
||||
Component Files Primary Author License
|
||||
----------------------------------------------------------------------------
|
||||
core Mesa code src/*.[ch] Brian Paul Mesa
|
||||
include/GL/gl.h
|
||||
|
||||
GLX driver src/X/* Brian Paul Mesa
|
||||
include/GL/glx.h
|
||||
include/GL/xmesa.h
|
||||
|
||||
OS/Mesa driver src/OSmesa/* Brian Paul Mesa
|
||||
include/GL/osmesa.h
|
||||
|
||||
3Dfx driver src/FX/* David Bucciarelli Mesa
|
||||
include/GL/fxmesa.h
|
||||
|
||||
BeOS R4 driver mesa/drivers/beos/ Brian Paul Mesa
|
||||
|
||||
MGL driver include/GL/mglmesa.h SciTech, Inc GNU LGPL
|
||||
|
||||
Windows driver mesa/drivers/windows/ Li Wei GNU LGPL
|
||||
include/GL/wmesa.h
|
||||
|
||||
SVGA driver mesa/drivers/svga/ Brian Paul GNU LGPL
|
||||
include/GL/svgamesa.h
|
||||
|
||||
DOS driver mesa/drivers/dos/ Charlie Wallace GNU LGPL
|
||||
include/GL/dosmesa.h
|
||||
|
||||
GGI driver mesa/drivers/ggi/ Uwe Maurer GNU LGPL
|
||||
include/GL/ggimesa.h
|
||||
|
||||
GLUT src/glut/* Mark Kilgard Mark's copyright
|
||||
include/GL/*glut*.h
|
||||
|
||||
GLU library src/glu/* Brian Paul GNU LGPL
|
||||
|
||||
SGI GLU library src/glu/sgi/* SGI SGI Free B
|
||||
include/GL/glu.h
|
||||
|
||||
Ext registry include/GL/glext.h SGI SGI Free B
|
||||
include/GL/glxext.h
|
||||
|
||||
demo programs progs/demos/* various see source files
|
||||
|
||||
X demos progs/xdemos/* Brian Paul see source files
|
||||
|
||||
SGI demos progs/samples/* SGI SGI MIT-style
|
||||
|
||||
RedBook demos progs/redbook/* SGI SGI MIT-style
|
||||
|
||||
|
||||
On Debian systems the full text of the GNU LGPL license is found in
|
||||
/usr/share/common-licenses/LGPL.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Debian packaging is (C) 2006, Thierry Reding <thierry@gilfi.de> and
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
|
||||
|
15
debian/glxdemo.1
vendored
Normal file
15
debian/glxdemo.1
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
.TH glxdemo 1 "2006-11-29"
|
||||
.SH NAME
|
||||
glxdemo \- a demonstration of the GLX functions
|
||||
.SH SYNOPSIS
|
||||
.B glxdemo
|
||||
.SH DESCRIPTION
|
||||
The \fIglxdemo\fP program shows how to use the GLX functions in order to
|
||||
create an OpenGL program running on top of an X server. This program is most
|
||||
useful when studied in its source code form.
|
||||
.SH AUTHOR
|
||||
glxdemo was written by Brian Paul <brian.paul@tungstengraphics.com>.
|
||||
.PP
|
||||
This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
|
||||
Debian project (but may be used by others).
|
||||
|
29
debian/glxgears.1
vendored
Normal file
29
debian/glxgears.1
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
.TH glxgears 1 "2006-11-29"
|
||||
.SH NAME
|
||||
glxgears \- ``gears'' demo for GLX
|
||||
.SH SYNOPSIS
|
||||
.B glxgears
|
||||
.RI [ options ]
|
||||
.SH DESCRIPTION
|
||||
The \fIglxgears\fP program is a port of the ``gears'' demo to GLX. It displays
|
||||
a set of rotating gears and prints out the frame rate at regular intervals. It
|
||||
has become quite popular as basic benchmarking tool.
|
||||
.SH OPTIONS
|
||||
.TP 8
|
||||
.B \-display \fIdisplay\fP
|
||||
Specify which X display to run on.
|
||||
.TP 8
|
||||
.B \-info
|
||||
Display OpenGL renderer information.
|
||||
.TP 8
|
||||
.B \-stereo
|
||||
Use a stereo enabled GLX visual.
|
||||
.TP 8
|
||||
.B \-fullscreen
|
||||
Run in fullscreen mode.
|
||||
.SH AUTHOR
|
||||
glxgears was written by Brian Paul <brian.paul@tungstengraphics.com>.
|
||||
.PP
|
||||
This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
|
||||
Debian project (but may be used by others).
|
||||
|
30
debian/glxheads.1
vendored
Normal file
30
debian/glxheads.1
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
.TH glxheads 1 "2006-11-29"
|
||||
.SH NAME
|
||||
glxheads \- exercise multiple GLX connections
|
||||
.SH SYNOPSIS
|
||||
.B glxheads
|
||||
[\fIdisplay\fP ...]
|
||||
.SH DESCRIPTION
|
||||
The \fIglxheads\fP program will try to open GLX connections on multiple X
|
||||
displays as specified on the command-line. If a connection can be made it will
|
||||
try to create a direct GLX context (and fallback to using indirect contexts if
|
||||
that fails) and open a window displaying a spinning green triangle.
|
||||
.PP
|
||||
If no display names are specified, \fIglxheads\fP will default to opening a
|
||||
single local connection on display 0.
|
||||
.SH EXAMPLE
|
||||
To open a local connection on display 0 and two remote connections to the
|
||||
hosts \fImars\fP (display 0) and \fIvenus\fP (display 1), run glxheads with
|
||||
the following command-line:
|
||||
.PP
|
||||
.RS 3n
|
||||
.nf
|
||||
$ glxheads :0 mars:0 venus:1
|
||||
.fi
|
||||
.RE
|
||||
.SH AUTHOR
|
||||
glxheads was written by Brian Paul <brian.paul@tungstengraphics.com>.
|
||||
.PP
|
||||
This manual page was written by Thierry Reding <thierry@gilfi.de> for the
|
||||
Debian project (but may be used by others).
|
||||
|
41
debian/glxinfo.1
vendored
Normal file
41
debian/glxinfo.1
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
.TH glxinfo 1 "2006-11-29"
|
||||
.SH NAME
|
||||
glxinfo \- show information about the GLX implementation
|
||||
.SH SYNOPSIS
|
||||
.B glxinfo
|
||||
.RI [ options ]
|
||||
.SH DESCRIPTION
|
||||
The \fIglxinfo\fP program shows information about the OpenGL and GLX
|
||||
implementations running on a given X display.
|
||||
.PP
|
||||
The information includes details about the server- and client-side GLX
|
||||
implementation, the OpenGL and GLU implementations as well as a list
|
||||
of available GLX visuals.
|
||||
.SH OPTIONS
|
||||
.TP 8
|
||||
.B \-v
|
||||
Print visuals info in verbose form.
|
||||
.TP 8
|
||||
.B \-t
|
||||
Print verbose table.
|
||||
.TP 8
|
||||
.B \-display \fIdisplay\fP
|
||||
Specify the X display to interrogate.
|
||||
.TP 8
|
||||
.B \-h
|
||||
Print usage information.
|
||||
.TP 8
|
||||
.B \-i
|
||||
Force an indirect rendering context.
|
||||
.TP 8
|
||||
.B \-b
|
||||
Find the ``best'' visual and print it's number.
|
||||
.TP 8
|
||||
.B \-l
|
||||
Print interesting OpenGL limits.
|
||||
.SH AUTHOR
|
||||
glxinfo was written by Brian Paul <brian.paul@tungstengraphics.com>.
|
||||
.PP
|
||||
This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
|
||||
Debian project (but may be used by others).
|
||||
|
1
debian/libgl1-mesa-dev.install
vendored
Normal file
1
debian/libgl1-mesa-dev.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/libGL.so
|
1
debian/libgl1-mesa-dri-i686.install
vendored
Normal file
1
debian/libgl1-mesa-dri-i686.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/dri/i686/cmov/*.so
|
1
debian/libgl1-mesa-dri.install
vendored
Normal file
1
debian/libgl1-mesa-dri.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/dri/*.so
|
1
debian/libgl1-mesa-glx-i686.install
vendored
Normal file
1
debian/libgl1-mesa-glx-i686.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/glx/i686/cmov/libGL.so.* usr/lib/i686/cmov
|
1
debian/libgl1-mesa-glx.install
vendored
Normal file
1
debian/libgl1-mesa-glx.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/glx/libGL.so.* usr/lib
|
1
debian/libgl1-mesa-glx.shlibs
vendored
Normal file
1
debian/libgl1-mesa-glx.shlibs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libGL 1 libgl1-mesa-glx | libgl1
|
2
debian/libgl1-mesa-swx11-dev.install
vendored
Normal file
2
debian/libgl1-mesa-swx11-dev.install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
usr/lib/libGL.a
|
||||
usr/lib/libGL.so
|
1
debian/libgl1-mesa-swx11-i686.install
vendored
Normal file
1
debian/libgl1-mesa-swx11-i686.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/i686/cmov/libGL.so.*
|
1
debian/libgl1-mesa-swx11-i686.shlibs
vendored
Normal file
1
debian/libgl1-mesa-swx11-i686.shlibs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libGL 1 libgl1-mesa-glx | libgl1
|
1
debian/libgl1-mesa-swx11.install
vendored
Normal file
1
debian/libgl1-mesa-swx11.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/libGL.so.*
|
1
debian/libgl1-mesa-swx11.shlibs
vendored
Normal file
1
debian/libgl1-mesa-swx11.shlibs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libGL 1 libgl1-mesa-glx | libgl1
|
4
debian/libglu1-mesa-dev.install
vendored
Normal file
4
debian/libglu1-mesa-dev.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/include/GL/glu.h
|
||||
usr/include/GL/glu_mangle.h
|
||||
usr/lib/libGLU.a
|
||||
usr/lib/libGLU.so
|
1
debian/libglu1-mesa.install
vendored
Normal file
1
debian/libglu1-mesa.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/libGLU.so.*
|
1
debian/libglu1-mesa.shlibs
vendored
Normal file
1
debian/libglu1-mesa.shlibs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libGLU 1 libglu1-mesa | libglu1
|
3
debian/libglw1-mesa-dev.install
vendored
Normal file
3
debian/libglw1-mesa-dev.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/include/GL/GLw*A.h
|
||||
usr/lib/libGLw.a
|
||||
usr/lib/libGLw.so
|
1
debian/libglw1-mesa.install
vendored
Normal file
1
debian/libglw1-mesa.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/libGLw.so.*
|
1
debian/libglw1-mesa.shlibs
vendored
Normal file
1
debian/libglw1-mesa.shlibs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libGLw 1 libglw1-mesa | libglw1
|
7
debian/libosmesa6-dev.install
vendored
Normal file
7
debian/libosmesa6-dev.install
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
usr/include/GL/osmesa.h
|
||||
usr/lib/libOSMesa.a
|
||||
usr/lib/libOSMesa.so
|
||||
usr/lib/libOSMesa16.a
|
||||
usr/lib/libOSMesa16.so
|
||||
usr/lib/libOSMesa32.a
|
||||
usr/lib/libOSMesa32.so
|
3
debian/libosmesa6.install
vendored
Normal file
3
debian/libosmesa6.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/lib/libOSMesa.so.*
|
||||
usr/lib/libOSMesa16.so.*
|
||||
usr/lib/libOSMesa32.so.*
|
3
debian/libosmesa6.shlibs
vendored
Normal file
3
debian/libosmesa6.shlibs
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
libOSMesa 6 libosmesa6 (>= 6.5.2-1) | libgl1-mesa-glide3
|
||||
libOSMesa16 6 libosmesa6 (>= 6.5.2-1)
|
||||
libOSMesa32 6 libosmesa6 (>= 6.5.2-1)
|
8
debian/mesa-common-dev.docs
vendored
Normal file
8
debian/mesa-common-dev.docs
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
docs/bugs.html
|
||||
docs/debugging.html
|
||||
docs/envvars.html
|
||||
docs/faq.html
|
||||
docs/osmesa.html
|
||||
docs/RELNOTES-*
|
||||
docs/relnotes*
|
||||
docs/*.spec
|
4
debian/mesa-common-dev.install
vendored
Normal file
4
debian/mesa-common-dev.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/include/GL/gl.h
|
||||
usr/include/GL/glext.h
|
||||
usr/include/GL/gl_mangle.h
|
||||
usr/include/GL/glx*.h
|
1
debian/mesa-swx11-source.install
vendored
Normal file
1
debian/mesa-swx11-source.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/share/mesa-source/*
|
4
debian/mesa-utils.install
vendored
Normal file
4
debian/mesa-utils.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/bin/glxdemo
|
||||
usr/bin/glxgears
|
||||
usr/bin/glxheads
|
||||
usr/bin/glxinfo
|
4
debian/mesa-utils.manpages
vendored
Normal file
4
debian/mesa-utils.manpages
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
debian/glxdemo.1
|
||||
debian/glxgears.1
|
||||
debian/glxheads.1
|
||||
debian/glxinfo.1
|
17
debian/patches/00_create-libdir.patch
vendored
Normal file
17
debian/patches/00_create-libdir.patch
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
Patch that allows the Mesa makefile to create a LIB_DIR that is more than one
|
||||
level below TOP.
|
||||
|
||||
This patch by Thierry Reding.
|
||||
Not submitted to Mesa.
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -29,7 +29,7 @@
|
||||
done
|
||||
|
||||
$(TOP)/$(LIB_DIR):
|
||||
- -mkdir $(TOP)/$(LIB_DIR)
|
||||
+ mkdir -p $(TOP)/$(LIB_DIR)
|
||||
|
||||
|
||||
clean:
|
18
debian/patches/01_fix-makefile.patch
vendored
Normal file
18
debian/patches/01_fix-makefile.patch
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
Do not build OSMesa for a standalone configuration, since Debian only ships
|
||||
OSMesa in a separate package.
|
||||
|
||||
This patch by Thierry Reding.
|
||||
|
||||
Index: mesa/src/mesa/Makefile
|
||||
===================================================================
|
||||
--- mesa.orig/src/mesa/Makefile 2007-04-25 01:44:31.000000000 +0200
|
||||
+++ mesa/src/mesa/Makefile 2007-04-25 01:44:58.000000000 +0200
|
||||
@@ -105,7 +105,7 @@
|
||||
$(OSMESA_DRIVER_OBJECTS)
|
||||
|
||||
|
||||
-stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
|
||||
+stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
|
||||
|
||||
osmesa-only: depend subdirs $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
|
||||
|
19
debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
vendored
Normal file
19
debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Patch that fixes Debian bug #349437.
|
||||
|
||||
This patch by David Nusinow.
|
||||
|
||||
Index: mesa/src/mesa/main/imports.h
|
||||
===================================================================
|
||||
--- mesa.orig/src/mesa/main/imports.h 2007-04-25 01:44:31.000000000 +0200
|
||||
+++ mesa/src/mesa/main/imports.h 2007-04-25 01:45:04.000000000 +0200
|
||||
@@ -158,8 +158,9 @@
|
||||
*** USE_IEEE: Determine if we're using IEEE floating point
|
||||
***/
|
||||
#if defined(__i386__) || defined(__386__) || defined(__sparc__) || \
|
||||
- defined(__s390x__) || defined(__powerpc__) || \
|
||||
+ defined(__s390__) || defined(__s390x__) || defined(__powerpc__) || \
|
||||
defined(__amd64__) || defined(__x86_64__) || \
|
||||
+ defined(__m68k__) || \
|
||||
defined(ia64) || defined(__ia64__) || \
|
||||
defined(__hppa__) || defined(hpux) || \
|
||||
defined(__mips) || defined(_MIPS_ARCH) || \
|
51
debian/patches/03_optional-progs-and-install.patch
vendored
Normal file
51
debian/patches/03_optional-progs-and-install.patch
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
Allow the programs that are to be built to be defined in the build
|
||||
configuration.
|
||||
|
||||
Provide an install target for installing the programs in $(INSTALL_DIR)/bin.
|
||||
|
||||
This patch by Thierry Reding.
|
||||
Not submitted to Mesa.
|
||||
--
|
||||
Also remove references to GLU library since it is not required
|
||||
and we don't actually build it at this point.
|
||||
|
||||
|
||||
--- mesa.orig/progs/xdemos/Makefile
|
||||
+++ mesa/progs/xdemos/Makefile
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS)
|
||||
|
||||
-PROGS = \
|
||||
+PROGS ?= \
|
||||
glthreads \
|
||||
glxdemo \
|
||||
glxgears \
|
||||
@@ -55,6 +55,11 @@
|
||||
extra: $(EXTRA_PROGS)
|
||||
|
||||
|
||||
+install: $(PROGS)
|
||||
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/bin
|
||||
+ $(INSTALL) -m 755 $(PROGS) $(DESTDIR)$(INSTALL_DIR)/bin
|
||||
+
|
||||
+
|
||||
clean:
|
||||
-rm -f $(PROGS) $(EXTRA_PROGS)
|
||||
-rm -f *.o *~
|
||||
--- mesa.orig/progs/Makefile
|
||||
+++ mesa/progs/Makefile
|
||||
@@ -21,8 +21,12 @@
|
||||
fi \
|
||||
done
|
||||
|
||||
-# Dummy install target
|
||||
install:
|
||||
+ @for dir in $(SUBDIRS) ; do \
|
||||
+ if [ -d $$dir ] ; then \
|
||||
+ (cd $$dir ; $(MAKE) install) ; \
|
||||
+ fi \
|
||||
+ done
|
||||
|
||||
clean:
|
||||
@for dir in $(SUBDIRS) tests ; do \
|
892
debian/patches/04_debian-configs.patch
vendored
Normal file
892
debian/patches/04_debian-configs.patch
vendored
Normal file
@@ -0,0 +1,892 @@
|
||||
---
|
||||
configs/debian-default | 17 ++++++
|
||||
configs/debian-dri-amd64 | 9 +++
|
||||
configs/debian-dri-any | 9 +++
|
||||
configs/debian-dri-default | 36 ++++++++++++++
|
||||
configs/debian-dri-i386 | 9 +++
|
||||
configs/debian-dri-i386-i686 | 14 +++++
|
||||
configs/debian-dri-optimized-default | 13 +++++
|
||||
configs/debian-indirect-default | 7 ++
|
||||
configs/debian-indirect-hurd-i386 | 9 +++
|
||||
configs/debian-osmesa | 9 +++
|
||||
configs/debian-osmesa-default | 10 ++++
|
||||
configs/debian-osmesa-static | 9 +++
|
||||
configs/debian-osmesa16 | 10 ++++
|
||||
configs/debian-osmesa16-static | 10 ++++
|
||||
configs/debian-osmesa32 | 10 ++++
|
||||
configs/debian-osmesa32-static | 10 ++++
|
||||
configs/debian-swx11+glu-alpha-ev5 | 12 ++++
|
||||
configs/debian-swx11+glu-amd64 | 10 ++++
|
||||
configs/debian-swx11+glu-any | 9 +++
|
||||
configs/debian-swx11+glu-default | 14 +++++
|
||||
configs/debian-swx11+glu-i386 | 10 ++++
|
||||
configs/debian-swx11+glu-i386-i686 | 14 +++++
|
||||
configs/debian-swx11+glu-powerpc-603 | 13 +++++
|
||||
configs/debian-swx11+glu-ppc64 | 11 ++++
|
||||
configs/debian-swx11+glu-sparc | 10 ++++
|
||||
configs/debian-swx11+glu-sparc-ultrasparc | 13 +++++
|
||||
configs/debian-swx11+glu-static-amd64 | 10 ++++
|
||||
configs/debian-swx11+glu-static-any | 10 ++++
|
||||
configs/debian-swx11+glu-static-i386 | 10 ++++
|
||||
configs/debian-swx11+glu-static-ppc64 | 11 ++++
|
||||
configs/default-bp | 75 ++++++++++++++++++++++++++++++
|
||||
configs/linux-dri-bp | 55 ++++++++++++++++++++++
|
||||
configs/linux-osmesa | 14 ++++-
|
||||
configs/linux-osmesa-static | 15 ++++++
|
||||
configs/linux-osmesa16 | 20 +-------
|
||||
configs/linux-osmesa16-static | 19 -------
|
||||
configs/linux-osmesa32 | 17 +-----
|
||||
configs/linux-osmesa32-static | 13 +++++
|
||||
configs/linux-tcc | 22 ++++++++
|
||||
39 files changed, 550 insertions(+), 48 deletions(-)
|
||||
|
||||
Index: mesa/configs/debian-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,17 @@
|
||||
+# Define Debian-specific defaults.
|
||||
+
|
||||
+CONFIG_NAME = debian-default
|
||||
+
|
||||
+OPT_FLAGS = -O2 -g
|
||||
+
|
||||
+# override settings in configs/linux-x86-64
|
||||
+LIB_DIR = lib
|
||||
+EXTRA_LIB_PATH =
|
||||
+
|
||||
+SRC_DIRS = mesa
|
||||
+PROGRAM_DIRS =
|
||||
+
|
||||
+INSTALL_DIR = /usr
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-amd64
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-amd64 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building the DRI drivers on i386.
|
||||
+
|
||||
+include $(TOP)/configs/linux-dri-x86-64
|
||||
+include $(TOP)/configs/debian-dri-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-amd64
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-any
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-any 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building the DRI drivers on the build architecture.
|
||||
+
|
||||
+include $(TOP)/configs/linux-dri
|
||||
+include $(TOP)/configs/debian-dri-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-any
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,36 @@
|
||||
+# Configuration defaults for building the DRI drivers and DRI/GLX-enabled
|
||||
+# libGL.
|
||||
+
|
||||
+include $(TOP)/configs/debian-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-default
|
||||
+
|
||||
+SRC_DIRS = glx/x11 mesa progs
|
||||
+DRIVER_DIRS = dri
|
||||
+PROGRAM_DIRS = xdemos
|
||||
+PROGS = glxdemo \
|
||||
+ glxgears \
|
||||
+ glxheads \
|
||||
+ glxinfo
|
||||
+
|
||||
+LIB_DIR = lib/glx
|
||||
+
|
||||
+DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
|
||||
+DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
|
||||
+
|
||||
+DRI_DIRS = mach64 mga r128 r200 r300 radeon s3v savage tdfx trident
|
||||
+
|
||||
+ARCH_X86 = i386 amd64
|
||||
+
|
||||
+ifneq ($(findstring $(DEB_BUILD_ARCH), $(ARCH_X86)),)
|
||||
+ DRI_DIRS += i810 i915 i915tex i965 sis unichrome
|
||||
+endif
|
||||
+
|
||||
+ifeq ($(DEB_BUILD_ARCH), sparc)
|
||||
+ DRI_DIRS += ffb
|
||||
+endif
|
||||
+
|
||||
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-i386
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-i386 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building the DRI drivers on i386.
|
||||
+
|
||||
+include $(TOP)/configs/linux-dri-x86
|
||||
+include $(TOP)/configs/debian-dri-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-i386
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-i386-i686
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-i386-i686 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,14 @@
|
||||
+# Configuration for building the DRI drivers on i386.
|
||||
+
|
||||
+include $(TOP)/configs/linux-dri-x86
|
||||
+include $(TOP)/configs/debian-dri-optimized-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-i386-i686
|
||||
+
|
||||
+ARCH_FLAGS = -march=i686
|
||||
+LIB_DIR = lib/glx/i686/cmov
|
||||
+
|
||||
+DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri/i686/cmov
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-dri-optimized-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-dri-optimized-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,13 @@
|
||||
+# Configuration defaults for CPU-optimized builds of the DRI drivers and
|
||||
+# DRI/GLX-enabled libGL.
|
||||
+
|
||||
+include $(TOP)/configs/debian-dri-default
|
||||
+
|
||||
+CONFIG_NAME = debian-dri-optimized-default
|
||||
+
|
||||
+# override so that the utility programs are not rebuilt with CPU-specific
|
||||
+# optimizations
|
||||
+SRC_DIRS = glx/x11 mesa
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-indirect-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-indirect-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,7 @@
|
||||
+# Configuration defaults for building GLX-enabled libGL.
|
||||
+
|
||||
+include $(TOP)/configs/debian-dri-default
|
||||
+
|
||||
+CONFIG_NAME = debian-indirect-default
|
||||
+
|
||||
+DRI_DIRS =
|
||||
Index: mesa/configs/debian-indirect-hurd-i386
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-indirect-hurd-i386 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building the DRI drivers on the build architecture.
|
||||
+
|
||||
+include $(TOP)/configs/linux-indirect
|
||||
+include $(TOP)/configs/debian-indirect-default
|
||||
+
|
||||
+CONFIG_NAME = debian-indirect-hurd-i386
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building only OSMesa on Debian.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration defaults for building OSMesa.
|
||||
+
|
||||
+include $(TOP)/configs/debian-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa-default
|
||||
+
|
||||
+DRIVER_DIRS = osmesa
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa-static
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building only OSMesa (static version) on Debian.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa-static
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa-static
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa16
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa16 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building OSMesa with support for 16 bits per color
|
||||
+# channel.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa16
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa16
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa16-static
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa16-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building a static version of OSMesa with support for 16
|
||||
+# bits per color channel.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa16-static
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa16-static
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa32
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa32 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building OSMesa with support for 32 bits per color
|
||||
+# channel.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa32
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa32
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-osmesa32-static
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-osmesa32-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building a static version of OSMesa with support for 32
|
||||
+# bits per color channel.
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa32-static
|
||||
+include $(TOP)/configs/debian-osmesa-default
|
||||
+
|
||||
+CONFIG_NAME = debian-osmesa32-static
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-alpha-ev5
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-alpha-ev5 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,12 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) on alpha (ev5 optimized).
|
||||
+
|
||||
+include $(TOP)/configs/linux-alpha
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-alpha-ev5
|
||||
+
|
||||
+SRC_DIRS = mesa
|
||||
+LIB_DIR = lib/ev5/cmov
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-amd64
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-amd64 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on amd64.
|
||||
+
|
||||
+include $(TOP)/configs/linux-x86-64
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-amd64
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-any
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-any 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,9 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) on the build architecture.
|
||||
+
|
||||
+include $(TOP)/configs/linux
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-any
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-default
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-default 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,14 @@
|
||||
+# Configuration defaults for building Mesa (swx11 and GLU).
|
||||
+
|
||||
+include $(TOP)/configs/debian-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-default
|
||||
+
|
||||
+SRC_DIRS = mesa glu glw
|
||||
+DRIVER_DIRS = x11
|
||||
+
|
||||
+GLW_SOURCES += GLwMDrawA.c
|
||||
+GLW_LIB_DEPS += -lXm
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-i386
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-i386 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on i386.
|
||||
+
|
||||
+include $(TOP)/configs/linux-x86
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-i386
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-i386-i686
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-i386-i686 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,14 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on i386 (i686 optimized).
|
||||
+
|
||||
+include $(TOP)/configs/linux-x86
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-i386-i686
|
||||
+
|
||||
+ARCH_FLAGS += -march=i686
|
||||
+SRC_DIRS = mesa
|
||||
+LIB_DIR = lib/i686/cmov
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-powerpc-603
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-powerpc-603 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,13 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on powerpc (603 optimized).
|
||||
+
|
||||
+include $(TOP)/configs/linux-ppc
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-powerpc-603
|
||||
+
|
||||
+SRC_DIRS = mesa
|
||||
+LIB_DIR = lib/603/cmov
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-ppc64
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-ppc64 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,11 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on ppc64.
|
||||
+
|
||||
+include $(TOP)/configs/debian-swx11+glu-any
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-ppc64
|
||||
+
|
||||
+LIB_DIR = lib64
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-sparc
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-sparc 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on sparc.
|
||||
+
|
||||
+include $(TOP)/configs/linux-sparc
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-sparc
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-sparc-ultrasparc
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-sparc-ultrasparc 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,13 @@
|
||||
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||
+# assembler optimizations on sparc (ultrasparc-optimized).
|
||||
+
|
||||
+include $(TOP)/configs/linux-ultrasparc
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-sparc-ultrasparc
|
||||
+
|
||||
+SRC_DIRS = mesa
|
||||
+LIB_DIR = lib/ultrasparc/cmov
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-static-amd64
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-static-amd64 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||
+# on amd64.
|
||||
+
|
||||
+include $(TOP)/configs/linux-x86-64-static
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-static-amd64
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-static-any
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-static-any 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||
+# on the build architecture.
|
||||
+
|
||||
+include $(TOP)/configs/linux-static
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-static-any
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-static-i386
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-static-i386 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||
+# on i386.
|
||||
+
|
||||
+include $(TOP)/configs/linux-x86-static
|
||||
+include $(TOP)/configs/debian-swx11+glu-default
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-static-i386
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/debian-swx11+glu-static-ppc64
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/debian-swx11+glu-static-ppc64 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,11 @@
|
||||
+# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||
+# on ppc64.
|
||||
+
|
||||
+include $(TOP)/configs/debian-swx11+glu-static-any
|
||||
+
|
||||
+CONFIG_NAME = debian-swx11+glu-static-ppc64
|
||||
+
|
||||
+LIB_DIR = lib64
|
||||
+
|
||||
+# vim: ft=make
|
||||
+
|
||||
Index: mesa/configs/default-bp
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/default-bp 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,75 @@
|
||||
+# Default/template configuration
|
||||
+
|
||||
+# This is included by other config files which may override some
|
||||
+# of these variables.
|
||||
+
|
||||
+CONFIG_NAME = default
|
||||
+
|
||||
+# Version info
|
||||
+MESA_MAJOR=6
|
||||
+MESA_MINOR=3
|
||||
+MESA_TINY=0
|
||||
+
|
||||
+# external projects
|
||||
+#DRM_SOURCE_PATH=$(TOP)/../drm
|
||||
+DRM_SOURCE_PATH=/home/projects/DRI-freedesktop/drm
|
||||
+
|
||||
+# Compiler and flags
|
||||
+CC = cc
|
||||
+CXX = CC
|
||||
+CFLAGS = -O
|
||||
+CXXFLAGS = -O
|
||||
+GLU_CFLAGS =
|
||||
+
|
||||
+# Misc tools and flags
|
||||
+MKLIB_OPTIONS =
|
||||
+MKDEP = makedepend
|
||||
+MKDEP_OPTIONS = -fdepend
|
||||
+MAKE = make
|
||||
+
|
||||
+# Library names (base name)
|
||||
+GL_LIB = GL
|
||||
+GLU_LIB = GLU
|
||||
+GLUT_LIB = glut
|
||||
+GLW_LIB = GLw
|
||||
+OSMESA_LIB = OSMesa
|
||||
+
|
||||
+
|
||||
+# Library names (actual file names)
|
||||
+GL_LIB_NAME = lib$(GL_LIB).so
|
||||
+GLU_LIB_NAME = lib$(GLU_LIB).so
|
||||
+GLUT_LIB_NAME = lib$(GLUT_LIB).so
|
||||
+GLW_LIB_NAME = lib$(GLW_LIB).so
|
||||
+OSMESA_LIB_NAME = lib$(OSMesa).so
|
||||
+
|
||||
+
|
||||
+# Optional assembly language optimization files for libGL
|
||||
+ASM_SOURCES =
|
||||
+
|
||||
+# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
|
||||
+# order to build the Motif widget too)
|
||||
+GLW_SOURCES = GLwDrawA.c
|
||||
+
|
||||
+
|
||||
+# Directories
|
||||
+LIB_DIR = $(TOP)/lib
|
||||
+INSTALL_PREFIX = /usr/local
|
||||
+SRC_DIRS = mesa glu glut/glx glw
|
||||
+GLU_DIRS = sgi
|
||||
+DRIVER_DIRS = x11 osmesa
|
||||
+# Which subdirs under $(TOP)/progs/ to enter:
|
||||
+PROGRAM_DIRS = demos redbook samples xdemos
|
||||
+
|
||||
+
|
||||
+# Library/program dependencies
|
||||
+GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
||||
+OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
|
||||
+GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
||||
+GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
||||
+GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
|
||||
+APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||
+
|
||||
+
|
||||
+# Shading language support (set to 0 or 1)
|
||||
+SHADING_LANGUAGE = 0
|
||||
+
|
||||
Index: mesa/configs/linux-dri-bp
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/linux-dri-bp 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,55 @@
|
||||
+# -*-makefile-*-
|
||||
+# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
|
||||
+
|
||||
+include $(TOP)/configs/default
|
||||
+
|
||||
+CONFIG_NAME = linux-dri
|
||||
+
|
||||
+# Compiler and flags
|
||||
+CC = gcc
|
||||
+CXX = g++
|
||||
+
|
||||
+MKDEP = /usr/X11R6/bin/makedepend
|
||||
+#MKDEP = gcc -M
|
||||
+#MKDEP_OPTIONS = -MF depend
|
||||
+
|
||||
+WARN_FLAGS = -Wall
|
||||
+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 \
|
||||
+ -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
|
||||
+
|
||||
+X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
|
||||
+
|
||||
+CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
|
||||
+ $(ASM_FLAGS) -std=c99 -ffast-math
|
||||
+
|
||||
+CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||
+
|
||||
+
|
||||
+ASM_SOURCES =
|
||||
+
|
||||
+# Library/program dependencies
|
||||
+EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
||||
+
|
||||
+DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl
|
||||
+GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl
|
||||
+GLUT_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
||||
+GLW_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
|
||||
+
|
||||
+
|
||||
+# Directories
|
||||
+SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||
+DRIVER_DIRS = dri
|
||||
+PROGRAM_DIRS =
|
||||
+WINDOW_SYSTEM=dri
|
||||
+
|
||||
+# ffb and gamma are missing because they have not been converted to use the new
|
||||
+# interface.
|
||||
+DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon s3v \
|
||||
+ savage sis tdfx trident unichrome fb
|
||||
Index: mesa/configs/linux-osmesa-static
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/linux-osmesa-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,15 @@
|
||||
+# 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/linux-osmesa
|
||||
+
|
||||
+CONFIG_NAME = linux-osmesa-static
|
||||
+
|
||||
+# Compiler and flags
|
||||
+MKLIB_OPTIONS = -static
|
||||
+PIC_FLAGS =
|
||||
+
|
||||
+# Library names
|
||||
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||
+
|
||||
Index: mesa/configs/linux-osmesa32-static
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/linux-osmesa32-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,13 @@
|
||||
+# Configuration for 32 bits/channel OSMesa library on Linux
|
||||
+
|
||||
+include $(TOP)/configs/linux-osmesa32
|
||||
+
|
||||
+CONFIG_NAME = linux-osmesa32-static
|
||||
+
|
||||
+# Compiler and flags
|
||||
+MKLIB_OPTIONS = -static
|
||||
+PIC_FLAGS =
|
||||
+
|
||||
+# Library names
|
||||
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||
+
|
||||
Index: mesa/configs/linux-tcc
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mesa/configs/linux-tcc 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -0,0 +1,22 @@
|
||||
+# Configuration for debugging on Linux
|
||||
+
|
||||
+include $(TOP)/configs/default
|
||||
+
|
||||
+CONFIG_NAME = linux-tcc
|
||||
+
|
||||
+# Compiler and flags
|
||||
+CC = gcc
|
||||
+CXX = g++
|
||||
+
|
||||
+TCC_DIR=/home/progs/tcc-0.9.20
|
||||
+
|
||||
+CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG -DUSE_TCC -I$(TCC_DIR)
|
||||
+
|
||||
+CXXFLAGS = -g -ansi -pedantic -Wall -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG
|
||||
+
|
||||
+GLUT_CFLAGS = -fexceptions
|
||||
+
|
||||
+GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -L$(TCC_DIR) -ltcc -ldl
|
||||
+GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||
+GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -L/usr/X11R6/lib -lX11
|
||||
+APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||
Index: mesa/configs/linux-osmesa
|
||||
===================================================================
|
||||
--- mesa.orig/configs/linux-osmesa 2008-06-16 00:50:38.000000000 +0200
|
||||
+++ mesa/configs/linux-osmesa 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -9,8 +9,17 @@
|
||||
# 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
|
||||
+
|
||||
+PIC_FLAGS = -fPIC
|
||||
+
|
||||
+DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
||||
+ -D_BSD_SOURCE -D_GNU_SOURCE \
|
||||
+ -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
|
||||
+
|
||||
+CFLAGS = -ansi -pedantic $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
|
||||
+ $(ASM_FLAGS) -ffast-math
|
||||
+
|
||||
+CXXFLAGS = -ansi -pedantic $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
@@ -26,3 +35,4 @@
|
||||
OSMESA_LIB_DEPS = -lm -lpthread
|
||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
APP_LIB_DEPS = -lOSMesa -lGLU
|
||||
+
|
||||
Index: mesa/configs/linux-osmesa16
|
||||
===================================================================
|
||||
--- mesa.orig/configs/linux-osmesa16 2008-06-16 00:50:38.000000000 +0200
|
||||
+++ mesa/configs/linux-osmesa16 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -1,31 +1,19 @@
|
||||
# Configuration for 16 bits/channel OSMesa library on Linux
|
||||
|
||||
-include $(TOP)/configs/default
|
||||
+include $(TOP)/configs/linux-osmesa
|
||||
|
||||
CONFIG_NAME = linux-osmesa16
|
||||
|
||||
-# 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 -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
|
||||
-CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||
-
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
-
|
||||
+DEFINES += -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=32
|
||||
# Library names
|
||||
OSMESA_LIB = OSMesa16
|
||||
-OSMESA_LIB_NAME = libOSMesa16.so
|
||||
-
|
||||
|
||||
# Directories
|
||||
-SRC_DIRS = mesa glu
|
||||
-DRIVER_DIRS = osmesa
|
||||
PROGRAM_DIRS =
|
||||
|
||||
-
|
||||
# Dependencies
|
||||
-OSMESA_LIB_DEPS = -lm -lpthread
|
||||
-GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
-APP_LIB_DEPS = -lOSMesa16
|
||||
+APP_LIB_DEPS = -l$(OSMESA_LIB)
|
||||
+
|
||||
Index: mesa/configs/linux-osmesa16-static
|
||||
===================================================================
|
||||
--- mesa.orig/configs/linux-osmesa16-static 2008-06-16 00:50:38.000000000 +0200
|
||||
+++ mesa/configs/linux-osmesa16-static 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -1,14 +1,10 @@
|
||||
# Configuration for 16 bits/channel OSMesa library on Linux
|
||||
|
||||
-include $(TOP)/configs/default
|
||||
+include $(TOP)/configs/linux-osmesa16
|
||||
|
||||
CONFIG_NAME = linux-osmesa16-static
|
||||
|
||||
# Compiler and flags
|
||||
-CC = gcc
|
||||
-CXX = g++
|
||||
-CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
|
||||
-CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||
MKLIB_OPTIONS = -static
|
||||
PIC_FLAGS =
|
||||
|
||||
@@ -17,16 +13,5 @@
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
|
||||
# Library names
|
||||
-OSMESA_LIB = OSMesa16
|
||||
-OSMESA_LIB_NAME = libOSMesa16.a
|
||||
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||
|
||||
-
|
||||
-# Directories
|
||||
-SRC_DIRS = mesa glu
|
||||
-DRIVER_DIRS = osmesa
|
||||
-PROGRAM_DIRS =
|
||||
-
|
||||
-
|
||||
-# Dependencies
|
||||
-OSMESA_LIB_DEPS = -lm -lpthread
|
||||
-APP_LIB_DEPS = -lOSMesa16
|
||||
Index: mesa/configs/linux-osmesa32
|
||||
===================================================================
|
||||
--- mesa.orig/configs/linux-osmesa32 2008-06-16 00:50:38.000000000 +0200
|
||||
+++ mesa/configs/linux-osmesa32 2008-06-17 19:27:49.000000000 +0200
|
||||
@@ -1,31 +1,22 @@
|
||||
# Configuration for 32 bits/channel OSMesa library on Linux
|
||||
|
||||
-include $(TOP)/configs/default
|
||||
+include $(TOP)/configs/linux-osmesa
|
||||
|
||||
CONFIG_NAME = linux-osmesa32
|
||||
|
||||
# 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 -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
|
||||
-CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CXXFLAGS += -fno-strict-aliasing
|
||||
+DEFINES += -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
|
||||
|
||||
# Library names
|
||||
OSMESA_LIB = OSMesa32
|
||||
-OSMESA_LIB_NAME = libOSMesa32.so
|
||||
-
|
||||
|
||||
# Directories
|
||||
-SRC_DIRS = mesa glu
|
||||
-DRIVER_DIRS = osmesa
|
||||
PROGRAM_DIRS =
|
||||
|
||||
-
|
||||
# Dependencies
|
||||
-OSMESA_LIB_DEPS = -lm -lpthread
|
||||
-GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||
-APP_LIB_DEPS = -lOSMesa32
|
||||
+APP_LIB_DEPS = -l$(OSMESA_LIB)
|
||||
+
|
5
debian/patches/series
vendored
Normal file
5
debian/patches/series
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
00_create-libdir.patch
|
||||
01_fix-makefile.patch
|
||||
02_use-ieee-fp-on-s390-and-m68k.patch
|
||||
03_optional-progs-and-install.patch
|
||||
04_debian-configs.patch
|
139
debian/rules
vendored
Executable file
139
debian/rules
vendored
Executable file
@@ -0,0 +1,139 @@
|
||||
#!/usr/bin/make -f
|
||||
# debian/rules for the Debian mesa package
|
||||
# Copyright © 2006 Thierry Reding <thierry@gilfi.de>
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
STAMP_DIR = debian/stamp
|
||||
|
||||
QUILT_STAMPFN = $(STAMP_DIR)/patch
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
|
||||
|
||||
export DEB_BUILD_ARCH
|
||||
|
||||
# choose which configurations to build
|
||||
SWX11_GLU_CONFIGS =
|
||||
DRI_CONFIGS =
|
||||
|
||||
include debian/scripts/choose-configs
|
||||
|
||||
# build the following configurations by default
|
||||
CONFIGS = $(SWX11_GLU_CONFIGS) \
|
||||
$(DRI_CONFIGS) \
|
||||
debian-osmesa \
|
||||
debian-osmesa-static \
|
||||
debian-osmesa16 \
|
||||
debian-osmesa16-static \
|
||||
debian-osmesa32 \
|
||||
debian-osmesa32-static
|
||||
|
||||
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
|
||||
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
|
||||
ARCH_INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
|
||||
INDEP_INSTALL_STAMPS = $(STAMP_DIR)/install-source
|
||||
|
||||
# list the configurations that will built
|
||||
configs:
|
||||
@echo Building the following configurations: $(CONFIGS)
|
||||
|
||||
$(STAMP_DIR):
|
||||
dh_testdir
|
||||
mkdir -p $@
|
||||
|
||||
$(QUILT_STAMPFN): $(STAMP_DIR)
|
||||
|
||||
|
||||
build: $(BUILD_STAMPS)
|
||||
|
||||
$(STAMP)-build-%: patch
|
||||
dh_testdir
|
||||
mkdir -p $(DEB_BUILD_DIR)/$*
|
||||
find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | \
|
||||
xargs cp -rlf -t $(DEB_BUILD_DIR)/$*
|
||||
ln -sf $* $(DEB_BUILD_DIR)/$*/configs/current
|
||||
cd $(DEB_BUILD_DIR)/$* && $(MAKE)
|
||||
touch $@
|
||||
|
||||
pre-install:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
rm -rf $(INSTALL_STAMPS)
|
||||
|
||||
install: pre-install $(ARCH_INSTALL_STAMPS)
|
||||
|
||||
$(STAMP)-install-%: $(STAMP)-build-%
|
||||
# Add here commands to install the package into debian/tmp
|
||||
cd $(DEB_BUILD_DIR)/$* && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/install-source: pre-install
|
||||
# install Mesa source for mesa-swx11-source package
|
||||
chmod a+x debian/scripts/install-source.sh
|
||||
debian/scripts/install-source.sh
|
||||
touch $@
|
||||
|
||||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean --exclude ./Makefile.orig
|
||||
rm -rf $(DEB_BUILD_DIR) $(STAMP_DIR)
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install $(INDEP_INSTALL_STAMPS)
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs -i
|
||||
dh_installdocs -i
|
||||
dh_installexamples -i
|
||||
dh_install --sourcedir=debian/tmp --list-missing -i
|
||||
dh_installman -i
|
||||
dh_link -i
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs -s
|
||||
dh_installdocs -s
|
||||
dh_installexamples -s
|
||||
dh_install --sourcedir=debian/tmp --list-missing -s
|
||||
dh_installman -s
|
||||
dh_link -s
|
||||
dh_strip -plibgl1-mesa-swx11 --dbg-package=libgl1-mesa-swx11-dbg
|
||||
dh_strip -plibgl1-mesa-glx --dbg-package=libgl1-mesa-glx-dbg
|
||||
dh_strip -plibgl1-mesa-dri --dbg-package=libgl1-mesa-dri-dbg
|
||||
dh_strip -s
|
||||
dh_compress -s
|
||||
dh_fixperms -s
|
||||
dh_makeshlibs -s
|
||||
dh_installdeb -s
|
||||
dh_shlibdeps -s
|
||||
dh_gencontrol -s
|
||||
dh_md5sums -s
|
||||
dh_builddeb -s
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: configs build clean binary-indep binary-arch binary install configure
|
||||
|
56
debian/scripts/choose-configs
vendored
Normal file
56
debian/scripts/choose-configs
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
# Script to choose which configurations are to be built depending on the value
|
||||
# of the DEB_BUILD_ARCH variable.
|
||||
#
|
||||
# Copyright © 2006 Thierry Reding <thierry@gilfi.de>
|
||||
|
||||
##############################################################################
|
||||
## architecture-specific configurations ######################################
|
||||
|
||||
# choose an architecture-specific build of swx11 and GLU if a matching
|
||||
# configuration exists
|
||||
ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
|
||||
SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH)
|
||||
else
|
||||
SWX11_GLU_CONFIGS := debian-swx11+glu-any
|
||||
endif
|
||||
|
||||
# same for static builds
|
||||
ifneq ($(wildcard configs/debian-swx11+glu-static-$(DEB_BUILD_ARCH)),)
|
||||
SWX11_GLU_CONFIGS += debian-swx11+glu-static-$(DEB_BUILD_ARCH)
|
||||
else
|
||||
SWX11_GLU_CONFIGS += debian-swx11+glu-static-any
|
||||
endif
|
||||
|
||||
# and for the GLX/DRI-enabled libGL
|
||||
ifneq ($(wildcard configs/debian-indirect-$(DEB_BUILD_ARCH)),)
|
||||
DRI_CONFIGS := debian-indirect-$(DEB_BUILD_ARCH)
|
||||
else
|
||||
ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
|
||||
DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
|
||||
else
|
||||
DRI_CONFIGS := debian-dri-any
|
||||
endif
|
||||
endif
|
||||
|
||||
##############################################################################
|
||||
## CPU-optimized configurations ##############################################
|
||||
|
||||
ifeq ($(DEB_BUILD_ARCH), i386)
|
||||
SWX11_GLU_CONFIGS += debian-swx11+glu-i386-i686
|
||||
# DRI_CONFIGS += debian-dri-i386-i686
|
||||
endif
|
||||
|
||||
#ifeq ($(DEB_BUILD_ARCH), alpha)
|
||||
# SWX11_GLU_CONFIGS += debian-swx11+glu-alpha-ev5
|
||||
#endif
|
||||
|
||||
#ifeq ($(DEB_BUILD_ARCH), powerpc)
|
||||
# SWX11_GLU_CONFIGS += debian-swx11+glu-powerpc-603
|
||||
#endif
|
||||
|
||||
#ifeq ($(DEB_BUILD_ARCH), sparc)
|
||||
# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc
|
||||
#endif
|
||||
|
||||
# vim: ft=make
|
||||
|
46
debian/scripts/install-source.sh
vendored
Executable file
46
debian/scripts/install-source.sh
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
TOP="$1"
|
||||
else
|
||||
TOP=`pwd`
|
||||
fi
|
||||
|
||||
SOURCE_DIRS='
|
||||
include/GL/internal
|
||||
src/glx/x11
|
||||
src/mesa/drivers/common
|
||||
src/mesa/drivers/dri/common
|
||||
src/mesa/drivers/dri/glcore
|
||||
src/mesa/drivers/x11
|
||||
src/mesa/glapi
|
||||
src/mesa/main
|
||||
src/mesa/math
|
||||
src/mesa/ppc
|
||||
src/mesa/shader
|
||||
src/mesa/sparc
|
||||
src/mesa/swrast_setup
|
||||
src/mesa/swrast
|
||||
src/mesa/tnl_dd
|
||||
src/mesa/tnl
|
||||
src/mesa/vbo
|
||||
src/mesa/x86-64
|
||||
src/mesa/x86
|
||||
'
|
||||
|
||||
FILTER="-not -path '*/.svn*'"
|
||||
TARGET=${TOP}/debian/tmp/usr/share/mesa-source
|
||||
|
||||
(
|
||||
find $SOURCE_DIRS $FILTER -name '*.[ch]';
|
||||
find include/GL $FILTER -name 'xmesa*.h';
|
||||
) | \
|
||||
while read x; do
|
||||
DIRNAME=`dirname "$x"`
|
||||
mkdir -p "$TARGET/$DIRNAME"
|
||||
cp -lf "$x" "$TARGET/$DIRNAME"
|
||||
done
|
||||
|
||||
# fix permissions
|
||||
find "$TARGET" -type f | xargs chmod 0644
|
||||
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
version=3
|
||||
http://sf.net/mesa3d/MesaLib-(.*)\.tar\.gz
|
@@ -16,7 +16,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
Last Modified Date: 12 January 2009
|
||||
Last Modified Date: 8 June 2000
|
||||
|
||||
Number
|
||||
|
||||
@@ -69,12 +69,6 @@ Additions to Chapter 3 of the GLX 1.3 Specification (Functions and Errors)
|
||||
<width> and <height> indicate the size in pixels. Coordinate (0,0)
|
||||
corresponds to the lower-left pixel of the window, like glReadPixels.
|
||||
|
||||
If dpy and drawable are the display and drawable for the calling
|
||||
thread's current context, glXCopySubBufferMESA performs an
|
||||
implicit glFlush before it returns. Subsequent OpenGL commands
|
||||
may be issued immediately after calling glXCopySubBufferMESA, but
|
||||
are not executed until the copy is completed.
|
||||
|
||||
GLX Protocol
|
||||
|
||||
None at this time. The extension is implemented in terms of ordinary
|
||||
@@ -90,7 +84,5 @@ New State
|
||||
|
||||
Revision History
|
||||
|
||||
12 January 2009 Ian Romanick - Added language about implicit flush
|
||||
and command completion.
|
||||
8 June 2000 Brian Paul - initial specification
|
||||
8 June 2000 - initial specification
|
||||
|
||||
|
@@ -17,6 +17,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
$Id: MESA_packed_depth_stencil.spec,v 1.2 2003/09/19 14:58:21 brianp Exp $
|
||||
|
||||
Number
|
||||
|
@@ -18,6 +18,7 @@ Version
|
||||
|
||||
Last Modified Date: July 20, 2003
|
||||
Author Revision: 1.0
|
||||
$Date: 2004/03/25 01:42:41 $ $Revision: 1.4 $
|
||||
|
||||
Number
|
||||
|
@@ -16,6 +16,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
$Id: MESA_resize_buffers.spec,v 1.3 2004/03/25 01:42:42 brianp Exp $
|
||||
|
||||
Number
|
||||
|
||||
|
@@ -19,6 +19,7 @@ Version
|
||||
|
||||
Last Modified Date: July 30, 2006
|
||||
Author Revision: 0.2
|
||||
$Date: 2006/07/30 14:28:38 $ $Revision: 1.2 $
|
||||
|
||||
Number
|
||||
|
||||
|
@@ -16,6 +16,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
$Id: MESA_sprite_point.spec,v 1.2 2003/09/19 14:58:21 brianp Exp $
|
||||
|
||||
Number
|
||||
|
@@ -1,804 +0,0 @@
|
||||
Name
|
||||
|
||||
MESA_texture_array
|
||||
|
||||
Name Strings
|
||||
|
||||
GL_MESA_texture_array
|
||||
|
||||
Contact
|
||||
|
||||
Ian Romanick, IBM (idr 'at' us.ibm.com)
|
||||
|
||||
IP Status
|
||||
|
||||
No known IP issues.
|
||||
|
||||
Status
|
||||
|
||||
Shipping in Mesa 7.1
|
||||
|
||||
Version
|
||||
|
||||
|
||||
Number
|
||||
|
||||
TBD
|
||||
|
||||
Dependencies
|
||||
|
||||
OpenGL 1.2 or GL_EXT_texture3D is required.
|
||||
|
||||
Support for ARB_fragment_program is assumed, but not required.
|
||||
|
||||
Support for ARB_fragment_program_shadow is assumed, but not required.
|
||||
|
||||
Support for EXT_framebuffer_object is assumed, but not required.
|
||||
|
||||
Written based on the wording of the OpenGL 2.0 specification and
|
||||
ARB_fragment_program_shadow but not dependent on them.
|
||||
|
||||
Overview
|
||||
|
||||
There are a number of circumstances where an application may wish to
|
||||
blend two textures out of a larger set of textures. Moreover, in some
|
||||
cases the selected textures may vary on a per-fragment basis within
|
||||
a polygon. Several examples include:
|
||||
|
||||
1. High dynamic range textures. The application stores several
|
||||
different "exposures" of an image as different textures. On a
|
||||
per-fragment basis, the application selects which exposures are
|
||||
used.
|
||||
|
||||
2. A terrain engine where the altitude of a point determines the
|
||||
texture applied to it. If the transition is from beach sand to
|
||||
grass to rocks to snow, the application will store each texture
|
||||
in a different texture map, and dynamically select which two
|
||||
textures to blend at run-time.
|
||||
|
||||
3. Storing short video clips in textures. Each depth slice is a
|
||||
single frame of video.
|
||||
|
||||
Several solutions to this problem have been proposed, but they either
|
||||
involve using a separate texture unit for each texture map or using 3D
|
||||
textures without mipmaps. Both of these options have major drawbacks.
|
||||
|
||||
This extension provides a third alternative that eliminates the major
|
||||
drawbacks of both previous methods. A new texture target,
|
||||
TEXTURE_2D_ARRAY, is added that functions identically to TEXTURE_3D in
|
||||
all aspects except the sizes of the non-base level images. In
|
||||
traditional 3D texturing, the size of the N+1 LOD is half the size
|
||||
of the N LOD in all three dimensions. For the TEXTURE_2D_ARRAY target,
|
||||
the height and width of the N+1 LOD is halved, but the depth is the
|
||||
same for all levels of detail. The texture then becomes an array of
|
||||
2D textures. The per-fragment texel is selected by the R texture
|
||||
coordinate.
|
||||
|
||||
References:
|
||||
|
||||
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=3;t=011557
|
||||
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=3;t=000516
|
||||
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=3;t=011903
|
||||
http://www.delphi3d.net/articles/viewarticle.php?article=terraintex.htm
|
||||
|
||||
New Procedures and Functions
|
||||
|
||||
All functions come directly from EXT_texture_array.
|
||||
|
||||
void FramebufferTextureLayerEXT(enum target, enum attachment,
|
||||
uint texture, int level, int layer);
|
||||
|
||||
New Tokens
|
||||
|
||||
All token names and values come directly from EXT_texture_array.
|
||||
|
||||
Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
|
||||
the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
|
||||
GetDoublev, and by the <target> parameter of TexImage3D, GetTexImage,
|
||||
GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and
|
||||
GetTexParameterfv:
|
||||
|
||||
TEXTURE_1D_ARRAY_EXT 0x8C18
|
||||
TEXTURE_2D_ARRAY_EXT 0x8C1A
|
||||
|
||||
Accepted by the <target> parameter of TexImage2D, TexSubImage2D,
|
||||
CopyTexImage2D, CopyTexSubImage2D, CompressedTexImage2D,
|
||||
CompressedTexSubImage2D, GetTexLevelParameteriv, and
|
||||
GetTexLevelParameterfv:
|
||||
|
||||
TEXTURE_1D_ARRAY_EXT
|
||||
PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
|
||||
|
||||
Accepted by the <target> parameter of TexImage3D, TexSubImage3D,
|
||||
CopyTexSubImage3D, CompressedTexImage3D, CompressedTexSubImage3D,
|
||||
GetTexLevelParameteriv, and GetTexLevelParameterfv:
|
||||
|
||||
TEXTURE_2D_ARRAY_EXT
|
||||
PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
|
||||
|
||||
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||
GetFloatv, and GetDoublev
|
||||
|
||||
TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
|
||||
TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
|
||||
MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
|
||||
|
||||
Accepted by the <param> parameter of TexParameterf, TexParameteri,
|
||||
TexParameterfv, and TexParameteriv when the <pname> parameter is
|
||||
TEXTURE_COMPARE_MODE_ARB:
|
||||
|
||||
COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
|
||||
|
||||
(Note: COMPARE_REF_DEPTH_TO_TEXTURE_EXT is simply an alias for the
|
||||
existing COMPARE_R_TO_TEXTURE token in OpenGL 2.0; the alternate name
|
||||
reflects the fact that the R coordinate is not always used.)
|
||||
|
||||
Accepted by the <internalformat> parameter of TexImage3D and
|
||||
CompressedTexImage3D, and by the <format> parameter of
|
||||
CompressedTexSubImage3D:
|
||||
|
||||
COMPRESSED_RGB_S3TC_DXT1_EXT
|
||||
COMPRESSED_RGBA_S3TC_DXT1_EXT
|
||||
COMPRESSED_RGBA_S3TC_DXT3_EXT
|
||||
COMPRESSED_RGBA_S3TC_DXT5_EXT
|
||||
|
||||
Accepted by the <pname> parameter of
|
||||
GetFramebufferAttachmentParameterivEXT:
|
||||
|
||||
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
|
||||
|
||||
(Note: FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER is simply an alias for the
|
||||
FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT token provided in
|
||||
EXT_framebuffer_object. This extension generalizes the notion of
|
||||
"<zoffset>" to include layers of an array texture.)
|
||||
|
||||
Additions to Chapter 2 of the OpenGL 2.0 Specification (OpenGL Operation)
|
||||
|
||||
None
|
||||
|
||||
Additions to Chapter 3 of the OpenGL 2.0 Specification (Rasterization)
|
||||
|
||||
-- Section 3.8.1 "Texture Image Specification"
|
||||
|
||||
Change the first paragraph (page 150) to say (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"The command
|
||||
|
||||
void TexImage3D(enum target, int level, int internalformat,
|
||||
sizei width, sizei height, sizei depth, int border,
|
||||
enum format, enum type, void *data);
|
||||
|
||||
is used to specify a three-dimensional texture image. target must be one
|
||||
one of TEXTURE_3D for a three-dimensional texture or
|
||||
TEXTURE_2D_ARRAY_EXT for an two-dimensional array texture.
|
||||
Additionally, target may be either PROXY_TEXTURE_3D for a
|
||||
three-dimensional proxy texture, or PROXY_TEXTURE_2D_ARRAY_EXT for a
|
||||
two-dimensional proxy array texture."
|
||||
|
||||
Change the fourth paragraph on page 151 to say (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"Textures with a base internal format of DEPTH_COMPONENT are supported
|
||||
by texture image specification commands only if target is TEXTURE_1D,
|
||||
TEXTURE_2D, TEXTURE_1D_ARRAY_EXT, TEXTURE_2D_ARRAY_EXT,
|
||||
PROXY_TEXTURE_1D, PROXY_TEXTURE_2D, PROXY_TEXTURE_1D_ARRAY_EXT, or
|
||||
PROXY_TEXTURE_2D_ARRAY_EXT. Using this format in conjunction with any
|
||||
other target will result in an INVALID_OPERATION error."
|
||||
|
||||
|
||||
Change the fourth paragraph on page 156 to say (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"The command
|
||||
|
||||
void TexImage2D(enum target, int level,
|
||||
int internalformat, sizei width, sizei height,
|
||||
int border, enum format, enum type, void *data);
|
||||
|
||||
is used to specify a two-dimensional texture image. target must be one
|
||||
of TEXTURE_2D for a two-dimensional texture, TEXTURE_1D_ARRAY_EXT for a
|
||||
one-dimensional array texture, or one of TEXTURE_CUBE_MAP_POSITIVE_X,
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y,
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_Z for a cube map texture. Additionally,
|
||||
target may be either PROXY_TEXTURE_2D for a two-dimensional proxy
|
||||
texture, PROXY_TEXTURE_1D_ARRAY_EXT for a one-dimensional proxy array
|
||||
texture, or PROXY TEXTURE_CUBE_MAP for a cube map proxy texture in the
|
||||
special case discussed in section 3.8.11. The other parameters match
|
||||
the corresponding parameters of TexImage3D.
|
||||
|
||||
For the purposes of decoding the texture image, TexImage2D is
|
||||
equivalent to calling TexImage3D with corresponding arguments and depth
|
||||
of 1, except that
|
||||
|
||||
* The border depth, d_b, is zero, and the depth of the image is
|
||||
always 1 regardless of the value of border.
|
||||
|
||||
* The border height, h_b, is zero if <target> is
|
||||
TEXTURE_1D_ARRAY_EXT, and <border> otherwise.
|
||||
|
||||
* Convolution will be performed on the image (possibly changing its
|
||||
width and height) if SEPARABLE 2D or CONVOLUTION 2D is enabled.
|
||||
|
||||
* UNPACK SKIP IMAGES is ignored."
|
||||
|
||||
-- Section 3.8.2 "Alternate Texture Image Specification Commands"
|
||||
|
||||
Change the second paragraph (page 159) (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"The command
|
||||
|
||||
void CopyTexImage2D(enum target, int level,
|
||||
enum internalformat, int x, int y, sizei width,
|
||||
sizei height, int border);
|
||||
|
||||
defines a two-dimensional texture image in exactly the manner of
|
||||
TexImage2D, except that the image data are taken from the framebuffer
|
||||
rather than from client memory. Currently, target must be one of
|
||||
TEXTURE_2D, TEXTURE_1D_ARRAY_EXT, TEXTURE_CUBE_MAP_POSITIVE_X,
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE MAP_POSITIVE_Y,
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or
|
||||
TEXTURE_CUBE_MAP_NEGATIVE_Z.
|
||||
|
||||
|
||||
Change the last paragraph on page 160 to say (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"Currently the target arguments of TexSubImage1D and CopyTexSubImage1D
|
||||
must be TEXTURE_1D, the target arguments of TexSubImage2D and
|
||||
CopyTexSubImage2D must be one of TEXTURE_2D, TEXTURE_1D_ARRAY_EXT,
|
||||
TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X,
|
||||
TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y,
|
||||
TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z, and the
|
||||
target arguments of TexSubImage3D and CopyTexSubImage3D must be
|
||||
TEXTURE_3D or TEXTURE_2D_ARRAY_EXT. ..."
|
||||
|
||||
|
||||
-- Section 3.8.4 "Texture Parameters"
|
||||
|
||||
Change the first paragraph (page 166) to say:
|
||||
|
||||
"Various parameters control how the texel array is treated when
|
||||
specified or changed, and when applied to a fragment. Each parameter is
|
||||
set by calling
|
||||
|
||||
void TexParameter{if}(enum target, enum pname, T param);
|
||||
void TexParameter{if}v(enum target, enum pname, T params);
|
||||
|
||||
target is the target, either TEXTURE_1D, TEXTURE_2D, TEXTURE_3D,
|
||||
TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, or TEXTURE_2D_ARRAY_EXT."
|
||||
|
||||
|
||||
-- Section 3.8.8 "Texture Minification" in the section "Scale Factor and Level of Detail"
|
||||
|
||||
Change the first paragraph (page 172) to say:
|
||||
|
||||
"Let s(x,y) be the function that associates an s texture coordinate
|
||||
with each set of window coordinates (x,y) that lie within a primitive;
|
||||
define t(x,y) and r(x,y) analogously. Let u(x,y) = w_t * s(x,y),
|
||||
v(x,y) = h_t * t(x,y), and w(x,y) = d_t * r(x,y), where w_t, h_t,
|
||||
and d_t are as defined by equations 3.15, 3.16, and 3.17 with
|
||||
w_s, h_s, and d_s equal to the width, height, and depth of the
|
||||
image array whose level is level_base. For a one-dimensional
|
||||
texture or a one-dimensional array texture, define v(x,y) = 0 and
|
||||
w(x,y) = 0; for a two-dimensional texture or a two-dimensional array
|
||||
texture, define w(x,y) = 0..."
|
||||
|
||||
-- Section 3.8.8 "Texture Minification" in the section "Mipmapping"
|
||||
|
||||
Change the third paragraph (page 174) to say:
|
||||
|
||||
"For a two-dimensional texture, two-dimensional array texture, or
|
||||
cube map texture,"
|
||||
|
||||
Change the fourth paragraph (page 174) to say:
|
||||
|
||||
"And for a one-dimensional texture or a one-dimensional array texture,"
|
||||
|
||||
After the first paragraph (page 175) add:
|
||||
|
||||
"For one-dimensional array textures, h_b and d_b are treated as 1,
|
||||
regardless of the actual values, when performing mipmap calculations.
|
||||
For two-dimensional array textures, d_b is always treated as one,
|
||||
regardless of the actual value, when performing mipmap calculations."
|
||||
|
||||
-- Section 3.8.8 "Automatic Mipmap Generation" in the section "Mipmapping"
|
||||
|
||||
Change the third paragraph (page 176) to say (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"The contents of the derived arrays are computed by repeated, filtered
|
||||
reduction of the level_base array. For one- and two-dimensional array
|
||||
textures, each layer is filtered independently. ..."
|
||||
|
||||
-- Section 3.8.8 "Manual Mipmap Generation" in the section "Mipmapping"
|
||||
|
||||
Change first paragraph to say (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"Mipmaps can be generated manually with the command
|
||||
|
||||
void GenerateMipmapEXT(enum target);
|
||||
|
||||
where <target> is one of TEXTURE_1D, TEXTURE_2D, TEXTURE_CUBE_MAP,
|
||||
TEXTURE_3D, TEXTURE_1D_ARRAY, or TEXTURE_2D_ARRAY. Mipmap generation
|
||||
affects the texture image attached to <target>. ..."
|
||||
|
||||
-- Section 3.8.10 "Texture Completeness"
|
||||
|
||||
Change the second paragaph (page 177) to say (spec changes identical
|
||||
to EXT_texture_array):
|
||||
|
||||
"For one-, two-, or three-dimensional textures and one- or
|
||||
two-dimensional array textures, a texture is complete if the following
|
||||
conditions all hold true:"
|
||||
|
||||
-- Section 3.8.11 "Texture State and Proxy State"
|
||||
|
||||
Change the second and third paragraphs (page 179) to say (spec changes
|
||||
identical to EXT_texture_array):
|
||||
|
||||
"In addition to image arrays for one-, two-, and three-dimensional
|
||||
textures, one- and two-dimensional array textures, and the six image
|
||||
arrays for the cube map texture, partially instantiated image arrays
|
||||
are maintained for one-, two-, and three-dimensional textures and one-
|
||||
and two-dimensional array textures. Additionally, a single proxy image
|
||||
array is maintained for the cube map texture. Each proxy image array
|
||||
includes width, height, depth, border width, and internal format state
|
||||
values, as well as state for the red, green, blue, alpha, luminance,
|
||||
and intensity component resolutions. Proxy image arrays do not include
|
||||
image data, nor do they include texture properties. When TexImage3D is
|
||||
executed with target specified as PROXY_TEXTURE_3D, the
|
||||
three-dimensional proxy state values of the specified level-of-detail
|
||||
are recomputed and updated. If the image array would not be supported
|
||||
by TexImage3D called with target set to TEXTURE 3D, no error is
|
||||
generated, but the proxy width, height, depth, border width, and
|
||||
component resolutions are set to zero. If the image array would be
|
||||
supported by such a call to TexImage3D, the proxy state values are set
|
||||
exactly as though the actual image array were being specified. No pixel
|
||||
data are transferred or processed in either case.
|
||||
|
||||
Proxy arrays for one- and two-dimensional textures and one- and
|
||||
two-dimensional array textures are operated on in the same way when
|
||||
TexImage1D is executed with target specified as PROXY_TEXTURE_1D,
|
||||
TexImage2D is executed with target specified as PROXY_TEXTURE_2D or
|
||||
PROXY_TEXTURE_1D_ARRAY_EXT, or TexImage3D is executed with target
|
||||
specified as PROXY_TETXURE_2D_ARRAY_EXT."
|
||||
|
||||
-- Section 3.8.12 "Texture Objects"
|
||||
|
||||
Change section (page 180) to say (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"In addition to the default textures TEXTURE_1D, TEXTURE_2D,
|
||||
TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, and TEXTURE_2D_EXT,
|
||||
named one-, two-, and three-dimensional, cube map, and one- and
|
||||
two-dimensional array texture objects can be created and operated upon.
|
||||
The name space for texture objects is the unsigned integers, with zero
|
||||
reserved by the GL.
|
||||
|
||||
A texture object is created by binding an unused name to TEXTURE_1D,
|
||||
TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, or
|
||||
TEXTURE_2D_ARRAY_EXT. The binding is effected by calling
|
||||
|
||||
void BindTexture(enum target, uint texture);
|
||||
|
||||
with <target> set to the desired texture target and <texture> set to
|
||||
the unused name. The resulting texture object is a new state vector,
|
||||
comprising all the state values listed in section 3.8.11, set to the
|
||||
same initial values. If the new texture object is bound to TEXTURE_1D,
|
||||
TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, or
|
||||
TEXTURE_2D_ARRAY_EXT, it is and remains a one-, two-,
|
||||
three-dimensional, cube map, one- or two-dimensional array texture
|
||||
respectively until it is deleted.
|
||||
|
||||
BindTexture may also be used to bind an existing texture object to
|
||||
either TEXTURE_1D, TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP,
|
||||
TEXTURE_1D_ARRAY_EXT, or TEXTURE_2D_ARRAY_EXT. The error
|
||||
INVALID_OPERATION is generated if an attempt is made to bind a texture
|
||||
object of different dimensionality than the specified target. If the
|
||||
bind is successful no change is made to the state of the bound texture
|
||||
object, and any previous binding to target is broken.
|
||||
|
||||
While a texture object is bound, GL operations on the target to which
|
||||
it is bound affect the bound object, and queries of the target to which
|
||||
it is bound return state from the bound object. If texture mapping of
|
||||
the dimensionality of the target to which a texture object is bound is
|
||||
enabled, the state of the bound texture object directs the texturing
|
||||
operation.
|
||||
|
||||
In the initial state, TEXTURE_1D, TEXTURE_2D, TEXTURE_3D,
|
||||
TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, and TEXTURE_2D_ARRAY_EXT have
|
||||
one-, two-, three-dimensional, cube map, and one- and two-dimensional
|
||||
array texture state vectors respectively associated with them. In order
|
||||
that access to these initial textures not be lost, they are treated as
|
||||
texture objects all of whose names are 0. The initial one-, two-,
|
||||
three-dimensional, cube map, one- and two-dimensional array textures
|
||||
are therefore operated upon, queried, and applied as TEXTURE_1D,
|
||||
TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, and
|
||||
TEXTURE_2D_ARRAY_EXT respectively while 0 is bound to the corresponding
|
||||
targets.
|
||||
|
||||
Change second paragraph on page 181 to say (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"... If a texture that is currently bound to one of the targets
|
||||
TEXTURE_1D, TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP,
|
||||
TEXTURE_1D_ARRAY_EXT, or TEXTURE_2D_ARRAY_EXT is deleted, it is as
|
||||
though BindTexture had been executed with the same target and texture
|
||||
zero. ..."
|
||||
|
||||
Change second paragraph on page 182 to say (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"The texture object name space, including the initial one-, two-, and
|
||||
three dimensional, cube map, and one- and two-dimensional array texture
|
||||
objects, is shared among all texture units. ..."
|
||||
|
||||
|
||||
-- Section 3.8.14 "Depth Texture Comparison Modes" in "Texture Comparison Modes"
|
||||
|
||||
Change second through fourth paragraphs (page 188) to say:
|
||||
|
||||
"Let D_t be the depth texture value, in the range [0, 1]. For
|
||||
texture lookups from one- and two-dimesional, rectangle, and
|
||||
one-dimensional array targets, let R be the interpolated <r>
|
||||
texture coordinate, clamped to the range [0, 1]. For texture lookups
|
||||
from two-dimesional array texture targets, let R be the interpolated
|
||||
<q> texture coordinate, clamped to the range [0, 1]. Then the
|
||||
effective texture value L_t, I_t, or A_t is computed as follows:
|
||||
|
||||
If the value of TEXTURE_COMPARE_MODE is NONE, then
|
||||
|
||||
r = Dt
|
||||
|
||||
If the value of TEXTURE_COMPARE_MODE is
|
||||
COMPARE_REF_DEPTH_TO_TEXTURE_EXT), then r depends on the texture
|
||||
comparison function as shown in table 3.27."
|
||||
|
||||
-- Section 3.8.15 "Texture Application"
|
||||
|
||||
Change the first paragraph (page 189) to say:
|
||||
|
||||
"Texturing is enabled or disabled using the generic Enable and Disable
|
||||
commands, respectively, with the symbolic constants TEXTURE_1D,
|
||||
TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_1D_ARRAY_EXT, or
|
||||
TEXTURE_2D_ARRAY_EXT to enable one-, two-, three-dimensional, cube
|
||||
map, one-dimensional array, or two-dimensional array texture,
|
||||
respectively. If both two- and one-dimensional textures are enabled,
|
||||
the two-dimensional texture is used. If the three-dimensional and
|
||||
either of the two- or one-dimensional textures is enabled, the
|
||||
three-dimensional texture is used. If the cube map texture and any of
|
||||
the three-, two-, or one-dimensional textures is enabled, then cube map
|
||||
texturing is used. If one-dimensional array texture is enabled and any
|
||||
of cube map, three-, two-, or one-dimensional textures is enabled,
|
||||
one-dimensional array texturing is used. If two-dimensional array
|
||||
texture is enabled and any of cube map, three-, two-, one-dimensional
|
||||
textures or one-dimensional array texture is enabled, two-dimensional
|
||||
array texturing is used..."
|
||||
|
||||
-- Section 3.11.2 of ARB_fragment_program (Fragment Program Grammar and Restrictions):
|
||||
|
||||
(mostly add to existing grammar rules)
|
||||
|
||||
<optionName> ::= "MESA_texture_array"
|
||||
|
||||
<texTarget> ::= "1D"
|
||||
| "2D"
|
||||
| "3D"
|
||||
| "CUBE"
|
||||
| "RECT"
|
||||
| <arrayTarget> (if program option is present)
|
||||
| <shadowTarget> (if program option is present)
|
||||
|
||||
<arrayTarget> ::= "ARRAY1D"
|
||||
| "ARRAY2D"
|
||||
|
||||
<shadowTarget> ::= "SHADOW1D"
|
||||
| "SHADOW2D"
|
||||
| "SHADOWRECT"
|
||||
| <shadowArrayTarget> (if program option is present)
|
||||
|
||||
<shadowArrayTarget> ::= "SHADOWARRAY1D"
|
||||
| "SHADOWARRAY2D"
|
||||
|
||||
|
||||
-- Add Section 3.11.4.5.4 "Texture Stack Option"
|
||||
|
||||
"If a fragment program specifies the "MESA_texture_array" program
|
||||
option, the <texTarget> rule is modified to add the texture targets
|
||||
ARRAY1D and ARRAY2D (See Section 3.11.2)."
|
||||
|
||||
-- Section 3.11.6 "Fragment Program Texture Instruction Set"
|
||||
|
||||
(replace 1st and 2nd paragraphs with the following paragraphs)
|
||||
|
||||
"The first three texture instructions described below specify the
|
||||
mapping of 4-tuple input vectors to 4-tuple output vectors.
|
||||
The sampling of the texture works as described in section 3.8,
|
||||
except that texture environments and texture functions are not
|
||||
applicable, and the texture enables hierarchy is replaced by explicit
|
||||
references to the desired texture target (i.e., 1D, 2D, 3D, cube map,
|
||||
rectangle, ARRAY1D, ARRAY2D). These texture instructions specify
|
||||
how the 4-tuple is mapped into the coordinates used for sampling. The
|
||||
following function is used to describe the texture sampling in the
|
||||
descriptions below:
|
||||
|
||||
vec4 TextureSample(vec4 coord, float lodBias, int texImageUnit,
|
||||
enum texTarget);
|
||||
|
||||
Note that not all four components of the texture coordinates <coord>
|
||||
are used by all texture targets. Component usage for each <texTarget>
|
||||
is defined in table X.
|
||||
|
||||
coordinates used
|
||||
texTarget Texture Type s t r layer shadow
|
||||
---------------- --------------------- ----- ----- ------
|
||||
1D TEXTURE_1D x - - - -
|
||||
2D TEXTURE_2D x y - - -
|
||||
3D TEXTURE_3D x y z - -
|
||||
CUBE TEXTURE_CUBE_MAP x y z - -
|
||||
RECT TEXTURE_RECTANGLE_ARB x y - - -
|
||||
ARRAY1D TEXTURE_1D_ARRAY_EXT x - - y -
|
||||
ARRAY2D TEXTURE_2D_ARRAY_EXT x y - z -
|
||||
SHADOW1D TEXTURE_1D x - - - z
|
||||
SHADOW2D TEXTURE_2D x y - - z
|
||||
SHADOWRECT TEXTURE_RECTANGLE_ARB x y - - z
|
||||
SHADOWARRAY1D TEXTURE_1D_ARRAY_EXT x - - y z
|
||||
SHADOWARRAY2D TEXTURE_2D_ARRAY_EXT x y - z w
|
||||
|
||||
Table X: Texture types accessed for each of the <texTarget>, and
|
||||
coordinate mappings. The "coordinates used" column indicate the
|
||||
input values used for each coordinate of the texture lookup, the
|
||||
layer selector for array textures, and the reference value for
|
||||
texture comparisons."
|
||||
|
||||
-- Section 3.11.6.2 "TXP: Project coordinate and map to color"
|
||||
|
||||
Add to the end of the section:
|
||||
|
||||
"A program will fail to load if the TXP instruction is used in
|
||||
conjunction with the SHADOWARRAY2D target."
|
||||
|
||||
Additions to Chapter 4 of the OpenGL 2.0 Specification (Per-Fragment Operations)
|
||||
|
||||
-- Section 4.4.2.3 "Attaching Texture Images to a Framebuffer"
|
||||
|
||||
Add to the end of the section (spec changes identical to
|
||||
EXT_texture_array):
|
||||
|
||||
"The command
|
||||
|
||||
void FramebufferTextureLayerEXT(enum target, enum attachment,
|
||||
uint texture, int level, int layer);
|
||||
|
||||
operates identically to FramebufferTexture3DEXT, except that it
|
||||
attaches a single layer of a three-dimensional texture or a one- or
|
||||
two-dimensional array texture. <layer> is an integer indicating the
|
||||
layer number, and is treated identically to the <zoffset> parameter in
|
||||
FramebufferTexture3DEXT. The error INVALID_VALUE is generated if
|
||||
<layer> is negative. The error INVALID_OPERATION is generated if
|
||||
<texture> is non-zero and is not the name of a three dimensional
|
||||
texture or one- or two-dimensional array texture. Unlike
|
||||
FramebufferTexture3D, no <textarget> parameter is accepted.
|
||||
|
||||
If <texture> is non-zero and the command does not result in an error,
|
||||
the framebuffer attachment state corresponding to <attachment> is
|
||||
updated as in the other FramebufferTexture commands, except that
|
||||
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT is set to <layer>."
|
||||
|
||||
-- Section 4.4.4.1 "Framebuffer Attachment Completeness"
|
||||
|
||||
Add to the end of the list of completeness rules (spec changes
|
||||
identical to EXT_texture_array):
|
||||
|
||||
"* If FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT is TEXTURE and
|
||||
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT names a one- or
|
||||
two-dimensional array texture, then
|
||||
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT must be smaller than the
|
||||
number of layers in the texture."
|
||||
|
||||
Additions to Chapter 5 of the OpenGL 2.0 Specification (Special Functions)
|
||||
|
||||
-- Section 5.4 "Display Lists"
|
||||
|
||||
Change the first paragraphi on page 242 to say (spec changes
|
||||
identical to EXT_texture_array):
|
||||
|
||||
"TexImage3D, TexImage2D, TexImage1D, Histogram, and ColorTable are
|
||||
executed immediately when called with the corresponding proxy arguments
|
||||
PROXY_TEXTURE_3D or PROXY_TEXTURE_2D_ARRAY_EXT; PROXY_TEXTURE_2D,
|
||||
PROXY_TEXTURE_CUBE_MAP, or PROXY_TEXTURE_1D_ARRAY_EXT;
|
||||
PROXY_TEXTURE_1D; PROXY_HISTOGRAM; and PROXY_COLOR_TABLE,
|
||||
PROXY_POST_CONVOLUTION_COLOR_TABLE, or
|
||||
PROXY_POST_COLOR_MATRIX_COLOR_TABLE."
|
||||
|
||||
Additions to Chapter 6 of the OpenGL 2.0 Specification (State and State Requests)
|
||||
|
||||
-- Section 6.1.3 "Enumerated Queries"
|
||||
|
||||
Add after the line beginning "If the value of
|
||||
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT is TEXTURE" (spec changes
|
||||
identical to EXT_texture_array):
|
||||
|
||||
"If <pname> is FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT and the
|
||||
texture object named FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT is a
|
||||
three-dimensional texture or a one- or two-dimensional array texture,
|
||||
then <params> will contain the number of texture layer attached to the
|
||||
attachment point. Otherwise, <params> will contain the value zero."
|
||||
|
||||
-- Section 6.1.4 "Texture Queries"
|
||||
|
||||
Change the first three paragraphs (page 248) to say (spec changes
|
||||
identical to EXT_texture_array):
|
||||
|
||||
"The command
|
||||
|
||||
void GetTexImage(enum tex, int lod, enum format,
|
||||
enum type, void *img);
|
||||
|
||||
is used to obtain texture images. It is somewhat different from the
|
||||
other get commands; tex is a symbolic value indicating which texture
|
||||
(or texture face in the case of a cube map texture target name) is to
|
||||
be obtained. TEXTURE_1D, TEXTURE_2D, TEXTURE_3D, TEXTURE_1D_ARRAY_EXT,
|
||||
and TEXTURE_2D_ARRAY_EXT indicate a one-, two-, or three-dimensional
|
||||
texture, or one- or two-dimensional array texture, respectively.
|
||||
TEXTURE_CUBE_MAP_POSITIVE_X, ...
|
||||
|
||||
GetTexImage obtains... from the first image to the last for
|
||||
three-dimensional textures. One- and two-dimensional array textures
|
||||
are treated as two- and three-dimensional images, respectively, where
|
||||
the layers are treated as rows or images. These groups are then...
|
||||
|
||||
For three-dimensional and two-dimensional array textures, pixel storage
|
||||
operations are applied as if the image were two-dimensional, except
|
||||
that the additional pixel storage state values PACK_IMAGE_HEIGHT and
|
||||
PACK_SKIP_IMAGES are applied. ..."
|
||||
|
||||
Additions to Appendix A of the OpenGL 2.0 Specification (Invariance)
|
||||
|
||||
None
|
||||
|
||||
Additions to the AGL/GLX/WGL Specifications
|
||||
|
||||
None
|
||||
|
||||
GLX Protocol
|
||||
|
||||
None
|
||||
|
||||
Dependencies on ARB_fragment_program
|
||||
|
||||
If ARB_fragment_program is not supported, the changes to section 3.11
|
||||
should be ignored.
|
||||
|
||||
Dependencies on EXT_framebuffer_object
|
||||
|
||||
If EXT_framebuffer_object is not supported, the changes to section
|
||||
3.8.8 ("Manual Mipmap Generation"), 4.4.2.3, and 6.1.3 should be ignored.
|
||||
|
||||
Dependencies on EXT_texture_compression_s3tc and NV_texture_compression_vtc
|
||||
|
||||
(Identical dependency as EXT_texture_array.)
|
||||
|
||||
S3TC texture compression is supported for two-dimensional array textures.
|
||||
When <target> is TEXTURE_2D_ARRAY_EXT, each layer is stored independently
|
||||
as a compressed two-dimensional textures. When specifying or querying
|
||||
compressed images using one of the S3TC formats, the images are provided
|
||||
and/or returned as a series of two-dimensional textures stored
|
||||
consecutively in memory, with the layer closest to zero specified first.
|
||||
For array textures, images are not arranged in 4x4x4 or 4x4x2 blocks as in
|
||||
the three-dimensional compression format provided in the
|
||||
EXT_texture_compression_vtc extension. Pixel store parameters, including
|
||||
those specific to three-dimensional images, are ignored when compressed
|
||||
image data are provided or returned, as in the
|
||||
EXT_texture_compression_s3tc extension.
|
||||
|
||||
S3TC compression is not supported for one-dimensional texture targets in
|
||||
EXT_texture_compression_s3tc, and is not supported for one-dimensional
|
||||
array textures in this extension. If compressed one-dimensional arrays
|
||||
are needed, use a two-dimensional texture with a height of one.
|
||||
|
||||
This extension allows the use of the four S3TC internal format types in
|
||||
TexImage3D, CompressedTexImage3D, and CompressedTexSubImage3D calls.
|
||||
|
||||
Errors
|
||||
|
||||
None
|
||||
|
||||
New State
|
||||
|
||||
(add to table 6.15, p. 276)
|
||||
|
||||
Initial
|
||||
Get Value Type Get Command Value Description Sec. Attribute
|
||||
---------------------------- ----- ----------- ----- -------------------- ------ ---------
|
||||
TEXTURE_BINDING_1D_ARRAY_EXT 2*xZ+ GetIntegerv 0 texture object bound 3.8.12 texture
|
||||
to TEXTURE_1D_ARRAY
|
||||
TEXTURE_BINDING_2D_ARRAY_EXT 2*xZ+ GetIntegerv 0 texture object bound 3.8.12 texture
|
||||
to TEXTURE_2D_ARRAY
|
||||
|
||||
|
||||
New Implementation Dependent State
|
||||
|
||||
(add to Table 6.32, p. 293)
|
||||
|
||||
Minimum
|
||||
Get Value Type Get Command Value Description Sec. Attribute
|
||||
---------------------------- ---- ----------- ------- ------------------ ----- ---------
|
||||
MAX_TEXTURE_ARRAY_LAYERS_EXT Z+ GetIntegerv 64 maximum number of 3.8.1 -
|
||||
layers for texture
|
||||
arrays
|
||||
|
||||
Issues
|
||||
|
||||
(1) Is "texture stack" a good name for this functionality?
|
||||
|
||||
NO. The name is changed to "array texture" to match the
|
||||
nomenclature used by GL_EXT_texture_array.
|
||||
|
||||
(2) Should the R texture coordinate be treated as normalized or
|
||||
un-normalized? If it were un-normalized, floor(R) could be thought
|
||||
of as a direct index into the array texture. This may be more
|
||||
convenient for applications.
|
||||
|
||||
RESOLVED. All texture coordinates are normalized. The issue of
|
||||
un-normalized texture coordinates has been discussed in the ARB
|
||||
before and should be left for a layered extension.
|
||||
|
||||
RE-RESOLVED. The R coordinate is un-normalized. Accessing an array
|
||||
using [0, layers-1] coordinates is much more natural.
|
||||
|
||||
(3) How does LOD selection work for stacked textures?
|
||||
|
||||
RESOLVED. For 2D array textures the R coordinate is ignored, and
|
||||
the LOD selection equations for 2D textures are used. For 1D
|
||||
array textures the T coordinate is ignored, and the LOD selection
|
||||
equations for 1D textures are used. The expected usage is in a
|
||||
fragment program with an explicit LOD selection.
|
||||
|
||||
(4) What is the maximum size of a 2D array texture? Is it the same
|
||||
as for a 3D texture, or should a new query be added? How about for 1D
|
||||
array textures?
|
||||
|
||||
RESOLVED. A new query is added.
|
||||
|
||||
(5) How are array textures exposed in GLSL?
|
||||
|
||||
RESOLVED. Use GL_EXT_texture_array.
|
||||
|
||||
(6) Should a 1D array texture also be exposed?
|
||||
|
||||
RESOLVED. For orthogonality, yes.
|
||||
|
||||
(7) How are stacked textures attached to framebuffer objects?
|
||||
|
||||
RESOLVED. Layers of both one- and two-dimensional array textures
|
||||
are attached using FreambufferTextureLayerEXT. Once attached, the
|
||||
array texture layer behaves exactly as either a one- or
|
||||
two-dimensional texture.
|
||||
|
||||
(8) How is this extension related to GL_EXT_texture_array?
|
||||
|
||||
This extension adapats GL_MESAX_texture_stack to the notation,
|
||||
indexing, and FBO access of GL_EXT_texture_array. This extension
|
||||
replaces the GLSL support of GL_EXT_texture_array with
|
||||
GL_ARB_fragment_program support.
|
||||
|
||||
Assembly program support is also provided by GL_NV_gpu_program4.
|
||||
GL_NV_gpu_program4 also adds support for other features that are
|
||||
specific to Nvidia hardware, while this extension adds only support
|
||||
for array textures.
|
||||
|
||||
Much of text of this extension that has changed since
|
||||
GL_MESAX_texture_stack comes directly from either
|
||||
GL_EXT_texture_array or GL_NV_gpu_program4.
|
||||
|
||||
Revision History
|
||||
|
||||
||2005/11/15||0.1||idr||Initial draft MESAX version.||
|
||||
||2005/12/07||0.2||idr||Added framebuffer object interactions.||
|
||||
||2005/12/12||0.3||idr||Updated fragment program interactions.||
|
||||
||2007/05/16||0.4||idr||Converted to MESA_texture_array. Brought in line with EXT_texture_array and NV_gpu_program4.||
|
@@ -17,6 +17,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
$Id: MESA_trace.spec,v 1.4 2004/03/25 01:42:42 brianp Exp $
|
||||
|
||||
Number
|
||||
|
@@ -16,6 +16,7 @@ Status
|
||||
|
||||
Version
|
||||
|
||||
$Id: MESA_window_pos.spec,v 1.4 2004/03/25 01:42:42 brianp Exp $
|
||||
|
||||
Number
|
||||
|
||||
|
@@ -134,3 +134,4 @@ as of February, 1999.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: README.BEOS,v 1.12 2004/10/13 00:35:55 phoudoin Exp $
|
||||
|
@@ -205,3 +205,4 @@ http://www.linuxgames.com/quake2/
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: README.QUAKE,v 1.3 1998/08/23 15:26:26 brianp Exp $
|
||||
|
@@ -1,163 +1,163 @@
|
||||
File: docs/README.WIN32
|
||||
|
||||
Last updated: Apr 25, 2007 - Karl Schultz - kschultz@users.sourceforge.net
|
||||
|
||||
Quick Start
|
||||
----- -----
|
||||
|
||||
Unzip the MesaLib, MesaGLUT, and MesaDemos ZIP files into the same
|
||||
directory. The libs and demos build separately, so if you do not care
|
||||
about the demos or GLUT, you only need to unzip MesaLib. If you unzip
|
||||
more than one ZIP file, they all need to be unzipped into the same
|
||||
directory. Don't worry, you will not overwrite anything.
|
||||
|
||||
The Windows build system uses Microsoft Visual Studio. Project files
|
||||
for a specific version of Visual Studio are in their own directory in
|
||||
the top-level "windows" directory. For example, Visual Studio 8 files
|
||||
are in windows/VC8.
|
||||
|
||||
Support has been dropped for versions of Visual Studio prior to 8. The
|
||||
main reason is because Microsoft now provides a free compiler and
|
||||
developer environment. Visual Studio Express can be found at
|
||||
|
||||
http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
|
||||
|
||||
You'll also need the Platform SDK. Instructions for obtaining and
|
||||
using the SDK with Visual Studio Express can be found at
|
||||
|
||||
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
|
||||
|
||||
If you are stuck using VC6 or VC7, you may start with these project
|
||||
files, but you may need to modify them to reflect changes in the
|
||||
Mesa source code tree. If you sucessfully update the project files,
|
||||
please submit them to the author of this document so that they may
|
||||
be included in the next distribution.
|
||||
|
||||
The project files to build the core Mesa library, Windows Mesa
|
||||
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
||||
to build GLUT and some demo programs are in the progs directory.
|
||||
|
||||
Makefiles are no longer shipped or supported, but can be generated
|
||||
from the projects using Visual Studio.
|
||||
|
||||
|
||||
Windows Drivers
|
||||
------- -------
|
||||
|
||||
At this time, only the GDI driver is known to work. Most of the demos
|
||||
in progs/demos should work with this driver.
|
||||
|
||||
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
|
||||
section and then blitting the DIB to the window. The driver was
|
||||
recently cleaned up and rewitten and so may have bugs or may be
|
||||
missing some functionality. The older versions of the CVS source may
|
||||
be useful in figuring out any problems, or report them to me.
|
||||
|
||||
To build Mesa with the GDI driver, build the mesa, gdi, and glu
|
||||
projects in the Visual Studio workspace found at
|
||||
|
||||
windows/VC8/mesa/mesa.sln
|
||||
|
||||
The osmesa DLL can also be built with the osmesa project.
|
||||
|
||||
The build system creates a lib top-level directory and copies
|
||||
resulting LIB and DLL files to this lib directory. The files are:
|
||||
|
||||
OPENGL32.LIB, GLU32.LIB, OSMESA32.LIB
|
||||
OPENGL32.DLL, GLU32.DLL, OSMESA32.DLL
|
||||
|
||||
If the MesaDemos ZIP file was extracted, the DLL files are also copied
|
||||
to the demos directory. This facilitates running the demos as described
|
||||
below.
|
||||
|
||||
|
||||
GLUT and Demos
|
||||
---- --- -----
|
||||
|
||||
A Visual Studio workspace can be found at
|
||||
|
||||
windows/VC8/progs/progs.sln
|
||||
|
||||
It can be used to build GLUT and a few demos. The GLUT lib and DLL
|
||||
are copied to the top-level lib directory, along with the Mesa libs.
|
||||
|
||||
The demo build system expects to find the LIB files in the top level
|
||||
lib directory, so you must build the Mesa libs first. The demo
|
||||
executables are placed in the demos directory, because some of them
|
||||
rely on data files found there. Also, the Mesa lib DLL's were copied
|
||||
there by the Mesa lib build process. Therefore, you should be able to
|
||||
simply run the demo executables from the demo directory.
|
||||
|
||||
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.
|
||||
|
||||
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
|
||||
----- ------ -----
|
||||
|
||||
VC6 (not actively supported)
|
||||
---
|
||||
|
||||
Visual Studio 6 does not recognize files with the .cc extension as C++
|
||||
language files, without a lot of unnatural tweaking. So, the VC6
|
||||
build process uses custom build steps to compile these files in the
|
||||
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 (not actively supported)
|
||||
---
|
||||
|
||||
The above-mentioned .cc problem does not exist in this version.
|
||||
|
||||
VC8
|
||||
---
|
||||
|
||||
No notes.
|
||||
|
||||
|
||||
General
|
||||
-------
|
||||
|
||||
After building, you can copy the above DLL files to a place in your
|
||||
PATH such as $SystemRoot/SYSTEM32. If you don't like putting things
|
||||
in a system directory, place them in the same directory as the
|
||||
executable(s). Be careful about accidentially overwriting files of
|
||||
the same name in the SYSTEM32 directory.
|
||||
|
||||
The DLL files are built so that the external entry points use the
|
||||
stdcall calling convention.
|
||||
|
||||
Static LIB files are not built. The LIB files that are built with are
|
||||
the linker import files associated with the DLL files.
|
||||
|
||||
The si-glu sources are used to build the GLU libs. This was done
|
||||
mainly to get the better tessellator code.
|
||||
|
||||
To build "mangled" Mesa, add the preprocessor define USE_MGL_NAMESPACE
|
||||
to the project settings. You will also need to edit src/mesa.def to
|
||||
change all the gl* symbols to mgl*. Because this is easy to do with a
|
||||
global replace operation in a text editor, no additional mangled
|
||||
version of mesa.def is maintained or shipped.
|
||||
|
||||
If you have a Windows-related build problem or question, it is
|
||||
probably better to direct it to me (kschultz@users.sourceforge.net),
|
||||
rather than directly to the other Mesa developers. I will help you as
|
||||
much as I can. I also monitor the Mesa mailing lists and will answer
|
||||
questions in this area there as well.
|
||||
|
||||
|
||||
Karl Schultz
|
||||
File: docs/README.WIN32
|
||||
|
||||
Last updated: Apr 25, 2007 - Karl Schultz - kschultz@users.sourceforge.net
|
||||
|
||||
Quick Start
|
||||
----- -----
|
||||
|
||||
Unzip the MesaLib, MesaGLUT, and MesaDemos ZIP files into the same
|
||||
directory. The libs and demos build separately, so if you do not care
|
||||
about the demos or GLUT, you only need to unzip MesaLib. If you unzip
|
||||
more than one ZIP file, they all need to be unzipped into the same
|
||||
directory. Don't worry, you will not overwrite anything.
|
||||
|
||||
The Windows build system uses Microsoft Visual Studio. Project files
|
||||
for a specific version of Visual Studio are in their own directory in
|
||||
the top-level "windows" directory. For example, Visual Studio 8 files
|
||||
are in windows/VC8.
|
||||
|
||||
Support has been dropped for versions of Visual Studio prior to 8. The
|
||||
main reason is because Microsoft now provides a free compiler and
|
||||
developer environment. Visual Studio Express can be found at
|
||||
|
||||
http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
|
||||
|
||||
You'll also need the Platform SDK. Instructions for obtaining and
|
||||
using the SDK with Visual Studio Express can be found at
|
||||
|
||||
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
|
||||
|
||||
If you are stuck using VC6 or VC7, you may start with these project
|
||||
files, but you may need to modify them to reflect changes in the
|
||||
Mesa source code tree. If you sucessfully update the project files,
|
||||
please submit them to the author of this document so that they may
|
||||
be included in the next distribution.
|
||||
|
||||
The project files to build the core Mesa library, Windows Mesa
|
||||
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
||||
to build GLUT and some demo programs are in the progs directory.
|
||||
|
||||
Makefiles are no longer shipped or supported, but can be generated
|
||||
from the projects using Visual Studio.
|
||||
|
||||
|
||||
Windows Drivers
|
||||
------- -------
|
||||
|
||||
At this time, only the GDI driver is known to work. Most of the demos
|
||||
in progs/demos should work with this driver.
|
||||
|
||||
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
|
||||
section and then blitting the DIB to the window. The driver was
|
||||
recently cleaned up and rewitten and so may have bugs or may be
|
||||
missing some functionality. The older versions of the CVS source may
|
||||
be useful in figuring out any problems, or report them to me.
|
||||
|
||||
To build Mesa with the GDI driver, build the mesa, gdi, and glu
|
||||
projects in the Visual Studio workspace found at
|
||||
|
||||
windows/VC8/mesa/mesa.sln
|
||||
|
||||
The osmesa DLL can also be built with the osmesa project.
|
||||
|
||||
The build system creates a lib top-level directory and copies
|
||||
resulting LIB and DLL files to this lib directory. The files are:
|
||||
|
||||
OPENGL32.LIB, GLU32.LIB, OSMESA32.LIB
|
||||
OPENGL32.DLL, GLU32.DLL, OSMESA32.DLL
|
||||
|
||||
If the MesaDemos ZIP file was extracted, the DLL files are also copied
|
||||
to the demos directory. This facilitates running the demos as described
|
||||
below.
|
||||
|
||||
|
||||
GLUT and Demos
|
||||
---- --- -----
|
||||
|
||||
A Visual Studio workspace can be found at
|
||||
|
||||
windows/VC8/progs/progs.sln
|
||||
|
||||
It can be used to build GLUT and a few demos. The GLUT lib and DLL
|
||||
are copied to the top-level lib directory, along with the Mesa libs.
|
||||
|
||||
The demo build system expects to find the LIB files in the top level
|
||||
lib directory, so you must build the Mesa libs first. The demo
|
||||
executables are placed in the demos directory, because some of them
|
||||
rely on data files found there. Also, the Mesa lib DLL's were copied
|
||||
there by the Mesa lib build process. Therefore, you should be able to
|
||||
simply run the demo executables from the demo directory.
|
||||
|
||||
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.
|
||||
|
||||
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
|
||||
----- ------ -----
|
||||
|
||||
VC6 (not actively supported)
|
||||
---
|
||||
|
||||
Visual Studio 6 does not recognize files with the .cc extension as C++
|
||||
language files, without a lot of unnatural tweaking. So, the VC6
|
||||
build process uses custom build steps to compile these files in the
|
||||
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 (not actively supported)
|
||||
---
|
||||
|
||||
The above-mentioned .cc problem does not exist in this version.
|
||||
|
||||
VC8
|
||||
---
|
||||
|
||||
No notes.
|
||||
|
||||
|
||||
General
|
||||
-------
|
||||
|
||||
After building, you can copy the above DLL files to a place in your
|
||||
PATH such as $SystemRoot/SYSTEM32. If you don't like putting things
|
||||
in a system directory, place them in the same directory as the
|
||||
executable(s). Be careful about accidentially overwriting files of
|
||||
the same name in the SYSTEM32 directory.
|
||||
|
||||
The DLL files are built so that the external entry points use the
|
||||
stdcall calling convention.
|
||||
|
||||
Static LIB files are not built. The LIB files that are built with are
|
||||
the linker import files associated with the DLL files.
|
||||
|
||||
The si-glu sources are used to build the GLU libs. This was done
|
||||
mainly to get the better tessellator code.
|
||||
|
||||
To build "mangled" Mesa, add the preprocessor define USE_MGL_NAMESPACE
|
||||
to the project settings. You will also need to edit src/mesa.def to
|
||||
change all the gl* symbols to mgl*. Because this is easy to do with a
|
||||
global replace operation in a text editor, no additional mangled
|
||||
version of mesa.def is maintained or shipped.
|
||||
|
||||
If you have a Windows-related build problem or question, it is
|
||||
probably better to direct it to me (kschultz@users.sourceforge.net),
|
||||
rather than directly to the other Mesa developers. I will help you as
|
||||
much as I can. I also monitor the Mesa mailing lists and will answer
|
||||
questions in this area there as well.
|
||||
|
||||
|
||||
Karl Schultz
|
||||
|
@@ -143,3 +143,4 @@ code). Anyone want to help?
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.1,v 1.2 2000/04/07 17:08:06 brianp Exp $
|
||||
|
@@ -9,3 +9,4 @@ have been added. For a list of bug fixes please read the VERSIONS file.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.2,v 1.2 2000/04/07 17:08:06 brianp Exp $
|
||||
|
@@ -29,3 +29,4 @@ GLU library.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.2.1,v 1.2 2000/07/21 16:32:33 brianp Exp $
|
||||
|
@@ -268,3 +268,4 @@ image convolution. This will (hopefully) be done for Mesa 3.5/3.6.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.3,v 1.8 2000/07/21 16:26:41 brianp Exp $
|
||||
|
@@ -19,3 +19,4 @@ see the VERSIONS file.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.4,v 1.2 2002/03/23 02:37:17 brianp Exp $
|
||||
|
@@ -19,3 +19,4 @@ the Mesa 3.4 release. For details, see the VERSIONS file.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.4.1,v 1.2 2001/05/23 14:45:01 brianp Exp $
|
||||
|
@@ -19,3 +19,4 @@ the Mesa 3.4.1 release. For details, see the VERSIONS file.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.4.2,v 1.2 2001/05/23 14:45:01 brianp Exp $
|
||||
|
@@ -225,3 +225,4 @@ In the future I hope to implement support for 32-bit, floating point
|
||||
color channels.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-3.5,v 1.14 2001/06/20 19:02:48 brianp Exp $
|
||||
|
@@ -160,3 +160,4 @@ See the VERSIONS file for more details about bug fixes, etc. in Mesa 4.0.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-4.0,v 3.2 2001/10/17 14:59:21 brianp Exp $
|
||||
|
@@ -19,3 +19,4 @@ Mesa 4.0.1 only contains bug fixes since version 4.0.
|
||||
See the docs/VERSIONS file for the list of bug fixes.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
$Id: RELNOTES-4.0.1,v 1.2 2001/12/18 14:08:23 brianp Exp $
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user