Compare commits
823 Commits
post-merge
...
mesa-7.0.1
Author | SHA1 | Date | |
---|---|---|---|
|
593de57fa2 | ||
|
04b0e43ea6 | ||
|
04eee290c8 | ||
|
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 | ||
|
b0fe0d8a55 | ||
|
c128c3ce8c | ||
|
6efdf648f5 | ||
|
6a587c0124 | ||
|
524c3336c4 | ||
|
0e7e211055 | ||
|
4e641bf3e9 | ||
|
2189ff5e51 | ||
|
33a73466ae | ||
|
13c0abd8a7 | ||
|
82de92c0fb | ||
|
e4b8481f39 | ||
|
b5990cec90 | ||
|
d93642251e | ||
|
c66fd808ac | ||
|
73449270bb | ||
|
6f56e68ee3 | ||
|
65fae19383 | ||
|
b78aec5767 | ||
|
6bae7d40f7 | ||
|
5f1f1f5704 | ||
|
93881edb46 | ||
|
56b99ace19 | ||
|
3aad47679e | ||
|
dac5303692 | ||
|
64b03f33ee | ||
|
b8b0dd1e20 | ||
|
93f9e61f43 | ||
|
f405fbb36d | ||
|
5a09ea01e0 | ||
|
98d25a5a28 | ||
|
0aa998b2ab | ||
|
b6087270a0 | ||
|
3f709f16ef | ||
|
67363327e5 | ||
|
bcaf8fc7b1 | ||
|
ef29d6af6c | ||
|
6a69bb5864 | ||
|
cbd29adbc8 | ||
|
c729e67321 | ||
|
5b23d36613 | ||
|
a87390504f | ||
|
cc358d861d | ||
|
749e093e33 | ||
|
eab6e16522 | ||
|
1b39be3790 | ||
|
69ff5a3dbc | ||
|
01ec508c7f | ||
|
d4e3b0b2c2 | ||
|
b63c70666f | ||
|
c33c00764c | ||
|
6c342ad859 | ||
|
86e4f52f3c | ||
|
f0707c789a | ||
|
aed53ba525 | ||
|
3dec7c57b0 | ||
|
544e441f53 | ||
|
fa546c367d | ||
|
64a6a50155 | ||
|
c103453d4f | ||
|
d7e3d1dc42 | ||
|
02e44e41c8 | ||
|
eed67a6e3e | ||
|
e856edb279 | ||
|
58239d2ae3 | ||
|
2f6a0840c4 | ||
|
c9e723e501 | ||
|
87a980a795 | ||
|
e282f89a38 | ||
|
e2e4b60c7d | ||
|
58dacc8df1 | ||
|
b470189378 | ||
|
574bf4d346 | ||
|
795ebb1a3b | ||
|
d0be8b959a | ||
|
672ecba175 | ||
|
0dcea4bf8e | ||
|
16c503f39a | ||
|
4d5d4e1f97 | ||
|
a9ab36b8f2 | ||
|
88288b614e | ||
|
a154706061 | ||
|
6fe41a4c01 | ||
|
f4a2b9f83d | ||
|
56c2f7bb42 | ||
|
df747eb354 | ||
|
ff7a41a159 | ||
|
01fdb34b39 | ||
|
3c9e5cb0bd | ||
|
a6aa1f8016 | ||
|
967c2d220d | ||
|
0e6b7eb9c0 | ||
|
ed42bd6e20 | ||
|
2db667290a | ||
|
cea0c2b144 | ||
|
2b5ef29a7b | ||
|
4ed59c6012 | ||
|
7e7b1f7c4d | ||
|
c48e4c6f09 | ||
|
4f20fe8a93 | ||
|
d28f6d9176 | ||
|
fe6a2c4295 | ||
|
faf47d9f84 | ||
|
f9828f5c4f | ||
|
7b165de5f8 | ||
|
62ef001de7 | ||
|
76d7b62cd2 | ||
|
901fc0de18 | ||
|
c970811dab | ||
|
bb97694fad | ||
|
516259d609 | ||
|
3e4302fe3b | ||
|
dcc8e5f4c1 | ||
|
32c8d002d0 | ||
|
a8c856d43c | ||
|
c9b87b8ad8 | ||
|
5d61cfd1fd | ||
|
93e957cc65 | ||
|
3eae496deb | ||
|
81c6516af1 | ||
|
9e91351826 | ||
|
328b307e2f | ||
|
d316b4dc22 | ||
|
f0126a76ac | ||
|
b8640db021 | ||
|
28b47110b6 | ||
|
fe2c58d2d5 | ||
|
4917955205 | ||
|
eca50a27e1 | ||
|
0950e9727e | ||
|
504fafe389 | ||
|
72608aedc3 | ||
|
be56660ba0 | ||
|
36c8bc6141 | ||
|
5c8296a6ab | ||
|
6665658a56 | ||
|
204bc4e441 | ||
|
e90ad3dbbb | ||
|
8d62afdb6a | ||
|
59494bafb4 | ||
|
33939fd29b | ||
|
4960af08ad | ||
|
f5b0cafbb1 | ||
|
c578354642 | ||
|
da37ac5ee7 | ||
|
ed2fddc98e | ||
|
58eaf0acca | ||
|
d132f7245d | ||
|
73bc8b63ac | ||
|
377ce9e074 | ||
|
f1d785188b | ||
|
313c4c2643 | ||
|
fbeae4f70c | ||
|
9301a6a325 | ||
|
6c036812be | ||
|
c6abbbfd02 | ||
|
8a7f474c69 | ||
|
47e33a27df | ||
|
401629c721 | ||
|
f1770c3210 | ||
|
8130a4fe98 | ||
|
8f1c63b263 | ||
|
857ebc6d47 | ||
|
660bdc616b | ||
|
88ae491bd2 | ||
|
8445960d9f | ||
|
74cae00c0e | ||
|
56d9663574 | ||
|
81d1a04e04 | ||
|
62cbe6c3f3 | ||
|
16cec9f767 | ||
|
5e2a66466d | ||
|
b3378f6cc5 | ||
|
91948f99dd | ||
|
ae5f67575d | ||
|
e75fbd3f91 | ||
|
a6dad578b5 | ||
|
c6443eb1a3 | ||
|
121533defb | ||
|
3cddba688d | ||
|
dc881e1909 | ||
|
2dfb03beb2 | ||
|
18cfe0c801 | ||
|
60d136f63c | ||
|
62da6a1b3e | ||
|
77e7535c0f | ||
|
5c1b53d58d | ||
|
b2f1d6422b | ||
|
99f24c8d17 | ||
|
04c401c91e | ||
|
03f201d935 | ||
|
594b5ad87d | ||
|
bfd5cf72c4 | ||
|
7559364027 | ||
|
65faf02367 | ||
|
1953cfc954 | ||
|
8e7bac950e | ||
|
c409dbcae3 | ||
|
cbf280dc26 | ||
|
af0ae93863 | ||
|
bcc3baadba | ||
|
4ca7c804db | ||
|
bfaf6156fb | ||
|
d741b10be6 | ||
|
e371a5f084 | ||
|
af846712fd | ||
|
c4615abb11 | ||
|
430e036413 | ||
|
502ebe90e8 | ||
|
02e958a1e4 | ||
|
cce5084941 | ||
|
4b1d1b7b18 | ||
|
7ff72a7659 | ||
|
c4b3b8dece | ||
|
65bab0dad8 | ||
|
74edc663a6 | ||
|
54d59cfb70 | ||
|
b7f5b8af65 | ||
|
4099531a0a | ||
|
1606f2c123 | ||
|
1dd7c00214 | ||
|
f42d4ab41e | ||
|
4a28548cbf | ||
|
5814922d25 | ||
|
3de20aead2 | ||
|
6d27194dff | ||
|
03cdacfb6a | ||
|
30f3c3dfad | ||
|
dee1b0d5bb | ||
|
c233aa2768 | ||
|
c93b2a1cb7 | ||
|
6f2b0fe463 | ||
|
0c69176498 | ||
|
4e7a0385b5 | ||
|
eca456b63d | ||
|
4003bde6ff | ||
|
ddcf819906 | ||
|
9ede048127 | ||
|
97693436a5 | ||
|
8a8a5bd104 | ||
|
3e5eda9ee9 | ||
|
f38dcc8a6a | ||
|
b1b154c498 | ||
|
286faac68e | ||
|
3b0bd0ce17 | ||
|
208ea84524 | ||
|
7868ab6617 | ||
|
47ad443c55 | ||
|
3db3dc58bc | ||
|
c27adc52ce | ||
|
afc132e7a9 | ||
|
335769a875 | ||
|
0bdf216dd0 | ||
|
4adbd94b10 | ||
|
d59e6f233b | ||
|
4a2905b645 | ||
|
0638c6b530 | ||
|
7dd35ce013 | ||
|
ad02042db2 | ||
|
c8629c3178 | ||
|
77ccf51cb3 | ||
|
01197f0c77 | ||
|
69c86ff4fd | ||
|
f793e90e82 | ||
|
112e1f2b5a | ||
|
e5cf37c178 | ||
|
9a42ffad81 | ||
|
0d8633bf8c | ||
|
b5e9b0e562 | ||
|
b1502588c4 | ||
|
d79e80a3d0 | ||
|
74afcabd85 | ||
|
b3ab925e91 | ||
|
2d2c6a622d | ||
|
fc3d6bd351 | ||
|
e261d66d81 | ||
|
cd3e39340f | ||
|
d890ebdd25 | ||
|
5ee9b3ce72 | ||
|
031b539a09 | ||
|
ad3cc95485 | ||
|
4e0a64675c | ||
|
d5e7234ba8 | ||
|
bc74cb4c0a | ||
|
257f799849 | ||
|
81c4fee160 | ||
|
1fbdd9d794 | ||
|
82839e8430 | ||
|
ced6f76404 | ||
|
4cc2674aee | ||
|
a7f7366d38 | ||
|
11e3f733ba | ||
|
98ef18909a | ||
|
f2346498aa | ||
|
4b7c6fc5a6 | ||
|
fe16b9f663 | ||
|
47c3c706e8 | ||
|
c9855a60f4 | ||
|
838a2a2633 | ||
|
e7e5279fc0 | ||
|
7fd3a6c521 | ||
|
720cf3aa13 | ||
|
5491c8194c | ||
|
e4e2068ac9 | ||
|
6346a753c6 | ||
|
4d944b502f | ||
|
6aa5668871 | ||
|
d60009bd6d | ||
|
0d830a616c | ||
|
e219bf8338 | ||
|
6c0fba2480 | ||
|
f4cc159f53 | ||
|
04c002abc2 | ||
|
78fd17907e | ||
|
47edc83080 | ||
|
33e34f5bf4 | ||
|
535c37e85d | ||
|
ba3d384e94 | ||
|
8b5fce6bcc | ||
|
020cdb47cf | ||
|
121f2212cc | ||
|
24a93dd6a4 | ||
|
00da9afb84 | ||
|
4abcaf3949 | ||
|
6bde08815f | ||
|
8e6207396c | ||
|
5ca8d4ccf2 | ||
|
6b3027e291 | ||
|
8d370fb2ee | ||
|
36a6a59972 | ||
|
addd03da2e | ||
|
c93e883b20 | ||
|
274ac7a801 | ||
|
aaa57412c1 | ||
|
2a2f8d806f | ||
|
bac15c8db8 | ||
|
f3e8c32376 | ||
|
6d3d9c1c6d | ||
|
e57e752eee | ||
|
884af40864 | ||
|
30a79f76fc | ||
|
8598f55091 | ||
|
6d01f3f1ec | ||
|
e3caa5f891 | ||
|
d9443c2494 | ||
|
565cd49b5f | ||
|
a4b2b88337 | ||
|
04bda46739 | ||
|
d2d86a3f0b | ||
|
9cbcf7c696 | ||
|
468a33d19a | ||
|
893b368a82 | ||
|
41fc55dd81 | ||
|
1a9483c954 | ||
|
36949abec7 | ||
|
6459adf79b | ||
|
badc346206 | ||
|
4a7c45118d | ||
|
34ca2be769 | ||
|
5888010362 | ||
|
dfee7619d4 | ||
|
96e05da1c9 | ||
|
1560de2c3c | ||
|
921b008419 | ||
|
aa6992a296 | ||
|
4b3835dadf | ||
|
64e8088667 | ||
|
3dfcd48469 | ||
|
e812a2a484 | ||
|
da56df9d72 | ||
|
9519785e29 | ||
|
83ad64d94a | ||
|
fde15a2bae | ||
|
216eb81c53 | ||
|
4fc46a6c82 | ||
|
e19cfabb6e | ||
|
8d8a3cc398 | ||
|
fb1d22d23d | ||
|
3d59042afd | ||
|
967c1056d5 | ||
|
9f8373d5ca | ||
|
50aaabc248 | ||
|
30b6f11de1 | ||
|
f11604a30d | ||
|
99193e4f74 | ||
|
5b74fe0889 | ||
|
431d650f2b | ||
|
3c008a014f | ||
|
bf287356cf | ||
|
bce7043ebc | ||
|
70b0e123c4 | ||
|
f98f4f6d7a | ||
|
afc58f5f7e | ||
|
b61d74c575 | ||
|
9f66025f54 | ||
|
183d8e0620 | ||
|
b0bba03846 | ||
|
ba876be0c0 | ||
|
319ce38fa4 | ||
|
64700be4e1 | ||
|
159ecba4b3 | ||
|
e798d22556 | ||
|
0109b47106 | ||
|
7b2626f7d8 | ||
|
19121e2802 | ||
|
e0bbf46342 | ||
|
702c8f1e6c | ||
|
f9574c3f6b | ||
|
e8292d28e4 | ||
|
c96974f78c | ||
|
6461e91ac3 | ||
|
af807a4696 | ||
|
5c0c60a13c | ||
|
5dba996dba | ||
|
9612a3011f | ||
|
0d3d930912 | ||
|
d8bfc42bb7 | ||
|
ca7885f733 | ||
|
3832ecadae | ||
|
9176752172 | ||
|
79bf692420 | ||
|
f72e7fb1d6 | ||
|
4647f13c43 | ||
|
20ec486baf | ||
|
55000888b9 | ||
|
4f9d3a07bb | ||
|
84803279ca | ||
|
8d2d6e5194 | ||
|
e9c614a1af | ||
|
8f3fc5221c | ||
|
ae55d5322c | ||
|
92b7fa7b48 | ||
|
eb4a8b4bb5 | ||
|
663a3e9ba7 | ||
|
51a894e6eb | ||
|
ac32b644ee | ||
|
487f7a73cb | ||
|
aa1c79eaea | ||
|
885111518e | ||
|
0cae814f36 | ||
|
33c3739628 | ||
|
4d864b087e | ||
|
2f207dcf1e | ||
|
f9c01c33d3 | ||
|
d4dc57bb13 | ||
|
a28e648690 | ||
|
40ae3943f2 | ||
|
dba21ed913 | ||
|
66d336808d | ||
|
dccd9c4f4d | ||
|
3fe47d5c57 | ||
|
3fd88089c0 | ||
|
0683e4ce4b | ||
|
ec42af9263 | ||
|
285ed128ab | ||
|
048144074b | ||
|
00831b5b3b | ||
|
ec6c8f86f3 | ||
|
856ae782c7 | ||
|
e608d92c5b | ||
|
57dadf71ca | ||
|
adb91c056f | ||
|
6f652c89d7 | ||
|
7439a36785 | ||
|
12e3f97541 | ||
|
30f6fe0710 | ||
|
7eba12edce | ||
|
ba730e14ed | ||
|
1ba858591b | ||
|
f2f5d06853 | ||
|
b2ac30ac36 | ||
|
3b7f2f53a2 | ||
|
8128f7143d | ||
|
393a93ea32 | ||
|
3e7d43cd48 | ||
|
1bbd69251b | ||
|
f841b04601 | ||
|
b463d52143 | ||
|
7e4a7fdddd | ||
|
ee2f31e281 | ||
|
dad97b4688 | ||
|
a01616eed5 | ||
|
d750861dc2 | ||
|
59f7f6dbe9 | ||
|
20d85c609a | ||
|
ad766b5785 | ||
|
0420d8505a | ||
|
05e6fd8398 | ||
|
e5d00e8cf4 | ||
|
31dc7a3c89 | ||
|
17238f1ee5 | ||
|
f407cada8a | ||
|
e713ef66ef | ||
|
a0275b0d2c | ||
|
d6d6d20b13 | ||
|
1f1f582304 | ||
|
811c2e9a91 | ||
|
cda3236092 | ||
|
9b9e056615 | ||
|
ff65fa39e8 | ||
|
3e45db6729 | ||
|
3b8ab88131 | ||
|
32225d06b9 | ||
|
a835939222 | ||
|
98abd1bbc8 | ||
|
a9455bb9a7 | ||
|
63c57a14d3 | ||
|
25f21b5331 | ||
|
da82d86ea0 | ||
|
075d3d892f | ||
|
ae36cfc65e | ||
|
9878e8ff51 | ||
|
6583429f89 | ||
|
037c068460 | ||
|
c042a91b8b | ||
|
813a0e11f1 | ||
|
52cc32378c | ||
|
c3da0bd7dd | ||
|
e508155d16 | ||
|
0426d3c0c8 | ||
|
b53745ce91 | ||
|
768f7231ea | ||
|
680abf8a02 | ||
|
1170268088 | ||
|
38a1c2b495 | ||
|
b5d988dd19 | ||
|
b67d93111d | ||
|
ee9bc897f8 | ||
|
1b354bb5e4 | ||
|
44fb5156bb | ||
|
ad76128204 | ||
|
2eb656ef4f | ||
|
8ba06464ac | ||
|
76444d042c | ||
|
e01ee3da57 | ||
|
fd1b1fce3f | ||
|
38889f5221 | ||
|
a02870f4f6 | ||
|
d63eef4b86 | ||
|
805b1cf482 | ||
|
4110fac389 | ||
|
5a5b55943d | ||
|
1e055089a3 | ||
|
87c9ad6fd5 | ||
|
c05b6f800a | ||
|
540e1c70cc | ||
|
180c0d70c4 | ||
|
6a47e35065 | ||
|
381b4b0c91 | ||
|
675f7f627b | ||
|
0aa8f1df3c | ||
|
d39147a8a1 | ||
|
7991f7e936 | ||
|
10011efcd7 | ||
|
0058815c8f | ||
|
02048984b7 | ||
|
544601e9f4 | ||
|
51bfb8fc8c | ||
|
6b6760d6bc | ||
|
2634f06c20 | ||
|
7549426a16 | ||
|
c171166987 | ||
|
6dcb9a3434 | ||
|
e5a31c00ec | ||
|
00295242fd | ||
|
21b6ed7c29 | ||
|
01894cbf10 | ||
|
28cad2b9d9 | ||
|
71d7b7dbe7 | ||
|
4563723db1 | ||
|
0bce6a1899 | ||
|
e71d6dbd9c | ||
|
132ecd19f3 | ||
|
a404143f4c | ||
|
a27d3e43fe | ||
|
6a632de96d | ||
|
92de58f001 | ||
|
caf8010652 | ||
|
44467ca45e | ||
|
f70ea0747d | ||
|
c619abf18a | ||
|
6da1323437 | ||
|
1dd29785cf | ||
|
5681987ee4 | ||
|
f34cad0f97 | ||
|
adccb084df | ||
|
ead0f46d5f | ||
|
77b862a849 | ||
|
ed7fbad206 | ||
|
4720cd0050 | ||
|
c9795c6ca2 | ||
|
bce82efe1f | ||
|
aeda4c589a | ||
|
696fe3f52e | ||
|
c34d026eb0 | ||
|
de90bbd0b7 | ||
|
d214138910 | ||
|
89433fef0d | ||
|
b4d9c0048f | ||
|
9a94dae4c2 | ||
|
183abbcd6b | ||
|
0536268267 | ||
|
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 |
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,8 +0,0 @@
|
|||||||
*~
|
|
||||||
*.a
|
|
||||||
*.o
|
|
||||||
*.so
|
|
||||||
depend
|
|
||||||
depend.bak
|
|
||||||
lib
|
|
||||||
lib64
|
|
55
Makefile
55
Makefile
@@ -7,7 +7,9 @@ SUBDIRS = src progs
|
|||||||
|
|
||||||
default: $(TOP)/configs/current
|
default: $(TOP)/configs/current
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
(cd $$dir ; $(MAKE)) || exit 1 ; \
|
if [ -d $$dir ] ; then \
|
||||||
|
(cd $$dir && $(MAKE)) || exit 1 ; \
|
||||||
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
@@ -16,7 +18,9 @@ doxygen:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
(cd $$dir ; $(MAKE) clean) ; \
|
if [ -d $$dir ] ; then \
|
||||||
|
(cd $$dir && $(MAKE) clean) ; \
|
||||||
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
@@ -34,9 +38,12 @@ realclean:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
(cd $$dir ; $(MAKE) install) || exit 1 ; \
|
if [ -d $$dir ] ; then \
|
||||||
|
(cd $$dir && $(MAKE) install) || exit 1 ; \
|
||||||
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# DirectFBGL module installation
|
# DirectFBGL module installation
|
||||||
linux-directfb-install:
|
linux-directfb-install:
|
||||||
cd src/mesa/drivers/directfb && $(MAKE) install
|
cd src/mesa/drivers/directfb && $(MAKE) install
|
||||||
@@ -155,10 +162,10 @@ ultrix-gcc:
|
|||||||
|
|
||||||
# Rules for making release tarballs
|
# Rules for making release tarballs
|
||||||
|
|
||||||
DIRECTORY = Mesa-6.5.2
|
DIRECTORY = Mesa-7.0.1-rc2
|
||||||
LIB_NAME = MesaLib-6.5.2
|
LIB_NAME = MesaLib-7.0.1-rc2
|
||||||
DEMO_NAME = MesaDemos-6.5.2
|
DEMO_NAME = MesaDemos-7.0.1-rc2
|
||||||
GLUT_NAME = MesaGLUT-6.5.2
|
GLUT_NAME = MesaGLUT-7.0.1-rc2
|
||||||
|
|
||||||
MAIN_FILES = \
|
MAIN_FILES = \
|
||||||
$(DIRECTORY)/Makefile* \
|
$(DIRECTORY)/Makefile* \
|
||||||
@@ -209,9 +216,6 @@ MAIN_FILES = \
|
|||||||
$(DIRECTORY)/src/mesa/glapi/*.[chS] \
|
$(DIRECTORY)/src/mesa/glapi/*.[chS] \
|
||||||
$(DIRECTORY)/src/mesa/glapi/descrip.mms \
|
$(DIRECTORY)/src/mesa/glapi/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/glapi/sources \
|
$(DIRECTORY)/src/mesa/glapi/sources \
|
||||||
$(DIRECTORY)/src/mesa/array_cache/*.[ch] \
|
|
||||||
$(DIRECTORY)/src/mesa/array_cache/descrip.mms \
|
|
||||||
$(DIRECTORY)/src/mesa/array_cache/sources \
|
|
||||||
$(DIRECTORY)/src/mesa/math/*.[ch] \
|
$(DIRECTORY)/src/mesa/math/*.[ch] \
|
||||||
$(DIRECTORY)/src/mesa/math/descrip.mms \
|
$(DIRECTORY)/src/mesa/math/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/math/sources \
|
$(DIRECTORY)/src/mesa/math/sources \
|
||||||
@@ -225,12 +229,17 @@ MAIN_FILES = \
|
|||||||
$(DIRECTORY)/src/mesa/shader/slang/descrip.mms \
|
$(DIRECTORY)/src/mesa/shader/slang/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/shader/slang/sources \
|
$(DIRECTORY)/src/mesa/shader/slang/sources \
|
||||||
$(DIRECTORY)/src/mesa/shader/slang/library/*.[ch] \
|
$(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/*.[ch] \
|
||||||
$(DIRECTORY)/src/mesa/swrast/descrip.mms \
|
$(DIRECTORY)/src/mesa/swrast/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/swrast/sources \
|
$(DIRECTORY)/src/mesa/swrast/sources \
|
||||||
$(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
|
$(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
|
||||||
$(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \
|
$(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/swrast_setup/sources \
|
$(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/*.[chS] \
|
||||||
$(DIRECTORY)/src/mesa/tnl/descrip.mms \
|
$(DIRECTORY)/src/mesa/tnl/descrip.mms \
|
||||||
$(DIRECTORY)/src/mesa/tnl/sources \
|
$(DIRECTORY)/src/mesa/tnl/sources \
|
||||||
@@ -279,17 +288,15 @@ MAIN_FILES = \
|
|||||||
$(DIRECTORY)/vms/analyze_map.com \
|
$(DIRECTORY)/vms/analyze_map.com \
|
||||||
$(DIRECTORY)/vms/xlib.opt \
|
$(DIRECTORY)/vms/xlib.opt \
|
||||||
$(DIRECTORY)/vms/xlib_share.opt \
|
$(DIRECTORY)/vms/xlib_share.opt \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/gdi/gdi.dsp \
|
$(DIRECTORY)/windows/VC8/mesa/mesa.sln \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/glu/*.txt \
|
$(DIRECTORY)/windows/VC8/mesa/gdi/gdi.vcproj \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/glu/glu.dsp \
|
$(DIRECTORY)/windows/VC8/mesa/glu/glu.vcproj \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/mesa.dsw \
|
$(DIRECTORY)/windows/VC8/mesa/mesa/mesa.vcproj \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/mesa/mesa.dsp \
|
$(DIRECTORY)/windows/VC8/mesa/osmesa/osmesa.vcproj \
|
||||||
$(DIRECTORY)/windows/VC6/mesa/osmesa/osmesa.dsp \
|
$(DIRECTORY)/windows/VC8/progs/progs.sln \
|
||||||
$(DIRECTORY)/windows/VC7/mesa/gdi/gdi.vcproj \
|
$(DIRECTORY)/windows/VC8/progs/demos/gears.vcproj \
|
||||||
$(DIRECTORY)/windows/VC7/mesa/glu/glu.vcproj \
|
$(DIRECTORY)/windows/VC8/progs/glut/glut.vcproj
|
||||||
$(DIRECTORY)/windows/VC7/mesa/mesa.sln \
|
|
||||||
$(DIRECTORY)/windows/VC7/mesa/mesa/mesa.vcproj \
|
|
||||||
$(DIRECTORY)/windows/VC7/mesa/osmesa/osmesa.vcproj
|
|
||||||
|
|
||||||
DRI_FILES = \
|
DRI_FILES = \
|
||||||
$(DIRECTORY)/include/GL/internal/dri_interface.h \
|
$(DIRECTORY)/include/GL/internal/dri_interface.h \
|
||||||
@@ -310,6 +317,7 @@ SGI_GLU_FILES = \
|
|||||||
$(DIRECTORY)/src/glu/Makefile \
|
$(DIRECTORY)/src/glu/Makefile \
|
||||||
$(DIRECTORY)/src/glu/descrip.mms \
|
$(DIRECTORY)/src/glu/descrip.mms \
|
||||||
$(DIRECTORY)/src/glu/sgi/Makefile \
|
$(DIRECTORY)/src/glu/sgi/Makefile \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/Makefile.mgw \
|
||||||
$(DIRECTORY)/src/glu/sgi/Makefile.win \
|
$(DIRECTORY)/src/glu/sgi/Makefile.win \
|
||||||
$(DIRECTORY)/src/glu/sgi/Makefile.DJ \
|
$(DIRECTORY)/src/glu/sgi/Makefile.DJ \
|
||||||
$(DIRECTORY)/src/glu/sgi/glu.def \
|
$(DIRECTORY)/src/glu/sgi/glu.def \
|
||||||
@@ -354,6 +362,8 @@ DEMO_FILES = \
|
|||||||
$(DIRECTORY)/progs/demos/*.cxx \
|
$(DIRECTORY)/progs/demos/*.cxx \
|
||||||
$(DIRECTORY)/progs/demos/*.dat \
|
$(DIRECTORY)/progs/demos/*.dat \
|
||||||
$(DIRECTORY)/progs/demos/README \
|
$(DIRECTORY)/progs/demos/README \
|
||||||
|
$(DIRECTORY)/progs/fbdev/Makefile \
|
||||||
|
$(DIRECTORY)/progs/fbdev/glfbdevtest.c \
|
||||||
$(DIRECTORY)/progs/osdemos/Makefile \
|
$(DIRECTORY)/progs/osdemos/Makefile \
|
||||||
$(DIRECTORY)/progs/osdemos/*.c \
|
$(DIRECTORY)/progs/osdemos/*.c \
|
||||||
$(DIRECTORY)/progs/xdemos/Makefile* \
|
$(DIRECTORY)/progs/xdemos/Makefile* \
|
||||||
@@ -365,6 +375,9 @@ DEMO_FILES = \
|
|||||||
$(DIRECTORY)/progs/samples/Makefile* \
|
$(DIRECTORY)/progs/samples/Makefile* \
|
||||||
$(DIRECTORY)/progs/samples/README \
|
$(DIRECTORY)/progs/samples/README \
|
||||||
$(DIRECTORY)/progs/samples/*.c \
|
$(DIRECTORY)/progs/samples/*.c \
|
||||||
|
$(DIRECTORY)/progs/glsl/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/glsl/*.c \
|
||||||
|
$(DIRECTORY)/progs/glsl/*.txt \
|
||||||
$(DIRECTORY)/progs/windml/Makefile.ugl \
|
$(DIRECTORY)/progs/windml/Makefile.ugl \
|
||||||
$(DIRECTORY)/progs/windml/*.c \
|
$(DIRECTORY)/progs/windml/*.c \
|
||||||
$(DIRECTORY)/progs/windml/*.bmp \
|
$(DIRECTORY)/progs/windml/*.bmp \
|
||||||
|
28
Makefile.mgw
28
Makefile.mgw
@@ -51,37 +51,59 @@
|
|||||||
# realclean: remove all generated files
|
# realclean: remove all generated files
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# MinGW core makefile 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) MAlthough more tests are needed, it can be used individually!
|
||||||
|
|
||||||
|
|
||||||
.PHONY : all libgl clean realclean
|
.PHONY : all libgl clean realclean
|
||||||
|
|
||||||
ifeq ($(ICD),1)
|
ifeq ($(ICD),1)
|
||||||
# when -std=c99 mingw will not define WIN32
|
# when -std=c99 mingw will not define WIN32
|
||||||
CFLAGS = -Wall -W -Werror
|
CFLAGS = -Wall -Werror
|
||||||
else
|
else
|
||||||
# I love c89
|
# I love c89
|
||||||
CFLAGS = -Wall -W -pedantic
|
CFLAGS = -Wall -pedantic
|
||||||
endif
|
endif
|
||||||
CFLAGS += -O2 -ffast-math
|
CFLAGS += -O2 -ffast-math
|
||||||
|
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),)
|
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),)
|
||||||
UNLINK = del $(subst /,\,$(1))
|
UNLINK = del $(subst /,\,$(1))
|
||||||
else
|
else
|
||||||
UNLINK = $(RM) $(1)
|
UNLINK = $(RM) $(1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: libgl
|
all: libgl libglu libglut example
|
||||||
|
|
||||||
libgl: lib
|
libgl: lib
|
||||||
$(MAKE) -f Makefile.mgw -C src/mesa
|
$(MAKE) -f Makefile.mgw -C src/mesa
|
||||||
|
|
||||||
|
libglu: libgl
|
||||||
|
$(MAKE) -f Makefile.mgw -C src/glu/sgi
|
||||||
|
|
||||||
|
libglut: libglu
|
||||||
|
$(MAKE) -f Makefile.mgw -C src/glut/glx
|
||||||
|
|
||||||
|
example: libglut
|
||||||
|
$(MAKE) -f Makefile.mgw star -C progs/samples
|
||||||
|
copy progs\samples\star.exe lib
|
||||||
|
|
||||||
lib:
|
lib:
|
||||||
mkdir lib
|
mkdir lib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f Makefile.mgw clean -C src/mesa
|
$(MAKE) -f Makefile.mgw clean -C src/mesa
|
||||||
|
$(MAKE) -f Makefile.mgw clean -C src/glu/sgi
|
||||||
|
$(MAKE) -f Makefile.mgw clean -C src/glut/glx
|
||||||
|
|
||||||
realclean: clean
|
realclean: clean
|
||||||
-$(call UNLINK,lib/*.a)
|
-$(call UNLINK,lib/*.a)
|
||||||
|
19
bin/mklib
19
bin/mklib
@@ -100,6 +100,14 @@ do
|
|||||||
-L*)
|
-L*)
|
||||||
DEPS="$DEPS $1"
|
DEPS="$DEPS $1"
|
||||||
;;
|
;;
|
||||||
|
-pthread)
|
||||||
|
# this is a special case (see bugzilla 10876)
|
||||||
|
DEPS="$DEPS $1"
|
||||||
|
;;
|
||||||
|
'-pthread')
|
||||||
|
# for FreeBSD
|
||||||
|
DEPS="$DEPS -pthread"
|
||||||
|
;;
|
||||||
'-cplusplus')
|
'-cplusplus')
|
||||||
CPLUSPLUS=1
|
CPLUSPLUS=1
|
||||||
;;
|
;;
|
||||||
@@ -212,15 +220,16 @@ case $ARCH in
|
|||||||
# finish up
|
# finish up
|
||||||
FINAL_LIBS="${LIBNAME}"
|
FINAL_LIBS="${LIBNAME}"
|
||||||
elif [ $STATIC = 1 ] ; then
|
elif [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}.a" # prefix with "lib", suffix with ".a"
|
||||||
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a
|
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}
|
||||||
LINK="ar"
|
LINK="ar"
|
||||||
OPTS="-ru"
|
OPTS="-ru"
|
||||||
|
rm -f ${LIBNAME}
|
||||||
# make lib
|
# make lib
|
||||||
${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS}
|
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||||
ranlib ${LIBNAME}.a
|
ranlib ${LIBNAME}
|
||||||
# finish up
|
# finish up
|
||||||
FINAL_LIBS=${LIBNAME}.a
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
||||||
case $ARCH in 'Linux' | 'GNU' | GNU/*)
|
case $ARCH in 'Linux' | 'GNU' | GNU/*)
|
||||||
|
1
configs/.gitignore
vendored
1
configs/.gitignore
vendored
@@ -1 +0,0 @@
|
|||||||
current
|
|
42
configs/config.mgw
Normal file
42
configs/config.mgw
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# 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
|
18
configs/debian-default
Normal file
18
configs/debian-default
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Define Debian-specific defaults.
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-default
|
||||||
|
|
||||||
|
OPT_FLAGS = -O2 -g
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
# override settings in configs/linux-x86-64
|
||||||
|
LIB_DIR = lib
|
||||||
|
EXTRA_LIB_PATH =
|
||||||
|
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
PROGRAM_DIRS =
|
||||||
|
|
||||||
|
INSTALL_DIR = $(DESTDIR)/usr
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
9
configs/debian-dri-amd64
Normal file
9
configs/debian-dri-amd64
Normal file
@@ -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
|
||||||
|
|
9
configs/debian-dri-any
Normal file
9
configs/debian-dri-any
Normal file
@@ -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
|
||||||
|
|
36
configs/debian-dri-default
Normal file
36
configs/debian-dri-default
Normal file
@@ -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
|
||||||
|
|
9
configs/debian-dri-i386
Normal file
9
configs/debian-dri-i386
Normal file
@@ -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
|
||||||
|
|
14
configs/debian-dri-i386-i686
Normal file
14
configs/debian-dri-i386-i686
Normal file
@@ -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
|
||||||
|
|
13
configs/debian-dri-optimized-default
Normal file
13
configs/debian-dri-optimized-default
Normal file
@@ -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
|
||||||
|
|
7
configs/debian-indirect-default
Normal file
7
configs/debian-indirect-default
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Configuration defaults for building GLX-enabled libGL.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-indirect-default
|
||||||
|
|
||||||
|
DRI_DIRS =
|
9
configs/debian-indirect-hurd-i386
Normal file
9
configs/debian-indirect-hurd-i386
Normal file
@@ -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
|
||||||
|
|
9
configs/debian-osmesa
Normal file
9
configs/debian-osmesa
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-osmesa-default
Normal file
10
configs/debian-osmesa-default
Normal file
@@ -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
|
||||||
|
|
9
configs/debian-osmesa-static
Normal file
9
configs/debian-osmesa-static
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-osmesa16
Normal file
10
configs/debian-osmesa16
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-osmesa16-static
Normal file
10
configs/debian-osmesa16-static
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-osmesa32
Normal file
10
configs/debian-osmesa32
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-osmesa32-static
Normal file
10
configs/debian-osmesa32-static
Normal file
@@ -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
|
||||||
|
|
12
configs/debian-swx11+glu-alpha-ev5
Normal file
12
configs/debian-swx11+glu-alpha-ev5
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-amd64
Normal file
10
configs/debian-swx11+glu-amd64
Normal file
@@ -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
|
||||||
|
|
9
configs/debian-swx11+glu-any
Normal file
9
configs/debian-swx11+glu-any
Normal file
@@ -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
|
||||||
|
|
14
configs/debian-swx11+glu-default
Normal file
14
configs/debian-swx11+glu-default
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-i386
Normal file
10
configs/debian-swx11+glu-i386
Normal file
@@ -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
|
||||||
|
|
14
configs/debian-swx11+glu-i386-i686
Normal file
14
configs/debian-swx11+glu-i386-i686
Normal file
@@ -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
|
||||||
|
|
13
configs/debian-swx11+glu-powerpc-603
Normal file
13
configs/debian-swx11+glu-powerpc-603
Normal file
@@ -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
|
||||||
|
|
11
configs/debian-swx11+glu-ppc64
Normal file
11
configs/debian-swx11+glu-ppc64
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-sparc
Normal file
10
configs/debian-swx11+glu-sparc
Normal file
@@ -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
|
||||||
|
|
13
configs/debian-swx11+glu-sparc-ultrasparc
Normal file
13
configs/debian-swx11+glu-sparc-ultrasparc
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-static-amd64
Normal file
10
configs/debian-swx11+glu-static-amd64
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-static-any
Normal file
10
configs/debian-swx11+glu-static-any
Normal file
@@ -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
|
||||||
|
|
10
configs/debian-swx11+glu-static-i386
Normal file
10
configs/debian-swx11+glu-static-i386
Normal file
@@ -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
|
||||||
|
|
11
configs/debian-swx11+glu-static-ppc64
Normal file
11
configs/debian-swx11+glu-static-ppc64
Normal file
@@ -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
|
||||||
|
|
@@ -8,9 +8,9 @@
|
|||||||
CONFIG_NAME = default
|
CONFIG_NAME = default
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
MESA_MAJOR=6
|
MESA_MAJOR=7
|
||||||
MESA_MINOR=5
|
MESA_MINOR=0
|
||||||
MESA_TINY=2
|
MESA_TINY=1
|
||||||
|
|
||||||
# external projects. This should be useless now that we use libdrm.
|
# external projects. This should be useless now that we use libdrm.
|
||||||
DRM_SOURCE_PATH=$(TOP)/../drm
|
DRM_SOURCE_PATH=$(TOP)/../drm
|
||||||
@@ -63,7 +63,7 @@ SRC_DIRS = mesa glu glut/glx glw
|
|||||||
GLU_DIRS = sgi
|
GLU_DIRS = sgi
|
||||||
DRIVER_DIRS = x11 osmesa
|
DRIVER_DIRS = x11 osmesa
|
||||||
# Which subdirs under $(TOP)/progs/ to enter:
|
# Which subdirs under $(TOP)/progs/ to enter:
|
||||||
PROGRAM_DIRS = demos redbook samples xdemos
|
PROGRAM_DIRS = demos redbook samples glsl xdemos
|
||||||
|
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
75
configs/default-bp
Normal file
75
configs/default-bp
Normal file
@@ -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
|
||||||
|
|
@@ -27,9 +27,9 @@ ASM_SOURCES =
|
|||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||||
LIBDRM_LIB = `pkg-config --libs libdrm`
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
|
DRI_LIB_DEPS = -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB)
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||||
-lm -lpthread $(LIBDRM_LIB)
|
-lm -pthread $(LIBDRM_LIB)
|
||||||
|
|
||||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lX11
|
||||||
|
@@ -67,4 +67,4 @@ WINDOW_SYSTEM=dri
|
|||||||
# gamma are missing because they have not been converted to use the new
|
# gamma are missing because they have not been converted to use the new
|
||||||
# interface.
|
# interface.
|
||||||
DRI_DIRS = i810 i915tex 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 nouveau
|
savage sis tdfx trident unichrome ffb
|
||||||
|
55
configs/linux-dri-bp
Normal file
55
configs/linux-dri-bp
Normal file
@@ -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
|
@@ -22,7 +22,8 @@ ARCH_FLAGS ?=
|
|||||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
||||||
-D_BSD_SOURCE -D_GNU_SOURCE \
|
-D_BSD_SOURCE -D_GNU_SOURCE \
|
||||||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
||||||
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN
|
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
||||||
|
-DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN
|
||||||
|
|
||||||
X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx`
|
X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx`
|
||||||
|
|
||||||
@@ -65,4 +66,4 @@ WINDOW_SYSTEM=dri
|
|||||||
# gamma are missing because they have not been converted to use the new
|
# gamma are missing because they have not been converted to use the new
|
||||||
# interface.
|
# interface.
|
||||||
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
||||||
savage sis tdfx trident unichrome ffb
|
savage sis tdfx trident unichrome ffb nouveau
|
||||||
|
14
configs/linux-osmesa-static
Normal file
14
configs/linux-osmesa-static
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
# Library names
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
28
configs/linux-osmesa32-static
Normal file
28
configs/linux-osmesa32-static
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Configuration for 32 bits/channel OSMesa library on Linux
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-osmesa32-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=32 -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
|
||||||
|
|
||||||
|
|
||||||
|
# Library names
|
||||||
|
OSMESA_LIB = OSMesa32
|
||||||
|
OSMESA_LIB_NAME = libOSMesa32.a
|
||||||
|
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
SRC_DIRS = mesa glu
|
||||||
|
DRIVER_DIRS = osmesa
|
||||||
|
PROGRAM_DIRS =
|
||||||
|
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
APP_LIB_DEPS = -lOSMesa32
|
@@ -15,6 +15,13 @@ PIC_FLAGS = -fPIC
|
|||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
||||||
ARCH_FLAGS ?=
|
ARCH_FLAGS ?=
|
||||||
|
|
||||||
|
# DRM and pciaccess
|
||||||
|
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||||
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
|
PCIACCESS_CFLAGS = `pkg-config --cflags pciaccess`
|
||||||
|
PCIACCESS_LIB = `pkg-config --libs pciaccess`
|
||||||
|
|
||||||
|
|
||||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
||||||
-D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_POSIX_MEMALIGN \
|
-D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_POSIX_MEMALIGN \
|
||||||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC -DIN_DRI_DRIVER
|
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC -DIN_DRI_DRIVER
|
||||||
@@ -28,7 +35,7 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(TOP)/$(LIB_DIR)
|
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(TOP)/$(LIB_DIR) $(PCIACCESS_LIB)
|
||||||
GL_LIB_DEPS = -lm -lpthread -ldl
|
GL_LIB_DEPS = -lm -lpthread -ldl
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
@@ -39,5 +46,5 @@ SRC_DIRS = glx/mini mesa glu glut/mini
|
|||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
PROGRAM_DIRS = miniglx
|
PROGRAM_DIRS = miniglx
|
||||||
|
|
||||||
#DRI_DIRS = ffb gamma sis savage
|
#DRI_DIRS = ffb gamma sis savage tdfx unichrome fb
|
||||||
DRI_DIRS = i810 i915 mach64 mga r128 r200 radeon tdfx unichrome fb
|
DRI_DIRS = i810 i915tex i915 mach64 mga r128 r200 radeon
|
||||||
|
22
configs/linux-tcc
Normal file
22
configs/linux-tcc
Normal file
@@ -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
|
1075
debian/changelog
vendored
Normal file
1075
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
|
354
debian/control
vendored
Normal file
354
debian/control
vendored
Normal file
@@ -0,0 +1,354 @@
|
|||||||
|
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>
|
||||||
|
Standards-Version: 3.7.2
|
||||||
|
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
|
||||||
|
|
||||||
|
Package: libgl1-mesa-swx11
|
||||||
|
Section: libs
|
||||||
|
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: libs
|
||||||
|
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
|
||||||
|
Pre-Depends: libgl1-mesa-swx11
|
||||||
|
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
|
||||||
|
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: devel
|
||||||
|
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 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: devel
|
||||||
|
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(__m68k__) || \
|
||||||
|
defined(ia64) || defined(__ia64__) || \
|
||||||
|
defined(__hppa__) || defined(hpux) || \
|
||||||
|
defined(__mips) || defined(_MIPS_ARCH) || \
|
45
debian/patches/03_optional-progs-and-install.patch
vendored
Normal file
45
debian/patches/03_optional-progs-and-install.patch
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
|
--- a/progs/xdemos/Makefile
|
||||||
|
+++ b/progs/xdemos/Makefile
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
|
||||||
|
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
|
||||||
|
|
||||||
|
-PROGS = glthreads \
|
||||||
|
+PROGS ?= glthreads \
|
||||||
|
glxdemo \
|
||||||
|
glxgears \
|
||||||
|
glxgears_fbconfig \
|
||||||
|
@@ -44,6 +44,9 @@
|
||||||
|
|
||||||
|
default: $(PROGS)
|
||||||
|
|
||||||
|
+install: $(PROGS)
|
||||||
|
+ $(INSTALL) -d $(INSTALL_DIR)/bin
|
||||||
|
+ $(INSTALL) -m 755 $(PROGS) $(INSTALL_DIR)/bin
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f $(PROGS)
|
||||||
|
--- a/progs/Makefile
|
||||||
|
+++ b/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 \
|
189
debian/patches/04_cleanup-osmesa-configs.patch
vendored
Normal file
189
debian/patches/04_cleanup-osmesa-configs.patch
vendored
Normal file
@@ -0,0 +1,189 @@
|
|||||||
|
diff --git a/configs/linux-osmesa b/configs/linux-osmesa
|
||||||
|
index cc1fbbd..aabab59 100644
|
||||||
|
--- a/configs/linux-osmesa
|
||||||
|
+++ b/configs/linux-osmesa
|
||||||
|
@@ -9,8 +9,17 @@ CONFIG_NAME = linux-osmesa
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
-CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
|
||||||
|
-CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
+
|
||||||
|
+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)
|
||||||
|
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
@@ -23,3 +33,4 @@ PROGRAM_DIRS = osdemos
|
||||||
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
|
APP_LIB_DEPS = -lOSMesa -lGLU
|
||||||
|
+
|
||||||
|
diff --git a/configs/linux-osmesa-static b/configs/linux-osmesa-static
|
||||||
|
index 465f83c..eb3575f 100644
|
||||||
|
--- a/configs/linux-osmesa-static
|
||||||
|
+++ b/configs/linux-osmesa-static
|
||||||
|
@@ -8,7 +8,8 @@ CONFIG_NAME = linux-osmesa-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
# Library names
|
||||||
|
-OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||||
|
|
||||||
|
diff --git a/configs/linux-osmesa16 b/configs/linux-osmesa16
|
||||||
|
index 1fb0186..2a06254 100644
|
||||||
|
--- a/configs/linux-osmesa16
|
||||||
|
+++ b/configs/linux-osmesa16
|
||||||
|
@@ -1,28 +1,17 @@
|
||||||
|
# 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
|
||||||
|
-
|
||||||
|
+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)
|
||||||
|
+
|
||||||
|
diff --git a/configs/linux-osmesa16-static b/configs/linux-osmesa16-static
|
||||||
|
index 6645504..894cf82 100644
|
||||||
|
--- a/configs/linux-osmesa16-static
|
||||||
|
+++ b/configs/linux-osmesa16-static
|
||||||
|
@@ -1,28 +1,13 @@
|
||||||
|
# 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 =
|
||||||
|
|
||||||
|
# Library names
|
||||||
|
-OSMESA_LIB = OSMesa16
|
||||||
|
-OSMESA_LIB_NAME = libOSMesa16.a
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Directories
|
||||||
|
-SRC_DIRS = mesa glu
|
||||||
|
-DRIVER_DIRS = osmesa
|
||||||
|
-PROGRAM_DIRS =
|
||||||
|
-
|
||||||
|
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||||
|
|
||||||
|
-# Dependencies
|
||||||
|
-OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
-APP_LIB_DEPS = -lOSMesa16
|
||||||
|
diff --git a/configs/linux-osmesa32 b/configs/linux-osmesa32
|
||||||
|
index a1e5a35..5a703f6 100644
|
||||||
|
--- a/configs/linux-osmesa32
|
||||||
|
+++ b/configs/linux-osmesa32
|
||||||
|
@@ -1,28 +1,18 @@
|
||||||
|
# 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
|
||||||
|
-
|
||||||
|
+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)
|
||||||
|
+
|
||||||
|
diff --git a/configs/linux-osmesa32-static b/configs/linux-osmesa32-static
|
||||||
|
index 6db8bc0..ecbb72e 100644
|
||||||
|
--- a/configs/linux-osmesa32-static
|
||||||
|
+++ b/configs/linux-osmesa32-static
|
||||||
|
@@ -1,28 +1,13 @@
|
||||||
|
# Configuration for 32 bits/channel OSMesa library on Linux
|
||||||
|
|
||||||
|
-include $(TOP)/configs/default
|
||||||
|
+include $(TOP)/configs/linux-osmesa32
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-osmesa32-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=32 -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 =
|
||||||
|
|
||||||
|
# Library names
|
||||||
|
-OSMESA_LIB = OSMesa32
|
||||||
|
-OSMESA_LIB_NAME = libOSMesa32.a
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Directories
|
||||||
|
-SRC_DIRS = mesa glu
|
||||||
|
-DRIVER_DIRS = osmesa
|
||||||
|
-PROGRAM_DIRS =
|
||||||
|
-
|
||||||
|
+OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
|
||||||
|
|
||||||
|
-# Dependencies
|
||||||
|
-OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
-APP_LIB_DEPS = -lOSMesa32
|
60
debian/patches/05_static-nonpic.patch
vendored
Normal file
60
debian/patches/05_static-nonpic.patch
vendored
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
diff --git a/configs/linux-alpha-static b/configs/linux-alpha-static
|
||||||
|
index 2a30af9..eb6a08a 100644
|
||||||
|
--- a/configs/linux-alpha-static
|
||||||
|
+++ b/configs/linux-alpha-static
|
||||||
|
@@ -11,6 +11,7 @@ CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE -DUSE_XSHM
|
||||||
|
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
diff --git a/configs/linux-ppc-static b/configs/linux-ppc-static
|
||||||
|
index d0e1688..3f3dc55 100644
|
||||||
|
--- a/configs/linux-ppc-static
|
||||||
|
+++ b/configs/linux-ppc-static
|
||||||
|
@@ -5,6 +5,7 @@ include $(TOP)/configs/linux-ppc
|
||||||
|
CONFIG_NAME = linux-ppc-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
diff --git a/configs/linux-static b/configs/linux-static
|
||||||
|
index 85141ea..1592668 100644
|
||||||
|
--- a/configs/linux-static
|
||||||
|
+++ b/configs/linux-static
|
||||||
|
@@ -5,6 +5,7 @@ include $(TOP)/configs/linux
|
||||||
|
CONFIG_NAME = linux-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
diff --git a/configs/linux-x86-64-static b/configs/linux-x86-64-static
|
||||||
|
index 0257430..2d0b664 100644
|
||||||
|
--- a/configs/linux-x86-64-static
|
||||||
|
+++ b/configs/linux-x86-64-static
|
||||||
|
@@ -5,6 +5,7 @@ include $(TOP)/configs/linux-x86-64
|
||||||
|
CONFIG_NAME = linux-x86-64-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
diff --git a/configs/linux-x86-static b/configs/linux-x86-static
|
||||||
|
index 9915987..e6a3696 100644
|
||||||
|
--- a/configs/linux-x86-static
|
||||||
|
+++ b/configs/linux-x86-static
|
||||||
|
@@ -5,6 +5,7 @@ include $(TOP)/configs/linux-x86
|
||||||
|
CONFIG_NAME = linux-x86-static
|
||||||
|
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
+PIC_FLAGS =
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
6
debian/patches/series
vendored
Normal file
6
debian/patches/series
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
00_create-libdir.patch
|
||||||
|
01_fix-makefile.patch
|
||||||
|
02_use-ieee-fp-on-s390-and-m68k.patch
|
||||||
|
03_optional-progs-and-install.patch
|
||||||
|
04_cleanup-osmesa-configs.patch
|
||||||
|
05_static-nonpic.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
|
@@ -88,19 +88,6 @@ driver (such as <code>radeon_dri.so</code>) at runtime. The
|
|||||||
environment variable <code>LIBGL_DRIVERS_PATH</code> should name the
|
environment variable <code>LIBGL_DRIVERS_PATH</code> should name the
|
||||||
directory where these modules are located.<br>
|
directory where these modules are located.<br>
|
||||||
<br>
|
<br>
|
||||||
Prior to running a MiniGXL application, the following kernel modules
|
|
||||||
must be installed:<br>
|
|
||||||
<br>
|
|
||||||
<div style="margin-left: 40px;"> agpgart.o<br>
|
|
||||||
radeonfb.o (assuming Radeon hardware)<br>
|
|
||||||
radeon.o (assuming Radeon hardware)<br>
|
|
||||||
</div>
|
|
||||||
<code></code> <br>
|
|
||||||
Finally, MiniGLX reads a configuration file (by default,<code>
|
|
||||||
/etc/miniglx.conf</code>) to determine basic configuration information.
|
|
||||||
The configuration file may also be located in the directory
|
|
||||||
specified by the <code>MINIGLX_CONF</code> environment variable).<br>
|
|
||||||
<br>
|
|
||||||
The remainder of this section describes the MiniGLX API functions.<br>
|
The remainder of this section describes the MiniGLX API functions.<br>
|
||||||
<br>
|
<br>
|
||||||
<h2>3.1 Initialization</h2>
|
<h2>3.1 Initialization</h2>
|
||||||
|
@@ -88,3 +88,66 @@ Running the Build:
|
|||||||
|
|
||||||
Paul G. <pgarceau@users.sourceforge.net>
|
Paul G. <pgarceau@users.sourceforge.net>
|
||||||
Daniel Borca <dborca@users.sourceforge.net>
|
Daniel Borca <dborca@users.sourceforge.net>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
******This section is added by Heromyth <zxpmyth@yahoo.com.cn>*************
|
||||||
|
|
||||||
|
====================
|
||||||
|
Updated on 2007-7-21
|
||||||
|
====================
|
||||||
|
|
||||||
|
Notice:
|
||||||
|
1) The generated DLLs are *not* compatible with the ones built
|
||||||
|
with the other compilers like VC8, especially for GLUT.
|
||||||
|
|
||||||
|
2) Although more tests are needed, it can be used individually!
|
||||||
|
|
||||||
|
3) You can set the options about whether using STDCALL to build MESA. The
|
||||||
|
config file is <Mesa3D-root>\configs\config.mgw. The default setting is that:
|
||||||
|
ALL_USING_STDCALL = 1
|
||||||
|
, which means using STDCALL to build MESA.
|
||||||
|
|
||||||
|
4) Of course, you can MESA without using STDCALL,I like this:)
|
||||||
|
The setting is :
|
||||||
|
ALL_USING_STDCALL = 0
|
||||||
|
To do this, however, you must modify wingdi.h which is in MingW's include dir.
|
||||||
|
For example, run:
|
||||||
|
notepad C:\MingW\include\wingdi.h
|
||||||
|
, and delete all the lines where all the wgl*() functions are. Because they would
|
||||||
|
be conflicted with the ones in <Mesa3D-root>\include\GL\mesa_wgl.h.
|
||||||
|
|
||||||
|
>>>>>>>>>> Conflicted Functions List >>>>>>>>>>
|
||||||
|
WINGDIAPI BOOL WINAPI wglCopyContext(HGLRC,HGLRC,UINT);
|
||||||
|
WINGDIAPI HGLRC WINAPI wglCreateContext(HDC);
|
||||||
|
WINGDIAPI HGLRC WINAPI wglCreateLayerContext(HDC,int);
|
||||||
|
WINGDIAPI BOOL WINAPI wglDeleteContext(HGLRC);
|
||||||
|
WINGDIAPI BOOL WINAPI wglDescribeLayerPlane(HDC,int,int,UINT,LPLAYERPLANEDESCRIPTOR);
|
||||||
|
WINGDIAPI HGLRC WINAPI wglGetCurrentContext(void);
|
||||||
|
WINGDIAPI HDC WINAPI wglGetCurrentDC(void);
|
||||||
|
WINGDIAPI int WINAPI wglGetLayerPaletteEntries(HDC,int,int,int,COLORREF*);
|
||||||
|
WINGDIAPI PROC WINAPI wglGetProcAddress(LPCSTR);
|
||||||
|
WINGDIAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC);
|
||||||
|
WINGDIAPI BOOL WINAPI wglRealizeLayerPalette(HDC,int,BOOL);
|
||||||
|
WINGDIAPI int WINAPI wglSetLayerPaletteEntries(HDC,int,int,int,const COLORREF*);
|
||||||
|
WINGDIAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC);
|
||||||
|
WINGDIAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT);
|
||||||
|
WINGDIAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
|
||||||
|
WINGDIAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
|
||||||
|
WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
|
||||||
|
WINGDIAPI BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
|
||||||
|
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
|
||||||
|
====================
|
||||||
|
Updated on 2007-7-22
|
||||||
|
====================
|
||||||
|
I havn't thought that I would find a better way to solve my problems so soon.
|
||||||
|
I changed the method in which the import-libs and DLLs are made. After this update,
|
||||||
|
the DLLs of MESA are more optimized and more compatible.
|
||||||
|
It seems that there is no need to keep the building way of 'NO-STDCALL'.The
|
||||||
|
way of USING_STDCALL is so nice! The file <Mesa3D-root>\configs\config.mgw is
|
||||||
|
also not needed, and can be deleted safely!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*********************************************************************************
|
@@ -1,155 +1,163 @@
|
|||||||
File: docs/README.WIN32
|
File: docs/README.WIN32
|
||||||
|
|
||||||
Last updated: Mar 31, 2006 - Karl Schultz - kschultz@users.sourceforge.net
|
Last updated: Apr 25, 2007 - Karl Schultz - kschultz@users.sourceforge.net
|
||||||
|
|
||||||
Quick Start
|
Quick Start
|
||||||
----- -----
|
----- -----
|
||||||
|
|
||||||
Unzip the MesaLib, MesaGLUT, and MesaDemos ZIP files into the same
|
Unzip the MesaLib, MesaGLUT, and MesaDemos ZIP files into the same
|
||||||
directory. The libs and demos build separately, so if you do not care
|
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
|
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
|
more than one ZIP file, they all need to be unzipped into the same
|
||||||
directory. Don't worry, you will not overwrite anything.
|
directory. Don't worry, you will not overwrite anything.
|
||||||
|
|
||||||
The Windows build system uses Microsoft Visual Studio. Project files
|
The Windows build system uses Microsoft Visual Studio. Project files
|
||||||
for a specific version of Visual Studio are in their own directory in
|
for a specific version of Visual Studio are in their own directory in
|
||||||
the top-level "windows" directory. For example, Visual Studio 6 files
|
the top-level "windows" directory. For example, Visual Studio 8 files
|
||||||
are in windows/VC6. If a directory does not exist for your version of
|
are in windows/VC8.
|
||||||
Visual Studio, you can try importing the project files from an earlier
|
|
||||||
version of Visual Studio. At this time, project files exist for
|
Support has been dropped for versions of Visual Studio prior to 8. The
|
||||||
Version 6 and Version 7. The code has been built with a beta version
|
main reason is because Microsoft now provides a free compiler and
|
||||||
of Version 8 and it runs on 64-bit Windows. If you want to try this,
|
developer environment. Visual Studio Express can be found at
|
||||||
start by importing the VC7 files and create the 64-bit targets in the
|
|
||||||
configuration manager.
|
http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
|
||||||
|
|
||||||
It is likely that the new and free Visual Studio Express can be used
|
You'll also need the Platform SDK. Instructions for obtaining and
|
||||||
to build Mesa, but it hasn't been tried yet. Start with the VC7
|
using the SDK with Visual Studio Express can be found at
|
||||||
project files.
|
|
||||||
|
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
|
||||||
The project files to build the core Mesa library, Windows Mesa
|
|
||||||
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
If you are stuck using VC6 or VC7, you may start with these project
|
||||||
to build GLUT and some demo programs are in the progs directory.
|
files, but you may need to modify them to reflect changes in the
|
||||||
|
Mesa source code tree. If you sucessfully update the project files,
|
||||||
Makefiles are no longer shipped or supported, but can be generated
|
please submit them to the author of this document so that they may
|
||||||
from the projects using Visual Studio.
|
be included in the next distribution.
|
||||||
|
|
||||||
|
The project files to build the core Mesa library, Windows Mesa
|
||||||
Windows Drivers
|
drivers, OSMesa, and GLU are in the mesa directory. The project files
|
||||||
------- -------
|
to build GLUT and some demo programs are in the progs directory.
|
||||||
|
|
||||||
At this time, only the GDI driver is known to work. Most of the demos
|
Makefiles are no longer shipped or supported, but can be generated
|
||||||
in progs/demos should work with this driver.
|
from the projects using Visual Studio.
|
||||||
|
|
||||||
Source code also exists in the tree for other drivers in
|
|
||||||
src/mesa/drivers/windows, but the status of this code is unknown.
|
Windows Drivers
|
||||||
|
------- -------
|
||||||
The GDI driver operates basically by writing pixel spans into a DIB
|
|
||||||
section and then blitting the DIB to the window. The driver was
|
At this time, only the GDI driver is known to work. Most of the demos
|
||||||
recently cleaned up and rewitten and so may have bugs or may be
|
in progs/demos should work with this driver.
|
||||||
missing some functionality. The older versions of the CVS source may
|
|
||||||
be useful in figuring out any problems, or report them to me.
|
Source code also exists in the tree for other drivers in
|
||||||
|
src/mesa/drivers/windows, but the status of this code is unknown.
|
||||||
To build Mesa with the GDI driver, build the mesa, gdi, and glu
|
|
||||||
projects in the Visual Studio workspace found at
|
The GDI driver operates basically by writing pixel spans into a DIB
|
||||||
|
section and then blitting the DIB to the window. The driver was
|
||||||
windows/VC6/mesa/mesa.dsw
|
recently cleaned up and rewitten and so may have bugs or may be
|
||||||
or
|
missing some functionality. The older versions of the CVS source may
|
||||||
windows/VC7/mesa/mesa.sln
|
be useful in figuring out any problems, or report them to me.
|
||||||
|
|
||||||
The osmesa DLL can also be built with the osmesa project.
|
To build Mesa with the GDI driver, build the mesa, gdi, and glu
|
||||||
|
projects in the Visual Studio workspace found at
|
||||||
The build system creates a lib top-level directory and copies
|
|
||||||
resulting LIB and DLL files to this lib directory. The files are:
|
windows/VC8/mesa/mesa.sln
|
||||||
|
|
||||||
OPENGL32.LIB, GLU32.LIB, OSMESA32.LIB
|
The osmesa DLL can also be built with the osmesa project.
|
||||||
OPENGL32.DLL, GLU32.DLL, OSMESA32.DLL
|
|
||||||
|
The build system creates a lib top-level directory and copies
|
||||||
If the MesaDemos ZIP file was extracted, the DLL files are also copied
|
resulting LIB and DLL files to this lib directory. The files are:
|
||||||
to the demos directory. This facilitates running the demos as described
|
|
||||||
below.
|
OPENGL32.LIB, GLU32.LIB, OSMESA32.LIB
|
||||||
|
OPENGL32.DLL, GLU32.DLL, OSMESA32.DLL
|
||||||
|
|
||||||
GLUT and Demos
|
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.
|
||||||
A Visual Studio workspace can be found at
|
|
||||||
|
|
||||||
windows/VC6/progs/progs.dsw
|
GLUT and Demos
|
||||||
or
|
---- --- -----
|
||||||
windows/VC7/progs/progs.sln
|
|
||||||
|
A Visual Studio workspace can be found at
|
||||||
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.
|
windows/VC8/progs/progs.sln
|
||||||
|
|
||||||
The demo build system expects to find the LIB files in the top level
|
It can be used to build GLUT and a few demos. The GLUT lib and DLL
|
||||||
lib directory, so you must build the Mesa libs first. The demo
|
are copied to the top-level lib directory, along with the Mesa libs.
|
||||||
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
|
The demo build system expects to find the LIB files in the top level
|
||||||
there by the Mesa lib build process. Therefore, you should be able to
|
lib directory, so you must build the Mesa libs first. The demo
|
||||||
simply run the demo executables from the demo directory.
|
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
|
||||||
If you want to run the demos from the Visual Studio, you may have to
|
there by the Mesa lib build process. Therefore, you should be able to
|
||||||
change the startup directory and explicitly state where the executables are.
|
simply run the demo executables from the demo directory.
|
||||||
|
|
||||||
You may also build all the demo programs by using a makefile. Go to
|
If you want to run the demos from the Visual Studio, you may have to
|
||||||
the progs/demos directory and make sure you have executed VCVARS32.BAT
|
change the startup directory and explicitly state where the executables are.
|
||||||
or whatever setup script is appropriate for your compiler. Then,
|
|
||||||
|
You may also build all the demo programs by using a makefile. Go to
|
||||||
nmake -f Makefile.win
|
the progs/demos directory and make sure you have executed VCVARS32.BAT
|
||||||
|
or whatever setup script is appropriate for your compiler. Then,
|
||||||
should build all the demos.
|
|
||||||
|
nmake -f Makefile.win
|
||||||
|
|
||||||
Build System Notes
|
should build all the demos.
|
||||||
----- ------ -----
|
|
||||||
|
|
||||||
VC6
|
Build System Notes
|
||||||
---
|
----- ------ -----
|
||||||
|
|
||||||
Visual Studio 6 does not recognize files with the .cc extension as C++
|
VC6 (not actively supported)
|
||||||
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.
|
Visual Studio 6 does not recognize files with the .cc extension as C++
|
||||||
|
language files, without a lot of unnatural tweaking. So, the VC6
|
||||||
Two additional configurations are provided, Debug x86 and Release x86
|
build process uses custom build steps to compile these files in the
|
||||||
that activate the shader code compilation by defining SLANG_86. It is
|
GLU library.
|
||||||
unknown if and how this works.
|
|
||||||
|
Two additional configurations are provided, Debug x86 and Release x86
|
||||||
VC7
|
that activate the shader code compilation by defining SLANG_86. It is
|
||||||
---
|
unknown if and how this works.
|
||||||
|
|
||||||
The above-mentioned .cc problem does not exist in this version.
|
VC7 (not actively supported)
|
||||||
|
---
|
||||||
|
|
||||||
General
|
The above-mentioned .cc problem does not exist in this version.
|
||||||
-------
|
|
||||||
|
VC8
|
||||||
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
|
No notes.
|
||||||
executable(s). Be careful about accidentially overwriting files of
|
|
||||||
the same name in the SYSTEM32 directory.
|
|
||||||
|
General
|
||||||
The DLL files are built so that the external entry points use the
|
-------
|
||||||
stdcall calling convention.
|
|
||||||
|
After building, you can copy the above DLL files to a place in your
|
||||||
Static LIB files are not built. The LIB files that are built with are
|
PATH such as $SystemRoot/SYSTEM32. If you don't like putting things
|
||||||
the linker import files associated with the DLL files.
|
in a system directory, place them in the same directory as the
|
||||||
|
executable(s). Be careful about accidentially overwriting files of
|
||||||
The si-glu sources are used to build the GLU libs. This was done
|
the same name in the SYSTEM32 directory.
|
||||||
mainly to get the better tessellator code.
|
|
||||||
|
The DLL files are built so that the external entry points use the
|
||||||
To build "mangled" Mesa, add the preprocessor define USE_MGL_NAMESPACE
|
stdcall calling convention.
|
||||||
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
|
Static LIB files are not built. The LIB files that are built with are
|
||||||
global replace operation in a text editor, no additional mangled
|
the linker import files associated with the DLL files.
|
||||||
version of mesa.def is maintained or shipped.
|
|
||||||
|
The si-glu sources are used to build the GLU libs. This was done
|
||||||
If you have a Windows-related build problem or question, it is
|
mainly to get the better tessellator code.
|
||||||
probably better to direct it to me (kschultz@users.sourceforge.net),
|
|
||||||
rather than directly to the other Mesa developers. I will help you as
|
To build "mangled" Mesa, add the preprocessor define USE_MGL_NAMESPACE
|
||||||
much as I can. I also monitor the Mesa mailing lists and will answer
|
to the project settings. You will also need to edit src/mesa.def to
|
||||||
questions in this area there as well.
|
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.
|
||||||
Karl Schultz
|
|
||||||
|
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
|
||||||
|
@@ -25,6 +25,7 @@ a:visited {
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="intro.html" target="MainFrame">Introduction</a>
|
<li><a href="intro.html" target="MainFrame">Introduction</a>
|
||||||
<li><a href="news.html" target="MainFrame">News</a>
|
<li><a href="news.html" target="MainFrame">News</a>
|
||||||
|
<LI><A HREF="developers.html" target="MainFrame">Developers</A>
|
||||||
<li><a href="systems.html" target="MainFrame">Platforms and Drivers</a>
|
<li><a href="systems.html" target="MainFrame">Platforms and Drivers</a>
|
||||||
<li><a href="license.html" target="MainFrame">License & Copyright</a>
|
<li><a href="license.html" target="MainFrame">License & Copyright</a>
|
||||||
<li><a href="faq.html" target="MainFrame">FAQ</a>
|
<li><a href="faq.html" target="MainFrame">FAQ</a>
|
||||||
@@ -64,15 +65,15 @@ a:visited {
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://sourceforge.net/projects/mesa3d" target="_parent">SourceForge homepage</a>
|
<li><a href="http://sourceforge.net/projects/mesa3d" target="_parent">SourceForge homepage</a>
|
||||||
<li><a href="repository.html" target="MainFrame">Source Code Repository</a>
|
<li><a href="repository.html" target="MainFrame">Source Code Repository</a>
|
||||||
|
<li><a href="memory.html" target="MainFrame">DRI Memory Management</a>
|
||||||
<li><a href="shading.html" target="MainFrame">Shading Language</a>
|
<li><a href="shading.html" target="MainFrame">Shading Language</a>
|
||||||
<li><a href="utilities.html" target="MainFrame">Utilities</a>
|
<li><a href="utilities.html" target="MainFrame">Utilities</a>
|
||||||
<li><a href="helpwanted.html" target="MainFrame">Help Wanted</a>
|
<li><a href="helpwanted.html" target="MainFrame">Help Wanted</a>
|
||||||
<li><a href="devinfo.html" target="MainFrame">Development Notes</a>
|
<li><a href="devinfo.html" target="MainFrame">Development Notes</a>
|
||||||
<li><a href="sourcedocs.html" target="MainFrame">Source Documentation</a>
|
<li><a href="sourcedocs.html" target="MainFrame">Source Documentation</a>
|
||||||
<li><a href="subset.html" target="MainFrame">Subset Information</a>
|
|
||||||
<li><a href="fbdev-dri.html" target="MainFrame">fbdev/DRI Environment</a>
|
<li><a href="fbdev-dri.html" target="MainFrame">fbdev/DRI Environment</a>
|
||||||
|
<li><a href="subset.html" target="MainFrame">Mesa Subset Driver</a>
|
||||||
<li><a href="glfbdev-driver.html" target="MainFrame">glFBDev Driver</a>
|
<li><a href="glfbdev-driver.html" target="MainFrame">glFBDev Driver</a>
|
||||||
<LI><A HREF="custom.html" target="MainFrame">Custom Development</A>
|
|
||||||
<LI><A HREF="dispatch.html" target="MainFrame">GL Dispatch</A>
|
<LI><A HREF="dispatch.html" target="MainFrame">GL Dispatch</A>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
<HTML>
|
|
||||||
|
|
||||||
<TITLE>Custom Development</TITLE>
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
|
||||||
|
|
||||||
<BODY>
|
|
||||||
|
|
||||||
<H1>Custom Development</H1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Mesa is primarily developed and maintained on a volunteer basis.
|
|
||||||
Some Mesa development work has been done in conjuction with contracted
|
|
||||||
projects, such as the XFree86/DRI drivers.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<pre>[Begin shameless plug]</pre>
|
|
||||||
If you have a need for specific or custom Mesa development work,
|
|
||||||
<a href="http://www.tungstengraphics.com/" target="_parent">
|
|
||||||
Tungsten Graphics, Inc.</a> may be able to help you.
|
|
||||||
<pre>[End shameless plug]</pre>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
51
docs/developers.html
Normal file
51
docs/developers.html
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<HTML>
|
||||||
|
|
||||||
|
<TITLE>Developers</TITLE>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="mesa.css"></head>
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
|
<H1>Developers</H1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Both professional and volunteer developers contribute to Mesa.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="http://www.tungstengraphics.com/" target="_parent">Tungsten Graphics</a>
|
||||||
|
employs several of the main Mesa developers including Brian Paul
|
||||||
|
and Keith Whitwell.
|
||||||
|
Much of the on-going work in Mesa is done through Tungsten Graphics engineering
|
||||||
|
contracts.
|
||||||
|
Prominent examples of this work includes:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>DRI drivers for Intel i965, i945, i915 and other chips
|
||||||
|
<li>Advanced memory manager and framebuffer object support
|
||||||
|
<li>Shading language compiler and OpenGL 2.0 support
|
||||||
|
<li>MiniGLX environment
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Other companies including
|
||||||
|
<a href="http://www.intellinuxgraphics.org/index.html" target="_parent">Intel</a>
|
||||||
|
and IBM also actively contribute to the project.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Volunteers have made significant contributions to all parts of Mesa, including
|
||||||
|
complete device drivers.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<H1>Custom Development</H1>
|
||||||
|
<p>
|
||||||
|
Contact <a href="http://www.tungstengraphics.com/" target="_parent">
|
||||||
|
Tungsten Graphics</a>
|
||||||
|
for information about custom development in Mesa, OpenGL, X and other
|
||||||
|
graphics technologies.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@@ -9,11 +9,7 @@
|
|||||||
<H1>Downloading</H1>
|
<H1>Downloading</H1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Last development release: <b>6.5.2</b>
|
Last stable release: <b>7.0</b>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Last stable release: <b>6.4.2</b>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
221
docs/drivers.html
Normal file
221
docs/drivers.html
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
<HTML>
|
||||||
|
|
||||||
|
<TITLE>Writing Mesa Device Drivers</TITLE>
|
||||||
|
|
||||||
|
<BODY text="#000000" bgcolor="#55bbff" link="#111188">
|
||||||
|
|
||||||
|
<center><h1>Writing Mesa Device Drivers</h1></center>
|
||||||
|
|
||||||
|
<h2>Introduction</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Several different classes of drivers can be identified:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li><b>100% Software Driver</b> -
|
||||||
|
a software driver that does not utilize accelerated graphics hardware.
|
||||||
|
Such a driver will basically just write (and read) pixel values to the
|
||||||
|
computer's frame buffer or a malloc'd color buffer.
|
||||||
|
Examples include the X11/XMesa driver, the Windows driver and OSMesa.
|
||||||
|
</li>
|
||||||
|
<br>
|
||||||
|
<li><b>Hardware Rasterization Driver</b> -
|
||||||
|
for graphics hardware that implements accelerated point/line/triangle
|
||||||
|
rasterization, but relies on core Mesa for vertex transformation.
|
||||||
|
Examples include the DRI 3Dfx, Matrox, and Rage 128 drivers.
|
||||||
|
</li>
|
||||||
|
<br>
|
||||||
|
<li><b>Hardware Transformation and Rasterization Driver</b> -
|
||||||
|
for graphics hardware that implements accelerated rasterization and vertex
|
||||||
|
transformation.
|
||||||
|
Examples include the DRI Radeon and R200 drivers.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Each class of driver builds on the functionality of the preceeding one.
|
||||||
|
For example, a hardware rasterization driver may need to fall back to
|
||||||
|
software rasterization when a particular OpenGL state combination is set
|
||||||
|
but not supported by the hardware (perhaps smooth, stippled, textured
|
||||||
|
triangles).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Likewise, a hardware transformation driver might need to fall back to
|
||||||
|
software-based transformation when a particular, seldom-used lighting
|
||||||
|
mode is enabled.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Getting Started</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The best way to get started writing a new driver is to find an existing
|
||||||
|
driver similar to what you plan to implement, and then study it.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
It's not feasible for this document to explain every detail of writing
|
||||||
|
a driver.
|
||||||
|
The minute details can be gleaned by looking at existing drivers.
|
||||||
|
This document focuses on the high-level concepts and will perhaps expand
|
||||||
|
on the details in the future.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
For examples of 100% software drivers, the OSMesa and XMesa (fake/stand-alone
|
||||||
|
GLX) drivers are the best examples.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
For examples of hardware drivers, the DRI Radeon and R200 drivers are good
|
||||||
|
examples.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Programming API vs. Drivers</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
There are two aspects to a Mesa device driver:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><b>Public programming API</b> -
|
||||||
|
this is the interface which application programmers use.
|
||||||
|
Examples are the GLX, WGL and OSMesa interfaces.
|
||||||
|
If you're developing a device driver for a new operating system or
|
||||||
|
window system you'll have to design and implement an <em>OpenGL glue</em>
|
||||||
|
interface similar to these.
|
||||||
|
This interface will, in turn, communicate with the internal driver code.
|
||||||
|
</li>
|
||||||
|
<br>
|
||||||
|
<li><b>Private/internal driver code</b> -
|
||||||
|
this is the code which (effectively) translates OpenGL API calls into
|
||||||
|
rendering operations.
|
||||||
|
The device driver must manage hardware resources, track OpenGL state
|
||||||
|
and implement or dispatch the fundamental rendering operations such as
|
||||||
|
point, line, triangle and image rendering.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The remainder of this document will focus on the later part.
|
||||||
|
Furthermore, we'll use the GLX interface for examples.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
In the case of the DRI drivers, the public GLX interface is contained in
|
||||||
|
the <b>libGL.so</b> library.
|
||||||
|
libGL.so, in turn, dynamically loads one of the DRI drivers (such as
|
||||||
|
radeon_dri.so).
|
||||||
|
Both libGL.so and the driver modules talk to the X window system via the
|
||||||
|
DRI extension.
|
||||||
|
Furthermore, the driver modules interface to the graphics hardware with
|
||||||
|
the help of a kernel module and the conventional 2D X server driver.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Software Driver Overview</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
A software driver is primarily concerned with writing pixel values to the
|
||||||
|
system's color buffer (and reading them back).
|
||||||
|
The color buffers might be window canvases (typically the front
|
||||||
|
color buffer) and/or off-screen image buffers (typically the back color
|
||||||
|
buffer).
|
||||||
|
The depth, stencil and accumulation buffers will be implemented within
|
||||||
|
core Mesa.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The software driver must also be concerned with allocation and deallocation
|
||||||
|
of rendering contexts, frame buffers and pixel formats (visuals).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Rendering Contexts</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The glue interface will always have a function for creating new rendering
|
||||||
|
contexts (such as glXCreateContext).
|
||||||
|
The device driver must have a function which allocates and initializes
|
||||||
|
a device-specific rendering context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Frame Buffers</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The <em>frame buffer</em> can either be a screen region defined by a window
|
||||||
|
or the entire screen.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
In either case, the device driver must implement functions for allocating,
|
||||||
|
initializing and managing frame buffers.
|
||||||
|
<p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Spans</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The fundamental rendering operation is to write (and read)
|
||||||
|
<em>spans</em> of pixels to the front / back color buffers.
|
||||||
|
A span is a horizontal array of pixel colors with an array of mask
|
||||||
|
flags. The span begins at a particular (x,y) screen coordinate,
|
||||||
|
extends for N pixels, describes N RGBA colors (or color indexes) and
|
||||||
|
has an array of N boolean flags indicating which pixels to write and skip.
|
||||||
|
<p>
|
||||||
|
|
||||||
|
<h3>Miscellaneous functions</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Additionally, a software driver will typically have functions for
|
||||||
|
binding rendering contexts to frame buffers (via glXMakeCurrent),
|
||||||
|
swapping color buffers (via glXSwapBuffers), synchronization
|
||||||
|
(via glFlush/glFinish) and queries (via glGetString).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Optimizations</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
A software driver might implement optimized routines for drawing lines
|
||||||
|
and triangles for common cases (such as smooth shading with depth-testing).
|
||||||
|
Then, the span functions can be bypassed for a little extra speed.
|
||||||
|
The OSMesa and XMesa drivers have examples of this.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Hardware Driver Overview</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
To do...
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>OOP-Style Inheritance and Specialization</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Even though Mesa and most device drivers are written in C, object oriented
|
||||||
|
programming principles are used in several places.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Rendering Contexts</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Every Mesa device driver will need to define a device-specific rendering
|
||||||
|
context structure.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>State Tracking</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</BODY>
|
||||||
|
</HTML>
|
@@ -12,161 +12,77 @@
|
|||||||
<H1>1. Introduction</H1>
|
<H1>1. Introduction</H1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The fbdev/DRI sub-project within Mesa brings hardware accelerated OpenGL
|
The fbdev/DRI environment supports hardware-accelerated 3D rendering without
|
||||||
rendering to the Linux fbdev environment.
|
the X window system. This is typically used for embedded applications.
|
||||||
The X Window System / XFree86 is not needed.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Basically, the <a href="http://dri.sf.net/">DRI</a> drivers for hardware
|
Contributors to this project include Jon Smirl, Keith Whitwell and Dave Airlie.
|
||||||
accelerated OpenGL for XFree86 have been ported to fbdev so that X is
|
|
||||||
not needed.
|
|
||||||
This means fbdev/DRI works in full-screen mode only.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
DRI driver writers may find this simplified environment easier to work in,
|
Applications in the fbdev/DRI environment use
|
||||||
compared to the full XFree86/DRI environment.
|
the <a href="MiniGXL.html"> MiniGLX</a> interface to choose pixel
|
||||||
|
formats, create rendering contexts, etc. It's a subset of the GLX and
|
||||||
|
Xlib interfaces allowing some degree of application portability between
|
||||||
|
the X and X-less environments.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
Much of the work for this project has been done by Jon Smirl and
|
|
||||||
Keith Whitwell.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
To use fbdev/DRI, you'll need a Linux 2.4 or 2.6 kernel.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>Background Info</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The Mesa-based DRI drivers used to be hosted in the DRI tree (which is
|
|
||||||
basically a copy of the XFree86 tree).
|
|
||||||
Since the Mesa-based DRI drivers are moreso "Mesa drivers" than "XFree86
|
|
||||||
drivers" and the fact that with some work, the drivers could be used
|
|
||||||
without X, the driver code was moved into the Mesa tree.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
So now the DRI drivers can be compiled for two different environments:
|
|
||||||
fbdev and XFree86.
|
|
||||||
To build the drivers for XFree86, one has to download/build the DRI
|
|
||||||
source tree.
|
|
||||||
Eventually, we'd like to be able to build the drivers for XFree86 outside
|
|
||||||
of the XFree86/DRI trees.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>2. Compilation</h1>
|
<h1>2. Compilation</h1>
|
||||||
|
|
||||||
<h2>2.1 Compiling the DRM modules</h2>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
First, you'll need the DRM (Direct Rendering Manager) kernel module sources.
|
You'll need the DRM and pciaccess libraries. Check with:
|
||||||
They're found in a module of the DRI CVS tree.
|
|
||||||
To obtain the code do the following:
|
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri login
|
pkg-config --modversion libdrm
|
||||||
</pre>
|
pkg-config --modversion pciaccess
|
||||||
<p>
|
|
||||||
Press Enter/Return when prompted for a password. Then,
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Compile the DRM kernel modules:
|
You can get them from the git repository with:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
cd drm/linux
|
git clone git://anongit.freedesktop.org/git/mesa/drm
|
||||||
make
|
git clone git://anongit.freedesktop.org/git/xorg/lib/libpciaccess
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Note: you may need to be root in order to make a few symlinks.
|
See the README files in those projects for build/install instructions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
When compilation is done, you should have at least the following
|
You'll need fbdev header files. Check with:
|
||||||
kernel modules:
|
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
gamma.o
|
ls -l /usr/include/linux/fb.h
|
||||||
i810.o
|
|
||||||
i830.o
|
|
||||||
mach64.o
|
|
||||||
mga.o
|
|
||||||
r128.o
|
|
||||||
radeon.o
|
|
||||||
savage.o
|
|
||||||
sis.o
|
|
||||||
tdfx.o
|
|
||||||
via.o
|
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
|
||||||
You'll probably want to copy/move them into your kernel module directory
|
|
||||||
(for example: <code>/lib/modules/2.4.18-14/kernel/drivers/char/drm/</code>).
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>2.2 Compiling the Mesa drivers</h2>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Begin by editing the <code>Mesa/configs/default</code> file to set
|
Compile Mesa with the 'linux-solo' configuration:
|
||||||
the <code>DRM_SOURCE_PATH</code> variable.
|
|
||||||
Set it to the location where the DRM module sources are located.
|
|
||||||
For example, if your current directory in step 2.1 was <code>/home/fred/</code>
|
|
||||||
set DRM_SOURCE_PATH to <code>/home/fred/drm</code>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Next, assuming you're starting with a fresh Mesa CVS checkout,
|
|
||||||
do the following:
|
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
make linux-solo
|
make linux-solo
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you previously built the source tree, run <code>make realclean</code>
|
When complete you should have the following:
|
||||||
first to remove the old object files.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
When this is finished, check the <code>Mesa/lib/</code> directory
|
|
||||||
to verify that the following files were made:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>libGL.so.1.2</code> - the client-side OpenGL library
|
<li>lib/libGL.so - the GL library which applications link with
|
||||||
(and a few symlinks to it).
|
<li>lib/*_dri_so - DRI drivers
|
||||||
<li><code>libGLU.so.1.1</code> - the GLU library (and a few symlinks to it).
|
<li>lib/miniglx.conf - sample MiniGLX config file
|
||||||
<li><code>libglut.so.3.7</code> - the GLUT library (and a few symlinks to it).
|
<li>progs/miniglx/* - several MiniGLX sample programs
|
||||||
<li><code>mga_dri.so</code> - DRI driver for Matrox G200/G400 cards.
|
|
||||||
<li><code>r128_dri.so</code> - DRI driver for ATI Rage 128 cards.
|
|
||||||
<li><code>r200_dri.so</code> - DRI driver for ATI R200 Radeon cards.
|
|
||||||
<li><code>radeon_dri.so</code> - DRI driver for original ATI Radeon cards.
|
|
||||||
<li><code>i810_dri.so</code> - DRI driver for Intel i810/i815 chips.
|
|
||||||
<li><code>i830_dri.so</code> - DRI driver for Intel i830/i845 chips.
|
|
||||||
<li><code>mga_dri.so</code> - DRI driver for Matrox G200/G400 cards.
|
|
||||||
<li><code>sis_dri.so</code> - DRI driver for SIS cards.
|
|
||||||
<li><code>tdfx_dri.so</code> - DRI driver for 3dfx Voodoo 3/4/5 cards.
|
|
||||||
<li><code>gamma_dri.so</code> - DRI driver for 3Dlabs gamma cards.
|
|
||||||
<li><code>fb_dri.so</code> - software-only fbdev driver.
|
|
||||||
<li><code>miniglx.conf</code> - configuration file for the MiniGLX interface
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>3. Using fbdev/DRI</h1>
|
<h1>3. Using fbdev/DRI</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If XFree86 is currently running, exit/stop the X server so you're
|
If an X server currently running, exit/stop it so you're working from
|
||||||
working from the console.
|
the console.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
@@ -175,12 +91,23 @@ working from the console.
|
|||||||
<p>
|
<p>
|
||||||
You'll need to load the kernel modules specific to your graphics hardware.
|
You'll need to load the kernel modules specific to your graphics hardware.
|
||||||
Typically, this consists of the agpgart module, an fbdev driver module
|
Typically, this consists of the agpgart module, an fbdev driver module
|
||||||
and the DRM kernel module (from step 2.1).
|
and the DRM kernel module.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
As root, the kernel modules can be loaded as follows:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you have Intel i915/i945 hardware:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
modprobe agpgart # the AGP GART module
|
||||||
|
modprobe intelfb # the Intel fbdev driver
|
||||||
|
modprobe i915 # the i915/945 DRI kernel module
|
||||||
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have ATI Radeon/R200 hardware, run as root:
|
If you have ATI Radeon/R200 hardware:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
modprobe agpgart # the AGP GART module
|
modprobe agpgart # the AGP GART module
|
||||||
@@ -189,7 +116,7 @@ If you have ATI Radeon/R200 hardware, run as root:
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have ATI Rage 128 hardware, run as root:
|
If you have ATI Rage 128 hardware:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
modprobe agpgart # the AGP GART module
|
modprobe agpgart # the AGP GART module
|
||||||
@@ -198,7 +125,7 @@ If you have ATI Rage 128 hardware, run as root:
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have Matrox G200/G400 hardware, run as root:
|
If you have Matrox G200/G400 hardware:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
modprobe agpgart # the AGP GART module
|
modprobe agpgart # the AGP GART module
|
||||||
@@ -207,37 +134,46 @@ If you have Matrox G200/G400 hardware, run as root:
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Then run <code>lsmod</code> to be sure the modules are loaded.
|
To verify that the agpgart, fbdev and drm modules are loaded:
|
||||||
For a Radeon card, you should see something like this:
|
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
Module Size Used by Not tainted
|
ls -l /dev/agpgart /dev/fb* /dev/dri
|
||||||
radeon 110308 0 (unused)
|
|
||||||
radeonfb 21900 0 (unused)
|
|
||||||
agpgart 43072 1
|
|
||||||
</pre>
|
</pre>
|
||||||
|
<p>
|
||||||
|
Alternately, use lsmod to inspect the currently installed modules.
|
||||||
|
If you have problems, look at the output of dmesg.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2>3.2 Configuration File</h2>
|
<h2>3.2 Configuration File</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The <code>Mesa/lib/miniglx.conf</code> file should be installed
|
Copy the sample miniglx.conf to /etc/miniglx.conf and review/edit its contents.
|
||||||
in <code>/etc/</code>.
|
Alternately, the MINIGLX_CONF environment variable can be used to
|
||||||
|
indicate the location of miniglx.conf
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
To determine the pciBusID value, run lspci and examine the output.
|
||||||
Edit <code>/etc/miniglx.conf</code> to be sure it's set up correctly
|
For example:
|
||||||
for your hardware.
|
|
||||||
Comments in the file explain the options.
|
|
||||||
</p>
|
</p>
|
||||||
|
<pre>
|
||||||
|
/sbin/lspci:
|
||||||
|
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller (rev 04)
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
00:02.0 indicates that pciBusID should be PCI:0:2:0
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>3.3 Running fbdev/DRI Programs</h2>
|
<h2>3.3 Running fbdev/DRI Programs</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Make sure your LD_LIBRARY_PATH environment variable is set to the
|
Make sure your LD_LIBRARY_PATH environment variable is set to the
|
||||||
<code>Mesa/lib/</code> directory.
|
location of the libGL.so library. You may need to append other paths
|
||||||
|
to LD_LIBRARY_PATH if libpciaccess.so is in a non-standard location,
|
||||||
|
for example.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -245,7 +181,7 @@ Change to the <code>Mesa/progs/miniglx/</code> directory and
|
|||||||
start the sample_server program in the background:
|
start the sample_server program in the background:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
./sample_server &
|
./sample_server &
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -268,27 +204,24 @@ them from a remote shell so that you can stop them with ctrl-C.
|
|||||||
|
|
||||||
<h1>4.0 Troubleshooting</h1>
|
<h1>4.0 Troubleshooting</h1>
|
||||||
|
|
||||||
<p>
|
<ol>
|
||||||
|
<li>
|
||||||
If you try to run miniglxtest and get the following:
|
If you try to run miniglxtest and get the following:
|
||||||
</p>
|
<br>
|
||||||
<pre>
|
<pre>
|
||||||
[miniglx] failed to probe chipset
|
[miniglx] failed to probe chipset
|
||||||
connect: Connection refused
|
connect: Connection refused
|
||||||
server connection lost
|
server connection lost
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
|
||||||
It means that the sample_server process is not running.
|
It means that the sample_server process is not running.
|
||||||
</p>
|
<br>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
<h1>5.0 Programming Information</h1>
|
<h1>5.0 Programming Information</h1>
|
||||||
|
|
||||||
<p>
|
|
||||||
The full OpenGL API is available with fbdev/DRI.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
OpenGL/Mesa is interfaced to fbdev via the <a href="MiniGLX.html">MiniGLX</a>
|
OpenGL/Mesa is interfaced to fbdev via the <a href="MiniGLX.html">MiniGLX</a>
|
||||||
interface.
|
interface.
|
||||||
|
BIN
docs/gears.png
BIN
docs/gears.png
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user